@typus/typus-sdk 1.2.70 → 1.2.72
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/lib/config.json +4 -2
- package/lib/utils/_dependencies/source/0x1/ascii/structs.d.ts +82 -0
- package/lib/utils/_dependencies/source/0x1/ascii/structs.js +352 -0
- package/lib/utils/_dependencies/source/0x1/bit-vector/structs.d.ts +50 -0
- package/lib/utils/_dependencies/source/0x1/bit-vector/structs.js +239 -0
- package/lib/utils/_dependencies/source/0x1/fixed-point32/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0x1/fixed-point32/structs.js +203 -0
- package/lib/utils/_dependencies/source/0x1/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x1/index.js +5 -0
- package/lib/utils/_dependencies/source/0x1/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x1/init.js +42 -0
- package/lib/utils/_dependencies/source/0x1/option/structs.d.ts +46 -0
- package/lib/utils/_dependencies/source/0x1/option/structs.js +233 -0
- package/lib/utils/_dependencies/source/0x1/string/structs.d.ts +44 -0
- package/lib/utils/_dependencies/source/0x1/string/structs.js +227 -0
- package/lib/utils/_dependencies/source/0x1/type-name/structs.d.ts +48 -0
- package/lib/utils/_dependencies/source/0x1/type-name/structs.js +204 -0
- package/lib/utils/_dependencies/source/0x123/discount-mint/structs.d.ts +552 -0
- package/lib/utils/_dependencies/source/0x123/discount-mint/structs.js +1068 -0
- package/lib/utils/_dependencies/source/0x123/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x123/index.js +5 -0
- package/lib/utils/_dependencies/source/0x123/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x123/init.js +61 -0
- package/lib/utils/_dependencies/source/0x123/royalty-rule/structs.d.ts +85 -0
- package/lib/utils/_dependencies/source/0x123/royalty-rule/structs.js +340 -0
- package/lib/utils/_dependencies/source/0x123/staking/structs.d.ts +433 -0
- package/lib/utils/_dependencies/source/0x123/staking/structs.js +784 -0
- package/lib/utils/_dependencies/source/0x123/table-vec/structs.d.ts +63 -0
- package/lib/utils/_dependencies/source/0x123/table-vec/structs.js +236 -0
- package/lib/utils/_dependencies/source/0x123/typus-nft/structs.d.ts +1006 -0
- package/lib/utils/_dependencies/source/0x123/typus-nft/structs.js +1994 -0
- package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/index.js +5 -0
- package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/init.js +38 -0
- package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/whitelist/structs.d.ts +340 -0
- package/lib/utils/_dependencies/source/0x1318fdc90319ec9c24df1456d960a447521b0a658316155895014a6e39b5482f/whitelist/structs.js +1103 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/index.js +5 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/init.js +40 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-feed/structs.d.ts +47 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-feed/structs.js +215 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-update-policy/structs.d.ts +212 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/price-update-policy/structs.js +525 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/x-oracle/structs.d.ts +471 -0
- package/lib/utils/_dependencies/source/0x1478a432123e4b3d61878b629f2c692969fdb375644f1251cd278a4b1e7d7cd6/x-oracle/structs.js +669 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/airdrop/structs.d.ts +463 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/airdrop/structs.js +961 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/big-vector/structs.d.ts +137 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/big-vector/structs.js +401 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/critbit/structs.d.ts +226 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/critbit/structs.js +572 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/ecosystem/structs.d.ts +383 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/ecosystem/structs.js +802 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/index.js +5 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/init.js +72 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/leaderboard/structs.d.ts +591 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/leaderboard/structs.js +1156 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-object-table/structs.d.ts +152 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-object-table/structs.js +380 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-set/structs.d.ts +138 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/linked-set/structs.js +376 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/tgld/structs.d.ts +261 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/tgld/structs.js +653 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/user/structs.d.ts +194 -0
- package/lib/utils/_dependencies/source/0x17117e8e181c236a3d1706f8a60486676cc9a5c82dc58d132a2f8270598271d/user/structs.js +509 -0
- package/lib/utils/_dependencies/source/0x2/authenticator-state/structs.d.ts +442 -0
- package/lib/utils/_dependencies/source/0x2/authenticator-state/structs.js +807 -0
- package/lib/utils/_dependencies/source/0x2/bag/structs.d.ts +56 -0
- package/lib/utils/_dependencies/source/0x2/bag/structs.js +210 -0
- package/lib/utils/_dependencies/source/0x2/balance/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0x2/balance/structs.js +332 -0
- package/lib/utils/_dependencies/source/0x2/bcs/structs.d.ts +44 -0
- package/lib/utils/_dependencies/source/0x2/bcs/structs.js +227 -0
- package/lib/utils/_dependencies/source/0x2/bls12381/structs.d.ts +155 -0
- package/lib/utils/_dependencies/source/0x2/bls12381/structs.js +578 -0
- package/lib/utils/_dependencies/source/0x2/borrow/structs.d.ts +104 -0
- package/lib/utils/_dependencies/source/0x2/borrow/structs.js +353 -0
- package/lib/utils/_dependencies/source/0x2/clock/structs.d.ts +56 -0
- package/lib/utils/_dependencies/source/0x2/clock/structs.js +216 -0
- package/lib/utils/_dependencies/source/0x2/coin/structs.d.ts +379 -0
- package/lib/utils/_dependencies/source/0x2/coin/structs.js +924 -0
- package/lib/utils/_dependencies/source/0x2/deny-list/structs.d.ts +178 -0
- package/lib/utils/_dependencies/source/0x2/deny-list/structs.js +386 -0
- package/lib/utils/_dependencies/source/0x2/display/structs.d.ts +228 -0
- package/lib/utils/_dependencies/source/0x2/display/structs.js +498 -0
- package/lib/utils/_dependencies/source/0x2/dynamic-field/structs.d.ts +63 -0
- package/lib/utils/_dependencies/source/0x2/dynamic-field/structs.js +226 -0
- package/lib/utils/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +42 -0
- package/lib/utils/_dependencies/source/0x2/dynamic-object-field/structs.js +208 -0
- package/lib/utils/_dependencies/source/0x2/groth16/structs.d.ts +186 -0
- package/lib/utils/_dependencies/source/0x2/groth16/structs.js +626 -0
- package/lib/utils/_dependencies/source/0x2/group-ops/structs.d.ts +44 -0
- package/lib/utils/_dependencies/source/0x2/group-ops/structs.js +229 -0
- package/lib/utils/_dependencies/source/0x2/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x2/index.js +5 -0
- package/lib/utils/_dependencies/source/0x2/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x2/init.js +151 -0
- package/lib/utils/_dependencies/source/0x2/kiosk/structs.d.ts +565 -0
- package/lib/utils/_dependencies/source/0x2/kiosk/structs.js +1501 -0
- package/lib/utils/_dependencies/source/0x2/kiosk-extension/structs.d.ts +112 -0
- package/lib/utils/_dependencies/source/0x2/kiosk-extension/structs.js +349 -0
- package/lib/utils/_dependencies/source/0x2/linked-table/structs.d.ts +144 -0
- package/lib/utils/_dependencies/source/0x2/linked-table/structs.js +380 -0
- package/lib/utils/_dependencies/source/0x2/object/structs.d.ts +83 -0
- package/lib/utils/_dependencies/source/0x2/object/structs.js +328 -0
- package/lib/utils/_dependencies/source/0x2/object-bag/structs.d.ts +56 -0
- package/lib/utils/_dependencies/source/0x2/object-bag/structs.js +210 -0
- package/lib/utils/_dependencies/source/0x2/object-table/structs.d.ts +56 -0
- package/lib/utils/_dependencies/source/0x2/object-table/structs.js +218 -0
- package/lib/utils/_dependencies/source/0x2/package/structs.d.ts +262 -0
- package/lib/utils/_dependencies/source/0x2/package/structs.js +682 -0
- package/lib/utils/_dependencies/source/0x2/priority-queue/structs.d.ts +101 -0
- package/lib/utils/_dependencies/source/0x2/priority-queue/structs.js +376 -0
- package/lib/utils/_dependencies/source/0x2/random/structs.d.ts +190 -0
- package/lib/utils/_dependencies/source/0x2/random/structs.js +533 -0
- package/lib/utils/_dependencies/source/0x2/sui/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0x2/sui/structs.js +203 -0
- package/lib/utils/_dependencies/source/0x2/table/structs.d.ts +56 -0
- package/lib/utils/_dependencies/source/0x2/table/structs.js +218 -0
- package/lib/utils/_dependencies/source/0x2/table-vec/structs.d.ts +63 -0
- package/lib/utils/_dependencies/source/0x2/table-vec/structs.js +236 -0
- package/lib/utils/_dependencies/source/0x2/token/structs.d.ts +424 -0
- package/lib/utils/_dependencies/source/0x2/token/structs.js +937 -0
- package/lib/utils/_dependencies/source/0x2/transfer/structs.d.ts +52 -0
- package/lib/utils/_dependencies/source/0x2/transfer/structs.js +218 -0
- package/lib/utils/_dependencies/source/0x2/transfer-policy/structs.d.ts +345 -0
- package/lib/utils/_dependencies/source/0x2/transfer-policy/structs.js +923 -0
- package/lib/utils/_dependencies/source/0x2/tx-context/structs.d.ts +68 -0
- package/lib/utils/_dependencies/source/0x2/tx-context/structs.js +257 -0
- package/lib/utils/_dependencies/source/0x2/url/structs.d.ts +48 -0
- package/lib/utils/_dependencies/source/0x2/url/structs.js +204 -0
- package/lib/utils/_dependencies/source/0x2/vec-map/structs.d.ts +101 -0
- package/lib/utils/_dependencies/source/0x2/vec-map/structs.js +378 -0
- package/lib/utils/_dependencies/source/0x2/vec-set/structs.d.ts +45 -0
- package/lib/utils/_dependencies/source/0x2/vec-set/structs.js +232 -0
- package/lib/utils/_dependencies/source/0x2/versioned/structs.d.ts +104 -0
- package/lib/utils/_dependencies/source/0x2/versioned/structs.js +353 -0
- package/lib/utils/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +105 -0
- package/lib/utils/_dependencies/source/0x2/zklogin-verified-id/structs.js +241 -0
- package/lib/utils/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +69 -0
- package/lib/utils/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +223 -0
- package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +5 -0
- package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +31 -0
- package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +50 -0
- package/lib/utils/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +204 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +5 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +34 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +203 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +112 -0
- package/lib/utils/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +359 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/auto-bid/structs.d.ts +1404 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/auto-bid/structs.js +2581 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/index.js +5 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/init.js +131 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tails-staking/structs.d.ts +1201 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tails-staking/structs.js +2527 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-authorized-entry/structs.d.ts +1622 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-authorized-entry/structs.js +2192 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-fee-pool-entry/structs.d.ts +395 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-fee-pool-entry/structs.js +1094 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-registry-authorized-entry/structs.d.ts +994 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-registry-authorized-entry/structs.js +1358 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-view-function/structs.d.ts +77 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/tds-view-function/structs.js +245 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/typus-dov-single/structs.d.ts +4338 -0
- package/lib/utils/_dependencies/source/0x6cddbfa30141e0332f8995a12453fc2cb07a2fa3dad52b342493780c7784f455/typus-dov-single/structs.js +5821 -0
- package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +5 -0
- package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +5 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ac-table/structs.d.ts +218 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ac-table/structs.js +524 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/balance-bag/structs.d.ts +77 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/balance-bag/structs.js +217 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/index.js +5 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/init.js +46 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/one-time-lock-value/structs.d.ts +69 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/one-time-lock-value/structs.js +233 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ownership/structs.d.ts +60 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/ownership/structs.js +218 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/supply-bag/structs.d.ts +77 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/supply-bag/structs.js +217 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/wit-table/structs.d.ts +103 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/wit-table/structs.js +259 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/witness/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162/witness/structs.js +332 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/index.js +5 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/init.js +40 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/oracle/structs.d.ts +277 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/oracle/structs.js +553 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/pyth-parser/structs.d.ts +102 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/pyth-parser/structs.js +353 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/supra/structs.d.ts +65 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/supra/structs.js +233 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/switchboard-feed-parser/structs.d.ts +65 -0
- package/lib/utils/_dependencies/source/0x855eb2d260ee42b898266e6df90bfd3c4ed821ccb253a352c159c223244a4b8a/switchboard-feed-parser/structs.js +233 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +83 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +192 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +333 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +382 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +68 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +176 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +843 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +959 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +167 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +5 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +80 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +146 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +274 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.d.ts +2272 -0
- package/lib/utils/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +4465 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +719 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +1107 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +5 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +44 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +81 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +258 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +53 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +221 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +115 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +294 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +50 -0
- package/lib/utils/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +204 -0
- package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/index.js +5 -0
- package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0x9c564002970ce40370b0c1a8328d2e91924dab43ca2cb483af67aaf0f7cbe44e/init.js +5 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/authority/structs.d.ts +83 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/authority/structs.js +234 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/balance-pool/structs.d.ts +333 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/balance-pool/structs.js +528 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/big-vector/structs.d.ts +68 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/big-vector/structs.js +230 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/dutch/structs.d.ts +843 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/dutch/structs.js +1573 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/i64/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/i64/structs.js +203 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/index.js +5 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/init.js +80 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/linked-list/structs.d.ts +146 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/linked-list/structs.js +386 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/vault/structs.d.ts +2272 -0
- package/lib/utils/_dependencies/source/0xa2de2f04907b77ef03800a8969bb4f88c821737ee133aba4bc0485b267ad2118/vault/structs.js +4465 -0
- package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/index.js +5 -0
- package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xad013d5fde39e15eabda32b3dbdafd67dac32b798ce63237c27a8f73339b9b6f/init.js +5 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +5 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +37 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +328 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +85 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +340 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +205 -0
- package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/coin-decimals-registry/structs.d.ts +174 -0
- package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/coin-decimals-registry/structs.js +511 -0
- package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/index.js +5 -0
- package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xca5a5a62f01c79a104bf4d31669e29daa387f325c241de4edbe30986a9bc8b0d/init.js +33 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.d.ts +44 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.js +227 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.d.ts +44 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.js +227 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.d.ts +72 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.js +231 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.d.ts +45 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.js +232 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.d.ts +140 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.js +466 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.d.ts +52 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.js +204 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.d.ts +58 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.js +241 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.d.ts +158 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.js +406 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.d.ts +52 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.js +204 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.d.ts +75 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.js +246 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.d.ts +80 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.js +228 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.js +5 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.js +91 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.d.ts +46 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.js +204 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.d.ts +177 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.js +592 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.d.ts +141 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.js +413 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.d.ts +101 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.js +361 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.js +328 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.d.ts +50 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.js +204 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.d.ts +269 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.js +413 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.d.ts +85 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.js +340 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.d.ts +145 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.js +490 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.d.ts +143 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.js +467 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.d.ts +122 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.js +283 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.js +328 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.d.ts +279 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.js +407 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.d.ts +105 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.js +342 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.d.ts +66 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.js +216 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.d.ts +200 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.js +341 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.d.ts +67 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.js +246 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.js +203 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.d.ts +71 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.js +252 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.d.ts +45 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.js +232 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.d.ts +47 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.js +215 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.js +5 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.js +85 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.d.ts +46 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.js +204 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.d.ts +84 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.js +228 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.d.ts +153 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.js +223 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.d.ts +44 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.js +227 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.d.ts +351 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.js +360 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.js +203 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.d.ts +110 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.js +370 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.d.ts +75 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.js +228 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.js +203 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.d.ts +72 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.js +222 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.d.ts +41 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.js +203 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.d.ts +47 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.js +215 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.d.ts +50 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.js +204 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.d.ts +269 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.js +507 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.js +328 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/admin/structs.d.ts +215 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/admin/structs.js +533 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/index.js +5 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/init.js +44 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/rewards-pool/structs.d.ts +93 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/rewards-pool/structs.js +243 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool/structs.d.ts +125 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool/structs.js +271 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool-account/structs.d.ts +114 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/spool-account/structs.js +250 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/user/structs.d.ts +413 -0
- package/lib/utils/_dependencies/source/0xe87f1b2d498106a2c61421cec75b7b5c5e348512b0dc263949a0e7a3c256571a/user/structs.js +754 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/app/structs.d.ts +210 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/app/structs.js +392 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/asset-active-state/structs.d.ts +250 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/asset-active-state/structs.js +491 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow/structs.d.ts +85 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow/structs.js +235 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow-dynamics/structs.d.ts +106 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/borrow-dynamics/structs.js +353 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/collateral-stats/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/collateral-stats/structs.js +328 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/deposit-collateral/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/deposit-collateral/structs.js +229 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/flash-loan/structs.d.ts +132 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/flash-loan/structs.js +365 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/incentive-rewards/structs.d.ts +109 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/incentive-rewards/structs.js +342 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/index.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/index.js +5 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/init.d.ts +2 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/init.js +114 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/interest-model/structs.d.ts +571 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/interest-model/structs.js +682 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/limiter/structs.d.ts +591 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/limiter/structs.js +1360 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/liquidate/structs.d.ts +111 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/liquidate/structs.js +247 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/lock-obligation/structs.d.ts +67 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/lock-obligation/structs.js +217 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/market/structs.d.ts +854 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/market/structs.js +293 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/mint/structs.d.ts +100 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/mint/structs.js +240 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation/structs.d.ts +628 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation/structs.js +1010 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-access/structs.d.ts +92 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-access/structs.js +224 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-collaterals/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-collaterals/structs.js +328 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-debts/structs.d.ts +85 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/obligation-debts/structs.js +340 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/open-obligation/structs.d.ts +104 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/open-obligation/structs.js +347 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/redeem/structs.d.ts +100 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/redeem/structs.js +240 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/repay/structs.d.ts +85 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/repay/structs.js +235 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/reserve/structs.d.ts +497 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/reserve/structs.js +927 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/risk-model/structs.d.ts +443 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/risk-model/structs.js +658 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/version/structs.d.ts +102 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/version/structs.js +335 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/withdraw-collateral/structs.d.ts +79 -0
- package/lib/utils/_dependencies/source/0xefe8b36d5b2e43728cc323298626b83177803521d195cfb11e15b910e892fddf/withdraw-collateral/structs.js +229 -0
- package/lib/utils/_framework/init-source.d.ts +1 -0
- package/lib/utils/_framework/init-source.js +81 -0
- package/lib/utils/_framework/loader.d.ts +17 -0
- package/lib/utils/_framework/loader.js +99 -0
- package/lib/utils/_framework/reified.d.ts +100 -0
- package/lib/utils/_framework/reified.js +263 -0
- package/lib/utils/_framework/util.d.ts +53 -0
- package/lib/utils/_framework/util.js +252 -0
- package/lib/utils/api/sentio/reward-generated.d.ts +1 -0
- package/lib/utils/api/sentio/reward-generated.js +54 -1
- package/lib/utils/locked-period-vault/index.d.ts +3 -0
- package/lib/utils/locked-period-vault/index.js +6 -0
- package/lib/utils/locked-period-vault/init.d.ts +2 -0
- package/lib/utils/locked-period-vault/init.js +44 -0
- package/lib/utils/locked-period-vault/locked-period-vault/functions.d.ts +137 -0
- package/lib/utils/locked-period-vault/locked-period-vault/functions.js +264 -0
- package/lib/utils/locked-period-vault/locked-period-vault/structs.d.ts +1236 -0
- package/lib/utils/locked-period-vault/locked-period-vault/structs.js +2400 -0
- package/lib/utils/typus-dov-single-v2/user-history.js +15 -2
- package/lib/utils/typus_perp/admin/functions.d.ts +18 -0
- package/lib/utils/typus_perp/admin/functions.js +43 -0
- package/lib/utils/typus_perp/admin/structs.d.ts +371 -0
- package/lib/utils/typus_perp/admin/structs.js +796 -0
- package/lib/utils/typus_perp/critbit/functions.d.ts +101 -0
- package/lib/utils/typus_perp/critbit/functions.js +186 -0
- package/lib/utils/typus_perp/critbit/structs.d.ts +226 -0
- package/lib/utils/typus_perp/critbit/structs.js +572 -0
- package/lib/utils/typus_perp/index.d.ts +2 -0
- package/lib/utils/typus_perp/index.js +5 -0
- package/lib/utils/typus_perp/init.d.ts +2 -0
- package/lib/utils/typus_perp/init.js +121 -0
- package/lib/utils/typus_perp/lp-pool/functions.d.ts +231 -0
- package/lib/utils/typus_perp/lp-pool/functions.js +346 -0
- package/lib/utils/typus_perp/lp-pool/structs.d.ts +2232 -0
- package/lib/utils/typus_perp/lp-pool/structs.js +3300 -0
- package/lib/utils/typus_perp/math/functions.d.ts +16 -0
- package/lib/utils/typus_perp/math/functions.js +33 -0
- package/lib/utils/typus_perp/oracle/functions.d.ts +14 -0
- package/lib/utils/typus_perp/oracle/functions.js +23 -0
- package/lib/utils/typus_perp/oracle/structs.d.ts +102 -0
- package/lib/utils/typus_perp/oracle/structs.js +353 -0
- package/lib/utils/typus_perp/position/functions.d.ts +189 -0
- package/lib/utils/typus_perp/position/functions.js +307 -0
- package/lib/utils/typus_perp/position/structs.d.ts +588 -0
- package/lib/utils/typus_perp/position/structs.js +763 -0
- package/lib/utils/typus_perp/stake-pool/functions.d.ts +180 -0
- package/lib/utils/typus_perp/stake-pool/functions.js +276 -0
- package/lib/utils/typus_perp/stake-pool/structs.d.ts +2089 -0
- package/lib/utils/typus_perp/stake-pool/structs.js +3539 -0
- package/lib/utils/typus_perp/symbol/functions.d.ts +10 -0
- package/lib/utils/typus_perp/symbol/functions.js +21 -0
- package/lib/utils/typus_perp/symbol/structs.d.ts +76 -0
- package/lib/utils/typus_perp/symbol/structs.js +216 -0
- package/lib/utils/typus_perp/tlp/functions.d.ts +20 -0
- package/lib/utils/typus_perp/tlp/functions.js +36 -0
- package/lib/utils/typus_perp/tlp/structs.d.ts +88 -0
- package/lib/utils/typus_perp/tlp/structs.js +329 -0
- package/lib/utils/typus_perp/token-interface/functions.d.ts +12 -0
- package/lib/utils/typus_perp/token-interface/functions.js +21 -0
- package/lib/utils/typus_perp/trading/functions.d.ts +234 -0
- package/lib/utils/typus_perp/trading/functions.js +329 -0
- package/lib/utils/typus_perp/trading/structs.d.ts +2305 -0
- package/lib/utils/typus_perp/trading/structs.js +3792 -0
- package/lib/utils/typus_perp/treasury-caps/functions.d.ts +10 -0
- package/lib/utils/typus_perp/treasury-caps/functions.js +33 -0
- package/lib/utils/typus_perp/treasury-caps/structs.d.ts +50 -0
- package/lib/utils/typus_perp/treasury-caps/structs.js +204 -0
- package/lib/utils/typus_perp/utils/functions.d.ts +24 -0
- package/lib/utils/typus_perp/utils/functions.js +41 -0
- package/package.json +2 -2
- package/lib/utils/locked-period-vault/user-entry.d.ts +0 -81
- package/lib/utils/locked-period-vault/user-entry.js +0 -101
|
@@ -0,0 +1,2305 @@
|
|
|
1
|
+
import * as reified from "../../_framework/reified";
|
|
2
|
+
import { Option } from "../../_dependencies/source/0x1/option/structs";
|
|
3
|
+
import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
|
|
4
|
+
import { ObjectTable } from "../../_dependencies/source/0x2/object-table/structs";
|
|
5
|
+
import { UID } from "../../_dependencies/source/0x2/object/structs";
|
|
6
|
+
import { Table } from "../../_dependencies/source/0x2/table/structs";
|
|
7
|
+
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr, Vector, ToTypeStr as ToPhantom } from "../../_framework/reified";
|
|
8
|
+
import { FieldsWithTypes } from "../../_framework/util";
|
|
9
|
+
import { SuiClient, SuiParsedData } from "@mysten/sui.js/client";
|
|
10
|
+
export declare function isAddTradingSymbolEvent(type: string): boolean;
|
|
11
|
+
export interface AddTradingSymbolEventFields {
|
|
12
|
+
sender: ToField<"address">;
|
|
13
|
+
index: ToField<"u64">;
|
|
14
|
+
baseTokenType: ToField<TypeName>;
|
|
15
|
+
marketInfo: ToField<MarketInfo>;
|
|
16
|
+
marketConfig: ToField<MarketConfig>;
|
|
17
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
18
|
+
}
|
|
19
|
+
export type AddTradingSymbolEventReified = Reified<AddTradingSymbolEvent, AddTradingSymbolEventFields>;
|
|
20
|
+
export declare class AddTradingSymbolEvent implements StructClass {
|
|
21
|
+
static readonly $typeName = "0x0::trading::AddTradingSymbolEvent";
|
|
22
|
+
static readonly $numTypeParams = 0;
|
|
23
|
+
readonly $typeName = "0x0::trading::AddTradingSymbolEvent";
|
|
24
|
+
readonly $fullTypeName: "0x0::trading::AddTradingSymbolEvent";
|
|
25
|
+
readonly $typeArgs: [];
|
|
26
|
+
readonly sender: ToField<"address">;
|
|
27
|
+
readonly index: ToField<"u64">;
|
|
28
|
+
readonly baseTokenType: ToField<TypeName>;
|
|
29
|
+
readonly marketInfo: ToField<MarketInfo>;
|
|
30
|
+
readonly marketConfig: ToField<MarketConfig>;
|
|
31
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
32
|
+
private constructor();
|
|
33
|
+
static reified(): AddTradingSymbolEventReified;
|
|
34
|
+
static get r(): reified.StructClassReified<AddTradingSymbolEvent, AddTradingSymbolEventFields>;
|
|
35
|
+
static phantom(): PhantomReified<ToTypeStr<AddTradingSymbolEvent>>;
|
|
36
|
+
static get p(): reified.PhantomReified<"0x0::trading::AddTradingSymbolEvent">;
|
|
37
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
38
|
+
sender: string;
|
|
39
|
+
index: string;
|
|
40
|
+
base_token_type: {
|
|
41
|
+
name: {
|
|
42
|
+
bytes: number[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
market_info: {
|
|
46
|
+
is_active: boolean;
|
|
47
|
+
size_decimal: string;
|
|
48
|
+
user_position_side: boolean;
|
|
49
|
+
position_size: string;
|
|
50
|
+
next_position_id: string;
|
|
51
|
+
open_order_side: boolean;
|
|
52
|
+
open_order_size: string;
|
|
53
|
+
next_order_id: string;
|
|
54
|
+
u64_padding: string[];
|
|
55
|
+
};
|
|
56
|
+
market_config: {
|
|
57
|
+
oracle_id: string;
|
|
58
|
+
max_leverage_pct: string;
|
|
59
|
+
min_size: string;
|
|
60
|
+
lot_size: string;
|
|
61
|
+
trading_fee_rate: string;
|
|
62
|
+
trading_fee_decimal: string;
|
|
63
|
+
u64_padding: string[];
|
|
64
|
+
};
|
|
65
|
+
u64_padding: string[];
|
|
66
|
+
}, {
|
|
67
|
+
sender: string;
|
|
68
|
+
index: string | number | bigint;
|
|
69
|
+
base_token_type: {
|
|
70
|
+
name: {
|
|
71
|
+
bytes: Iterable<number> & {
|
|
72
|
+
length: number;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
market_info: {
|
|
77
|
+
is_active: boolean;
|
|
78
|
+
size_decimal: string | number | bigint;
|
|
79
|
+
user_position_side: boolean;
|
|
80
|
+
position_size: string | number | bigint;
|
|
81
|
+
next_position_id: string | number | bigint;
|
|
82
|
+
open_order_side: boolean;
|
|
83
|
+
open_order_size: string | number | bigint;
|
|
84
|
+
next_order_id: string | number | bigint;
|
|
85
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
86
|
+
length: number;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
market_config: {
|
|
90
|
+
oracle_id: string;
|
|
91
|
+
max_leverage_pct: string | number | bigint;
|
|
92
|
+
min_size: string | number | bigint;
|
|
93
|
+
lot_size: string | number | bigint;
|
|
94
|
+
trading_fee_rate: string | number | bigint;
|
|
95
|
+
trading_fee_decimal: string | number | bigint;
|
|
96
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
97
|
+
length: number;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
101
|
+
length: number;
|
|
102
|
+
};
|
|
103
|
+
}>;
|
|
104
|
+
static fromFields(fields: Record<string, any>): AddTradingSymbolEvent;
|
|
105
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): AddTradingSymbolEvent;
|
|
106
|
+
static fromBcs(data: Uint8Array): AddTradingSymbolEvent;
|
|
107
|
+
toJSONField(): {
|
|
108
|
+
sender: string;
|
|
109
|
+
index: string;
|
|
110
|
+
baseTokenType: {
|
|
111
|
+
name: string;
|
|
112
|
+
};
|
|
113
|
+
marketInfo: {
|
|
114
|
+
isActive: boolean;
|
|
115
|
+
sizeDecimal: string;
|
|
116
|
+
userPositionSide: boolean;
|
|
117
|
+
positionSize: string;
|
|
118
|
+
nextPositionId: string;
|
|
119
|
+
openOrderSide: boolean;
|
|
120
|
+
openOrderSize: string;
|
|
121
|
+
nextOrderId: string;
|
|
122
|
+
u64Padding: string[];
|
|
123
|
+
};
|
|
124
|
+
marketConfig: {
|
|
125
|
+
oracleId: string;
|
|
126
|
+
maxLeveragePct: string;
|
|
127
|
+
minSize: string;
|
|
128
|
+
lotSize: string;
|
|
129
|
+
tradingFeeRate: string;
|
|
130
|
+
tradingFeeDecimal: string;
|
|
131
|
+
u64Padding: string[];
|
|
132
|
+
};
|
|
133
|
+
u64Padding: string[];
|
|
134
|
+
};
|
|
135
|
+
toJSON(): {
|
|
136
|
+
sender: string;
|
|
137
|
+
index: string;
|
|
138
|
+
baseTokenType: {
|
|
139
|
+
name: string;
|
|
140
|
+
};
|
|
141
|
+
marketInfo: {
|
|
142
|
+
isActive: boolean;
|
|
143
|
+
sizeDecimal: string;
|
|
144
|
+
userPositionSide: boolean;
|
|
145
|
+
positionSize: string;
|
|
146
|
+
nextPositionId: string;
|
|
147
|
+
openOrderSide: boolean;
|
|
148
|
+
openOrderSize: string;
|
|
149
|
+
nextOrderId: string;
|
|
150
|
+
u64Padding: string[];
|
|
151
|
+
};
|
|
152
|
+
marketConfig: {
|
|
153
|
+
oracleId: string;
|
|
154
|
+
maxLeveragePct: string;
|
|
155
|
+
minSize: string;
|
|
156
|
+
lotSize: string;
|
|
157
|
+
tradingFeeRate: string;
|
|
158
|
+
tradingFeeDecimal: string;
|
|
159
|
+
u64Padding: string[];
|
|
160
|
+
};
|
|
161
|
+
u64Padding: string[];
|
|
162
|
+
$typeName: string;
|
|
163
|
+
$typeArgs: [];
|
|
164
|
+
};
|
|
165
|
+
static fromJSONField(field: any): AddTradingSymbolEvent;
|
|
166
|
+
static fromJSON(json: Record<string, any>): AddTradingSymbolEvent;
|
|
167
|
+
static fromSuiParsedData(content: SuiParsedData): AddTradingSymbolEvent;
|
|
168
|
+
static fetch(client: SuiClient, id: string): Promise<AddTradingSymbolEvent>;
|
|
169
|
+
}
|
|
170
|
+
export declare function isCancelTradingOrderEvent(type: string): boolean;
|
|
171
|
+
export interface CancelTradingOrderEventFields {
|
|
172
|
+
sender: ToField<"address">;
|
|
173
|
+
marketIndex: ToField<"u64">;
|
|
174
|
+
orderId: ToField<"u64">;
|
|
175
|
+
triggerPrice: ToField<Option<"u64">>;
|
|
176
|
+
collateralToken: ToField<TypeName>;
|
|
177
|
+
baseToken: ToField<TypeName>;
|
|
178
|
+
releasedCollateralAmount: ToField<"u64">;
|
|
179
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
180
|
+
}
|
|
181
|
+
export type CancelTradingOrderEventReified = Reified<CancelTradingOrderEvent, CancelTradingOrderEventFields>;
|
|
182
|
+
export declare class CancelTradingOrderEvent implements StructClass {
|
|
183
|
+
static readonly $typeName = "0x0::trading::CancelTradingOrderEvent";
|
|
184
|
+
static readonly $numTypeParams = 0;
|
|
185
|
+
readonly $typeName = "0x0::trading::CancelTradingOrderEvent";
|
|
186
|
+
readonly $fullTypeName: "0x0::trading::CancelTradingOrderEvent";
|
|
187
|
+
readonly $typeArgs: [];
|
|
188
|
+
readonly sender: ToField<"address">;
|
|
189
|
+
readonly marketIndex: ToField<"u64">;
|
|
190
|
+
readonly orderId: ToField<"u64">;
|
|
191
|
+
readonly triggerPrice: ToField<Option<"u64">>;
|
|
192
|
+
readonly collateralToken: ToField<TypeName>;
|
|
193
|
+
readonly baseToken: ToField<TypeName>;
|
|
194
|
+
readonly releasedCollateralAmount: ToField<"u64">;
|
|
195
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
196
|
+
private constructor();
|
|
197
|
+
static reified(): CancelTradingOrderEventReified;
|
|
198
|
+
static get r(): reified.StructClassReified<CancelTradingOrderEvent, CancelTradingOrderEventFields>;
|
|
199
|
+
static phantom(): PhantomReified<ToTypeStr<CancelTradingOrderEvent>>;
|
|
200
|
+
static get p(): reified.PhantomReified<"0x0::trading::CancelTradingOrderEvent">;
|
|
201
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
202
|
+
sender: string;
|
|
203
|
+
market_index: string;
|
|
204
|
+
order_id: string;
|
|
205
|
+
trigger_price: {
|
|
206
|
+
vec: any[];
|
|
207
|
+
};
|
|
208
|
+
collateral_token: {
|
|
209
|
+
name: {
|
|
210
|
+
bytes: number[];
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
base_token: {
|
|
214
|
+
name: {
|
|
215
|
+
bytes: number[];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
released_collateral_amount: string;
|
|
219
|
+
u64_padding: string[];
|
|
220
|
+
}, {
|
|
221
|
+
sender: string;
|
|
222
|
+
market_index: string | number | bigint;
|
|
223
|
+
order_id: string | number | bigint;
|
|
224
|
+
trigger_price: {
|
|
225
|
+
vec: Iterable<any> & {
|
|
226
|
+
length: number;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
collateral_token: {
|
|
230
|
+
name: {
|
|
231
|
+
bytes: Iterable<number> & {
|
|
232
|
+
length: number;
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
};
|
|
236
|
+
base_token: {
|
|
237
|
+
name: {
|
|
238
|
+
bytes: Iterable<number> & {
|
|
239
|
+
length: number;
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
};
|
|
243
|
+
released_collateral_amount: string | number | bigint;
|
|
244
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
245
|
+
length: number;
|
|
246
|
+
};
|
|
247
|
+
}>;
|
|
248
|
+
static fromFields(fields: Record<string, any>): CancelTradingOrderEvent;
|
|
249
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): CancelTradingOrderEvent;
|
|
250
|
+
static fromBcs(data: Uint8Array): CancelTradingOrderEvent;
|
|
251
|
+
toJSONField(): {
|
|
252
|
+
sender: string;
|
|
253
|
+
marketIndex: string;
|
|
254
|
+
orderId: string;
|
|
255
|
+
triggerPrice: string | null;
|
|
256
|
+
collateralToken: {
|
|
257
|
+
name: string;
|
|
258
|
+
};
|
|
259
|
+
baseToken: {
|
|
260
|
+
name: string;
|
|
261
|
+
};
|
|
262
|
+
releasedCollateralAmount: string;
|
|
263
|
+
u64Padding: string[];
|
|
264
|
+
};
|
|
265
|
+
toJSON(): {
|
|
266
|
+
sender: string;
|
|
267
|
+
marketIndex: string;
|
|
268
|
+
orderId: string;
|
|
269
|
+
triggerPrice: string | null;
|
|
270
|
+
collateralToken: {
|
|
271
|
+
name: string;
|
|
272
|
+
};
|
|
273
|
+
baseToken: {
|
|
274
|
+
name: string;
|
|
275
|
+
};
|
|
276
|
+
releasedCollateralAmount: string;
|
|
277
|
+
u64Padding: string[];
|
|
278
|
+
$typeName: string;
|
|
279
|
+
$typeArgs: [];
|
|
280
|
+
};
|
|
281
|
+
static fromJSONField(field: any): CancelTradingOrderEvent;
|
|
282
|
+
static fromJSON(json: Record<string, any>): CancelTradingOrderEvent;
|
|
283
|
+
static fromSuiParsedData(content: SuiParsedData): CancelTradingOrderEvent;
|
|
284
|
+
static fetch(client: SuiClient, id: string): Promise<CancelTradingOrderEvent>;
|
|
285
|
+
}
|
|
286
|
+
export declare function isCancelTradingOrderWithBidReceiptsEvent(type: string): boolean;
|
|
287
|
+
export interface CancelTradingOrderWithBidReceiptsEventFields {
|
|
288
|
+
sender: ToField<"address">;
|
|
289
|
+
marketIndex: ToField<"u64">;
|
|
290
|
+
orderId: ToField<"u64">;
|
|
291
|
+
triggerPrice: ToField<Option<"u64">>;
|
|
292
|
+
collateralToken: ToField<TypeName>;
|
|
293
|
+
baseToken: ToField<TypeName>;
|
|
294
|
+
returnedReceipts: ToField<Vector<"address">>;
|
|
295
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
296
|
+
}
|
|
297
|
+
export type CancelTradingOrderWithBidReceiptsEventReified = Reified<CancelTradingOrderWithBidReceiptsEvent, CancelTradingOrderWithBidReceiptsEventFields>;
|
|
298
|
+
export declare class CancelTradingOrderWithBidReceiptsEvent implements StructClass {
|
|
299
|
+
static readonly $typeName = "0x0::trading::CancelTradingOrderWithBidReceiptsEvent";
|
|
300
|
+
static readonly $numTypeParams = 0;
|
|
301
|
+
readonly $typeName = "0x0::trading::CancelTradingOrderWithBidReceiptsEvent";
|
|
302
|
+
readonly $fullTypeName: "0x0::trading::CancelTradingOrderWithBidReceiptsEvent";
|
|
303
|
+
readonly $typeArgs: [];
|
|
304
|
+
readonly sender: ToField<"address">;
|
|
305
|
+
readonly marketIndex: ToField<"u64">;
|
|
306
|
+
readonly orderId: ToField<"u64">;
|
|
307
|
+
readonly triggerPrice: ToField<Option<"u64">>;
|
|
308
|
+
readonly collateralToken: ToField<TypeName>;
|
|
309
|
+
readonly baseToken: ToField<TypeName>;
|
|
310
|
+
readonly returnedReceipts: ToField<Vector<"address">>;
|
|
311
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
312
|
+
private constructor();
|
|
313
|
+
static reified(): CancelTradingOrderWithBidReceiptsEventReified;
|
|
314
|
+
static get r(): reified.StructClassReified<CancelTradingOrderWithBidReceiptsEvent, CancelTradingOrderWithBidReceiptsEventFields>;
|
|
315
|
+
static phantom(): PhantomReified<ToTypeStr<CancelTradingOrderWithBidReceiptsEvent>>;
|
|
316
|
+
static get p(): reified.PhantomReified<"0x0::trading::CancelTradingOrderWithBidReceiptsEvent">;
|
|
317
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
318
|
+
sender: string;
|
|
319
|
+
market_index: string;
|
|
320
|
+
order_id: string;
|
|
321
|
+
trigger_price: {
|
|
322
|
+
vec: any[];
|
|
323
|
+
};
|
|
324
|
+
collateral_token: {
|
|
325
|
+
name: {
|
|
326
|
+
bytes: number[];
|
|
327
|
+
};
|
|
328
|
+
};
|
|
329
|
+
base_token: {
|
|
330
|
+
name: {
|
|
331
|
+
bytes: number[];
|
|
332
|
+
};
|
|
333
|
+
};
|
|
334
|
+
returned_receipts: string[];
|
|
335
|
+
u64_padding: string[];
|
|
336
|
+
}, {
|
|
337
|
+
sender: string;
|
|
338
|
+
market_index: string | number | bigint;
|
|
339
|
+
order_id: string | number | bigint;
|
|
340
|
+
trigger_price: {
|
|
341
|
+
vec: Iterable<any> & {
|
|
342
|
+
length: number;
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
collateral_token: {
|
|
346
|
+
name: {
|
|
347
|
+
bytes: Iterable<number> & {
|
|
348
|
+
length: number;
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
};
|
|
352
|
+
base_token: {
|
|
353
|
+
name: {
|
|
354
|
+
bytes: Iterable<number> & {
|
|
355
|
+
length: number;
|
|
356
|
+
};
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
returned_receipts: Iterable<string> & {
|
|
360
|
+
length: number;
|
|
361
|
+
};
|
|
362
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
363
|
+
length: number;
|
|
364
|
+
};
|
|
365
|
+
}>;
|
|
366
|
+
static fromFields(fields: Record<string, any>): CancelTradingOrderWithBidReceiptsEvent;
|
|
367
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): CancelTradingOrderWithBidReceiptsEvent;
|
|
368
|
+
static fromBcs(data: Uint8Array): CancelTradingOrderWithBidReceiptsEvent;
|
|
369
|
+
toJSONField(): {
|
|
370
|
+
sender: string;
|
|
371
|
+
marketIndex: string;
|
|
372
|
+
orderId: string;
|
|
373
|
+
triggerPrice: string | null;
|
|
374
|
+
collateralToken: {
|
|
375
|
+
name: string;
|
|
376
|
+
};
|
|
377
|
+
baseToken: {
|
|
378
|
+
name: string;
|
|
379
|
+
};
|
|
380
|
+
returnedReceipts: string[];
|
|
381
|
+
u64Padding: string[];
|
|
382
|
+
};
|
|
383
|
+
toJSON(): {
|
|
384
|
+
sender: string;
|
|
385
|
+
marketIndex: string;
|
|
386
|
+
orderId: string;
|
|
387
|
+
triggerPrice: string | null;
|
|
388
|
+
collateralToken: {
|
|
389
|
+
name: string;
|
|
390
|
+
};
|
|
391
|
+
baseToken: {
|
|
392
|
+
name: string;
|
|
393
|
+
};
|
|
394
|
+
returnedReceipts: string[];
|
|
395
|
+
u64Padding: string[];
|
|
396
|
+
$typeName: string;
|
|
397
|
+
$typeArgs: [];
|
|
398
|
+
};
|
|
399
|
+
static fromJSONField(field: any): CancelTradingOrderWithBidReceiptsEvent;
|
|
400
|
+
static fromJSON(json: Record<string, any>): CancelTradingOrderWithBidReceiptsEvent;
|
|
401
|
+
static fromSuiParsedData(content: SuiParsedData): CancelTradingOrderWithBidReceiptsEvent;
|
|
402
|
+
static fetch(client: SuiClient, id: string): Promise<CancelTradingOrderWithBidReceiptsEvent>;
|
|
403
|
+
}
|
|
404
|
+
export declare function isCreateTradingOrderEvent(type: string): boolean;
|
|
405
|
+
export interface CreateTradingOrderEventFields {
|
|
406
|
+
sender: ToField<"address">;
|
|
407
|
+
marketIndex: ToField<"u64">;
|
|
408
|
+
poolIndex: ToField<"u64">;
|
|
409
|
+
collateralToken: ToField<TypeName>;
|
|
410
|
+
baseToken: ToField<TypeName>;
|
|
411
|
+
linkedPositionId: ToField<Option<"u64">>;
|
|
412
|
+
collateralAmount: ToField<"u64">;
|
|
413
|
+
leveragePct: ToField<"u64">;
|
|
414
|
+
reduceOnly: ToField<"bool">;
|
|
415
|
+
isLong: ToField<"bool">;
|
|
416
|
+
isStopOrder: ToField<"bool">;
|
|
417
|
+
size: ToField<"u64">;
|
|
418
|
+
triggerPrice: ToField<"u64">;
|
|
419
|
+
filled: ToField<"bool">;
|
|
420
|
+
filledPrice: ToField<Option<"u64">>;
|
|
421
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
422
|
+
}
|
|
423
|
+
export type CreateTradingOrderEventReified = Reified<CreateTradingOrderEvent, CreateTradingOrderEventFields>;
|
|
424
|
+
export declare class CreateTradingOrderEvent implements StructClass {
|
|
425
|
+
static readonly $typeName = "0x0::trading::CreateTradingOrderEvent";
|
|
426
|
+
static readonly $numTypeParams = 0;
|
|
427
|
+
readonly $typeName = "0x0::trading::CreateTradingOrderEvent";
|
|
428
|
+
readonly $fullTypeName: "0x0::trading::CreateTradingOrderEvent";
|
|
429
|
+
readonly $typeArgs: [];
|
|
430
|
+
readonly sender: ToField<"address">;
|
|
431
|
+
readonly marketIndex: ToField<"u64">;
|
|
432
|
+
readonly poolIndex: ToField<"u64">;
|
|
433
|
+
readonly collateralToken: ToField<TypeName>;
|
|
434
|
+
readonly baseToken: ToField<TypeName>;
|
|
435
|
+
readonly linkedPositionId: ToField<Option<"u64">>;
|
|
436
|
+
readonly collateralAmount: ToField<"u64">;
|
|
437
|
+
readonly leveragePct: ToField<"u64">;
|
|
438
|
+
readonly reduceOnly: ToField<"bool">;
|
|
439
|
+
readonly isLong: ToField<"bool">;
|
|
440
|
+
readonly isStopOrder: ToField<"bool">;
|
|
441
|
+
readonly size: ToField<"u64">;
|
|
442
|
+
readonly triggerPrice: ToField<"u64">;
|
|
443
|
+
readonly filled: ToField<"bool">;
|
|
444
|
+
readonly filledPrice: ToField<Option<"u64">>;
|
|
445
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
446
|
+
private constructor();
|
|
447
|
+
static reified(): CreateTradingOrderEventReified;
|
|
448
|
+
static get r(): reified.StructClassReified<CreateTradingOrderEvent, CreateTradingOrderEventFields>;
|
|
449
|
+
static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderEvent>>;
|
|
450
|
+
static get p(): reified.PhantomReified<"0x0::trading::CreateTradingOrderEvent">;
|
|
451
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
452
|
+
sender: string;
|
|
453
|
+
market_index: string;
|
|
454
|
+
pool_index: string;
|
|
455
|
+
collateral_token: {
|
|
456
|
+
name: {
|
|
457
|
+
bytes: number[];
|
|
458
|
+
};
|
|
459
|
+
};
|
|
460
|
+
base_token: {
|
|
461
|
+
name: {
|
|
462
|
+
bytes: number[];
|
|
463
|
+
};
|
|
464
|
+
};
|
|
465
|
+
linked_position_id: {
|
|
466
|
+
vec: any[];
|
|
467
|
+
};
|
|
468
|
+
collateral_amount: string;
|
|
469
|
+
leverage_pct: string;
|
|
470
|
+
reduce_only: boolean;
|
|
471
|
+
is_long: boolean;
|
|
472
|
+
is_stop_order: boolean;
|
|
473
|
+
size: string;
|
|
474
|
+
trigger_price: string;
|
|
475
|
+
filled: boolean;
|
|
476
|
+
filled_price: {
|
|
477
|
+
vec: any[];
|
|
478
|
+
};
|
|
479
|
+
u64_padding: string[];
|
|
480
|
+
}, {
|
|
481
|
+
sender: string;
|
|
482
|
+
market_index: string | number | bigint;
|
|
483
|
+
pool_index: string | number | bigint;
|
|
484
|
+
collateral_token: {
|
|
485
|
+
name: {
|
|
486
|
+
bytes: Iterable<number> & {
|
|
487
|
+
length: number;
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
base_token: {
|
|
492
|
+
name: {
|
|
493
|
+
bytes: Iterable<number> & {
|
|
494
|
+
length: number;
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
};
|
|
498
|
+
linked_position_id: {
|
|
499
|
+
vec: Iterable<any> & {
|
|
500
|
+
length: number;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
collateral_amount: string | number | bigint;
|
|
504
|
+
leverage_pct: string | number | bigint;
|
|
505
|
+
reduce_only: boolean;
|
|
506
|
+
is_long: boolean;
|
|
507
|
+
is_stop_order: boolean;
|
|
508
|
+
size: string | number | bigint;
|
|
509
|
+
trigger_price: string | number | bigint;
|
|
510
|
+
filled: boolean;
|
|
511
|
+
filled_price: {
|
|
512
|
+
vec: Iterable<any> & {
|
|
513
|
+
length: number;
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
517
|
+
length: number;
|
|
518
|
+
};
|
|
519
|
+
}>;
|
|
520
|
+
static fromFields(fields: Record<string, any>): CreateTradingOrderEvent;
|
|
521
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): CreateTradingOrderEvent;
|
|
522
|
+
static fromBcs(data: Uint8Array): CreateTradingOrderEvent;
|
|
523
|
+
toJSONField(): {
|
|
524
|
+
sender: string;
|
|
525
|
+
marketIndex: string;
|
|
526
|
+
poolIndex: string;
|
|
527
|
+
collateralToken: {
|
|
528
|
+
name: string;
|
|
529
|
+
};
|
|
530
|
+
baseToken: {
|
|
531
|
+
name: string;
|
|
532
|
+
};
|
|
533
|
+
linkedPositionId: string | null;
|
|
534
|
+
collateralAmount: string;
|
|
535
|
+
leveragePct: string;
|
|
536
|
+
reduceOnly: boolean;
|
|
537
|
+
isLong: boolean;
|
|
538
|
+
isStopOrder: boolean;
|
|
539
|
+
size: string;
|
|
540
|
+
triggerPrice: string;
|
|
541
|
+
filled: boolean;
|
|
542
|
+
filledPrice: string | null;
|
|
543
|
+
u64Padding: string[];
|
|
544
|
+
};
|
|
545
|
+
toJSON(): {
|
|
546
|
+
sender: string;
|
|
547
|
+
marketIndex: string;
|
|
548
|
+
poolIndex: string;
|
|
549
|
+
collateralToken: {
|
|
550
|
+
name: string;
|
|
551
|
+
};
|
|
552
|
+
baseToken: {
|
|
553
|
+
name: string;
|
|
554
|
+
};
|
|
555
|
+
linkedPositionId: string | null;
|
|
556
|
+
collateralAmount: string;
|
|
557
|
+
leveragePct: string;
|
|
558
|
+
reduceOnly: boolean;
|
|
559
|
+
isLong: boolean;
|
|
560
|
+
isStopOrder: boolean;
|
|
561
|
+
size: string;
|
|
562
|
+
triggerPrice: string;
|
|
563
|
+
filled: boolean;
|
|
564
|
+
filledPrice: string | null;
|
|
565
|
+
u64Padding: string[];
|
|
566
|
+
$typeName: string;
|
|
567
|
+
$typeArgs: [];
|
|
568
|
+
};
|
|
569
|
+
static fromJSONField(field: any): CreateTradingOrderEvent;
|
|
570
|
+
static fromJSON(json: Record<string, any>): CreateTradingOrderEvent;
|
|
571
|
+
static fromSuiParsedData(content: SuiParsedData): CreateTradingOrderEvent;
|
|
572
|
+
static fetch(client: SuiClient, id: string): Promise<CreateTradingOrderEvent>;
|
|
573
|
+
}
|
|
574
|
+
export declare function isCreateTradingOrderWithBidReceiptsEvent(type: string): boolean;
|
|
575
|
+
export interface CreateTradingOrderWithBidReceiptsEventFields {
|
|
576
|
+
sender: ToField<"address">;
|
|
577
|
+
marketIndex: ToField<"u64">;
|
|
578
|
+
poolIndex: ToField<"u64">;
|
|
579
|
+
collateralToken: ToField<TypeName>;
|
|
580
|
+
baseToken: ToField<TypeName>;
|
|
581
|
+
collateralInDepositToken: ToField<"u64">;
|
|
582
|
+
leveragePct: ToField<"u64">;
|
|
583
|
+
reduceOnly: ToField<"bool">;
|
|
584
|
+
isLong: ToField<"bool">;
|
|
585
|
+
isStopOrder: ToField<"bool">;
|
|
586
|
+
size: ToField<"u64">;
|
|
587
|
+
triggerPrice: ToField<"u64">;
|
|
588
|
+
filled: ToField<"bool">;
|
|
589
|
+
filledPrice: ToField<Option<"u64">>;
|
|
590
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
591
|
+
}
|
|
592
|
+
export type CreateTradingOrderWithBidReceiptsEventReified = Reified<CreateTradingOrderWithBidReceiptsEvent, CreateTradingOrderWithBidReceiptsEventFields>;
|
|
593
|
+
export declare class CreateTradingOrderWithBidReceiptsEvent implements StructClass {
|
|
594
|
+
static readonly $typeName = "0x0::trading::CreateTradingOrderWithBidReceiptsEvent";
|
|
595
|
+
static readonly $numTypeParams = 0;
|
|
596
|
+
readonly $typeName = "0x0::trading::CreateTradingOrderWithBidReceiptsEvent";
|
|
597
|
+
readonly $fullTypeName: "0x0::trading::CreateTradingOrderWithBidReceiptsEvent";
|
|
598
|
+
readonly $typeArgs: [];
|
|
599
|
+
readonly sender: ToField<"address">;
|
|
600
|
+
readonly marketIndex: ToField<"u64">;
|
|
601
|
+
readonly poolIndex: ToField<"u64">;
|
|
602
|
+
readonly collateralToken: ToField<TypeName>;
|
|
603
|
+
readonly baseToken: ToField<TypeName>;
|
|
604
|
+
readonly collateralInDepositToken: ToField<"u64">;
|
|
605
|
+
readonly leveragePct: ToField<"u64">;
|
|
606
|
+
readonly reduceOnly: ToField<"bool">;
|
|
607
|
+
readonly isLong: ToField<"bool">;
|
|
608
|
+
readonly isStopOrder: ToField<"bool">;
|
|
609
|
+
readonly size: ToField<"u64">;
|
|
610
|
+
readonly triggerPrice: ToField<"u64">;
|
|
611
|
+
readonly filled: ToField<"bool">;
|
|
612
|
+
readonly filledPrice: ToField<Option<"u64">>;
|
|
613
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
614
|
+
private constructor();
|
|
615
|
+
static reified(): CreateTradingOrderWithBidReceiptsEventReified;
|
|
616
|
+
static get r(): reified.StructClassReified<CreateTradingOrderWithBidReceiptsEvent, CreateTradingOrderWithBidReceiptsEventFields>;
|
|
617
|
+
static phantom(): PhantomReified<ToTypeStr<CreateTradingOrderWithBidReceiptsEvent>>;
|
|
618
|
+
static get p(): reified.PhantomReified<"0x0::trading::CreateTradingOrderWithBidReceiptsEvent">;
|
|
619
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
620
|
+
sender: string;
|
|
621
|
+
market_index: string;
|
|
622
|
+
pool_index: string;
|
|
623
|
+
collateral_token: {
|
|
624
|
+
name: {
|
|
625
|
+
bytes: number[];
|
|
626
|
+
};
|
|
627
|
+
};
|
|
628
|
+
base_token: {
|
|
629
|
+
name: {
|
|
630
|
+
bytes: number[];
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
collateral_in_deposit_token: string;
|
|
634
|
+
leverage_pct: string;
|
|
635
|
+
reduce_only: boolean;
|
|
636
|
+
is_long: boolean;
|
|
637
|
+
is_stop_order: boolean;
|
|
638
|
+
size: string;
|
|
639
|
+
trigger_price: string;
|
|
640
|
+
filled: boolean;
|
|
641
|
+
filled_price: {
|
|
642
|
+
vec: any[];
|
|
643
|
+
};
|
|
644
|
+
u64_padding: string[];
|
|
645
|
+
}, {
|
|
646
|
+
sender: string;
|
|
647
|
+
market_index: string | number | bigint;
|
|
648
|
+
pool_index: string | number | bigint;
|
|
649
|
+
collateral_token: {
|
|
650
|
+
name: {
|
|
651
|
+
bytes: Iterable<number> & {
|
|
652
|
+
length: number;
|
|
653
|
+
};
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
base_token: {
|
|
657
|
+
name: {
|
|
658
|
+
bytes: Iterable<number> & {
|
|
659
|
+
length: number;
|
|
660
|
+
};
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
collateral_in_deposit_token: string | number | bigint;
|
|
664
|
+
leverage_pct: string | number | bigint;
|
|
665
|
+
reduce_only: boolean;
|
|
666
|
+
is_long: boolean;
|
|
667
|
+
is_stop_order: boolean;
|
|
668
|
+
size: string | number | bigint;
|
|
669
|
+
trigger_price: string | number | bigint;
|
|
670
|
+
filled: boolean;
|
|
671
|
+
filled_price: {
|
|
672
|
+
vec: Iterable<any> & {
|
|
673
|
+
length: number;
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
677
|
+
length: number;
|
|
678
|
+
};
|
|
679
|
+
}>;
|
|
680
|
+
static fromFields(fields: Record<string, any>): CreateTradingOrderWithBidReceiptsEvent;
|
|
681
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): CreateTradingOrderWithBidReceiptsEvent;
|
|
682
|
+
static fromBcs(data: Uint8Array): CreateTradingOrderWithBidReceiptsEvent;
|
|
683
|
+
toJSONField(): {
|
|
684
|
+
sender: string;
|
|
685
|
+
marketIndex: string;
|
|
686
|
+
poolIndex: string;
|
|
687
|
+
collateralToken: {
|
|
688
|
+
name: string;
|
|
689
|
+
};
|
|
690
|
+
baseToken: {
|
|
691
|
+
name: string;
|
|
692
|
+
};
|
|
693
|
+
collateralInDepositToken: string;
|
|
694
|
+
leveragePct: string;
|
|
695
|
+
reduceOnly: boolean;
|
|
696
|
+
isLong: boolean;
|
|
697
|
+
isStopOrder: boolean;
|
|
698
|
+
size: string;
|
|
699
|
+
triggerPrice: string;
|
|
700
|
+
filled: boolean;
|
|
701
|
+
filledPrice: string | null;
|
|
702
|
+
u64Padding: string[];
|
|
703
|
+
};
|
|
704
|
+
toJSON(): {
|
|
705
|
+
sender: string;
|
|
706
|
+
marketIndex: string;
|
|
707
|
+
poolIndex: string;
|
|
708
|
+
collateralToken: {
|
|
709
|
+
name: string;
|
|
710
|
+
};
|
|
711
|
+
baseToken: {
|
|
712
|
+
name: string;
|
|
713
|
+
};
|
|
714
|
+
collateralInDepositToken: string;
|
|
715
|
+
leveragePct: string;
|
|
716
|
+
reduceOnly: boolean;
|
|
717
|
+
isLong: boolean;
|
|
718
|
+
isStopOrder: boolean;
|
|
719
|
+
size: string;
|
|
720
|
+
triggerPrice: string;
|
|
721
|
+
filled: boolean;
|
|
722
|
+
filledPrice: string | null;
|
|
723
|
+
u64Padding: string[];
|
|
724
|
+
$typeName: string;
|
|
725
|
+
$typeArgs: [];
|
|
726
|
+
};
|
|
727
|
+
static fromJSONField(field: any): CreateTradingOrderWithBidReceiptsEvent;
|
|
728
|
+
static fromJSON(json: Record<string, any>): CreateTradingOrderWithBidReceiptsEvent;
|
|
729
|
+
static fromSuiParsedData(content: SuiParsedData): CreateTradingOrderWithBidReceiptsEvent;
|
|
730
|
+
static fetch(client: SuiClient, id: string): Promise<CreateTradingOrderWithBidReceiptsEvent>;
|
|
731
|
+
}
|
|
732
|
+
export declare function isLiquidateEvent(type: string): boolean;
|
|
733
|
+
export interface LiquidateEventFields {
|
|
734
|
+
sender: ToField<"address">;
|
|
735
|
+
collateralToken: ToField<TypeName>;
|
|
736
|
+
baseToken: ToField<TypeName>;
|
|
737
|
+
positionId: ToField<"u64">;
|
|
738
|
+
collateralPrice: ToField<"u64">;
|
|
739
|
+
tradingPrice: ToField<"u64">;
|
|
740
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
741
|
+
}
|
|
742
|
+
export type LiquidateEventReified = Reified<LiquidateEvent, LiquidateEventFields>;
|
|
743
|
+
export declare class LiquidateEvent implements StructClass {
|
|
744
|
+
static readonly $typeName = "0x0::trading::LiquidateEvent";
|
|
745
|
+
static readonly $numTypeParams = 0;
|
|
746
|
+
readonly $typeName = "0x0::trading::LiquidateEvent";
|
|
747
|
+
readonly $fullTypeName: "0x0::trading::LiquidateEvent";
|
|
748
|
+
readonly $typeArgs: [];
|
|
749
|
+
readonly sender: ToField<"address">;
|
|
750
|
+
readonly collateralToken: ToField<TypeName>;
|
|
751
|
+
readonly baseToken: ToField<TypeName>;
|
|
752
|
+
readonly positionId: ToField<"u64">;
|
|
753
|
+
readonly collateralPrice: ToField<"u64">;
|
|
754
|
+
readonly tradingPrice: ToField<"u64">;
|
|
755
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
756
|
+
private constructor();
|
|
757
|
+
static reified(): LiquidateEventReified;
|
|
758
|
+
static get r(): reified.StructClassReified<LiquidateEvent, LiquidateEventFields>;
|
|
759
|
+
static phantom(): PhantomReified<ToTypeStr<LiquidateEvent>>;
|
|
760
|
+
static get p(): reified.PhantomReified<"0x0::trading::LiquidateEvent">;
|
|
761
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
762
|
+
sender: string;
|
|
763
|
+
collateral_token: {
|
|
764
|
+
name: {
|
|
765
|
+
bytes: number[];
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
base_token: {
|
|
769
|
+
name: {
|
|
770
|
+
bytes: number[];
|
|
771
|
+
};
|
|
772
|
+
};
|
|
773
|
+
position_id: string;
|
|
774
|
+
collateral_price: string;
|
|
775
|
+
trading_price: string;
|
|
776
|
+
u64_padding: string[];
|
|
777
|
+
}, {
|
|
778
|
+
sender: string;
|
|
779
|
+
collateral_token: {
|
|
780
|
+
name: {
|
|
781
|
+
bytes: Iterable<number> & {
|
|
782
|
+
length: number;
|
|
783
|
+
};
|
|
784
|
+
};
|
|
785
|
+
};
|
|
786
|
+
base_token: {
|
|
787
|
+
name: {
|
|
788
|
+
bytes: Iterable<number> & {
|
|
789
|
+
length: number;
|
|
790
|
+
};
|
|
791
|
+
};
|
|
792
|
+
};
|
|
793
|
+
position_id: string | number | bigint;
|
|
794
|
+
collateral_price: string | number | bigint;
|
|
795
|
+
trading_price: string | number | bigint;
|
|
796
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
797
|
+
length: number;
|
|
798
|
+
};
|
|
799
|
+
}>;
|
|
800
|
+
static fromFields(fields: Record<string, any>): LiquidateEvent;
|
|
801
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): LiquidateEvent;
|
|
802
|
+
static fromBcs(data: Uint8Array): LiquidateEvent;
|
|
803
|
+
toJSONField(): {
|
|
804
|
+
sender: string;
|
|
805
|
+
collateralToken: {
|
|
806
|
+
name: string;
|
|
807
|
+
};
|
|
808
|
+
baseToken: {
|
|
809
|
+
name: string;
|
|
810
|
+
};
|
|
811
|
+
positionId: string;
|
|
812
|
+
collateralPrice: string;
|
|
813
|
+
tradingPrice: string;
|
|
814
|
+
u64Padding: string[];
|
|
815
|
+
};
|
|
816
|
+
toJSON(): {
|
|
817
|
+
sender: string;
|
|
818
|
+
collateralToken: {
|
|
819
|
+
name: string;
|
|
820
|
+
};
|
|
821
|
+
baseToken: {
|
|
822
|
+
name: string;
|
|
823
|
+
};
|
|
824
|
+
positionId: string;
|
|
825
|
+
collateralPrice: string;
|
|
826
|
+
tradingPrice: string;
|
|
827
|
+
u64Padding: string[];
|
|
828
|
+
$typeName: string;
|
|
829
|
+
$typeArgs: [];
|
|
830
|
+
};
|
|
831
|
+
static fromJSONField(field: any): LiquidateEvent;
|
|
832
|
+
static fromJSON(json: Record<string, any>): LiquidateEvent;
|
|
833
|
+
static fromSuiParsedData(content: SuiParsedData): LiquidateEvent;
|
|
834
|
+
static fetch(client: SuiClient, id: string): Promise<LiquidateEvent>;
|
|
835
|
+
}
|
|
836
|
+
export declare function isMarketConfig(type: string): boolean;
|
|
837
|
+
export interface MarketConfigFields {
|
|
838
|
+
oracleId: ToField<"address">;
|
|
839
|
+
maxLeveragePct: ToField<"u64">;
|
|
840
|
+
minSize: ToField<"u64">;
|
|
841
|
+
lotSize: ToField<"u64">;
|
|
842
|
+
tradingFeeRate: ToField<"u64">;
|
|
843
|
+
tradingFeeDecimal: ToField<"u64">;
|
|
844
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
845
|
+
}
|
|
846
|
+
export type MarketConfigReified = Reified<MarketConfig, MarketConfigFields>;
|
|
847
|
+
export declare class MarketConfig implements StructClass {
|
|
848
|
+
static readonly $typeName = "0x0::trading::MarketConfig";
|
|
849
|
+
static readonly $numTypeParams = 0;
|
|
850
|
+
readonly $typeName = "0x0::trading::MarketConfig";
|
|
851
|
+
readonly $fullTypeName: "0x0::trading::MarketConfig";
|
|
852
|
+
readonly $typeArgs: [];
|
|
853
|
+
readonly oracleId: ToField<"address">;
|
|
854
|
+
readonly maxLeveragePct: ToField<"u64">;
|
|
855
|
+
readonly minSize: ToField<"u64">;
|
|
856
|
+
readonly lotSize: ToField<"u64">;
|
|
857
|
+
readonly tradingFeeRate: ToField<"u64">;
|
|
858
|
+
readonly tradingFeeDecimal: ToField<"u64">;
|
|
859
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
860
|
+
private constructor();
|
|
861
|
+
static reified(): MarketConfigReified;
|
|
862
|
+
static get r(): reified.StructClassReified<MarketConfig, MarketConfigFields>;
|
|
863
|
+
static phantom(): PhantomReified<ToTypeStr<MarketConfig>>;
|
|
864
|
+
static get p(): reified.PhantomReified<"0x0::trading::MarketConfig">;
|
|
865
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
866
|
+
oracle_id: string;
|
|
867
|
+
max_leverage_pct: string;
|
|
868
|
+
min_size: string;
|
|
869
|
+
lot_size: string;
|
|
870
|
+
trading_fee_rate: string;
|
|
871
|
+
trading_fee_decimal: string;
|
|
872
|
+
u64_padding: string[];
|
|
873
|
+
}, {
|
|
874
|
+
oracle_id: string;
|
|
875
|
+
max_leverage_pct: string | number | bigint;
|
|
876
|
+
min_size: string | number | bigint;
|
|
877
|
+
lot_size: string | number | bigint;
|
|
878
|
+
trading_fee_rate: string | number | bigint;
|
|
879
|
+
trading_fee_decimal: string | number | bigint;
|
|
880
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
881
|
+
length: number;
|
|
882
|
+
};
|
|
883
|
+
}>;
|
|
884
|
+
static fromFields(fields: Record<string, any>): MarketConfig;
|
|
885
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): MarketConfig;
|
|
886
|
+
static fromBcs(data: Uint8Array): MarketConfig;
|
|
887
|
+
toJSONField(): {
|
|
888
|
+
oracleId: string;
|
|
889
|
+
maxLeveragePct: string;
|
|
890
|
+
minSize: string;
|
|
891
|
+
lotSize: string;
|
|
892
|
+
tradingFeeRate: string;
|
|
893
|
+
tradingFeeDecimal: string;
|
|
894
|
+
u64Padding: string[];
|
|
895
|
+
};
|
|
896
|
+
toJSON(): {
|
|
897
|
+
oracleId: string;
|
|
898
|
+
maxLeveragePct: string;
|
|
899
|
+
minSize: string;
|
|
900
|
+
lotSize: string;
|
|
901
|
+
tradingFeeRate: string;
|
|
902
|
+
tradingFeeDecimal: string;
|
|
903
|
+
u64Padding: string[];
|
|
904
|
+
$typeName: string;
|
|
905
|
+
$typeArgs: [];
|
|
906
|
+
};
|
|
907
|
+
static fromJSONField(field: any): MarketConfig;
|
|
908
|
+
static fromJSON(json: Record<string, any>): MarketConfig;
|
|
909
|
+
static fromSuiParsedData(content: SuiParsedData): MarketConfig;
|
|
910
|
+
static fetch(client: SuiClient, id: string): Promise<MarketConfig>;
|
|
911
|
+
}
|
|
912
|
+
export declare function isMarketInfo(type: string): boolean;
|
|
913
|
+
export interface MarketInfoFields {
|
|
914
|
+
isActive: ToField<"bool">;
|
|
915
|
+
sizeDecimal: ToField<"u64">;
|
|
916
|
+
userPositionSide: ToField<"bool">;
|
|
917
|
+
positionSize: ToField<"u64">;
|
|
918
|
+
nextPositionId: ToField<"u64">;
|
|
919
|
+
openOrderSide: ToField<"bool">;
|
|
920
|
+
openOrderSize: ToField<"u64">;
|
|
921
|
+
nextOrderId: ToField<"u64">;
|
|
922
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
923
|
+
}
|
|
924
|
+
export type MarketInfoReified = Reified<MarketInfo, MarketInfoFields>;
|
|
925
|
+
export declare class MarketInfo implements StructClass {
|
|
926
|
+
static readonly $typeName = "0x0::trading::MarketInfo";
|
|
927
|
+
static readonly $numTypeParams = 0;
|
|
928
|
+
readonly $typeName = "0x0::trading::MarketInfo";
|
|
929
|
+
readonly $fullTypeName: "0x0::trading::MarketInfo";
|
|
930
|
+
readonly $typeArgs: [];
|
|
931
|
+
readonly isActive: ToField<"bool">;
|
|
932
|
+
readonly sizeDecimal: ToField<"u64">;
|
|
933
|
+
readonly userPositionSide: ToField<"bool">;
|
|
934
|
+
readonly positionSize: ToField<"u64">;
|
|
935
|
+
readonly nextPositionId: ToField<"u64">;
|
|
936
|
+
readonly openOrderSide: ToField<"bool">;
|
|
937
|
+
readonly openOrderSize: ToField<"u64">;
|
|
938
|
+
readonly nextOrderId: ToField<"u64">;
|
|
939
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
940
|
+
private constructor();
|
|
941
|
+
static reified(): MarketInfoReified;
|
|
942
|
+
static get r(): reified.StructClassReified<MarketInfo, MarketInfoFields>;
|
|
943
|
+
static phantom(): PhantomReified<ToTypeStr<MarketInfo>>;
|
|
944
|
+
static get p(): reified.PhantomReified<"0x0::trading::MarketInfo">;
|
|
945
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
946
|
+
is_active: boolean;
|
|
947
|
+
size_decimal: string;
|
|
948
|
+
user_position_side: boolean;
|
|
949
|
+
position_size: string;
|
|
950
|
+
next_position_id: string;
|
|
951
|
+
open_order_side: boolean;
|
|
952
|
+
open_order_size: string;
|
|
953
|
+
next_order_id: string;
|
|
954
|
+
u64_padding: string[];
|
|
955
|
+
}, {
|
|
956
|
+
is_active: boolean;
|
|
957
|
+
size_decimal: string | number | bigint;
|
|
958
|
+
user_position_side: boolean;
|
|
959
|
+
position_size: string | number | bigint;
|
|
960
|
+
next_position_id: string | number | bigint;
|
|
961
|
+
open_order_side: boolean;
|
|
962
|
+
open_order_size: string | number | bigint;
|
|
963
|
+
next_order_id: string | number | bigint;
|
|
964
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
965
|
+
length: number;
|
|
966
|
+
};
|
|
967
|
+
}>;
|
|
968
|
+
static fromFields(fields: Record<string, any>): MarketInfo;
|
|
969
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): MarketInfo;
|
|
970
|
+
static fromBcs(data: Uint8Array): MarketInfo;
|
|
971
|
+
toJSONField(): {
|
|
972
|
+
isActive: boolean;
|
|
973
|
+
sizeDecimal: string;
|
|
974
|
+
userPositionSide: boolean;
|
|
975
|
+
positionSize: string;
|
|
976
|
+
nextPositionId: string;
|
|
977
|
+
openOrderSide: boolean;
|
|
978
|
+
openOrderSize: string;
|
|
979
|
+
nextOrderId: string;
|
|
980
|
+
u64Padding: string[];
|
|
981
|
+
};
|
|
982
|
+
toJSON(): {
|
|
983
|
+
isActive: boolean;
|
|
984
|
+
sizeDecimal: string;
|
|
985
|
+
userPositionSide: boolean;
|
|
986
|
+
positionSize: string;
|
|
987
|
+
nextPositionId: string;
|
|
988
|
+
openOrderSide: boolean;
|
|
989
|
+
openOrderSize: string;
|
|
990
|
+
nextOrderId: string;
|
|
991
|
+
u64Padding: string[];
|
|
992
|
+
$typeName: string;
|
|
993
|
+
$typeArgs: [];
|
|
994
|
+
};
|
|
995
|
+
static fromJSONField(field: any): MarketInfo;
|
|
996
|
+
static fromJSON(json: Record<string, any>): MarketInfo;
|
|
997
|
+
static fromSuiParsedData(content: SuiParsedData): MarketInfo;
|
|
998
|
+
static fetch(client: SuiClient, id: string): Promise<MarketInfo>;
|
|
999
|
+
}
|
|
1000
|
+
export declare function isMarketRegistry(type: string): boolean;
|
|
1001
|
+
export interface MarketRegistryFields {
|
|
1002
|
+
id: ToField<UID>;
|
|
1003
|
+
referralRegistry: ToField<UID>;
|
|
1004
|
+
numMarket: ToField<"u64">;
|
|
1005
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1006
|
+
}
|
|
1007
|
+
export type MarketRegistryReified = Reified<MarketRegistry, MarketRegistryFields>;
|
|
1008
|
+
export declare class MarketRegistry implements StructClass {
|
|
1009
|
+
static readonly $typeName = "0x0::trading::MarketRegistry";
|
|
1010
|
+
static readonly $numTypeParams = 0;
|
|
1011
|
+
readonly $typeName = "0x0::trading::MarketRegistry";
|
|
1012
|
+
readonly $fullTypeName: "0x0::trading::MarketRegistry";
|
|
1013
|
+
readonly $typeArgs: [];
|
|
1014
|
+
readonly id: ToField<UID>;
|
|
1015
|
+
readonly referralRegistry: ToField<UID>;
|
|
1016
|
+
readonly numMarket: ToField<"u64">;
|
|
1017
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1018
|
+
private constructor();
|
|
1019
|
+
static reified(): MarketRegistryReified;
|
|
1020
|
+
static get r(): reified.StructClassReified<MarketRegistry, MarketRegistryFields>;
|
|
1021
|
+
static phantom(): PhantomReified<ToTypeStr<MarketRegistry>>;
|
|
1022
|
+
static get p(): reified.PhantomReified<"0x0::trading::MarketRegistry">;
|
|
1023
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1024
|
+
id: {
|
|
1025
|
+
id: {
|
|
1026
|
+
bytes: string;
|
|
1027
|
+
};
|
|
1028
|
+
};
|
|
1029
|
+
referral_registry: {
|
|
1030
|
+
id: {
|
|
1031
|
+
bytes: string;
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
num_market: string;
|
|
1035
|
+
u64_padding: string[];
|
|
1036
|
+
}, {
|
|
1037
|
+
id: {
|
|
1038
|
+
id: {
|
|
1039
|
+
bytes: string;
|
|
1040
|
+
};
|
|
1041
|
+
};
|
|
1042
|
+
referral_registry: {
|
|
1043
|
+
id: {
|
|
1044
|
+
bytes: string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
num_market: string | number | bigint;
|
|
1048
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1049
|
+
length: number;
|
|
1050
|
+
};
|
|
1051
|
+
}>;
|
|
1052
|
+
static fromFields(fields: Record<string, any>): MarketRegistry;
|
|
1053
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): MarketRegistry;
|
|
1054
|
+
static fromBcs(data: Uint8Array): MarketRegistry;
|
|
1055
|
+
toJSONField(): {
|
|
1056
|
+
id: string;
|
|
1057
|
+
referralRegistry: string;
|
|
1058
|
+
numMarket: string;
|
|
1059
|
+
u64Padding: string[];
|
|
1060
|
+
};
|
|
1061
|
+
toJSON(): {
|
|
1062
|
+
id: string;
|
|
1063
|
+
referralRegistry: string;
|
|
1064
|
+
numMarket: string;
|
|
1065
|
+
u64Padding: string[];
|
|
1066
|
+
$typeName: string;
|
|
1067
|
+
$typeArgs: [];
|
|
1068
|
+
};
|
|
1069
|
+
static fromJSONField(field: any): MarketRegistry;
|
|
1070
|
+
static fromJSON(json: Record<string, any>): MarketRegistry;
|
|
1071
|
+
static fromSuiParsedData(content: SuiParsedData): MarketRegistry;
|
|
1072
|
+
static fetch(client: SuiClient, id: string): Promise<MarketRegistry>;
|
|
1073
|
+
}
|
|
1074
|
+
export declare function isMarkets(type: string): boolean;
|
|
1075
|
+
export interface MarketsFields {
|
|
1076
|
+
id: ToField<UID>;
|
|
1077
|
+
index: ToField<"u64">;
|
|
1078
|
+
lpTokenType: ToField<TypeName>;
|
|
1079
|
+
quoteTokenType: ToField<TypeName>;
|
|
1080
|
+
isActive: ToField<"bool">;
|
|
1081
|
+
symbols: ToField<Vector<TypeName>>;
|
|
1082
|
+
symbolMarkets: ToField<ObjectTable<ToPhantom<TypeName>, ToPhantom<SymbolMarket>>>;
|
|
1083
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1084
|
+
}
|
|
1085
|
+
export type MarketsReified = Reified<Markets, MarketsFields>;
|
|
1086
|
+
export declare class Markets implements StructClass {
|
|
1087
|
+
static readonly $typeName = "0x0::trading::Markets";
|
|
1088
|
+
static readonly $numTypeParams = 0;
|
|
1089
|
+
readonly $typeName = "0x0::trading::Markets";
|
|
1090
|
+
readonly $fullTypeName: "0x0::trading::Markets";
|
|
1091
|
+
readonly $typeArgs: [];
|
|
1092
|
+
readonly id: ToField<UID>;
|
|
1093
|
+
readonly index: ToField<"u64">;
|
|
1094
|
+
readonly lpTokenType: ToField<TypeName>;
|
|
1095
|
+
readonly quoteTokenType: ToField<TypeName>;
|
|
1096
|
+
readonly isActive: ToField<"bool">;
|
|
1097
|
+
readonly symbols: ToField<Vector<TypeName>>;
|
|
1098
|
+
readonly symbolMarkets: ToField<ObjectTable<ToPhantom<TypeName>, ToPhantom<SymbolMarket>>>;
|
|
1099
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1100
|
+
private constructor();
|
|
1101
|
+
static reified(): MarketsReified;
|
|
1102
|
+
static get r(): reified.StructClassReified<Markets, MarketsFields>;
|
|
1103
|
+
static phantom(): PhantomReified<ToTypeStr<Markets>>;
|
|
1104
|
+
static get p(): reified.PhantomReified<"0x0::trading::Markets">;
|
|
1105
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1106
|
+
id: {
|
|
1107
|
+
id: {
|
|
1108
|
+
bytes: string;
|
|
1109
|
+
};
|
|
1110
|
+
};
|
|
1111
|
+
index: string;
|
|
1112
|
+
lp_token_type: {
|
|
1113
|
+
name: {
|
|
1114
|
+
bytes: number[];
|
|
1115
|
+
};
|
|
1116
|
+
};
|
|
1117
|
+
quote_token_type: {
|
|
1118
|
+
name: {
|
|
1119
|
+
bytes: number[];
|
|
1120
|
+
};
|
|
1121
|
+
};
|
|
1122
|
+
is_active: boolean;
|
|
1123
|
+
symbols: {
|
|
1124
|
+
name: {
|
|
1125
|
+
bytes: number[];
|
|
1126
|
+
};
|
|
1127
|
+
}[];
|
|
1128
|
+
symbol_markets: {
|
|
1129
|
+
id: {
|
|
1130
|
+
id: {
|
|
1131
|
+
bytes: string;
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
1134
|
+
size: string;
|
|
1135
|
+
};
|
|
1136
|
+
u64_padding: string[];
|
|
1137
|
+
}, {
|
|
1138
|
+
id: {
|
|
1139
|
+
id: {
|
|
1140
|
+
bytes: string;
|
|
1141
|
+
};
|
|
1142
|
+
};
|
|
1143
|
+
index: string | number | bigint;
|
|
1144
|
+
lp_token_type: {
|
|
1145
|
+
name: {
|
|
1146
|
+
bytes: Iterable<number> & {
|
|
1147
|
+
length: number;
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
quote_token_type: {
|
|
1152
|
+
name: {
|
|
1153
|
+
bytes: Iterable<number> & {
|
|
1154
|
+
length: number;
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
is_active: boolean;
|
|
1159
|
+
symbols: Iterable<{
|
|
1160
|
+
name: {
|
|
1161
|
+
bytes: Iterable<number> & {
|
|
1162
|
+
length: number;
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
}> & {
|
|
1166
|
+
length: number;
|
|
1167
|
+
};
|
|
1168
|
+
symbol_markets: {
|
|
1169
|
+
id: {
|
|
1170
|
+
id: {
|
|
1171
|
+
bytes: string;
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
size: string | number | bigint;
|
|
1175
|
+
};
|
|
1176
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1177
|
+
length: number;
|
|
1178
|
+
};
|
|
1179
|
+
}>;
|
|
1180
|
+
static fromFields(fields: Record<string, any>): Markets;
|
|
1181
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): Markets;
|
|
1182
|
+
static fromBcs(data: Uint8Array): Markets;
|
|
1183
|
+
toJSONField(): {
|
|
1184
|
+
id: string;
|
|
1185
|
+
index: string;
|
|
1186
|
+
lpTokenType: {
|
|
1187
|
+
name: string;
|
|
1188
|
+
};
|
|
1189
|
+
quoteTokenType: {
|
|
1190
|
+
name: string;
|
|
1191
|
+
};
|
|
1192
|
+
isActive: boolean;
|
|
1193
|
+
symbols: {
|
|
1194
|
+
name: string;
|
|
1195
|
+
}[];
|
|
1196
|
+
symbolMarkets: {
|
|
1197
|
+
id: string;
|
|
1198
|
+
size: string;
|
|
1199
|
+
};
|
|
1200
|
+
u64Padding: string[];
|
|
1201
|
+
};
|
|
1202
|
+
toJSON(): {
|
|
1203
|
+
id: string;
|
|
1204
|
+
index: string;
|
|
1205
|
+
lpTokenType: {
|
|
1206
|
+
name: string;
|
|
1207
|
+
};
|
|
1208
|
+
quoteTokenType: {
|
|
1209
|
+
name: string;
|
|
1210
|
+
};
|
|
1211
|
+
isActive: boolean;
|
|
1212
|
+
symbols: {
|
|
1213
|
+
name: string;
|
|
1214
|
+
}[];
|
|
1215
|
+
symbolMarkets: {
|
|
1216
|
+
id: string;
|
|
1217
|
+
size: string;
|
|
1218
|
+
};
|
|
1219
|
+
u64Padding: string[];
|
|
1220
|
+
$typeName: string;
|
|
1221
|
+
$typeArgs: [];
|
|
1222
|
+
};
|
|
1223
|
+
static fromJSONField(field: any): Markets;
|
|
1224
|
+
static fromJSON(json: Record<string, any>): Markets;
|
|
1225
|
+
static fromSuiParsedData(content: SuiParsedData): Markets;
|
|
1226
|
+
static fetch(client: SuiClient, id: string): Promise<Markets>;
|
|
1227
|
+
}
|
|
1228
|
+
export declare function isMatchTradingOrderEvent(type: string): boolean;
|
|
1229
|
+
export interface MatchTradingOrderEventFields {
|
|
1230
|
+
sender: ToField<"address">;
|
|
1231
|
+
collateralToken: ToField<TypeName>;
|
|
1232
|
+
baseToken: ToField<TypeName>;
|
|
1233
|
+
matchedOrderIds: ToField<Vector<Vector<"u64">>>;
|
|
1234
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1235
|
+
}
|
|
1236
|
+
export type MatchTradingOrderEventReified = Reified<MatchTradingOrderEvent, MatchTradingOrderEventFields>;
|
|
1237
|
+
export declare class MatchTradingOrderEvent implements StructClass {
|
|
1238
|
+
static readonly $typeName = "0x0::trading::MatchTradingOrderEvent";
|
|
1239
|
+
static readonly $numTypeParams = 0;
|
|
1240
|
+
readonly $typeName = "0x0::trading::MatchTradingOrderEvent";
|
|
1241
|
+
readonly $fullTypeName: "0x0::trading::MatchTradingOrderEvent";
|
|
1242
|
+
readonly $typeArgs: [];
|
|
1243
|
+
readonly sender: ToField<"address">;
|
|
1244
|
+
readonly collateralToken: ToField<TypeName>;
|
|
1245
|
+
readonly baseToken: ToField<TypeName>;
|
|
1246
|
+
readonly matchedOrderIds: ToField<Vector<Vector<"u64">>>;
|
|
1247
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1248
|
+
private constructor();
|
|
1249
|
+
static reified(): MatchTradingOrderEventReified;
|
|
1250
|
+
static get r(): reified.StructClassReified<MatchTradingOrderEvent, MatchTradingOrderEventFields>;
|
|
1251
|
+
static phantom(): PhantomReified<ToTypeStr<MatchTradingOrderEvent>>;
|
|
1252
|
+
static get p(): reified.PhantomReified<"0x0::trading::MatchTradingOrderEvent">;
|
|
1253
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1254
|
+
sender: string;
|
|
1255
|
+
collateral_token: {
|
|
1256
|
+
name: {
|
|
1257
|
+
bytes: number[];
|
|
1258
|
+
};
|
|
1259
|
+
};
|
|
1260
|
+
base_token: {
|
|
1261
|
+
name: {
|
|
1262
|
+
bytes: number[];
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
matched_order_ids: string[][];
|
|
1266
|
+
u64_padding: string[];
|
|
1267
|
+
}, {
|
|
1268
|
+
sender: string;
|
|
1269
|
+
collateral_token: {
|
|
1270
|
+
name: {
|
|
1271
|
+
bytes: Iterable<number> & {
|
|
1272
|
+
length: number;
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
};
|
|
1276
|
+
base_token: {
|
|
1277
|
+
name: {
|
|
1278
|
+
bytes: Iterable<number> & {
|
|
1279
|
+
length: number;
|
|
1280
|
+
};
|
|
1281
|
+
};
|
|
1282
|
+
};
|
|
1283
|
+
matched_order_ids: Iterable<Iterable<string | number | bigint> & {
|
|
1284
|
+
length: number;
|
|
1285
|
+
}> & {
|
|
1286
|
+
length: number;
|
|
1287
|
+
};
|
|
1288
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1289
|
+
length: number;
|
|
1290
|
+
};
|
|
1291
|
+
}>;
|
|
1292
|
+
static fromFields(fields: Record<string, any>): MatchTradingOrderEvent;
|
|
1293
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): MatchTradingOrderEvent;
|
|
1294
|
+
static fromBcs(data: Uint8Array): MatchTradingOrderEvent;
|
|
1295
|
+
toJSONField(): {
|
|
1296
|
+
sender: string;
|
|
1297
|
+
collateralToken: {
|
|
1298
|
+
name: string;
|
|
1299
|
+
};
|
|
1300
|
+
baseToken: {
|
|
1301
|
+
name: string;
|
|
1302
|
+
};
|
|
1303
|
+
matchedOrderIds: string[][];
|
|
1304
|
+
u64Padding: string[];
|
|
1305
|
+
};
|
|
1306
|
+
toJSON(): {
|
|
1307
|
+
sender: string;
|
|
1308
|
+
collateralToken: {
|
|
1309
|
+
name: string;
|
|
1310
|
+
};
|
|
1311
|
+
baseToken: {
|
|
1312
|
+
name: string;
|
|
1313
|
+
};
|
|
1314
|
+
matchedOrderIds: string[][];
|
|
1315
|
+
u64Padding: string[];
|
|
1316
|
+
$typeName: string;
|
|
1317
|
+
$typeArgs: [];
|
|
1318
|
+
};
|
|
1319
|
+
static fromJSONField(field: any): MatchTradingOrderEvent;
|
|
1320
|
+
static fromJSON(json: Record<string, any>): MatchTradingOrderEvent;
|
|
1321
|
+
static fromSuiParsedData(content: SuiParsedData): MatchTradingOrderEvent;
|
|
1322
|
+
static fetch(client: SuiClient, id: string): Promise<MatchTradingOrderEvent>;
|
|
1323
|
+
}
|
|
1324
|
+
export declare function isNewMarketsEvent(type: string): boolean;
|
|
1325
|
+
export interface NewMarketsEventFields {
|
|
1326
|
+
sender: ToField<"address">;
|
|
1327
|
+
index: ToField<"u64">;
|
|
1328
|
+
lpTokenType: ToField<TypeName>;
|
|
1329
|
+
quoteTokenType: ToField<TypeName>;
|
|
1330
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1331
|
+
}
|
|
1332
|
+
export type NewMarketsEventReified = Reified<NewMarketsEvent, NewMarketsEventFields>;
|
|
1333
|
+
export declare class NewMarketsEvent implements StructClass {
|
|
1334
|
+
static readonly $typeName = "0x0::trading::NewMarketsEvent";
|
|
1335
|
+
static readonly $numTypeParams = 0;
|
|
1336
|
+
readonly $typeName = "0x0::trading::NewMarketsEvent";
|
|
1337
|
+
readonly $fullTypeName: "0x0::trading::NewMarketsEvent";
|
|
1338
|
+
readonly $typeArgs: [];
|
|
1339
|
+
readonly sender: ToField<"address">;
|
|
1340
|
+
readonly index: ToField<"u64">;
|
|
1341
|
+
readonly lpTokenType: ToField<TypeName>;
|
|
1342
|
+
readonly quoteTokenType: ToField<TypeName>;
|
|
1343
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1344
|
+
private constructor();
|
|
1345
|
+
static reified(): NewMarketsEventReified;
|
|
1346
|
+
static get r(): reified.StructClassReified<NewMarketsEvent, NewMarketsEventFields>;
|
|
1347
|
+
static phantom(): PhantomReified<ToTypeStr<NewMarketsEvent>>;
|
|
1348
|
+
static get p(): reified.PhantomReified<"0x0::trading::NewMarketsEvent">;
|
|
1349
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1350
|
+
sender: string;
|
|
1351
|
+
index: string;
|
|
1352
|
+
lp_token_type: {
|
|
1353
|
+
name: {
|
|
1354
|
+
bytes: number[];
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
quote_token_type: {
|
|
1358
|
+
name: {
|
|
1359
|
+
bytes: number[];
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1362
|
+
u64_padding: string[];
|
|
1363
|
+
}, {
|
|
1364
|
+
sender: string;
|
|
1365
|
+
index: string | number | bigint;
|
|
1366
|
+
lp_token_type: {
|
|
1367
|
+
name: {
|
|
1368
|
+
bytes: Iterable<number> & {
|
|
1369
|
+
length: number;
|
|
1370
|
+
};
|
|
1371
|
+
};
|
|
1372
|
+
};
|
|
1373
|
+
quote_token_type: {
|
|
1374
|
+
name: {
|
|
1375
|
+
bytes: Iterable<number> & {
|
|
1376
|
+
length: number;
|
|
1377
|
+
};
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1381
|
+
length: number;
|
|
1382
|
+
};
|
|
1383
|
+
}>;
|
|
1384
|
+
static fromFields(fields: Record<string, any>): NewMarketsEvent;
|
|
1385
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): NewMarketsEvent;
|
|
1386
|
+
static fromBcs(data: Uint8Array): NewMarketsEvent;
|
|
1387
|
+
toJSONField(): {
|
|
1388
|
+
sender: string;
|
|
1389
|
+
index: string;
|
|
1390
|
+
lpTokenType: {
|
|
1391
|
+
name: string;
|
|
1392
|
+
};
|
|
1393
|
+
quoteTokenType: {
|
|
1394
|
+
name: string;
|
|
1395
|
+
};
|
|
1396
|
+
u64Padding: string[];
|
|
1397
|
+
};
|
|
1398
|
+
toJSON(): {
|
|
1399
|
+
sender: string;
|
|
1400
|
+
index: string;
|
|
1401
|
+
lpTokenType: {
|
|
1402
|
+
name: string;
|
|
1403
|
+
};
|
|
1404
|
+
quoteTokenType: {
|
|
1405
|
+
name: string;
|
|
1406
|
+
};
|
|
1407
|
+
u64Padding: string[];
|
|
1408
|
+
$typeName: string;
|
|
1409
|
+
$typeArgs: [];
|
|
1410
|
+
};
|
|
1411
|
+
static fromJSONField(field: any): NewMarketsEvent;
|
|
1412
|
+
static fromJSON(json: Record<string, any>): NewMarketsEvent;
|
|
1413
|
+
static fromSuiParsedData(content: SuiParsedData): NewMarketsEvent;
|
|
1414
|
+
static fetch(client: SuiClient, id: string): Promise<NewMarketsEvent>;
|
|
1415
|
+
}
|
|
1416
|
+
export declare function isReferralInfo(type: string): boolean;
|
|
1417
|
+
export interface ReferralInfoFields {
|
|
1418
|
+
invitedFrom: ToField<"address">;
|
|
1419
|
+
feeRebateBp: ToField<"u64">;
|
|
1420
|
+
feeReductionBp: ToField<"u64">;
|
|
1421
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1422
|
+
}
|
|
1423
|
+
export type ReferralInfoReified = Reified<ReferralInfo, ReferralInfoFields>;
|
|
1424
|
+
export declare class ReferralInfo implements StructClass {
|
|
1425
|
+
static readonly $typeName = "0x0::trading::ReferralInfo";
|
|
1426
|
+
static readonly $numTypeParams = 0;
|
|
1427
|
+
readonly $typeName = "0x0::trading::ReferralInfo";
|
|
1428
|
+
readonly $fullTypeName: "0x0::trading::ReferralInfo";
|
|
1429
|
+
readonly $typeArgs: [];
|
|
1430
|
+
readonly invitedFrom: ToField<"address">;
|
|
1431
|
+
readonly feeRebateBp: ToField<"u64">;
|
|
1432
|
+
readonly feeReductionBp: ToField<"u64">;
|
|
1433
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1434
|
+
private constructor();
|
|
1435
|
+
static reified(): ReferralInfoReified;
|
|
1436
|
+
static get r(): reified.StructClassReified<ReferralInfo, ReferralInfoFields>;
|
|
1437
|
+
static phantom(): PhantomReified<ToTypeStr<ReferralInfo>>;
|
|
1438
|
+
static get p(): reified.PhantomReified<"0x0::trading::ReferralInfo">;
|
|
1439
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1440
|
+
invited_from: string;
|
|
1441
|
+
fee_rebate_bp: string;
|
|
1442
|
+
fee_reduction_bp: string;
|
|
1443
|
+
u64_padding: string[];
|
|
1444
|
+
}, {
|
|
1445
|
+
invited_from: string;
|
|
1446
|
+
fee_rebate_bp: string | number | bigint;
|
|
1447
|
+
fee_reduction_bp: string | number | bigint;
|
|
1448
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1449
|
+
length: number;
|
|
1450
|
+
};
|
|
1451
|
+
}>;
|
|
1452
|
+
static fromFields(fields: Record<string, any>): ReferralInfo;
|
|
1453
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): ReferralInfo;
|
|
1454
|
+
static fromBcs(data: Uint8Array): ReferralInfo;
|
|
1455
|
+
toJSONField(): {
|
|
1456
|
+
invitedFrom: string;
|
|
1457
|
+
feeRebateBp: string;
|
|
1458
|
+
feeReductionBp: string;
|
|
1459
|
+
u64Padding: string[];
|
|
1460
|
+
};
|
|
1461
|
+
toJSON(): {
|
|
1462
|
+
invitedFrom: string;
|
|
1463
|
+
feeRebateBp: string;
|
|
1464
|
+
feeReductionBp: string;
|
|
1465
|
+
u64Padding: string[];
|
|
1466
|
+
$typeName: string;
|
|
1467
|
+
$typeArgs: [];
|
|
1468
|
+
};
|
|
1469
|
+
static fromJSONField(field: any): ReferralInfo;
|
|
1470
|
+
static fromJSON(json: Record<string, any>): ReferralInfo;
|
|
1471
|
+
static fromSuiParsedData(content: SuiParsedData): ReferralInfo;
|
|
1472
|
+
static fetch(client: SuiClient, id: string): Promise<ReferralInfo>;
|
|
1473
|
+
}
|
|
1474
|
+
export declare function isReferrals(type: string): boolean;
|
|
1475
|
+
export interface ReferralsFields {
|
|
1476
|
+
id: ToField<UID>;
|
|
1477
|
+
referrals: ToField<Table<"address", ToPhantom<ReferralInfo>>>;
|
|
1478
|
+
rebates: ToField<Table<ToPhantom<TypeName>, ToPhantom<Table<"address", "u64">>>>;
|
|
1479
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1480
|
+
}
|
|
1481
|
+
export type ReferralsReified = Reified<Referrals, ReferralsFields>;
|
|
1482
|
+
export declare class Referrals implements StructClass {
|
|
1483
|
+
static readonly $typeName = "0x0::trading::Referrals";
|
|
1484
|
+
static readonly $numTypeParams = 0;
|
|
1485
|
+
readonly $typeName = "0x0::trading::Referrals";
|
|
1486
|
+
readonly $fullTypeName: "0x0::trading::Referrals";
|
|
1487
|
+
readonly $typeArgs: [];
|
|
1488
|
+
readonly id: ToField<UID>;
|
|
1489
|
+
readonly referrals: ToField<Table<"address", ToPhantom<ReferralInfo>>>;
|
|
1490
|
+
readonly rebates: ToField<Table<ToPhantom<TypeName>, ToPhantom<Table<"address", "u64">>>>;
|
|
1491
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1492
|
+
private constructor();
|
|
1493
|
+
static reified(): ReferralsReified;
|
|
1494
|
+
static get r(): reified.StructClassReified<Referrals, ReferralsFields>;
|
|
1495
|
+
static phantom(): PhantomReified<ToTypeStr<Referrals>>;
|
|
1496
|
+
static get p(): reified.PhantomReified<"0x0::trading::Referrals">;
|
|
1497
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1498
|
+
id: {
|
|
1499
|
+
id: {
|
|
1500
|
+
bytes: string;
|
|
1501
|
+
};
|
|
1502
|
+
};
|
|
1503
|
+
referrals: {
|
|
1504
|
+
id: {
|
|
1505
|
+
id: {
|
|
1506
|
+
bytes: string;
|
|
1507
|
+
};
|
|
1508
|
+
};
|
|
1509
|
+
size: string;
|
|
1510
|
+
};
|
|
1511
|
+
rebates: {
|
|
1512
|
+
id: {
|
|
1513
|
+
id: {
|
|
1514
|
+
bytes: string;
|
|
1515
|
+
};
|
|
1516
|
+
};
|
|
1517
|
+
size: string;
|
|
1518
|
+
};
|
|
1519
|
+
u64_padding: string[];
|
|
1520
|
+
}, {
|
|
1521
|
+
id: {
|
|
1522
|
+
id: {
|
|
1523
|
+
bytes: string;
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1526
|
+
referrals: {
|
|
1527
|
+
id: {
|
|
1528
|
+
id: {
|
|
1529
|
+
bytes: string;
|
|
1530
|
+
};
|
|
1531
|
+
};
|
|
1532
|
+
size: string | number | bigint;
|
|
1533
|
+
};
|
|
1534
|
+
rebates: {
|
|
1535
|
+
id: {
|
|
1536
|
+
id: {
|
|
1537
|
+
bytes: string;
|
|
1538
|
+
};
|
|
1539
|
+
};
|
|
1540
|
+
size: string | number | bigint;
|
|
1541
|
+
};
|
|
1542
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1543
|
+
length: number;
|
|
1544
|
+
};
|
|
1545
|
+
}>;
|
|
1546
|
+
static fromFields(fields: Record<string, any>): Referrals;
|
|
1547
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): Referrals;
|
|
1548
|
+
static fromBcs(data: Uint8Array): Referrals;
|
|
1549
|
+
toJSONField(): {
|
|
1550
|
+
id: string;
|
|
1551
|
+
referrals: {
|
|
1552
|
+
id: string;
|
|
1553
|
+
size: string;
|
|
1554
|
+
};
|
|
1555
|
+
rebates: {
|
|
1556
|
+
id: string;
|
|
1557
|
+
size: string;
|
|
1558
|
+
};
|
|
1559
|
+
u64Padding: string[];
|
|
1560
|
+
};
|
|
1561
|
+
toJSON(): {
|
|
1562
|
+
id: string;
|
|
1563
|
+
referrals: {
|
|
1564
|
+
id: string;
|
|
1565
|
+
size: string;
|
|
1566
|
+
};
|
|
1567
|
+
rebates: {
|
|
1568
|
+
id: string;
|
|
1569
|
+
size: string;
|
|
1570
|
+
};
|
|
1571
|
+
u64Padding: string[];
|
|
1572
|
+
$typeName: string;
|
|
1573
|
+
$typeArgs: [];
|
|
1574
|
+
};
|
|
1575
|
+
static fromJSONField(field: any): Referrals;
|
|
1576
|
+
static fromJSON(json: Record<string, any>): Referrals;
|
|
1577
|
+
static fromSuiParsedData(content: SuiParsedData): Referrals;
|
|
1578
|
+
static fetch(client: SuiClient, id: string): Promise<Referrals>;
|
|
1579
|
+
}
|
|
1580
|
+
export declare function isResumeMarketEvent(type: string): boolean;
|
|
1581
|
+
export interface ResumeMarketEventFields {
|
|
1582
|
+
sender: ToField<"address">;
|
|
1583
|
+
index: ToField<"u64">;
|
|
1584
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1585
|
+
}
|
|
1586
|
+
export type ResumeMarketEventReified = Reified<ResumeMarketEvent, ResumeMarketEventFields>;
|
|
1587
|
+
export declare class ResumeMarketEvent implements StructClass {
|
|
1588
|
+
static readonly $typeName = "0x0::trading::ResumeMarketEvent";
|
|
1589
|
+
static readonly $numTypeParams = 0;
|
|
1590
|
+
readonly $typeName = "0x0::trading::ResumeMarketEvent";
|
|
1591
|
+
readonly $fullTypeName: "0x0::trading::ResumeMarketEvent";
|
|
1592
|
+
readonly $typeArgs: [];
|
|
1593
|
+
readonly sender: ToField<"address">;
|
|
1594
|
+
readonly index: ToField<"u64">;
|
|
1595
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1596
|
+
private constructor();
|
|
1597
|
+
static reified(): ResumeMarketEventReified;
|
|
1598
|
+
static get r(): reified.StructClassReified<ResumeMarketEvent, ResumeMarketEventFields>;
|
|
1599
|
+
static phantom(): PhantomReified<ToTypeStr<ResumeMarketEvent>>;
|
|
1600
|
+
static get p(): reified.PhantomReified<"0x0::trading::ResumeMarketEvent">;
|
|
1601
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1602
|
+
sender: string;
|
|
1603
|
+
index: string;
|
|
1604
|
+
u64_padding: string[];
|
|
1605
|
+
}, {
|
|
1606
|
+
sender: string;
|
|
1607
|
+
index: string | number | bigint;
|
|
1608
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1609
|
+
length: number;
|
|
1610
|
+
};
|
|
1611
|
+
}>;
|
|
1612
|
+
static fromFields(fields: Record<string, any>): ResumeMarketEvent;
|
|
1613
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): ResumeMarketEvent;
|
|
1614
|
+
static fromBcs(data: Uint8Array): ResumeMarketEvent;
|
|
1615
|
+
toJSONField(): {
|
|
1616
|
+
sender: string;
|
|
1617
|
+
index: string;
|
|
1618
|
+
u64Padding: string[];
|
|
1619
|
+
};
|
|
1620
|
+
toJSON(): {
|
|
1621
|
+
sender: string;
|
|
1622
|
+
index: string;
|
|
1623
|
+
u64Padding: string[];
|
|
1624
|
+
$typeName: string;
|
|
1625
|
+
$typeArgs: [];
|
|
1626
|
+
};
|
|
1627
|
+
static fromJSONField(field: any): ResumeMarketEvent;
|
|
1628
|
+
static fromJSON(json: Record<string, any>): ResumeMarketEvent;
|
|
1629
|
+
static fromSuiParsedData(content: SuiParsedData): ResumeMarketEvent;
|
|
1630
|
+
static fetch(client: SuiClient, id: string): Promise<ResumeMarketEvent>;
|
|
1631
|
+
}
|
|
1632
|
+
export declare function isResumeTradingSymbolEvent(type: string): boolean;
|
|
1633
|
+
export interface ResumeTradingSymbolEventFields {
|
|
1634
|
+
sender: ToField<"address">;
|
|
1635
|
+
index: ToField<"u64">;
|
|
1636
|
+
resumedBaseToken: ToField<TypeName>;
|
|
1637
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1638
|
+
}
|
|
1639
|
+
export type ResumeTradingSymbolEventReified = Reified<ResumeTradingSymbolEvent, ResumeTradingSymbolEventFields>;
|
|
1640
|
+
export declare class ResumeTradingSymbolEvent implements StructClass {
|
|
1641
|
+
static readonly $typeName = "0x0::trading::ResumeTradingSymbolEvent";
|
|
1642
|
+
static readonly $numTypeParams = 0;
|
|
1643
|
+
readonly $typeName = "0x0::trading::ResumeTradingSymbolEvent";
|
|
1644
|
+
readonly $fullTypeName: "0x0::trading::ResumeTradingSymbolEvent";
|
|
1645
|
+
readonly $typeArgs: [];
|
|
1646
|
+
readonly sender: ToField<"address">;
|
|
1647
|
+
readonly index: ToField<"u64">;
|
|
1648
|
+
readonly resumedBaseToken: ToField<TypeName>;
|
|
1649
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1650
|
+
private constructor();
|
|
1651
|
+
static reified(): ResumeTradingSymbolEventReified;
|
|
1652
|
+
static get r(): reified.StructClassReified<ResumeTradingSymbolEvent, ResumeTradingSymbolEventFields>;
|
|
1653
|
+
static phantom(): PhantomReified<ToTypeStr<ResumeTradingSymbolEvent>>;
|
|
1654
|
+
static get p(): reified.PhantomReified<"0x0::trading::ResumeTradingSymbolEvent">;
|
|
1655
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1656
|
+
sender: string;
|
|
1657
|
+
index: string;
|
|
1658
|
+
resumed_base_token: {
|
|
1659
|
+
name: {
|
|
1660
|
+
bytes: number[];
|
|
1661
|
+
};
|
|
1662
|
+
};
|
|
1663
|
+
u64_padding: string[];
|
|
1664
|
+
}, {
|
|
1665
|
+
sender: string;
|
|
1666
|
+
index: string | number | bigint;
|
|
1667
|
+
resumed_base_token: {
|
|
1668
|
+
name: {
|
|
1669
|
+
bytes: Iterable<number> & {
|
|
1670
|
+
length: number;
|
|
1671
|
+
};
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1675
|
+
length: number;
|
|
1676
|
+
};
|
|
1677
|
+
}>;
|
|
1678
|
+
static fromFields(fields: Record<string, any>): ResumeTradingSymbolEvent;
|
|
1679
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): ResumeTradingSymbolEvent;
|
|
1680
|
+
static fromBcs(data: Uint8Array): ResumeTradingSymbolEvent;
|
|
1681
|
+
toJSONField(): {
|
|
1682
|
+
sender: string;
|
|
1683
|
+
index: string;
|
|
1684
|
+
resumedBaseToken: {
|
|
1685
|
+
name: string;
|
|
1686
|
+
};
|
|
1687
|
+
u64Padding: string[];
|
|
1688
|
+
};
|
|
1689
|
+
toJSON(): {
|
|
1690
|
+
sender: string;
|
|
1691
|
+
index: string;
|
|
1692
|
+
resumedBaseToken: {
|
|
1693
|
+
name: string;
|
|
1694
|
+
};
|
|
1695
|
+
u64Padding: string[];
|
|
1696
|
+
$typeName: string;
|
|
1697
|
+
$typeArgs: [];
|
|
1698
|
+
};
|
|
1699
|
+
static fromJSONField(field: any): ResumeTradingSymbolEvent;
|
|
1700
|
+
static fromJSON(json: Record<string, any>): ResumeTradingSymbolEvent;
|
|
1701
|
+
static fromSuiParsedData(content: SuiParsedData): ResumeTradingSymbolEvent;
|
|
1702
|
+
static fetch(client: SuiClient, id: string): Promise<ResumeTradingSymbolEvent>;
|
|
1703
|
+
}
|
|
1704
|
+
export declare function isSuspendMarketEvent(type: string): boolean;
|
|
1705
|
+
export interface SuspendMarketEventFields {
|
|
1706
|
+
sender: ToField<"address">;
|
|
1707
|
+
index: ToField<"u64">;
|
|
1708
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1709
|
+
}
|
|
1710
|
+
export type SuspendMarketEventReified = Reified<SuspendMarketEvent, SuspendMarketEventFields>;
|
|
1711
|
+
export declare class SuspendMarketEvent implements StructClass {
|
|
1712
|
+
static readonly $typeName = "0x0::trading::SuspendMarketEvent";
|
|
1713
|
+
static readonly $numTypeParams = 0;
|
|
1714
|
+
readonly $typeName = "0x0::trading::SuspendMarketEvent";
|
|
1715
|
+
readonly $fullTypeName: "0x0::trading::SuspendMarketEvent";
|
|
1716
|
+
readonly $typeArgs: [];
|
|
1717
|
+
readonly sender: ToField<"address">;
|
|
1718
|
+
readonly index: ToField<"u64">;
|
|
1719
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1720
|
+
private constructor();
|
|
1721
|
+
static reified(): SuspendMarketEventReified;
|
|
1722
|
+
static get r(): reified.StructClassReified<SuspendMarketEvent, SuspendMarketEventFields>;
|
|
1723
|
+
static phantom(): PhantomReified<ToTypeStr<SuspendMarketEvent>>;
|
|
1724
|
+
static get p(): reified.PhantomReified<"0x0::trading::SuspendMarketEvent">;
|
|
1725
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1726
|
+
sender: string;
|
|
1727
|
+
index: string;
|
|
1728
|
+
u64_padding: string[];
|
|
1729
|
+
}, {
|
|
1730
|
+
sender: string;
|
|
1731
|
+
index: string | number | bigint;
|
|
1732
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1733
|
+
length: number;
|
|
1734
|
+
};
|
|
1735
|
+
}>;
|
|
1736
|
+
static fromFields(fields: Record<string, any>): SuspendMarketEvent;
|
|
1737
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): SuspendMarketEvent;
|
|
1738
|
+
static fromBcs(data: Uint8Array): SuspendMarketEvent;
|
|
1739
|
+
toJSONField(): {
|
|
1740
|
+
sender: string;
|
|
1741
|
+
index: string;
|
|
1742
|
+
u64Padding: string[];
|
|
1743
|
+
};
|
|
1744
|
+
toJSON(): {
|
|
1745
|
+
sender: string;
|
|
1746
|
+
index: string;
|
|
1747
|
+
u64Padding: string[];
|
|
1748
|
+
$typeName: string;
|
|
1749
|
+
$typeArgs: [];
|
|
1750
|
+
};
|
|
1751
|
+
static fromJSONField(field: any): SuspendMarketEvent;
|
|
1752
|
+
static fromJSON(json: Record<string, any>): SuspendMarketEvent;
|
|
1753
|
+
static fromSuiParsedData(content: SuiParsedData): SuspendMarketEvent;
|
|
1754
|
+
static fetch(client: SuiClient, id: string): Promise<SuspendMarketEvent>;
|
|
1755
|
+
}
|
|
1756
|
+
export declare function isSuspendTradingSymbolEvent(type: string): boolean;
|
|
1757
|
+
export interface SuspendTradingSymbolEventFields {
|
|
1758
|
+
sender: ToField<"address">;
|
|
1759
|
+
index: ToField<"u64">;
|
|
1760
|
+
suspendedBaseToken: ToField<TypeName>;
|
|
1761
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1762
|
+
}
|
|
1763
|
+
export type SuspendTradingSymbolEventReified = Reified<SuspendTradingSymbolEvent, SuspendTradingSymbolEventFields>;
|
|
1764
|
+
export declare class SuspendTradingSymbolEvent implements StructClass {
|
|
1765
|
+
static readonly $typeName = "0x0::trading::SuspendTradingSymbolEvent";
|
|
1766
|
+
static readonly $numTypeParams = 0;
|
|
1767
|
+
readonly $typeName = "0x0::trading::SuspendTradingSymbolEvent";
|
|
1768
|
+
readonly $fullTypeName: "0x0::trading::SuspendTradingSymbolEvent";
|
|
1769
|
+
readonly $typeArgs: [];
|
|
1770
|
+
readonly sender: ToField<"address">;
|
|
1771
|
+
readonly index: ToField<"u64">;
|
|
1772
|
+
readonly suspendedBaseToken: ToField<TypeName>;
|
|
1773
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1774
|
+
private constructor();
|
|
1775
|
+
static reified(): SuspendTradingSymbolEventReified;
|
|
1776
|
+
static get r(): reified.StructClassReified<SuspendTradingSymbolEvent, SuspendTradingSymbolEventFields>;
|
|
1777
|
+
static phantom(): PhantomReified<ToTypeStr<SuspendTradingSymbolEvent>>;
|
|
1778
|
+
static get p(): reified.PhantomReified<"0x0::trading::SuspendTradingSymbolEvent">;
|
|
1779
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1780
|
+
sender: string;
|
|
1781
|
+
index: string;
|
|
1782
|
+
suspended_base_token: {
|
|
1783
|
+
name: {
|
|
1784
|
+
bytes: number[];
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
u64_padding: string[];
|
|
1788
|
+
}, {
|
|
1789
|
+
sender: string;
|
|
1790
|
+
index: string | number | bigint;
|
|
1791
|
+
suspended_base_token: {
|
|
1792
|
+
name: {
|
|
1793
|
+
bytes: Iterable<number> & {
|
|
1794
|
+
length: number;
|
|
1795
|
+
};
|
|
1796
|
+
};
|
|
1797
|
+
};
|
|
1798
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1799
|
+
length: number;
|
|
1800
|
+
};
|
|
1801
|
+
}>;
|
|
1802
|
+
static fromFields(fields: Record<string, any>): SuspendTradingSymbolEvent;
|
|
1803
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): SuspendTradingSymbolEvent;
|
|
1804
|
+
static fromBcs(data: Uint8Array): SuspendTradingSymbolEvent;
|
|
1805
|
+
toJSONField(): {
|
|
1806
|
+
sender: string;
|
|
1807
|
+
index: string;
|
|
1808
|
+
suspendedBaseToken: {
|
|
1809
|
+
name: string;
|
|
1810
|
+
};
|
|
1811
|
+
u64Padding: string[];
|
|
1812
|
+
};
|
|
1813
|
+
toJSON(): {
|
|
1814
|
+
sender: string;
|
|
1815
|
+
index: string;
|
|
1816
|
+
suspendedBaseToken: {
|
|
1817
|
+
name: string;
|
|
1818
|
+
};
|
|
1819
|
+
u64Padding: string[];
|
|
1820
|
+
$typeName: string;
|
|
1821
|
+
$typeArgs: [];
|
|
1822
|
+
};
|
|
1823
|
+
static fromJSONField(field: any): SuspendTradingSymbolEvent;
|
|
1824
|
+
static fromJSON(json: Record<string, any>): SuspendTradingSymbolEvent;
|
|
1825
|
+
static fromSuiParsedData(content: SuiParsedData): SuspendTradingSymbolEvent;
|
|
1826
|
+
static fetch(client: SuiClient, id: string): Promise<SuspendTradingSymbolEvent>;
|
|
1827
|
+
}
|
|
1828
|
+
export declare function isSymbolMarket(type: string): boolean;
|
|
1829
|
+
export interface SymbolMarketFields {
|
|
1830
|
+
id: ToField<UID>;
|
|
1831
|
+
userPositions: ToField<UID>;
|
|
1832
|
+
userOrders: ToField<UID>;
|
|
1833
|
+
marketInfo: ToField<MarketInfo>;
|
|
1834
|
+
marketConfig: ToField<MarketConfig>;
|
|
1835
|
+
}
|
|
1836
|
+
export type SymbolMarketReified = Reified<SymbolMarket, SymbolMarketFields>;
|
|
1837
|
+
export declare class SymbolMarket implements StructClass {
|
|
1838
|
+
static readonly $typeName = "0x0::trading::SymbolMarket";
|
|
1839
|
+
static readonly $numTypeParams = 0;
|
|
1840
|
+
readonly $typeName = "0x0::trading::SymbolMarket";
|
|
1841
|
+
readonly $fullTypeName: "0x0::trading::SymbolMarket";
|
|
1842
|
+
readonly $typeArgs: [];
|
|
1843
|
+
readonly id: ToField<UID>;
|
|
1844
|
+
readonly userPositions: ToField<UID>;
|
|
1845
|
+
readonly userOrders: ToField<UID>;
|
|
1846
|
+
readonly marketInfo: ToField<MarketInfo>;
|
|
1847
|
+
readonly marketConfig: ToField<MarketConfig>;
|
|
1848
|
+
private constructor();
|
|
1849
|
+
static reified(): SymbolMarketReified;
|
|
1850
|
+
static get r(): reified.StructClassReified<SymbolMarket, SymbolMarketFields>;
|
|
1851
|
+
static phantom(): PhantomReified<ToTypeStr<SymbolMarket>>;
|
|
1852
|
+
static get p(): reified.PhantomReified<"0x0::trading::SymbolMarket">;
|
|
1853
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1854
|
+
id: {
|
|
1855
|
+
id: {
|
|
1856
|
+
bytes: string;
|
|
1857
|
+
};
|
|
1858
|
+
};
|
|
1859
|
+
user_positions: {
|
|
1860
|
+
id: {
|
|
1861
|
+
bytes: string;
|
|
1862
|
+
};
|
|
1863
|
+
};
|
|
1864
|
+
user_orders: {
|
|
1865
|
+
id: {
|
|
1866
|
+
bytes: string;
|
|
1867
|
+
};
|
|
1868
|
+
};
|
|
1869
|
+
market_info: {
|
|
1870
|
+
is_active: boolean;
|
|
1871
|
+
size_decimal: string;
|
|
1872
|
+
user_position_side: boolean;
|
|
1873
|
+
position_size: string;
|
|
1874
|
+
next_position_id: string;
|
|
1875
|
+
open_order_side: boolean;
|
|
1876
|
+
open_order_size: string;
|
|
1877
|
+
next_order_id: string;
|
|
1878
|
+
u64_padding: string[];
|
|
1879
|
+
};
|
|
1880
|
+
market_config: {
|
|
1881
|
+
oracle_id: string;
|
|
1882
|
+
max_leverage_pct: string;
|
|
1883
|
+
min_size: string;
|
|
1884
|
+
lot_size: string;
|
|
1885
|
+
trading_fee_rate: string;
|
|
1886
|
+
trading_fee_decimal: string;
|
|
1887
|
+
u64_padding: string[];
|
|
1888
|
+
};
|
|
1889
|
+
}, {
|
|
1890
|
+
id: {
|
|
1891
|
+
id: {
|
|
1892
|
+
bytes: string;
|
|
1893
|
+
};
|
|
1894
|
+
};
|
|
1895
|
+
user_positions: {
|
|
1896
|
+
id: {
|
|
1897
|
+
bytes: string;
|
|
1898
|
+
};
|
|
1899
|
+
};
|
|
1900
|
+
user_orders: {
|
|
1901
|
+
id: {
|
|
1902
|
+
bytes: string;
|
|
1903
|
+
};
|
|
1904
|
+
};
|
|
1905
|
+
market_info: {
|
|
1906
|
+
is_active: boolean;
|
|
1907
|
+
size_decimal: string | number | bigint;
|
|
1908
|
+
user_position_side: boolean;
|
|
1909
|
+
position_size: string | number | bigint;
|
|
1910
|
+
next_position_id: string | number | bigint;
|
|
1911
|
+
open_order_side: boolean;
|
|
1912
|
+
open_order_size: string | number | bigint;
|
|
1913
|
+
next_order_id: string | number | bigint;
|
|
1914
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1915
|
+
length: number;
|
|
1916
|
+
};
|
|
1917
|
+
};
|
|
1918
|
+
market_config: {
|
|
1919
|
+
oracle_id: string;
|
|
1920
|
+
max_leverage_pct: string | number | bigint;
|
|
1921
|
+
min_size: string | number | bigint;
|
|
1922
|
+
lot_size: string | number | bigint;
|
|
1923
|
+
trading_fee_rate: string | number | bigint;
|
|
1924
|
+
trading_fee_decimal: string | number | bigint;
|
|
1925
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
1926
|
+
length: number;
|
|
1927
|
+
};
|
|
1928
|
+
};
|
|
1929
|
+
}>;
|
|
1930
|
+
static fromFields(fields: Record<string, any>): SymbolMarket;
|
|
1931
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): SymbolMarket;
|
|
1932
|
+
static fromBcs(data: Uint8Array): SymbolMarket;
|
|
1933
|
+
toJSONField(): {
|
|
1934
|
+
id: string;
|
|
1935
|
+
userPositions: string;
|
|
1936
|
+
userOrders: string;
|
|
1937
|
+
marketInfo: {
|
|
1938
|
+
isActive: boolean;
|
|
1939
|
+
sizeDecimal: string;
|
|
1940
|
+
userPositionSide: boolean;
|
|
1941
|
+
positionSize: string;
|
|
1942
|
+
nextPositionId: string;
|
|
1943
|
+
openOrderSide: boolean;
|
|
1944
|
+
openOrderSize: string;
|
|
1945
|
+
nextOrderId: string;
|
|
1946
|
+
u64Padding: string[];
|
|
1947
|
+
};
|
|
1948
|
+
marketConfig: {
|
|
1949
|
+
oracleId: string;
|
|
1950
|
+
maxLeveragePct: string;
|
|
1951
|
+
minSize: string;
|
|
1952
|
+
lotSize: string;
|
|
1953
|
+
tradingFeeRate: string;
|
|
1954
|
+
tradingFeeDecimal: string;
|
|
1955
|
+
u64Padding: string[];
|
|
1956
|
+
};
|
|
1957
|
+
};
|
|
1958
|
+
toJSON(): {
|
|
1959
|
+
id: string;
|
|
1960
|
+
userPositions: string;
|
|
1961
|
+
userOrders: string;
|
|
1962
|
+
marketInfo: {
|
|
1963
|
+
isActive: boolean;
|
|
1964
|
+
sizeDecimal: string;
|
|
1965
|
+
userPositionSide: boolean;
|
|
1966
|
+
positionSize: string;
|
|
1967
|
+
nextPositionId: string;
|
|
1968
|
+
openOrderSide: boolean;
|
|
1969
|
+
openOrderSize: string;
|
|
1970
|
+
nextOrderId: string;
|
|
1971
|
+
u64Padding: string[];
|
|
1972
|
+
};
|
|
1973
|
+
marketConfig: {
|
|
1974
|
+
oracleId: string;
|
|
1975
|
+
maxLeveragePct: string;
|
|
1976
|
+
minSize: string;
|
|
1977
|
+
lotSize: string;
|
|
1978
|
+
tradingFeeRate: string;
|
|
1979
|
+
tradingFeeDecimal: string;
|
|
1980
|
+
u64Padding: string[];
|
|
1981
|
+
};
|
|
1982
|
+
$typeName: string;
|
|
1983
|
+
$typeArgs: [];
|
|
1984
|
+
};
|
|
1985
|
+
static fromJSONField(field: any): SymbolMarket;
|
|
1986
|
+
static fromJSON(json: Record<string, any>): SymbolMarket;
|
|
1987
|
+
static fromSuiParsedData(content: SuiParsedData): SymbolMarket;
|
|
1988
|
+
static fetch(client: SuiClient, id: string): Promise<SymbolMarket>;
|
|
1989
|
+
}
|
|
1990
|
+
export declare function isUpdateMarketConfigEvent(type: string): boolean;
|
|
1991
|
+
export interface UpdateMarketConfigEventFields {
|
|
1992
|
+
sender: ToField<"address">;
|
|
1993
|
+
index: ToField<"u64">;
|
|
1994
|
+
baseTokenType: ToField<TypeName>;
|
|
1995
|
+
previousMarketConfig: ToField<MarketConfig>;
|
|
1996
|
+
newMarketConfig: ToField<MarketConfig>;
|
|
1997
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
1998
|
+
}
|
|
1999
|
+
export type UpdateMarketConfigEventReified = Reified<UpdateMarketConfigEvent, UpdateMarketConfigEventFields>;
|
|
2000
|
+
export declare class UpdateMarketConfigEvent implements StructClass {
|
|
2001
|
+
static readonly $typeName = "0x0::trading::UpdateMarketConfigEvent";
|
|
2002
|
+
static readonly $numTypeParams = 0;
|
|
2003
|
+
readonly $typeName = "0x0::trading::UpdateMarketConfigEvent";
|
|
2004
|
+
readonly $fullTypeName: "0x0::trading::UpdateMarketConfigEvent";
|
|
2005
|
+
readonly $typeArgs: [];
|
|
2006
|
+
readonly sender: ToField<"address">;
|
|
2007
|
+
readonly index: ToField<"u64">;
|
|
2008
|
+
readonly baseTokenType: ToField<TypeName>;
|
|
2009
|
+
readonly previousMarketConfig: ToField<MarketConfig>;
|
|
2010
|
+
readonly newMarketConfig: ToField<MarketConfig>;
|
|
2011
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2012
|
+
private constructor();
|
|
2013
|
+
static reified(): UpdateMarketConfigEventReified;
|
|
2014
|
+
static get r(): reified.StructClassReified<UpdateMarketConfigEvent, UpdateMarketConfigEventFields>;
|
|
2015
|
+
static phantom(): PhantomReified<ToTypeStr<UpdateMarketConfigEvent>>;
|
|
2016
|
+
static get p(): reified.PhantomReified<"0x0::trading::UpdateMarketConfigEvent">;
|
|
2017
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2018
|
+
sender: string;
|
|
2019
|
+
index: string;
|
|
2020
|
+
base_token_type: {
|
|
2021
|
+
name: {
|
|
2022
|
+
bytes: number[];
|
|
2023
|
+
};
|
|
2024
|
+
};
|
|
2025
|
+
previous_market_config: {
|
|
2026
|
+
oracle_id: string;
|
|
2027
|
+
max_leverage_pct: string;
|
|
2028
|
+
min_size: string;
|
|
2029
|
+
lot_size: string;
|
|
2030
|
+
trading_fee_rate: string;
|
|
2031
|
+
trading_fee_decimal: string;
|
|
2032
|
+
u64_padding: string[];
|
|
2033
|
+
};
|
|
2034
|
+
new_market_config: {
|
|
2035
|
+
oracle_id: string;
|
|
2036
|
+
max_leverage_pct: string;
|
|
2037
|
+
min_size: string;
|
|
2038
|
+
lot_size: string;
|
|
2039
|
+
trading_fee_rate: string;
|
|
2040
|
+
trading_fee_decimal: string;
|
|
2041
|
+
u64_padding: string[];
|
|
2042
|
+
};
|
|
2043
|
+
u64_padding: string[];
|
|
2044
|
+
}, {
|
|
2045
|
+
sender: string;
|
|
2046
|
+
index: string | number | bigint;
|
|
2047
|
+
base_token_type: {
|
|
2048
|
+
name: {
|
|
2049
|
+
bytes: Iterable<number> & {
|
|
2050
|
+
length: number;
|
|
2051
|
+
};
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
previous_market_config: {
|
|
2055
|
+
oracle_id: string;
|
|
2056
|
+
max_leverage_pct: string | number | bigint;
|
|
2057
|
+
min_size: string | number | bigint;
|
|
2058
|
+
lot_size: string | number | bigint;
|
|
2059
|
+
trading_fee_rate: string | number | bigint;
|
|
2060
|
+
trading_fee_decimal: string | number | bigint;
|
|
2061
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
2062
|
+
length: number;
|
|
2063
|
+
};
|
|
2064
|
+
};
|
|
2065
|
+
new_market_config: {
|
|
2066
|
+
oracle_id: string;
|
|
2067
|
+
max_leverage_pct: string | number | bigint;
|
|
2068
|
+
min_size: string | number | bigint;
|
|
2069
|
+
lot_size: string | number | bigint;
|
|
2070
|
+
trading_fee_rate: string | number | bigint;
|
|
2071
|
+
trading_fee_decimal: string | number | bigint;
|
|
2072
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
2073
|
+
length: number;
|
|
2074
|
+
};
|
|
2075
|
+
};
|
|
2076
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
2077
|
+
length: number;
|
|
2078
|
+
};
|
|
2079
|
+
}>;
|
|
2080
|
+
static fromFields(fields: Record<string, any>): UpdateMarketConfigEvent;
|
|
2081
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateMarketConfigEvent;
|
|
2082
|
+
static fromBcs(data: Uint8Array): UpdateMarketConfigEvent;
|
|
2083
|
+
toJSONField(): {
|
|
2084
|
+
sender: string;
|
|
2085
|
+
index: string;
|
|
2086
|
+
baseTokenType: {
|
|
2087
|
+
name: string;
|
|
2088
|
+
};
|
|
2089
|
+
previousMarketConfig: {
|
|
2090
|
+
oracleId: string;
|
|
2091
|
+
maxLeveragePct: string;
|
|
2092
|
+
minSize: string;
|
|
2093
|
+
lotSize: string;
|
|
2094
|
+
tradingFeeRate: string;
|
|
2095
|
+
tradingFeeDecimal: string;
|
|
2096
|
+
u64Padding: string[];
|
|
2097
|
+
};
|
|
2098
|
+
newMarketConfig: {
|
|
2099
|
+
oracleId: string;
|
|
2100
|
+
maxLeveragePct: string;
|
|
2101
|
+
minSize: string;
|
|
2102
|
+
lotSize: string;
|
|
2103
|
+
tradingFeeRate: string;
|
|
2104
|
+
tradingFeeDecimal: string;
|
|
2105
|
+
u64Padding: string[];
|
|
2106
|
+
};
|
|
2107
|
+
u64Padding: string[];
|
|
2108
|
+
};
|
|
2109
|
+
toJSON(): {
|
|
2110
|
+
sender: string;
|
|
2111
|
+
index: string;
|
|
2112
|
+
baseTokenType: {
|
|
2113
|
+
name: string;
|
|
2114
|
+
};
|
|
2115
|
+
previousMarketConfig: {
|
|
2116
|
+
oracleId: string;
|
|
2117
|
+
maxLeveragePct: string;
|
|
2118
|
+
minSize: string;
|
|
2119
|
+
lotSize: string;
|
|
2120
|
+
tradingFeeRate: string;
|
|
2121
|
+
tradingFeeDecimal: string;
|
|
2122
|
+
u64Padding: string[];
|
|
2123
|
+
};
|
|
2124
|
+
newMarketConfig: {
|
|
2125
|
+
oracleId: string;
|
|
2126
|
+
maxLeveragePct: string;
|
|
2127
|
+
minSize: string;
|
|
2128
|
+
lotSize: string;
|
|
2129
|
+
tradingFeeRate: string;
|
|
2130
|
+
tradingFeeDecimal: string;
|
|
2131
|
+
u64Padding: string[];
|
|
2132
|
+
};
|
|
2133
|
+
u64Padding: string[];
|
|
2134
|
+
$typeName: string;
|
|
2135
|
+
$typeArgs: [];
|
|
2136
|
+
};
|
|
2137
|
+
static fromJSONField(field: any): UpdateMarketConfigEvent;
|
|
2138
|
+
static fromJSON(json: Record<string, any>): UpdateMarketConfigEvent;
|
|
2139
|
+
static fromSuiParsedData(content: SuiParsedData): UpdateMarketConfigEvent;
|
|
2140
|
+
static fetch(client: SuiClient, id: string): Promise<UpdateMarketConfigEvent>;
|
|
2141
|
+
}
|
|
2142
|
+
export declare function isUserOrders(type: string): boolean;
|
|
2143
|
+
export interface UserOrdersFields {
|
|
2144
|
+
id: ToField<UID>;
|
|
2145
|
+
}
|
|
2146
|
+
export type UserOrdersReified = Reified<UserOrders, UserOrdersFields>;
|
|
2147
|
+
export declare class UserOrders implements StructClass {
|
|
2148
|
+
static readonly $typeName = "0x0::trading::UserOrders";
|
|
2149
|
+
static readonly $numTypeParams = 0;
|
|
2150
|
+
readonly $typeName = "0x0::trading::UserOrders";
|
|
2151
|
+
readonly $fullTypeName: "0x0::trading::UserOrders";
|
|
2152
|
+
readonly $typeArgs: [];
|
|
2153
|
+
readonly id: ToField<UID>;
|
|
2154
|
+
private constructor();
|
|
2155
|
+
static reified(): UserOrdersReified;
|
|
2156
|
+
static get r(): reified.StructClassReified<UserOrders, UserOrdersFields>;
|
|
2157
|
+
static phantom(): PhantomReified<ToTypeStr<UserOrders>>;
|
|
2158
|
+
static get p(): reified.PhantomReified<"0x0::trading::UserOrders">;
|
|
2159
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2160
|
+
id: {
|
|
2161
|
+
id: {
|
|
2162
|
+
bytes: string;
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
}, {
|
|
2166
|
+
id: {
|
|
2167
|
+
id: {
|
|
2168
|
+
bytes: string;
|
|
2169
|
+
};
|
|
2170
|
+
};
|
|
2171
|
+
}>;
|
|
2172
|
+
static fromFields(fields: Record<string, any>): UserOrders;
|
|
2173
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): UserOrders;
|
|
2174
|
+
static fromBcs(data: Uint8Array): UserOrders;
|
|
2175
|
+
toJSONField(): {
|
|
2176
|
+
id: string;
|
|
2177
|
+
};
|
|
2178
|
+
toJSON(): {
|
|
2179
|
+
id: string;
|
|
2180
|
+
$typeName: string;
|
|
2181
|
+
$typeArgs: [];
|
|
2182
|
+
};
|
|
2183
|
+
static fromJSONField(field: any): UserOrders;
|
|
2184
|
+
static fromJSON(json: Record<string, any>): UserOrders;
|
|
2185
|
+
static fromSuiParsedData(content: SuiParsedData): UserOrders;
|
|
2186
|
+
static fetch(client: SuiClient, id: string): Promise<UserOrders>;
|
|
2187
|
+
}
|
|
2188
|
+
export declare function isUserPositions(type: string): boolean;
|
|
2189
|
+
export interface UserPositionsFields {
|
|
2190
|
+
id: ToField<UID>;
|
|
2191
|
+
}
|
|
2192
|
+
export type UserPositionsReified = Reified<UserPositions, UserPositionsFields>;
|
|
2193
|
+
export declare class UserPositions implements StructClass {
|
|
2194
|
+
static readonly $typeName = "0x0::trading::UserPositions";
|
|
2195
|
+
static readonly $numTypeParams = 0;
|
|
2196
|
+
readonly $typeName = "0x0::trading::UserPositions";
|
|
2197
|
+
readonly $fullTypeName: "0x0::trading::UserPositions";
|
|
2198
|
+
readonly $typeArgs: [];
|
|
2199
|
+
readonly id: ToField<UID>;
|
|
2200
|
+
private constructor();
|
|
2201
|
+
static reified(): UserPositionsReified;
|
|
2202
|
+
static get r(): reified.StructClassReified<UserPositions, UserPositionsFields>;
|
|
2203
|
+
static phantom(): PhantomReified<ToTypeStr<UserPositions>>;
|
|
2204
|
+
static get p(): reified.PhantomReified<"0x0::trading::UserPositions">;
|
|
2205
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2206
|
+
id: {
|
|
2207
|
+
id: {
|
|
2208
|
+
bytes: string;
|
|
2209
|
+
};
|
|
2210
|
+
};
|
|
2211
|
+
}, {
|
|
2212
|
+
id: {
|
|
2213
|
+
id: {
|
|
2214
|
+
bytes: string;
|
|
2215
|
+
};
|
|
2216
|
+
};
|
|
2217
|
+
}>;
|
|
2218
|
+
static fromFields(fields: Record<string, any>): UserPositions;
|
|
2219
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): UserPositions;
|
|
2220
|
+
static fromBcs(data: Uint8Array): UserPositions;
|
|
2221
|
+
toJSONField(): {
|
|
2222
|
+
id: string;
|
|
2223
|
+
};
|
|
2224
|
+
toJSON(): {
|
|
2225
|
+
id: string;
|
|
2226
|
+
$typeName: string;
|
|
2227
|
+
$typeArgs: [];
|
|
2228
|
+
};
|
|
2229
|
+
static fromJSONField(field: any): UserPositions;
|
|
2230
|
+
static fromJSON(json: Record<string, any>): UserPositions;
|
|
2231
|
+
static fromSuiParsedData(content: SuiParsedData): UserPositions;
|
|
2232
|
+
static fetch(client: SuiClient, id: string): Promise<UserPositions>;
|
|
2233
|
+
}
|
|
2234
|
+
export declare function isWithdrawReferralRebateEvent(type: string): boolean;
|
|
2235
|
+
export interface WithdrawReferralRebateEventFields {
|
|
2236
|
+
sender: ToField<"address">;
|
|
2237
|
+
rebateToken: ToField<TypeName>;
|
|
2238
|
+
amount: ToField<"u64">;
|
|
2239
|
+
u64Padding: ToField<Vector<"u64">>;
|
|
2240
|
+
}
|
|
2241
|
+
export type WithdrawReferralRebateEventReified = Reified<WithdrawReferralRebateEvent, WithdrawReferralRebateEventFields>;
|
|
2242
|
+
export declare class WithdrawReferralRebateEvent implements StructClass {
|
|
2243
|
+
static readonly $typeName = "0x0::trading::WithdrawReferralRebateEvent";
|
|
2244
|
+
static readonly $numTypeParams = 0;
|
|
2245
|
+
readonly $typeName = "0x0::trading::WithdrawReferralRebateEvent";
|
|
2246
|
+
readonly $fullTypeName: "0x0::trading::WithdrawReferralRebateEvent";
|
|
2247
|
+
readonly $typeArgs: [];
|
|
2248
|
+
readonly sender: ToField<"address">;
|
|
2249
|
+
readonly rebateToken: ToField<TypeName>;
|
|
2250
|
+
readonly amount: ToField<"u64">;
|
|
2251
|
+
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2252
|
+
private constructor();
|
|
2253
|
+
static reified(): WithdrawReferralRebateEventReified;
|
|
2254
|
+
static get r(): reified.StructClassReified<WithdrawReferralRebateEvent, WithdrawReferralRebateEventFields>;
|
|
2255
|
+
static phantom(): PhantomReified<ToTypeStr<WithdrawReferralRebateEvent>>;
|
|
2256
|
+
static get p(): reified.PhantomReified<"0x0::trading::WithdrawReferralRebateEvent">;
|
|
2257
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2258
|
+
sender: string;
|
|
2259
|
+
rebate_token: {
|
|
2260
|
+
name: {
|
|
2261
|
+
bytes: number[];
|
|
2262
|
+
};
|
|
2263
|
+
};
|
|
2264
|
+
amount: string;
|
|
2265
|
+
u64_padding: string[];
|
|
2266
|
+
}, {
|
|
2267
|
+
sender: string;
|
|
2268
|
+
rebate_token: {
|
|
2269
|
+
name: {
|
|
2270
|
+
bytes: Iterable<number> & {
|
|
2271
|
+
length: number;
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
};
|
|
2275
|
+
amount: string | number | bigint;
|
|
2276
|
+
u64_padding: Iterable<string | number | bigint> & {
|
|
2277
|
+
length: number;
|
|
2278
|
+
};
|
|
2279
|
+
}>;
|
|
2280
|
+
static fromFields(fields: Record<string, any>): WithdrawReferralRebateEvent;
|
|
2281
|
+
static fromFieldsWithTypes(item: FieldsWithTypes): WithdrawReferralRebateEvent;
|
|
2282
|
+
static fromBcs(data: Uint8Array): WithdrawReferralRebateEvent;
|
|
2283
|
+
toJSONField(): {
|
|
2284
|
+
sender: string;
|
|
2285
|
+
rebateToken: {
|
|
2286
|
+
name: string;
|
|
2287
|
+
};
|
|
2288
|
+
amount: string;
|
|
2289
|
+
u64Padding: string[];
|
|
2290
|
+
};
|
|
2291
|
+
toJSON(): {
|
|
2292
|
+
sender: string;
|
|
2293
|
+
rebateToken: {
|
|
2294
|
+
name: string;
|
|
2295
|
+
};
|
|
2296
|
+
amount: string;
|
|
2297
|
+
u64Padding: string[];
|
|
2298
|
+
$typeName: string;
|
|
2299
|
+
$typeArgs: [];
|
|
2300
|
+
};
|
|
2301
|
+
static fromJSONField(field: any): WithdrawReferralRebateEvent;
|
|
2302
|
+
static fromJSON(json: Record<string, any>): WithdrawReferralRebateEvent;
|
|
2303
|
+
static fromSuiParsedData(content: SuiParsedData): WithdrawReferralRebateEvent;
|
|
2304
|
+
static fetch(client: SuiClient, id: string): Promise<WithdrawReferralRebateEvent>;
|
|
2305
|
+
}
|