Skip to main content

Smart contracts

Version: V2
View Markdown

Intuition's contracts are spread across two chains. The knowledge graph lives on Intuition mainnet (chain 1155), an L3 whose gas token is TRUST. There, MultiVault records atoms and triples and holds the stake behind them. The TRUST token and its supply schedule live on Base (chain 8453). A bridge connects the two chains, and governance controls upgrades and parameters on each.

Everything here is open to integrate with. You can create and stake through MultiVault, earn fees as an atom wallet owner or as a FeeProxy affiliate, and lock TRUST for rewards and veto weight.

How the contracts fit together​

Contracts by task​

You want toUse
Create atoms and triples, deposit and redeemMultiVault
Understand how shares are pricedBonding curves
Collect the fees an atom earns, or use it as a smart accountAtom wallets
Hold, wrap or bridge TRUSTTRUST token
Lock TRUST for voting power and epoch rewardsTrustBonding
Understand how new TRUST is issuedEmissions
Earn a fee on the activity you route into IntuitionFeeProxy
See the bridge, swap router and automation contractsPeriphery contracts
Learn who can upgrade or change the protocolGovernance
Check what has been auditedAudits
Find an addressDeployments
Read live costs, fees and limitsConfiguration
Decode a receipt or a revertEvents and errors

Upgrades and control​

Most contracts are upgradeable proxies. Two TimelockControllers on Intuition mainnet hold the power to change them. The Upgrades timelock administers every proxy and the atom wallet beacon. The Parameters timelock is the only caller of MultiVault's configuration setters and TrustBonding's bounds. Proposals reach the timelocks through the governance DAO, where veTRUST holders can veto them. The admin multisig can also schedule directly. A separate pauser multisig can pause MultiVault, TrustBonding and FeeProxy, and only the admin multisig can unpause them.

On Base, the Base admin multisig and the Base upgrades timelock control Trust and BaseEmissionsController. Governance lists every role, delay and address.

Source and artifacts​

ItemDetail
Core sourceintuition-contracts-v2, built with Foundry. Licensed under the Business Source License 1.1, which converts to MIT no later than October 15, 2027.
Periphery sourceintuition-contracts-v2-periphery
CompilerSolidity 0.8.29, optimizer at 10,000 runs, EVM version cancun
Core artifact@0xintuition/contracts-v2@1.1.0-alpha.1, with ABIs for MultiVault v1.1.0, FeeProxy, WrappedTrust and the other core contracts
Periphery artifact@0xintuition/contracts-v2-periphery@1.1.0-alpha.0, with the swap-and-bridge router

The TypeScript packages wrap these ABIs. The protocol package encodes MultiVault and TrustBonding calls, the periphery package covers FeeProxy and the deployments package resolves addresses. Before you call a method, match the chain and address to an implementation that has it. Contract artifact provenance

Applies to V2 · @0xintuition/protocol 4.1.0 · @0xintuition/periphery 0.1.1 · @0xintuition/deployments 0.1.1