@zofai/zo-sdk 0.2.8 → 0.2.9
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/api.cjs.map +1 -1
- package/dist/api.d.cts.map +1 -1
- package/dist/api.d.mts.map +1 -1
- package/dist/api.mjs.map +1 -1
- package/dist/consts/deployments-usdz-mainnet.json +1 -1
- package/dist/implementations/SLPAPI.cjs.map +1 -1
- package/dist/implementations/SLPAPI.d.cts.map +1 -1
- package/dist/implementations/SLPAPI.d.mts.map +1 -1
- package/dist/implementations/SLPAPI.mjs.map +1 -1
- package/dist/implementations/ZBTCVCAPI.cjs.map +1 -1
- package/dist/implementations/ZBTCVCAPI.d.cts.map +1 -1
- package/dist/implementations/ZBTCVCAPI.d.mts.map +1 -1
- package/dist/implementations/ZBTCVCAPI.mjs.map +1 -1
- package/dist/implementations/ZLPAPI.cjs.map +1 -1
- package/dist/implementations/ZLPAPI.d.cts.map +1 -1
- package/dist/implementations/ZLPAPI.d.mts.map +1 -1
- package/dist/implementations/ZLPAPI.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api.ts +5 -1
- package/src/consts/deployments-usdz-mainnet.json +1 -1
- package/src/implementations/SLPAPI.ts +10 -10
- package/src/implementations/ZBTCVCAPI.ts +4 -0
- package/src/implementations/ZLPAPI.ts +8 -0
|
@@ -1064,6 +1064,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
1064
1064
|
suiCoinObject,
|
|
1065
1065
|
)
|
|
1066
1066
|
|
|
1067
|
+
|
|
1067
1068
|
tx.moveCall({
|
|
1068
1069
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position`,
|
|
1069
1070
|
typeArguments: [
|
|
@@ -1152,6 +1153,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
1152
1153
|
suiCoinObject,
|
|
1153
1154
|
)
|
|
1154
1155
|
|
|
1156
|
+
|
|
1155
1157
|
tx.moveCall({
|
|
1156
1158
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position_v2`,
|
|
1157
1159
|
typeArguments: [
|
|
@@ -1251,6 +1253,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
1251
1253
|
suiCoinObject,
|
|
1252
1254
|
)
|
|
1253
1255
|
|
|
1256
|
+
|
|
1254
1257
|
tx.moveCall({
|
|
1255
1258
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position`,
|
|
1256
1259
|
typeArguments: [
|
|
@@ -1339,6 +1342,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
1339
1342
|
innerIsTakeProfitOrder = true
|
|
1340
1343
|
}
|
|
1341
1344
|
|
|
1345
|
+
|
|
1342
1346
|
transaction.moveCall({
|
|
1343
1347
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position_v2`,
|
|
1344
1348
|
typeArguments: [
|
|
@@ -1856,6 +1860,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
1856
1860
|
suiCoinObject,
|
|
1857
1861
|
)
|
|
1858
1862
|
|
|
1863
|
+
|
|
1859
1864
|
tx.moveCall({
|
|
1860
1865
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position_with_scard`,
|
|
1861
1866
|
typeArguments: [
|
|
@@ -1963,6 +1968,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
1963
1968
|
suiCoinObject,
|
|
1964
1969
|
)
|
|
1965
1970
|
|
|
1971
|
+
|
|
1966
1972
|
tx.moveCall({
|
|
1967
1973
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position_with_scard_v2`,
|
|
1968
1974
|
typeArguments: [
|
|
@@ -2089,6 +2095,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
2089
2095
|
suiCoinObject,
|
|
2090
2096
|
)
|
|
2091
2097
|
|
|
2098
|
+
|
|
2092
2099
|
tx.moveCall({
|
|
2093
2100
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position_with_scard`,
|
|
2094
2101
|
typeArguments: [
|
|
@@ -2206,6 +2213,7 @@ export class ZLPAPI extends BaseAPI implements IZLPAPI {
|
|
|
2206
2213
|
innerIsTakeProfitOrder = true
|
|
2207
2214
|
}
|
|
2208
2215
|
|
|
2216
|
+
|
|
2209
2217
|
transaction.moveCall({
|
|
2210
2218
|
target: `${this.consts.zoCore.upgradedPackage}::market::decrease_position_with_scard_v2`,
|
|
2211
2219
|
typeArguments: [
|