@super-protocol/sdk-js 2.2.0-beta.106 → 2.2.0-beta.108
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/cjs/contracts/abi.d.ts +98 -14
- package/dist/cjs/contracts/abi.js +126 -18
- package/dist/cjs/models/Offer.d.ts +11 -1
- package/dist/cjs/models/Offer.js +36 -3
- package/dist/cjs/models/TeeOffer.js +9 -6
- package/dist/cjs/staticModels/TeeOffers.js +2 -2
- package/dist/cjs/types/Offer.d.ts +7 -0
- package/dist/cjs/types/Offer.js +9 -2
- package/dist/mjs/contracts/abi.d.ts +98 -14
- package/dist/mjs/contracts/abi.js +126 -18
- package/dist/mjs/models/Offer.d.ts +11 -1
- package/dist/mjs/models/Offer.js +37 -4
- package/dist/mjs/models/TeeOffer.js +9 -6
- package/dist/mjs/staticModels/TeeOffers.js +2 -2
- package/dist/mjs/types/Offer.d.ts +7 -0
- package/dist/mjs/types/Offer.js +8 -1
- package/package.json +2 -2
|
@@ -1248,6 +1248,20 @@ export declare const abi: readonly [{
|
|
|
1248
1248
|
}];
|
|
1249
1249
|
readonly stateMutability: "view";
|
|
1250
1250
|
readonly type: "function";
|
|
1251
|
+
}, {
|
|
1252
|
+
readonly inputs: readonly [{
|
|
1253
|
+
readonly internalType: "address";
|
|
1254
|
+
readonly name: "beneficiary";
|
|
1255
|
+
readonly type: "address";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly internalType: "uint256";
|
|
1258
|
+
readonly name: "amount";
|
|
1259
|
+
readonly type: "uint256";
|
|
1260
|
+
}];
|
|
1261
|
+
readonly name: "increaseForByApp";
|
|
1262
|
+
readonly outputs: readonly [];
|
|
1263
|
+
readonly stateMutability: "nonpayable";
|
|
1264
|
+
readonly type: "function";
|
|
1251
1265
|
}, {
|
|
1252
1266
|
readonly inputs: readonly [{
|
|
1253
1267
|
readonly internalType: "address";
|
|
@@ -1509,6 +1523,10 @@ export declare const abi: readonly [{
|
|
|
1509
1523
|
readonly internalType: "string";
|
|
1510
1524
|
readonly name: "argsPublicKey";
|
|
1511
1525
|
readonly type: "string";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly internalType: "enum TeeOfferSubtype";
|
|
1528
|
+
readonly name: "subtype";
|
|
1529
|
+
readonly type: "uint8";
|
|
1512
1530
|
}];
|
|
1513
1531
|
readonly internalType: "struct TeeOfferInfo";
|
|
1514
1532
|
readonly name: "info";
|
|
@@ -1555,10 +1573,6 @@ export declare const abi: readonly [{
|
|
|
1555
1573
|
readonly internalType: "bool";
|
|
1556
1574
|
readonly name: "enabled";
|
|
1557
1575
|
readonly type: "bool";
|
|
1558
|
-
}, {
|
|
1559
|
-
readonly internalType: "enum TeeOfferSubtype";
|
|
1560
|
-
readonly name: "subtype";
|
|
1561
|
-
readonly type: "uint8";
|
|
1562
1576
|
}];
|
|
1563
1577
|
readonly name: "createTeeOffer";
|
|
1564
1578
|
readonly outputs: readonly [];
|
|
@@ -1630,6 +1644,10 @@ export declare const abi: readonly [{
|
|
|
1630
1644
|
readonly internalType: "string";
|
|
1631
1645
|
readonly name: "signatureKey";
|
|
1632
1646
|
readonly type: "string";
|
|
1647
|
+
}, {
|
|
1648
|
+
readonly internalType: "enum ValueOfferSubtype";
|
|
1649
|
+
readonly name: "subtype";
|
|
1650
|
+
readonly type: "uint8";
|
|
1633
1651
|
}];
|
|
1634
1652
|
readonly internalType: "struct ValueOfferInfo";
|
|
1635
1653
|
readonly name: "info";
|
|
@@ -1841,6 +1859,10 @@ export declare const abi: readonly [{
|
|
|
1841
1859
|
readonly internalType: "string";
|
|
1842
1860
|
readonly name: "argsPublicKey";
|
|
1843
1861
|
readonly type: "string";
|
|
1862
|
+
}, {
|
|
1863
|
+
readonly internalType: "enum TeeOfferSubtype";
|
|
1864
|
+
readonly name: "subtype";
|
|
1865
|
+
readonly type: "uint8";
|
|
1844
1866
|
}];
|
|
1845
1867
|
readonly internalType: "struct TeeOfferInfo";
|
|
1846
1868
|
readonly name: "newInfo";
|
|
@@ -1930,6 +1952,10 @@ export declare const abi: readonly [{
|
|
|
1930
1952
|
readonly internalType: "string";
|
|
1931
1953
|
readonly name: "signatureKey";
|
|
1932
1954
|
readonly type: "string";
|
|
1955
|
+
}, {
|
|
1956
|
+
readonly internalType: "enum ValueOfferSubtype";
|
|
1957
|
+
readonly name: "subtype";
|
|
1958
|
+
readonly type: "uint8";
|
|
1933
1959
|
}];
|
|
1934
1960
|
readonly internalType: "struct ValueOfferInfo";
|
|
1935
1961
|
readonly name: "newInfo";
|
|
@@ -1966,6 +1992,20 @@ export declare const abi: readonly [{
|
|
|
1966
1992
|
readonly outputs: readonly [];
|
|
1967
1993
|
readonly stateMutability: "nonpayable";
|
|
1968
1994
|
readonly type: "function";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly inputs: readonly [{
|
|
1997
|
+
readonly internalType: "uint256";
|
|
1998
|
+
readonly name: "offerId";
|
|
1999
|
+
readonly type: "uint256";
|
|
2000
|
+
}, {
|
|
2001
|
+
readonly internalType: "enum ValueOfferSubtype";
|
|
2002
|
+
readonly name: "newSubtype";
|
|
2003
|
+
readonly type: "uint8";
|
|
2004
|
+
}];
|
|
2005
|
+
readonly name: "setValueOfferSubtype";
|
|
2006
|
+
readonly outputs: readonly [];
|
|
2007
|
+
readonly stateMutability: "nonpayable";
|
|
2008
|
+
readonly type: "function";
|
|
1969
2009
|
}, {
|
|
1970
2010
|
readonly inputs: readonly [{
|
|
1971
2011
|
readonly internalType: "uint256";
|
|
@@ -2011,6 +2051,10 @@ export declare const abi: readonly [{
|
|
|
2011
2051
|
readonly internalType: "string";
|
|
2012
2052
|
readonly name: "argsPublicKey";
|
|
2013
2053
|
readonly type: "string";
|
|
2054
|
+
}, {
|
|
2055
|
+
readonly internalType: "enum TeeOfferSubtype";
|
|
2056
|
+
readonly name: "subtype";
|
|
2057
|
+
readonly type: "uint8";
|
|
2014
2058
|
}];
|
|
2015
2059
|
readonly internalType: "struct TeeOfferInfo";
|
|
2016
2060
|
readonly name: "info";
|
|
@@ -2019,10 +2063,6 @@ export declare const abi: readonly [{
|
|
|
2019
2063
|
readonly internalType: "bool";
|
|
2020
2064
|
readonly name: "enabled";
|
|
2021
2065
|
readonly type: "bool";
|
|
2022
|
-
}, {
|
|
2023
|
-
readonly internalType: "enum TeeOfferSubtype";
|
|
2024
|
-
readonly name: "subtype";
|
|
2025
|
-
readonly type: "uint8";
|
|
2026
2066
|
}];
|
|
2027
2067
|
readonly internalType: "struct TeeOfferData[]";
|
|
2028
2068
|
readonly name: "";
|
|
@@ -2115,6 +2155,10 @@ export declare const abi: readonly [{
|
|
|
2115
2155
|
readonly internalType: "string";
|
|
2116
2156
|
readonly name: "signatureKey";
|
|
2117
2157
|
readonly type: "string";
|
|
2158
|
+
}, {
|
|
2159
|
+
readonly internalType: "enum ValueOfferSubtype";
|
|
2160
|
+
readonly name: "subtype";
|
|
2161
|
+
readonly type: "uint8";
|
|
2118
2162
|
}];
|
|
2119
2163
|
readonly internalType: "struct ValueOfferInfo";
|
|
2120
2164
|
readonly name: "info";
|
|
@@ -2393,6 +2437,10 @@ export declare const abi: readonly [{
|
|
|
2393
2437
|
readonly internalType: "string";
|
|
2394
2438
|
readonly name: "argsPublicKey";
|
|
2395
2439
|
readonly type: "string";
|
|
2440
|
+
}, {
|
|
2441
|
+
readonly internalType: "enum TeeOfferSubtype";
|
|
2442
|
+
readonly name: "subtype";
|
|
2443
|
+
readonly type: "uint8";
|
|
2396
2444
|
}];
|
|
2397
2445
|
readonly internalType: "struct TeeOfferInfo";
|
|
2398
2446
|
readonly name: "info";
|
|
@@ -2401,10 +2449,6 @@ export declare const abi: readonly [{
|
|
|
2401
2449
|
readonly internalType: "bool";
|
|
2402
2450
|
readonly name: "enabled";
|
|
2403
2451
|
readonly type: "bool";
|
|
2404
|
-
}, {
|
|
2405
|
-
readonly internalType: "enum TeeOfferSubtype";
|
|
2406
|
-
readonly name: "subtype";
|
|
2407
|
-
readonly type: "uint8";
|
|
2408
2452
|
}];
|
|
2409
2453
|
readonly internalType: "struct TeeOfferData";
|
|
2410
2454
|
readonly name: "ret";
|
|
@@ -2547,6 +2591,10 @@ export declare const abi: readonly [{
|
|
|
2547
2591
|
readonly internalType: "string";
|
|
2548
2592
|
readonly name: "signatureKey";
|
|
2549
2593
|
readonly type: "string";
|
|
2594
|
+
}, {
|
|
2595
|
+
readonly internalType: "enum ValueOfferSubtype";
|
|
2596
|
+
readonly name: "subtype";
|
|
2597
|
+
readonly type: "uint8";
|
|
2550
2598
|
}];
|
|
2551
2599
|
readonly internalType: "struct ValueOfferInfo";
|
|
2552
2600
|
readonly name: "info";
|
|
@@ -2562,6 +2610,20 @@ export declare const abi: readonly [{
|
|
|
2562
2610
|
}];
|
|
2563
2611
|
readonly stateMutability: "view";
|
|
2564
2612
|
readonly type: "function";
|
|
2613
|
+
}, {
|
|
2614
|
+
readonly inputs: readonly [{
|
|
2615
|
+
readonly internalType: "uint256";
|
|
2616
|
+
readonly name: "offerId";
|
|
2617
|
+
readonly type: "uint256";
|
|
2618
|
+
}];
|
|
2619
|
+
readonly name: "getValueOfferSubtype";
|
|
2620
|
+
readonly outputs: readonly [{
|
|
2621
|
+
readonly internalType: "enum ValueOfferSubtype";
|
|
2622
|
+
readonly name: "";
|
|
2623
|
+
readonly type: "uint8";
|
|
2624
|
+
}];
|
|
2625
|
+
readonly stateMutability: "view";
|
|
2626
|
+
readonly type: "function";
|
|
2565
2627
|
}, {
|
|
2566
2628
|
readonly inputs: readonly [{
|
|
2567
2629
|
readonly internalType: "uint256";
|
|
@@ -5013,7 +5075,7 @@ export declare const abi: readonly [{
|
|
|
5013
5075
|
readonly type: "address";
|
|
5014
5076
|
}, {
|
|
5015
5077
|
readonly internalType: "uint16";
|
|
5016
|
-
readonly name: "
|
|
5078
|
+
readonly name: "percent";
|
|
5017
5079
|
readonly type: "uint16";
|
|
5018
5080
|
}];
|
|
5019
5081
|
readonly internalType: "struct ProtocolIncomeRecipient[]";
|
|
@@ -5131,7 +5193,7 @@ export declare const abi: readonly [{
|
|
|
5131
5193
|
readonly type: "address";
|
|
5132
5194
|
}, {
|
|
5133
5195
|
readonly internalType: "uint16";
|
|
5134
|
-
readonly name: "
|
|
5196
|
+
readonly name: "percent";
|
|
5135
5197
|
readonly type: "uint16";
|
|
5136
5198
|
}];
|
|
5137
5199
|
readonly internalType: "struct ProtocolIncomeRecipient[]";
|
|
@@ -7855,6 +7917,28 @@ export declare const abi: readonly [{
|
|
|
7855
7917
|
readonly outputs: readonly [];
|
|
7856
7918
|
readonly stateMutability: "nonpayable";
|
|
7857
7919
|
readonly type: "function";
|
|
7920
|
+
}, {
|
|
7921
|
+
readonly inputs: readonly [{
|
|
7922
|
+
readonly internalType: "uint256";
|
|
7923
|
+
readonly name: "teeOfferIssuerId";
|
|
7924
|
+
readonly type: "uint256";
|
|
7925
|
+
}, {
|
|
7926
|
+
readonly internalType: "uint256";
|
|
7927
|
+
readonly name: "teeOfferKeeperId";
|
|
7928
|
+
readonly type: "uint256";
|
|
7929
|
+
}, {
|
|
7930
|
+
readonly internalType: "uint256";
|
|
7931
|
+
readonly name: "offerId";
|
|
7932
|
+
readonly type: "uint256";
|
|
7933
|
+
}, {
|
|
7934
|
+
readonly internalType: "uint64";
|
|
7935
|
+
readonly name: "offerVersion";
|
|
7936
|
+
readonly type: "uint64";
|
|
7937
|
+
}];
|
|
7938
|
+
readonly name: "removeOfferResource";
|
|
7939
|
+
readonly outputs: readonly [];
|
|
7940
|
+
readonly stateMutability: "nonpayable";
|
|
7941
|
+
readonly type: "function";
|
|
7858
7942
|
}, {
|
|
7859
7943
|
readonly inputs: readonly [{
|
|
7860
7944
|
readonly components: readonly [{
|