@typus/typus-perp-sdk 1.0.0 → 1.0.3
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/dist/src/_framework/init-loader.js +4 -32
- package/dist/src/fetch.d.ts +10 -4
- package/dist/src/fetch.js +122 -110
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.js +0 -2
- package/dist/src/typus_perp/admin/structs.d.ts +66 -4
- package/dist/src/typus_perp/admin/structs.js +155 -1
- package/dist/src/typus_perp/error/functions.d.ts +4 -0
- package/dist/src/typus_perp/error/functions.js +16 -0
- package/dist/src/typus_perp/escrow/structs.d.ts +1 -1
- package/dist/src/typus_perp/index.js +4 -4
- package/dist/src/typus_perp/init.js +2 -2
- package/dist/src/typus_perp/lp-pool/structs.d.ts +26 -26
- package/dist/src/typus_perp/oracle/structs.d.ts +2 -2
- package/dist/src/typus_perp/position/functions.d.ts +3 -0
- package/dist/src/typus_perp/position/functions.js +7 -1
- package/dist/src/typus_perp/position/structs.d.ts +42 -164
- package/dist/src/typus_perp/position/structs.js +31 -209
- package/dist/src/typus_perp/symbol/structs.d.ts +1 -1
- package/dist/src/typus_perp/tlp/structs.d.ts +2 -2
- package/dist/src/typus_perp/trading/structs.d.ts +179 -139
- package/dist/src/typus_perp/trading/structs.js +227 -173
- package/dist/src/typus_perp/treasury-caps/structs.d.ts +1 -1
- package/dist/src/typus_stake_pool/admin/structs.d.ts +4 -4
- package/dist/src/typus_stake_pool/index.js +4 -4
- package/dist/src/typus_stake_pool/init.js +2 -2
- package/dist/src/typus_stake_pool/stake-pool/functions.d.ts +16 -16
- package/dist/src/typus_stake_pool/stake-pool/functions.js +28 -28
- package/dist/src/typus_stake_pool/stake-pool/structs.d.ts +202 -202
- package/dist/src/typus_stake_pool/stake-pool/structs.js +404 -404
- package/dist/src/user/history.js +98 -18
- package/dist/src/user/order.js +6 -0
- package/dist/src/user/orderWithBidReceipt.d.ts +2 -4
- package/dist/src/user/orderWithBidReceipt.js +3 -14
- package/package.json +2 -1
- package/dist/src/_dependencies/source/0x1/bit-vector/structs.d.ts +0 -56
- package/dist/src/_dependencies/source/0x1/bit-vector/structs.js +0 -268
- package/dist/src/_dependencies/source/0x1/fixed-point32/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0x1/fixed-point32/structs.js +0 -222
- package/dist/src/_dependencies/source/0x1/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x1/init.js +0 -55
- package/dist/src/_dependencies/source/0x1/uq32-32/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0x1/uq32-32/structs.js +0 -222
- package/dist/src/_dependencies/source/0x1/uq64-64/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0x1/uq64-64/structs.js +0 -222
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.d.ts +0 -5
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/index.js +0 -8
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/init.js +0 -50
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.d.ts +0 -350
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/oracle/structs.js +0 -794
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.d.ts +0 -111
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/pyth-parser/structs.js +0 -389
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.d.ts +0 -70
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/supra/structs.js +0 -252
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.d.ts +0 -70
- package/dist/src/_dependencies/source/0x1d17058789bd1e1e79f1a92424519a88146f191f58a06cc4d9ab23d17d46ab73/switchboard-feed-parser/structs.js +0 -252
- package/dist/src/_dependencies/source/0x2/authenticator-state/structs.d.ts +0 -464
- package/dist/src/_dependencies/source/0x2/authenticator-state/structs.js +0 -904
- package/dist/src/_dependencies/source/0x2/bag/structs.d.ts +0 -61
- package/dist/src/_dependencies/source/0x2/bag/structs.js +0 -229
- package/dist/src/_dependencies/source/0x2/balance/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0x2/balance/structs.js +0 -386
- package/dist/src/_dependencies/source/0x2/bcs/structs.d.ts +0 -50
- package/dist/src/_dependencies/source/0x2/bcs/structs.js +0 -256
- package/dist/src/_dependencies/source/0x2/bls12381/structs.d.ts +0 -214
- package/dist/src/_dependencies/source/0x2/bls12381/structs.js +0 -790
- package/dist/src/_dependencies/source/0x2/borrow/structs.d.ts +0 -113
- package/dist/src/_dependencies/source/0x2/borrow/structs.js +0 -398
- package/dist/src/_dependencies/source/0x2/clock/structs.d.ts +0 -61
- package/dist/src/_dependencies/source/0x2/clock/structs.js +0 -235
- package/dist/src/_dependencies/source/0x2/coin/structs.d.ts +0 -460
- package/dist/src/_dependencies/source/0x2/coin/structs.js +0 -1247
- package/dist/src/_dependencies/source/0x2/config/structs.d.ts +0 -179
- package/dist/src/_dependencies/source/0x2/config/structs.js +0 -567
- package/dist/src/_dependencies/source/0x2/deny-list/structs.d.ts +0 -430
- package/dist/src/_dependencies/source/0x2/deny-list/structs.js +0 -1166
- package/dist/src/_dependencies/source/0x2/display/structs.d.ts +0 -241
- package/dist/src/_dependencies/source/0x2/display/structs.js +0 -578
- package/dist/src/_dependencies/source/0x2/dynamic-field/structs.d.ts +0 -68
- package/dist/src/_dependencies/source/0x2/dynamic-field/structs.js +0 -256
- package/dist/src/_dependencies/source/0x2/dynamic-object-field/structs.d.ts +0 -47
- package/dist/src/_dependencies/source/0x2/dynamic-object-field/structs.js +0 -236
- package/dist/src/_dependencies/source/0x2/groth16/structs.d.ts +0 -204
- package/dist/src/_dependencies/source/0x2/groth16/structs.js +0 -706
- package/dist/src/_dependencies/source/0x2/group-ops/structs.d.ts +0 -50
- package/dist/src/_dependencies/source/0x2/group-ops/structs.js +0 -267
- package/dist/src/_dependencies/source/0x2/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x2/init.js +0 -171
- package/dist/src/_dependencies/source/0x2/kiosk/structs.d.ts +0 -606
- package/dist/src/_dependencies/source/0x2/kiosk/structs.js +0 -1719
- package/dist/src/_dependencies/source/0x2/kiosk-extension/structs.d.ts +0 -121
- package/dist/src/_dependencies/source/0x2/kiosk-extension/structs.js +0 -394
- package/dist/src/_dependencies/source/0x2/linked-table/structs.d.ts +0 -153
- package/dist/src/_dependencies/source/0x2/linked-table/structs.js +0 -438
- package/dist/src/_dependencies/source/0x2/object-bag/structs.d.ts +0 -61
- package/dist/src/_dependencies/source/0x2/object-bag/structs.js +0 -229
- package/dist/src/_dependencies/source/0x2/package/structs.d.ts +0 -280
- package/dist/src/_dependencies/source/0x2/package/structs.js +0 -762
- package/dist/src/_dependencies/source/0x2/priority-queue/structs.d.ts +0 -111
- package/dist/src/_dependencies/source/0x2/priority-queue/structs.js +0 -440
- package/dist/src/_dependencies/source/0x2/random/structs.d.ts +0 -204
- package/dist/src/_dependencies/source/0x2/random/structs.js +0 -596
- package/dist/src/_dependencies/source/0x2/sui/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0x2/sui/structs.js +0 -222
- package/dist/src/_dependencies/source/0x2/table/structs.d.ts +0 -61
- package/dist/src/_dependencies/source/0x2/table/structs.js +0 -248
- package/dist/src/_dependencies/source/0x2/table-vec/structs.d.ts +0 -68
- package/dist/src/_dependencies/source/0x2/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0x2/token/structs.d.ts +0 -449
- package/dist/src/_dependencies/source/0x2/token/structs.js +0 -1095
- package/dist/src/_dependencies/source/0x2/transfer/structs.d.ts +0 -57
- package/dist/src/_dependencies/source/0x2/transfer/structs.js +0 -246
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.d.ts +0 -370
- package/dist/src/_dependencies/source/0x2/transfer-policy/structs.js +0 -1091
- package/dist/src/_dependencies/source/0x2/tx-context/structs.d.ts +0 -74
- package/dist/src/_dependencies/source/0x2/tx-context/structs.js +0 -286
- package/dist/src/_dependencies/source/0x2/url/structs.d.ts +0 -53
- package/dist/src/_dependencies/source/0x2/url/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2/versioned/structs.d.ts +0 -113
- package/dist/src/_dependencies/source/0x2/versioned/structs.js +0 -389
- package/dist/src/_dependencies/source/0x2/zklogin-verified-id/structs.d.ts +0 -110
- package/dist/src/_dependencies/source/0x2/zklogin-verified-id/structs.js +0 -260
- package/dist/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.d.ts +0 -74
- package/dist/src/_dependencies/source/0x2/zklogin-verified-issuer/structs.js +0 -242
- package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/index.js +0 -6
- package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/init.js +0 -40
- package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.d.ts +0 -55
- package/dist/src/_dependencies/source/0x277f90d256d1015a78cad646db091bec451c5bbab834b9fb70bace7885b5c698/validator/structs.js +0 -223
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.d.ts +0 -4
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/index.js +0 -7
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/init.js +0 -43
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/price-data-pull/structs.js +0 -222
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.d.ts +0 -121
- package/dist/src/_dependencies/source/0x2fdff17b86e34ab722c8ba5e63f0da070d9a4163705b3fdc6a95802cab40a72a/suprasvaluefeed/structs.js +0 -395
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.d.ts +0 -489
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/airdrop/structs.js +0 -1084
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.d.ts +0 -147
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/big-vector/structs.js +0 -456
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.d.ts +0 -239
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/critbit/structs.js +0 -653
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.d.ts +0 -405
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/ecosystem/structs.js +0 -899
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/init.js +0 -102
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.d.ts +0 -699
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/leaderboard/structs.js +0 -1459
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.d.ts +0 -147
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/linked-set/structs.js +0 -430
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.d.ts +0 -1071
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tails-staking/structs.js +0 -2261
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.d.ts +0 -279
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/tgld/structs.js +0 -733
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.d.ts +0 -328
- package/dist/src/_dependencies/source/0x4213e12a2220f15f1837a76897110d2260786558169bd8d0847f21e9b551f277/user/structs.js +0 -892
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.d.ts +0 -628
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/discount-mint/structs.js +0 -1324
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.d.ts +0 -9
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/index.js +0 -12
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/init.js +0 -72
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.d.ts +0 -94
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/royalty-rule/structs.js +0 -376
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.d.ts +0 -454
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/staking/structs.js +0 -881
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.d.ts +0 -68
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/table-vec/structs.js +0 -274
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.d.ts +0 -1117
- package/dist/src/_dependencies/source/0x5cfd0819411be98034cba544cbffab192c2c35674a05ff57f4f1c5042875b828/typus-nft/structs.js +0 -2387
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.d.ts +0 -1524
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/auto-bid/structs.js +0 -3008
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.d.ts +0 -10
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/index.js +0 -13
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/init.js +0 -145
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.d.ts +0 -1267
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tails-staking/structs.js +0 -2820
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.d.ts +0 -1412
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-authorized-entry/structs.js +0 -1646
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.d.ts +0 -425
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-fee-pool-entry/structs.js +0 -1223
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.d.ts +0 -1156
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-registry-authorized-entry/structs.js +0 -1828
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.d.ts +0 -82
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/tds-view-function/structs.js +0 -264
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.d.ts +0 -5022
- package/dist/src/_dependencies/source/0x6c9a394a43844fc09d9617bc8a8e775a4521f0e28e83de1da780d043a498671f/typus-dov-single/structs.js +0 -7585
- package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/index.js +0 -6
- package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x7237ec8436ef7e927c45470db6db3a834dd84cf903aedee3844e847fe4805399/init.js +0 -4
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/authority/structs.js +0 -263
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.d.ts +0 -347
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/balance-pool/structs.js +0 -591
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.d.ts +0 -73
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/big-vector/structs.js +0 -258
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.d.ts +0 -876
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/dutch/structs.js +0 -1721
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/i64/structs.js +0 -222
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/init.js +0 -89
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.d.ts +0 -155
- package/dist/src/_dependencies/source/0x908a10789a1a6953e0b73a997c10e3552f7ce4e2907afd00a334ed74bd973ded/linked-list/structs.js +0 -444
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.d.ts +0 -745
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/aggregator/structs.js +0 -1221
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/init.js +0 -53
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.d.ts +0 -87
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/job/structs.js +0 -287
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.d.ts +0 -58
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/math/structs.js +0 -240
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.d.ts +0 -121
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/quote/structs.js +0 -323
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.d.ts +0 -55
- package/dist/src/_dependencies/source/0x98670585b87e06628ef2d7f7cb1e7bee8ada65b43b82997935225a7e6e21d18e/switchboard/structs.js +0 -223
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.d.ts +0 -289
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/batch-price-attestation/structs.js +0 -453
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.d.ts +0 -114
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/contract-upgrade/structs.js +0 -378
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.d.ts +0 -71
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/data-source/structs.js +0 -235
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.d.ts +0 -209
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/event/structs.js +0 -377
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.d.ts +0 -73
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance/structs.js +0 -275
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-action/structs.js +0 -222
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.d.ts +0 -77
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/governance-instruction/structs.js +0 -281
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.d.ts +0 -51
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/hot-potato-vector/structs.js +0 -270
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.d.ts +0 -52
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/i64/structs.js +0 -234
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/index.js +0 -6
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/init.js +0 -95
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.d.ts +0 -51
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/migrate/structs.js +0 -223
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.d.ts +0 -89
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price/structs.js +0 -247
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.d.ts +0 -158
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-feed/structs.js +0 -242
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.d.ts +0 -50
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-identifier/structs.js +0 -256
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.d.ts +0 -360
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-info/structs.js +0 -396
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/price-status/structs.js +0 -222
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.d.ts +0 -120
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set/structs.js +0 -425
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.d.ts +0 -81
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-data-sources/structs.js +0 -257
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-fee-recipient/structs.js +0 -222
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.d.ts +0 -77
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-governance-data-source/structs.js +0 -241
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-stale-price-threshold/structs.js +0 -222
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.d.ts +0 -52
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/set-update-fee/structs.js +0 -234
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.d.ts +0 -55
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/setup/structs.js +0 -223
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.d.ts +0 -282
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/state/structs.js +0 -560
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.d.ts +0 -130
- package/dist/src/_dependencies/source/0xabf837e98c26087cba0883c0a7a28326b1fa3c5e1e2c5abdb486f9e8f594c837/version-control/structs.js +0 -506
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/index.js +0 -6
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/init.js +0 -46
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/kiosk-lock-rule/structs.js +0 -364
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.d.ts +0 -94
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/royalty-rule/structs.js +0 -376
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.d.ts +0 -46
- package/dist/src/_dependencies/source/0xbd8fc1947cf119350184107a3087e2dc27efefa0dd82e25a1f699069fe81a585/witness-rule/structs.js +0 -233
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.d.ts +0 -50
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes20/structs.js +0 -256
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.d.ts +0 -50
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/bytes32/structs.js +0 -256
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.d.ts +0 -77
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/consumed-vaas/structs.js +0 -260
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.d.ts +0 -51
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/cursor/structs.js +0 -270
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.d.ts +0 -153
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/emitter/structs.js +0 -519
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.d.ts +0 -57
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/external-address/structs.js +0 -223
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.d.ts +0 -63
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/fee-collector/structs.js +0 -270
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.d.ts +0 -168
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/governance-message/structs.js +0 -470
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.d.ts +0 -57
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian/structs.js +0 -223
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.d.ts +0 -81
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-set/structs.js +0 -275
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.d.ts +0 -85
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/guardian-signature/structs.js +0 -247
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.d.ts +0 -3
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/index.js +0 -6
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.d.ts +0 -2
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/init.js +0 -100
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.d.ts +0 -51
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/migrate/structs.js +0 -223
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.d.ts +0 -194
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/package-utils/structs.js +0 -662
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.d.ts +0 -151
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/publish-message/structs.js +0 -459
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.d.ts +0 -110
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set/structs.js +0 -416
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/set-fee/structs.js +0 -364
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.d.ts +0 -55
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/setup/structs.js +0 -223
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.d.ts +0 -278
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/state/structs.js +0 -459
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.d.ts +0 -94
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/transfer-fee/structs.js +0 -376
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.d.ts +0 -159
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/update-guardian-set/structs.js +0 -553
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.d.ts +0 -156
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/upgrade-contract/structs.js +0 -520
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.d.ts +0 -128
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/vaa/structs.js +0 -312
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.d.ts +0 -88
- package/dist/src/_dependencies/source/0xf47329f4344f3bf0f8e436e2f7b485466cff300f12a166563995d3888c296a94/version-control/structs.js +0 -364
- package/dist/src/readVec.d.ts +0 -3
- package/dist/src/readVec.js +0 -118
|
@@ -105,11 +105,12 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
105
105
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
106
106
|
};
|
|
107
107
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
108
|
-
exports.SendFeeEvent = exports.FeePool = exports.FeeInfo = exports.Version = void 0;
|
|
108
|
+
exports.ProtocolFeeEvent = exports.SendFeeEvent = exports.FeePool = exports.FeeInfo = exports.Version = void 0;
|
|
109
109
|
exports.isVersion = isVersion;
|
|
110
110
|
exports.isFeeInfo = isFeeInfo;
|
|
111
111
|
exports.isFeePool = isFeePool;
|
|
112
112
|
exports.isSendFeeEvent = isSendFeeEvent;
|
|
113
|
+
exports.isProtocolFeeEvent = isProtocolFeeEvent;
|
|
113
114
|
var reified = __importStar(require("../../_framework/reified"));
|
|
114
115
|
var structs_1 = require("../../_dependencies/source/0x1/type-name/structs");
|
|
115
116
|
var structs_2 = require("../../_dependencies/source/0x2/object/structs");
|
|
@@ -755,3 +756,156 @@ var SendFeeEvent = /** @class */ (function () {
|
|
|
755
756
|
return SendFeeEvent;
|
|
756
757
|
}());
|
|
757
758
|
exports.SendFeeEvent = SendFeeEvent;
|
|
759
|
+
/* ============================== ProtocolFeeEvent =============================== */
|
|
760
|
+
function isProtocolFeeEvent(type) {
|
|
761
|
+
type = (0, util_1.compressSuiType)(type);
|
|
762
|
+
return type === "".concat(index_1.PKG_V1, "::admin::ProtocolFeeEvent");
|
|
763
|
+
}
|
|
764
|
+
var ProtocolFeeEvent = /** @class */ (function () {
|
|
765
|
+
function ProtocolFeeEvent(typeArgs, fields) {
|
|
766
|
+
this.__StructClass = true;
|
|
767
|
+
this.$typeName = ProtocolFeeEvent.$typeName;
|
|
768
|
+
this.$isPhantom = ProtocolFeeEvent.$isPhantom;
|
|
769
|
+
this.$fullTypeName = util_1.composeSuiType.apply(void 0, __spreadArray([ProtocolFeeEvent.$typeName], __read(typeArgs), false));
|
|
770
|
+
this.$typeArgs = typeArgs;
|
|
771
|
+
this.token = fields.token;
|
|
772
|
+
this.amount = fields.amount;
|
|
773
|
+
}
|
|
774
|
+
ProtocolFeeEvent.reified = function () {
|
|
775
|
+
var _this = this;
|
|
776
|
+
return {
|
|
777
|
+
typeName: ProtocolFeeEvent.$typeName,
|
|
778
|
+
fullTypeName: util_1.composeSuiType.apply(void 0, __spreadArray([ProtocolFeeEvent.$typeName], [], false)),
|
|
779
|
+
typeArgs: [],
|
|
780
|
+
isPhantom: ProtocolFeeEvent.$isPhantom,
|
|
781
|
+
reifiedTypeArgs: [],
|
|
782
|
+
fromFields: function (fields) { return ProtocolFeeEvent.fromFields(fields); },
|
|
783
|
+
fromFieldsWithTypes: function (item) { return ProtocolFeeEvent.fromFieldsWithTypes(item); },
|
|
784
|
+
fromBcs: function (data) { return ProtocolFeeEvent.fromBcs(data); },
|
|
785
|
+
bcs: ProtocolFeeEvent.bcs,
|
|
786
|
+
fromJSONField: function (field) { return ProtocolFeeEvent.fromJSONField(field); },
|
|
787
|
+
fromJSON: function (json) { return ProtocolFeeEvent.fromJSON(json); },
|
|
788
|
+
fromSuiParsedData: function (content) { return ProtocolFeeEvent.fromSuiParsedData(content); },
|
|
789
|
+
fromSuiObjectData: function (content) { return ProtocolFeeEvent.fromSuiObjectData(content); },
|
|
790
|
+
fetch: function (client, id) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
791
|
+
return [2 /*return*/, ProtocolFeeEvent.fetch(client, id)];
|
|
792
|
+
}); }); },
|
|
793
|
+
new: function (fields) {
|
|
794
|
+
return new ProtocolFeeEvent([], fields);
|
|
795
|
+
},
|
|
796
|
+
kind: "StructClassReified",
|
|
797
|
+
};
|
|
798
|
+
};
|
|
799
|
+
Object.defineProperty(ProtocolFeeEvent, "r", {
|
|
800
|
+
get: function () {
|
|
801
|
+
return ProtocolFeeEvent.reified();
|
|
802
|
+
},
|
|
803
|
+
enumerable: false,
|
|
804
|
+
configurable: true
|
|
805
|
+
});
|
|
806
|
+
ProtocolFeeEvent.phantom = function () {
|
|
807
|
+
return (0, reified_1.phantom)(ProtocolFeeEvent.reified());
|
|
808
|
+
};
|
|
809
|
+
Object.defineProperty(ProtocolFeeEvent, "p", {
|
|
810
|
+
get: function () {
|
|
811
|
+
return ProtocolFeeEvent.phantom();
|
|
812
|
+
},
|
|
813
|
+
enumerable: false,
|
|
814
|
+
configurable: true
|
|
815
|
+
});
|
|
816
|
+
Object.defineProperty(ProtocolFeeEvent, "bcs", {
|
|
817
|
+
get: function () {
|
|
818
|
+
return bcs_1.bcs.struct("ProtocolFeeEvent", {
|
|
819
|
+
token: structs_1.TypeName.bcs,
|
|
820
|
+
amount: bcs_1.bcs.u64(),
|
|
821
|
+
});
|
|
822
|
+
},
|
|
823
|
+
enumerable: false,
|
|
824
|
+
configurable: true
|
|
825
|
+
});
|
|
826
|
+
ProtocolFeeEvent.fromFields = function (fields) {
|
|
827
|
+
return ProtocolFeeEvent.reified().new({
|
|
828
|
+
token: (0, reified_1.decodeFromFields)(structs_1.TypeName.reified(), fields.token),
|
|
829
|
+
amount: (0, reified_1.decodeFromFields)("u64", fields.amount),
|
|
830
|
+
});
|
|
831
|
+
};
|
|
832
|
+
ProtocolFeeEvent.fromFieldsWithTypes = function (item) {
|
|
833
|
+
if (!isProtocolFeeEvent(item.type)) {
|
|
834
|
+
throw new Error("not a ProtocolFeeEvent type");
|
|
835
|
+
}
|
|
836
|
+
return ProtocolFeeEvent.reified().new({
|
|
837
|
+
token: (0, reified_1.decodeFromFieldsWithTypes)(structs_1.TypeName.reified(), item.fields.token),
|
|
838
|
+
amount: (0, reified_1.decodeFromFieldsWithTypes)("u64", item.fields.amount),
|
|
839
|
+
});
|
|
840
|
+
};
|
|
841
|
+
ProtocolFeeEvent.fromBcs = function (data) {
|
|
842
|
+
return ProtocolFeeEvent.fromFields(ProtocolFeeEvent.bcs.parse(data));
|
|
843
|
+
};
|
|
844
|
+
ProtocolFeeEvent.prototype.toJSONField = function () {
|
|
845
|
+
return {
|
|
846
|
+
token: this.token.toJSONField(),
|
|
847
|
+
amount: this.amount.toString(),
|
|
848
|
+
};
|
|
849
|
+
};
|
|
850
|
+
ProtocolFeeEvent.prototype.toJSON = function () {
|
|
851
|
+
return __assign({ $typeName: this.$typeName, $typeArgs: this.$typeArgs }, this.toJSONField());
|
|
852
|
+
};
|
|
853
|
+
ProtocolFeeEvent.fromJSONField = function (field) {
|
|
854
|
+
return ProtocolFeeEvent.reified().new({
|
|
855
|
+
token: (0, reified_1.decodeFromJSONField)(structs_1.TypeName.reified(), field.token),
|
|
856
|
+
amount: (0, reified_1.decodeFromJSONField)("u64", field.amount),
|
|
857
|
+
});
|
|
858
|
+
};
|
|
859
|
+
ProtocolFeeEvent.fromJSON = function (json) {
|
|
860
|
+
if (json.$typeName !== ProtocolFeeEvent.$typeName) {
|
|
861
|
+
throw new Error("not a WithTwoGenerics json object");
|
|
862
|
+
}
|
|
863
|
+
return ProtocolFeeEvent.fromJSONField(json);
|
|
864
|
+
};
|
|
865
|
+
ProtocolFeeEvent.fromSuiParsedData = function (content) {
|
|
866
|
+
if (content.dataType !== "moveObject") {
|
|
867
|
+
throw new Error("not an object");
|
|
868
|
+
}
|
|
869
|
+
if (!isProtocolFeeEvent(content.type)) {
|
|
870
|
+
throw new Error("object at ".concat(content.fields.id, " is not a ProtocolFeeEvent object"));
|
|
871
|
+
}
|
|
872
|
+
return ProtocolFeeEvent.fromFieldsWithTypes(content);
|
|
873
|
+
};
|
|
874
|
+
ProtocolFeeEvent.fromSuiObjectData = function (data) {
|
|
875
|
+
if (data.bcs) {
|
|
876
|
+
if (data.bcs.dataType !== "moveObject" || !isProtocolFeeEvent(data.bcs.type)) {
|
|
877
|
+
throw new Error("object at is not a ProtocolFeeEvent object");
|
|
878
|
+
}
|
|
879
|
+
return ProtocolFeeEvent.fromBcs((0, utils_1.fromB64)(data.bcs.bcsBytes));
|
|
880
|
+
}
|
|
881
|
+
if (data.content) {
|
|
882
|
+
return ProtocolFeeEvent.fromSuiParsedData(data.content);
|
|
883
|
+
}
|
|
884
|
+
throw new Error("Both `bcs` and `content` fields are missing from the data. Include `showBcs` or `showContent` in the request.");
|
|
885
|
+
};
|
|
886
|
+
ProtocolFeeEvent.fetch = function (client, id) {
|
|
887
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
888
|
+
var res;
|
|
889
|
+
var _a, _b;
|
|
890
|
+
return __generator(this, function (_c) {
|
|
891
|
+
switch (_c.label) {
|
|
892
|
+
case 0: return [4 /*yield*/, client.getObject({ id: id, options: { showBcs: true } })];
|
|
893
|
+
case 1:
|
|
894
|
+
res = _c.sent();
|
|
895
|
+
if (res.error) {
|
|
896
|
+
throw new Error("error fetching ProtocolFeeEvent object at id ".concat(id, ": ").concat(res.error.code));
|
|
897
|
+
}
|
|
898
|
+
if (((_b = (_a = res.data) === null || _a === void 0 ? void 0 : _a.bcs) === null || _b === void 0 ? void 0 : _b.dataType) !== "moveObject" || !isProtocolFeeEvent(res.data.bcs.type)) {
|
|
899
|
+
throw new Error("object at id ".concat(id, " is not a ProtocolFeeEvent object"));
|
|
900
|
+
}
|
|
901
|
+
return [2 /*return*/, ProtocolFeeEvent.fromSuiObjectData(res.data)];
|
|
902
|
+
}
|
|
903
|
+
});
|
|
904
|
+
});
|
|
905
|
+
};
|
|
906
|
+
ProtocolFeeEvent.$typeName = "".concat(index_1.PKG_V1, "::admin::ProtocolFeeEvent");
|
|
907
|
+
ProtocolFeeEvent.$numTypeParams = 0;
|
|
908
|
+
ProtocolFeeEvent.$isPhantom = [];
|
|
909
|
+
return ProtocolFeeEvent;
|
|
910
|
+
}());
|
|
911
|
+
exports.ProtocolFeeEvent = ProtocolFeeEvent;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Transaction } from "@mysten/sui/transactions";
|
|
2
|
+
export declare function auctionNotYetEnded(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
2
3
|
export declare function invalidVersion(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
3
4
|
export declare function activeTradingSymbol(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
4
5
|
export declare function addSizeNotAllowed(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -10,6 +11,7 @@ export declare function baseTokenMismatched(tx: Transaction): import("@mysten/su
|
|
|
10
11
|
export declare function bidReceiptHasBeenExpired(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
11
12
|
export declare function bidReceiptNotExpired(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
12
13
|
export declare function bidReceiptNotItm(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
14
|
+
export declare function bidTokenMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
13
15
|
export declare function collateralTokenTypeMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
14
16
|
export declare function depositAmountInsufficient(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
15
17
|
export declare function depositTokenMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -40,6 +42,7 @@ export declare function perpPositionLosses(tx: Transaction): import("@mysten/sui
|
|
|
40
42
|
export declare function poolAlreadyActive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
41
43
|
export declare function poolInactive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
42
44
|
export declare function portfolioIndexMismatched(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
45
|
+
export declare function positionIdNeededWithReduceOnlyOrder(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
43
46
|
export declare function processShouldRemoveOrder(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
44
47
|
export declare function processShouldRemovePosition(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
45
48
|
export declare function processShouldRepayLiquidity(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -51,6 +54,7 @@ export declare function remainingCollateralNotEnough(tx: Transaction): import("@
|
|
|
51
54
|
export declare function tokenCollateralNotEnough(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
52
55
|
export declare function tokenPoolAlreadyActive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
53
56
|
export declare function tokenPoolInactive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
57
|
+
export declare function tooManyLinkedOrders(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
54
58
|
export declare function tradingSymbolExisted(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
55
59
|
export declare function tradingSymbolInactive(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
56
60
|
export declare function tradingSymbolNotExisted(tx: Transaction): import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.auctionNotYetEnded = auctionNotYetEnded;
|
|
3
4
|
exports.invalidVersion = invalidVersion;
|
|
4
5
|
exports.activeTradingSymbol = activeTradingSymbol;
|
|
5
6
|
exports.addSizeNotAllowed = addSizeNotAllowed;
|
|
@@ -11,6 +12,7 @@ exports.baseTokenMismatched = baseTokenMismatched;
|
|
|
11
12
|
exports.bidReceiptHasBeenExpired = bidReceiptHasBeenExpired;
|
|
12
13
|
exports.bidReceiptNotExpired = bidReceiptNotExpired;
|
|
13
14
|
exports.bidReceiptNotItm = bidReceiptNotItm;
|
|
15
|
+
exports.bidTokenMismatched = bidTokenMismatched;
|
|
14
16
|
exports.collateralTokenTypeMismatched = collateralTokenTypeMismatched;
|
|
15
17
|
exports.depositAmountInsufficient = depositAmountInsufficient;
|
|
16
18
|
exports.depositTokenMismatched = depositTokenMismatched;
|
|
@@ -41,6 +43,7 @@ exports.perpPositionLosses = perpPositionLosses;
|
|
|
41
43
|
exports.poolAlreadyActive = poolAlreadyActive;
|
|
42
44
|
exports.poolInactive = poolInactive;
|
|
43
45
|
exports.portfolioIndexMismatched = portfolioIndexMismatched;
|
|
46
|
+
exports.positionIdNeededWithReduceOnlyOrder = positionIdNeededWithReduceOnlyOrder;
|
|
44
47
|
exports.processShouldRemoveOrder = processShouldRemoveOrder;
|
|
45
48
|
exports.processShouldRemovePosition = processShouldRemovePosition;
|
|
46
49
|
exports.processShouldRepayLiquidity = processShouldRepayLiquidity;
|
|
@@ -52,6 +55,7 @@ exports.remainingCollateralNotEnough = remainingCollateralNotEnough;
|
|
|
52
55
|
exports.tokenCollateralNotEnough = tokenCollateralNotEnough;
|
|
53
56
|
exports.tokenPoolAlreadyActive = tokenPoolAlreadyActive;
|
|
54
57
|
exports.tokenPoolInactive = tokenPoolInactive;
|
|
58
|
+
exports.tooManyLinkedOrders = tooManyLinkedOrders;
|
|
55
59
|
exports.tradingSymbolExisted = tradingSymbolExisted;
|
|
56
60
|
exports.tradingSymbolInactive = tradingSymbolInactive;
|
|
57
61
|
exports.tradingSymbolNotExisted = tradingSymbolNotExisted;
|
|
@@ -64,6 +68,9 @@ exports.wrongCollateralType = wrongCollateralType;
|
|
|
64
68
|
exports.zeroPrice = zeroPrice;
|
|
65
69
|
exports.zeroTotalSupply = zeroTotalSupply;
|
|
66
70
|
var __1 = require("..");
|
|
71
|
+
function auctionNotYetEnded(tx) {
|
|
72
|
+
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::auction_not_yet_ended"), arguments: [] });
|
|
73
|
+
}
|
|
67
74
|
function invalidVersion(tx) {
|
|
68
75
|
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::invalid_version"), arguments: [] });
|
|
69
76
|
}
|
|
@@ -97,6 +104,9 @@ function bidReceiptNotExpired(tx) {
|
|
|
97
104
|
function bidReceiptNotItm(tx) {
|
|
98
105
|
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::bid_receipt_not_itm"), arguments: [] });
|
|
99
106
|
}
|
|
107
|
+
function bidTokenMismatched(tx) {
|
|
108
|
+
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::bid_token_mismatched"), arguments: [] });
|
|
109
|
+
}
|
|
100
110
|
function collateralTokenTypeMismatched(tx) {
|
|
101
111
|
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::collateral_token_type_mismatched"), arguments: [] });
|
|
102
112
|
}
|
|
@@ -187,6 +197,9 @@ function poolInactive(tx) {
|
|
|
187
197
|
function portfolioIndexMismatched(tx) {
|
|
188
198
|
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::portfolio_index_mismatched"), arguments: [] });
|
|
189
199
|
}
|
|
200
|
+
function positionIdNeededWithReduceOnlyOrder(tx) {
|
|
201
|
+
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::position_id_needed_with_reduce_only_order"), arguments: [] });
|
|
202
|
+
}
|
|
190
203
|
function processShouldRemoveOrder(tx) {
|
|
191
204
|
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::process_should_remove_order"), arguments: [] });
|
|
192
205
|
}
|
|
@@ -220,6 +233,9 @@ function tokenPoolAlreadyActive(tx) {
|
|
|
220
233
|
function tokenPoolInactive(tx) {
|
|
221
234
|
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::token_pool_inactive"), arguments: [] });
|
|
222
235
|
}
|
|
236
|
+
function tooManyLinkedOrders(tx) {
|
|
237
|
+
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::too_many_linked_orders"), arguments: [] });
|
|
238
|
+
}
|
|
223
239
|
function tradingSymbolExisted(tx) {
|
|
224
240
|
return tx.moveCall({ target: "".concat(__1.PUBLISHED_AT, "::error::trading_symbol_existed"), arguments: [] });
|
|
225
241
|
}
|
|
@@ -45,7 +45,7 @@ export declare class UnsettledBidReceipt implements StructClass {
|
|
|
45
45
|
static reified(): UnsettledBidReceiptReified;
|
|
46
46
|
static get r(): reified.StructClassReified<UnsettledBidReceipt, UnsettledBidReceiptFields>;
|
|
47
47
|
static phantom(): PhantomReified<ToTypeStr<UnsettledBidReceipt>>;
|
|
48
|
-
static get p(): reified.PhantomReified<"::escrow::UnsettledBidReceipt" | "
|
|
48
|
+
static get p(): reified.PhantomReified<"::escrow::UnsettledBidReceipt" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::escrow::UnsettledBidReceipt">;
|
|
49
49
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
50
50
|
receipt: {
|
|
51
51
|
id: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PKG_V1 = exports.PUBLISHED_AT = exports.PACKAGE_ID = void 0;
|
|
4
|
-
var
|
|
5
|
-
exports.PACKAGE_ID =
|
|
6
|
-
exports.PUBLISHED_AT =
|
|
7
|
-
exports.PKG_V1 =
|
|
4
|
+
var index_1 = require("../index");
|
|
5
|
+
exports.PACKAGE_ID = index_1.NETWORK == "MAINNET" ? "" : "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509";
|
|
6
|
+
exports.PUBLISHED_AT = index_1.NETWORK == "MAINNET" ? "" : "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509";
|
|
7
|
+
exports.PKG_V1 = index_1.NETWORK == "MAINNET" ? "" : "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509";
|
|
@@ -48,6 +48,7 @@ function registerClasses(loader) {
|
|
|
48
48
|
loader.register(admin.FeeInfo);
|
|
49
49
|
loader.register(admin.FeePool);
|
|
50
50
|
loader.register(admin.SendFeeEvent);
|
|
51
|
+
loader.register(admin.ProtocolFeeEvent);
|
|
51
52
|
loader.register(escrow.UnsettledBidReceipt);
|
|
52
53
|
loader.register(treasuryCaps.TreasuryCaps);
|
|
53
54
|
loader.register(tlp.LpRegistry);
|
|
@@ -85,7 +86,6 @@ function registerClasses(loader) {
|
|
|
85
86
|
loader.register(position.OrderFilledEvent);
|
|
86
87
|
loader.register(position.Position);
|
|
87
88
|
loader.register(position.RealizeFundingEvent);
|
|
88
|
-
loader.register(position.RealizedPnlEvent);
|
|
89
89
|
loader.register(position.RemovePositionEvent);
|
|
90
90
|
loader.register(position.TradingOrder);
|
|
91
91
|
loader.register(trading.AddTradingSymbolEvent);
|
|
@@ -94,7 +94,6 @@ function registerClasses(loader) {
|
|
|
94
94
|
loader.register(trading.CreateTradingOrderWithBidReceiptsEvent);
|
|
95
95
|
loader.register(trading.ExpiredPositionInfo);
|
|
96
96
|
loader.register(trading.IncreaseCollateralEvent);
|
|
97
|
-
loader.register(trading.LinkedOrdersInfo);
|
|
98
97
|
loader.register(trading.LiquidateEvent);
|
|
99
98
|
loader.register(trading.LiquidationInfo);
|
|
100
99
|
loader.register(trading.ManagerCloseOptionPositionEvent);
|
|
@@ -107,6 +106,7 @@ function registerClasses(loader) {
|
|
|
107
106
|
loader.register(trading.Markets);
|
|
108
107
|
loader.register(trading.MatchTradingOrderEvent);
|
|
109
108
|
loader.register(trading.NewMarketsEvent);
|
|
109
|
+
loader.register(trading.RealizeOptionPositionEvent);
|
|
110
110
|
loader.register(trading.ReleaseCollateralEvent);
|
|
111
111
|
loader.register(trading.ResumeMarketEvent);
|
|
112
112
|
loader.register(trading.ResumeTradingSymbolEvent);
|
|
@@ -34,7 +34,7 @@ export declare class Config implements StructClass {
|
|
|
34
34
|
static reified(): ConfigReified;
|
|
35
35
|
static get r(): reified.StructClassReified<Config, ConfigFields>;
|
|
36
36
|
static phantom(): PhantomReified<ToTypeStr<Config>>;
|
|
37
|
-
static get p(): reified.PhantomReified<"::lp_pool::Config" | "
|
|
37
|
+
static get p(): reified.PhantomReified<"::lp_pool::Config" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::Config">;
|
|
38
38
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
39
39
|
oracle_id: string;
|
|
40
40
|
liquidity_token_decimal: string;
|
|
@@ -196,7 +196,7 @@ export declare class State implements StructClass {
|
|
|
196
196
|
static reified(): StateReified;
|
|
197
197
|
static get r(): reified.StructClassReified<State, StateFields>;
|
|
198
198
|
static phantom(): PhantomReified<ToTypeStr<State>>;
|
|
199
|
-
static get p(): reified.PhantomReified<"::lp_pool::State" | "
|
|
199
|
+
static get p(): reified.PhantomReified<"::lp_pool::State" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::State">;
|
|
200
200
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
201
201
|
liquidity_amount: string;
|
|
202
202
|
value_in_usd: string;
|
|
@@ -280,7 +280,7 @@ export declare class Registry implements StructClass {
|
|
|
280
280
|
static reified(): RegistryReified;
|
|
281
281
|
static get r(): reified.StructClassReified<Registry, RegistryFields>;
|
|
282
282
|
static phantom(): PhantomReified<ToTypeStr<Registry>>;
|
|
283
|
-
static get p(): reified.PhantomReified<"::lp_pool::Registry" | "
|
|
283
|
+
static get p(): reified.PhantomReified<"::lp_pool::Registry" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::Registry">;
|
|
284
284
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
285
285
|
id: {
|
|
286
286
|
id: {
|
|
@@ -356,7 +356,7 @@ export declare class AddLiquidityTokenEvent implements StructClass {
|
|
|
356
356
|
static reified(): AddLiquidityTokenEventReified;
|
|
357
357
|
static get r(): reified.StructClassReified<AddLiquidityTokenEvent, AddLiquidityTokenEventFields>;
|
|
358
358
|
static phantom(): PhantomReified<ToTypeStr<AddLiquidityTokenEvent>>;
|
|
359
|
-
static get p(): reified.PhantomReified<"::lp_pool::AddLiquidityTokenEvent" | "
|
|
359
|
+
static get p(): reified.PhantomReified<"::lp_pool::AddLiquidityTokenEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::AddLiquidityTokenEvent">;
|
|
360
360
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
361
361
|
sender: string;
|
|
362
362
|
index: string;
|
|
@@ -606,7 +606,7 @@ export declare class BurnLpEvent implements StructClass {
|
|
|
606
606
|
static reified(): BurnLpEventReified;
|
|
607
607
|
static get r(): reified.StructClassReified<BurnLpEvent, BurnLpEventFields>;
|
|
608
608
|
static phantom(): PhantomReified<ToTypeStr<BurnLpEvent>>;
|
|
609
|
-
static get p(): reified.PhantomReified<"::lp_pool::BurnLpEvent" | "
|
|
609
|
+
static get p(): reified.PhantomReified<"::lp_pool::BurnLpEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::BurnLpEvent">;
|
|
610
610
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
611
611
|
sender: string;
|
|
612
612
|
index: string;
|
|
@@ -718,7 +718,7 @@ export declare class CompleteRemoveLiquidityTokenProcessEvent implements StructC
|
|
|
718
718
|
static reified(): CompleteRemoveLiquidityTokenProcessEventReified;
|
|
719
719
|
static get r(): reified.StructClassReified<CompleteRemoveLiquidityTokenProcessEvent, CompleteRemoveLiquidityTokenProcessEventFields>;
|
|
720
720
|
static phantom(): PhantomReified<ToTypeStr<CompleteRemoveLiquidityTokenProcessEvent>>;
|
|
721
|
-
static get p(): reified.PhantomReified<"::lp_pool::CompleteRemoveLiquidityTokenProcessEvent" | "
|
|
721
|
+
static get p(): reified.PhantomReified<"::lp_pool::CompleteRemoveLiquidityTokenProcessEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::CompleteRemoveLiquidityTokenProcessEvent">;
|
|
722
722
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
723
723
|
index: string;
|
|
724
724
|
liquidity_token: {
|
|
@@ -808,7 +808,7 @@ export declare class LiquidityPool implements StructClass {
|
|
|
808
808
|
static reified(): LiquidityPoolReified;
|
|
809
809
|
static get r(): reified.StructClassReified<LiquidityPool, LiquidityPoolFields>;
|
|
810
810
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPool>>;
|
|
811
|
-
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPool" | "
|
|
811
|
+
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPool" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::LiquidityPool">;
|
|
812
812
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
813
813
|
id: {
|
|
814
814
|
id: {
|
|
@@ -1250,7 +1250,7 @@ export declare class LiquidityPoolInfo implements StructClass {
|
|
|
1250
1250
|
static reified(): LiquidityPoolInfoReified;
|
|
1251
1251
|
static get r(): reified.StructClassReified<LiquidityPoolInfo, LiquidityPoolInfoFields>;
|
|
1252
1252
|
static phantom(): PhantomReified<ToTypeStr<LiquidityPoolInfo>>;
|
|
1253
|
-
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPoolInfo" | "
|
|
1253
|
+
static get p(): reified.PhantomReified<"::lp_pool::LiquidityPoolInfo" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::LiquidityPoolInfo">;
|
|
1254
1254
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1255
1255
|
lp_token_decimal: string;
|
|
1256
1256
|
total_share_supply: string;
|
|
@@ -1316,7 +1316,7 @@ export declare class ManagerFlashRemoveLiquidityEvent implements StructClass {
|
|
|
1316
1316
|
static reified(): ManagerFlashRemoveLiquidityEventReified;
|
|
1317
1317
|
static get r(): reified.StructClassReified<ManagerFlashRemoveLiquidityEvent, ManagerFlashRemoveLiquidityEventFields>;
|
|
1318
1318
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRemoveLiquidityEvent>>;
|
|
1319
|
-
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRemoveLiquidityEvent" | "
|
|
1319
|
+
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRemoveLiquidityEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::ManagerFlashRemoveLiquidityEvent">;
|
|
1320
1320
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1321
1321
|
index: string;
|
|
1322
1322
|
liquidity_token: {
|
|
@@ -1410,7 +1410,7 @@ export declare class ManagerFlashRepayLiquidityEvent implements StructClass {
|
|
|
1410
1410
|
static reified(): ManagerFlashRepayLiquidityEventReified;
|
|
1411
1411
|
static get r(): reified.StructClassReified<ManagerFlashRepayLiquidityEvent, ManagerFlashRepayLiquidityEventFields>;
|
|
1412
1412
|
static phantom(): PhantomReified<ToTypeStr<ManagerFlashRepayLiquidityEvent>>;
|
|
1413
|
-
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRepayLiquidityEvent" | "
|
|
1413
|
+
static get p(): reified.PhantomReified<"::lp_pool::ManagerFlashRepayLiquidityEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::ManagerFlashRepayLiquidityEvent">;
|
|
1414
1414
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1415
1415
|
index: string;
|
|
1416
1416
|
liquidity_token: {
|
|
@@ -1506,7 +1506,7 @@ export declare class MarginConfig implements StructClass {
|
|
|
1506
1506
|
static reified(): MarginConfigReified;
|
|
1507
1507
|
static get r(): reified.StructClassReified<MarginConfig, MarginConfigFields>;
|
|
1508
1508
|
static phantom(): PhantomReified<ToTypeStr<MarginConfig>>;
|
|
1509
|
-
static get p(): reified.PhantomReified<"::lp_pool::MarginConfig" | "
|
|
1509
|
+
static get p(): reified.PhantomReified<"::lp_pool::MarginConfig" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::MarginConfig">;
|
|
1510
1510
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1511
1511
|
basic_borrow_rate_0: string;
|
|
1512
1512
|
basic_borrow_rate_1: string;
|
|
@@ -1594,7 +1594,7 @@ export declare class MintLpEvent implements StructClass {
|
|
|
1594
1594
|
static reified(): MintLpEventReified;
|
|
1595
1595
|
static get r(): reified.StructClassReified<MintLpEvent, MintLpEventFields>;
|
|
1596
1596
|
static phantom(): PhantomReified<ToTypeStr<MintLpEvent>>;
|
|
1597
|
-
static get p(): reified.PhantomReified<"::lp_pool::MintLpEvent" | "
|
|
1597
|
+
static get p(): reified.PhantomReified<"::lp_pool::MintLpEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::MintLpEvent">;
|
|
1598
1598
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1599
1599
|
sender: string;
|
|
1600
1600
|
index: string;
|
|
@@ -1706,7 +1706,7 @@ export declare class NewLiquidityPoolEvent implements StructClass {
|
|
|
1706
1706
|
static reified(): NewLiquidityPoolEventReified;
|
|
1707
1707
|
static get r(): reified.StructClassReified<NewLiquidityPoolEvent, NewLiquidityPoolEventFields>;
|
|
1708
1708
|
static phantom(): PhantomReified<ToTypeStr<NewLiquidityPoolEvent>>;
|
|
1709
|
-
static get p(): reified.PhantomReified<"::lp_pool::NewLiquidityPoolEvent" | "
|
|
1709
|
+
static get p(): reified.PhantomReified<"::lp_pool::NewLiquidityPoolEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::NewLiquidityPoolEvent">;
|
|
1710
1710
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1711
1711
|
sender: string;
|
|
1712
1712
|
index: string;
|
|
@@ -1792,7 +1792,7 @@ export declare class RemoveLiquidityTokenProcess implements StructClass {
|
|
|
1792
1792
|
static reified(): RemoveLiquidityTokenProcessReified;
|
|
1793
1793
|
static get r(): reified.StructClassReified<RemoveLiquidityTokenProcess, RemoveLiquidityTokenProcessFields>;
|
|
1794
1794
|
static phantom(): PhantomReified<ToTypeStr<RemoveLiquidityTokenProcess>>;
|
|
1795
|
-
static get p(): reified.PhantomReified<"::lp_pool::RemoveLiquidityTokenProcess" | "
|
|
1795
|
+
static get p(): reified.PhantomReified<"::lp_pool::RemoveLiquidityTokenProcess" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::RemoveLiquidityTokenProcess">;
|
|
1796
1796
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1797
1797
|
liquidity_token: {
|
|
1798
1798
|
name: {
|
|
@@ -1908,7 +1908,7 @@ export declare class ResumePoolEvent implements StructClass {
|
|
|
1908
1908
|
static reified(): ResumePoolEventReified;
|
|
1909
1909
|
static get r(): reified.StructClassReified<ResumePoolEvent, ResumePoolEventFields>;
|
|
1910
1910
|
static phantom(): PhantomReified<ToTypeStr<ResumePoolEvent>>;
|
|
1911
|
-
static get p(): reified.PhantomReified<"::lp_pool::ResumePoolEvent" | "
|
|
1911
|
+
static get p(): reified.PhantomReified<"::lp_pool::ResumePoolEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::ResumePoolEvent">;
|
|
1912
1912
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1913
1913
|
sender: string;
|
|
1914
1914
|
index: string;
|
|
@@ -1966,7 +1966,7 @@ export declare class ResumeTokenPoolEvent implements StructClass {
|
|
|
1966
1966
|
static reified(): ResumeTokenPoolEventReified;
|
|
1967
1967
|
static get r(): reified.StructClassReified<ResumeTokenPoolEvent, ResumeTokenPoolEventFields>;
|
|
1968
1968
|
static phantom(): PhantomReified<ToTypeStr<ResumeTokenPoolEvent>>;
|
|
1969
|
-
static get p(): reified.PhantomReified<"::lp_pool::ResumeTokenPoolEvent" | "
|
|
1969
|
+
static get p(): reified.PhantomReified<"::lp_pool::ResumeTokenPoolEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::ResumeTokenPoolEvent">;
|
|
1970
1970
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
1971
1971
|
sender: string;
|
|
1972
1972
|
index: string;
|
|
@@ -2054,7 +2054,7 @@ export declare class SpotConfig implements StructClass {
|
|
|
2054
2054
|
static reified(): SpotConfigReified;
|
|
2055
2055
|
static get r(): reified.StructClassReified<SpotConfig, SpotConfigFields>;
|
|
2056
2056
|
static phantom(): PhantomReified<ToTypeStr<SpotConfig>>;
|
|
2057
|
-
static get p(): reified.PhantomReified<"::lp_pool::SpotConfig" | "
|
|
2057
|
+
static get p(): reified.PhantomReified<"::lp_pool::SpotConfig" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::SpotConfig">;
|
|
2058
2058
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2059
2059
|
min_deposit: string;
|
|
2060
2060
|
max_capacity: string;
|
|
@@ -2138,7 +2138,7 @@ export declare class StartRemoveLiquidityTokenProcessEvent implements StructClas
|
|
|
2138
2138
|
static reified(): StartRemoveLiquidityTokenProcessEventReified;
|
|
2139
2139
|
static get r(): reified.StructClassReified<StartRemoveLiquidityTokenProcessEvent, StartRemoveLiquidityTokenProcessEventFields>;
|
|
2140
2140
|
static phantom(): PhantomReified<ToTypeStr<StartRemoveLiquidityTokenProcessEvent>>;
|
|
2141
|
-
static get p(): reified.PhantomReified<"::lp_pool::StartRemoveLiquidityTokenProcessEvent" | "
|
|
2141
|
+
static get p(): reified.PhantomReified<"::lp_pool::StartRemoveLiquidityTokenProcessEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::StartRemoveLiquidityTokenProcessEvent">;
|
|
2142
2142
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2143
2143
|
index: string;
|
|
2144
2144
|
liquidity_token: {
|
|
@@ -2208,7 +2208,7 @@ export declare class SuspendPoolEvent implements StructClass {
|
|
|
2208
2208
|
static reified(): SuspendPoolEventReified;
|
|
2209
2209
|
static get r(): reified.StructClassReified<SuspendPoolEvent, SuspendPoolEventFields>;
|
|
2210
2210
|
static phantom(): PhantomReified<ToTypeStr<SuspendPoolEvent>>;
|
|
2211
|
-
static get p(): reified.PhantomReified<"::lp_pool::SuspendPoolEvent" | "
|
|
2211
|
+
static get p(): reified.PhantomReified<"::lp_pool::SuspendPoolEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::SuspendPoolEvent">;
|
|
2212
2212
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2213
2213
|
sender: string;
|
|
2214
2214
|
index: string;
|
|
@@ -2266,7 +2266,7 @@ export declare class SuspendTokenPoolEvent implements StructClass {
|
|
|
2266
2266
|
static reified(): SuspendTokenPoolEventReified;
|
|
2267
2267
|
static get r(): reified.StructClassReified<SuspendTokenPoolEvent, SuspendTokenPoolEventFields>;
|
|
2268
2268
|
static phantom(): PhantomReified<ToTypeStr<SuspendTokenPoolEvent>>;
|
|
2269
|
-
static get p(): reified.PhantomReified<"::lp_pool::SuspendTokenPoolEvent" | "
|
|
2269
|
+
static get p(): reified.PhantomReified<"::lp_pool::SuspendTokenPoolEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::SuspendTokenPoolEvent">;
|
|
2270
2270
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2271
2271
|
sender: string;
|
|
2272
2272
|
index: string;
|
|
@@ -2358,7 +2358,7 @@ export declare class SwapEvent implements StructClass {
|
|
|
2358
2358
|
static reified(): SwapEventReified;
|
|
2359
2359
|
static get r(): reified.StructClassReified<SwapEvent, SwapEventFields>;
|
|
2360
2360
|
static phantom(): PhantomReified<ToTypeStr<SwapEvent>>;
|
|
2361
|
-
static get p(): reified.PhantomReified<"::lp_pool::SwapEvent" | "
|
|
2361
|
+
static get p(): reified.PhantomReified<"::lp_pool::SwapEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::SwapEvent">;
|
|
2362
2362
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2363
2363
|
sender: string;
|
|
2364
2364
|
index: string;
|
|
@@ -2478,7 +2478,7 @@ export declare class TokenPool implements StructClass {
|
|
|
2478
2478
|
static reified(): TokenPoolReified;
|
|
2479
2479
|
static get r(): reified.StructClassReified<TokenPool, TokenPoolFields>;
|
|
2480
2480
|
static phantom(): PhantomReified<ToTypeStr<TokenPool>>;
|
|
2481
|
-
static get p(): reified.PhantomReified<"::lp_pool::TokenPool" | "
|
|
2481
|
+
static get p(): reified.PhantomReified<"::lp_pool::TokenPool" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::TokenPool">;
|
|
2482
2482
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2483
2483
|
token_type: {
|
|
2484
2484
|
name: {
|
|
@@ -2712,7 +2712,7 @@ export declare class UpdateBorrowInfoEvent implements StructClass {
|
|
|
2712
2712
|
static reified(): UpdateBorrowInfoEventReified;
|
|
2713
2713
|
static get r(): reified.StructClassReified<UpdateBorrowInfoEvent, UpdateBorrowInfoEventFields>;
|
|
2714
2714
|
static phantom(): PhantomReified<ToTypeStr<UpdateBorrowInfoEvent>>;
|
|
2715
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateBorrowInfoEvent" | "
|
|
2715
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateBorrowInfoEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::UpdateBorrowInfoEvent">;
|
|
2716
2716
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2717
2717
|
index: string;
|
|
2718
2718
|
liquidity_token_type: {
|
|
@@ -2810,7 +2810,7 @@ export declare class UpdateLiquidityValueEvent implements StructClass {
|
|
|
2810
2810
|
static reified(): UpdateLiquidityValueEventReified;
|
|
2811
2811
|
static get r(): reified.StructClassReified<UpdateLiquidityValueEvent, UpdateLiquidityValueEventFields>;
|
|
2812
2812
|
static phantom(): PhantomReified<ToTypeStr<UpdateLiquidityValueEvent>>;
|
|
2813
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateLiquidityValueEvent" | "
|
|
2813
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateLiquidityValueEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::UpdateLiquidityValueEvent">;
|
|
2814
2814
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2815
2815
|
sender: string;
|
|
2816
2816
|
index: string;
|
|
@@ -2902,7 +2902,7 @@ export declare class UpdateMarginConfigEvent implements StructClass {
|
|
|
2902
2902
|
static reified(): UpdateMarginConfigEventReified;
|
|
2903
2903
|
static get r(): reified.StructClassReified<UpdateMarginConfigEvent, UpdateMarginConfigEventFields>;
|
|
2904
2904
|
static phantom(): PhantomReified<ToTypeStr<UpdateMarginConfigEvent>>;
|
|
2905
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateMarginConfigEvent" | "
|
|
2905
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateMarginConfigEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::UpdateMarginConfigEvent">;
|
|
2906
2906
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
2907
2907
|
sender: string;
|
|
2908
2908
|
index: string;
|
|
@@ -3066,7 +3066,7 @@ export declare class UpdateSpotConfigEvent implements StructClass {
|
|
|
3066
3066
|
static reified(): UpdateSpotConfigEventReified;
|
|
3067
3067
|
static get r(): reified.StructClassReified<UpdateSpotConfigEvent, UpdateSpotConfigEventFields>;
|
|
3068
3068
|
static phantom(): PhantomReified<ToTypeStr<UpdateSpotConfigEvent>>;
|
|
3069
|
-
static get p(): reified.PhantomReified<"::lp_pool::UpdateSpotConfigEvent" | "
|
|
3069
|
+
static get p(): reified.PhantomReified<"::lp_pool::UpdateSpotConfigEvent" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::lp_pool::UpdateSpotConfigEvent">;
|
|
3070
3070
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
3071
3071
|
sender: string;
|
|
3072
3072
|
index: string;
|
|
@@ -28,7 +28,7 @@ export declare class PythPrice implements StructClass {
|
|
|
28
28
|
static reified(): PythPriceReified;
|
|
29
29
|
static get r(): import("../../_framework/reified").StructClassReified<PythPrice, PythPriceFields>;
|
|
30
30
|
static phantom(): PhantomReified<ToTypeStr<PythPrice>>;
|
|
31
|
-
static get p(): PhantomReified<"::oracle::PythPrice" | "
|
|
31
|
+
static get p(): PhantomReified<"::oracle::PythPrice" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::oracle::PythPrice">;
|
|
32
32
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
33
33
|
price: string;
|
|
34
34
|
conf: string;
|
|
@@ -82,7 +82,7 @@ export declare class PythPriceInfoObject implements StructClass {
|
|
|
82
82
|
static reified(): PythPriceInfoObjectReified;
|
|
83
83
|
static get r(): import("../../_framework/reified").StructClassReified<PythPriceInfoObject, PythPriceInfoObjectFields>;
|
|
84
84
|
static phantom(): PhantomReified<ToTypeStr<PythPriceInfoObject>>;
|
|
85
|
-
static get p(): PhantomReified<"::oracle::PythPriceInfoObject" | "
|
|
85
|
+
static get p(): PhantomReified<"::oracle::PythPriceInfoObject" | "0x7c19f81d9d411e78305d7af8dad25317c56bb449fede8a78b6021232478f0509::oracle::PythPriceInfoObject">;
|
|
86
86
|
static get bcs(): import("@mysten/sui/bcs").BcsType<{
|
|
87
87
|
id: {
|
|
88
88
|
bytes: string;
|
|
@@ -167,6 +167,7 @@ export interface EmitRealizedFundingEventArgs {
|
|
|
167
167
|
positionId: bigint | TransactionArgument;
|
|
168
168
|
realizedFundingSign: boolean | TransactionArgument;
|
|
169
169
|
realizedFundingFee: bigint | TransactionArgument;
|
|
170
|
+
realizedFundingFeeUsd: bigint | TransactionArgument;
|
|
170
171
|
u64Padding: Array<bigint | TransactionArgument> | TransactionArgument;
|
|
171
172
|
}
|
|
172
173
|
export declare function emitRealizedFundingEvent(tx: Transaction, args: EmitRealizedFundingEventArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
@@ -294,6 +295,8 @@ export declare function orderFilledWithBidReceiptsCollateral(tx: Transaction, ty
|
|
|
294
295
|
export interface RealizeFundingArgs {
|
|
295
296
|
position: TransactionObjectInput;
|
|
296
297
|
fundingIncome: TransactionObjectInput;
|
|
298
|
+
collateralOraclePrice: bigint | TransactionArgument;
|
|
299
|
+
collateralOraclePriceDecimal: bigint | TransactionArgument;
|
|
297
300
|
}
|
|
298
301
|
export declare function realizeFunding(tx: Transaction, typeArg: string, args: RealizeFundingArgs): import("@mysten/sui/transactions").TransactionResult;
|
|
299
302
|
export interface ReleaseCollateralArgs {
|
|
@@ -293,6 +293,7 @@ function emitRealizedFundingEvent(tx, args) {
|
|
|
293
293
|
(0, util_1.pure)(tx, args.positionId, "u64"),
|
|
294
294
|
(0, util_1.pure)(tx, args.realizedFundingSign, "bool"),
|
|
295
295
|
(0, util_1.pure)(tx, args.realizedFundingFee, "u64"),
|
|
296
|
+
(0, util_1.pure)(tx, args.realizedFundingFeeUsd, "u64"),
|
|
296
297
|
(0, util_1.pure)(tx, args.u64Padding, "vector<u64>"),
|
|
297
298
|
],
|
|
298
299
|
});
|
|
@@ -517,7 +518,12 @@ function realizeFunding(tx, typeArg, args) {
|
|
|
517
518
|
return tx.moveCall({
|
|
518
519
|
target: "".concat(__1.PUBLISHED_AT, "::position::realize_funding"),
|
|
519
520
|
typeArguments: [typeArg],
|
|
520
|
-
arguments: [
|
|
521
|
+
arguments: [
|
|
522
|
+
(0, util_1.obj)(tx, args.position),
|
|
523
|
+
(0, util_1.obj)(tx, args.fundingIncome),
|
|
524
|
+
(0, util_1.pure)(tx, args.collateralOraclePrice, "u64"),
|
|
525
|
+
(0, util_1.pure)(tx, args.collateralOraclePriceDecimal, "u64"),
|
|
526
|
+
],
|
|
521
527
|
});
|
|
522
528
|
}
|
|
523
529
|
function releaseCollateral(tx, typeArg, args) {
|