@typus/typus-perp-sdk 1.1.30 → 1.1.31-codegen
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/api/sentio.js +604 -538
- package/dist/src/client.d.ts +27 -0
- package/dist/src/client.js +108 -0
- package/dist/src/fetch.d.ts +160 -34
- package/dist/src/fetch.js +365 -665
- package/dist/src/generated/typus_perp/admin.d.ts +117 -0
- package/dist/src/generated/typus_perp/admin.js +110 -0
- package/dist/src/generated/typus_perp/competition.d.ts +22 -0
- package/dist/src/generated/typus_perp/competition.js +58 -0
- package/dist/src/generated/typus_perp/deps/std/type_name.d.ts +17 -0
- package/dist/src/generated/typus_perp/deps/std/type_name.js +25 -0
- package/dist/src/generated/typus_perp/deps/sui/balance.d.ts +12 -0
- package/dist/src/generated/typus_perp/deps/sui/balance.js +20 -0
- package/dist/src/generated/typus_perp/deps/sui/object.d.ts +8 -0
- package/dist/src/generated/typus_perp/deps/sui/object.js +16 -0
- package/dist/src/generated/typus_perp/deps/sui/object_table.d.ts +19 -0
- package/dist/src/generated/typus_perp/deps/sui/object_table.js +59 -0
- package/dist/src/generated/typus_perp/deps/sui/vec_set.d.ts +18 -0
- package/dist/src/generated/typus_perp/deps/sui/vec_set.js +25 -0
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.d.ts +30 -0
- package/dist/src/generated/typus_perp/deps/typus/keyed_big_vector.js +67 -0
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.d.ts +32 -0
- package/dist/src/generated/typus_perp/deps/typus/linked_object_table.js +71 -0
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.d.ts +23 -0
- package/dist/src/generated/typus_perp/deps/typus_framework/vault.js +61 -0
- package/dist/src/generated/typus_perp/escrow.d.ts +59 -0
- package/dist/src/generated/typus_perp/escrow.js +76 -0
- package/dist/src/generated/typus_perp/lending.d.ts +47 -0
- package/dist/src/generated/typus_perp/lending.js +50 -0
- package/dist/src/generated/typus_perp/lp_pool.d.ts +2327 -0
- package/dist/src/generated/typus_perp/lp_pool.js +1956 -0
- package/dist/src/generated/typus_perp/math.d.ts +95 -0
- package/dist/src/generated/typus_perp/math.js +97 -0
- package/dist/src/generated/typus_perp/position.d.ts +234 -0
- package/dist/src/generated/typus_perp/position.js +204 -0
- package/dist/src/generated/typus_perp/symbol.d.ts +18 -0
- package/dist/src/generated/typus_perp/symbol.js +55 -0
- package/dist/src/generated/typus_perp/tlp.d.ts +13 -0
- package/dist/src/generated/typus_perp/tlp.js +56 -0
- package/dist/src/generated/typus_perp/trading.d.ts +2486 -0
- package/dist/src/generated/typus_perp/trading.js +2476 -0
- package/dist/src/generated/typus_perp/treasury_caps.d.ts +13 -0
- package/dist/src/{_framework/init-loader.js → generated/typus_perp/treasury_caps.js} +17 -10
- package/dist/src/generated/typus_perp/user_account.d.ts +40 -0
- package/dist/src/generated/typus_perp/user_account.js +72 -0
- package/dist/src/generated/typus_stake_pool/admin.d.ts +100 -0
- package/dist/src/generated/typus_stake_pool/admin.js +91 -0
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.d.ts +17 -0
- package/dist/src/generated/typus_stake_pool/deps/std/type_name.js +25 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/object.d.ts +8 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/object.js +16 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.d.ts +30 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_map.js +37 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.d.ts +18 -0
- package/dist/src/generated/typus_stake_pool/deps/sui/vec_set.js +25 -0
- package/dist/src/generated/typus_stake_pool/stake_pool.d.ts +1023 -0
- package/dist/src/generated/typus_stake_pool/stake_pool.js +918 -0
- package/dist/src/generated/utils/index.d.ts +11 -0
- package/dist/src/generated/utils/index.js +135 -0
- package/dist/src/grpc/graphql.d.ts +26 -0
- package/dist/src/grpc/graphql.js +126 -0
- package/dist/src/grpc/grpc.d.ts +1 -0
- package/dist/src/grpc/grpc.js +38 -0
- package/dist/src/grpc/ledgerService.js +64 -0
- package/dist/src/grpc/liveDataService.d.ts +0 -0
- package/dist/src/grpc/liveDataService.js +49 -0
- package/dist/src/index.d.ts +0 -4
- package/dist/src/index.js +20 -39
- package/dist/src/user/history.js +611 -680
- package/dist/src/user/order.d.ts +11 -11
- package/dist/src/user/order.js +171 -302
- package/dist/src/user/orderWithBidReceipt.d.ts +8 -6
- package/dist/src/user/orderWithBidReceipt.js +127 -226
- package/dist/src/user/tlp.d.ts +32 -23
- package/dist/src/user/tlp.js +316 -468
- package/package.json +44 -36
- package/dist/src/_dependencies/source/0x1/ascii/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0x1/ascii/structs.js +0 -398
- package/dist/src/_dependencies/source/0x1/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x1/index.js +0 -6
- package/dist/src/_dependencies/source/0x1/option/structs.d.ts +0 -50
- package/dist/src/_dependencies/source/0x1/option/structs.js +0 -271
- package/dist/src/_dependencies/source/0x1/string/structs.d.ts +0 -48
- package/dist/src/_dependencies/source/0x1/string/structs.js +0 -256
- package/dist/src/_dependencies/source/0x1/type-name/structs.d.ts +0 -49
- package/dist/src/_dependencies/source/0x1/type-name/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +0 -54
- package/dist/src/_dependencies/source/0x2/bag/structs.js +0 -229
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +0 -84
- package/dist/src/_dependencies/source/0x2/balance/structs.js +0 -386
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +0 -406
- package/dist/src/_dependencies/source/0x2/coin/structs.js +0 -1247
- package/dist/src/_dependencies/source/0x2/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x2/index.js +0 -6
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +0 -132
- package/dist/src/_dependencies/source/0x2/linked-table/structs.js +0 -438
- package/dist/src/_dependencies/source/0x2/object/structs.d.ts +0 -86
- package/dist/src/_dependencies/source/0x2/object/structs.js +0 -364
- package/dist/src/_dependencies/source/0x2/object-table/structs.d.ts +0 -54
- package/dist/src/_dependencies/source/0x2/object-table/structs.js +0 -248
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +0 -44
- package/dist/src/_dependencies/source/0x2/sui/structs.js +0 -222
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +0 -54
- package/dist/src/_dependencies/source/0x2/table/structs.js +0 -248
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -59
- package/dist/src/_dependencies/source/0x2/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +0 -421
- package/dist/src/_dependencies/source/0x2/token/structs.js +0 -1095
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -348
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -1091
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +0 -49
- package/dist/src/_dependencies/source/0x2/url/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2/vec-map/structs.d.ts +0 -106
- package/dist/src/_dependencies/source/0x2/vec-map/structs.js +0 -446
- package/dist/src/_dependencies/source/0x2/vec-set/structs.d.ts +0 -49
- package/dist/src/_dependencies/source/0x2/vec-set/structs.js +0 -270
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.d.ts +0 -422
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/airdrop/structs.js +0 -1084
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.d.ts +0 -130
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/big-vector/structs.js +0 -456
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.d.ts +0 -208
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/critbit/structs.js +0 -653
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.d.ts +0 -362
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/ecosystem/structs.js +0 -899
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.d.ts +0 -8
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/index.js +0 -11
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/init.js +0 -102
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.d.ts +0 -202
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/keyed-big-vector/structs.js +0 -632
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.d.ts +0 -600
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/leaderboard/structs.js +0 -1459
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.d.ts +0 -136
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-object-table/structs.js +0 -438
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.d.ts +0 -127
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/linked-set/structs.js +0 -430
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.d.ts +0 -957
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tails-staking/structs.js +0 -2261
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.d.ts +0 -244
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/tgld/structs.js +0 -733
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.d.ts +0 -294
- package/dist/src/_dependencies/source/0x4b0f4ee1a40ce37ec81c987cc4e76a665419e74b863319492fc7d26f708b835a/user/structs.js +0 -892
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.d.ts +0 -73
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/authority/structs.js +0 -263
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.d.ts +0 -294
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/balance-pool/structs.js +0 -591
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.d.ts +0 -64
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/big-vector/structs.js +0 -258
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.d.ts +0 -756
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/dutch/structs.js +0 -1721
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.d.ts +0 -44
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/i64/structs.js +0 -222
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/index.js +0 -6
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/init.js +0 -89
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.d.ts +0 -135
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/linked-list/structs.js +0 -444
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.d.ts +0 -2106
- package/dist/src/_dependencies/source/0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274/vault/structs.js +0 -4952
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.d.ts +0 -390
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/discount-mint/structs.js +0 -844
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.d.ts +0 -6
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/index.js +0 -9
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/init.js +0 -69
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.d.ts +0 -89
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/royalty-rule/structs.js +0 -376
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.d.ts +0 -386
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/staking/structs.js +0 -881
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.d.ts +0 -59
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.d.ts +0 -974
- package/dist/src/_dependencies/source/0xbd147bc7f12f38f175d78947a61364e8e077b9b188b00e7094bc0c3623162196/typus-nft/structs.js +0 -2387
- package/dist/src/_framework/init-loader.d.ts +0 -2
- package/dist/src/_framework/loader.d.ts +0 -17
- package/dist/src/_framework/loader.js +0 -108
- package/dist/src/_framework/reified.d.ts +0 -108
- package/dist/src/_framework/reified.js +0 -237
- package/dist/src/_framework/util.d.ts +0 -35
- package/dist/src/_framework/util.js +0 -396
- package/dist/src/_framework/vector.d.ts +0 -42
- package/dist/src/_framework/vector.js +0 -112
- package/dist/src/pyth.js +0 -1
- package/dist/src/typus_perp/admin/functions.d.ts +0 -59
- package/dist/src/typus_perp/admin/functions.js +0 -122
- package/dist/src/typus_perp/admin/structs.d.ts +0 -467
- package/dist/src/typus_perp/admin/structs.js +0 -1065
- package/dist/src/typus_perp/competition/functions.d.ts +0 -24
- package/dist/src/typus_perp/competition/functions.js +0 -38
- package/dist/src/typus_perp/competition/structs.d.ts +0 -80
- package/dist/src/typus_perp/competition/structs.js +0 -288
- package/dist/src/typus_perp/error/functions.d.ts +0 -73
- package/dist/src/typus_perp/error/functions.js +0 -363
- package/dist/src/typus_perp/escrow/functions.d.ts +0 -17
- package/dist/src/typus_perp/escrow/functions.js +0 -36
- package/dist/src/typus_perp/escrow/structs.d.ts +0 -160
- package/dist/src/typus_perp/escrow/structs.js +0 -324
- package/dist/src/typus_perp/index.d.ts +0 -1
- package/dist/src/typus_perp/index.js +0 -7
- package/dist/src/typus_perp/init.d.ts +0 -2
- package/dist/src/typus_perp/init.js +0 -118
- package/dist/src/typus_perp/lending/functions.d.ts +0 -15
- package/dist/src/typus_perp/lending/functions.js +0 -22
- package/dist/src/typus_perp/lp-pool/functions.d.ts +0 -460
- package/dist/src/typus_perp/lp-pool/functions.js +0 -732
- package/dist/src/typus_perp/lp-pool/structs.d.ts +0 -3705
- package/dist/src/typus_perp/lp-pool/structs.js +0 -6789
- package/dist/src/typus_perp/math/functions.d.ts +0 -29
- package/dist/src/typus_perp/math/functions.js +0 -61
- package/dist/src/typus_perp/position/functions.d.ts +0 -379
- package/dist/src/typus_perp/position/functions.js +0 -713
- package/dist/src/typus_perp/position/structs.d.ts +0 -905
- package/dist/src/typus_perp/position/structs.js +0 -1450
- package/dist/src/typus_perp/symbol/functions.d.ts +0 -9
- package/dist/src/typus_perp/symbol/functions.js +0 -24
- package/dist/src/typus_perp/symbol/structs.d.ts +0 -70
- package/dist/src/typus_perp/symbol/structs.js +0 -235
- package/dist/src/typus_perp/tlp/functions.d.ts +0 -19
- package/dist/src/typus_perp/tlp/functions.js +0 -40
- package/dist/src/typus_perp/tlp/structs.d.ts +0 -89
- package/dist/src/typus_perp/tlp/structs.js +0 -365
- package/dist/src/typus_perp/token-interface/functions.d.ts +0 -11
- package/dist/src/typus_perp/token-interface/functions.js +0 -22
- package/dist/src/typus_perp/trading/functions.d.ts +0 -812
- package/dist/src/typus_perp/trading/functions.js +0 -1218
- package/dist/src/typus_perp/trading/structs.d.ts +0 -3060
- package/dist/src/typus_perp/trading/structs.js +0 -5813
- package/dist/src/typus_perp/treasury-caps/functions.d.ts +0 -9
- package/dist/src/typus_perp/treasury-caps/functions.js +0 -36
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +0 -49
- package/dist/src/typus_perp/treasury-caps/structs.js +0 -223
- package/dist/src/typus_perp/user-account/functions.d.ts +0 -36
- package/dist/src/typus_perp/user-account/functions.js +0 -70
- package/dist/src/typus_perp/user-account/structs.d.ts +0 -148
- package/dist/src/typus_perp/user-account/structs.js +0 -448
- package/dist/src/typus_stake_pool/admin/functions.d.ts +0 -49
- package/dist/src/typus_stake_pool/admin/functions.js +0 -105
- package/dist/src/typus_stake_pool/admin/structs.d.ts +0 -365
- package/dist/src/typus_stake_pool/admin/structs.js +0 -789
- package/dist/src/typus_stake_pool/index.d.ts +0 -1
- package/dist/src/typus_stake_pool/index.js +0 -7
- package/dist/src/typus_stake_pool/init.d.ts +0 -2
- package/dist/src/typus_stake_pool/init.js +0 -69
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +0 -229
- package/dist/src/typus_stake_pool/stake-pool/functions.js +0 -380
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +0 -2199
- package/dist/src/typus_stake_pool/stake-pool/structs.js +0 -4653
- /package/dist/src/{pyth.d.ts → grpc/ledgerService.d.ts} +0 -0
|
@@ -1,756 +0,0 @@
|
|
|
1
|
-
import * as reified from "../../../../_framework/reified";
|
|
2
|
-
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr, ToTypeStr as ToPhantom } from "../../../../_framework/reified";
|
|
3
|
-
import { FieldsWithTypes } from "../../../../_framework/util";
|
|
4
|
-
import { TypeName } from "../../0x1/type-name/structs";
|
|
5
|
-
import { UID } from "../../0x2/object/structs";
|
|
6
|
-
import { BigVector } from "../big-vector/structs";
|
|
7
|
-
import { PKG_V1 } from "../index";
|
|
8
|
-
import { SuiClient, SuiObjectData, SuiParsedData } from "@mysten/sui/client";
|
|
9
|
-
export declare function isAuction(type: string): boolean;
|
|
10
|
-
export interface AuctionFields {
|
|
11
|
-
id: ToField<UID>;
|
|
12
|
-
index: ToField<"u64">;
|
|
13
|
-
token: ToField<TypeName>;
|
|
14
|
-
startTsMs: ToField<"u64">;
|
|
15
|
-
endTsMs: ToField<"u64">;
|
|
16
|
-
size: ToField<"u64">;
|
|
17
|
-
decaySpeed: ToField<"u64">;
|
|
18
|
-
initialPrice: ToField<"u64">;
|
|
19
|
-
finalPrice: ToField<"u64">;
|
|
20
|
-
feeBp: ToField<"u64">;
|
|
21
|
-
incentiveBp: ToField<"u64">;
|
|
22
|
-
tokenDecimal: ToField<"u64">;
|
|
23
|
-
sizeDecimal: ToField<"u64">;
|
|
24
|
-
totalBidSize: ToField<"u64">;
|
|
25
|
-
ableToRemoveBid: ToField<"bool">;
|
|
26
|
-
bids: ToField<BigVector<ToPhantom<Bid>>>;
|
|
27
|
-
bidIndex: ToField<"u64">;
|
|
28
|
-
}
|
|
29
|
-
export type AuctionReified = Reified<Auction, AuctionFields>;
|
|
30
|
-
export declare class Auction implements StructClass {
|
|
31
|
-
__StructClass: true;
|
|
32
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Auction";
|
|
33
|
-
static readonly $numTypeParams = 0;
|
|
34
|
-
static readonly $isPhantom: readonly [];
|
|
35
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Auction";
|
|
36
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::Auction`;
|
|
37
|
-
readonly $typeArgs: [];
|
|
38
|
-
readonly $isPhantom: readonly [];
|
|
39
|
-
readonly id: ToField<UID>;
|
|
40
|
-
readonly index: ToField<"u64">;
|
|
41
|
-
readonly token: ToField<TypeName>;
|
|
42
|
-
readonly startTsMs: ToField<"u64">;
|
|
43
|
-
readonly endTsMs: ToField<"u64">;
|
|
44
|
-
readonly size: ToField<"u64">;
|
|
45
|
-
readonly decaySpeed: ToField<"u64">;
|
|
46
|
-
readonly initialPrice: ToField<"u64">;
|
|
47
|
-
readonly finalPrice: ToField<"u64">;
|
|
48
|
-
readonly feeBp: ToField<"u64">;
|
|
49
|
-
readonly incentiveBp: ToField<"u64">;
|
|
50
|
-
readonly tokenDecimal: ToField<"u64">;
|
|
51
|
-
readonly sizeDecimal: ToField<"u64">;
|
|
52
|
-
readonly totalBidSize: ToField<"u64">;
|
|
53
|
-
readonly ableToRemoveBid: ToField<"bool">;
|
|
54
|
-
readonly bids: ToField<BigVector<ToPhantom<Bid>>>;
|
|
55
|
-
readonly bidIndex: ToField<"u64">;
|
|
56
|
-
private constructor();
|
|
57
|
-
static reified(): AuctionReified;
|
|
58
|
-
static get r(): reified.StructClassReified<Auction, AuctionFields>;
|
|
59
|
-
static phantom(): PhantomReified<ToTypeStr<Auction>>;
|
|
60
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Auction">;
|
|
61
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
62
|
-
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
63
|
-
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
64
|
-
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
65
|
-
}, string>;
|
|
66
|
-
}, string>;
|
|
67
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
68
|
-
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
69
|
-
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
70
|
-
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
71
|
-
length: number;
|
|
72
|
-
}, string>;
|
|
73
|
-
}, string>;
|
|
74
|
-
}, string>;
|
|
75
|
-
start_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
76
|
-
end_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
77
|
-
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
78
|
-
decay_speed: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
79
|
-
initial_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
80
|
-
final_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
81
|
-
fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
82
|
-
incentive_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
83
|
-
token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
84
|
-
size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
85
|
-
total_bid_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
86
|
-
able_to_remove_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
87
|
-
bids: import("@mysten/sui/bcs").BcsStruct<{
|
|
88
|
-
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
89
|
-
id: import("@mysten/sui/bcs").BcsStruct<{
|
|
90
|
-
bytes: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
91
|
-
}, string>;
|
|
92
|
-
}, string>;
|
|
93
|
-
slice_count: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
94
|
-
slice_size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
95
|
-
length: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
96
|
-
}, string>;
|
|
97
|
-
bid_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
98
|
-
}, string>;
|
|
99
|
-
static fromFields(fields: Record<string, any>): Auction;
|
|
100
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): Auction;
|
|
101
|
-
static fromBcs(data: Uint8Array): Auction;
|
|
102
|
-
toJSONField(): {
|
|
103
|
-
id: string;
|
|
104
|
-
index: string;
|
|
105
|
-
token: {
|
|
106
|
-
name: string;
|
|
107
|
-
};
|
|
108
|
-
startTsMs: string;
|
|
109
|
-
endTsMs: string;
|
|
110
|
-
size: string;
|
|
111
|
-
decaySpeed: string;
|
|
112
|
-
initialPrice: string;
|
|
113
|
-
finalPrice: string;
|
|
114
|
-
feeBp: string;
|
|
115
|
-
incentiveBp: string;
|
|
116
|
-
tokenDecimal: string;
|
|
117
|
-
sizeDecimal: string;
|
|
118
|
-
totalBidSize: string;
|
|
119
|
-
ableToRemoveBid: boolean;
|
|
120
|
-
bids: {
|
|
121
|
-
id: string;
|
|
122
|
-
sliceCount: string;
|
|
123
|
-
sliceSize: string;
|
|
124
|
-
length: string;
|
|
125
|
-
};
|
|
126
|
-
bidIndex: string;
|
|
127
|
-
};
|
|
128
|
-
toJSON(): {
|
|
129
|
-
id: string;
|
|
130
|
-
index: string;
|
|
131
|
-
token: {
|
|
132
|
-
name: string;
|
|
133
|
-
};
|
|
134
|
-
startTsMs: string;
|
|
135
|
-
endTsMs: string;
|
|
136
|
-
size: string;
|
|
137
|
-
decaySpeed: string;
|
|
138
|
-
initialPrice: string;
|
|
139
|
-
finalPrice: string;
|
|
140
|
-
feeBp: string;
|
|
141
|
-
incentiveBp: string;
|
|
142
|
-
tokenDecimal: string;
|
|
143
|
-
sizeDecimal: string;
|
|
144
|
-
totalBidSize: string;
|
|
145
|
-
ableToRemoveBid: boolean;
|
|
146
|
-
bids: {
|
|
147
|
-
id: string;
|
|
148
|
-
sliceCount: string;
|
|
149
|
-
sliceSize: string;
|
|
150
|
-
length: string;
|
|
151
|
-
};
|
|
152
|
-
bidIndex: string;
|
|
153
|
-
$typeName: string;
|
|
154
|
-
$typeArgs: [];
|
|
155
|
-
};
|
|
156
|
-
static fromJSONField(field: any): Auction;
|
|
157
|
-
static fromJSON(json: Record<string, any>): Auction;
|
|
158
|
-
static fromSuiParsedData(content: SuiParsedData): Auction;
|
|
159
|
-
static fromSuiObjectData(data: SuiObjectData): Auction;
|
|
160
|
-
static fetch(client: SuiClient, id: string): Promise<Auction>;
|
|
161
|
-
}
|
|
162
|
-
export declare function isBid(type: string): boolean;
|
|
163
|
-
export interface BidFields {
|
|
164
|
-
index: ToField<"u64">;
|
|
165
|
-
bidder: ToField<"address">;
|
|
166
|
-
price: ToField<"u64">;
|
|
167
|
-
size: ToField<"u64">;
|
|
168
|
-
bidderBalance: ToField<"u64">;
|
|
169
|
-
incentiveBalance: ToField<"u64">;
|
|
170
|
-
feeDiscount: ToField<"u64">;
|
|
171
|
-
tsMs: ToField<"u64">;
|
|
172
|
-
}
|
|
173
|
-
export type BidReified = Reified<Bid, BidFields>;
|
|
174
|
-
export declare class Bid implements StructClass {
|
|
175
|
-
__StructClass: true;
|
|
176
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Bid";
|
|
177
|
-
static readonly $numTypeParams = 0;
|
|
178
|
-
static readonly $isPhantom: readonly [];
|
|
179
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Bid";
|
|
180
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::Bid`;
|
|
181
|
-
readonly $typeArgs: [];
|
|
182
|
-
readonly $isPhantom: readonly [];
|
|
183
|
-
readonly index: ToField<"u64">;
|
|
184
|
-
readonly bidder: ToField<"address">;
|
|
185
|
-
readonly price: ToField<"u64">;
|
|
186
|
-
readonly size: ToField<"u64">;
|
|
187
|
-
readonly bidderBalance: ToField<"u64">;
|
|
188
|
-
readonly incentiveBalance: ToField<"u64">;
|
|
189
|
-
readonly feeDiscount: ToField<"u64">;
|
|
190
|
-
readonly tsMs: ToField<"u64">;
|
|
191
|
-
private constructor();
|
|
192
|
-
static reified(): BidReified;
|
|
193
|
-
static get r(): reified.StructClassReified<Bid, BidFields>;
|
|
194
|
-
static phantom(): PhantomReified<ToTypeStr<Bid>>;
|
|
195
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Bid">;
|
|
196
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
197
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
198
|
-
bidder: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
199
|
-
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
200
|
-
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
201
|
-
bidder_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
202
|
-
incentive_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
203
|
-
fee_discount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
204
|
-
ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
205
|
-
}, string>;
|
|
206
|
-
static fromFields(fields: Record<string, any>): Bid;
|
|
207
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): Bid;
|
|
208
|
-
static fromBcs(data: Uint8Array): Bid;
|
|
209
|
-
toJSONField(): {
|
|
210
|
-
index: string;
|
|
211
|
-
bidder: string;
|
|
212
|
-
price: string;
|
|
213
|
-
size: string;
|
|
214
|
-
bidderBalance: string;
|
|
215
|
-
incentiveBalance: string;
|
|
216
|
-
feeDiscount: string;
|
|
217
|
-
tsMs: string;
|
|
218
|
-
};
|
|
219
|
-
toJSON(): {
|
|
220
|
-
index: string;
|
|
221
|
-
bidder: string;
|
|
222
|
-
price: string;
|
|
223
|
-
size: string;
|
|
224
|
-
bidderBalance: string;
|
|
225
|
-
incentiveBalance: string;
|
|
226
|
-
feeDiscount: string;
|
|
227
|
-
tsMs: string;
|
|
228
|
-
$typeName: string;
|
|
229
|
-
$typeArgs: [];
|
|
230
|
-
};
|
|
231
|
-
static fromJSONField(field: any): Bid;
|
|
232
|
-
static fromJSON(json: Record<string, any>): Bid;
|
|
233
|
-
static fromSuiParsedData(content: SuiParsedData): Bid;
|
|
234
|
-
static fromSuiObjectData(data: SuiObjectData): Bid;
|
|
235
|
-
static fetch(client: SuiClient, id: string): Promise<Bid>;
|
|
236
|
-
}
|
|
237
|
-
export declare function isDUTCH(type: string): boolean;
|
|
238
|
-
export interface DUTCHFields {
|
|
239
|
-
dummyField: ToField<"bool">;
|
|
240
|
-
}
|
|
241
|
-
export type DUTCHReified = Reified<DUTCH, DUTCHFields>;
|
|
242
|
-
export declare class DUTCH implements StructClass {
|
|
243
|
-
__StructClass: true;
|
|
244
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::DUTCH";
|
|
245
|
-
static readonly $numTypeParams = 0;
|
|
246
|
-
static readonly $isPhantom: readonly [];
|
|
247
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::DUTCH";
|
|
248
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::DUTCH`;
|
|
249
|
-
readonly $typeArgs: [];
|
|
250
|
-
readonly $isPhantom: readonly [];
|
|
251
|
-
readonly dummyField: ToField<"bool">;
|
|
252
|
-
private constructor();
|
|
253
|
-
static reified(): DUTCHReified;
|
|
254
|
-
static get r(): reified.StructClassReified<DUTCH, DUTCHFields>;
|
|
255
|
-
static phantom(): PhantomReified<ToTypeStr<DUTCH>>;
|
|
256
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::DUTCH">;
|
|
257
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
258
|
-
dummy_field: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
259
|
-
}, string>;
|
|
260
|
-
static fromFields(fields: Record<string, any>): DUTCH;
|
|
261
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): DUTCH;
|
|
262
|
-
static fromBcs(data: Uint8Array): DUTCH;
|
|
263
|
-
toJSONField(): {
|
|
264
|
-
dummyField: boolean;
|
|
265
|
-
};
|
|
266
|
-
toJSON(): {
|
|
267
|
-
dummyField: boolean;
|
|
268
|
-
$typeName: string;
|
|
269
|
-
$typeArgs: [];
|
|
270
|
-
};
|
|
271
|
-
static fromJSONField(field: any): DUTCH;
|
|
272
|
-
static fromJSON(json: Record<string, any>): DUTCH;
|
|
273
|
-
static fromSuiParsedData(content: SuiParsedData): DUTCH;
|
|
274
|
-
static fromSuiObjectData(data: SuiObjectData): DUTCH;
|
|
275
|
-
static fetch(client: SuiClient, id: string): Promise<DUTCH>;
|
|
276
|
-
}
|
|
277
|
-
export declare function isDelivery(type: string): boolean;
|
|
278
|
-
export interface DeliveryFields {
|
|
279
|
-
signer: ToField<"address">;
|
|
280
|
-
index: ToField<"u64">;
|
|
281
|
-
token: ToField<TypeName>;
|
|
282
|
-
price: ToField<"u64">;
|
|
283
|
-
size: ToField<"u64">;
|
|
284
|
-
bidderBidValue: ToField<"u64">;
|
|
285
|
-
bidderFee: ToField<"u64">;
|
|
286
|
-
incentiveBidValue: ToField<"u64">;
|
|
287
|
-
incentiveFee: ToField<"u64">;
|
|
288
|
-
}
|
|
289
|
-
export type DeliveryReified = Reified<Delivery, DeliveryFields>;
|
|
290
|
-
export declare class Delivery implements StructClass {
|
|
291
|
-
__StructClass: true;
|
|
292
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Delivery";
|
|
293
|
-
static readonly $numTypeParams = 0;
|
|
294
|
-
static readonly $isPhantom: readonly [];
|
|
295
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Delivery";
|
|
296
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::Delivery`;
|
|
297
|
-
readonly $typeArgs: [];
|
|
298
|
-
readonly $isPhantom: readonly [];
|
|
299
|
-
readonly signer: ToField<"address">;
|
|
300
|
-
readonly index: ToField<"u64">;
|
|
301
|
-
readonly token: ToField<TypeName>;
|
|
302
|
-
readonly price: ToField<"u64">;
|
|
303
|
-
readonly size: ToField<"u64">;
|
|
304
|
-
readonly bidderBidValue: ToField<"u64">;
|
|
305
|
-
readonly bidderFee: ToField<"u64">;
|
|
306
|
-
readonly incentiveBidValue: ToField<"u64">;
|
|
307
|
-
readonly incentiveFee: ToField<"u64">;
|
|
308
|
-
private constructor();
|
|
309
|
-
static reified(): DeliveryReified;
|
|
310
|
-
static get r(): reified.StructClassReified<Delivery, DeliveryFields>;
|
|
311
|
-
static phantom(): PhantomReified<ToTypeStr<Delivery>>;
|
|
312
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Delivery">;
|
|
313
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
314
|
-
signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
315
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
316
|
-
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
317
|
-
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
318
|
-
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
319
|
-
length: number;
|
|
320
|
-
}, string>;
|
|
321
|
-
}, string>;
|
|
322
|
-
}, string>;
|
|
323
|
-
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
324
|
-
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
325
|
-
bidder_bid_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
326
|
-
bidder_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
327
|
-
incentive_bid_value: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
328
|
-
incentive_fee: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
329
|
-
}, string>;
|
|
330
|
-
static fromFields(fields: Record<string, any>): Delivery;
|
|
331
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): Delivery;
|
|
332
|
-
static fromBcs(data: Uint8Array): Delivery;
|
|
333
|
-
toJSONField(): {
|
|
334
|
-
signer: string;
|
|
335
|
-
index: string;
|
|
336
|
-
token: {
|
|
337
|
-
name: string;
|
|
338
|
-
};
|
|
339
|
-
price: string;
|
|
340
|
-
size: string;
|
|
341
|
-
bidderBidValue: string;
|
|
342
|
-
bidderFee: string;
|
|
343
|
-
incentiveBidValue: string;
|
|
344
|
-
incentiveFee: string;
|
|
345
|
-
};
|
|
346
|
-
toJSON(): {
|
|
347
|
-
signer: string;
|
|
348
|
-
index: string;
|
|
349
|
-
token: {
|
|
350
|
-
name: string;
|
|
351
|
-
};
|
|
352
|
-
price: string;
|
|
353
|
-
size: string;
|
|
354
|
-
bidderBidValue: string;
|
|
355
|
-
bidderFee: string;
|
|
356
|
-
incentiveBidValue: string;
|
|
357
|
-
incentiveFee: string;
|
|
358
|
-
$typeName: string;
|
|
359
|
-
$typeArgs: [];
|
|
360
|
-
};
|
|
361
|
-
static fromJSONField(field: any): Delivery;
|
|
362
|
-
static fromJSON(json: Record<string, any>): Delivery;
|
|
363
|
-
static fromSuiParsedData(content: SuiParsedData): Delivery;
|
|
364
|
-
static fromSuiObjectData(data: SuiObjectData): Delivery;
|
|
365
|
-
static fetch(client: SuiClient, id: string): Promise<Delivery>;
|
|
366
|
-
}
|
|
367
|
-
export declare function isNewBid(type: string): boolean;
|
|
368
|
-
export interface NewBidFields {
|
|
369
|
-
signer: ToField<"address">;
|
|
370
|
-
index: ToField<"u64">;
|
|
371
|
-
token: ToField<TypeName>;
|
|
372
|
-
bidIndex: ToField<"u64">;
|
|
373
|
-
price: ToField<"u64">;
|
|
374
|
-
size: ToField<"u64">;
|
|
375
|
-
bidderBalance: ToField<"u64">;
|
|
376
|
-
incentiveBalance: ToField<"u64">;
|
|
377
|
-
tsMs: ToField<"u64">;
|
|
378
|
-
}
|
|
379
|
-
export type NewBidReified = Reified<NewBid, NewBidFields>;
|
|
380
|
-
export declare class NewBid implements StructClass {
|
|
381
|
-
__StructClass: true;
|
|
382
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::NewBid";
|
|
383
|
-
static readonly $numTypeParams = 0;
|
|
384
|
-
static readonly $isPhantom: readonly [];
|
|
385
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::NewBid";
|
|
386
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::NewBid`;
|
|
387
|
-
readonly $typeArgs: [];
|
|
388
|
-
readonly $isPhantom: readonly [];
|
|
389
|
-
readonly signer: ToField<"address">;
|
|
390
|
-
readonly index: ToField<"u64">;
|
|
391
|
-
readonly token: ToField<TypeName>;
|
|
392
|
-
readonly bidIndex: ToField<"u64">;
|
|
393
|
-
readonly price: ToField<"u64">;
|
|
394
|
-
readonly size: ToField<"u64">;
|
|
395
|
-
readonly bidderBalance: ToField<"u64">;
|
|
396
|
-
readonly incentiveBalance: ToField<"u64">;
|
|
397
|
-
readonly tsMs: ToField<"u64">;
|
|
398
|
-
private constructor();
|
|
399
|
-
static reified(): NewBidReified;
|
|
400
|
-
static get r(): reified.StructClassReified<NewBid, NewBidFields>;
|
|
401
|
-
static phantom(): PhantomReified<ToTypeStr<NewBid>>;
|
|
402
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::NewBid">;
|
|
403
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
404
|
-
signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
405
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
406
|
-
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
407
|
-
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
408
|
-
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
409
|
-
length: number;
|
|
410
|
-
}, string>;
|
|
411
|
-
}, string>;
|
|
412
|
-
}, string>;
|
|
413
|
-
bid_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
414
|
-
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
415
|
-
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
416
|
-
bidder_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
417
|
-
incentive_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
418
|
-
ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
419
|
-
}, string>;
|
|
420
|
-
static fromFields(fields: Record<string, any>): NewBid;
|
|
421
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): NewBid;
|
|
422
|
-
static fromBcs(data: Uint8Array): NewBid;
|
|
423
|
-
toJSONField(): {
|
|
424
|
-
signer: string;
|
|
425
|
-
index: string;
|
|
426
|
-
token: {
|
|
427
|
-
name: string;
|
|
428
|
-
};
|
|
429
|
-
bidIndex: string;
|
|
430
|
-
price: string;
|
|
431
|
-
size: string;
|
|
432
|
-
bidderBalance: string;
|
|
433
|
-
incentiveBalance: string;
|
|
434
|
-
tsMs: string;
|
|
435
|
-
};
|
|
436
|
-
toJSON(): {
|
|
437
|
-
signer: string;
|
|
438
|
-
index: string;
|
|
439
|
-
token: {
|
|
440
|
-
name: string;
|
|
441
|
-
};
|
|
442
|
-
bidIndex: string;
|
|
443
|
-
price: string;
|
|
444
|
-
size: string;
|
|
445
|
-
bidderBalance: string;
|
|
446
|
-
incentiveBalance: string;
|
|
447
|
-
tsMs: string;
|
|
448
|
-
$typeName: string;
|
|
449
|
-
$typeArgs: [];
|
|
450
|
-
};
|
|
451
|
-
static fromJSONField(field: any): NewBid;
|
|
452
|
-
static fromJSON(json: Record<string, any>): NewBid;
|
|
453
|
-
static fromSuiParsedData(content: SuiParsedData): NewBid;
|
|
454
|
-
static fromSuiObjectData(data: SuiObjectData): NewBid;
|
|
455
|
-
static fetch(client: SuiClient, id: string): Promise<NewBid>;
|
|
456
|
-
}
|
|
457
|
-
export declare function isRemoveBid(type: string): boolean;
|
|
458
|
-
export interface RemoveBidFields {
|
|
459
|
-
signer: ToField<"address">;
|
|
460
|
-
index: ToField<"u64">;
|
|
461
|
-
token: ToField<TypeName>;
|
|
462
|
-
bidIndex: ToField<"u64">;
|
|
463
|
-
price: ToField<"u64">;
|
|
464
|
-
size: ToField<"u64">;
|
|
465
|
-
bidderBalance: ToField<"u64">;
|
|
466
|
-
incentiveBalance: ToField<"u64">;
|
|
467
|
-
feeDiscount: ToField<"u64">;
|
|
468
|
-
tsMs: ToField<"u64">;
|
|
469
|
-
}
|
|
470
|
-
export type RemoveBidReified = Reified<RemoveBid, RemoveBidFields>;
|
|
471
|
-
export declare class RemoveBid implements StructClass {
|
|
472
|
-
__StructClass: true;
|
|
473
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::RemoveBid";
|
|
474
|
-
static readonly $numTypeParams = 0;
|
|
475
|
-
static readonly $isPhantom: readonly [];
|
|
476
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::RemoveBid";
|
|
477
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::RemoveBid`;
|
|
478
|
-
readonly $typeArgs: [];
|
|
479
|
-
readonly $isPhantom: readonly [];
|
|
480
|
-
readonly signer: ToField<"address">;
|
|
481
|
-
readonly index: ToField<"u64">;
|
|
482
|
-
readonly token: ToField<TypeName>;
|
|
483
|
-
readonly bidIndex: ToField<"u64">;
|
|
484
|
-
readonly price: ToField<"u64">;
|
|
485
|
-
readonly size: ToField<"u64">;
|
|
486
|
-
readonly bidderBalance: ToField<"u64">;
|
|
487
|
-
readonly incentiveBalance: ToField<"u64">;
|
|
488
|
-
readonly feeDiscount: ToField<"u64">;
|
|
489
|
-
readonly tsMs: ToField<"u64">;
|
|
490
|
-
private constructor();
|
|
491
|
-
static reified(): RemoveBidReified;
|
|
492
|
-
static get r(): reified.StructClassReified<RemoveBid, RemoveBidFields>;
|
|
493
|
-
static phantom(): PhantomReified<ToTypeStr<RemoveBid>>;
|
|
494
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::RemoveBid">;
|
|
495
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
496
|
-
signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
497
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
498
|
-
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
499
|
-
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
500
|
-
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
501
|
-
length: number;
|
|
502
|
-
}, string>;
|
|
503
|
-
}, string>;
|
|
504
|
-
}, string>;
|
|
505
|
-
bid_index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
506
|
-
price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
507
|
-
size: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
508
|
-
bidder_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
509
|
-
incentive_balance: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
510
|
-
fee_discount: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
511
|
-
ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
512
|
-
}, string>;
|
|
513
|
-
static fromFields(fields: Record<string, any>): RemoveBid;
|
|
514
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): RemoveBid;
|
|
515
|
-
static fromBcs(data: Uint8Array): RemoveBid;
|
|
516
|
-
toJSONField(): {
|
|
517
|
-
signer: string;
|
|
518
|
-
index: string;
|
|
519
|
-
token: {
|
|
520
|
-
name: string;
|
|
521
|
-
};
|
|
522
|
-
bidIndex: string;
|
|
523
|
-
price: string;
|
|
524
|
-
size: string;
|
|
525
|
-
bidderBalance: string;
|
|
526
|
-
incentiveBalance: string;
|
|
527
|
-
feeDiscount: string;
|
|
528
|
-
tsMs: string;
|
|
529
|
-
};
|
|
530
|
-
toJSON(): {
|
|
531
|
-
signer: string;
|
|
532
|
-
index: string;
|
|
533
|
-
token: {
|
|
534
|
-
name: string;
|
|
535
|
-
};
|
|
536
|
-
bidIndex: string;
|
|
537
|
-
price: string;
|
|
538
|
-
size: string;
|
|
539
|
-
bidderBalance: string;
|
|
540
|
-
incentiveBalance: string;
|
|
541
|
-
feeDiscount: string;
|
|
542
|
-
tsMs: string;
|
|
543
|
-
$typeName: string;
|
|
544
|
-
$typeArgs: [];
|
|
545
|
-
};
|
|
546
|
-
static fromJSONField(field: any): RemoveBid;
|
|
547
|
-
static fromJSON(json: Record<string, any>): RemoveBid;
|
|
548
|
-
static fromSuiParsedData(content: SuiParsedData): RemoveBid;
|
|
549
|
-
static fromSuiObjectData(data: SuiObjectData): RemoveBid;
|
|
550
|
-
static fetch(client: SuiClient, id: string): Promise<RemoveBid>;
|
|
551
|
-
}
|
|
552
|
-
export declare function isTerminate(type: string): boolean;
|
|
553
|
-
export interface TerminateFields {
|
|
554
|
-
signer: ToField<"address">;
|
|
555
|
-
index: ToField<"u64">;
|
|
556
|
-
token: ToField<TypeName>;
|
|
557
|
-
}
|
|
558
|
-
export type TerminateReified = Reified<Terminate, TerminateFields>;
|
|
559
|
-
export declare class Terminate implements StructClass {
|
|
560
|
-
__StructClass: true;
|
|
561
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Terminate";
|
|
562
|
-
static readonly $numTypeParams = 0;
|
|
563
|
-
static readonly $isPhantom: readonly [];
|
|
564
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Terminate";
|
|
565
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::Terminate`;
|
|
566
|
-
readonly $typeArgs: [];
|
|
567
|
-
readonly $isPhantom: readonly [];
|
|
568
|
-
readonly signer: ToField<"address">;
|
|
569
|
-
readonly index: ToField<"u64">;
|
|
570
|
-
readonly token: ToField<TypeName>;
|
|
571
|
-
private constructor();
|
|
572
|
-
static reified(): TerminateReified;
|
|
573
|
-
static get r(): reified.StructClassReified<Terminate, TerminateFields>;
|
|
574
|
-
static phantom(): PhantomReified<ToTypeStr<Terminate>>;
|
|
575
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::Terminate">;
|
|
576
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
577
|
-
signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
578
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
579
|
-
token: import("@mysten/sui/bcs").BcsStruct<{
|
|
580
|
-
name: import("@mysten/sui/bcs").BcsStruct<{
|
|
581
|
-
bytes: import("@mysten/sui/bcs").BcsType<number[], Iterable<number> & {
|
|
582
|
-
length: number;
|
|
583
|
-
}, string>;
|
|
584
|
-
}, string>;
|
|
585
|
-
}, string>;
|
|
586
|
-
}, string>;
|
|
587
|
-
static fromFields(fields: Record<string, any>): Terminate;
|
|
588
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): Terminate;
|
|
589
|
-
static fromBcs(data: Uint8Array): Terminate;
|
|
590
|
-
toJSONField(): {
|
|
591
|
-
signer: string;
|
|
592
|
-
index: string;
|
|
593
|
-
token: {
|
|
594
|
-
name: string;
|
|
595
|
-
};
|
|
596
|
-
};
|
|
597
|
-
toJSON(): {
|
|
598
|
-
signer: string;
|
|
599
|
-
index: string;
|
|
600
|
-
token: {
|
|
601
|
-
name: string;
|
|
602
|
-
};
|
|
603
|
-
$typeName: string;
|
|
604
|
-
$typeArgs: [];
|
|
605
|
-
};
|
|
606
|
-
static fromJSONField(field: any): Terminate;
|
|
607
|
-
static fromJSON(json: Record<string, any>): Terminate;
|
|
608
|
-
static fromSuiParsedData(content: SuiParsedData): Terminate;
|
|
609
|
-
static fromSuiObjectData(data: SuiObjectData): Terminate;
|
|
610
|
-
static fetch(client: SuiClient, id: string): Promise<Terminate>;
|
|
611
|
-
}
|
|
612
|
-
export declare function isUpdateAuctionConfig(type: string): boolean;
|
|
613
|
-
export interface UpdateAuctionConfigFields {
|
|
614
|
-
signer: ToField<"address">;
|
|
615
|
-
index: ToField<"u64">;
|
|
616
|
-
prevStartTsMs: ToField<"u64">;
|
|
617
|
-
prevEndTsMs: ToField<"u64">;
|
|
618
|
-
prevDecaySpeed: ToField<"u64">;
|
|
619
|
-
prevInitialPrice: ToField<"u64">;
|
|
620
|
-
prevFinalPrice: ToField<"u64">;
|
|
621
|
-
prevFeeBp: ToField<"u64">;
|
|
622
|
-
prevIncentiveBp: ToField<"u64">;
|
|
623
|
-
prevTokenDecimal: ToField<"u64">;
|
|
624
|
-
prevSizeDecimal: ToField<"u64">;
|
|
625
|
-
prevAbleToRemoveBid: ToField<"bool">;
|
|
626
|
-
startTsMs: ToField<"u64">;
|
|
627
|
-
endTsMs: ToField<"u64">;
|
|
628
|
-
decaySpeed: ToField<"u64">;
|
|
629
|
-
initialPrice: ToField<"u64">;
|
|
630
|
-
finalPrice: ToField<"u64">;
|
|
631
|
-
feeBp: ToField<"u64">;
|
|
632
|
-
incentiveBp: ToField<"u64">;
|
|
633
|
-
tokenDecimal: ToField<"u64">;
|
|
634
|
-
sizeDecimal: ToField<"u64">;
|
|
635
|
-
ableToRemoveBid: ToField<"bool">;
|
|
636
|
-
}
|
|
637
|
-
export type UpdateAuctionConfigReified = Reified<UpdateAuctionConfig, UpdateAuctionConfigFields>;
|
|
638
|
-
export declare class UpdateAuctionConfig implements StructClass {
|
|
639
|
-
__StructClass: true;
|
|
640
|
-
static readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::UpdateAuctionConfig";
|
|
641
|
-
static readonly $numTypeParams = 0;
|
|
642
|
-
static readonly $isPhantom: readonly [];
|
|
643
|
-
readonly $typeName = "0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::UpdateAuctionConfig";
|
|
644
|
-
readonly $fullTypeName: `${typeof PKG_V1}::dutch::UpdateAuctionConfig`;
|
|
645
|
-
readonly $typeArgs: [];
|
|
646
|
-
readonly $isPhantom: readonly [];
|
|
647
|
-
readonly signer: ToField<"address">;
|
|
648
|
-
readonly index: ToField<"u64">;
|
|
649
|
-
readonly prevStartTsMs: ToField<"u64">;
|
|
650
|
-
readonly prevEndTsMs: ToField<"u64">;
|
|
651
|
-
readonly prevDecaySpeed: ToField<"u64">;
|
|
652
|
-
readonly prevInitialPrice: ToField<"u64">;
|
|
653
|
-
readonly prevFinalPrice: ToField<"u64">;
|
|
654
|
-
readonly prevFeeBp: ToField<"u64">;
|
|
655
|
-
readonly prevIncentiveBp: ToField<"u64">;
|
|
656
|
-
readonly prevTokenDecimal: ToField<"u64">;
|
|
657
|
-
readonly prevSizeDecimal: ToField<"u64">;
|
|
658
|
-
readonly prevAbleToRemoveBid: ToField<"bool">;
|
|
659
|
-
readonly startTsMs: ToField<"u64">;
|
|
660
|
-
readonly endTsMs: ToField<"u64">;
|
|
661
|
-
readonly decaySpeed: ToField<"u64">;
|
|
662
|
-
readonly initialPrice: ToField<"u64">;
|
|
663
|
-
readonly finalPrice: ToField<"u64">;
|
|
664
|
-
readonly feeBp: ToField<"u64">;
|
|
665
|
-
readonly incentiveBp: ToField<"u64">;
|
|
666
|
-
readonly tokenDecimal: ToField<"u64">;
|
|
667
|
-
readonly sizeDecimal: ToField<"u64">;
|
|
668
|
-
readonly ableToRemoveBid: ToField<"bool">;
|
|
669
|
-
private constructor();
|
|
670
|
-
static reified(): UpdateAuctionConfigReified;
|
|
671
|
-
static get r(): reified.StructClassReified<UpdateAuctionConfig, UpdateAuctionConfigFields>;
|
|
672
|
-
static phantom(): PhantomReified<ToTypeStr<UpdateAuctionConfig>>;
|
|
673
|
-
static get p(): reified.PhantomReified<"0xb4f25230ba74837d8299e92951306100c4a532e8c48cc3d8828abe9b91c8b274::dutch::UpdateAuctionConfig">;
|
|
674
|
-
static get bcs(): import("@mysten/sui/bcs").BcsStruct<{
|
|
675
|
-
signer: import("@mysten/sui/bcs").BcsType<string, string, string>;
|
|
676
|
-
index: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
677
|
-
prev_start_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
678
|
-
prev_end_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
679
|
-
prev_decay_speed: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
680
|
-
prev_initial_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
681
|
-
prev_final_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
682
|
-
prev_fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
683
|
-
prev_incentive_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
684
|
-
prev_token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
685
|
-
prev_size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
686
|
-
prev_able_to_remove_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
687
|
-
start_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
688
|
-
end_ts_ms: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
689
|
-
decay_speed: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
690
|
-
initial_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
691
|
-
final_price: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
692
|
-
fee_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
693
|
-
incentive_bp: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
694
|
-
token_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
695
|
-
size_decimal: import("@mysten/sui/bcs").BcsType<string, string | number | bigint, "u64">;
|
|
696
|
-
able_to_remove_bid: import("@mysten/sui/bcs").BcsType<boolean, boolean, "bool">;
|
|
697
|
-
}, string>;
|
|
698
|
-
static fromFields(fields: Record<string, any>): UpdateAuctionConfig;
|
|
699
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateAuctionConfig;
|
|
700
|
-
static fromBcs(data: Uint8Array): UpdateAuctionConfig;
|
|
701
|
-
toJSONField(): {
|
|
702
|
-
signer: string;
|
|
703
|
-
index: string;
|
|
704
|
-
prevStartTsMs: string;
|
|
705
|
-
prevEndTsMs: string;
|
|
706
|
-
prevDecaySpeed: string;
|
|
707
|
-
prevInitialPrice: string;
|
|
708
|
-
prevFinalPrice: string;
|
|
709
|
-
prevFeeBp: string;
|
|
710
|
-
prevIncentiveBp: string;
|
|
711
|
-
prevTokenDecimal: string;
|
|
712
|
-
prevSizeDecimal: string;
|
|
713
|
-
prevAbleToRemoveBid: boolean;
|
|
714
|
-
startTsMs: string;
|
|
715
|
-
endTsMs: string;
|
|
716
|
-
decaySpeed: string;
|
|
717
|
-
initialPrice: string;
|
|
718
|
-
finalPrice: string;
|
|
719
|
-
feeBp: string;
|
|
720
|
-
incentiveBp: string;
|
|
721
|
-
tokenDecimal: string;
|
|
722
|
-
sizeDecimal: string;
|
|
723
|
-
ableToRemoveBid: boolean;
|
|
724
|
-
};
|
|
725
|
-
toJSON(): {
|
|
726
|
-
signer: string;
|
|
727
|
-
index: string;
|
|
728
|
-
prevStartTsMs: string;
|
|
729
|
-
prevEndTsMs: string;
|
|
730
|
-
prevDecaySpeed: string;
|
|
731
|
-
prevInitialPrice: string;
|
|
732
|
-
prevFinalPrice: string;
|
|
733
|
-
prevFeeBp: string;
|
|
734
|
-
prevIncentiveBp: string;
|
|
735
|
-
prevTokenDecimal: string;
|
|
736
|
-
prevSizeDecimal: string;
|
|
737
|
-
prevAbleToRemoveBid: boolean;
|
|
738
|
-
startTsMs: string;
|
|
739
|
-
endTsMs: string;
|
|
740
|
-
decaySpeed: string;
|
|
741
|
-
initialPrice: string;
|
|
742
|
-
finalPrice: string;
|
|
743
|
-
feeBp: string;
|
|
744
|
-
incentiveBp: string;
|
|
745
|
-
tokenDecimal: string;
|
|
746
|
-
sizeDecimal: string;
|
|
747
|
-
ableToRemoveBid: boolean;
|
|
748
|
-
$typeName: string;
|
|
749
|
-
$typeArgs: [];
|
|
750
|
-
};
|
|
751
|
-
static fromJSONField(field: any): UpdateAuctionConfig;
|
|
752
|
-
static fromJSON(json: Record<string, any>): UpdateAuctionConfig;
|
|
753
|
-
static fromSuiParsedData(content: SuiParsedData): UpdateAuctionConfig;
|
|
754
|
-
static fromSuiObjectData(data: SuiObjectData): UpdateAuctionConfig;
|
|
755
|
-
static fetch(client: SuiClient, id: string): Promise<UpdateAuctionConfig>;
|
|
756
|
-
}
|