# Agreement

**Agreement** is a smart contract that tracks how many **Certificates** were delivered from a **buyer** to a **seller**.

It implements the `onERC1155Received` interface and detects when a Certificate is sent to the agreement, then immediately forwards it to the buyer and accounts for the delivery.

Once the Agreement is fulfilled, it can no longer receive Certificates tokens.

![](/files/XDvq7jyUOkgBXD27Ifu2)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zerolabs.green/zerolabs-tokenization-module/domain-definitions/agreement.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
