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