@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
|
@@ -0,0 +1,957 @@
|
|
|
1
|
+
import * as reified from "../../../../_framework/reified";
|
|
2
|
+
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr, ToTypeStr as ToPhantom } from "../../../../_framework/reified";
|
|
3
|
+
import { FieldsWithTypes } from "../../../../_framework/util";
|
|
4
|
+
import { Vector } from "../../../../_framework/vector";
|
|
5
|
+
import { TypeName } from "../../0x1/type-name/structs";
|
|
6
|
+
import { Bag } from "../../0x2/bag/structs";
|
|
7
|
+
import { ObjectTable } from "../../0x2/object-table/structs";
|
|
8
|
+
import { UID } from "../../0x2/object/structs";
|
|
9
|
+
import { TransferPolicy } from "../../0x2/transfer-policy/structs";
|
|
10
|
+
import { ManagerCap, Tails } from "../../0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs";
|
|
11
|
+
import { BigVector } from "../big-vector/structs";
|
|
12
|
+
import { PKG_V3, PKG_V6 } from "../index";
|
|
13
|
+
import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
|
|
14
|
+
export declare function isClaimProfitSharingEvent(type: string): boolean;
|
|
15
|
+
export interface ClaimProfitSharingEventFields {
|
|
16
|
+
tails: ToField<Vector<"u64">>;
|
|
17
|
+
profitAsset: ToField<TypeName>;
|
|
18
|
+
log: ToField<Vector<"u64">>;
|
|
19
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
20
|
+
}
|
|
21
|
+
export type ClaimProfitSharingEventReified = Reified<ClaimProfitSharingEvent, ClaimProfitSharingEventFields>;
|
|
22
|
+
export declare class ClaimProfitSharingEvent implements StructClass {
|
|
23
|
+
__StructClass: true;
|
|
24
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ClaimProfitSharingEvent";
|
|
25
|
+
static readonly $numTypeParams = 0;
|
|
26
|
+
static readonly $isPhantom: readonly [];
|
|
27
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ClaimProfitSharingEvent";
|
|
28
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::ClaimProfitSharingEvent`;
|
|
29
|
+
readonly $typeArgs: [];
|
|
30
|
+
readonly $isPhantom: readonly [];
|
|
31
|
+
readonly tails: ToField<Vector<"u64">>;
|
|
32
|
+
readonly profitAsset: ToField<TypeName>;
|
|
33
|
+
readonly log: ToField<Vector<"u64">>;
|
|
34
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
35
|
+
private constructor();
|
|
36
|
+
static reified(): ClaimProfitSharingEventReified;
|
|
37
|
+
static get r(): reified.StructClassReified<ClaimProfitSharingEvent, ClaimProfitSharingEventFields>;
|
|
38
|
+
static phantom(): PhantomReified<ToTypeStr<ClaimProfitSharingEvent>>;
|
|
39
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ClaimProfitSharingEvent">;
|
|
40
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
41
|
+
tails: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
42
|
+
length: number;
|
|
43
|
+
}, string>;
|
|
44
|
+
profit_asset: import("@mysten/sui/bcs").BcsStruct<{
|
|
45
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
46
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
47
|
+
length: number;
|
|
48
|
+
}, string>;
|
|
49
|
+
}, string>;
|
|
50
|
+
}, string>;
|
|
51
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
52
|
+
length: number;
|
|
53
|
+
}, string>;
|
|
54
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
55
|
+
length: number;
|
|
56
|
+
}> & {
|
|
57
|
+
length: number;
|
|
58
|
+
}, string>;
|
|
59
|
+
}, string>;
|
|
60
|
+
static fromFields(fields: Record<string, any>): ClaimProfitSharingEvent;
|
|
61
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): ClaimProfitSharingEvent;
|
|
62
|
+
static fromBcs(data: Uint8Array): ClaimProfitSharingEvent;
|
|
63
|
+
toJSONField(): {
|
|
64
|
+
tails: string[];
|
|
65
|
+
profitAsset: {
|
|
66
|
+
name: string;
|
|
67
|
+
};
|
|
68
|
+
log: string[];
|
|
69
|
+
bcsPadding: number[][];
|
|
70
|
+
};
|
|
71
|
+
toJSON(): {
|
|
72
|
+
tails: string[];
|
|
73
|
+
profitAsset: {
|
|
74
|
+
name: string;
|
|
75
|
+
};
|
|
76
|
+
log: string[];
|
|
77
|
+
bcsPadding: number[][];
|
|
78
|
+
$typeName: string;
|
|
79
|
+
$typeArgs: [];
|
|
80
|
+
};
|
|
81
|
+
static fromJSONField(field: any): ClaimProfitSharingEvent;
|
|
82
|
+
static fromJSON(json: Record<string, any>): ClaimProfitSharingEvent;
|
|
83
|
+
static fromSuiParsedData(content: SuiParsedData): ClaimProfitSharingEvent;
|
|
84
|
+
static fromSuiObjectData(data: SuiObjectData): ClaimProfitSharingEvent;
|
|
85
|
+
static fetch(client: SuiClient, id: string): Promise<ClaimProfitSharingEvent>;
|
|
86
|
+
}
|
|
87
|
+
export declare function isDailySignUpEvent(type: string): boolean;
|
|
88
|
+
export interface DailySignUpEventFields {
|
|
89
|
+
tails: ToField<Vector<"u64">>;
|
|
90
|
+
log: ToField<Vector<"u64">>;
|
|
91
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
92
|
+
}
|
|
93
|
+
export type DailySignUpEventReified = Reified<DailySignUpEvent, DailySignUpEventFields>;
|
|
94
|
+
export declare class DailySignUpEvent implements StructClass {
|
|
95
|
+
__StructClass: true;
|
|
96
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::DailySignUpEvent";
|
|
97
|
+
static readonly $numTypeParams = 0;
|
|
98
|
+
static readonly $isPhantom: readonly [];
|
|
99
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::DailySignUpEvent";
|
|
100
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::DailySignUpEvent`;
|
|
101
|
+
readonly $typeArgs: [];
|
|
102
|
+
readonly $isPhantom: readonly [];
|
|
103
|
+
readonly tails: ToField<Vector<"u64">>;
|
|
104
|
+
readonly log: ToField<Vector<"u64">>;
|
|
105
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
106
|
+
private constructor();
|
|
107
|
+
static reified(): DailySignUpEventReified;
|
|
108
|
+
static get r(): reified.StructClassReified<DailySignUpEvent, DailySignUpEventFields>;
|
|
109
|
+
static phantom(): PhantomReified<ToTypeStr<DailySignUpEvent>>;
|
|
110
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::DailySignUpEvent">;
|
|
111
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
112
|
+
tails: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
113
|
+
length: number;
|
|
114
|
+
}, string>;
|
|
115
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
116
|
+
length: number;
|
|
117
|
+
}, string>;
|
|
118
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
119
|
+
length: number;
|
|
120
|
+
}> & {
|
|
121
|
+
length: number;
|
|
122
|
+
}, string>;
|
|
123
|
+
}, string>;
|
|
124
|
+
static fromFields(fields: Record<string, any>): DailySignUpEvent;
|
|
125
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): DailySignUpEvent;
|
|
126
|
+
static fromBcs(data: Uint8Array): DailySignUpEvent;
|
|
127
|
+
toJSONField(): {
|
|
128
|
+
tails: string[];
|
|
129
|
+
log: string[];
|
|
130
|
+
bcsPadding: number[][];
|
|
131
|
+
};
|
|
132
|
+
toJSON(): {
|
|
133
|
+
tails: string[];
|
|
134
|
+
log: string[];
|
|
135
|
+
bcsPadding: number[][];
|
|
136
|
+
$typeName: string;
|
|
137
|
+
$typeArgs: [];
|
|
138
|
+
};
|
|
139
|
+
static fromJSONField(field: any): DailySignUpEvent;
|
|
140
|
+
static fromJSON(json: Record<string, any>): DailySignUpEvent;
|
|
141
|
+
static fromSuiParsedData(content: SuiParsedData): DailySignUpEvent;
|
|
142
|
+
static fromSuiObjectData(data: SuiObjectData): DailySignUpEvent;
|
|
143
|
+
static fetch(client: SuiClient, id: string): Promise<DailySignUpEvent>;
|
|
144
|
+
}
|
|
145
|
+
export declare function isExpDownEvent(type: string): boolean;
|
|
146
|
+
export interface ExpDownEventFields {
|
|
147
|
+
tails: ToField<"address">;
|
|
148
|
+
log: ToField<Vector<"u64">>;
|
|
149
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
150
|
+
}
|
|
151
|
+
export type ExpDownEventReified = Reified<ExpDownEvent, ExpDownEventFields>;
|
|
152
|
+
export declare class ExpDownEvent implements StructClass {
|
|
153
|
+
__StructClass: true;
|
|
154
|
+
static readonly $typeName = "0xea14501c603e8fcd907087d3aa7cb7adb4d7b3a7ea5e078cc9e8f05c67bc8034::tails_staking::ExpDownEvent";
|
|
155
|
+
static readonly $numTypeParams = 0;
|
|
156
|
+
static readonly $isPhantom: readonly [];
|
|
157
|
+
readonly $typeName = "0xea14501c603e8fcd907087d3aa7cb7adb4d7b3a7ea5e078cc9e8f05c67bc8034::tails_staking::ExpDownEvent";
|
|
158
|
+
readonly $fullTypeName: `${typeof PKG_V6}::tails_staking::ExpDownEvent`;
|
|
159
|
+
readonly $typeArgs: [];
|
|
160
|
+
readonly $isPhantom: readonly [];
|
|
161
|
+
readonly tails: ToField<"address">;
|
|
162
|
+
readonly log: ToField<Vector<"u64">>;
|
|
163
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
164
|
+
private constructor();
|
|
165
|
+
static reified(): ExpDownEventReified;
|
|
166
|
+
static get r(): reified.StructClassReified<ExpDownEvent, ExpDownEventFields>;
|
|
167
|
+
static phantom(): PhantomReified<ToTypeStr<ExpDownEvent>>;
|
|
168
|
+
static get p(): reified.PhantomReified<"0xea14501c603e8fcd907087d3aa7cb7adb4d7b3a7ea5e078cc9e8f05c67bc8034::tails_staking::ExpDownEvent">;
|
|
169
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
170
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
171
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
172
|
+
length: number;
|
|
173
|
+
}, string>;
|
|
174
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
175
|
+
length: number;
|
|
176
|
+
}> & {
|
|
177
|
+
length: number;
|
|
178
|
+
}, string>;
|
|
179
|
+
}, string>;
|
|
180
|
+
static fromFields(fields: Record<string, any>): ExpDownEvent;
|
|
181
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): ExpDownEvent;
|
|
182
|
+
static fromBcs(data: Uint8Array): ExpDownEvent;
|
|
183
|
+
toJSONField(): {
|
|
184
|
+
tails: string;
|
|
185
|
+
log: string[];
|
|
186
|
+
bcsPadding: number[][];
|
|
187
|
+
};
|
|
188
|
+
toJSON(): {
|
|
189
|
+
tails: string;
|
|
190
|
+
log: string[];
|
|
191
|
+
bcsPadding: number[][];
|
|
192
|
+
$typeName: string;
|
|
193
|
+
$typeArgs: [];
|
|
194
|
+
};
|
|
195
|
+
static fromJSONField(field: any): ExpDownEvent;
|
|
196
|
+
static fromJSON(json: Record<string, any>): ExpDownEvent;
|
|
197
|
+
static fromSuiParsedData(content: SuiParsedData): ExpDownEvent;
|
|
198
|
+
static fromSuiObjectData(data: SuiObjectData): ExpDownEvent;
|
|
199
|
+
static fetch(client: SuiClient, id: string): Promise<ExpDownEvent>;
|
|
200
|
+
}
|
|
201
|
+
export declare function isExpUpEvent(type: string): boolean;
|
|
202
|
+
export interface ExpUpEventFields {
|
|
203
|
+
tails: ToField<"address">;
|
|
204
|
+
log: ToField<Vector<"u64">>;
|
|
205
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
206
|
+
}
|
|
207
|
+
export type ExpUpEventReified = Reified<ExpUpEvent, ExpUpEventFields>;
|
|
208
|
+
export declare class ExpUpEvent implements StructClass {
|
|
209
|
+
__StructClass: true;
|
|
210
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ExpUpEvent";
|
|
211
|
+
static readonly $numTypeParams = 0;
|
|
212
|
+
static readonly $isPhantom: readonly [];
|
|
213
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ExpUpEvent";
|
|
214
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::ExpUpEvent`;
|
|
215
|
+
readonly $typeArgs: [];
|
|
216
|
+
readonly $isPhantom: readonly [];
|
|
217
|
+
readonly tails: ToField<"address">;
|
|
218
|
+
readonly log: ToField<Vector<"u64">>;
|
|
219
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
220
|
+
private constructor();
|
|
221
|
+
static reified(): ExpUpEventReified;
|
|
222
|
+
static get r(): reified.StructClassReified<ExpUpEvent, ExpUpEventFields>;
|
|
223
|
+
static phantom(): PhantomReified<ToTypeStr<ExpUpEvent>>;
|
|
224
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::ExpUpEvent">;
|
|
225
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
226
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
227
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
228
|
+
length: number;
|
|
229
|
+
}, string>;
|
|
230
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
231
|
+
length: number;
|
|
232
|
+
}> & {
|
|
233
|
+
length: number;
|
|
234
|
+
}, string>;
|
|
235
|
+
}, string>;
|
|
236
|
+
static fromFields(fields: Record<string, any>): ExpUpEvent;
|
|
237
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): ExpUpEvent;
|
|
238
|
+
static fromBcs(data: Uint8Array): ExpUpEvent;
|
|
239
|
+
toJSONField(): {
|
|
240
|
+
tails: string;
|
|
241
|
+
log: string[];
|
|
242
|
+
bcsPadding: number[][];
|
|
243
|
+
};
|
|
244
|
+
toJSON(): {
|
|
245
|
+
tails: string;
|
|
246
|
+
log: string[];
|
|
247
|
+
bcsPadding: number[][];
|
|
248
|
+
$typeName: string;
|
|
249
|
+
$typeArgs: [];
|
|
250
|
+
};
|
|
251
|
+
static fromJSONField(field: any): ExpUpEvent;
|
|
252
|
+
static fromJSON(json: Record<string, any>): ExpUpEvent;
|
|
253
|
+
static fromSuiParsedData(content: SuiParsedData): ExpUpEvent;
|
|
254
|
+
static fromSuiObjectData(data: SuiObjectData): ExpUpEvent;
|
|
255
|
+
static fetch(client: SuiClient, id: string): Promise<ExpUpEvent>;
|
|
256
|
+
}
|
|
257
|
+
export declare function isLevelUpEvent(type: string): boolean;
|
|
258
|
+
export interface LevelUpEventFields {
|
|
259
|
+
tails: ToField<"address">;
|
|
260
|
+
log: ToField<Vector<"u64">>;
|
|
261
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
262
|
+
}
|
|
263
|
+
export type LevelUpEventReified = Reified<LevelUpEvent, LevelUpEventFields>;
|
|
264
|
+
export declare class LevelUpEvent implements StructClass {
|
|
265
|
+
__StructClass: true;
|
|
266
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::LevelUpEvent";
|
|
267
|
+
static readonly $numTypeParams = 0;
|
|
268
|
+
static readonly $isPhantom: readonly [];
|
|
269
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::LevelUpEvent";
|
|
270
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::LevelUpEvent`;
|
|
271
|
+
readonly $typeArgs: [];
|
|
272
|
+
readonly $isPhantom: readonly [];
|
|
273
|
+
readonly tails: ToField<"address">;
|
|
274
|
+
readonly log: ToField<Vector<"u64">>;
|
|
275
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
276
|
+
private constructor();
|
|
277
|
+
static reified(): LevelUpEventReified;
|
|
278
|
+
static get r(): reified.StructClassReified<LevelUpEvent, LevelUpEventFields>;
|
|
279
|
+
static phantom(): PhantomReified<ToTypeStr<LevelUpEvent>>;
|
|
280
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::LevelUpEvent">;
|
|
281
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
282
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
283
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
284
|
+
length: number;
|
|
285
|
+
}, string>;
|
|
286
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
287
|
+
length: number;
|
|
288
|
+
}> & {
|
|
289
|
+
length: number;
|
|
290
|
+
}, string>;
|
|
291
|
+
}, string>;
|
|
292
|
+
static fromFields(fields: Record<string, any>): LevelUpEvent;
|
|
293
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): LevelUpEvent;
|
|
294
|
+
static fromBcs(data: Uint8Array): LevelUpEvent;
|
|
295
|
+
toJSONField(): {
|
|
296
|
+
tails: string;
|
|
297
|
+
log: string[];
|
|
298
|
+
bcsPadding: number[][];
|
|
299
|
+
};
|
|
300
|
+
toJSON(): {
|
|
301
|
+
tails: string;
|
|
302
|
+
log: string[];
|
|
303
|
+
bcsPadding: number[][];
|
|
304
|
+
$typeName: string;
|
|
305
|
+
$typeArgs: [];
|
|
306
|
+
};
|
|
307
|
+
static fromJSONField(field: any): LevelUpEvent;
|
|
308
|
+
static fromJSON(json: Record<string, any>): LevelUpEvent;
|
|
309
|
+
static fromSuiParsedData(content: SuiParsedData): LevelUpEvent;
|
|
310
|
+
static fromSuiObjectData(data: SuiObjectData): LevelUpEvent;
|
|
311
|
+
static fetch(client: SuiClient, id: string): Promise<LevelUpEvent>;
|
|
312
|
+
}
|
|
313
|
+
export declare function isRemoveProfitSharingEvent(type: string): boolean;
|
|
314
|
+
export interface RemoveProfitSharingEventFields {
|
|
315
|
+
token: ToField<TypeName>;
|
|
316
|
+
log: ToField<Vector<"u64">>;
|
|
317
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
318
|
+
}
|
|
319
|
+
export type RemoveProfitSharingEventReified = Reified<RemoveProfitSharingEvent, RemoveProfitSharingEventFields>;
|
|
320
|
+
export declare class RemoveProfitSharingEvent implements StructClass {
|
|
321
|
+
__StructClass: true;
|
|
322
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::RemoveProfitSharingEvent";
|
|
323
|
+
static readonly $numTypeParams = 0;
|
|
324
|
+
static readonly $isPhantom: readonly [];
|
|
325
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::RemoveProfitSharingEvent";
|
|
326
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::RemoveProfitSharingEvent`;
|
|
327
|
+
readonly $typeArgs: [];
|
|
328
|
+
readonly $isPhantom: readonly [];
|
|
329
|
+
readonly token: ToField<TypeName>;
|
|
330
|
+
readonly log: ToField<Vector<"u64">>;
|
|
331
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
332
|
+
private constructor();
|
|
333
|
+
static reified(): RemoveProfitSharingEventReified;
|
|
334
|
+
static get r(): reified.StructClassReified<RemoveProfitSharingEvent, RemoveProfitSharingEventFields>;
|
|
335
|
+
static phantom(): PhantomReified<ToTypeStr<RemoveProfitSharingEvent>>;
|
|
336
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::RemoveProfitSharingEvent">;
|
|
337
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
338
|
+
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
339
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
340
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
341
|
+
length: number;
|
|
342
|
+
}, string>;
|
|
343
|
+
}, string>;
|
|
344
|
+
}, string>;
|
|
345
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
346
|
+
length: number;
|
|
347
|
+
}, string>;
|
|
348
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
349
|
+
length: number;
|
|
350
|
+
}> & {
|
|
351
|
+
length: number;
|
|
352
|
+
}, string>;
|
|
353
|
+
}, string>;
|
|
354
|
+
static fromFields(fields: Record<string, any>): RemoveProfitSharingEvent;
|
|
355
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveProfitSharingEvent;
|
|
356
|
+
static fromBcs(data: Uint8Array): RemoveProfitSharingEvent;
|
|
357
|
+
toJSONField(): {
|
|
358
|
+
token: {
|
|
359
|
+
name: string;
|
|
360
|
+
};
|
|
361
|
+
log: string[];
|
|
362
|
+
bcsPadding: number[][];
|
|
363
|
+
};
|
|
364
|
+
toJSON(): {
|
|
365
|
+
token: {
|
|
366
|
+
name: string;
|
|
367
|
+
};
|
|
368
|
+
log: string[];
|
|
369
|
+
bcsPadding: number[][];
|
|
370
|
+
$typeName: string;
|
|
371
|
+
$typeArgs: [];
|
|
372
|
+
};
|
|
373
|
+
static fromJSONField(field: any): RemoveProfitSharingEvent;
|
|
374
|
+
static fromJSON(json: Record<string, any>): RemoveProfitSharingEvent;
|
|
375
|
+
static fromSuiParsedData(content: SuiParsedData): RemoveProfitSharingEvent;
|
|
376
|
+
static fromSuiObjectData(data: SuiObjectData): RemoveProfitSharingEvent;
|
|
377
|
+
static fetch(client: SuiClient, id: string): Promise<RemoveProfitSharingEvent>;
|
|
378
|
+
}
|
|
379
|
+
export declare function isSetProfitSharingEvent(type: string): boolean;
|
|
380
|
+
export interface SetProfitSharingEventFields {
|
|
381
|
+
token: ToField<TypeName>;
|
|
382
|
+
levelProfits: ToField<Vector<"u64">>;
|
|
383
|
+
levelCounts: ToField<Vector<"u64">>;
|
|
384
|
+
log: ToField<Vector<"u64">>;
|
|
385
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
386
|
+
}
|
|
387
|
+
export type SetProfitSharingEventReified = Reified<SetProfitSharingEvent, SetProfitSharingEventFields>;
|
|
388
|
+
export declare class SetProfitSharingEvent implements StructClass {
|
|
389
|
+
__StructClass: true;
|
|
390
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::SetProfitSharingEvent";
|
|
391
|
+
static readonly $numTypeParams = 0;
|
|
392
|
+
static readonly $isPhantom: readonly [];
|
|
393
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::SetProfitSharingEvent";
|
|
394
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::SetProfitSharingEvent`;
|
|
395
|
+
readonly $typeArgs: [];
|
|
396
|
+
readonly $isPhantom: readonly [];
|
|
397
|
+
readonly token: ToField<TypeName>;
|
|
398
|
+
readonly levelProfits: ToField<Vector<"u64">>;
|
|
399
|
+
readonly levelCounts: ToField<Vector<"u64">>;
|
|
400
|
+
readonly log: ToField<Vector<"u64">>;
|
|
401
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
402
|
+
private constructor();
|
|
403
|
+
static reified(): SetProfitSharingEventReified;
|
|
404
|
+
static get r(): reified.StructClassReified<SetProfitSharingEvent, SetProfitSharingEventFields>;
|
|
405
|
+
static phantom(): PhantomReified<ToTypeStr<SetProfitSharingEvent>>;
|
|
406
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::SetProfitSharingEvent">;
|
|
407
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
408
|
+
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
409
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
410
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
411
|
+
length: number;
|
|
412
|
+
}, string>;
|
|
413
|
+
}, string>;
|
|
414
|
+
}, string>;
|
|
415
|
+
level_profits: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
416
|
+
length: number;
|
|
417
|
+
}, string>;
|
|
418
|
+
level_counts: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
419
|
+
length: number;
|
|
420
|
+
}, string>;
|
|
421
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
422
|
+
length: number;
|
|
423
|
+
}, string>;
|
|
424
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
425
|
+
length: number;
|
|
426
|
+
}> & {
|
|
427
|
+
length: number;
|
|
428
|
+
}, string>;
|
|
429
|
+
}, string>;
|
|
430
|
+
static fromFields(fields: Record<string, any>): SetProfitSharingEvent;
|
|
431
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): SetProfitSharingEvent;
|
|
432
|
+
static fromBcs(data: Uint8Array): SetProfitSharingEvent;
|
|
433
|
+
toJSONField(): {
|
|
434
|
+
token: {
|
|
435
|
+
name: string;
|
|
436
|
+
};
|
|
437
|
+
levelProfits: string[];
|
|
438
|
+
levelCounts: string[];
|
|
439
|
+
log: string[];
|
|
440
|
+
bcsPadding: number[][];
|
|
441
|
+
};
|
|
442
|
+
toJSON(): {
|
|
443
|
+
token: {
|
|
444
|
+
name: string;
|
|
445
|
+
};
|
|
446
|
+
levelProfits: string[];
|
|
447
|
+
levelCounts: string[];
|
|
448
|
+
log: string[];
|
|
449
|
+
bcsPadding: number[][];
|
|
450
|
+
$typeName: string;
|
|
451
|
+
$typeArgs: [];
|
|
452
|
+
};
|
|
453
|
+
static fromJSONField(field: any): SetProfitSharingEvent;
|
|
454
|
+
static fromJSON(json: Record<string, any>): SetProfitSharingEvent;
|
|
455
|
+
static fromSuiParsedData(content: SuiParsedData): SetProfitSharingEvent;
|
|
456
|
+
static fromSuiObjectData(data: SuiObjectData): SetProfitSharingEvent;
|
|
457
|
+
static fetch(client: SuiClient, id: string): Promise<SetProfitSharingEvent>;
|
|
458
|
+
}
|
|
459
|
+
export declare function isStakeTailsEvent(type: string): boolean;
|
|
460
|
+
export interface StakeTailsEventFields {
|
|
461
|
+
tails: ToField<"address">;
|
|
462
|
+
log: ToField<Vector<"u64">>;
|
|
463
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
464
|
+
}
|
|
465
|
+
export type StakeTailsEventReified = Reified<StakeTailsEvent, StakeTailsEventFields>;
|
|
466
|
+
export declare class StakeTailsEvent implements StructClass {
|
|
467
|
+
__StructClass: true;
|
|
468
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakeTailsEvent";
|
|
469
|
+
static readonly $numTypeParams = 0;
|
|
470
|
+
static readonly $isPhantom: readonly [];
|
|
471
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakeTailsEvent";
|
|
472
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::StakeTailsEvent`;
|
|
473
|
+
readonly $typeArgs: [];
|
|
474
|
+
readonly $isPhantom: readonly [];
|
|
475
|
+
readonly tails: ToField<"address">;
|
|
476
|
+
readonly log: ToField<Vector<"u64">>;
|
|
477
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
478
|
+
private constructor();
|
|
479
|
+
static reified(): StakeTailsEventReified;
|
|
480
|
+
static get r(): reified.StructClassReified<StakeTailsEvent, StakeTailsEventFields>;
|
|
481
|
+
static phantom(): PhantomReified<ToTypeStr<StakeTailsEvent>>;
|
|
482
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakeTailsEvent">;
|
|
483
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
484
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
485
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
486
|
+
length: number;
|
|
487
|
+
}, string>;
|
|
488
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
489
|
+
length: number;
|
|
490
|
+
}> & {
|
|
491
|
+
length: number;
|
|
492
|
+
}, string>;
|
|
493
|
+
}, string>;
|
|
494
|
+
static fromFields(fields: Record<string, any>): StakeTailsEvent;
|
|
495
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): StakeTailsEvent;
|
|
496
|
+
static fromBcs(data: Uint8Array): StakeTailsEvent;
|
|
497
|
+
toJSONField(): {
|
|
498
|
+
tails: string;
|
|
499
|
+
log: string[];
|
|
500
|
+
bcsPadding: number[][];
|
|
501
|
+
};
|
|
502
|
+
toJSON(): {
|
|
503
|
+
tails: string;
|
|
504
|
+
log: string[];
|
|
505
|
+
bcsPadding: number[][];
|
|
506
|
+
$typeName: string;
|
|
507
|
+
$typeArgs: [];
|
|
508
|
+
};
|
|
509
|
+
static fromJSONField(field: any): StakeTailsEvent;
|
|
510
|
+
static fromJSON(json: Record<string, any>): StakeTailsEvent;
|
|
511
|
+
static fromSuiParsedData(content: SuiParsedData): StakeTailsEvent;
|
|
512
|
+
static fromSuiObjectData(data: SuiObjectData): StakeTailsEvent;
|
|
513
|
+
static fetch(client: SuiClient, id: string): Promise<StakeTailsEvent>;
|
|
514
|
+
}
|
|
515
|
+
export declare function isStakingInfo(type: string): boolean;
|
|
516
|
+
export interface StakingInfoFields {
|
|
517
|
+
user: ToField<"address">;
|
|
518
|
+
tails: ToField<Vector<"u64">>;
|
|
519
|
+
profits: ToField<Vector<"u64">>;
|
|
520
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
521
|
+
}
|
|
522
|
+
export type StakingInfoReified = Reified<StakingInfo, StakingInfoFields>;
|
|
523
|
+
export declare class StakingInfo implements StructClass {
|
|
524
|
+
__StructClass: true;
|
|
525
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakingInfo";
|
|
526
|
+
static readonly $numTypeParams = 0;
|
|
527
|
+
static readonly $isPhantom: readonly [];
|
|
528
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakingInfo";
|
|
529
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::StakingInfo`;
|
|
530
|
+
readonly $typeArgs: [];
|
|
531
|
+
readonly $isPhantom: readonly [];
|
|
532
|
+
readonly user: ToField<"address">;
|
|
533
|
+
readonly tails: ToField<Vector<"u64">>;
|
|
534
|
+
readonly profits: ToField<Vector<"u64">>;
|
|
535
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
536
|
+
private constructor();
|
|
537
|
+
static reified(): StakingInfoReified;
|
|
538
|
+
static get r(): reified.StructClassReified<StakingInfo, StakingInfoFields>;
|
|
539
|
+
static phantom(): PhantomReified<ToTypeStr<StakingInfo>>;
|
|
540
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::StakingInfo">;
|
|
541
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
542
|
+
user: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
543
|
+
tails: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
544
|
+
length: number;
|
|
545
|
+
}, string>;
|
|
546
|
+
profits: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
547
|
+
length: number;
|
|
548
|
+
}, string>;
|
|
549
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
550
|
+
length: number;
|
|
551
|
+
}, string>;
|
|
552
|
+
}, string>;
|
|
553
|
+
static fromFields(fields: Record<string, any>): StakingInfo;
|
|
554
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): StakingInfo;
|
|
555
|
+
static fromBcs(data: Uint8Array): StakingInfo;
|
|
556
|
+
toJSONField(): {
|
|
557
|
+
user: string;
|
|
558
|
+
tails: string[];
|
|
559
|
+
profits: string[];
|
|
560
|
+
u64Padding: string[];
|
|
561
|
+
};
|
|
562
|
+
toJSON(): {
|
|
563
|
+
user: string;
|
|
564
|
+
tails: string[];
|
|
565
|
+
profits: string[];
|
|
566
|
+
u64Padding: string[];
|
|
567
|
+
$typeName: string;
|
|
568
|
+
$typeArgs: [];
|
|
569
|
+
};
|
|
570
|
+
static fromJSONField(field: any): StakingInfo;
|
|
571
|
+
static fromJSON(json: Record<string, any>): StakingInfo;
|
|
572
|
+
static fromSuiParsedData(content: SuiParsedData): StakingInfo;
|
|
573
|
+
static fromSuiObjectData(data: SuiObjectData): StakingInfo;
|
|
574
|
+
static fetch(client: SuiClient, id: string): Promise<StakingInfo>;
|
|
575
|
+
}
|
|
576
|
+
export declare function isTailsStakingRegistry(type: string): boolean;
|
|
577
|
+
export interface TailsStakingRegistryFields {
|
|
578
|
+
id: ToField<UID>;
|
|
579
|
+
config: ToField<Vector<"u64">>;
|
|
580
|
+
tailsManagerCap: ToField<ManagerCap>;
|
|
581
|
+
tails: ToField<ObjectTable<"address", ToPhantom<Tails>>>;
|
|
582
|
+
tailsMetadata: ToField<Bag>;
|
|
583
|
+
stakingInfos: ToField<BigVector>;
|
|
584
|
+
profitAssets: ToField<Vector<TypeName>>;
|
|
585
|
+
transferPolicy: ToField<TransferPolicy<ToPhantom<Tails>>>;
|
|
586
|
+
}
|
|
587
|
+
export type TailsStakingRegistryReified = Reified<TailsStakingRegistry, TailsStakingRegistryFields>;
|
|
588
|
+
export declare class TailsStakingRegistry implements StructClass {
|
|
589
|
+
__StructClass: true;
|
|
590
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TailsStakingRegistry";
|
|
591
|
+
static readonly $numTypeParams = 0;
|
|
592
|
+
static readonly $isPhantom: readonly [];
|
|
593
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TailsStakingRegistry";
|
|
594
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::TailsStakingRegistry`;
|
|
595
|
+
readonly $typeArgs: [];
|
|
596
|
+
readonly $isPhantom: readonly [];
|
|
597
|
+
readonly id: ToField<UID>;
|
|
598
|
+
readonly config: ToField<Vector<"u64">>;
|
|
599
|
+
readonly tailsManagerCap: ToField<ManagerCap>;
|
|
600
|
+
readonly tails: ToField<ObjectTable<"address", ToPhantom<Tails>>>;
|
|
601
|
+
readonly tailsMetadata: ToField<Bag>;
|
|
602
|
+
readonly stakingInfos: ToField<BigVector>;
|
|
603
|
+
readonly profitAssets: ToField<Vector<TypeName>>;
|
|
604
|
+
readonly transferPolicy: ToField<TransferPolicy<ToPhantom<Tails>>>;
|
|
605
|
+
private constructor();
|
|
606
|
+
static reified(): TailsStakingRegistryReified;
|
|
607
|
+
static get r(): reified.StructClassReified<TailsStakingRegistry, TailsStakingRegistryFields>;
|
|
608
|
+
static phantom(): PhantomReified<ToTypeStr<TailsStakingRegistry>>;
|
|
609
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TailsStakingRegistry">;
|
|
610
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
611
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
612
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
613
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
614
|
+
}, string>;
|
|
615
|
+
}, string>;
|
|
616
|
+
config: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
617
|
+
length: number;
|
|
618
|
+
}, string>;
|
|
619
|
+
tails_manager_cap: import("@mysten/sui/bcs").BcsStruct<{
|
|
620
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
621
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
622
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
623
|
+
}, string>;
|
|
624
|
+
}, string>;
|
|
625
|
+
}, string>;
|
|
626
|
+
tails: import("@mysten/sui/bcs").BcsStruct<{
|
|
627
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
628
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
629
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
630
|
+
}, string>;
|
|
631
|
+
}, string>;
|
|
632
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
633
|
+
}, string>;
|
|
634
|
+
tails_metadata: import("@mysten/sui/bcs").BcsStruct<{
|
|
635
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
636
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
637
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
638
|
+
}, string>;
|
|
639
|
+
}, string>;
|
|
640
|
+
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
641
|
+
}, string>;
|
|
642
|
+
staking_infos: import("@mysten/sui/bcs").BcsStruct<{
|
|
643
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
644
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
645
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
646
|
+
}, string>;
|
|
647
|
+
}, string>;
|
|
648
|
+
element_type: import("@mysten/sui/bcs").BcsStruct<{
|
|
649
|
+
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
650
|
+
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
651
|
+
length: number;
|
|
652
|
+
}, string>;
|
|
653
|
+
}, string>;
|
|
654
|
+
}, string>;
|
|
655
|
+
slice_idx: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
656
|
+
slice_size: import("@mysten/sui/bcs").BcsType<number, number, "u32">;
|
|
657
|
+
length: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
658
|
+
}, string>;
|
|
659
|
+
profit_assets: import("@mysten/sui/bcs").BcsType<{
|
|
660
|
+
name: {
|
|
661
|
+
bytes: number[];
|
|
662
|
+
};
|
|
663
|
+
}[], Iterable<{
|
|
664
|
+
name: {
|
|
665
|
+
bytes: Iterable<number> & {
|
|
666
|
+
length: number;
|
|
667
|
+
};
|
|
668
|
+
};
|
|
669
|
+
}> & {
|
|
670
|
+
length: number;
|
|
671
|
+
}, string>;
|
|
672
|
+
transfer_policy: import("@mysten/sui/bcs").BcsStruct<{
|
|
673
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
674
|
+
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
675
|
+
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
676
|
+
}, string>;
|
|
677
|
+
}, string>;
|
|
678
|
+
balance: import("@mysten/sui/bcs").BcsStruct<{
|
|
679
|
+
value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
680
|
+
}, string>;
|
|
681
|
+
rules: import("@mysten/sui/bcs").BcsStruct<{
|
|
682
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
683
|
+
name: {
|
|
684
|
+
bytes: number[];
|
|
685
|
+
};
|
|
686
|
+
}[], Iterable<{
|
|
687
|
+
name: {
|
|
688
|
+
bytes: Iterable<number> & {
|
|
689
|
+
length: number;
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
}> & {
|
|
693
|
+
length: number;
|
|
694
|
+
}, string>;
|
|
695
|
+
}, string>;
|
|
696
|
+
}, string>;
|
|
697
|
+
}, string>;
|
|
698
|
+
static fromFields(fields: Record<string, any>): TailsStakingRegistry;
|
|
699
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): TailsStakingRegistry;
|
|
700
|
+
static fromBcs(data: Uint8Array): TailsStakingRegistry;
|
|
701
|
+
toJSONField(): {
|
|
702
|
+
id: string;
|
|
703
|
+
config: string[];
|
|
704
|
+
tailsManagerCap: {
|
|
705
|
+
id: string;
|
|
706
|
+
};
|
|
707
|
+
tails: {
|
|
708
|
+
id: string;
|
|
709
|
+
size: string;
|
|
710
|
+
};
|
|
711
|
+
tailsMetadata: {
|
|
712
|
+
id: string;
|
|
713
|
+
size: string;
|
|
714
|
+
};
|
|
715
|
+
stakingInfos: {
|
|
716
|
+
id: string;
|
|
717
|
+
elementType: {
|
|
718
|
+
name: string;
|
|
719
|
+
};
|
|
720
|
+
sliceIdx: string;
|
|
721
|
+
sliceSize: number;
|
|
722
|
+
length: string;
|
|
723
|
+
};
|
|
724
|
+
profitAssets: {
|
|
725
|
+
name: string;
|
|
726
|
+
}[];
|
|
727
|
+
transferPolicy: {
|
|
728
|
+
id: string;
|
|
729
|
+
balance: {
|
|
730
|
+
value: string;
|
|
731
|
+
};
|
|
732
|
+
rules: {
|
|
733
|
+
contents: {
|
|
734
|
+
name: string;
|
|
735
|
+
}[];
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
toJSON(): {
|
|
740
|
+
id: string;
|
|
741
|
+
config: string[];
|
|
742
|
+
tailsManagerCap: {
|
|
743
|
+
id: string;
|
|
744
|
+
};
|
|
745
|
+
tails: {
|
|
746
|
+
id: string;
|
|
747
|
+
size: string;
|
|
748
|
+
};
|
|
749
|
+
tailsMetadata: {
|
|
750
|
+
id: string;
|
|
751
|
+
size: string;
|
|
752
|
+
};
|
|
753
|
+
stakingInfos: {
|
|
754
|
+
id: string;
|
|
755
|
+
elementType: {
|
|
756
|
+
name: string;
|
|
757
|
+
};
|
|
758
|
+
sliceIdx: string;
|
|
759
|
+
sliceSize: number;
|
|
760
|
+
length: string;
|
|
761
|
+
};
|
|
762
|
+
profitAssets: {
|
|
763
|
+
name: string;
|
|
764
|
+
}[];
|
|
765
|
+
transferPolicy: {
|
|
766
|
+
id: string;
|
|
767
|
+
balance: {
|
|
768
|
+
value: string;
|
|
769
|
+
};
|
|
770
|
+
rules: {
|
|
771
|
+
contents: {
|
|
772
|
+
name: string;
|
|
773
|
+
}[];
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
$typeName: string;
|
|
777
|
+
$typeArgs: [];
|
|
778
|
+
};
|
|
779
|
+
static fromJSONField(field: any): TailsStakingRegistry;
|
|
780
|
+
static fromJSON(json: Record<string, any>): TailsStakingRegistry;
|
|
781
|
+
static fromSuiParsedData(content: SuiParsedData): TailsStakingRegistry;
|
|
782
|
+
static fromSuiObjectData(data: SuiObjectData): TailsStakingRegistry;
|
|
783
|
+
static fetch(client: SuiClient, id: string): Promise<TailsStakingRegistry>;
|
|
784
|
+
}
|
|
785
|
+
export declare function isTransferTailsEvent(type: string): boolean;
|
|
786
|
+
export interface TransferTailsEventFields {
|
|
787
|
+
tails: ToField<"address">;
|
|
788
|
+
recipient: ToField<"address">;
|
|
789
|
+
log: ToField<Vector<"u64">>;
|
|
790
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
791
|
+
}
|
|
792
|
+
export type TransferTailsEventReified = Reified<TransferTailsEvent, TransferTailsEventFields>;
|
|
793
|
+
export declare class TransferTailsEvent implements StructClass {
|
|
794
|
+
__StructClass: true;
|
|
795
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TransferTailsEvent";
|
|
796
|
+
static readonly $numTypeParams = 0;
|
|
797
|
+
static readonly $isPhantom: readonly [];
|
|
798
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TransferTailsEvent";
|
|
799
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::TransferTailsEvent`;
|
|
800
|
+
readonly $typeArgs: [];
|
|
801
|
+
readonly $isPhantom: readonly [];
|
|
802
|
+
readonly tails: ToField<"address">;
|
|
803
|
+
readonly recipient: ToField<"address">;
|
|
804
|
+
readonly log: ToField<Vector<"u64">>;
|
|
805
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
806
|
+
private constructor();
|
|
807
|
+
static reified(): TransferTailsEventReified;
|
|
808
|
+
static get r(): reified.StructClassReified<TransferTailsEvent, TransferTailsEventFields>;
|
|
809
|
+
static phantom(): PhantomReified<ToTypeStr<TransferTailsEvent>>;
|
|
810
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::TransferTailsEvent">;
|
|
811
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
812
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
813
|
+
recipient: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
814
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
815
|
+
length: number;
|
|
816
|
+
}, string>;
|
|
817
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
818
|
+
length: number;
|
|
819
|
+
}> & {
|
|
820
|
+
length: number;
|
|
821
|
+
}, string>;
|
|
822
|
+
}, string>;
|
|
823
|
+
static fromFields(fields: Record<string, any>): TransferTailsEvent;
|
|
824
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): TransferTailsEvent;
|
|
825
|
+
static fromBcs(data: Uint8Array): TransferTailsEvent;
|
|
826
|
+
toJSONField(): {
|
|
827
|
+
tails: string;
|
|
828
|
+
recipient: string;
|
|
829
|
+
log: string[];
|
|
830
|
+
bcsPadding: number[][];
|
|
831
|
+
};
|
|
832
|
+
toJSON(): {
|
|
833
|
+
tails: string;
|
|
834
|
+
recipient: string;
|
|
835
|
+
log: string[];
|
|
836
|
+
bcsPadding: number[][];
|
|
837
|
+
$typeName: string;
|
|
838
|
+
$typeArgs: [];
|
|
839
|
+
};
|
|
840
|
+
static fromJSONField(field: any): TransferTailsEvent;
|
|
841
|
+
static fromJSON(json: Record<string, any>): TransferTailsEvent;
|
|
842
|
+
static fromSuiParsedData(content: SuiParsedData): TransferTailsEvent;
|
|
843
|
+
static fromSuiObjectData(data: SuiObjectData): TransferTailsEvent;
|
|
844
|
+
static fetch(client: SuiClient, id: string): Promise<TransferTailsEvent>;
|
|
845
|
+
}
|
|
846
|
+
export declare function isUnstakeTailsEvent(type: string): boolean;
|
|
847
|
+
export interface UnstakeTailsEventFields {
|
|
848
|
+
tails: ToField<"address">;
|
|
849
|
+
log: ToField<Vector<"u64">>;
|
|
850
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
851
|
+
}
|
|
852
|
+
export type UnstakeTailsEventReified = Reified<UnstakeTailsEvent, UnstakeTailsEventFields>;
|
|
853
|
+
export declare class UnstakeTailsEvent implements StructClass {
|
|
854
|
+
__StructClass: true;
|
|
855
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UnstakeTailsEvent";
|
|
856
|
+
static readonly $numTypeParams = 0;
|
|
857
|
+
static readonly $isPhantom: readonly [];
|
|
858
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UnstakeTailsEvent";
|
|
859
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::UnstakeTailsEvent`;
|
|
860
|
+
readonly $typeArgs: [];
|
|
861
|
+
readonly $isPhantom: readonly [];
|
|
862
|
+
readonly tails: ToField<"address">;
|
|
863
|
+
readonly log: ToField<Vector<"u64">>;
|
|
864
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
865
|
+
private constructor();
|
|
866
|
+
static reified(): UnstakeTailsEventReified;
|
|
867
|
+
static get r(): reified.StructClassReified<UnstakeTailsEvent, UnstakeTailsEventFields>;
|
|
868
|
+
static phantom(): PhantomReified<ToTypeStr<UnstakeTailsEvent>>;
|
|
869
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UnstakeTailsEvent">;
|
|
870
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
871
|
+
tails: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
872
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
873
|
+
length: number;
|
|
874
|
+
}, string>;
|
|
875
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
876
|
+
length: number;
|
|
877
|
+
}> & {
|
|
878
|
+
length: number;
|
|
879
|
+
}, string>;
|
|
880
|
+
}, string>;
|
|
881
|
+
static fromFields(fields: Record<string, any>): UnstakeTailsEvent;
|
|
882
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): UnstakeTailsEvent;
|
|
883
|
+
static fromBcs(data: Uint8Array): UnstakeTailsEvent;
|
|
884
|
+
toJSONField(): {
|
|
885
|
+
tails: string;
|
|
886
|
+
log: string[];
|
|
887
|
+
bcsPadding: number[][];
|
|
888
|
+
};
|
|
889
|
+
toJSON(): {
|
|
890
|
+
tails: string;
|
|
891
|
+
log: string[];
|
|
892
|
+
bcsPadding: number[][];
|
|
893
|
+
$typeName: string;
|
|
894
|
+
$typeArgs: [];
|
|
895
|
+
};
|
|
896
|
+
static fromJSONField(field: any): UnstakeTailsEvent;
|
|
897
|
+
static fromJSON(json: Record<string, any>): UnstakeTailsEvent;
|
|
898
|
+
static fromSuiParsedData(content: SuiParsedData): UnstakeTailsEvent;
|
|
899
|
+
static fromSuiObjectData(data: SuiObjectData): UnstakeTailsEvent;
|
|
900
|
+
static fetch(client: SuiClient, id: string): Promise<UnstakeTailsEvent>;
|
|
901
|
+
}
|
|
902
|
+
export declare function isUpdateTailsStakingRegistryConfigEvent(type: string): boolean;
|
|
903
|
+
export interface UpdateTailsStakingRegistryConfigEventFields {
|
|
904
|
+
index: ToField<"u64">;
|
|
905
|
+
log: ToField<Vector<"u64">>;
|
|
906
|
+
bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
907
|
+
}
|
|
908
|
+
export type UpdateTailsStakingRegistryConfigEventReified = Reified<UpdateTailsStakingRegistryConfigEvent, UpdateTailsStakingRegistryConfigEventFields>;
|
|
909
|
+
export declare class UpdateTailsStakingRegistryConfigEvent implements StructClass {
|
|
910
|
+
__StructClass: true;
|
|
911
|
+
static readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UpdateTailsStakingRegistryConfigEvent";
|
|
912
|
+
static readonly $numTypeParams = 0;
|
|
913
|
+
static readonly $isPhantom: readonly [];
|
|
914
|
+
readonly $typeName = "0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UpdateTailsStakingRegistryConfigEvent";
|
|
915
|
+
readonly $fullTypeName: `${typeof PKG_V3}::tails_staking::UpdateTailsStakingRegistryConfigEvent`;
|
|
916
|
+
readonly $typeArgs: [];
|
|
917
|
+
readonly $isPhantom: readonly [];
|
|
918
|
+
readonly index: ToField<"u64">;
|
|
919
|
+
readonly log: ToField<Vector<"u64">>;
|
|
920
|
+
readonly bcsPadding: ToField<Vector<Vector<"u8">>>;
|
|
921
|
+
private constructor();
|
|
922
|
+
static reified(): UpdateTailsStakingRegistryConfigEventReified;
|
|
923
|
+
static get r(): reified.StructClassReified<UpdateTailsStakingRegistryConfigEvent, UpdateTailsStakingRegistryConfigEventFields>;
|
|
924
|
+
static phantom(): PhantomReified<ToTypeStr<UpdateTailsStakingRegistryConfigEvent>>;
|
|
925
|
+
static get p(): reified.PhantomReified<"0xf5c7e61fd28d1ed38711f03e1c5ffc6c5b8435eff386132fc5822efe6d90b138::tails_staking::UpdateTailsStakingRegistryConfigEvent">;
|
|
926
|
+
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
927
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
928
|
+
log: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
929
|
+
length: number;
|
|
930
|
+
}, string>;
|
|
931
|
+
bcs_padding: import("@mysten/sui/bcs").BcsType<number[][], Iterable<Iterable<number> & {
|
|
932
|
+
length: number;
|
|
933
|
+
}> & {
|
|
934
|
+
length: number;
|
|
935
|
+
}, string>;
|
|
936
|
+
}, string>;
|
|
937
|
+
static fromFields(fields: Record<string, any>): UpdateTailsStakingRegistryConfigEvent;
|
|
938
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateTailsStakingRegistryConfigEvent;
|
|
939
|
+
static fromBcs(data: Uint8Array): UpdateTailsStakingRegistryConfigEvent;
|
|
940
|
+
toJSONField(): {
|
|
941
|
+
index: string;
|
|
942
|
+
log: string[];
|
|
943
|
+
bcsPadding: number[][];
|
|
944
|
+
};
|
|
945
|
+
toJSON(): {
|
|
946
|
+
index: string;
|
|
947
|
+
log: string[];
|
|
948
|
+
bcsPadding: number[][];
|
|
949
|
+
$typeName: string;
|
|
950
|
+
$typeArgs: [];
|
|
951
|
+
};
|
|
952
|
+
static fromJSONField(field: any): UpdateTailsStakingRegistryConfigEvent;
|
|
953
|
+
static fromJSON(json: Record<string, any>): UpdateTailsStakingRegistryConfigEvent;
|
|
954
|
+
static fromSuiParsedData(content: SuiParsedData): UpdateTailsStakingRegistryConfigEvent;
|
|
955
|
+
static fromSuiObjectData(data: SuiObjectData): UpdateTailsStakingRegistryConfigEvent;
|
|
956
|
+
static fetch(client: SuiClient, id: string): Promise<UpdateTailsStakingRegistryConfigEvent>;
|
|
957
|
+
}
|