CenturionDEX
Launch App

Overview

Last modified:

The Compact 🤝 is an ownerless ERC6909 contract that facilitates the voluntary formation and mediation of reusable resource locks. It enables tokens to be credibly committed to be spent in exchange for performing actions across arbitrary, asynchronous environments, and claimed once the specified conditions have been met.

Key Components

Resource Locks

Resource locks are created when depositors place tokens (ERC20 or native) into The Compact. Each lock is represented by an ERC6909 token with four key properties:

Compacts

A compact is a commitment created by a resource lock owner (sponsor) that allows tokens to be claimed under specified conditions. Compacts use EIP-712 typed structured data for signatures and can be:

Key Actors

How It Works

  1. Deposit: Sponsors deposit tokens to create resource locks (ERC6909 tokens)
  2. Create Compact: Sponsors sign or register compacts specifying conditions
  3. Fulfill: Claimants meet the specified conditions
  4. Claim: Arbiters verify and process claims to transfer tokens

Trust Model

The Compact operates on a trust-minimized model where:

The Compact V1 has undergone two independent security reviews by OpenZeppelin and Spearbit Cantina.

Deployments

The Compact is deployed at the same address across multiple chains:

NetworkAddress
Ethereum Mainnet0x00000000000000171ede64904551eeDF3C6C9788
Base0x00000000000000171ede64904551eeDF3C6C9788

The Compact uses a deterministic deployment address, ensuring the same address across all supported networks.

The Compact uses a permissionless deployment process. Anyone can deploy the protocol to a new EVM chain by submitting a transaction with the same to and data arguments. This ensures the same deterministic address across all chains and enables the creation of compacts that commit resource locks across multiple chains.