Gated Pools Technology

Featuring Molecule Protocol

The Molecule Protocol is a sophisticated suite of smart contracts designed to facilitate the creation of custom rule engines in decentralized applications. This protocol simplifies the incorporation of intricate logic and conditions within smart contracts, including features like Allowlisting, payment verification, and compliance assessments.

In the T3 system, the Molecule Protocol has been seamlessly integrated through a Molecule controller. This controller is equipped with bespoke logic contracts, enhancing the system's functionality. One of these is the Chainalysis Sanction Logic contract. It ensures compliance by verifying whether any interacting address, whether an Externally Owned Account (EOA) or a contract address, is not on the Chainalysis sanction list.

Additionally, the protocol includes an Allowlist Logic contract. This component is crucial for managing user access to the T3 app. It whitelists accounts that have successfully completed the T3 app's signup process, granting them usage rights. Conversely, accounts not included in this Allowlist, or those flagged by the Chainalysis sanction list, particularly on the MorphL2 mainnet, are barred from accessing the T3 app.

The Molecule controller, pivotal in the Molecule Protocol, interfaces with several key contracts in the T3 system. These include the Router contract, the GLP Manager contract, and the Order Book contract. The Router contract is responsible for managing positions like Long, Short, and Swap, created by users on the T3 Decentralized Exchange (DEX). The GLP Manager oversees the liquidity provision on the T3 DEX. Lastly, the Order Book contract is dedicated to handling limit orders for various operations like Long, Short, and Swap.

List of Molecule integrated Contracts in T3

// Molecule Controller Integrations 
   function setMoleculeController(IMoleculeController _moleculeController) external onlyGov {
        moleculeController = _moleculeController;
    }
// Molecule Controller check 
   require(moleculeController.check(_account),"Access Denied");

Molecule Controller Contract Address MorphL2 Mainnet : 0x976Cb094bca38c355Ba472Dcd25F15Fc744E746D

Morph Holesky Testnet : 0x4745B31Db6e4526dAcca60AB6cC033B08cadf1FC

AML Sanction Contract address MorphL2 Mainnet : 0xae89768497080c4629f515C19adeaF7a472C70F0

Morph Holesky Testnet : 0x7Dd61825E3933BA2B2C0EbA98d7663A9A238446F

Last updated