@typus/typus-perp-sdk 1.1.29 → 1.1.30-codegen
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/api/sentio.js +604 -538
- package/dist/src/client.d.ts +27 -0
- package/dist/src/client.js +108 -0
- package/dist/src/fetch.d.ts +160 -34
- package/dist/src/fetch.js +365 -665
- package/dist/src/generated/typus_perp/admin.d.ts +117 -0
- package/dist/src/generated/typus_perp/admin.js +110 -0
- package/dist/src/generated/typus_perp/competition.d.ts +22 -0
- package/dist/src/generated/typus_perp/competition.js +58 -0
- package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +17 -0
- package/dist/src/generated/typus_perp/deps/std/type_name.js +25 -0
- package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +12 -0
- package/dist/src/generated/typus_perp/deps/sui/balance.js +20 -0
- package/dist/src/generated/typus_perp/deps/sui/object.d.ts +8 -0
- package/dist/src/generated/typus_perp/deps/sui/object.js +16 -0
- package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +19 -0
- package/dist/src/generated/typus_perp/deps/sui/object_table.js +59 -0
- package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +18 -0
- package/dist/src/generated/typus_perp/deps/sui/vec_set.js +25 -0
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +30 -0
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +67 -0
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +32 -0
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +71 -0
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +23 -0
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +61 -0
- package/dist/src/generated/typus_perp/escrow.d.ts +59 -0
- package/dist/src/generated/typus_perp/escrow.js +76 -0
- package/dist/src/generated/typus_perp/lending.d.ts +47 -0
- package/dist/src/generated/typus_perp/lending.js +50 -0
- package/dist/src/generated/typus_perp/lp_pool.d.ts +2327 -0
- package/dist/src/generated/typus_perp/lp_pool.js +1956 -0
- package/dist/src/generated/typus_perp/math.d.ts +95 -0
- package/dist/src/generated/typus_perp/math.js +97 -0
- package/dist/src/generated/typus_perp/position.d.ts +234 -0
- package/dist/src/generated/typus_perp/position.js +204 -0
- package/dist/src/generated/typus_perp/symbol.d.ts +18 -0
- package/dist/src/generated/typus_perp/symbol.js +55 -0
- package/dist/src/generated/typus_perp/tlp.d.ts +13 -0
- package/dist/src/generated/typus_perp/tlp.js +56 -0
- package/dist/src/generated/typus_perp/trading.d.ts +2486 -0
- package/dist/src/generated/typus_perp/trading.js +2476 -0
- package/dist/src/generated/typus_perp/treasury_caps.d.ts +13 -0
- package/dist/src/{_framework/init-loader.js → generated/typus_perp/treasury_caps.js} +17 -10
- package/dist/src/generated/typus_perp/user_account.d.ts +40 -0
- package/dist/src/generated/typus_perp/user_account.js +72 -0
- package/dist/src/generated/typus_stake_pool/admin.d.ts +100 -0
- package/dist/src/generated/typus_stake_pool/admin.js +91 -0
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +17 -0
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +25 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +8 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/object.js +16 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +30 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +37 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +18 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +25 -0
- package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +1023 -0
- package/dist/src/generated/typus_stake_pool/stake_pool.js +918 -0
- package/dist/src/generated/utils/index.d.ts +11 -0
- package/dist/src/generated/utils/index.js +135 -0
- package/dist/src/grpc/graphql.d.ts +26 -0
- package/dist/src/grpc/graphql.js +126 -0
- package/dist/src/grpc/grpc.d.ts +1 -0
- package/dist/src/grpc/grpc.js +38 -0
- package/dist/src/grpc/ledgerService.js +64 -0
- package/dist/src/grpc/liveDataService.d.ts +0 -0
- package/dist/src/grpc/liveDataService.js +49 -0
- package/dist/src/index.d.ts +1 -4
- package/dist/src/index.js +21 -39
- package/dist/src/user/history.js +611 -680
- package/dist/src/user/order.d.ts +11 -11
- package/dist/src/user/order.js +171 -302
- package/dist/src/user/orderWithBidReceipt.d.ts +8 -5
- package/dist/src/user/orderWithBidReceipt.js +127 -225
- package/dist/src/user/tlp.d.ts +32 -23
- package/dist/src/user/tlp.js +316 -468
- package/package.json +12 -3
- package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +0 -92
- package/dist/src/_dependencies/source/0x1/ascii/structs.js +0 -398
- package/dist/src/_dependencies/source/0x1/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x1/index.js +0 -6
- package/dist/src/_dependencies/source/0x1/option/structs.d.ts +0 -52
- package/dist/src/_dependencies/source/0x1/option/structs.js +0 -271
- package/dist/src/_dependencies/source/0x1/string/structs.d.ts +0 -50
- package/dist/src/_dependencies/source/0x1/string/structs.js +0 -256
- package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +0 -53
- package/dist/src/_dependencies/source/0x1/type-name/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +0 -61
- package/dist/src/_dependencies/source/0x2/bag/structs.js +0 -229
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0x2/balance/structs.js +0 -386
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +0 -460
- package/dist/src/_dependencies/source/0x2/coin/structs.js +0 -1247
- package/dist/src/_dependencies/source/0x2/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x2/index.js +0 -6
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +0 -153
- package/dist/src/_dependencies/source/0x2/linked-table/structs.js +0 -438
- package/dist/src/_dependencies/source/0x2/object/structs.d.ts +0 -92
- package/dist/src/_dependencies/source/0x2/object/structs.js +0 -364
- package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +0 -61
- package/dist/src/_dependencies/source/0x2/object-table/structs.js +0 -248
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0x2/sui/structs.js +0 -222
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +0 -61
- package/dist/src/_dependencies/source/0x2/table/structs.js +0 -248
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -68
- package/dist/src/_dependencies/source/0x2/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +0 -449
- package/dist/src/_dependencies/source/0x2/token/structs.js +0 -1095
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -370
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -1091
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +0 -53
- package/dist/src/_dependencies/source/0x2/url/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +0 -111
- package/dist/src/_dependencies/source/0x2/vec-map/structs.js +0 -446
- package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +0 -51
- package/dist/src/_dependencies/source/0x2/vec-set/structs.js +0 -270
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +0 -489
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +0 -1084
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +0 -147
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +0 -456
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +0 -239
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +0 -653
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +0 -405
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +0 -899
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +0 -8
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +0 -11
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +0 -102
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +0 -227
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.js +0 -632
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +0 -699
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +0 -1459
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +0 -161
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.js +0 -438
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +0 -147
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +0 -430
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +0 -1071
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +0 -2261
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +0 -279
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +0 -733
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +0 -328
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +0 -892
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +0 -263
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +0 -347
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +0 -591
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +0 -73
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +0 -258
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +0 -876
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +0 -1721
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +0 -222
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +0 -6
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +0 -89
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +0 -155
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +0 -444
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +0 -2386
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.js +0 -4952
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +0 -446
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +0 -844
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +0 -6
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +0 -9
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +0 -69
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +0 -94
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +0 -376
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +0 -454
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +0 -881
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +0 -68
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +0 -1117
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +0 -2387
- package/dist/src/_framework/init-loader.d.ts +0 -2
- package/dist/src/_framework/loader.d.ts +0 -17
- package/dist/src/_framework/loader.js +0 -108
- package/dist/src/_framework/reified.d.ts +0 -108
- package/dist/src/_framework/reified.js +0 -237
- package/dist/src/_framework/util.d.ts +0 -35
- package/dist/src/_framework/util.js +0 -396
- package/dist/src/_framework/vector.d.ts +0 -35
- package/dist/src/_framework/vector.js +0 -112
- package/dist/src/pyth.js +0 -1
- package/dist/src/typus_perp/admin/functions.d.ts +0 -59
- package/dist/src/typus_perp/admin/functions.js +0 -122
- package/dist/src/typus_perp/admin/structs.d.ts +0 -529
- package/dist/src/typus_perp/admin/structs.js +0 -1065
- package/dist/src/typus_perp/competition/functions.d.ts +0 -24
- package/dist/src/typus_perp/competition/functions.js +0 -38
- package/dist/src/typus_perp/competition/structs.d.ts +0 -92
- package/dist/src/typus_perp/competition/structs.js +0 -288
- package/dist/src/typus_perp/error/functions.d.ts +0 -73
- package/dist/src/typus_perp/error/functions.js +0 -363
- package/dist/src/typus_perp/escrow/functions.d.ts +0 -17
- package/dist/src/typus_perp/escrow/functions.js +0 -36
- package/dist/src/typus_perp/escrow/structs.d.ts +0 -172
- package/dist/src/typus_perp/escrow/structs.js +0 -324
- package/dist/src/typus_perp/index.d.ts +0 -1
- package/dist/src/typus_perp/index.js +0 -7
- package/dist/src/typus_perp/init.d.ts +0 -2
- package/dist/src/typus_perp/init.js +0 -118
- package/dist/src/typus_perp/lending/functions.d.ts +0 -15
- package/dist/src/typus_perp/lending/functions.js +0 -22
- package/dist/src/typus_perp/lp-pool/functions.d.ts +0 -460
- package/dist/src/typus_perp/lp-pool/functions.js +0 -732
- package/dist/src/typus_perp/lp-pool/structs.d.ts +0 -4268
- package/dist/src/typus_perp/lp-pool/structs.js +0 -6789
- package/dist/src/typus_perp/math/functions.d.ts +0 -29
- package/dist/src/typus_perp/math/functions.js +0 -61
- package/dist/src/typus_perp/position/functions.d.ts +0 -379
- package/dist/src/typus_perp/position/functions.js +0 -713
- package/dist/src/typus_perp/position/structs.d.ts +0 -1064
- package/dist/src/typus_perp/position/structs.js +0 -1450
- package/dist/src/typus_perp/symbol/functions.d.ts +0 -9
- package/dist/src/typus_perp/symbol/functions.js +0 -24
- package/dist/src/typus_perp/symbol/structs.d.ts +0 -81
- package/dist/src/typus_perp/symbol/structs.js +0 -235
- package/dist/src/typus_perp/tlp/functions.d.ts +0 -19
- package/dist/src/typus_perp/tlp/functions.js +0 -40
- package/dist/src/typus_perp/tlp/structs.d.ts +0 -97
- package/dist/src/typus_perp/tlp/structs.js +0 -365
- package/dist/src/typus_perp/token-interface/functions.d.ts +0 -11
- package/dist/src/typus_perp/token-interface/functions.js +0 -22
- package/dist/src/typus_perp/trading/functions.d.ts +0 -812
- package/dist/src/typus_perp/trading/functions.js +0 -1218
- package/dist/src/typus_perp/trading/structs.d.ts +0 -3613
- package/dist/src/typus_perp/trading/structs.js +0 -5813
- package/dist/src/typus_perp/treasury-caps/functions.d.ts +0 -9
- package/dist/src/typus_perp/treasury-caps/functions.js +0 -36
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +0 -55
- package/dist/src/typus_perp/treasury-caps/structs.js +0 -223
- package/dist/src/typus_perp/user-account/functions.d.ts +0 -36
- package/dist/src/typus_perp/user-account/functions.js +0 -70
- package/dist/src/typus_perp/user-account/structs.d.ts +0 -168
- package/dist/src/typus_perp/user-account/structs.js +0 -448
- package/dist/src/typus_stake_pool/admin/functions.d.ts +0 -49
- package/dist/src/typus_stake_pool/admin/functions.js +0 -105
- package/dist/src/typus_stake_pool/admin/structs.d.ts +0 -413
- package/dist/src/typus_stake_pool/admin/structs.js +0 -789
- package/dist/src/typus_stake_pool/index.d.ts +0 -1
- package/dist/src/typus_stake_pool/index.js +0 -7
- package/dist/src/typus_stake_pool/init.d.ts +0 -2
- package/dist/src/typus_stake_pool/init.js +0 -69
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +0 -229
- package/dist/src/typus_stake_pool/stake-pool/functions.js +0 -380
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +0 -2477
- package/dist/src/typus_stake_pool/stake-pool/structs.js +0 -4653
- /package/dist/src/{pyth.d.ts → grpc/ledgerService.d.ts} +0 -0
|
@@ -1,2477 +0,0 @@
|
|
|
1
|
-
import * as reified from "../../_framework/reified";
|
|
2
|
-
import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
|
|
3
|
-
import { UID } from "../../_dependencies/source/0x2/object/structs";
|
|
4
|
-
import { VecMap } from "../../_dependencies/source/0x2/vec-map/structs";
|
|
5
|
-
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr } from "../../_framework/reified";
|
|
6
|
-
import { FieldsWithTypes } from "../../_framework/util";
|
|
7
|
-
import { Vector } from "../../_framework/vector";
|
|
8
|
-
import { PKG_V1 } from "../index";
|
|
9
|
-
import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
|
|
10
|
-
export declare function isStakePoolRegistry(type: string): boolean;
|
|
11
|
-
export interface StakePoolRegistryFields {
|
|
12
|
-
id: ToField<UID>;
|
|
13
|
-
numPool: ToField<"u64">;
|
|
14
|
-
}
|
|
15
|
-
export type StakePoolRegistryReified = Reified<StakePoolRegistry, StakePoolRegistryFields>;
|
|
16
|
-
export declare class StakePoolRegistry implements StructClass {
|
|
17
|
-
__StructClass: true;
|
|
18
|
-
static readonly $typeName: string;
|
|
19
|
-
static readonly $numTypeParams = 0;
|
|
20
|
-
static readonly $isPhantom: readonly [];
|
|
21
|
-
readonly $typeName: string;
|
|
22
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePoolRegistry`;
|
|
23
|
-
readonly $typeArgs: [];
|
|
24
|
-
readonly $isPhantom: readonly [];
|
|
25
|
-
readonly id: ToField<UID>;
|
|
26
|
-
readonly numPool: ToField<"u64">;
|
|
27
|
-
private constructor();
|
|
28
|
-
static reified(): StakePoolRegistryReified;
|
|
29
|
-
static get r(): reified.StructClassReified<StakePoolRegistry, StakePoolRegistryFields>;
|
|
30
|
-
static phantom(): PhantomReified<ToTypeStr<StakePoolRegistry>>;
|
|
31
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolRegistry" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolRegistry">;
|
|
32
|
-
private static instantiateBcs;
|
|
33
|
-
private static cachedBcs;
|
|
34
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
35
|
-
id: {
|
|
36
|
-
id: {
|
|
37
|
-
bytes: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
num_pool: string;
|
|
41
|
-
}, {
|
|
42
|
-
id: {
|
|
43
|
-
id: {
|
|
44
|
-
bytes: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
num_pool: string | number | bigint;
|
|
48
|
-
}>;
|
|
49
|
-
static fromFields(fields: Record<string, any>): StakePoolRegistry;
|
|
50
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolRegistry;
|
|
51
|
-
static fromBcs(data: Uint8Array): StakePoolRegistry;
|
|
52
|
-
toJSONField(): {
|
|
53
|
-
id: string;
|
|
54
|
-
numPool: string;
|
|
55
|
-
};
|
|
56
|
-
toJSON(): {
|
|
57
|
-
id: string;
|
|
58
|
-
numPool: string;
|
|
59
|
-
$typeName: string;
|
|
60
|
-
$typeArgs: [];
|
|
61
|
-
};
|
|
62
|
-
static fromJSONField(field: any): StakePoolRegistry;
|
|
63
|
-
static fromJSON(json: Record<string, any>): StakePoolRegistry;
|
|
64
|
-
static fromSuiParsedData(content: SuiParsedData): StakePoolRegistry;
|
|
65
|
-
static fromSuiObjectData(data: SuiObjectData): StakePoolRegistry;
|
|
66
|
-
static fetch(client: SuiClient, id: string): Promise<StakePoolRegistry>;
|
|
67
|
-
}
|
|
68
|
-
export declare function isStakePool(type: string): boolean;
|
|
69
|
-
export interface StakePoolFields {
|
|
70
|
-
id: ToField<UID>;
|
|
71
|
-
poolInfo: ToField<StakePoolInfo>;
|
|
72
|
-
config: ToField<StakePoolConfig>;
|
|
73
|
-
incentives: ToField<Vector<Incentive>>;
|
|
74
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
75
|
-
}
|
|
76
|
-
export type StakePoolReified = Reified<StakePool, StakePoolFields>;
|
|
77
|
-
export declare class StakePool implements StructClass {
|
|
78
|
-
__StructClass: true;
|
|
79
|
-
static readonly $typeName: string;
|
|
80
|
-
static readonly $numTypeParams = 0;
|
|
81
|
-
static readonly $isPhantom: readonly [];
|
|
82
|
-
readonly $typeName: string;
|
|
83
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePool`;
|
|
84
|
-
readonly $typeArgs: [];
|
|
85
|
-
readonly $isPhantom: readonly [];
|
|
86
|
-
readonly id: ToField<UID>;
|
|
87
|
-
readonly poolInfo: ToField<StakePoolInfo>;
|
|
88
|
-
readonly config: ToField<StakePoolConfig>;
|
|
89
|
-
readonly incentives: ToField<Vector<Incentive>>;
|
|
90
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
91
|
-
private constructor();
|
|
92
|
-
static reified(): StakePoolReified;
|
|
93
|
-
static get r(): reified.StructClassReified<StakePool, StakePoolFields>;
|
|
94
|
-
static phantom(): PhantomReified<ToTypeStr<StakePool>>;
|
|
95
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePool" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePool">;
|
|
96
|
-
private static instantiateBcs;
|
|
97
|
-
private static cachedBcs;
|
|
98
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
99
|
-
id: {
|
|
100
|
-
id: {
|
|
101
|
-
bytes: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
pool_info: {
|
|
105
|
-
stake_token: {
|
|
106
|
-
name: {
|
|
107
|
-
bytes: number[];
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
index: string;
|
|
111
|
-
next_user_share_id: string;
|
|
112
|
-
total_share: string;
|
|
113
|
-
active: boolean;
|
|
114
|
-
u64_padding: string[];
|
|
115
|
-
};
|
|
116
|
-
config: {
|
|
117
|
-
unlock_countdown_ts_ms: string;
|
|
118
|
-
u64_padding: string[];
|
|
119
|
-
};
|
|
120
|
-
incentives: {
|
|
121
|
-
token_type: {
|
|
122
|
-
name: {
|
|
123
|
-
bytes: number[];
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
config: {
|
|
127
|
-
period_incentive_amount: string;
|
|
128
|
-
incentive_interval_ts_ms: string;
|
|
129
|
-
u64_padding: string[];
|
|
130
|
-
};
|
|
131
|
-
info: {
|
|
132
|
-
active: boolean;
|
|
133
|
-
last_allocate_ts_ms: string;
|
|
134
|
-
incentive_price_index: string;
|
|
135
|
-
unallocated_amount: string;
|
|
136
|
-
u64_padding: string[];
|
|
137
|
-
};
|
|
138
|
-
}[];
|
|
139
|
-
u64_padding: string[];
|
|
140
|
-
}, {
|
|
141
|
-
id: {
|
|
142
|
-
id: {
|
|
143
|
-
bytes: string;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
pool_info: {
|
|
147
|
-
stake_token: {
|
|
148
|
-
name: {
|
|
149
|
-
bytes: Iterable<number> & {
|
|
150
|
-
length: number;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
index: string | number | bigint;
|
|
155
|
-
next_user_share_id: string | number | bigint;
|
|
156
|
-
total_share: string | number | bigint;
|
|
157
|
-
active: boolean;
|
|
158
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
159
|
-
length: number;
|
|
160
|
-
};
|
|
161
|
-
};
|
|
162
|
-
config: {
|
|
163
|
-
unlock_countdown_ts_ms: string | number | bigint;
|
|
164
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
165
|
-
length: number;
|
|
166
|
-
};
|
|
167
|
-
};
|
|
168
|
-
incentives: Iterable<{
|
|
169
|
-
token_type: {
|
|
170
|
-
name: {
|
|
171
|
-
bytes: Iterable<number> & {
|
|
172
|
-
length: number;
|
|
173
|
-
};
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
config: {
|
|
177
|
-
period_incentive_amount: string | number | bigint;
|
|
178
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
179
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
180
|
-
length: number;
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
info: {
|
|
184
|
-
active: boolean;
|
|
185
|
-
last_allocate_ts_ms: string | number | bigint;
|
|
186
|
-
incentive_price_index: string | number | bigint;
|
|
187
|
-
unallocated_amount: string | number | bigint;
|
|
188
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
189
|
-
length: number;
|
|
190
|
-
};
|
|
191
|
-
};
|
|
192
|
-
}> & {
|
|
193
|
-
length: number;
|
|
194
|
-
};
|
|
195
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
196
|
-
length: number;
|
|
197
|
-
};
|
|
198
|
-
}>;
|
|
199
|
-
static fromFields(fields: Record<string, any>): StakePool;
|
|
200
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): StakePool;
|
|
201
|
-
static fromBcs(data: Uint8Array): StakePool;
|
|
202
|
-
toJSONField(): {
|
|
203
|
-
id: string;
|
|
204
|
-
poolInfo: {
|
|
205
|
-
stakeToken: {
|
|
206
|
-
name: string;
|
|
207
|
-
};
|
|
208
|
-
index: string;
|
|
209
|
-
nextUserShareId: string;
|
|
210
|
-
totalShare: string;
|
|
211
|
-
active: boolean;
|
|
212
|
-
u64Padding: string[];
|
|
213
|
-
};
|
|
214
|
-
config: {
|
|
215
|
-
unlockCountdownTsMs: string;
|
|
216
|
-
u64Padding: string[];
|
|
217
|
-
};
|
|
218
|
-
incentives: {
|
|
219
|
-
tokenType: {
|
|
220
|
-
name: string;
|
|
221
|
-
};
|
|
222
|
-
config: {
|
|
223
|
-
periodIncentiveAmount: string;
|
|
224
|
-
incentiveIntervalTsMs: string;
|
|
225
|
-
u64Padding: string[];
|
|
226
|
-
};
|
|
227
|
-
info: {
|
|
228
|
-
active: boolean;
|
|
229
|
-
lastAllocateTsMs: string;
|
|
230
|
-
incentivePriceIndex: string;
|
|
231
|
-
unallocatedAmount: string;
|
|
232
|
-
u64Padding: string[];
|
|
233
|
-
};
|
|
234
|
-
}[];
|
|
235
|
-
u64Padding: string[];
|
|
236
|
-
};
|
|
237
|
-
toJSON(): {
|
|
238
|
-
id: string;
|
|
239
|
-
poolInfo: {
|
|
240
|
-
stakeToken: {
|
|
241
|
-
name: string;
|
|
242
|
-
};
|
|
243
|
-
index: string;
|
|
244
|
-
nextUserShareId: string;
|
|
245
|
-
totalShare: string;
|
|
246
|
-
active: boolean;
|
|
247
|
-
u64Padding: string[];
|
|
248
|
-
};
|
|
249
|
-
config: {
|
|
250
|
-
unlockCountdownTsMs: string;
|
|
251
|
-
u64Padding: string[];
|
|
252
|
-
};
|
|
253
|
-
incentives: {
|
|
254
|
-
tokenType: {
|
|
255
|
-
name: string;
|
|
256
|
-
};
|
|
257
|
-
config: {
|
|
258
|
-
periodIncentiveAmount: string;
|
|
259
|
-
incentiveIntervalTsMs: string;
|
|
260
|
-
u64Padding: string[];
|
|
261
|
-
};
|
|
262
|
-
info: {
|
|
263
|
-
active: boolean;
|
|
264
|
-
lastAllocateTsMs: string;
|
|
265
|
-
incentivePriceIndex: string;
|
|
266
|
-
unallocatedAmount: string;
|
|
267
|
-
u64Padding: string[];
|
|
268
|
-
};
|
|
269
|
-
}[];
|
|
270
|
-
u64Padding: string[];
|
|
271
|
-
$typeName: string;
|
|
272
|
-
$typeArgs: [];
|
|
273
|
-
};
|
|
274
|
-
static fromJSONField(field: any): StakePool;
|
|
275
|
-
static fromJSON(json: Record<string, any>): StakePool;
|
|
276
|
-
static fromSuiParsedData(content: SuiParsedData): StakePool;
|
|
277
|
-
static fromSuiObjectData(data: SuiObjectData): StakePool;
|
|
278
|
-
static fetch(client: SuiClient, id: string): Promise<StakePool>;
|
|
279
|
-
}
|
|
280
|
-
export declare function isIncentive(type: string): boolean;
|
|
281
|
-
export interface IncentiveFields {
|
|
282
|
-
tokenType: ToField<TypeName>;
|
|
283
|
-
config: ToField<IncentiveConfig>;
|
|
284
|
-
info: ToField<IncentiveInfo>;
|
|
285
|
-
}
|
|
286
|
-
export type IncentiveReified = Reified<Incentive, IncentiveFields>;
|
|
287
|
-
export declare class Incentive implements StructClass {
|
|
288
|
-
__StructClass: true;
|
|
289
|
-
static readonly $typeName: string;
|
|
290
|
-
static readonly $numTypeParams = 0;
|
|
291
|
-
static readonly $isPhantom: readonly [];
|
|
292
|
-
readonly $typeName: string;
|
|
293
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::Incentive`;
|
|
294
|
-
readonly $typeArgs: [];
|
|
295
|
-
readonly $isPhantom: readonly [];
|
|
296
|
-
readonly tokenType: ToField<TypeName>;
|
|
297
|
-
readonly config: ToField<IncentiveConfig>;
|
|
298
|
-
readonly info: ToField<IncentiveInfo>;
|
|
299
|
-
private constructor();
|
|
300
|
-
static reified(): IncentiveReified;
|
|
301
|
-
static get r(): reified.StructClassReified<Incentive, IncentiveFields>;
|
|
302
|
-
static phantom(): PhantomReified<ToTypeStr<Incentive>>;
|
|
303
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::Incentive" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::Incentive">;
|
|
304
|
-
private static instantiateBcs;
|
|
305
|
-
private static cachedBcs;
|
|
306
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
307
|
-
token_type: {
|
|
308
|
-
name: {
|
|
309
|
-
bytes: number[];
|
|
310
|
-
};
|
|
311
|
-
};
|
|
312
|
-
config: {
|
|
313
|
-
period_incentive_amount: string;
|
|
314
|
-
incentive_interval_ts_ms: string;
|
|
315
|
-
u64_padding: string[];
|
|
316
|
-
};
|
|
317
|
-
info: {
|
|
318
|
-
active: boolean;
|
|
319
|
-
last_allocate_ts_ms: string;
|
|
320
|
-
incentive_price_index: string;
|
|
321
|
-
unallocated_amount: string;
|
|
322
|
-
u64_padding: string[];
|
|
323
|
-
};
|
|
324
|
-
}, {
|
|
325
|
-
token_type: {
|
|
326
|
-
name: {
|
|
327
|
-
bytes: Iterable<number> & {
|
|
328
|
-
length: number;
|
|
329
|
-
};
|
|
330
|
-
};
|
|
331
|
-
};
|
|
332
|
-
config: {
|
|
333
|
-
period_incentive_amount: string | number | bigint;
|
|
334
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
335
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
336
|
-
length: number;
|
|
337
|
-
};
|
|
338
|
-
};
|
|
339
|
-
info: {
|
|
340
|
-
active: boolean;
|
|
341
|
-
last_allocate_ts_ms: string | number | bigint;
|
|
342
|
-
incentive_price_index: string | number | bigint;
|
|
343
|
-
unallocated_amount: string | number | bigint;
|
|
344
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
345
|
-
length: number;
|
|
346
|
-
};
|
|
347
|
-
};
|
|
348
|
-
}>;
|
|
349
|
-
static fromFields(fields: Record<string, any>): Incentive;
|
|
350
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): Incentive;
|
|
351
|
-
static fromBcs(data: Uint8Array): Incentive;
|
|
352
|
-
toJSONField(): {
|
|
353
|
-
tokenType: {
|
|
354
|
-
name: string;
|
|
355
|
-
};
|
|
356
|
-
config: {
|
|
357
|
-
periodIncentiveAmount: string;
|
|
358
|
-
incentiveIntervalTsMs: string;
|
|
359
|
-
u64Padding: string[];
|
|
360
|
-
};
|
|
361
|
-
info: {
|
|
362
|
-
active: boolean;
|
|
363
|
-
lastAllocateTsMs: string;
|
|
364
|
-
incentivePriceIndex: string;
|
|
365
|
-
unallocatedAmount: string;
|
|
366
|
-
u64Padding: string[];
|
|
367
|
-
};
|
|
368
|
-
};
|
|
369
|
-
toJSON(): {
|
|
370
|
-
tokenType: {
|
|
371
|
-
name: string;
|
|
372
|
-
};
|
|
373
|
-
config: {
|
|
374
|
-
periodIncentiveAmount: string;
|
|
375
|
-
incentiveIntervalTsMs: string;
|
|
376
|
-
u64Padding: string[];
|
|
377
|
-
};
|
|
378
|
-
info: {
|
|
379
|
-
active: boolean;
|
|
380
|
-
lastAllocateTsMs: string;
|
|
381
|
-
incentivePriceIndex: string;
|
|
382
|
-
unallocatedAmount: string;
|
|
383
|
-
u64Padding: string[];
|
|
384
|
-
};
|
|
385
|
-
$typeName: string;
|
|
386
|
-
$typeArgs: [];
|
|
387
|
-
};
|
|
388
|
-
static fromJSONField(field: any): Incentive;
|
|
389
|
-
static fromJSON(json: Record<string, any>): Incentive;
|
|
390
|
-
static fromSuiParsedData(content: SuiParsedData): Incentive;
|
|
391
|
-
static fromSuiObjectData(data: SuiObjectData): Incentive;
|
|
392
|
-
static fetch(client: SuiClient, id: string): Promise<Incentive>;
|
|
393
|
-
}
|
|
394
|
-
export declare function isStakePoolInfo(type: string): boolean;
|
|
395
|
-
export interface StakePoolInfoFields {
|
|
396
|
-
stakeToken: ToField<TypeName>;
|
|
397
|
-
index: ToField<"u64">;
|
|
398
|
-
nextUserShareId: ToField<"u64">;
|
|
399
|
-
totalShare: ToField<"u64">;
|
|
400
|
-
active: ToField<"bool">;
|
|
401
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
402
|
-
}
|
|
403
|
-
export type StakePoolInfoReified = Reified<StakePoolInfo, StakePoolInfoFields>;
|
|
404
|
-
export declare class StakePoolInfo implements StructClass {
|
|
405
|
-
__StructClass: true;
|
|
406
|
-
static readonly $typeName: string;
|
|
407
|
-
static readonly $numTypeParams = 0;
|
|
408
|
-
static readonly $isPhantom: readonly [];
|
|
409
|
-
readonly $typeName: string;
|
|
410
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePoolInfo`;
|
|
411
|
-
readonly $typeArgs: [];
|
|
412
|
-
readonly $isPhantom: readonly [];
|
|
413
|
-
readonly stakeToken: ToField<TypeName>;
|
|
414
|
-
readonly index: ToField<"u64">;
|
|
415
|
-
readonly nextUserShareId: ToField<"u64">;
|
|
416
|
-
readonly totalShare: ToField<"u64">;
|
|
417
|
-
readonly active: ToField<"bool">;
|
|
418
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
419
|
-
private constructor();
|
|
420
|
-
static reified(): StakePoolInfoReified;
|
|
421
|
-
static get r(): reified.StructClassReified<StakePoolInfo, StakePoolInfoFields>;
|
|
422
|
-
static phantom(): PhantomReified<ToTypeStr<StakePoolInfo>>;
|
|
423
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolInfo">;
|
|
424
|
-
private static instantiateBcs;
|
|
425
|
-
private static cachedBcs;
|
|
426
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
427
|
-
stake_token: {
|
|
428
|
-
name: {
|
|
429
|
-
bytes: number[];
|
|
430
|
-
};
|
|
431
|
-
};
|
|
432
|
-
index: string;
|
|
433
|
-
next_user_share_id: string;
|
|
434
|
-
total_share: string;
|
|
435
|
-
active: boolean;
|
|
436
|
-
u64_padding: string[];
|
|
437
|
-
}, {
|
|
438
|
-
stake_token: {
|
|
439
|
-
name: {
|
|
440
|
-
bytes: Iterable<number> & {
|
|
441
|
-
length: number;
|
|
442
|
-
};
|
|
443
|
-
};
|
|
444
|
-
};
|
|
445
|
-
index: string | number | bigint;
|
|
446
|
-
next_user_share_id: string | number | bigint;
|
|
447
|
-
total_share: string | number | bigint;
|
|
448
|
-
active: boolean;
|
|
449
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
450
|
-
length: number;
|
|
451
|
-
};
|
|
452
|
-
}>;
|
|
453
|
-
static fromFields(fields: Record<string, any>): StakePoolInfo;
|
|
454
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolInfo;
|
|
455
|
-
static fromBcs(data: Uint8Array): StakePoolInfo;
|
|
456
|
-
toJSONField(): {
|
|
457
|
-
stakeToken: {
|
|
458
|
-
name: string;
|
|
459
|
-
};
|
|
460
|
-
index: string;
|
|
461
|
-
nextUserShareId: string;
|
|
462
|
-
totalShare: string;
|
|
463
|
-
active: boolean;
|
|
464
|
-
u64Padding: string[];
|
|
465
|
-
};
|
|
466
|
-
toJSON(): {
|
|
467
|
-
stakeToken: {
|
|
468
|
-
name: string;
|
|
469
|
-
};
|
|
470
|
-
index: string;
|
|
471
|
-
nextUserShareId: string;
|
|
472
|
-
totalShare: string;
|
|
473
|
-
active: boolean;
|
|
474
|
-
u64Padding: string[];
|
|
475
|
-
$typeName: string;
|
|
476
|
-
$typeArgs: [];
|
|
477
|
-
};
|
|
478
|
-
static fromJSONField(field: any): StakePoolInfo;
|
|
479
|
-
static fromJSON(json: Record<string, any>): StakePoolInfo;
|
|
480
|
-
static fromSuiParsedData(content: SuiParsedData): StakePoolInfo;
|
|
481
|
-
static fromSuiObjectData(data: SuiObjectData): StakePoolInfo;
|
|
482
|
-
static fetch(client: SuiClient, id: string): Promise<StakePoolInfo>;
|
|
483
|
-
}
|
|
484
|
-
export declare function isStakePoolConfig(type: string): boolean;
|
|
485
|
-
export interface StakePoolConfigFields {
|
|
486
|
-
unlockCountdownTsMs: ToField<"u64">;
|
|
487
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
488
|
-
}
|
|
489
|
-
export type StakePoolConfigReified = Reified<StakePoolConfig, StakePoolConfigFields>;
|
|
490
|
-
export declare class StakePoolConfig implements StructClass {
|
|
491
|
-
__StructClass: true;
|
|
492
|
-
static readonly $typeName: string;
|
|
493
|
-
static readonly $numTypeParams = 0;
|
|
494
|
-
static readonly $isPhantom: readonly [];
|
|
495
|
-
readonly $typeName: string;
|
|
496
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakePoolConfig`;
|
|
497
|
-
readonly $typeArgs: [];
|
|
498
|
-
readonly $isPhantom: readonly [];
|
|
499
|
-
readonly unlockCountdownTsMs: ToField<"u64">;
|
|
500
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
501
|
-
private constructor();
|
|
502
|
-
static reified(): StakePoolConfigReified;
|
|
503
|
-
static get r(): reified.StructClassReified<StakePoolConfig, StakePoolConfigFields>;
|
|
504
|
-
static phantom(): PhantomReified<ToTypeStr<StakePoolConfig>>;
|
|
505
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakePoolConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakePoolConfig">;
|
|
506
|
-
private static instantiateBcs;
|
|
507
|
-
private static cachedBcs;
|
|
508
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
509
|
-
unlock_countdown_ts_ms: string;
|
|
510
|
-
u64_padding: string[];
|
|
511
|
-
}, {
|
|
512
|
-
unlock_countdown_ts_ms: string | number | bigint;
|
|
513
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
514
|
-
length: number;
|
|
515
|
-
};
|
|
516
|
-
}>;
|
|
517
|
-
static fromFields(fields: Record<string, any>): StakePoolConfig;
|
|
518
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): StakePoolConfig;
|
|
519
|
-
static fromBcs(data: Uint8Array): StakePoolConfig;
|
|
520
|
-
toJSONField(): {
|
|
521
|
-
unlockCountdownTsMs: string;
|
|
522
|
-
u64Padding: string[];
|
|
523
|
-
};
|
|
524
|
-
toJSON(): {
|
|
525
|
-
unlockCountdownTsMs: string;
|
|
526
|
-
u64Padding: string[];
|
|
527
|
-
$typeName: string;
|
|
528
|
-
$typeArgs: [];
|
|
529
|
-
};
|
|
530
|
-
static fromJSONField(field: any): StakePoolConfig;
|
|
531
|
-
static fromJSON(json: Record<string, any>): StakePoolConfig;
|
|
532
|
-
static fromSuiParsedData(content: SuiParsedData): StakePoolConfig;
|
|
533
|
-
static fromSuiObjectData(data: SuiObjectData): StakePoolConfig;
|
|
534
|
-
static fetch(client: SuiClient, id: string): Promise<StakePoolConfig>;
|
|
535
|
-
}
|
|
536
|
-
export declare function isIncentiveConfig(type: string): boolean;
|
|
537
|
-
export interface IncentiveConfigFields {
|
|
538
|
-
periodIncentiveAmount: ToField<"u64">;
|
|
539
|
-
incentiveIntervalTsMs: ToField<"u64">;
|
|
540
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
541
|
-
}
|
|
542
|
-
export type IncentiveConfigReified = Reified<IncentiveConfig, IncentiveConfigFields>;
|
|
543
|
-
export declare class IncentiveConfig implements StructClass {
|
|
544
|
-
__StructClass: true;
|
|
545
|
-
static readonly $typeName: string;
|
|
546
|
-
static readonly $numTypeParams = 0;
|
|
547
|
-
static readonly $isPhantom: readonly [];
|
|
548
|
-
readonly $typeName: string;
|
|
549
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::IncentiveConfig`;
|
|
550
|
-
readonly $typeArgs: [];
|
|
551
|
-
readonly $isPhantom: readonly [];
|
|
552
|
-
readonly periodIncentiveAmount: ToField<"u64">;
|
|
553
|
-
readonly incentiveIntervalTsMs: ToField<"u64">;
|
|
554
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
555
|
-
private constructor();
|
|
556
|
-
static reified(): IncentiveConfigReified;
|
|
557
|
-
static get r(): reified.StructClassReified<IncentiveConfig, IncentiveConfigFields>;
|
|
558
|
-
static phantom(): PhantomReified<ToTypeStr<IncentiveConfig>>;
|
|
559
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveConfig" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveConfig">;
|
|
560
|
-
private static instantiateBcs;
|
|
561
|
-
private static cachedBcs;
|
|
562
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
563
|
-
period_incentive_amount: string;
|
|
564
|
-
incentive_interval_ts_ms: string;
|
|
565
|
-
u64_padding: string[];
|
|
566
|
-
}, {
|
|
567
|
-
period_incentive_amount: string | number | bigint;
|
|
568
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
569
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
570
|
-
length: number;
|
|
571
|
-
};
|
|
572
|
-
}>;
|
|
573
|
-
static fromFields(fields: Record<string, any>): IncentiveConfig;
|
|
574
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): IncentiveConfig;
|
|
575
|
-
static fromBcs(data: Uint8Array): IncentiveConfig;
|
|
576
|
-
toJSONField(): {
|
|
577
|
-
periodIncentiveAmount: string;
|
|
578
|
-
incentiveIntervalTsMs: string;
|
|
579
|
-
u64Padding: string[];
|
|
580
|
-
};
|
|
581
|
-
toJSON(): {
|
|
582
|
-
periodIncentiveAmount: string;
|
|
583
|
-
incentiveIntervalTsMs: string;
|
|
584
|
-
u64Padding: string[];
|
|
585
|
-
$typeName: string;
|
|
586
|
-
$typeArgs: [];
|
|
587
|
-
};
|
|
588
|
-
static fromJSONField(field: any): IncentiveConfig;
|
|
589
|
-
static fromJSON(json: Record<string, any>): IncentiveConfig;
|
|
590
|
-
static fromSuiParsedData(content: SuiParsedData): IncentiveConfig;
|
|
591
|
-
static fromSuiObjectData(data: SuiObjectData): IncentiveConfig;
|
|
592
|
-
static fetch(client: SuiClient, id: string): Promise<IncentiveConfig>;
|
|
593
|
-
}
|
|
594
|
-
export declare function isIncentiveInfo(type: string): boolean;
|
|
595
|
-
export interface IncentiveInfoFields {
|
|
596
|
-
active: ToField<"bool">;
|
|
597
|
-
lastAllocateTsMs: ToField<"u64">;
|
|
598
|
-
incentivePriceIndex: ToField<"u64">;
|
|
599
|
-
unallocatedAmount: ToField<"u64">;
|
|
600
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
601
|
-
}
|
|
602
|
-
export type IncentiveInfoReified = Reified<IncentiveInfo, IncentiveInfoFields>;
|
|
603
|
-
export declare class IncentiveInfo implements StructClass {
|
|
604
|
-
__StructClass: true;
|
|
605
|
-
static readonly $typeName: string;
|
|
606
|
-
static readonly $numTypeParams = 0;
|
|
607
|
-
static readonly $isPhantom: readonly [];
|
|
608
|
-
readonly $typeName: string;
|
|
609
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::IncentiveInfo`;
|
|
610
|
-
readonly $typeArgs: [];
|
|
611
|
-
readonly $isPhantom: readonly [];
|
|
612
|
-
readonly active: ToField<"bool">;
|
|
613
|
-
readonly lastAllocateTsMs: ToField<"u64">;
|
|
614
|
-
readonly incentivePriceIndex: ToField<"u64">;
|
|
615
|
-
readonly unallocatedAmount: ToField<"u64">;
|
|
616
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
617
|
-
private constructor();
|
|
618
|
-
static reified(): IncentiveInfoReified;
|
|
619
|
-
static get r(): reified.StructClassReified<IncentiveInfo, IncentiveInfoFields>;
|
|
620
|
-
static phantom(): PhantomReified<ToTypeStr<IncentiveInfo>>;
|
|
621
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::IncentiveInfo" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::IncentiveInfo">;
|
|
622
|
-
private static instantiateBcs;
|
|
623
|
-
private static cachedBcs;
|
|
624
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
625
|
-
active: boolean;
|
|
626
|
-
last_allocate_ts_ms: string;
|
|
627
|
-
incentive_price_index: string;
|
|
628
|
-
unallocated_amount: string;
|
|
629
|
-
u64_padding: string[];
|
|
630
|
-
}, {
|
|
631
|
-
active: boolean;
|
|
632
|
-
last_allocate_ts_ms: string | number | bigint;
|
|
633
|
-
incentive_price_index: string | number | bigint;
|
|
634
|
-
unallocated_amount: string | number | bigint;
|
|
635
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
636
|
-
length: number;
|
|
637
|
-
};
|
|
638
|
-
}>;
|
|
639
|
-
static fromFields(fields: Record<string, any>): IncentiveInfo;
|
|
640
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): IncentiveInfo;
|
|
641
|
-
static fromBcs(data: Uint8Array): IncentiveInfo;
|
|
642
|
-
toJSONField(): {
|
|
643
|
-
active: boolean;
|
|
644
|
-
lastAllocateTsMs: string;
|
|
645
|
-
incentivePriceIndex: string;
|
|
646
|
-
unallocatedAmount: string;
|
|
647
|
-
u64Padding: string[];
|
|
648
|
-
};
|
|
649
|
-
toJSON(): {
|
|
650
|
-
active: boolean;
|
|
651
|
-
lastAllocateTsMs: string;
|
|
652
|
-
incentivePriceIndex: string;
|
|
653
|
-
unallocatedAmount: string;
|
|
654
|
-
u64Padding: string[];
|
|
655
|
-
$typeName: string;
|
|
656
|
-
$typeArgs: [];
|
|
657
|
-
};
|
|
658
|
-
static fromJSONField(field: any): IncentiveInfo;
|
|
659
|
-
static fromJSON(json: Record<string, any>): IncentiveInfo;
|
|
660
|
-
static fromSuiParsedData(content: SuiParsedData): IncentiveInfo;
|
|
661
|
-
static fromSuiObjectData(data: SuiObjectData): IncentiveInfo;
|
|
662
|
-
static fetch(client: SuiClient, id: string): Promise<IncentiveInfo>;
|
|
663
|
-
}
|
|
664
|
-
export declare function isLpUserShare(type: string): boolean;
|
|
665
|
-
export interface LpUserShareFields {
|
|
666
|
-
user: ToField<"address">;
|
|
667
|
-
userShareId: ToField<"u64">;
|
|
668
|
-
stakeTsMs: ToField<"u64">;
|
|
669
|
-
totalShares: ToField<"u64">;
|
|
670
|
-
activeShares: ToField<"u64">;
|
|
671
|
-
deactivatingShares: ToField<Vector<DeactivatingShares>>;
|
|
672
|
-
lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
|
|
673
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
674
|
-
}
|
|
675
|
-
export type LpUserShareReified = Reified<LpUserShare, LpUserShareFields>;
|
|
676
|
-
export declare class LpUserShare implements StructClass {
|
|
677
|
-
__StructClass: true;
|
|
678
|
-
static readonly $typeName: string;
|
|
679
|
-
static readonly $numTypeParams = 0;
|
|
680
|
-
static readonly $isPhantom: readonly [];
|
|
681
|
-
readonly $typeName: string;
|
|
682
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::LpUserShare`;
|
|
683
|
-
readonly $typeArgs: [];
|
|
684
|
-
readonly $isPhantom: readonly [];
|
|
685
|
-
readonly user: ToField<"address">;
|
|
686
|
-
readonly userShareId: ToField<"u64">;
|
|
687
|
-
readonly stakeTsMs: ToField<"u64">;
|
|
688
|
-
readonly totalShares: ToField<"u64">;
|
|
689
|
-
readonly activeShares: ToField<"u64">;
|
|
690
|
-
readonly deactivatingShares: ToField<Vector<DeactivatingShares>>;
|
|
691
|
-
readonly lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
|
|
692
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
693
|
-
private constructor();
|
|
694
|
-
static reified(): LpUserShareReified;
|
|
695
|
-
static get r(): reified.StructClassReified<LpUserShare, LpUserShareFields>;
|
|
696
|
-
static phantom(): PhantomReified<ToTypeStr<LpUserShare>>;
|
|
697
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::LpUserShare" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::LpUserShare">;
|
|
698
|
-
private static instantiateBcs;
|
|
699
|
-
private static cachedBcs;
|
|
700
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
701
|
-
user: string;
|
|
702
|
-
user_share_id: string;
|
|
703
|
-
stake_ts_ms: string;
|
|
704
|
-
total_shares: string;
|
|
705
|
-
active_shares: string;
|
|
706
|
-
deactivating_shares: {
|
|
707
|
-
shares: string;
|
|
708
|
-
unsubscribed_ts_ms: string;
|
|
709
|
-
unlocked_ts_ms: string;
|
|
710
|
-
unsubscribed_incentive_price_index: {
|
|
711
|
-
contents: {
|
|
712
|
-
key: {
|
|
713
|
-
name: {
|
|
714
|
-
bytes: number[];
|
|
715
|
-
};
|
|
716
|
-
};
|
|
717
|
-
value: string;
|
|
718
|
-
}[];
|
|
719
|
-
};
|
|
720
|
-
u64_padding: string[];
|
|
721
|
-
}[];
|
|
722
|
-
last_incentive_price_index: {
|
|
723
|
-
contents: {
|
|
724
|
-
key: {
|
|
725
|
-
name: {
|
|
726
|
-
bytes: number[];
|
|
727
|
-
};
|
|
728
|
-
};
|
|
729
|
-
value: string;
|
|
730
|
-
}[];
|
|
731
|
-
};
|
|
732
|
-
u64_padding: string[];
|
|
733
|
-
}, {
|
|
734
|
-
user: string;
|
|
735
|
-
user_share_id: string | number | bigint;
|
|
736
|
-
stake_ts_ms: string | number | bigint;
|
|
737
|
-
total_shares: string | number | bigint;
|
|
738
|
-
active_shares: string | number | bigint;
|
|
739
|
-
deactivating_shares: Iterable<{
|
|
740
|
-
shares: string | number | bigint;
|
|
741
|
-
unsubscribed_ts_ms: string | number | bigint;
|
|
742
|
-
unlocked_ts_ms: string | number | bigint;
|
|
743
|
-
unsubscribed_incentive_price_index: {
|
|
744
|
-
contents: Iterable<{
|
|
745
|
-
key: {
|
|
746
|
-
name: {
|
|
747
|
-
bytes: Iterable<number> & {
|
|
748
|
-
length: number;
|
|
749
|
-
};
|
|
750
|
-
};
|
|
751
|
-
};
|
|
752
|
-
value: string | number | bigint;
|
|
753
|
-
}> & {
|
|
754
|
-
length: number;
|
|
755
|
-
};
|
|
756
|
-
};
|
|
757
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
758
|
-
length: number;
|
|
759
|
-
};
|
|
760
|
-
}> & {
|
|
761
|
-
length: number;
|
|
762
|
-
};
|
|
763
|
-
last_incentive_price_index: {
|
|
764
|
-
contents: Iterable<{
|
|
765
|
-
key: {
|
|
766
|
-
name: {
|
|
767
|
-
bytes: Iterable<number> & {
|
|
768
|
-
length: number;
|
|
769
|
-
};
|
|
770
|
-
};
|
|
771
|
-
};
|
|
772
|
-
value: string | number | bigint;
|
|
773
|
-
}> & {
|
|
774
|
-
length: number;
|
|
775
|
-
};
|
|
776
|
-
};
|
|
777
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
778
|
-
length: number;
|
|
779
|
-
};
|
|
780
|
-
}>;
|
|
781
|
-
static fromFields(fields: Record<string, any>): LpUserShare;
|
|
782
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): LpUserShare;
|
|
783
|
-
static fromBcs(data: Uint8Array): LpUserShare;
|
|
784
|
-
toJSONField(): {
|
|
785
|
-
user: string;
|
|
786
|
-
userShareId: string;
|
|
787
|
-
stakeTsMs: string;
|
|
788
|
-
totalShares: string;
|
|
789
|
-
activeShares: string;
|
|
790
|
-
deactivatingShares: {
|
|
791
|
-
shares: string;
|
|
792
|
-
unsubscribedTsMs: string;
|
|
793
|
-
unlockedTsMs: string;
|
|
794
|
-
unsubscribedIncentivePriceIndex: {
|
|
795
|
-
contents: {
|
|
796
|
-
key: {
|
|
797
|
-
name: string;
|
|
798
|
-
};
|
|
799
|
-
value: string;
|
|
800
|
-
}[];
|
|
801
|
-
};
|
|
802
|
-
u64Padding: string[];
|
|
803
|
-
}[];
|
|
804
|
-
lastIncentivePriceIndex: {
|
|
805
|
-
contents: {
|
|
806
|
-
key: {
|
|
807
|
-
name: string;
|
|
808
|
-
};
|
|
809
|
-
value: string;
|
|
810
|
-
}[];
|
|
811
|
-
};
|
|
812
|
-
u64Padding: string[];
|
|
813
|
-
};
|
|
814
|
-
toJSON(): {
|
|
815
|
-
user: string;
|
|
816
|
-
userShareId: string;
|
|
817
|
-
stakeTsMs: string;
|
|
818
|
-
totalShares: string;
|
|
819
|
-
activeShares: string;
|
|
820
|
-
deactivatingShares: {
|
|
821
|
-
shares: string;
|
|
822
|
-
unsubscribedTsMs: string;
|
|
823
|
-
unlockedTsMs: string;
|
|
824
|
-
unsubscribedIncentivePriceIndex: {
|
|
825
|
-
contents: {
|
|
826
|
-
key: {
|
|
827
|
-
name: string;
|
|
828
|
-
};
|
|
829
|
-
value: string;
|
|
830
|
-
}[];
|
|
831
|
-
};
|
|
832
|
-
u64Padding: string[];
|
|
833
|
-
}[];
|
|
834
|
-
lastIncentivePriceIndex: {
|
|
835
|
-
contents: {
|
|
836
|
-
key: {
|
|
837
|
-
name: string;
|
|
838
|
-
};
|
|
839
|
-
value: string;
|
|
840
|
-
}[];
|
|
841
|
-
};
|
|
842
|
-
u64Padding: string[];
|
|
843
|
-
$typeName: string;
|
|
844
|
-
$typeArgs: [];
|
|
845
|
-
};
|
|
846
|
-
static fromJSONField(field: any): LpUserShare;
|
|
847
|
-
static fromJSON(json: Record<string, any>): LpUserShare;
|
|
848
|
-
static fromSuiParsedData(content: SuiParsedData): LpUserShare;
|
|
849
|
-
static fromSuiObjectData(data: SuiObjectData): LpUserShare;
|
|
850
|
-
static fetch(client: SuiClient, id: string): Promise<LpUserShare>;
|
|
851
|
-
}
|
|
852
|
-
export declare function isDeactivatingShares(type: string): boolean;
|
|
853
|
-
export interface DeactivatingSharesFields {
|
|
854
|
-
shares: ToField<"u64">;
|
|
855
|
-
unsubscribedTsMs: ToField<"u64">;
|
|
856
|
-
unlockedTsMs: ToField<"u64">;
|
|
857
|
-
unsubscribedIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
|
|
858
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
859
|
-
}
|
|
860
|
-
export type DeactivatingSharesReified = Reified<DeactivatingShares, DeactivatingSharesFields>;
|
|
861
|
-
export declare class DeactivatingShares implements StructClass {
|
|
862
|
-
__StructClass: true;
|
|
863
|
-
static readonly $typeName: string;
|
|
864
|
-
static readonly $numTypeParams = 0;
|
|
865
|
-
static readonly $isPhantom: readonly [];
|
|
866
|
-
readonly $typeName: string;
|
|
867
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::DeactivatingShares`;
|
|
868
|
-
readonly $typeArgs: [];
|
|
869
|
-
readonly $isPhantom: readonly [];
|
|
870
|
-
readonly shares: ToField<"u64">;
|
|
871
|
-
readonly unsubscribedTsMs: ToField<"u64">;
|
|
872
|
-
readonly unlockedTsMs: ToField<"u64">;
|
|
873
|
-
readonly unsubscribedIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
|
|
874
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
875
|
-
private constructor();
|
|
876
|
-
static reified(): DeactivatingSharesReified;
|
|
877
|
-
static get r(): reified.StructClassReified<DeactivatingShares, DeactivatingSharesFields>;
|
|
878
|
-
static phantom(): PhantomReified<ToTypeStr<DeactivatingShares>>;
|
|
879
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivatingShares" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivatingShares">;
|
|
880
|
-
private static instantiateBcs;
|
|
881
|
-
private static cachedBcs;
|
|
882
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
883
|
-
shares: string;
|
|
884
|
-
unsubscribed_ts_ms: string;
|
|
885
|
-
unlocked_ts_ms: string;
|
|
886
|
-
unsubscribed_incentive_price_index: {
|
|
887
|
-
contents: {
|
|
888
|
-
key: {
|
|
889
|
-
name: {
|
|
890
|
-
bytes: number[];
|
|
891
|
-
};
|
|
892
|
-
};
|
|
893
|
-
value: string;
|
|
894
|
-
}[];
|
|
895
|
-
};
|
|
896
|
-
u64_padding: string[];
|
|
897
|
-
}, {
|
|
898
|
-
shares: string | number | bigint;
|
|
899
|
-
unsubscribed_ts_ms: string | number | bigint;
|
|
900
|
-
unlocked_ts_ms: string | number | bigint;
|
|
901
|
-
unsubscribed_incentive_price_index: {
|
|
902
|
-
contents: Iterable<{
|
|
903
|
-
key: {
|
|
904
|
-
name: {
|
|
905
|
-
bytes: Iterable<number> & {
|
|
906
|
-
length: number;
|
|
907
|
-
};
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
value: string | number | bigint;
|
|
911
|
-
}> & {
|
|
912
|
-
length: number;
|
|
913
|
-
};
|
|
914
|
-
};
|
|
915
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
916
|
-
length: number;
|
|
917
|
-
};
|
|
918
|
-
}>;
|
|
919
|
-
static fromFields(fields: Record<string, any>): DeactivatingShares;
|
|
920
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): DeactivatingShares;
|
|
921
|
-
static fromBcs(data: Uint8Array): DeactivatingShares;
|
|
922
|
-
toJSONField(): {
|
|
923
|
-
shares: string;
|
|
924
|
-
unsubscribedTsMs: string;
|
|
925
|
-
unlockedTsMs: string;
|
|
926
|
-
unsubscribedIncentivePriceIndex: {
|
|
927
|
-
contents: {
|
|
928
|
-
key: {
|
|
929
|
-
name: string;
|
|
930
|
-
};
|
|
931
|
-
value: string;
|
|
932
|
-
}[];
|
|
933
|
-
};
|
|
934
|
-
u64Padding: string[];
|
|
935
|
-
};
|
|
936
|
-
toJSON(): {
|
|
937
|
-
shares: string;
|
|
938
|
-
unsubscribedTsMs: string;
|
|
939
|
-
unlockedTsMs: string;
|
|
940
|
-
unsubscribedIncentivePriceIndex: {
|
|
941
|
-
contents: {
|
|
942
|
-
key: {
|
|
943
|
-
name: string;
|
|
944
|
-
};
|
|
945
|
-
value: string;
|
|
946
|
-
}[];
|
|
947
|
-
};
|
|
948
|
-
u64Padding: string[];
|
|
949
|
-
$typeName: string;
|
|
950
|
-
$typeArgs: [];
|
|
951
|
-
};
|
|
952
|
-
static fromJSONField(field: any): DeactivatingShares;
|
|
953
|
-
static fromJSON(json: Record<string, any>): DeactivatingShares;
|
|
954
|
-
static fromSuiParsedData(content: SuiParsedData): DeactivatingShares;
|
|
955
|
-
static fromSuiObjectData(data: SuiObjectData): DeactivatingShares;
|
|
956
|
-
static fetch(client: SuiClient, id: string): Promise<DeactivatingShares>;
|
|
957
|
-
}
|
|
958
|
-
export declare function isNewStakePoolEvent(type: string): boolean;
|
|
959
|
-
export interface NewStakePoolEventFields {
|
|
960
|
-
sender: ToField<"address">;
|
|
961
|
-
stakePoolInfo: ToField<StakePoolInfo>;
|
|
962
|
-
stakePoolConfig: ToField<StakePoolConfig>;
|
|
963
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
964
|
-
}
|
|
965
|
-
export type NewStakePoolEventReified = Reified<NewStakePoolEvent, NewStakePoolEventFields>;
|
|
966
|
-
export declare class NewStakePoolEvent implements StructClass {
|
|
967
|
-
__StructClass: true;
|
|
968
|
-
static readonly $typeName: string;
|
|
969
|
-
static readonly $numTypeParams = 0;
|
|
970
|
-
static readonly $isPhantom: readonly [];
|
|
971
|
-
readonly $typeName: string;
|
|
972
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::NewStakePoolEvent`;
|
|
973
|
-
readonly $typeArgs: [];
|
|
974
|
-
readonly $isPhantom: readonly [];
|
|
975
|
-
readonly sender: ToField<"address">;
|
|
976
|
-
readonly stakePoolInfo: ToField<StakePoolInfo>;
|
|
977
|
-
readonly stakePoolConfig: ToField<StakePoolConfig>;
|
|
978
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
979
|
-
private constructor();
|
|
980
|
-
static reified(): NewStakePoolEventReified;
|
|
981
|
-
static get r(): reified.StructClassReified<NewStakePoolEvent, NewStakePoolEventFields>;
|
|
982
|
-
static phantom(): PhantomReified<ToTypeStr<NewStakePoolEvent>>;
|
|
983
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::NewStakePoolEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::NewStakePoolEvent">;
|
|
984
|
-
private static instantiateBcs;
|
|
985
|
-
private static cachedBcs;
|
|
986
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
987
|
-
sender: string;
|
|
988
|
-
stake_pool_info: {
|
|
989
|
-
stake_token: {
|
|
990
|
-
name: {
|
|
991
|
-
bytes: number[];
|
|
992
|
-
};
|
|
993
|
-
};
|
|
994
|
-
index: string;
|
|
995
|
-
next_user_share_id: string;
|
|
996
|
-
total_share: string;
|
|
997
|
-
active: boolean;
|
|
998
|
-
u64_padding: string[];
|
|
999
|
-
};
|
|
1000
|
-
stake_pool_config: {
|
|
1001
|
-
unlock_countdown_ts_ms: string;
|
|
1002
|
-
u64_padding: string[];
|
|
1003
|
-
};
|
|
1004
|
-
u64_padding: string[];
|
|
1005
|
-
}, {
|
|
1006
|
-
sender: string;
|
|
1007
|
-
stake_pool_info: {
|
|
1008
|
-
stake_token: {
|
|
1009
|
-
name: {
|
|
1010
|
-
bytes: Iterable<number> & {
|
|
1011
|
-
length: number;
|
|
1012
|
-
};
|
|
1013
|
-
};
|
|
1014
|
-
};
|
|
1015
|
-
index: string | number | bigint;
|
|
1016
|
-
next_user_share_id: string | number | bigint;
|
|
1017
|
-
total_share: string | number | bigint;
|
|
1018
|
-
active: boolean;
|
|
1019
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1020
|
-
length: number;
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
1023
|
-
stake_pool_config: {
|
|
1024
|
-
unlock_countdown_ts_ms: string | number | bigint;
|
|
1025
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1026
|
-
length: number;
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1030
|
-
length: number;
|
|
1031
|
-
};
|
|
1032
|
-
}>;
|
|
1033
|
-
static fromFields(fields: Record<string, any>): NewStakePoolEvent;
|
|
1034
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): NewStakePoolEvent;
|
|
1035
|
-
static fromBcs(data: Uint8Array): NewStakePoolEvent;
|
|
1036
|
-
toJSONField(): {
|
|
1037
|
-
sender: string;
|
|
1038
|
-
stakePoolInfo: {
|
|
1039
|
-
stakeToken: {
|
|
1040
|
-
name: string;
|
|
1041
|
-
};
|
|
1042
|
-
index: string;
|
|
1043
|
-
nextUserShareId: string;
|
|
1044
|
-
totalShare: string;
|
|
1045
|
-
active: boolean;
|
|
1046
|
-
u64Padding: string[];
|
|
1047
|
-
};
|
|
1048
|
-
stakePoolConfig: {
|
|
1049
|
-
unlockCountdownTsMs: string;
|
|
1050
|
-
u64Padding: string[];
|
|
1051
|
-
};
|
|
1052
|
-
u64Padding: string[];
|
|
1053
|
-
};
|
|
1054
|
-
toJSON(): {
|
|
1055
|
-
sender: string;
|
|
1056
|
-
stakePoolInfo: {
|
|
1057
|
-
stakeToken: {
|
|
1058
|
-
name: string;
|
|
1059
|
-
};
|
|
1060
|
-
index: string;
|
|
1061
|
-
nextUserShareId: string;
|
|
1062
|
-
totalShare: string;
|
|
1063
|
-
active: boolean;
|
|
1064
|
-
u64Padding: string[];
|
|
1065
|
-
};
|
|
1066
|
-
stakePoolConfig: {
|
|
1067
|
-
unlockCountdownTsMs: string;
|
|
1068
|
-
u64Padding: string[];
|
|
1069
|
-
};
|
|
1070
|
-
u64Padding: string[];
|
|
1071
|
-
$typeName: string;
|
|
1072
|
-
$typeArgs: [];
|
|
1073
|
-
};
|
|
1074
|
-
static fromJSONField(field: any): NewStakePoolEvent;
|
|
1075
|
-
static fromJSON(json: Record<string, any>): NewStakePoolEvent;
|
|
1076
|
-
static fromSuiParsedData(content: SuiParsedData): NewStakePoolEvent;
|
|
1077
|
-
static fromSuiObjectData(data: SuiObjectData): NewStakePoolEvent;
|
|
1078
|
-
static fetch(client: SuiClient, id: string): Promise<NewStakePoolEvent>;
|
|
1079
|
-
}
|
|
1080
|
-
export declare function isAutoCompoundEvent(type: string): boolean;
|
|
1081
|
-
export interface AutoCompoundEventFields {
|
|
1082
|
-
sender: ToField<"address">;
|
|
1083
|
-
index: ToField<"u64">;
|
|
1084
|
-
incentiveToken: ToField<TypeName>;
|
|
1085
|
-
incentivePriceIndex: ToField<"u64">;
|
|
1086
|
-
totalAmount: ToField<"u64">;
|
|
1087
|
-
compoundUsers: ToField<"u64">;
|
|
1088
|
-
totalUsers: ToField<"u64">;
|
|
1089
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1090
|
-
}
|
|
1091
|
-
export type AutoCompoundEventReified = Reified<AutoCompoundEvent, AutoCompoundEventFields>;
|
|
1092
|
-
export declare class AutoCompoundEvent implements StructClass {
|
|
1093
|
-
__StructClass: true;
|
|
1094
|
-
static readonly $typeName: string;
|
|
1095
|
-
static readonly $numTypeParams = 0;
|
|
1096
|
-
static readonly $isPhantom: readonly [];
|
|
1097
|
-
readonly $typeName: string;
|
|
1098
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::AutoCompoundEvent`;
|
|
1099
|
-
readonly $typeArgs: [];
|
|
1100
|
-
readonly $isPhantom: readonly [];
|
|
1101
|
-
readonly sender: ToField<"address">;
|
|
1102
|
-
readonly index: ToField<"u64">;
|
|
1103
|
-
readonly incentiveToken: ToField<TypeName>;
|
|
1104
|
-
readonly incentivePriceIndex: ToField<"u64">;
|
|
1105
|
-
readonly totalAmount: ToField<"u64">;
|
|
1106
|
-
readonly compoundUsers: ToField<"u64">;
|
|
1107
|
-
readonly totalUsers: ToField<"u64">;
|
|
1108
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1109
|
-
private constructor();
|
|
1110
|
-
static reified(): AutoCompoundEventReified;
|
|
1111
|
-
static get r(): reified.StructClassReified<AutoCompoundEvent, AutoCompoundEventFields>;
|
|
1112
|
-
static phantom(): PhantomReified<ToTypeStr<AutoCompoundEvent>>;
|
|
1113
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AutoCompoundEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::AutoCompoundEvent">;
|
|
1114
|
-
private static instantiateBcs;
|
|
1115
|
-
private static cachedBcs;
|
|
1116
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1117
|
-
sender: string;
|
|
1118
|
-
index: string;
|
|
1119
|
-
incentive_token: {
|
|
1120
|
-
name: {
|
|
1121
|
-
bytes: number[];
|
|
1122
|
-
};
|
|
1123
|
-
};
|
|
1124
|
-
incentive_price_index: string;
|
|
1125
|
-
total_amount: string;
|
|
1126
|
-
compound_users: string;
|
|
1127
|
-
total_users: string;
|
|
1128
|
-
u64_padding: string[];
|
|
1129
|
-
}, {
|
|
1130
|
-
sender: string;
|
|
1131
|
-
index: string | number | bigint;
|
|
1132
|
-
incentive_token: {
|
|
1133
|
-
name: {
|
|
1134
|
-
bytes: Iterable<number> & {
|
|
1135
|
-
length: number;
|
|
1136
|
-
};
|
|
1137
|
-
};
|
|
1138
|
-
};
|
|
1139
|
-
incentive_price_index: string | number | bigint;
|
|
1140
|
-
total_amount: string | number | bigint;
|
|
1141
|
-
compound_users: string | number | bigint;
|
|
1142
|
-
total_users: string | number | bigint;
|
|
1143
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1144
|
-
length: number;
|
|
1145
|
-
};
|
|
1146
|
-
}>;
|
|
1147
|
-
static fromFields(fields: Record<string, any>): AutoCompoundEvent;
|
|
1148
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): AutoCompoundEvent;
|
|
1149
|
-
static fromBcs(data: Uint8Array): AutoCompoundEvent;
|
|
1150
|
-
toJSONField(): {
|
|
1151
|
-
sender: string;
|
|
1152
|
-
index: string;
|
|
1153
|
-
incentiveToken: {
|
|
1154
|
-
name: string;
|
|
1155
|
-
};
|
|
1156
|
-
incentivePriceIndex: string;
|
|
1157
|
-
totalAmount: string;
|
|
1158
|
-
compoundUsers: string;
|
|
1159
|
-
totalUsers: string;
|
|
1160
|
-
u64Padding: string[];
|
|
1161
|
-
};
|
|
1162
|
-
toJSON(): {
|
|
1163
|
-
sender: string;
|
|
1164
|
-
index: string;
|
|
1165
|
-
incentiveToken: {
|
|
1166
|
-
name: string;
|
|
1167
|
-
};
|
|
1168
|
-
incentivePriceIndex: string;
|
|
1169
|
-
totalAmount: string;
|
|
1170
|
-
compoundUsers: string;
|
|
1171
|
-
totalUsers: string;
|
|
1172
|
-
u64Padding: string[];
|
|
1173
|
-
$typeName: string;
|
|
1174
|
-
$typeArgs: [];
|
|
1175
|
-
};
|
|
1176
|
-
static fromJSONField(field: any): AutoCompoundEvent;
|
|
1177
|
-
static fromJSON(json: Record<string, any>): AutoCompoundEvent;
|
|
1178
|
-
static fromSuiParsedData(content: SuiParsedData): AutoCompoundEvent;
|
|
1179
|
-
static fromSuiObjectData(data: SuiObjectData): AutoCompoundEvent;
|
|
1180
|
-
static fetch(client: SuiClient, id: string): Promise<AutoCompoundEvent>;
|
|
1181
|
-
}
|
|
1182
|
-
export declare function isAddIncentiveTokenEvent(type: string): boolean;
|
|
1183
|
-
export interface AddIncentiveTokenEventFields {
|
|
1184
|
-
sender: ToField<"address">;
|
|
1185
|
-
index: ToField<"u64">;
|
|
1186
|
-
incentiveToken: ToField<TypeName>;
|
|
1187
|
-
incentiveInfo: ToField<IncentiveInfo>;
|
|
1188
|
-
incentiveConfig: ToField<IncentiveConfig>;
|
|
1189
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1190
|
-
}
|
|
1191
|
-
export type AddIncentiveTokenEventReified = Reified<AddIncentiveTokenEvent, AddIncentiveTokenEventFields>;
|
|
1192
|
-
export declare class AddIncentiveTokenEvent implements StructClass {
|
|
1193
|
-
__StructClass: true;
|
|
1194
|
-
static readonly $typeName: string;
|
|
1195
|
-
static readonly $numTypeParams = 0;
|
|
1196
|
-
static readonly $isPhantom: readonly [];
|
|
1197
|
-
readonly $typeName: string;
|
|
1198
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::AddIncentiveTokenEvent`;
|
|
1199
|
-
readonly $typeArgs: [];
|
|
1200
|
-
readonly $isPhantom: readonly [];
|
|
1201
|
-
readonly sender: ToField<"address">;
|
|
1202
|
-
readonly index: ToField<"u64">;
|
|
1203
|
-
readonly incentiveToken: ToField<TypeName>;
|
|
1204
|
-
readonly incentiveInfo: ToField<IncentiveInfo>;
|
|
1205
|
-
readonly incentiveConfig: ToField<IncentiveConfig>;
|
|
1206
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1207
|
-
private constructor();
|
|
1208
|
-
static reified(): AddIncentiveTokenEventReified;
|
|
1209
|
-
static get r(): reified.StructClassReified<AddIncentiveTokenEvent, AddIncentiveTokenEventFields>;
|
|
1210
|
-
static phantom(): PhantomReified<ToTypeStr<AddIncentiveTokenEvent>>;
|
|
1211
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::AddIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::AddIncentiveTokenEvent">;
|
|
1212
|
-
private static instantiateBcs;
|
|
1213
|
-
private static cachedBcs;
|
|
1214
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1215
|
-
sender: string;
|
|
1216
|
-
index: string;
|
|
1217
|
-
incentive_token: {
|
|
1218
|
-
name: {
|
|
1219
|
-
bytes: number[];
|
|
1220
|
-
};
|
|
1221
|
-
};
|
|
1222
|
-
incentive_info: {
|
|
1223
|
-
active: boolean;
|
|
1224
|
-
last_allocate_ts_ms: string;
|
|
1225
|
-
incentive_price_index: string;
|
|
1226
|
-
unallocated_amount: string;
|
|
1227
|
-
u64_padding: string[];
|
|
1228
|
-
};
|
|
1229
|
-
incentive_config: {
|
|
1230
|
-
period_incentive_amount: string;
|
|
1231
|
-
incentive_interval_ts_ms: string;
|
|
1232
|
-
u64_padding: string[];
|
|
1233
|
-
};
|
|
1234
|
-
u64_padding: string[];
|
|
1235
|
-
}, {
|
|
1236
|
-
sender: string;
|
|
1237
|
-
index: string | number | bigint;
|
|
1238
|
-
incentive_token: {
|
|
1239
|
-
name: {
|
|
1240
|
-
bytes: Iterable<number> & {
|
|
1241
|
-
length: number;
|
|
1242
|
-
};
|
|
1243
|
-
};
|
|
1244
|
-
};
|
|
1245
|
-
incentive_info: {
|
|
1246
|
-
active: boolean;
|
|
1247
|
-
last_allocate_ts_ms: string | number | bigint;
|
|
1248
|
-
incentive_price_index: string | number | bigint;
|
|
1249
|
-
unallocated_amount: string | number | bigint;
|
|
1250
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1251
|
-
length: number;
|
|
1252
|
-
};
|
|
1253
|
-
};
|
|
1254
|
-
incentive_config: {
|
|
1255
|
-
period_incentive_amount: string | number | bigint;
|
|
1256
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
1257
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1258
|
-
length: number;
|
|
1259
|
-
};
|
|
1260
|
-
};
|
|
1261
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1262
|
-
length: number;
|
|
1263
|
-
};
|
|
1264
|
-
}>;
|
|
1265
|
-
static fromFields(fields: Record<string, any>): AddIncentiveTokenEvent;
|
|
1266
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): AddIncentiveTokenEvent;
|
|
1267
|
-
static fromBcs(data: Uint8Array): AddIncentiveTokenEvent;
|
|
1268
|
-
toJSONField(): {
|
|
1269
|
-
sender: string;
|
|
1270
|
-
index: string;
|
|
1271
|
-
incentiveToken: {
|
|
1272
|
-
name: string;
|
|
1273
|
-
};
|
|
1274
|
-
incentiveInfo: {
|
|
1275
|
-
active: boolean;
|
|
1276
|
-
lastAllocateTsMs: string;
|
|
1277
|
-
incentivePriceIndex: string;
|
|
1278
|
-
unallocatedAmount: string;
|
|
1279
|
-
u64Padding: string[];
|
|
1280
|
-
};
|
|
1281
|
-
incentiveConfig: {
|
|
1282
|
-
periodIncentiveAmount: string;
|
|
1283
|
-
incentiveIntervalTsMs: string;
|
|
1284
|
-
u64Padding: string[];
|
|
1285
|
-
};
|
|
1286
|
-
u64Padding: string[];
|
|
1287
|
-
};
|
|
1288
|
-
toJSON(): {
|
|
1289
|
-
sender: string;
|
|
1290
|
-
index: string;
|
|
1291
|
-
incentiveToken: {
|
|
1292
|
-
name: string;
|
|
1293
|
-
};
|
|
1294
|
-
incentiveInfo: {
|
|
1295
|
-
active: boolean;
|
|
1296
|
-
lastAllocateTsMs: string;
|
|
1297
|
-
incentivePriceIndex: string;
|
|
1298
|
-
unallocatedAmount: string;
|
|
1299
|
-
u64Padding: string[];
|
|
1300
|
-
};
|
|
1301
|
-
incentiveConfig: {
|
|
1302
|
-
periodIncentiveAmount: string;
|
|
1303
|
-
incentiveIntervalTsMs: string;
|
|
1304
|
-
u64Padding: string[];
|
|
1305
|
-
};
|
|
1306
|
-
u64Padding: string[];
|
|
1307
|
-
$typeName: string;
|
|
1308
|
-
$typeArgs: [];
|
|
1309
|
-
};
|
|
1310
|
-
static fromJSONField(field: any): AddIncentiveTokenEvent;
|
|
1311
|
-
static fromJSON(json: Record<string, any>): AddIncentiveTokenEvent;
|
|
1312
|
-
static fromSuiParsedData(content: SuiParsedData): AddIncentiveTokenEvent;
|
|
1313
|
-
static fromSuiObjectData(data: SuiObjectData): AddIncentiveTokenEvent;
|
|
1314
|
-
static fetch(client: SuiClient, id: string): Promise<AddIncentiveTokenEvent>;
|
|
1315
|
-
}
|
|
1316
|
-
export declare function isDeactivateIncentiveTokenEvent(type: string): boolean;
|
|
1317
|
-
export interface DeactivateIncentiveTokenEventFields {
|
|
1318
|
-
sender: ToField<"address">;
|
|
1319
|
-
index: ToField<"u64">;
|
|
1320
|
-
incentiveToken: ToField<TypeName>;
|
|
1321
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1322
|
-
}
|
|
1323
|
-
export type DeactivateIncentiveTokenEventReified = Reified<DeactivateIncentiveTokenEvent, DeactivateIncentiveTokenEventFields>;
|
|
1324
|
-
export declare class DeactivateIncentiveTokenEvent implements StructClass {
|
|
1325
|
-
__StructClass: true;
|
|
1326
|
-
static readonly $typeName: string;
|
|
1327
|
-
static readonly $numTypeParams = 0;
|
|
1328
|
-
static readonly $isPhantom: readonly [];
|
|
1329
|
-
readonly $typeName: string;
|
|
1330
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::DeactivateIncentiveTokenEvent`;
|
|
1331
|
-
readonly $typeArgs: [];
|
|
1332
|
-
readonly $isPhantom: readonly [];
|
|
1333
|
-
readonly sender: ToField<"address">;
|
|
1334
|
-
readonly index: ToField<"u64">;
|
|
1335
|
-
readonly incentiveToken: ToField<TypeName>;
|
|
1336
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1337
|
-
private constructor();
|
|
1338
|
-
static reified(): DeactivateIncentiveTokenEventReified;
|
|
1339
|
-
static get r(): reified.StructClassReified<DeactivateIncentiveTokenEvent, DeactivateIncentiveTokenEventFields>;
|
|
1340
|
-
static phantom(): PhantomReified<ToTypeStr<DeactivateIncentiveTokenEvent>>;
|
|
1341
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DeactivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DeactivateIncentiveTokenEvent">;
|
|
1342
|
-
private static instantiateBcs;
|
|
1343
|
-
private static cachedBcs;
|
|
1344
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1345
|
-
sender: string;
|
|
1346
|
-
index: string;
|
|
1347
|
-
incentive_token: {
|
|
1348
|
-
name: {
|
|
1349
|
-
bytes: number[];
|
|
1350
|
-
};
|
|
1351
|
-
};
|
|
1352
|
-
u64_padding: string[];
|
|
1353
|
-
}, {
|
|
1354
|
-
sender: string;
|
|
1355
|
-
index: string | number | bigint;
|
|
1356
|
-
incentive_token: {
|
|
1357
|
-
name: {
|
|
1358
|
-
bytes: Iterable<number> & {
|
|
1359
|
-
length: number;
|
|
1360
|
-
};
|
|
1361
|
-
};
|
|
1362
|
-
};
|
|
1363
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1364
|
-
length: number;
|
|
1365
|
-
};
|
|
1366
|
-
}>;
|
|
1367
|
-
static fromFields(fields: Record<string, any>): DeactivateIncentiveTokenEvent;
|
|
1368
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): DeactivateIncentiveTokenEvent;
|
|
1369
|
-
static fromBcs(data: Uint8Array): DeactivateIncentiveTokenEvent;
|
|
1370
|
-
toJSONField(): {
|
|
1371
|
-
sender: string;
|
|
1372
|
-
index: string;
|
|
1373
|
-
incentiveToken: {
|
|
1374
|
-
name: string;
|
|
1375
|
-
};
|
|
1376
|
-
u64Padding: string[];
|
|
1377
|
-
};
|
|
1378
|
-
toJSON(): {
|
|
1379
|
-
sender: string;
|
|
1380
|
-
index: string;
|
|
1381
|
-
incentiveToken: {
|
|
1382
|
-
name: string;
|
|
1383
|
-
};
|
|
1384
|
-
u64Padding: string[];
|
|
1385
|
-
$typeName: string;
|
|
1386
|
-
$typeArgs: [];
|
|
1387
|
-
};
|
|
1388
|
-
static fromJSONField(field: any): DeactivateIncentiveTokenEvent;
|
|
1389
|
-
static fromJSON(json: Record<string, any>): DeactivateIncentiveTokenEvent;
|
|
1390
|
-
static fromSuiParsedData(content: SuiParsedData): DeactivateIncentiveTokenEvent;
|
|
1391
|
-
static fromSuiObjectData(data: SuiObjectData): DeactivateIncentiveTokenEvent;
|
|
1392
|
-
static fetch(client: SuiClient, id: string): Promise<DeactivateIncentiveTokenEvent>;
|
|
1393
|
-
}
|
|
1394
|
-
export declare function isActivateIncentiveTokenEvent(type: string): boolean;
|
|
1395
|
-
export interface ActivateIncentiveTokenEventFields {
|
|
1396
|
-
sender: ToField<"address">;
|
|
1397
|
-
index: ToField<"u64">;
|
|
1398
|
-
incentiveToken: ToField<TypeName>;
|
|
1399
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1400
|
-
}
|
|
1401
|
-
export type ActivateIncentiveTokenEventReified = Reified<ActivateIncentiveTokenEvent, ActivateIncentiveTokenEventFields>;
|
|
1402
|
-
export declare class ActivateIncentiveTokenEvent implements StructClass {
|
|
1403
|
-
__StructClass: true;
|
|
1404
|
-
static readonly $typeName: string;
|
|
1405
|
-
static readonly $numTypeParams = 0;
|
|
1406
|
-
static readonly $isPhantom: readonly [];
|
|
1407
|
-
readonly $typeName: string;
|
|
1408
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::ActivateIncentiveTokenEvent`;
|
|
1409
|
-
readonly $typeArgs: [];
|
|
1410
|
-
readonly $isPhantom: readonly [];
|
|
1411
|
-
readonly sender: ToField<"address">;
|
|
1412
|
-
readonly index: ToField<"u64">;
|
|
1413
|
-
readonly incentiveToken: ToField<TypeName>;
|
|
1414
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1415
|
-
private constructor();
|
|
1416
|
-
static reified(): ActivateIncentiveTokenEventReified;
|
|
1417
|
-
static get r(): reified.StructClassReified<ActivateIncentiveTokenEvent, ActivateIncentiveTokenEventFields>;
|
|
1418
|
-
static phantom(): PhantomReified<ToTypeStr<ActivateIncentiveTokenEvent>>;
|
|
1419
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::ActivateIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::ActivateIncentiveTokenEvent">;
|
|
1420
|
-
private static instantiateBcs;
|
|
1421
|
-
private static cachedBcs;
|
|
1422
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1423
|
-
sender: string;
|
|
1424
|
-
index: string;
|
|
1425
|
-
incentive_token: {
|
|
1426
|
-
name: {
|
|
1427
|
-
bytes: number[];
|
|
1428
|
-
};
|
|
1429
|
-
};
|
|
1430
|
-
u64_padding: string[];
|
|
1431
|
-
}, {
|
|
1432
|
-
sender: string;
|
|
1433
|
-
index: string | number | bigint;
|
|
1434
|
-
incentive_token: {
|
|
1435
|
-
name: {
|
|
1436
|
-
bytes: Iterable<number> & {
|
|
1437
|
-
length: number;
|
|
1438
|
-
};
|
|
1439
|
-
};
|
|
1440
|
-
};
|
|
1441
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1442
|
-
length: number;
|
|
1443
|
-
};
|
|
1444
|
-
}>;
|
|
1445
|
-
static fromFields(fields: Record<string, any>): ActivateIncentiveTokenEvent;
|
|
1446
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): ActivateIncentiveTokenEvent;
|
|
1447
|
-
static fromBcs(data: Uint8Array): ActivateIncentiveTokenEvent;
|
|
1448
|
-
toJSONField(): {
|
|
1449
|
-
sender: string;
|
|
1450
|
-
index: string;
|
|
1451
|
-
incentiveToken: {
|
|
1452
|
-
name: string;
|
|
1453
|
-
};
|
|
1454
|
-
u64Padding: string[];
|
|
1455
|
-
};
|
|
1456
|
-
toJSON(): {
|
|
1457
|
-
sender: string;
|
|
1458
|
-
index: string;
|
|
1459
|
-
incentiveToken: {
|
|
1460
|
-
name: string;
|
|
1461
|
-
};
|
|
1462
|
-
u64Padding: string[];
|
|
1463
|
-
$typeName: string;
|
|
1464
|
-
$typeArgs: [];
|
|
1465
|
-
};
|
|
1466
|
-
static fromJSONField(field: any): ActivateIncentiveTokenEvent;
|
|
1467
|
-
static fromJSON(json: Record<string, any>): ActivateIncentiveTokenEvent;
|
|
1468
|
-
static fromSuiParsedData(content: SuiParsedData): ActivateIncentiveTokenEvent;
|
|
1469
|
-
static fromSuiObjectData(data: SuiObjectData): ActivateIncentiveTokenEvent;
|
|
1470
|
-
static fetch(client: SuiClient, id: string): Promise<ActivateIncentiveTokenEvent>;
|
|
1471
|
-
}
|
|
1472
|
-
export declare function isRemoveIncentiveTokenEvent(type: string): boolean;
|
|
1473
|
-
export interface RemoveIncentiveTokenEventFields {
|
|
1474
|
-
sender: ToField<"address">;
|
|
1475
|
-
index: ToField<"u64">;
|
|
1476
|
-
incentiveToken: ToField<TypeName>;
|
|
1477
|
-
incentiveBalanceValue: ToField<"u64">;
|
|
1478
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1479
|
-
}
|
|
1480
|
-
export type RemoveIncentiveTokenEventReified = Reified<RemoveIncentiveTokenEvent, RemoveIncentiveTokenEventFields>;
|
|
1481
|
-
export declare class RemoveIncentiveTokenEvent implements StructClass {
|
|
1482
|
-
__StructClass: true;
|
|
1483
|
-
static readonly $typeName: string;
|
|
1484
|
-
static readonly $numTypeParams = 0;
|
|
1485
|
-
static readonly $isPhantom: readonly [];
|
|
1486
|
-
readonly $typeName: string;
|
|
1487
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::RemoveIncentiveTokenEvent`;
|
|
1488
|
-
readonly $typeArgs: [];
|
|
1489
|
-
readonly $isPhantom: readonly [];
|
|
1490
|
-
readonly sender: ToField<"address">;
|
|
1491
|
-
readonly index: ToField<"u64">;
|
|
1492
|
-
readonly incentiveToken: ToField<TypeName>;
|
|
1493
|
-
readonly incentiveBalanceValue: ToField<"u64">;
|
|
1494
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1495
|
-
private constructor();
|
|
1496
|
-
static reified(): RemoveIncentiveTokenEventReified;
|
|
1497
|
-
static get r(): reified.StructClassReified<RemoveIncentiveTokenEvent, RemoveIncentiveTokenEventFields>;
|
|
1498
|
-
static phantom(): PhantomReified<ToTypeStr<RemoveIncentiveTokenEvent>>;
|
|
1499
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::RemoveIncentiveTokenEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::RemoveIncentiveTokenEvent">;
|
|
1500
|
-
private static instantiateBcs;
|
|
1501
|
-
private static cachedBcs;
|
|
1502
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1503
|
-
sender: string;
|
|
1504
|
-
index: string;
|
|
1505
|
-
incentive_token: {
|
|
1506
|
-
name: {
|
|
1507
|
-
bytes: number[];
|
|
1508
|
-
};
|
|
1509
|
-
};
|
|
1510
|
-
incentive_balance_value: string;
|
|
1511
|
-
u64_padding: string[];
|
|
1512
|
-
}, {
|
|
1513
|
-
sender: string;
|
|
1514
|
-
index: string | number | bigint;
|
|
1515
|
-
incentive_token: {
|
|
1516
|
-
name: {
|
|
1517
|
-
bytes: Iterable<number> & {
|
|
1518
|
-
length: number;
|
|
1519
|
-
};
|
|
1520
|
-
};
|
|
1521
|
-
};
|
|
1522
|
-
incentive_balance_value: string | number | bigint;
|
|
1523
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1524
|
-
length: number;
|
|
1525
|
-
};
|
|
1526
|
-
}>;
|
|
1527
|
-
static fromFields(fields: Record<string, any>): RemoveIncentiveTokenEvent;
|
|
1528
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveIncentiveTokenEvent;
|
|
1529
|
-
static fromBcs(data: Uint8Array): RemoveIncentiveTokenEvent;
|
|
1530
|
-
toJSONField(): {
|
|
1531
|
-
sender: string;
|
|
1532
|
-
index: string;
|
|
1533
|
-
incentiveToken: {
|
|
1534
|
-
name: string;
|
|
1535
|
-
};
|
|
1536
|
-
incentiveBalanceValue: string;
|
|
1537
|
-
u64Padding: string[];
|
|
1538
|
-
};
|
|
1539
|
-
toJSON(): {
|
|
1540
|
-
sender: string;
|
|
1541
|
-
index: string;
|
|
1542
|
-
incentiveToken: {
|
|
1543
|
-
name: string;
|
|
1544
|
-
};
|
|
1545
|
-
incentiveBalanceValue: string;
|
|
1546
|
-
u64Padding: string[];
|
|
1547
|
-
$typeName: string;
|
|
1548
|
-
$typeArgs: [];
|
|
1549
|
-
};
|
|
1550
|
-
static fromJSONField(field: any): RemoveIncentiveTokenEvent;
|
|
1551
|
-
static fromJSON(json: Record<string, any>): RemoveIncentiveTokenEvent;
|
|
1552
|
-
static fromSuiParsedData(content: SuiParsedData): RemoveIncentiveTokenEvent;
|
|
1553
|
-
static fromSuiObjectData(data: SuiObjectData): RemoveIncentiveTokenEvent;
|
|
1554
|
-
static fetch(client: SuiClient, id: string): Promise<RemoveIncentiveTokenEvent>;
|
|
1555
|
-
}
|
|
1556
|
-
export declare function isUpdateUnlockCountdownTsMsEvent(type: string): boolean;
|
|
1557
|
-
export interface UpdateUnlockCountdownTsMsEventFields {
|
|
1558
|
-
sender: ToField<"address">;
|
|
1559
|
-
index: ToField<"u64">;
|
|
1560
|
-
previousUnlockCountdownTsMs: ToField<"u64">;
|
|
1561
|
-
newUnlockCountdownTsMs: ToField<"u64">;
|
|
1562
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1563
|
-
}
|
|
1564
|
-
export type UpdateUnlockCountdownTsMsEventReified = Reified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
|
|
1565
|
-
export declare class UpdateUnlockCountdownTsMsEvent implements StructClass {
|
|
1566
|
-
__StructClass: true;
|
|
1567
|
-
static readonly $typeName: string;
|
|
1568
|
-
static readonly $numTypeParams = 0;
|
|
1569
|
-
static readonly $isPhantom: readonly [];
|
|
1570
|
-
readonly $typeName: string;
|
|
1571
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UpdateUnlockCountdownTsMsEvent`;
|
|
1572
|
-
readonly $typeArgs: [];
|
|
1573
|
-
readonly $isPhantom: readonly [];
|
|
1574
|
-
readonly sender: ToField<"address">;
|
|
1575
|
-
readonly index: ToField<"u64">;
|
|
1576
|
-
readonly previousUnlockCountdownTsMs: ToField<"u64">;
|
|
1577
|
-
readonly newUnlockCountdownTsMs: ToField<"u64">;
|
|
1578
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1579
|
-
private constructor();
|
|
1580
|
-
static reified(): UpdateUnlockCountdownTsMsEventReified;
|
|
1581
|
-
static get r(): reified.StructClassReified<UpdateUnlockCountdownTsMsEvent, UpdateUnlockCountdownTsMsEventFields>;
|
|
1582
|
-
static phantom(): PhantomReified<ToTypeStr<UpdateUnlockCountdownTsMsEvent>>;
|
|
1583
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateUnlockCountdownTsMsEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
1584
|
-
private static instantiateBcs;
|
|
1585
|
-
private static cachedBcs;
|
|
1586
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1587
|
-
sender: string;
|
|
1588
|
-
index: string;
|
|
1589
|
-
previous_unlock_countdown_ts_ms: string;
|
|
1590
|
-
new_unlock_countdown_ts_ms: string;
|
|
1591
|
-
u64_padding: string[];
|
|
1592
|
-
}, {
|
|
1593
|
-
sender: string;
|
|
1594
|
-
index: string | number | bigint;
|
|
1595
|
-
previous_unlock_countdown_ts_ms: string | number | bigint;
|
|
1596
|
-
new_unlock_countdown_ts_ms: string | number | bigint;
|
|
1597
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1598
|
-
length: number;
|
|
1599
|
-
};
|
|
1600
|
-
}>;
|
|
1601
|
-
static fromFields(fields: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
|
|
1602
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateUnlockCountdownTsMsEvent;
|
|
1603
|
-
static fromBcs(data: Uint8Array): UpdateUnlockCountdownTsMsEvent;
|
|
1604
|
-
toJSONField(): {
|
|
1605
|
-
sender: string;
|
|
1606
|
-
index: string;
|
|
1607
|
-
previousUnlockCountdownTsMs: string;
|
|
1608
|
-
newUnlockCountdownTsMs: string;
|
|
1609
|
-
u64Padding: string[];
|
|
1610
|
-
};
|
|
1611
|
-
toJSON(): {
|
|
1612
|
-
sender: string;
|
|
1613
|
-
index: string;
|
|
1614
|
-
previousUnlockCountdownTsMs: string;
|
|
1615
|
-
newUnlockCountdownTsMs: string;
|
|
1616
|
-
u64Padding: string[];
|
|
1617
|
-
$typeName: string;
|
|
1618
|
-
$typeArgs: [];
|
|
1619
|
-
};
|
|
1620
|
-
static fromJSONField(field: any): UpdateUnlockCountdownTsMsEvent;
|
|
1621
|
-
static fromJSON(json: Record<string, any>): UpdateUnlockCountdownTsMsEvent;
|
|
1622
|
-
static fromSuiParsedData(content: SuiParsedData): UpdateUnlockCountdownTsMsEvent;
|
|
1623
|
-
static fromSuiObjectData(data: SuiObjectData): UpdateUnlockCountdownTsMsEvent;
|
|
1624
|
-
static fetch(client: SuiClient, id: string): Promise<UpdateUnlockCountdownTsMsEvent>;
|
|
1625
|
-
}
|
|
1626
|
-
export declare function isUpdateIncentiveConfigEvent(type: string): boolean;
|
|
1627
|
-
export interface UpdateIncentiveConfigEventFields {
|
|
1628
|
-
sender: ToField<"address">;
|
|
1629
|
-
index: ToField<"u64">;
|
|
1630
|
-
previousIncentiveConfig: ToField<IncentiveConfig>;
|
|
1631
|
-
newIncentiveConfig: ToField<IncentiveConfig>;
|
|
1632
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1633
|
-
}
|
|
1634
|
-
export type UpdateIncentiveConfigEventReified = Reified<UpdateIncentiveConfigEvent, UpdateIncentiveConfigEventFields>;
|
|
1635
|
-
export declare class UpdateIncentiveConfigEvent implements StructClass {
|
|
1636
|
-
__StructClass: true;
|
|
1637
|
-
static readonly $typeName: string;
|
|
1638
|
-
static readonly $numTypeParams = 0;
|
|
1639
|
-
static readonly $isPhantom: readonly [];
|
|
1640
|
-
readonly $typeName: string;
|
|
1641
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UpdateIncentiveConfigEvent`;
|
|
1642
|
-
readonly $typeArgs: [];
|
|
1643
|
-
readonly $isPhantom: readonly [];
|
|
1644
|
-
readonly sender: ToField<"address">;
|
|
1645
|
-
readonly index: ToField<"u64">;
|
|
1646
|
-
readonly previousIncentiveConfig: ToField<IncentiveConfig>;
|
|
1647
|
-
readonly newIncentiveConfig: ToField<IncentiveConfig>;
|
|
1648
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1649
|
-
private constructor();
|
|
1650
|
-
static reified(): UpdateIncentiveConfigEventReified;
|
|
1651
|
-
static get r(): reified.StructClassReified<UpdateIncentiveConfigEvent, UpdateIncentiveConfigEventFields>;
|
|
1652
|
-
static phantom(): PhantomReified<ToTypeStr<UpdateIncentiveConfigEvent>>;
|
|
1653
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdateIncentiveConfigEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdateIncentiveConfigEvent">;
|
|
1654
|
-
private static instantiateBcs;
|
|
1655
|
-
private static cachedBcs;
|
|
1656
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1657
|
-
sender: string;
|
|
1658
|
-
index: string;
|
|
1659
|
-
previous_incentive_config: {
|
|
1660
|
-
period_incentive_amount: string;
|
|
1661
|
-
incentive_interval_ts_ms: string;
|
|
1662
|
-
u64_padding: string[];
|
|
1663
|
-
};
|
|
1664
|
-
new_incentive_config: {
|
|
1665
|
-
period_incentive_amount: string;
|
|
1666
|
-
incentive_interval_ts_ms: string;
|
|
1667
|
-
u64_padding: string[];
|
|
1668
|
-
};
|
|
1669
|
-
u64_padding: string[];
|
|
1670
|
-
}, {
|
|
1671
|
-
sender: string;
|
|
1672
|
-
index: string | number | bigint;
|
|
1673
|
-
previous_incentive_config: {
|
|
1674
|
-
period_incentive_amount: string | number | bigint;
|
|
1675
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
1676
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1677
|
-
length: number;
|
|
1678
|
-
};
|
|
1679
|
-
};
|
|
1680
|
-
new_incentive_config: {
|
|
1681
|
-
period_incentive_amount: string | number | bigint;
|
|
1682
|
-
incentive_interval_ts_ms: string | number | bigint;
|
|
1683
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1684
|
-
length: number;
|
|
1685
|
-
};
|
|
1686
|
-
};
|
|
1687
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1688
|
-
length: number;
|
|
1689
|
-
};
|
|
1690
|
-
}>;
|
|
1691
|
-
static fromFields(fields: Record<string, any>): UpdateIncentiveConfigEvent;
|
|
1692
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateIncentiveConfigEvent;
|
|
1693
|
-
static fromBcs(data: Uint8Array): UpdateIncentiveConfigEvent;
|
|
1694
|
-
toJSONField(): {
|
|
1695
|
-
sender: string;
|
|
1696
|
-
index: string;
|
|
1697
|
-
previousIncentiveConfig: {
|
|
1698
|
-
periodIncentiveAmount: string;
|
|
1699
|
-
incentiveIntervalTsMs: string;
|
|
1700
|
-
u64Padding: string[];
|
|
1701
|
-
};
|
|
1702
|
-
newIncentiveConfig: {
|
|
1703
|
-
periodIncentiveAmount: string;
|
|
1704
|
-
incentiveIntervalTsMs: string;
|
|
1705
|
-
u64Padding: string[];
|
|
1706
|
-
};
|
|
1707
|
-
u64Padding: string[];
|
|
1708
|
-
};
|
|
1709
|
-
toJSON(): {
|
|
1710
|
-
sender: string;
|
|
1711
|
-
index: string;
|
|
1712
|
-
previousIncentiveConfig: {
|
|
1713
|
-
periodIncentiveAmount: string;
|
|
1714
|
-
incentiveIntervalTsMs: string;
|
|
1715
|
-
u64Padding: string[];
|
|
1716
|
-
};
|
|
1717
|
-
newIncentiveConfig: {
|
|
1718
|
-
periodIncentiveAmount: string;
|
|
1719
|
-
incentiveIntervalTsMs: string;
|
|
1720
|
-
u64Padding: string[];
|
|
1721
|
-
};
|
|
1722
|
-
u64Padding: string[];
|
|
1723
|
-
$typeName: string;
|
|
1724
|
-
$typeArgs: [];
|
|
1725
|
-
};
|
|
1726
|
-
static fromJSONField(field: any): UpdateIncentiveConfigEvent;
|
|
1727
|
-
static fromJSON(json: Record<string, any>): UpdateIncentiveConfigEvent;
|
|
1728
|
-
static fromSuiParsedData(content: SuiParsedData): UpdateIncentiveConfigEvent;
|
|
1729
|
-
static fromSuiObjectData(data: SuiObjectData): UpdateIncentiveConfigEvent;
|
|
1730
|
-
static fetch(client: SuiClient, id: string): Promise<UpdateIncentiveConfigEvent>;
|
|
1731
|
-
}
|
|
1732
|
-
export declare function isDepositIncentiveEvent(type: string): boolean;
|
|
1733
|
-
export interface DepositIncentiveEventFields {
|
|
1734
|
-
sender: ToField<"address">;
|
|
1735
|
-
index: ToField<"u64">;
|
|
1736
|
-
incentiveTokenType: ToField<TypeName>;
|
|
1737
|
-
depositAmount: ToField<"u64">;
|
|
1738
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1739
|
-
}
|
|
1740
|
-
export type DepositIncentiveEventReified = Reified<DepositIncentiveEvent, DepositIncentiveEventFields>;
|
|
1741
|
-
export declare class DepositIncentiveEvent implements StructClass {
|
|
1742
|
-
__StructClass: true;
|
|
1743
|
-
static readonly $typeName: string;
|
|
1744
|
-
static readonly $numTypeParams = 0;
|
|
1745
|
-
static readonly $isPhantom: readonly [];
|
|
1746
|
-
readonly $typeName: string;
|
|
1747
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::DepositIncentiveEvent`;
|
|
1748
|
-
readonly $typeArgs: [];
|
|
1749
|
-
readonly $isPhantom: readonly [];
|
|
1750
|
-
readonly sender: ToField<"address">;
|
|
1751
|
-
readonly index: ToField<"u64">;
|
|
1752
|
-
readonly incentiveTokenType: ToField<TypeName>;
|
|
1753
|
-
readonly depositAmount: ToField<"u64">;
|
|
1754
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1755
|
-
private constructor();
|
|
1756
|
-
static reified(): DepositIncentiveEventReified;
|
|
1757
|
-
static get r(): reified.StructClassReified<DepositIncentiveEvent, DepositIncentiveEventFields>;
|
|
1758
|
-
static phantom(): PhantomReified<ToTypeStr<DepositIncentiveEvent>>;
|
|
1759
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::DepositIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::DepositIncentiveEvent">;
|
|
1760
|
-
private static instantiateBcs;
|
|
1761
|
-
private static cachedBcs;
|
|
1762
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1763
|
-
sender: string;
|
|
1764
|
-
index: string;
|
|
1765
|
-
incentive_token_type: {
|
|
1766
|
-
name: {
|
|
1767
|
-
bytes: number[];
|
|
1768
|
-
};
|
|
1769
|
-
};
|
|
1770
|
-
deposit_amount: string;
|
|
1771
|
-
u64_padding: string[];
|
|
1772
|
-
}, {
|
|
1773
|
-
sender: string;
|
|
1774
|
-
index: string | number | bigint;
|
|
1775
|
-
incentive_token_type: {
|
|
1776
|
-
name: {
|
|
1777
|
-
bytes: Iterable<number> & {
|
|
1778
|
-
length: number;
|
|
1779
|
-
};
|
|
1780
|
-
};
|
|
1781
|
-
};
|
|
1782
|
-
deposit_amount: string | number | bigint;
|
|
1783
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1784
|
-
length: number;
|
|
1785
|
-
};
|
|
1786
|
-
}>;
|
|
1787
|
-
static fromFields(fields: Record<string, any>): DepositIncentiveEvent;
|
|
1788
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): DepositIncentiveEvent;
|
|
1789
|
-
static fromBcs(data: Uint8Array): DepositIncentiveEvent;
|
|
1790
|
-
toJSONField(): {
|
|
1791
|
-
sender: string;
|
|
1792
|
-
index: string;
|
|
1793
|
-
incentiveTokenType: {
|
|
1794
|
-
name: string;
|
|
1795
|
-
};
|
|
1796
|
-
depositAmount: string;
|
|
1797
|
-
u64Padding: string[];
|
|
1798
|
-
};
|
|
1799
|
-
toJSON(): {
|
|
1800
|
-
sender: string;
|
|
1801
|
-
index: string;
|
|
1802
|
-
incentiveTokenType: {
|
|
1803
|
-
name: string;
|
|
1804
|
-
};
|
|
1805
|
-
depositAmount: string;
|
|
1806
|
-
u64Padding: string[];
|
|
1807
|
-
$typeName: string;
|
|
1808
|
-
$typeArgs: [];
|
|
1809
|
-
};
|
|
1810
|
-
static fromJSONField(field: any): DepositIncentiveEvent;
|
|
1811
|
-
static fromJSON(json: Record<string, any>): DepositIncentiveEvent;
|
|
1812
|
-
static fromSuiParsedData(content: SuiParsedData): DepositIncentiveEvent;
|
|
1813
|
-
static fromSuiObjectData(data: SuiObjectData): DepositIncentiveEvent;
|
|
1814
|
-
static fetch(client: SuiClient, id: string): Promise<DepositIncentiveEvent>;
|
|
1815
|
-
}
|
|
1816
|
-
export declare function isWithdrawIncentiveEvent(type: string): boolean;
|
|
1817
|
-
export interface WithdrawIncentiveEventFields {
|
|
1818
|
-
sender: ToField<"address">;
|
|
1819
|
-
index: ToField<"u64">;
|
|
1820
|
-
incentiveTokenType: ToField<TypeName>;
|
|
1821
|
-
withdrawalAmount: ToField<"u64">;
|
|
1822
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1823
|
-
}
|
|
1824
|
-
export type WithdrawIncentiveEventReified = Reified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
|
|
1825
|
-
export declare class WithdrawIncentiveEvent implements StructClass {
|
|
1826
|
-
__StructClass: true;
|
|
1827
|
-
static readonly $typeName: string;
|
|
1828
|
-
static readonly $numTypeParams = 0;
|
|
1829
|
-
static readonly $isPhantom: readonly [];
|
|
1830
|
-
readonly $typeName: string;
|
|
1831
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::WithdrawIncentiveEvent`;
|
|
1832
|
-
readonly $typeArgs: [];
|
|
1833
|
-
readonly $isPhantom: readonly [];
|
|
1834
|
-
readonly sender: ToField<"address">;
|
|
1835
|
-
readonly index: ToField<"u64">;
|
|
1836
|
-
readonly incentiveTokenType: ToField<TypeName>;
|
|
1837
|
-
readonly withdrawalAmount: ToField<"u64">;
|
|
1838
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1839
|
-
private constructor();
|
|
1840
|
-
static reified(): WithdrawIncentiveEventReified;
|
|
1841
|
-
static get r(): reified.StructClassReified<WithdrawIncentiveEvent, WithdrawIncentiveEventFields>;
|
|
1842
|
-
static phantom(): PhantomReified<ToTypeStr<WithdrawIncentiveEvent>>;
|
|
1843
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::WithdrawIncentiveEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::WithdrawIncentiveEvent">;
|
|
1844
|
-
private static instantiateBcs;
|
|
1845
|
-
private static cachedBcs;
|
|
1846
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1847
|
-
sender: string;
|
|
1848
|
-
index: string;
|
|
1849
|
-
incentive_token_type: {
|
|
1850
|
-
name: {
|
|
1851
|
-
bytes: number[];
|
|
1852
|
-
};
|
|
1853
|
-
};
|
|
1854
|
-
withdrawal_amount: string;
|
|
1855
|
-
u64_padding: string[];
|
|
1856
|
-
}, {
|
|
1857
|
-
sender: string;
|
|
1858
|
-
index: string | number | bigint;
|
|
1859
|
-
incentive_token_type: {
|
|
1860
|
-
name: {
|
|
1861
|
-
bytes: Iterable<number> & {
|
|
1862
|
-
length: number;
|
|
1863
|
-
};
|
|
1864
|
-
};
|
|
1865
|
-
};
|
|
1866
|
-
withdrawal_amount: string | number | bigint;
|
|
1867
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1868
|
-
length: number;
|
|
1869
|
-
};
|
|
1870
|
-
}>;
|
|
1871
|
-
static fromFields(fields: Record<string, any>): WithdrawIncentiveEvent;
|
|
1872
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): WithdrawIncentiveEvent;
|
|
1873
|
-
static fromBcs(data: Uint8Array): WithdrawIncentiveEvent;
|
|
1874
|
-
toJSONField(): {
|
|
1875
|
-
sender: string;
|
|
1876
|
-
index: string;
|
|
1877
|
-
incentiveTokenType: {
|
|
1878
|
-
name: string;
|
|
1879
|
-
};
|
|
1880
|
-
withdrawalAmount: string;
|
|
1881
|
-
u64Padding: string[];
|
|
1882
|
-
};
|
|
1883
|
-
toJSON(): {
|
|
1884
|
-
sender: string;
|
|
1885
|
-
index: string;
|
|
1886
|
-
incentiveTokenType: {
|
|
1887
|
-
name: string;
|
|
1888
|
-
};
|
|
1889
|
-
withdrawalAmount: string;
|
|
1890
|
-
u64Padding: string[];
|
|
1891
|
-
$typeName: string;
|
|
1892
|
-
$typeArgs: [];
|
|
1893
|
-
};
|
|
1894
|
-
static fromJSONField(field: any): WithdrawIncentiveEvent;
|
|
1895
|
-
static fromJSON(json: Record<string, any>): WithdrawIncentiveEvent;
|
|
1896
|
-
static fromSuiParsedData(content: SuiParsedData): WithdrawIncentiveEvent;
|
|
1897
|
-
static fromSuiObjectData(data: SuiObjectData): WithdrawIncentiveEvent;
|
|
1898
|
-
static fetch(client: SuiClient, id: string): Promise<WithdrawIncentiveEvent>;
|
|
1899
|
-
}
|
|
1900
|
-
export declare function isStakeEvent(type: string): boolean;
|
|
1901
|
-
export interface StakeEventFields {
|
|
1902
|
-
sender: ToField<"address">;
|
|
1903
|
-
index: ToField<"u64">;
|
|
1904
|
-
lpTokenType: ToField<TypeName>;
|
|
1905
|
-
stakeAmount: ToField<"u64">;
|
|
1906
|
-
userShareId: ToField<"u64">;
|
|
1907
|
-
stakeTsMs: ToField<"u64">;
|
|
1908
|
-
lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
|
|
1909
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1910
|
-
}
|
|
1911
|
-
export type StakeEventReified = Reified<StakeEvent, StakeEventFields>;
|
|
1912
|
-
export declare class StakeEvent implements StructClass {
|
|
1913
|
-
__StructClass: true;
|
|
1914
|
-
static readonly $typeName: string;
|
|
1915
|
-
static readonly $numTypeParams = 0;
|
|
1916
|
-
static readonly $isPhantom: readonly [];
|
|
1917
|
-
readonly $typeName: string;
|
|
1918
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::StakeEvent`;
|
|
1919
|
-
readonly $typeArgs: [];
|
|
1920
|
-
readonly $isPhantom: readonly [];
|
|
1921
|
-
readonly sender: ToField<"address">;
|
|
1922
|
-
readonly index: ToField<"u64">;
|
|
1923
|
-
readonly lpTokenType: ToField<TypeName>;
|
|
1924
|
-
readonly stakeAmount: ToField<"u64">;
|
|
1925
|
-
readonly userShareId: ToField<"u64">;
|
|
1926
|
-
readonly stakeTsMs: ToField<"u64">;
|
|
1927
|
-
readonly lastIncentivePriceIndex: ToField<VecMap<TypeName, "u64">>;
|
|
1928
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1929
|
-
private constructor();
|
|
1930
|
-
static reified(): StakeEventReified;
|
|
1931
|
-
static get r(): reified.StructClassReified<StakeEvent, StakeEventFields>;
|
|
1932
|
-
static phantom(): PhantomReified<ToTypeStr<StakeEvent>>;
|
|
1933
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::StakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::StakeEvent">;
|
|
1934
|
-
private static instantiateBcs;
|
|
1935
|
-
private static cachedBcs;
|
|
1936
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1937
|
-
sender: string;
|
|
1938
|
-
index: string;
|
|
1939
|
-
lp_token_type: {
|
|
1940
|
-
name: {
|
|
1941
|
-
bytes: number[];
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
stake_amount: string;
|
|
1945
|
-
user_share_id: string;
|
|
1946
|
-
stake_ts_ms: string;
|
|
1947
|
-
last_incentive_price_index: {
|
|
1948
|
-
contents: {
|
|
1949
|
-
key: {
|
|
1950
|
-
name: {
|
|
1951
|
-
bytes: number[];
|
|
1952
|
-
};
|
|
1953
|
-
};
|
|
1954
|
-
value: string;
|
|
1955
|
-
}[];
|
|
1956
|
-
};
|
|
1957
|
-
u64_padding: string[];
|
|
1958
|
-
}, {
|
|
1959
|
-
sender: string;
|
|
1960
|
-
index: string | number | bigint;
|
|
1961
|
-
lp_token_type: {
|
|
1962
|
-
name: {
|
|
1963
|
-
bytes: Iterable<number> & {
|
|
1964
|
-
length: number;
|
|
1965
|
-
};
|
|
1966
|
-
};
|
|
1967
|
-
};
|
|
1968
|
-
stake_amount: string | number | bigint;
|
|
1969
|
-
user_share_id: string | number | bigint;
|
|
1970
|
-
stake_ts_ms: string | number | bigint;
|
|
1971
|
-
last_incentive_price_index: {
|
|
1972
|
-
contents: Iterable<{
|
|
1973
|
-
key: {
|
|
1974
|
-
name: {
|
|
1975
|
-
bytes: Iterable<number> & {
|
|
1976
|
-
length: number;
|
|
1977
|
-
};
|
|
1978
|
-
};
|
|
1979
|
-
};
|
|
1980
|
-
value: string | number | bigint;
|
|
1981
|
-
}> & {
|
|
1982
|
-
length: number;
|
|
1983
|
-
};
|
|
1984
|
-
};
|
|
1985
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1986
|
-
length: number;
|
|
1987
|
-
};
|
|
1988
|
-
}>;
|
|
1989
|
-
static fromFields(fields: Record<string, any>): StakeEvent;
|
|
1990
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): StakeEvent;
|
|
1991
|
-
static fromBcs(data: Uint8Array): StakeEvent;
|
|
1992
|
-
toJSONField(): {
|
|
1993
|
-
sender: string;
|
|
1994
|
-
index: string;
|
|
1995
|
-
lpTokenType: {
|
|
1996
|
-
name: string;
|
|
1997
|
-
};
|
|
1998
|
-
stakeAmount: string;
|
|
1999
|
-
userShareId: string;
|
|
2000
|
-
stakeTsMs: string;
|
|
2001
|
-
lastIncentivePriceIndex: {
|
|
2002
|
-
contents: {
|
|
2003
|
-
key: {
|
|
2004
|
-
name: string;
|
|
2005
|
-
};
|
|
2006
|
-
value: string;
|
|
2007
|
-
}[];
|
|
2008
|
-
};
|
|
2009
|
-
u64Padding: string[];
|
|
2010
|
-
};
|
|
2011
|
-
toJSON(): {
|
|
2012
|
-
sender: string;
|
|
2013
|
-
index: string;
|
|
2014
|
-
lpTokenType: {
|
|
2015
|
-
name: string;
|
|
2016
|
-
};
|
|
2017
|
-
stakeAmount: string;
|
|
2018
|
-
userShareId: string;
|
|
2019
|
-
stakeTsMs: string;
|
|
2020
|
-
lastIncentivePriceIndex: {
|
|
2021
|
-
contents: {
|
|
2022
|
-
key: {
|
|
2023
|
-
name: string;
|
|
2024
|
-
};
|
|
2025
|
-
value: string;
|
|
2026
|
-
}[];
|
|
2027
|
-
};
|
|
2028
|
-
u64Padding: string[];
|
|
2029
|
-
$typeName: string;
|
|
2030
|
-
$typeArgs: [];
|
|
2031
|
-
};
|
|
2032
|
-
static fromJSONField(field: any): StakeEvent;
|
|
2033
|
-
static fromJSON(json: Record<string, any>): StakeEvent;
|
|
2034
|
-
static fromSuiParsedData(content: SuiParsedData): StakeEvent;
|
|
2035
|
-
static fromSuiObjectData(data: SuiObjectData): StakeEvent;
|
|
2036
|
-
static fetch(client: SuiClient, id: string): Promise<StakeEvent>;
|
|
2037
|
-
}
|
|
2038
|
-
export declare function isUpdatePoolInfoU64PaddingEvent(type: string): boolean;
|
|
2039
|
-
export interface UpdatePoolInfoU64PaddingEventFields {
|
|
2040
|
-
sender: ToField<"address">;
|
|
2041
|
-
index: ToField<"u64">;
|
|
2042
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2043
|
-
}
|
|
2044
|
-
export type UpdatePoolInfoU64PaddingEventReified = Reified<UpdatePoolInfoU64PaddingEvent, UpdatePoolInfoU64PaddingEventFields>;
|
|
2045
|
-
export declare class UpdatePoolInfoU64PaddingEvent implements StructClass {
|
|
2046
|
-
__StructClass: true;
|
|
2047
|
-
static readonly $typeName: string;
|
|
2048
|
-
static readonly $numTypeParams = 0;
|
|
2049
|
-
static readonly $isPhantom: readonly [];
|
|
2050
|
-
readonly $typeName: string;
|
|
2051
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UpdatePoolInfoU64PaddingEvent`;
|
|
2052
|
-
readonly $typeArgs: [];
|
|
2053
|
-
readonly $isPhantom: readonly [];
|
|
2054
|
-
readonly sender: ToField<"address">;
|
|
2055
|
-
readonly index: ToField<"u64">;
|
|
2056
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2057
|
-
private constructor();
|
|
2058
|
-
static reified(): UpdatePoolInfoU64PaddingEventReified;
|
|
2059
|
-
static get r(): reified.StructClassReified<UpdatePoolInfoU64PaddingEvent, UpdatePoolInfoU64PaddingEventFields>;
|
|
2060
|
-
static phantom(): PhantomReified<ToTypeStr<UpdatePoolInfoU64PaddingEvent>>;
|
|
2061
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UpdatePoolInfoU64PaddingEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UpdatePoolInfoU64PaddingEvent">;
|
|
2062
|
-
private static instantiateBcs;
|
|
2063
|
-
private static cachedBcs;
|
|
2064
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2065
|
-
sender: string;
|
|
2066
|
-
index: string;
|
|
2067
|
-
u64_padding: string[];
|
|
2068
|
-
}, {
|
|
2069
|
-
sender: string;
|
|
2070
|
-
index: string | number | bigint;
|
|
2071
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2072
|
-
length: number;
|
|
2073
|
-
};
|
|
2074
|
-
}>;
|
|
2075
|
-
static fromFields(fields: Record<string, any>): UpdatePoolInfoU64PaddingEvent;
|
|
2076
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdatePoolInfoU64PaddingEvent;
|
|
2077
|
-
static fromBcs(data: Uint8Array): UpdatePoolInfoU64PaddingEvent;
|
|
2078
|
-
toJSONField(): {
|
|
2079
|
-
sender: string;
|
|
2080
|
-
index: string;
|
|
2081
|
-
u64Padding: string[];
|
|
2082
|
-
};
|
|
2083
|
-
toJSON(): {
|
|
2084
|
-
sender: string;
|
|
2085
|
-
index: string;
|
|
2086
|
-
u64Padding: string[];
|
|
2087
|
-
$typeName: string;
|
|
2088
|
-
$typeArgs: [];
|
|
2089
|
-
};
|
|
2090
|
-
static fromJSONField(field: any): UpdatePoolInfoU64PaddingEvent;
|
|
2091
|
-
static fromJSON(json: Record<string, any>): UpdatePoolInfoU64PaddingEvent;
|
|
2092
|
-
static fromSuiParsedData(content: SuiParsedData): UpdatePoolInfoU64PaddingEvent;
|
|
2093
|
-
static fromSuiObjectData(data: SuiObjectData): UpdatePoolInfoU64PaddingEvent;
|
|
2094
|
-
static fetch(client: SuiClient, id: string): Promise<UpdatePoolInfoU64PaddingEvent>;
|
|
2095
|
-
}
|
|
2096
|
-
export declare function isSnapshotEvent(type: string): boolean;
|
|
2097
|
-
export interface SnapshotEventFields {
|
|
2098
|
-
sender: ToField<"address">;
|
|
2099
|
-
index: ToField<"u64">;
|
|
2100
|
-
userShareId: ToField<"u64">;
|
|
2101
|
-
shares: ToField<"u64">;
|
|
2102
|
-
tlpPrice: ToField<"u64">;
|
|
2103
|
-
lastTsMs: ToField<"u64">;
|
|
2104
|
-
currentTsMs: ToField<"u64">;
|
|
2105
|
-
exp: ToField<"u64">;
|
|
2106
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2107
|
-
}
|
|
2108
|
-
export type SnapshotEventReified = Reified<SnapshotEvent, SnapshotEventFields>;
|
|
2109
|
-
export declare class SnapshotEvent implements StructClass {
|
|
2110
|
-
__StructClass: true;
|
|
2111
|
-
static readonly $typeName: string;
|
|
2112
|
-
static readonly $numTypeParams = 0;
|
|
2113
|
-
static readonly $isPhantom: readonly [];
|
|
2114
|
-
readonly $typeName: string;
|
|
2115
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::SnapshotEvent`;
|
|
2116
|
-
readonly $typeArgs: [];
|
|
2117
|
-
readonly $isPhantom: readonly [];
|
|
2118
|
-
readonly sender: ToField<"address">;
|
|
2119
|
-
readonly index: ToField<"u64">;
|
|
2120
|
-
readonly userShareId: ToField<"u64">;
|
|
2121
|
-
readonly shares: ToField<"u64">;
|
|
2122
|
-
readonly tlpPrice: ToField<"u64">;
|
|
2123
|
-
readonly lastTsMs: ToField<"u64">;
|
|
2124
|
-
readonly currentTsMs: ToField<"u64">;
|
|
2125
|
-
readonly exp: ToField<"u64">;
|
|
2126
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2127
|
-
private constructor();
|
|
2128
|
-
static reified(): SnapshotEventReified;
|
|
2129
|
-
static get r(): reified.StructClassReified<SnapshotEvent, SnapshotEventFields>;
|
|
2130
|
-
static phantom(): PhantomReified<ToTypeStr<SnapshotEvent>>;
|
|
2131
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::SnapshotEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::SnapshotEvent">;
|
|
2132
|
-
private static instantiateBcs;
|
|
2133
|
-
private static cachedBcs;
|
|
2134
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2135
|
-
sender: string;
|
|
2136
|
-
index: string;
|
|
2137
|
-
user_share_id: string;
|
|
2138
|
-
shares: string;
|
|
2139
|
-
tlp_price: string;
|
|
2140
|
-
last_ts_ms: string;
|
|
2141
|
-
current_ts_ms: string;
|
|
2142
|
-
exp: string;
|
|
2143
|
-
u64_padding: string[];
|
|
2144
|
-
}, {
|
|
2145
|
-
sender: string;
|
|
2146
|
-
index: string | number | bigint;
|
|
2147
|
-
user_share_id: string | number | bigint;
|
|
2148
|
-
shares: string | number | bigint;
|
|
2149
|
-
tlp_price: string | number | bigint;
|
|
2150
|
-
last_ts_ms: string | number | bigint;
|
|
2151
|
-
current_ts_ms: string | number | bigint;
|
|
2152
|
-
exp: string | number | bigint;
|
|
2153
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2154
|
-
length: number;
|
|
2155
|
-
};
|
|
2156
|
-
}>;
|
|
2157
|
-
static fromFields(fields: Record<string, any>): SnapshotEvent;
|
|
2158
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): SnapshotEvent;
|
|
2159
|
-
static fromBcs(data: Uint8Array): SnapshotEvent;
|
|
2160
|
-
toJSONField(): {
|
|
2161
|
-
sender: string;
|
|
2162
|
-
index: string;
|
|
2163
|
-
userShareId: string;
|
|
2164
|
-
shares: string;
|
|
2165
|
-
tlpPrice: string;
|
|
2166
|
-
lastTsMs: string;
|
|
2167
|
-
currentTsMs: string;
|
|
2168
|
-
exp: string;
|
|
2169
|
-
u64Padding: string[];
|
|
2170
|
-
};
|
|
2171
|
-
toJSON(): {
|
|
2172
|
-
sender: string;
|
|
2173
|
-
index: string;
|
|
2174
|
-
userShareId: string;
|
|
2175
|
-
shares: string;
|
|
2176
|
-
tlpPrice: string;
|
|
2177
|
-
lastTsMs: string;
|
|
2178
|
-
currentTsMs: string;
|
|
2179
|
-
exp: string;
|
|
2180
|
-
u64Padding: string[];
|
|
2181
|
-
$typeName: string;
|
|
2182
|
-
$typeArgs: [];
|
|
2183
|
-
};
|
|
2184
|
-
static fromJSONField(field: any): SnapshotEvent;
|
|
2185
|
-
static fromJSON(json: Record<string, any>): SnapshotEvent;
|
|
2186
|
-
static fromSuiParsedData(content: SuiParsedData): SnapshotEvent;
|
|
2187
|
-
static fromSuiObjectData(data: SuiObjectData): SnapshotEvent;
|
|
2188
|
-
static fetch(client: SuiClient, id: string): Promise<SnapshotEvent>;
|
|
2189
|
-
}
|
|
2190
|
-
export declare function isUnsubscribeEvent(type: string): boolean;
|
|
2191
|
-
export interface UnsubscribeEventFields {
|
|
2192
|
-
sender: ToField<"address">;
|
|
2193
|
-
index: ToField<"u64">;
|
|
2194
|
-
lpTokenType: ToField<TypeName>;
|
|
2195
|
-
userShareId: ToField<"u64">;
|
|
2196
|
-
unsubscribedShares: ToField<"u64">;
|
|
2197
|
-
unsubscribeTsMs: ToField<"u64">;
|
|
2198
|
-
unlockedTsMs: ToField<"u64">;
|
|
2199
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2200
|
-
}
|
|
2201
|
-
export type UnsubscribeEventReified = Reified<UnsubscribeEvent, UnsubscribeEventFields>;
|
|
2202
|
-
export declare class UnsubscribeEvent implements StructClass {
|
|
2203
|
-
__StructClass: true;
|
|
2204
|
-
static readonly $typeName: string;
|
|
2205
|
-
static readonly $numTypeParams = 0;
|
|
2206
|
-
static readonly $isPhantom: readonly [];
|
|
2207
|
-
readonly $typeName: string;
|
|
2208
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UnsubscribeEvent`;
|
|
2209
|
-
readonly $typeArgs: [];
|
|
2210
|
-
readonly $isPhantom: readonly [];
|
|
2211
|
-
readonly sender: ToField<"address">;
|
|
2212
|
-
readonly index: ToField<"u64">;
|
|
2213
|
-
readonly lpTokenType: ToField<TypeName>;
|
|
2214
|
-
readonly userShareId: ToField<"u64">;
|
|
2215
|
-
readonly unsubscribedShares: ToField<"u64">;
|
|
2216
|
-
readonly unsubscribeTsMs: ToField<"u64">;
|
|
2217
|
-
readonly unlockedTsMs: ToField<"u64">;
|
|
2218
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2219
|
-
private constructor();
|
|
2220
|
-
static reified(): UnsubscribeEventReified;
|
|
2221
|
-
static get r(): reified.StructClassReified<UnsubscribeEvent, UnsubscribeEventFields>;
|
|
2222
|
-
static phantom(): PhantomReified<ToTypeStr<UnsubscribeEvent>>;
|
|
2223
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnsubscribeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnsubscribeEvent">;
|
|
2224
|
-
private static instantiateBcs;
|
|
2225
|
-
private static cachedBcs;
|
|
2226
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2227
|
-
sender: string;
|
|
2228
|
-
index: string;
|
|
2229
|
-
lp_token_type: {
|
|
2230
|
-
name: {
|
|
2231
|
-
bytes: number[];
|
|
2232
|
-
};
|
|
2233
|
-
};
|
|
2234
|
-
user_share_id: string;
|
|
2235
|
-
unsubscribed_shares: string;
|
|
2236
|
-
unsubscribe_ts_ms: string;
|
|
2237
|
-
unlocked_ts_ms: string;
|
|
2238
|
-
u64_padding: string[];
|
|
2239
|
-
}, {
|
|
2240
|
-
sender: string;
|
|
2241
|
-
index: string | number | bigint;
|
|
2242
|
-
lp_token_type: {
|
|
2243
|
-
name: {
|
|
2244
|
-
bytes: Iterable<number> & {
|
|
2245
|
-
length: number;
|
|
2246
|
-
};
|
|
2247
|
-
};
|
|
2248
|
-
};
|
|
2249
|
-
user_share_id: string | number | bigint;
|
|
2250
|
-
unsubscribed_shares: string | number | bigint;
|
|
2251
|
-
unsubscribe_ts_ms: string | number | bigint;
|
|
2252
|
-
unlocked_ts_ms: string | number | bigint;
|
|
2253
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2254
|
-
length: number;
|
|
2255
|
-
};
|
|
2256
|
-
}>;
|
|
2257
|
-
static fromFields(fields: Record<string, any>): UnsubscribeEvent;
|
|
2258
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UnsubscribeEvent;
|
|
2259
|
-
static fromBcs(data: Uint8Array): UnsubscribeEvent;
|
|
2260
|
-
toJSONField(): {
|
|
2261
|
-
sender: string;
|
|
2262
|
-
index: string;
|
|
2263
|
-
lpTokenType: {
|
|
2264
|
-
name: string;
|
|
2265
|
-
};
|
|
2266
|
-
userShareId: string;
|
|
2267
|
-
unsubscribedShares: string;
|
|
2268
|
-
unsubscribeTsMs: string;
|
|
2269
|
-
unlockedTsMs: string;
|
|
2270
|
-
u64Padding: string[];
|
|
2271
|
-
};
|
|
2272
|
-
toJSON(): {
|
|
2273
|
-
sender: string;
|
|
2274
|
-
index: string;
|
|
2275
|
-
lpTokenType: {
|
|
2276
|
-
name: string;
|
|
2277
|
-
};
|
|
2278
|
-
userShareId: string;
|
|
2279
|
-
unsubscribedShares: string;
|
|
2280
|
-
unsubscribeTsMs: string;
|
|
2281
|
-
unlockedTsMs: string;
|
|
2282
|
-
u64Padding: string[];
|
|
2283
|
-
$typeName: string;
|
|
2284
|
-
$typeArgs: [];
|
|
2285
|
-
};
|
|
2286
|
-
static fromJSONField(field: any): UnsubscribeEvent;
|
|
2287
|
-
static fromJSON(json: Record<string, any>): UnsubscribeEvent;
|
|
2288
|
-
static fromSuiParsedData(content: SuiParsedData): UnsubscribeEvent;
|
|
2289
|
-
static fromSuiObjectData(data: SuiObjectData): UnsubscribeEvent;
|
|
2290
|
-
static fetch(client: SuiClient, id: string): Promise<UnsubscribeEvent>;
|
|
2291
|
-
}
|
|
2292
|
-
export declare function isUnstakeEvent(type: string): boolean;
|
|
2293
|
-
export interface UnstakeEventFields {
|
|
2294
|
-
sender: ToField<"address">;
|
|
2295
|
-
index: ToField<"u64">;
|
|
2296
|
-
lpTokenType: ToField<TypeName>;
|
|
2297
|
-
userShareId: ToField<"u64">;
|
|
2298
|
-
unstakeAmount: ToField<"u64">;
|
|
2299
|
-
unstakeTsMs: ToField<"u64">;
|
|
2300
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2301
|
-
}
|
|
2302
|
-
export type UnstakeEventReified = Reified<UnstakeEvent, UnstakeEventFields>;
|
|
2303
|
-
export declare class UnstakeEvent implements StructClass {
|
|
2304
|
-
__StructClass: true;
|
|
2305
|
-
static readonly $typeName: string;
|
|
2306
|
-
static readonly $numTypeParams = 0;
|
|
2307
|
-
static readonly $isPhantom: readonly [];
|
|
2308
|
-
readonly $typeName: string;
|
|
2309
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::UnstakeEvent`;
|
|
2310
|
-
readonly $typeArgs: [];
|
|
2311
|
-
readonly $isPhantom: readonly [];
|
|
2312
|
-
readonly sender: ToField<"address">;
|
|
2313
|
-
readonly index: ToField<"u64">;
|
|
2314
|
-
readonly lpTokenType: ToField<TypeName>;
|
|
2315
|
-
readonly userShareId: ToField<"u64">;
|
|
2316
|
-
readonly unstakeAmount: ToField<"u64">;
|
|
2317
|
-
readonly unstakeTsMs: ToField<"u64">;
|
|
2318
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2319
|
-
private constructor();
|
|
2320
|
-
static reified(): UnstakeEventReified;
|
|
2321
|
-
static get r(): reified.StructClassReified<UnstakeEvent, UnstakeEventFields>;
|
|
2322
|
-
static phantom(): PhantomReified<ToTypeStr<UnstakeEvent>>;
|
|
2323
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::UnstakeEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::UnstakeEvent">;
|
|
2324
|
-
private static instantiateBcs;
|
|
2325
|
-
private static cachedBcs;
|
|
2326
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2327
|
-
sender: string;
|
|
2328
|
-
index: string;
|
|
2329
|
-
lp_token_type: {
|
|
2330
|
-
name: {
|
|
2331
|
-
bytes: number[];
|
|
2332
|
-
};
|
|
2333
|
-
};
|
|
2334
|
-
user_share_id: string;
|
|
2335
|
-
unstake_amount: string;
|
|
2336
|
-
unstake_ts_ms: string;
|
|
2337
|
-
u64_padding: string[];
|
|
2338
|
-
}, {
|
|
2339
|
-
sender: string;
|
|
2340
|
-
index: string | number | bigint;
|
|
2341
|
-
lp_token_type: {
|
|
2342
|
-
name: {
|
|
2343
|
-
bytes: Iterable<number> & {
|
|
2344
|
-
length: number;
|
|
2345
|
-
};
|
|
2346
|
-
};
|
|
2347
|
-
};
|
|
2348
|
-
user_share_id: string | number | bigint;
|
|
2349
|
-
unstake_amount: string | number | bigint;
|
|
2350
|
-
unstake_ts_ms: string | number | bigint;
|
|
2351
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2352
|
-
length: number;
|
|
2353
|
-
};
|
|
2354
|
-
}>;
|
|
2355
|
-
static fromFields(fields: Record<string, any>): UnstakeEvent;
|
|
2356
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UnstakeEvent;
|
|
2357
|
-
static fromBcs(data: Uint8Array): UnstakeEvent;
|
|
2358
|
-
toJSONField(): {
|
|
2359
|
-
sender: string;
|
|
2360
|
-
index: string;
|
|
2361
|
-
lpTokenType: {
|
|
2362
|
-
name: string;
|
|
2363
|
-
};
|
|
2364
|
-
userShareId: string;
|
|
2365
|
-
unstakeAmount: string;
|
|
2366
|
-
unstakeTsMs: string;
|
|
2367
|
-
u64Padding: string[];
|
|
2368
|
-
};
|
|
2369
|
-
toJSON(): {
|
|
2370
|
-
sender: string;
|
|
2371
|
-
index: string;
|
|
2372
|
-
lpTokenType: {
|
|
2373
|
-
name: string;
|
|
2374
|
-
};
|
|
2375
|
-
userShareId: string;
|
|
2376
|
-
unstakeAmount: string;
|
|
2377
|
-
unstakeTsMs: string;
|
|
2378
|
-
u64Padding: string[];
|
|
2379
|
-
$typeName: string;
|
|
2380
|
-
$typeArgs: [];
|
|
2381
|
-
};
|
|
2382
|
-
static fromJSONField(field: any): UnstakeEvent;
|
|
2383
|
-
static fromJSON(json: Record<string, any>): UnstakeEvent;
|
|
2384
|
-
static fromSuiParsedData(content: SuiParsedData): UnstakeEvent;
|
|
2385
|
-
static fromSuiObjectData(data: SuiObjectData): UnstakeEvent;
|
|
2386
|
-
static fetch(client: SuiClient, id: string): Promise<UnstakeEvent>;
|
|
2387
|
-
}
|
|
2388
|
-
export declare function isHarvestPerUserShareEvent(type: string): boolean;
|
|
2389
|
-
export interface HarvestPerUserShareEventFields {
|
|
2390
|
-
sender: ToField<"address">;
|
|
2391
|
-
index: ToField<"u64">;
|
|
2392
|
-
incentiveTokenType: ToField<TypeName>;
|
|
2393
|
-
harvestAmount: ToField<"u64">;
|
|
2394
|
-
userShareId: ToField<"u64">;
|
|
2395
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2396
|
-
}
|
|
2397
|
-
export type HarvestPerUserShareEventReified = Reified<HarvestPerUserShareEvent, HarvestPerUserShareEventFields>;
|
|
2398
|
-
export declare class HarvestPerUserShareEvent implements StructClass {
|
|
2399
|
-
__StructClass: true;
|
|
2400
|
-
static readonly $typeName: string;
|
|
2401
|
-
static readonly $numTypeParams = 0;
|
|
2402
|
-
static readonly $isPhantom: readonly [];
|
|
2403
|
-
readonly $typeName: string;
|
|
2404
|
-
readonly $fullTypeName: `${typeof PKG_V1}::stake_pool::HarvestPerUserShareEvent`;
|
|
2405
|
-
readonly $typeArgs: [];
|
|
2406
|
-
readonly $isPhantom: readonly [];
|
|
2407
|
-
readonly sender: ToField<"address">;
|
|
2408
|
-
readonly index: ToField<"u64">;
|
|
2409
|
-
readonly incentiveTokenType: ToField<TypeName>;
|
|
2410
|
-
readonly harvestAmount: ToField<"u64">;
|
|
2411
|
-
readonly userShareId: ToField<"u64">;
|
|
2412
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2413
|
-
private constructor();
|
|
2414
|
-
static reified(): HarvestPerUserShareEventReified;
|
|
2415
|
-
static get r(): reified.StructClassReified<HarvestPerUserShareEvent, HarvestPerUserShareEventFields>;
|
|
2416
|
-
static phantom(): PhantomReified<ToTypeStr<HarvestPerUserShareEvent>>;
|
|
2417
|
-
static get p(): reified.PhantomReified<"0xc427209145715a00a93d7e674a95c556a7147d79fda1bbaeb1a1cac5f9923966::stake_pool::HarvestPerUserShareEvent" | "0x220e7ba8923c0c30b57c0baab3bc15d781a39bb294cf7af318c0fc816b5cf7e6::stake_pool::HarvestPerUserShareEvent">;
|
|
2418
|
-
private static instantiateBcs;
|
|
2419
|
-
private static cachedBcs;
|
|
2420
|
-
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2421
|
-
sender: string;
|
|
2422
|
-
index: string;
|
|
2423
|
-
incentive_token_type: {
|
|
2424
|
-
name: {
|
|
2425
|
-
bytes: number[];
|
|
2426
|
-
};
|
|
2427
|
-
};
|
|
2428
|
-
harvest_amount: string;
|
|
2429
|
-
user_share_id: string;
|
|
2430
|
-
u64_padding: string[];
|
|
2431
|
-
}, {
|
|
2432
|
-
sender: string;
|
|
2433
|
-
index: string | number | bigint;
|
|
2434
|
-
incentive_token_type: {
|
|
2435
|
-
name: {
|
|
2436
|
-
bytes: Iterable<number> & {
|
|
2437
|
-
length: number;
|
|
2438
|
-
};
|
|
2439
|
-
};
|
|
2440
|
-
};
|
|
2441
|
-
harvest_amount: string | number | bigint;
|
|
2442
|
-
user_share_id: string | number | bigint;
|
|
2443
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2444
|
-
length: number;
|
|
2445
|
-
};
|
|
2446
|
-
}>;
|
|
2447
|
-
static fromFields(fields: Record<string, any>): HarvestPerUserShareEvent;
|
|
2448
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): HarvestPerUserShareEvent;
|
|
2449
|
-
static fromBcs(data: Uint8Array): HarvestPerUserShareEvent;
|
|
2450
|
-
toJSONField(): {
|
|
2451
|
-
sender: string;
|
|
2452
|
-
index: string;
|
|
2453
|
-
incentiveTokenType: {
|
|
2454
|
-
name: string;
|
|
2455
|
-
};
|
|
2456
|
-
harvestAmount: string;
|
|
2457
|
-
userShareId: string;
|
|
2458
|
-
u64Padding: string[];
|
|
2459
|
-
};
|
|
2460
|
-
toJSON(): {
|
|
2461
|
-
sender: string;
|
|
2462
|
-
index: string;
|
|
2463
|
-
incentiveTokenType: {
|
|
2464
|
-
name: string;
|
|
2465
|
-
};
|
|
2466
|
-
harvestAmount: string;
|
|
2467
|
-
userShareId: string;
|
|
2468
|
-
u64Padding: string[];
|
|
2469
|
-
$typeName: string;
|
|
2470
|
-
$typeArgs: [];
|
|
2471
|
-
};
|
|
2472
|
-
static fromJSONField(field: any): HarvestPerUserShareEvent;
|
|
2473
|
-
static fromJSON(json: Record<string, any>): HarvestPerUserShareEvent;
|
|
2474
|
-
static fromSuiParsedData(content: SuiParsedData): HarvestPerUserShareEvent;
|
|
2475
|
-
static fromSuiObjectData(data: SuiObjectData): HarvestPerUserShareEvent;
|
|
2476
|
-
static fetch(client: SuiClient, id: string): Promise<HarvestPerUserShareEvent>;
|
|
2477
|
-
}
|