@super-protocol/sdk-js 3.14.1 → 3.15.0
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 +87 -0
- package/dist/cjs/contracts/abi.js +114 -1
- package/dist/cjs/errors/index.d.ts +1 -0
- package/dist/cjs/errors/index.js +4 -2
- package/dist/cjs/errors/insufficient-funds.error.d.ts +19 -0
- package/dist/cjs/errors/insufficient-funds.error.js +57 -0
- package/dist/cjs/index.d.ts +1 -0
- package/dist/cjs/index.js +5 -3
- package/dist/cjs/models/Offer.d.ts +16 -1
- package/dist/cjs/models/Offer.js +51 -1
- package/dist/cjs/staticModels/Offers.d.ts +1 -0
- package/dist/cjs/staticModels/Offers.js +4 -2
- package/dist/cjs/staticModels/TeeOffers.d.ts +1 -1
- package/dist/cjs/staticModels/TeeOffers.js +4 -2
- package/dist/cjs/types/Offer.d.ts +5 -0
- package/dist/cjs/utils/TxManager.js +5 -1
- package/dist/mjs/contracts/abi.d.ts +87 -0
- package/dist/mjs/contracts/abi.js +114 -1
- package/dist/mjs/errors/index.d.ts +1 -0
- package/dist/mjs/errors/index.js +2 -1
- package/dist/mjs/errors/insufficient-funds.error.d.ts +19 -0
- package/dist/mjs/errors/insufficient-funds.error.js +53 -0
- package/dist/mjs/index.d.ts +1 -0
- package/dist/mjs/index.js +2 -1
- package/dist/mjs/models/Offer.d.ts +16 -1
- package/dist/mjs/models/Offer.js +51 -1
- package/dist/mjs/staticModels/Offers.d.ts +1 -0
- package/dist/mjs/staticModels/Offers.js +4 -2
- package/dist/mjs/staticModels/TeeOffers.d.ts +1 -1
- package/dist/mjs/staticModels/TeeOffers.js +4 -2
- package/dist/mjs/types/Offer.d.ts +5 -0
- package/dist/mjs/utils/TxManager.js +5 -1
- package/package.json +1 -1
|
@@ -1402,6 +1402,10 @@ export declare const abi: readonly [{
|
|
|
1402
1402
|
readonly internalType: "bool";
|
|
1403
1403
|
readonly name: "enabled";
|
|
1404
1404
|
readonly type: "bool";
|
|
1405
|
+
}, {
|
|
1406
|
+
readonly internalType: "address";
|
|
1407
|
+
readonly name: "offerActionAccount";
|
|
1408
|
+
readonly type: "address";
|
|
1405
1409
|
}];
|
|
1406
1410
|
readonly internalType: "struct Offer";
|
|
1407
1411
|
readonly name: "offer";
|
|
@@ -1492,6 +1496,10 @@ export declare const abi: readonly [{
|
|
|
1492
1496
|
readonly internalType: "bool";
|
|
1493
1497
|
readonly name: "enabled";
|
|
1494
1498
|
readonly type: "bool";
|
|
1499
|
+
}, {
|
|
1500
|
+
readonly internalType: "address";
|
|
1501
|
+
readonly name: "offerActionAccount";
|
|
1502
|
+
readonly type: "address";
|
|
1495
1503
|
}];
|
|
1496
1504
|
readonly internalType: "struct Offer";
|
|
1497
1505
|
readonly name: "offer";
|
|
@@ -1622,6 +1630,20 @@ export declare const abi: readonly [{
|
|
|
1622
1630
|
readonly outputs: readonly [];
|
|
1623
1631
|
readonly stateMutability: "nonpayable";
|
|
1624
1632
|
readonly type: "function";
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly inputs: readonly [{
|
|
1635
|
+
readonly internalType: "uint256";
|
|
1636
|
+
readonly name: "offerId";
|
|
1637
|
+
readonly type: "uint256";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly internalType: "address";
|
|
1640
|
+
readonly name: "newOfferActionAccount";
|
|
1641
|
+
readonly type: "address";
|
|
1642
|
+
}];
|
|
1643
|
+
readonly name: "setOfferActionAccount";
|
|
1644
|
+
readonly outputs: readonly [];
|
|
1645
|
+
readonly stateMutability: "nonpayable";
|
|
1646
|
+
readonly type: "function";
|
|
1625
1647
|
}, {
|
|
1626
1648
|
readonly inputs: readonly [{
|
|
1627
1649
|
readonly internalType: "uint256";
|
|
@@ -1938,6 +1960,10 @@ export declare const abi: readonly [{
|
|
|
1938
1960
|
readonly internalType: "bool";
|
|
1939
1961
|
readonly name: "enabled";
|
|
1940
1962
|
readonly type: "bool";
|
|
1963
|
+
}, {
|
|
1964
|
+
readonly internalType: "address";
|
|
1965
|
+
readonly name: "offerActionAccount";
|
|
1966
|
+
readonly type: "address";
|
|
1941
1967
|
}];
|
|
1942
1968
|
readonly internalType: "struct Offer";
|
|
1943
1969
|
readonly name: "offer";
|
|
@@ -2011,6 +2037,10 @@ export declare const abi: readonly [{
|
|
|
2011
2037
|
readonly internalType: "bool";
|
|
2012
2038
|
readonly name: "enabled";
|
|
2013
2039
|
readonly type: "bool";
|
|
2040
|
+
}, {
|
|
2041
|
+
readonly internalType: "address";
|
|
2042
|
+
readonly name: "offerActionAccount";
|
|
2043
|
+
readonly type: "address";
|
|
2014
2044
|
}];
|
|
2015
2045
|
readonly internalType: "struct Offer";
|
|
2016
2046
|
readonly name: "offer";
|
|
@@ -2113,6 +2143,20 @@ export declare const abi: readonly [{
|
|
|
2113
2143
|
}];
|
|
2114
2144
|
readonly stateMutability: "view";
|
|
2115
2145
|
readonly type: "function";
|
|
2146
|
+
}, {
|
|
2147
|
+
readonly inputs: readonly [{
|
|
2148
|
+
readonly internalType: "uint256";
|
|
2149
|
+
readonly name: "offerId";
|
|
2150
|
+
readonly type: "uint256";
|
|
2151
|
+
}];
|
|
2152
|
+
readonly name: "getOfferActionAccount";
|
|
2153
|
+
readonly outputs: readonly [{
|
|
2154
|
+
readonly internalType: "address";
|
|
2155
|
+
readonly name: "";
|
|
2156
|
+
readonly type: "address";
|
|
2157
|
+
}];
|
|
2158
|
+
readonly stateMutability: "view";
|
|
2159
|
+
readonly type: "function";
|
|
2116
2160
|
}, {
|
|
2117
2161
|
readonly inputs: readonly [{
|
|
2118
2162
|
readonly internalType: "uint256";
|
|
@@ -2746,6 +2790,41 @@ export declare const abi: readonly [{
|
|
|
2746
2790
|
}];
|
|
2747
2791
|
readonly stateMutability: "view";
|
|
2748
2792
|
readonly type: "function";
|
|
2793
|
+
}, {
|
|
2794
|
+
readonly inputs: readonly [{
|
|
2795
|
+
readonly internalType: "uint256";
|
|
2796
|
+
readonly name: "offerId";
|
|
2797
|
+
readonly type: "uint256";
|
|
2798
|
+
}, {
|
|
2799
|
+
readonly internalType: "uint256";
|
|
2800
|
+
readonly name: "from";
|
|
2801
|
+
readonly type: "uint256";
|
|
2802
|
+
}, {
|
|
2803
|
+
readonly internalType: "uint256";
|
|
2804
|
+
readonly name: "to";
|
|
2805
|
+
readonly type: "uint256";
|
|
2806
|
+
}, {
|
|
2807
|
+
readonly components: readonly [{
|
|
2808
|
+
readonly internalType: "bool";
|
|
2809
|
+
readonly name: "includeNew";
|
|
2810
|
+
readonly type: "bool";
|
|
2811
|
+
}, {
|
|
2812
|
+
readonly internalType: "bool";
|
|
2813
|
+
readonly name: "includeDeleted";
|
|
2814
|
+
readonly type: "bool";
|
|
2815
|
+
}];
|
|
2816
|
+
readonly internalType: "struct OfferVersionFilter";
|
|
2817
|
+
readonly name: "filter";
|
|
2818
|
+
readonly type: "tuple";
|
|
2819
|
+
}];
|
|
2820
|
+
readonly name: "getOfferVersionsIdsFiltered";
|
|
2821
|
+
readonly outputs: readonly [{
|
|
2822
|
+
readonly internalType: "uint256[]";
|
|
2823
|
+
readonly name: "";
|
|
2824
|
+
readonly type: "uint256[]";
|
|
2825
|
+
}];
|
|
2826
|
+
readonly stateMutability: "view";
|
|
2827
|
+
readonly type: "function";
|
|
2749
2828
|
}, {
|
|
2750
2829
|
readonly inputs: readonly [{
|
|
2751
2830
|
readonly internalType: "enum OfferType";
|
|
@@ -2795,6 +2874,10 @@ export declare const abi: readonly [{
|
|
|
2795
2874
|
readonly internalType: "bool";
|
|
2796
2875
|
readonly name: "enabled";
|
|
2797
2876
|
readonly type: "bool";
|
|
2877
|
+
}, {
|
|
2878
|
+
readonly internalType: "address";
|
|
2879
|
+
readonly name: "offerActionAccount";
|
|
2880
|
+
readonly type: "address";
|
|
2798
2881
|
}];
|
|
2799
2882
|
readonly internalType: "struct Offer";
|
|
2800
2883
|
readonly name: "offer";
|
|
@@ -2923,6 +3006,10 @@ export declare const abi: readonly [{
|
|
|
2923
3006
|
readonly internalType: "bool";
|
|
2924
3007
|
readonly name: "enabled";
|
|
2925
3008
|
readonly type: "bool";
|
|
3009
|
+
}, {
|
|
3010
|
+
readonly internalType: "address";
|
|
3011
|
+
readonly name: "offerActionAccount";
|
|
3012
|
+
readonly type: "address";
|
|
2926
3013
|
}];
|
|
2927
3014
|
readonly internalType: "struct Offer";
|
|
2928
3015
|
readonly name: "offer";
|