@0xsequence/marketplace-sdk 2.0.0 → 2.0.2
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/CHANGELOG.md +18 -0
- package/dist/BellIcon.js +1 -1
- package/dist/Card.js +1 -1
- package/dist/ShopCard.d.ts +4 -4
- package/dist/builder-api.js +1 -1
- package/dist/collectible.js +2 -2
- package/dist/collectible.js.map +1 -1
- package/dist/collection.js +1 -1
- package/dist/create-config.d.ts +589 -193
- package/dist/create-config.js +1 -1
- package/dist/currency.js +3 -3
- package/dist/currency.js.map +1 -1
- package/dist/dist.js +167 -148
- package/dist/dist.js.map +1 -1
- package/dist/expirationDateSelect.js +1 -1
- package/dist/filter-state.d.ts +1 -1
- package/dist/filters.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index10.d.ts +1 -1
- package/dist/index11.d.ts +17 -17
- package/dist/index12.d.ts +21 -21
- package/dist/index14.d.ts +3 -3
- package/dist/index15.d.ts +3 -3
- package/dist/index16.d.ts +2 -2
- package/dist/index17.d.ts +75 -75
- package/dist/index18.d.ts +40 -40
- package/dist/index19.d.ts +5 -5
- package/dist/index2.d.ts +4 -1
- package/dist/index21.d.ts +15 -15
- package/dist/index22.d.ts +8 -65
- package/dist/index23.d.ts +21 -13
- package/dist/index26.d.ts +4 -4
- package/dist/index27.d.ts +4 -4
- package/dist/index28.d.ts +10 -10
- package/dist/index3.d.ts +2 -2194
- package/dist/index31.d.ts +5 -5
- package/dist/index33.d.ts +3 -3
- package/dist/index34.d.ts +1 -1
- package/dist/index35.d.ts +1 -1
- package/dist/index36.d.ts +5 -5
- package/dist/index37.d.ts +8 -6
- package/dist/index38.d.ts +5 -5
- package/dist/index39.d.ts +1 -1
- package/dist/index4.d.ts +1356 -1356
- package/dist/index40.d.ts +2 -2
- package/dist/index8.d.ts +11 -3
- package/dist/index9.d.ts +2811 -3
- package/dist/inventory.d.ts +4 -4
- package/dist/inventory.js +3 -3
- package/dist/inventory.js.map +1 -1
- package/dist/marketplace2.js +3 -3
- package/dist/marketplace2.js.map +1 -1
- package/dist/metadata.d.ts +41 -41
- package/dist/primary-sale-checkout-options.d.ts +4 -4
- package/dist/quantityInput.js +1 -1
- package/dist/ranges.d.ts +12 -12
- package/dist/react/_internal/index.d.ts +1 -1
- package/dist/react/_internal/index.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/queries/collectible/index.d.ts +1 -1
- package/dist/react/queries/index.d.ts +1 -1
- package/dist/react/ssr/index.d.ts +3 -3
- package/dist/react/ssr/index.js +3 -3
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +1 -1
- package/dist/react/ui/modals/CreateListingModal/internal/hooks/index.d.ts +1 -1
- package/dist/react/ui/modals/MakeOfferModal/internal/hooks/index.d.ts +1 -1
- package/dist/react/ui/modals/_internal/components/alertMessage/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/baseModal/index.d.ts +6 -6
- package/dist/react/ui/modals/_internal/components/calendar/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/currencyImage/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/currencyOptionsSelect/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/floorPriceText/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/priceInput/index.d.ts +3 -5
- package/dist/react/ui/modals/_internal/components/quantityInput/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/selectWaasFeeOptions/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/switchChainErrorModal/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/timeAgo/index.d.ts +2 -2
- package/dist/react/ui/modals/_internal/components/tokenPreview/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transaction-footer/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionDetails/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionPreview/index.d.ts +3 -3
- package/dist/react/ui/modals/_internal/components/transactionStatusModal/index.d.ts +3 -3
- package/dist/react.js +2279 -1919
- package/dist/react.js.map +1 -1
- package/dist/styles/index.css +15 -0
- package/dist/token-balances.d.ts +28 -28
- package/dist/transaction-footer.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.js +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/url-state.js +1 -1
- package/dist/utils/index.d.ts +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils.js +31 -4
- package/dist/utils.js.map +1 -1
- package/package.json +7 -5
- package/src/react/hooks/config/useMarketplaceConfig.test.tsx +1 -0
- package/src/react/hooks/currency/list.test.tsx +23 -2
- package/src/react/hooks/transactions/useCancelTransactionSteps.tsx +4 -1
- package/src/react/hooks/transactions/useMarketTransactionSteps.tsx +55 -15
- package/src/react/hooks/utils/useEnsureCorrectChain.ts +10 -5
- package/src/react/queries/collectible/market-list.ts +5 -3
- package/src/react/queries/currency/list.ts +8 -5
- package/src/react/queries/inventory/inventory.ts +5 -3
- package/src/react/queries/marketplace/filters.ts +5 -3
- package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +74 -37
- package/src/react/ui/modals/BuyModal/components/CryptoPaymentModal.tsx +74 -11
- package/src/react/ui/modals/BuyModal/components/Modal.tsx +62 -1
- package/src/react/ui/modals/BuyModal/hooks/useExecuteBundledTransactions.ts +13 -26
- package/src/react/ui/modals/BuyModal/hooks/useMarketPlatformFee.ts +5 -5
- package/src/react/ui/modals/BuyModal/internal/__tests__/buildTrailsMarketBuyActions.test.ts +213 -0
- package/src/react/ui/modals/BuyModal/internal/buildTrailsMarketBuyActions.ts +259 -0
- package/src/react/ui/modals/BuyModal/internal/buyModalContext.ts +79 -10
- package/src/react/ui/modals/BuyModal/internal/cryptoPaymentModalContext.tsx +44 -17
- package/src/react/ui/modals/CreateListingModal/internal/store.ts +5 -2
- package/src/react/ui/modals/MakeOfferModal/internal/context.ts +21 -1
- package/src/react/ui/modals/MakeOfferModal/internal/helpers/validation.ts +16 -1
- package/src/react/ui/modals/MakeOfferModal/internal/store.ts +5 -2
- package/src/react/ui/modals/SellModal/internal/store.ts +5 -2
- package/src/react/ui/modals/_internal/components/baseModal/errors/ModalInitializationError.tsx +8 -6
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +13 -19
- package/src/react/ui/modals/_internal/components/transactionDetails/index.tsx +5 -2
- package/src/react/ui/modals/_internal/helpers/currency.test.ts +27 -0
- package/src/react/ui/modals/_internal/helpers/currency.ts +4 -2
- package/src/styles/styles.ts +18 -0
- package/src/utils/__tests__/getMarketplaceDetails.test.ts +10 -0
- package/src/utils/__tests__/getWebRPCErrorMessage.test.ts +28 -0
- package/src/utils/__tests__/marketplaceNormalization.test.ts +38 -0
- package/src/utils/collection.ts +19 -0
- package/src/utils/getConduitAddressForOrderbook.ts +2 -10
- package/src/utils/getMarketplaceDetails.ts +11 -4
- package/src/utils/getWebRPCErrorMessage.ts +21 -0
- package/src/utils/index.ts +1 -0
- package/src/utils/normalizeMarketplace.ts +31 -0
package/dist/index4.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { It as Address$1, c as ContractType } from "./index2.js";
|
|
2
2
|
import { i as ERC721_SALE_ABI_V0, n as ERC1155_SALES_CONTRACT_ABI_V0, r as ERC721_SALE_ABI_V1, t as ERC1155_SALES_CONTRACT_ABI_V1 } from "./index6.js";
|
|
3
3
|
|
|
4
4
|
//#region src/react/hooks/contracts/useSalesContractABI.d.ts
|
|
@@ -61,829 +61,496 @@ declare function useSalesContractABI({
|
|
|
61
61
|
* Get the appropriate sales contract ABI based on token type and version
|
|
62
62
|
*/
|
|
63
63
|
declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: SalesContractVersion) => readonly [{
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
64
66
|
readonly inputs: readonly [];
|
|
65
|
-
readonly
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
readonly internalType: "address";
|
|
70
|
-
readonly name: "currency";
|
|
71
|
-
readonly type: "address";
|
|
72
|
-
}, {
|
|
73
|
-
readonly internalType: "uint256";
|
|
74
|
-
readonly name: "expected";
|
|
75
|
-
readonly type: "uint256";
|
|
76
|
-
}, {
|
|
77
|
-
readonly internalType: "uint256";
|
|
78
|
-
readonly name: "actual";
|
|
79
|
-
readonly type: "uint256";
|
|
80
|
-
}];
|
|
81
|
-
readonly name: "InsufficientPayment";
|
|
82
|
-
readonly type: "error";
|
|
83
|
-
}, {
|
|
84
|
-
readonly inputs: readonly [{
|
|
85
|
-
readonly internalType: "uint256";
|
|
86
|
-
readonly name: "remainingSupply";
|
|
87
|
-
readonly type: "uint256";
|
|
88
|
-
}, {
|
|
89
|
-
readonly internalType: "uint256";
|
|
90
|
-
readonly name: "amount";
|
|
91
|
-
readonly type: "uint256";
|
|
67
|
+
readonly outputs: readonly [{
|
|
68
|
+
readonly name: "";
|
|
69
|
+
readonly type: "bytes32";
|
|
70
|
+
readonly internalType: "bytes32";
|
|
92
71
|
}];
|
|
93
|
-
readonly
|
|
94
|
-
readonly type: "error";
|
|
95
|
-
}, {
|
|
96
|
-
readonly inputs: readonly [];
|
|
97
|
-
readonly name: "InvalidInitialization";
|
|
98
|
-
readonly type: "error";
|
|
99
|
-
}, {
|
|
100
|
-
readonly inputs: readonly [];
|
|
101
|
-
readonly name: "InvalidSaleDetails";
|
|
102
|
-
readonly type: "error";
|
|
103
|
-
}, {
|
|
104
|
-
readonly inputs: readonly [];
|
|
105
|
-
readonly name: "InvalidTokenIds";
|
|
106
|
-
readonly type: "error";
|
|
72
|
+
readonly stateMutability: "view";
|
|
107
73
|
}, {
|
|
74
|
+
readonly type: "function";
|
|
75
|
+
readonly name: "checkMerkleProof";
|
|
108
76
|
readonly inputs: readonly [{
|
|
109
|
-
readonly internalType: "bytes32";
|
|
110
77
|
readonly name: "root";
|
|
111
78
|
readonly type: "bytes32";
|
|
79
|
+
readonly internalType: "bytes32";
|
|
112
80
|
}, {
|
|
113
|
-
readonly internalType: "bytes32[]";
|
|
114
81
|
readonly name: "proof";
|
|
115
82
|
readonly type: "bytes32[]";
|
|
83
|
+
readonly internalType: "bytes32[]";
|
|
116
84
|
}, {
|
|
117
|
-
readonly internalType: "address";
|
|
118
85
|
readonly name: "addr";
|
|
119
86
|
readonly type: "address";
|
|
87
|
+
readonly internalType: "address";
|
|
120
88
|
}, {
|
|
121
|
-
readonly internalType: "bytes32";
|
|
122
89
|
readonly name: "salt";
|
|
123
90
|
readonly type: "bytes32";
|
|
91
|
+
readonly internalType: "bytes32";
|
|
124
92
|
}];
|
|
125
|
-
readonly
|
|
126
|
-
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "bool";
|
|
96
|
+
readonly internalType: "bool";
|
|
97
|
+
}];
|
|
98
|
+
readonly stateMutability: "view";
|
|
127
99
|
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "getRoleAdmin";
|
|
128
102
|
readonly inputs: readonly [{
|
|
129
|
-
readonly
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
103
|
+
readonly name: "role";
|
|
104
|
+
readonly type: "bytes32";
|
|
105
|
+
readonly internalType: "bytes32";
|
|
132
106
|
}];
|
|
133
|
-
readonly
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
readonly
|
|
107
|
+
readonly outputs: readonly [{
|
|
108
|
+
readonly name: "";
|
|
109
|
+
readonly type: "bytes32";
|
|
110
|
+
readonly internalType: "bytes32";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
139
113
|
}, {
|
|
140
|
-
readonly
|
|
114
|
+
readonly type: "function";
|
|
115
|
+
readonly name: "getRoleMember";
|
|
141
116
|
readonly inputs: readonly [{
|
|
142
|
-
readonly
|
|
143
|
-
readonly
|
|
144
|
-
readonly
|
|
145
|
-
readonly type: "uint256";
|
|
146
|
-
}, {
|
|
147
|
-
readonly indexed: false;
|
|
148
|
-
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "maxTokenId";
|
|
150
|
-
readonly type: "uint256";
|
|
117
|
+
readonly name: "role";
|
|
118
|
+
readonly type: "bytes32";
|
|
119
|
+
readonly internalType: "bytes32";
|
|
151
120
|
}, {
|
|
152
|
-
readonly
|
|
153
|
-
readonly internalType: "uint256";
|
|
154
|
-
readonly name: "cost";
|
|
121
|
+
readonly name: "index";
|
|
155
122
|
readonly type: "uint256";
|
|
156
|
-
}, {
|
|
157
|
-
readonly indexed: false;
|
|
158
123
|
readonly internalType: "uint256";
|
|
159
|
-
readonly name: "remainingSupply";
|
|
160
|
-
readonly type: "uint256";
|
|
161
|
-
}, {
|
|
162
|
-
readonly indexed: false;
|
|
163
|
-
readonly internalType: "uint64";
|
|
164
|
-
readonly name: "startTime";
|
|
165
|
-
readonly type: "uint64";
|
|
166
|
-
}, {
|
|
167
|
-
readonly indexed: false;
|
|
168
|
-
readonly internalType: "uint64";
|
|
169
|
-
readonly name: "endTime";
|
|
170
|
-
readonly type: "uint64";
|
|
171
|
-
}, {
|
|
172
|
-
readonly indexed: false;
|
|
173
|
-
readonly internalType: "bytes32";
|
|
174
|
-
readonly name: "merkleRoot";
|
|
175
|
-
readonly type: "bytes32";
|
|
176
124
|
}];
|
|
177
|
-
readonly
|
|
178
|
-
|
|
179
|
-
}, {
|
|
180
|
-
readonly anonymous: false;
|
|
181
|
-
readonly inputs: readonly [{
|
|
182
|
-
readonly indexed: false;
|
|
183
|
-
readonly internalType: "address";
|
|
184
|
-
readonly name: "to";
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly name: "";
|
|
185
127
|
readonly type: "address";
|
|
186
|
-
|
|
187
|
-
readonly indexed: false;
|
|
188
|
-
readonly internalType: "uint256[]";
|
|
189
|
-
readonly name: "tokenIds";
|
|
190
|
-
readonly type: "uint256[]";
|
|
191
|
-
}, {
|
|
192
|
-
readonly indexed: false;
|
|
193
|
-
readonly internalType: "uint256[]";
|
|
194
|
-
readonly name: "amounts";
|
|
195
|
-
readonly type: "uint256[]";
|
|
128
|
+
readonly internalType: "address";
|
|
196
129
|
}];
|
|
197
|
-
readonly
|
|
198
|
-
readonly type: "event";
|
|
130
|
+
readonly stateMutability: "view";
|
|
199
131
|
}, {
|
|
200
|
-
readonly
|
|
132
|
+
readonly type: "function";
|
|
133
|
+
readonly name: "getRoleMemberCount";
|
|
201
134
|
readonly inputs: readonly [{
|
|
202
|
-
readonly indexed: true;
|
|
203
|
-
readonly internalType: "bytes32";
|
|
204
135
|
readonly name: "role";
|
|
205
136
|
readonly type: "bytes32";
|
|
206
|
-
}, {
|
|
207
|
-
readonly indexed: true;
|
|
208
|
-
readonly internalType: "bytes32";
|
|
209
|
-
readonly name: "previousAdminRole";
|
|
210
|
-
readonly type: "bytes32";
|
|
211
|
-
}, {
|
|
212
|
-
readonly indexed: true;
|
|
213
137
|
readonly internalType: "bytes32";
|
|
214
|
-
readonly name: "newAdminRole";
|
|
215
|
-
readonly type: "bytes32";
|
|
216
138
|
}];
|
|
217
|
-
readonly
|
|
218
|
-
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly name: "";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
readonly internalType: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly stateMutability: "view";
|
|
219
145
|
}, {
|
|
220
|
-
readonly
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
readonly name: "grantRole";
|
|
221
148
|
readonly inputs: readonly [{
|
|
222
|
-
readonly indexed: true;
|
|
223
|
-
readonly internalType: "bytes32";
|
|
224
149
|
readonly name: "role";
|
|
225
150
|
readonly type: "bytes32";
|
|
151
|
+
readonly internalType: "bytes32";
|
|
226
152
|
}, {
|
|
227
|
-
readonly indexed: true;
|
|
228
|
-
readonly internalType: "address";
|
|
229
153
|
readonly name: "account";
|
|
230
154
|
readonly type: "address";
|
|
231
|
-
}, {
|
|
232
|
-
readonly indexed: true;
|
|
233
155
|
readonly internalType: "address";
|
|
234
|
-
readonly name: "sender";
|
|
235
|
-
readonly type: "address";
|
|
236
156
|
}];
|
|
237
|
-
readonly
|
|
238
|
-
readonly
|
|
157
|
+
readonly outputs: readonly [];
|
|
158
|
+
readonly stateMutability: "nonpayable";
|
|
239
159
|
}, {
|
|
240
|
-
readonly
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
readonly name: "hasRole";
|
|
241
162
|
readonly inputs: readonly [{
|
|
242
|
-
readonly indexed: true;
|
|
243
|
-
readonly internalType: "bytes32";
|
|
244
163
|
readonly name: "role";
|
|
245
164
|
readonly type: "bytes32";
|
|
165
|
+
readonly internalType: "bytes32";
|
|
246
166
|
}, {
|
|
247
|
-
readonly indexed: true;
|
|
248
|
-
readonly internalType: "address";
|
|
249
167
|
readonly name: "account";
|
|
250
168
|
readonly type: "address";
|
|
251
|
-
}, {
|
|
252
|
-
readonly indexed: true;
|
|
253
169
|
readonly internalType: "address";
|
|
254
|
-
readonly name: "sender";
|
|
255
|
-
readonly type: "address";
|
|
256
170
|
}];
|
|
257
|
-
readonly
|
|
258
|
-
|
|
171
|
+
readonly outputs: readonly [{
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly type: "bool";
|
|
174
|
+
readonly internalType: "bool";
|
|
175
|
+
}];
|
|
176
|
+
readonly stateMutability: "view";
|
|
259
177
|
}, {
|
|
260
|
-
readonly
|
|
178
|
+
readonly type: "function";
|
|
179
|
+
readonly name: "initialize";
|
|
261
180
|
readonly inputs: readonly [{
|
|
262
|
-
readonly
|
|
263
|
-
readonly
|
|
264
|
-
readonly
|
|
265
|
-
readonly type: "uint256";
|
|
266
|
-
}, {
|
|
267
|
-
readonly indexed: false;
|
|
268
|
-
readonly internalType: "uint256";
|
|
269
|
-
readonly name: "cost";
|
|
270
|
-
readonly type: "uint256";
|
|
271
|
-
}, {
|
|
272
|
-
readonly indexed: false;
|
|
273
|
-
readonly internalType: "uint256";
|
|
274
|
-
readonly name: "remainingSupply";
|
|
275
|
-
readonly type: "uint256";
|
|
276
|
-
}, {
|
|
277
|
-
readonly indexed: false;
|
|
278
|
-
readonly internalType: "uint64";
|
|
279
|
-
readonly name: "startTime";
|
|
280
|
-
readonly type: "uint64";
|
|
281
|
-
}, {
|
|
282
|
-
readonly indexed: false;
|
|
283
|
-
readonly internalType: "uint64";
|
|
284
|
-
readonly name: "endTime";
|
|
285
|
-
readonly type: "uint64";
|
|
181
|
+
readonly name: "owner";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
readonly internalType: "address";
|
|
286
184
|
}, {
|
|
287
|
-
readonly
|
|
288
|
-
readonly
|
|
289
|
-
readonly
|
|
290
|
-
readonly type: "bytes32";
|
|
185
|
+
readonly name: "items";
|
|
186
|
+
readonly type: "address";
|
|
187
|
+
readonly internalType: "address";
|
|
291
188
|
}];
|
|
292
|
-
readonly
|
|
293
|
-
readonly
|
|
189
|
+
readonly outputs: readonly [];
|
|
190
|
+
readonly stateMutability: "nonpayable";
|
|
294
191
|
}, {
|
|
192
|
+
readonly type: "function";
|
|
193
|
+
readonly name: "itemsContract";
|
|
295
194
|
readonly inputs: readonly [];
|
|
296
|
-
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
297
195
|
readonly outputs: readonly [{
|
|
298
|
-
readonly internalType: "bytes32";
|
|
299
196
|
readonly name: "";
|
|
300
|
-
readonly type: "
|
|
197
|
+
readonly type: "address";
|
|
198
|
+
readonly internalType: "address";
|
|
301
199
|
}];
|
|
302
200
|
readonly stateMutability: "view";
|
|
303
|
-
readonly type: "function";
|
|
304
201
|
}, {
|
|
305
|
-
readonly inputs: readonly [{
|
|
306
|
-
readonly internalType: "address";
|
|
307
|
-
readonly name: "wallet";
|
|
308
|
-
readonly type: "address";
|
|
309
|
-
}, {
|
|
310
|
-
readonly components: readonly [{
|
|
311
|
-
readonly internalType: "address";
|
|
312
|
-
readonly name: "approvedSigner";
|
|
313
|
-
readonly type: "address";
|
|
314
|
-
}, {
|
|
315
|
-
readonly internalType: "bytes4";
|
|
316
|
-
readonly name: "identityType";
|
|
317
|
-
readonly type: "bytes4";
|
|
318
|
-
}, {
|
|
319
|
-
readonly internalType: "bytes32";
|
|
320
|
-
readonly name: "issuerHash";
|
|
321
|
-
readonly type: "bytes32";
|
|
322
|
-
}, {
|
|
323
|
-
readonly internalType: "bytes32";
|
|
324
|
-
readonly name: "audienceHash";
|
|
325
|
-
readonly type: "bytes32";
|
|
326
|
-
}, {
|
|
327
|
-
readonly internalType: "bytes";
|
|
328
|
-
readonly name: "applicationData";
|
|
329
|
-
readonly type: "bytes";
|
|
330
|
-
}, {
|
|
331
|
-
readonly components: readonly [{
|
|
332
|
-
readonly internalType: "string";
|
|
333
|
-
readonly name: "redirectUrl";
|
|
334
|
-
readonly type: "string";
|
|
335
|
-
}, {
|
|
336
|
-
readonly internalType: "uint64";
|
|
337
|
-
readonly name: "issuedAt";
|
|
338
|
-
readonly type: "uint64";
|
|
339
|
-
}];
|
|
340
|
-
readonly internalType: "struct AuthData";
|
|
341
|
-
readonly name: "authData";
|
|
342
|
-
readonly type: "tuple";
|
|
343
|
-
}];
|
|
344
|
-
readonly internalType: "struct Attestation";
|
|
345
|
-
readonly name: "attestation";
|
|
346
|
-
readonly type: "tuple";
|
|
347
|
-
}, {
|
|
348
|
-
readonly components: readonly [{
|
|
349
|
-
readonly internalType: "address";
|
|
350
|
-
readonly name: "to";
|
|
351
|
-
readonly type: "address";
|
|
352
|
-
}, {
|
|
353
|
-
readonly internalType: "uint256";
|
|
354
|
-
readonly name: "value";
|
|
355
|
-
readonly type: "uint256";
|
|
356
|
-
}, {
|
|
357
|
-
readonly internalType: "bytes";
|
|
358
|
-
readonly name: "data";
|
|
359
|
-
readonly type: "bytes";
|
|
360
|
-
}, {
|
|
361
|
-
readonly internalType: "uint256";
|
|
362
|
-
readonly name: "gasLimit";
|
|
363
|
-
readonly type: "uint256";
|
|
364
|
-
}, {
|
|
365
|
-
readonly internalType: "bool";
|
|
366
|
-
readonly name: "delegateCall";
|
|
367
|
-
readonly type: "bool";
|
|
368
|
-
}, {
|
|
369
|
-
readonly internalType: "bool";
|
|
370
|
-
readonly name: "onlyFallback";
|
|
371
|
-
readonly type: "bool";
|
|
372
|
-
}, {
|
|
373
|
-
readonly internalType: "uint256";
|
|
374
|
-
readonly name: "behaviorOnError";
|
|
375
|
-
readonly type: "uint256";
|
|
376
|
-
}];
|
|
377
|
-
readonly internalType: "struct Payload.Call";
|
|
378
|
-
readonly name: "call";
|
|
379
|
-
readonly type: "tuple";
|
|
380
|
-
}];
|
|
381
|
-
readonly name: "acceptImplicitRequest";
|
|
382
|
-
readonly outputs: readonly [{
|
|
383
|
-
readonly internalType: "bytes32";
|
|
384
|
-
readonly name: "";
|
|
385
|
-
readonly type: "bytes32";
|
|
386
|
-
}];
|
|
387
|
-
readonly stateMutability: "view";
|
|
388
202
|
readonly type: "function";
|
|
389
|
-
|
|
203
|
+
readonly name: "mint";
|
|
390
204
|
readonly inputs: readonly [{
|
|
391
|
-
readonly
|
|
392
|
-
readonly
|
|
393
|
-
readonly
|
|
205
|
+
readonly name: "to";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
394
208
|
}, {
|
|
395
|
-
readonly
|
|
396
|
-
readonly
|
|
397
|
-
readonly
|
|
209
|
+
readonly name: "amount";
|
|
210
|
+
readonly type: "uint256";
|
|
211
|
+
readonly internalType: "uint256";
|
|
398
212
|
}, {
|
|
399
|
-
readonly
|
|
400
|
-
readonly name: "addr";
|
|
213
|
+
readonly name: "paymentToken";
|
|
401
214
|
readonly type: "address";
|
|
215
|
+
readonly internalType: "address";
|
|
402
216
|
}, {
|
|
403
|
-
readonly
|
|
404
|
-
readonly
|
|
405
|
-
readonly
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
readonly internalType: "
|
|
410
|
-
readonly name: "";
|
|
411
|
-
readonly type: "bool";
|
|
217
|
+
readonly name: "maxTotal";
|
|
218
|
+
readonly type: "uint256";
|
|
219
|
+
readonly internalType: "uint256";
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "proof";
|
|
222
|
+
readonly type: "bytes32[]";
|
|
223
|
+
readonly internalType: "bytes32[]";
|
|
412
224
|
}];
|
|
413
|
-
readonly
|
|
414
|
-
readonly
|
|
225
|
+
readonly outputs: readonly [];
|
|
226
|
+
readonly stateMutability: "payable";
|
|
415
227
|
}, {
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
readonly name: "renounceRole";
|
|
416
230
|
readonly inputs: readonly [{
|
|
417
|
-
readonly internalType: "bytes32";
|
|
418
231
|
readonly name: "role";
|
|
419
232
|
readonly type: "bytes32";
|
|
420
|
-
}];
|
|
421
|
-
readonly name: "getRoleAdmin";
|
|
422
|
-
readonly outputs: readonly [{
|
|
423
233
|
readonly internalType: "bytes32";
|
|
424
|
-
|
|
425
|
-
readonly
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "account";
|
|
236
|
+
readonly type: "address";
|
|
237
|
+
readonly internalType: "address";
|
|
426
238
|
}];
|
|
427
|
-
readonly
|
|
428
|
-
readonly
|
|
239
|
+
readonly outputs: readonly [];
|
|
240
|
+
readonly stateMutability: "nonpayable";
|
|
429
241
|
}, {
|
|
242
|
+
readonly type: "function";
|
|
243
|
+
readonly name: "revokeRole";
|
|
430
244
|
readonly inputs: readonly [{
|
|
431
|
-
readonly internalType: "bytes32";
|
|
432
245
|
readonly name: "role";
|
|
433
246
|
readonly type: "bytes32";
|
|
247
|
+
readonly internalType: "bytes32";
|
|
434
248
|
}, {
|
|
435
|
-
readonly
|
|
436
|
-
readonly name: "index";
|
|
437
|
-
readonly type: "uint256";
|
|
438
|
-
}];
|
|
439
|
-
readonly name: "getRoleMember";
|
|
440
|
-
readonly outputs: readonly [{
|
|
441
|
-
readonly internalType: "address";
|
|
442
|
-
readonly name: "";
|
|
249
|
+
readonly name: "account";
|
|
443
250
|
readonly type: "address";
|
|
251
|
+
readonly internalType: "address";
|
|
444
252
|
}];
|
|
445
|
-
readonly
|
|
446
|
-
readonly
|
|
253
|
+
readonly outputs: readonly [];
|
|
254
|
+
readonly stateMutability: "nonpayable";
|
|
447
255
|
}, {
|
|
448
|
-
readonly inputs: readonly [{
|
|
449
|
-
readonly internalType: "bytes32";
|
|
450
|
-
readonly name: "role";
|
|
451
|
-
readonly type: "bytes32";
|
|
452
|
-
}];
|
|
453
|
-
readonly name: "getRoleMemberCount";
|
|
454
|
-
readonly outputs: readonly [{
|
|
455
|
-
readonly internalType: "uint256";
|
|
456
|
-
readonly name: "";
|
|
457
|
-
readonly type: "uint256";
|
|
458
|
-
}];
|
|
459
|
-
readonly stateMutability: "view";
|
|
460
256
|
readonly type: "function";
|
|
461
|
-
|
|
257
|
+
readonly name: "saleDetails";
|
|
462
258
|
readonly inputs: readonly [];
|
|
463
|
-
readonly name: "globalSaleDetails";
|
|
464
259
|
readonly outputs: readonly [{
|
|
260
|
+
readonly name: "";
|
|
261
|
+
readonly type: "tuple";
|
|
262
|
+
readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
|
|
465
263
|
readonly components: readonly [{
|
|
466
|
-
readonly
|
|
467
|
-
readonly name: "minTokenId";
|
|
264
|
+
readonly name: "supplyCap";
|
|
468
265
|
readonly type: "uint256";
|
|
469
|
-
}, {
|
|
470
266
|
readonly internalType: "uint256";
|
|
471
|
-
readonly name: "maxTokenId";
|
|
472
|
-
readonly type: "uint256";
|
|
473
267
|
}, {
|
|
474
|
-
readonly internalType: "uint256";
|
|
475
268
|
readonly name: "cost";
|
|
476
269
|
readonly type: "uint256";
|
|
477
|
-
}, {
|
|
478
270
|
readonly internalType: "uint256";
|
|
479
|
-
readonly name: "remainingSupply";
|
|
480
|
-
readonly type: "uint256";
|
|
481
271
|
}, {
|
|
482
|
-
readonly
|
|
272
|
+
readonly name: "paymentToken";
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
readonly internalType: "address";
|
|
275
|
+
}, {
|
|
483
276
|
readonly name: "startTime";
|
|
484
277
|
readonly type: "uint64";
|
|
485
|
-
}, {
|
|
486
278
|
readonly internalType: "uint64";
|
|
279
|
+
}, {
|
|
487
280
|
readonly name: "endTime";
|
|
488
281
|
readonly type: "uint64";
|
|
282
|
+
readonly internalType: "uint64";
|
|
489
283
|
}, {
|
|
490
|
-
readonly internalType: "bytes32";
|
|
491
284
|
readonly name: "merkleRoot";
|
|
492
285
|
readonly type: "bytes32";
|
|
286
|
+
readonly internalType: "bytes32";
|
|
493
287
|
}];
|
|
494
|
-
readonly internalType: "struct IERC1155SaleFunctions.GlobalSaleDetails";
|
|
495
|
-
readonly name: "";
|
|
496
|
-
readonly type: "tuple";
|
|
497
288
|
}];
|
|
498
289
|
readonly stateMutability: "view";
|
|
499
|
-
readonly type: "function";
|
|
500
290
|
}, {
|
|
291
|
+
readonly type: "function";
|
|
292
|
+
readonly name: "setSaleDetails";
|
|
501
293
|
readonly inputs: readonly [{
|
|
502
|
-
readonly
|
|
503
|
-
readonly
|
|
504
|
-
readonly
|
|
294
|
+
readonly name: "supplyCap";
|
|
295
|
+
readonly type: "uint256";
|
|
296
|
+
readonly internalType: "uint256";
|
|
505
297
|
}, {
|
|
506
|
-
readonly
|
|
507
|
-
readonly
|
|
298
|
+
readonly name: "cost";
|
|
299
|
+
readonly type: "uint256";
|
|
300
|
+
readonly internalType: "uint256";
|
|
301
|
+
}, {
|
|
302
|
+
readonly name: "paymentToken";
|
|
508
303
|
readonly type: "address";
|
|
304
|
+
readonly internalType: "address";
|
|
305
|
+
}, {
|
|
306
|
+
readonly name: "startTime";
|
|
307
|
+
readonly type: "uint64";
|
|
308
|
+
readonly internalType: "uint64";
|
|
309
|
+
}, {
|
|
310
|
+
readonly name: "endTime";
|
|
311
|
+
readonly type: "uint64";
|
|
312
|
+
readonly internalType: "uint64";
|
|
313
|
+
}, {
|
|
314
|
+
readonly name: "merkleRoot";
|
|
315
|
+
readonly type: "bytes32";
|
|
316
|
+
readonly internalType: "bytes32";
|
|
509
317
|
}];
|
|
510
|
-
readonly name: "grantRole";
|
|
511
318
|
readonly outputs: readonly [];
|
|
512
319
|
readonly stateMutability: "nonpayable";
|
|
513
|
-
readonly type: "function";
|
|
514
320
|
}, {
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
readonly name: "supportsInterface";
|
|
515
323
|
readonly inputs: readonly [{
|
|
516
|
-
readonly
|
|
517
|
-
readonly
|
|
518
|
-
readonly
|
|
519
|
-
}, {
|
|
520
|
-
readonly internalType: "address";
|
|
521
|
-
readonly name: "account";
|
|
522
|
-
readonly type: "address";
|
|
324
|
+
readonly name: "interfaceId";
|
|
325
|
+
readonly type: "bytes4";
|
|
326
|
+
readonly internalType: "bytes4";
|
|
523
327
|
}];
|
|
524
|
-
readonly name: "hasRole";
|
|
525
328
|
readonly outputs: readonly [{
|
|
526
|
-
readonly internalType: "bool";
|
|
527
329
|
readonly name: "";
|
|
528
330
|
readonly type: "bool";
|
|
331
|
+
readonly internalType: "bool";
|
|
529
332
|
}];
|
|
530
333
|
readonly stateMutability: "view";
|
|
531
|
-
readonly type: "function";
|
|
532
334
|
}, {
|
|
335
|
+
readonly type: "function";
|
|
336
|
+
readonly name: "withdrawERC20";
|
|
533
337
|
readonly inputs: readonly [{
|
|
534
|
-
readonly
|
|
535
|
-
readonly name: "owner";
|
|
338
|
+
readonly name: "token";
|
|
536
339
|
readonly type: "address";
|
|
537
|
-
}, {
|
|
538
340
|
readonly internalType: "address";
|
|
539
|
-
readonly name: "items";
|
|
540
|
-
readonly type: "address";
|
|
541
341
|
}, {
|
|
542
|
-
readonly
|
|
543
|
-
readonly name: "implicitModeValidator";
|
|
342
|
+
readonly name: "to";
|
|
544
343
|
readonly type: "address";
|
|
344
|
+
readonly internalType: "address";
|
|
545
345
|
}, {
|
|
546
|
-
readonly
|
|
547
|
-
readonly
|
|
548
|
-
readonly
|
|
346
|
+
readonly name: "value";
|
|
347
|
+
readonly type: "uint256";
|
|
348
|
+
readonly internalType: "uint256";
|
|
549
349
|
}];
|
|
550
|
-
readonly name: "initialize";
|
|
551
350
|
readonly outputs: readonly [];
|
|
552
351
|
readonly stateMutability: "nonpayable";
|
|
553
|
-
readonly type: "function";
|
|
554
352
|
}, {
|
|
353
|
+
readonly type: "function";
|
|
354
|
+
readonly name: "withdrawETH";
|
|
555
355
|
readonly inputs: readonly [{
|
|
556
|
-
readonly internalType: "address";
|
|
557
356
|
readonly name: "to";
|
|
558
357
|
readonly type: "address";
|
|
559
|
-
}, {
|
|
560
|
-
readonly internalType: "uint256[]";
|
|
561
|
-
readonly name: "tokenIds";
|
|
562
|
-
readonly type: "uint256[]";
|
|
563
|
-
}, {
|
|
564
|
-
readonly internalType: "uint256[]";
|
|
565
|
-
readonly name: "amounts";
|
|
566
|
-
readonly type: "uint256[]";
|
|
567
|
-
}, {
|
|
568
|
-
readonly internalType: "bytes";
|
|
569
|
-
readonly name: "data";
|
|
570
|
-
readonly type: "bytes";
|
|
571
|
-
}, {
|
|
572
358
|
readonly internalType: "address";
|
|
573
|
-
readonly name: "expectedPaymentToken";
|
|
574
|
-
readonly type: "address";
|
|
575
359
|
}, {
|
|
576
|
-
readonly
|
|
577
|
-
readonly name: "maxTotal";
|
|
360
|
+
readonly name: "value";
|
|
578
361
|
readonly type: "uint256";
|
|
579
|
-
|
|
580
|
-
readonly internalType: "bytes32[]";
|
|
581
|
-
readonly name: "proof";
|
|
582
|
-
readonly type: "bytes32[]";
|
|
362
|
+
readonly internalType: "uint256";
|
|
583
363
|
}];
|
|
584
|
-
readonly name: "mint";
|
|
585
364
|
readonly outputs: readonly [];
|
|
586
|
-
readonly stateMutability: "
|
|
587
|
-
readonly type: "function";
|
|
365
|
+
readonly stateMutability: "nonpayable";
|
|
588
366
|
}, {
|
|
589
|
-
readonly
|
|
590
|
-
readonly name: "
|
|
591
|
-
readonly
|
|
592
|
-
readonly
|
|
593
|
-
readonly
|
|
594
|
-
readonly
|
|
367
|
+
readonly type: "event";
|
|
368
|
+
readonly name: "RoleAdminChanged";
|
|
369
|
+
readonly inputs: readonly [{
|
|
370
|
+
readonly name: "role";
|
|
371
|
+
readonly type: "bytes32";
|
|
372
|
+
readonly indexed: true;
|
|
373
|
+
readonly internalType: "bytes32";
|
|
374
|
+
}, {
|
|
375
|
+
readonly name: "previousAdminRole";
|
|
376
|
+
readonly type: "bytes32";
|
|
377
|
+
readonly indexed: true;
|
|
378
|
+
readonly internalType: "bytes32";
|
|
379
|
+
}, {
|
|
380
|
+
readonly name: "newAdminRole";
|
|
381
|
+
readonly type: "bytes32";
|
|
382
|
+
readonly indexed: true;
|
|
383
|
+
readonly internalType: "bytes32";
|
|
595
384
|
}];
|
|
596
|
-
readonly
|
|
597
|
-
readonly type: "function";
|
|
385
|
+
readonly anonymous: false;
|
|
598
386
|
}, {
|
|
387
|
+
readonly type: "event";
|
|
388
|
+
readonly name: "RoleGranted";
|
|
599
389
|
readonly inputs: readonly [{
|
|
600
|
-
readonly internalType: "bytes32";
|
|
601
390
|
readonly name: "role";
|
|
602
391
|
readonly type: "bytes32";
|
|
392
|
+
readonly indexed: true;
|
|
393
|
+
readonly internalType: "bytes32";
|
|
603
394
|
}, {
|
|
604
|
-
readonly internalType: "address";
|
|
605
395
|
readonly name: "account";
|
|
606
396
|
readonly type: "address";
|
|
397
|
+
readonly indexed: true;
|
|
398
|
+
readonly internalType: "address";
|
|
399
|
+
}, {
|
|
400
|
+
readonly name: "sender";
|
|
401
|
+
readonly type: "address";
|
|
402
|
+
readonly indexed: true;
|
|
403
|
+
readonly internalType: "address";
|
|
607
404
|
}];
|
|
608
|
-
readonly
|
|
609
|
-
readonly outputs: readonly [];
|
|
610
|
-
readonly stateMutability: "nonpayable";
|
|
611
|
-
readonly type: "function";
|
|
405
|
+
readonly anonymous: false;
|
|
612
406
|
}, {
|
|
407
|
+
readonly type: "event";
|
|
408
|
+
readonly name: "RoleRevoked";
|
|
613
409
|
readonly inputs: readonly [{
|
|
614
|
-
readonly internalType: "bytes32";
|
|
615
410
|
readonly name: "role";
|
|
616
411
|
readonly type: "bytes32";
|
|
412
|
+
readonly indexed: true;
|
|
413
|
+
readonly internalType: "bytes32";
|
|
617
414
|
}, {
|
|
618
|
-
readonly internalType: "address";
|
|
619
415
|
readonly name: "account";
|
|
620
416
|
readonly type: "address";
|
|
417
|
+
readonly indexed: true;
|
|
418
|
+
readonly internalType: "address";
|
|
419
|
+
}, {
|
|
420
|
+
readonly name: "sender";
|
|
421
|
+
readonly type: "address";
|
|
422
|
+
readonly indexed: true;
|
|
423
|
+
readonly internalType: "address";
|
|
621
424
|
}];
|
|
622
|
-
readonly
|
|
623
|
-
readonly outputs: readonly [];
|
|
624
|
-
readonly stateMutability: "nonpayable";
|
|
625
|
-
readonly type: "function";
|
|
425
|
+
readonly anonymous: false;
|
|
626
426
|
}, {
|
|
427
|
+
readonly type: "event";
|
|
428
|
+
readonly name: "SaleDetailsUpdated";
|
|
627
429
|
readonly inputs: readonly [{
|
|
628
|
-
readonly
|
|
629
|
-
readonly name: "minTokenId";
|
|
430
|
+
readonly name: "supplyCap";
|
|
630
431
|
readonly type: "uint256";
|
|
631
|
-
|
|
432
|
+
readonly indexed: false;
|
|
632
433
|
readonly internalType: "uint256";
|
|
633
|
-
readonly name: "maxTokenId";
|
|
634
|
-
readonly type: "uint256";
|
|
635
434
|
}, {
|
|
636
|
-
readonly internalType: "uint256";
|
|
637
435
|
readonly name: "cost";
|
|
638
436
|
readonly type: "uint256";
|
|
639
|
-
|
|
437
|
+
readonly indexed: false;
|
|
640
438
|
readonly internalType: "uint256";
|
|
641
|
-
readonly name: "remainingSupply";
|
|
642
|
-
readonly type: "uint256";
|
|
643
439
|
}, {
|
|
644
|
-
readonly
|
|
440
|
+
readonly name: "paymentToken";
|
|
441
|
+
readonly type: "address";
|
|
442
|
+
readonly indexed: false;
|
|
443
|
+
readonly internalType: "address";
|
|
444
|
+
}, {
|
|
645
445
|
readonly name: "startTime";
|
|
646
446
|
readonly type: "uint64";
|
|
647
|
-
|
|
447
|
+
readonly indexed: false;
|
|
648
448
|
readonly internalType: "uint64";
|
|
449
|
+
}, {
|
|
649
450
|
readonly name: "endTime";
|
|
650
451
|
readonly type: "uint64";
|
|
452
|
+
readonly indexed: false;
|
|
453
|
+
readonly internalType: "uint64";
|
|
651
454
|
}, {
|
|
652
|
-
readonly internalType: "bytes32";
|
|
653
455
|
readonly name: "merkleRoot";
|
|
654
456
|
readonly type: "bytes32";
|
|
655
|
-
|
|
656
|
-
readonly name: "setGlobalSaleDetails";
|
|
657
|
-
readonly outputs: readonly [];
|
|
658
|
-
readonly stateMutability: "nonpayable";
|
|
659
|
-
readonly type: "function";
|
|
660
|
-
}, {
|
|
661
|
-
readonly inputs: readonly [{
|
|
457
|
+
readonly indexed: false;
|
|
662
458
|
readonly internalType: "bytes32";
|
|
663
|
-
readonly name: "projectId";
|
|
664
|
-
readonly type: "bytes32";
|
|
665
459
|
}];
|
|
666
|
-
readonly
|
|
667
|
-
readonly outputs: readonly [];
|
|
668
|
-
readonly stateMutability: "nonpayable";
|
|
669
|
-
readonly type: "function";
|
|
460
|
+
readonly anonymous: false;
|
|
670
461
|
}, {
|
|
462
|
+
readonly type: "error";
|
|
463
|
+
readonly name: "InsufficientPayment";
|
|
671
464
|
readonly inputs: readonly [{
|
|
672
|
-
readonly
|
|
673
|
-
readonly name: "validator";
|
|
465
|
+
readonly name: "currency";
|
|
674
466
|
readonly type: "address";
|
|
675
|
-
}];
|
|
676
|
-
readonly name: "setImplicitModeValidator";
|
|
677
|
-
readonly outputs: readonly [];
|
|
678
|
-
readonly stateMutability: "nonpayable";
|
|
679
|
-
readonly type: "function";
|
|
680
|
-
}, {
|
|
681
|
-
readonly inputs: readonly [{
|
|
682
467
|
readonly internalType: "address";
|
|
683
|
-
|
|
684
|
-
readonly
|
|
468
|
+
}, {
|
|
469
|
+
readonly name: "expected";
|
|
470
|
+
readonly type: "uint256";
|
|
471
|
+
readonly internalType: "uint256";
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "actual";
|
|
474
|
+
readonly type: "uint256";
|
|
475
|
+
readonly internalType: "uint256";
|
|
685
476
|
}];
|
|
686
|
-
readonly name: "setPaymentToken";
|
|
687
|
-
readonly outputs: readonly [];
|
|
688
|
-
readonly stateMutability: "nonpayable";
|
|
689
|
-
readonly type: "function";
|
|
690
477
|
}, {
|
|
478
|
+
readonly type: "error";
|
|
479
|
+
readonly name: "InsufficientSupply";
|
|
691
480
|
readonly inputs: readonly [{
|
|
692
|
-
readonly
|
|
693
|
-
readonly name: "tokenId";
|
|
481
|
+
readonly name: "currentSupply";
|
|
694
482
|
readonly type: "uint256";
|
|
695
|
-
}, {
|
|
696
483
|
readonly internalType: "uint256";
|
|
697
|
-
readonly name: "cost";
|
|
698
|
-
readonly type: "uint256";
|
|
699
484
|
}, {
|
|
485
|
+
readonly name: "amount";
|
|
486
|
+
readonly type: "uint256";
|
|
700
487
|
readonly internalType: "uint256";
|
|
701
|
-
|
|
488
|
+
}, {
|
|
489
|
+
readonly name: "maxSupply";
|
|
702
490
|
readonly type: "uint256";
|
|
491
|
+
readonly internalType: "uint256";
|
|
492
|
+
}];
|
|
493
|
+
}, {
|
|
494
|
+
readonly type: "error";
|
|
495
|
+
readonly name: "InvalidInitialization";
|
|
496
|
+
readonly inputs: readonly [];
|
|
497
|
+
}, {
|
|
498
|
+
readonly type: "error";
|
|
499
|
+
readonly name: "InvalidSaleDetails";
|
|
500
|
+
readonly inputs: readonly [];
|
|
501
|
+
}, {
|
|
502
|
+
readonly type: "error";
|
|
503
|
+
readonly name: "MerkleProofInvalid";
|
|
504
|
+
readonly inputs: readonly [{
|
|
505
|
+
readonly name: "root";
|
|
506
|
+
readonly type: "bytes32";
|
|
507
|
+
readonly internalType: "bytes32";
|
|
703
508
|
}, {
|
|
704
|
-
readonly
|
|
705
|
-
readonly
|
|
706
|
-
readonly
|
|
509
|
+
readonly name: "proof";
|
|
510
|
+
readonly type: "bytes32[]";
|
|
511
|
+
readonly internalType: "bytes32[]";
|
|
707
512
|
}, {
|
|
708
|
-
readonly
|
|
709
|
-
readonly
|
|
710
|
-
readonly
|
|
513
|
+
readonly name: "addr";
|
|
514
|
+
readonly type: "address";
|
|
515
|
+
readonly internalType: "address";
|
|
711
516
|
}, {
|
|
712
|
-
readonly
|
|
713
|
-
readonly name: "merkleRoot";
|
|
517
|
+
readonly name: "salt";
|
|
714
518
|
readonly type: "bytes32";
|
|
519
|
+
readonly internalType: "bytes32";
|
|
715
520
|
}];
|
|
716
|
-
|
|
717
|
-
readonly
|
|
718
|
-
readonly
|
|
719
|
-
readonly
|
|
521
|
+
}, {
|
|
522
|
+
readonly type: "error";
|
|
523
|
+
readonly name: "SaleInactive";
|
|
524
|
+
readonly inputs: readonly [];
|
|
525
|
+
}, {
|
|
526
|
+
readonly type: "error";
|
|
527
|
+
readonly name: "WithdrawFailed";
|
|
528
|
+
readonly inputs: readonly [];
|
|
529
|
+
}] | readonly [{
|
|
530
|
+
readonly inputs: readonly [];
|
|
531
|
+
readonly name: "GlobalSaleInactive";
|
|
532
|
+
readonly type: "error";
|
|
720
533
|
}, {
|
|
721
534
|
readonly inputs: readonly [{
|
|
722
|
-
readonly internalType: "
|
|
723
|
-
readonly name: "
|
|
724
|
-
readonly type: "
|
|
535
|
+
readonly internalType: "address";
|
|
536
|
+
readonly name: "currency";
|
|
537
|
+
readonly type: "address";
|
|
725
538
|
}, {
|
|
726
|
-
readonly internalType: "uint256
|
|
727
|
-
readonly name: "
|
|
728
|
-
readonly type: "uint256
|
|
539
|
+
readonly internalType: "uint256";
|
|
540
|
+
readonly name: "expected";
|
|
541
|
+
readonly type: "uint256";
|
|
729
542
|
}, {
|
|
730
|
-
readonly internalType: "uint256
|
|
731
|
-
readonly name: "
|
|
732
|
-
readonly type: "uint256
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
readonly internalType: "
|
|
739
|
-
readonly name: "
|
|
740
|
-
readonly type: "
|
|
741
|
-
}, {
|
|
742
|
-
readonly internalType: "bytes32[]";
|
|
743
|
-
readonly name: "merkleRoots";
|
|
744
|
-
readonly type: "bytes32[]";
|
|
745
|
-
}];
|
|
746
|
-
readonly name: "setTokenSaleDetailsBatch";
|
|
747
|
-
readonly outputs: readonly [];
|
|
748
|
-
readonly stateMutability: "nonpayable";
|
|
749
|
-
readonly type: "function";
|
|
750
|
-
}, {
|
|
751
|
-
readonly inputs: readonly [{
|
|
752
|
-
readonly internalType: "bytes4";
|
|
753
|
-
readonly name: "interfaceId";
|
|
754
|
-
readonly type: "bytes4";
|
|
755
|
-
}];
|
|
756
|
-
readonly name: "supportsInterface";
|
|
757
|
-
readonly outputs: readonly [{
|
|
758
|
-
readonly internalType: "bool";
|
|
759
|
-
readonly name: "";
|
|
760
|
-
readonly type: "bool";
|
|
761
|
-
}];
|
|
762
|
-
readonly stateMutability: "view";
|
|
763
|
-
readonly type: "function";
|
|
764
|
-
}, {
|
|
765
|
-
readonly inputs: readonly [{
|
|
766
|
-
readonly internalType: "uint256";
|
|
767
|
-
readonly name: "tokenId";
|
|
768
|
-
readonly type: "uint256";
|
|
769
|
-
}];
|
|
770
|
-
readonly name: "tokenSaleDetails";
|
|
771
|
-
readonly outputs: readonly [{
|
|
772
|
-
readonly components: readonly [{
|
|
773
|
-
readonly internalType: "uint256";
|
|
774
|
-
readonly name: "cost";
|
|
775
|
-
readonly type: "uint256";
|
|
776
|
-
}, {
|
|
777
|
-
readonly internalType: "uint256";
|
|
778
|
-
readonly name: "remainingSupply";
|
|
779
|
-
readonly type: "uint256";
|
|
780
|
-
}, {
|
|
781
|
-
readonly internalType: "uint64";
|
|
782
|
-
readonly name: "startTime";
|
|
783
|
-
readonly type: "uint64";
|
|
784
|
-
}, {
|
|
785
|
-
readonly internalType: "uint64";
|
|
786
|
-
readonly name: "endTime";
|
|
787
|
-
readonly type: "uint64";
|
|
788
|
-
}, {
|
|
789
|
-
readonly internalType: "bytes32";
|
|
790
|
-
readonly name: "merkleRoot";
|
|
791
|
-
readonly type: "bytes32";
|
|
792
|
-
}];
|
|
793
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
794
|
-
readonly name: "";
|
|
795
|
-
readonly type: "tuple";
|
|
796
|
-
}];
|
|
797
|
-
readonly stateMutability: "view";
|
|
798
|
-
readonly type: "function";
|
|
799
|
-
}, {
|
|
800
|
-
readonly inputs: readonly [{
|
|
801
|
-
readonly internalType: "uint256[]";
|
|
802
|
-
readonly name: "tokenIds";
|
|
803
|
-
readonly type: "uint256[]";
|
|
804
|
-
}];
|
|
805
|
-
readonly name: "tokenSaleDetailsBatch";
|
|
806
|
-
readonly outputs: readonly [{
|
|
807
|
-
readonly components: readonly [{
|
|
808
|
-
readonly internalType: "uint256";
|
|
809
|
-
readonly name: "cost";
|
|
810
|
-
readonly type: "uint256";
|
|
811
|
-
}, {
|
|
812
|
-
readonly internalType: "uint256";
|
|
813
|
-
readonly name: "remainingSupply";
|
|
814
|
-
readonly type: "uint256";
|
|
815
|
-
}, {
|
|
816
|
-
readonly internalType: "uint64";
|
|
817
|
-
readonly name: "startTime";
|
|
818
|
-
readonly type: "uint64";
|
|
819
|
-
}, {
|
|
820
|
-
readonly internalType: "uint64";
|
|
821
|
-
readonly name: "endTime";
|
|
822
|
-
readonly type: "uint64";
|
|
823
|
-
}, {
|
|
824
|
-
readonly internalType: "bytes32";
|
|
825
|
-
readonly name: "merkleRoot";
|
|
826
|
-
readonly type: "bytes32";
|
|
827
|
-
}];
|
|
828
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails[]";
|
|
829
|
-
readonly name: "";
|
|
830
|
-
readonly type: "tuple[]";
|
|
831
|
-
}];
|
|
832
|
-
readonly stateMutability: "view";
|
|
833
|
-
readonly type: "function";
|
|
834
|
-
}, {
|
|
835
|
-
readonly inputs: readonly [{
|
|
836
|
-
readonly internalType: "address";
|
|
837
|
-
readonly name: "token";
|
|
838
|
-
readonly type: "address";
|
|
839
|
-
}, {
|
|
840
|
-
readonly internalType: "address";
|
|
841
|
-
readonly name: "to";
|
|
842
|
-
readonly type: "address";
|
|
843
|
-
}, {
|
|
844
|
-
readonly internalType: "uint256";
|
|
845
|
-
readonly name: "value";
|
|
846
|
-
readonly type: "uint256";
|
|
847
|
-
}];
|
|
848
|
-
readonly name: "withdrawERC20";
|
|
849
|
-
readonly outputs: readonly [];
|
|
850
|
-
readonly stateMutability: "nonpayable";
|
|
851
|
-
readonly type: "function";
|
|
852
|
-
}, {
|
|
853
|
-
readonly inputs: readonly [{
|
|
854
|
-
readonly internalType: "address";
|
|
855
|
-
readonly name: "to";
|
|
856
|
-
readonly type: "address";
|
|
857
|
-
}, {
|
|
858
|
-
readonly internalType: "uint256";
|
|
859
|
-
readonly name: "value";
|
|
860
|
-
readonly type: "uint256";
|
|
861
|
-
}];
|
|
862
|
-
readonly name: "withdrawETH";
|
|
863
|
-
readonly outputs: readonly [];
|
|
864
|
-
readonly stateMutability: "nonpayable";
|
|
865
|
-
readonly type: "function";
|
|
866
|
-
}] | readonly [{
|
|
867
|
-
readonly inputs: readonly [{
|
|
868
|
-
readonly internalType: "address";
|
|
869
|
-
readonly name: "currency";
|
|
870
|
-
readonly type: "address";
|
|
871
|
-
}, {
|
|
872
|
-
readonly internalType: "uint256";
|
|
873
|
-
readonly name: "expected";
|
|
874
|
-
readonly type: "uint256";
|
|
875
|
-
}, {
|
|
876
|
-
readonly internalType: "uint256";
|
|
877
|
-
readonly name: "actual";
|
|
878
|
-
readonly type: "uint256";
|
|
879
|
-
}];
|
|
880
|
-
readonly name: "InsufficientPayment";
|
|
881
|
-
readonly type: "error";
|
|
882
|
-
}, {
|
|
883
|
-
readonly inputs: readonly [{
|
|
884
|
-
readonly internalType: "uint256";
|
|
885
|
-
readonly name: "remainingSupply";
|
|
886
|
-
readonly type: "uint256";
|
|
543
|
+
readonly internalType: "uint256";
|
|
544
|
+
readonly name: "actual";
|
|
545
|
+
readonly type: "uint256";
|
|
546
|
+
}];
|
|
547
|
+
readonly name: "InsufficientPayment";
|
|
548
|
+
readonly type: "error";
|
|
549
|
+
}, {
|
|
550
|
+
readonly inputs: readonly [{
|
|
551
|
+
readonly internalType: "uint256";
|
|
552
|
+
readonly name: "remainingSupply";
|
|
553
|
+
readonly type: "uint256";
|
|
887
554
|
}, {
|
|
888
555
|
readonly internalType: "uint256";
|
|
889
556
|
readonly name: "amount";
|
|
@@ -899,6 +566,10 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
899
566
|
readonly inputs: readonly [];
|
|
900
567
|
readonly name: "InvalidSaleDetails";
|
|
901
568
|
readonly type: "error";
|
|
569
|
+
}, {
|
|
570
|
+
readonly inputs: readonly [];
|
|
571
|
+
readonly name: "InvalidTokenIds";
|
|
572
|
+
readonly type: "error";
|
|
902
573
|
}, {
|
|
903
574
|
readonly inputs: readonly [{
|
|
904
575
|
readonly internalType: "bytes32";
|
|
@@ -920,13 +591,57 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
920
591
|
readonly name: "MerkleProofInvalid";
|
|
921
592
|
readonly type: "error";
|
|
922
593
|
}, {
|
|
923
|
-
readonly inputs: readonly [
|
|
594
|
+
readonly inputs: readonly [{
|
|
595
|
+
readonly internalType: "uint256";
|
|
596
|
+
readonly name: "tokenId";
|
|
597
|
+
readonly type: "uint256";
|
|
598
|
+
}];
|
|
924
599
|
readonly name: "SaleInactive";
|
|
925
600
|
readonly type: "error";
|
|
926
601
|
}, {
|
|
927
602
|
readonly inputs: readonly [];
|
|
928
603
|
readonly name: "WithdrawFailed";
|
|
929
604
|
readonly type: "error";
|
|
605
|
+
}, {
|
|
606
|
+
readonly anonymous: false;
|
|
607
|
+
readonly inputs: readonly [{
|
|
608
|
+
readonly indexed: false;
|
|
609
|
+
readonly internalType: "uint256";
|
|
610
|
+
readonly name: "minTokenId";
|
|
611
|
+
readonly type: "uint256";
|
|
612
|
+
}, {
|
|
613
|
+
readonly indexed: false;
|
|
614
|
+
readonly internalType: "uint256";
|
|
615
|
+
readonly name: "maxTokenId";
|
|
616
|
+
readonly type: "uint256";
|
|
617
|
+
}, {
|
|
618
|
+
readonly indexed: false;
|
|
619
|
+
readonly internalType: "uint256";
|
|
620
|
+
readonly name: "cost";
|
|
621
|
+
readonly type: "uint256";
|
|
622
|
+
}, {
|
|
623
|
+
readonly indexed: false;
|
|
624
|
+
readonly internalType: "uint256";
|
|
625
|
+
readonly name: "remainingSupply";
|
|
626
|
+
readonly type: "uint256";
|
|
627
|
+
}, {
|
|
628
|
+
readonly indexed: false;
|
|
629
|
+
readonly internalType: "uint64";
|
|
630
|
+
readonly name: "startTime";
|
|
631
|
+
readonly type: "uint64";
|
|
632
|
+
}, {
|
|
633
|
+
readonly indexed: false;
|
|
634
|
+
readonly internalType: "uint64";
|
|
635
|
+
readonly name: "endTime";
|
|
636
|
+
readonly type: "uint64";
|
|
637
|
+
}, {
|
|
638
|
+
readonly indexed: false;
|
|
639
|
+
readonly internalType: "bytes32";
|
|
640
|
+
readonly name: "merkleRoot";
|
|
641
|
+
readonly type: "bytes32";
|
|
642
|
+
}];
|
|
643
|
+
readonly name: "GlobalSaleDetailsUpdated";
|
|
644
|
+
readonly type: "event";
|
|
930
645
|
}, {
|
|
931
646
|
readonly anonymous: false;
|
|
932
647
|
readonly inputs: readonly [{
|
|
@@ -936,9 +651,14 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
936
651
|
readonly type: "address";
|
|
937
652
|
}, {
|
|
938
653
|
readonly indexed: false;
|
|
939
|
-
readonly internalType: "uint256";
|
|
940
|
-
readonly name: "
|
|
941
|
-
readonly type: "uint256";
|
|
654
|
+
readonly internalType: "uint256[]";
|
|
655
|
+
readonly name: "tokenIds";
|
|
656
|
+
readonly type: "uint256[]";
|
|
657
|
+
}, {
|
|
658
|
+
readonly indexed: false;
|
|
659
|
+
readonly internalType: "uint256[]";
|
|
660
|
+
readonly name: "amounts";
|
|
661
|
+
readonly type: "uint256[]";
|
|
942
662
|
}];
|
|
943
663
|
readonly name: "ItemsMinted";
|
|
944
664
|
readonly type: "event";
|
|
@@ -1007,7 +727,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1007
727
|
readonly inputs: readonly [{
|
|
1008
728
|
readonly indexed: false;
|
|
1009
729
|
readonly internalType: "uint256";
|
|
1010
|
-
readonly name: "
|
|
730
|
+
readonly name: "tokenId";
|
|
1011
731
|
readonly type: "uint256";
|
|
1012
732
|
}, {
|
|
1013
733
|
readonly indexed: false;
|
|
@@ -1016,9 +736,9 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1016
736
|
readonly type: "uint256";
|
|
1017
737
|
}, {
|
|
1018
738
|
readonly indexed: false;
|
|
1019
|
-
readonly internalType: "
|
|
1020
|
-
readonly name: "
|
|
1021
|
-
readonly type: "
|
|
739
|
+
readonly internalType: "uint256";
|
|
740
|
+
readonly name: "remainingSupply";
|
|
741
|
+
readonly type: "uint256";
|
|
1022
742
|
}, {
|
|
1023
743
|
readonly indexed: false;
|
|
1024
744
|
readonly internalType: "uint64";
|
|
@@ -1035,7 +755,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1035
755
|
readonly name: "merkleRoot";
|
|
1036
756
|
readonly type: "bytes32";
|
|
1037
757
|
}];
|
|
1038
|
-
readonly name: "
|
|
758
|
+
readonly name: "TokenSaleDetailsUpdated";
|
|
1039
759
|
readonly type: "event";
|
|
1040
760
|
}, {
|
|
1041
761
|
readonly inputs: readonly [];
|
|
@@ -1205,39 +925,78 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1205
925
|
readonly stateMutability: "view";
|
|
1206
926
|
readonly type: "function";
|
|
1207
927
|
}, {
|
|
1208
|
-
readonly inputs: readonly [
|
|
1209
|
-
|
|
1210
|
-
readonly name: "role";
|
|
1211
|
-
readonly type: "bytes32";
|
|
1212
|
-
}, {
|
|
1213
|
-
readonly internalType: "address";
|
|
1214
|
-
readonly name: "account";
|
|
1215
|
-
readonly type: "address";
|
|
1216
|
-
}];
|
|
1217
|
-
readonly name: "grantRole";
|
|
1218
|
-
readonly outputs: readonly [];
|
|
1219
|
-
readonly stateMutability: "nonpayable";
|
|
1220
|
-
readonly type: "function";
|
|
1221
|
-
}, {
|
|
1222
|
-
readonly inputs: readonly [{
|
|
1223
|
-
readonly internalType: "bytes32";
|
|
1224
|
-
readonly name: "role";
|
|
1225
|
-
readonly type: "bytes32";
|
|
1226
|
-
}, {
|
|
1227
|
-
readonly internalType: "address";
|
|
1228
|
-
readonly name: "account";
|
|
1229
|
-
readonly type: "address";
|
|
1230
|
-
}];
|
|
1231
|
-
readonly name: "hasRole";
|
|
928
|
+
readonly inputs: readonly [];
|
|
929
|
+
readonly name: "globalSaleDetails";
|
|
1232
930
|
readonly outputs: readonly [{
|
|
1233
|
-
readonly
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
931
|
+
readonly components: readonly [{
|
|
932
|
+
readonly internalType: "uint256";
|
|
933
|
+
readonly name: "minTokenId";
|
|
934
|
+
readonly type: "uint256";
|
|
935
|
+
}, {
|
|
936
|
+
readonly internalType: "uint256";
|
|
937
|
+
readonly name: "maxTokenId";
|
|
938
|
+
readonly type: "uint256";
|
|
939
|
+
}, {
|
|
940
|
+
readonly internalType: "uint256";
|
|
941
|
+
readonly name: "cost";
|
|
942
|
+
readonly type: "uint256";
|
|
943
|
+
}, {
|
|
944
|
+
readonly internalType: "uint256";
|
|
945
|
+
readonly name: "remainingSupply";
|
|
946
|
+
readonly type: "uint256";
|
|
947
|
+
}, {
|
|
948
|
+
readonly internalType: "uint64";
|
|
949
|
+
readonly name: "startTime";
|
|
950
|
+
readonly type: "uint64";
|
|
951
|
+
}, {
|
|
952
|
+
readonly internalType: "uint64";
|
|
953
|
+
readonly name: "endTime";
|
|
954
|
+
readonly type: "uint64";
|
|
955
|
+
}, {
|
|
956
|
+
readonly internalType: "bytes32";
|
|
957
|
+
readonly name: "merkleRoot";
|
|
958
|
+
readonly type: "bytes32";
|
|
959
|
+
}];
|
|
960
|
+
readonly internalType: "struct IERC1155SaleFunctions.GlobalSaleDetails";
|
|
961
|
+
readonly name: "";
|
|
962
|
+
readonly type: "tuple";
|
|
963
|
+
}];
|
|
964
|
+
readonly stateMutability: "view";
|
|
965
|
+
readonly type: "function";
|
|
966
|
+
}, {
|
|
967
|
+
readonly inputs: readonly [{
|
|
968
|
+
readonly internalType: "bytes32";
|
|
969
|
+
readonly name: "role";
|
|
970
|
+
readonly type: "bytes32";
|
|
971
|
+
}, {
|
|
972
|
+
readonly internalType: "address";
|
|
973
|
+
readonly name: "account";
|
|
974
|
+
readonly type: "address";
|
|
975
|
+
}];
|
|
976
|
+
readonly name: "grantRole";
|
|
977
|
+
readonly outputs: readonly [];
|
|
978
|
+
readonly stateMutability: "nonpayable";
|
|
979
|
+
readonly type: "function";
|
|
980
|
+
}, {
|
|
981
|
+
readonly inputs: readonly [{
|
|
982
|
+
readonly internalType: "bytes32";
|
|
983
|
+
readonly name: "role";
|
|
984
|
+
readonly type: "bytes32";
|
|
985
|
+
}, {
|
|
986
|
+
readonly internalType: "address";
|
|
987
|
+
readonly name: "account";
|
|
988
|
+
readonly type: "address";
|
|
989
|
+
}];
|
|
990
|
+
readonly name: "hasRole";
|
|
991
|
+
readonly outputs: readonly [{
|
|
992
|
+
readonly internalType: "bool";
|
|
993
|
+
readonly name: "";
|
|
994
|
+
readonly type: "bool";
|
|
995
|
+
}];
|
|
996
|
+
readonly stateMutability: "view";
|
|
997
|
+
readonly type: "function";
|
|
998
|
+
}, {
|
|
999
|
+
readonly inputs: readonly [{
|
|
1241
1000
|
readonly internalType: "address";
|
|
1242
1001
|
readonly name: "owner";
|
|
1243
1002
|
readonly type: "address";
|
|
@@ -1258,28 +1017,26 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1258
1017
|
readonly outputs: readonly [];
|
|
1259
1018
|
readonly stateMutability: "nonpayable";
|
|
1260
1019
|
readonly type: "function";
|
|
1261
|
-
}, {
|
|
1262
|
-
readonly inputs: readonly [];
|
|
1263
|
-
readonly name: "itemsContract";
|
|
1264
|
-
readonly outputs: readonly [{
|
|
1265
|
-
readonly internalType: "address";
|
|
1266
|
-
readonly name: "";
|
|
1267
|
-
readonly type: "address";
|
|
1268
|
-
}];
|
|
1269
|
-
readonly stateMutability: "view";
|
|
1270
|
-
readonly type: "function";
|
|
1271
1020
|
}, {
|
|
1272
1021
|
readonly inputs: readonly [{
|
|
1273
1022
|
readonly internalType: "address";
|
|
1274
1023
|
readonly name: "to";
|
|
1275
1024
|
readonly type: "address";
|
|
1276
1025
|
}, {
|
|
1277
|
-
readonly internalType: "uint256";
|
|
1278
|
-
readonly name: "
|
|
1279
|
-
readonly type: "uint256";
|
|
1026
|
+
readonly internalType: "uint256[]";
|
|
1027
|
+
readonly name: "tokenIds";
|
|
1028
|
+
readonly type: "uint256[]";
|
|
1029
|
+
}, {
|
|
1030
|
+
readonly internalType: "uint256[]";
|
|
1031
|
+
readonly name: "amounts";
|
|
1032
|
+
readonly type: "uint256[]";
|
|
1033
|
+
}, {
|
|
1034
|
+
readonly internalType: "bytes";
|
|
1035
|
+
readonly name: "data";
|
|
1036
|
+
readonly type: "bytes";
|
|
1280
1037
|
}, {
|
|
1281
1038
|
readonly internalType: "address";
|
|
1282
|
-
readonly name: "
|
|
1039
|
+
readonly name: "expectedPaymentToken";
|
|
1283
1040
|
readonly type: "address";
|
|
1284
1041
|
}, {
|
|
1285
1042
|
readonly internalType: "uint256";
|
|
@@ -1294,6 +1051,16 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1294
1051
|
readonly outputs: readonly [];
|
|
1295
1052
|
readonly stateMutability: "payable";
|
|
1296
1053
|
readonly type: "function";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly inputs: readonly [];
|
|
1056
|
+
readonly name: "paymentToken";
|
|
1057
|
+
readonly outputs: readonly [{
|
|
1058
|
+
readonly internalType: "address";
|
|
1059
|
+
readonly name: "";
|
|
1060
|
+
readonly type: "address";
|
|
1061
|
+
}];
|
|
1062
|
+
readonly stateMutability: "view";
|
|
1063
|
+
readonly type: "function";
|
|
1297
1064
|
}, {
|
|
1298
1065
|
readonly inputs: readonly [{
|
|
1299
1066
|
readonly internalType: "bytes32";
|
|
@@ -1323,39 +1090,38 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1323
1090
|
readonly stateMutability: "nonpayable";
|
|
1324
1091
|
readonly type: "function";
|
|
1325
1092
|
}, {
|
|
1326
|
-
readonly inputs: readonly [
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
readonly
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
|
|
1355
|
-
readonly name: "";
|
|
1356
|
-
readonly type: "tuple";
|
|
1093
|
+
readonly inputs: readonly [{
|
|
1094
|
+
readonly internalType: "uint256";
|
|
1095
|
+
readonly name: "minTokenId";
|
|
1096
|
+
readonly type: "uint256";
|
|
1097
|
+
}, {
|
|
1098
|
+
readonly internalType: "uint256";
|
|
1099
|
+
readonly name: "maxTokenId";
|
|
1100
|
+
readonly type: "uint256";
|
|
1101
|
+
}, {
|
|
1102
|
+
readonly internalType: "uint256";
|
|
1103
|
+
readonly name: "cost";
|
|
1104
|
+
readonly type: "uint256";
|
|
1105
|
+
}, {
|
|
1106
|
+
readonly internalType: "uint256";
|
|
1107
|
+
readonly name: "remainingSupply";
|
|
1108
|
+
readonly type: "uint256";
|
|
1109
|
+
}, {
|
|
1110
|
+
readonly internalType: "uint64";
|
|
1111
|
+
readonly name: "startTime";
|
|
1112
|
+
readonly type: "uint64";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly internalType: "uint64";
|
|
1115
|
+
readonly name: "endTime";
|
|
1116
|
+
readonly type: "uint64";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly internalType: "bytes32";
|
|
1119
|
+
readonly name: "merkleRoot";
|
|
1120
|
+
readonly type: "bytes32";
|
|
1357
1121
|
}];
|
|
1358
|
-
readonly
|
|
1122
|
+
readonly name: "setGlobalSaleDetails";
|
|
1123
|
+
readonly outputs: readonly [];
|
|
1124
|
+
readonly stateMutability: "nonpayable";
|
|
1359
1125
|
readonly type: "function";
|
|
1360
1126
|
}, {
|
|
1361
1127
|
readonly inputs: readonly [{
|
|
@@ -1377,19 +1143,29 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1377
1143
|
readonly outputs: readonly [];
|
|
1378
1144
|
readonly stateMutability: "nonpayable";
|
|
1379
1145
|
readonly type: "function";
|
|
1146
|
+
}, {
|
|
1147
|
+
readonly inputs: readonly [{
|
|
1148
|
+
readonly internalType: "address";
|
|
1149
|
+
readonly name: "paymentTokenAddr";
|
|
1150
|
+
readonly type: "address";
|
|
1151
|
+
}];
|
|
1152
|
+
readonly name: "setPaymentToken";
|
|
1153
|
+
readonly outputs: readonly [];
|
|
1154
|
+
readonly stateMutability: "nonpayable";
|
|
1155
|
+
readonly type: "function";
|
|
1380
1156
|
}, {
|
|
1381
1157
|
readonly inputs: readonly [{
|
|
1382
1158
|
readonly internalType: "uint256";
|
|
1383
|
-
readonly name: "
|
|
1159
|
+
readonly name: "tokenId";
|
|
1384
1160
|
readonly type: "uint256";
|
|
1385
1161
|
}, {
|
|
1386
1162
|
readonly internalType: "uint256";
|
|
1387
1163
|
readonly name: "cost";
|
|
1388
1164
|
readonly type: "uint256";
|
|
1389
1165
|
}, {
|
|
1390
|
-
readonly internalType: "
|
|
1391
|
-
readonly name: "
|
|
1392
|
-
readonly type: "
|
|
1166
|
+
readonly internalType: "uint256";
|
|
1167
|
+
readonly name: "remainingSupply";
|
|
1168
|
+
readonly type: "uint256";
|
|
1393
1169
|
}, {
|
|
1394
1170
|
readonly internalType: "uint64";
|
|
1395
1171
|
readonly name: "startTime";
|
|
@@ -1403,7 +1179,37 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1403
1179
|
readonly name: "merkleRoot";
|
|
1404
1180
|
readonly type: "bytes32";
|
|
1405
1181
|
}];
|
|
1406
|
-
readonly name: "
|
|
1182
|
+
readonly name: "setTokenSaleDetails";
|
|
1183
|
+
readonly outputs: readonly [];
|
|
1184
|
+
readonly stateMutability: "nonpayable";
|
|
1185
|
+
readonly type: "function";
|
|
1186
|
+
}, {
|
|
1187
|
+
readonly inputs: readonly [{
|
|
1188
|
+
readonly internalType: "uint256[]";
|
|
1189
|
+
readonly name: "tokenIds";
|
|
1190
|
+
readonly type: "uint256[]";
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly internalType: "uint256[]";
|
|
1193
|
+
readonly name: "costs";
|
|
1194
|
+
readonly type: "uint256[]";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly internalType: "uint256[]";
|
|
1197
|
+
readonly name: "remainingSupplies";
|
|
1198
|
+
readonly type: "uint256[]";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly internalType: "uint64[]";
|
|
1201
|
+
readonly name: "startTimes";
|
|
1202
|
+
readonly type: "uint64[]";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly internalType: "uint64[]";
|
|
1205
|
+
readonly name: "endTimes";
|
|
1206
|
+
readonly type: "uint64[]";
|
|
1207
|
+
}, {
|
|
1208
|
+
readonly internalType: "bytes32[]";
|
|
1209
|
+
readonly name: "merkleRoots";
|
|
1210
|
+
readonly type: "bytes32[]";
|
|
1211
|
+
}];
|
|
1212
|
+
readonly name: "setTokenSaleDetailsBatch";
|
|
1407
1213
|
readonly outputs: readonly [];
|
|
1408
1214
|
readonly stateMutability: "nonpayable";
|
|
1409
1215
|
readonly type: "function";
|
|
@@ -1423,704 +1229,696 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1423
1229
|
readonly type: "function";
|
|
1424
1230
|
}, {
|
|
1425
1231
|
readonly inputs: readonly [{
|
|
1426
|
-
readonly internalType: "address";
|
|
1427
|
-
readonly name: "token";
|
|
1428
|
-
readonly type: "address";
|
|
1429
|
-
}, {
|
|
1430
|
-
readonly internalType: "address";
|
|
1431
|
-
readonly name: "to";
|
|
1432
|
-
readonly type: "address";
|
|
1433
|
-
}, {
|
|
1434
|
-
readonly internalType: "uint256";
|
|
1435
|
-
readonly name: "value";
|
|
1436
|
-
readonly type: "uint256";
|
|
1437
|
-
}];
|
|
1438
|
-
readonly name: "withdrawERC20";
|
|
1439
|
-
readonly outputs: readonly [];
|
|
1440
|
-
readonly stateMutability: "nonpayable";
|
|
1441
|
-
readonly type: "function";
|
|
1442
|
-
}, {
|
|
1443
|
-
readonly inputs: readonly [{
|
|
1444
|
-
readonly internalType: "address";
|
|
1445
|
-
readonly name: "to";
|
|
1446
|
-
readonly type: "address";
|
|
1447
|
-
}, {
|
|
1448
1232
|
readonly internalType: "uint256";
|
|
1449
|
-
readonly name: "
|
|
1233
|
+
readonly name: "tokenId";
|
|
1450
1234
|
readonly type: "uint256";
|
|
1451
1235
|
}];
|
|
1452
|
-
readonly name: "
|
|
1453
|
-
readonly outputs: readonly [];
|
|
1454
|
-
readonly stateMutability: "nonpayable";
|
|
1455
|
-
readonly type: "function";
|
|
1456
|
-
}] | readonly [{
|
|
1457
|
-
readonly type: "function";
|
|
1458
|
-
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1459
|
-
readonly inputs: readonly [];
|
|
1460
|
-
readonly outputs: readonly [{
|
|
1461
|
-
readonly name: "";
|
|
1462
|
-
readonly type: "bytes32";
|
|
1463
|
-
readonly internalType: "bytes32";
|
|
1464
|
-
}];
|
|
1465
|
-
readonly stateMutability: "view";
|
|
1466
|
-
}, {
|
|
1467
|
-
readonly type: "function";
|
|
1468
|
-
readonly name: "checkMerkleProof";
|
|
1469
|
-
readonly inputs: readonly [{
|
|
1470
|
-
readonly name: "root";
|
|
1471
|
-
readonly type: "bytes32";
|
|
1472
|
-
readonly internalType: "bytes32";
|
|
1473
|
-
}, {
|
|
1474
|
-
readonly name: "proof";
|
|
1475
|
-
readonly type: "bytes32[]";
|
|
1476
|
-
readonly internalType: "bytes32[]";
|
|
1477
|
-
}, {
|
|
1478
|
-
readonly name: "addr";
|
|
1479
|
-
readonly type: "address";
|
|
1480
|
-
readonly internalType: "address";
|
|
1481
|
-
}, {
|
|
1482
|
-
readonly name: "salt";
|
|
1483
|
-
readonly type: "bytes32";
|
|
1484
|
-
readonly internalType: "bytes32";
|
|
1485
|
-
}];
|
|
1486
|
-
readonly outputs: readonly [{
|
|
1487
|
-
readonly name: "";
|
|
1488
|
-
readonly type: "bool";
|
|
1489
|
-
readonly internalType: "bool";
|
|
1490
|
-
}];
|
|
1491
|
-
readonly stateMutability: "view";
|
|
1492
|
-
}, {
|
|
1493
|
-
readonly type: "function";
|
|
1494
|
-
readonly name: "getRoleAdmin";
|
|
1495
|
-
readonly inputs: readonly [{
|
|
1496
|
-
readonly name: "role";
|
|
1497
|
-
readonly type: "bytes32";
|
|
1498
|
-
readonly internalType: "bytes32";
|
|
1499
|
-
}];
|
|
1236
|
+
readonly name: "tokenSaleDetails";
|
|
1500
1237
|
readonly outputs: readonly [{
|
|
1238
|
+
readonly components: readonly [{
|
|
1239
|
+
readonly internalType: "uint256";
|
|
1240
|
+
readonly name: "cost";
|
|
1241
|
+
readonly type: "uint256";
|
|
1242
|
+
}, {
|
|
1243
|
+
readonly internalType: "uint256";
|
|
1244
|
+
readonly name: "remainingSupply";
|
|
1245
|
+
readonly type: "uint256";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly internalType: "uint64";
|
|
1248
|
+
readonly name: "startTime";
|
|
1249
|
+
readonly type: "uint64";
|
|
1250
|
+
}, {
|
|
1251
|
+
readonly internalType: "uint64";
|
|
1252
|
+
readonly name: "endTime";
|
|
1253
|
+
readonly type: "uint64";
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly internalType: "bytes32";
|
|
1256
|
+
readonly name: "merkleRoot";
|
|
1257
|
+
readonly type: "bytes32";
|
|
1258
|
+
}];
|
|
1259
|
+
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
1501
1260
|
readonly name: "";
|
|
1502
|
-
readonly type: "
|
|
1503
|
-
readonly internalType: "bytes32";
|
|
1261
|
+
readonly type: "tuple";
|
|
1504
1262
|
}];
|
|
1505
1263
|
readonly stateMutability: "view";
|
|
1506
|
-
}, {
|
|
1507
1264
|
readonly type: "function";
|
|
1508
|
-
readonly name: "getRoleMember";
|
|
1509
|
-
readonly inputs: readonly [{
|
|
1510
|
-
readonly name: "role";
|
|
1511
|
-
readonly type: "bytes32";
|
|
1512
|
-
readonly internalType: "bytes32";
|
|
1513
|
-
}, {
|
|
1514
|
-
readonly name: "index";
|
|
1515
|
-
readonly type: "uint256";
|
|
1516
|
-
readonly internalType: "uint256";
|
|
1517
|
-
}];
|
|
1518
|
-
readonly outputs: readonly [{
|
|
1519
|
-
readonly name: "";
|
|
1520
|
-
readonly type: "address";
|
|
1521
|
-
readonly internalType: "address";
|
|
1522
|
-
}];
|
|
1523
|
-
readonly stateMutability: "view";
|
|
1524
1265
|
}, {
|
|
1525
|
-
readonly type: "function";
|
|
1526
|
-
readonly name: "getRoleMemberCount";
|
|
1527
1266
|
readonly inputs: readonly [{
|
|
1528
|
-
readonly
|
|
1529
|
-
readonly
|
|
1530
|
-
readonly
|
|
1531
|
-
}];
|
|
1532
|
-
readonly outputs: readonly [{
|
|
1533
|
-
readonly name: "";
|
|
1534
|
-
readonly type: "uint256";
|
|
1535
|
-
readonly internalType: "uint256";
|
|
1267
|
+
readonly internalType: "uint256[]";
|
|
1268
|
+
readonly name: "tokenIds";
|
|
1269
|
+
readonly type: "uint256[]";
|
|
1536
1270
|
}];
|
|
1537
|
-
readonly
|
|
1538
|
-
}, {
|
|
1539
|
-
readonly type: "function";
|
|
1540
|
-
readonly name: "globalSaleDetails";
|
|
1541
|
-
readonly inputs: readonly [];
|
|
1271
|
+
readonly name: "tokenSaleDetailsBatch";
|
|
1542
1272
|
readonly outputs: readonly [{
|
|
1543
|
-
readonly name: "";
|
|
1544
|
-
readonly type: "tuple";
|
|
1545
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
1546
1273
|
readonly components: readonly [{
|
|
1274
|
+
readonly internalType: "uint256";
|
|
1547
1275
|
readonly name: "cost";
|
|
1548
1276
|
readonly type: "uint256";
|
|
1549
|
-
readonly internalType: "uint256";
|
|
1550
1277
|
}, {
|
|
1551
|
-
readonly name: "supplyCap";
|
|
1552
|
-
readonly type: "uint256";
|
|
1553
1278
|
readonly internalType: "uint256";
|
|
1279
|
+
readonly name: "remainingSupply";
|
|
1280
|
+
readonly type: "uint256";
|
|
1554
1281
|
}, {
|
|
1282
|
+
readonly internalType: "uint64";
|
|
1555
1283
|
readonly name: "startTime";
|
|
1556
1284
|
readonly type: "uint64";
|
|
1557
|
-
readonly internalType: "uint64";
|
|
1558
1285
|
}, {
|
|
1286
|
+
readonly internalType: "uint64";
|
|
1559
1287
|
readonly name: "endTime";
|
|
1560
1288
|
readonly type: "uint64";
|
|
1561
|
-
readonly internalType: "uint64";
|
|
1562
1289
|
}, {
|
|
1290
|
+
readonly internalType: "bytes32";
|
|
1563
1291
|
readonly name: "merkleRoot";
|
|
1564
1292
|
readonly type: "bytes32";
|
|
1565
|
-
readonly internalType: "bytes32";
|
|
1566
1293
|
}];
|
|
1294
|
+
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails[]";
|
|
1295
|
+
readonly name: "";
|
|
1296
|
+
readonly type: "tuple[]";
|
|
1567
1297
|
}];
|
|
1568
1298
|
readonly stateMutability: "view";
|
|
1569
|
-
}, {
|
|
1570
1299
|
readonly type: "function";
|
|
1571
|
-
|
|
1300
|
+
}, {
|
|
1572
1301
|
readonly inputs: readonly [{
|
|
1573
|
-
readonly
|
|
1574
|
-
readonly
|
|
1575
|
-
readonly internalType: "bytes32";
|
|
1576
|
-
}, {
|
|
1577
|
-
readonly name: "account";
|
|
1302
|
+
readonly internalType: "address";
|
|
1303
|
+
readonly name: "token";
|
|
1578
1304
|
readonly type: "address";
|
|
1305
|
+
}, {
|
|
1579
1306
|
readonly internalType: "address";
|
|
1307
|
+
readonly name: "to";
|
|
1308
|
+
readonly type: "address";
|
|
1309
|
+
}, {
|
|
1310
|
+
readonly internalType: "uint256";
|
|
1311
|
+
readonly name: "value";
|
|
1312
|
+
readonly type: "uint256";
|
|
1580
1313
|
}];
|
|
1314
|
+
readonly name: "withdrawERC20";
|
|
1581
1315
|
readonly outputs: readonly [];
|
|
1582
1316
|
readonly stateMutability: "nonpayable";
|
|
1583
|
-
}, {
|
|
1584
1317
|
readonly type: "function";
|
|
1585
|
-
readonly name: "hasRole";
|
|
1586
|
-
readonly inputs: readonly [{
|
|
1587
|
-
readonly name: "role";
|
|
1588
|
-
readonly type: "bytes32";
|
|
1589
|
-
readonly internalType: "bytes32";
|
|
1590
|
-
}, {
|
|
1591
|
-
readonly name: "account";
|
|
1592
|
-
readonly type: "address";
|
|
1593
|
-
readonly internalType: "address";
|
|
1594
|
-
}];
|
|
1595
|
-
readonly outputs: readonly [{
|
|
1596
|
-
readonly name: "";
|
|
1597
|
-
readonly type: "bool";
|
|
1598
|
-
readonly internalType: "bool";
|
|
1599
|
-
}];
|
|
1600
|
-
readonly stateMutability: "view";
|
|
1601
1318
|
}, {
|
|
1602
|
-
readonly type: "function";
|
|
1603
|
-
readonly name: "initialize";
|
|
1604
1319
|
readonly inputs: readonly [{
|
|
1605
|
-
readonly name: "owner";
|
|
1606
|
-
readonly type: "address";
|
|
1607
1320
|
readonly internalType: "address";
|
|
1608
|
-
|
|
1609
|
-
readonly name: "items";
|
|
1321
|
+
readonly name: "to";
|
|
1610
1322
|
readonly type: "address";
|
|
1611
|
-
|
|
1323
|
+
}, {
|
|
1324
|
+
readonly internalType: "uint256";
|
|
1325
|
+
readonly name: "value";
|
|
1326
|
+
readonly type: "uint256";
|
|
1612
1327
|
}];
|
|
1328
|
+
readonly name: "withdrawETH";
|
|
1613
1329
|
readonly outputs: readonly [];
|
|
1614
1330
|
readonly stateMutability: "nonpayable";
|
|
1615
|
-
}, {
|
|
1616
1331
|
readonly type: "function";
|
|
1617
|
-
|
|
1332
|
+
}] | readonly [{
|
|
1618
1333
|
readonly inputs: readonly [{
|
|
1619
|
-
readonly name: "to";
|
|
1620
|
-
readonly type: "address";
|
|
1621
1334
|
readonly internalType: "address";
|
|
1622
|
-
|
|
1623
|
-
readonly name: "tokenIds";
|
|
1624
|
-
readonly type: "uint256[]";
|
|
1625
|
-
readonly internalType: "uint256[]";
|
|
1626
|
-
}, {
|
|
1627
|
-
readonly name: "amounts";
|
|
1628
|
-
readonly type: "uint256[]";
|
|
1629
|
-
readonly internalType: "uint256[]";
|
|
1630
|
-
}, {
|
|
1631
|
-
readonly name: "data";
|
|
1632
|
-
readonly type: "bytes";
|
|
1633
|
-
readonly internalType: "bytes";
|
|
1634
|
-
}, {
|
|
1635
|
-
readonly name: "expectedPaymentToken";
|
|
1335
|
+
readonly name: "currency";
|
|
1636
1336
|
readonly type: "address";
|
|
1637
|
-
readonly internalType: "address";
|
|
1638
1337
|
}, {
|
|
1639
|
-
readonly name: "maxTotal";
|
|
1640
|
-
readonly type: "uint256";
|
|
1641
1338
|
readonly internalType: "uint256";
|
|
1339
|
+
readonly name: "expected";
|
|
1340
|
+
readonly type: "uint256";
|
|
1642
1341
|
}, {
|
|
1643
|
-
readonly
|
|
1644
|
-
readonly
|
|
1645
|
-
readonly
|
|
1646
|
-
}];
|
|
1647
|
-
readonly outputs: readonly [];
|
|
1648
|
-
readonly stateMutability: "payable";
|
|
1649
|
-
}, {
|
|
1650
|
-
readonly type: "function";
|
|
1651
|
-
readonly name: "paymentToken";
|
|
1652
|
-
readonly inputs: readonly [];
|
|
1653
|
-
readonly outputs: readonly [{
|
|
1654
|
-
readonly name: "";
|
|
1655
|
-
readonly type: "address";
|
|
1656
|
-
readonly internalType: "address";
|
|
1342
|
+
readonly internalType: "uint256";
|
|
1343
|
+
readonly name: "actual";
|
|
1344
|
+
readonly type: "uint256";
|
|
1657
1345
|
}];
|
|
1658
|
-
readonly
|
|
1346
|
+
readonly name: "InsufficientPayment";
|
|
1347
|
+
readonly type: "error";
|
|
1659
1348
|
}, {
|
|
1660
|
-
readonly type: "function";
|
|
1661
|
-
readonly name: "renounceRole";
|
|
1662
1349
|
readonly inputs: readonly [{
|
|
1663
|
-
readonly
|
|
1664
|
-
readonly
|
|
1665
|
-
readonly
|
|
1350
|
+
readonly internalType: "uint256";
|
|
1351
|
+
readonly name: "remainingSupply";
|
|
1352
|
+
readonly type: "uint256";
|
|
1666
1353
|
}, {
|
|
1667
|
-
readonly
|
|
1668
|
-
readonly
|
|
1669
|
-
readonly
|
|
1354
|
+
readonly internalType: "uint256";
|
|
1355
|
+
readonly name: "amount";
|
|
1356
|
+
readonly type: "uint256";
|
|
1670
1357
|
}];
|
|
1671
|
-
readonly
|
|
1672
|
-
readonly
|
|
1358
|
+
readonly name: "InsufficientSupply";
|
|
1359
|
+
readonly type: "error";
|
|
1360
|
+
}, {
|
|
1361
|
+
readonly inputs: readonly [];
|
|
1362
|
+
readonly name: "InvalidInitialization";
|
|
1363
|
+
readonly type: "error";
|
|
1364
|
+
}, {
|
|
1365
|
+
readonly inputs: readonly [];
|
|
1366
|
+
readonly name: "InvalidSaleDetails";
|
|
1367
|
+
readonly type: "error";
|
|
1673
1368
|
}, {
|
|
1674
|
-
readonly type: "function";
|
|
1675
|
-
readonly name: "revokeRole";
|
|
1676
1369
|
readonly inputs: readonly [{
|
|
1677
|
-
readonly name: "role";
|
|
1678
|
-
readonly type: "bytes32";
|
|
1679
1370
|
readonly internalType: "bytes32";
|
|
1371
|
+
readonly name: "root";
|
|
1372
|
+
readonly type: "bytes32";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly internalType: "bytes32[]";
|
|
1375
|
+
readonly name: "proof";
|
|
1376
|
+
readonly type: "bytes32[]";
|
|
1680
1377
|
}, {
|
|
1681
|
-
readonly name: "account";
|
|
1682
|
-
readonly type: "address";
|
|
1683
1378
|
readonly internalType: "address";
|
|
1379
|
+
readonly name: "addr";
|
|
1380
|
+
readonly type: "address";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly internalType: "bytes32";
|
|
1383
|
+
readonly name: "salt";
|
|
1384
|
+
readonly type: "bytes32";
|
|
1684
1385
|
}];
|
|
1685
|
-
readonly
|
|
1686
|
-
readonly
|
|
1386
|
+
readonly name: "MerkleProofInvalid";
|
|
1387
|
+
readonly type: "error";
|
|
1687
1388
|
}, {
|
|
1688
|
-
readonly
|
|
1689
|
-
readonly name: "
|
|
1389
|
+
readonly inputs: readonly [];
|
|
1390
|
+
readonly name: "SaleInactive";
|
|
1391
|
+
readonly type: "error";
|
|
1392
|
+
}, {
|
|
1393
|
+
readonly inputs: readonly [];
|
|
1394
|
+
readonly name: "WithdrawFailed";
|
|
1395
|
+
readonly type: "error";
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly anonymous: false;
|
|
1690
1398
|
readonly inputs: readonly [{
|
|
1691
|
-
readonly
|
|
1692
|
-
readonly
|
|
1693
|
-
readonly
|
|
1399
|
+
readonly indexed: false;
|
|
1400
|
+
readonly internalType: "address";
|
|
1401
|
+
readonly name: "to";
|
|
1402
|
+
readonly type: "address";
|
|
1694
1403
|
}, {
|
|
1695
|
-
readonly
|
|
1696
|
-
readonly type: "uint256";
|
|
1404
|
+
readonly indexed: false;
|
|
1697
1405
|
readonly internalType: "uint256";
|
|
1406
|
+
readonly name: "amount";
|
|
1407
|
+
readonly type: "uint256";
|
|
1408
|
+
}];
|
|
1409
|
+
readonly name: "ItemsMinted";
|
|
1410
|
+
readonly type: "event";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly anonymous: false;
|
|
1413
|
+
readonly inputs: readonly [{
|
|
1414
|
+
readonly indexed: true;
|
|
1415
|
+
readonly internalType: "bytes32";
|
|
1416
|
+
readonly name: "role";
|
|
1417
|
+
readonly type: "bytes32";
|
|
1698
1418
|
}, {
|
|
1699
|
-
readonly
|
|
1700
|
-
readonly
|
|
1701
|
-
readonly
|
|
1702
|
-
|
|
1703
|
-
readonly name: "endTime";
|
|
1704
|
-
readonly type: "uint64";
|
|
1705
|
-
readonly internalType: "uint64";
|
|
1419
|
+
readonly indexed: true;
|
|
1420
|
+
readonly internalType: "bytes32";
|
|
1421
|
+
readonly name: "previousAdminRole";
|
|
1422
|
+
readonly type: "bytes32";
|
|
1706
1423
|
}, {
|
|
1707
|
-
readonly
|
|
1424
|
+
readonly indexed: true;
|
|
1425
|
+
readonly internalType: "bytes32";
|
|
1426
|
+
readonly name: "newAdminRole";
|
|
1708
1427
|
readonly type: "bytes32";
|
|
1428
|
+
}];
|
|
1429
|
+
readonly name: "RoleAdminChanged";
|
|
1430
|
+
readonly type: "event";
|
|
1431
|
+
}, {
|
|
1432
|
+
readonly anonymous: false;
|
|
1433
|
+
readonly inputs: readonly [{
|
|
1434
|
+
readonly indexed: true;
|
|
1709
1435
|
readonly internalType: "bytes32";
|
|
1436
|
+
readonly name: "role";
|
|
1437
|
+
readonly type: "bytes32";
|
|
1438
|
+
}, {
|
|
1439
|
+
readonly indexed: true;
|
|
1440
|
+
readonly internalType: "address";
|
|
1441
|
+
readonly name: "account";
|
|
1442
|
+
readonly type: "address";
|
|
1443
|
+
}, {
|
|
1444
|
+
readonly indexed: true;
|
|
1445
|
+
readonly internalType: "address";
|
|
1446
|
+
readonly name: "sender";
|
|
1447
|
+
readonly type: "address";
|
|
1710
1448
|
}];
|
|
1711
|
-
readonly
|
|
1712
|
-
readonly
|
|
1449
|
+
readonly name: "RoleGranted";
|
|
1450
|
+
readonly type: "event";
|
|
1713
1451
|
}, {
|
|
1714
|
-
readonly
|
|
1715
|
-
readonly name: "setPaymentToken";
|
|
1452
|
+
readonly anonymous: false;
|
|
1716
1453
|
readonly inputs: readonly [{
|
|
1717
|
-
readonly
|
|
1454
|
+
readonly indexed: true;
|
|
1455
|
+
readonly internalType: "bytes32";
|
|
1456
|
+
readonly name: "role";
|
|
1457
|
+
readonly type: "bytes32";
|
|
1458
|
+
}, {
|
|
1459
|
+
readonly indexed: true;
|
|
1460
|
+
readonly internalType: "address";
|
|
1461
|
+
readonly name: "account";
|
|
1718
1462
|
readonly type: "address";
|
|
1463
|
+
}, {
|
|
1464
|
+
readonly indexed: true;
|
|
1719
1465
|
readonly internalType: "address";
|
|
1466
|
+
readonly name: "sender";
|
|
1467
|
+
readonly type: "address";
|
|
1720
1468
|
}];
|
|
1721
|
-
readonly
|
|
1722
|
-
readonly
|
|
1469
|
+
readonly name: "RoleRevoked";
|
|
1470
|
+
readonly type: "event";
|
|
1723
1471
|
}, {
|
|
1724
|
-
readonly
|
|
1725
|
-
readonly name: "setTokenSaleDetails";
|
|
1472
|
+
readonly anonymous: false;
|
|
1726
1473
|
readonly inputs: readonly [{
|
|
1727
|
-
readonly
|
|
1728
|
-
readonly type: "uint256";
|
|
1474
|
+
readonly indexed: false;
|
|
1729
1475
|
readonly internalType: "uint256";
|
|
1476
|
+
readonly name: "remainingSupply";
|
|
1477
|
+
readonly type: "uint256";
|
|
1730
1478
|
}, {
|
|
1479
|
+
readonly indexed: false;
|
|
1480
|
+
readonly internalType: "uint256";
|
|
1731
1481
|
readonly name: "cost";
|
|
1732
1482
|
readonly type: "uint256";
|
|
1733
|
-
readonly internalType: "uint256";
|
|
1734
1483
|
}, {
|
|
1735
|
-
readonly
|
|
1736
|
-
readonly
|
|
1737
|
-
readonly
|
|
1484
|
+
readonly indexed: false;
|
|
1485
|
+
readonly internalType: "address";
|
|
1486
|
+
readonly name: "paymentToken";
|
|
1487
|
+
readonly type: "address";
|
|
1738
1488
|
}, {
|
|
1489
|
+
readonly indexed: false;
|
|
1490
|
+
readonly internalType: "uint64";
|
|
1739
1491
|
readonly name: "startTime";
|
|
1740
1492
|
readonly type: "uint64";
|
|
1741
|
-
readonly internalType: "uint64";
|
|
1742
1493
|
}, {
|
|
1494
|
+
readonly indexed: false;
|
|
1495
|
+
readonly internalType: "uint64";
|
|
1743
1496
|
readonly name: "endTime";
|
|
1744
1497
|
readonly type: "uint64";
|
|
1745
|
-
readonly internalType: "uint64";
|
|
1746
1498
|
}, {
|
|
1499
|
+
readonly indexed: false;
|
|
1500
|
+
readonly internalType: "bytes32";
|
|
1747
1501
|
readonly name: "merkleRoot";
|
|
1748
1502
|
readonly type: "bytes32";
|
|
1749
|
-
readonly internalType: "bytes32";
|
|
1750
1503
|
}];
|
|
1751
|
-
readonly
|
|
1752
|
-
readonly
|
|
1504
|
+
readonly name: "SaleDetailsUpdated";
|
|
1505
|
+
readonly type: "event";
|
|
1753
1506
|
}, {
|
|
1507
|
+
readonly inputs: readonly [];
|
|
1508
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1509
|
+
readonly outputs: readonly [{
|
|
1510
|
+
readonly internalType: "bytes32";
|
|
1511
|
+
readonly name: "";
|
|
1512
|
+
readonly type: "bytes32";
|
|
1513
|
+
}];
|
|
1514
|
+
readonly stateMutability: "view";
|
|
1754
1515
|
readonly type: "function";
|
|
1755
|
-
|
|
1516
|
+
}, {
|
|
1756
1517
|
readonly inputs: readonly [{
|
|
1757
|
-
readonly
|
|
1758
|
-
readonly
|
|
1759
|
-
readonly
|
|
1518
|
+
readonly internalType: "address";
|
|
1519
|
+
readonly name: "wallet";
|
|
1520
|
+
readonly type: "address";
|
|
1760
1521
|
}, {
|
|
1761
|
-
readonly
|
|
1762
|
-
|
|
1763
|
-
|
|
1522
|
+
readonly components: readonly [{
|
|
1523
|
+
readonly internalType: "address";
|
|
1524
|
+
readonly name: "approvedSigner";
|
|
1525
|
+
readonly type: "address";
|
|
1526
|
+
}, {
|
|
1527
|
+
readonly internalType: "bytes4";
|
|
1528
|
+
readonly name: "identityType";
|
|
1529
|
+
readonly type: "bytes4";
|
|
1530
|
+
}, {
|
|
1531
|
+
readonly internalType: "bytes32";
|
|
1532
|
+
readonly name: "issuerHash";
|
|
1533
|
+
readonly type: "bytes32";
|
|
1534
|
+
}, {
|
|
1535
|
+
readonly internalType: "bytes32";
|
|
1536
|
+
readonly name: "audienceHash";
|
|
1537
|
+
readonly type: "bytes32";
|
|
1538
|
+
}, {
|
|
1539
|
+
readonly internalType: "bytes";
|
|
1540
|
+
readonly name: "applicationData";
|
|
1541
|
+
readonly type: "bytes";
|
|
1542
|
+
}, {
|
|
1543
|
+
readonly components: readonly [{
|
|
1544
|
+
readonly internalType: "string";
|
|
1545
|
+
readonly name: "redirectUrl";
|
|
1546
|
+
readonly type: "string";
|
|
1547
|
+
}, {
|
|
1548
|
+
readonly internalType: "uint64";
|
|
1549
|
+
readonly name: "issuedAt";
|
|
1550
|
+
readonly type: "uint64";
|
|
1551
|
+
}];
|
|
1552
|
+
readonly internalType: "struct AuthData";
|
|
1553
|
+
readonly name: "authData";
|
|
1554
|
+
readonly type: "tuple";
|
|
1555
|
+
}];
|
|
1556
|
+
readonly internalType: "struct Attestation";
|
|
1557
|
+
readonly name: "attestation";
|
|
1558
|
+
readonly type: "tuple";
|
|
1764
1559
|
}, {
|
|
1765
|
-
readonly
|
|
1766
|
-
|
|
1767
|
-
|
|
1560
|
+
readonly components: readonly [{
|
|
1561
|
+
readonly internalType: "address";
|
|
1562
|
+
readonly name: "to";
|
|
1563
|
+
readonly type: "address";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly internalType: "uint256";
|
|
1566
|
+
readonly name: "value";
|
|
1567
|
+
readonly type: "uint256";
|
|
1568
|
+
}, {
|
|
1569
|
+
readonly internalType: "bytes";
|
|
1570
|
+
readonly name: "data";
|
|
1571
|
+
readonly type: "bytes";
|
|
1572
|
+
}, {
|
|
1573
|
+
readonly internalType: "uint256";
|
|
1574
|
+
readonly name: "gasLimit";
|
|
1575
|
+
readonly type: "uint256";
|
|
1576
|
+
}, {
|
|
1577
|
+
readonly internalType: "bool";
|
|
1578
|
+
readonly name: "delegateCall";
|
|
1579
|
+
readonly type: "bool";
|
|
1580
|
+
}, {
|
|
1581
|
+
readonly internalType: "bool";
|
|
1582
|
+
readonly name: "onlyFallback";
|
|
1583
|
+
readonly type: "bool";
|
|
1584
|
+
}, {
|
|
1585
|
+
readonly internalType: "uint256";
|
|
1586
|
+
readonly name: "behaviorOnError";
|
|
1587
|
+
readonly type: "uint256";
|
|
1588
|
+
}];
|
|
1589
|
+
readonly internalType: "struct Payload.Call";
|
|
1590
|
+
readonly name: "call";
|
|
1591
|
+
readonly type: "tuple";
|
|
1592
|
+
}];
|
|
1593
|
+
readonly name: "acceptImplicitRequest";
|
|
1594
|
+
readonly outputs: readonly [{
|
|
1595
|
+
readonly internalType: "bytes32";
|
|
1596
|
+
readonly name: "";
|
|
1597
|
+
readonly type: "bytes32";
|
|
1598
|
+
}];
|
|
1599
|
+
readonly stateMutability: "view";
|
|
1600
|
+
readonly type: "function";
|
|
1601
|
+
}, {
|
|
1602
|
+
readonly inputs: readonly [{
|
|
1603
|
+
readonly internalType: "bytes32";
|
|
1604
|
+
readonly name: "root";
|
|
1605
|
+
readonly type: "bytes32";
|
|
1768
1606
|
}, {
|
|
1769
|
-
readonly
|
|
1770
|
-
readonly
|
|
1771
|
-
readonly
|
|
1607
|
+
readonly internalType: "bytes32[]";
|
|
1608
|
+
readonly name: "proof";
|
|
1609
|
+
readonly type: "bytes32[]";
|
|
1772
1610
|
}, {
|
|
1773
|
-
readonly
|
|
1774
|
-
readonly
|
|
1775
|
-
readonly
|
|
1611
|
+
readonly internalType: "address";
|
|
1612
|
+
readonly name: "addr";
|
|
1613
|
+
readonly type: "address";
|
|
1776
1614
|
}, {
|
|
1777
|
-
readonly
|
|
1778
|
-
readonly
|
|
1779
|
-
readonly
|
|
1615
|
+
readonly internalType: "bytes32";
|
|
1616
|
+
readonly name: "salt";
|
|
1617
|
+
readonly type: "bytes32";
|
|
1780
1618
|
}];
|
|
1781
|
-
readonly
|
|
1782
|
-
readonly
|
|
1783
|
-
|
|
1619
|
+
readonly name: "checkMerkleProof";
|
|
1620
|
+
readonly outputs: readonly [{
|
|
1621
|
+
readonly internalType: "bool";
|
|
1622
|
+
readonly name: "";
|
|
1623
|
+
readonly type: "bool";
|
|
1624
|
+
}];
|
|
1625
|
+
readonly stateMutability: "view";
|
|
1784
1626
|
readonly type: "function";
|
|
1785
|
-
|
|
1627
|
+
}, {
|
|
1786
1628
|
readonly inputs: readonly [{
|
|
1787
|
-
readonly
|
|
1788
|
-
readonly
|
|
1789
|
-
readonly
|
|
1629
|
+
readonly internalType: "bytes32";
|
|
1630
|
+
readonly name: "role";
|
|
1631
|
+
readonly type: "bytes32";
|
|
1790
1632
|
}];
|
|
1633
|
+
readonly name: "getRoleAdmin";
|
|
1791
1634
|
readonly outputs: readonly [{
|
|
1635
|
+
readonly internalType: "bytes32";
|
|
1792
1636
|
readonly name: "";
|
|
1793
|
-
readonly type: "
|
|
1794
|
-
readonly internalType: "bool";
|
|
1637
|
+
readonly type: "bytes32";
|
|
1795
1638
|
}];
|
|
1796
1639
|
readonly stateMutability: "view";
|
|
1797
|
-
}, {
|
|
1798
1640
|
readonly type: "function";
|
|
1799
|
-
|
|
1641
|
+
}, {
|
|
1800
1642
|
readonly inputs: readonly [{
|
|
1801
|
-
readonly
|
|
1802
|
-
readonly
|
|
1643
|
+
readonly internalType: "bytes32";
|
|
1644
|
+
readonly name: "role";
|
|
1645
|
+
readonly type: "bytes32";
|
|
1646
|
+
}, {
|
|
1803
1647
|
readonly internalType: "uint256";
|
|
1648
|
+
readonly name: "index";
|
|
1649
|
+
readonly type: "uint256";
|
|
1804
1650
|
}];
|
|
1651
|
+
readonly name: "getRoleMember";
|
|
1805
1652
|
readonly outputs: readonly [{
|
|
1653
|
+
readonly internalType: "address";
|
|
1806
1654
|
readonly name: "";
|
|
1807
|
-
readonly type: "
|
|
1808
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
1809
|
-
readonly components: readonly [{
|
|
1810
|
-
readonly name: "cost";
|
|
1811
|
-
readonly type: "uint256";
|
|
1812
|
-
readonly internalType: "uint256";
|
|
1813
|
-
}, {
|
|
1814
|
-
readonly name: "supplyCap";
|
|
1815
|
-
readonly type: "uint256";
|
|
1816
|
-
readonly internalType: "uint256";
|
|
1817
|
-
}, {
|
|
1818
|
-
readonly name: "startTime";
|
|
1819
|
-
readonly type: "uint64";
|
|
1820
|
-
readonly internalType: "uint64";
|
|
1821
|
-
}, {
|
|
1822
|
-
readonly name: "endTime";
|
|
1823
|
-
readonly type: "uint64";
|
|
1824
|
-
readonly internalType: "uint64";
|
|
1825
|
-
}, {
|
|
1826
|
-
readonly name: "merkleRoot";
|
|
1827
|
-
readonly type: "bytes32";
|
|
1828
|
-
readonly internalType: "bytes32";
|
|
1829
|
-
}];
|
|
1655
|
+
readonly type: "address";
|
|
1830
1656
|
}];
|
|
1831
1657
|
readonly stateMutability: "view";
|
|
1832
|
-
}, {
|
|
1833
1658
|
readonly type: "function";
|
|
1834
|
-
|
|
1659
|
+
}, {
|
|
1835
1660
|
readonly inputs: readonly [{
|
|
1836
|
-
readonly
|
|
1837
|
-
readonly
|
|
1838
|
-
readonly
|
|
1661
|
+
readonly internalType: "bytes32";
|
|
1662
|
+
readonly name: "role";
|
|
1663
|
+
readonly type: "bytes32";
|
|
1839
1664
|
}];
|
|
1665
|
+
readonly name: "getRoleMemberCount";
|
|
1840
1666
|
readonly outputs: readonly [{
|
|
1667
|
+
readonly internalType: "uint256";
|
|
1841
1668
|
readonly name: "";
|
|
1842
|
-
readonly type: "
|
|
1843
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails[]";
|
|
1844
|
-
readonly components: readonly [{
|
|
1845
|
-
readonly name: "cost";
|
|
1846
|
-
readonly type: "uint256";
|
|
1847
|
-
readonly internalType: "uint256";
|
|
1848
|
-
}, {
|
|
1849
|
-
readonly name: "supplyCap";
|
|
1850
|
-
readonly type: "uint256";
|
|
1851
|
-
readonly internalType: "uint256";
|
|
1852
|
-
}, {
|
|
1853
|
-
readonly name: "startTime";
|
|
1854
|
-
readonly type: "uint64";
|
|
1855
|
-
readonly internalType: "uint64";
|
|
1856
|
-
}, {
|
|
1857
|
-
readonly name: "endTime";
|
|
1858
|
-
readonly type: "uint64";
|
|
1859
|
-
readonly internalType: "uint64";
|
|
1860
|
-
}, {
|
|
1861
|
-
readonly name: "merkleRoot";
|
|
1862
|
-
readonly type: "bytes32";
|
|
1863
|
-
readonly internalType: "bytes32";
|
|
1864
|
-
}];
|
|
1669
|
+
readonly type: "uint256";
|
|
1865
1670
|
}];
|
|
1866
1671
|
readonly stateMutability: "view";
|
|
1867
|
-
}, {
|
|
1868
1672
|
readonly type: "function";
|
|
1869
|
-
|
|
1673
|
+
}, {
|
|
1870
1674
|
readonly inputs: readonly [{
|
|
1871
|
-
readonly
|
|
1872
|
-
readonly
|
|
1873
|
-
readonly
|
|
1675
|
+
readonly internalType: "bytes32";
|
|
1676
|
+
readonly name: "role";
|
|
1677
|
+
readonly type: "bytes32";
|
|
1874
1678
|
}, {
|
|
1875
|
-
readonly name: "to";
|
|
1876
|
-
readonly type: "address";
|
|
1877
1679
|
readonly internalType: "address";
|
|
1878
|
-
|
|
1879
|
-
readonly
|
|
1880
|
-
readonly type: "uint256";
|
|
1881
|
-
readonly internalType: "uint256";
|
|
1680
|
+
readonly name: "account";
|
|
1681
|
+
readonly type: "address";
|
|
1882
1682
|
}];
|
|
1683
|
+
readonly name: "grantRole";
|
|
1883
1684
|
readonly outputs: readonly [];
|
|
1884
1685
|
readonly stateMutability: "nonpayable";
|
|
1885
|
-
}, {
|
|
1886
1686
|
readonly type: "function";
|
|
1887
|
-
|
|
1687
|
+
}, {
|
|
1888
1688
|
readonly inputs: readonly [{
|
|
1889
|
-
readonly
|
|
1890
|
-
readonly
|
|
1891
|
-
readonly
|
|
1689
|
+
readonly internalType: "bytes32";
|
|
1690
|
+
readonly name: "role";
|
|
1691
|
+
readonly type: "bytes32";
|
|
1892
1692
|
}, {
|
|
1893
|
-
readonly
|
|
1894
|
-
readonly
|
|
1895
|
-
readonly
|
|
1693
|
+
readonly internalType: "address";
|
|
1694
|
+
readonly name: "account";
|
|
1695
|
+
readonly type: "address";
|
|
1896
1696
|
}];
|
|
1897
|
-
readonly
|
|
1898
|
-
readonly
|
|
1697
|
+
readonly name: "hasRole";
|
|
1698
|
+
readonly outputs: readonly [{
|
|
1699
|
+
readonly internalType: "bool";
|
|
1700
|
+
readonly name: "";
|
|
1701
|
+
readonly type: "bool";
|
|
1702
|
+
}];
|
|
1703
|
+
readonly stateMutability: "view";
|
|
1704
|
+
readonly type: "function";
|
|
1899
1705
|
}, {
|
|
1900
|
-
readonly type: "event";
|
|
1901
|
-
readonly name: "GlobalSaleDetailsUpdated";
|
|
1902
1706
|
readonly inputs: readonly [{
|
|
1903
|
-
readonly
|
|
1904
|
-
readonly
|
|
1905
|
-
readonly
|
|
1906
|
-
readonly internalType: "uint256";
|
|
1907
|
-
}, {
|
|
1908
|
-
readonly name: "supplyCap";
|
|
1909
|
-
readonly type: "uint256";
|
|
1910
|
-
readonly indexed: false;
|
|
1911
|
-
readonly internalType: "uint256";
|
|
1707
|
+
readonly internalType: "address";
|
|
1708
|
+
readonly name: "owner";
|
|
1709
|
+
readonly type: "address";
|
|
1912
1710
|
}, {
|
|
1913
|
-
readonly
|
|
1914
|
-
readonly
|
|
1915
|
-
readonly
|
|
1916
|
-
readonly internalType: "uint64";
|
|
1711
|
+
readonly internalType: "address";
|
|
1712
|
+
readonly name: "items";
|
|
1713
|
+
readonly type: "address";
|
|
1917
1714
|
}, {
|
|
1918
|
-
readonly
|
|
1919
|
-
readonly
|
|
1920
|
-
readonly
|
|
1921
|
-
readonly internalType: "uint64";
|
|
1715
|
+
readonly internalType: "address";
|
|
1716
|
+
readonly name: "implicitModeValidator";
|
|
1717
|
+
readonly type: "address";
|
|
1922
1718
|
}, {
|
|
1923
|
-
readonly name: "merkleRoot";
|
|
1924
|
-
readonly type: "bytes32";
|
|
1925
|
-
readonly indexed: false;
|
|
1926
1719
|
readonly internalType: "bytes32";
|
|
1720
|
+
readonly name: "implicitModeProjectId";
|
|
1721
|
+
readonly type: "bytes32";
|
|
1927
1722
|
}];
|
|
1928
|
-
readonly
|
|
1723
|
+
readonly name: "initialize";
|
|
1724
|
+
readonly outputs: readonly [];
|
|
1725
|
+
readonly stateMutability: "nonpayable";
|
|
1726
|
+
readonly type: "function";
|
|
1727
|
+
}, {
|
|
1728
|
+
readonly inputs: readonly [];
|
|
1729
|
+
readonly name: "itemsContract";
|
|
1730
|
+
readonly outputs: readonly [{
|
|
1731
|
+
readonly internalType: "address";
|
|
1732
|
+
readonly name: "";
|
|
1733
|
+
readonly type: "address";
|
|
1734
|
+
}];
|
|
1735
|
+
readonly stateMutability: "view";
|
|
1736
|
+
readonly type: "function";
|
|
1929
1737
|
}, {
|
|
1930
|
-
readonly type: "event";
|
|
1931
|
-
readonly name: "ItemsMinted";
|
|
1932
1738
|
readonly inputs: readonly [{
|
|
1739
|
+
readonly internalType: "address";
|
|
1933
1740
|
readonly name: "to";
|
|
1934
1741
|
readonly type: "address";
|
|
1935
|
-
|
|
1742
|
+
}, {
|
|
1743
|
+
readonly internalType: "uint256";
|
|
1744
|
+
readonly name: "amount";
|
|
1745
|
+
readonly type: "uint256";
|
|
1746
|
+
}, {
|
|
1936
1747
|
readonly internalType: "address";
|
|
1748
|
+
readonly name: "paymentToken";
|
|
1749
|
+
readonly type: "address";
|
|
1937
1750
|
}, {
|
|
1938
|
-
readonly
|
|
1939
|
-
readonly
|
|
1940
|
-
readonly
|
|
1941
|
-
readonly internalType: "uint256[]";
|
|
1751
|
+
readonly internalType: "uint256";
|
|
1752
|
+
readonly name: "maxTotal";
|
|
1753
|
+
readonly type: "uint256";
|
|
1942
1754
|
}, {
|
|
1943
|
-
readonly
|
|
1944
|
-
readonly
|
|
1945
|
-
readonly
|
|
1946
|
-
readonly internalType: "uint256[]";
|
|
1755
|
+
readonly internalType: "bytes32[]";
|
|
1756
|
+
readonly name: "proof";
|
|
1757
|
+
readonly type: "bytes32[]";
|
|
1947
1758
|
}];
|
|
1948
|
-
readonly
|
|
1759
|
+
readonly name: "mint";
|
|
1760
|
+
readonly outputs: readonly [];
|
|
1761
|
+
readonly stateMutability: "payable";
|
|
1762
|
+
readonly type: "function";
|
|
1949
1763
|
}, {
|
|
1950
|
-
readonly type: "event";
|
|
1951
|
-
readonly name: "RoleAdminChanged";
|
|
1952
1764
|
readonly inputs: readonly [{
|
|
1953
|
-
readonly name: "role";
|
|
1954
|
-
readonly type: "bytes32";
|
|
1955
|
-
readonly indexed: true;
|
|
1956
1765
|
readonly internalType: "bytes32";
|
|
1957
|
-
|
|
1958
|
-
readonly name: "previousAdminRole";
|
|
1766
|
+
readonly name: "role";
|
|
1959
1767
|
readonly type: "bytes32";
|
|
1960
|
-
readonly indexed: true;
|
|
1961
|
-
readonly internalType: "bytes32";
|
|
1962
1768
|
}, {
|
|
1963
|
-
readonly
|
|
1964
|
-
readonly
|
|
1965
|
-
readonly
|
|
1966
|
-
readonly internalType: "bytes32";
|
|
1769
|
+
readonly internalType: "address";
|
|
1770
|
+
readonly name: "account";
|
|
1771
|
+
readonly type: "address";
|
|
1967
1772
|
}];
|
|
1968
|
-
readonly
|
|
1773
|
+
readonly name: "renounceRole";
|
|
1774
|
+
readonly outputs: readonly [];
|
|
1775
|
+
readonly stateMutability: "nonpayable";
|
|
1776
|
+
readonly type: "function";
|
|
1969
1777
|
}, {
|
|
1970
|
-
readonly type: "event";
|
|
1971
|
-
readonly name: "RoleGranted";
|
|
1972
1778
|
readonly inputs: readonly [{
|
|
1779
|
+
readonly internalType: "bytes32";
|
|
1973
1780
|
readonly name: "role";
|
|
1974
1781
|
readonly type: "bytes32";
|
|
1975
|
-
readonly indexed: true;
|
|
1976
|
-
readonly internalType: "bytes32";
|
|
1977
1782
|
}, {
|
|
1978
|
-
readonly name: "account";
|
|
1979
|
-
readonly type: "address";
|
|
1980
|
-
readonly indexed: true;
|
|
1981
1783
|
readonly internalType: "address";
|
|
1982
|
-
|
|
1983
|
-
readonly name: "sender";
|
|
1784
|
+
readonly name: "account";
|
|
1984
1785
|
readonly type: "address";
|
|
1985
|
-
readonly indexed: true;
|
|
1986
|
-
readonly internalType: "address";
|
|
1987
1786
|
}];
|
|
1988
|
-
readonly
|
|
1787
|
+
readonly name: "revokeRole";
|
|
1788
|
+
readonly outputs: readonly [];
|
|
1789
|
+
readonly stateMutability: "nonpayable";
|
|
1790
|
+
readonly type: "function";
|
|
1791
|
+
}, {
|
|
1792
|
+
readonly inputs: readonly [];
|
|
1793
|
+
readonly name: "saleDetails";
|
|
1794
|
+
readonly outputs: readonly [{
|
|
1795
|
+
readonly components: readonly [{
|
|
1796
|
+
readonly internalType: "uint256";
|
|
1797
|
+
readonly name: "remainingSupply";
|
|
1798
|
+
readonly type: "uint256";
|
|
1799
|
+
}, {
|
|
1800
|
+
readonly internalType: "uint256";
|
|
1801
|
+
readonly name: "cost";
|
|
1802
|
+
readonly type: "uint256";
|
|
1803
|
+
}, {
|
|
1804
|
+
readonly internalType: "address";
|
|
1805
|
+
readonly name: "paymentToken";
|
|
1806
|
+
readonly type: "address";
|
|
1807
|
+
}, {
|
|
1808
|
+
readonly internalType: "uint64";
|
|
1809
|
+
readonly name: "startTime";
|
|
1810
|
+
readonly type: "uint64";
|
|
1811
|
+
}, {
|
|
1812
|
+
readonly internalType: "uint64";
|
|
1813
|
+
readonly name: "endTime";
|
|
1814
|
+
readonly type: "uint64";
|
|
1815
|
+
}, {
|
|
1816
|
+
readonly internalType: "bytes32";
|
|
1817
|
+
readonly name: "merkleRoot";
|
|
1818
|
+
readonly type: "bytes32";
|
|
1819
|
+
}];
|
|
1820
|
+
readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
|
|
1821
|
+
readonly name: "";
|
|
1822
|
+
readonly type: "tuple";
|
|
1823
|
+
}];
|
|
1824
|
+
readonly stateMutability: "view";
|
|
1825
|
+
readonly type: "function";
|
|
1989
1826
|
}, {
|
|
1990
|
-
readonly type: "event";
|
|
1991
|
-
readonly name: "RoleRevoked";
|
|
1992
1827
|
readonly inputs: readonly [{
|
|
1993
|
-
readonly name: "role";
|
|
1994
|
-
readonly type: "bytes32";
|
|
1995
|
-
readonly indexed: true;
|
|
1996
1828
|
readonly internalType: "bytes32";
|
|
1997
|
-
|
|
1998
|
-
readonly
|
|
1999
|
-
|
|
2000
|
-
|
|
1829
|
+
readonly name: "projectId";
|
|
1830
|
+
readonly type: "bytes32";
|
|
1831
|
+
}];
|
|
1832
|
+
readonly name: "setImplicitModeProjectId";
|
|
1833
|
+
readonly outputs: readonly [];
|
|
1834
|
+
readonly stateMutability: "nonpayable";
|
|
1835
|
+
readonly type: "function";
|
|
1836
|
+
}, {
|
|
1837
|
+
readonly inputs: readonly [{
|
|
2001
1838
|
readonly internalType: "address";
|
|
2002
|
-
|
|
2003
|
-
readonly name: "sender";
|
|
1839
|
+
readonly name: "validator";
|
|
2004
1840
|
readonly type: "address";
|
|
2005
|
-
readonly indexed: true;
|
|
2006
|
-
readonly internalType: "address";
|
|
2007
1841
|
}];
|
|
2008
|
-
readonly
|
|
1842
|
+
readonly name: "setImplicitModeValidator";
|
|
1843
|
+
readonly outputs: readonly [];
|
|
1844
|
+
readonly stateMutability: "nonpayable";
|
|
1845
|
+
readonly type: "function";
|
|
2009
1846
|
}, {
|
|
2010
|
-
readonly type: "event";
|
|
2011
|
-
readonly name: "TokenSaleDetailsUpdated";
|
|
2012
1847
|
readonly inputs: readonly [{
|
|
2013
|
-
readonly name: "tokenId";
|
|
2014
|
-
readonly type: "uint256";
|
|
2015
|
-
readonly indexed: false;
|
|
2016
1848
|
readonly internalType: "uint256";
|
|
1849
|
+
readonly name: "remainingSupply";
|
|
1850
|
+
readonly type: "uint256";
|
|
2017
1851
|
}, {
|
|
1852
|
+
readonly internalType: "uint256";
|
|
2018
1853
|
readonly name: "cost";
|
|
2019
1854
|
readonly type: "uint256";
|
|
2020
|
-
readonly indexed: false;
|
|
2021
|
-
readonly internalType: "uint256";
|
|
2022
1855
|
}, {
|
|
2023
|
-
readonly
|
|
2024
|
-
readonly
|
|
2025
|
-
readonly
|
|
2026
|
-
readonly internalType: "uint256";
|
|
1856
|
+
readonly internalType: "address";
|
|
1857
|
+
readonly name: "paymentToken";
|
|
1858
|
+
readonly type: "address";
|
|
2027
1859
|
}, {
|
|
1860
|
+
readonly internalType: "uint64";
|
|
2028
1861
|
readonly name: "startTime";
|
|
2029
1862
|
readonly type: "uint64";
|
|
2030
|
-
readonly indexed: false;
|
|
2031
|
-
readonly internalType: "uint64";
|
|
2032
1863
|
}, {
|
|
1864
|
+
readonly internalType: "uint64";
|
|
2033
1865
|
readonly name: "endTime";
|
|
2034
1866
|
readonly type: "uint64";
|
|
2035
|
-
readonly indexed: false;
|
|
2036
|
-
readonly internalType: "uint64";
|
|
2037
1867
|
}, {
|
|
1868
|
+
readonly internalType: "bytes32";
|
|
2038
1869
|
readonly name: "merkleRoot";
|
|
2039
1870
|
readonly type: "bytes32";
|
|
2040
|
-
readonly indexed: false;
|
|
2041
|
-
readonly internalType: "bytes32";
|
|
2042
|
-
}];
|
|
2043
|
-
readonly anonymous: false;
|
|
2044
|
-
}, {
|
|
2045
|
-
readonly type: "error";
|
|
2046
|
-
readonly name: "GlobalSaleInactive";
|
|
2047
|
-
readonly inputs: readonly [];
|
|
2048
|
-
}, {
|
|
2049
|
-
readonly type: "error";
|
|
2050
|
-
readonly name: "InsufficientPayment";
|
|
2051
|
-
readonly inputs: readonly [{
|
|
2052
|
-
readonly name: "currency";
|
|
2053
|
-
readonly type: "address";
|
|
2054
|
-
readonly internalType: "address";
|
|
2055
|
-
}, {
|
|
2056
|
-
readonly name: "expected";
|
|
2057
|
-
readonly type: "uint256";
|
|
2058
|
-
readonly internalType: "uint256";
|
|
2059
|
-
}, {
|
|
2060
|
-
readonly name: "actual";
|
|
2061
|
-
readonly type: "uint256";
|
|
2062
|
-
readonly internalType: "uint256";
|
|
2063
1871
|
}];
|
|
1872
|
+
readonly name: "setSaleDetails";
|
|
1873
|
+
readonly outputs: readonly [];
|
|
1874
|
+
readonly stateMutability: "nonpayable";
|
|
1875
|
+
readonly type: "function";
|
|
2064
1876
|
}, {
|
|
2065
|
-
readonly type: "error";
|
|
2066
|
-
readonly name: "InsufficientSupply";
|
|
2067
1877
|
readonly inputs: readonly [{
|
|
2068
|
-
readonly
|
|
2069
|
-
readonly
|
|
2070
|
-
readonly
|
|
2071
|
-
}, {
|
|
2072
|
-
readonly name: "requestedAmount";
|
|
2073
|
-
readonly type: "uint256";
|
|
2074
|
-
readonly internalType: "uint256";
|
|
2075
|
-
}, {
|
|
2076
|
-
readonly name: "maxSupply";
|
|
2077
|
-
readonly type: "uint256";
|
|
2078
|
-
readonly internalType: "uint256";
|
|
1878
|
+
readonly internalType: "bytes4";
|
|
1879
|
+
readonly name: "interfaceId";
|
|
1880
|
+
readonly type: "bytes4";
|
|
2079
1881
|
}];
|
|
2080
|
-
|
|
2081
|
-
readonly
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
readonly
|
|
2087
|
-
readonly
|
|
2088
|
-
}, {
|
|
2089
|
-
readonly
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
}, {
|
|
2093
|
-
readonly type: "error";
|
|
2094
|
-
readonly name: "MerkleProofInvalid";
|
|
2095
|
-
readonly inputs: readonly [{
|
|
2096
|
-
readonly name: "root";
|
|
2097
|
-
readonly type: "bytes32";
|
|
2098
|
-
readonly internalType: "bytes32";
|
|
2099
|
-
}, {
|
|
2100
|
-
readonly name: "proof";
|
|
2101
|
-
readonly type: "bytes32[]";
|
|
2102
|
-
readonly internalType: "bytes32[]";
|
|
2103
|
-
}, {
|
|
2104
|
-
readonly name: "addr";
|
|
1882
|
+
readonly name: "supportsInterface";
|
|
1883
|
+
readonly outputs: readonly [{
|
|
1884
|
+
readonly internalType: "bool";
|
|
1885
|
+
readonly name: "";
|
|
1886
|
+
readonly type: "bool";
|
|
1887
|
+
}];
|
|
1888
|
+
readonly stateMutability: "view";
|
|
1889
|
+
readonly type: "function";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly inputs: readonly [{
|
|
1892
|
+
readonly internalType: "address";
|
|
1893
|
+
readonly name: "token";
|
|
2105
1894
|
readonly type: "address";
|
|
1895
|
+
}, {
|
|
2106
1896
|
readonly internalType: "address";
|
|
1897
|
+
readonly name: "to";
|
|
1898
|
+
readonly type: "address";
|
|
2107
1899
|
}, {
|
|
2108
|
-
readonly
|
|
2109
|
-
readonly
|
|
2110
|
-
readonly
|
|
1900
|
+
readonly internalType: "uint256";
|
|
1901
|
+
readonly name: "value";
|
|
1902
|
+
readonly type: "uint256";
|
|
2111
1903
|
}];
|
|
1904
|
+
readonly name: "withdrawERC20";
|
|
1905
|
+
readonly outputs: readonly [];
|
|
1906
|
+
readonly stateMutability: "nonpayable";
|
|
1907
|
+
readonly type: "function";
|
|
2112
1908
|
}, {
|
|
2113
|
-
readonly type: "error";
|
|
2114
|
-
readonly name: "SaleInactive";
|
|
2115
1909
|
readonly inputs: readonly [{
|
|
2116
|
-
readonly
|
|
2117
|
-
readonly
|
|
1910
|
+
readonly internalType: "address";
|
|
1911
|
+
readonly name: "to";
|
|
1912
|
+
readonly type: "address";
|
|
1913
|
+
}, {
|
|
2118
1914
|
readonly internalType: "uint256";
|
|
1915
|
+
readonly name: "value";
|
|
1916
|
+
readonly type: "uint256";
|
|
2119
1917
|
}];
|
|
2120
|
-
|
|
2121
|
-
readonly
|
|
2122
|
-
readonly
|
|
2123
|
-
readonly
|
|
1918
|
+
readonly name: "withdrawETH";
|
|
1919
|
+
readonly outputs: readonly [];
|
|
1920
|
+
readonly stateMutability: "nonpayable";
|
|
1921
|
+
readonly type: "function";
|
|
2124
1922
|
}] | readonly [{
|
|
2125
1923
|
readonly type: "function";
|
|
2126
1924
|
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
@@ -2203,6 +2001,37 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2203
2001
|
readonly internalType: "uint256";
|
|
2204
2002
|
}];
|
|
2205
2003
|
readonly stateMutability: "view";
|
|
2004
|
+
}, {
|
|
2005
|
+
readonly type: "function";
|
|
2006
|
+
readonly name: "globalSaleDetails";
|
|
2007
|
+
readonly inputs: readonly [];
|
|
2008
|
+
readonly outputs: readonly [{
|
|
2009
|
+
readonly name: "";
|
|
2010
|
+
readonly type: "tuple";
|
|
2011
|
+
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
2012
|
+
readonly components: readonly [{
|
|
2013
|
+
readonly name: "cost";
|
|
2014
|
+
readonly type: "uint256";
|
|
2015
|
+
readonly internalType: "uint256";
|
|
2016
|
+
}, {
|
|
2017
|
+
readonly name: "supplyCap";
|
|
2018
|
+
readonly type: "uint256";
|
|
2019
|
+
readonly internalType: "uint256";
|
|
2020
|
+
}, {
|
|
2021
|
+
readonly name: "startTime";
|
|
2022
|
+
readonly type: "uint64";
|
|
2023
|
+
readonly internalType: "uint64";
|
|
2024
|
+
}, {
|
|
2025
|
+
readonly name: "endTime";
|
|
2026
|
+
readonly type: "uint64";
|
|
2027
|
+
readonly internalType: "uint64";
|
|
2028
|
+
}, {
|
|
2029
|
+
readonly name: "merkleRoot";
|
|
2030
|
+
readonly type: "bytes32";
|
|
2031
|
+
readonly internalType: "bytes32";
|
|
2032
|
+
}];
|
|
2033
|
+
}];
|
|
2034
|
+
readonly stateMutability: "view";
|
|
2206
2035
|
}, {
|
|
2207
2036
|
readonly type: "function";
|
|
2208
2037
|
readonly name: "grantRole";
|
|
@@ -2249,16 +2078,6 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2249
2078
|
}];
|
|
2250
2079
|
readonly outputs: readonly [];
|
|
2251
2080
|
readonly stateMutability: "nonpayable";
|
|
2252
|
-
}, {
|
|
2253
|
-
readonly type: "function";
|
|
2254
|
-
readonly name: "itemsContract";
|
|
2255
|
-
readonly inputs: readonly [];
|
|
2256
|
-
readonly outputs: readonly [{
|
|
2257
|
-
readonly name: "";
|
|
2258
|
-
readonly type: "address";
|
|
2259
|
-
readonly internalType: "address";
|
|
2260
|
-
}];
|
|
2261
|
-
readonly stateMutability: "view";
|
|
2262
2081
|
}, {
|
|
2263
2082
|
readonly type: "function";
|
|
2264
2083
|
readonly name: "mint";
|
|
@@ -2267,11 +2086,19 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2267
2086
|
readonly type: "address";
|
|
2268
2087
|
readonly internalType: "address";
|
|
2269
2088
|
}, {
|
|
2270
|
-
readonly name: "
|
|
2271
|
-
readonly type: "uint256";
|
|
2272
|
-
readonly internalType: "uint256";
|
|
2089
|
+
readonly name: "tokenIds";
|
|
2090
|
+
readonly type: "uint256[]";
|
|
2091
|
+
readonly internalType: "uint256[]";
|
|
2273
2092
|
}, {
|
|
2274
|
-
readonly name: "
|
|
2093
|
+
readonly name: "amounts";
|
|
2094
|
+
readonly type: "uint256[]";
|
|
2095
|
+
readonly internalType: "uint256[]";
|
|
2096
|
+
}, {
|
|
2097
|
+
readonly name: "data";
|
|
2098
|
+
readonly type: "bytes";
|
|
2099
|
+
readonly internalType: "bytes";
|
|
2100
|
+
}, {
|
|
2101
|
+
readonly name: "expectedPaymentToken";
|
|
2275
2102
|
readonly type: "address";
|
|
2276
2103
|
readonly internalType: "address";
|
|
2277
2104
|
}, {
|
|
@@ -2285,6 +2112,16 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2285
2112
|
}];
|
|
2286
2113
|
readonly outputs: readonly [];
|
|
2287
2114
|
readonly stateMutability: "payable";
|
|
2115
|
+
}, {
|
|
2116
|
+
readonly type: "function";
|
|
2117
|
+
readonly name: "paymentToken";
|
|
2118
|
+
readonly inputs: readonly [];
|
|
2119
|
+
readonly outputs: readonly [{
|
|
2120
|
+
readonly name: "";
|
|
2121
|
+
readonly type: "address";
|
|
2122
|
+
readonly internalType: "address";
|
|
2123
|
+
}];
|
|
2124
|
+
readonly stateMutability: "view";
|
|
2288
2125
|
}, {
|
|
2289
2126
|
readonly type: "function";
|
|
2290
2127
|
readonly name: "renounceRole";
|
|
@@ -2315,44 +2152,45 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2315
2152
|
readonly stateMutability: "nonpayable";
|
|
2316
2153
|
}, {
|
|
2317
2154
|
readonly type: "function";
|
|
2318
|
-
readonly name: "
|
|
2319
|
-
readonly inputs: readonly [
|
|
2320
|
-
|
|
2321
|
-
readonly
|
|
2322
|
-
readonly
|
|
2323
|
-
|
|
2324
|
-
readonly
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
readonly internalType: "uint64";
|
|
2340
|
-
}, {
|
|
2341
|
-
readonly name: "endTime";
|
|
2342
|
-
readonly type: "uint64";
|
|
2343
|
-
readonly internalType: "uint64";
|
|
2344
|
-
}, {
|
|
2345
|
-
readonly name: "merkleRoot";
|
|
2346
|
-
readonly type: "bytes32";
|
|
2347
|
-
readonly internalType: "bytes32";
|
|
2348
|
-
}];
|
|
2155
|
+
readonly name: "setGlobalSaleDetails";
|
|
2156
|
+
readonly inputs: readonly [{
|
|
2157
|
+
readonly name: "cost";
|
|
2158
|
+
readonly type: "uint256";
|
|
2159
|
+
readonly internalType: "uint256";
|
|
2160
|
+
}, {
|
|
2161
|
+
readonly name: "supplyCap";
|
|
2162
|
+
readonly type: "uint256";
|
|
2163
|
+
readonly internalType: "uint256";
|
|
2164
|
+
}, {
|
|
2165
|
+
readonly name: "startTime";
|
|
2166
|
+
readonly type: "uint64";
|
|
2167
|
+
readonly internalType: "uint64";
|
|
2168
|
+
}, {
|
|
2169
|
+
readonly name: "endTime";
|
|
2170
|
+
readonly type: "uint64";
|
|
2171
|
+
readonly internalType: "uint64";
|
|
2172
|
+
}, {
|
|
2173
|
+
readonly name: "merkleRoot";
|
|
2174
|
+
readonly type: "bytes32";
|
|
2175
|
+
readonly internalType: "bytes32";
|
|
2349
2176
|
}];
|
|
2350
|
-
readonly
|
|
2177
|
+
readonly outputs: readonly [];
|
|
2178
|
+
readonly stateMutability: "nonpayable";
|
|
2351
2179
|
}, {
|
|
2352
2180
|
readonly type: "function";
|
|
2353
|
-
readonly name: "
|
|
2181
|
+
readonly name: "setPaymentToken";
|
|
2354
2182
|
readonly inputs: readonly [{
|
|
2355
|
-
readonly name: "
|
|
2183
|
+
readonly name: "paymentTokenAddr";
|
|
2184
|
+
readonly type: "address";
|
|
2185
|
+
readonly internalType: "address";
|
|
2186
|
+
}];
|
|
2187
|
+
readonly outputs: readonly [];
|
|
2188
|
+
readonly stateMutability: "nonpayable";
|
|
2189
|
+
}, {
|
|
2190
|
+
readonly type: "function";
|
|
2191
|
+
readonly name: "setTokenSaleDetails";
|
|
2192
|
+
readonly inputs: readonly [{
|
|
2193
|
+
readonly name: "tokenId";
|
|
2356
2194
|
readonly type: "uint256";
|
|
2357
2195
|
readonly internalType: "uint256";
|
|
2358
2196
|
}, {
|
|
@@ -2360,9 +2198,9 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2360
2198
|
readonly type: "uint256";
|
|
2361
2199
|
readonly internalType: "uint256";
|
|
2362
2200
|
}, {
|
|
2363
|
-
readonly name: "
|
|
2364
|
-
readonly type: "
|
|
2365
|
-
readonly internalType: "
|
|
2201
|
+
readonly name: "supplyCap";
|
|
2202
|
+
readonly type: "uint256";
|
|
2203
|
+
readonly internalType: "uint256";
|
|
2366
2204
|
}, {
|
|
2367
2205
|
readonly name: "startTime";
|
|
2368
2206
|
readonly type: "uint64";
|
|
@@ -2378,6 +2216,36 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2378
2216
|
}];
|
|
2379
2217
|
readonly outputs: readonly [];
|
|
2380
2218
|
readonly stateMutability: "nonpayable";
|
|
2219
|
+
}, {
|
|
2220
|
+
readonly type: "function";
|
|
2221
|
+
readonly name: "setTokenSaleDetailsBatch";
|
|
2222
|
+
readonly inputs: readonly [{
|
|
2223
|
+
readonly name: "tokenIds";
|
|
2224
|
+
readonly type: "uint256[]";
|
|
2225
|
+
readonly internalType: "uint256[]";
|
|
2226
|
+
}, {
|
|
2227
|
+
readonly name: "costs";
|
|
2228
|
+
readonly type: "uint256[]";
|
|
2229
|
+
readonly internalType: "uint256[]";
|
|
2230
|
+
}, {
|
|
2231
|
+
readonly name: "supplyCaps";
|
|
2232
|
+
readonly type: "uint256[]";
|
|
2233
|
+
readonly internalType: "uint256[]";
|
|
2234
|
+
}, {
|
|
2235
|
+
readonly name: "startTimes";
|
|
2236
|
+
readonly type: "uint64[]";
|
|
2237
|
+
readonly internalType: "uint64[]";
|
|
2238
|
+
}, {
|
|
2239
|
+
readonly name: "endTimes";
|
|
2240
|
+
readonly type: "uint64[]";
|
|
2241
|
+
readonly internalType: "uint64[]";
|
|
2242
|
+
}, {
|
|
2243
|
+
readonly name: "merkleRoots";
|
|
2244
|
+
readonly type: "bytes32[]";
|
|
2245
|
+
readonly internalType: "bytes32[]";
|
|
2246
|
+
}];
|
|
2247
|
+
readonly outputs: readonly [];
|
|
2248
|
+
readonly stateMutability: "nonpayable";
|
|
2381
2249
|
}, {
|
|
2382
2250
|
readonly type: "function";
|
|
2383
2251
|
readonly name: "supportsInterface";
|
|
@@ -2388,8 +2256,78 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2388
2256
|
}];
|
|
2389
2257
|
readonly outputs: readonly [{
|
|
2390
2258
|
readonly name: "";
|
|
2391
|
-
readonly type: "bool";
|
|
2392
|
-
readonly internalType: "bool";
|
|
2259
|
+
readonly type: "bool";
|
|
2260
|
+
readonly internalType: "bool";
|
|
2261
|
+
}];
|
|
2262
|
+
readonly stateMutability: "view";
|
|
2263
|
+
}, {
|
|
2264
|
+
readonly type: "function";
|
|
2265
|
+
readonly name: "tokenSaleDetails";
|
|
2266
|
+
readonly inputs: readonly [{
|
|
2267
|
+
readonly name: "tokenId";
|
|
2268
|
+
readonly type: "uint256";
|
|
2269
|
+
readonly internalType: "uint256";
|
|
2270
|
+
}];
|
|
2271
|
+
readonly outputs: readonly [{
|
|
2272
|
+
readonly name: "";
|
|
2273
|
+
readonly type: "tuple";
|
|
2274
|
+
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
2275
|
+
readonly components: readonly [{
|
|
2276
|
+
readonly name: "cost";
|
|
2277
|
+
readonly type: "uint256";
|
|
2278
|
+
readonly internalType: "uint256";
|
|
2279
|
+
}, {
|
|
2280
|
+
readonly name: "supplyCap";
|
|
2281
|
+
readonly type: "uint256";
|
|
2282
|
+
readonly internalType: "uint256";
|
|
2283
|
+
}, {
|
|
2284
|
+
readonly name: "startTime";
|
|
2285
|
+
readonly type: "uint64";
|
|
2286
|
+
readonly internalType: "uint64";
|
|
2287
|
+
}, {
|
|
2288
|
+
readonly name: "endTime";
|
|
2289
|
+
readonly type: "uint64";
|
|
2290
|
+
readonly internalType: "uint64";
|
|
2291
|
+
}, {
|
|
2292
|
+
readonly name: "merkleRoot";
|
|
2293
|
+
readonly type: "bytes32";
|
|
2294
|
+
readonly internalType: "bytes32";
|
|
2295
|
+
}];
|
|
2296
|
+
}];
|
|
2297
|
+
readonly stateMutability: "view";
|
|
2298
|
+
}, {
|
|
2299
|
+
readonly type: "function";
|
|
2300
|
+
readonly name: "tokenSaleDetailsBatch";
|
|
2301
|
+
readonly inputs: readonly [{
|
|
2302
|
+
readonly name: "tokenIds";
|
|
2303
|
+
readonly type: "uint256[]";
|
|
2304
|
+
readonly internalType: "uint256[]";
|
|
2305
|
+
}];
|
|
2306
|
+
readonly outputs: readonly [{
|
|
2307
|
+
readonly name: "";
|
|
2308
|
+
readonly type: "tuple[]";
|
|
2309
|
+
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails[]";
|
|
2310
|
+
readonly components: readonly [{
|
|
2311
|
+
readonly name: "cost";
|
|
2312
|
+
readonly type: "uint256";
|
|
2313
|
+
readonly internalType: "uint256";
|
|
2314
|
+
}, {
|
|
2315
|
+
readonly name: "supplyCap";
|
|
2316
|
+
readonly type: "uint256";
|
|
2317
|
+
readonly internalType: "uint256";
|
|
2318
|
+
}, {
|
|
2319
|
+
readonly name: "startTime";
|
|
2320
|
+
readonly type: "uint64";
|
|
2321
|
+
readonly internalType: "uint64";
|
|
2322
|
+
}, {
|
|
2323
|
+
readonly name: "endTime";
|
|
2324
|
+
readonly type: "uint64";
|
|
2325
|
+
readonly internalType: "uint64";
|
|
2326
|
+
}, {
|
|
2327
|
+
readonly name: "merkleRoot";
|
|
2328
|
+
readonly type: "bytes32";
|
|
2329
|
+
readonly internalType: "bytes32";
|
|
2330
|
+
}];
|
|
2393
2331
|
}];
|
|
2394
2332
|
readonly stateMutability: "view";
|
|
2395
2333
|
}, {
|
|
@@ -2424,6 +2362,56 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2424
2362
|
}];
|
|
2425
2363
|
readonly outputs: readonly [];
|
|
2426
2364
|
readonly stateMutability: "nonpayable";
|
|
2365
|
+
}, {
|
|
2366
|
+
readonly type: "event";
|
|
2367
|
+
readonly name: "GlobalSaleDetailsUpdated";
|
|
2368
|
+
readonly inputs: readonly [{
|
|
2369
|
+
readonly name: "cost";
|
|
2370
|
+
readonly type: "uint256";
|
|
2371
|
+
readonly indexed: false;
|
|
2372
|
+
readonly internalType: "uint256";
|
|
2373
|
+
}, {
|
|
2374
|
+
readonly name: "supplyCap";
|
|
2375
|
+
readonly type: "uint256";
|
|
2376
|
+
readonly indexed: false;
|
|
2377
|
+
readonly internalType: "uint256";
|
|
2378
|
+
}, {
|
|
2379
|
+
readonly name: "startTime";
|
|
2380
|
+
readonly type: "uint64";
|
|
2381
|
+
readonly indexed: false;
|
|
2382
|
+
readonly internalType: "uint64";
|
|
2383
|
+
}, {
|
|
2384
|
+
readonly name: "endTime";
|
|
2385
|
+
readonly type: "uint64";
|
|
2386
|
+
readonly indexed: false;
|
|
2387
|
+
readonly internalType: "uint64";
|
|
2388
|
+
}, {
|
|
2389
|
+
readonly name: "merkleRoot";
|
|
2390
|
+
readonly type: "bytes32";
|
|
2391
|
+
readonly indexed: false;
|
|
2392
|
+
readonly internalType: "bytes32";
|
|
2393
|
+
}];
|
|
2394
|
+
readonly anonymous: false;
|
|
2395
|
+
}, {
|
|
2396
|
+
readonly type: "event";
|
|
2397
|
+
readonly name: "ItemsMinted";
|
|
2398
|
+
readonly inputs: readonly [{
|
|
2399
|
+
readonly name: "to";
|
|
2400
|
+
readonly type: "address";
|
|
2401
|
+
readonly indexed: false;
|
|
2402
|
+
readonly internalType: "address";
|
|
2403
|
+
}, {
|
|
2404
|
+
readonly name: "tokenIds";
|
|
2405
|
+
readonly type: "uint256[]";
|
|
2406
|
+
readonly indexed: false;
|
|
2407
|
+
readonly internalType: "uint256[]";
|
|
2408
|
+
}, {
|
|
2409
|
+
readonly name: "amounts";
|
|
2410
|
+
readonly type: "uint256[]";
|
|
2411
|
+
readonly indexed: false;
|
|
2412
|
+
readonly internalType: "uint256[]";
|
|
2413
|
+
}];
|
|
2414
|
+
readonly anonymous: false;
|
|
2427
2415
|
}, {
|
|
2428
2416
|
readonly type: "event";
|
|
2429
2417
|
readonly name: "RoleAdminChanged";
|
|
@@ -2486,9 +2474,9 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2486
2474
|
readonly anonymous: false;
|
|
2487
2475
|
}, {
|
|
2488
2476
|
readonly type: "event";
|
|
2489
|
-
readonly name: "
|
|
2477
|
+
readonly name: "TokenSaleDetailsUpdated";
|
|
2490
2478
|
readonly inputs: readonly [{
|
|
2491
|
-
readonly name: "
|
|
2479
|
+
readonly name: "tokenId";
|
|
2492
2480
|
readonly type: "uint256";
|
|
2493
2481
|
readonly indexed: false;
|
|
2494
2482
|
readonly internalType: "uint256";
|
|
@@ -2498,10 +2486,10 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2498
2486
|
readonly indexed: false;
|
|
2499
2487
|
readonly internalType: "uint256";
|
|
2500
2488
|
}, {
|
|
2501
|
-
readonly name: "
|
|
2502
|
-
readonly type: "
|
|
2489
|
+
readonly name: "supplyCap";
|
|
2490
|
+
readonly type: "uint256";
|
|
2503
2491
|
readonly indexed: false;
|
|
2504
|
-
readonly internalType: "
|
|
2492
|
+
readonly internalType: "uint256";
|
|
2505
2493
|
}, {
|
|
2506
2494
|
readonly name: "startTime";
|
|
2507
2495
|
readonly type: "uint64";
|
|
@@ -2519,6 +2507,10 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2519
2507
|
readonly internalType: "bytes32";
|
|
2520
2508
|
}];
|
|
2521
2509
|
readonly anonymous: false;
|
|
2510
|
+
}, {
|
|
2511
|
+
readonly type: "error";
|
|
2512
|
+
readonly name: "GlobalSaleInactive";
|
|
2513
|
+
readonly inputs: readonly [];
|
|
2522
2514
|
}, {
|
|
2523
2515
|
readonly type: "error";
|
|
2524
2516
|
readonly name: "InsufficientPayment";
|
|
@@ -2543,7 +2535,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2543
2535
|
readonly type: "uint256";
|
|
2544
2536
|
readonly internalType: "uint256";
|
|
2545
2537
|
}, {
|
|
2546
|
-
readonly name: "
|
|
2538
|
+
readonly name: "requestedAmount";
|
|
2547
2539
|
readonly type: "uint256";
|
|
2548
2540
|
readonly internalType: "uint256";
|
|
2549
2541
|
}, {
|
|
@@ -2559,6 +2551,10 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2559
2551
|
readonly type: "error";
|
|
2560
2552
|
readonly name: "InvalidSaleDetails";
|
|
2561
2553
|
readonly inputs: readonly [];
|
|
2554
|
+
}, {
|
|
2555
|
+
readonly type: "error";
|
|
2556
|
+
readonly name: "InvalidTokenIds";
|
|
2557
|
+
readonly inputs: readonly [];
|
|
2562
2558
|
}, {
|
|
2563
2559
|
readonly type: "error";
|
|
2564
2560
|
readonly name: "MerkleProofInvalid";
|
|
@@ -2582,7 +2578,11 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2582
2578
|
}, {
|
|
2583
2579
|
readonly type: "error";
|
|
2584
2580
|
readonly name: "SaleInactive";
|
|
2585
|
-
readonly inputs: readonly [
|
|
2581
|
+
readonly inputs: readonly [{
|
|
2582
|
+
readonly name: "tokenId";
|
|
2583
|
+
readonly type: "uint256";
|
|
2584
|
+
readonly internalType: "uint256";
|
|
2585
|
+
}];
|
|
2586
2586
|
}, {
|
|
2587
2587
|
readonly type: "error";
|
|
2588
2588
|
readonly name: "WithdrawFailed";
|
|
@@ -2591,82 +2591,7 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2591
2591
|
/**
|
|
2592
2592
|
* Get the appropriate marketplace ABI based on version
|
|
2593
2593
|
*/
|
|
2594
|
-
declare const getMarketplaceABI: (version: "v1" | "v2") =>
|
|
2595
|
-
type: string;
|
|
2596
|
-
inputs: never[];
|
|
2597
|
-
stateMutability: string;
|
|
2598
|
-
name?: undefined;
|
|
2599
|
-
outputs?: undefined;
|
|
2600
|
-
anonymous?: undefined;
|
|
2601
|
-
} | {
|
|
2602
|
-
type: string;
|
|
2603
|
-
name: string;
|
|
2604
|
-
inputs: {
|
|
2605
|
-
name: string;
|
|
2606
|
-
type: string;
|
|
2607
|
-
internalType: string;
|
|
2608
|
-
components: {
|
|
2609
|
-
name: string;
|
|
2610
|
-
type: string;
|
|
2611
|
-
internalType: string;
|
|
2612
|
-
}[];
|
|
2613
|
-
}[];
|
|
2614
|
-
outputs: {
|
|
2615
|
-
name: string;
|
|
2616
|
-
type: string;
|
|
2617
|
-
internalType: string;
|
|
2618
|
-
}[];
|
|
2619
|
-
stateMutability: string;
|
|
2620
|
-
anonymous?: undefined;
|
|
2621
|
-
} | {
|
|
2622
|
-
type: string;
|
|
2623
|
-
name: string;
|
|
2624
|
-
inputs: {
|
|
2625
|
-
name: string;
|
|
2626
|
-
type: string;
|
|
2627
|
-
internalType: string;
|
|
2628
|
-
}[];
|
|
2629
|
-
outputs: ({
|
|
2630
|
-
name: string;
|
|
2631
|
-
type: string;
|
|
2632
|
-
internalType: string;
|
|
2633
|
-
components?: undefined;
|
|
2634
|
-
} | {
|
|
2635
|
-
name: string;
|
|
2636
|
-
type: string;
|
|
2637
|
-
internalType: string;
|
|
2638
|
-
components: {
|
|
2639
|
-
name: string;
|
|
2640
|
-
type: string;
|
|
2641
|
-
internalType: string;
|
|
2642
|
-
}[];
|
|
2643
|
-
})[];
|
|
2644
|
-
stateMutability: string;
|
|
2645
|
-
anonymous?: undefined;
|
|
2646
|
-
} | {
|
|
2647
|
-
type: string;
|
|
2648
|
-
name: string;
|
|
2649
|
-
inputs: {
|
|
2650
|
-
name: string;
|
|
2651
|
-
type: string;
|
|
2652
|
-
indexed: boolean;
|
|
2653
|
-
internalType: string;
|
|
2654
|
-
}[];
|
|
2655
|
-
anonymous: boolean;
|
|
2656
|
-
stateMutability?: undefined;
|
|
2657
|
-
outputs?: undefined;
|
|
2658
|
-
} | {
|
|
2659
|
-
type: string;
|
|
2660
|
-
name: string;
|
|
2661
|
-
inputs: {
|
|
2662
|
-
name: string;
|
|
2663
|
-
type: string;
|
|
2664
|
-
internalType: string;
|
|
2665
|
-
}[];
|
|
2666
|
-
stateMutability?: undefined;
|
|
2667
|
-
outputs?: undefined;
|
|
2668
|
-
anonymous?: undefined;
|
|
2669
|
-
})[] | readonly [{
|
|
2594
|
+
declare const getMarketplaceABI: (version: "v1" | "v2") => readonly [{
|
|
2670
2595
|
readonly inputs: readonly [{
|
|
2671
2596
|
readonly internalType: "address";
|
|
2672
2597
|
readonly name: "_owner";
|
|
@@ -3367,7 +3292,82 @@ declare const getMarketplaceABI: (version: "v1" | "v2") => ({
|
|
|
3367
3292
|
readonly outputs: readonly [];
|
|
3368
3293
|
readonly stateMutability: "nonpayable";
|
|
3369
3294
|
readonly type: "function";
|
|
3370
|
-
}]
|
|
3295
|
+
}] | ({
|
|
3296
|
+
type: string;
|
|
3297
|
+
inputs: never[];
|
|
3298
|
+
stateMutability: string;
|
|
3299
|
+
name?: undefined;
|
|
3300
|
+
outputs?: undefined;
|
|
3301
|
+
anonymous?: undefined;
|
|
3302
|
+
} | {
|
|
3303
|
+
type: string;
|
|
3304
|
+
name: string;
|
|
3305
|
+
inputs: {
|
|
3306
|
+
name: string;
|
|
3307
|
+
type: string;
|
|
3308
|
+
internalType: string;
|
|
3309
|
+
components: {
|
|
3310
|
+
name: string;
|
|
3311
|
+
type: string;
|
|
3312
|
+
internalType: string;
|
|
3313
|
+
}[];
|
|
3314
|
+
}[];
|
|
3315
|
+
outputs: {
|
|
3316
|
+
name: string;
|
|
3317
|
+
type: string;
|
|
3318
|
+
internalType: string;
|
|
3319
|
+
}[];
|
|
3320
|
+
stateMutability: string;
|
|
3321
|
+
anonymous?: undefined;
|
|
3322
|
+
} | {
|
|
3323
|
+
type: string;
|
|
3324
|
+
name: string;
|
|
3325
|
+
inputs: {
|
|
3326
|
+
name: string;
|
|
3327
|
+
type: string;
|
|
3328
|
+
internalType: string;
|
|
3329
|
+
}[];
|
|
3330
|
+
outputs: ({
|
|
3331
|
+
name: string;
|
|
3332
|
+
type: string;
|
|
3333
|
+
internalType: string;
|
|
3334
|
+
components?: undefined;
|
|
3335
|
+
} | {
|
|
3336
|
+
name: string;
|
|
3337
|
+
type: string;
|
|
3338
|
+
internalType: string;
|
|
3339
|
+
components: {
|
|
3340
|
+
name: string;
|
|
3341
|
+
type: string;
|
|
3342
|
+
internalType: string;
|
|
3343
|
+
}[];
|
|
3344
|
+
})[];
|
|
3345
|
+
stateMutability: string;
|
|
3346
|
+
anonymous?: undefined;
|
|
3347
|
+
} | {
|
|
3348
|
+
type: string;
|
|
3349
|
+
name: string;
|
|
3350
|
+
inputs: {
|
|
3351
|
+
name: string;
|
|
3352
|
+
type: string;
|
|
3353
|
+
indexed: boolean;
|
|
3354
|
+
internalType: string;
|
|
3355
|
+
}[];
|
|
3356
|
+
anonymous: boolean;
|
|
3357
|
+
stateMutability?: undefined;
|
|
3358
|
+
outputs?: undefined;
|
|
3359
|
+
} | {
|
|
3360
|
+
type: string;
|
|
3361
|
+
name: string;
|
|
3362
|
+
inputs: {
|
|
3363
|
+
name: string;
|
|
3364
|
+
type: string;
|
|
3365
|
+
internalType: string;
|
|
3366
|
+
}[];
|
|
3367
|
+
stateMutability?: undefined;
|
|
3368
|
+
outputs?: undefined;
|
|
3369
|
+
anonymous?: undefined;
|
|
3370
|
+
})[];
|
|
3371
3371
|
//#endregion
|
|
3372
3372
|
//#region src/utils/abi/mainModule.d.ts
|
|
3373
3373
|
declare const MAIN_MODULE_ABI: ({
|