@typus/typus-sdk 1.4.3 → 1.4.5
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/package.json +6 -6
- package/lib/config.json +0 -189
- package/lib/src/_dependencies/source/0x1/ascii/structs.d.ts +0 -82
- package/lib/src/_dependencies/source/0x1/ascii/structs.js +0 -280
- package/lib/src/_dependencies/source/0x1/bit-vector/structs.d.ts +0 -50
- package/lib/src/_dependencies/source/0x1/bit-vector/structs.js +0 -193
- package/lib/src/_dependencies/source/0x1/fixed-point32/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0x1/fixed-point32/structs.js +0 -167
- package/lib/src/_dependencies/source/0x1/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x1/index.js +0 -5
- package/lib/src/_dependencies/source/0x1/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x1/init.js +0 -41
- package/lib/src/_dependencies/source/0x1/option/structs.d.ts +0 -46
- package/lib/src/_dependencies/source/0x1/option/structs.js +0 -198
- package/lib/src/_dependencies/source/0x1/string/structs.d.ts +0 -44
- package/lib/src/_dependencies/source/0x1/string/structs.js +0 -191
- package/lib/src/_dependencies/source/0x1/type-name/structs.d.ts +0 -48
- package/lib/src/_dependencies/source/0x1/type-name/structs.js +0 -168
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +0 -5
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.js +0 -39
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.d.ts +0 -277
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +0 -377
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.d.ts +0 -102
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.js +0 -353
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.d.ts +0 -65
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.js +0 -175
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.d.ts +0 -65
- package/lib/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.js +0 -175
- package/lib/src/_dependencies/source/0x2/authenticator-state/structs.d.ts +0 -442
- package/lib/src/_dependencies/source/0x2/authenticator-state/structs.js +0 -565
- package/lib/src/_dependencies/source/0x2/bag/structs.d.ts +0 -56
- package/lib/src/_dependencies/source/0x2/bag/structs.js +0 -170
- package/lib/src/_dependencies/source/0x2/balance/structs.d.ts +0 -79
- package/lib/src/_dependencies/source/0x2/balance/structs.js +0 -260
- package/lib/src/_dependencies/source/0x2/bcs/structs.d.ts +0 -44
- package/lib/src/_dependencies/source/0x2/bcs/structs.js +0 -191
- package/lib/src/_dependencies/source/0x2/bls12381/structs.d.ts +0 -155
- package/lib/src/_dependencies/source/0x2/bls12381/structs.js +0 -434
- package/lib/src/_dependencies/source/0x2/borrow/structs.d.ts +0 -104
- package/lib/src/_dependencies/source/0x2/borrow/structs.js +0 -267
- package/lib/src/_dependencies/source/0x2/clock/structs.d.ts +0 -56
- package/lib/src/_dependencies/source/0x2/clock/structs.js +0 -170
- package/lib/src/_dependencies/source/0x2/coin/structs.d.ts +0 -379
- package/lib/src/_dependencies/source/0x2/coin/structs.js +0 -648
- package/lib/src/_dependencies/source/0x2/deny-list/structs.d.ts +0 -178
- package/lib/src/_dependencies/source/0x2/deny-list/structs.js +0 -290
- package/lib/src/_dependencies/source/0x2/display/structs.d.ts +0 -228
- package/lib/src/_dependencies/source/0x2/display/structs.js +0 -362
- package/lib/src/_dependencies/source/0x2/dynamic-field/structs.d.ts +0 -63
- package/lib/src/_dependencies/source/0x2/dynamic-field/structs.js +0 -174
- package/lib/src/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +0 -42
- package/lib/src/_dependencies/source/0x2/dynamic-object-field/structs.js +0 -172
- package/lib/src/_dependencies/source/0x2/groth16/structs.d.ts +0 -186
- package/lib/src/_dependencies/source/0x2/groth16/structs.js +0 -464
- package/lib/src/_dependencies/source/0x2/group-ops/structs.d.ts +0 -44
- package/lib/src/_dependencies/source/0x2/group-ops/structs.js +0 -193
- package/lib/src/_dependencies/source/0x2/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x2/index.js +0 -5
- package/lib/src/_dependencies/source/0x2/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x2/init.js +0 -150
- package/lib/src/_dependencies/source/0x2/kiosk/structs.d.ts +0 -565
- package/lib/src/_dependencies/source/0x2/kiosk/structs.js +0 -1033
- package/lib/src/_dependencies/source/0x2/kiosk-extension/structs.d.ts +0 -112
- package/lib/src/_dependencies/source/0x2/kiosk-extension/structs.js +0 -263
- package/lib/src/_dependencies/source/0x2/linked-table/structs.d.ts +0 -144
- package/lib/src/_dependencies/source/0x2/linked-table/structs.js +0 -272
- package/lib/src/_dependencies/source/0x2/object/structs.d.ts +0 -83
- package/lib/src/_dependencies/source/0x2/object/structs.js +0 -256
- package/lib/src/_dependencies/source/0x2/object-bag/structs.d.ts +0 -56
- package/lib/src/_dependencies/source/0x2/object-bag/structs.js +0 -170
- package/lib/src/_dependencies/source/0x2/object-table/structs.d.ts +0 -56
- package/lib/src/_dependencies/source/0x2/object-table/structs.js +0 -172
- package/lib/src/_dependencies/source/0x2/package/structs.d.ts +0 -262
- package/lib/src/_dependencies/source/0x2/package/structs.js +0 -478
- package/lib/src/_dependencies/source/0x2/priority-queue/structs.d.ts +0 -101
- package/lib/src/_dependencies/source/0x2/priority-queue/structs.js +0 -292
- package/lib/src/_dependencies/source/0x2/random/structs.d.ts +0 -190
- package/lib/src/_dependencies/source/0x2/random/structs.js +0 -383
- package/lib/src/_dependencies/source/0x2/sui/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0x2/sui/structs.js +0 -167
- package/lib/src/_dependencies/source/0x2/table/structs.d.ts +0 -56
- package/lib/src/_dependencies/source/0x2/table/structs.js +0 -172
- package/lib/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -63
- package/lib/src/_dependencies/source/0x2/table-vec/structs.js +0 -194
- package/lib/src/_dependencies/source/0x2/token/structs.d.ts +0 -424
- package/lib/src/_dependencies/source/0x2/token/structs.js +0 -651
- package/lib/src/_dependencies/source/0x2/transfer/structs.d.ts +0 -52
- package/lib/src/_dependencies/source/0x2/transfer/structs.js +0 -172
- package/lib/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -345
- package/lib/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -665
- package/lib/src/_dependencies/source/0x2/tx-context/structs.d.ts +0 -68
- package/lib/src/_dependencies/source/0x2/tx-context/structs.js +0 -199
- package/lib/src/_dependencies/source/0x2/url/structs.d.ts +0 -48
- package/lib/src/_dependencies/source/0x2/url/structs.js +0 -168
- package/lib/src/_dependencies/source/0x2/vec-map/structs.d.ts +0 -101
- package/lib/src/_dependencies/source/0x2/vec-map/structs.js +0 -286
- package/lib/src/_dependencies/source/0x2/vec-set/structs.d.ts +0 -45
- package/lib/src/_dependencies/source/0x2/vec-set/structs.js +0 -196
- package/lib/src/_dependencies/source/0x2/versioned/structs.d.ts +0 -104
- package/lib/src/_dependencies/source/0x2/versioned/structs.js +0 -261
- package/lib/src/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +0 -105
- package/lib/src/_dependencies/source/0x2/zklogin-verified-id/structs.js +0 -179
- package/lib/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +0 -69
- package/lib/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +0 -173
- package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +0 -5
- package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +0 -30
- package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +0 -50
- package/lib/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +0 -168
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +0 -5
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +0 -33
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +0 -167
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +0 -112
- package/lib/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +0 -265
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.d.ts +0 -463
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +0 -669
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.d.ts +0 -137
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.js +0 -401
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.d.ts +0 -226
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +0 -402
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.d.ts +0 -383
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +0 -566
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/index.js +0 -5
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.js +0 -73
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.d.ts +0 -591
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +0 -774
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.d.ts +0 -152
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-object-table/structs.js +0 -272
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.d.ts +0 -138
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +0 -276
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.d.ts +0 -261
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +0 -471
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.d.ts +0 -306
- package/lib/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +0 -563
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.d.ts +0 -598
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +0 -789
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +0 -5
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.js +0 -61
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.d.ts +0 -85
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.js +0 -258
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.d.ts +0 -433
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +0 -562
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.d.ts +0 -63
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.js +0 -194
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.d.ts +0 -1006
- package/lib/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +0 -1331
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.d.ts +0 -1458
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +0 -1706
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +0 -5
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.js +0 -129
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.d.ts +0 -1201
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +0 -1643
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.d.ts +0 -1374
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +0 -971
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.d.ts +0 -395
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +0 -750
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.d.ts +0 -994
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +0 -933
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.d.ts +0 -77
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.js +0 -179
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.d.ts +0 -4562
- package/lib/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +0 -3796
- package/lib/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +0 -5
- package/lib/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +0 -4
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +0 -83
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +0 -192
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +0 -333
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +0 -382
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +0 -68
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +0 -176
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +0 -843
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +0 -959
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +0 -167
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/index.js +0 -5
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +0 -79
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +0 -146
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +0 -274
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.d.ts +0 -2272
- package/lib/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/vault/structs.js +0 -2830
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +0 -719
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +0 -711
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/index.js +0 -5
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +0 -43
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +0 -81
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +0 -200
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +0 -53
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +0 -171
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +0 -115
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +0 -212
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +0 -50
- package/lib/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +0 -168
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +0 -5
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +0 -36
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +0 -79
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +0 -256
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +0 -85
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +0 -258
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +0 -169
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.d.ts +0 -44
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes20/structs.js +0 -191
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.d.ts +0 -44
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/bytes32/structs.js +0 -191
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.d.ts +0 -72
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/consumed-vaas/structs.js +0 -193
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.d.ts +0 -45
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/cursor/structs.js +0 -196
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.d.ts +0 -140
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/emitter/structs.js +0 -348
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.d.ts +0 -52
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/external-address/structs.js +0 -168
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.d.ts +0 -58
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/fee-collector/structs.js +0 -195
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.d.ts +0 -158
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/governance-message/structs.js +0 -298
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.d.ts +0 -52
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian/structs.js +0 -168
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.d.ts +0 -75
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-set/structs.js +0 -196
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.d.ts +0 -80
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/guardian-signature/structs.js +0 -174
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/index.js +0 -5
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/init.js +0 -90
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.d.ts +0 -46
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/migrate/structs.js +0 -168
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.d.ts +0 -177
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/package-utils/structs.js +0 -438
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.d.ts +0 -141
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/publish-message/structs.js +0 -297
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.d.ts +0 -101
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set/structs.js +0 -283
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.d.ts +0 -79
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/set-fee/structs.js +0 -256
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.d.ts +0 -50
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/setup/structs.js +0 -168
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.d.ts +0 -269
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/state/structs.js +0 -303
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.d.ts +0 -85
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/transfer-fee/structs.js +0 -258
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.d.ts +0 -145
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/update-guardian-set/structs.js +0 -372
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.d.ts +0 -143
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/upgrade-contract/structs.js +0 -349
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.d.ts +0 -122
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/vaa/structs.js +0 -209
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.d.ts +0 -79
- package/lib/src/_dependencies/source/0xcc029e2810f17f9f43f52262f40026a71fbdca40ed3803ad2884994361910b7e/version-control/structs.js +0 -256
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.d.ts +0 -279
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/batch-price-attestation/structs.js +0 -295
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.d.ts +0 -105
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/contract-upgrade/structs.js +0 -260
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.d.ts +0 -66
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/data-source/structs.js +0 -170
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.d.ts +0 -200
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/event/structs.js +0 -259
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.d.ts +0 -67
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance/structs.js +0 -196
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-action/structs.js +0 -167
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.d.ts +0 -71
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/governance-instruction/structs.js +0 -198
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.d.ts +0 -45
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/hot-potato-vector/structs.js +0 -196
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.d.ts +0 -47
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/i64/structs.js +0 -169
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.d.ts +0 -2
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/index.js +0 -5
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.d.ts +0 -2
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/init.js +0 -84
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.d.ts +0 -46
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/migrate/structs.js +0 -168
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.d.ts +0 -84
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price/structs.js +0 -174
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.d.ts +0 -153
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-feed/structs.js +0 -173
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.d.ts +0 -44
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-identifier/structs.js +0 -191
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.d.ts +0 -351
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-info/structs.js +0 -264
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/price-status/structs.js +0 -167
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.d.ts +0 -110
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set/structs.js +0 -288
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.d.ts +0 -75
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-data-sources/structs.js +0 -192
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-fee-recipient/structs.js +0 -167
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.d.ts +0 -72
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-governance-data-source/structs.js +0 -172
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.d.ts +0 -41
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-stale-price-threshold/structs.js +0 -167
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.d.ts +0 -47
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/set-update-fee/structs.js +0 -169
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.d.ts +0 -50
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/setup/structs.js +0 -168
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.d.ts +0 -269
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/state/structs.js +0 -363
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.d.ts +0 -79
- package/lib/src/_dependencies/source/0xe76d8a37d4132278a7a752183e90e04890b9e7d0f6657eadb68821609a2a56a3/version-control/structs.js +0 -256
- package/lib/src/_framework/init-source.d.ts +0 -1
- package/lib/src/_framework/init-source.js +0 -64
- package/lib/src/_framework/loader.d.ts +0 -17
- package/lib/src/_framework/loader.js +0 -99
- package/lib/src/_framework/reified.d.ts +0 -100
- package/lib/src/_framework/reified.js +0 -263
- package/lib/src/_framework/util.d.ts +0 -53
- package/lib/src/_framework/util.js +0 -251
- package/lib/src/airdrop/authority-entry.d.ts +0 -22
- package/lib/src/airdrop/authority-entry.js +0 -137
- package/lib/src/airdrop/index.d.ts +0 -3
- package/lib/src/airdrop/index.js +0 -19
- package/lib/src/airdrop/user-entry.d.ts +0 -10
- package/lib/src/airdrop/user-entry.js +0 -16
- package/lib/src/airdrop/view-function.d.ts +0 -9
- package/lib/src/airdrop/view-function.js +0 -73
- package/lib/src/auto-bid/index.d.ts +0 -2
- package/lib/src/auto-bid/index.js +0 -18
- package/lib/src/auto-bid/user-entry.d.ts +0 -45
- package/lib/src/auto-bid/user-entry.js +0 -203
- package/lib/src/auto-bid/view-function.d.ts +0 -43
- package/lib/src/auto-bid/view-function.js +0 -347
- package/lib/src/constants/constant.d.ts +0 -22
- package/lib/src/constants/constant.js +0 -29
- package/lib/src/constants/index.d.ts +0 -2
- package/lib/src/constants/index.js +0 -18
- package/lib/src/constants/token.d.ts +0 -51
- package/lib/src/constants/token.js +0 -178
- package/lib/src/index.d.ts +0 -11
- package/lib/src/index.js +0 -27
- package/lib/src/leaderboard/authority-entry.d.ts +0 -22
- package/lib/src/leaderboard/authority-entry.js +0 -90
- package/lib/src/leaderboard/index.d.ts +0 -2
- package/lib/src/leaderboard/index.js +0 -18
- package/lib/src/leaderboard/view-function.d.ts +0 -20
- package/lib/src/leaderboard/view-function.js +0 -93
- package/lib/src/tails-exp-dice/api.d.ts +0 -1
- package/lib/src/tails-exp-dice/api.js +0 -76
- package/lib/src/tails-exp-dice/fetch.d.ts +0 -81
- package/lib/src/tails-exp-dice/fetch.js +0 -346
- package/lib/src/tails-exp-dice/index.d.ts +0 -4
- package/lib/src/tails-exp-dice/index.js +0 -20
- package/lib/src/tails-exp-dice/user-entry.d.ts +0 -70
- package/lib/src/tails-exp-dice/user-entry.js +0 -249
- package/lib/src/tails-exp-dice/view-function.d.ts +0 -8
- package/lib/src/tails-exp-dice/view-function.js +0 -130
- package/lib/src/tails-staking/authority-entry.d.ts +0 -182
- package/lib/src/tails-staking/authority-entry.js +0 -247
- package/lib/src/tails-staking/index.d.ts +0 -3
- package/lib/src/tails-staking/index.js +0 -19
- package/lib/src/tails-staking/user-entry.d.ts +0 -157
- package/lib/src/tails-staking/user-entry.js +0 -416
- package/lib/src/tails-staking/view-function.d.ts +0 -20
- package/lib/src/tails-staking/view-function.js +0 -122
- package/lib/src/typus-dov-single-v2/entry/authority-entry.d.ts +0 -70
- package/lib/src/typus-dov-single-v2/entry/authority-entry.js +0 -167
- package/lib/src/typus-dov-single-v2/entry/index.d.ts +0 -3
- package/lib/src/typus-dov-single-v2/entry/index.js +0 -19
- package/lib/src/typus-dov-single-v2/entry/mfud-user-entry.d.ts +0 -126
- package/lib/src/typus-dov-single-v2/entry/mfud-user-entry.js +0 -425
- package/lib/src/typus-dov-single-v2/entry/user-entry.d.ts +0 -212
- package/lib/src/typus-dov-single-v2/entry/user-entry.js +0 -448
- package/lib/src/typus-dov-single-v2/function/bidding.d.ts +0 -151
- package/lib/src/typus-dov-single-v2/function/bidding.js +0 -833
- package/lib/src/typus-dov-single-v2/function/index.d.ts +0 -3
- package/lib/src/typus-dov-single-v2/function/index.js +0 -19
- package/lib/src/typus-dov-single-v2/function/token.d.ts +0 -21
- package/lib/src/typus-dov-single-v2/function/token.js +0 -38
- package/lib/src/typus-dov-single-v2/function/vault.d.ts +0 -8
- package/lib/src/typus-dov-single-v2/function/vault.js +0 -23
- package/lib/src/typus-dov-single-v2/history/index.d.ts +0 -2
- package/lib/src/typus-dov-single-v2/history/index.js +0 -18
- package/lib/src/typus-dov-single-v2/history/user-history.d.ts +0 -36
- package/lib/src/typus-dov-single-v2/history/user-history.js +0 -999
- package/lib/src/typus-dov-single-v2/history/vault-history.d.ts +0 -123
- package/lib/src/typus-dov-single-v2/history/vault-history.js +0 -403
- package/lib/src/typus-dov-single-v2/index.d.ts +0 -4
- package/lib/src/typus-dov-single-v2/index.js +0 -20
- package/lib/src/typus-dov-single-v2/view-function.d.ts +0 -212
- package/lib/src/typus-dov-single-v2/view-function.js +0 -578
- package/lib/src/typus-nft/fetch.d.ts +0 -69
- package/lib/src/typus-nft/fetch.js +0 -565
- package/lib/src/typus-nft/index.d.ts +0 -2
- package/lib/src/typus-nft/index.js +0 -18
- package/lib/src/typus-nft/user-entry.d.ts +0 -38
- package/lib/src/typus-nft/user-entry.js +0 -173
- package/lib/src/typus-perp/admin/functions.d.ts +0 -51
- package/lib/src/typus-perp/admin/functions.js +0 -100
- package/lib/src/typus-perp/admin/structs.d.ts +0 -425
- package/lib/src/typus-perp/admin/structs.js +0 -802
- package/lib/src/typus-perp/fetch.d.ts +0 -57
- package/lib/src/typus-perp/fetch.js +0 -400
- package/lib/src/typus-perp/index.d.ts +0 -3
- package/lib/src/typus-perp/index.js +0 -14
- package/lib/src/typus-perp/init.d.ts +0 -2
- package/lib/src/typus-perp/init.js +0 -120
- package/lib/src/typus-perp/lp-pool/functions.d.ts +0 -283
- package/lib/src/typus-perp/lp-pool/functions.js +0 -418
- package/lib/src/typus-perp/lp-pool/structs.d.ts +0 -2538
- package/lib/src/typus-perp/lp-pool/structs.js +0 -3515
- package/lib/src/typus-perp/math/functions.d.ts +0 -18
- package/lib/src/typus-perp/math/functions.js +0 -40
- package/lib/src/typus-perp/oracle/functions.d.ts +0 -14
- package/lib/src/typus-perp/oracle/functions.js +0 -22
- package/lib/src/typus-perp/oracle/structs.d.ts +0 -102
- package/lib/src/typus-perp/oracle/structs.js +0 -353
- package/lib/src/typus-perp/position/functions.d.ts +0 -339
- package/lib/src/typus-perp/position/functions.js +0 -564
- package/lib/src/typus-perp/position/structs.d.ts +0 -1144
- package/lib/src/typus-perp/position/structs.js +0 -1485
- package/lib/src/typus-perp/readVec.d.ts +0 -3
- package/lib/src/typus-perp/readVec.js +0 -117
- package/lib/src/typus-perp/stake-pool/functions.d.ts +0 -169
- package/lib/src/typus-perp/stake-pool/functions.js +0 -258
- package/lib/src/typus-perp/stake-pool/structs.d.ts +0 -2071
- package/lib/src/typus-perp/stake-pool/structs.js +0 -3515
- package/lib/src/typus-perp/symbol/functions.d.ts +0 -10
- package/lib/src/typus-perp/symbol/functions.js +0 -20
- package/lib/src/typus-perp/symbol/structs.d.ts +0 -76
- package/lib/src/typus-perp/symbol/structs.js +0 -216
- package/lib/src/typus-perp/tlp/functions.d.ts +0 -20
- package/lib/src/typus-perp/tlp/functions.js +0 -35
- package/lib/src/typus-perp/tlp/structs.d.ts +0 -88
- package/lib/src/typus-perp/tlp/structs.js +0 -329
- package/lib/src/typus-perp/token-interface/functions.d.ts +0 -12
- package/lib/src/typus-perp/token-interface/functions.js +0 -20
- package/lib/src/typus-perp/trading/functions.d.ts +0 -427
- package/lib/src/typus-perp/trading/functions.js +0 -612
- package/lib/src/typus-perp/trading/structs.d.ts +0 -2631
- package/lib/src/typus-perp/trading/structs.js +0 -4067
- package/lib/src/typus-perp/treasury-caps/functions.d.ts +0 -10
- package/lib/src/typus-perp/treasury-caps/functions.js +0 -32
- package/lib/src/typus-perp/treasury-caps/structs.d.ts +0 -50
- package/lib/src/typus-perp/treasury-caps/structs.js +0 -204
- package/lib/src/typus-perp/user/order.d.ts +0 -70
- package/lib/src/typus-perp/user/order.js +0 -206
- package/lib/src/typus-perp/user/orderWithBidReceipt.d.ts +0 -62
- package/lib/src/typus-perp/user/orderWithBidReceipt.js +0 -149
- package/lib/src/typus-perp/user/tlp.d.ts +0 -93
- package/lib/src/typus-perp/user/tlp.js +0 -268
- package/lib/src/user/index.d.ts +0 -1
- package/lib/src/user/index.js +0 -17
- package/lib/src/user/view-function.d.ts +0 -8
- package/lib/src/user/view-function.js +0 -71
- package/lib/src/utils/api/defillama/index.d.ts +0 -1
- package/lib/src/utils/api/defillama/index.js +0 -17
- package/lib/src/utils/api/defillama/tvl.d.ts +0 -1
- package/lib/src/utils/api/defillama/tvl.js +0 -58
- package/lib/src/utils/api/index.d.ts +0 -3
- package/lib/src/utils/api/index.js +0 -19
- package/lib/src/utils/api/price.d.ts +0 -4
- package/lib/src/utils/api/price.js +0 -208
- package/lib/src/utils/api/sentio/index.d.ts +0 -2
- package/lib/src/utils/api/sentio/index.js +0 -18
- package/lib/src/utils/api/sentio/leader-board.d.ts +0 -7
- package/lib/src/utils/api/sentio/leader-board.js +0 -103
- package/lib/src/utils/api/sentio/reward-generated.d.ts +0 -16
- package/lib/src/utils/api/sentio/reward-generated.js +0 -511
- package/lib/src/utils/index.d.ts +0 -5
- package/lib/src/utils/index.js +0 -21
- package/lib/src/utils/load_env.d.ts +0 -1
- package/lib/src/utils/load_env.js +0 -9
- package/lib/src/utils/mint.d.ts +0 -2
- package/lib/src/utils/mint.js +0 -57
- package/lib/src/utils/pyth/constant.d.ts +0 -49
- package/lib/src/utils/pyth/constant.js +0 -70
- package/lib/src/utils/pyth/index.d.ts +0 -2
- package/lib/src/utils/pyth/index.js +0 -18
- package/lib/src/utils/pyth/pythClient.d.ts +0 -12
- package/lib/src/utils/pyth/pythClient.js +0 -80
- package/lib/src/utils/tools.d.ts +0 -6
- package/lib/src/utils/tools.js +0 -45
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
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
|
-
};
|
|
54
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
55
|
-
exports.newGameTx = newGameTx;
|
|
56
|
-
exports.playGuessTx = playGuessTx;
|
|
57
|
-
exports.newGamePlayGuessTx = newGamePlayGuessTx;
|
|
58
|
-
exports.getConsumeExpCoinStakedTx = getConsumeExpCoinStakedTx;
|
|
59
|
-
exports.getConsumeExpCoinUnstakedTx = getConsumeExpCoinUnstakedTx;
|
|
60
|
-
var transactions_1 = require("@mysten/sui.js/transactions");
|
|
61
|
-
/**
|
|
62
|
-
public(friend) entry fun new_game<TOKEN>(
|
|
63
|
-
registry: &mut Registry,
|
|
64
|
-
index: u64,
|
|
65
|
-
coins: vector<Coin<TOKEN>>,
|
|
66
|
-
stake_amount: u64,
|
|
67
|
-
ctx: &mut TxContext
|
|
68
|
-
)
|
|
69
|
-
*/
|
|
70
|
-
function newGameTx(gasBudget, packageId, typeArguments, // [TOKEN]
|
|
71
|
-
registry, index, coins, amount) {
|
|
72
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
73
|
-
var tx;
|
|
74
|
-
return __generator(this, function (_a) {
|
|
75
|
-
tx = new transactions_1.TransactionBlock();
|
|
76
|
-
tx.moveCall({
|
|
77
|
-
target: "".concat(packageId, "::tails_exp::new_game"),
|
|
78
|
-
typeArguments: typeArguments,
|
|
79
|
-
arguments: [tx.object(registry), tx.pure(index), tx.makeMoveVec({ objects: coins.map(function (id) { return tx.object(id); }) }), tx.pure(amount)],
|
|
80
|
-
});
|
|
81
|
-
tx.setGasBudget(gasBudget);
|
|
82
|
-
return [2 /*return*/, tx];
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
public(friend) entry fun play_guess(
|
|
88
|
-
registry: &mut Registry,
|
|
89
|
-
index: u64,
|
|
90
|
-
game_id: u64,
|
|
91
|
-
guess_1: u64,
|
|
92
|
-
larger_than_1: bool,
|
|
93
|
-
guess_2: u64,
|
|
94
|
-
larger_than_2: bool,
|
|
95
|
-
ctx: &mut TxContext
|
|
96
|
-
)
|
|
97
|
-
*/
|
|
98
|
-
function playGuessTx(gasBudget, packageId, registry, index, guess_1, larger_than_1, guess_2, larger_than_2) {
|
|
99
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
100
|
-
var tx;
|
|
101
|
-
return __generator(this, function (_a) {
|
|
102
|
-
tx = new transactions_1.TransactionBlock();
|
|
103
|
-
tx.moveCall({
|
|
104
|
-
target: "".concat(packageId, "::tails_exp::play_guess"),
|
|
105
|
-
typeArguments: [],
|
|
106
|
-
arguments: [
|
|
107
|
-
tx.object(registry),
|
|
108
|
-
tx.pure(index),
|
|
109
|
-
tx.pure(guess_1),
|
|
110
|
-
tx.pure(larger_than_1),
|
|
111
|
-
tx.pure(guess_2),
|
|
112
|
-
tx.pure(larger_than_2),
|
|
113
|
-
],
|
|
114
|
-
});
|
|
115
|
-
tx.setGasBudget(gasBudget);
|
|
116
|
-
return [2 /*return*/, tx];
|
|
117
|
-
});
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
function newGamePlayGuessTx(gasBudget, packageId, typeArguments, // [TOKEN]
|
|
121
|
-
registry, index, coins, amount, guess_1, larger_than_1, guess_2, larger_than_2) {
|
|
122
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
123
|
-
var tx, _a, coin;
|
|
124
|
-
return __generator(this, function (_b) {
|
|
125
|
-
tx = new transactions_1.TransactionBlock();
|
|
126
|
-
if (typeArguments[0] == "0x2::sui::SUI" ||
|
|
127
|
-
typeArguments[0] == "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI") {
|
|
128
|
-
_a = __read(tx.splitCoins(tx.gas, [tx.pure(amount)]), 1), coin = _a[0];
|
|
129
|
-
tx.moveCall({
|
|
130
|
-
target: "".concat(packageId, "::tails_exp::new_game"),
|
|
131
|
-
typeArguments: typeArguments,
|
|
132
|
-
arguments: [tx.object(registry), tx.pure(index), tx.makeMoveVec({ objects: [coin] }), tx.pure(amount)],
|
|
133
|
-
});
|
|
134
|
-
}
|
|
135
|
-
else {
|
|
136
|
-
tx.moveCall({
|
|
137
|
-
target: "".concat(packageId, "::tails_exp::new_game"),
|
|
138
|
-
typeArguments: typeArguments,
|
|
139
|
-
arguments: [
|
|
140
|
-
tx.object(registry),
|
|
141
|
-
tx.pure(index),
|
|
142
|
-
tx.makeMoveVec({ objects: coins.map(function (id) { return tx.object(id); }) }),
|
|
143
|
-
tx.pure(amount),
|
|
144
|
-
],
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
tx.moveCall({
|
|
148
|
-
target: "".concat(packageId, "::tails_exp::play_guess"),
|
|
149
|
-
typeArguments: [],
|
|
150
|
-
arguments: [
|
|
151
|
-
tx.object(registry),
|
|
152
|
-
tx.pure(index),
|
|
153
|
-
tx.pure(guess_1),
|
|
154
|
-
tx.pure(larger_than_1),
|
|
155
|
-
tx.pure(guess_2),
|
|
156
|
-
tx.pure(larger_than_2),
|
|
157
|
-
// tx.object("0x8"), // TODO: waiting for upgrade
|
|
158
|
-
],
|
|
159
|
-
});
|
|
160
|
-
tx.setGasBudget(gasBudget);
|
|
161
|
-
return [2 /*return*/, tx];
|
|
162
|
-
});
|
|
163
|
-
});
|
|
164
|
-
}
|
|
165
|
-
/**
|
|
166
|
-
public fun consume_exp_coin_staked(
|
|
167
|
-
registry: &mut Registry,
|
|
168
|
-
version: &Version,
|
|
169
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
170
|
-
tails: address,
|
|
171
|
-
coin: Coin<TAILS_EXP>,
|
|
172
|
-
) {
|
|
173
|
-
*/
|
|
174
|
-
function getConsumeExpCoinStakedTx(input) {
|
|
175
|
-
var coin = input.coins.pop();
|
|
176
|
-
if (input.coins.length > 0) {
|
|
177
|
-
input.tx.mergeCoins(input.tx.object(coin), input.coins.map(function (id) { return input.tx.object(id); }));
|
|
178
|
-
}
|
|
179
|
-
var _a = __read(input.tx.splitCoins(input.tx.object(coin), [input.tx.pure(input.amount)]), 1), input_coin = _a[0];
|
|
180
|
-
input.tx.moveCall({
|
|
181
|
-
target: "".concat(input.packageId, "::tails_exp::consume_exp_coin_staked"),
|
|
182
|
-
typeArguments: [],
|
|
183
|
-
arguments: [
|
|
184
|
-
input.tx.object(input.tailsExpRegistry),
|
|
185
|
-
input.tx.object(input.typusEcosystemVersion),
|
|
186
|
-
input.tx.object(input.tailsStakingRegistry),
|
|
187
|
-
input.tx.pure(input.tails),
|
|
188
|
-
input.tx.object(input_coin),
|
|
189
|
-
],
|
|
190
|
-
});
|
|
191
|
-
return input.tx;
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
public fun consume_exp_coin_unstaked(
|
|
195
|
-
registry: &mut Registry,
|
|
196
|
-
version: &Version,
|
|
197
|
-
tails_staking_registry: &TailsStakingRegistry,
|
|
198
|
-
kiosk: &mut Kiosk,
|
|
199
|
-
kiosk_owner_cap: &KioskOwnerCap,
|
|
200
|
-
tails: address,
|
|
201
|
-
coin: Coin<TAILS_EXP>,
|
|
202
|
-
) {
|
|
203
|
-
*/
|
|
204
|
-
function getConsumeExpCoinUnstakedTx(input) {
|
|
205
|
-
var coin = input.coins.pop();
|
|
206
|
-
if (input.coins.length > 0) {
|
|
207
|
-
input.tx.mergeCoins(input.tx.object(coin), input.coins.map(function (id) { return input.tx.object(id); }));
|
|
208
|
-
}
|
|
209
|
-
var _a = __read(input.tx.splitCoins(input.tx.object(coin), [input.tx.pure(input.amount)]), 1), input_coin = _a[0];
|
|
210
|
-
if (input.personalKioskPackageId) {
|
|
211
|
-
var _b = __read(input.tx.moveCall({
|
|
212
|
-
target: "".concat(input.personalKioskPackageId, "::personal_kiosk::borrow_val"),
|
|
213
|
-
arguments: [input.tx.object(input.kioskCap)],
|
|
214
|
-
}), 2), personalKioskCap = _b[0], borrow = _b[1];
|
|
215
|
-
input.tx.moveCall({
|
|
216
|
-
target: "".concat(input.packageId, "::tails_exp::consume_exp_coin_unstaked"),
|
|
217
|
-
typeArguments: [],
|
|
218
|
-
arguments: [
|
|
219
|
-
input.tx.object(input.tailsExpRegistry),
|
|
220
|
-
input.tx.object(input.typusEcosystemVersion),
|
|
221
|
-
input.tx.object(input.tailsStakingRegistry),
|
|
222
|
-
input.tx.object(input.kiosk),
|
|
223
|
-
personalKioskCap,
|
|
224
|
-
input.tx.pure(input.tails),
|
|
225
|
-
input.tx.object(input_coin),
|
|
226
|
-
],
|
|
227
|
-
});
|
|
228
|
-
input.tx.moveCall({
|
|
229
|
-
target: "".concat(input.personalKioskPackageId, "::personal_kiosk::return_val"),
|
|
230
|
-
arguments: [input.tx.object(input.kioskCap), personalKioskCap, borrow],
|
|
231
|
-
});
|
|
232
|
-
}
|
|
233
|
-
else {
|
|
234
|
-
input.tx.moveCall({
|
|
235
|
-
target: "".concat(input.packageId, "::tails_exp::consume_exp_coin_unstaked"),
|
|
236
|
-
typeArguments: [],
|
|
237
|
-
arguments: [
|
|
238
|
-
input.tx.object(input.tailsExpRegistry),
|
|
239
|
-
input.tx.object(input.typusEcosystemVersion),
|
|
240
|
-
input.tx.object(input.tailsStakingRegistry),
|
|
241
|
-
input.tx.object(input.kiosk),
|
|
242
|
-
input.tx.object(input.kioskCap),
|
|
243
|
-
input.tx.pure(input.tails),
|
|
244
|
-
input.tx.object(input_coin),
|
|
245
|
-
],
|
|
246
|
-
});
|
|
247
|
-
}
|
|
248
|
-
return input.tx;
|
|
249
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export interface DrawResult {
|
|
2
|
-
answer_1: string;
|
|
3
|
-
result_1: string;
|
|
4
|
-
answer_2: string;
|
|
5
|
-
result_2: string;
|
|
6
|
-
exp: string;
|
|
7
|
-
}
|
|
8
|
-
export declare function simulateGame(network: "mainnet" | "testnet", packageId: string, registry: string, index: string, amount: string, guess_1: string, larger_than_1: boolean, guess_2: string, larger_than_2: boolean, vrf_input_1: number[], vrf_input_2: number[], drawKeys: any, sender?: string): Promise<DrawResult>;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
39
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
40
|
-
};
|
|
41
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42
|
-
exports.simulateGame = simulateGame;
|
|
43
|
-
var transactions_1 = require("@mysten/sui.js/transactions");
|
|
44
|
-
var client_1 = require("@mysten/sui.js/client");
|
|
45
|
-
var bcs_1 = require("@mysten/bcs");
|
|
46
|
-
var bls_signatures_1 = __importDefault(require("bls-signatures"));
|
|
47
|
-
function simulateGame(network_1, packageId_1, registry_1, index_1, amount_1, guess_1_1, larger_than_1_1, guess_2_1, larger_than_2_1, vrf_input_1_1, vrf_input_2_1, drawKeys_1) {
|
|
48
|
-
return __awaiter(this, arguments, void 0, function (network, packageId, registry, index, amount, guess_1, larger_than_1, guess_2, larger_than_2, vrf_input_1, vrf_input_2, drawKeys, sender) {
|
|
49
|
-
var provider, transactionBlock, target, BLS, PRIVATE_KEY, draw_private_key, bls_signature_1, bls_signature_2, transactionBlockArguments, results, bytes, reader, answer_1, result_1, answer_2, result_2, exp, result;
|
|
50
|
-
if (sender === void 0) { sender = "0xb6c7e3b1c61ee81516a8317f221daa035f1503e0ac3ae7a50b61834bc7a3ead9"; }
|
|
51
|
-
return __generator(this, function (_a) {
|
|
52
|
-
switch (_a.label) {
|
|
53
|
-
case 0:
|
|
54
|
-
provider = new client_1.SuiClient({ url: (0, client_1.getFullnodeUrl)(network) });
|
|
55
|
-
transactionBlock = new transactions_1.TransactionBlock();
|
|
56
|
-
target = "".concat(packageId, "::tails_exp::simulate_game");
|
|
57
|
-
return [4 /*yield*/, (0, bls_signatures_1.default)()];
|
|
58
|
-
case 1:
|
|
59
|
-
BLS = _a.sent();
|
|
60
|
-
PRIVATE_KEY = Uint8Array.from(drawKeys[network][index]);
|
|
61
|
-
draw_private_key = BLS.PrivateKey.from_bytes(PRIVATE_KEY, true);
|
|
62
|
-
bls_signature_1 = BLS.BasicSchemeMPL.sign(draw_private_key, Uint8Array.from(vrf_input_1)).serialize();
|
|
63
|
-
bls_signature_2 = BLS.BasicSchemeMPL.sign(draw_private_key, Uint8Array.from(vrf_input_2)).serialize();
|
|
64
|
-
transactionBlockArguments = [
|
|
65
|
-
transactionBlock.object(registry),
|
|
66
|
-
transactionBlock.pure(index),
|
|
67
|
-
transactionBlock.pure(amount),
|
|
68
|
-
transactionBlock.pure(guess_1),
|
|
69
|
-
transactionBlock.pure(larger_than_1),
|
|
70
|
-
transactionBlock.pure(guess_2),
|
|
71
|
-
transactionBlock.pure(larger_than_2),
|
|
72
|
-
transactionBlock.pure(uint8ArrayToBCSStringArray(Uint8Array.from(vrf_input_1))),
|
|
73
|
-
transactionBlock.pure(uint8ArrayToBCSStringArray(Uint8Array.from(vrf_input_2))),
|
|
74
|
-
transactionBlock.pure(uint8ArrayToBCSStringArray(bls_signature_1)),
|
|
75
|
-
transactionBlock.pure(uint8ArrayToBCSStringArray(bls_signature_2)),
|
|
76
|
-
];
|
|
77
|
-
transactionBlock.moveCall({
|
|
78
|
-
target: target,
|
|
79
|
-
typeArguments: [],
|
|
80
|
-
arguments: transactionBlockArguments,
|
|
81
|
-
});
|
|
82
|
-
return [4 /*yield*/, provider.devInspectTransactionBlock({ transactionBlock: transactionBlock, sender: sender })];
|
|
83
|
-
case 2:
|
|
84
|
-
results = (_a.sent()).results;
|
|
85
|
-
bytes = results[results.length - 1].returnValues[0][0];
|
|
86
|
-
reader = new bcs_1.BcsReader(new Uint8Array(bytes));
|
|
87
|
-
// vector[
|
|
88
|
-
// answer_1,
|
|
89
|
-
// result_1,
|
|
90
|
-
// answer_2,
|
|
91
|
-
// result_2,
|
|
92
|
-
// exp
|
|
93
|
-
// ]
|
|
94
|
-
// skip vector length byte first
|
|
95
|
-
reader.read8();
|
|
96
|
-
answer_1 = reader.read64();
|
|
97
|
-
result_1 = reader.read64();
|
|
98
|
-
answer_2 = reader.read64();
|
|
99
|
-
result_2 = reader.read64();
|
|
100
|
-
exp = reader.read64();
|
|
101
|
-
result = {
|
|
102
|
-
answer_1: answer_1,
|
|
103
|
-
result_1: result_1,
|
|
104
|
-
answer_2: answer_2,
|
|
105
|
-
result_2: result_2,
|
|
106
|
-
exp: exp,
|
|
107
|
-
};
|
|
108
|
-
return [2 /*return*/, result];
|
|
109
|
-
}
|
|
110
|
-
});
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
function uint8ArrayToBCSStringArray(uint8Array) {
|
|
114
|
-
var result = [];
|
|
115
|
-
for (var i = 0; i < uint8Array.length; i++) {
|
|
116
|
-
// Assume each byte is a UTF-8 character
|
|
117
|
-
var character = String.fromCharCode(uint8Array[i]);
|
|
118
|
-
// Convert character to its BCS representation (you need to implement this part)
|
|
119
|
-
var bcsRepresentation = encodeToBCS(character);
|
|
120
|
-
// Add BCS representation to the result array
|
|
121
|
-
result.push(bcsRepresentation);
|
|
122
|
-
}
|
|
123
|
-
return result;
|
|
124
|
-
}
|
|
125
|
-
// Function to encode a character to its BCS representation
|
|
126
|
-
function encodeToBCS(character) {
|
|
127
|
-
// You need to implement this part based on BCS encoding rules
|
|
128
|
-
// This is a placeholder; the actual implementation depends on BCS specifications
|
|
129
|
-
return character.charCodeAt(0).toString();
|
|
130
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
import { TransactionBlock, TransactionObjectInput } from "@mysten/sui.js/transactions";
|
|
2
|
-
/**
|
|
3
|
-
entry fun upload_ids(
|
|
4
|
-
version: &Version,
|
|
5
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
6
|
-
mut ids: vector<address>, // reverse
|
|
7
|
-
ctx: &TxContext,
|
|
8
|
-
) {
|
|
9
|
-
*/
|
|
10
|
-
export declare function getUploadIdsTx(input: {
|
|
11
|
-
tx: TransactionBlock;
|
|
12
|
-
typusPackageId: string;
|
|
13
|
-
typusEcosystemVersion: string;
|
|
14
|
-
typusTailsStakingRegistry: string;
|
|
15
|
-
ids: string[];
|
|
16
|
-
}): TransactionBlock;
|
|
17
|
-
/**
|
|
18
|
-
entry fun remove_ids(
|
|
19
|
-
version: &Version,
|
|
20
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
21
|
-
mut count: u64,
|
|
22
|
-
ctx: &TxContext,
|
|
23
|
-
) {
|
|
24
|
-
*/
|
|
25
|
-
export declare function getRemoveIdsTx(input: {
|
|
26
|
-
tx: TransactionBlock;
|
|
27
|
-
typusPackageId: string;
|
|
28
|
-
typusEcosystemVersion: string;
|
|
29
|
-
typusTailsStakingRegistry: string;
|
|
30
|
-
count: string;
|
|
31
|
-
}): TransactionBlock;
|
|
32
|
-
/**
|
|
33
|
-
entry fun upload_levels(
|
|
34
|
-
version: &Version,
|
|
35
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
36
|
-
mut count: u64,
|
|
37
|
-
ctx: &TxContext,
|
|
38
|
-
) {
|
|
39
|
-
*/
|
|
40
|
-
export declare function getUploadLevelsTx(input: {
|
|
41
|
-
tx: TransactionBlock;
|
|
42
|
-
typusPackageId: string;
|
|
43
|
-
typusEcosystemVersion: string;
|
|
44
|
-
typusTailsStakingRegistry: string;
|
|
45
|
-
count: string;
|
|
46
|
-
}): TransactionBlock;
|
|
47
|
-
/**
|
|
48
|
-
entry fun remove_levels(
|
|
49
|
-
version: &Version,
|
|
50
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
51
|
-
mut count: u64,
|
|
52
|
-
ctx: &TxContext,
|
|
53
|
-
) {
|
|
54
|
-
*/
|
|
55
|
-
export declare function getRemoveLevelsTx(input: {
|
|
56
|
-
tx: TransactionBlock;
|
|
57
|
-
typusPackageId: string;
|
|
58
|
-
typusEcosystemVersion: string;
|
|
59
|
-
typusTailsStakingRegistry: string;
|
|
60
|
-
count: string;
|
|
61
|
-
}): TransactionBlock;
|
|
62
|
-
/**
|
|
63
|
-
entry fun upload_ipfs_urls(
|
|
64
|
-
version: &Version,
|
|
65
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
66
|
-
level: u64,
|
|
67
|
-
mut urls: vector<vector<u8>>, // reverse
|
|
68
|
-
ctx: &TxContext,
|
|
69
|
-
) {
|
|
70
|
-
*/
|
|
71
|
-
export declare function getUploadIpfsUrlsTx(input: {
|
|
72
|
-
tx: TransactionBlock;
|
|
73
|
-
typusPackageId: string;
|
|
74
|
-
typusEcosystemVersion: string;
|
|
75
|
-
typusTailsStakingRegistry: string;
|
|
76
|
-
level: string;
|
|
77
|
-
urls: string[][];
|
|
78
|
-
}): TransactionBlock;
|
|
79
|
-
/**
|
|
80
|
-
entry fun remove_ipfs_urls(
|
|
81
|
-
version: &Version,
|
|
82
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
83
|
-
level: u64,
|
|
84
|
-
ctx: &mut TxContext,
|
|
85
|
-
) {
|
|
86
|
-
*/
|
|
87
|
-
export declare function getRemoveIpfsUrlsTx(input: {
|
|
88
|
-
tx: TransactionBlock;
|
|
89
|
-
typusPackageId: string;
|
|
90
|
-
typusEcosystemVersion: string;
|
|
91
|
-
typusTailsStakingRegistry: string;
|
|
92
|
-
level: string;
|
|
93
|
-
}): TransactionBlock;
|
|
94
|
-
/**
|
|
95
|
-
entry fun upload_webp_bytes(
|
|
96
|
-
version: &Version,
|
|
97
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
98
|
-
number: u64,
|
|
99
|
-
level: u64,
|
|
100
|
-
mut bytes: vector<u8>, // reverse when extend
|
|
101
|
-
ctx: &TxContext,
|
|
102
|
-
) {
|
|
103
|
-
*/
|
|
104
|
-
export declare function getUploadWebpBytesTx(input: {
|
|
105
|
-
tx: TransactionBlock;
|
|
106
|
-
typusPackageId: string;
|
|
107
|
-
typusEcosystemVersion: string;
|
|
108
|
-
typusTailsStakingRegistry: string;
|
|
109
|
-
number: string;
|
|
110
|
-
level: string;
|
|
111
|
-
bytes: string[];
|
|
112
|
-
}): TransactionBlock;
|
|
113
|
-
/**
|
|
114
|
-
entry fun remove_webp_bytes(
|
|
115
|
-
version: &Version,
|
|
116
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
117
|
-
number: u64,
|
|
118
|
-
level: u64,
|
|
119
|
-
ctx: &TxContext,
|
|
120
|
-
) {
|
|
121
|
-
*/
|
|
122
|
-
export declare function getRemoveWebpBytesTx(input: {
|
|
123
|
-
tx: TransactionBlock;
|
|
124
|
-
typusPackageId: string;
|
|
125
|
-
typusEcosystemVersion: string;
|
|
126
|
-
typusTailsStakingRegistry: string;
|
|
127
|
-
number: string;
|
|
128
|
-
level: string;
|
|
129
|
-
}): TransactionBlock;
|
|
130
|
-
/**
|
|
131
|
-
entry fun update_tails_staking_registry_config(
|
|
132
|
-
version: &Version,
|
|
133
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
134
|
-
index: u64,
|
|
135
|
-
value: u64,
|
|
136
|
-
ctx: &TxContext,
|
|
137
|
-
) {
|
|
138
|
-
*/
|
|
139
|
-
export declare function getUpdateTailsStakingRegistryConfigTx(input: {
|
|
140
|
-
tx: TransactionBlock;
|
|
141
|
-
typusPackageId: string;
|
|
142
|
-
typusEcosystemVersion: string;
|
|
143
|
-
typusTailsStakingRegistry: string;
|
|
144
|
-
index: string;
|
|
145
|
-
value: string;
|
|
146
|
-
}): TransactionBlock;
|
|
147
|
-
/**
|
|
148
|
-
entry fun set_profit_sharing<TOKEN>(
|
|
149
|
-
version: &Version,
|
|
150
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
151
|
-
level_profits: vector<u64>,
|
|
152
|
-
mut profit: vector<Coin<TOKEN>>,
|
|
153
|
-
ctx: &TxContext,
|
|
154
|
-
) {
|
|
155
|
-
*/
|
|
156
|
-
export declare function getSetProfitSharingTx(input: {
|
|
157
|
-
tx: TransactionBlock;
|
|
158
|
-
typusPackageId: string;
|
|
159
|
-
typusEcosystemVersion: string;
|
|
160
|
-
typusTailsStakingRegistry: string;
|
|
161
|
-
typeArguments: string[];
|
|
162
|
-
levelProfits: string[];
|
|
163
|
-
coin: TransactionObjectInput;
|
|
164
|
-
amount: string;
|
|
165
|
-
tsMs: string;
|
|
166
|
-
}): TransactionBlock;
|
|
167
|
-
/**
|
|
168
|
-
entry fun remove_profit_sharing<TOKEN>(
|
|
169
|
-
version: &Version,
|
|
170
|
-
tails_staking_registry: &mut TailsStakingRegistry,
|
|
171
|
-
recipient: address,
|
|
172
|
-
ctx: &mut TxContext,
|
|
173
|
-
) {
|
|
174
|
-
*/
|
|
175
|
-
export declare function getRemoveProfitSharingTx(input: {
|
|
176
|
-
tx: TransactionBlock;
|
|
177
|
-
typusPackageId: string;
|
|
178
|
-
typusEcosystemVersion: string;
|
|
179
|
-
typusTailsStakingRegistry: string;
|
|
180
|
-
typeArguments: string[];
|
|
181
|
-
recipient: string;
|
|
182
|
-
}): TransactionBlock;
|