@typus/typus-sdk 1.2.588 → 1.3.1
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 +161 -0
- package/lib/mainnet.json +4 -4
- 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/airdrop/authority-entry.d.ts +22 -0
- package/lib/utils/airdrop/authority-entry.js +138 -0
- package/lib/utils/airdrop/user-entry.d.ts +10 -0
- package/lib/utils/airdrop/user-entry.js +21 -0
- package/lib/utils/airdrop/view-functions.d.ts +10 -0
- package/lib/utils/airdrop/view-functions.js +72 -0
- package/lib/utils/api/defillama/tvl.d.ts +1 -0
- package/lib/utils/api/defillama/tvl.js +59 -0
- package/lib/utils/{leader-board.d.ts → api/sentio/leader-board.d.ts} +0 -7
- package/lib/utils/api/sentio/leader-board.js +104 -0
- package/lib/utils/api/sentio/reward-generated.d.ts +16 -0
- package/lib/utils/api/sentio/reward-generated.js +524 -0
- package/lib/utils/leaderboard/authority-entry.d.ts +22 -0
- package/lib/utils/leaderboard/authority-entry.js +91 -0
- package/lib/utils/leaderboard/view-function.d.ts +21 -0
- package/lib/utils/leaderboard/view-function.js +92 -0
- 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/nft-staking/user-entry.d.ts +8 -7
- package/lib/utils/nft-staking/user-entry.js +199 -62
- package/lib/utils/price.js +3 -1
- package/lib/utils/recap2023.js +3 -6
- package/lib/utils/tails-exp-dice/fetch.js +1 -1
- package/lib/utils/token.js +6 -0
- package/lib/utils/tools.d.ts +4 -0
- package/lib/utils/tools.js +26 -1
- package/lib/utils/typus-dov-single-v2/authorized-entry.js +2 -2
- package/lib/utils/typus-dov-single-v2/depositorPnl.js +1 -1
- package/lib/utils/typus-dov-single-v2/function/bidding.d.ts +151 -0
- package/lib/utils/typus-dov-single-v2/function/bidding.js +834 -0
- package/lib/utils/typus-dov-single-v2/function/token.d.ts +21 -0
- package/lib/utils/typus-dov-single-v2/function/token.js +38 -0
- package/lib/utils/typus-dov-single-v2/function/vault.d.ts +8 -0
- package/lib/utils/typus-dov-single-v2/function/vault.js +23 -0
- package/lib/utils/typus-dov-single-v2/mfud-user-entry.d.ts +51 -63
- package/lib/utils/typus-dov-single-v2/mfud-user-entry.js +171 -231
- package/lib/utils/typus-dov-single-v2/user-entry.d.ts +65 -115
- package/lib/utils/typus-dov-single-v2/user-entry.js +141 -335
- package/lib/utils/typus-dov-single-v2/user-history.d.ts +11 -5
- package/lib/utils/typus-dov-single-v2/user-history.js +430 -169
- package/lib/utils/typus-dov-single-v2/view-function.d.ts +16 -2
- package/lib/utils/typus-dov-single-v2/view-function.js +39 -24
- package/lib/utils/typus-nft/fetch.d.ts +13 -8
- package/lib/utils/typus-nft/fetch.js +81 -39
- 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/lib/utils/user/view-function.d.ts +9 -0
- package/lib/utils/user/view-function.js +72 -0
- package/package.json +8 -5
- package/lib/utils/leader-board.js +0 -333
- package/lib/utils/typus-dov-double/authorized-entry.d.ts +0 -102
- package/lib/utils/typus-dov-double/authorized-entry.js +0 -295
- package/lib/utils/typus-dov-double/manager-entry.d.ts +0 -219
- package/lib/utils/typus-dov-double/manager-entry.js +0 -584
- package/lib/utils/typus-dov-double/portfolio-vault.d.ts +0 -68
- package/lib/utils/typus-dov-double/portfolio-vault.js +0 -303
- package/lib/utils/typus-dov-double/user-entry.d.ts +0 -93
- package/lib/utils/typus-dov-double/user-entry.js +0 -280
- package/lib/utils/typus-dov-double/view-function.d.ts +0 -11
- package/lib/utils/typus-dov-double/view-function.js +0 -213
- package/lib/utils/typus-dov-single/db-data.d.ts +0 -19
- package/lib/utils/typus-dov-single/db-data.js +0 -226
- package/lib/utils/typus-dov-single/portfolio-vault.d.ts +0 -63
- package/lib/utils/typus-dov-single/portfolio-vault.js +0 -284
- package/lib/utils/typus-dov-single/registry.d.ts +0 -14
- package/lib/utils/typus-dov-single/registry.js +0 -126
- package/lib/utils/typus-dov-single/user-entry.d.ts +0 -103
- package/lib/utils/typus-dov-single/user-entry.js +0 -388
- package/lib/utils/typus-dov-single/user-history.d.ts +0 -17
- package/lib/utils/typus-dov-single/user-history.js +0 -146
- package/lib/utils/typus-dov-single/view-function.d.ts +0 -50
- package/lib/utils/typus-dov-single/view-function.js +0 -444
|
@@ -35,49 +35,32 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
35
35
|
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
39
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
40
|
+
if (!m) return o;
|
|
41
|
+
var i = m.call(o), r, ar = [], e;
|
|
42
|
+
try {
|
|
43
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
44
|
+
}
|
|
45
|
+
catch (error) { e = { error: error }; }
|
|
46
|
+
finally {
|
|
47
|
+
try {
|
|
48
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
49
|
+
}
|
|
50
|
+
finally { if (e) throw e.error; }
|
|
51
|
+
}
|
|
52
|
+
return ar;
|
|
53
|
+
};
|
|
38
54
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
55
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
56
|
};
|
|
41
57
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.getFromSentio = exports.
|
|
58
|
+
exports.getExerciseFromSentio = exports.getNewBidFromSentio = exports.getFromSentio = exports.parseTxHistory = exports.getAutoBidEvents = exports.getUserEvents = void 0;
|
|
43
59
|
var token_1 = require("../token");
|
|
44
60
|
var bignumber_js_1 = __importDefault(require("bignumber.js"));
|
|
45
|
-
function
|
|
46
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
47
|
-
var datas1, datas2, datas, txHistory;
|
|
48
|
-
return __generator(this, function (_a) {
|
|
49
|
-
switch (_a.label) {
|
|
50
|
-
case 0: return [4 /*yield*/, getUserEvents(provider, sender, startTimeMs)];
|
|
51
|
-
case 1:
|
|
52
|
-
datas1 = _a.sent();
|
|
53
|
-
return [4 /*yield*/, getAutoBidEvents(provider, originPackage, startTimeMs)];
|
|
54
|
-
case 2:
|
|
55
|
-
datas2 = _a.sent();
|
|
56
|
-
datas = datas1.concat(datas2.filter(function (x) {
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
if (x.parsedJson.signer) {
|
|
59
|
-
// @ts-ignore
|
|
60
|
-
return x.parsedJson.signer == sender;
|
|
61
|
-
}
|
|
62
|
-
else if (x.type.endsWith("ExpUpEvent")) {
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
return false;
|
|
67
|
-
}
|
|
68
|
-
}));
|
|
69
|
-
return [4 /*yield*/, parseTxHistory(datas.sort(function (a, b) { return Number(b.timestampMs) - Number(a.timestampMs); }), originPackage, vaults)];
|
|
70
|
-
case 3:
|
|
71
|
-
txHistory = _a.sent();
|
|
72
|
-
return [2 /*return*/, txHistory];
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
exports.getUserHistory = getUserHistory;
|
|
78
|
-
function getUserEvents(provider, sender, startTimeMs) {
|
|
61
|
+
function getUserEvents(provider, sender, cursor) {
|
|
79
62
|
return __awaiter(this, void 0, void 0, function () {
|
|
80
|
-
var senderFilter, hasNextPage,
|
|
63
|
+
var senderFilter, hasNextPage, datas, result;
|
|
81
64
|
return __generator(this, function (_a) {
|
|
82
65
|
switch (_a.label) {
|
|
83
66
|
case 0:
|
|
@@ -85,14 +68,13 @@ function getUserEvents(provider, sender, startTimeMs) {
|
|
|
85
68
|
Sender: sender,
|
|
86
69
|
};
|
|
87
70
|
hasNextPage = true;
|
|
88
|
-
cursor = undefined;
|
|
89
71
|
datas = [];
|
|
90
72
|
_a.label = 1;
|
|
91
73
|
case 1:
|
|
92
74
|
if (!hasNextPage) return [3 /*break*/, 3];
|
|
93
75
|
return [4 /*yield*/, provider.queryEvents({
|
|
94
76
|
query: senderFilter,
|
|
95
|
-
order: "
|
|
77
|
+
order: "ascending",
|
|
96
78
|
cursor: cursor,
|
|
97
79
|
})];
|
|
98
80
|
case 2:
|
|
@@ -102,11 +84,8 @@ function getUserEvents(provider, sender, startTimeMs) {
|
|
|
102
84
|
cursor = result.nextCursor;
|
|
103
85
|
// @ts-ignore
|
|
104
86
|
datas = datas.concat(result.data);
|
|
105
|
-
if (hasNextPage && Number(result.data[result.data.length - 1].timestampMs) < startTimeMs) {
|
|
106
|
-
return [3 /*break*/, 3];
|
|
107
|
-
}
|
|
108
87
|
return [3 /*break*/, 1];
|
|
109
|
-
case 3: return [2 /*return*/, datas];
|
|
88
|
+
case 3: return [2 /*return*/, [datas, cursor]];
|
|
110
89
|
}
|
|
111
90
|
});
|
|
112
91
|
});
|
|
@@ -159,115 +138,31 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
159
138
|
.filter(function (event) {
|
|
160
139
|
var type = event.type;
|
|
161
140
|
return event.packageId == originPackage || type.includes("typus_nft::First") || type.includes("typus_nft::ExpUpEvent");
|
|
141
|
+
})
|
|
142
|
+
.sort(function (a, b) {
|
|
143
|
+
// From Old to New!
|
|
144
|
+
if (a.timestampMs == b.timestampMs) {
|
|
145
|
+
return Number(a.id.eventSeq) - Number(b.id.eventSeq);
|
|
146
|
+
}
|
|
147
|
+
else {
|
|
148
|
+
return Number(a.timestampMs) - Number(b.timestampMs);
|
|
149
|
+
}
|
|
162
150
|
})
|
|
163
151
|
.reduce(function (promise, event) { return __awaiter(_this, void 0, void 0, function () {
|
|
164
|
-
var txHistory, functionType, action, Action, Amount, Index, Period, Vault, RiskLevel, Tails, Exp, d_token, b_token, o_token,
|
|
165
|
-
var _a;
|
|
166
|
-
|
|
167
|
-
|
|
152
|
+
var txHistory, functionType, action, Action, Amount, Index, Period, Vault, RiskLevel, Tails, Exp, d_token, b_token, o_token, i, i, i, token, amount, token, amount, amount, token, amount, token, amount, token, amount, b_token_name, b_token_amount, i_token_name, i_token_amount, token, amount, token, amount, deposit_amount, deposit_amount, balance, balance, profit, profit, token, amount, amount, token, amount, size, token, amount, token, amount, size, bidder_balance;
|
|
153
|
+
var _a, _b, _c;
|
|
154
|
+
var _d;
|
|
155
|
+
return __generator(this, function (_e) {
|
|
156
|
+
switch (_e.label) {
|
|
168
157
|
case 0: return [4 /*yield*/, promise];
|
|
169
158
|
case 1:
|
|
170
|
-
txHistory =
|
|
171
|
-
functionType = (
|
|
159
|
+
txHistory = _e.sent();
|
|
160
|
+
functionType = (_d = new RegExp("^([^::]+)::([^::]+)::([^<]+)").exec(event.type)) === null || _d === void 0 ? void 0 : _d.slice(1, 4);
|
|
172
161
|
action = functionType[2];
|
|
162
|
+
Tails = undefined;
|
|
173
163
|
Index = event.parsedJson.index || event.parsedJson.vault_index;
|
|
174
164
|
if (Index) {
|
|
175
|
-
|
|
176
|
-
if (v) {
|
|
177
|
-
period = void 0;
|
|
178
|
-
switch (v.info.period) {
|
|
179
|
-
case "0":
|
|
180
|
-
period = "Daily";
|
|
181
|
-
break;
|
|
182
|
-
case "1":
|
|
183
|
-
period = "Weekly";
|
|
184
|
-
break;
|
|
185
|
-
case "2":
|
|
186
|
-
period = "Monthly";
|
|
187
|
-
break;
|
|
188
|
-
case "3":
|
|
189
|
-
period = "Hourly";
|
|
190
|
-
break;
|
|
191
|
-
case "4":
|
|
192
|
-
period = "10 Minutes";
|
|
193
|
-
break;
|
|
194
|
-
default:
|
|
195
|
-
period = "";
|
|
196
|
-
break;
|
|
197
|
-
}
|
|
198
|
-
Period = period;
|
|
199
|
-
optionType = void 0;
|
|
200
|
-
switch (v.info.optionType) {
|
|
201
|
-
case "0":
|
|
202
|
-
switch (action) {
|
|
203
|
-
case "DepositEvent":
|
|
204
|
-
case "WithdrawEvent":
|
|
205
|
-
case "UnsubscribeEvent":
|
|
206
|
-
case "ClaimEvent":
|
|
207
|
-
case "CompoundEvent":
|
|
208
|
-
case "HarvestEvent":
|
|
209
|
-
case "RedeemEvent":
|
|
210
|
-
optionType = "Covered Call";
|
|
211
|
-
break;
|
|
212
|
-
default:
|
|
213
|
-
optionType = "Call";
|
|
214
|
-
break;
|
|
215
|
-
}
|
|
216
|
-
break;
|
|
217
|
-
case "1":
|
|
218
|
-
switch (action) {
|
|
219
|
-
case "DepositEvent":
|
|
220
|
-
case "WithdrawEvent":
|
|
221
|
-
case "UnsubscribeEvent":
|
|
222
|
-
case "ClaimEvent":
|
|
223
|
-
case "CompoundEvent":
|
|
224
|
-
case "HarvestEvent":
|
|
225
|
-
case "RedeemEvent":
|
|
226
|
-
optionType = "Put Selling";
|
|
227
|
-
break;
|
|
228
|
-
default:
|
|
229
|
-
optionType = "Put";
|
|
230
|
-
break;
|
|
231
|
-
}
|
|
232
|
-
break;
|
|
233
|
-
case "2":
|
|
234
|
-
optionType = "Call Spread";
|
|
235
|
-
break;
|
|
236
|
-
case "3":
|
|
237
|
-
optionType = "Put Spread";
|
|
238
|
-
break;
|
|
239
|
-
case "4":
|
|
240
|
-
optionType = "Capped Call";
|
|
241
|
-
break;
|
|
242
|
-
case "5":
|
|
243
|
-
optionType = "Capped Put";
|
|
244
|
-
break;
|
|
245
|
-
case "6":
|
|
246
|
-
optionType = "Capped Call";
|
|
247
|
-
break;
|
|
248
|
-
default:
|
|
249
|
-
optionType = "";
|
|
250
|
-
break;
|
|
251
|
-
}
|
|
252
|
-
switch (v.config.riskLevel) {
|
|
253
|
-
case "1":
|
|
254
|
-
RiskLevel = "Conservative";
|
|
255
|
-
break;
|
|
256
|
-
case "2":
|
|
257
|
-
RiskLevel = "Moderate";
|
|
258
|
-
break;
|
|
259
|
-
case "3":
|
|
260
|
-
RiskLevel = "Aggressive";
|
|
261
|
-
break;
|
|
262
|
-
default:
|
|
263
|
-
RiskLevel = "";
|
|
264
|
-
break;
|
|
265
|
-
}
|
|
266
|
-
Vault = "".concat(v.info.settlementBaseName, " ").concat(period, " ").concat(optionType);
|
|
267
|
-
d_token = (0, token_1.typeArgToAsset)("0x" + v.info.depositToken);
|
|
268
|
-
b_token = (0, token_1.typeArgToAsset)("0x" + v.info.bidToken);
|
|
269
|
-
o_token = (0, token_1.typeArgToAsset)("0x" + v.info.settlementBase);
|
|
270
|
-
}
|
|
165
|
+
_a = __read(parseVaultInfo(vaults, Index, action), 6), Period = _a[0], Vault = _a[1], RiskLevel = _a[2], d_token = _a[3], b_token = _a[4], o_token = _a[5];
|
|
271
166
|
}
|
|
272
167
|
switch (action) {
|
|
273
168
|
case "StakeNftEvent":
|
|
@@ -281,10 +176,7 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
281
176
|
break;
|
|
282
177
|
case "ExpUpEvent":
|
|
283
178
|
i = txHistory.findIndex(function (x) { return x.txDigest == event.id.txDigest && x.Action != "First Deposit" && x.Action != "Stake"; });
|
|
284
|
-
if (i != -1) {
|
|
285
|
-
if (txHistory[i].Tails) {
|
|
286
|
-
return [2 /*return*/, txHistory];
|
|
287
|
-
}
|
|
179
|
+
if (i != -1 && txHistory[i].Tails == undefined) {
|
|
288
180
|
txHistory[i].Tails = "#".concat(event.parsedJson.number);
|
|
289
181
|
txHistory[i].Exp = event.parsedJson.exp_earn;
|
|
290
182
|
return [2 /*return*/, txHistory];
|
|
@@ -295,9 +187,7 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
295
187
|
Exp = event.parsedJson.exp_earn;
|
|
296
188
|
}
|
|
297
189
|
else {
|
|
298
|
-
|
|
299
|
-
Tails = "#".concat(event.parsedJson.number);
|
|
300
|
-
Exp = event.parsedJson.exp_earn;
|
|
190
|
+
return [2 /*return*/, txHistory];
|
|
301
191
|
}
|
|
302
192
|
break;
|
|
303
193
|
case "TransferNftEvent":
|
|
@@ -306,9 +196,11 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
306
196
|
Tails = "#".concat(event.parsedJson.number);
|
|
307
197
|
break;
|
|
308
198
|
case "DailyAttendEvent":
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
199
|
+
i = txHistory.findIndex(function (x) { return x.txDigest == event.id.txDigest && x.Action == "Collect EXP"; });
|
|
200
|
+
if (i != -1) {
|
|
201
|
+
txHistory[i].Action = "Check In";
|
|
202
|
+
return [2 /*return*/, txHistory];
|
|
203
|
+
}
|
|
312
204
|
break;
|
|
313
205
|
case "FirstDepositEvent":
|
|
314
206
|
Action = "First Deposit";
|
|
@@ -353,6 +245,149 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
353
245
|
return [2 /*return*/, txHistory];
|
|
354
246
|
}
|
|
355
247
|
break;
|
|
248
|
+
case "RaiseFundEvent":
|
|
249
|
+
Index = event.parsedJson.log[0];
|
|
250
|
+
_b = __read(parseVaultInfo(vaults, Index, action), 6), Period = _b[0], Vault = _b[1], RiskLevel = _b[2], d_token = _b[3], b_token = _b[4], o_token = _b[5];
|
|
251
|
+
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.token.name);
|
|
252
|
+
if (event.parsedJson.log[4] > 0) {
|
|
253
|
+
// deposit
|
|
254
|
+
Action = "Deposit";
|
|
255
|
+
amount = Number(event.parsedJson.log[4]) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
256
|
+
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
257
|
+
}
|
|
258
|
+
else if (event.parsedJson.log[5] > 0) {
|
|
259
|
+
// compound
|
|
260
|
+
Action = "Compound";
|
|
261
|
+
amount = Number(event.parsedJson.log[5]) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
262
|
+
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
263
|
+
}
|
|
264
|
+
break;
|
|
265
|
+
case "ReduceFundEvent":
|
|
266
|
+
Index = event.parsedJson.log[0];
|
|
267
|
+
_c = __read(parseVaultInfo(vaults, Index, action), 6), Period = _c[0], Vault = _c[1], RiskLevel = _c[2], d_token = _c[3], b_token = _c[4], o_token = _c[5];
|
|
268
|
+
if (event.parsedJson.log[4] > 0) {
|
|
269
|
+
// withdraw
|
|
270
|
+
Action = "Withdraw";
|
|
271
|
+
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.d_token.name);
|
|
272
|
+
amount = Number(event.parsedJson.log[4]) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
273
|
+
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
274
|
+
txHistory.push({
|
|
275
|
+
Index: Index,
|
|
276
|
+
Period: Period,
|
|
277
|
+
Action: Action,
|
|
278
|
+
Amount: Amount,
|
|
279
|
+
Vault: Vault,
|
|
280
|
+
RiskLevel: RiskLevel,
|
|
281
|
+
Tails: Tails,
|
|
282
|
+
Exp: Exp,
|
|
283
|
+
Date: new Date(Number(event.timestampMs)),
|
|
284
|
+
txDigest: event.id.txDigest,
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
if (event.parsedJson.log[5] > 0) {
|
|
288
|
+
// unsubscribe
|
|
289
|
+
Action = "Unsubscribe";
|
|
290
|
+
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.d_token.name);
|
|
291
|
+
amount = Number(event.parsedJson.log[5]) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
292
|
+
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
293
|
+
txHistory.push({
|
|
294
|
+
Index: Index,
|
|
295
|
+
Period: Period,
|
|
296
|
+
Action: Action,
|
|
297
|
+
Amount: Amount,
|
|
298
|
+
Vault: Vault,
|
|
299
|
+
RiskLevel: RiskLevel,
|
|
300
|
+
Tails: Tails,
|
|
301
|
+
Exp: Exp,
|
|
302
|
+
Date: new Date(Number(event.timestampMs)),
|
|
303
|
+
txDigest: event.id.txDigest,
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
if (event.parsedJson.log[9] > 0) {
|
|
307
|
+
// claim
|
|
308
|
+
Action = "Claim";
|
|
309
|
+
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.d_token.name);
|
|
310
|
+
amount = Number(event.parsedJson.log[9]) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
311
|
+
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
312
|
+
txHistory.push({
|
|
313
|
+
Index: Index,
|
|
314
|
+
Period: Period,
|
|
315
|
+
Action: Action,
|
|
316
|
+
Amount: Amount,
|
|
317
|
+
Vault: Vault,
|
|
318
|
+
RiskLevel: RiskLevel,
|
|
319
|
+
Tails: Tails,
|
|
320
|
+
Exp: Exp,
|
|
321
|
+
Date: new Date(Number(event.timestampMs)),
|
|
322
|
+
txDigest: event.id.txDigest,
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
if (event.parsedJson.log[6] > 0 && event.parsedJson.log[10] > 0) {
|
|
326
|
+
// Harvest d token and i token
|
|
327
|
+
Action = "Harvest Reward";
|
|
328
|
+
b_token_name = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.b_token.name);
|
|
329
|
+
b_token_amount = Number(event.parsedJson.log[6]) / Math.pow(10, (0, token_1.assetToDecimal)(b_token_name));
|
|
330
|
+
i_token_name = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.i_token.name);
|
|
331
|
+
i_token_amount = Number(event.parsedJson.log[10]) / Math.pow(10, (0, token_1.assetToDecimal)(i_token_name));
|
|
332
|
+
Amount = "".concat((0, bignumber_js_1.default)(b_token_amount).toFixed(), " ").concat(b_token_name, "\n").concat((0, bignumber_js_1.default)(i_token_amount).toFixed(), " ").concat(i_token_name);
|
|
333
|
+
// var amount =
|
|
334
|
+
// Number(event.parsedJson!.log[6]) / 10 ** assetToDecimal(token)!
|
|
335
|
+
// Number(event.parsedJson!.log[10]) / 10 ** assetToDecimal(token)!;
|
|
336
|
+
// Amount = `${BigNumber(amount).toFixed()} ${token}`;
|
|
337
|
+
txHistory.push({
|
|
338
|
+
Index: Index,
|
|
339
|
+
Period: Period,
|
|
340
|
+
Action: Action,
|
|
341
|
+
Amount: Amount,
|
|
342
|
+
Vault: Vault,
|
|
343
|
+
RiskLevel: RiskLevel,
|
|
344
|
+
Tails: Tails,
|
|
345
|
+
Exp: Exp,
|
|
346
|
+
Date: new Date(Number(event.timestampMs)),
|
|
347
|
+
txDigest: event.id.txDigest,
|
|
348
|
+
});
|
|
349
|
+
}
|
|
350
|
+
else {
|
|
351
|
+
if (event.parsedJson.log[6] > 0) {
|
|
352
|
+
// harvest
|
|
353
|
+
Action = "Harvest";
|
|
354
|
+
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.b_token.name);
|
|
355
|
+
amount = Number(event.parsedJson.log[6]) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
356
|
+
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
357
|
+
txHistory.push({
|
|
358
|
+
Index: Index,
|
|
359
|
+
Period: Period,
|
|
360
|
+
Action: Action,
|
|
361
|
+
Amount: Amount,
|
|
362
|
+
Vault: Vault,
|
|
363
|
+
RiskLevel: RiskLevel,
|
|
364
|
+
Tails: Tails,
|
|
365
|
+
Exp: Exp,
|
|
366
|
+
Date: new Date(Number(event.timestampMs)),
|
|
367
|
+
txDigest: event.id.txDigest,
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
if (event.parsedJson.log[10] > 0) {
|
|
371
|
+
// redeem
|
|
372
|
+
Action = "Harvest Reward";
|
|
373
|
+
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.i_token.name);
|
|
374
|
+
amount = Number(event.parsedJson.log[10]) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
375
|
+
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
376
|
+
txHistory.push({
|
|
377
|
+
Index: Index,
|
|
378
|
+
Period: Period,
|
|
379
|
+
Action: Action,
|
|
380
|
+
Amount: Amount,
|
|
381
|
+
Vault: Vault,
|
|
382
|
+
RiskLevel: RiskLevel,
|
|
383
|
+
Tails: Tails,
|
|
384
|
+
Exp: Exp,
|
|
385
|
+
Date: new Date(Number(event.timestampMs)),
|
|
386
|
+
txDigest: event.id.txDigest,
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
return [2 /*return*/, txHistory];
|
|
356
391
|
case "NewStrategyEventV2":
|
|
357
392
|
Action = "Create Strategy";
|
|
358
393
|
deposit_amount = Number(event.parsedJson.deposit_amount) / Math.pow(10, (0, token_1.assetToDecimal)(b_token));
|
|
@@ -384,7 +419,7 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
384
419
|
case "RedeemEvent":
|
|
385
420
|
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.token.name);
|
|
386
421
|
amount = Number(event.parsedJson.amount) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
387
|
-
Action = "Harvest";
|
|
422
|
+
Action = "Harvest Reward";
|
|
388
423
|
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
389
424
|
Index = Index;
|
|
390
425
|
break;
|
|
@@ -412,15 +447,30 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
412
447
|
Action = "Rebate";
|
|
413
448
|
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
414
449
|
break;
|
|
415
|
-
case "ClaimProfitSharingEvent":
|
|
450
|
+
// case "ClaimProfitSharingEvent":
|
|
451
|
+
// var token = typeArgToAsset("0x" + event.parsedJson!.token.name);
|
|
452
|
+
// var amount = Number(event.parsedJson!.value) / 10 ** assetToDecimal(token)!;
|
|
453
|
+
// Action = "Claim Profit Sharing";
|
|
454
|
+
// Amount = `${BigNumber(amount).toFixed()} ${token}`;
|
|
455
|
+
// Tails = `#${event.parsedJson!.number}`;
|
|
456
|
+
// break;
|
|
457
|
+
case "ClaimProfitSharingEventV2":
|
|
416
458
|
token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.token.name);
|
|
417
459
|
amount = Number(event.parsedJson.value) / Math.pow(10, (0, token_1.assetToDecimal)(token));
|
|
418
|
-
|
|
460
|
+
// dice_profit, exp_profit
|
|
461
|
+
// TODO: filter amount != 0
|
|
462
|
+
switch (event.parsedJson.name) {
|
|
463
|
+
case "dice_profit":
|
|
464
|
+
Action = "Harvest Dice Profit";
|
|
465
|
+
break;
|
|
466
|
+
case "exp_profit":
|
|
467
|
+
Action = "Harvest Leaderboard Prize";
|
|
468
|
+
break;
|
|
469
|
+
}
|
|
419
470
|
Amount = "".concat((0, bignumber_js_1.default)(amount).toFixed(), " ").concat(token);
|
|
420
471
|
Tails = "#".concat(event.parsedJson.number);
|
|
421
472
|
break;
|
|
422
473
|
case "NewBidEvent":
|
|
423
|
-
i = txHistory.findIndex(function (x) { return x.txDigest == event.id.txDigest; });
|
|
424
474
|
o_token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.o_token.name);
|
|
425
475
|
b_token = (0, token_1.typeArgToAsset)("0x" + event.parsedJson.b_token.name);
|
|
426
476
|
size = Number(event.parsedJson.size) / Math.pow(10, (0, token_1.assetToDecimal)(o_token));
|
|
@@ -430,15 +480,6 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
430
480
|
if (event.sender != event.parsedJson.signer) {
|
|
431
481
|
Action = "Auto " + Action;
|
|
432
482
|
}
|
|
433
|
-
if (i != -1) {
|
|
434
|
-
txHistory[i].Index = Index;
|
|
435
|
-
txHistory[i].Period = Period;
|
|
436
|
-
txHistory[i].Action = Action;
|
|
437
|
-
txHistory[i].Amount = Amount;
|
|
438
|
-
txHistory[i].Vault = Vault;
|
|
439
|
-
txHistory[i].RiskLevel = RiskLevel;
|
|
440
|
-
return [2 /*return*/, txHistory];
|
|
441
|
-
}
|
|
442
483
|
break;
|
|
443
484
|
default:
|
|
444
485
|
return [2 /*return*/, txHistory];
|
|
@@ -466,6 +507,7 @@ function parseTxHistory(datas, originPackage, vaults) {
|
|
|
466
507
|
});
|
|
467
508
|
});
|
|
468
509
|
}
|
|
510
|
+
exports.parseTxHistory = parseTxHistory;
|
|
469
511
|
function getFromSentio(event, userAddress, startTimestamp) {
|
|
470
512
|
return __awaiter(this, void 0, void 0, function () {
|
|
471
513
|
var apiUrl, headers, requestData, jsonData, response, data;
|
|
@@ -500,10 +542,229 @@ function getFromSentio(event, userAddress, startTimestamp) {
|
|
|
500
542
|
});
|
|
501
543
|
}
|
|
502
544
|
exports.getFromSentio = getFromSentio;
|
|
503
|
-
function
|
|
545
|
+
function getNewBidFromSentio(vaults, userAddress, startTimestamp) {
|
|
504
546
|
return __awaiter(this, void 0, void 0, function () {
|
|
547
|
+
var apiUrl, headers, requestData, jsonData, response, data;
|
|
505
548
|
return __generator(this, function (_a) {
|
|
506
|
-
|
|
549
|
+
switch (_a.label) {
|
|
550
|
+
case 0:
|
|
551
|
+
apiUrl = "https://app.sentio.xyz/api/v1/analytics/typus/typus_v2/sql/execute";
|
|
552
|
+
headers = {
|
|
553
|
+
"api-key": "tz3JJ6stG7Fux6ueRSRA5mdpC9U0lozI3",
|
|
554
|
+
"Content-Type": "application/json",
|
|
555
|
+
};
|
|
556
|
+
requestData = {
|
|
557
|
+
sqlQuery: {
|
|
558
|
+
sql: "\n SELECT *\n FROM NewBid N\n LEFT JOIN (\n SELECT number, distinct_id, exp_earn, transaction_hash, log_index\n FROM ExpUp\n ) S ON N.transaction_hash = S.transaction_hash && N.log_index + 1 = S.log_index\n WHERE N.distinct_id = \"".concat(userAddress, "\" && N.timestamp >= ").concat(startTimestamp, "\n ORDER BY N.timestamp DESC;\n "),
|
|
559
|
+
size: 1000,
|
|
560
|
+
},
|
|
561
|
+
};
|
|
562
|
+
jsonData = JSON.stringify(requestData);
|
|
563
|
+
return [4 /*yield*/, fetch(apiUrl, {
|
|
564
|
+
method: "POST",
|
|
565
|
+
headers: headers,
|
|
566
|
+
body: jsonData,
|
|
567
|
+
})];
|
|
568
|
+
case 1:
|
|
569
|
+
response = _a.sent();
|
|
570
|
+
return [4 /*yield*/, response.json()];
|
|
571
|
+
case 2:
|
|
572
|
+
data = _a.sent();
|
|
573
|
+
return [2 /*return*/, data.result.rows.map(function (x) {
|
|
574
|
+
var _a = __read(parseVaultInfo(vaults, x.index, "NewBidEvent"), 6), Period = _a[0], Vault = _a[1], RiskLevel = _a[2], d_token = _a[3], b_token = _a[4], o_token = _a[5];
|
|
575
|
+
if (x.number == "0" && x.exp_earn == "0") {
|
|
576
|
+
x.number = undefined;
|
|
577
|
+
x.exp_earn = undefined;
|
|
578
|
+
}
|
|
579
|
+
var txHistory = {
|
|
580
|
+
Index: x.index,
|
|
581
|
+
Period: Period,
|
|
582
|
+
Vault: Vault,
|
|
583
|
+
RiskLevel: RiskLevel,
|
|
584
|
+
Action: "Auto Bid" + " ".concat(x.size, " ").concat(x.o_token),
|
|
585
|
+
Amount: x.bidder_balance + " ".concat(x.b_token),
|
|
586
|
+
Tails: x.number,
|
|
587
|
+
Exp: x.exp_earn,
|
|
588
|
+
Date: new Date(Number(x.ts_ms)),
|
|
589
|
+
txDigest: x.transaction_hash,
|
|
590
|
+
};
|
|
591
|
+
return txHistory;
|
|
592
|
+
})];
|
|
593
|
+
}
|
|
507
594
|
});
|
|
508
595
|
});
|
|
509
596
|
}
|
|
597
|
+
exports.getNewBidFromSentio = getNewBidFromSentio;
|
|
598
|
+
function getExerciseFromSentio(vaults, userAddress, startTimestamp) {
|
|
599
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
600
|
+
var apiUrl, headers, requestData, jsonData, response, data;
|
|
601
|
+
return __generator(this, function (_a) {
|
|
602
|
+
switch (_a.label) {
|
|
603
|
+
case 0:
|
|
604
|
+
apiUrl = "https://app.sentio.xyz/api/v1/analytics/typus/typus_v2/sql/execute";
|
|
605
|
+
headers = {
|
|
606
|
+
"api-key": "tz3JJ6stG7Fux6ueRSRA5mdpC9U0lozI3",
|
|
607
|
+
"Content-Type": "application/json",
|
|
608
|
+
};
|
|
609
|
+
requestData = {
|
|
610
|
+
sqlQuery: {
|
|
611
|
+
sql: "\n SELECT *\n FROM Exercise N\n WHERE N.distinct_id = \"".concat(userAddress, "\" && N.timestamp >= ").concat(startTimestamp, "\n ORDER BY N.timestamp DESC;\n "),
|
|
612
|
+
size: 1000,
|
|
613
|
+
},
|
|
614
|
+
};
|
|
615
|
+
jsonData = JSON.stringify(requestData);
|
|
616
|
+
return [4 /*yield*/, fetch(apiUrl, {
|
|
617
|
+
method: "POST",
|
|
618
|
+
headers: headers,
|
|
619
|
+
body: jsonData,
|
|
620
|
+
})];
|
|
621
|
+
case 1:
|
|
622
|
+
response = _a.sent();
|
|
623
|
+
return [4 /*yield*/, response.json()];
|
|
624
|
+
case 2:
|
|
625
|
+
data = _a.sent();
|
|
626
|
+
return [2 /*return*/, data.result.rows.map(function (x) {
|
|
627
|
+
var _a = __read(parseVaultInfo(vaults, x.index, "ExerciseEvent"), 6), Period = _a[0], Vault = _a[1], RiskLevel = _a[2], d_token = _a[3], b_token = _a[4], o_token = _a[5];
|
|
628
|
+
// console.log(x);
|
|
629
|
+
var Action = "Auto Exercise";
|
|
630
|
+
if (x.raw_share) {
|
|
631
|
+
var size = Number(x.raw_share) / Math.pow(10, (0, token_1.assetToDecimal)(o_token));
|
|
632
|
+
Action = "Auto Exercise ".concat(size, " ").concat(o_token);
|
|
633
|
+
}
|
|
634
|
+
var txHistory = {
|
|
635
|
+
Index: x.index,
|
|
636
|
+
Period: Period,
|
|
637
|
+
Vault: Vault,
|
|
638
|
+
RiskLevel: RiskLevel,
|
|
639
|
+
Action: Action,
|
|
640
|
+
Amount: "".concat(x.amount, " ").concat(x.coin_symbol),
|
|
641
|
+
Tails: x.number,
|
|
642
|
+
Exp: x.exp_earn,
|
|
643
|
+
Date: new Date(x.timestamp),
|
|
644
|
+
txDigest: x.transaction_hash,
|
|
645
|
+
};
|
|
646
|
+
return txHistory;
|
|
647
|
+
})];
|
|
648
|
+
}
|
|
649
|
+
});
|
|
650
|
+
});
|
|
651
|
+
}
|
|
652
|
+
exports.getExerciseFromSentio = getExerciseFromSentio;
|
|
653
|
+
function parseVaultInfo(vaults, Index, action) {
|
|
654
|
+
var v = vaults[Index];
|
|
655
|
+
var Period;
|
|
656
|
+
var Vault;
|
|
657
|
+
var RiskLevel;
|
|
658
|
+
var d_token;
|
|
659
|
+
var b_token;
|
|
660
|
+
var o_token;
|
|
661
|
+
var period;
|
|
662
|
+
if (v) {
|
|
663
|
+
switch (v.info.period) {
|
|
664
|
+
case "0":
|
|
665
|
+
period = "Daily";
|
|
666
|
+
break;
|
|
667
|
+
case "1":
|
|
668
|
+
period = "Weekly";
|
|
669
|
+
break;
|
|
670
|
+
case "2":
|
|
671
|
+
period = "Monthly";
|
|
672
|
+
break;
|
|
673
|
+
case "3":
|
|
674
|
+
period = "Hourly";
|
|
675
|
+
break;
|
|
676
|
+
case "4":
|
|
677
|
+
period = "10 Minutes";
|
|
678
|
+
break;
|
|
679
|
+
default:
|
|
680
|
+
period = "";
|
|
681
|
+
break;
|
|
682
|
+
}
|
|
683
|
+
Period = period;
|
|
684
|
+
var optionType = void 0;
|
|
685
|
+
switch (v.info.optionType) {
|
|
686
|
+
case "0":
|
|
687
|
+
switch (action) {
|
|
688
|
+
case "DepositEvent":
|
|
689
|
+
case "WithdrawEvent":
|
|
690
|
+
case "UnsubscribeEvent":
|
|
691
|
+
case "ClaimEvent":
|
|
692
|
+
case "CompoundEvent":
|
|
693
|
+
case "HarvestEvent":
|
|
694
|
+
case "RedeemEvent":
|
|
695
|
+
optionType = "Covered Call";
|
|
696
|
+
break;
|
|
697
|
+
default:
|
|
698
|
+
optionType = "Call";
|
|
699
|
+
break;
|
|
700
|
+
}
|
|
701
|
+
break;
|
|
702
|
+
case "1":
|
|
703
|
+
switch (action) {
|
|
704
|
+
case "DepositEvent":
|
|
705
|
+
case "WithdrawEvent":
|
|
706
|
+
case "UnsubscribeEvent":
|
|
707
|
+
case "ClaimEvent":
|
|
708
|
+
case "CompoundEvent":
|
|
709
|
+
case "HarvestEvent":
|
|
710
|
+
case "RedeemEvent":
|
|
711
|
+
optionType = "Put Selling";
|
|
712
|
+
break;
|
|
713
|
+
default:
|
|
714
|
+
optionType = "Put";
|
|
715
|
+
break;
|
|
716
|
+
}
|
|
717
|
+
break;
|
|
718
|
+
case "2":
|
|
719
|
+
optionType = "Call Spread";
|
|
720
|
+
break;
|
|
721
|
+
case "3":
|
|
722
|
+
optionType = "Put Spread";
|
|
723
|
+
break;
|
|
724
|
+
case "4":
|
|
725
|
+
optionType = "Capped Call";
|
|
726
|
+
break;
|
|
727
|
+
case "5":
|
|
728
|
+
optionType = "Capped Put";
|
|
729
|
+
break;
|
|
730
|
+
case "6":
|
|
731
|
+
switch (action) {
|
|
732
|
+
case "DepositEvent":
|
|
733
|
+
case "WithdrawEvent":
|
|
734
|
+
case "UnsubscribeEvent":
|
|
735
|
+
case "ClaimEvent":
|
|
736
|
+
case "CompoundEvent":
|
|
737
|
+
case "HarvestEvent":
|
|
738
|
+
case "RedeemEvent":
|
|
739
|
+
optionType = "Call Selling";
|
|
740
|
+
break;
|
|
741
|
+
default:
|
|
742
|
+
optionType = "Capped Call";
|
|
743
|
+
break;
|
|
744
|
+
}
|
|
745
|
+
break;
|
|
746
|
+
default:
|
|
747
|
+
optionType = "";
|
|
748
|
+
break;
|
|
749
|
+
}
|
|
750
|
+
switch (v.config.riskLevel) {
|
|
751
|
+
case "1":
|
|
752
|
+
RiskLevel = "Conservative";
|
|
753
|
+
break;
|
|
754
|
+
case "2":
|
|
755
|
+
RiskLevel = "Moderate";
|
|
756
|
+
break;
|
|
757
|
+
case "3":
|
|
758
|
+
RiskLevel = "Aggressive";
|
|
759
|
+
break;
|
|
760
|
+
default:
|
|
761
|
+
RiskLevel = "";
|
|
762
|
+
break;
|
|
763
|
+
}
|
|
764
|
+
Vault = "".concat(v.info.settlementBaseName, " ").concat(period, " ").concat(optionType);
|
|
765
|
+
d_token = (0, token_1.typeArgToAsset)("0x" + v.info.depositToken);
|
|
766
|
+
b_token = (0, token_1.typeArgToAsset)("0x" + v.info.bidToken);
|
|
767
|
+
o_token = (0, token_1.typeArgToAsset)("0x" + v.info.settlementBase);
|
|
768
|
+
}
|
|
769
|
+
return [Period, Vault, RiskLevel, d_token, b_token, o_token];
|
|
770
|
+
}
|