@typus/typus-perp-sdk 1.1.30 → 1.1.31-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 +0 -4
- package/dist/src/index.js +20 -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 -6
- package/dist/src/user/orderWithBidReceipt.js +127 -226
- package/dist/src/user/tlp.d.ts +32 -23
- package/dist/src/user/tlp.js +316 -468
- package/package.json +44 -36
- package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +0 -88
- 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 -50
- package/dist/src/_dependencies/source/0x1/option/structs.js +0 -271
- package/dist/src/_dependencies/source/0x1/string/structs.d.ts +0 -48
- package/dist/src/_dependencies/source/0x1/string/structs.js +0 -256
- package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +0 -49
- package/dist/src/_dependencies/source/0x1/type-name/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +0 -54
- package/dist/src/_dependencies/source/0x2/bag/structs.js +0 -229
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +0 -84
- package/dist/src/_dependencies/source/0x2/balance/structs.js +0 -386
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +0 -406
- 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 -132
- package/dist/src/_dependencies/source/0x2/linked-table/structs.js +0 -438
- package/dist/src/_dependencies/source/0x2/object/structs.d.ts +0 -86
- package/dist/src/_dependencies/source/0x2/object/structs.js +0 -364
- package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +0 -54
- package/dist/src/_dependencies/source/0x2/object-table/structs.js +0 -248
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +0 -44
- package/dist/src/_dependencies/source/0x2/sui/structs.js +0 -222
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +0 -54
- package/dist/src/_dependencies/source/0x2/table/structs.js +0 -248
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -59
- package/dist/src/_dependencies/source/0x2/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +0 -421
- package/dist/src/_dependencies/source/0x2/token/structs.js +0 -1095
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -348
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -1091
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +0 -49
- package/dist/src/_dependencies/source/0x2/url/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +0 -106
- package/dist/src/_dependencies/source/0x2/vec-map/structs.js +0 -446
- package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +0 -49
- package/dist/src/_dependencies/source/0x2/vec-set/structs.js +0 -270
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +0 -422
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +0 -1084
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +0 -130
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +0 -456
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +0 -208
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +0 -653
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +0 -362
- 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 -202
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.js +0 -632
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +0 -600
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +0 -1459
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +0 -136
- 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 -127
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +0 -430
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +0 -957
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +0 -2261
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +0 -244
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +0 -733
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +0 -294
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +0 -892
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +0 -73
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +0 -263
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +0 -294
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +0 -591
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +0 -64
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +0 -258
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +0 -756
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +0 -1721
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +0 -44
- 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 -135
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +0 -444
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +0 -2106
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.js +0 -4952
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +0 -390
- 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 -89
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +0 -376
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +0 -386
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +0 -881
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +0 -59
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +0 -974
- 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 -42
- 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 -467
- 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 -80
- 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 -160
- 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 -3705
- 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 -905
- 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 -70
- 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 -89
- 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 -3060
- 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 -49
- 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 -148
- 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 -365
- 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 -2199
- package/dist/src/typus_stake_pool/stake-pool/structs.js +0 -4653
- /package/dist/src/{pyth.d.ts → grpc/ledgerService.d.ts} +0 -0
|
@@ -0,0 +1,1023 @@
|
|
|
1
|
+
/**************************************************************
|
|
2
|
+
* THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *
|
|
3
|
+
**************************************************************/
|
|
4
|
+
import { MoveStruct, type RawTransactionArgument } from "../utils/index";
|
|
5
|
+
import { type Transaction } from "@mysten/sui/transactions";
|
|
6
|
+
export declare const StakePoolRegistry: MoveStruct<{
|
|
7
|
+
id: MoveStruct<{
|
|
8
|
+
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
9
|
+
}, "0x2::object::UID">;
|
|
10
|
+
/** The number of pools in the registry. */
|
|
11
|
+
num_pool: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
12
|
+
}, "@typus/stake-pool::stake_pool::StakePoolRegistry">;
|
|
13
|
+
export declare const StakePoolInfo: MoveStruct<{
|
|
14
|
+
/** The type name of the stake token. */
|
|
15
|
+
stake_token: MoveStruct<{
|
|
16
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
17
|
+
}, "std::type_name::TypeName">;
|
|
18
|
+
/** The index of the pool. */
|
|
19
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
20
|
+
/** The next user share ID. */
|
|
21
|
+
next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
22
|
+
/** The total number of shares in the pool. */
|
|
23
|
+
total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
24
|
+
/** Whether the pool is active. */
|
|
25
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
26
|
+
/**
|
|
27
|
+
* Padding for future use. [new_tlp_price (decimal 4), usd_per_exp,
|
|
28
|
+
* depositors_count]
|
|
29
|
+
*/
|
|
30
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
31
|
+
length: number;
|
|
32
|
+
}, string>;
|
|
33
|
+
}, "@typus/stake-pool::stake_pool::StakePoolInfo">;
|
|
34
|
+
export declare const StakePoolConfig: MoveStruct<{
|
|
35
|
+
/** The unlock countdown in milliseconds. */
|
|
36
|
+
unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
37
|
+
/** Padding for future use. */
|
|
38
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
39
|
+
length: number;
|
|
40
|
+
}, string>;
|
|
41
|
+
}, "@typus/stake-pool::stake_pool::StakePoolConfig">;
|
|
42
|
+
export declare const IncentiveConfig: MoveStruct<{
|
|
43
|
+
/** The amount of incentive per period. */
|
|
44
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
45
|
+
/** The incentive interval in milliseconds. */
|
|
46
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
47
|
+
/** Padding for future use. */
|
|
48
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
49
|
+
length: number;
|
|
50
|
+
}, string>;
|
|
51
|
+
}, "@typus/stake-pool::stake_pool::IncentiveConfig">;
|
|
52
|
+
export declare const IncentiveInfo: MoveStruct<{
|
|
53
|
+
/** Whether the incentive is active. */
|
|
54
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
55
|
+
/** The timestamp of the last allocation. */
|
|
56
|
+
last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
57
|
+
/** The price index for accumulating incentive. */
|
|
58
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
59
|
+
/** The unallocated amount of incentive. */
|
|
60
|
+
unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
61
|
+
/** Padding for future use. */
|
|
62
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
63
|
+
length: number;
|
|
64
|
+
}, string>;
|
|
65
|
+
}, "@typus/stake-pool::stake_pool::IncentiveInfo">;
|
|
66
|
+
export declare const Incentive: MoveStruct<{
|
|
67
|
+
/** The type name of the incentive token. */
|
|
68
|
+
token_type: MoveStruct<{
|
|
69
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
70
|
+
}, "std::type_name::TypeName">;
|
|
71
|
+
/** The configuration for the incentive. */
|
|
72
|
+
config: MoveStruct<{
|
|
73
|
+
/** The amount of incentive per period. */
|
|
74
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
75
|
+
/** The incentive interval in milliseconds. */
|
|
76
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
77
|
+
/** Padding for future use. */
|
|
78
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
79
|
+
length: number;
|
|
80
|
+
}, string>;
|
|
81
|
+
}, "@typus/stake-pool::stake_pool::IncentiveConfig">;
|
|
82
|
+
/** Information about the incentive. */
|
|
83
|
+
info: MoveStruct<{
|
|
84
|
+
/** Whether the incentive is active. */
|
|
85
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
86
|
+
/** The timestamp of the last allocation. */
|
|
87
|
+
last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
88
|
+
/** The price index for accumulating incentive. */
|
|
89
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
90
|
+
/** The unallocated amount of incentive. */
|
|
91
|
+
unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
92
|
+
/** Padding for future use. */
|
|
93
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
94
|
+
length: number;
|
|
95
|
+
}, string>;
|
|
96
|
+
}, "@typus/stake-pool::stake_pool::IncentiveInfo">;
|
|
97
|
+
}, "@typus/stake-pool::stake_pool::Incentive">;
|
|
98
|
+
export declare const StakePool: MoveStruct<{
|
|
99
|
+
id: MoveStruct<{
|
|
100
|
+
id: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
101
|
+
}, "0x2::object::UID">;
|
|
102
|
+
/** Information about the stake pool. */
|
|
103
|
+
pool_info: MoveStruct<{
|
|
104
|
+
/** The type name of the stake token. */
|
|
105
|
+
stake_token: MoveStruct<{
|
|
106
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
107
|
+
}, "std::type_name::TypeName">;
|
|
108
|
+
/** The index of the pool. */
|
|
109
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
110
|
+
/** The next user share ID. */
|
|
111
|
+
next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
112
|
+
/** The total number of shares in the pool. */
|
|
113
|
+
total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
114
|
+
/** Whether the pool is active. */
|
|
115
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
116
|
+
/**
|
|
117
|
+
* Padding for future use. [new_tlp_price (decimal 4), usd_per_exp,
|
|
118
|
+
* depositors_count]
|
|
119
|
+
*/
|
|
120
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
121
|
+
length: number;
|
|
122
|
+
}, string>;
|
|
123
|
+
}, "@typus/stake-pool::stake_pool::StakePoolInfo">;
|
|
124
|
+
/** Configuration for the stake pool. */
|
|
125
|
+
config: MoveStruct<{
|
|
126
|
+
/** The unlock countdown in milliseconds. */
|
|
127
|
+
unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
128
|
+
/** Padding for future use. */
|
|
129
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
130
|
+
length: number;
|
|
131
|
+
}, string>;
|
|
132
|
+
}, "@typus/stake-pool::stake_pool::StakePoolConfig">;
|
|
133
|
+
/** A vector of the incentives in the stake pool. */
|
|
134
|
+
incentives: import("@mysten/sui/bcs").BcsType<{
|
|
135
|
+
token_type: {
|
|
136
|
+
name: string;
|
|
137
|
+
};
|
|
138
|
+
config: {
|
|
139
|
+
period_incentive_amount: string;
|
|
140
|
+
incentive_interval_ts_ms: string;
|
|
141
|
+
u64_padding: string[];
|
|
142
|
+
};
|
|
143
|
+
info: {
|
|
144
|
+
active: boolean;
|
|
145
|
+
last_allocate_ts_ms: string;
|
|
146
|
+
incentive_price_index: string;
|
|
147
|
+
unallocated_amount: string;
|
|
148
|
+
u64_padding: string[];
|
|
149
|
+
};
|
|
150
|
+
}[], Iterable<{
|
|
151
|
+
token_type: {
|
|
152
|
+
name: string;
|
|
153
|
+
};
|
|
154
|
+
config: {
|
|
155
|
+
period_incentive_amount: string | number | bigint;
|
|
156
|
+
incentive_interval_ts_ms: string | number | bigint;
|
|
157
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
158
|
+
length: number;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
info: {
|
|
162
|
+
active: boolean;
|
|
163
|
+
last_allocate_ts_ms: string | number | bigint;
|
|
164
|
+
incentive_price_index: string | number | bigint;
|
|
165
|
+
unallocated_amount: string | number | bigint;
|
|
166
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
167
|
+
length: number;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}> & {
|
|
171
|
+
length: number;
|
|
172
|
+
}, string>;
|
|
173
|
+
/** Padding for future use. */
|
|
174
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
175
|
+
length: number;
|
|
176
|
+
}, string>;
|
|
177
|
+
}, "@typus/stake-pool::stake_pool::StakePool">;
|
|
178
|
+
export declare const DeactivatingShares: MoveStruct<{
|
|
179
|
+
/** The number of shares. */
|
|
180
|
+
shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
181
|
+
/** The timestamp when the user unsubscribed. */
|
|
182
|
+
unsubscribed_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
183
|
+
/** The timestamp when the shares can be unlocked. */
|
|
184
|
+
unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
185
|
+
/** The unsubscribed incentive price index. */
|
|
186
|
+
unsubscribed_incentive_price_index: MoveStruct<{
|
|
187
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
188
|
+
key: {
|
|
189
|
+
name: string;
|
|
190
|
+
};
|
|
191
|
+
value: string;
|
|
192
|
+
}[], Iterable<{
|
|
193
|
+
key: {
|
|
194
|
+
name: string;
|
|
195
|
+
};
|
|
196
|
+
value: string | number | bigint;
|
|
197
|
+
}> & {
|
|
198
|
+
length: number;
|
|
199
|
+
}, string>;
|
|
200
|
+
}, "0x2::vec_map::VecMap<std::type_name::TypeName, u64>">;
|
|
201
|
+
/** Padding for future use. */
|
|
202
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
203
|
+
length: number;
|
|
204
|
+
}, string>;
|
|
205
|
+
}, "@typus/stake-pool::stake_pool::DeactivatingShares">;
|
|
206
|
+
export declare const LpUserShare: MoveStruct<{
|
|
207
|
+
/** The address of the user. */
|
|
208
|
+
user: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
209
|
+
/** The ID of the user's share. */
|
|
210
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
211
|
+
/** The timestamp when the user staked. */
|
|
212
|
+
stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
213
|
+
/** The total number of shares. */
|
|
214
|
+
total_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
215
|
+
/** The number of active shares. */
|
|
216
|
+
active_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
217
|
+
/** A vector of deactivating shares. */
|
|
218
|
+
deactivating_shares: import("@mysten/sui/bcs").BcsType<{
|
|
219
|
+
shares: string;
|
|
220
|
+
unsubscribed_ts_ms: string;
|
|
221
|
+
unlocked_ts_ms: string;
|
|
222
|
+
unsubscribed_incentive_price_index: {
|
|
223
|
+
contents: {
|
|
224
|
+
key: {
|
|
225
|
+
name: string;
|
|
226
|
+
};
|
|
227
|
+
value: string;
|
|
228
|
+
}[];
|
|
229
|
+
};
|
|
230
|
+
u64_padding: string[];
|
|
231
|
+
}[], Iterable<{
|
|
232
|
+
shares: string | number | bigint;
|
|
233
|
+
unsubscribed_ts_ms: string | number | bigint;
|
|
234
|
+
unlocked_ts_ms: string | number | bigint;
|
|
235
|
+
unsubscribed_incentive_price_index: {
|
|
236
|
+
contents: Iterable<{
|
|
237
|
+
key: {
|
|
238
|
+
name: string;
|
|
239
|
+
};
|
|
240
|
+
value: string | number | bigint;
|
|
241
|
+
}> & {
|
|
242
|
+
length: number;
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
246
|
+
length: number;
|
|
247
|
+
};
|
|
248
|
+
}> & {
|
|
249
|
+
length: number;
|
|
250
|
+
}, string>;
|
|
251
|
+
/** The last incentive price index. */
|
|
252
|
+
last_incentive_price_index: MoveStruct<{
|
|
253
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
254
|
+
key: {
|
|
255
|
+
name: string;
|
|
256
|
+
};
|
|
257
|
+
value: string;
|
|
258
|
+
}[], Iterable<{
|
|
259
|
+
key: {
|
|
260
|
+
name: string;
|
|
261
|
+
};
|
|
262
|
+
value: string | number | bigint;
|
|
263
|
+
}> & {
|
|
264
|
+
length: number;
|
|
265
|
+
}, string>;
|
|
266
|
+
}, "0x2::vec_map::VecMap<std::type_name::TypeName, u64>">;
|
|
267
|
+
/**
|
|
268
|
+
* Padding for future use. [snapshot_ts_ms, old_tlp_price (decimal 4),
|
|
269
|
+
* is_auto_compound(deprecated), harvested_amount]
|
|
270
|
+
*/
|
|
271
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
272
|
+
length: number;
|
|
273
|
+
}, string>;
|
|
274
|
+
}, "@typus/stake-pool::stake_pool::LpUserShare">;
|
|
275
|
+
export declare const NewStakePoolEvent: MoveStruct<{
|
|
276
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
277
|
+
stake_pool_info: MoveStruct<{
|
|
278
|
+
/** The type name of the stake token. */
|
|
279
|
+
stake_token: MoveStruct<{
|
|
280
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
281
|
+
}, "std::type_name::TypeName">;
|
|
282
|
+
/** The index of the pool. */
|
|
283
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
284
|
+
/** The next user share ID. */
|
|
285
|
+
next_user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
286
|
+
/** The total number of shares in the pool. */
|
|
287
|
+
total_share: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
288
|
+
/** Whether the pool is active. */
|
|
289
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
290
|
+
/**
|
|
291
|
+
* Padding for future use. [new_tlp_price (decimal 4), usd_per_exp,
|
|
292
|
+
* depositors_count]
|
|
293
|
+
*/
|
|
294
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
295
|
+
length: number;
|
|
296
|
+
}, string>;
|
|
297
|
+
}, "@typus/stake-pool::stake_pool::StakePoolInfo">;
|
|
298
|
+
stake_pool_config: MoveStruct<{
|
|
299
|
+
/** The unlock countdown in milliseconds. */
|
|
300
|
+
unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
301
|
+
/** Padding for future use. */
|
|
302
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
303
|
+
length: number;
|
|
304
|
+
}, string>;
|
|
305
|
+
}, "@typus/stake-pool::stake_pool::StakePoolConfig">;
|
|
306
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
307
|
+
length: number;
|
|
308
|
+
}, string>;
|
|
309
|
+
}, "@typus/stake-pool::stake_pool::NewStakePoolEvent">;
|
|
310
|
+
export declare const AutoCompoundEvent: MoveStruct<{
|
|
311
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
312
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
313
|
+
incentive_token: MoveStruct<{
|
|
314
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
315
|
+
}, "std::type_name::TypeName">;
|
|
316
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
317
|
+
total_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
318
|
+
compound_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
319
|
+
total_users: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
320
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
321
|
+
length: number;
|
|
322
|
+
}, string>;
|
|
323
|
+
}, "@typus/stake-pool::stake_pool::AutoCompoundEvent">;
|
|
324
|
+
export declare const AddIncentiveTokenEvent: MoveStruct<{
|
|
325
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
326
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
327
|
+
incentive_token: MoveStruct<{
|
|
328
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
329
|
+
}, "std::type_name::TypeName">;
|
|
330
|
+
incentive_info: MoveStruct<{
|
|
331
|
+
/** Whether the incentive is active. */
|
|
332
|
+
active: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
333
|
+
/** The timestamp of the last allocation. */
|
|
334
|
+
last_allocate_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
335
|
+
/** The price index for accumulating incentive. */
|
|
336
|
+
incentive_price_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
337
|
+
/** The unallocated amount of incentive. */
|
|
338
|
+
unallocated_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
339
|
+
/** Padding for future use. */
|
|
340
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
341
|
+
length: number;
|
|
342
|
+
}, string>;
|
|
343
|
+
}, "@typus/stake-pool::stake_pool::IncentiveInfo">;
|
|
344
|
+
incentive_config: MoveStruct<{
|
|
345
|
+
/** The amount of incentive per period. */
|
|
346
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
347
|
+
/** The incentive interval in milliseconds. */
|
|
348
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
349
|
+
/** Padding for future use. */
|
|
350
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
351
|
+
length: number;
|
|
352
|
+
}, string>;
|
|
353
|
+
}, "@typus/stake-pool::stake_pool::IncentiveConfig">;
|
|
354
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
355
|
+
length: number;
|
|
356
|
+
}, string>;
|
|
357
|
+
}, "@typus/stake-pool::stake_pool::AddIncentiveTokenEvent">;
|
|
358
|
+
export declare const DeactivateIncentiveTokenEvent: MoveStruct<{
|
|
359
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
360
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
361
|
+
incentive_token: MoveStruct<{
|
|
362
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
363
|
+
}, "std::type_name::TypeName">;
|
|
364
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
365
|
+
length: number;
|
|
366
|
+
}, string>;
|
|
367
|
+
}, "@typus/stake-pool::stake_pool::DeactivateIncentiveTokenEvent">;
|
|
368
|
+
export declare const ActivateIncentiveTokenEvent: MoveStruct<{
|
|
369
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
370
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
371
|
+
incentive_token: MoveStruct<{
|
|
372
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
373
|
+
}, "std::type_name::TypeName">;
|
|
374
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
375
|
+
length: number;
|
|
376
|
+
}, string>;
|
|
377
|
+
}, "@typus/stake-pool::stake_pool::ActivateIncentiveTokenEvent">;
|
|
378
|
+
export declare const RemoveIncentiveTokenEvent: MoveStruct<{
|
|
379
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
380
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
381
|
+
incentive_token: MoveStruct<{
|
|
382
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
383
|
+
}, "std::type_name::TypeName">;
|
|
384
|
+
incentive_balance_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
385
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
386
|
+
length: number;
|
|
387
|
+
}, string>;
|
|
388
|
+
}, "@typus/stake-pool::stake_pool::RemoveIncentiveTokenEvent">;
|
|
389
|
+
export declare const UpdateUnlockCountdownTsMsEvent: MoveStruct<{
|
|
390
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
391
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
392
|
+
previous_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
393
|
+
new_unlock_countdown_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
394
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
395
|
+
length: number;
|
|
396
|
+
}, string>;
|
|
397
|
+
}, "@typus/stake-pool::stake_pool::UpdateUnlockCountdownTsMsEvent">;
|
|
398
|
+
export declare const UpdateIncentiveConfigEvent: MoveStruct<{
|
|
399
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
400
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
401
|
+
previous_incentive_config: MoveStruct<{
|
|
402
|
+
/** The amount of incentive per period. */
|
|
403
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
404
|
+
/** The incentive interval in milliseconds. */
|
|
405
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
406
|
+
/** Padding for future use. */
|
|
407
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
408
|
+
length: number;
|
|
409
|
+
}, string>;
|
|
410
|
+
}, "@typus/stake-pool::stake_pool::IncentiveConfig">;
|
|
411
|
+
new_incentive_config: MoveStruct<{
|
|
412
|
+
/** The amount of incentive per period. */
|
|
413
|
+
period_incentive_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
414
|
+
/** The incentive interval in milliseconds. */
|
|
415
|
+
incentive_interval_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
416
|
+
/** Padding for future use. */
|
|
417
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
418
|
+
length: number;
|
|
419
|
+
}, string>;
|
|
420
|
+
}, "@typus/stake-pool::stake_pool::IncentiveConfig">;
|
|
421
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
422
|
+
length: number;
|
|
423
|
+
}, string>;
|
|
424
|
+
}, "@typus/stake-pool::stake_pool::UpdateIncentiveConfigEvent">;
|
|
425
|
+
export declare const DepositIncentiveEvent: MoveStruct<{
|
|
426
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
427
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
428
|
+
incentive_token_type: MoveStruct<{
|
|
429
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
430
|
+
}, "std::type_name::TypeName">;
|
|
431
|
+
deposit_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
432
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
433
|
+
length: number;
|
|
434
|
+
}, string>;
|
|
435
|
+
}, "@typus/stake-pool::stake_pool::DepositIncentiveEvent">;
|
|
436
|
+
export declare const WithdrawIncentiveEvent: MoveStruct<{
|
|
437
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
438
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
439
|
+
incentive_token_type: MoveStruct<{
|
|
440
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
441
|
+
}, "std::type_name::TypeName">;
|
|
442
|
+
withdrawal_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
443
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
444
|
+
length: number;
|
|
445
|
+
}, string>;
|
|
446
|
+
}, "@typus/stake-pool::stake_pool::WithdrawIncentiveEvent">;
|
|
447
|
+
export declare const StakeEvent: MoveStruct<{
|
|
448
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
449
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
450
|
+
lp_token_type: MoveStruct<{
|
|
451
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
452
|
+
}, "std::type_name::TypeName">;
|
|
453
|
+
stake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
454
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
455
|
+
stake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
456
|
+
last_incentive_price_index: MoveStruct<{
|
|
457
|
+
contents: import("@mysten/sui/bcs").BcsType<{
|
|
458
|
+
key: {
|
|
459
|
+
name: string;
|
|
460
|
+
};
|
|
461
|
+
value: string;
|
|
462
|
+
}[], Iterable<{
|
|
463
|
+
key: {
|
|
464
|
+
name: string;
|
|
465
|
+
};
|
|
466
|
+
value: string | number | bigint;
|
|
467
|
+
}> & {
|
|
468
|
+
length: number;
|
|
469
|
+
}, string>;
|
|
470
|
+
}, "0x2::vec_map::VecMap<std::type_name::TypeName, u64>">;
|
|
471
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
472
|
+
length: number;
|
|
473
|
+
}, string>;
|
|
474
|
+
}, "@typus/stake-pool::stake_pool::StakeEvent">;
|
|
475
|
+
export declare const UpdatePoolInfoU64PaddingEvent: MoveStruct<{
|
|
476
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
477
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
478
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
479
|
+
length: number;
|
|
480
|
+
}, string>;
|
|
481
|
+
}, "@typus/stake-pool::stake_pool::UpdatePoolInfoU64PaddingEvent">;
|
|
482
|
+
export declare const SnapshotEvent: MoveStruct<{
|
|
483
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
484
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
485
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
486
|
+
shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
487
|
+
tlp_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
488
|
+
last_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
489
|
+
current_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
490
|
+
exp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
491
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
492
|
+
length: number;
|
|
493
|
+
}, string>;
|
|
494
|
+
}, "@typus/stake-pool::stake_pool::SnapshotEvent">;
|
|
495
|
+
export declare const UnsubscribeEvent: MoveStruct<{
|
|
496
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
497
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
498
|
+
lp_token_type: MoveStruct<{
|
|
499
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
500
|
+
}, "std::type_name::TypeName">;
|
|
501
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
502
|
+
unsubscribed_shares: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
503
|
+
unsubscribe_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
504
|
+
unlocked_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
505
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
506
|
+
length: number;
|
|
507
|
+
}, string>;
|
|
508
|
+
}, "@typus/stake-pool::stake_pool::UnsubscribeEvent">;
|
|
509
|
+
export declare const UnstakeEvent: MoveStruct<{
|
|
510
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
511
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
512
|
+
lp_token_type: MoveStruct<{
|
|
513
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
514
|
+
}, "std::type_name::TypeName">;
|
|
515
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
516
|
+
unstake_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
517
|
+
unstake_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
518
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
519
|
+
length: number;
|
|
520
|
+
}, string>;
|
|
521
|
+
}, "@typus/stake-pool::stake_pool::UnstakeEvent">;
|
|
522
|
+
export declare const HarvestPerUserShareEvent: MoveStruct<{
|
|
523
|
+
sender: import("@mysten/sui/bcs").BcsType<string, string | Uint8Array<ArrayBufferLike>, "bytes[32]">;
|
|
524
|
+
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
525
|
+
incentive_token_type: MoveStruct<{
|
|
526
|
+
name: import("@mysten/sui/bcs").BcsType<string, string, "string">;
|
|
527
|
+
}, "std::type_name::TypeName">;
|
|
528
|
+
harvest_amount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
529
|
+
user_share_id: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
530
|
+
u64_padding: import("@mysten/sui/bcs").BcsType<string[], Iterable<string | number | bigint> & {
|
|
531
|
+
length: number;
|
|
532
|
+
}, string>;
|
|
533
|
+
}, "@typus/stake-pool::stake_pool::HarvestPerUserShareEvent">;
|
|
534
|
+
export interface InitOptions {
|
|
535
|
+
package?: string;
|
|
536
|
+
arguments?: [];
|
|
537
|
+
}
|
|
538
|
+
/** Initializes the module. */
|
|
539
|
+
export declare function init(options?: InitOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
540
|
+
export interface NewStakePoolArguments {
|
|
541
|
+
version: RawTransactionArgument<string>;
|
|
542
|
+
registry: RawTransactionArgument<string>;
|
|
543
|
+
unlockCountdownTsMs: RawTransactionArgument<number | bigint>;
|
|
544
|
+
}
|
|
545
|
+
export interface NewStakePoolOptions {
|
|
546
|
+
package?: string;
|
|
547
|
+
arguments: NewStakePoolArguments | [
|
|
548
|
+
version: RawTransactionArgument<string>,
|
|
549
|
+
registry: RawTransactionArgument<string>,
|
|
550
|
+
unlockCountdownTsMs: RawTransactionArgument<number | bigint>
|
|
551
|
+
];
|
|
552
|
+
typeArguments: [string];
|
|
553
|
+
}
|
|
554
|
+
/** [Authorized Function] Creates a new stake pool. */
|
|
555
|
+
export declare function newStakePool(options: NewStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
556
|
+
export interface AutoCompoundArguments {
|
|
557
|
+
version: RawTransactionArgument<string>;
|
|
558
|
+
registry: RawTransactionArgument<string>;
|
|
559
|
+
index: RawTransactionArgument<number | bigint>;
|
|
560
|
+
}
|
|
561
|
+
export interface AutoCompoundOptions {
|
|
562
|
+
package?: string;
|
|
563
|
+
arguments: AutoCompoundArguments | [
|
|
564
|
+
version: RawTransactionArgument<string>,
|
|
565
|
+
registry: RawTransactionArgument<string>,
|
|
566
|
+
index: RawTransactionArgument<number | bigint>
|
|
567
|
+
];
|
|
568
|
+
typeArguments: [string];
|
|
569
|
+
}
|
|
570
|
+
/** [Authorized Function] */
|
|
571
|
+
export declare function autoCompound(options: AutoCompoundOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
572
|
+
export interface AddIncentiveTokenArguments {
|
|
573
|
+
version: RawTransactionArgument<string>;
|
|
574
|
+
registry: RawTransactionArgument<string>;
|
|
575
|
+
index: RawTransactionArgument<number | bigint>;
|
|
576
|
+
periodIncentiveAmount: RawTransactionArgument<number | bigint>;
|
|
577
|
+
incentiveIntervalTsMs: RawTransactionArgument<number | bigint>;
|
|
578
|
+
}
|
|
579
|
+
export interface AddIncentiveTokenOptions {
|
|
580
|
+
package?: string;
|
|
581
|
+
arguments: AddIncentiveTokenArguments | [
|
|
582
|
+
version: RawTransactionArgument<string>,
|
|
583
|
+
registry: RawTransactionArgument<string>,
|
|
584
|
+
index: RawTransactionArgument<number | bigint>,
|
|
585
|
+
periodIncentiveAmount: RawTransactionArgument<number | bigint>,
|
|
586
|
+
incentiveIntervalTsMs: RawTransactionArgument<number | bigint>
|
|
587
|
+
];
|
|
588
|
+
typeArguments: [string];
|
|
589
|
+
}
|
|
590
|
+
/** [Authorized Function] Adds a new incentive token to a pool. */
|
|
591
|
+
export declare function addIncentiveToken(options: AddIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
592
|
+
export interface DeactivateIncentiveTokenArguments {
|
|
593
|
+
version: RawTransactionArgument<string>;
|
|
594
|
+
registry: RawTransactionArgument<string>;
|
|
595
|
+
index: RawTransactionArgument<number | bigint>;
|
|
596
|
+
}
|
|
597
|
+
export interface DeactivateIncentiveTokenOptions {
|
|
598
|
+
package?: string;
|
|
599
|
+
arguments: DeactivateIncentiveTokenArguments | [
|
|
600
|
+
version: RawTransactionArgument<string>,
|
|
601
|
+
registry: RawTransactionArgument<string>,
|
|
602
|
+
index: RawTransactionArgument<number | bigint>
|
|
603
|
+
];
|
|
604
|
+
typeArguments: [string];
|
|
605
|
+
}
|
|
606
|
+
/** [Authorized Function] Deactivates an incentive token. */
|
|
607
|
+
export declare function deactivateIncentiveToken(options: DeactivateIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
608
|
+
export interface ActivateIncentiveTokenArguments {
|
|
609
|
+
version: RawTransactionArgument<string>;
|
|
610
|
+
registry: RawTransactionArgument<string>;
|
|
611
|
+
index: RawTransactionArgument<number | bigint>;
|
|
612
|
+
}
|
|
613
|
+
export interface ActivateIncentiveTokenOptions {
|
|
614
|
+
package?: string;
|
|
615
|
+
arguments: ActivateIncentiveTokenArguments | [
|
|
616
|
+
version: RawTransactionArgument<string>,
|
|
617
|
+
registry: RawTransactionArgument<string>,
|
|
618
|
+
index: RawTransactionArgument<number | bigint>
|
|
619
|
+
];
|
|
620
|
+
typeArguments: [string];
|
|
621
|
+
}
|
|
622
|
+
/** [Authorized Function] Activates an incentive token. */
|
|
623
|
+
export declare function activateIncentiveToken(options: ActivateIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
624
|
+
export interface RemoveIncentiveTokenArguments {
|
|
625
|
+
version: RawTransactionArgument<string>;
|
|
626
|
+
registry: RawTransactionArgument<string>;
|
|
627
|
+
index: RawTransactionArgument<number | bigint>;
|
|
628
|
+
}
|
|
629
|
+
export interface RemoveIncentiveTokenOptions {
|
|
630
|
+
package?: string;
|
|
631
|
+
arguments: RemoveIncentiveTokenArguments | [
|
|
632
|
+
version: RawTransactionArgument<string>,
|
|
633
|
+
registry: RawTransactionArgument<string>,
|
|
634
|
+
index: RawTransactionArgument<number | bigint>
|
|
635
|
+
];
|
|
636
|
+
typeArguments: [string];
|
|
637
|
+
}
|
|
638
|
+
/** [Authorized Function] Removes an incentive token. */
|
|
639
|
+
export declare function removeIncentiveToken(options: RemoveIncentiveTokenOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
640
|
+
export interface UpdateUnlockCountdownTsMsArguments {
|
|
641
|
+
version: RawTransactionArgument<string>;
|
|
642
|
+
registry: RawTransactionArgument<string>;
|
|
643
|
+
index: RawTransactionArgument<number | bigint>;
|
|
644
|
+
unlockCountdownTsMs: RawTransactionArgument<number | bigint>;
|
|
645
|
+
}
|
|
646
|
+
export interface UpdateUnlockCountdownTsMsOptions {
|
|
647
|
+
package?: string;
|
|
648
|
+
arguments: UpdateUnlockCountdownTsMsArguments | [
|
|
649
|
+
version: RawTransactionArgument<string>,
|
|
650
|
+
registry: RawTransactionArgument<string>,
|
|
651
|
+
index: RawTransactionArgument<number | bigint>,
|
|
652
|
+
unlockCountdownTsMs: RawTransactionArgument<number | bigint>
|
|
653
|
+
];
|
|
654
|
+
}
|
|
655
|
+
/** [Authorized Function] Updates the unlock countdown. */
|
|
656
|
+
export declare function updateUnlockCountdownTsMs(options: UpdateUnlockCountdownTsMsOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
657
|
+
export interface UpdateIncentiveConfigArguments {
|
|
658
|
+
version: RawTransactionArgument<string>;
|
|
659
|
+
registry: RawTransactionArgument<string>;
|
|
660
|
+
index: RawTransactionArgument<number | bigint>;
|
|
661
|
+
periodIncentiveAmount: RawTransactionArgument<number | bigint | null>;
|
|
662
|
+
incentiveIntervalTsMs: RawTransactionArgument<number | bigint | null>;
|
|
663
|
+
u64Padding: RawTransactionArgument<number | bigint[] | null>;
|
|
664
|
+
}
|
|
665
|
+
export interface UpdateIncentiveConfigOptions {
|
|
666
|
+
package?: string;
|
|
667
|
+
arguments: UpdateIncentiveConfigArguments | [
|
|
668
|
+
version: RawTransactionArgument<string>,
|
|
669
|
+
registry: RawTransactionArgument<string>,
|
|
670
|
+
index: RawTransactionArgument<number | bigint>,
|
|
671
|
+
periodIncentiveAmount: RawTransactionArgument<number | bigint | null>,
|
|
672
|
+
incentiveIntervalTsMs: RawTransactionArgument<number | bigint | null>,
|
|
673
|
+
u64Padding: RawTransactionArgument<number | bigint[] | null>
|
|
674
|
+
];
|
|
675
|
+
typeArguments: [string];
|
|
676
|
+
}
|
|
677
|
+
/** [Authorized Function] Updates the incentive configuration. */
|
|
678
|
+
export declare function updateIncentiveConfig(options: UpdateIncentiveConfigOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
679
|
+
export interface AllocateIncentiveArguments {
|
|
680
|
+
version: RawTransactionArgument<string>;
|
|
681
|
+
registry: RawTransactionArgument<string>;
|
|
682
|
+
index: RawTransactionArgument<number | bigint>;
|
|
683
|
+
}
|
|
684
|
+
export interface AllocateIncentiveOptions {
|
|
685
|
+
package?: string;
|
|
686
|
+
arguments: AllocateIncentiveArguments | [
|
|
687
|
+
version: RawTransactionArgument<string>,
|
|
688
|
+
registry: RawTransactionArgument<string>,
|
|
689
|
+
index: RawTransactionArgument<number | bigint>
|
|
690
|
+
];
|
|
691
|
+
}
|
|
692
|
+
/** Allocates incentive to the pool. WARNING: no authority check inside */
|
|
693
|
+
export declare function allocateIncentive(options: AllocateIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
694
|
+
export interface DepositIncentiveArguments {
|
|
695
|
+
version: RawTransactionArgument<string>;
|
|
696
|
+
registry: RawTransactionArgument<string>;
|
|
697
|
+
index: RawTransactionArgument<number | bigint>;
|
|
698
|
+
coin: RawTransactionArgument<string>;
|
|
699
|
+
}
|
|
700
|
+
export interface DepositIncentiveOptions {
|
|
701
|
+
package?: string;
|
|
702
|
+
arguments: DepositIncentiveArguments | [
|
|
703
|
+
version: RawTransactionArgument<string>,
|
|
704
|
+
registry: RawTransactionArgument<string>,
|
|
705
|
+
index: RawTransactionArgument<number | bigint>,
|
|
706
|
+
coin: RawTransactionArgument<string>
|
|
707
|
+
];
|
|
708
|
+
typeArguments: [string];
|
|
709
|
+
}
|
|
710
|
+
/** [Authorized Function] Deposits incentive tokens. */
|
|
711
|
+
export declare function depositIncentive(options: DepositIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
712
|
+
export interface WithdrawIncentiveV2Arguments {
|
|
713
|
+
version: RawTransactionArgument<string>;
|
|
714
|
+
registry: RawTransactionArgument<string>;
|
|
715
|
+
index: RawTransactionArgument<number | bigint>;
|
|
716
|
+
amount: RawTransactionArgument<number | bigint | null>;
|
|
717
|
+
}
|
|
718
|
+
export interface WithdrawIncentiveV2Options {
|
|
719
|
+
package?: string;
|
|
720
|
+
arguments: WithdrawIncentiveV2Arguments | [
|
|
721
|
+
version: RawTransactionArgument<string>,
|
|
722
|
+
registry: RawTransactionArgument<string>,
|
|
723
|
+
index: RawTransactionArgument<number | bigint>,
|
|
724
|
+
amount: RawTransactionArgument<number | bigint | null>
|
|
725
|
+
];
|
|
726
|
+
typeArguments: [string];
|
|
727
|
+
}
|
|
728
|
+
/** [Authorized Function] Withdraws incentive tokens. */
|
|
729
|
+
export declare function withdrawIncentiveV2(options: WithdrawIncentiveV2Options): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
730
|
+
export interface StakeArguments {
|
|
731
|
+
version: RawTransactionArgument<string>;
|
|
732
|
+
registry: RawTransactionArgument<string>;
|
|
733
|
+
index: RawTransactionArgument<number | bigint>;
|
|
734
|
+
lpToken: RawTransactionArgument<string>;
|
|
735
|
+
UserShareId: RawTransactionArgument<number | bigint | null>;
|
|
736
|
+
}
|
|
737
|
+
export interface StakeOptions {
|
|
738
|
+
package?: string;
|
|
739
|
+
arguments: StakeArguments | [
|
|
740
|
+
version: RawTransactionArgument<string>,
|
|
741
|
+
registry: RawTransactionArgument<string>,
|
|
742
|
+
index: RawTransactionArgument<number | bigint>,
|
|
743
|
+
lpToken: RawTransactionArgument<string>,
|
|
744
|
+
UserShareId: RawTransactionArgument<number | bigint | null>
|
|
745
|
+
];
|
|
746
|
+
typeArguments: [string];
|
|
747
|
+
}
|
|
748
|
+
/** [User Function] Stake LP tokens. */
|
|
749
|
+
export declare function stake(options: StakeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
750
|
+
export interface UpdatePoolInfoU64PaddingArguments {
|
|
751
|
+
version: RawTransactionArgument<string>;
|
|
752
|
+
registry: RawTransactionArgument<string>;
|
|
753
|
+
index: RawTransactionArgument<number | bigint>;
|
|
754
|
+
tlpPrice: RawTransactionArgument<number | bigint>;
|
|
755
|
+
usdPerExp: RawTransactionArgument<number | bigint>;
|
|
756
|
+
}
|
|
757
|
+
export interface UpdatePoolInfoU64PaddingOptions {
|
|
758
|
+
package?: string;
|
|
759
|
+
arguments: UpdatePoolInfoU64PaddingArguments | [
|
|
760
|
+
version: RawTransactionArgument<string>,
|
|
761
|
+
registry: RawTransactionArgument<string>,
|
|
762
|
+
index: RawTransactionArgument<number | bigint>,
|
|
763
|
+
tlpPrice: RawTransactionArgument<number | bigint>,
|
|
764
|
+
usdPerExp: RawTransactionArgument<number | bigint>
|
|
765
|
+
];
|
|
766
|
+
}
|
|
767
|
+
/** [Authorized Function] Update TLP price for calculating staking exp */
|
|
768
|
+
export declare function updatePoolInfoU64Padding(options: UpdatePoolInfoU64PaddingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
769
|
+
export interface HotfixPoolInfoU64PaddingArguments {
|
|
770
|
+
version: RawTransactionArgument<string>;
|
|
771
|
+
registry: RawTransactionArgument<string>;
|
|
772
|
+
index: RawTransactionArgument<number | bigint>;
|
|
773
|
+
u64Padding: RawTransactionArgument<number | bigint[]>;
|
|
774
|
+
}
|
|
775
|
+
export interface HotfixPoolInfoU64PaddingOptions {
|
|
776
|
+
package?: string;
|
|
777
|
+
arguments: HotfixPoolInfoU64PaddingArguments | [
|
|
778
|
+
version: RawTransactionArgument<string>,
|
|
779
|
+
registry: RawTransactionArgument<string>,
|
|
780
|
+
index: RawTransactionArgument<number | bigint>,
|
|
781
|
+
u64Padding: RawTransactionArgument<number | bigint[]>
|
|
782
|
+
];
|
|
783
|
+
}
|
|
784
|
+
/** [Authorized Function] Update TLP price for calculating staking exp */
|
|
785
|
+
export declare function hotfixPoolInfoU64Padding(options: HotfixPoolInfoU64PaddingOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
786
|
+
export interface SnapshotArguments {
|
|
787
|
+
version: RawTransactionArgument<string>;
|
|
788
|
+
registry: RawTransactionArgument<string>;
|
|
789
|
+
typusEcosystemVersion: RawTransactionArgument<string>;
|
|
790
|
+
typusUserRegistry: RawTransactionArgument<string>;
|
|
791
|
+
index: RawTransactionArgument<number | bigint>;
|
|
792
|
+
UserShareId: RawTransactionArgument<number | bigint>;
|
|
793
|
+
}
|
|
794
|
+
export interface SnapshotOptions {
|
|
795
|
+
package?: string;
|
|
796
|
+
arguments: SnapshotArguments | [
|
|
797
|
+
version: RawTransactionArgument<string>,
|
|
798
|
+
registry: RawTransactionArgument<string>,
|
|
799
|
+
typusEcosystemVersion: RawTransactionArgument<string>,
|
|
800
|
+
typusUserRegistry: RawTransactionArgument<string>,
|
|
801
|
+
index: RawTransactionArgument<number | bigint>,
|
|
802
|
+
UserShareId: RawTransactionArgument<number | bigint>
|
|
803
|
+
];
|
|
804
|
+
}
|
|
805
|
+
/** [User Function] Get the staking exp */
|
|
806
|
+
export declare function snapshot(options: SnapshotOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
807
|
+
export interface UnsubscribeArguments {
|
|
808
|
+
version: RawTransactionArgument<string>;
|
|
809
|
+
registry: RawTransactionArgument<string>;
|
|
810
|
+
index: RawTransactionArgument<number | bigint>;
|
|
811
|
+
UserShareId: RawTransactionArgument<number | bigint>;
|
|
812
|
+
unsubscribedShares: RawTransactionArgument<number | bigint | null>;
|
|
813
|
+
}
|
|
814
|
+
export interface UnsubscribeOptions {
|
|
815
|
+
package?: string;
|
|
816
|
+
arguments: UnsubscribeArguments | [
|
|
817
|
+
version: RawTransactionArgument<string>,
|
|
818
|
+
registry: RawTransactionArgument<string>,
|
|
819
|
+
index: RawTransactionArgument<number | bigint>,
|
|
820
|
+
UserShareId: RawTransactionArgument<number | bigint>,
|
|
821
|
+
unsubscribedShares: RawTransactionArgument<number | bigint | null>
|
|
822
|
+
];
|
|
823
|
+
typeArguments: [string];
|
|
824
|
+
}
|
|
825
|
+
/** [User Function] Pre-process to unstake the TLP */
|
|
826
|
+
export declare function unsubscribe(options: UnsubscribeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
827
|
+
export interface UnstakeArguments {
|
|
828
|
+
version: RawTransactionArgument<string>;
|
|
829
|
+
registry: RawTransactionArgument<string>;
|
|
830
|
+
index: RawTransactionArgument<number | bigint>;
|
|
831
|
+
UserShareId: RawTransactionArgument<number | bigint>;
|
|
832
|
+
}
|
|
833
|
+
export interface UnstakeOptions {
|
|
834
|
+
package?: string;
|
|
835
|
+
arguments: UnstakeArguments | [
|
|
836
|
+
version: RawTransactionArgument<string>,
|
|
837
|
+
registry: RawTransactionArgument<string>,
|
|
838
|
+
index: RawTransactionArgument<number | bigint>,
|
|
839
|
+
UserShareId: RawTransactionArgument<number | bigint>
|
|
840
|
+
];
|
|
841
|
+
typeArguments: [string];
|
|
842
|
+
}
|
|
843
|
+
/** [User Function] Post-process to unstake the TLP */
|
|
844
|
+
export declare function unstake(options: UnstakeOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
845
|
+
export interface UpdateLastIncentivePriceIndexArguments {
|
|
846
|
+
lpUserShare: RawTransactionArgument<string>;
|
|
847
|
+
incentiveToken: RawTransactionArgument<string>;
|
|
848
|
+
currentIncentiveIndex: RawTransactionArgument<number | bigint>;
|
|
849
|
+
}
|
|
850
|
+
export interface UpdateLastIncentivePriceIndexOptions {
|
|
851
|
+
package?: string;
|
|
852
|
+
arguments: UpdateLastIncentivePriceIndexArguments | [
|
|
853
|
+
lpUserShare: RawTransactionArgument<string>,
|
|
854
|
+
incentiveToken: RawTransactionArgument<string>,
|
|
855
|
+
currentIncentiveIndex: RawTransactionArgument<number | bigint>
|
|
856
|
+
];
|
|
857
|
+
}
|
|
858
|
+
export declare function updateLastIncentivePriceIndex(options: UpdateLastIncentivePriceIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
859
|
+
export interface LogHarvestedAmountArguments {
|
|
860
|
+
userShare: RawTransactionArgument<string>;
|
|
861
|
+
incentiveValue: RawTransactionArgument<number | bigint>;
|
|
862
|
+
}
|
|
863
|
+
export interface LogHarvestedAmountOptions {
|
|
864
|
+
package?: string;
|
|
865
|
+
arguments: LogHarvestedAmountArguments | [userShare: RawTransactionArgument<string>, incentiveValue: RawTransactionArgument<number | bigint>];
|
|
866
|
+
}
|
|
867
|
+
export declare function logHarvestedAmount(options: LogHarvestedAmountOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
868
|
+
export interface HarvestPerUserShareArguments {
|
|
869
|
+
version: RawTransactionArgument<string>;
|
|
870
|
+
registry: RawTransactionArgument<string>;
|
|
871
|
+
index: RawTransactionArgument<number | bigint>;
|
|
872
|
+
UserShareId: RawTransactionArgument<number | bigint>;
|
|
873
|
+
}
|
|
874
|
+
export interface HarvestPerUserShareOptions {
|
|
875
|
+
package?: string;
|
|
876
|
+
arguments: HarvestPerUserShareArguments | [
|
|
877
|
+
version: RawTransactionArgument<string>,
|
|
878
|
+
registry: RawTransactionArgument<string>,
|
|
879
|
+
index: RawTransactionArgument<number | bigint>,
|
|
880
|
+
UserShareId: RawTransactionArgument<number | bigint>
|
|
881
|
+
];
|
|
882
|
+
typeArguments: [string];
|
|
883
|
+
}
|
|
884
|
+
/** [User Function] Harvest the incentive from staking TLP */
|
|
885
|
+
export declare function harvestPerUserShare(options: HarvestPerUserShareOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
886
|
+
export interface CalculateIncentiveArguments {
|
|
887
|
+
currentIncentiveIndex: RawTransactionArgument<number | bigint>;
|
|
888
|
+
incentiveToken: RawTransactionArgument<string>;
|
|
889
|
+
lpUserShare: RawTransactionArgument<string>;
|
|
890
|
+
}
|
|
891
|
+
export interface CalculateIncentiveOptions {
|
|
892
|
+
package?: string;
|
|
893
|
+
arguments: CalculateIncentiveArguments | [
|
|
894
|
+
currentIncentiveIndex: RawTransactionArgument<number | bigint>,
|
|
895
|
+
incentiveToken: RawTransactionArgument<string>,
|
|
896
|
+
lpUserShare: RawTransactionArgument<string>
|
|
897
|
+
];
|
|
898
|
+
}
|
|
899
|
+
export declare function calculateIncentive(options: CalculateIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
900
|
+
export interface HarvestProgressUpdatedArguments {
|
|
901
|
+
current: RawTransactionArgument<string>;
|
|
902
|
+
user: RawTransactionArgument<string>;
|
|
903
|
+
}
|
|
904
|
+
export interface HarvestProgressUpdatedOptions {
|
|
905
|
+
package?: string;
|
|
906
|
+
arguments: HarvestProgressUpdatedArguments | [current: RawTransactionArgument<string>, user: RawTransactionArgument<string>];
|
|
907
|
+
}
|
|
908
|
+
export declare function harvestProgressUpdated(options: HarvestProgressUpdatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
909
|
+
export interface MultiplierArguments {
|
|
910
|
+
decimal: RawTransactionArgument<number | bigint>;
|
|
911
|
+
}
|
|
912
|
+
export interface MultiplierOptions {
|
|
913
|
+
package?: string;
|
|
914
|
+
arguments: MultiplierArguments | [decimal: RawTransactionArgument<number | bigint>];
|
|
915
|
+
}
|
|
916
|
+
export declare function multiplier(options: MultiplierOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
917
|
+
export interface GetUserSharesArguments {
|
|
918
|
+
registry: RawTransactionArgument<string>;
|
|
919
|
+
index: RawTransactionArgument<number | bigint>;
|
|
920
|
+
user: RawTransactionArgument<string>;
|
|
921
|
+
}
|
|
922
|
+
export interface GetUserSharesOptions {
|
|
923
|
+
package?: string;
|
|
924
|
+
arguments: GetUserSharesArguments | [registry: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>, user: RawTransactionArgument<string>];
|
|
925
|
+
}
|
|
926
|
+
export declare function getUserShares(options: GetUserSharesOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
927
|
+
export interface GetUserSharesByUserShareIdArguments {
|
|
928
|
+
registry: RawTransactionArgument<string>;
|
|
929
|
+
index: RawTransactionArgument<number | bigint>;
|
|
930
|
+
userShareId: RawTransactionArgument<number | bigint>;
|
|
931
|
+
}
|
|
932
|
+
export interface GetUserSharesByUserShareIdOptions {
|
|
933
|
+
package?: string;
|
|
934
|
+
arguments: GetUserSharesByUserShareIdArguments | [
|
|
935
|
+
registry: RawTransactionArgument<string>,
|
|
936
|
+
index: RawTransactionArgument<number | bigint>,
|
|
937
|
+
userShareId: RawTransactionArgument<number | bigint>
|
|
938
|
+
];
|
|
939
|
+
}
|
|
940
|
+
export declare function getUserSharesByUserShareId(options: GetUserSharesByUserShareIdOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
941
|
+
export interface GetStakePoolArguments {
|
|
942
|
+
id: RawTransactionArgument<string>;
|
|
943
|
+
index: RawTransactionArgument<number | bigint>;
|
|
944
|
+
}
|
|
945
|
+
export interface GetStakePoolOptions {
|
|
946
|
+
package?: string;
|
|
947
|
+
arguments: GetStakePoolArguments | [id: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
|
|
948
|
+
}
|
|
949
|
+
export declare function getStakePool(options: GetStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
950
|
+
export interface GetMutStakePoolArguments {
|
|
951
|
+
id: RawTransactionArgument<string>;
|
|
952
|
+
index: RawTransactionArgument<number | bigint>;
|
|
953
|
+
}
|
|
954
|
+
export interface GetMutStakePoolOptions {
|
|
955
|
+
package?: string;
|
|
956
|
+
arguments: GetMutStakePoolArguments | [id: RawTransactionArgument<string>, index: RawTransactionArgument<number | bigint>];
|
|
957
|
+
}
|
|
958
|
+
export declare function getMutStakePool(options: GetMutStakePoolOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
959
|
+
export interface GetIncentiveTokensArguments {
|
|
960
|
+
stakePool: RawTransactionArgument<string>;
|
|
961
|
+
}
|
|
962
|
+
export interface GetIncentiveTokensOptions {
|
|
963
|
+
package?: string;
|
|
964
|
+
arguments: GetIncentiveTokensArguments | [stakePool: RawTransactionArgument<string>];
|
|
965
|
+
}
|
|
966
|
+
export declare function getIncentiveTokens(options: GetIncentiveTokensOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
967
|
+
export interface GetIncentiveArguments {
|
|
968
|
+
stakePool: RawTransactionArgument<string>;
|
|
969
|
+
tokenType: RawTransactionArgument<string>;
|
|
970
|
+
}
|
|
971
|
+
export interface GetIncentiveOptions {
|
|
972
|
+
package?: string;
|
|
973
|
+
arguments: GetIncentiveArguments | [stakePool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
|
|
974
|
+
}
|
|
975
|
+
export declare function getIncentive(options: GetIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
976
|
+
export interface GetMutIncentiveArguments {
|
|
977
|
+
stakePool: RawTransactionArgument<string>;
|
|
978
|
+
tokenType: RawTransactionArgument<string>;
|
|
979
|
+
}
|
|
980
|
+
export interface GetMutIncentiveOptions {
|
|
981
|
+
package?: string;
|
|
982
|
+
arguments: GetMutIncentiveArguments | [stakePool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
|
|
983
|
+
}
|
|
984
|
+
export declare function getMutIncentive(options: GetMutIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
985
|
+
export interface RemoveIncentiveArguments {
|
|
986
|
+
stakePool: RawTransactionArgument<string>;
|
|
987
|
+
tokenType: RawTransactionArgument<string>;
|
|
988
|
+
}
|
|
989
|
+
export interface RemoveIncentiveOptions {
|
|
990
|
+
package?: string;
|
|
991
|
+
arguments: RemoveIncentiveArguments | [stakePool: RawTransactionArgument<string>, tokenType: RawTransactionArgument<string>];
|
|
992
|
+
}
|
|
993
|
+
export declare function removeIncentive(options: RemoveIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
994
|
+
export interface GetLastIncentivePriceIndexArguments {
|
|
995
|
+
stakePool: RawTransactionArgument<string>;
|
|
996
|
+
}
|
|
997
|
+
export interface GetLastIncentivePriceIndexOptions {
|
|
998
|
+
package?: string;
|
|
999
|
+
arguments: GetLastIncentivePriceIndexArguments | [stakePool: RawTransactionArgument<string>];
|
|
1000
|
+
}
|
|
1001
|
+
export declare function getLastIncentivePriceIndex(options: GetLastIncentivePriceIndexOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1002
|
+
export interface WithdrawIncentiveArguments {
|
|
1003
|
+
version: RawTransactionArgument<string>;
|
|
1004
|
+
registry: RawTransactionArgument<string>;
|
|
1005
|
+
index: RawTransactionArgument<number | bigint>;
|
|
1006
|
+
amount: RawTransactionArgument<number | bigint | null>;
|
|
1007
|
+
}
|
|
1008
|
+
export interface WithdrawIncentiveOptions {
|
|
1009
|
+
package?: string;
|
|
1010
|
+
arguments: WithdrawIncentiveArguments | [
|
|
1011
|
+
version: RawTransactionArgument<string>,
|
|
1012
|
+
registry: RawTransactionArgument<string>,
|
|
1013
|
+
index: RawTransactionArgument<number | bigint>,
|
|
1014
|
+
amount: RawTransactionArgument<number | bigint | null>
|
|
1015
|
+
];
|
|
1016
|
+
typeArguments: [string];
|
|
1017
|
+
}
|
|
1018
|
+
export declare function withdrawIncentive(options: WithdrawIncentiveOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|
|
1019
|
+
export interface DeprecatedOptions {
|
|
1020
|
+
package?: string;
|
|
1021
|
+
arguments?: [];
|
|
1022
|
+
}
|
|
1023
|
+
export declare function deprecated(options?: DeprecatedOptions): (tx: Transaction) => import("@mysten/sui/transactions").TransactionResult;
|