@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,564 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.splitBidReceipt = splitBidReceipt;
|
|
4
|
-
exports.orderFilled = orderFilled;
|
|
5
|
-
exports.addPositionLinkedOrderInfo = addPositionLinkedOrderInfo;
|
|
6
|
-
exports.calculateFilled_ = calculateFilled_;
|
|
7
|
-
exports.calculateIntrinsicValue = calculateIntrinsicValue;
|
|
8
|
-
exports.calculateRealizedPnlUsd = calculateRealizedPnlUsd;
|
|
9
|
-
exports.calculateTradingFee = calculateTradingFee;
|
|
10
|
-
exports.calculateUnrealizedPnl = calculateUnrealizedPnl;
|
|
11
|
-
exports.checkOptionCollateralPositionLiquidated = checkOptionCollateralPositionLiquidated;
|
|
12
|
-
exports.checkOrderFilled = checkOrderFilled;
|
|
13
|
-
exports.checkPositionLiquidated = checkPositionLiquidated;
|
|
14
|
-
exports.collateralWithPnl = collateralWithPnl;
|
|
15
|
-
exports.createOrder = createOrder;
|
|
16
|
-
exports.createOrderWithBidReceipts = createOrderWithBidReceipts;
|
|
17
|
-
exports.emitRealizedFundingEvent = emitRealizedFundingEvent;
|
|
18
|
-
exports.getEstimatedLiquidationPrice = getEstimatedLiquidationPrice;
|
|
19
|
-
exports.getMaxOrderTypeTag = getMaxOrderTypeTag;
|
|
20
|
-
exports.getOptionCollateralOrderCollateralAmount = getOptionCollateralOrderCollateralAmount;
|
|
21
|
-
exports.getOptionPositionCollateralAmount = getOptionPositionCollateralAmount;
|
|
22
|
-
exports.getOptionPositionPortfolioIndex = getOptionPositionPortfolioIndex;
|
|
23
|
-
exports.getOrderCollateralAmount = getOrderCollateralAmount;
|
|
24
|
-
exports.getOrderCollateralToken = getOrderCollateralToken;
|
|
25
|
-
exports.getOrderCollateralTokenDecimal = getOrderCollateralTokenDecimal;
|
|
26
|
-
exports.getOrderFilledFee = getOrderFilledFee;
|
|
27
|
-
exports.getOrderId = getOrderId;
|
|
28
|
-
exports.getOrderLinkedPositionId = getOrderLinkedPositionId;
|
|
29
|
-
exports.getOrderPortfolioIndex = getOrderPortfolioIndex;
|
|
30
|
-
exports.getOrderPrice = getOrderPrice;
|
|
31
|
-
exports.getOrderReduceOnly = getOrderReduceOnly;
|
|
32
|
-
exports.getOrderSide = getOrderSide;
|
|
33
|
-
exports.getOrderSize = getOrderSize;
|
|
34
|
-
exports.getOrderTradingSymbol = getOrderTradingSymbol;
|
|
35
|
-
exports.getOrderTypeTag = getOrderTypeTag;
|
|
36
|
-
exports.getOrderUser = getOrderUser;
|
|
37
|
-
exports.getPositionCollateralAmount = getPositionCollateralAmount;
|
|
38
|
-
exports.getPositionCollateralTokenDecimal = getPositionCollateralTokenDecimal;
|
|
39
|
-
exports.getPositionCollateralTokenType = getPositionCollateralTokenType;
|
|
40
|
-
exports.getPositionId = getPositionId;
|
|
41
|
-
exports.getPositionSide = getPositionSide;
|
|
42
|
-
exports.getPositionSize = getPositionSize;
|
|
43
|
-
exports.getPositionSizeDecimal = getPositionSizeDecimal;
|
|
44
|
-
exports.getPositionSymbol = getPositionSymbol;
|
|
45
|
-
exports.getPositionUnrealizedCost = getPositionUnrealizedCost;
|
|
46
|
-
exports.getPositionUnrealizedFundingSign = getPositionUnrealizedFundingSign;
|
|
47
|
-
exports.getPositionUser = getPositionUser;
|
|
48
|
-
exports.getReserveAmount = getReserveAmount;
|
|
49
|
-
exports.increaseCollateral = increaseCollateral;
|
|
50
|
-
exports.isOptionCollateralOrder = isOptionCollateralOrder;
|
|
51
|
-
exports.isOptionCollateralPosition = isOptionCollateralPosition;
|
|
52
|
-
exports.managerCreateReduceOnlyOrder = managerCreateReduceOnlyOrder;
|
|
53
|
-
exports.maxReleasingCollateralAmount = maxReleasingCollateralAmount;
|
|
54
|
-
exports.orderFilledWithBidReceiptsCollateral = orderFilledWithBidReceiptsCollateral;
|
|
55
|
-
exports.realizeFunding = realizeFunding;
|
|
56
|
-
exports.releaseCollateral = releaseCollateral;
|
|
57
|
-
exports.removeOrder = removeOrder;
|
|
58
|
-
exports.removeOrderWithBidReceipts = removeOrderWithBidReceipts;
|
|
59
|
-
exports.removePosition = removePosition;
|
|
60
|
-
exports.removePositionLinkedOrderInfo = removePositionLinkedOrderInfo;
|
|
61
|
-
exports.removePositionWithBidReceipts = removePositionWithBidReceipts;
|
|
62
|
-
exports.updatePositionBorrowRate = updatePositionBorrowRate;
|
|
63
|
-
exports.updatePositionFundingRate = updatePositionFundingRate;
|
|
64
|
-
var __1 = require("..");
|
|
65
|
-
var util_1 = require("../../_framework/util");
|
|
66
|
-
function splitBidReceipt(txb, args) {
|
|
67
|
-
return txb.moveCall({
|
|
68
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::split_bid_receipt"),
|
|
69
|
-
arguments: [(0, util_1.obj)(txb, args.dovRegistry), (0, util_1.obj)(txb, args.position), (0, util_1.pure)(txb, args.size, "u64")],
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
function orderFilled(txb, typeArg, args) {
|
|
73
|
-
return txb.moveCall({
|
|
74
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::order_filled"),
|
|
75
|
-
typeArguments: [typeArg],
|
|
76
|
-
arguments: [
|
|
77
|
-
(0, util_1.obj)(txb, args.version),
|
|
78
|
-
(0, util_1.obj)(txb, args.order),
|
|
79
|
-
(0, util_1.option)(txb, "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::position::Position", args.originalPosition),
|
|
80
|
-
(0, util_1.pure)(txb, args.nextPositionId, "u64"),
|
|
81
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
82
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
83
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
84
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
85
|
-
(0, util_1.pure)(txb, args.cumulativeBorrowRate, "u64"),
|
|
86
|
-
(0, util_1.pure)(txb, args.cumulativeFundingRateIndexSign, "bool"),
|
|
87
|
-
(0, util_1.pure)(txb, args.cumulativeFundingRateIndex, "u64"),
|
|
88
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
89
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
90
|
-
(0, util_1.obj)(txb, args.clock),
|
|
91
|
-
],
|
|
92
|
-
});
|
|
93
|
-
}
|
|
94
|
-
function addPositionLinkedOrderInfo(txb, args) {
|
|
95
|
-
return txb.moveCall({
|
|
96
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::add_position_linked_order_info"),
|
|
97
|
-
arguments: [(0, util_1.obj)(txb, args.position), (0, util_1.pure)(txb, args.linkedOrderId, "u64"), (0, util_1.pure)(txb, args.linkedOrderPrice, "u64")],
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
function calculateFilled_(txb, args) {
|
|
101
|
-
return txb.moveCall({
|
|
102
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::calculate_filled_"),
|
|
103
|
-
arguments: [
|
|
104
|
-
(0, util_1.obj)(txb, args.position),
|
|
105
|
-
(0, util_1.pure)(txb, args.reduceOnly, "bool"),
|
|
106
|
-
(0, util_1.pure)(txb, args.orderSide, "bool"),
|
|
107
|
-
(0, util_1.pure)(txb, args.orderSize, "u64"),
|
|
108
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
109
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
110
|
-
],
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
function calculateIntrinsicValue(txb, typeArg, args) {
|
|
114
|
-
return txb.moveCall({
|
|
115
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::calculate_intrinsic_value"),
|
|
116
|
-
typeArguments: [typeArg],
|
|
117
|
-
arguments: [
|
|
118
|
-
(0, util_1.obj)(txb, args.dovRegistry),
|
|
119
|
-
(0, util_1.obj)(txb, args.typusOracle),
|
|
120
|
-
(0, util_1.vector)(txb, "0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded::vault::TypusBidReceipt", args.receipts),
|
|
121
|
-
(0, util_1.obj)(txb, args.clock),
|
|
122
|
-
],
|
|
123
|
-
});
|
|
124
|
-
}
|
|
125
|
-
function calculateRealizedPnlUsd(txb, args) {
|
|
126
|
-
return txb.moveCall({
|
|
127
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::calculate_realized_pnl_usd"),
|
|
128
|
-
arguments: [
|
|
129
|
-
(0, util_1.pure)(txb, args.side, "bool"),
|
|
130
|
-
(0, util_1.pure)(txb, args.size, "u64"),
|
|
131
|
-
(0, util_1.pure)(txb, args.entryPrice, "u64"),
|
|
132
|
-
(0, util_1.pure)(txb, args.exitPrice, "u64"),
|
|
133
|
-
(0, util_1.pure)(txb, args.sizeDecimal, "u64"),
|
|
134
|
-
(0, util_1.pure)(txb, args.priceDecimal, "u64"),
|
|
135
|
-
],
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
function calculateTradingFee(txb, args) {
|
|
139
|
-
return txb.moveCall({
|
|
140
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::calculate_trading_fee"),
|
|
141
|
-
arguments: [
|
|
142
|
-
(0, util_1.pure)(txb, args.size, "u64"),
|
|
143
|
-
(0, util_1.pure)(txb, args.sizeDecimal, "u64"),
|
|
144
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
145
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
146
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
147
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
148
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
149
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
150
|
-
(0, util_1.pure)(txb, args.collateralTokenDecimal, "u64"),
|
|
151
|
-
],
|
|
152
|
-
});
|
|
153
|
-
}
|
|
154
|
-
function calculateUnrealizedPnl(txb, args) {
|
|
155
|
-
return txb.moveCall({
|
|
156
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::calculate_unrealized_pnl"),
|
|
157
|
-
arguments: [
|
|
158
|
-
(0, util_1.obj)(txb, args.position),
|
|
159
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
160
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
161
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
162
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
163
|
-
],
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
function checkOptionCollateralPositionLiquidated(txb, typeArg, args) {
|
|
167
|
-
return txb.moveCall({
|
|
168
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::check_option_collateral_position_liquidated"),
|
|
169
|
-
typeArguments: [typeArg],
|
|
170
|
-
arguments: [
|
|
171
|
-
(0, util_1.obj)(txb, args.dovRegistry),
|
|
172
|
-
(0, util_1.obj)(txb, args.typusOracle),
|
|
173
|
-
(0, util_1.obj)(txb, args.position),
|
|
174
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
175
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
176
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
177
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
178
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
179
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
180
|
-
(0, util_1.pure)(txb, args.maintenanceMarginRateBp, "u64"),
|
|
181
|
-
(0, util_1.pure)(txb, args.cumulativeBorrowRate, "u64"),
|
|
182
|
-
(0, util_1.obj)(txb, args.clock),
|
|
183
|
-
],
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
function checkOrderFilled(txb, args) {
|
|
187
|
-
return txb.moveCall({
|
|
188
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::check_order_filled"),
|
|
189
|
-
arguments: [(0, util_1.obj)(txb, args.order), (0, util_1.pure)(txb, args.oraclePrice, "u64")],
|
|
190
|
-
});
|
|
191
|
-
}
|
|
192
|
-
function checkPositionLiquidated(txb, args) {
|
|
193
|
-
return txb.moveCall({
|
|
194
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::check_position_liquidated"),
|
|
195
|
-
arguments: [
|
|
196
|
-
(0, util_1.obj)(txb, args.position),
|
|
197
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
198
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
199
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
200
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
201
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
202
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
203
|
-
(0, util_1.pure)(txb, args.maintenanceMarginRateBp, "u64"),
|
|
204
|
-
(0, util_1.pure)(txb, args.cumulativeBorrowRate, "u64"),
|
|
205
|
-
],
|
|
206
|
-
});
|
|
207
|
-
}
|
|
208
|
-
function collateralWithPnl(txb, args) {
|
|
209
|
-
return txb.moveCall({
|
|
210
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::collateral_with_pnl"),
|
|
211
|
-
arguments: [
|
|
212
|
-
(0, util_1.obj)(txb, args.position),
|
|
213
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
214
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
215
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
216
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
217
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
218
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
219
|
-
],
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
function createOrder(txb, typeArg, args) {
|
|
223
|
-
return txb.moveCall({
|
|
224
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::create_order"),
|
|
225
|
-
typeArguments: [typeArg],
|
|
226
|
-
arguments: [
|
|
227
|
-
(0, util_1.obj)(txb, args.version),
|
|
228
|
-
(0, util_1.obj)(txb, args.symbol),
|
|
229
|
-
(0, util_1.pure)(txb, args.leveragePct, "u64"),
|
|
230
|
-
(0, util_1.pure)(txb, args.reduceOnly, "bool"),
|
|
231
|
-
(0, util_1.pure)(txb, args.isLong, "bool"),
|
|
232
|
-
(0, util_1.pure)(txb, args.isStopOrder, "bool"),
|
|
233
|
-
(0, util_1.pure)(txb, args.size, "u64"),
|
|
234
|
-
(0, util_1.pure)(txb, args.sizeDecimal, "u64"),
|
|
235
|
-
(0, util_1.pure)(txb, args.triggerPrice, "u64"),
|
|
236
|
-
(0, util_1.obj)(txb, args.collateral),
|
|
237
|
-
(0, util_1.pure)(txb, args.collateralTokenDecimal, "u64"),
|
|
238
|
-
(0, util_1.pure)(txb, args.linkedPositionId, "0x1::option::Option<u64>"),
|
|
239
|
-
(0, util_1.pure)(txb, args.orderId, "u64"),
|
|
240
|
-
(0, util_1.pure)(txb, args.oraclePrice, "u64"),
|
|
241
|
-
(0, util_1.obj)(txb, args.clock),
|
|
242
|
-
],
|
|
243
|
-
});
|
|
244
|
-
}
|
|
245
|
-
function createOrderWithBidReceipts(txb, args) {
|
|
246
|
-
return txb.moveCall({
|
|
247
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::create_order_with_bid_receipts"),
|
|
248
|
-
arguments: [
|
|
249
|
-
(0, util_1.obj)(txb, args.version),
|
|
250
|
-
(0, util_1.obj)(txb, args.symbol),
|
|
251
|
-
(0, util_1.pure)(txb, args.portfolioIndex, "u64"),
|
|
252
|
-
(0, util_1.obj)(txb, args.depositToken),
|
|
253
|
-
(0, util_1.pure)(txb, args.leveragePct, "u64"),
|
|
254
|
-
(0, util_1.pure)(txb, args.reduceOnly, "bool"),
|
|
255
|
-
(0, util_1.pure)(txb, args.isLong, "bool"),
|
|
256
|
-
(0, util_1.pure)(txb, args.isStopOrder, "bool"),
|
|
257
|
-
(0, util_1.pure)(txb, args.size, "u64"),
|
|
258
|
-
(0, util_1.pure)(txb, args.sizeDecimal, "u64"),
|
|
259
|
-
(0, util_1.pure)(txb, args.triggerPrice, "u64"),
|
|
260
|
-
(0, util_1.vector)(txb, "0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded::vault::TypusBidReceipt", args.collateralBidReceipts),
|
|
261
|
-
(0, util_1.pure)(txb, args.depositTokenDecimal, "u64"),
|
|
262
|
-
(0, util_1.pure)(txb, args.linkedPositionId, "0x1::option::Option<u64>"),
|
|
263
|
-
(0, util_1.pure)(txb, args.orderId, "u64"),
|
|
264
|
-
(0, util_1.pure)(txb, args.oraclePrice, "u64"),
|
|
265
|
-
(0, util_1.pure)(txb, args.user, "address"),
|
|
266
|
-
(0, util_1.obj)(txb, args.clock),
|
|
267
|
-
],
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
function emitRealizedFundingEvent(txb, args) {
|
|
271
|
-
return txb.moveCall({
|
|
272
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::emit_realized_funding_event"),
|
|
273
|
-
arguments: [
|
|
274
|
-
(0, util_1.pure)(txb, args.user, "address"),
|
|
275
|
-
(0, util_1.obj)(txb, args.collateralToken),
|
|
276
|
-
(0, util_1.obj)(txb, args.symbol),
|
|
277
|
-
(0, util_1.pure)(txb, args.positionId, "u64"),
|
|
278
|
-
(0, util_1.pure)(txb, args.realizedFundingSign, "bool"),
|
|
279
|
-
(0, util_1.pure)(txb, args.realizedFundingFee, "u64"),
|
|
280
|
-
(0, util_1.pure)(txb, args.u64Padding, "vector<u64>"),
|
|
281
|
-
],
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
function getEstimatedLiquidationPrice(txb, args) {
|
|
285
|
-
return txb.moveCall({
|
|
286
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::get_estimated_liquidation_price"),
|
|
287
|
-
arguments: [
|
|
288
|
-
(0, util_1.obj)(txb, args.position),
|
|
289
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
290
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
291
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
292
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
293
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
294
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
295
|
-
(0, util_1.pure)(txb, args.cumulativeBorrowRate, "u64"),
|
|
296
|
-
],
|
|
297
|
-
});
|
|
298
|
-
}
|
|
299
|
-
function getMaxOrderTypeTag(txb) {
|
|
300
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_max_order_type_tag"), arguments: [] });
|
|
301
|
-
}
|
|
302
|
-
function getOptionCollateralOrderCollateralAmount(txb, typeArg, args) {
|
|
303
|
-
return txb.moveCall({
|
|
304
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::get_option_collateral_order_collateral_amount"),
|
|
305
|
-
typeArguments: [typeArg],
|
|
306
|
-
arguments: [(0, util_1.obj)(txb, args.dovRegistry), (0, util_1.obj)(txb, args.typusOracle), (0, util_1.obj)(txb, args.order), (0, util_1.obj)(txb, args.clock)],
|
|
307
|
-
});
|
|
308
|
-
}
|
|
309
|
-
function getOptionPositionCollateralAmount(txb, typeArg, args) {
|
|
310
|
-
return txb.moveCall({
|
|
311
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::get_option_position_collateral_amount"),
|
|
312
|
-
typeArguments: [typeArg],
|
|
313
|
-
arguments: [(0, util_1.obj)(txb, args.dovRegistry), (0, util_1.obj)(txb, args.typusOracle), (0, util_1.obj)(txb, args.position), (0, util_1.obj)(txb, args.clock)],
|
|
314
|
-
});
|
|
315
|
-
}
|
|
316
|
-
function getOptionPositionPortfolioIndex(txb, position) {
|
|
317
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_option_position_portfolio_index"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
318
|
-
}
|
|
319
|
-
function getOrderCollateralAmount(txb, typeArg, order) {
|
|
320
|
-
return txb.moveCall({
|
|
321
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::get_order_collateral_amount"),
|
|
322
|
-
typeArguments: [typeArg],
|
|
323
|
-
arguments: [(0, util_1.obj)(txb, order)],
|
|
324
|
-
});
|
|
325
|
-
}
|
|
326
|
-
function getOrderCollateralToken(txb, order) {
|
|
327
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_collateral_token"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
328
|
-
}
|
|
329
|
-
function getOrderCollateralTokenDecimal(txb, order) {
|
|
330
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_collateral_token_decimal"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
331
|
-
}
|
|
332
|
-
function getOrderFilledFee(txb, args) {
|
|
333
|
-
return txb.moveCall({
|
|
334
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::get_order_filled_fee"),
|
|
335
|
-
arguments: [
|
|
336
|
-
(0, util_1.obj)(txb, args.order),
|
|
337
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
338
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
339
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
340
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
341
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
342
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
343
|
-
],
|
|
344
|
-
});
|
|
345
|
-
}
|
|
346
|
-
function getOrderId(txb, order) {
|
|
347
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_id"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
348
|
-
}
|
|
349
|
-
function getOrderLinkedPositionId(txb, order) {
|
|
350
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_linked_position_id"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
351
|
-
}
|
|
352
|
-
function getOrderPortfolioIndex(txb, order) {
|
|
353
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_portfolio_index"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
354
|
-
}
|
|
355
|
-
function getOrderPrice(txb, order) {
|
|
356
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_price"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
357
|
-
}
|
|
358
|
-
function getOrderReduceOnly(txb, order) {
|
|
359
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_reduce_only"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
360
|
-
}
|
|
361
|
-
function getOrderSide(txb, order) {
|
|
362
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_side"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
363
|
-
}
|
|
364
|
-
function getOrderSize(txb, order) {
|
|
365
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_size"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
366
|
-
}
|
|
367
|
-
function getOrderTradingSymbol(txb, order) {
|
|
368
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_trading_symbol"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
369
|
-
}
|
|
370
|
-
function getOrderTypeTag(txb, order) {
|
|
371
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_type_tag"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
372
|
-
}
|
|
373
|
-
function getOrderUser(txb, order) {
|
|
374
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_order_user"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
375
|
-
}
|
|
376
|
-
function getPositionCollateralAmount(txb, typeArg, position) {
|
|
377
|
-
return txb.moveCall({
|
|
378
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::get_position_collateral_amount"),
|
|
379
|
-
typeArguments: [typeArg],
|
|
380
|
-
arguments: [(0, util_1.obj)(txb, position)],
|
|
381
|
-
});
|
|
382
|
-
}
|
|
383
|
-
function getPositionCollateralTokenDecimal(txb, position) {
|
|
384
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_collateral_token_decimal"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
385
|
-
}
|
|
386
|
-
function getPositionCollateralTokenType(txb, position) {
|
|
387
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_collateral_token_type"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
388
|
-
}
|
|
389
|
-
function getPositionId(txb, position) {
|
|
390
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_id"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
391
|
-
}
|
|
392
|
-
function getPositionSide(txb, position) {
|
|
393
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_side"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
394
|
-
}
|
|
395
|
-
function getPositionSize(txb, position) {
|
|
396
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_size"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
397
|
-
}
|
|
398
|
-
function getPositionSizeDecimal(txb, position) {
|
|
399
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_size_decimal"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
400
|
-
}
|
|
401
|
-
function getPositionSymbol(txb, position) {
|
|
402
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_symbol"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
403
|
-
}
|
|
404
|
-
function getPositionUnrealizedCost(txb, position) {
|
|
405
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_unrealized_cost"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
406
|
-
}
|
|
407
|
-
function getPositionUnrealizedFundingSign(txb, position) {
|
|
408
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_unrealized_funding_sign"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
409
|
-
}
|
|
410
|
-
function getPositionUser(txb, position) {
|
|
411
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_position_user"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
412
|
-
}
|
|
413
|
-
function getReserveAmount(txb, position) {
|
|
414
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::get_reserve_amount"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
415
|
-
}
|
|
416
|
-
function increaseCollateral(txb, typeArg, args) {
|
|
417
|
-
return txb.moveCall({
|
|
418
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::increase_collateral"),
|
|
419
|
-
typeArguments: [typeArg],
|
|
420
|
-
arguments: [(0, util_1.obj)(txb, args.position), (0, util_1.obj)(txb, args.collateral)],
|
|
421
|
-
});
|
|
422
|
-
}
|
|
423
|
-
function isOptionCollateralOrder(txb, order) {
|
|
424
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::is_option_collateral_order"), arguments: [(0, util_1.obj)(txb, order)] });
|
|
425
|
-
}
|
|
426
|
-
function isOptionCollateralPosition(txb, position) {
|
|
427
|
-
return txb.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::position::is_option_collateral_position"), arguments: [(0, util_1.obj)(txb, position)] });
|
|
428
|
-
}
|
|
429
|
-
function managerCreateReduceOnlyOrder(txb, typeArg, args) {
|
|
430
|
-
return txb.moveCall({
|
|
431
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::manager_create_reduce_only_order"),
|
|
432
|
-
typeArguments: [typeArg],
|
|
433
|
-
arguments: [
|
|
434
|
-
(0, util_1.obj)(txb, args.version),
|
|
435
|
-
(0, util_1.obj)(txb, args.symbol),
|
|
436
|
-
(0, util_1.pure)(txb, args.isLong, "bool"),
|
|
437
|
-
(0, util_1.pure)(txb, args.size, "u64"),
|
|
438
|
-
(0, util_1.pure)(txb, args.sizeDecimal, "u64"),
|
|
439
|
-
(0, util_1.pure)(txb, args.triggerPrice, "u64"),
|
|
440
|
-
(0, util_1.obj)(txb, args.collateral),
|
|
441
|
-
(0, util_1.pure)(txb, args.collateralTokenDecimal, "u64"),
|
|
442
|
-
(0, util_1.pure)(txb, args.linkedPositionId, "u64"),
|
|
443
|
-
(0, util_1.pure)(txb, args.user, "address"),
|
|
444
|
-
(0, util_1.pure)(txb, args.orderId, "u64"),
|
|
445
|
-
(0, util_1.pure)(txb, args.oraclePrice, "u64"),
|
|
446
|
-
(0, util_1.obj)(txb, args.clock),
|
|
447
|
-
],
|
|
448
|
-
});
|
|
449
|
-
}
|
|
450
|
-
function maxReleasingCollateralAmount(txb, args) {
|
|
451
|
-
return txb.moveCall({
|
|
452
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::max_releasing_collateral_amount"),
|
|
453
|
-
arguments: [
|
|
454
|
-
(0, util_1.obj)(txb, args.position),
|
|
455
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
456
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
457
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
458
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
459
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
460
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
461
|
-
(0, util_1.pure)(txb, args.cumulativeBorrowRate, "u64"),
|
|
462
|
-
(0, util_1.pure)(txb, args.maxEntryLeveragePct, "u64"),
|
|
463
|
-
],
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
function orderFilledWithBidReceiptsCollateral(txb, typeArgs, args) {
|
|
467
|
-
return txb.moveCall({
|
|
468
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::order_filled_with_bid_receipts_collateral"),
|
|
469
|
-
typeArguments: typeArgs,
|
|
470
|
-
arguments: [
|
|
471
|
-
(0, util_1.obj)(txb, args.version),
|
|
472
|
-
(0, util_1.obj)(txb, args.liquidityPool),
|
|
473
|
-
(0, util_1.obj)(txb, args.dovRegistry),
|
|
474
|
-
(0, util_1.obj)(txb, args.typusOracle),
|
|
475
|
-
(0, util_1.obj)(txb, args.order),
|
|
476
|
-
(0, util_1.option)(txb, "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::position::Position", args.originalPosition),
|
|
477
|
-
(0, util_1.pure)(txb, args.nextPositionId, "u64"),
|
|
478
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
479
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
480
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
481
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
482
|
-
(0, util_1.pure)(txb, args.cumulativeBorrowRate, "u64"),
|
|
483
|
-
(0, util_1.pure)(txb, args.cumulativeFundingRateIndexSign, "bool"),
|
|
484
|
-
(0, util_1.pure)(txb, args.cumulativeFundingRateIndex, "u64"),
|
|
485
|
-
(0, util_1.pure)(txb, args.tradingFeeRate, "u64"),
|
|
486
|
-
(0, util_1.pure)(txb, args.tradingFeeDecimal, "u64"),
|
|
487
|
-
(0, util_1.pure)(txb, args.referralFeeRebateBp, "u64"),
|
|
488
|
-
(0, util_1.obj)(txb, args.clock),
|
|
489
|
-
],
|
|
490
|
-
});
|
|
491
|
-
}
|
|
492
|
-
function realizeFunding(txb, typeArg, args) {
|
|
493
|
-
return txb.moveCall({
|
|
494
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::realize_funding"),
|
|
495
|
-
typeArguments: [typeArg],
|
|
496
|
-
arguments: [(0, util_1.obj)(txb, args.position), (0, util_1.obj)(txb, args.fundingIncome)],
|
|
497
|
-
});
|
|
498
|
-
}
|
|
499
|
-
function releaseCollateral(txb, typeArg, args) {
|
|
500
|
-
return txb.moveCall({
|
|
501
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::release_collateral"),
|
|
502
|
-
typeArguments: [typeArg],
|
|
503
|
-
arguments: [(0, util_1.obj)(txb, args.position), (0, util_1.pure)(txb, args.releaseAmount, "u64")],
|
|
504
|
-
});
|
|
505
|
-
}
|
|
506
|
-
function removeOrder(txb, typeArg, args) {
|
|
507
|
-
return txb.moveCall({
|
|
508
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::remove_order"),
|
|
509
|
-
typeArguments: [typeArg],
|
|
510
|
-
arguments: [(0, util_1.obj)(txb, args.version), (0, util_1.obj)(txb, args.order)],
|
|
511
|
-
});
|
|
512
|
-
}
|
|
513
|
-
function removeOrderWithBidReceipts(txb, args) {
|
|
514
|
-
return txb.moveCall({
|
|
515
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::remove_order_with_bid_receipts"),
|
|
516
|
-
arguments: [(0, util_1.obj)(txb, args.version), (0, util_1.obj)(txb, args.order)],
|
|
517
|
-
});
|
|
518
|
-
}
|
|
519
|
-
function removePosition(txb, typeArg, args) {
|
|
520
|
-
return txb.moveCall({
|
|
521
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::remove_position"),
|
|
522
|
-
typeArguments: [typeArg],
|
|
523
|
-
arguments: [(0, util_1.obj)(txb, args.version), (0, util_1.obj)(txb, args.position)],
|
|
524
|
-
});
|
|
525
|
-
}
|
|
526
|
-
function removePositionLinkedOrderInfo(txb, args) {
|
|
527
|
-
return txb.moveCall({
|
|
528
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::remove_position_linked_order_info"),
|
|
529
|
-
arguments: [(0, util_1.obj)(txb, args.position), (0, util_1.pure)(txb, args.linkedOrderId, "u64")],
|
|
530
|
-
});
|
|
531
|
-
}
|
|
532
|
-
function removePositionWithBidReceipts(txb, args) {
|
|
533
|
-
return txb.moveCall({
|
|
534
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::remove_position_with_bid_receipts"),
|
|
535
|
-
arguments: [(0, util_1.obj)(txb, args.version), (0, util_1.obj)(txb, args.position)],
|
|
536
|
-
});
|
|
537
|
-
}
|
|
538
|
-
function updatePositionBorrowRate(txb, args) {
|
|
539
|
-
return txb.moveCall({
|
|
540
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::update_position_borrow_rate"),
|
|
541
|
-
arguments: [
|
|
542
|
-
(0, util_1.obj)(txb, args.position),
|
|
543
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
544
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
545
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
546
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
547
|
-
(0, util_1.pure)(txb, args.cumulativeBorrowRate, "u64"),
|
|
548
|
-
],
|
|
549
|
-
});
|
|
550
|
-
}
|
|
551
|
-
function updatePositionFundingRate(txb, args) {
|
|
552
|
-
return txb.moveCall({
|
|
553
|
-
target: "".concat(__1.PUBLISHED_AT, "::position::update_position_funding_rate"),
|
|
554
|
-
arguments: [
|
|
555
|
-
(0, util_1.obj)(txb, args.position),
|
|
556
|
-
(0, util_1.pure)(txb, args.collateralOraclePrice, "u64"),
|
|
557
|
-
(0, util_1.pure)(txb, args.collateralOraclePriceDecimal, "u64"),
|
|
558
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePrice, "u64"),
|
|
559
|
-
(0, util_1.pure)(txb, args.tradingPairOraclePriceDecimal, "u64"),
|
|
560
|
-
(0, util_1.pure)(txb, args.cumulativeFundingRateIndexSign, "bool"),
|
|
561
|
-
(0, util_1.pure)(txb, args.cumulativeFundingRateIndex, "u64"),
|
|
562
|
-
],
|
|
563
|
-
});
|
|
564
|
-
}
|