{"repo":"Uniswap/the-compact","free":true,"listed":false,"github":"https://github.com/Uniswap/the-compact","clone":"git clone https://github.com/Uniswap/the-compact.git","description":"The Compact is an ownerless ERC6909 contract that facilitates the formation and mediation of reusable resource locks.","language":"Solidity","stars":187,"topics":["compact","cross-chain","erc6909","ethereum","smart-contracts"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"The Compact 🤝 - Compact [noun] : an agreement or covenant between two or more parties. - Compact [transitive verb] : to make up by connecting or combining. - Compact [adjective] : occupying a small volume by reason of efficient use of space. 🕵 The Compact V1 has undergone two independent security reviews by OpenZeppelin and Spearbit Cantina, and will soon become part of the Uniswap Labs Bug Bounty Program on Cantina. Full audit reports are available in the audits/ folder. Table of Contents 1. Summary 2. Key Concepts - Resource Locks - Allocators - Arbiters - Emissaries - Compacts & EIP-712 Payloads - Witness Structure - Registration - Claimant Processing & Structure - Forced Withdrawals - Signature Verification 3. Trust Assumptions 4. Key Events 5. Key Data Structures 6. Setup 7. Usage (Flows by Actor) - Sponsors (Depositors) - Arbiters & Claimants (e.g. Fillers) - Relayers - Allocators (Infrastructure) 8. View Functions 9. Core Interfaces Overview - ITheCompact - ITheCompactClaims - IAllocator (Interface) - IEmissary (Interface) 10. Contract Layout 11. Credits 12. License Summary 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. Resource locks are entered into by ERC20 or native token holders (called the de","default_branch":null,"files":null,"tree":[],"storefront":"/r/Uniswap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Uniswap/the-compact/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}