SMART CONTRACTS
← Contract catalogAgreementManager
Record offers, acceptance, cancellation and dispute status.
Role and use
Use for bilateral offers and token transfers tied to acceptance.
Integration considerationsManage asset approvals, signature expiry, nonces and offer IDs. Store legal documents separately and link them to these records.
Key SDK operations
These operations are exposed by AgreementManagerHelper in @hazbase/kit@0.9.0. The signatures below are type definitions; see the SDK reference for parameter structures and the complete interface.
typescript
import { AgreementManagerHelper } from '@hazbase/kit';offer
typescript
async offer(a: OfferArgs): Promise<{ offerId: Bytes32; receipt: TransactionReceipt }>acceptOffer
typescript
async acceptOffer(offerId: Bytes32, investorSig: BytesLike): Promise<TransactionReceipt>getOffer
typescript
async getOffer(id: Bytes32): Promise<OfferStruct>raiseDispute
typescript
async raiseDispute(offerId: Bytes32, evidenceURI: string): Promise<{ disputeId: Bytes32; receipt: TransactionReceipt }>Related contracts
Put it into practice
Physical assets & inventory
See the data model, processing sequence and SDK code for an application-level implementation.
Read the implementation patternSpecification and source
The Solidity source is pinned to the revision below. Match it with the SDK version and your network’s implementation address and ABI.
agreement-manager/contracts/AgreementManager.solSource revision: b53a5b5