Configuration and URI limits
Read configuration from the intended MultiVault on the intended chain. A quote based on an earlier block can change before creation.
| Getter | What to read |
|---|---|
getGeneralConfig() | atomDataMaxLength limits the atom payload in bytes. minDeposit is a native asset amount and minShare is the share seed for vault creation. feeDenominator is the denominator for configured fee rates. |
getAtomConfig() | atomCreationProtocolFee is the flat creation fee in native wei. atomWalletDepositFee is a rate applied to deposits. |
getAtomCost() | Returns the static cost per atom. The implementation adds the creation fee and one minShare seed under its 1:1 default-curve assumption. |
getTripleCost() | Returns the static cost per triple. This includes the triple creation fee and two seeds for the triple and its counter. |
getVaultFees() | Returns entryFee, exitFee, and protocolFee as numerators over feeDenominator. |
getBondingCurveConfig() | Returns the curve registry and defaultCurveId. |
Mainnet values
These values were read from MultiVault on Intuition mainnet at block 12,026,592. The Parameters TimelockController can change any of them, so read the getters before you rely on a value. Rates are out of feeDenominator, which is 10,000.
| Setting | Value |
|---|---|
getAtomCost() | 100,000,000,001,000,000 wei, about 0.1 TRUST: a 0.1 TRUST creation fee plus a minShare seed of 10^6 wei |
getTripleCost() | 100,000,000,002,000,000 wei, about 0.1 TRUST: a 0.1 TRUST creation fee plus two seeds |
minDeposit | 0.01 TRUST |
feeThreshold | 1 share (10^18) in the default-curve vault |
atomDataMaxLength | 1,000 bytes |
maxUriCount, maxUriLength | 5 URIs per atom, 700 bytes each |
| Entry, exit and protocol fees | 50, 75 and 125, which are 0.5%, 0.75% and 1.25% |
atomWalletDepositFee | 50, which is 0.5% |
atomDepositFractionForTriple | 90, which is 0.9% |
| Default curve | 1, the Linear Curve, in the registry at 0xd0E488Fb32130232527eedEB72f8cE2BFC0F9930 |
protocolMultisig | The admin multisig, 0xbeA18ab4c83a12be25f8AA8A10D8747A07Cdc6eb |
Other contracts have their own parameters. See Bonding curves for curve parameters, FeeProxy for affiliate caps, TrustBonding for reward bounds and Emissions for the emissions schedule.
Preview a creation
To estimate a creation that also buys shares, use previewAtomCreate(termId, assets) or previewTripleCreate(subjectId, predicateId, objectId, assets). Each returns shares, the asset base used to calculate rate fees, and net assets credited after fees. A static creation cost alone cannot tell you how many shares the creator will receive.
Check URI inputs
getAtomUriConfig() returns two effective limits in order, maxUriCount per atom and maxUriLength in bytes per URI. The getter applies the implementation's defaults if storage is unset. The timelock can update the limits. Count encoded bytes when validating text, since a character may occupy several bytes.
For a creation with two atoms, supply two URI lists in the same order as the payloads. An empty list attaches no context to that atom. MultiVault emits opaque URI bytes for a nonempty list. It does not fetch a resource, validate its contents, or store its bytes as part of the atom's identity.
The protocol package exposes multiVaultGetAtomCost and multiVaultGetAtomUriConfig for these reads. Configuration structures · Cost calculations · Effective URI limits · URI validation
Applies to V2 · @0xintuition/protocol 4.1.0