@typus/typus-perp-sdk 1.1.32-codegen-exp3 → 1.1.32-testnet-exp1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +88 -0
- package/dist/src/_dependencies/source/0x1/ascii/structs.js +398 -0
- package/dist/src/_dependencies/source/0x1/index.d.ts +3 -0
- package/dist/src/_dependencies/source/0x1/index.js +6 -0
- package/dist/src/_dependencies/source/0x1/option/structs.d.ts +50 -0
- package/dist/src/_dependencies/source/0x1/option/structs.js +271 -0
- package/dist/src/_dependencies/source/0x1/string/structs.d.ts +48 -0
- package/dist/src/_dependencies/source/0x1/string/structs.js +256 -0
- package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +49 -0
- package/dist/src/_dependencies/source/0x1/type-name/structs.js +223 -0
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +54 -0
- package/dist/src/_dependencies/source/0x2/bag/structs.js +229 -0
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +84 -0
- package/dist/src/_dependencies/source/0x2/balance/structs.js +386 -0
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +406 -0
- package/dist/src/_dependencies/source/0x2/coin/structs.js +1247 -0
- package/dist/src/_dependencies/source/0x2/index.d.ts +3 -0
- package/dist/src/_dependencies/source/0x2/index.js +6 -0
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +132 -0
- package/dist/src/_dependencies/source/0x2/linked-table/structs.js +438 -0
- package/dist/src/_dependencies/source/0x2/object/structs.d.ts +86 -0
- package/dist/src/_dependencies/source/0x2/object/structs.js +364 -0
- package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +54 -0
- package/dist/src/_dependencies/source/0x2/object-table/structs.js +248 -0
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +44 -0
- package/dist/src/_dependencies/source/0x2/sui/structs.js +222 -0
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +54 -0
- package/dist/src/_dependencies/source/0x2/table/structs.js +248 -0
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +59 -0
- package/dist/src/_dependencies/source/0x2/table-vec/structs.js +274 -0
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +421 -0
- package/dist/src/_dependencies/source/0x2/token/structs.js +1095 -0
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +348 -0
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +1091 -0
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +49 -0
- package/dist/src/_dependencies/source/0x2/url/structs.js +223 -0
- package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +106 -0
- package/dist/src/_dependencies/source/0x2/vec-map/structs.js +446 -0
- package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +49 -0
- package/dist/src/_dependencies/source/0x2/vec-set/structs.js +270 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +422 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +1084 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +130 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +456 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +208 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +653 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +362 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +899 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +8 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +11 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +2 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +102 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +202 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.js +632 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +600 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +1459 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +136 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.js +438 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +127 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +430 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +957 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +2261 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +244 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +733 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +294 -0
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +892 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +73 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +263 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +294 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +591 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +64 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +258 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +756 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +1721 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +44 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +222 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +3 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +6 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +2 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +89 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +135 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +444 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +2106 -0
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.js +4952 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +390 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +844 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +6 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +9 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +2 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +69 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +89 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +376 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +386 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +881 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +59 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +274 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +974 -0
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +2387 -0
- package/dist/src/_framework/init-loader.d.ts +2 -0
- package/dist/src/{generated/typus_perp/treasury_caps.js → _framework/init-loader.js} +10 -17
- package/dist/src/_framework/loader.d.ts +17 -0
- package/dist/src/_framework/loader.js +108 -0
- package/dist/src/_framework/reified.d.ts +108 -0
- package/dist/src/_framework/reified.js +237 -0
- package/dist/src/_framework/util.d.ts +35 -0
- package/dist/src/_framework/util.js +396 -0
- package/dist/src/_framework/vector.d.ts +42 -0
- package/dist/src/_framework/vector.js +112 -0
- package/dist/src/api/sentio.js +538 -604
- package/dist/src/fetch.d.ts +36 -577
- package/dist/src/fetch.js +665 -367
- package/dist/src/index.d.ts +4 -0
- package/dist/src/index.js +39 -20
- package/dist/src/pyth.js +1 -0
- package/dist/src/typus_perp/admin/functions.d.ts +59 -0
- package/dist/src/typus_perp/admin/functions.js +122 -0
- package/dist/src/typus_perp/admin/structs.d.ts +467 -0
- package/dist/src/typus_perp/admin/structs.js +1065 -0
- package/dist/src/typus_perp/competition/functions.d.ts +24 -0
- package/dist/src/typus_perp/competition/functions.js +38 -0
- package/dist/src/typus_perp/competition/structs.d.ts +80 -0
- package/dist/src/typus_perp/competition/structs.js +288 -0
- package/dist/src/typus_perp/error/functions.d.ts +73 -0
- package/dist/src/typus_perp/error/functions.js +363 -0
- package/dist/src/typus_perp/escrow/functions.d.ts +17 -0
- package/dist/src/typus_perp/escrow/functions.js +36 -0
- package/dist/src/typus_perp/escrow/structs.d.ts +160 -0
- package/dist/src/typus_perp/escrow/structs.js +324 -0
- package/dist/src/typus_perp/index.d.ts +1 -0
- package/dist/src/typus_perp/index.js +7 -0
- package/dist/src/typus_perp/init.d.ts +2 -0
- package/dist/src/typus_perp/init.js +118 -0
- package/dist/src/typus_perp/lending/functions.d.ts +15 -0
- package/dist/src/typus_perp/lending/functions.js +22 -0
- package/dist/src/typus_perp/lp-pool/functions.d.ts +460 -0
- package/dist/src/typus_perp/lp-pool/functions.js +732 -0
- package/dist/src/typus_perp/lp-pool/structs.d.ts +3705 -0
- package/dist/src/typus_perp/lp-pool/structs.js +6789 -0
- package/dist/src/typus_perp/math/functions.d.ts +29 -0
- package/dist/src/typus_perp/math/functions.js +61 -0
- package/dist/src/typus_perp/position/functions.d.ts +379 -0
- package/dist/src/typus_perp/position/functions.js +713 -0
- package/dist/src/typus_perp/position/structs.d.ts +905 -0
- package/dist/src/typus_perp/position/structs.js +1450 -0
- package/dist/src/typus_perp/symbol/functions.d.ts +9 -0
- package/dist/src/typus_perp/symbol/functions.js +24 -0
- package/dist/src/typus_perp/symbol/structs.d.ts +70 -0
- package/dist/src/typus_perp/symbol/structs.js +235 -0
- package/dist/src/typus_perp/tlp/functions.d.ts +19 -0
- package/dist/src/typus_perp/tlp/functions.js +40 -0
- package/dist/src/typus_perp/tlp/structs.d.ts +89 -0
- package/dist/src/typus_perp/tlp/structs.js +365 -0
- package/dist/src/typus_perp/token-interface/functions.d.ts +11 -0
- package/dist/src/typus_perp/token-interface/functions.js +22 -0
- package/dist/src/typus_perp/trading/functions.d.ts +812 -0
- package/dist/src/typus_perp/trading/functions.js +1218 -0
- package/dist/src/typus_perp/trading/structs.d.ts +3060 -0
- package/dist/src/typus_perp/trading/structs.js +5813 -0
- package/dist/src/typus_perp/treasury-caps/functions.d.ts +9 -0
- package/dist/src/typus_perp/treasury-caps/functions.js +36 -0
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +49 -0
- package/dist/src/typus_perp/treasury-caps/structs.js +223 -0
- package/dist/src/typus_perp/user-account/functions.d.ts +36 -0
- package/dist/src/typus_perp/user-account/functions.js +70 -0
- package/dist/src/typus_perp/user-account/structs.d.ts +148 -0
- package/dist/src/typus_perp/user-account/structs.js +448 -0
- package/dist/src/typus_stake_pool/admin/functions.d.ts +49 -0
- package/dist/src/typus_stake_pool/admin/functions.js +105 -0
- package/dist/src/typus_stake_pool/admin/structs.d.ts +365 -0
- package/dist/src/typus_stake_pool/admin/structs.js +789 -0
- package/dist/src/typus_stake_pool/index.d.ts +1 -0
- package/dist/src/typus_stake_pool/index.js +7 -0
- package/dist/src/typus_stake_pool/init.d.ts +2 -0
- package/dist/src/typus_stake_pool/init.js +69 -0
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +229 -0
- package/dist/src/typus_stake_pool/stake-pool/functions.js +380 -0
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +2199 -0
- package/dist/src/typus_stake_pool/stake-pool/structs.js +4653 -0
- package/dist/src/user/history.js +685 -614
- package/dist/src/user/order.d.ts +11 -16
- package/dist/src/user/order.js +302 -171
- package/dist/src/user/orderWithBidReceipt.d.ts +6 -8
- package/dist/src/user/orderWithBidReceipt.js +225 -127
- package/dist/src/user/tlp.d.ts +24 -25
- package/dist/src/user/tlp.js +468 -317
- package/package.json +3 -11
- package/dist/src/client.d.ts +0 -27
- package/dist/src/client.js +0 -108
- package/dist/src/generated/typus_perp/admin.d.ts +0 -117
- package/dist/src/generated/typus_perp/admin.js +0 -110
- package/dist/src/generated/typus_perp/competition.d.ts +0 -22
- package/dist/src/generated/typus_perp/competition.js +0 -58
- package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +0 -17
- package/dist/src/generated/typus_perp/deps/std/type_name.js +0 -25
- package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +0 -12
- package/dist/src/generated/typus_perp/deps/sui/balance.js +0 -20
- package/dist/src/generated/typus_perp/deps/sui/object.d.ts +0 -8
- package/dist/src/generated/typus_perp/deps/sui/object.js +0 -16
- package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +0 -19
- package/dist/src/generated/typus_perp/deps/sui/object_table.js +0 -59
- package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +0 -18
- package/dist/src/generated/typus_perp/deps/sui/vec_set.js +0 -25
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +0 -30
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +0 -67
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +0 -32
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +0 -71
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +0 -23
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +0 -61
- package/dist/src/generated/typus_perp/escrow.d.ts +0 -59
- package/dist/src/generated/typus_perp/escrow.js +0 -76
- package/dist/src/generated/typus_perp/lending.d.ts +0 -47
- package/dist/src/generated/typus_perp/lending.js +0 -50
- package/dist/src/generated/typus_perp/lp_pool.d.ts +0 -2327
- package/dist/src/generated/typus_perp/lp_pool.js +0 -1956
- package/dist/src/generated/typus_perp/math.d.ts +0 -95
- package/dist/src/generated/typus_perp/math.js +0 -97
- package/dist/src/generated/typus_perp/position.d.ts +0 -234
- package/dist/src/generated/typus_perp/position.js +0 -204
- package/dist/src/generated/typus_perp/symbol.d.ts +0 -18
- package/dist/src/generated/typus_perp/symbol.js +0 -55
- package/dist/src/generated/typus_perp/tlp.d.ts +0 -13
- package/dist/src/generated/typus_perp/tlp.js +0 -56
- package/dist/src/generated/typus_perp/trading.d.ts +0 -2486
- package/dist/src/generated/typus_perp/trading.js +0 -2476
- package/dist/src/generated/typus_perp/treasury_caps.d.ts +0 -13
- package/dist/src/generated/typus_perp/user_account.d.ts +0 -40
- package/dist/src/generated/typus_perp/user_account.js +0 -72
- package/dist/src/generated/typus_stake_pool/admin.d.ts +0 -234
- package/dist/src/generated/typus_stake_pool/admin.js +0 -272
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +0 -17
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +0 -25
- package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +0 -8
- package/dist/src/generated/typus_stake_pool/deps/sui/object.js +0 -16
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +0 -30
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +0 -37
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +0 -18
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +0 -25
- package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +0 -986
- package/dist/src/generated/typus_stake_pool/stake_pool.js +0 -874
- package/dist/src/generated/utils/index.d.ts +0 -11
- package/dist/src/generated/utils/index.js +0 -135
- package/dist/src/grpc/graphql.d.ts +0 -26
- package/dist/src/grpc/graphql.js +0 -126
- package/dist/src/grpc/grpc.d.ts +0 -1
- package/dist/src/grpc/grpc.js +0 -38
- package/dist/src/grpc/ledgerService.js +0 -64
- package/dist/src/grpc/liveDataService.d.ts +0 -0
- package/dist/src/grpc/liveDataService.js +0 -49
- /package/dist/src/{grpc/ledgerService.d.ts → pyth.d.ts} +0 -0
|
@@ -1,2327 +0,0 @@
|
|
|
1
|
-
/**************************************************************
|
|
2
|
-
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
-
**************************************************************/
|
|
4
|
-
/**
|
|
5
|
-
* The `lp_pool` module is the heart of the TLP (Typus Liquidity Pool) logic. It
|
|
6
|
-
* defines the structures for liquidity pools, token pools, and their
|
|
7
|
-
* configurations. It also contains the entry functions for creating pools, adding
|
|
8
|
-
* liquidity, swapping, and redeeming.
|
|
9
|
-
*/
|
|
10
|
-
import { MoveStruct, type RawTransactionArgument } from "../utils/index";
|
|
11
|
-
import { type Transaction } from "@mysten/sui/transactions";
|
|
12
|
-
export declare const Registry: MoveStruct<{
|
|
13
|
-
id: MoveStruct<{
|
|
14
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
15
|
-
}, "0x2::object::UID">;
|
|
16
|
-
/** The number of pools in the registry. */
|
|
17
|
-
num_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
18
|
-
/** The UID of the liquidity pool registry. */
|
|
19
|
-
liquidity_pool_registry: MoveStruct<{
|
|
20
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
21
|
-
}, "0x2::object::UID">;
|
|
22
|
-
}, "@typus/perp::lp_pool::Registry">;
|
|
23
|
-
export declare const SpotConfig: MoveStruct<{
|
|
24
|
-
/** The minimum deposit amount. */
|
|
25
|
-
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
26
|
-
/** The maximum capacity of the pool. */
|
|
27
|
-
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
28
|
-
/** The target weight of the token in the pool in basis points. */
|
|
29
|
-
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
30
|
-
/** The basic mint fee in basis points. */
|
|
31
|
-
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
32
|
-
/** The additional mint fee in basis points. */
|
|
33
|
-
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
34
|
-
/** The basic burn fee in basis points. */
|
|
35
|
-
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
36
|
-
/** The additional burn fee in basis points. */
|
|
37
|
-
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
38
|
-
/** The swap fee in basis points. */
|
|
39
|
-
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
40
|
-
/** The protocol's share of the swap fee in basis points. */
|
|
41
|
-
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
42
|
-
/** The protocol's share of the lending interest in basis points. */
|
|
43
|
-
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
44
|
-
/** Padding for future use. */
|
|
45
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
46
|
-
length: number;
|
|
47
|
-
}, string>;
|
|
48
|
-
}, "@typus/perp::lp_pool::SpotConfig">;
|
|
49
|
-
export declare const MarginConfig: MoveStruct<{
|
|
50
|
-
/** The basic borrow rate at utilization 0. */
|
|
51
|
-
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
52
|
-
/** The basic borrow rate at utilization 1. */
|
|
53
|
-
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
54
|
-
/** The basic borrow rate at utilization 2. */
|
|
55
|
-
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
56
|
-
/** The utilization threshold 0 in basis points. */
|
|
57
|
-
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
58
|
-
/** The utilization threshold 1 in basis points. */
|
|
59
|
-
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
60
|
-
/** The borrow interval in milliseconds. */
|
|
61
|
-
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
62
|
-
/** The maximum order reserve ratio in basis points. */
|
|
63
|
-
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
64
|
-
/** Padding for future use. */
|
|
65
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
66
|
-
length: number;
|
|
67
|
-
}, string>;
|
|
68
|
-
}, "@typus/perp::lp_pool::MarginConfig">;
|
|
69
|
-
export declare const Config: MoveStruct<{
|
|
70
|
-
/** The address of the oracle. */
|
|
71
|
-
oracle_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
72
|
-
/** The number of decimals for the liquidity token. */
|
|
73
|
-
liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
74
|
-
/** The spot-related configuration for the token pool. */
|
|
75
|
-
spot_config: MoveStruct<{
|
|
76
|
-
/** The minimum deposit amount. */
|
|
77
|
-
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
78
|
-
/** The maximum capacity of the pool. */
|
|
79
|
-
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
80
|
-
/** The target weight of the token in the pool in basis points. */
|
|
81
|
-
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
82
|
-
/** The basic mint fee in basis points. */
|
|
83
|
-
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
84
|
-
/** The additional mint fee in basis points. */
|
|
85
|
-
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
86
|
-
/** The basic burn fee in basis points. */
|
|
87
|
-
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
88
|
-
/** The additional burn fee in basis points. */
|
|
89
|
-
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
90
|
-
/** The swap fee in basis points. */
|
|
91
|
-
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
92
|
-
/** The protocol's share of the swap fee in basis points. */
|
|
93
|
-
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
94
|
-
/** The protocol's share of the lending interest in basis points. */
|
|
95
|
-
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
96
|
-
/** Padding for future use. */
|
|
97
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
98
|
-
length: number;
|
|
99
|
-
}, string>;
|
|
100
|
-
}, "@typus/perp::lp_pool::SpotConfig">;
|
|
101
|
-
/** The margin-related configuration for the token pool. */
|
|
102
|
-
margin_config: MoveStruct<{
|
|
103
|
-
/** The basic borrow rate at utilization 0. */
|
|
104
|
-
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
105
|
-
/** The basic borrow rate at utilization 1. */
|
|
106
|
-
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
107
|
-
/** The basic borrow rate at utilization 2. */
|
|
108
|
-
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
109
|
-
/** The utilization threshold 0 in basis points. */
|
|
110
|
-
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
111
|
-
/** The utilization threshold 1 in basis points. */
|
|
112
|
-
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
113
|
-
/** The borrow interval in milliseconds. */
|
|
114
|
-
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
115
|
-
/** The maximum order reserve ratio in basis points. */
|
|
116
|
-
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
117
|
-
/** Padding for future use. */
|
|
118
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
119
|
-
length: number;
|
|
120
|
-
}, string>;
|
|
121
|
-
}, "@typus/perp::lp_pool::MarginConfig">;
|
|
122
|
-
/** Padding for future use. */
|
|
123
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
124
|
-
length: number;
|
|
125
|
-
}, string>;
|
|
126
|
-
}, "@typus/perp::lp_pool::Config">;
|
|
127
|
-
export declare const State: MoveStruct<{
|
|
128
|
-
/** The amount of liquidity in the pool. */
|
|
129
|
-
liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
130
|
-
/** The value of the liquidity in USD. */
|
|
131
|
-
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
132
|
-
/** The amount of liquidity reserved for open positions. */
|
|
133
|
-
reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
134
|
-
/** The timestamp of the last update to the value_in_usd. */
|
|
135
|
-
update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
136
|
-
/** Whether the token pool is active. */
|
|
137
|
-
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
138
|
-
/** The timestamp of the last borrow rate calculation. */
|
|
139
|
-
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
140
|
-
/** The cumulative borrow rate. */
|
|
141
|
-
cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
142
|
-
/** The previous timestamp of the last borrow rate calculation. */
|
|
143
|
-
previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
144
|
-
/** The previous cumulative borrow rate. */
|
|
145
|
-
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
146
|
-
/** The current lending amount. */
|
|
147
|
-
current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
148
|
-
length: number;
|
|
149
|
-
}, string>;
|
|
150
|
-
/** Padding for future use. */
|
|
151
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
152
|
-
length: number;
|
|
153
|
-
}, string>;
|
|
154
|
-
}, "@typus/perp::lp_pool::State">;
|
|
155
|
-
export declare const TokenPool: MoveStruct<{
|
|
156
|
-
/** The type name of the token. */
|
|
157
|
-
token_type: MoveStruct<{
|
|
158
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
159
|
-
}, "std::type_name::TypeName">;
|
|
160
|
-
/** The configuration for the token pool. */
|
|
161
|
-
config: MoveStruct<{
|
|
162
|
-
/** The address of the oracle. */
|
|
163
|
-
oracle_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
164
|
-
/** The number of decimals for the liquidity token. */
|
|
165
|
-
liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
166
|
-
/** The spot-related configuration for the token pool. */
|
|
167
|
-
spot_config: MoveStruct<{
|
|
168
|
-
/** The minimum deposit amount. */
|
|
169
|
-
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
170
|
-
/** The maximum capacity of the pool. */
|
|
171
|
-
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
172
|
-
/** The target weight of the token in the pool in basis points. */
|
|
173
|
-
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
174
|
-
/** The basic mint fee in basis points. */
|
|
175
|
-
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
176
|
-
/** The additional mint fee in basis points. */
|
|
177
|
-
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
178
|
-
/** The basic burn fee in basis points. */
|
|
179
|
-
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
180
|
-
/** The additional burn fee in basis points. */
|
|
181
|
-
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
182
|
-
/** The swap fee in basis points. */
|
|
183
|
-
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
184
|
-
/** The protocol's share of the swap fee in basis points. */
|
|
185
|
-
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
186
|
-
/** The protocol's share of the lending interest in basis points. */
|
|
187
|
-
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
188
|
-
/** Padding for future use. */
|
|
189
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
190
|
-
length: number;
|
|
191
|
-
}, string>;
|
|
192
|
-
}, "@typus/perp::lp_pool::SpotConfig">;
|
|
193
|
-
/** The margin-related configuration for the token pool. */
|
|
194
|
-
margin_config: MoveStruct<{
|
|
195
|
-
/** The basic borrow rate at utilization 0. */
|
|
196
|
-
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
197
|
-
/** The basic borrow rate at utilization 1. */
|
|
198
|
-
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
199
|
-
/** The basic borrow rate at utilization 2. */
|
|
200
|
-
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
201
|
-
/** The utilization threshold 0 in basis points. */
|
|
202
|
-
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
203
|
-
/** The utilization threshold 1 in basis points. */
|
|
204
|
-
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
205
|
-
/** The borrow interval in milliseconds. */
|
|
206
|
-
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
207
|
-
/** The maximum order reserve ratio in basis points. */
|
|
208
|
-
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
209
|
-
/** Padding for future use. */
|
|
210
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
211
|
-
length: number;
|
|
212
|
-
}, string>;
|
|
213
|
-
}, "@typus/perp::lp_pool::MarginConfig">;
|
|
214
|
-
/** Padding for future use. */
|
|
215
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
216
|
-
length: number;
|
|
217
|
-
}, string>;
|
|
218
|
-
}, "@typus/perp::lp_pool::Config">;
|
|
219
|
-
/** The state of the token pool. */
|
|
220
|
-
state: MoveStruct<{
|
|
221
|
-
/** The amount of liquidity in the pool. */
|
|
222
|
-
liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
223
|
-
/** The value of the liquidity in USD. */
|
|
224
|
-
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
225
|
-
/** The amount of liquidity reserved for open positions. */
|
|
226
|
-
reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
227
|
-
/** The timestamp of the last update to the value_in_usd. */
|
|
228
|
-
update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
229
|
-
/** Whether the token pool is active. */
|
|
230
|
-
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
231
|
-
/** The timestamp of the last borrow rate calculation. */
|
|
232
|
-
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
233
|
-
/** The cumulative borrow rate. */
|
|
234
|
-
cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
235
|
-
/** The previous timestamp of the last borrow rate calculation. */
|
|
236
|
-
previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
237
|
-
/** The previous cumulative borrow rate. */
|
|
238
|
-
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
239
|
-
/** The current lending amount. */
|
|
240
|
-
current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
241
|
-
length: number;
|
|
242
|
-
}, string>;
|
|
243
|
-
/** Padding for future use. */
|
|
244
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
245
|
-
length: number;
|
|
246
|
-
}, string>;
|
|
247
|
-
}, "@typus/perp::lp_pool::State">;
|
|
248
|
-
}, "@typus/perp::lp_pool::TokenPool">;
|
|
249
|
-
export declare const LiquidityPoolInfo: MoveStruct<{
|
|
250
|
-
/** The number of decimals for the LP token. */
|
|
251
|
-
lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
252
|
-
/** The total supply of LP tokens. */
|
|
253
|
-
total_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
254
|
-
/** The total value locked in the pool in USD. */
|
|
255
|
-
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
256
|
-
/** Whether the pool is active. */
|
|
257
|
-
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
258
|
-
}, "@typus/perp::lp_pool::LiquidityPoolInfo">;
|
|
259
|
-
export declare const LiquidityPool: MoveStruct<{
|
|
260
|
-
/**
|
|
261
|
-
* The UID of the object. Token balances are dynamic fields under this id with
|
|
262
|
-
* TypeName key.
|
|
263
|
-
*/
|
|
264
|
-
id: MoveStruct<{
|
|
265
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
266
|
-
}, "0x2::object::UID">;
|
|
267
|
-
/** The index of the pool. */
|
|
268
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
269
|
-
/** The type name of the LP token. */
|
|
270
|
-
lp_token_type: MoveStruct<{
|
|
271
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
272
|
-
}, "std::type_name::TypeName">;
|
|
273
|
-
/** A vector of the type names of the liquidity tokens. */
|
|
274
|
-
liquidity_tokens: import("@mysten/sui/bcs").BcsType<{
|
|
275
|
-
name: string;
|
|
276
|
-
}[], Iterable<{
|
|
277
|
-
name: string;
|
|
278
|
-
}> & {
|
|
279
|
-
length: number;
|
|
280
|
-
}, string>;
|
|
281
|
-
/** A vector of the token pools. */
|
|
282
|
-
token_pools: import("@mysten/sui/bcs").BcsType<{
|
|
283
|
-
token_type: {
|
|
284
|
-
name: string;
|
|
285
|
-
};
|
|
286
|
-
config: {
|
|
287
|
-
oracle_id: string;
|
|
288
|
-
liquidity_token_decimal: string;
|
|
289
|
-
spot_config: {
|
|
290
|
-
min_deposit: string;
|
|
291
|
-
max_capacity: string;
|
|
292
|
-
target_weight_bp: string;
|
|
293
|
-
basic_mint_fee_bp: string;
|
|
294
|
-
additional_mint_fee_bp: string;
|
|
295
|
-
basic_burn_fee_bp: string;
|
|
296
|
-
additional_burn_fee_bp: string;
|
|
297
|
-
swap_fee_bp: string;
|
|
298
|
-
swap_fee_protocol_share_bp: string;
|
|
299
|
-
lending_protocol_share_bp: string;
|
|
300
|
-
u64_padding: string[];
|
|
301
|
-
};
|
|
302
|
-
margin_config: {
|
|
303
|
-
basic_borrow_rate_0: string;
|
|
304
|
-
basic_borrow_rate_1: string;
|
|
305
|
-
basic_borrow_rate_2: string;
|
|
306
|
-
utilization_threshold_bp_0: string;
|
|
307
|
-
utilization_threshold_bp_1: string;
|
|
308
|
-
borrow_interval_ts_ms: string;
|
|
309
|
-
max_order_reserve_ratio_bp: string;
|
|
310
|
-
u64_padding: string[];
|
|
311
|
-
};
|
|
312
|
-
u64_padding: string[];
|
|
313
|
-
};
|
|
314
|
-
state: {
|
|
315
|
-
liquidity_amount: string;
|
|
316
|
-
value_in_usd: string;
|
|
317
|
-
reserved_amount: string;
|
|
318
|
-
update_ts_ms: string;
|
|
319
|
-
is_active: boolean;
|
|
320
|
-
last_borrow_rate_ts_ms: string;
|
|
321
|
-
cumulative_borrow_rate: string;
|
|
322
|
-
previous_last_borrow_rate_ts_ms: string;
|
|
323
|
-
previous_cumulative_borrow_rate: string;
|
|
324
|
-
current_lending_amount: string[];
|
|
325
|
-
u64_padding: string[];
|
|
326
|
-
};
|
|
327
|
-
}[], Iterable<{
|
|
328
|
-
token_type: {
|
|
329
|
-
name: string;
|
|
330
|
-
};
|
|
331
|
-
config: {
|
|
332
|
-
oracle_id: string | Uint8Array<ArrayBufferLike>;
|
|
333
|
-
liquidity_token_decimal: string | number | bigint;
|
|
334
|
-
spot_config: {
|
|
335
|
-
min_deposit: string | number | bigint;
|
|
336
|
-
max_capacity: string | number | bigint;
|
|
337
|
-
target_weight_bp: string | number | bigint;
|
|
338
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
339
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
340
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
341
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
342
|
-
swap_fee_bp: string | number | bigint;
|
|
343
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
344
|
-
lending_protocol_share_bp: string | number | bigint;
|
|
345
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
346
|
-
length: number;
|
|
347
|
-
};
|
|
348
|
-
};
|
|
349
|
-
margin_config: {
|
|
350
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
351
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
352
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
353
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
354
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
355
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
356
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
357
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
358
|
-
length: number;
|
|
359
|
-
};
|
|
360
|
-
};
|
|
361
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
362
|
-
length: number;
|
|
363
|
-
};
|
|
364
|
-
};
|
|
365
|
-
state: {
|
|
366
|
-
liquidity_amount: string | number | bigint;
|
|
367
|
-
value_in_usd: string | number | bigint;
|
|
368
|
-
reserved_amount: string | number | bigint;
|
|
369
|
-
update_ts_ms: string | number | bigint;
|
|
370
|
-
is_active: boolean;
|
|
371
|
-
last_borrow_rate_ts_ms: string | number | bigint;
|
|
372
|
-
cumulative_borrow_rate: string | number | bigint;
|
|
373
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint;
|
|
374
|
-
previous_cumulative_borrow_rate: string | number | bigint;
|
|
375
|
-
current_lending_amount: Iterable<string | number | bigint> & {
|
|
376
|
-
length: number;
|
|
377
|
-
};
|
|
378
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
379
|
-
length: number;
|
|
380
|
-
};
|
|
381
|
-
};
|
|
382
|
-
}> & {
|
|
383
|
-
length: number;
|
|
384
|
-
}, string>;
|
|
385
|
-
/** Information about the liquidity pool. */
|
|
386
|
-
pool_info: MoveStruct<{
|
|
387
|
-
/** The number of decimals for the LP token. */
|
|
388
|
-
lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
389
|
-
/** The total supply of LP tokens. */
|
|
390
|
-
total_share_supply: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
391
|
-
/** The total value locked in the pool in USD. */
|
|
392
|
-
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
393
|
-
/** Whether the pool is active. */
|
|
394
|
-
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
395
|
-
}, "@typus/perp::lp_pool::LiquidityPoolInfo">;
|
|
396
|
-
/** A vector of unsettled bid receipts from liquidations. */
|
|
397
|
-
liquidated_unsettled_receipts: import("@mysten/sui/bcs").BcsType<{
|
|
398
|
-
receipt: {
|
|
399
|
-
id: {
|
|
400
|
-
id: string;
|
|
401
|
-
};
|
|
402
|
-
vid: string;
|
|
403
|
-
index: string;
|
|
404
|
-
metadata: string;
|
|
405
|
-
u64_padding: string[];
|
|
406
|
-
}[];
|
|
407
|
-
position_id: string;
|
|
408
|
-
user: string;
|
|
409
|
-
token_types: {
|
|
410
|
-
name: string;
|
|
411
|
-
}[];
|
|
412
|
-
unrealized_pnl_sign: boolean;
|
|
413
|
-
unrealized_pnl: string;
|
|
414
|
-
unrealized_trading_fee: string;
|
|
415
|
-
unrealized_borrow_fee: string;
|
|
416
|
-
unrealized_funding_fee_sign: boolean;
|
|
417
|
-
unrealized_funding_fee: string;
|
|
418
|
-
unrealized_liquidator_fee: string;
|
|
419
|
-
}[], Iterable<{
|
|
420
|
-
receipt: Iterable<{
|
|
421
|
-
id: {
|
|
422
|
-
id: string | Uint8Array<ArrayBufferLike>;
|
|
423
|
-
};
|
|
424
|
-
vid: string | Uint8Array<ArrayBufferLike>;
|
|
425
|
-
index: string | number | bigint;
|
|
426
|
-
metadata: string;
|
|
427
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
428
|
-
length: number;
|
|
429
|
-
};
|
|
430
|
-
}> & {
|
|
431
|
-
length: number;
|
|
432
|
-
};
|
|
433
|
-
position_id: string | number | bigint;
|
|
434
|
-
user: string | Uint8Array<ArrayBufferLike>;
|
|
435
|
-
token_types: Iterable<{
|
|
436
|
-
name: string;
|
|
437
|
-
}> & {
|
|
438
|
-
length: number;
|
|
439
|
-
};
|
|
440
|
-
unrealized_pnl_sign: boolean;
|
|
441
|
-
unrealized_pnl: string | number | bigint;
|
|
442
|
-
unrealized_trading_fee: string | number | bigint;
|
|
443
|
-
unrealized_borrow_fee: string | number | bigint;
|
|
444
|
-
unrealized_funding_fee_sign: boolean;
|
|
445
|
-
unrealized_funding_fee: string | number | bigint;
|
|
446
|
-
unrealized_liquidator_fee: string | number | bigint;
|
|
447
|
-
}> & {
|
|
448
|
-
length: number;
|
|
449
|
-
}, string>;
|
|
450
|
-
/** Padding for future use. */
|
|
451
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
452
|
-
length: number;
|
|
453
|
-
}, string>;
|
|
454
|
-
/** Padding for future use. */
|
|
455
|
-
bcs_padding: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
456
|
-
length: number;
|
|
457
|
-
}, string>;
|
|
458
|
-
}, "@typus/perp::lp_pool::LiquidityPool">;
|
|
459
|
-
export declare const RemoveLiquidityTokenProcess: MoveStruct<{
|
|
460
|
-
/** The type name of the liquidity token being removed. */
|
|
461
|
-
liquidity_token: MoveStruct<{
|
|
462
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
463
|
-
}, "std::type_name::TypeName">;
|
|
464
|
-
/** A vector of the base tokens of the removed positions. */
|
|
465
|
-
removed_positions_base_token: import("@mysten/sui/bcs").BcsType<{
|
|
466
|
-
name: string;
|
|
467
|
-
}[], Iterable<{
|
|
468
|
-
name: string;
|
|
469
|
-
}> & {
|
|
470
|
-
length: number;
|
|
471
|
-
}, string>;
|
|
472
|
-
/** A vector of the base tokens of the removed orders. */
|
|
473
|
-
removed_orders_base_token: import("@mysten/sui/bcs").BcsType<{
|
|
474
|
-
name: string;
|
|
475
|
-
}[], Iterable<{
|
|
476
|
-
name: string;
|
|
477
|
-
}> & {
|
|
478
|
-
length: number;
|
|
479
|
-
}, string>;
|
|
480
|
-
/** The address of the oracle for the removed token. */
|
|
481
|
-
removed_token_oracle_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
482
|
-
/** The value of the removed liquidity in USD. */
|
|
483
|
-
removed_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
484
|
-
/** The value of the repaid liquidity in USD. */
|
|
485
|
-
repaid_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
486
|
-
/** The status of the removal process. */
|
|
487
|
-
status: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
488
|
-
}, "@typus/perp::lp_pool::RemoveLiquidityTokenProcess">;
|
|
489
|
-
export declare const DeactivatingShares: MoveStruct<{
|
|
490
|
-
/** The balance of the deactivating shares. */
|
|
491
|
-
balance: MoveStruct<{
|
|
492
|
-
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
493
|
-
}, "0x2::balance::Balance">;
|
|
494
|
-
/** The timestamp of the redemption. */
|
|
495
|
-
redeem_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
496
|
-
/** The timestamp when the shares can be unlocked. */
|
|
497
|
-
unlock_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
498
|
-
/** Padding for future use. */
|
|
499
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
500
|
-
length: number;
|
|
501
|
-
}, string>;
|
|
502
|
-
}, "@typus/perp::lp_pool::DeactivatingShares">;
|
|
503
|
-
export declare const ManagerDepositReceiptV2: MoveStruct<{
|
|
504
|
-
id: MoveStruct<{
|
|
505
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
506
|
-
}, "0x2::object::UID">;
|
|
507
|
-
/** The index of the pool. */
|
|
508
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
509
|
-
/** The type name of the token. */
|
|
510
|
-
token_type: MoveStruct<{
|
|
511
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
512
|
-
}, "std::type_name::TypeName">;
|
|
513
|
-
/** The amount of the deposit. */
|
|
514
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
515
|
-
/** Padding for future use. */
|
|
516
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
517
|
-
length: number;
|
|
518
|
-
}, string>;
|
|
519
|
-
}, "@typus/perp::lp_pool::ManagerDepositReceiptV2">;
|
|
520
|
-
export declare const NewLiquidityPoolEvent: MoveStruct<{
|
|
521
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
522
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
523
|
-
lp_token_type: MoveStruct<{
|
|
524
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
525
|
-
}, "std::type_name::TypeName">;
|
|
526
|
-
lp_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
527
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
528
|
-
length: number;
|
|
529
|
-
}, string>;
|
|
530
|
-
}, "@typus/perp::lp_pool::NewLiquidityPoolEvent">;
|
|
531
|
-
export declare const UpdateUnlockCountdownTsMsEvent: MoveStruct<{
|
|
532
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
533
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
534
|
-
previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
535
|
-
new_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
536
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
537
|
-
length: number;
|
|
538
|
-
}, string>;
|
|
539
|
-
}, "@typus/perp::lp_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
540
|
-
export declare const UpdateRebalanceCostThresholdBpEvent: MoveStruct<{
|
|
541
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
542
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
543
|
-
previous_rebalance_cost_threshold_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
544
|
-
new_rebalance_cost_threshold_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
545
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
546
|
-
length: number;
|
|
547
|
-
}, string>;
|
|
548
|
-
}, "@typus/perp::lp_pool::UpdateRebalanceCostThresholdBpEvent">;
|
|
549
|
-
export declare const AddLiquidityTokenEvent: MoveStruct<{
|
|
550
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
551
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
552
|
-
token_type: MoveStruct<{
|
|
553
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
554
|
-
}, "std::type_name::TypeName">;
|
|
555
|
-
config: MoveStruct<{
|
|
556
|
-
/** The address of the oracle. */
|
|
557
|
-
oracle_id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
558
|
-
/** The number of decimals for the liquidity token. */
|
|
559
|
-
liquidity_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
560
|
-
/** The spot-related configuration for the token pool. */
|
|
561
|
-
spot_config: MoveStruct<{
|
|
562
|
-
/** The minimum deposit amount. */
|
|
563
|
-
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
564
|
-
/** The maximum capacity of the pool. */
|
|
565
|
-
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
566
|
-
/** The target weight of the token in the pool in basis points. */
|
|
567
|
-
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
568
|
-
/** The basic mint fee in basis points. */
|
|
569
|
-
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
570
|
-
/** The additional mint fee in basis points. */
|
|
571
|
-
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
572
|
-
/** The basic burn fee in basis points. */
|
|
573
|
-
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
574
|
-
/** The additional burn fee in basis points. */
|
|
575
|
-
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
576
|
-
/** The swap fee in basis points. */
|
|
577
|
-
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
578
|
-
/** The protocol's share of the swap fee in basis points. */
|
|
579
|
-
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
580
|
-
/** The protocol's share of the lending interest in basis points. */
|
|
581
|
-
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
582
|
-
/** Padding for future use. */
|
|
583
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
584
|
-
length: number;
|
|
585
|
-
}, string>;
|
|
586
|
-
}, "@typus/perp::lp_pool::SpotConfig">;
|
|
587
|
-
/** The margin-related configuration for the token pool. */
|
|
588
|
-
margin_config: MoveStruct<{
|
|
589
|
-
/** The basic borrow rate at utilization 0. */
|
|
590
|
-
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
591
|
-
/** The basic borrow rate at utilization 1. */
|
|
592
|
-
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
593
|
-
/** The basic borrow rate at utilization 2. */
|
|
594
|
-
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
595
|
-
/** The utilization threshold 0 in basis points. */
|
|
596
|
-
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
597
|
-
/** The utilization threshold 1 in basis points. */
|
|
598
|
-
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
599
|
-
/** The borrow interval in milliseconds. */
|
|
600
|
-
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
601
|
-
/** The maximum order reserve ratio in basis points. */
|
|
602
|
-
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
603
|
-
/** Padding for future use. */
|
|
604
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
605
|
-
length: number;
|
|
606
|
-
}, string>;
|
|
607
|
-
}, "@typus/perp::lp_pool::MarginConfig">;
|
|
608
|
-
/** Padding for future use. */
|
|
609
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
610
|
-
length: number;
|
|
611
|
-
}, string>;
|
|
612
|
-
}, "@typus/perp::lp_pool::Config">;
|
|
613
|
-
state: MoveStruct<{
|
|
614
|
-
/** The amount of liquidity in the pool. */
|
|
615
|
-
liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
616
|
-
/** The value of the liquidity in USD. */
|
|
617
|
-
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
618
|
-
/** The amount of liquidity reserved for open positions. */
|
|
619
|
-
reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
620
|
-
/** The timestamp of the last update to the value_in_usd. */
|
|
621
|
-
update_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
622
|
-
/** Whether the token pool is active. */
|
|
623
|
-
is_active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
624
|
-
/** The timestamp of the last borrow rate calculation. */
|
|
625
|
-
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
626
|
-
/** The cumulative borrow rate. */
|
|
627
|
-
cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
628
|
-
/** The previous timestamp of the last borrow rate calculation. */
|
|
629
|
-
previous_last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
630
|
-
/** The previous cumulative borrow rate. */
|
|
631
|
-
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
632
|
-
/** The current lending amount. */
|
|
633
|
-
current_lending_amount: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
634
|
-
length: number;
|
|
635
|
-
}, string>;
|
|
636
|
-
/** Padding for future use. */
|
|
637
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
638
|
-
length: number;
|
|
639
|
-
}, string>;
|
|
640
|
-
}, "@typus/perp::lp_pool::State">;
|
|
641
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
642
|
-
length: number;
|
|
643
|
-
}, string>;
|
|
644
|
-
}, "@typus/perp::lp_pool::AddLiquidityTokenEvent">;
|
|
645
|
-
export declare const UpdateSpotConfigEvent: MoveStruct<{
|
|
646
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
647
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
648
|
-
liquidity_token_type: MoveStruct<{
|
|
649
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
650
|
-
}, "std::type_name::TypeName">;
|
|
651
|
-
previous_spot_config: MoveStruct<{
|
|
652
|
-
/** The minimum deposit amount. */
|
|
653
|
-
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
654
|
-
/** The maximum capacity of the pool. */
|
|
655
|
-
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
656
|
-
/** The target weight of the token in the pool in basis points. */
|
|
657
|
-
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
658
|
-
/** The basic mint fee in basis points. */
|
|
659
|
-
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
660
|
-
/** The additional mint fee in basis points. */
|
|
661
|
-
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
662
|
-
/** The basic burn fee in basis points. */
|
|
663
|
-
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
664
|
-
/** The additional burn fee in basis points. */
|
|
665
|
-
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
666
|
-
/** The swap fee in basis points. */
|
|
667
|
-
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
668
|
-
/** The protocol's share of the swap fee in basis points. */
|
|
669
|
-
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
670
|
-
/** The protocol's share of the lending interest in basis points. */
|
|
671
|
-
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
672
|
-
/** Padding for future use. */
|
|
673
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
674
|
-
length: number;
|
|
675
|
-
}, string>;
|
|
676
|
-
}, "@typus/perp::lp_pool::SpotConfig">;
|
|
677
|
-
new_spot_config: MoveStruct<{
|
|
678
|
-
/** The minimum deposit amount. */
|
|
679
|
-
min_deposit: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
680
|
-
/** The maximum capacity of the pool. */
|
|
681
|
-
max_capacity: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
682
|
-
/** The target weight of the token in the pool in basis points. */
|
|
683
|
-
target_weight_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
684
|
-
/** The basic mint fee in basis points. */
|
|
685
|
-
basic_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
686
|
-
/** The additional mint fee in basis points. */
|
|
687
|
-
additional_mint_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
688
|
-
/** The basic burn fee in basis points. */
|
|
689
|
-
basic_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
690
|
-
/** The additional burn fee in basis points. */
|
|
691
|
-
additional_burn_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
692
|
-
/** The swap fee in basis points. */
|
|
693
|
-
swap_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
694
|
-
/** The protocol's share of the swap fee in basis points. */
|
|
695
|
-
swap_fee_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
696
|
-
/** The protocol's share of the lending interest in basis points. */
|
|
697
|
-
lending_protocol_share_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
698
|
-
/** Padding for future use. */
|
|
699
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
700
|
-
length: number;
|
|
701
|
-
}, string>;
|
|
702
|
-
}, "@typus/perp::lp_pool::SpotConfig">;
|
|
703
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
704
|
-
length: number;
|
|
705
|
-
}, string>;
|
|
706
|
-
}, "@typus/perp::lp_pool::UpdateSpotConfigEvent">;
|
|
707
|
-
export declare const ManagerEmergencyDepositEvent: MoveStruct<{
|
|
708
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
709
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
710
|
-
liquidity_token_type: MoveStruct<{
|
|
711
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
712
|
-
}, "std::type_name::TypeName">;
|
|
713
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
714
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
715
|
-
length: number;
|
|
716
|
-
}, string>;
|
|
717
|
-
}, "@typus/perp::lp_pool::ManagerEmergencyDepositEvent">;
|
|
718
|
-
export declare const ManagerEmergencyWithdrawEvent: MoveStruct<{
|
|
719
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
720
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
721
|
-
liquidity_token_type: MoveStruct<{
|
|
722
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
723
|
-
}, "std::type_name::TypeName">;
|
|
724
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
725
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
726
|
-
length: number;
|
|
727
|
-
}, string>;
|
|
728
|
-
}, "@typus/perp::lp_pool::ManagerEmergencyWithdrawEvent">;
|
|
729
|
-
export declare const UpdateMarginConfigEvent: MoveStruct<{
|
|
730
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
731
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
732
|
-
liquidity_token_type: MoveStruct<{
|
|
733
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
734
|
-
}, "std::type_name::TypeName">;
|
|
735
|
-
previous_margin_config: MoveStruct<{
|
|
736
|
-
/** The basic borrow rate at utilization 0. */
|
|
737
|
-
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
738
|
-
/** The basic borrow rate at utilization 1. */
|
|
739
|
-
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
740
|
-
/** The basic borrow rate at utilization 2. */
|
|
741
|
-
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
742
|
-
/** The utilization threshold 0 in basis points. */
|
|
743
|
-
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
744
|
-
/** The utilization threshold 1 in basis points. */
|
|
745
|
-
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
746
|
-
/** The borrow interval in milliseconds. */
|
|
747
|
-
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
748
|
-
/** The maximum order reserve ratio in basis points. */
|
|
749
|
-
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
750
|
-
/** Padding for future use. */
|
|
751
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
752
|
-
length: number;
|
|
753
|
-
}, string>;
|
|
754
|
-
}, "@typus/perp::lp_pool::MarginConfig">;
|
|
755
|
-
new_margin_config: MoveStruct<{
|
|
756
|
-
/** The basic borrow rate at utilization 0. */
|
|
757
|
-
basic_borrow_rate_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
758
|
-
/** The basic borrow rate at utilization 1. */
|
|
759
|
-
basic_borrow_rate_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
760
|
-
/** The basic borrow rate at utilization 2. */
|
|
761
|
-
basic_borrow_rate_2: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
762
|
-
/** The utilization threshold 0 in basis points. */
|
|
763
|
-
utilization_threshold_bp_0: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
764
|
-
/** The utilization threshold 1 in basis points. */
|
|
765
|
-
utilization_threshold_bp_1: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
766
|
-
/** The borrow interval in milliseconds. */
|
|
767
|
-
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
768
|
-
/** The maximum order reserve ratio in basis points. */
|
|
769
|
-
max_order_reserve_ratio_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
770
|
-
/** Padding for future use. */
|
|
771
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
772
|
-
length: number;
|
|
773
|
-
}, string>;
|
|
774
|
-
}, "@typus/perp::lp_pool::MarginConfig">;
|
|
775
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
776
|
-
length: number;
|
|
777
|
-
}, string>;
|
|
778
|
-
}, "@typus/perp::lp_pool::UpdateMarginConfigEvent">;
|
|
779
|
-
export declare const MintLpEvent: MoveStruct<{
|
|
780
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
781
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
782
|
-
liquidity_token_type: MoveStruct<{
|
|
783
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
784
|
-
}, "std::type_name::TypeName">;
|
|
785
|
-
deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
786
|
-
deposit_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
787
|
-
mint_fee_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
788
|
-
lp_token_type: MoveStruct<{
|
|
789
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
790
|
-
}, "std::type_name::TypeName">;
|
|
791
|
-
minted_lp_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
792
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
793
|
-
length: number;
|
|
794
|
-
}, string>;
|
|
795
|
-
}, "@typus/perp::lp_pool::MintLpEvent">;
|
|
796
|
-
export declare const UpdateBorrowInfoEvent: MoveStruct<{
|
|
797
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
798
|
-
liquidity_token_type: MoveStruct<{
|
|
799
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
800
|
-
}, "std::type_name::TypeName">;
|
|
801
|
-
previous_borrow_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
802
|
-
previous_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
803
|
-
borrow_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
804
|
-
last_borrow_rate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
805
|
-
last_cumulative_borrow_rate: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
806
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
807
|
-
length: number;
|
|
808
|
-
}, string>;
|
|
809
|
-
}, "@typus/perp::lp_pool::UpdateBorrowInfoEvent">;
|
|
810
|
-
export declare const SwapEvent: MoveStruct<{
|
|
811
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
812
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
813
|
-
from_token_type: MoveStruct<{
|
|
814
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
815
|
-
}, "std::type_name::TypeName">;
|
|
816
|
-
from_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
817
|
-
to_token_type: MoveStruct<{
|
|
818
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
819
|
-
}, "std::type_name::TypeName">;
|
|
820
|
-
min_to_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
821
|
-
actual_to_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
822
|
-
fee_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
823
|
-
fee_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
824
|
-
oracle_price_from_token: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
825
|
-
oracle_price_to_token: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
826
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
827
|
-
length: number;
|
|
828
|
-
}, string>;
|
|
829
|
-
}, "@typus/perp::lp_pool::SwapEvent">;
|
|
830
|
-
export declare const RedeemEvent: MoveStruct<{
|
|
831
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
832
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
833
|
-
share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
834
|
-
share_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
835
|
-
timestamp_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
836
|
-
unlock_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
837
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
838
|
-
length: number;
|
|
839
|
-
}, string>;
|
|
840
|
-
}, "@typus/perp::lp_pool::RedeemEvent">;
|
|
841
|
-
export declare const SuspendPoolEvent: MoveStruct<{
|
|
842
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
843
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
844
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
845
|
-
length: number;
|
|
846
|
-
}, string>;
|
|
847
|
-
}, "@typus/perp::lp_pool::SuspendPoolEvent">;
|
|
848
|
-
export declare const ResumePoolEvent: MoveStruct<{
|
|
849
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
850
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
851
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
852
|
-
length: number;
|
|
853
|
-
}, string>;
|
|
854
|
-
}, "@typus/perp::lp_pool::ResumePoolEvent">;
|
|
855
|
-
export declare const SuspendTokenPoolEvent: MoveStruct<{
|
|
856
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
857
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
858
|
-
liquidity_token: MoveStruct<{
|
|
859
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
860
|
-
}, "std::type_name::TypeName">;
|
|
861
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
862
|
-
length: number;
|
|
863
|
-
}, string>;
|
|
864
|
-
}, "@typus/perp::lp_pool::SuspendTokenPoolEvent">;
|
|
865
|
-
export declare const ResumeTokenPoolEvent: MoveStruct<{
|
|
866
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
867
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
868
|
-
liquidity_token: MoveStruct<{
|
|
869
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
870
|
-
}, "std::type_name::TypeName">;
|
|
871
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
872
|
-
length: number;
|
|
873
|
-
}, string>;
|
|
874
|
-
}, "@typus/perp::lp_pool::ResumeTokenPoolEvent">;
|
|
875
|
-
export declare const DepositLendingEvent: MoveStruct<{
|
|
876
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
877
|
-
lending_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
878
|
-
c_token_type: MoveStruct<{
|
|
879
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
880
|
-
}, "std::type_name::TypeName">;
|
|
881
|
-
deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
882
|
-
minted_market_coin_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
883
|
-
latest_lending_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
884
|
-
latest_market_coin_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
885
|
-
latest_reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
886
|
-
latest_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
887
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
888
|
-
length: number;
|
|
889
|
-
}, string>;
|
|
890
|
-
}, "@typus/perp::lp_pool::DepositLendingEvent">;
|
|
891
|
-
export declare const WithdrawLendingEvent: MoveStruct<{
|
|
892
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
893
|
-
lending_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
894
|
-
c_token_type: MoveStruct<{
|
|
895
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
896
|
-
}, "std::type_name::TypeName">;
|
|
897
|
-
r_token_type: MoveStruct<{
|
|
898
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
899
|
-
}, "std::type_name::TypeName">;
|
|
900
|
-
withdraw_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
901
|
-
withdrawn_collateral_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
902
|
-
latest_lending_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
903
|
-
latest_market_coin_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
904
|
-
latest_reserved_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
905
|
-
latest_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
906
|
-
lending_interest: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
907
|
-
protocol_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
908
|
-
lending_reward: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
909
|
-
reward_protocol_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
910
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
911
|
-
length: number;
|
|
912
|
-
}, string>;
|
|
913
|
-
}, "@typus/perp::lp_pool::WithdrawLendingEvent">;
|
|
914
|
-
export declare const StartRemoveLiquidityTokenProcessEvent: MoveStruct<{
|
|
915
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
916
|
-
liquidity_token: MoveStruct<{
|
|
917
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
918
|
-
}, "std::type_name::TypeName">;
|
|
919
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
920
|
-
length: number;
|
|
921
|
-
}, string>;
|
|
922
|
-
}, "@typus/perp::lp_pool::StartRemoveLiquidityTokenProcessEvent">;
|
|
923
|
-
export declare const ManagerFlashRemoveLiquidityEvent: MoveStruct<{
|
|
924
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
925
|
-
liquidity_token: MoveStruct<{
|
|
926
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
927
|
-
}, "std::type_name::TypeName">;
|
|
928
|
-
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
929
|
-
price_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
930
|
-
remove_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
931
|
-
removed_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
932
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
933
|
-
length: number;
|
|
934
|
-
}, string>;
|
|
935
|
-
}, "@typus/perp::lp_pool::ManagerFlashRemoveLiquidityEvent">;
|
|
936
|
-
export declare const ManagerFlashRepayLiquidityEvent: MoveStruct<{
|
|
937
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
938
|
-
liquidity_token: MoveStruct<{
|
|
939
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
940
|
-
}, "std::type_name::TypeName">;
|
|
941
|
-
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
942
|
-
price_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
943
|
-
repaid_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
944
|
-
repaid_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
945
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
946
|
-
length: number;
|
|
947
|
-
}, string>;
|
|
948
|
-
}, "@typus/perp::lp_pool::ManagerFlashRepayLiquidityEvent">;
|
|
949
|
-
export declare const CompleteRemoveLiquidityTokenProcessEvent: MoveStruct<{
|
|
950
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
951
|
-
liquidity_token: MoveStruct<{
|
|
952
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
953
|
-
}, "std::type_name::TypeName">;
|
|
954
|
-
removed_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
955
|
-
repaid_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
956
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
957
|
-
length: number;
|
|
958
|
-
}, string>;
|
|
959
|
-
}, "@typus/perp::lp_pool::CompleteRemoveLiquidityTokenProcessEvent">;
|
|
960
|
-
export declare const ManagerRemoveLiquidityTokenEvent: MoveStruct<{
|
|
961
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
962
|
-
liquidity_token: MoveStruct<{
|
|
963
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
964
|
-
}, "std::type_name::TypeName">;
|
|
965
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
966
|
-
length: number;
|
|
967
|
-
}, string>;
|
|
968
|
-
}, "@typus/perp::lp_pool::ManagerRemoveLiquidityTokenEvent">;
|
|
969
|
-
export declare const RebalanceProcess: MoveStruct<{
|
|
970
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
971
|
-
token_type_a: MoveStruct<{
|
|
972
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
973
|
-
}, "std::type_name::TypeName">;
|
|
974
|
-
token_decimal_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
975
|
-
token_amount_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
976
|
-
oracle_price_a: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
977
|
-
reduced_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
978
|
-
token_type_b: MoveStruct<{
|
|
979
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
980
|
-
}, "std::type_name::TypeName">;
|
|
981
|
-
token_decimal_b: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
982
|
-
oracle_price_b: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
983
|
-
}, "@typus/perp::lp_pool::RebalanceProcess">;
|
|
984
|
-
export declare const RebalanceEvent: MoveStruct<{
|
|
985
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
986
|
-
from_token: MoveStruct<{
|
|
987
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
988
|
-
}, "std::type_name::TypeName">;
|
|
989
|
-
to_token: MoveStruct<{
|
|
990
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
991
|
-
}, "std::type_name::TypeName">;
|
|
992
|
-
rebalance_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
993
|
-
from_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
994
|
-
to_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
995
|
-
reduced_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
996
|
-
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
997
|
-
from_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
998
|
-
to_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
999
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1000
|
-
length: number;
|
|
1001
|
-
}, string>;
|
|
1002
|
-
}, "@typus/perp::lp_pool::RebalanceEvent">;
|
|
1003
|
-
export declare const CompleteRebalancingEvent: MoveStruct<{
|
|
1004
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1005
|
-
from_token: MoveStruct<{
|
|
1006
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
1007
|
-
}, "std::type_name::TypeName">;
|
|
1008
|
-
to_token: MoveStruct<{
|
|
1009
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
1010
|
-
}, "std::type_name::TypeName">;
|
|
1011
|
-
from_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1012
|
-
to_token_oracle_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1013
|
-
swapped_back_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1014
|
-
tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1015
|
-
from_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1016
|
-
to_token_liquidity_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1017
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1018
|
-
length: number;
|
|
1019
|
-
}, string>;
|
|
1020
|
-
}, "@typus/perp::lp_pool::CompleteRebalancingEvent">;
|
|
1021
|
-
export declare const UpdateLiquidityValueEvent: MoveStruct<{
|
|
1022
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
1023
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1024
|
-
liquidity_token: MoveStruct<{
|
|
1025
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
1026
|
-
}, "std::type_name::TypeName">;
|
|
1027
|
-
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1028
|
-
value_in_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1029
|
-
lp_pool_tvl_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1030
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1031
|
-
length: number;
|
|
1032
|
-
}, string>;
|
|
1033
|
-
}, "@typus/perp::lp_pool::UpdateLiquidityValueEvent">;
|
|
1034
|
-
export declare const BurnLpEvent: MoveStruct<{
|
|
1035
|
-
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
1036
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1037
|
-
lp_token_type: MoveStruct<{
|
|
1038
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
1039
|
-
}, "std::type_name::TypeName">;
|
|
1040
|
-
burn_lp_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1041
|
-
burn_amount_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1042
|
-
burn_fee_usd: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1043
|
-
liquidity_token_type: MoveStruct<{
|
|
1044
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
1045
|
-
}, "std::type_name::TypeName">;
|
|
1046
|
-
withdraw_token_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1047
|
-
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
1048
|
-
length: number;
|
|
1049
|
-
}, string>;
|
|
1050
|
-
}, "@typus/perp::lp_pool::BurnLpEvent">;
|
|
1051
|
-
export declare const ManagerDepositReceipt: MoveStruct<{
|
|
1052
|
-
id: MoveStruct<{
|
|
1053
|
-
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
1054
|
-
}, "0x2::object::UID">;
|
|
1055
|
-
token_type: MoveStruct<{
|
|
1056
|
-
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
1057
|
-
}, "std::type_name::TypeName">;
|
|
1058
|
-
amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
1059
|
-
}, "@typus/perp::lp_pool::ManagerDepositReceipt">;
|
|
1060
|
-
export interface InitOptions {
|
|
1061
|
-
package?: string;
|
|
1062
|
-
arguments?: [];
|
|
1063
|
-
}
|
|
1064
|
-
export declare function init(options?: InitOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1065
|
-
export interface NewLiquidityPoolArguments {
|
|
1066
|
-
version: RawTransactionArgument<string>;
|
|
1067
|
-
registry: RawTransactionArgument<string>;
|
|
1068
|
-
lpTokenDecimal: RawTransactionArgument<number | bigint>;
|
|
1069
|
-
unlockCountdownTsMs: RawTransactionArgument<number | bigint>;
|
|
1070
|
-
}
|
|
1071
|
-
export interface NewLiquidityPoolOptions {
|
|
1072
|
-
package?: string;
|
|
1073
|
-
arguments: NewLiquidityPoolArguments | [
|
|
1074
|
-
version: RawTransactionArgument<string>,
|
|
1075
|
-
registry: RawTransactionArgument<string>,
|
|
1076
|
-
lpTokenDecimal: RawTransactionArgument<number | bigint>,
|
|
1077
|
-
unlockCountdownTsMs: RawTransactionArgument<number | bigint>
|
|
1078
|
-
];
|
|
1079
|
-
typeArguments: [string];
|
|
1080
|
-
}
|
|
1081
|
-
/** [Authorized Function] Creates a new liquidity pool. */
|
|
1082
|
-
export declare function newLiquidityPool(options: NewLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1083
|
-
export interface UpdateUnlockCountdownTsMsArguments {
|
|
1084
|
-
version: RawTransactionArgument<string>;
|
|
1085
|
-
registry: RawTransactionArgument<string>;
|
|
1086
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1087
|
-
unlockCountdownTsMs: RawTransactionArgument<number | bigint>;
|
|
1088
|
-
}
|
|
1089
|
-
export interface UpdateUnlockCountdownTsMsOptions {
|
|
1090
|
-
package?: string;
|
|
1091
|
-
arguments: UpdateUnlockCountdownTsMsArguments | [
|
|
1092
|
-
version: RawTransactionArgument<string>,
|
|
1093
|
-
registry: RawTransactionArgument<string>,
|
|
1094
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1095
|
-
unlockCountdownTsMs: RawTransactionArgument<number | bigint>
|
|
1096
|
-
];
|
|
1097
|
-
}
|
|
1098
|
-
/** [Authorized Function] Updates the unlock countdown. */
|
|
1099
|
-
export declare function updateUnlockCountdownTsMs(options: UpdateUnlockCountdownTsMsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1100
|
-
export interface UpdateRebalanceCostThresholdBpArguments {
|
|
1101
|
-
version: RawTransactionArgument<string>;
|
|
1102
|
-
registry: RawTransactionArgument<string>;
|
|
1103
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1104
|
-
rebalanceCostThresholdBp: RawTransactionArgument<number | bigint>;
|
|
1105
|
-
}
|
|
1106
|
-
export interface UpdateRebalanceCostThresholdBpOptions {
|
|
1107
|
-
package?: string;
|
|
1108
|
-
arguments: UpdateRebalanceCostThresholdBpArguments | [
|
|
1109
|
-
version: RawTransactionArgument<string>,
|
|
1110
|
-
registry: RawTransactionArgument<string>,
|
|
1111
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1112
|
-
rebalanceCostThresholdBp: RawTransactionArgument<number | bigint>
|
|
1113
|
-
];
|
|
1114
|
-
}
|
|
1115
|
-
/** [Authorized Function] Updates the rebalance cost threshold. */
|
|
1116
|
-
export declare function updateRebalanceCostThresholdBp(options: UpdateRebalanceCostThresholdBpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1117
|
-
export interface AddLiquidityTokenArguments {
|
|
1118
|
-
version: RawTransactionArgument<string>;
|
|
1119
|
-
registry: RawTransactionArgument<string>;
|
|
1120
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1121
|
-
oracle: RawTransactionArgument<string>;
|
|
1122
|
-
tokenDecimal: RawTransactionArgument<number | bigint>;
|
|
1123
|
-
targetWeightBp: RawTransactionArgument<number | bigint>;
|
|
1124
|
-
minDeposit: RawTransactionArgument<number | bigint>;
|
|
1125
|
-
maxCapacity: RawTransactionArgument<number | bigint>;
|
|
1126
|
-
basicMintFeeBp: RawTransactionArgument<number | bigint>;
|
|
1127
|
-
additionalMintFeeBp: RawTransactionArgument<number | bigint>;
|
|
1128
|
-
basicBurnFeeBp: RawTransactionArgument<number | bigint>;
|
|
1129
|
-
additionalBurnFeeBp: RawTransactionArgument<number | bigint>;
|
|
1130
|
-
swapFeeBp: RawTransactionArgument<number | bigint>;
|
|
1131
|
-
swapFeeProtocolShareBp: RawTransactionArgument<number | bigint>;
|
|
1132
|
-
lendingProtocolShareBp: RawTransactionArgument<number | bigint>;
|
|
1133
|
-
basicBorrowRate_0: RawTransactionArgument<number | bigint>;
|
|
1134
|
-
basicBorrowRate_1: RawTransactionArgument<number | bigint>;
|
|
1135
|
-
basicBorrowRate_2: RawTransactionArgument<number | bigint>;
|
|
1136
|
-
utilizationThresholdBp_0: RawTransactionArgument<number | bigint>;
|
|
1137
|
-
utilizationThresholdBp_1: RawTransactionArgument<number | bigint>;
|
|
1138
|
-
borrowIntervalTsMs: RawTransactionArgument<number | bigint>;
|
|
1139
|
-
maxOrderReserveRatioBp: RawTransactionArgument<number | bigint>;
|
|
1140
|
-
}
|
|
1141
|
-
export interface AddLiquidityTokenOptions {
|
|
1142
|
-
package?: string;
|
|
1143
|
-
arguments: AddLiquidityTokenArguments | [
|
|
1144
|
-
version: RawTransactionArgument<string>,
|
|
1145
|
-
registry: RawTransactionArgument<string>,
|
|
1146
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1147
|
-
oracle: RawTransactionArgument<string>,
|
|
1148
|
-
tokenDecimal: RawTransactionArgument<number | bigint>,
|
|
1149
|
-
targetWeightBp: RawTransactionArgument<number | bigint>,
|
|
1150
|
-
minDeposit: RawTransactionArgument<number | bigint>,
|
|
1151
|
-
maxCapacity: RawTransactionArgument<number | bigint>,
|
|
1152
|
-
basicMintFeeBp: RawTransactionArgument<number | bigint>,
|
|
1153
|
-
additionalMintFeeBp: RawTransactionArgument<number | bigint>,
|
|
1154
|
-
basicBurnFeeBp: RawTransactionArgument<number | bigint>,
|
|
1155
|
-
additionalBurnFeeBp: RawTransactionArgument<number | bigint>,
|
|
1156
|
-
swapFeeBp: RawTransactionArgument<number | bigint>,
|
|
1157
|
-
swapFeeProtocolShareBp: RawTransactionArgument<number | bigint>,
|
|
1158
|
-
lendingProtocolShareBp: RawTransactionArgument<number | bigint>,
|
|
1159
|
-
basicBorrowRate_0: RawTransactionArgument<number | bigint>,
|
|
1160
|
-
basicBorrowRate_1: RawTransactionArgument<number | bigint>,
|
|
1161
|
-
basicBorrowRate_2: RawTransactionArgument<number | bigint>,
|
|
1162
|
-
utilizationThresholdBp_0: RawTransactionArgument<number | bigint>,
|
|
1163
|
-
utilizationThresholdBp_1: RawTransactionArgument<number | bigint>,
|
|
1164
|
-
borrowIntervalTsMs: RawTransactionArgument<number | bigint>,
|
|
1165
|
-
maxOrderReserveRatioBp: RawTransactionArgument<number | bigint>
|
|
1166
|
-
];
|
|
1167
|
-
typeArguments: [string];
|
|
1168
|
-
}
|
|
1169
|
-
/** [Authorized Function] Adds a new liquidity token to a pool. */
|
|
1170
|
-
export declare function addLiquidityToken(options: AddLiquidityTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1171
|
-
export interface UpdateSpotConfigArguments {
|
|
1172
|
-
version: RawTransactionArgument<string>;
|
|
1173
|
-
registry: RawTransactionArgument<string>;
|
|
1174
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1175
|
-
targetWeightBp: RawTransactionArgument<number | bigint | null>;
|
|
1176
|
-
minDeposit: RawTransactionArgument<number | bigint | null>;
|
|
1177
|
-
maxCapacity: RawTransactionArgument<number | bigint | null>;
|
|
1178
|
-
basicMintFeeBp: RawTransactionArgument<number | bigint | null>;
|
|
1179
|
-
additionalMintFeeBp: RawTransactionArgument<number | bigint | null>;
|
|
1180
|
-
basicBurnFeeBp: RawTransactionArgument<number | bigint | null>;
|
|
1181
|
-
additionalBurnFeeBp: RawTransactionArgument<number | bigint | null>;
|
|
1182
|
-
swapFeeBp: RawTransactionArgument<number | bigint | null>;
|
|
1183
|
-
swapFeeProtocolShareBp: RawTransactionArgument<number | bigint | null>;
|
|
1184
|
-
lendingProtocolShareBp: RawTransactionArgument<number | bigint | null>;
|
|
1185
|
-
}
|
|
1186
|
-
export interface UpdateSpotConfigOptions {
|
|
1187
|
-
package?: string;
|
|
1188
|
-
arguments: UpdateSpotConfigArguments | [
|
|
1189
|
-
version: RawTransactionArgument<string>,
|
|
1190
|
-
registry: RawTransactionArgument<string>,
|
|
1191
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1192
|
-
targetWeightBp: RawTransactionArgument<number | bigint | null>,
|
|
1193
|
-
minDeposit: RawTransactionArgument<number | bigint | null>,
|
|
1194
|
-
maxCapacity: RawTransactionArgument<number | bigint | null>,
|
|
1195
|
-
basicMintFeeBp: RawTransactionArgument<number | bigint | null>,
|
|
1196
|
-
additionalMintFeeBp: RawTransactionArgument<number | bigint | null>,
|
|
1197
|
-
basicBurnFeeBp: RawTransactionArgument<number | bigint | null>,
|
|
1198
|
-
additionalBurnFeeBp: RawTransactionArgument<number | bigint | null>,
|
|
1199
|
-
swapFeeBp: RawTransactionArgument<number | bigint | null>,
|
|
1200
|
-
swapFeeProtocolShareBp: RawTransactionArgument<number | bigint | null>,
|
|
1201
|
-
lendingProtocolShareBp: RawTransactionArgument<number | bigint | null>
|
|
1202
|
-
];
|
|
1203
|
-
typeArguments: [string];
|
|
1204
|
-
}
|
|
1205
|
-
/** [Authorized Function] Updates the spot configuration for a token. */
|
|
1206
|
-
export declare function updateSpotConfig(options: UpdateSpotConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1207
|
-
export interface ManagerEmergencyDepositArguments {
|
|
1208
|
-
version: RawTransactionArgument<string>;
|
|
1209
|
-
registry: RawTransactionArgument<string>;
|
|
1210
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1211
|
-
coin: RawTransactionArgument<string>;
|
|
1212
|
-
}
|
|
1213
|
-
export interface ManagerEmergencyDepositOptions {
|
|
1214
|
-
package?: string;
|
|
1215
|
-
arguments: ManagerEmergencyDepositArguments | [
|
|
1216
|
-
version: RawTransactionArgument<string>,
|
|
1217
|
-
registry: RawTransactionArgument<string>,
|
|
1218
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1219
|
-
coin: RawTransactionArgument<string>
|
|
1220
|
-
];
|
|
1221
|
-
typeArguments: [string, string];
|
|
1222
|
-
}
|
|
1223
|
-
/** [Authorized Function] Allows a manager to deposit tokens in an emergency. */
|
|
1224
|
-
export declare function managerEmergencyDeposit(options: ManagerEmergencyDepositOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1225
|
-
export interface ManagerEmergencyWithdrawArguments {
|
|
1226
|
-
version: RawTransactionArgument<string>;
|
|
1227
|
-
registry: RawTransactionArgument<string>;
|
|
1228
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1229
|
-
receipt: RawTransactionArgument<string>;
|
|
1230
|
-
}
|
|
1231
|
-
export interface ManagerEmergencyWithdrawOptions {
|
|
1232
|
-
package?: string;
|
|
1233
|
-
arguments: ManagerEmergencyWithdrawArguments | [
|
|
1234
|
-
version: RawTransactionArgument<string>,
|
|
1235
|
-
registry: RawTransactionArgument<string>,
|
|
1236
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1237
|
-
receipt: RawTransactionArgument<string>
|
|
1238
|
-
];
|
|
1239
|
-
typeArguments: [string, string];
|
|
1240
|
-
}
|
|
1241
|
-
/** [Authorized Function] Allows a manager to withdraw tokens in an emergency. */
|
|
1242
|
-
export declare function managerEmergencyWithdraw(options: ManagerEmergencyWithdrawOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1243
|
-
export interface UpdateMarginConfigArguments {
|
|
1244
|
-
version: RawTransactionArgument<string>;
|
|
1245
|
-
registry: RawTransactionArgument<string>;
|
|
1246
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1247
|
-
basicBorrowRate_0: RawTransactionArgument<number | bigint | null>;
|
|
1248
|
-
basicBorrowRate_1: RawTransactionArgument<number | bigint | null>;
|
|
1249
|
-
basicBorrowRate_2: RawTransactionArgument<number | bigint | null>;
|
|
1250
|
-
utilizationThresholdBp_0: RawTransactionArgument<number | bigint | null>;
|
|
1251
|
-
utilizationThresholdBp_1: RawTransactionArgument<number | bigint | null>;
|
|
1252
|
-
borrowIntervalTsMs: RawTransactionArgument<number | bigint | null>;
|
|
1253
|
-
maxOrderReserveRatioBp: RawTransactionArgument<number | bigint | null>;
|
|
1254
|
-
}
|
|
1255
|
-
export interface UpdateMarginConfigOptions {
|
|
1256
|
-
package?: string;
|
|
1257
|
-
arguments: UpdateMarginConfigArguments | [
|
|
1258
|
-
version: RawTransactionArgument<string>,
|
|
1259
|
-
registry: RawTransactionArgument<string>,
|
|
1260
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1261
|
-
basicBorrowRate_0: RawTransactionArgument<number | bigint | null>,
|
|
1262
|
-
basicBorrowRate_1: RawTransactionArgument<number | bigint | null>,
|
|
1263
|
-
basicBorrowRate_2: RawTransactionArgument<number | bigint | null>,
|
|
1264
|
-
utilizationThresholdBp_0: RawTransactionArgument<number | bigint | null>,
|
|
1265
|
-
utilizationThresholdBp_1: RawTransactionArgument<number | bigint | null>,
|
|
1266
|
-
borrowIntervalTsMs: RawTransactionArgument<number | bigint | null>,
|
|
1267
|
-
maxOrderReserveRatioBp: RawTransactionArgument<number | bigint | null>
|
|
1268
|
-
];
|
|
1269
|
-
typeArguments: [string];
|
|
1270
|
-
}
|
|
1271
|
-
/** [Authorized Function] Updates the margin configuration for a token. */
|
|
1272
|
-
export declare function updateMarginConfig(options: UpdateMarginConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1273
|
-
export interface MintLpArguments {
|
|
1274
|
-
version: RawTransactionArgument<string>;
|
|
1275
|
-
registry: RawTransactionArgument<string>;
|
|
1276
|
-
treasuryCaps: RawTransactionArgument<string>;
|
|
1277
|
-
oracle: RawTransactionArgument<string>;
|
|
1278
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1279
|
-
coin: RawTransactionArgument<string>;
|
|
1280
|
-
}
|
|
1281
|
-
export interface MintLpOptions {
|
|
1282
|
-
package?: string;
|
|
1283
|
-
arguments: MintLpArguments | [
|
|
1284
|
-
version: RawTransactionArgument<string>,
|
|
1285
|
-
registry: RawTransactionArgument<string>,
|
|
1286
|
-
treasuryCaps: RawTransactionArgument<string>,
|
|
1287
|
-
oracle: RawTransactionArgument<string>,
|
|
1288
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1289
|
-
coin: RawTransactionArgument<string>
|
|
1290
|
-
];
|
|
1291
|
-
typeArguments: [string, string];
|
|
1292
|
-
}
|
|
1293
|
-
/** [User Function] Mints LP tokens. */
|
|
1294
|
-
export declare function mintLp(options: MintLpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1295
|
-
export interface UpdateBorrowInfoArguments {
|
|
1296
|
-
version: RawTransactionArgument<string>;
|
|
1297
|
-
registry: RawTransactionArgument<string>;
|
|
1298
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1299
|
-
}
|
|
1300
|
-
export interface UpdateBorrowInfoOptions {
|
|
1301
|
-
package?: string;
|
|
1302
|
-
arguments: UpdateBorrowInfoArguments | [
|
|
1303
|
-
version: RawTransactionArgument<string>,
|
|
1304
|
-
registry: RawTransactionArgument<string>,
|
|
1305
|
-
index: RawTransactionArgument<number | bigint>
|
|
1306
|
-
];
|
|
1307
|
-
}
|
|
1308
|
-
/** [User Function] Updates the borrow information for all tokens in a pool. */
|
|
1309
|
-
export declare function updateBorrowInfo(options: UpdateBorrowInfoOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1310
|
-
export interface SwapArguments {
|
|
1311
|
-
version: RawTransactionArgument<string>;
|
|
1312
|
-
registry: RawTransactionArgument<string>;
|
|
1313
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1314
|
-
oracleFromToken: RawTransactionArgument<string>;
|
|
1315
|
-
oracleToToken: RawTransactionArgument<string>;
|
|
1316
|
-
fromCoin: RawTransactionArgument<string>;
|
|
1317
|
-
minToAmount: RawTransactionArgument<number | bigint>;
|
|
1318
|
-
}
|
|
1319
|
-
export interface SwapOptions {
|
|
1320
|
-
package?: string;
|
|
1321
|
-
arguments: SwapArguments | [
|
|
1322
|
-
version: RawTransactionArgument<string>,
|
|
1323
|
-
registry: RawTransactionArgument<string>,
|
|
1324
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1325
|
-
oracleFromToken: RawTransactionArgument<string>,
|
|
1326
|
-
oracleToToken: RawTransactionArgument<string>,
|
|
1327
|
-
fromCoin: RawTransactionArgument<string>,
|
|
1328
|
-
minToAmount: RawTransactionArgument<number | bigint>
|
|
1329
|
-
];
|
|
1330
|
-
typeArguments: [string, string];
|
|
1331
|
-
}
|
|
1332
|
-
/** [User Function] Swaps one token for another. */
|
|
1333
|
-
export declare function swap(options: SwapOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1334
|
-
export interface RedeemArguments {
|
|
1335
|
-
version: RawTransactionArgument<string>;
|
|
1336
|
-
registry: RawTransactionArgument<string>;
|
|
1337
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1338
|
-
balance: RawTransactionArgument<string>;
|
|
1339
|
-
}
|
|
1340
|
-
export interface RedeemOptions {
|
|
1341
|
-
package?: string;
|
|
1342
|
-
arguments: RedeemArguments | [
|
|
1343
|
-
version: RawTransactionArgument<string>,
|
|
1344
|
-
registry: RawTransactionArgument<string>,
|
|
1345
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1346
|
-
balance: RawTransactionArgument<string>
|
|
1347
|
-
];
|
|
1348
|
-
typeArguments: [string];
|
|
1349
|
-
}
|
|
1350
|
-
/** [User Function] Redeems LP tokens for underlying assets. */
|
|
1351
|
-
export declare function redeem(options: RedeemOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1352
|
-
export interface ClaimArguments {
|
|
1353
|
-
version: RawTransactionArgument<string>;
|
|
1354
|
-
registry: RawTransactionArgument<string>;
|
|
1355
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1356
|
-
treasuryCaps: RawTransactionArgument<string>;
|
|
1357
|
-
oracle: RawTransactionArgument<string>;
|
|
1358
|
-
}
|
|
1359
|
-
export interface ClaimOptions {
|
|
1360
|
-
package?: string;
|
|
1361
|
-
arguments: ClaimArguments | [
|
|
1362
|
-
version: RawTransactionArgument<string>,
|
|
1363
|
-
registry: RawTransactionArgument<string>,
|
|
1364
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1365
|
-
treasuryCaps: RawTransactionArgument<string>,
|
|
1366
|
-
oracle: RawTransactionArgument<string>
|
|
1367
|
-
];
|
|
1368
|
-
typeArguments: [string, string];
|
|
1369
|
-
}
|
|
1370
|
-
/** [User Function] Claims underlying assets from redeemed LP tokens. */
|
|
1371
|
-
export declare function claim(options: ClaimOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1372
|
-
export interface SuspendPoolArguments {
|
|
1373
|
-
version: RawTransactionArgument<string>;
|
|
1374
|
-
registry: RawTransactionArgument<string>;
|
|
1375
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1376
|
-
}
|
|
1377
|
-
export interface SuspendPoolOptions {
|
|
1378
|
-
package?: string;
|
|
1379
|
-
arguments: SuspendPoolArguments | [
|
|
1380
|
-
version: RawTransactionArgument<string>,
|
|
1381
|
-
registry: RawTransactionArgument<string>,
|
|
1382
|
-
index: RawTransactionArgument<number | bigint>
|
|
1383
|
-
];
|
|
1384
|
-
}
|
|
1385
|
-
/** [Authorized Function] Suspends a liquidity pool. */
|
|
1386
|
-
export declare function suspendPool(options: SuspendPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1387
|
-
export interface ResumePoolArguments {
|
|
1388
|
-
version: RawTransactionArgument<string>;
|
|
1389
|
-
registry: RawTransactionArgument<string>;
|
|
1390
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1391
|
-
}
|
|
1392
|
-
export interface ResumePoolOptions {
|
|
1393
|
-
package?: string;
|
|
1394
|
-
arguments: ResumePoolArguments | [
|
|
1395
|
-
version: RawTransactionArgument<string>,
|
|
1396
|
-
registry: RawTransactionArgument<string>,
|
|
1397
|
-
index: RawTransactionArgument<number | bigint>
|
|
1398
|
-
];
|
|
1399
|
-
}
|
|
1400
|
-
/** [Authorized Function] Resumes a liquidity pool. */
|
|
1401
|
-
export declare function resumePool(options: ResumePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1402
|
-
export interface SuspendTokenPoolArguments {
|
|
1403
|
-
version: RawTransactionArgument<string>;
|
|
1404
|
-
registry: RawTransactionArgument<string>;
|
|
1405
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1406
|
-
}
|
|
1407
|
-
export interface SuspendTokenPoolOptions {
|
|
1408
|
-
package?: string;
|
|
1409
|
-
arguments: SuspendTokenPoolArguments | [
|
|
1410
|
-
version: RawTransactionArgument<string>,
|
|
1411
|
-
registry: RawTransactionArgument<string>,
|
|
1412
|
-
index: RawTransactionArgument<number | bigint>
|
|
1413
|
-
];
|
|
1414
|
-
typeArguments: [string];
|
|
1415
|
-
}
|
|
1416
|
-
/** [Authorized Function] Suspends a token pool. */
|
|
1417
|
-
export declare function suspendTokenPool(options: SuspendTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1418
|
-
export interface ResumeTokenPoolArguments {
|
|
1419
|
-
version: RawTransactionArgument<string>;
|
|
1420
|
-
registry: RawTransactionArgument<string>;
|
|
1421
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1422
|
-
}
|
|
1423
|
-
export interface ResumeTokenPoolOptions {
|
|
1424
|
-
package?: string;
|
|
1425
|
-
arguments: ResumeTokenPoolArguments | [
|
|
1426
|
-
version: RawTransactionArgument<string>,
|
|
1427
|
-
registry: RawTransactionArgument<string>,
|
|
1428
|
-
index: RawTransactionArgument<number | bigint>
|
|
1429
|
-
];
|
|
1430
|
-
typeArguments: [string];
|
|
1431
|
-
}
|
|
1432
|
-
/** [Authorized Function] Resumes a token pool. */
|
|
1433
|
-
export declare function resumeTokenPool(options: ResumeTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1434
|
-
export interface ManagerDepositScallopArguments {
|
|
1435
|
-
version: RawTransactionArgument<string>;
|
|
1436
|
-
registry: RawTransactionArgument<string>;
|
|
1437
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1438
|
-
scallopVersion: RawTransactionArgument<string>;
|
|
1439
|
-
scallopMarket: RawTransactionArgument<string>;
|
|
1440
|
-
lendingAmount: RawTransactionArgument<number | bigint | null>;
|
|
1441
|
-
}
|
|
1442
|
-
export interface ManagerDepositScallopOptions {
|
|
1443
|
-
package?: string;
|
|
1444
|
-
arguments: ManagerDepositScallopArguments | [
|
|
1445
|
-
version: RawTransactionArgument<string>,
|
|
1446
|
-
registry: RawTransactionArgument<string>,
|
|
1447
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1448
|
-
scallopVersion: RawTransactionArgument<string>,
|
|
1449
|
-
scallopMarket: RawTransactionArgument<string>,
|
|
1450
|
-
lendingAmount: RawTransactionArgument<number | bigint | null>
|
|
1451
|
-
];
|
|
1452
|
-
typeArguments: [string];
|
|
1453
|
-
}
|
|
1454
|
-
/** [Authorized Function] Manager deposits to Scallop. */
|
|
1455
|
-
export declare function managerDepositScallop(options: ManagerDepositScallopOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1456
|
-
export interface ManagerDepositNaviArguments {
|
|
1457
|
-
version: RawTransactionArgument<string>;
|
|
1458
|
-
registry: RawTransactionArgument<string>;
|
|
1459
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1460
|
-
storage: RawTransactionArgument<string>;
|
|
1461
|
-
pool: RawTransactionArgument<string>;
|
|
1462
|
-
asset: RawTransactionArgument<number>;
|
|
1463
|
-
incentiveV2: RawTransactionArgument<string>;
|
|
1464
|
-
incentiveV3: RawTransactionArgument<string>;
|
|
1465
|
-
lendingAmount: RawTransactionArgument<number | bigint | null>;
|
|
1466
|
-
}
|
|
1467
|
-
export interface ManagerDepositNaviOptions {
|
|
1468
|
-
package?: string;
|
|
1469
|
-
arguments: ManagerDepositNaviArguments | [
|
|
1470
|
-
version: RawTransactionArgument<string>,
|
|
1471
|
-
registry: RawTransactionArgument<string>,
|
|
1472
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1473
|
-
storage: RawTransactionArgument<string>,
|
|
1474
|
-
pool: RawTransactionArgument<string>,
|
|
1475
|
-
asset: RawTransactionArgument<number>,
|
|
1476
|
-
incentiveV2: RawTransactionArgument<string>,
|
|
1477
|
-
incentiveV3: RawTransactionArgument<string>,
|
|
1478
|
-
lendingAmount: RawTransactionArgument<number | bigint | null>
|
|
1479
|
-
];
|
|
1480
|
-
typeArguments: [string];
|
|
1481
|
-
}
|
|
1482
|
-
export declare function managerDepositNavi(options: ManagerDepositNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1483
|
-
export interface ManagerWithdrawScallopArguments {
|
|
1484
|
-
version: RawTransactionArgument<string>;
|
|
1485
|
-
registry: RawTransactionArgument<string>;
|
|
1486
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1487
|
-
scallopVersion: RawTransactionArgument<string>;
|
|
1488
|
-
scallopMarket: RawTransactionArgument<string>;
|
|
1489
|
-
withdrawAmount: RawTransactionArgument<number | bigint | null>;
|
|
1490
|
-
}
|
|
1491
|
-
export interface ManagerWithdrawScallopOptions {
|
|
1492
|
-
package?: string;
|
|
1493
|
-
arguments: ManagerWithdrawScallopArguments | [
|
|
1494
|
-
version: RawTransactionArgument<string>,
|
|
1495
|
-
registry: RawTransactionArgument<string>,
|
|
1496
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1497
|
-
scallopVersion: RawTransactionArgument<string>,
|
|
1498
|
-
scallopMarket: RawTransactionArgument<string>,
|
|
1499
|
-
withdrawAmount: RawTransactionArgument<number | bigint | null>
|
|
1500
|
-
];
|
|
1501
|
-
typeArguments: [string];
|
|
1502
|
-
}
|
|
1503
|
-
/** [Authorized Function] Manager withdraws from Scallop. */
|
|
1504
|
-
export declare function managerWithdrawScallop(options: ManagerWithdrawScallopOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1505
|
-
export interface ManagerWithdrawNaviArguments {
|
|
1506
|
-
version: RawTransactionArgument<string>;
|
|
1507
|
-
registry: RawTransactionArgument<string>;
|
|
1508
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1509
|
-
oracleConfig: RawTransactionArgument<string>;
|
|
1510
|
-
priceOracle: RawTransactionArgument<string>;
|
|
1511
|
-
supraOracleHolder: RawTransactionArgument<string>;
|
|
1512
|
-
pythPriceInfo: RawTransactionArgument<string>;
|
|
1513
|
-
feedAddress: RawTransactionArgument<string>;
|
|
1514
|
-
storage: RawTransactionArgument<string>;
|
|
1515
|
-
pool: RawTransactionArgument<string>;
|
|
1516
|
-
asset: RawTransactionArgument<number>;
|
|
1517
|
-
incentiveV2: RawTransactionArgument<string>;
|
|
1518
|
-
incentiveV3: RawTransactionArgument<string>;
|
|
1519
|
-
}
|
|
1520
|
-
export interface ManagerWithdrawNaviOptions {
|
|
1521
|
-
package?: string;
|
|
1522
|
-
arguments: ManagerWithdrawNaviArguments | [
|
|
1523
|
-
version: RawTransactionArgument<string>,
|
|
1524
|
-
registry: RawTransactionArgument<string>,
|
|
1525
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1526
|
-
oracleConfig: RawTransactionArgument<string>,
|
|
1527
|
-
priceOracle: RawTransactionArgument<string>,
|
|
1528
|
-
supraOracleHolder: RawTransactionArgument<string>,
|
|
1529
|
-
pythPriceInfo: RawTransactionArgument<string>,
|
|
1530
|
-
feedAddress: RawTransactionArgument<string>,
|
|
1531
|
-
storage: RawTransactionArgument<string>,
|
|
1532
|
-
pool: RawTransactionArgument<string>,
|
|
1533
|
-
asset: RawTransactionArgument<number>,
|
|
1534
|
-
incentiveV2: RawTransactionArgument<string>,
|
|
1535
|
-
incentiveV3: RawTransactionArgument<string>
|
|
1536
|
-
];
|
|
1537
|
-
typeArguments: [string];
|
|
1538
|
-
}
|
|
1539
|
-
export declare function managerWithdrawNavi(options: ManagerWithdrawNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1540
|
-
export interface ManagerRewardNaviArguments {
|
|
1541
|
-
version: RawTransactionArgument<string>;
|
|
1542
|
-
registry: RawTransactionArgument<string>;
|
|
1543
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1544
|
-
storage: RawTransactionArgument<string>;
|
|
1545
|
-
rewardFund: RawTransactionArgument<string>;
|
|
1546
|
-
coinTypes: RawTransactionArgument<string[]>;
|
|
1547
|
-
ruleIds: RawTransactionArgument<string[]>;
|
|
1548
|
-
incentiveV3: RawTransactionArgument<string>;
|
|
1549
|
-
}
|
|
1550
|
-
export interface ManagerRewardNaviOptions {
|
|
1551
|
-
package?: string;
|
|
1552
|
-
arguments: ManagerRewardNaviArguments | [
|
|
1553
|
-
version: RawTransactionArgument<string>,
|
|
1554
|
-
registry: RawTransactionArgument<string>,
|
|
1555
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1556
|
-
storage: RawTransactionArgument<string>,
|
|
1557
|
-
rewardFund: RawTransactionArgument<string>,
|
|
1558
|
-
coinTypes: RawTransactionArgument<string[]>,
|
|
1559
|
-
ruleIds: RawTransactionArgument<string[]>,
|
|
1560
|
-
incentiveV3: RawTransactionArgument<string>
|
|
1561
|
-
];
|
|
1562
|
-
typeArguments: [string];
|
|
1563
|
-
}
|
|
1564
|
-
export declare function managerRewardNavi(options: ManagerRewardNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1565
|
-
export interface StartRemoveLiquidityTokenProcessArguments {
|
|
1566
|
-
version: RawTransactionArgument<string>;
|
|
1567
|
-
registry: RawTransactionArgument<string>;
|
|
1568
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1569
|
-
oracle: RawTransactionArgument<string>;
|
|
1570
|
-
}
|
|
1571
|
-
export interface StartRemoveLiquidityTokenProcessOptions {
|
|
1572
|
-
package?: string;
|
|
1573
|
-
arguments: StartRemoveLiquidityTokenProcessArguments | [
|
|
1574
|
-
version: RawTransactionArgument<string>,
|
|
1575
|
-
registry: RawTransactionArgument<string>,
|
|
1576
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1577
|
-
oracle: RawTransactionArgument<string>
|
|
1578
|
-
];
|
|
1579
|
-
typeArguments: [string];
|
|
1580
|
-
}
|
|
1581
|
-
export declare function startRemoveLiquidityTokenProcess(options: StartRemoveLiquidityTokenProcessOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1582
|
-
export interface ManagerFlashRemoveLiquidityArguments {
|
|
1583
|
-
version: RawTransactionArgument<string>;
|
|
1584
|
-
registry: RawTransactionArgument<string>;
|
|
1585
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1586
|
-
oracle: RawTransactionArgument<string>;
|
|
1587
|
-
process: RawTransactionArgument<string>;
|
|
1588
|
-
}
|
|
1589
|
-
export interface ManagerFlashRemoveLiquidityOptions {
|
|
1590
|
-
package?: string;
|
|
1591
|
-
arguments: ManagerFlashRemoveLiquidityArguments | [
|
|
1592
|
-
version: RawTransactionArgument<string>,
|
|
1593
|
-
registry: RawTransactionArgument<string>,
|
|
1594
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1595
|
-
oracle: RawTransactionArgument<string>,
|
|
1596
|
-
process: RawTransactionArgument<string>
|
|
1597
|
-
];
|
|
1598
|
-
typeArguments: [string];
|
|
1599
|
-
}
|
|
1600
|
-
export declare function managerFlashRemoveLiquidity(options: ManagerFlashRemoveLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1601
|
-
export interface ManagerFlashRepayLiquidityArguments {
|
|
1602
|
-
version: RawTransactionArgument<string>;
|
|
1603
|
-
registry: RawTransactionArgument<string>;
|
|
1604
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1605
|
-
oracle: RawTransactionArgument<string>;
|
|
1606
|
-
process: RawTransactionArgument<string>;
|
|
1607
|
-
balance: RawTransactionArgument<string>;
|
|
1608
|
-
}
|
|
1609
|
-
export interface ManagerFlashRepayLiquidityOptions {
|
|
1610
|
-
package?: string;
|
|
1611
|
-
arguments: ManagerFlashRepayLiquidityArguments | [
|
|
1612
|
-
version: RawTransactionArgument<string>,
|
|
1613
|
-
registry: RawTransactionArgument<string>,
|
|
1614
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1615
|
-
oracle: RawTransactionArgument<string>,
|
|
1616
|
-
process: RawTransactionArgument<string>,
|
|
1617
|
-
balance: RawTransactionArgument<string>
|
|
1618
|
-
];
|
|
1619
|
-
typeArguments: [string];
|
|
1620
|
-
}
|
|
1621
|
-
export declare function managerFlashRepayLiquidity(options: ManagerFlashRepayLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1622
|
-
export interface CompleteRemoveLiquidityTokenProcessArguments {
|
|
1623
|
-
version: RawTransactionArgument<string>;
|
|
1624
|
-
registry: RawTransactionArgument<string>;
|
|
1625
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1626
|
-
process: RawTransactionArgument<string>;
|
|
1627
|
-
}
|
|
1628
|
-
export interface CompleteRemoveLiquidityTokenProcessOptions {
|
|
1629
|
-
package?: string;
|
|
1630
|
-
arguments: CompleteRemoveLiquidityTokenProcessArguments | [
|
|
1631
|
-
version: RawTransactionArgument<string>,
|
|
1632
|
-
registry: RawTransactionArgument<string>,
|
|
1633
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1634
|
-
process: RawTransactionArgument<string>
|
|
1635
|
-
];
|
|
1636
|
-
typeArguments: [string];
|
|
1637
|
-
}
|
|
1638
|
-
export declare function completeRemoveLiquidityTokenProcess(options: CompleteRemoveLiquidityTokenProcessOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1639
|
-
export interface ManagerRemoveLiquidityTokenArguments {
|
|
1640
|
-
version: RawTransactionArgument<string>;
|
|
1641
|
-
registry: RawTransactionArgument<string>;
|
|
1642
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1643
|
-
}
|
|
1644
|
-
export interface ManagerRemoveLiquidityTokenOptions {
|
|
1645
|
-
package?: string;
|
|
1646
|
-
arguments: ManagerRemoveLiquidityTokenArguments | [
|
|
1647
|
-
version: RawTransactionArgument<string>,
|
|
1648
|
-
registry: RawTransactionArgument<string>,
|
|
1649
|
-
index: RawTransactionArgument<number | bigint>
|
|
1650
|
-
];
|
|
1651
|
-
typeArguments: [string];
|
|
1652
|
-
}
|
|
1653
|
-
/** [Authorized Function] Manager removes a liquidity token. */
|
|
1654
|
-
export declare function managerRemoveLiquidityToken(options: ManagerRemoveLiquidityTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1655
|
-
export interface CheckTokenPoolStatusArguments {
|
|
1656
|
-
registry: RawTransactionArgument<string>;
|
|
1657
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1658
|
-
assertActive: RawTransactionArgument<boolean>;
|
|
1659
|
-
}
|
|
1660
|
-
export interface CheckTokenPoolStatusOptions {
|
|
1661
|
-
package?: string;
|
|
1662
|
-
arguments: CheckTokenPoolStatusArguments | [
|
|
1663
|
-
registry: RawTransactionArgument<string>,
|
|
1664
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1665
|
-
assertActive: RawTransactionArgument<boolean>
|
|
1666
|
-
];
|
|
1667
|
-
typeArguments: [string];
|
|
1668
|
-
}
|
|
1669
|
-
export declare function checkTokenPoolStatus(options: CheckTokenPoolStatusOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1670
|
-
export interface TokenPoolIsActiveArguments {
|
|
1671
|
-
tokenPool: RawTransactionArgument<string>;
|
|
1672
|
-
}
|
|
1673
|
-
export interface TokenPoolIsActiveOptions {
|
|
1674
|
-
package?: string;
|
|
1675
|
-
arguments: TokenPoolIsActiveArguments | [tokenPool: RawTransactionArgument<string>];
|
|
1676
|
-
}
|
|
1677
|
-
export declare function tokenPoolIsActive(options: TokenPoolIsActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1678
|
-
export interface RebalanceArguments {
|
|
1679
|
-
version: RawTransactionArgument<string>;
|
|
1680
|
-
registry: RawTransactionArgument<string>;
|
|
1681
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1682
|
-
oracleTokenA: RawTransactionArgument<string>;
|
|
1683
|
-
oracleTokenB: RawTransactionArgument<string>;
|
|
1684
|
-
rebalanceAmount: RawTransactionArgument<number | bigint>;
|
|
1685
|
-
}
|
|
1686
|
-
export interface RebalanceOptions {
|
|
1687
|
-
package?: string;
|
|
1688
|
-
arguments: RebalanceArguments | [
|
|
1689
|
-
version: RawTransactionArgument<string>,
|
|
1690
|
-
registry: RawTransactionArgument<string>,
|
|
1691
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1692
|
-
oracleTokenA: RawTransactionArgument<string>,
|
|
1693
|
-
oracleTokenB: RawTransactionArgument<string>,
|
|
1694
|
-
rebalanceAmount: RawTransactionArgument<number | bigint>
|
|
1695
|
-
];
|
|
1696
|
-
typeArguments: [string, string];
|
|
1697
|
-
}
|
|
1698
|
-
/** [Authorized Function] Manager take the liquidity token A to swap. */
|
|
1699
|
-
export declare function rebalance(options: RebalanceOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1700
|
-
export interface CompleteRebalancingArguments {
|
|
1701
|
-
version: RawTransactionArgument<string>;
|
|
1702
|
-
registry: RawTransactionArgument<string>;
|
|
1703
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1704
|
-
oracleTokenA: RawTransactionArgument<string>;
|
|
1705
|
-
oracleTokenB: RawTransactionArgument<string>;
|
|
1706
|
-
swappedBackBalance: RawTransactionArgument<string>;
|
|
1707
|
-
rebalanceProcess: RawTransactionArgument<string>;
|
|
1708
|
-
}
|
|
1709
|
-
export interface CompleteRebalancingOptions {
|
|
1710
|
-
package?: string;
|
|
1711
|
-
arguments: CompleteRebalancingArguments | [
|
|
1712
|
-
version: RawTransactionArgument<string>,
|
|
1713
|
-
registry: RawTransactionArgument<string>,
|
|
1714
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1715
|
-
oracleTokenA: RawTransactionArgument<string>,
|
|
1716
|
-
oracleTokenB: RawTransactionArgument<string>,
|
|
1717
|
-
swappedBackBalance: RawTransactionArgument<string>,
|
|
1718
|
-
rebalanceProcess: RawTransactionArgument<string>
|
|
1719
|
-
];
|
|
1720
|
-
typeArguments: [string, string];
|
|
1721
|
-
}
|
|
1722
|
-
/** [Authorized Function] Manager swap back the liquidity token from A to B. */
|
|
1723
|
-
export declare function completeRebalancing(options: CompleteRebalancingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1724
|
-
export interface ManagerRemoveAllLiquidityArguments {
|
|
1725
|
-
version: RawTransactionArgument<string>;
|
|
1726
|
-
registry: RawTransactionArgument<string>;
|
|
1727
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1728
|
-
}
|
|
1729
|
-
export interface ManagerRemoveAllLiquidityOptions {
|
|
1730
|
-
package?: string;
|
|
1731
|
-
arguments: ManagerRemoveAllLiquidityArguments | [
|
|
1732
|
-
version: RawTransactionArgument<string>,
|
|
1733
|
-
registry: RawTransactionArgument<string>,
|
|
1734
|
-
index: RawTransactionArgument<number | bigint>
|
|
1735
|
-
];
|
|
1736
|
-
typeArguments: [string];
|
|
1737
|
-
}
|
|
1738
|
-
/**
|
|
1739
|
-
* Only for current contract sunset purpose. Will be removed in new contract
|
|
1740
|
-
* [Authorized Function] Manager remove all liquidity of a token.
|
|
1741
|
-
*/
|
|
1742
|
-
export declare function managerRemoveAllLiquidity(options: ManagerRemoveAllLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1743
|
-
export interface UpdateLiquidityValueArguments {
|
|
1744
|
-
version: RawTransactionArgument<string>;
|
|
1745
|
-
registry: RawTransactionArgument<string>;
|
|
1746
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1747
|
-
oracle: RawTransactionArgument<string>;
|
|
1748
|
-
}
|
|
1749
|
-
export interface UpdateLiquidityValueOptions {
|
|
1750
|
-
package?: string;
|
|
1751
|
-
arguments: UpdateLiquidityValueArguments | [
|
|
1752
|
-
version: RawTransactionArgument<string>,
|
|
1753
|
-
registry: RawTransactionArgument<string>,
|
|
1754
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1755
|
-
oracle: RawTransactionArgument<string>
|
|
1756
|
-
];
|
|
1757
|
-
typeArguments: [string];
|
|
1758
|
-
}
|
|
1759
|
-
/** [User Function] Update the liquidity value with oracle. */
|
|
1760
|
-
export declare function updateLiquidityValue(options: UpdateLiquidityValueOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1761
|
-
export interface GetPoolLiquidityArguments {
|
|
1762
|
-
version: RawTransactionArgument<string>;
|
|
1763
|
-
registry: RawTransactionArgument<string>;
|
|
1764
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1765
|
-
}
|
|
1766
|
-
export interface GetPoolLiquidityOptions {
|
|
1767
|
-
package?: string;
|
|
1768
|
-
arguments: GetPoolLiquidityArguments | [
|
|
1769
|
-
version: RawTransactionArgument<string>,
|
|
1770
|
-
registry: RawTransactionArgument<string>,
|
|
1771
|
-
index: RawTransactionArgument<number | bigint>
|
|
1772
|
-
];
|
|
1773
|
-
}
|
|
1774
|
-
/**
|
|
1775
|
-
* [View Function] Get the liquidity pool token amounts. Return
|
|
1776
|
-
* [total_share_supply, tvl_usd, token_types, amounts, usds]
|
|
1777
|
-
*/
|
|
1778
|
-
export declare function getPoolLiquidity(options: GetPoolLiquidityOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1779
|
-
export interface UpdateTvlArguments {
|
|
1780
|
-
version: RawTransactionArgument<string>;
|
|
1781
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1782
|
-
tokenType: RawTransactionArgument<string>;
|
|
1783
|
-
oracle: RawTransactionArgument<string>;
|
|
1784
|
-
}
|
|
1785
|
-
export interface UpdateTvlOptions {
|
|
1786
|
-
package?: string;
|
|
1787
|
-
arguments: UpdateTvlArguments | [
|
|
1788
|
-
version: RawTransactionArgument<string>,
|
|
1789
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1790
|
-
tokenType: RawTransactionArgument<string>,
|
|
1791
|
-
oracle: RawTransactionArgument<string>
|
|
1792
|
-
];
|
|
1793
|
-
}
|
|
1794
|
-
export declare function updateTvl(options: UpdateTvlOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1795
|
-
export interface OrderFilledArguments {
|
|
1796
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1797
|
-
addReserve: RawTransactionArgument<boolean>;
|
|
1798
|
-
dReserve: RawTransactionArgument<number | bigint>;
|
|
1799
|
-
feeBalance: RawTransactionArgument<string>;
|
|
1800
|
-
}
|
|
1801
|
-
export interface OrderFilledOptions {
|
|
1802
|
-
package?: string;
|
|
1803
|
-
arguments: OrderFilledArguments | [
|
|
1804
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1805
|
-
addReserve: RawTransactionArgument<boolean>,
|
|
1806
|
-
dReserve: RawTransactionArgument<number | bigint>,
|
|
1807
|
-
feeBalance: RawTransactionArgument<string>
|
|
1808
|
-
];
|
|
1809
|
-
typeArguments: [string];
|
|
1810
|
-
}
|
|
1811
|
-
export declare function orderFilled(options: OrderFilledOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1812
|
-
export interface UpdateReserveAmountArguments {
|
|
1813
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1814
|
-
addReserve: RawTransactionArgument<boolean>;
|
|
1815
|
-
dReserve: RawTransactionArgument<number | bigint>;
|
|
1816
|
-
}
|
|
1817
|
-
export interface UpdateReserveAmountOptions {
|
|
1818
|
-
package?: string;
|
|
1819
|
-
arguments: UpdateReserveAmountArguments | [
|
|
1820
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1821
|
-
addReserve: RawTransactionArgument<boolean>,
|
|
1822
|
-
dReserve: RawTransactionArgument<number | bigint>
|
|
1823
|
-
];
|
|
1824
|
-
typeArguments: [string];
|
|
1825
|
-
}
|
|
1826
|
-
export declare function updateReserveAmount(options: UpdateReserveAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1827
|
-
export interface PutCollateralArguments {
|
|
1828
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1829
|
-
collateral: RawTransactionArgument<string>;
|
|
1830
|
-
collateralOraclePrice: RawTransactionArgument<number | bigint>;
|
|
1831
|
-
collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>;
|
|
1832
|
-
}
|
|
1833
|
-
export interface PutCollateralOptions {
|
|
1834
|
-
package?: string;
|
|
1835
|
-
arguments: PutCollateralArguments | [
|
|
1836
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1837
|
-
collateral: RawTransactionArgument<string>,
|
|
1838
|
-
collateralOraclePrice: RawTransactionArgument<number | bigint>,
|
|
1839
|
-
collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>
|
|
1840
|
-
];
|
|
1841
|
-
typeArguments: [string];
|
|
1842
|
-
}
|
|
1843
|
-
export declare function putCollateral(options: PutCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1844
|
-
export interface RequestCollateralArguments {
|
|
1845
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1846
|
-
collateralAmount: RawTransactionArgument<number | bigint>;
|
|
1847
|
-
collateralOraclePrice: RawTransactionArgument<number | bigint>;
|
|
1848
|
-
collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>;
|
|
1849
|
-
}
|
|
1850
|
-
export interface RequestCollateralOptions {
|
|
1851
|
-
package?: string;
|
|
1852
|
-
arguments: RequestCollateralArguments | [
|
|
1853
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1854
|
-
collateralAmount: RawTransactionArgument<number | bigint>,
|
|
1855
|
-
collateralOraclePrice: RawTransactionArgument<number | bigint>,
|
|
1856
|
-
collateralOraclePriceDecimal: RawTransactionArgument<number | bigint>
|
|
1857
|
-
];
|
|
1858
|
-
typeArguments: [string];
|
|
1859
|
-
}
|
|
1860
|
-
export declare function requestCollateral(options: RequestCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1861
|
-
export interface PutReceiptCollateralsArguments {
|
|
1862
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1863
|
-
unsettledBidReceipts: RawTransactionArgument<string[]>;
|
|
1864
|
-
}
|
|
1865
|
-
export interface PutReceiptCollateralsOptions {
|
|
1866
|
-
package?: string;
|
|
1867
|
-
arguments: PutReceiptCollateralsArguments | [liquidityPool: RawTransactionArgument<string>, unsettledBidReceipts: RawTransactionArgument<string[]>];
|
|
1868
|
-
}
|
|
1869
|
-
export declare function putReceiptCollaterals(options: PutReceiptCollateralsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1870
|
-
export interface GetReceiptCollateralArguments {
|
|
1871
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1872
|
-
}
|
|
1873
|
-
export interface GetReceiptCollateralOptions {
|
|
1874
|
-
package?: string;
|
|
1875
|
-
arguments: GetReceiptCollateralArguments | [liquidityPool: RawTransactionArgument<string>];
|
|
1876
|
-
}
|
|
1877
|
-
export declare function getReceiptCollateral(options: GetReceiptCollateralOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1878
|
-
export interface CalculateMintLpArguments {
|
|
1879
|
-
registry: RawTransactionArgument<string>;
|
|
1880
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1881
|
-
tokenType: RawTransactionArgument<string>;
|
|
1882
|
-
price: RawTransactionArgument<number | bigint>;
|
|
1883
|
-
priceDecimal: RawTransactionArgument<number | bigint>;
|
|
1884
|
-
depositAmount: RawTransactionArgument<number | bigint>;
|
|
1885
|
-
}
|
|
1886
|
-
export interface CalculateMintLpOptions {
|
|
1887
|
-
package?: string;
|
|
1888
|
-
arguments: CalculateMintLpArguments | [
|
|
1889
|
-
registry: RawTransactionArgument<string>,
|
|
1890
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1891
|
-
tokenType: RawTransactionArgument<string>,
|
|
1892
|
-
price: RawTransactionArgument<number | bigint>,
|
|
1893
|
-
priceDecimal: RawTransactionArgument<number | bigint>,
|
|
1894
|
-
depositAmount: RawTransactionArgument<number | bigint>
|
|
1895
|
-
];
|
|
1896
|
-
}
|
|
1897
|
-
export declare function calculateMintLp(options: CalculateMintLpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1898
|
-
export interface CalculateBurnLpArguments {
|
|
1899
|
-
registry: RawTransactionArgument<string>;
|
|
1900
|
-
index: RawTransactionArgument<number | bigint>;
|
|
1901
|
-
tokenType: RawTransactionArgument<string>;
|
|
1902
|
-
price: RawTransactionArgument<number | bigint>;
|
|
1903
|
-
priceDecimal: RawTransactionArgument<number | bigint>;
|
|
1904
|
-
burnAmount: RawTransactionArgument<number | bigint>;
|
|
1905
|
-
}
|
|
1906
|
-
export interface CalculateBurnLpOptions {
|
|
1907
|
-
package?: string;
|
|
1908
|
-
arguments: CalculateBurnLpArguments | [
|
|
1909
|
-
registry: RawTransactionArgument<string>,
|
|
1910
|
-
index: RawTransactionArgument<number | bigint>,
|
|
1911
|
-
tokenType: RawTransactionArgument<string>,
|
|
1912
|
-
price: RawTransactionArgument<number | bigint>,
|
|
1913
|
-
priceDecimal: RawTransactionArgument<number | bigint>,
|
|
1914
|
-
burnAmount: RawTransactionArgument<number | bigint>
|
|
1915
|
-
];
|
|
1916
|
-
}
|
|
1917
|
-
export declare function calculateBurnLp(options: CalculateBurnLpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1918
|
-
export interface CalculateLpFeeArguments {
|
|
1919
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1920
|
-
tokenType: RawTransactionArgument<string>;
|
|
1921
|
-
depositAmount: RawTransactionArgument<number | bigint>;
|
|
1922
|
-
depositAmountUsd: RawTransactionArgument<number | bigint>;
|
|
1923
|
-
isMint: RawTransactionArgument<boolean>;
|
|
1924
|
-
}
|
|
1925
|
-
export interface CalculateLpFeeOptions {
|
|
1926
|
-
package?: string;
|
|
1927
|
-
arguments: CalculateLpFeeArguments | [
|
|
1928
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1929
|
-
tokenType: RawTransactionArgument<string>,
|
|
1930
|
-
depositAmount: RawTransactionArgument<number | bigint>,
|
|
1931
|
-
depositAmountUsd: RawTransactionArgument<number | bigint>,
|
|
1932
|
-
isMint: RawTransactionArgument<boolean>
|
|
1933
|
-
];
|
|
1934
|
-
}
|
|
1935
|
-
export declare function calculateLpFee(options: CalculateLpFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1936
|
-
export interface CalculateSwapFeeArguments {
|
|
1937
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1938
|
-
tokenType: RawTransactionArgument<string>;
|
|
1939
|
-
amount: RawTransactionArgument<number | bigint>;
|
|
1940
|
-
amountUsd: RawTransactionArgument<number | bigint>;
|
|
1941
|
-
swapIn: RawTransactionArgument<boolean>;
|
|
1942
|
-
}
|
|
1943
|
-
export interface CalculateSwapFeeOptions {
|
|
1944
|
-
package?: string;
|
|
1945
|
-
arguments: CalculateSwapFeeArguments | [
|
|
1946
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1947
|
-
tokenType: RawTransactionArgument<string>,
|
|
1948
|
-
amount: RawTransactionArgument<number | bigint>,
|
|
1949
|
-
amountUsd: RawTransactionArgument<number | bigint>,
|
|
1950
|
-
swapIn: RawTransactionArgument<boolean>
|
|
1951
|
-
];
|
|
1952
|
-
}
|
|
1953
|
-
export declare function calculateSwapFee(options: CalculateSwapFeeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1954
|
-
export interface CheckTvlUpdatedArguments {
|
|
1955
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1956
|
-
}
|
|
1957
|
-
export interface CheckTvlUpdatedOptions {
|
|
1958
|
-
package?: string;
|
|
1959
|
-
arguments: CheckTvlUpdatedArguments | [liquidityPool: RawTransactionArgument<string>];
|
|
1960
|
-
}
|
|
1961
|
-
export declare function checkTvlUpdated(options: CheckTvlUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1962
|
-
export interface CalculateLendingAmountCappedArguments {
|
|
1963
|
-
tokenPool: RawTransactionArgument<string>;
|
|
1964
|
-
lendingAmount: RawTransactionArgument<number | bigint | null>;
|
|
1965
|
-
}
|
|
1966
|
-
export interface CalculateLendingAmountCappedOptions {
|
|
1967
|
-
package?: string;
|
|
1968
|
-
arguments: CalculateLendingAmountCappedArguments | [tokenPool: RawTransactionArgument<string>, lendingAmount: RawTransactionArgument<number | bigint | null>];
|
|
1969
|
-
}
|
|
1970
|
-
export declare function calculateLendingAmountCapped(options: CalculateLendingAmountCappedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1971
|
-
export interface DepositScallopBasicArguments {
|
|
1972
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1973
|
-
scallopVersion: RawTransactionArgument<string>;
|
|
1974
|
-
scallopMarket: RawTransactionArgument<string>;
|
|
1975
|
-
depositAmount: RawTransactionArgument<number | bigint>;
|
|
1976
|
-
}
|
|
1977
|
-
export interface DepositScallopBasicOptions {
|
|
1978
|
-
package?: string;
|
|
1979
|
-
arguments: DepositScallopBasicArguments | [
|
|
1980
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
1981
|
-
scallopVersion: RawTransactionArgument<string>,
|
|
1982
|
-
scallopMarket: RawTransactionArgument<string>,
|
|
1983
|
-
depositAmount: RawTransactionArgument<number | bigint>
|
|
1984
|
-
];
|
|
1985
|
-
typeArguments: [string];
|
|
1986
|
-
}
|
|
1987
|
-
export declare function depositScallopBasic(options: DepositScallopBasicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1988
|
-
export interface WithdrawScallopBasicArguments {
|
|
1989
|
-
version: RawTransactionArgument<string>;
|
|
1990
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
1991
|
-
scallopVersion: RawTransactionArgument<string>;
|
|
1992
|
-
scallopMarket: RawTransactionArgument<string>;
|
|
1993
|
-
withdrawAmount: RawTransactionArgument<number | bigint>;
|
|
1994
|
-
}
|
|
1995
|
-
export interface WithdrawScallopBasicOptions {
|
|
1996
|
-
package?: string;
|
|
1997
|
-
arguments: WithdrawScallopBasicArguments | [
|
|
1998
|
-
version: RawTransactionArgument<string>,
|
|
1999
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
2000
|
-
scallopVersion: RawTransactionArgument<string>,
|
|
2001
|
-
scallopMarket: RawTransactionArgument<string>,
|
|
2002
|
-
withdrawAmount: RawTransactionArgument<number | bigint>
|
|
2003
|
-
];
|
|
2004
|
-
typeArguments: [string];
|
|
2005
|
-
}
|
|
2006
|
-
export declare function withdrawScallopBasic(options: WithdrawScallopBasicOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2007
|
-
export interface DepositNaviArguments {
|
|
2008
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2009
|
-
storage: RawTransactionArgument<string>;
|
|
2010
|
-
pool: RawTransactionArgument<string>;
|
|
2011
|
-
asset: RawTransactionArgument<number>;
|
|
2012
|
-
incentiveV2: RawTransactionArgument<string>;
|
|
2013
|
-
incentiveV3: RawTransactionArgument<string>;
|
|
2014
|
-
depositAmount: RawTransactionArgument<number | bigint>;
|
|
2015
|
-
}
|
|
2016
|
-
export interface DepositNaviOptions {
|
|
2017
|
-
package?: string;
|
|
2018
|
-
arguments: DepositNaviArguments | [
|
|
2019
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
2020
|
-
storage: RawTransactionArgument<string>,
|
|
2021
|
-
pool: RawTransactionArgument<string>,
|
|
2022
|
-
asset: RawTransactionArgument<number>,
|
|
2023
|
-
incentiveV2: RawTransactionArgument<string>,
|
|
2024
|
-
incentiveV3: RawTransactionArgument<string>,
|
|
2025
|
-
depositAmount: RawTransactionArgument<number | bigint>
|
|
2026
|
-
];
|
|
2027
|
-
typeArguments: [string];
|
|
2028
|
-
}
|
|
2029
|
-
export declare function depositNavi(options: DepositNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2030
|
-
export interface WithdrawNaviArguments {
|
|
2031
|
-
version: RawTransactionArgument<string>;
|
|
2032
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2033
|
-
oracleConfig: RawTransactionArgument<string>;
|
|
2034
|
-
priceOracle: RawTransactionArgument<string>;
|
|
2035
|
-
supraOracleHolder: RawTransactionArgument<string>;
|
|
2036
|
-
pythPriceInfo: RawTransactionArgument<string>;
|
|
2037
|
-
feedAddress: RawTransactionArgument<string>;
|
|
2038
|
-
storage: RawTransactionArgument<string>;
|
|
2039
|
-
pool: RawTransactionArgument<string>;
|
|
2040
|
-
asset: RawTransactionArgument<number>;
|
|
2041
|
-
incentiveV2: RawTransactionArgument<string>;
|
|
2042
|
-
incentiveV3: RawTransactionArgument<string>;
|
|
2043
|
-
}
|
|
2044
|
-
export interface WithdrawNaviOptions {
|
|
2045
|
-
package?: string;
|
|
2046
|
-
arguments: WithdrawNaviArguments | [
|
|
2047
|
-
version: RawTransactionArgument<string>,
|
|
2048
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
2049
|
-
oracleConfig: RawTransactionArgument<string>,
|
|
2050
|
-
priceOracle: RawTransactionArgument<string>,
|
|
2051
|
-
supraOracleHolder: RawTransactionArgument<string>,
|
|
2052
|
-
pythPriceInfo: RawTransactionArgument<string>,
|
|
2053
|
-
feedAddress: RawTransactionArgument<string>,
|
|
2054
|
-
storage: RawTransactionArgument<string>,
|
|
2055
|
-
pool: RawTransactionArgument<string>,
|
|
2056
|
-
asset: RawTransactionArgument<number>,
|
|
2057
|
-
incentiveV2: RawTransactionArgument<string>,
|
|
2058
|
-
incentiveV3: RawTransactionArgument<string>
|
|
2059
|
-
];
|
|
2060
|
-
typeArguments: [string];
|
|
2061
|
-
}
|
|
2062
|
-
export declare function withdrawNavi(options: WithdrawNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2063
|
-
export interface RewardNaviArguments {
|
|
2064
|
-
version: RawTransactionArgument<string>;
|
|
2065
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2066
|
-
storage: RawTransactionArgument<string>;
|
|
2067
|
-
rewardFund: RawTransactionArgument<string>;
|
|
2068
|
-
coinTypes: RawTransactionArgument<string[]>;
|
|
2069
|
-
ruleIds: RawTransactionArgument<string[]>;
|
|
2070
|
-
incentiveV3: RawTransactionArgument<string>;
|
|
2071
|
-
}
|
|
2072
|
-
export interface RewardNaviOptions {
|
|
2073
|
-
package?: string;
|
|
2074
|
-
arguments: RewardNaviArguments | [
|
|
2075
|
-
version: RawTransactionArgument<string>,
|
|
2076
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
2077
|
-
storage: RawTransactionArgument<string>,
|
|
2078
|
-
rewardFund: RawTransactionArgument<string>,
|
|
2079
|
-
coinTypes: RawTransactionArgument<string[]>,
|
|
2080
|
-
ruleIds: RawTransactionArgument<string[]>,
|
|
2081
|
-
incentiveV3: RawTransactionArgument<string>
|
|
2082
|
-
];
|
|
2083
|
-
typeArguments: [string];
|
|
2084
|
-
}
|
|
2085
|
-
export declare function rewardNavi(options: RewardNaviOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2086
|
-
export interface BurnLp_Arguments {
|
|
2087
|
-
version: RawTransactionArgument<string>;
|
|
2088
|
-
registry: RawTransactionArgument<string>;
|
|
2089
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2090
|
-
treasuryCaps: RawTransactionArgument<string>;
|
|
2091
|
-
oracle: RawTransactionArgument<string>;
|
|
2092
|
-
burnLpBalance: RawTransactionArgument<string>;
|
|
2093
|
-
}
|
|
2094
|
-
export interface BurnLp_Options {
|
|
2095
|
-
package?: string;
|
|
2096
|
-
arguments: BurnLp_Arguments | [
|
|
2097
|
-
version: RawTransactionArgument<string>,
|
|
2098
|
-
registry: RawTransactionArgument<string>,
|
|
2099
|
-
index: RawTransactionArgument<number | bigint>,
|
|
2100
|
-
treasuryCaps: RawTransactionArgument<string>,
|
|
2101
|
-
oracle: RawTransactionArgument<string>,
|
|
2102
|
-
burnLpBalance: RawTransactionArgument<string>
|
|
2103
|
-
];
|
|
2104
|
-
typeArguments: [string, string];
|
|
2105
|
-
}
|
|
2106
|
-
export declare function burnLp_(options: BurnLp_Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2107
|
-
export interface ViewSwapResultArguments {
|
|
2108
|
-
version: RawTransactionArgument<string>;
|
|
2109
|
-
registry: RawTransactionArgument<string>;
|
|
2110
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2111
|
-
oracleFromToken: RawTransactionArgument<string>;
|
|
2112
|
-
oracleToToken: RawTransactionArgument<string>;
|
|
2113
|
-
fromAmount: RawTransactionArgument<number | bigint>;
|
|
2114
|
-
}
|
|
2115
|
-
export interface ViewSwapResultOptions {
|
|
2116
|
-
package?: string;
|
|
2117
|
-
arguments: ViewSwapResultArguments | [
|
|
2118
|
-
version: RawTransactionArgument<string>,
|
|
2119
|
-
registry: RawTransactionArgument<string>,
|
|
2120
|
-
index: RawTransactionArgument<number | bigint>,
|
|
2121
|
-
oracleFromToken: RawTransactionArgument<string>,
|
|
2122
|
-
oracleToToken: RawTransactionArgument<string>,
|
|
2123
|
-
fromAmount: RawTransactionArgument<number | bigint>
|
|
2124
|
-
];
|
|
2125
|
-
typeArguments: [string, string];
|
|
2126
|
-
}
|
|
2127
|
-
export declare function viewSwapResult(options: ViewSwapResultOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2128
|
-
export interface GetReceiptCollateralBcsArguments {
|
|
2129
|
-
registry: RawTransactionArgument<string>;
|
|
2130
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2131
|
-
}
|
|
2132
|
-
export interface GetReceiptCollateralBcsOptions {
|
|
2133
|
-
package?: string;
|
|
2134
|
-
arguments: GetReceiptCollateralBcsArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
|
|
2135
|
-
}
|
|
2136
|
-
export declare function getReceiptCollateralBcs(options: GetReceiptCollateralBcsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2137
|
-
export interface GetExpiredReceiptCollateralBcsArguments {
|
|
2138
|
-
registry: RawTransactionArgument<string>;
|
|
2139
|
-
dovRegistry: RawTransactionArgument<string>;
|
|
2140
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2141
|
-
}
|
|
2142
|
-
export interface GetExpiredReceiptCollateralBcsOptions {
|
|
2143
|
-
package?: string;
|
|
2144
|
-
arguments: GetExpiredReceiptCollateralBcsArguments | [
|
|
2145
|
-
registry: RawTransactionArgument<string>,
|
|
2146
|
-
dovRegistry: RawTransactionArgument<string>,
|
|
2147
|
-
index: RawTransactionArgument<number | bigint>
|
|
2148
|
-
];
|
|
2149
|
-
}
|
|
2150
|
-
export declare function getExpiredReceiptCollateralBcs(options: GetExpiredReceiptCollateralBcsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2151
|
-
export interface GetLiquidityPoolArguments {
|
|
2152
|
-
registry: RawTransactionArgument<string>;
|
|
2153
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2154
|
-
}
|
|
2155
|
-
export interface GetLiquidityPoolOptions {
|
|
2156
|
-
package?: string;
|
|
2157
|
-
arguments: GetLiquidityPoolArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
|
|
2158
|
-
}
|
|
2159
|
-
export declare function getLiquidityPool(options: GetLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2160
|
-
export interface GetMutLiquidityPoolArguments {
|
|
2161
|
-
registry: RawTransactionArgument<string>;
|
|
2162
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2163
|
-
}
|
|
2164
|
-
export interface GetMutLiquidityPoolOptions {
|
|
2165
|
-
package?: string;
|
|
2166
|
-
arguments: GetMutLiquidityPoolArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
|
|
2167
|
-
}
|
|
2168
|
-
export declare function getMutLiquidityPool(options: GetMutLiquidityPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2169
|
-
export interface SafetyCheckArguments {
|
|
2170
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2171
|
-
tokenType: RawTransactionArgument<string>;
|
|
2172
|
-
oracleId: RawTransactionArgument<string>;
|
|
2173
|
-
}
|
|
2174
|
-
export interface SafetyCheckOptions {
|
|
2175
|
-
package?: string;
|
|
2176
|
-
arguments: SafetyCheckArguments | [
|
|
2177
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
2178
|
-
tokenType: RawTransactionArgument<string>,
|
|
2179
|
-
oracleId: RawTransactionArgument<string>
|
|
2180
|
-
];
|
|
2181
|
-
}
|
|
2182
|
-
export declare function safetyCheck(options: SafetyCheckOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2183
|
-
export interface CheckActiveArguments {
|
|
2184
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2185
|
-
}
|
|
2186
|
-
export interface CheckActiveOptions {
|
|
2187
|
-
package?: string;
|
|
2188
|
-
arguments: CheckActiveArguments | [liquidityPool: RawTransactionArgument<string>];
|
|
2189
|
-
}
|
|
2190
|
-
export declare function checkActive(options: CheckActiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2191
|
-
export interface OracleMatchedArguments {
|
|
2192
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2193
|
-
tokenType: RawTransactionArgument<string>;
|
|
2194
|
-
oracleId: RawTransactionArgument<string>;
|
|
2195
|
-
}
|
|
2196
|
-
export interface OracleMatchedOptions {
|
|
2197
|
-
package?: string;
|
|
2198
|
-
arguments: OracleMatchedArguments | [
|
|
2199
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
2200
|
-
tokenType: RawTransactionArgument<string>,
|
|
2201
|
-
oracleId: RawTransactionArgument<string>
|
|
2202
|
-
];
|
|
2203
|
-
}
|
|
2204
|
-
export declare function oracleMatched(options: OracleMatchedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2205
|
-
export interface GetTokenPoolArguments {
|
|
2206
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2207
|
-
tokenType: RawTransactionArgument<string>;
|
|
2208
|
-
}
|
|
2209
|
-
export interface GetTokenPoolOptions {
|
|
2210
|
-
package?: string;
|
|
2211
|
-
arguments: GetTokenPoolArguments | [liquidityPool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
|
|
2212
|
-
}
|
|
2213
|
-
export declare function getTokenPool(options: GetTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2214
|
-
export interface GetMutTokenPoolArguments {
|
|
2215
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2216
|
-
tokenType: RawTransactionArgument<string>;
|
|
2217
|
-
}
|
|
2218
|
-
export interface GetMutTokenPoolOptions {
|
|
2219
|
-
package?: string;
|
|
2220
|
-
arguments: GetMutTokenPoolArguments | [liquidityPool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
|
|
2221
|
-
}
|
|
2222
|
-
export declare function getMutTokenPool(options: GetMutTokenPoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2223
|
-
export interface GetLpTokenTypeArguments {
|
|
2224
|
-
registry: RawTransactionArgument<string>;
|
|
2225
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2226
|
-
}
|
|
2227
|
-
export interface GetLpTokenTypeOptions {
|
|
2228
|
-
package?: string;
|
|
2229
|
-
arguments: GetLpTokenTypeArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
|
|
2230
|
-
}
|
|
2231
|
-
export declare function getLpTokenType(options: GetLpTokenTypeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2232
|
-
export interface GetLiquidityTokenDecimalArguments {
|
|
2233
|
-
registry: RawTransactionArgument<string>;
|
|
2234
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2235
|
-
liquidityToken: RawTransactionArgument<string>;
|
|
2236
|
-
}
|
|
2237
|
-
export interface GetLiquidityTokenDecimalOptions {
|
|
2238
|
-
package?: string;
|
|
2239
|
-
arguments: GetLiquidityTokenDecimalArguments | [
|
|
2240
|
-
registry: RawTransactionArgument<string>,
|
|
2241
|
-
index: RawTransactionArgument<number | bigint>,
|
|
2242
|
-
liquidityToken: RawTransactionArgument<string>
|
|
2243
|
-
];
|
|
2244
|
-
}
|
|
2245
|
-
export declare function getLiquidityTokenDecimal(options: GetLiquidityTokenDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2246
|
-
export interface GetTokenPoolStateArguments {
|
|
2247
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2248
|
-
liquidityToken: RawTransactionArgument<string>;
|
|
2249
|
-
}
|
|
2250
|
-
export interface GetTokenPoolStateOptions {
|
|
2251
|
-
package?: string;
|
|
2252
|
-
arguments: GetTokenPoolStateArguments | [liquidityPool: RawTransactionArgument<string>, liquidityToken: RawTransactionArgument<string>];
|
|
2253
|
-
}
|
|
2254
|
-
export declare function getTokenPoolState(options: GetTokenPoolStateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2255
|
-
export interface CheckTradingOrderSizeValidArguments {
|
|
2256
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2257
|
-
liquidityToken: RawTransactionArgument<string>;
|
|
2258
|
-
reserveAmount: RawTransactionArgument<number | bigint>;
|
|
2259
|
-
}
|
|
2260
|
-
export interface CheckTradingOrderSizeValidOptions {
|
|
2261
|
-
package?: string;
|
|
2262
|
-
arguments: CheckTradingOrderSizeValidArguments | [
|
|
2263
|
-
liquidityPool: RawTransactionArgument<string>,
|
|
2264
|
-
liquidityToken: RawTransactionArgument<string>,
|
|
2265
|
-
reserveAmount: RawTransactionArgument<number | bigint>
|
|
2266
|
-
];
|
|
2267
|
-
}
|
|
2268
|
-
export declare function checkTradingOrderSizeValid(options: CheckTradingOrderSizeValidOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2269
|
-
export interface GetCumulativeBorrowRateArguments {
|
|
2270
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2271
|
-
liquidityToken: RawTransactionArgument<string>;
|
|
2272
|
-
}
|
|
2273
|
-
export interface GetCumulativeBorrowRateOptions {
|
|
2274
|
-
package?: string;
|
|
2275
|
-
arguments: GetCumulativeBorrowRateArguments | [liquidityPool: RawTransactionArgument<string>, liquidityToken: RawTransactionArgument<string>];
|
|
2276
|
-
}
|
|
2277
|
-
export declare function getCumulativeBorrowRate(options: GetCumulativeBorrowRateOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2278
|
-
export interface GetTvlUsdArguments {
|
|
2279
|
-
liquidityPool: RawTransactionArgument<string>;
|
|
2280
|
-
}
|
|
2281
|
-
export interface GetTvlUsdOptions {
|
|
2282
|
-
package?: string;
|
|
2283
|
-
arguments: GetTvlUsdArguments | [liquidityPool: RawTransactionArgument<string>];
|
|
2284
|
-
}
|
|
2285
|
-
export declare function getTvlUsd(options: GetTvlUsdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2286
|
-
export interface GetBorrowRateDecimalOptions {
|
|
2287
|
-
package?: string;
|
|
2288
|
-
arguments?: [];
|
|
2289
|
-
}
|
|
2290
|
-
export declare function getBorrowRateDecimal(options?: GetBorrowRateDecimalOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2291
|
-
export interface BurnLpArguments {
|
|
2292
|
-
version: RawTransactionArgument<string>;
|
|
2293
|
-
registry: RawTransactionArgument<string>;
|
|
2294
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2295
|
-
treasuryCaps: RawTransactionArgument<string>;
|
|
2296
|
-
oracle: RawTransactionArgument<string>;
|
|
2297
|
-
coin: RawTransactionArgument<string>;
|
|
2298
|
-
}
|
|
2299
|
-
export interface BurnLpOptions {
|
|
2300
|
-
package?: string;
|
|
2301
|
-
arguments: BurnLpArguments | [
|
|
2302
|
-
version: RawTransactionArgument<string>,
|
|
2303
|
-
registry: RawTransactionArgument<string>,
|
|
2304
|
-
index: RawTransactionArgument<number | bigint>,
|
|
2305
|
-
treasuryCaps: RawTransactionArgument<string>,
|
|
2306
|
-
oracle: RawTransactionArgument<string>,
|
|
2307
|
-
coin: RawTransactionArgument<string>
|
|
2308
|
-
];
|
|
2309
|
-
typeArguments: [string, string];
|
|
2310
|
-
}
|
|
2311
|
-
export declare function burnLp(options: BurnLpOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2312
|
-
export interface DeprecatedOptions {
|
|
2313
|
-
package?: string;
|
|
2314
|
-
arguments?: [];
|
|
2315
|
-
}
|
|
2316
|
-
export declare function deprecated(options?: DeprecatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
2317
|
-
export interface GetUserDeactivatingSharesArguments {
|
|
2318
|
-
registry: RawTransactionArgument<string>;
|
|
2319
|
-
index: RawTransactionArgument<number | bigint>;
|
|
2320
|
-
user: RawTransactionArgument<string>;
|
|
2321
|
-
}
|
|
2322
|
-
export interface GetUserDeactivatingSharesOptions {
|
|
2323
|
-
package?: string;
|
|
2324
|
-
arguments: GetUserDeactivatingSharesArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>, user: RawTransactionArgument<string>];
|
|
2325
|
-
typeArguments: [string];
|
|
2326
|
-
}
|
|
2327
|
-
export declare function getUserDeactivatingShares(options: GetUserDeactivatingSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|