@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,2538 +0,0 @@
|
|
|
1
|
-
import * as reified from "../../_framework/reified";
|
|
2
|
-
import { TypeName } from "../../_dependencies/source/0x1/type-name/structs";
|
|
3
|
-
import { UID } from "../../_dependencies/source/0x2/object/structs";
|
|
4
|
-
import { PhantomReified, Reified, StructClass, ToField, ToTypeStr, Vector } from "../../_framework/reified";
|
|
5
|
-
import { FieldsWithTypes } from "../../_framework/util";
|
|
6
|
-
import { SuiClient, SuiParsedData } from "@mysten/sui.js/client";
|
|
7
|
-
export declare function isConfig(type: string): boolean;
|
|
8
|
-
export interface ConfigFields {
|
|
9
|
-
oracleId: ToField<"address">;
|
|
10
|
-
liquidityTokenDecimal: ToField<"u64">;
|
|
11
|
-
spotConfig: ToField<SpotConfig>;
|
|
12
|
-
marginConfig: ToField<MarginConfig>;
|
|
13
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
14
|
-
}
|
|
15
|
-
export type ConfigReified = Reified<Config, ConfigFields>;
|
|
16
|
-
export declare class Config implements StructClass {
|
|
17
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Config";
|
|
18
|
-
static readonly $numTypeParams = 0;
|
|
19
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Config";
|
|
20
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Config";
|
|
21
|
-
readonly $typeArgs: [];
|
|
22
|
-
readonly oracleId: ToField<"address">;
|
|
23
|
-
readonly liquidityTokenDecimal: ToField<"u64">;
|
|
24
|
-
readonly spotConfig: ToField<SpotConfig>;
|
|
25
|
-
readonly marginConfig: ToField<MarginConfig>;
|
|
26
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
27
|
-
private constructor();
|
|
28
|
-
static reified(): ConfigReified;
|
|
29
|
-
static get r(): reified.StructClassReified<Config, ConfigFields>;
|
|
30
|
-
static phantom(): PhantomReified<ToTypeStr<Config>>;
|
|
31
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Config">;
|
|
32
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
33
|
-
oracle_id: string;
|
|
34
|
-
liquidity_token_decimal: string;
|
|
35
|
-
spot_config: {
|
|
36
|
-
min_deposit: string;
|
|
37
|
-
max_capacity: string;
|
|
38
|
-
target_weight_bp: string;
|
|
39
|
-
basic_mint_fee_bp: string;
|
|
40
|
-
additional_mint_fee_bp: string;
|
|
41
|
-
basic_burn_fee_bp: string;
|
|
42
|
-
additional_burn_fee_bp: string;
|
|
43
|
-
swap_fee_bp: string;
|
|
44
|
-
swap_fee_protocol_share_bp: string;
|
|
45
|
-
u64_padding: string[];
|
|
46
|
-
};
|
|
47
|
-
margin_config: {
|
|
48
|
-
basic_borrow_rate_0: string;
|
|
49
|
-
basic_borrow_rate_1: string;
|
|
50
|
-
basic_borrow_rate_2: string;
|
|
51
|
-
utilization_threshold_bp_0: string;
|
|
52
|
-
utilization_threshold_bp_1: string;
|
|
53
|
-
borrow_interval_ts_ms: string;
|
|
54
|
-
max_order_reserve_ratio_bp: string;
|
|
55
|
-
u64_padding: string[];
|
|
56
|
-
};
|
|
57
|
-
u64_padding: string[];
|
|
58
|
-
}, {
|
|
59
|
-
oracle_id: string;
|
|
60
|
-
liquidity_token_decimal: string | number | bigint;
|
|
61
|
-
spot_config: {
|
|
62
|
-
min_deposit: string | number | bigint;
|
|
63
|
-
max_capacity: string | number | bigint;
|
|
64
|
-
target_weight_bp: string | number | bigint;
|
|
65
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
66
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
67
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
68
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
69
|
-
swap_fee_bp: string | number | bigint;
|
|
70
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
71
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
72
|
-
length: number;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
margin_config: {
|
|
76
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
77
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
78
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
79
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
80
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
81
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
82
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
83
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
84
|
-
length: number;
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
88
|
-
length: number;
|
|
89
|
-
};
|
|
90
|
-
}>;
|
|
91
|
-
static fromFields(fields: Record<string, any>): Config;
|
|
92
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): Config;
|
|
93
|
-
static fromBcs(data: Uint8Array): Config;
|
|
94
|
-
toJSONField(): {
|
|
95
|
-
oracleId: string;
|
|
96
|
-
liquidityTokenDecimal: string;
|
|
97
|
-
spotConfig: {
|
|
98
|
-
minDeposit: string;
|
|
99
|
-
maxCapacity: string;
|
|
100
|
-
targetWeightBp: string;
|
|
101
|
-
basicMintFeeBp: string;
|
|
102
|
-
additionalMintFeeBp: string;
|
|
103
|
-
basicBurnFeeBp: string;
|
|
104
|
-
additionalBurnFeeBp: string;
|
|
105
|
-
swapFeeBp: string;
|
|
106
|
-
swapFeeProtocolShareBp: string;
|
|
107
|
-
u64Padding: string[];
|
|
108
|
-
};
|
|
109
|
-
marginConfig: {
|
|
110
|
-
basicBorrowRate0: string;
|
|
111
|
-
basicBorrowRate1: string;
|
|
112
|
-
basicBorrowRate2: string;
|
|
113
|
-
utilizationThresholdBp0: string;
|
|
114
|
-
utilizationThresholdBp1: string;
|
|
115
|
-
borrowIntervalTsMs: string;
|
|
116
|
-
maxOrderReserveRatioBp: string;
|
|
117
|
-
u64Padding: string[];
|
|
118
|
-
};
|
|
119
|
-
u64Padding: string[];
|
|
120
|
-
};
|
|
121
|
-
toJSON(): {
|
|
122
|
-
oracleId: string;
|
|
123
|
-
liquidityTokenDecimal: string;
|
|
124
|
-
spotConfig: {
|
|
125
|
-
minDeposit: string;
|
|
126
|
-
maxCapacity: string;
|
|
127
|
-
targetWeightBp: string;
|
|
128
|
-
basicMintFeeBp: string;
|
|
129
|
-
additionalMintFeeBp: string;
|
|
130
|
-
basicBurnFeeBp: string;
|
|
131
|
-
additionalBurnFeeBp: string;
|
|
132
|
-
swapFeeBp: string;
|
|
133
|
-
swapFeeProtocolShareBp: string;
|
|
134
|
-
u64Padding: string[];
|
|
135
|
-
};
|
|
136
|
-
marginConfig: {
|
|
137
|
-
basicBorrowRate0: string;
|
|
138
|
-
basicBorrowRate1: string;
|
|
139
|
-
basicBorrowRate2: string;
|
|
140
|
-
utilizationThresholdBp0: string;
|
|
141
|
-
utilizationThresholdBp1: string;
|
|
142
|
-
borrowIntervalTsMs: string;
|
|
143
|
-
maxOrderReserveRatioBp: string;
|
|
144
|
-
u64Padding: string[];
|
|
145
|
-
};
|
|
146
|
-
u64Padding: string[];
|
|
147
|
-
$typeName: string;
|
|
148
|
-
$typeArgs: [];
|
|
149
|
-
};
|
|
150
|
-
static fromJSONField(field: any): Config;
|
|
151
|
-
static fromJSON(json: Record<string, any>): Config;
|
|
152
|
-
static fromSuiParsedData(content: SuiParsedData): Config;
|
|
153
|
-
static fetch(client: SuiClient, id: string): Promise<Config>;
|
|
154
|
-
}
|
|
155
|
-
export declare function isState(type: string): boolean;
|
|
156
|
-
export interface StateFields {
|
|
157
|
-
liquidityAmount: ToField<"u64">;
|
|
158
|
-
valueInUsd: ToField<"u64">;
|
|
159
|
-
reservedAmount: ToField<"u64">;
|
|
160
|
-
updateTsMs: ToField<"u64">;
|
|
161
|
-
isActive: ToField<"bool">;
|
|
162
|
-
lastBorrowRateTsMs: ToField<"u64">;
|
|
163
|
-
cumulativeBorrowRate: ToField<"u64">;
|
|
164
|
-
previousLastBorrowRateTsMs: ToField<"u64">;
|
|
165
|
-
previousCumulativeBorrowRate: ToField<"u64">;
|
|
166
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
167
|
-
}
|
|
168
|
-
export type StateReified = Reified<State, StateFields>;
|
|
169
|
-
export declare class State implements StructClass {
|
|
170
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::State";
|
|
171
|
-
static readonly $numTypeParams = 0;
|
|
172
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::State";
|
|
173
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::State";
|
|
174
|
-
readonly $typeArgs: [];
|
|
175
|
-
readonly liquidityAmount: ToField<"u64">;
|
|
176
|
-
readonly valueInUsd: ToField<"u64">;
|
|
177
|
-
readonly reservedAmount: ToField<"u64">;
|
|
178
|
-
readonly updateTsMs: ToField<"u64">;
|
|
179
|
-
readonly isActive: ToField<"bool">;
|
|
180
|
-
readonly lastBorrowRateTsMs: ToField<"u64">;
|
|
181
|
-
readonly cumulativeBorrowRate: ToField<"u64">;
|
|
182
|
-
readonly previousLastBorrowRateTsMs: ToField<"u64">;
|
|
183
|
-
readonly previousCumulativeBorrowRate: ToField<"u64">;
|
|
184
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
185
|
-
private constructor();
|
|
186
|
-
static reified(): StateReified;
|
|
187
|
-
static get r(): reified.StructClassReified<State, StateFields>;
|
|
188
|
-
static phantom(): PhantomReified<ToTypeStr<State>>;
|
|
189
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::State">;
|
|
190
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
191
|
-
liquidity_amount: string;
|
|
192
|
-
value_in_usd: string;
|
|
193
|
-
reserved_amount: string;
|
|
194
|
-
update_ts_ms: string;
|
|
195
|
-
is_active: boolean;
|
|
196
|
-
last_borrow_rate_ts_ms: string;
|
|
197
|
-
cumulative_borrow_rate: string;
|
|
198
|
-
previous_last_borrow_rate_ts_ms: string;
|
|
199
|
-
previous_cumulative_borrow_rate: string;
|
|
200
|
-
u64_padding: string[];
|
|
201
|
-
}, {
|
|
202
|
-
liquidity_amount: string | number | bigint;
|
|
203
|
-
value_in_usd: string | number | bigint;
|
|
204
|
-
reserved_amount: string | number | bigint;
|
|
205
|
-
update_ts_ms: string | number | bigint;
|
|
206
|
-
is_active: boolean;
|
|
207
|
-
last_borrow_rate_ts_ms: string | number | bigint;
|
|
208
|
-
cumulative_borrow_rate: string | number | bigint;
|
|
209
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint;
|
|
210
|
-
previous_cumulative_borrow_rate: string | number | bigint;
|
|
211
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
212
|
-
length: number;
|
|
213
|
-
};
|
|
214
|
-
}>;
|
|
215
|
-
static fromFields(fields: Record<string, any>): State;
|
|
216
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): State;
|
|
217
|
-
static fromBcs(data: Uint8Array): State;
|
|
218
|
-
toJSONField(): {
|
|
219
|
-
liquidityAmount: string;
|
|
220
|
-
valueInUsd: string;
|
|
221
|
-
reservedAmount: string;
|
|
222
|
-
updateTsMs: string;
|
|
223
|
-
isActive: boolean;
|
|
224
|
-
lastBorrowRateTsMs: string;
|
|
225
|
-
cumulativeBorrowRate: string;
|
|
226
|
-
previousLastBorrowRateTsMs: string;
|
|
227
|
-
previousCumulativeBorrowRate: string;
|
|
228
|
-
u64Padding: string[];
|
|
229
|
-
};
|
|
230
|
-
toJSON(): {
|
|
231
|
-
liquidityAmount: string;
|
|
232
|
-
valueInUsd: string;
|
|
233
|
-
reservedAmount: string;
|
|
234
|
-
updateTsMs: string;
|
|
235
|
-
isActive: boolean;
|
|
236
|
-
lastBorrowRateTsMs: string;
|
|
237
|
-
cumulativeBorrowRate: string;
|
|
238
|
-
previousLastBorrowRateTsMs: string;
|
|
239
|
-
previousCumulativeBorrowRate: string;
|
|
240
|
-
u64Padding: string[];
|
|
241
|
-
$typeName: string;
|
|
242
|
-
$typeArgs: [];
|
|
243
|
-
};
|
|
244
|
-
static fromJSONField(field: any): State;
|
|
245
|
-
static fromJSON(json: Record<string, any>): State;
|
|
246
|
-
static fromSuiParsedData(content: SuiParsedData): State;
|
|
247
|
-
static fetch(client: SuiClient, id: string): Promise<State>;
|
|
248
|
-
}
|
|
249
|
-
export declare function isAddLiquidityTokenEvent(type: string): boolean;
|
|
250
|
-
export interface AddLiquidityTokenEventFields {
|
|
251
|
-
sender: ToField<"address">;
|
|
252
|
-
index: ToField<"u64">;
|
|
253
|
-
tokenType: ToField<TypeName>;
|
|
254
|
-
config: ToField<Config>;
|
|
255
|
-
state: ToField<State>;
|
|
256
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
257
|
-
}
|
|
258
|
-
export type AddLiquidityTokenEventReified = Reified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
|
|
259
|
-
export declare class AddLiquidityTokenEvent implements StructClass {
|
|
260
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::AddLiquidityTokenEvent";
|
|
261
|
-
static readonly $numTypeParams = 0;
|
|
262
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::AddLiquidityTokenEvent";
|
|
263
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::AddLiquidityTokenEvent";
|
|
264
|
-
readonly $typeArgs: [];
|
|
265
|
-
readonly sender: ToField<"address">;
|
|
266
|
-
readonly index: ToField<"u64">;
|
|
267
|
-
readonly tokenType: ToField<TypeName>;
|
|
268
|
-
readonly config: ToField<Config>;
|
|
269
|
-
readonly state: ToField<State>;
|
|
270
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
271
|
-
private constructor();
|
|
272
|
-
static reified(): AddLiquidityTokenEventReified;
|
|
273
|
-
static get r(): reified.StructClassReified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
|
|
274
|
-
static phantom(): PhantomReified<ToTypeStr<AddLiquidityTokenEvent>>;
|
|
275
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::AddLiquidityTokenEvent">;
|
|
276
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
277
|
-
sender: string;
|
|
278
|
-
index: string;
|
|
279
|
-
token_type: {
|
|
280
|
-
name: {
|
|
281
|
-
bytes: number[];
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
config: {
|
|
285
|
-
oracle_id: string;
|
|
286
|
-
liquidity_token_decimal: string;
|
|
287
|
-
spot_config: {
|
|
288
|
-
min_deposit: string;
|
|
289
|
-
max_capacity: string;
|
|
290
|
-
target_weight_bp: string;
|
|
291
|
-
basic_mint_fee_bp: string;
|
|
292
|
-
additional_mint_fee_bp: string;
|
|
293
|
-
basic_burn_fee_bp: string;
|
|
294
|
-
additional_burn_fee_bp: string;
|
|
295
|
-
swap_fee_bp: string;
|
|
296
|
-
swap_fee_protocol_share_bp: string;
|
|
297
|
-
u64_padding: string[];
|
|
298
|
-
};
|
|
299
|
-
margin_config: {
|
|
300
|
-
basic_borrow_rate_0: string;
|
|
301
|
-
basic_borrow_rate_1: string;
|
|
302
|
-
basic_borrow_rate_2: string;
|
|
303
|
-
utilization_threshold_bp_0: string;
|
|
304
|
-
utilization_threshold_bp_1: string;
|
|
305
|
-
borrow_interval_ts_ms: string;
|
|
306
|
-
max_order_reserve_ratio_bp: string;
|
|
307
|
-
u64_padding: string[];
|
|
308
|
-
};
|
|
309
|
-
u64_padding: string[];
|
|
310
|
-
};
|
|
311
|
-
state: {
|
|
312
|
-
liquidity_amount: string;
|
|
313
|
-
value_in_usd: string;
|
|
314
|
-
reserved_amount: string;
|
|
315
|
-
update_ts_ms: string;
|
|
316
|
-
is_active: boolean;
|
|
317
|
-
last_borrow_rate_ts_ms: string;
|
|
318
|
-
cumulative_borrow_rate: string;
|
|
319
|
-
previous_last_borrow_rate_ts_ms: string;
|
|
320
|
-
previous_cumulative_borrow_rate: string;
|
|
321
|
-
u64_padding: string[];
|
|
322
|
-
};
|
|
323
|
-
u64_padding: string[];
|
|
324
|
-
}, {
|
|
325
|
-
sender: string;
|
|
326
|
-
index: string | number | bigint;
|
|
327
|
-
token_type: {
|
|
328
|
-
name: {
|
|
329
|
-
bytes: Iterable<number> & {
|
|
330
|
-
length: number;
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
};
|
|
334
|
-
config: {
|
|
335
|
-
oracle_id: string;
|
|
336
|
-
liquidity_token_decimal: string | number | bigint;
|
|
337
|
-
spot_config: {
|
|
338
|
-
min_deposit: string | number | bigint;
|
|
339
|
-
max_capacity: string | number | bigint;
|
|
340
|
-
target_weight_bp: string | number | bigint;
|
|
341
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
342
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
343
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
344
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
345
|
-
swap_fee_bp: string | number | bigint;
|
|
346
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
347
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
348
|
-
length: number;
|
|
349
|
-
};
|
|
350
|
-
};
|
|
351
|
-
margin_config: {
|
|
352
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
353
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
354
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
355
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
356
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
357
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
358
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
359
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
360
|
-
length: number;
|
|
361
|
-
};
|
|
362
|
-
};
|
|
363
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
364
|
-
length: number;
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
state: {
|
|
368
|
-
liquidity_amount: string | number | bigint;
|
|
369
|
-
value_in_usd: string | number | bigint;
|
|
370
|
-
reserved_amount: string | number | bigint;
|
|
371
|
-
update_ts_ms: string | number | bigint;
|
|
372
|
-
is_active: boolean;
|
|
373
|
-
last_borrow_rate_ts_ms: string | number | bigint;
|
|
374
|
-
cumulative_borrow_rate: string | number | bigint;
|
|
375
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint;
|
|
376
|
-
previous_cumulative_borrow_rate: string | number | bigint;
|
|
377
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
378
|
-
length: number;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
382
|
-
length: number;
|
|
383
|
-
};
|
|
384
|
-
}>;
|
|
385
|
-
static fromFields(fields: Record<string, any>): AddLiquidityTokenEvent;
|
|
386
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): AddLiquidityTokenEvent;
|
|
387
|
-
static fromBcs(data: Uint8Array): AddLiquidityTokenEvent;
|
|
388
|
-
toJSONField(): {
|
|
389
|
-
sender: string;
|
|
390
|
-
index: string;
|
|
391
|
-
tokenType: {
|
|
392
|
-
name: string;
|
|
393
|
-
};
|
|
394
|
-
config: {
|
|
395
|
-
oracleId: string;
|
|
396
|
-
liquidityTokenDecimal: string;
|
|
397
|
-
spotConfig: {
|
|
398
|
-
minDeposit: string;
|
|
399
|
-
maxCapacity: string;
|
|
400
|
-
targetWeightBp: string;
|
|
401
|
-
basicMintFeeBp: string;
|
|
402
|
-
additionalMintFeeBp: string;
|
|
403
|
-
basicBurnFeeBp: string;
|
|
404
|
-
additionalBurnFeeBp: string;
|
|
405
|
-
swapFeeBp: string;
|
|
406
|
-
swapFeeProtocolShareBp: string;
|
|
407
|
-
u64Padding: string[];
|
|
408
|
-
};
|
|
409
|
-
marginConfig: {
|
|
410
|
-
basicBorrowRate0: string;
|
|
411
|
-
basicBorrowRate1: string;
|
|
412
|
-
basicBorrowRate2: string;
|
|
413
|
-
utilizationThresholdBp0: string;
|
|
414
|
-
utilizationThresholdBp1: string;
|
|
415
|
-
borrowIntervalTsMs: string;
|
|
416
|
-
maxOrderReserveRatioBp: string;
|
|
417
|
-
u64Padding: string[];
|
|
418
|
-
};
|
|
419
|
-
u64Padding: string[];
|
|
420
|
-
};
|
|
421
|
-
state: {
|
|
422
|
-
liquidityAmount: string;
|
|
423
|
-
valueInUsd: string;
|
|
424
|
-
reservedAmount: string;
|
|
425
|
-
updateTsMs: string;
|
|
426
|
-
isActive: boolean;
|
|
427
|
-
lastBorrowRateTsMs: string;
|
|
428
|
-
cumulativeBorrowRate: string;
|
|
429
|
-
previousLastBorrowRateTsMs: string;
|
|
430
|
-
previousCumulativeBorrowRate: string;
|
|
431
|
-
u64Padding: string[];
|
|
432
|
-
};
|
|
433
|
-
u64Padding: string[];
|
|
434
|
-
};
|
|
435
|
-
toJSON(): {
|
|
436
|
-
sender: string;
|
|
437
|
-
index: string;
|
|
438
|
-
tokenType: {
|
|
439
|
-
name: string;
|
|
440
|
-
};
|
|
441
|
-
config: {
|
|
442
|
-
oracleId: string;
|
|
443
|
-
liquidityTokenDecimal: string;
|
|
444
|
-
spotConfig: {
|
|
445
|
-
minDeposit: string;
|
|
446
|
-
maxCapacity: string;
|
|
447
|
-
targetWeightBp: string;
|
|
448
|
-
basicMintFeeBp: string;
|
|
449
|
-
additionalMintFeeBp: string;
|
|
450
|
-
basicBurnFeeBp: string;
|
|
451
|
-
additionalBurnFeeBp: string;
|
|
452
|
-
swapFeeBp: string;
|
|
453
|
-
swapFeeProtocolShareBp: string;
|
|
454
|
-
u64Padding: string[];
|
|
455
|
-
};
|
|
456
|
-
marginConfig: {
|
|
457
|
-
basicBorrowRate0: string;
|
|
458
|
-
basicBorrowRate1: string;
|
|
459
|
-
basicBorrowRate2: string;
|
|
460
|
-
utilizationThresholdBp0: string;
|
|
461
|
-
utilizationThresholdBp1: string;
|
|
462
|
-
borrowIntervalTsMs: string;
|
|
463
|
-
maxOrderReserveRatioBp: string;
|
|
464
|
-
u64Padding: string[];
|
|
465
|
-
};
|
|
466
|
-
u64Padding: string[];
|
|
467
|
-
};
|
|
468
|
-
state: {
|
|
469
|
-
liquidityAmount: string;
|
|
470
|
-
valueInUsd: string;
|
|
471
|
-
reservedAmount: string;
|
|
472
|
-
updateTsMs: string;
|
|
473
|
-
isActive: boolean;
|
|
474
|
-
lastBorrowRateTsMs: string;
|
|
475
|
-
cumulativeBorrowRate: string;
|
|
476
|
-
previousLastBorrowRateTsMs: string;
|
|
477
|
-
previousCumulativeBorrowRate: string;
|
|
478
|
-
u64Padding: string[];
|
|
479
|
-
};
|
|
480
|
-
u64Padding: string[];
|
|
481
|
-
$typeName: string;
|
|
482
|
-
$typeArgs: [];
|
|
483
|
-
};
|
|
484
|
-
static fromJSONField(field: any): AddLiquidityTokenEvent;
|
|
485
|
-
static fromJSON(json: Record<string, any>): AddLiquidityTokenEvent;
|
|
486
|
-
static fromSuiParsedData(content: SuiParsedData): AddLiquidityTokenEvent;
|
|
487
|
-
static fetch(client: SuiClient, id: string): Promise<AddLiquidityTokenEvent>;
|
|
488
|
-
}
|
|
489
|
-
export declare function isBurnLpEvent(type: string): boolean;
|
|
490
|
-
export interface BurnLpEventFields {
|
|
491
|
-
sender: ToField<"address">;
|
|
492
|
-
index: ToField<"u64">;
|
|
493
|
-
lpTokenType: ToField<TypeName>;
|
|
494
|
-
burnLpAmount: ToField<"u64">;
|
|
495
|
-
burnAmountUsd: ToField<"u64">;
|
|
496
|
-
burnFeeUsd: ToField<"u64">;
|
|
497
|
-
liquidityTokenType: ToField<TypeName>;
|
|
498
|
-
withdrawTokenAmount: ToField<"u64">;
|
|
499
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
500
|
-
}
|
|
501
|
-
export type BurnLpEventReified = Reified<BurnLpEvent, BurnLpEventFields>;
|
|
502
|
-
export declare class BurnLpEvent implements StructClass {
|
|
503
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::BurnLpEvent";
|
|
504
|
-
static readonly $numTypeParams = 0;
|
|
505
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::BurnLpEvent";
|
|
506
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::BurnLpEvent";
|
|
507
|
-
readonly $typeArgs: [];
|
|
508
|
-
readonly sender: ToField<"address">;
|
|
509
|
-
readonly index: ToField<"u64">;
|
|
510
|
-
readonly lpTokenType: ToField<TypeName>;
|
|
511
|
-
readonly burnLpAmount: ToField<"u64">;
|
|
512
|
-
readonly burnAmountUsd: ToField<"u64">;
|
|
513
|
-
readonly burnFeeUsd: ToField<"u64">;
|
|
514
|
-
readonly liquidityTokenType: ToField<TypeName>;
|
|
515
|
-
readonly withdrawTokenAmount: ToField<"u64">;
|
|
516
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
517
|
-
private constructor();
|
|
518
|
-
static reified(): BurnLpEventReified;
|
|
519
|
-
static get r(): reified.StructClassReified<BurnLpEvent, BurnLpEventFields>;
|
|
520
|
-
static phantom(): PhantomReified<ToTypeStr<BurnLpEvent>>;
|
|
521
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::BurnLpEvent">;
|
|
522
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
523
|
-
sender: string;
|
|
524
|
-
index: string;
|
|
525
|
-
lp_token_type: {
|
|
526
|
-
name: {
|
|
527
|
-
bytes: number[];
|
|
528
|
-
};
|
|
529
|
-
};
|
|
530
|
-
burn_lp_amount: string;
|
|
531
|
-
burn_amount_usd: string;
|
|
532
|
-
burn_fee_usd: string;
|
|
533
|
-
liquidity_token_type: {
|
|
534
|
-
name: {
|
|
535
|
-
bytes: number[];
|
|
536
|
-
};
|
|
537
|
-
};
|
|
538
|
-
withdraw_token_amount: string;
|
|
539
|
-
u64_padding: string[];
|
|
540
|
-
}, {
|
|
541
|
-
sender: string;
|
|
542
|
-
index: string | number | bigint;
|
|
543
|
-
lp_token_type: {
|
|
544
|
-
name: {
|
|
545
|
-
bytes: Iterable<number> & {
|
|
546
|
-
length: number;
|
|
547
|
-
};
|
|
548
|
-
};
|
|
549
|
-
};
|
|
550
|
-
burn_lp_amount: string | number | bigint;
|
|
551
|
-
burn_amount_usd: string | number | bigint;
|
|
552
|
-
burn_fee_usd: string | number | bigint;
|
|
553
|
-
liquidity_token_type: {
|
|
554
|
-
name: {
|
|
555
|
-
bytes: Iterable<number> & {
|
|
556
|
-
length: number;
|
|
557
|
-
};
|
|
558
|
-
};
|
|
559
|
-
};
|
|
560
|
-
withdraw_token_amount: string | number | bigint;
|
|
561
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
562
|
-
length: number;
|
|
563
|
-
};
|
|
564
|
-
}>;
|
|
565
|
-
static fromFields(fields: Record<string, any>): BurnLpEvent;
|
|
566
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): BurnLpEvent;
|
|
567
|
-
static fromBcs(data: Uint8Array): BurnLpEvent;
|
|
568
|
-
toJSONField(): {
|
|
569
|
-
sender: string;
|
|
570
|
-
index: string;
|
|
571
|
-
lpTokenType: {
|
|
572
|
-
name: string;
|
|
573
|
-
};
|
|
574
|
-
burnLpAmount: string;
|
|
575
|
-
burnAmountUsd: string;
|
|
576
|
-
burnFeeUsd: string;
|
|
577
|
-
liquidityTokenType: {
|
|
578
|
-
name: string;
|
|
579
|
-
};
|
|
580
|
-
withdrawTokenAmount: string;
|
|
581
|
-
u64Padding: string[];
|
|
582
|
-
};
|
|
583
|
-
toJSON(): {
|
|
584
|
-
sender: string;
|
|
585
|
-
index: string;
|
|
586
|
-
lpTokenType: {
|
|
587
|
-
name: string;
|
|
588
|
-
};
|
|
589
|
-
burnLpAmount: string;
|
|
590
|
-
burnAmountUsd: string;
|
|
591
|
-
burnFeeUsd: string;
|
|
592
|
-
liquidityTokenType: {
|
|
593
|
-
name: string;
|
|
594
|
-
};
|
|
595
|
-
withdrawTokenAmount: string;
|
|
596
|
-
u64Padding: string[];
|
|
597
|
-
$typeName: string;
|
|
598
|
-
$typeArgs: [];
|
|
599
|
-
};
|
|
600
|
-
static fromJSONField(field: any): BurnLpEvent;
|
|
601
|
-
static fromJSON(json: Record<string, any>): BurnLpEvent;
|
|
602
|
-
static fromSuiParsedData(content: SuiParsedData): BurnLpEvent;
|
|
603
|
-
static fetch(client: SuiClient, id: string): Promise<BurnLpEvent>;
|
|
604
|
-
}
|
|
605
|
-
export declare function isLiquidityPool(type: string): boolean;
|
|
606
|
-
export interface LiquidityPoolFields {
|
|
607
|
-
id: ToField<UID>;
|
|
608
|
-
index: ToField<"u64">;
|
|
609
|
-
lpTokenType: ToField<TypeName>;
|
|
610
|
-
liquidityTokens: ToField<Vector<TypeName>>;
|
|
611
|
-
tokenPools: ToField<Vector<TokenPool>>;
|
|
612
|
-
poolInfo: ToField<LiquidityPoolInfo>;
|
|
613
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
614
|
-
bcsPadding: ToField<Vector<"u8">>;
|
|
615
|
-
}
|
|
616
|
-
export type LiquidityPoolReified = Reified<LiquidityPool, LiquidityPoolFields>;
|
|
617
|
-
export declare class LiquidityPool implements StructClass {
|
|
618
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPool";
|
|
619
|
-
static readonly $numTypeParams = 0;
|
|
620
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPool";
|
|
621
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPool";
|
|
622
|
-
readonly $typeArgs: [];
|
|
623
|
-
readonly id: ToField<UID>;
|
|
624
|
-
readonly index: ToField<"u64">;
|
|
625
|
-
readonly lpTokenType: ToField<TypeName>;
|
|
626
|
-
readonly liquidityTokens: ToField<Vector<TypeName>>;
|
|
627
|
-
readonly tokenPools: ToField<Vector<TokenPool>>;
|
|
628
|
-
readonly poolInfo: ToField<LiquidityPoolInfo>;
|
|
629
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
630
|
-
readonly bcsPadding: ToField<Vector<"u8">>;
|
|
631
|
-
private constructor();
|
|
632
|
-
static reified(): LiquidityPoolReified;
|
|
633
|
-
static get r(): reified.StructClassReified<LiquidityPool, LiquidityPoolFields>;
|
|
634
|
-
static phantom(): PhantomReified<ToTypeStr<LiquidityPool>>;
|
|
635
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPool">;
|
|
636
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
637
|
-
id: {
|
|
638
|
-
id: {
|
|
639
|
-
bytes: string;
|
|
640
|
-
};
|
|
641
|
-
};
|
|
642
|
-
index: string;
|
|
643
|
-
lp_token_type: {
|
|
644
|
-
name: {
|
|
645
|
-
bytes: number[];
|
|
646
|
-
};
|
|
647
|
-
};
|
|
648
|
-
liquidity_tokens: {
|
|
649
|
-
name: {
|
|
650
|
-
bytes: number[];
|
|
651
|
-
};
|
|
652
|
-
}[];
|
|
653
|
-
token_pools: {
|
|
654
|
-
token_type: {
|
|
655
|
-
name: {
|
|
656
|
-
bytes: number[];
|
|
657
|
-
};
|
|
658
|
-
};
|
|
659
|
-
config: {
|
|
660
|
-
oracle_id: string;
|
|
661
|
-
liquidity_token_decimal: string;
|
|
662
|
-
spot_config: {
|
|
663
|
-
min_deposit: string;
|
|
664
|
-
max_capacity: string;
|
|
665
|
-
target_weight_bp: string;
|
|
666
|
-
basic_mint_fee_bp: string;
|
|
667
|
-
additional_mint_fee_bp: string;
|
|
668
|
-
basic_burn_fee_bp: string;
|
|
669
|
-
additional_burn_fee_bp: string;
|
|
670
|
-
swap_fee_bp: string;
|
|
671
|
-
swap_fee_protocol_share_bp: string;
|
|
672
|
-
u64_padding: string[];
|
|
673
|
-
};
|
|
674
|
-
margin_config: {
|
|
675
|
-
basic_borrow_rate_0: string;
|
|
676
|
-
basic_borrow_rate_1: string;
|
|
677
|
-
basic_borrow_rate_2: string;
|
|
678
|
-
utilization_threshold_bp_0: string;
|
|
679
|
-
utilization_threshold_bp_1: string;
|
|
680
|
-
borrow_interval_ts_ms: string;
|
|
681
|
-
max_order_reserve_ratio_bp: string;
|
|
682
|
-
u64_padding: string[];
|
|
683
|
-
};
|
|
684
|
-
u64_padding: string[];
|
|
685
|
-
};
|
|
686
|
-
state: {
|
|
687
|
-
liquidity_amount: string;
|
|
688
|
-
value_in_usd: string;
|
|
689
|
-
reserved_amount: string;
|
|
690
|
-
update_ts_ms: string;
|
|
691
|
-
is_active: boolean;
|
|
692
|
-
last_borrow_rate_ts_ms: string;
|
|
693
|
-
cumulative_borrow_rate: string;
|
|
694
|
-
previous_last_borrow_rate_ts_ms: string;
|
|
695
|
-
previous_cumulative_borrow_rate: string;
|
|
696
|
-
u64_padding: string[];
|
|
697
|
-
};
|
|
698
|
-
}[];
|
|
699
|
-
pool_info: {
|
|
700
|
-
lp_token_decimal: string;
|
|
701
|
-
total_share_supply: string;
|
|
702
|
-
tvl_usd: string;
|
|
703
|
-
is_active: boolean;
|
|
704
|
-
};
|
|
705
|
-
u64_padding: string[];
|
|
706
|
-
bcs_padding: number[];
|
|
707
|
-
}, {
|
|
708
|
-
id: {
|
|
709
|
-
id: {
|
|
710
|
-
bytes: string;
|
|
711
|
-
};
|
|
712
|
-
};
|
|
713
|
-
index: string | number | bigint;
|
|
714
|
-
lp_token_type: {
|
|
715
|
-
name: {
|
|
716
|
-
bytes: Iterable<number> & {
|
|
717
|
-
length: number;
|
|
718
|
-
};
|
|
719
|
-
};
|
|
720
|
-
};
|
|
721
|
-
liquidity_tokens: Iterable<{
|
|
722
|
-
name: {
|
|
723
|
-
bytes: Iterable<number> & {
|
|
724
|
-
length: number;
|
|
725
|
-
};
|
|
726
|
-
};
|
|
727
|
-
}> & {
|
|
728
|
-
length: number;
|
|
729
|
-
};
|
|
730
|
-
token_pools: Iterable<{
|
|
731
|
-
token_type: {
|
|
732
|
-
name: {
|
|
733
|
-
bytes: Iterable<number> & {
|
|
734
|
-
length: number;
|
|
735
|
-
};
|
|
736
|
-
};
|
|
737
|
-
};
|
|
738
|
-
config: {
|
|
739
|
-
oracle_id: string;
|
|
740
|
-
liquidity_token_decimal: string | number | bigint;
|
|
741
|
-
spot_config: {
|
|
742
|
-
min_deposit: string | number | bigint;
|
|
743
|
-
max_capacity: string | number | bigint;
|
|
744
|
-
target_weight_bp: string | number | bigint;
|
|
745
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
746
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
747
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
748
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
749
|
-
swap_fee_bp: string | number | bigint;
|
|
750
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
751
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
752
|
-
length: number;
|
|
753
|
-
};
|
|
754
|
-
};
|
|
755
|
-
margin_config: {
|
|
756
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
757
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
758
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
759
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
760
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
761
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
762
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
763
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
764
|
-
length: number;
|
|
765
|
-
};
|
|
766
|
-
};
|
|
767
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
768
|
-
length: number;
|
|
769
|
-
};
|
|
770
|
-
};
|
|
771
|
-
state: {
|
|
772
|
-
liquidity_amount: string | number | bigint;
|
|
773
|
-
value_in_usd: string | number | bigint;
|
|
774
|
-
reserved_amount: string | number | bigint;
|
|
775
|
-
update_ts_ms: string | number | bigint;
|
|
776
|
-
is_active: boolean;
|
|
777
|
-
last_borrow_rate_ts_ms: string | number | bigint;
|
|
778
|
-
cumulative_borrow_rate: string | number | bigint;
|
|
779
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint;
|
|
780
|
-
previous_cumulative_borrow_rate: string | number | bigint;
|
|
781
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
782
|
-
length: number;
|
|
783
|
-
};
|
|
784
|
-
};
|
|
785
|
-
}> & {
|
|
786
|
-
length: number;
|
|
787
|
-
};
|
|
788
|
-
pool_info: {
|
|
789
|
-
lp_token_decimal: string | number | bigint;
|
|
790
|
-
total_share_supply: string | number | bigint;
|
|
791
|
-
tvl_usd: string | number | bigint;
|
|
792
|
-
is_active: boolean;
|
|
793
|
-
};
|
|
794
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
795
|
-
length: number;
|
|
796
|
-
};
|
|
797
|
-
bcs_padding: Iterable<number> & {
|
|
798
|
-
length: number;
|
|
799
|
-
};
|
|
800
|
-
}>;
|
|
801
|
-
static fromFields(fields: Record<string, any>): LiquidityPool;
|
|
802
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): LiquidityPool;
|
|
803
|
-
static fromBcs(data: Uint8Array): LiquidityPool;
|
|
804
|
-
toJSONField(): {
|
|
805
|
-
id: string;
|
|
806
|
-
index: string;
|
|
807
|
-
lpTokenType: {
|
|
808
|
-
name: string;
|
|
809
|
-
};
|
|
810
|
-
liquidityTokens: {
|
|
811
|
-
name: string;
|
|
812
|
-
}[];
|
|
813
|
-
tokenPools: {
|
|
814
|
-
tokenType: {
|
|
815
|
-
name: string;
|
|
816
|
-
};
|
|
817
|
-
config: {
|
|
818
|
-
oracleId: string;
|
|
819
|
-
liquidityTokenDecimal: string;
|
|
820
|
-
spotConfig: {
|
|
821
|
-
minDeposit: string;
|
|
822
|
-
maxCapacity: string;
|
|
823
|
-
targetWeightBp: string;
|
|
824
|
-
basicMintFeeBp: string;
|
|
825
|
-
additionalMintFeeBp: string;
|
|
826
|
-
basicBurnFeeBp: string;
|
|
827
|
-
additionalBurnFeeBp: string;
|
|
828
|
-
swapFeeBp: string;
|
|
829
|
-
swapFeeProtocolShareBp: string;
|
|
830
|
-
u64Padding: string[];
|
|
831
|
-
};
|
|
832
|
-
marginConfig: {
|
|
833
|
-
basicBorrowRate0: string;
|
|
834
|
-
basicBorrowRate1: string;
|
|
835
|
-
basicBorrowRate2: string;
|
|
836
|
-
utilizationThresholdBp0: string;
|
|
837
|
-
utilizationThresholdBp1: string;
|
|
838
|
-
borrowIntervalTsMs: string;
|
|
839
|
-
maxOrderReserveRatioBp: string;
|
|
840
|
-
u64Padding: string[];
|
|
841
|
-
};
|
|
842
|
-
u64Padding: string[];
|
|
843
|
-
};
|
|
844
|
-
state: {
|
|
845
|
-
liquidityAmount: string;
|
|
846
|
-
valueInUsd: string;
|
|
847
|
-
reservedAmount: string;
|
|
848
|
-
updateTsMs: string;
|
|
849
|
-
isActive: boolean;
|
|
850
|
-
lastBorrowRateTsMs: string;
|
|
851
|
-
cumulativeBorrowRate: string;
|
|
852
|
-
previousLastBorrowRateTsMs: string;
|
|
853
|
-
previousCumulativeBorrowRate: string;
|
|
854
|
-
u64Padding: string[];
|
|
855
|
-
};
|
|
856
|
-
}[];
|
|
857
|
-
poolInfo: {
|
|
858
|
-
lpTokenDecimal: string;
|
|
859
|
-
totalShareSupply: string;
|
|
860
|
-
tvlUsd: string;
|
|
861
|
-
isActive: boolean;
|
|
862
|
-
};
|
|
863
|
-
u64Padding: string[];
|
|
864
|
-
bcsPadding: number[];
|
|
865
|
-
};
|
|
866
|
-
toJSON(): {
|
|
867
|
-
id: string;
|
|
868
|
-
index: string;
|
|
869
|
-
lpTokenType: {
|
|
870
|
-
name: string;
|
|
871
|
-
};
|
|
872
|
-
liquidityTokens: {
|
|
873
|
-
name: string;
|
|
874
|
-
}[];
|
|
875
|
-
tokenPools: {
|
|
876
|
-
tokenType: {
|
|
877
|
-
name: string;
|
|
878
|
-
};
|
|
879
|
-
config: {
|
|
880
|
-
oracleId: string;
|
|
881
|
-
liquidityTokenDecimal: string;
|
|
882
|
-
spotConfig: {
|
|
883
|
-
minDeposit: string;
|
|
884
|
-
maxCapacity: string;
|
|
885
|
-
targetWeightBp: string;
|
|
886
|
-
basicMintFeeBp: string;
|
|
887
|
-
additionalMintFeeBp: string;
|
|
888
|
-
basicBurnFeeBp: string;
|
|
889
|
-
additionalBurnFeeBp: string;
|
|
890
|
-
swapFeeBp: string;
|
|
891
|
-
swapFeeProtocolShareBp: string;
|
|
892
|
-
u64Padding: string[];
|
|
893
|
-
};
|
|
894
|
-
marginConfig: {
|
|
895
|
-
basicBorrowRate0: string;
|
|
896
|
-
basicBorrowRate1: string;
|
|
897
|
-
basicBorrowRate2: string;
|
|
898
|
-
utilizationThresholdBp0: string;
|
|
899
|
-
utilizationThresholdBp1: string;
|
|
900
|
-
borrowIntervalTsMs: string;
|
|
901
|
-
maxOrderReserveRatioBp: string;
|
|
902
|
-
u64Padding: string[];
|
|
903
|
-
};
|
|
904
|
-
u64Padding: string[];
|
|
905
|
-
};
|
|
906
|
-
state: {
|
|
907
|
-
liquidityAmount: string;
|
|
908
|
-
valueInUsd: string;
|
|
909
|
-
reservedAmount: string;
|
|
910
|
-
updateTsMs: string;
|
|
911
|
-
isActive: boolean;
|
|
912
|
-
lastBorrowRateTsMs: string;
|
|
913
|
-
cumulativeBorrowRate: string;
|
|
914
|
-
previousLastBorrowRateTsMs: string;
|
|
915
|
-
previousCumulativeBorrowRate: string;
|
|
916
|
-
u64Padding: string[];
|
|
917
|
-
};
|
|
918
|
-
}[];
|
|
919
|
-
poolInfo: {
|
|
920
|
-
lpTokenDecimal: string;
|
|
921
|
-
totalShareSupply: string;
|
|
922
|
-
tvlUsd: string;
|
|
923
|
-
isActive: boolean;
|
|
924
|
-
};
|
|
925
|
-
u64Padding: string[];
|
|
926
|
-
bcsPadding: number[];
|
|
927
|
-
$typeName: string;
|
|
928
|
-
$typeArgs: [];
|
|
929
|
-
};
|
|
930
|
-
static fromJSONField(field: any): LiquidityPool;
|
|
931
|
-
static fromJSON(json: Record<string, any>): LiquidityPool;
|
|
932
|
-
static fromSuiParsedData(content: SuiParsedData): LiquidityPool;
|
|
933
|
-
static fetch(client: SuiClient, id: string): Promise<LiquidityPool>;
|
|
934
|
-
}
|
|
935
|
-
export declare function isLiquidityPoolInfo(type: string): boolean;
|
|
936
|
-
export interface LiquidityPoolInfoFields {
|
|
937
|
-
lpTokenDecimal: ToField<"u64">;
|
|
938
|
-
totalShareSupply: ToField<"u64">;
|
|
939
|
-
tvlUsd: ToField<"u64">;
|
|
940
|
-
isActive: ToField<"bool">;
|
|
941
|
-
}
|
|
942
|
-
export type LiquidityPoolInfoReified = Reified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
|
|
943
|
-
export declare class LiquidityPoolInfo implements StructClass {
|
|
944
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPoolInfo";
|
|
945
|
-
static readonly $numTypeParams = 0;
|
|
946
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPoolInfo";
|
|
947
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPoolInfo";
|
|
948
|
-
readonly $typeArgs: [];
|
|
949
|
-
readonly lpTokenDecimal: ToField<"u64">;
|
|
950
|
-
readonly totalShareSupply: ToField<"u64">;
|
|
951
|
-
readonly tvlUsd: ToField<"u64">;
|
|
952
|
-
readonly isActive: ToField<"bool">;
|
|
953
|
-
private constructor();
|
|
954
|
-
static reified(): LiquidityPoolInfoReified;
|
|
955
|
-
static get r(): reified.StructClassReified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
|
|
956
|
-
static phantom(): PhantomReified<ToTypeStr<LiquidityPoolInfo>>;
|
|
957
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::LiquidityPoolInfo">;
|
|
958
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
959
|
-
lp_token_decimal: string;
|
|
960
|
-
total_share_supply: string;
|
|
961
|
-
tvl_usd: string;
|
|
962
|
-
is_active: boolean;
|
|
963
|
-
}, {
|
|
964
|
-
lp_token_decimal: string | number | bigint;
|
|
965
|
-
total_share_supply: string | number | bigint;
|
|
966
|
-
tvl_usd: string | number | bigint;
|
|
967
|
-
is_active: boolean;
|
|
968
|
-
}>;
|
|
969
|
-
static fromFields(fields: Record<string, any>): LiquidityPoolInfo;
|
|
970
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): LiquidityPoolInfo;
|
|
971
|
-
static fromBcs(data: Uint8Array): LiquidityPoolInfo;
|
|
972
|
-
toJSONField(): {
|
|
973
|
-
lpTokenDecimal: string;
|
|
974
|
-
totalShareSupply: string;
|
|
975
|
-
tvlUsd: string;
|
|
976
|
-
isActive: boolean;
|
|
977
|
-
};
|
|
978
|
-
toJSON(): {
|
|
979
|
-
lpTokenDecimal: string;
|
|
980
|
-
totalShareSupply: string;
|
|
981
|
-
tvlUsd: string;
|
|
982
|
-
isActive: boolean;
|
|
983
|
-
$typeName: string;
|
|
984
|
-
$typeArgs: [];
|
|
985
|
-
};
|
|
986
|
-
static fromJSONField(field: any): LiquidityPoolInfo;
|
|
987
|
-
static fromJSON(json: Record<string, any>): LiquidityPoolInfo;
|
|
988
|
-
static fromSuiParsedData(content: SuiParsedData): LiquidityPoolInfo;
|
|
989
|
-
static fetch(client: SuiClient, id: string): Promise<LiquidityPoolInfo>;
|
|
990
|
-
}
|
|
991
|
-
export declare function isMarginConfig(type: string): boolean;
|
|
992
|
-
export interface MarginConfigFields {
|
|
993
|
-
basicBorrowRate0: ToField<"u64">;
|
|
994
|
-
basicBorrowRate1: ToField<"u64">;
|
|
995
|
-
basicBorrowRate2: ToField<"u64">;
|
|
996
|
-
utilizationThresholdBp0: ToField<"u64">;
|
|
997
|
-
utilizationThresholdBp1: ToField<"u64">;
|
|
998
|
-
borrowIntervalTsMs: ToField<"u64">;
|
|
999
|
-
maxOrderReserveRatioBp: ToField<"u64">;
|
|
1000
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1001
|
-
}
|
|
1002
|
-
export type MarginConfigReified = Reified<MarginConfig, MarginConfigFields>;
|
|
1003
|
-
export declare class MarginConfig implements StructClass {
|
|
1004
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MarginConfig";
|
|
1005
|
-
static readonly $numTypeParams = 0;
|
|
1006
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MarginConfig";
|
|
1007
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MarginConfig";
|
|
1008
|
-
readonly $typeArgs: [];
|
|
1009
|
-
readonly basicBorrowRate0: ToField<"u64">;
|
|
1010
|
-
readonly basicBorrowRate1: ToField<"u64">;
|
|
1011
|
-
readonly basicBorrowRate2: ToField<"u64">;
|
|
1012
|
-
readonly utilizationThresholdBp0: ToField<"u64">;
|
|
1013
|
-
readonly utilizationThresholdBp1: ToField<"u64">;
|
|
1014
|
-
readonly borrowIntervalTsMs: ToField<"u64">;
|
|
1015
|
-
readonly maxOrderReserveRatioBp: ToField<"u64">;
|
|
1016
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1017
|
-
private constructor();
|
|
1018
|
-
static reified(): MarginConfigReified;
|
|
1019
|
-
static get r(): reified.StructClassReified<MarginConfig, MarginConfigFields>;
|
|
1020
|
-
static phantom(): PhantomReified<ToTypeStr<MarginConfig>>;
|
|
1021
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MarginConfig">;
|
|
1022
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1023
|
-
basic_borrow_rate_0: string;
|
|
1024
|
-
basic_borrow_rate_1: string;
|
|
1025
|
-
basic_borrow_rate_2: string;
|
|
1026
|
-
utilization_threshold_bp_0: string;
|
|
1027
|
-
utilization_threshold_bp_1: string;
|
|
1028
|
-
borrow_interval_ts_ms: string;
|
|
1029
|
-
max_order_reserve_ratio_bp: string;
|
|
1030
|
-
u64_padding: string[];
|
|
1031
|
-
}, {
|
|
1032
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
1033
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
1034
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
1035
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
1036
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
1037
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
1038
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
1039
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1040
|
-
length: number;
|
|
1041
|
-
};
|
|
1042
|
-
}>;
|
|
1043
|
-
static fromFields(fields: Record<string, any>): MarginConfig;
|
|
1044
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): MarginConfig;
|
|
1045
|
-
static fromBcs(data: Uint8Array): MarginConfig;
|
|
1046
|
-
toJSONField(): {
|
|
1047
|
-
basicBorrowRate0: string;
|
|
1048
|
-
basicBorrowRate1: string;
|
|
1049
|
-
basicBorrowRate2: string;
|
|
1050
|
-
utilizationThresholdBp0: string;
|
|
1051
|
-
utilizationThresholdBp1: string;
|
|
1052
|
-
borrowIntervalTsMs: string;
|
|
1053
|
-
maxOrderReserveRatioBp: string;
|
|
1054
|
-
u64Padding: string[];
|
|
1055
|
-
};
|
|
1056
|
-
toJSON(): {
|
|
1057
|
-
basicBorrowRate0: string;
|
|
1058
|
-
basicBorrowRate1: string;
|
|
1059
|
-
basicBorrowRate2: string;
|
|
1060
|
-
utilizationThresholdBp0: string;
|
|
1061
|
-
utilizationThresholdBp1: string;
|
|
1062
|
-
borrowIntervalTsMs: string;
|
|
1063
|
-
maxOrderReserveRatioBp: string;
|
|
1064
|
-
u64Padding: string[];
|
|
1065
|
-
$typeName: string;
|
|
1066
|
-
$typeArgs: [];
|
|
1067
|
-
};
|
|
1068
|
-
static fromJSONField(field: any): MarginConfig;
|
|
1069
|
-
static fromJSON(json: Record<string, any>): MarginConfig;
|
|
1070
|
-
static fromSuiParsedData(content: SuiParsedData): MarginConfig;
|
|
1071
|
-
static fetch(client: SuiClient, id: string): Promise<MarginConfig>;
|
|
1072
|
-
}
|
|
1073
|
-
export declare function isMintLpEvent(type: string): boolean;
|
|
1074
|
-
export interface MintLpEventFields {
|
|
1075
|
-
sender: ToField<"address">;
|
|
1076
|
-
index: ToField<"u64">;
|
|
1077
|
-
liquidityTokenType: ToField<TypeName>;
|
|
1078
|
-
depositAmount: ToField<"u64">;
|
|
1079
|
-
depositAmountUsd: ToField<"u64">;
|
|
1080
|
-
mintFeeUsd: ToField<"u64">;
|
|
1081
|
-
lpTokenType: ToField<TypeName>;
|
|
1082
|
-
mintedLpAmount: ToField<"u64">;
|
|
1083
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1084
|
-
}
|
|
1085
|
-
export type MintLpEventReified = Reified<MintLpEvent, MintLpEventFields>;
|
|
1086
|
-
export declare class MintLpEvent implements StructClass {
|
|
1087
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MintLpEvent";
|
|
1088
|
-
static readonly $numTypeParams = 0;
|
|
1089
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MintLpEvent";
|
|
1090
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MintLpEvent";
|
|
1091
|
-
readonly $typeArgs: [];
|
|
1092
|
-
readonly sender: ToField<"address">;
|
|
1093
|
-
readonly index: ToField<"u64">;
|
|
1094
|
-
readonly liquidityTokenType: ToField<TypeName>;
|
|
1095
|
-
readonly depositAmount: ToField<"u64">;
|
|
1096
|
-
readonly depositAmountUsd: ToField<"u64">;
|
|
1097
|
-
readonly mintFeeUsd: ToField<"u64">;
|
|
1098
|
-
readonly lpTokenType: ToField<TypeName>;
|
|
1099
|
-
readonly mintedLpAmount: ToField<"u64">;
|
|
1100
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1101
|
-
private constructor();
|
|
1102
|
-
static reified(): MintLpEventReified;
|
|
1103
|
-
static get r(): reified.StructClassReified<MintLpEvent, MintLpEventFields>;
|
|
1104
|
-
static phantom(): PhantomReified<ToTypeStr<MintLpEvent>>;
|
|
1105
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::MintLpEvent">;
|
|
1106
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1107
|
-
sender: string;
|
|
1108
|
-
index: string;
|
|
1109
|
-
liquidity_token_type: {
|
|
1110
|
-
name: {
|
|
1111
|
-
bytes: number[];
|
|
1112
|
-
};
|
|
1113
|
-
};
|
|
1114
|
-
deposit_amount: string;
|
|
1115
|
-
deposit_amount_usd: string;
|
|
1116
|
-
mint_fee_usd: string;
|
|
1117
|
-
lp_token_type: {
|
|
1118
|
-
name: {
|
|
1119
|
-
bytes: number[];
|
|
1120
|
-
};
|
|
1121
|
-
};
|
|
1122
|
-
minted_lp_amount: string;
|
|
1123
|
-
u64_padding: string[];
|
|
1124
|
-
}, {
|
|
1125
|
-
sender: string;
|
|
1126
|
-
index: string | number | bigint;
|
|
1127
|
-
liquidity_token_type: {
|
|
1128
|
-
name: {
|
|
1129
|
-
bytes: Iterable<number> & {
|
|
1130
|
-
length: number;
|
|
1131
|
-
};
|
|
1132
|
-
};
|
|
1133
|
-
};
|
|
1134
|
-
deposit_amount: string | number | bigint;
|
|
1135
|
-
deposit_amount_usd: string | number | bigint;
|
|
1136
|
-
mint_fee_usd: string | number | bigint;
|
|
1137
|
-
lp_token_type: {
|
|
1138
|
-
name: {
|
|
1139
|
-
bytes: Iterable<number> & {
|
|
1140
|
-
length: number;
|
|
1141
|
-
};
|
|
1142
|
-
};
|
|
1143
|
-
};
|
|
1144
|
-
minted_lp_amount: string | number | bigint;
|
|
1145
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1146
|
-
length: number;
|
|
1147
|
-
};
|
|
1148
|
-
}>;
|
|
1149
|
-
static fromFields(fields: Record<string, any>): MintLpEvent;
|
|
1150
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): MintLpEvent;
|
|
1151
|
-
static fromBcs(data: Uint8Array): MintLpEvent;
|
|
1152
|
-
toJSONField(): {
|
|
1153
|
-
sender: string;
|
|
1154
|
-
index: string;
|
|
1155
|
-
liquidityTokenType: {
|
|
1156
|
-
name: string;
|
|
1157
|
-
};
|
|
1158
|
-
depositAmount: string;
|
|
1159
|
-
depositAmountUsd: string;
|
|
1160
|
-
mintFeeUsd: string;
|
|
1161
|
-
lpTokenType: {
|
|
1162
|
-
name: string;
|
|
1163
|
-
};
|
|
1164
|
-
mintedLpAmount: string;
|
|
1165
|
-
u64Padding: string[];
|
|
1166
|
-
};
|
|
1167
|
-
toJSON(): {
|
|
1168
|
-
sender: string;
|
|
1169
|
-
index: string;
|
|
1170
|
-
liquidityTokenType: {
|
|
1171
|
-
name: string;
|
|
1172
|
-
};
|
|
1173
|
-
depositAmount: string;
|
|
1174
|
-
depositAmountUsd: string;
|
|
1175
|
-
mintFeeUsd: string;
|
|
1176
|
-
lpTokenType: {
|
|
1177
|
-
name: string;
|
|
1178
|
-
};
|
|
1179
|
-
mintedLpAmount: string;
|
|
1180
|
-
u64Padding: string[];
|
|
1181
|
-
$typeName: string;
|
|
1182
|
-
$typeArgs: [];
|
|
1183
|
-
};
|
|
1184
|
-
static fromJSONField(field: any): MintLpEvent;
|
|
1185
|
-
static fromJSON(json: Record<string, any>): MintLpEvent;
|
|
1186
|
-
static fromSuiParsedData(content: SuiParsedData): MintLpEvent;
|
|
1187
|
-
static fetch(client: SuiClient, id: string): Promise<MintLpEvent>;
|
|
1188
|
-
}
|
|
1189
|
-
export declare function isNewLiquidityPoolEvent(type: string): boolean;
|
|
1190
|
-
export interface NewLiquidityPoolEventFields {
|
|
1191
|
-
sender: ToField<"address">;
|
|
1192
|
-
index: ToField<"u64">;
|
|
1193
|
-
lpTokenType: ToField<TypeName>;
|
|
1194
|
-
lpTokenDecimal: ToField<"u64">;
|
|
1195
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1196
|
-
}
|
|
1197
|
-
export type NewLiquidityPoolEventReified = Reified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
|
|
1198
|
-
export declare class NewLiquidityPoolEvent implements StructClass {
|
|
1199
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::NewLiquidityPoolEvent";
|
|
1200
|
-
static readonly $numTypeParams = 0;
|
|
1201
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::NewLiquidityPoolEvent";
|
|
1202
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::NewLiquidityPoolEvent";
|
|
1203
|
-
readonly $typeArgs: [];
|
|
1204
|
-
readonly sender: ToField<"address">;
|
|
1205
|
-
readonly index: ToField<"u64">;
|
|
1206
|
-
readonly lpTokenType: ToField<TypeName>;
|
|
1207
|
-
readonly lpTokenDecimal: ToField<"u64">;
|
|
1208
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1209
|
-
private constructor();
|
|
1210
|
-
static reified(): NewLiquidityPoolEventReified;
|
|
1211
|
-
static get r(): reified.StructClassReified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
|
|
1212
|
-
static phantom(): PhantomReified<ToTypeStr<NewLiquidityPoolEvent>>;
|
|
1213
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::NewLiquidityPoolEvent">;
|
|
1214
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1215
|
-
sender: string;
|
|
1216
|
-
index: string;
|
|
1217
|
-
lp_token_type: {
|
|
1218
|
-
name: {
|
|
1219
|
-
bytes: number[];
|
|
1220
|
-
};
|
|
1221
|
-
};
|
|
1222
|
-
lp_token_decimal: string;
|
|
1223
|
-
u64_padding: string[];
|
|
1224
|
-
}, {
|
|
1225
|
-
sender: string;
|
|
1226
|
-
index: string | number | bigint;
|
|
1227
|
-
lp_token_type: {
|
|
1228
|
-
name: {
|
|
1229
|
-
bytes: Iterable<number> & {
|
|
1230
|
-
length: number;
|
|
1231
|
-
};
|
|
1232
|
-
};
|
|
1233
|
-
};
|
|
1234
|
-
lp_token_decimal: string | number | bigint;
|
|
1235
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1236
|
-
length: number;
|
|
1237
|
-
};
|
|
1238
|
-
}>;
|
|
1239
|
-
static fromFields(fields: Record<string, any>): NewLiquidityPoolEvent;
|
|
1240
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): NewLiquidityPoolEvent;
|
|
1241
|
-
static fromBcs(data: Uint8Array): NewLiquidityPoolEvent;
|
|
1242
|
-
toJSONField(): {
|
|
1243
|
-
sender: string;
|
|
1244
|
-
index: string;
|
|
1245
|
-
lpTokenType: {
|
|
1246
|
-
name: string;
|
|
1247
|
-
};
|
|
1248
|
-
lpTokenDecimal: string;
|
|
1249
|
-
u64Padding: string[];
|
|
1250
|
-
};
|
|
1251
|
-
toJSON(): {
|
|
1252
|
-
sender: string;
|
|
1253
|
-
index: string;
|
|
1254
|
-
lpTokenType: {
|
|
1255
|
-
name: string;
|
|
1256
|
-
};
|
|
1257
|
-
lpTokenDecimal: string;
|
|
1258
|
-
u64Padding: string[];
|
|
1259
|
-
$typeName: string;
|
|
1260
|
-
$typeArgs: [];
|
|
1261
|
-
};
|
|
1262
|
-
static fromJSONField(field: any): NewLiquidityPoolEvent;
|
|
1263
|
-
static fromJSON(json: Record<string, any>): NewLiquidityPoolEvent;
|
|
1264
|
-
static fromSuiParsedData(content: SuiParsedData): NewLiquidityPoolEvent;
|
|
1265
|
-
static fetch(client: SuiClient, id: string): Promise<NewLiquidityPoolEvent>;
|
|
1266
|
-
}
|
|
1267
|
-
export declare function isRegistry(type: string): boolean;
|
|
1268
|
-
export interface RegistryFields {
|
|
1269
|
-
id: ToField<UID>;
|
|
1270
|
-
numPool: ToField<"u64">;
|
|
1271
|
-
liquidityPoolRegistry: ToField<UID>;
|
|
1272
|
-
}
|
|
1273
|
-
export type RegistryReified = Reified<Registry, RegistryFields>;
|
|
1274
|
-
export declare class Registry implements StructClass {
|
|
1275
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Registry";
|
|
1276
|
-
static readonly $numTypeParams = 0;
|
|
1277
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Registry";
|
|
1278
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Registry";
|
|
1279
|
-
readonly $typeArgs: [];
|
|
1280
|
-
readonly id: ToField<UID>;
|
|
1281
|
-
readonly numPool: ToField<"u64">;
|
|
1282
|
-
readonly liquidityPoolRegistry: ToField<UID>;
|
|
1283
|
-
private constructor();
|
|
1284
|
-
static reified(): RegistryReified;
|
|
1285
|
-
static get r(): reified.StructClassReified<Registry, RegistryFields>;
|
|
1286
|
-
static phantom(): PhantomReified<ToTypeStr<Registry>>;
|
|
1287
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::Registry">;
|
|
1288
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1289
|
-
id: {
|
|
1290
|
-
id: {
|
|
1291
|
-
bytes: string;
|
|
1292
|
-
};
|
|
1293
|
-
};
|
|
1294
|
-
num_pool: string;
|
|
1295
|
-
liquidity_pool_registry: {
|
|
1296
|
-
id: {
|
|
1297
|
-
bytes: string;
|
|
1298
|
-
};
|
|
1299
|
-
};
|
|
1300
|
-
}, {
|
|
1301
|
-
id: {
|
|
1302
|
-
id: {
|
|
1303
|
-
bytes: string;
|
|
1304
|
-
};
|
|
1305
|
-
};
|
|
1306
|
-
num_pool: string | number | bigint;
|
|
1307
|
-
liquidity_pool_registry: {
|
|
1308
|
-
id: {
|
|
1309
|
-
bytes: string;
|
|
1310
|
-
};
|
|
1311
|
-
};
|
|
1312
|
-
}>;
|
|
1313
|
-
static fromFields(fields: Record<string, any>): Registry;
|
|
1314
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): Registry;
|
|
1315
|
-
static fromBcs(data: Uint8Array): Registry;
|
|
1316
|
-
toJSONField(): {
|
|
1317
|
-
id: string;
|
|
1318
|
-
numPool: string;
|
|
1319
|
-
liquidityPoolRegistry: string;
|
|
1320
|
-
};
|
|
1321
|
-
toJSON(): {
|
|
1322
|
-
id: string;
|
|
1323
|
-
numPool: string;
|
|
1324
|
-
liquidityPoolRegistry: string;
|
|
1325
|
-
$typeName: string;
|
|
1326
|
-
$typeArgs: [];
|
|
1327
|
-
};
|
|
1328
|
-
static fromJSONField(field: any): Registry;
|
|
1329
|
-
static fromJSON(json: Record<string, any>): Registry;
|
|
1330
|
-
static fromSuiParsedData(content: SuiParsedData): Registry;
|
|
1331
|
-
static fetch(client: SuiClient, id: string): Promise<Registry>;
|
|
1332
|
-
}
|
|
1333
|
-
export declare function isResumePoolEvent(type: string): boolean;
|
|
1334
|
-
export interface ResumePoolEventFields {
|
|
1335
|
-
sender: ToField<"address">;
|
|
1336
|
-
index: ToField<"u64">;
|
|
1337
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1338
|
-
}
|
|
1339
|
-
export type ResumePoolEventReified = Reified<ResumePoolEvent, ResumePoolEventFields>;
|
|
1340
|
-
export declare class ResumePoolEvent implements StructClass {
|
|
1341
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumePoolEvent";
|
|
1342
|
-
static readonly $numTypeParams = 0;
|
|
1343
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumePoolEvent";
|
|
1344
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumePoolEvent";
|
|
1345
|
-
readonly $typeArgs: [];
|
|
1346
|
-
readonly sender: ToField<"address">;
|
|
1347
|
-
readonly index: ToField<"u64">;
|
|
1348
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1349
|
-
private constructor();
|
|
1350
|
-
static reified(): ResumePoolEventReified;
|
|
1351
|
-
static get r(): reified.StructClassReified<ResumePoolEvent, ResumePoolEventFields>;
|
|
1352
|
-
static phantom(): PhantomReified<ToTypeStr<ResumePoolEvent>>;
|
|
1353
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumePoolEvent">;
|
|
1354
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1355
|
-
sender: string;
|
|
1356
|
-
index: string;
|
|
1357
|
-
u64_padding: string[];
|
|
1358
|
-
}, {
|
|
1359
|
-
sender: string;
|
|
1360
|
-
index: string | number | bigint;
|
|
1361
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1362
|
-
length: number;
|
|
1363
|
-
};
|
|
1364
|
-
}>;
|
|
1365
|
-
static fromFields(fields: Record<string, any>): ResumePoolEvent;
|
|
1366
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): ResumePoolEvent;
|
|
1367
|
-
static fromBcs(data: Uint8Array): ResumePoolEvent;
|
|
1368
|
-
toJSONField(): {
|
|
1369
|
-
sender: string;
|
|
1370
|
-
index: string;
|
|
1371
|
-
u64Padding: string[];
|
|
1372
|
-
};
|
|
1373
|
-
toJSON(): {
|
|
1374
|
-
sender: string;
|
|
1375
|
-
index: string;
|
|
1376
|
-
u64Padding: string[];
|
|
1377
|
-
$typeName: string;
|
|
1378
|
-
$typeArgs: [];
|
|
1379
|
-
};
|
|
1380
|
-
static fromJSONField(field: any): ResumePoolEvent;
|
|
1381
|
-
static fromJSON(json: Record<string, any>): ResumePoolEvent;
|
|
1382
|
-
static fromSuiParsedData(content: SuiParsedData): ResumePoolEvent;
|
|
1383
|
-
static fetch(client: SuiClient, id: string): Promise<ResumePoolEvent>;
|
|
1384
|
-
}
|
|
1385
|
-
export declare function isResumeTokenPoolEvent(type: string): boolean;
|
|
1386
|
-
export interface ResumeTokenPoolEventFields {
|
|
1387
|
-
sender: ToField<"address">;
|
|
1388
|
-
index: ToField<"u64">;
|
|
1389
|
-
liquidityToken: ToField<TypeName>;
|
|
1390
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1391
|
-
}
|
|
1392
|
-
export type ResumeTokenPoolEventReified = Reified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
|
|
1393
|
-
export declare class ResumeTokenPoolEvent implements StructClass {
|
|
1394
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumeTokenPoolEvent";
|
|
1395
|
-
static readonly $numTypeParams = 0;
|
|
1396
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumeTokenPoolEvent";
|
|
1397
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumeTokenPoolEvent";
|
|
1398
|
-
readonly $typeArgs: [];
|
|
1399
|
-
readonly sender: ToField<"address">;
|
|
1400
|
-
readonly index: ToField<"u64">;
|
|
1401
|
-
readonly liquidityToken: ToField<TypeName>;
|
|
1402
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1403
|
-
private constructor();
|
|
1404
|
-
static reified(): ResumeTokenPoolEventReified;
|
|
1405
|
-
static get r(): reified.StructClassReified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
|
|
1406
|
-
static phantom(): PhantomReified<ToTypeStr<ResumeTokenPoolEvent>>;
|
|
1407
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::ResumeTokenPoolEvent">;
|
|
1408
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1409
|
-
sender: string;
|
|
1410
|
-
index: string;
|
|
1411
|
-
liquidity_token: {
|
|
1412
|
-
name: {
|
|
1413
|
-
bytes: number[];
|
|
1414
|
-
};
|
|
1415
|
-
};
|
|
1416
|
-
u64_padding: string[];
|
|
1417
|
-
}, {
|
|
1418
|
-
sender: string;
|
|
1419
|
-
index: string | number | bigint;
|
|
1420
|
-
liquidity_token: {
|
|
1421
|
-
name: {
|
|
1422
|
-
bytes: Iterable<number> & {
|
|
1423
|
-
length: number;
|
|
1424
|
-
};
|
|
1425
|
-
};
|
|
1426
|
-
};
|
|
1427
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1428
|
-
length: number;
|
|
1429
|
-
};
|
|
1430
|
-
}>;
|
|
1431
|
-
static fromFields(fields: Record<string, any>): ResumeTokenPoolEvent;
|
|
1432
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): ResumeTokenPoolEvent;
|
|
1433
|
-
static fromBcs(data: Uint8Array): ResumeTokenPoolEvent;
|
|
1434
|
-
toJSONField(): {
|
|
1435
|
-
sender: string;
|
|
1436
|
-
index: string;
|
|
1437
|
-
liquidityToken: {
|
|
1438
|
-
name: string;
|
|
1439
|
-
};
|
|
1440
|
-
u64Padding: string[];
|
|
1441
|
-
};
|
|
1442
|
-
toJSON(): {
|
|
1443
|
-
sender: string;
|
|
1444
|
-
index: string;
|
|
1445
|
-
liquidityToken: {
|
|
1446
|
-
name: string;
|
|
1447
|
-
};
|
|
1448
|
-
u64Padding: string[];
|
|
1449
|
-
$typeName: string;
|
|
1450
|
-
$typeArgs: [];
|
|
1451
|
-
};
|
|
1452
|
-
static fromJSONField(field: any): ResumeTokenPoolEvent;
|
|
1453
|
-
static fromJSON(json: Record<string, any>): ResumeTokenPoolEvent;
|
|
1454
|
-
static fromSuiParsedData(content: SuiParsedData): ResumeTokenPoolEvent;
|
|
1455
|
-
static fetch(client: SuiClient, id: string): Promise<ResumeTokenPoolEvent>;
|
|
1456
|
-
}
|
|
1457
|
-
export declare function isSpotConfig(type: string): boolean;
|
|
1458
|
-
export interface SpotConfigFields {
|
|
1459
|
-
minDeposit: ToField<"u64">;
|
|
1460
|
-
maxCapacity: ToField<"u64">;
|
|
1461
|
-
targetWeightBp: ToField<"u64">;
|
|
1462
|
-
basicMintFeeBp: ToField<"u64">;
|
|
1463
|
-
additionalMintFeeBp: ToField<"u64">;
|
|
1464
|
-
basicBurnFeeBp: ToField<"u64">;
|
|
1465
|
-
additionalBurnFeeBp: ToField<"u64">;
|
|
1466
|
-
swapFeeBp: ToField<"u64">;
|
|
1467
|
-
swapFeeProtocolShareBp: ToField<"u64">;
|
|
1468
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1469
|
-
}
|
|
1470
|
-
export type SpotConfigReified = Reified<SpotConfig, SpotConfigFields>;
|
|
1471
|
-
export declare class SpotConfig implements StructClass {
|
|
1472
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SpotConfig";
|
|
1473
|
-
static readonly $numTypeParams = 0;
|
|
1474
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SpotConfig";
|
|
1475
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SpotConfig";
|
|
1476
|
-
readonly $typeArgs: [];
|
|
1477
|
-
readonly minDeposit: ToField<"u64">;
|
|
1478
|
-
readonly maxCapacity: ToField<"u64">;
|
|
1479
|
-
readonly targetWeightBp: ToField<"u64">;
|
|
1480
|
-
readonly basicMintFeeBp: ToField<"u64">;
|
|
1481
|
-
readonly additionalMintFeeBp: ToField<"u64">;
|
|
1482
|
-
readonly basicBurnFeeBp: ToField<"u64">;
|
|
1483
|
-
readonly additionalBurnFeeBp: ToField<"u64">;
|
|
1484
|
-
readonly swapFeeBp: ToField<"u64">;
|
|
1485
|
-
readonly swapFeeProtocolShareBp: ToField<"u64">;
|
|
1486
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1487
|
-
private constructor();
|
|
1488
|
-
static reified(): SpotConfigReified;
|
|
1489
|
-
static get r(): reified.StructClassReified<SpotConfig, SpotConfigFields>;
|
|
1490
|
-
static phantom(): PhantomReified<ToTypeStr<SpotConfig>>;
|
|
1491
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SpotConfig">;
|
|
1492
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1493
|
-
min_deposit: string;
|
|
1494
|
-
max_capacity: string;
|
|
1495
|
-
target_weight_bp: string;
|
|
1496
|
-
basic_mint_fee_bp: string;
|
|
1497
|
-
additional_mint_fee_bp: string;
|
|
1498
|
-
basic_burn_fee_bp: string;
|
|
1499
|
-
additional_burn_fee_bp: string;
|
|
1500
|
-
swap_fee_bp: string;
|
|
1501
|
-
swap_fee_protocol_share_bp: string;
|
|
1502
|
-
u64_padding: string[];
|
|
1503
|
-
}, {
|
|
1504
|
-
min_deposit: string | number | bigint;
|
|
1505
|
-
max_capacity: string | number | bigint;
|
|
1506
|
-
target_weight_bp: string | number | bigint;
|
|
1507
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
1508
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
1509
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
1510
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
1511
|
-
swap_fee_bp: string | number | bigint;
|
|
1512
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
1513
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1514
|
-
length: number;
|
|
1515
|
-
};
|
|
1516
|
-
}>;
|
|
1517
|
-
static fromFields(fields: Record<string, any>): SpotConfig;
|
|
1518
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): SpotConfig;
|
|
1519
|
-
static fromBcs(data: Uint8Array): SpotConfig;
|
|
1520
|
-
toJSONField(): {
|
|
1521
|
-
minDeposit: string;
|
|
1522
|
-
maxCapacity: string;
|
|
1523
|
-
targetWeightBp: string;
|
|
1524
|
-
basicMintFeeBp: string;
|
|
1525
|
-
additionalMintFeeBp: string;
|
|
1526
|
-
basicBurnFeeBp: string;
|
|
1527
|
-
additionalBurnFeeBp: string;
|
|
1528
|
-
swapFeeBp: string;
|
|
1529
|
-
swapFeeProtocolShareBp: string;
|
|
1530
|
-
u64Padding: string[];
|
|
1531
|
-
};
|
|
1532
|
-
toJSON(): {
|
|
1533
|
-
minDeposit: string;
|
|
1534
|
-
maxCapacity: string;
|
|
1535
|
-
targetWeightBp: string;
|
|
1536
|
-
basicMintFeeBp: string;
|
|
1537
|
-
additionalMintFeeBp: string;
|
|
1538
|
-
basicBurnFeeBp: string;
|
|
1539
|
-
additionalBurnFeeBp: string;
|
|
1540
|
-
swapFeeBp: string;
|
|
1541
|
-
swapFeeProtocolShareBp: string;
|
|
1542
|
-
u64Padding: string[];
|
|
1543
|
-
$typeName: string;
|
|
1544
|
-
$typeArgs: [];
|
|
1545
|
-
};
|
|
1546
|
-
static fromJSONField(field: any): SpotConfig;
|
|
1547
|
-
static fromJSON(json: Record<string, any>): SpotConfig;
|
|
1548
|
-
static fromSuiParsedData(content: SuiParsedData): SpotConfig;
|
|
1549
|
-
static fetch(client: SuiClient, id: string): Promise<SpotConfig>;
|
|
1550
|
-
}
|
|
1551
|
-
export declare function isSuspendPoolEvent(type: string): boolean;
|
|
1552
|
-
export interface SuspendPoolEventFields {
|
|
1553
|
-
sender: ToField<"address">;
|
|
1554
|
-
index: ToField<"u64">;
|
|
1555
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1556
|
-
}
|
|
1557
|
-
export type SuspendPoolEventReified = Reified<SuspendPoolEvent, SuspendPoolEventFields>;
|
|
1558
|
-
export declare class SuspendPoolEvent implements StructClass {
|
|
1559
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendPoolEvent";
|
|
1560
|
-
static readonly $numTypeParams = 0;
|
|
1561
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendPoolEvent";
|
|
1562
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendPoolEvent";
|
|
1563
|
-
readonly $typeArgs: [];
|
|
1564
|
-
readonly sender: ToField<"address">;
|
|
1565
|
-
readonly index: ToField<"u64">;
|
|
1566
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1567
|
-
private constructor();
|
|
1568
|
-
static reified(): SuspendPoolEventReified;
|
|
1569
|
-
static get r(): reified.StructClassReified<SuspendPoolEvent, SuspendPoolEventFields>;
|
|
1570
|
-
static phantom(): PhantomReified<ToTypeStr<SuspendPoolEvent>>;
|
|
1571
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendPoolEvent">;
|
|
1572
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1573
|
-
sender: string;
|
|
1574
|
-
index: string;
|
|
1575
|
-
u64_padding: string[];
|
|
1576
|
-
}, {
|
|
1577
|
-
sender: string;
|
|
1578
|
-
index: string | number | bigint;
|
|
1579
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1580
|
-
length: number;
|
|
1581
|
-
};
|
|
1582
|
-
}>;
|
|
1583
|
-
static fromFields(fields: Record<string, any>): SuspendPoolEvent;
|
|
1584
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): SuspendPoolEvent;
|
|
1585
|
-
static fromBcs(data: Uint8Array): SuspendPoolEvent;
|
|
1586
|
-
toJSONField(): {
|
|
1587
|
-
sender: string;
|
|
1588
|
-
index: string;
|
|
1589
|
-
u64Padding: string[];
|
|
1590
|
-
};
|
|
1591
|
-
toJSON(): {
|
|
1592
|
-
sender: string;
|
|
1593
|
-
index: string;
|
|
1594
|
-
u64Padding: string[];
|
|
1595
|
-
$typeName: string;
|
|
1596
|
-
$typeArgs: [];
|
|
1597
|
-
};
|
|
1598
|
-
static fromJSONField(field: any): SuspendPoolEvent;
|
|
1599
|
-
static fromJSON(json: Record<string, any>): SuspendPoolEvent;
|
|
1600
|
-
static fromSuiParsedData(content: SuiParsedData): SuspendPoolEvent;
|
|
1601
|
-
static fetch(client: SuiClient, id: string): Promise<SuspendPoolEvent>;
|
|
1602
|
-
}
|
|
1603
|
-
export declare function isSuspendTokenPoolEvent(type: string): boolean;
|
|
1604
|
-
export interface SuspendTokenPoolEventFields {
|
|
1605
|
-
sender: ToField<"address">;
|
|
1606
|
-
index: ToField<"u64">;
|
|
1607
|
-
liquidityToken: ToField<TypeName>;
|
|
1608
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1609
|
-
}
|
|
1610
|
-
export type SuspendTokenPoolEventReified = Reified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
|
|
1611
|
-
export declare class SuspendTokenPoolEvent implements StructClass {
|
|
1612
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendTokenPoolEvent";
|
|
1613
|
-
static readonly $numTypeParams = 0;
|
|
1614
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendTokenPoolEvent";
|
|
1615
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendTokenPoolEvent";
|
|
1616
|
-
readonly $typeArgs: [];
|
|
1617
|
-
readonly sender: ToField<"address">;
|
|
1618
|
-
readonly index: ToField<"u64">;
|
|
1619
|
-
readonly liquidityToken: ToField<TypeName>;
|
|
1620
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1621
|
-
private constructor();
|
|
1622
|
-
static reified(): SuspendTokenPoolEventReified;
|
|
1623
|
-
static get r(): reified.StructClassReified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
|
|
1624
|
-
static phantom(): PhantomReified<ToTypeStr<SuspendTokenPoolEvent>>;
|
|
1625
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SuspendTokenPoolEvent">;
|
|
1626
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1627
|
-
sender: string;
|
|
1628
|
-
index: string;
|
|
1629
|
-
liquidity_token: {
|
|
1630
|
-
name: {
|
|
1631
|
-
bytes: number[];
|
|
1632
|
-
};
|
|
1633
|
-
};
|
|
1634
|
-
u64_padding: string[];
|
|
1635
|
-
}, {
|
|
1636
|
-
sender: string;
|
|
1637
|
-
index: string | number | bigint;
|
|
1638
|
-
liquidity_token: {
|
|
1639
|
-
name: {
|
|
1640
|
-
bytes: Iterable<number> & {
|
|
1641
|
-
length: number;
|
|
1642
|
-
};
|
|
1643
|
-
};
|
|
1644
|
-
};
|
|
1645
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1646
|
-
length: number;
|
|
1647
|
-
};
|
|
1648
|
-
}>;
|
|
1649
|
-
static fromFields(fields: Record<string, any>): SuspendTokenPoolEvent;
|
|
1650
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): SuspendTokenPoolEvent;
|
|
1651
|
-
static fromBcs(data: Uint8Array): SuspendTokenPoolEvent;
|
|
1652
|
-
toJSONField(): {
|
|
1653
|
-
sender: string;
|
|
1654
|
-
index: string;
|
|
1655
|
-
liquidityToken: {
|
|
1656
|
-
name: string;
|
|
1657
|
-
};
|
|
1658
|
-
u64Padding: string[];
|
|
1659
|
-
};
|
|
1660
|
-
toJSON(): {
|
|
1661
|
-
sender: string;
|
|
1662
|
-
index: string;
|
|
1663
|
-
liquidityToken: {
|
|
1664
|
-
name: string;
|
|
1665
|
-
};
|
|
1666
|
-
u64Padding: string[];
|
|
1667
|
-
$typeName: string;
|
|
1668
|
-
$typeArgs: [];
|
|
1669
|
-
};
|
|
1670
|
-
static fromJSONField(field: any): SuspendTokenPoolEvent;
|
|
1671
|
-
static fromJSON(json: Record<string, any>): SuspendTokenPoolEvent;
|
|
1672
|
-
static fromSuiParsedData(content: SuiParsedData): SuspendTokenPoolEvent;
|
|
1673
|
-
static fetch(client: SuiClient, id: string): Promise<SuspendTokenPoolEvent>;
|
|
1674
|
-
}
|
|
1675
|
-
export declare function isSwapEvent(type: string): boolean;
|
|
1676
|
-
export interface SwapEventFields {
|
|
1677
|
-
sender: ToField<"address">;
|
|
1678
|
-
index: ToField<"u64">;
|
|
1679
|
-
fromTokenType: ToField<TypeName>;
|
|
1680
|
-
fromAmount: ToField<"u64">;
|
|
1681
|
-
toTokenType: ToField<TypeName>;
|
|
1682
|
-
minToAmount: ToField<"u64">;
|
|
1683
|
-
actualToAmount: ToField<"u64">;
|
|
1684
|
-
feeAmount: ToField<"u64">;
|
|
1685
|
-
feeAmountUsd: ToField<"u64">;
|
|
1686
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
1687
|
-
}
|
|
1688
|
-
export type SwapEventReified = Reified<SwapEvent, SwapEventFields>;
|
|
1689
|
-
export declare class SwapEvent implements StructClass {
|
|
1690
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SwapEvent";
|
|
1691
|
-
static readonly $numTypeParams = 0;
|
|
1692
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SwapEvent";
|
|
1693
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SwapEvent";
|
|
1694
|
-
readonly $typeArgs: [];
|
|
1695
|
-
readonly sender: ToField<"address">;
|
|
1696
|
-
readonly index: ToField<"u64">;
|
|
1697
|
-
readonly fromTokenType: ToField<TypeName>;
|
|
1698
|
-
readonly fromAmount: ToField<"u64">;
|
|
1699
|
-
readonly toTokenType: ToField<TypeName>;
|
|
1700
|
-
readonly minToAmount: ToField<"u64">;
|
|
1701
|
-
readonly actualToAmount: ToField<"u64">;
|
|
1702
|
-
readonly feeAmount: ToField<"u64">;
|
|
1703
|
-
readonly feeAmountUsd: ToField<"u64">;
|
|
1704
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
1705
|
-
private constructor();
|
|
1706
|
-
static reified(): SwapEventReified;
|
|
1707
|
-
static get r(): reified.StructClassReified<SwapEvent, SwapEventFields>;
|
|
1708
|
-
static phantom(): PhantomReified<ToTypeStr<SwapEvent>>;
|
|
1709
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::SwapEvent">;
|
|
1710
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1711
|
-
sender: string;
|
|
1712
|
-
index: string;
|
|
1713
|
-
from_token_type: {
|
|
1714
|
-
name: {
|
|
1715
|
-
bytes: number[];
|
|
1716
|
-
};
|
|
1717
|
-
};
|
|
1718
|
-
from_amount: string;
|
|
1719
|
-
to_token_type: {
|
|
1720
|
-
name: {
|
|
1721
|
-
bytes: number[];
|
|
1722
|
-
};
|
|
1723
|
-
};
|
|
1724
|
-
min_to_amount: string;
|
|
1725
|
-
actual_to_amount: string;
|
|
1726
|
-
fee_amount: string;
|
|
1727
|
-
fee_amount_usd: string;
|
|
1728
|
-
u64_padding: string[];
|
|
1729
|
-
}, {
|
|
1730
|
-
sender: string;
|
|
1731
|
-
index: string | number | bigint;
|
|
1732
|
-
from_token_type: {
|
|
1733
|
-
name: {
|
|
1734
|
-
bytes: Iterable<number> & {
|
|
1735
|
-
length: number;
|
|
1736
|
-
};
|
|
1737
|
-
};
|
|
1738
|
-
};
|
|
1739
|
-
from_amount: string | number | bigint;
|
|
1740
|
-
to_token_type: {
|
|
1741
|
-
name: {
|
|
1742
|
-
bytes: Iterable<number> & {
|
|
1743
|
-
length: number;
|
|
1744
|
-
};
|
|
1745
|
-
};
|
|
1746
|
-
};
|
|
1747
|
-
min_to_amount: string | number | bigint;
|
|
1748
|
-
actual_to_amount: string | number | bigint;
|
|
1749
|
-
fee_amount: string | number | bigint;
|
|
1750
|
-
fee_amount_usd: string | number | bigint;
|
|
1751
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1752
|
-
length: number;
|
|
1753
|
-
};
|
|
1754
|
-
}>;
|
|
1755
|
-
static fromFields(fields: Record<string, any>): SwapEvent;
|
|
1756
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): SwapEvent;
|
|
1757
|
-
static fromBcs(data: Uint8Array): SwapEvent;
|
|
1758
|
-
toJSONField(): {
|
|
1759
|
-
sender: string;
|
|
1760
|
-
index: string;
|
|
1761
|
-
fromTokenType: {
|
|
1762
|
-
name: string;
|
|
1763
|
-
};
|
|
1764
|
-
fromAmount: string;
|
|
1765
|
-
toTokenType: {
|
|
1766
|
-
name: string;
|
|
1767
|
-
};
|
|
1768
|
-
minToAmount: string;
|
|
1769
|
-
actualToAmount: string;
|
|
1770
|
-
feeAmount: string;
|
|
1771
|
-
feeAmountUsd: string;
|
|
1772
|
-
u64Padding: string[];
|
|
1773
|
-
};
|
|
1774
|
-
toJSON(): {
|
|
1775
|
-
sender: string;
|
|
1776
|
-
index: string;
|
|
1777
|
-
fromTokenType: {
|
|
1778
|
-
name: string;
|
|
1779
|
-
};
|
|
1780
|
-
fromAmount: string;
|
|
1781
|
-
toTokenType: {
|
|
1782
|
-
name: string;
|
|
1783
|
-
};
|
|
1784
|
-
minToAmount: string;
|
|
1785
|
-
actualToAmount: string;
|
|
1786
|
-
feeAmount: string;
|
|
1787
|
-
feeAmountUsd: string;
|
|
1788
|
-
u64Padding: string[];
|
|
1789
|
-
$typeName: string;
|
|
1790
|
-
$typeArgs: [];
|
|
1791
|
-
};
|
|
1792
|
-
static fromJSONField(field: any): SwapEvent;
|
|
1793
|
-
static fromJSON(json: Record<string, any>): SwapEvent;
|
|
1794
|
-
static fromSuiParsedData(content: SuiParsedData): SwapEvent;
|
|
1795
|
-
static fetch(client: SuiClient, id: string): Promise<SwapEvent>;
|
|
1796
|
-
}
|
|
1797
|
-
export declare function isTokenPool(type: string): boolean;
|
|
1798
|
-
export interface TokenPoolFields {
|
|
1799
|
-
tokenType: ToField<TypeName>;
|
|
1800
|
-
config: ToField<Config>;
|
|
1801
|
-
state: ToField<State>;
|
|
1802
|
-
}
|
|
1803
|
-
export type TokenPoolReified = Reified<TokenPool, TokenPoolFields>;
|
|
1804
|
-
export declare class TokenPool implements StructClass {
|
|
1805
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::TokenPool";
|
|
1806
|
-
static readonly $numTypeParams = 0;
|
|
1807
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::TokenPool";
|
|
1808
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::TokenPool";
|
|
1809
|
-
readonly $typeArgs: [];
|
|
1810
|
-
readonly tokenType: ToField<TypeName>;
|
|
1811
|
-
readonly config: ToField<Config>;
|
|
1812
|
-
readonly state: ToField<State>;
|
|
1813
|
-
private constructor();
|
|
1814
|
-
static reified(): TokenPoolReified;
|
|
1815
|
-
static get r(): reified.StructClassReified<TokenPool, TokenPoolFields>;
|
|
1816
|
-
static phantom(): PhantomReified<ToTypeStr<TokenPool>>;
|
|
1817
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::TokenPool">;
|
|
1818
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
1819
|
-
token_type: {
|
|
1820
|
-
name: {
|
|
1821
|
-
bytes: number[];
|
|
1822
|
-
};
|
|
1823
|
-
};
|
|
1824
|
-
config: {
|
|
1825
|
-
oracle_id: string;
|
|
1826
|
-
liquidity_token_decimal: string;
|
|
1827
|
-
spot_config: {
|
|
1828
|
-
min_deposit: string;
|
|
1829
|
-
max_capacity: string;
|
|
1830
|
-
target_weight_bp: string;
|
|
1831
|
-
basic_mint_fee_bp: string;
|
|
1832
|
-
additional_mint_fee_bp: string;
|
|
1833
|
-
basic_burn_fee_bp: string;
|
|
1834
|
-
additional_burn_fee_bp: string;
|
|
1835
|
-
swap_fee_bp: string;
|
|
1836
|
-
swap_fee_protocol_share_bp: string;
|
|
1837
|
-
u64_padding: string[];
|
|
1838
|
-
};
|
|
1839
|
-
margin_config: {
|
|
1840
|
-
basic_borrow_rate_0: string;
|
|
1841
|
-
basic_borrow_rate_1: string;
|
|
1842
|
-
basic_borrow_rate_2: string;
|
|
1843
|
-
utilization_threshold_bp_0: string;
|
|
1844
|
-
utilization_threshold_bp_1: string;
|
|
1845
|
-
borrow_interval_ts_ms: string;
|
|
1846
|
-
max_order_reserve_ratio_bp: string;
|
|
1847
|
-
u64_padding: string[];
|
|
1848
|
-
};
|
|
1849
|
-
u64_padding: string[];
|
|
1850
|
-
};
|
|
1851
|
-
state: {
|
|
1852
|
-
liquidity_amount: string;
|
|
1853
|
-
value_in_usd: string;
|
|
1854
|
-
reserved_amount: string;
|
|
1855
|
-
update_ts_ms: string;
|
|
1856
|
-
is_active: boolean;
|
|
1857
|
-
last_borrow_rate_ts_ms: string;
|
|
1858
|
-
cumulative_borrow_rate: string;
|
|
1859
|
-
previous_last_borrow_rate_ts_ms: string;
|
|
1860
|
-
previous_cumulative_borrow_rate: string;
|
|
1861
|
-
u64_padding: string[];
|
|
1862
|
-
};
|
|
1863
|
-
}, {
|
|
1864
|
-
token_type: {
|
|
1865
|
-
name: {
|
|
1866
|
-
bytes: Iterable<number> & {
|
|
1867
|
-
length: number;
|
|
1868
|
-
};
|
|
1869
|
-
};
|
|
1870
|
-
};
|
|
1871
|
-
config: {
|
|
1872
|
-
oracle_id: string;
|
|
1873
|
-
liquidity_token_decimal: string | number | bigint;
|
|
1874
|
-
spot_config: {
|
|
1875
|
-
min_deposit: string | number | bigint;
|
|
1876
|
-
max_capacity: string | number | bigint;
|
|
1877
|
-
target_weight_bp: string | number | bigint;
|
|
1878
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
1879
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
1880
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
1881
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
1882
|
-
swap_fee_bp: string | number | bigint;
|
|
1883
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
1884
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1885
|
-
length: number;
|
|
1886
|
-
};
|
|
1887
|
-
};
|
|
1888
|
-
margin_config: {
|
|
1889
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
1890
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
1891
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
1892
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
1893
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
1894
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
1895
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
1896
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1897
|
-
length: number;
|
|
1898
|
-
};
|
|
1899
|
-
};
|
|
1900
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1901
|
-
length: number;
|
|
1902
|
-
};
|
|
1903
|
-
};
|
|
1904
|
-
state: {
|
|
1905
|
-
liquidity_amount: string | number | bigint;
|
|
1906
|
-
value_in_usd: string | number | bigint;
|
|
1907
|
-
reserved_amount: string | number | bigint;
|
|
1908
|
-
update_ts_ms: string | number | bigint;
|
|
1909
|
-
is_active: boolean;
|
|
1910
|
-
last_borrow_rate_ts_ms: string | number | bigint;
|
|
1911
|
-
cumulative_borrow_rate: string | number | bigint;
|
|
1912
|
-
previous_last_borrow_rate_ts_ms: string | number | bigint;
|
|
1913
|
-
previous_cumulative_borrow_rate: string | number | bigint;
|
|
1914
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
1915
|
-
length: number;
|
|
1916
|
-
};
|
|
1917
|
-
};
|
|
1918
|
-
}>;
|
|
1919
|
-
static fromFields(fields: Record<string, any>): TokenPool;
|
|
1920
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): TokenPool;
|
|
1921
|
-
static fromBcs(data: Uint8Array): TokenPool;
|
|
1922
|
-
toJSONField(): {
|
|
1923
|
-
tokenType: {
|
|
1924
|
-
name: string;
|
|
1925
|
-
};
|
|
1926
|
-
config: {
|
|
1927
|
-
oracleId: string;
|
|
1928
|
-
liquidityTokenDecimal: string;
|
|
1929
|
-
spotConfig: {
|
|
1930
|
-
minDeposit: string;
|
|
1931
|
-
maxCapacity: string;
|
|
1932
|
-
targetWeightBp: string;
|
|
1933
|
-
basicMintFeeBp: string;
|
|
1934
|
-
additionalMintFeeBp: string;
|
|
1935
|
-
basicBurnFeeBp: string;
|
|
1936
|
-
additionalBurnFeeBp: string;
|
|
1937
|
-
swapFeeBp: string;
|
|
1938
|
-
swapFeeProtocolShareBp: string;
|
|
1939
|
-
u64Padding: string[];
|
|
1940
|
-
};
|
|
1941
|
-
marginConfig: {
|
|
1942
|
-
basicBorrowRate0: string;
|
|
1943
|
-
basicBorrowRate1: string;
|
|
1944
|
-
basicBorrowRate2: string;
|
|
1945
|
-
utilizationThresholdBp0: string;
|
|
1946
|
-
utilizationThresholdBp1: string;
|
|
1947
|
-
borrowIntervalTsMs: string;
|
|
1948
|
-
maxOrderReserveRatioBp: string;
|
|
1949
|
-
u64Padding: string[];
|
|
1950
|
-
};
|
|
1951
|
-
u64Padding: string[];
|
|
1952
|
-
};
|
|
1953
|
-
state: {
|
|
1954
|
-
liquidityAmount: string;
|
|
1955
|
-
valueInUsd: string;
|
|
1956
|
-
reservedAmount: string;
|
|
1957
|
-
updateTsMs: string;
|
|
1958
|
-
isActive: boolean;
|
|
1959
|
-
lastBorrowRateTsMs: string;
|
|
1960
|
-
cumulativeBorrowRate: string;
|
|
1961
|
-
previousLastBorrowRateTsMs: string;
|
|
1962
|
-
previousCumulativeBorrowRate: string;
|
|
1963
|
-
u64Padding: string[];
|
|
1964
|
-
};
|
|
1965
|
-
};
|
|
1966
|
-
toJSON(): {
|
|
1967
|
-
tokenType: {
|
|
1968
|
-
name: string;
|
|
1969
|
-
};
|
|
1970
|
-
config: {
|
|
1971
|
-
oracleId: string;
|
|
1972
|
-
liquidityTokenDecimal: string;
|
|
1973
|
-
spotConfig: {
|
|
1974
|
-
minDeposit: string;
|
|
1975
|
-
maxCapacity: string;
|
|
1976
|
-
targetWeightBp: string;
|
|
1977
|
-
basicMintFeeBp: string;
|
|
1978
|
-
additionalMintFeeBp: string;
|
|
1979
|
-
basicBurnFeeBp: string;
|
|
1980
|
-
additionalBurnFeeBp: string;
|
|
1981
|
-
swapFeeBp: string;
|
|
1982
|
-
swapFeeProtocolShareBp: string;
|
|
1983
|
-
u64Padding: string[];
|
|
1984
|
-
};
|
|
1985
|
-
marginConfig: {
|
|
1986
|
-
basicBorrowRate0: string;
|
|
1987
|
-
basicBorrowRate1: string;
|
|
1988
|
-
basicBorrowRate2: string;
|
|
1989
|
-
utilizationThresholdBp0: string;
|
|
1990
|
-
utilizationThresholdBp1: string;
|
|
1991
|
-
borrowIntervalTsMs: string;
|
|
1992
|
-
maxOrderReserveRatioBp: string;
|
|
1993
|
-
u64Padding: string[];
|
|
1994
|
-
};
|
|
1995
|
-
u64Padding: string[];
|
|
1996
|
-
};
|
|
1997
|
-
state: {
|
|
1998
|
-
liquidityAmount: string;
|
|
1999
|
-
valueInUsd: string;
|
|
2000
|
-
reservedAmount: string;
|
|
2001
|
-
updateTsMs: string;
|
|
2002
|
-
isActive: boolean;
|
|
2003
|
-
lastBorrowRateTsMs: string;
|
|
2004
|
-
cumulativeBorrowRate: string;
|
|
2005
|
-
previousLastBorrowRateTsMs: string;
|
|
2006
|
-
previousCumulativeBorrowRate: string;
|
|
2007
|
-
u64Padding: string[];
|
|
2008
|
-
};
|
|
2009
|
-
$typeName: string;
|
|
2010
|
-
$typeArgs: [];
|
|
2011
|
-
};
|
|
2012
|
-
static fromJSONField(field: any): TokenPool;
|
|
2013
|
-
static fromJSON(json: Record<string, any>): TokenPool;
|
|
2014
|
-
static fromSuiParsedData(content: SuiParsedData): TokenPool;
|
|
2015
|
-
static fetch(client: SuiClient, id: string): Promise<TokenPool>;
|
|
2016
|
-
}
|
|
2017
|
-
export declare function isUpdateBorrowInfoEvent(type: string): boolean;
|
|
2018
|
-
export interface UpdateBorrowInfoEventFields {
|
|
2019
|
-
index: ToField<"u64">;
|
|
2020
|
-
liquidityTokenType: ToField<TypeName>;
|
|
2021
|
-
previousBorrowTsMs: ToField<"u64">;
|
|
2022
|
-
previousCumulativeBorrowRate: ToField<"u64">;
|
|
2023
|
-
borrowIntervalTsMs: ToField<"u64">;
|
|
2024
|
-
lastBorrowRateTsMs: ToField<"u64">;
|
|
2025
|
-
lastCumulativeBorrowRate: ToField<"u64">;
|
|
2026
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2027
|
-
}
|
|
2028
|
-
export type UpdateBorrowInfoEventReified = Reified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
|
|
2029
|
-
export declare class UpdateBorrowInfoEvent implements StructClass {
|
|
2030
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateBorrowInfoEvent";
|
|
2031
|
-
static readonly $numTypeParams = 0;
|
|
2032
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateBorrowInfoEvent";
|
|
2033
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateBorrowInfoEvent";
|
|
2034
|
-
readonly $typeArgs: [];
|
|
2035
|
-
readonly index: ToField<"u64">;
|
|
2036
|
-
readonly liquidityTokenType: ToField<TypeName>;
|
|
2037
|
-
readonly previousBorrowTsMs: ToField<"u64">;
|
|
2038
|
-
readonly previousCumulativeBorrowRate: ToField<"u64">;
|
|
2039
|
-
readonly borrowIntervalTsMs: ToField<"u64">;
|
|
2040
|
-
readonly lastBorrowRateTsMs: ToField<"u64">;
|
|
2041
|
-
readonly lastCumulativeBorrowRate: ToField<"u64">;
|
|
2042
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2043
|
-
private constructor();
|
|
2044
|
-
static reified(): UpdateBorrowInfoEventReified;
|
|
2045
|
-
static get r(): reified.StructClassReified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
|
|
2046
|
-
static phantom(): PhantomReified<ToTypeStr<UpdateBorrowInfoEvent>>;
|
|
2047
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateBorrowInfoEvent">;
|
|
2048
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2049
|
-
index: string;
|
|
2050
|
-
liquidity_token_type: {
|
|
2051
|
-
name: {
|
|
2052
|
-
bytes: number[];
|
|
2053
|
-
};
|
|
2054
|
-
};
|
|
2055
|
-
previous_borrow_ts_ms: string;
|
|
2056
|
-
previous_cumulative_borrow_rate: string;
|
|
2057
|
-
borrow_interval_ts_ms: string;
|
|
2058
|
-
last_borrow_rate_ts_ms: string;
|
|
2059
|
-
last_cumulative_borrow_rate: string;
|
|
2060
|
-
u64_padding: string[];
|
|
2061
|
-
}, {
|
|
2062
|
-
index: string | number | bigint;
|
|
2063
|
-
liquidity_token_type: {
|
|
2064
|
-
name: {
|
|
2065
|
-
bytes: Iterable<number> & {
|
|
2066
|
-
length: number;
|
|
2067
|
-
};
|
|
2068
|
-
};
|
|
2069
|
-
};
|
|
2070
|
-
previous_borrow_ts_ms: string | number | bigint;
|
|
2071
|
-
previous_cumulative_borrow_rate: string | number | bigint;
|
|
2072
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
2073
|
-
last_borrow_rate_ts_ms: string | number | bigint;
|
|
2074
|
-
last_cumulative_borrow_rate: string | number | bigint;
|
|
2075
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2076
|
-
length: number;
|
|
2077
|
-
};
|
|
2078
|
-
}>;
|
|
2079
|
-
static fromFields(fields: Record<string, any>): UpdateBorrowInfoEvent;
|
|
2080
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateBorrowInfoEvent;
|
|
2081
|
-
static fromBcs(data: Uint8Array): UpdateBorrowInfoEvent;
|
|
2082
|
-
toJSONField(): {
|
|
2083
|
-
index: string;
|
|
2084
|
-
liquidityTokenType: {
|
|
2085
|
-
name: string;
|
|
2086
|
-
};
|
|
2087
|
-
previousBorrowTsMs: string;
|
|
2088
|
-
previousCumulativeBorrowRate: string;
|
|
2089
|
-
borrowIntervalTsMs: string;
|
|
2090
|
-
lastBorrowRateTsMs: string;
|
|
2091
|
-
lastCumulativeBorrowRate: string;
|
|
2092
|
-
u64Padding: string[];
|
|
2093
|
-
};
|
|
2094
|
-
toJSON(): {
|
|
2095
|
-
index: string;
|
|
2096
|
-
liquidityTokenType: {
|
|
2097
|
-
name: string;
|
|
2098
|
-
};
|
|
2099
|
-
previousBorrowTsMs: string;
|
|
2100
|
-
previousCumulativeBorrowRate: string;
|
|
2101
|
-
borrowIntervalTsMs: string;
|
|
2102
|
-
lastBorrowRateTsMs: string;
|
|
2103
|
-
lastCumulativeBorrowRate: string;
|
|
2104
|
-
u64Padding: string[];
|
|
2105
|
-
$typeName: string;
|
|
2106
|
-
$typeArgs: [];
|
|
2107
|
-
};
|
|
2108
|
-
static fromJSONField(field: any): UpdateBorrowInfoEvent;
|
|
2109
|
-
static fromJSON(json: Record<string, any>): UpdateBorrowInfoEvent;
|
|
2110
|
-
static fromSuiParsedData(content: SuiParsedData): UpdateBorrowInfoEvent;
|
|
2111
|
-
static fetch(client: SuiClient, id: string): Promise<UpdateBorrowInfoEvent>;
|
|
2112
|
-
}
|
|
2113
|
-
export declare function isUpdateLiquidityValueEvent(type: string): boolean;
|
|
2114
|
-
export interface UpdateLiquidityValueEventFields {
|
|
2115
|
-
sender: ToField<"address">;
|
|
2116
|
-
index: ToField<"u64">;
|
|
2117
|
-
liquidityToken: ToField<TypeName>;
|
|
2118
|
-
price: ToField<"u64">;
|
|
2119
|
-
valueInUsd: ToField<"u64">;
|
|
2120
|
-
lpPoolTvlUsd: ToField<"u64">;
|
|
2121
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2122
|
-
}
|
|
2123
|
-
export type UpdateLiquidityValueEventReified = Reified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
|
|
2124
|
-
export declare class UpdateLiquidityValueEvent implements StructClass {
|
|
2125
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateLiquidityValueEvent";
|
|
2126
|
-
static readonly $numTypeParams = 0;
|
|
2127
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateLiquidityValueEvent";
|
|
2128
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateLiquidityValueEvent";
|
|
2129
|
-
readonly $typeArgs: [];
|
|
2130
|
-
readonly sender: ToField<"address">;
|
|
2131
|
-
readonly index: ToField<"u64">;
|
|
2132
|
-
readonly liquidityToken: ToField<TypeName>;
|
|
2133
|
-
readonly price: ToField<"u64">;
|
|
2134
|
-
readonly valueInUsd: ToField<"u64">;
|
|
2135
|
-
readonly lpPoolTvlUsd: ToField<"u64">;
|
|
2136
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2137
|
-
private constructor();
|
|
2138
|
-
static reified(): UpdateLiquidityValueEventReified;
|
|
2139
|
-
static get r(): reified.StructClassReified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
|
|
2140
|
-
static phantom(): PhantomReified<ToTypeStr<UpdateLiquidityValueEvent>>;
|
|
2141
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateLiquidityValueEvent">;
|
|
2142
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2143
|
-
sender: string;
|
|
2144
|
-
index: string;
|
|
2145
|
-
liquidity_token: {
|
|
2146
|
-
name: {
|
|
2147
|
-
bytes: number[];
|
|
2148
|
-
};
|
|
2149
|
-
};
|
|
2150
|
-
price: string;
|
|
2151
|
-
value_in_usd: string;
|
|
2152
|
-
lp_pool_tvl_usd: string;
|
|
2153
|
-
u64_padding: string[];
|
|
2154
|
-
}, {
|
|
2155
|
-
sender: string;
|
|
2156
|
-
index: string | number | bigint;
|
|
2157
|
-
liquidity_token: {
|
|
2158
|
-
name: {
|
|
2159
|
-
bytes: Iterable<number> & {
|
|
2160
|
-
length: number;
|
|
2161
|
-
};
|
|
2162
|
-
};
|
|
2163
|
-
};
|
|
2164
|
-
price: string | number | bigint;
|
|
2165
|
-
value_in_usd: string | number | bigint;
|
|
2166
|
-
lp_pool_tvl_usd: string | number | bigint;
|
|
2167
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2168
|
-
length: number;
|
|
2169
|
-
};
|
|
2170
|
-
}>;
|
|
2171
|
-
static fromFields(fields: Record<string, any>): UpdateLiquidityValueEvent;
|
|
2172
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateLiquidityValueEvent;
|
|
2173
|
-
static fromBcs(data: Uint8Array): UpdateLiquidityValueEvent;
|
|
2174
|
-
toJSONField(): {
|
|
2175
|
-
sender: string;
|
|
2176
|
-
index: string;
|
|
2177
|
-
liquidityToken: {
|
|
2178
|
-
name: string;
|
|
2179
|
-
};
|
|
2180
|
-
price: string;
|
|
2181
|
-
valueInUsd: string;
|
|
2182
|
-
lpPoolTvlUsd: string;
|
|
2183
|
-
u64Padding: string[];
|
|
2184
|
-
};
|
|
2185
|
-
toJSON(): {
|
|
2186
|
-
sender: string;
|
|
2187
|
-
index: string;
|
|
2188
|
-
liquidityToken: {
|
|
2189
|
-
name: string;
|
|
2190
|
-
};
|
|
2191
|
-
price: string;
|
|
2192
|
-
valueInUsd: string;
|
|
2193
|
-
lpPoolTvlUsd: string;
|
|
2194
|
-
u64Padding: string[];
|
|
2195
|
-
$typeName: string;
|
|
2196
|
-
$typeArgs: [];
|
|
2197
|
-
};
|
|
2198
|
-
static fromJSONField(field: any): UpdateLiquidityValueEvent;
|
|
2199
|
-
static fromJSON(json: Record<string, any>): UpdateLiquidityValueEvent;
|
|
2200
|
-
static fromSuiParsedData(content: SuiParsedData): UpdateLiquidityValueEvent;
|
|
2201
|
-
static fetch(client: SuiClient, id: string): Promise<UpdateLiquidityValueEvent>;
|
|
2202
|
-
}
|
|
2203
|
-
export declare function isUpdateMarginConfigEvent(type: string): boolean;
|
|
2204
|
-
export interface UpdateMarginConfigEventFields {
|
|
2205
|
-
sender: ToField<"address">;
|
|
2206
|
-
index: ToField<"u64">;
|
|
2207
|
-
liquidityTokenType: ToField<TypeName>;
|
|
2208
|
-
previousMarginConfig: ToField<MarginConfig>;
|
|
2209
|
-
newMarginConfig: ToField<MarginConfig>;
|
|
2210
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2211
|
-
}
|
|
2212
|
-
export type UpdateMarginConfigEventReified = Reified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
|
|
2213
|
-
export declare class UpdateMarginConfigEvent implements StructClass {
|
|
2214
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateMarginConfigEvent";
|
|
2215
|
-
static readonly $numTypeParams = 0;
|
|
2216
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateMarginConfigEvent";
|
|
2217
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateMarginConfigEvent";
|
|
2218
|
-
readonly $typeArgs: [];
|
|
2219
|
-
readonly sender: ToField<"address">;
|
|
2220
|
-
readonly index: ToField<"u64">;
|
|
2221
|
-
readonly liquidityTokenType: ToField<TypeName>;
|
|
2222
|
-
readonly previousMarginConfig: ToField<MarginConfig>;
|
|
2223
|
-
readonly newMarginConfig: ToField<MarginConfig>;
|
|
2224
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2225
|
-
private constructor();
|
|
2226
|
-
static reified(): UpdateMarginConfigEventReified;
|
|
2227
|
-
static get r(): reified.StructClassReified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
|
|
2228
|
-
static phantom(): PhantomReified<ToTypeStr<UpdateMarginConfigEvent>>;
|
|
2229
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateMarginConfigEvent">;
|
|
2230
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2231
|
-
sender: string;
|
|
2232
|
-
index: string;
|
|
2233
|
-
liquidity_token_type: {
|
|
2234
|
-
name: {
|
|
2235
|
-
bytes: number[];
|
|
2236
|
-
};
|
|
2237
|
-
};
|
|
2238
|
-
previous_margin_config: {
|
|
2239
|
-
basic_borrow_rate_0: string;
|
|
2240
|
-
basic_borrow_rate_1: string;
|
|
2241
|
-
basic_borrow_rate_2: string;
|
|
2242
|
-
utilization_threshold_bp_0: string;
|
|
2243
|
-
utilization_threshold_bp_1: string;
|
|
2244
|
-
borrow_interval_ts_ms: string;
|
|
2245
|
-
max_order_reserve_ratio_bp: string;
|
|
2246
|
-
u64_padding: string[];
|
|
2247
|
-
};
|
|
2248
|
-
new_margin_config: {
|
|
2249
|
-
basic_borrow_rate_0: string;
|
|
2250
|
-
basic_borrow_rate_1: string;
|
|
2251
|
-
basic_borrow_rate_2: string;
|
|
2252
|
-
utilization_threshold_bp_0: string;
|
|
2253
|
-
utilization_threshold_bp_1: string;
|
|
2254
|
-
borrow_interval_ts_ms: string;
|
|
2255
|
-
max_order_reserve_ratio_bp: string;
|
|
2256
|
-
u64_padding: string[];
|
|
2257
|
-
};
|
|
2258
|
-
u64_padding: string[];
|
|
2259
|
-
}, {
|
|
2260
|
-
sender: string;
|
|
2261
|
-
index: string | number | bigint;
|
|
2262
|
-
liquidity_token_type: {
|
|
2263
|
-
name: {
|
|
2264
|
-
bytes: Iterable<number> & {
|
|
2265
|
-
length: number;
|
|
2266
|
-
};
|
|
2267
|
-
};
|
|
2268
|
-
};
|
|
2269
|
-
previous_margin_config: {
|
|
2270
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
2271
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
2272
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
2273
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
2274
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
2275
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
2276
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
2277
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2278
|
-
length: number;
|
|
2279
|
-
};
|
|
2280
|
-
};
|
|
2281
|
-
new_margin_config: {
|
|
2282
|
-
basic_borrow_rate_0: string | number | bigint;
|
|
2283
|
-
basic_borrow_rate_1: string | number | bigint;
|
|
2284
|
-
basic_borrow_rate_2: string | number | bigint;
|
|
2285
|
-
utilization_threshold_bp_0: string | number | bigint;
|
|
2286
|
-
utilization_threshold_bp_1: string | number | bigint;
|
|
2287
|
-
borrow_interval_ts_ms: string | number | bigint;
|
|
2288
|
-
max_order_reserve_ratio_bp: string | number | bigint;
|
|
2289
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2290
|
-
length: number;
|
|
2291
|
-
};
|
|
2292
|
-
};
|
|
2293
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2294
|
-
length: number;
|
|
2295
|
-
};
|
|
2296
|
-
}>;
|
|
2297
|
-
static fromFields(fields: Record<string, any>): UpdateMarginConfigEvent;
|
|
2298
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateMarginConfigEvent;
|
|
2299
|
-
static fromBcs(data: Uint8Array): UpdateMarginConfigEvent;
|
|
2300
|
-
toJSONField(): {
|
|
2301
|
-
sender: string;
|
|
2302
|
-
index: string;
|
|
2303
|
-
liquidityTokenType: {
|
|
2304
|
-
name: string;
|
|
2305
|
-
};
|
|
2306
|
-
previousMarginConfig: {
|
|
2307
|
-
basicBorrowRate0: string;
|
|
2308
|
-
basicBorrowRate1: string;
|
|
2309
|
-
basicBorrowRate2: string;
|
|
2310
|
-
utilizationThresholdBp0: string;
|
|
2311
|
-
utilizationThresholdBp1: string;
|
|
2312
|
-
borrowIntervalTsMs: string;
|
|
2313
|
-
maxOrderReserveRatioBp: string;
|
|
2314
|
-
u64Padding: string[];
|
|
2315
|
-
};
|
|
2316
|
-
newMarginConfig: {
|
|
2317
|
-
basicBorrowRate0: string;
|
|
2318
|
-
basicBorrowRate1: string;
|
|
2319
|
-
basicBorrowRate2: string;
|
|
2320
|
-
utilizationThresholdBp0: string;
|
|
2321
|
-
utilizationThresholdBp1: string;
|
|
2322
|
-
borrowIntervalTsMs: string;
|
|
2323
|
-
maxOrderReserveRatioBp: string;
|
|
2324
|
-
u64Padding: string[];
|
|
2325
|
-
};
|
|
2326
|
-
u64Padding: string[];
|
|
2327
|
-
};
|
|
2328
|
-
toJSON(): {
|
|
2329
|
-
sender: string;
|
|
2330
|
-
index: string;
|
|
2331
|
-
liquidityTokenType: {
|
|
2332
|
-
name: string;
|
|
2333
|
-
};
|
|
2334
|
-
previousMarginConfig: {
|
|
2335
|
-
basicBorrowRate0: string;
|
|
2336
|
-
basicBorrowRate1: string;
|
|
2337
|
-
basicBorrowRate2: string;
|
|
2338
|
-
utilizationThresholdBp0: string;
|
|
2339
|
-
utilizationThresholdBp1: string;
|
|
2340
|
-
borrowIntervalTsMs: string;
|
|
2341
|
-
maxOrderReserveRatioBp: string;
|
|
2342
|
-
u64Padding: string[];
|
|
2343
|
-
};
|
|
2344
|
-
newMarginConfig: {
|
|
2345
|
-
basicBorrowRate0: string;
|
|
2346
|
-
basicBorrowRate1: string;
|
|
2347
|
-
basicBorrowRate2: string;
|
|
2348
|
-
utilizationThresholdBp0: string;
|
|
2349
|
-
utilizationThresholdBp1: string;
|
|
2350
|
-
borrowIntervalTsMs: string;
|
|
2351
|
-
maxOrderReserveRatioBp: string;
|
|
2352
|
-
u64Padding: string[];
|
|
2353
|
-
};
|
|
2354
|
-
u64Padding: string[];
|
|
2355
|
-
$typeName: string;
|
|
2356
|
-
$typeArgs: [];
|
|
2357
|
-
};
|
|
2358
|
-
static fromJSONField(field: any): UpdateMarginConfigEvent;
|
|
2359
|
-
static fromJSON(json: Record<string, any>): UpdateMarginConfigEvent;
|
|
2360
|
-
static fromSuiParsedData(content: SuiParsedData): UpdateMarginConfigEvent;
|
|
2361
|
-
static fetch(client: SuiClient, id: string): Promise<UpdateMarginConfigEvent>;
|
|
2362
|
-
}
|
|
2363
|
-
export declare function isUpdateSpotConfigEvent(type: string): boolean;
|
|
2364
|
-
export interface UpdateSpotConfigEventFields {
|
|
2365
|
-
sender: ToField<"address">;
|
|
2366
|
-
index: ToField<"u64">;
|
|
2367
|
-
liquidityTokenType: ToField<TypeName>;
|
|
2368
|
-
previousSpotConfig: ToField<SpotConfig>;
|
|
2369
|
-
newSpotConfig: ToField<SpotConfig>;
|
|
2370
|
-
u64Padding: ToField<Vector<"u64">>;
|
|
2371
|
-
}
|
|
2372
|
-
export type UpdateSpotConfigEventReified = Reified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
|
|
2373
|
-
export declare class UpdateSpotConfigEvent implements StructClass {
|
|
2374
|
-
static readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateSpotConfigEvent";
|
|
2375
|
-
static readonly $numTypeParams = 0;
|
|
2376
|
-
readonly $typeName = "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateSpotConfigEvent";
|
|
2377
|
-
readonly $fullTypeName: "0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateSpotConfigEvent";
|
|
2378
|
-
readonly $typeArgs: [];
|
|
2379
|
-
readonly sender: ToField<"address">;
|
|
2380
|
-
readonly index: ToField<"u64">;
|
|
2381
|
-
readonly liquidityTokenType: ToField<TypeName>;
|
|
2382
|
-
readonly previousSpotConfig: ToField<SpotConfig>;
|
|
2383
|
-
readonly newSpotConfig: ToField<SpotConfig>;
|
|
2384
|
-
readonly u64Padding: ToField<Vector<"u64">>;
|
|
2385
|
-
private constructor();
|
|
2386
|
-
static reified(): UpdateSpotConfigEventReified;
|
|
2387
|
-
static get r(): reified.StructClassReified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
|
|
2388
|
-
static phantom(): PhantomReified<ToTypeStr<UpdateSpotConfigEvent>>;
|
|
2389
|
-
static get p(): reified.PhantomReified<"0x4bcf9eade4480bcb9fcd3139ec8d22afda34b25af06092904fcccb06e1b8043c::lp_pool::UpdateSpotConfigEvent">;
|
|
2390
|
-
static get bcs(): import("@mysten/bcs").BcsType<{
|
|
2391
|
-
sender: string;
|
|
2392
|
-
index: string;
|
|
2393
|
-
liquidity_token_type: {
|
|
2394
|
-
name: {
|
|
2395
|
-
bytes: number[];
|
|
2396
|
-
};
|
|
2397
|
-
};
|
|
2398
|
-
previous_spot_config: {
|
|
2399
|
-
min_deposit: string;
|
|
2400
|
-
max_capacity: string;
|
|
2401
|
-
target_weight_bp: string;
|
|
2402
|
-
basic_mint_fee_bp: string;
|
|
2403
|
-
additional_mint_fee_bp: string;
|
|
2404
|
-
basic_burn_fee_bp: string;
|
|
2405
|
-
additional_burn_fee_bp: string;
|
|
2406
|
-
swap_fee_bp: string;
|
|
2407
|
-
swap_fee_protocol_share_bp: string;
|
|
2408
|
-
u64_padding: string[];
|
|
2409
|
-
};
|
|
2410
|
-
new_spot_config: {
|
|
2411
|
-
min_deposit: string;
|
|
2412
|
-
max_capacity: string;
|
|
2413
|
-
target_weight_bp: string;
|
|
2414
|
-
basic_mint_fee_bp: string;
|
|
2415
|
-
additional_mint_fee_bp: string;
|
|
2416
|
-
basic_burn_fee_bp: string;
|
|
2417
|
-
additional_burn_fee_bp: string;
|
|
2418
|
-
swap_fee_bp: string;
|
|
2419
|
-
swap_fee_protocol_share_bp: string;
|
|
2420
|
-
u64_padding: string[];
|
|
2421
|
-
};
|
|
2422
|
-
u64_padding: string[];
|
|
2423
|
-
}, {
|
|
2424
|
-
sender: string;
|
|
2425
|
-
index: string | number | bigint;
|
|
2426
|
-
liquidity_token_type: {
|
|
2427
|
-
name: {
|
|
2428
|
-
bytes: Iterable<number> & {
|
|
2429
|
-
length: number;
|
|
2430
|
-
};
|
|
2431
|
-
};
|
|
2432
|
-
};
|
|
2433
|
-
previous_spot_config: {
|
|
2434
|
-
min_deposit: string | number | bigint;
|
|
2435
|
-
max_capacity: string | number | bigint;
|
|
2436
|
-
target_weight_bp: string | number | bigint;
|
|
2437
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
2438
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
2439
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
2440
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
2441
|
-
swap_fee_bp: string | number | bigint;
|
|
2442
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
2443
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2444
|
-
length: number;
|
|
2445
|
-
};
|
|
2446
|
-
};
|
|
2447
|
-
new_spot_config: {
|
|
2448
|
-
min_deposit: string | number | bigint;
|
|
2449
|
-
max_capacity: string | number | bigint;
|
|
2450
|
-
target_weight_bp: string | number | bigint;
|
|
2451
|
-
basic_mint_fee_bp: string | number | bigint;
|
|
2452
|
-
additional_mint_fee_bp: string | number | bigint;
|
|
2453
|
-
basic_burn_fee_bp: string | number | bigint;
|
|
2454
|
-
additional_burn_fee_bp: string | number | bigint;
|
|
2455
|
-
swap_fee_bp: string | number | bigint;
|
|
2456
|
-
swap_fee_protocol_share_bp: string | number | bigint;
|
|
2457
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2458
|
-
length: number;
|
|
2459
|
-
};
|
|
2460
|
-
};
|
|
2461
|
-
u64_padding: Iterable<string | number | bigint> & {
|
|
2462
|
-
length: number;
|
|
2463
|
-
};
|
|
2464
|
-
}>;
|
|
2465
|
-
static fromFields(fields: Record<string, any>): UpdateSpotConfigEvent;
|
|
2466
|
-
static fromFieldsWithTypes(item: FieldsWithTypes): UpdateSpotConfigEvent;
|
|
2467
|
-
static fromBcs(data: Uint8Array): UpdateSpotConfigEvent;
|
|
2468
|
-
toJSONField(): {
|
|
2469
|
-
sender: string;
|
|
2470
|
-
index: string;
|
|
2471
|
-
liquidityTokenType: {
|
|
2472
|
-
name: string;
|
|
2473
|
-
};
|
|
2474
|
-
previousSpotConfig: {
|
|
2475
|
-
minDeposit: string;
|
|
2476
|
-
maxCapacity: string;
|
|
2477
|
-
targetWeightBp: string;
|
|
2478
|
-
basicMintFeeBp: string;
|
|
2479
|
-
additionalMintFeeBp: string;
|
|
2480
|
-
basicBurnFeeBp: string;
|
|
2481
|
-
additionalBurnFeeBp: string;
|
|
2482
|
-
swapFeeBp: string;
|
|
2483
|
-
swapFeeProtocolShareBp: string;
|
|
2484
|
-
u64Padding: string[];
|
|
2485
|
-
};
|
|
2486
|
-
newSpotConfig: {
|
|
2487
|
-
minDeposit: string;
|
|
2488
|
-
maxCapacity: string;
|
|
2489
|
-
targetWeightBp: string;
|
|
2490
|
-
basicMintFeeBp: string;
|
|
2491
|
-
additionalMintFeeBp: string;
|
|
2492
|
-
basicBurnFeeBp: string;
|
|
2493
|
-
additionalBurnFeeBp: string;
|
|
2494
|
-
swapFeeBp: string;
|
|
2495
|
-
swapFeeProtocolShareBp: string;
|
|
2496
|
-
u64Padding: string[];
|
|
2497
|
-
};
|
|
2498
|
-
u64Padding: string[];
|
|
2499
|
-
};
|
|
2500
|
-
toJSON(): {
|
|
2501
|
-
sender: string;
|
|
2502
|
-
index: string;
|
|
2503
|
-
liquidityTokenType: {
|
|
2504
|
-
name: string;
|
|
2505
|
-
};
|
|
2506
|
-
previousSpotConfig: {
|
|
2507
|
-
minDeposit: string;
|
|
2508
|
-
maxCapacity: string;
|
|
2509
|
-
targetWeightBp: string;
|
|
2510
|
-
basicMintFeeBp: string;
|
|
2511
|
-
additionalMintFeeBp: string;
|
|
2512
|
-
basicBurnFeeBp: string;
|
|
2513
|
-
additionalBurnFeeBp: string;
|
|
2514
|
-
swapFeeBp: string;
|
|
2515
|
-
swapFeeProtocolShareBp: string;
|
|
2516
|
-
u64Padding: string[];
|
|
2517
|
-
};
|
|
2518
|
-
newSpotConfig: {
|
|
2519
|
-
minDeposit: string;
|
|
2520
|
-
maxCapacity: string;
|
|
2521
|
-
targetWeightBp: string;
|
|
2522
|
-
basicMintFeeBp: string;
|
|
2523
|
-
additionalMintFeeBp: string;
|
|
2524
|
-
basicBurnFeeBp: string;
|
|
2525
|
-
additionalBurnFeeBp: string;
|
|
2526
|
-
swapFeeBp: string;
|
|
2527
|
-
swapFeeProtocolShareBp: string;
|
|
2528
|
-
u64Padding: string[];
|
|
2529
|
-
};
|
|
2530
|
-
u64Padding: string[];
|
|
2531
|
-
$typeName: string;
|
|
2532
|
-
$typeArgs: [];
|
|
2533
|
-
};
|
|
2534
|
-
static fromJSONField(field: any): UpdateSpotConfigEvent;
|
|
2535
|
-
static fromJSON(json: Record<string, any>): UpdateSpotConfigEvent;
|
|
2536
|
-
static fromSuiParsedData(content: SuiParsedData): UpdateSpotConfigEvent;
|
|
2537
|
-
static fetch(client: SuiClient, id: string): Promise<UpdateSpotConfigEvent>;
|
|
2538
|
-
}
|