Skip to content

Contracts

The contracts implement a blockchain-based system to manage payment commitments, token exchanges, and financing workflows. This system enables participants in a supply chain (e.g., buyers, suppliers, financiers) to interact securely, transparently, and efficiently.

Core Contracts

  • Abstract Token Exchange: A foundational contract enabling token-for-token and fiat-for-token exchanges with dispute resolution and flexible exchange windows.
  • Agent Manager: Manages roles and permissions for participants in trade and supply chain workflows.
  • Agent Roles: Defines and enforces roles and responsibilities within the platform's ecosystem.

Payment Management

  • Payment Commitment: Facilitates conditional payment commitments with collateral management, state tracking, and dispute handling.
  • Payment Commitment Factory: Automates the deployment and initialization of Payment Commitment contracts.

Sales Management

  • Sales Order: Manages token sales with features like offer management, whitelisted buyers, and support for fiat or token payments.
  • Sales Order Factory: Streamlines the creation of Sales Order contracts for tokenized transactions.

Token Custody

  • Token Custody: Acts as a custodian for ERC-20 tokens, issuing ERC-1155 equivalents and supporting metadata attachments.
  • Token Custody Factory: Enables the efficient creation of Token Custody contracts for secure token storage.

Token Exchange

  • Token Exchange: Facilitates controlled token-for-token or fiat-for-token exchanges with whitelisting and attachment management.
  • Token Exchange Factory: Simplifies the setup and deployment of Token Exchange contracts.
  • Token Exchange1155: Extends token exchange capabilities by leveraging the ERC-1155 standard for flexible token management.
  • Token Exchange1155 Factory: Creates Token Exchange1155 contracts for advanced token exchange workflows.

Trade Tokens

  • Trade Token: A versatile ERC-20 token with minting, wrapping, and custom transfer security features.
  • Trade Token Factory: Provides a template for deploying Trade Token contracts with consistent configurations.
  • Trade Token 3643: Implements ERC-3643 functionality for enhanced compliance in tokenized asset workflows.
  • Trade Token 3643 Factory: Automates the deployment of Trade Token 3643 contracts for seamless integration into compliant ecosystems.

Interfaces

  • ITradeToken: Defines the interface for Trade Token contracts.
  • ITokenExchange: Defines the interface for Token Exchange contracts.