@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,259 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
+
if (k2 === undefined) k2 = k;
|
|
15
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
+
}
|
|
19
|
+
Object.defineProperty(o, k2, desc);
|
|
20
|
+
}) : (function(o, m, k, k2) {
|
|
21
|
+
if (k2 === undefined) k2 = k;
|
|
22
|
+
o[k2] = m[k];
|
|
23
|
+
}));
|
|
24
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
+
}) : function(o, v) {
|
|
27
|
+
o["default"] = v;
|
|
28
|
+
});
|
|
29
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
30
|
+
if (mod && mod.__esModule) return mod;
|
|
31
|
+
var result = {};
|
|
32
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
33
|
+
__setModuleDefault(result, mod);
|
|
34
|
+
return result;
|
|
35
|
+
};
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
46
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
47
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
48
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
49
|
+
function step(op) {
|
|
50
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
51
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
52
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
53
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
54
|
+
switch (op[0]) {
|
|
55
|
+
case 0: case 1: t = op; break;
|
|
56
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
57
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
58
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
59
|
+
default:
|
|
60
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
61
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
62
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
63
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
64
|
+
if (t[2]) _.ops.pop();
|
|
65
|
+
_.trys.pop(); continue;
|
|
66
|
+
}
|
|
67
|
+
op = body.call(thisArg, _);
|
|
68
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
69
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
73
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
74
|
+
if (!m) return o;
|
|
75
|
+
var i = m.call(o), r, ar = [], e;
|
|
76
|
+
try {
|
|
77
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
78
|
+
}
|
|
79
|
+
catch (error) { e = { error: error }; }
|
|
80
|
+
finally {
|
|
81
|
+
try {
|
|
82
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
83
|
+
}
|
|
84
|
+
finally { if (e) throw e.error; }
|
|
85
|
+
}
|
|
86
|
+
return ar;
|
|
87
|
+
};
|
|
88
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
89
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
90
|
+
if (ar || !(i in from)) {
|
|
91
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
92
|
+
ar[i] = from[i];
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
96
|
+
};
|
|
97
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
98
|
+
exports.WitTable = exports.isWitTable = void 0;
|
|
99
|
+
var reified = __importStar(require("../../../../_framework/reified"));
|
|
100
|
+
var reified_1 = require("../../../../_framework/reified");
|
|
101
|
+
var util_1 = require("../../../../_framework/util");
|
|
102
|
+
var structs_1 = require("../../0x1/option/structs");
|
|
103
|
+
var structs_2 = require("../../0x2/object/structs");
|
|
104
|
+
var structs_3 = require("../../0x2/table/structs");
|
|
105
|
+
var structs_4 = require("../../0x2/vec-set/structs");
|
|
106
|
+
var bcs_1 = require("@mysten/bcs");
|
|
107
|
+
/* ============================== WitTable =============================== */
|
|
108
|
+
function isWitTable(type) {
|
|
109
|
+
type = (0, util_1.compressSuiType)(type);
|
|
110
|
+
return type.startsWith("0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::wit_table::WitTable<");
|
|
111
|
+
}
|
|
112
|
+
exports.isWitTable = isWitTable;
|
|
113
|
+
var WitTable = /** @class */ (function () {
|
|
114
|
+
function WitTable(typeArgs, fields) {
|
|
115
|
+
this.$typeName = WitTable.$typeName;
|
|
116
|
+
this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([WitTable.$typeName], __read(typeArgs), false));
|
|
117
|
+
this.$typeArgs = typeArgs;
|
|
118
|
+
this.id = fields.id;
|
|
119
|
+
this.table = fields.table;
|
|
120
|
+
this.keys = fields.keys;
|
|
121
|
+
this.withKeys = fields.withKeys;
|
|
122
|
+
}
|
|
123
|
+
WitTable.reified = function (T, K, V) {
|
|
124
|
+
var _this = this;
|
|
125
|
+
return {
|
|
126
|
+
typeName: WitTable.$typeName,
|
|
127
|
+
fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([WitTable.$typeName], [(0, reified_1.extractType)(T), (0, reified_1.extractType)(K), (0, reified_1.extractType)(V)], false)),
|
|
128
|
+
typeArgs: [(0, reified_1.extractType)(T), (0, reified_1.extractType)(K), (0, reified_1.extractType)(V)],
|
|
129
|
+
reifiedTypeArgs: [T, K, V],
|
|
130
|
+
fromFields: function (fields) { return WitTable.fromFields([T, K, V], fields); },
|
|
131
|
+
fromFieldsWithTypes: function (item) { return WitTable.fromFieldsWithTypes([T, K, V], item); },
|
|
132
|
+
fromBcs: function (data) { return WitTable.fromBcs([T, K, V], data); },
|
|
133
|
+
bcs: WitTable.bcs((0, reified_1.toBcs)(K)),
|
|
134
|
+
fromJSONField: function (field) { return WitTable.fromJSONField([T, K, V], field); },
|
|
135
|
+
fromJSON: function (json) { return WitTable.fromJSON([T, K, V], json); },
|
|
136
|
+
fromSuiParsedData: function (content) { return WitTable.fromSuiParsedData([T, K, V], content); },
|
|
137
|
+
fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
138
|
+
return [2 /*return*/, WitTable.fetch(client, [T, K, V], id)];
|
|
139
|
+
}); }); },
|
|
140
|
+
new: function (fields) {
|
|
141
|
+
return new WitTable([(0, reified_1.extractType)(T), (0, reified_1.extractType)(K), (0, reified_1.extractType)(V)], fields);
|
|
142
|
+
},
|
|
143
|
+
kind: "StructClassReified",
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
Object.defineProperty(WitTable, "r", {
|
|
147
|
+
get: function () {
|
|
148
|
+
return WitTable.reified;
|
|
149
|
+
},
|
|
150
|
+
enumerable: false,
|
|
151
|
+
configurable: true
|
|
152
|
+
});
|
|
153
|
+
WitTable.phantom = function (T, K, V) {
|
|
154
|
+
return (0, reified_1.phantom)(WitTable.reified(T, K, V));
|
|
155
|
+
};
|
|
156
|
+
Object.defineProperty(WitTable, "p", {
|
|
157
|
+
get: function () {
|
|
158
|
+
return WitTable.phantom;
|
|
159
|
+
},
|
|
160
|
+
enumerable: false,
|
|
161
|
+
configurable: true
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(WitTable, "bcs", {
|
|
164
|
+
get: function () {
|
|
165
|
+
return function (K) {
|
|
166
|
+
return bcs_1.bcs.struct("WitTable<".concat(K.name, ">"), {
|
|
167
|
+
id: structs_2.UID.bcs,
|
|
168
|
+
table: structs_3.Table.bcs,
|
|
169
|
+
keys: structs_1.Option.bcs(structs_4.VecSet.bcs(K)),
|
|
170
|
+
with_keys: bcs_1.bcs.bool(),
|
|
171
|
+
});
|
|
172
|
+
};
|
|
173
|
+
},
|
|
174
|
+
enumerable: false,
|
|
175
|
+
configurable: true
|
|
176
|
+
});
|
|
177
|
+
WitTable.fromFields = function (typeArgs, fields) {
|
|
178
|
+
return WitTable.reified(typeArgs[0], typeArgs[1], typeArgs[2]).new({
|
|
179
|
+
id: (0, reified_1.decodeFromFields)(structs_2.UID.reified(), fields.id),
|
|
180
|
+
table: (0, reified_1.decodeFromFields)(structs_3.Table.reified(reified.phantom(typeArgs[1]), typeArgs[2]), fields.table),
|
|
181
|
+
keys: (0, reified_1.decodeFromFields)(structs_1.Option.reified(structs_4.VecSet.reified(typeArgs[1])), fields.keys),
|
|
182
|
+
withKeys: (0, reified_1.decodeFromFields)("bool", fields.with_keys),
|
|
183
|
+
});
|
|
184
|
+
};
|
|
185
|
+
WitTable.fromFieldsWithTypes = function (typeArgs, item) {
|
|
186
|
+
if (!isWitTable(item.type)) {
|
|
187
|
+
throw new Error("not a WitTable type");
|
|
188
|
+
}
|
|
189
|
+
(0, reified_1.assertFieldsWithTypesArgsMatch)(item, typeArgs);
|
|
190
|
+
return WitTable.reified(typeArgs[0], typeArgs[1], typeArgs[2]).new({
|
|
191
|
+
id: (0, reified_1.decodeFromFieldsWithTypes)(structs_2.UID.reified(), item.fields.id),
|
|
192
|
+
table: (0, reified_1.decodeFromFieldsWithTypes)(structs_3.Table.reified(reified.phantom(typeArgs[1]), typeArgs[2]), item.fields.table),
|
|
193
|
+
keys: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.Option.reified(structs_4.VecSet.reified(typeArgs[1])), item.fields.keys),
|
|
194
|
+
withKeys: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.with_keys),
|
|
195
|
+
});
|
|
196
|
+
};
|
|
197
|
+
WitTable.fromBcs = function (typeArgs, data) {
|
|
198
|
+
return WitTable.fromFields(typeArgs, WitTable.bcs((0, reified_1.toBcs)(typeArgs[1])).parse(data));
|
|
199
|
+
};
|
|
200
|
+
WitTable.prototype.toJSONField = function () {
|
|
201
|
+
return {
|
|
202
|
+
id: this.id,
|
|
203
|
+
table: this.table.toJSONField(),
|
|
204
|
+
keys: (0, reified_1.fieldToJSON)("0x1::option::Option<0x2::vec_set::VecSet<".concat(this.$typeArgs[1], ">>"), this.keys),
|
|
205
|
+
withKeys: this.withKeys,
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
WitTable.prototype.toJSON = function () {
|
|
209
|
+
return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
|
|
210
|
+
};
|
|
211
|
+
WitTable.fromJSONField = function (typeArgs, field) {
|
|
212
|
+
return WitTable.reified(typeArgs[0], typeArgs[1], typeArgs[2]).new({
|
|
213
|
+
id: (0, reified_1.decodeFromJSONField)(structs_2.UID.reified(), field.id),
|
|
214
|
+
table: (0, reified_1.decodeFromJSONField)(structs_3.Table.reified(reified.phantom(typeArgs[1]), typeArgs[2]), field.table),
|
|
215
|
+
keys: (0, reified_1.decodeFromJSONField)(structs_1.Option.reified(structs_4.VecSet.reified(typeArgs[1])), field.keys),
|
|
216
|
+
withKeys: (0, reified_1.decodeFromJSONField)("bool", field.withKeys),
|
|
217
|
+
});
|
|
218
|
+
};
|
|
219
|
+
WitTable.fromJSON = function (typeArgs, json) {
|
|
220
|
+
if (json.$typeName !== WitTable.$typeName) {
|
|
221
|
+
throw new Error("not a WithTwoGenerics json object");
|
|
222
|
+
}
|
|
223
|
+
(0, reified_1.assertReifiedTypeArgsMatch)(util_1.composeSuiType.apply(void 0, __spreadArray([WitTable.$typeName], __read(typeArgs.map(reified_1.extractType)), false)), json.$typeArgs, typeArgs);
|
|
224
|
+
return WitTable.fromJSONField(typeArgs, json);
|
|
225
|
+
};
|
|
226
|
+
WitTable.fromSuiParsedData = function (typeArgs, content) {
|
|
227
|
+
if (content.dataType !== "moveObject") {
|
|
228
|
+
throw new Error("not an object");
|
|
229
|
+
}
|
|
230
|
+
if (!isWitTable(content.type)) {
|
|
231
|
+
throw new Error("object at ".concat(content.fields.id, " is not a WitTable object"));
|
|
232
|
+
}
|
|
233
|
+
return WitTable.fromFieldsWithTypes(typeArgs, content);
|
|
234
|
+
};
|
|
235
|
+
WitTable.fetch = function (client, typeArgs, id) {
|
|
236
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
237
|
+
var res;
|
|
238
|
+
var _a, _b;
|
|
239
|
+
return __generator(this, function (_c) {
|
|
240
|
+
switch (_c.label) {
|
|
241
|
+
case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
|
|
242
|
+
case 1:
|
|
243
|
+
res = _c.sent();
|
|
244
|
+
if (res.error) {
|
|
245
|
+
throw new Error("error fetching WitTable object at id ".concat(id, ": ").concat(res.error.code));
|
|
246
|
+
}
|
|
247
|
+
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isWitTable(res.data.bcs.type)) {
|
|
248
|
+
throw new Error("object at id ".concat(id, " is not a WitTable object"));
|
|
249
|
+
}
|
|
250
|
+
return [2 /*return*/, WitTable.fromBcs(typeArgs, (0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
|
|
251
|
+
}
|
|
252
|
+
});
|
|
253
|
+
});
|
|
254
|
+
};
|
|
255
|
+
WitTable.$typeName = "0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::wit_table::WitTable";
|
|
256
|
+
WitTable.$numTypeParams = 3;
|
|
257
|
+
return WitTable;
|
|
258
|
+
}());
|
|
259
|
+
exports.WitTable = WitTable;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { PhantomReified, PhantomToTypeStr, PhantomTypeArgument, Reified, StructClass, ToField, ToPhantomTypeArgument, ToTypeStr } from "../../../../_framework/reified";
|
|
2
|
+
import { FieldsWithTypes } from "../../../../_framework/util";
|
|
3
|
+
import { SuiClient, SuiParsedData } from "@mysten/sui.js/client";
|
|
4
|
+
export declare function isWitness(type: string): boolean;
|
|
5
|
+
export interface WitnessFields<T extends PhantomTypeArgument> {
|
|
6
|
+
dummyField: ToField<"bool">;
|
|
7
|
+
}
|
|
8
|
+
export type WitnessReified<T extends PhantomTypeArgument> = Reified<Witness<T>, WitnessFields<T>>;
|
|
9
|
+
export declare class Witness<T extends PhantomTypeArgument> implements StructClass {
|
|
10
|
+
static readonly $typeName = "0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::Witness";
|
|
11
|
+
static readonly $numTypeParams = 1;
|
|
12
|
+
readonly $typeName = "0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::Witness";
|
|
13
|
+
readonly $fullTypeName: `0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::Witness<${PhantomToTypeStr<T>}>`;
|
|
14
|
+
readonly $typeArgs: [PhantomToTypeStr<T>];
|
|
15
|
+
readonly dummyField: ToField<"bool">;
|
|
16
|
+
private constructor();
|
|
17
|
+
static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): WitnessReified<ToPhantomTypeArgument<T>>;
|
|
18
|
+
static get r(): typeof Witness.reified;
|
|
19
|
+
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<Witness<ToPhantomTypeArgument<T>>>>;
|
|
20
|
+
static get p(): typeof Witness.phantom;
|
|
21
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
22
|
+
dummy_field: boolean;
|
|
23
|
+
}, {
|
|
24
|
+
dummy_field: boolean;
|
|
25
|
+
}>;
|
|
26
|
+
static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): Witness<ToPhantomTypeArgument<T>>;
|
|
27
|
+
static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): Witness<ToPhantomTypeArgument<T>>;
|
|
28
|
+
static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): Witness<ToPhantomTypeArgument<T>>;
|
|
29
|
+
toJSONField(): {
|
|
30
|
+
dummyField: boolean;
|
|
31
|
+
};
|
|
32
|
+
toJSON(): {
|
|
33
|
+
dummyField: boolean;
|
|
34
|
+
$typeName: string;
|
|
35
|
+
$typeArgs: [PhantomToTypeStr<T>];
|
|
36
|
+
};
|
|
37
|
+
static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): Witness<ToPhantomTypeArgument<T>>;
|
|
38
|
+
static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): Witness<ToPhantomTypeArgument<T>>;
|
|
39
|
+
static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): Witness<ToPhantomTypeArgument<T>>;
|
|
40
|
+
static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<Witness<ToPhantomTypeArgument<T>>>;
|
|
41
|
+
}
|
|
42
|
+
export declare function isWitnessGenerator(type: string): boolean;
|
|
43
|
+
export interface WitnessGeneratorFields<T extends PhantomTypeArgument> {
|
|
44
|
+
dummyField: ToField<"bool">;
|
|
45
|
+
}
|
|
46
|
+
export type WitnessGeneratorReified<T extends PhantomTypeArgument> = Reified<WitnessGenerator<T>, WitnessGeneratorFields<T>>;
|
|
47
|
+
export declare class WitnessGenerator<T extends PhantomTypeArgument> implements StructClass {
|
|
48
|
+
static readonly $typeName = "0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::WitnessGenerator";
|
|
49
|
+
static readonly $numTypeParams = 1;
|
|
50
|
+
readonly $typeName = "0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::WitnessGenerator";
|
|
51
|
+
readonly $fullTypeName: `0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::WitnessGenerator<${PhantomToTypeStr<T>}>`;
|
|
52
|
+
readonly $typeArgs: [PhantomToTypeStr<T>];
|
|
53
|
+
readonly dummyField: ToField<"bool">;
|
|
54
|
+
private constructor();
|
|
55
|
+
static reified<T extends PhantomReified<PhantomTypeArgument>>(T: T): WitnessGeneratorReified<ToPhantomTypeArgument<T>>;
|
|
56
|
+
static get r(): typeof WitnessGenerator.reified;
|
|
57
|
+
static phantom<T extends PhantomReified<PhantomTypeArgument>>(T: T): PhantomReified<ToTypeStr<WitnessGenerator<ToPhantomTypeArgument<T>>>>;
|
|
58
|
+
static get p(): typeof WitnessGenerator.phantom;
|
|
59
|
+
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
60
|
+
dummy_field: boolean;
|
|
61
|
+
}, {
|
|
62
|
+
dummy_field: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
static fromFields<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, fields: Record<string, any>): WitnessGenerator<ToPhantomTypeArgument<T>>;
|
|
65
|
+
static fromFieldsWithTypes<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, item: FieldsWithTypes): WitnessGenerator<ToPhantomTypeArgument<T>>;
|
|
66
|
+
static fromBcs<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, data: Uint8Array): WitnessGenerator<ToPhantomTypeArgument<T>>;
|
|
67
|
+
toJSONField(): {
|
|
68
|
+
dummyField: boolean;
|
|
69
|
+
};
|
|
70
|
+
toJSON(): {
|
|
71
|
+
dummyField: boolean;
|
|
72
|
+
$typeName: string;
|
|
73
|
+
$typeArgs: [PhantomToTypeStr<T>];
|
|
74
|
+
};
|
|
75
|
+
static fromJSONField<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, field: any): WitnessGenerator<ToPhantomTypeArgument<T>>;
|
|
76
|
+
static fromJSON<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, json: Record<string, any>): WitnessGenerator<ToPhantomTypeArgument<T>>;
|
|
77
|
+
static fromSuiParsedData<T extends PhantomReified<PhantomTypeArgument>>(typeArg: T, content: SuiParsedData): WitnessGenerator<ToPhantomTypeArgument<T>>;
|
|
78
|
+
static fetch<T extends PhantomReified<PhantomTypeArgument>>(client: SuiClient, typeArg: T, id: string): Promise<WitnessGenerator<ToPhantomTypeArgument<T>>>;
|
|
79
|
+
}
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
14
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
15
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
16
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
17
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
18
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
19
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
23
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
24
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
25
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
26
|
+
function step(op) {
|
|
27
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
28
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
29
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
30
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
31
|
+
switch (op[0]) {
|
|
32
|
+
case 0: case 1: t = op; break;
|
|
33
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
34
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
35
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
36
|
+
default:
|
|
37
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
38
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
39
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
40
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
41
|
+
if (t[2]) _.ops.pop();
|
|
42
|
+
_.trys.pop(); continue;
|
|
43
|
+
}
|
|
44
|
+
op = body.call(thisArg, _);
|
|
45
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
46
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
50
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
51
|
+
if (!m) return o;
|
|
52
|
+
var i = m.call(o), r, ar = [], e;
|
|
53
|
+
try {
|
|
54
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
55
|
+
}
|
|
56
|
+
catch (error) { e = { error: error }; }
|
|
57
|
+
finally {
|
|
58
|
+
try {
|
|
59
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
60
|
+
}
|
|
61
|
+
finally { if (e) throw e.error; }
|
|
62
|
+
}
|
|
63
|
+
return ar;
|
|
64
|
+
};
|
|
65
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
66
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
67
|
+
if (ar || !(i in from)) {
|
|
68
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
69
|
+
ar[i] = from[i];
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
73
|
+
};
|
|
74
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
75
|
+
exports.WitnessGenerator = exports.isWitnessGenerator = exports.Witness = exports.isWitness = void 0;
|
|
76
|
+
var reified_1 = require("../../../../_framework/reified");
|
|
77
|
+
var util_1 = require("../../../../_framework/util");
|
|
78
|
+
var bcs_1 = require("@mysten/bcs");
|
|
79
|
+
/* ============================== Witness =============================== */
|
|
80
|
+
function isWitness(type) {
|
|
81
|
+
type = (0, util_1.compressSuiType)(type);
|
|
82
|
+
return type.startsWith("0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::Witness<");
|
|
83
|
+
}
|
|
84
|
+
exports.isWitness = isWitness;
|
|
85
|
+
var Witness = /** @class */ (function () {
|
|
86
|
+
function Witness(typeArgs, fields) {
|
|
87
|
+
this.$typeName = Witness.$typeName;
|
|
88
|
+
this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([Witness.$typeName], __read(typeArgs), false));
|
|
89
|
+
this.$typeArgs = typeArgs;
|
|
90
|
+
this.dummyField = fields.dummyField;
|
|
91
|
+
}
|
|
92
|
+
Witness.reified = function (T) {
|
|
93
|
+
var _this = this;
|
|
94
|
+
return {
|
|
95
|
+
typeName: Witness.$typeName,
|
|
96
|
+
fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([Witness.$typeName], [(0, reified_1.extractType)(T)], false)),
|
|
97
|
+
typeArgs: [(0, reified_1.extractType)(T)],
|
|
98
|
+
reifiedTypeArgs: [T],
|
|
99
|
+
fromFields: function (fields) { return Witness.fromFields(T, fields); },
|
|
100
|
+
fromFieldsWithTypes: function (item) { return Witness.fromFieldsWithTypes(T, item); },
|
|
101
|
+
fromBcs: function (data) { return Witness.fromBcs(T, data); },
|
|
102
|
+
bcs: Witness.bcs,
|
|
103
|
+
fromJSONField: function (field) { return Witness.fromJSONField(T, field); },
|
|
104
|
+
fromJSON: function (json) { return Witness.fromJSON(T, json); },
|
|
105
|
+
fromSuiParsedData: function (content) { return Witness.fromSuiParsedData(T, content); },
|
|
106
|
+
fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
107
|
+
return [2 /*return*/, Witness.fetch(client, T, id)];
|
|
108
|
+
}); }); },
|
|
109
|
+
new: function (fields) {
|
|
110
|
+
return new Witness([(0, reified_1.extractType)(T)], fields);
|
|
111
|
+
},
|
|
112
|
+
kind: "StructClassReified",
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
Object.defineProperty(Witness, "r", {
|
|
116
|
+
get: function () {
|
|
117
|
+
return Witness.reified;
|
|
118
|
+
},
|
|
119
|
+
enumerable: false,
|
|
120
|
+
configurable: true
|
|
121
|
+
});
|
|
122
|
+
Witness.phantom = function (T) {
|
|
123
|
+
return (0, reified_1.phantom)(Witness.reified(T));
|
|
124
|
+
};
|
|
125
|
+
Object.defineProperty(Witness, "p", {
|
|
126
|
+
get: function () {
|
|
127
|
+
return Witness.phantom;
|
|
128
|
+
},
|
|
129
|
+
enumerable: false,
|
|
130
|
+
configurable: true
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(Witness, "bcs", {
|
|
133
|
+
get: function () {
|
|
134
|
+
return bcs_1.bcs.struct("Witness", {
|
|
135
|
+
dummy_field: bcs_1.bcs.bool(),
|
|
136
|
+
});
|
|
137
|
+
},
|
|
138
|
+
enumerable: false,
|
|
139
|
+
configurable: true
|
|
140
|
+
});
|
|
141
|
+
Witness.fromFields = function (typeArg, fields) {
|
|
142
|
+
return Witness.reified(typeArg).new({ dummyField: (0, reified_1.decodeFromFields)("bool", fields.dummy_field) });
|
|
143
|
+
};
|
|
144
|
+
Witness.fromFieldsWithTypes = function (typeArg, item) {
|
|
145
|
+
if (!isWitness(item.type)) {
|
|
146
|
+
throw new Error("not a Witness type");
|
|
147
|
+
}
|
|
148
|
+
(0, reified_1.assertFieldsWithTypesArgsMatch)(item, [typeArg]);
|
|
149
|
+
return Witness.reified(typeArg).new({ dummyField: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.dummy_field) });
|
|
150
|
+
};
|
|
151
|
+
Witness.fromBcs = function (typeArg, data) {
|
|
152
|
+
return Witness.fromFields(typeArg, Witness.bcs.parse(data));
|
|
153
|
+
};
|
|
154
|
+
Witness.prototype.toJSONField = function () {
|
|
155
|
+
return {
|
|
156
|
+
dummyField: this.dummyField,
|
|
157
|
+
};
|
|
158
|
+
};
|
|
159
|
+
Witness.prototype.toJSON = function () {
|
|
160
|
+
return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
|
|
161
|
+
};
|
|
162
|
+
Witness.fromJSONField = function (typeArg, field) {
|
|
163
|
+
return Witness.reified(typeArg).new({ dummyField: (0, reified_1.decodeFromJSONField)("bool", field.dummyField) });
|
|
164
|
+
};
|
|
165
|
+
Witness.fromJSON = function (typeArg, json) {
|
|
166
|
+
if (json.$typeName !== Witness.$typeName) {
|
|
167
|
+
throw new Error("not a WithTwoGenerics json object");
|
|
168
|
+
}
|
|
169
|
+
(0, reified_1.assertReifiedTypeArgsMatch)((0, util_1.composeSuiType)(Witness.$typeName, (0, reified_1.extractType)(typeArg)), json.$typeArgs, [typeArg]);
|
|
170
|
+
return Witness.fromJSONField(typeArg, json);
|
|
171
|
+
};
|
|
172
|
+
Witness.fromSuiParsedData = function (typeArg, content) {
|
|
173
|
+
if (content.dataType !== "moveObject") {
|
|
174
|
+
throw new Error("not an object");
|
|
175
|
+
}
|
|
176
|
+
if (!isWitness(content.type)) {
|
|
177
|
+
throw new Error("object at ".concat(content.fields.id, " is not a Witness object"));
|
|
178
|
+
}
|
|
179
|
+
return Witness.fromFieldsWithTypes(typeArg, content);
|
|
180
|
+
};
|
|
181
|
+
Witness.fetch = function (client, typeArg, id) {
|
|
182
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
183
|
+
var res;
|
|
184
|
+
var _a, _b;
|
|
185
|
+
return __generator(this, function (_c) {
|
|
186
|
+
switch (_c.label) {
|
|
187
|
+
case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
|
|
188
|
+
case 1:
|
|
189
|
+
res = _c.sent();
|
|
190
|
+
if (res.error) {
|
|
191
|
+
throw new Error("error fetching Witness object at id ".concat(id, ": ").concat(res.error.code));
|
|
192
|
+
}
|
|
193
|
+
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isWitness(res.data.bcs.type)) {
|
|
194
|
+
throw new Error("object at id ".concat(id, " is not a Witness object"));
|
|
195
|
+
}
|
|
196
|
+
return [2 /*return*/, Witness.fromBcs(typeArg, (0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
});
|
|
200
|
+
};
|
|
201
|
+
Witness.$typeName = "0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::Witness";
|
|
202
|
+
Witness.$numTypeParams = 1;
|
|
203
|
+
return Witness;
|
|
204
|
+
}());
|
|
205
|
+
exports.Witness = Witness;
|
|
206
|
+
/* ============================== WitnessGenerator =============================== */
|
|
207
|
+
function isWitnessGenerator(type) {
|
|
208
|
+
type = (0, util_1.compressSuiType)(type);
|
|
209
|
+
return type.startsWith("0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::WitnessGenerator<");
|
|
210
|
+
}
|
|
211
|
+
exports.isWitnessGenerator = isWitnessGenerator;
|
|
212
|
+
var WitnessGenerator = /** @class */ (function () {
|
|
213
|
+
function WitnessGenerator(typeArgs, fields) {
|
|
214
|
+
this.$typeName = WitnessGenerator.$typeName;
|
|
215
|
+
this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([WitnessGenerator.$typeName], __read(typeArgs), false));
|
|
216
|
+
this.$typeArgs = typeArgs;
|
|
217
|
+
this.dummyField = fields.dummyField;
|
|
218
|
+
}
|
|
219
|
+
WitnessGenerator.reified = function (T) {
|
|
220
|
+
var _this = this;
|
|
221
|
+
return {
|
|
222
|
+
typeName: WitnessGenerator.$typeName,
|
|
223
|
+
fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([WitnessGenerator.$typeName], [(0, reified_1.extractType)(T)], false)),
|
|
224
|
+
typeArgs: [(0, reified_1.extractType)(T)],
|
|
225
|
+
reifiedTypeArgs: [T],
|
|
226
|
+
fromFields: function (fields) { return WitnessGenerator.fromFields(T, fields); },
|
|
227
|
+
fromFieldsWithTypes: function (item) { return WitnessGenerator.fromFieldsWithTypes(T, item); },
|
|
228
|
+
fromBcs: function (data) { return WitnessGenerator.fromBcs(T, data); },
|
|
229
|
+
bcs: WitnessGenerator.bcs,
|
|
230
|
+
fromJSONField: function (field) { return WitnessGenerator.fromJSONField(T, field); },
|
|
231
|
+
fromJSON: function (json) { return WitnessGenerator.fromJSON(T, json); },
|
|
232
|
+
fromSuiParsedData: function (content) { return WitnessGenerator.fromSuiParsedData(T, content); },
|
|
233
|
+
fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
234
|
+
return [2 /*return*/, WitnessGenerator.fetch(client, T, id)];
|
|
235
|
+
}); }); },
|
|
236
|
+
new: function (fields) {
|
|
237
|
+
return new WitnessGenerator([(0, reified_1.extractType)(T)], fields);
|
|
238
|
+
},
|
|
239
|
+
kind: "StructClassReified",
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
Object.defineProperty(WitnessGenerator, "r", {
|
|
243
|
+
get: function () {
|
|
244
|
+
return WitnessGenerator.reified;
|
|
245
|
+
},
|
|
246
|
+
enumerable: false,
|
|
247
|
+
configurable: true
|
|
248
|
+
});
|
|
249
|
+
WitnessGenerator.phantom = function (T) {
|
|
250
|
+
return (0, reified_1.phantom)(WitnessGenerator.reified(T));
|
|
251
|
+
};
|
|
252
|
+
Object.defineProperty(WitnessGenerator, "p", {
|
|
253
|
+
get: function () {
|
|
254
|
+
return WitnessGenerator.phantom;
|
|
255
|
+
},
|
|
256
|
+
enumerable: false,
|
|
257
|
+
configurable: true
|
|
258
|
+
});
|
|
259
|
+
Object.defineProperty(WitnessGenerator, "bcs", {
|
|
260
|
+
get: function () {
|
|
261
|
+
return bcs_1.bcs.struct("WitnessGenerator", {
|
|
262
|
+
dummy_field: bcs_1.bcs.bool(),
|
|
263
|
+
});
|
|
264
|
+
},
|
|
265
|
+
enumerable: false,
|
|
266
|
+
configurable: true
|
|
267
|
+
});
|
|
268
|
+
WitnessGenerator.fromFields = function (typeArg, fields) {
|
|
269
|
+
return WitnessGenerator.reified(typeArg).new({ dummyField: (0, reified_1.decodeFromFields)("bool", fields.dummy_field) });
|
|
270
|
+
};
|
|
271
|
+
WitnessGenerator.fromFieldsWithTypes = function (typeArg, item) {
|
|
272
|
+
if (!isWitnessGenerator(item.type)) {
|
|
273
|
+
throw new Error("not a WitnessGenerator type");
|
|
274
|
+
}
|
|
275
|
+
(0, reified_1.assertFieldsWithTypesArgsMatch)(item, [typeArg]);
|
|
276
|
+
return WitnessGenerator.reified(typeArg).new({ dummyField: (0, reified_1.decodeFromFieldsWithTypes)("bool", item.fields.dummy_field) });
|
|
277
|
+
};
|
|
278
|
+
WitnessGenerator.fromBcs = function (typeArg, data) {
|
|
279
|
+
return WitnessGenerator.fromFields(typeArg, WitnessGenerator.bcs.parse(data));
|
|
280
|
+
};
|
|
281
|
+
WitnessGenerator.prototype.toJSONField = function () {
|
|
282
|
+
return {
|
|
283
|
+
dummyField: this.dummyField,
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
WitnessGenerator.prototype.toJSON = function () {
|
|
287
|
+
return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
|
|
288
|
+
};
|
|
289
|
+
WitnessGenerator.fromJSONField = function (typeArg, field) {
|
|
290
|
+
return WitnessGenerator.reified(typeArg).new({ dummyField: (0, reified_1.decodeFromJSONField)("bool", field.dummyField) });
|
|
291
|
+
};
|
|
292
|
+
WitnessGenerator.fromJSON = function (typeArg, json) {
|
|
293
|
+
if (json.$typeName !== WitnessGenerator.$typeName) {
|
|
294
|
+
throw new Error("not a WithTwoGenerics json object");
|
|
295
|
+
}
|
|
296
|
+
(0, reified_1.assertReifiedTypeArgsMatch)((0, util_1.composeSuiType)(WitnessGenerator.$typeName, (0, reified_1.extractType)(typeArg)), json.$typeArgs, [typeArg]);
|
|
297
|
+
return WitnessGenerator.fromJSONField(typeArg, json);
|
|
298
|
+
};
|
|
299
|
+
WitnessGenerator.fromSuiParsedData = function (typeArg, content) {
|
|
300
|
+
if (content.dataType !== "moveObject") {
|
|
301
|
+
throw new Error("not an object");
|
|
302
|
+
}
|
|
303
|
+
if (!isWitnessGenerator(content.type)) {
|
|
304
|
+
throw new Error("object at ".concat(content.fields.id, " is not a WitnessGenerator object"));
|
|
305
|
+
}
|
|
306
|
+
return WitnessGenerator.fromFieldsWithTypes(typeArg, content);
|
|
307
|
+
};
|
|
308
|
+
WitnessGenerator.fetch = function (client, typeArg, id) {
|
|
309
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
310
|
+
var res;
|
|
311
|
+
var _a, _b;
|
|
312
|
+
return __generator(this, function (_c) {
|
|
313
|
+
switch (_c.label) {
|
|
314
|
+
case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
|
|
315
|
+
case 1:
|
|
316
|
+
res = _c.sent();
|
|
317
|
+
if (res.error) {
|
|
318
|
+
throw new Error("error fetching WitnessGenerator object at id ".concat(id, ": ").concat(res.error.code));
|
|
319
|
+
}
|
|
320
|
+
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isWitnessGenerator(res.data.bcs.type)) {
|
|
321
|
+
throw new Error("object at id ".concat(id, " is not a WitnessGenerator object"));
|
|
322
|
+
}
|
|
323
|
+
return [2 /*return*/, WitnessGenerator.fromBcs(typeArg, (0, bcs_1.fromB64)(res.data.bcs.bcsBytes))];
|
|
324
|
+
}
|
|
325
|
+
});
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
WitnessGenerator.$typeName = "0x779b5c547976899f5474f3a5bc0db36ddf4697ad7e5a901db0415c2281d28162::witness::WitnessGenerator";
|
|
329
|
+
WitnessGenerator.$numTypeParams = 1;
|
|
330
|
+
return WitnessGenerator;
|
|
331
|
+
}());
|
|
332
|
+
exports.WitnessGenerator = WitnessGenerator;
|