Addresses
Package and object ids for the pools, their keys and the leveraged tokens on Sui mainnet.
All ids are on Sui mainnet.
Shared by everything#
| Id | |
|---|---|
| USDC (quote coin, 6 decimals) | 0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC |
| Aftermath perpetuals package (calls, v2) | 0xe54757433d663835bda85cfc89c6c44bc8d952e941affa5ae57bba0baa226c1b |
| Aftermath perpetuals original package (types and events) | 0x3ec740df8428aa9c93aaef7f8cc1542ac3194fd014826b51bfe245346d64efc7 |
| Aftermath registry | 0xda0bd7a60182efd662b70e0de99218bbd2b6c4bbe9de23c0bb5a87ec52b37c37 |
| Suilend lending market | 0x84030d26d85eaa7035084a057f2f11f701b7e2e4eda87551becbc7c97505ece1 |
| Suilend lending type | 0xf95b06141ed4a174f239417323bde3f209b972f5930d8521ea38a52aff3a6ddf::suilend::MAIN_POOL |
| Clock | 0x6 |
Pools#
Pools live in two packages of the same design. Both run, so code that covers every pool must handle both. See Routers and aggregators for how to tell which package a pool is on.
Upgradeable package#
Every pool except the earliest ones, and every new launch. The package is upgraded in place: always call the current package, which is the package field of its UpgradeCap. Object types, event types and receipts keep the types and events id.
| Id | |
|---|---|
| Call package (current, version 7) | 0xd9a6f3a93726b263baffa558935a9153b64c06080d0513938899467dd99d682f |
| Types and events package | 0x97fea95545c04dc73f8174c6195013b100a26e3fa978e7cf8b100a51dfaf8354 |
| UpgradeCap | 0x0c48c2bab19ad441b0271d7926ca17d334570e255862e3d547880dd66bf03457 |
| Config | 0x7566f0f6508b7797f906c78ae5a39aaf1cd5aec58ff765b2599a6fba1dfce12c |
| AdminCap | 0x07725407f28d6d3950e51150cc4162fe600284d3de9241f74d5cd3b1638ab92d |
| Launchpad | 0x6131090639b7c4a5af741ae1163e480f0b2cf50e74823d7c2261b5a3a3d5a586 |
| Index from checkpoint | 323461480 |
Immutable package#
The ZUK pool and the earliest launches (SUINU, MEOWL and others). It cannot be upgraded: its calls, types and events all use this one id.
| Id | |
|---|---|
| Package (calls, types and events) | 0xaedb8c9a905a778e831aeb4928f660210a7a645925348a7c4ec1cb4a6a3fd16e |
| Config | 0xb57be7c2f90d8bf9232af4cb967b411861b713f4480dfe50871dc85579f98411 |
| AdminCap | 0x08aebf7d25c7d715498752ee8813c0384ca48afc7d6d247874bf2ba36ce1f2dc |
| Launchpad | 0x111ee5ba1e2fc185ddb6628ff885151773f35a7a73246132099bade148edb3cc |
| Index from checkpoint | 323206901 |
Linked by both packages#
| Id | |
|---|---|
| Engine | 0x2ec50cc9740fa5cf75dd7d57e0cb3e1394f3b5cb153806b2168e8e3be681e8c1 |
| Custody adapter | 0xbf32cfba21310ac40b05d7269f789270c04aae036ab863dc340c3df3d023fd37 |
| Lending adapter | 0x67e9a229946236383e6a84a01f185be9b244e4056ff398d7a39d60a19bd2d8dd |
| Suilend wrapper, for the immutable package | 0x06ac777a9b9a0582a7996ae109ebb7768f921c64f04ad6389e6a9849a5f9814d |
Object types#
| Object | Type |
|---|---|
| Pool | <types package>::composite_pool::CompositePool<M, P, Q>, where P is the Suilend lending type and Q is USDC |
| Spot pool | <types package>::pool::Pool<M, Q> |
| Receipt | <types package>::position::Position<M> |
| Leveraged token | 0x294e…df4a::token::LevToken<T, USDC> |
Here <types package> is the types and events package of the pool's package. Launched coins have 6 decimals. Leveraged tokens have 9.
Leveraged tokens#
| Id | |
|---|---|
| Package | 0x294e0968e465d9e2e560b825c603a40d34a7ee72e5a9157ff796519d44f7df4a |
| Config | 0xfa003af67a3c948d1ebf9bbde1b08da54bee838d92ce577046fbc8fdc7d15cb4 |
| AdminCap | 0xe6359cf93561ae580e1d572ffbd1000e9ac37412b9628735a6f5dca6d54353ad |
| UpgradeCap | 0xc13b4b0a7e7d6098a5016aeb81a95c5579a5b18a5ce185a5cce718279f2758fc |
32 tokens, listed on Leveraged tokens. Every token's coin type, token, vault, account, market and oracle ids come from /api/lev/tokens. For example:
| Token | Coin type | Token object |
|---|---|---|
| BTC3L | 0x5f818c904f97f483ba3d80f35d004c69d9709a624b9ace19cf2f40283f128f58::btc3l::BTC3L | 0x7e816bac3ff396dd2970c574bbac354c9cdcac2a047b377db93e39455b22da48 |
| BTC3S | 0xcf02fe3ed1a4b67562156eb6320c5e62100ca02791982197f78adb13fda37e7a::btc3s::BTC3S | 0xa342686858d6bc04def76d13f2b9554281d4ee78c59f47c7cd422d78ddb010e8 |
| ETH2L | 0x9b5f9cf68c3ba1a771f03cf078fe9306959786a43ea4ba765d7658ea6f838924::eth2l::ETH2L | 0x15df707f2a98798651dcdb678063b43e45a6a93e2354a38d956820710d943b38 |
| GOLD2L | 0x108d9624d26b3880508d560df7b4ae1fdcd16f8f95cbd89669f184b518537da4::gold2l::GOLD2L | 0x1c0534a39812cacbdf8d4b48671230fcbdc87a0382ad64b18be7d66c7eb23fe8 |