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