@0xsequence/marketplace-sdk 2.0.1 → 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 +10 -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 +1 -1
- package/dist/collection.js +1 -1
- package/dist/create-config.d.ts +597 -201
- package/dist/create-config.js +1 -1
- package/dist/currency.js +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 +4 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index10.d.ts +3 -3
- package/dist/index11.d.ts +17 -17
- package/dist/index12.d.ts +26 -26
- 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 +86 -86
- 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 +4 -4
- package/dist/index35.d.ts +1 -1
- package/dist/index36.d.ts +7 -7
- package/dist/index37.d.ts +6 -6
- package/dist/index38.d.ts +8 -8
- package/dist/index39.d.ts +1 -1
- package/dist/index4.d.ts +995 -995
- package/dist/index40.d.ts +2 -2
- package/dist/index8.d.ts +2 -2
- package/dist/index9.d.ts +2811 -3
- package/dist/inventory.d.ts +4 -4
- package/dist/inventory.js +2 -2
- package/dist/marketplace2.js +2 -2
- package/dist/metadata.d.ts +73 -73
- package/dist/primary-sale-checkout-options.d.ts +4 -4
- package/dist/quantityInput.js +1 -1
- package/dist/ranges.d.ts +17 -17
- 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 +1 -1
- package/dist/react/ssr/index.js +2 -2
- package/dist/react/ui/components/marketplace-collectible-card/index.d.ts +1 -1
- package/dist/react/ui/components/marketplace-logos/index.d.ts +21 -21
- 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/calendarDropdown/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 -3
- 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 +2192 -1903
- package/dist/react.js.map +1 -1
- 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.js +1 -1
- package/dist/utils.js +20 -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/transactions/useCancelTransactionSteps.tsx +4 -1
- package/src/react/hooks/utils/useEnsureCorrectChain.ts +10 -5
- package/src/react/ui/modals/BuyModal/components/BuyModalContent.tsx +34 -31
- 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/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/MakeOfferModal/internal/context.ts +2 -1
- package/src/react/ui/modals/_internal/components/currencyOptionsSelect/index.tsx +2 -1
- package/src/react/ui/modals/_internal/components/priceInput/index.tsx +12 -11
- 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/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/getConduitAddressForOrderbook.ts +2 -10
- package/src/utils/getMarketplaceDetails.ts +11 -4
- package/src/utils/getWebRPCErrorMessage.ts +21 -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,595 +61,471 @@ 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
|
|
65
|
-
|
|
66
|
-
readonly name: "currency";
|
|
67
|
-
readonly type: "address";
|
|
68
|
-
}, {
|
|
69
|
-
readonly internalType: "uint256";
|
|
70
|
-
readonly name: "expected";
|
|
71
|
-
readonly type: "uint256";
|
|
72
|
-
}, {
|
|
73
|
-
readonly internalType: "uint256";
|
|
74
|
-
readonly name: "actual";
|
|
75
|
-
readonly type: "uint256";
|
|
76
|
-
}];
|
|
77
|
-
readonly name: "InsufficientPayment";
|
|
78
|
-
readonly type: "error";
|
|
79
|
-
}, {
|
|
80
|
-
readonly inputs: readonly [{
|
|
81
|
-
readonly internalType: "uint256";
|
|
82
|
-
readonly name: "remainingSupply";
|
|
83
|
-
readonly type: "uint256";
|
|
84
|
-
}, {
|
|
85
|
-
readonly internalType: "uint256";
|
|
86
|
-
readonly name: "amount";
|
|
87
|
-
readonly type: "uint256";
|
|
88
|
-
}];
|
|
89
|
-
readonly name: "InsufficientSupply";
|
|
90
|
-
readonly type: "error";
|
|
91
|
-
}, {
|
|
92
|
-
readonly inputs: readonly [];
|
|
93
|
-
readonly name: "InvalidInitialization";
|
|
94
|
-
readonly type: "error";
|
|
95
|
-
}, {
|
|
64
|
+
readonly type: "function";
|
|
65
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
96
66
|
readonly inputs: readonly [];
|
|
97
|
-
readonly
|
|
98
|
-
|
|
67
|
+
readonly outputs: readonly [{
|
|
68
|
+
readonly name: "";
|
|
69
|
+
readonly type: "bytes32";
|
|
70
|
+
readonly internalType: "bytes32";
|
|
71
|
+
}];
|
|
72
|
+
readonly stateMutability: "view";
|
|
99
73
|
}, {
|
|
74
|
+
readonly type: "function";
|
|
75
|
+
readonly name: "checkMerkleProof";
|
|
100
76
|
readonly inputs: readonly [{
|
|
101
|
-
readonly internalType: "bytes32";
|
|
102
77
|
readonly name: "root";
|
|
103
78
|
readonly type: "bytes32";
|
|
79
|
+
readonly internalType: "bytes32";
|
|
104
80
|
}, {
|
|
105
|
-
readonly internalType: "bytes32[]";
|
|
106
81
|
readonly name: "proof";
|
|
107
82
|
readonly type: "bytes32[]";
|
|
83
|
+
readonly internalType: "bytes32[]";
|
|
108
84
|
}, {
|
|
109
|
-
readonly internalType: "address";
|
|
110
85
|
readonly name: "addr";
|
|
111
86
|
readonly type: "address";
|
|
87
|
+
readonly internalType: "address";
|
|
112
88
|
}, {
|
|
113
|
-
readonly internalType: "bytes32";
|
|
114
89
|
readonly name: "salt";
|
|
115
90
|
readonly type: "bytes32";
|
|
91
|
+
readonly internalType: "bytes32";
|
|
116
92
|
}];
|
|
117
|
-
readonly
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
readonly
|
|
93
|
+
readonly outputs: readonly [{
|
|
94
|
+
readonly name: "";
|
|
95
|
+
readonly type: "bool";
|
|
96
|
+
readonly internalType: "bool";
|
|
97
|
+
}];
|
|
98
|
+
readonly stateMutability: "view";
|
|
123
99
|
}, {
|
|
124
|
-
readonly
|
|
125
|
-
readonly name: "
|
|
126
|
-
readonly
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "getRoleAdmin";
|
|
102
|
+
readonly inputs: readonly [{
|
|
103
|
+
readonly name: "role";
|
|
104
|
+
readonly type: "bytes32";
|
|
105
|
+
readonly internalType: "bytes32";
|
|
106
|
+
}];
|
|
107
|
+
readonly outputs: readonly [{
|
|
108
|
+
readonly name: "";
|
|
109
|
+
readonly type: "bytes32";
|
|
110
|
+
readonly internalType: "bytes32";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
127
113
|
}, {
|
|
128
|
-
readonly
|
|
114
|
+
readonly type: "function";
|
|
115
|
+
readonly name: "getRoleMember";
|
|
129
116
|
readonly inputs: readonly [{
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
132
|
-
readonly
|
|
133
|
-
readonly type: "address";
|
|
117
|
+
readonly name: "role";
|
|
118
|
+
readonly type: "bytes32";
|
|
119
|
+
readonly internalType: "bytes32";
|
|
134
120
|
}, {
|
|
135
|
-
readonly
|
|
136
|
-
readonly internalType: "uint256";
|
|
137
|
-
readonly name: "amount";
|
|
121
|
+
readonly name: "index";
|
|
138
122
|
readonly type: "uint256";
|
|
123
|
+
readonly internalType: "uint256";
|
|
139
124
|
}];
|
|
140
|
-
readonly
|
|
141
|
-
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly name: "";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
readonly internalType: "address";
|
|
129
|
+
}];
|
|
130
|
+
readonly stateMutability: "view";
|
|
142
131
|
}, {
|
|
143
|
-
readonly
|
|
132
|
+
readonly type: "function";
|
|
133
|
+
readonly name: "getRoleMemberCount";
|
|
144
134
|
readonly inputs: readonly [{
|
|
145
|
-
readonly indexed: true;
|
|
146
|
-
readonly internalType: "bytes32";
|
|
147
135
|
readonly name: "role";
|
|
148
136
|
readonly type: "bytes32";
|
|
149
|
-
}, {
|
|
150
|
-
readonly indexed: true;
|
|
151
|
-
readonly internalType: "bytes32";
|
|
152
|
-
readonly name: "previousAdminRole";
|
|
153
|
-
readonly type: "bytes32";
|
|
154
|
-
}, {
|
|
155
|
-
readonly indexed: true;
|
|
156
137
|
readonly internalType: "bytes32";
|
|
157
|
-
readonly name: "newAdminRole";
|
|
158
|
-
readonly type: "bytes32";
|
|
159
138
|
}];
|
|
160
|
-
readonly
|
|
161
|
-
|
|
139
|
+
readonly outputs: readonly [{
|
|
140
|
+
readonly name: "";
|
|
141
|
+
readonly type: "uint256";
|
|
142
|
+
readonly internalType: "uint256";
|
|
143
|
+
}];
|
|
144
|
+
readonly stateMutability: "view";
|
|
162
145
|
}, {
|
|
163
|
-
readonly
|
|
146
|
+
readonly type: "function";
|
|
147
|
+
readonly name: "grantRole";
|
|
164
148
|
readonly inputs: readonly [{
|
|
165
|
-
readonly indexed: true;
|
|
166
|
-
readonly internalType: "bytes32";
|
|
167
149
|
readonly name: "role";
|
|
168
150
|
readonly type: "bytes32";
|
|
151
|
+
readonly internalType: "bytes32";
|
|
169
152
|
}, {
|
|
170
|
-
readonly indexed: true;
|
|
171
|
-
readonly internalType: "address";
|
|
172
153
|
readonly name: "account";
|
|
173
154
|
readonly type: "address";
|
|
174
|
-
}, {
|
|
175
|
-
readonly indexed: true;
|
|
176
155
|
readonly internalType: "address";
|
|
177
|
-
readonly name: "sender";
|
|
178
|
-
readonly type: "address";
|
|
179
156
|
}];
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
157
|
+
readonly outputs: readonly [];
|
|
158
|
+
readonly stateMutability: "nonpayable";
|
|
182
159
|
}, {
|
|
183
|
-
readonly
|
|
160
|
+
readonly type: "function";
|
|
161
|
+
readonly name: "hasRole";
|
|
184
162
|
readonly inputs: readonly [{
|
|
185
|
-
readonly indexed: true;
|
|
186
|
-
readonly internalType: "bytes32";
|
|
187
163
|
readonly name: "role";
|
|
188
164
|
readonly type: "bytes32";
|
|
165
|
+
readonly internalType: "bytes32";
|
|
189
166
|
}, {
|
|
190
|
-
readonly indexed: true;
|
|
191
|
-
readonly internalType: "address";
|
|
192
167
|
readonly name: "account";
|
|
193
168
|
readonly type: "address";
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
}];
|
|
171
|
+
readonly outputs: readonly [{
|
|
172
|
+
readonly name: "";
|
|
173
|
+
readonly type: "bool";
|
|
174
|
+
readonly internalType: "bool";
|
|
175
|
+
}];
|
|
176
|
+
readonly stateMutability: "view";
|
|
177
|
+
}, {
|
|
178
|
+
readonly type: "function";
|
|
179
|
+
readonly name: "initialize";
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly name: "owner";
|
|
182
|
+
readonly type: "address";
|
|
183
|
+
readonly internalType: "address";
|
|
194
184
|
}, {
|
|
195
|
-
readonly
|
|
185
|
+
readonly name: "items";
|
|
186
|
+
readonly type: "address";
|
|
196
187
|
readonly internalType: "address";
|
|
197
|
-
|
|
188
|
+
}];
|
|
189
|
+
readonly outputs: readonly [];
|
|
190
|
+
readonly stateMutability: "nonpayable";
|
|
191
|
+
}, {
|
|
192
|
+
readonly type: "function";
|
|
193
|
+
readonly name: "itemsContract";
|
|
194
|
+
readonly inputs: readonly [];
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly name: "";
|
|
198
197
|
readonly type: "address";
|
|
198
|
+
readonly internalType: "address";
|
|
199
199
|
}];
|
|
200
|
-
readonly
|
|
201
|
-
readonly type: "event";
|
|
200
|
+
readonly stateMutability: "view";
|
|
202
201
|
}, {
|
|
203
|
-
readonly
|
|
202
|
+
readonly type: "function";
|
|
203
|
+
readonly name: "mint";
|
|
204
204
|
readonly inputs: readonly [{
|
|
205
|
-
readonly
|
|
206
|
-
readonly
|
|
207
|
-
readonly
|
|
208
|
-
readonly type: "uint256";
|
|
205
|
+
readonly name: "to";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
209
208
|
}, {
|
|
210
|
-
readonly
|
|
211
|
-
readonly internalType: "uint256";
|
|
212
|
-
readonly name: "cost";
|
|
209
|
+
readonly name: "amount";
|
|
213
210
|
readonly type: "uint256";
|
|
211
|
+
readonly internalType: "uint256";
|
|
214
212
|
}, {
|
|
215
|
-
readonly indexed: false;
|
|
216
|
-
readonly internalType: "address";
|
|
217
213
|
readonly name: "paymentToken";
|
|
218
214
|
readonly type: "address";
|
|
215
|
+
readonly internalType: "address";
|
|
219
216
|
}, {
|
|
220
|
-
readonly
|
|
221
|
-
readonly
|
|
222
|
-
readonly
|
|
223
|
-
readonly type: "uint64";
|
|
224
|
-
}, {
|
|
225
|
-
readonly indexed: false;
|
|
226
|
-
readonly internalType: "uint64";
|
|
227
|
-
readonly name: "endTime";
|
|
228
|
-
readonly type: "uint64";
|
|
217
|
+
readonly name: "maxTotal";
|
|
218
|
+
readonly type: "uint256";
|
|
219
|
+
readonly internalType: "uint256";
|
|
229
220
|
}, {
|
|
230
|
-
readonly
|
|
231
|
-
readonly
|
|
232
|
-
readonly
|
|
233
|
-
readonly type: "bytes32";
|
|
221
|
+
readonly name: "proof";
|
|
222
|
+
readonly type: "bytes32[]";
|
|
223
|
+
readonly internalType: "bytes32[]";
|
|
234
224
|
}];
|
|
235
|
-
readonly
|
|
236
|
-
readonly
|
|
225
|
+
readonly outputs: readonly [];
|
|
226
|
+
readonly stateMutability: "payable";
|
|
237
227
|
}, {
|
|
238
|
-
readonly
|
|
239
|
-
readonly name: "
|
|
240
|
-
readonly
|
|
241
|
-
readonly
|
|
242
|
-
readonly name: "";
|
|
228
|
+
readonly type: "function";
|
|
229
|
+
readonly name: "renounceRole";
|
|
230
|
+
readonly inputs: readonly [{
|
|
231
|
+
readonly name: "role";
|
|
243
232
|
readonly type: "bytes32";
|
|
233
|
+
readonly internalType: "bytes32";
|
|
234
|
+
}, {
|
|
235
|
+
readonly name: "account";
|
|
236
|
+
readonly type: "address";
|
|
237
|
+
readonly internalType: "address";
|
|
244
238
|
}];
|
|
245
|
-
readonly
|
|
246
|
-
readonly
|
|
239
|
+
readonly outputs: readonly [];
|
|
240
|
+
readonly stateMutability: "nonpayable";
|
|
247
241
|
}, {
|
|
242
|
+
readonly type: "function";
|
|
243
|
+
readonly name: "revokeRole";
|
|
248
244
|
readonly inputs: readonly [{
|
|
249
|
-
readonly
|
|
250
|
-
readonly
|
|
251
|
-
readonly
|
|
245
|
+
readonly name: "role";
|
|
246
|
+
readonly type: "bytes32";
|
|
247
|
+
readonly internalType: "bytes32";
|
|
252
248
|
}, {
|
|
253
|
-
readonly
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}, {
|
|
266
|
-
readonly internalType: "bytes32";
|
|
267
|
-
readonly name: "audienceHash";
|
|
268
|
-
readonly type: "bytes32";
|
|
269
|
-
}, {
|
|
270
|
-
readonly internalType: "bytes";
|
|
271
|
-
readonly name: "applicationData";
|
|
272
|
-
readonly type: "bytes";
|
|
273
|
-
}, {
|
|
274
|
-
readonly components: readonly [{
|
|
275
|
-
readonly internalType: "string";
|
|
276
|
-
readonly name: "redirectUrl";
|
|
277
|
-
readonly type: "string";
|
|
278
|
-
}, {
|
|
279
|
-
readonly internalType: "uint64";
|
|
280
|
-
readonly name: "issuedAt";
|
|
281
|
-
readonly type: "uint64";
|
|
282
|
-
}];
|
|
283
|
-
readonly internalType: "struct AuthData";
|
|
284
|
-
readonly name: "authData";
|
|
285
|
-
readonly type: "tuple";
|
|
286
|
-
}];
|
|
287
|
-
readonly internalType: "struct Attestation";
|
|
288
|
-
readonly name: "attestation";
|
|
249
|
+
readonly name: "account";
|
|
250
|
+
readonly type: "address";
|
|
251
|
+
readonly internalType: "address";
|
|
252
|
+
}];
|
|
253
|
+
readonly outputs: readonly [];
|
|
254
|
+
readonly stateMutability: "nonpayable";
|
|
255
|
+
}, {
|
|
256
|
+
readonly type: "function";
|
|
257
|
+
readonly name: "saleDetails";
|
|
258
|
+
readonly inputs: readonly [];
|
|
259
|
+
readonly outputs: readonly [{
|
|
260
|
+
readonly name: "";
|
|
289
261
|
readonly type: "tuple";
|
|
290
|
-
|
|
262
|
+
readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
|
|
291
263
|
readonly components: readonly [{
|
|
292
|
-
readonly
|
|
293
|
-
readonly name: "to";
|
|
294
|
-
readonly type: "address";
|
|
295
|
-
}, {
|
|
296
|
-
readonly internalType: "uint256";
|
|
297
|
-
readonly name: "value";
|
|
264
|
+
readonly name: "supplyCap";
|
|
298
265
|
readonly type: "uint256";
|
|
299
|
-
}, {
|
|
300
|
-
readonly internalType: "bytes";
|
|
301
|
-
readonly name: "data";
|
|
302
|
-
readonly type: "bytes";
|
|
303
|
-
}, {
|
|
304
266
|
readonly internalType: "uint256";
|
|
305
|
-
|
|
267
|
+
}, {
|
|
268
|
+
readonly name: "cost";
|
|
306
269
|
readonly type: "uint256";
|
|
270
|
+
readonly internalType: "uint256";
|
|
307
271
|
}, {
|
|
308
|
-
readonly
|
|
309
|
-
readonly
|
|
310
|
-
readonly
|
|
272
|
+
readonly name: "paymentToken";
|
|
273
|
+
readonly type: "address";
|
|
274
|
+
readonly internalType: "address";
|
|
311
275
|
}, {
|
|
312
|
-
readonly
|
|
313
|
-
readonly
|
|
314
|
-
readonly
|
|
276
|
+
readonly name: "startTime";
|
|
277
|
+
readonly type: "uint64";
|
|
278
|
+
readonly internalType: "uint64";
|
|
315
279
|
}, {
|
|
316
|
-
readonly
|
|
317
|
-
readonly
|
|
318
|
-
readonly
|
|
280
|
+
readonly name: "endTime";
|
|
281
|
+
readonly type: "uint64";
|
|
282
|
+
readonly internalType: "uint64";
|
|
283
|
+
}, {
|
|
284
|
+
readonly name: "merkleRoot";
|
|
285
|
+
readonly type: "bytes32";
|
|
286
|
+
readonly internalType: "bytes32";
|
|
319
287
|
}];
|
|
320
|
-
readonly internalType: "struct Payload.Call";
|
|
321
|
-
readonly name: "call";
|
|
322
|
-
readonly type: "tuple";
|
|
323
|
-
}];
|
|
324
|
-
readonly name: "acceptImplicitRequest";
|
|
325
|
-
readonly outputs: readonly [{
|
|
326
|
-
readonly internalType: "bytes32";
|
|
327
|
-
readonly name: "";
|
|
328
|
-
readonly type: "bytes32";
|
|
329
288
|
}];
|
|
330
289
|
readonly stateMutability: "view";
|
|
331
|
-
readonly type: "function";
|
|
332
290
|
}, {
|
|
291
|
+
readonly type: "function";
|
|
292
|
+
readonly name: "setSaleDetails";
|
|
333
293
|
readonly inputs: readonly [{
|
|
334
|
-
readonly
|
|
335
|
-
readonly
|
|
336
|
-
readonly
|
|
294
|
+
readonly name: "supplyCap";
|
|
295
|
+
readonly type: "uint256";
|
|
296
|
+
readonly internalType: "uint256";
|
|
337
297
|
}, {
|
|
338
|
-
readonly
|
|
339
|
-
readonly
|
|
340
|
-
readonly
|
|
298
|
+
readonly name: "cost";
|
|
299
|
+
readonly type: "uint256";
|
|
300
|
+
readonly internalType: "uint256";
|
|
341
301
|
}, {
|
|
342
|
-
readonly
|
|
343
|
-
readonly name: "addr";
|
|
302
|
+
readonly name: "paymentToken";
|
|
344
303
|
readonly type: "address";
|
|
304
|
+
readonly internalType: "address";
|
|
345
305
|
}, {
|
|
346
|
-
readonly
|
|
347
|
-
readonly
|
|
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";
|
|
348
315
|
readonly type: "bytes32";
|
|
316
|
+
readonly internalType: "bytes32";
|
|
349
317
|
}];
|
|
350
|
-
readonly
|
|
351
|
-
readonly
|
|
352
|
-
readonly internalType: "bool";
|
|
353
|
-
readonly name: "";
|
|
354
|
-
readonly type: "bool";
|
|
355
|
-
}];
|
|
356
|
-
readonly stateMutability: "view";
|
|
357
|
-
readonly type: "function";
|
|
318
|
+
readonly outputs: readonly [];
|
|
319
|
+
readonly stateMutability: "nonpayable";
|
|
358
320
|
}, {
|
|
321
|
+
readonly type: "function";
|
|
322
|
+
readonly name: "supportsInterface";
|
|
359
323
|
readonly inputs: readonly [{
|
|
360
|
-
readonly
|
|
361
|
-
readonly
|
|
362
|
-
readonly
|
|
324
|
+
readonly name: "interfaceId";
|
|
325
|
+
readonly type: "bytes4";
|
|
326
|
+
readonly internalType: "bytes4";
|
|
363
327
|
}];
|
|
364
|
-
readonly name: "getRoleAdmin";
|
|
365
328
|
readonly outputs: readonly [{
|
|
366
|
-
readonly internalType: "bytes32";
|
|
367
329
|
readonly name: "";
|
|
368
|
-
readonly type: "
|
|
330
|
+
readonly type: "bool";
|
|
331
|
+
readonly internalType: "bool";
|
|
369
332
|
}];
|
|
370
333
|
readonly stateMutability: "view";
|
|
371
|
-
readonly type: "function";
|
|
372
334
|
}, {
|
|
335
|
+
readonly type: "function";
|
|
336
|
+
readonly name: "withdrawERC20";
|
|
373
337
|
readonly inputs: readonly [{
|
|
374
|
-
readonly
|
|
375
|
-
readonly
|
|
376
|
-
readonly
|
|
338
|
+
readonly name: "token";
|
|
339
|
+
readonly type: "address";
|
|
340
|
+
readonly internalType: "address";
|
|
377
341
|
}, {
|
|
378
|
-
readonly
|
|
379
|
-
readonly
|
|
342
|
+
readonly name: "to";
|
|
343
|
+
readonly type: "address";
|
|
344
|
+
readonly internalType: "address";
|
|
345
|
+
}, {
|
|
346
|
+
readonly name: "value";
|
|
380
347
|
readonly type: "uint256";
|
|
348
|
+
readonly internalType: "uint256";
|
|
381
349
|
}];
|
|
382
|
-
readonly
|
|
383
|
-
readonly
|
|
384
|
-
|
|
385
|
-
|
|
350
|
+
readonly outputs: readonly [];
|
|
351
|
+
readonly stateMutability: "nonpayable";
|
|
352
|
+
}, {
|
|
353
|
+
readonly type: "function";
|
|
354
|
+
readonly name: "withdrawETH";
|
|
355
|
+
readonly inputs: readonly [{
|
|
356
|
+
readonly name: "to";
|
|
386
357
|
readonly type: "address";
|
|
358
|
+
readonly internalType: "address";
|
|
359
|
+
}, {
|
|
360
|
+
readonly name: "value";
|
|
361
|
+
readonly type: "uint256";
|
|
362
|
+
readonly internalType: "uint256";
|
|
387
363
|
}];
|
|
388
|
-
readonly
|
|
389
|
-
readonly
|
|
364
|
+
readonly outputs: readonly [];
|
|
365
|
+
readonly stateMutability: "nonpayable";
|
|
390
366
|
}, {
|
|
367
|
+
readonly type: "event";
|
|
368
|
+
readonly name: "RoleAdminChanged";
|
|
391
369
|
readonly inputs: readonly [{
|
|
392
|
-
readonly internalType: "bytes32";
|
|
393
370
|
readonly name: "role";
|
|
394
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";
|
|
395
384
|
}];
|
|
396
|
-
readonly
|
|
397
|
-
readonly outputs: readonly [{
|
|
398
|
-
readonly internalType: "uint256";
|
|
399
|
-
readonly name: "";
|
|
400
|
-
readonly type: "uint256";
|
|
401
|
-
}];
|
|
402
|
-
readonly stateMutability: "view";
|
|
403
|
-
readonly type: "function";
|
|
385
|
+
readonly anonymous: false;
|
|
404
386
|
}, {
|
|
387
|
+
readonly type: "event";
|
|
388
|
+
readonly name: "RoleGranted";
|
|
405
389
|
readonly inputs: readonly [{
|
|
406
|
-
readonly internalType: "bytes32";
|
|
407
390
|
readonly name: "role";
|
|
408
391
|
readonly type: "bytes32";
|
|
392
|
+
readonly indexed: true;
|
|
393
|
+
readonly internalType: "bytes32";
|
|
409
394
|
}, {
|
|
410
|
-
readonly internalType: "address";
|
|
411
395
|
readonly name: "account";
|
|
412
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";
|
|
413
404
|
}];
|
|
414
|
-
readonly
|
|
415
|
-
readonly outputs: readonly [];
|
|
416
|
-
readonly stateMutability: "nonpayable";
|
|
417
|
-
readonly type: "function";
|
|
405
|
+
readonly anonymous: false;
|
|
418
406
|
}, {
|
|
407
|
+
readonly type: "event";
|
|
408
|
+
readonly name: "RoleRevoked";
|
|
419
409
|
readonly inputs: readonly [{
|
|
420
|
-
readonly internalType: "bytes32";
|
|
421
410
|
readonly name: "role";
|
|
422
411
|
readonly type: "bytes32";
|
|
412
|
+
readonly indexed: true;
|
|
413
|
+
readonly internalType: "bytes32";
|
|
423
414
|
}, {
|
|
424
|
-
readonly internalType: "address";
|
|
425
415
|
readonly name: "account";
|
|
426
416
|
readonly type: "address";
|
|
427
|
-
|
|
428
|
-
readonly name: "hasRole";
|
|
429
|
-
readonly outputs: readonly [{
|
|
430
|
-
readonly internalType: "bool";
|
|
431
|
-
readonly name: "";
|
|
432
|
-
readonly type: "bool";
|
|
433
|
-
}];
|
|
434
|
-
readonly stateMutability: "view";
|
|
435
|
-
readonly type: "function";
|
|
436
|
-
}, {
|
|
437
|
-
readonly inputs: readonly [{
|
|
417
|
+
readonly indexed: true;
|
|
438
418
|
readonly internalType: "address";
|
|
439
|
-
readonly name: "owner";
|
|
440
|
-
readonly type: "address";
|
|
441
419
|
}, {
|
|
442
|
-
readonly
|
|
443
|
-
readonly name: "items";
|
|
420
|
+
readonly name: "sender";
|
|
444
421
|
readonly type: "address";
|
|
445
|
-
|
|
422
|
+
readonly indexed: true;
|
|
446
423
|
readonly internalType: "address";
|
|
447
|
-
readonly name: "implicitModeValidator";
|
|
448
|
-
readonly type: "address";
|
|
449
|
-
}, {
|
|
450
|
-
readonly internalType: "bytes32";
|
|
451
|
-
readonly name: "implicitModeProjectId";
|
|
452
|
-
readonly type: "bytes32";
|
|
453
424
|
}];
|
|
454
|
-
readonly
|
|
455
|
-
readonly outputs: readonly [];
|
|
456
|
-
readonly stateMutability: "nonpayable";
|
|
457
|
-
readonly type: "function";
|
|
458
|
-
}, {
|
|
459
|
-
readonly inputs: readonly [];
|
|
460
|
-
readonly name: "itemsContract";
|
|
461
|
-
readonly outputs: readonly [{
|
|
462
|
-
readonly internalType: "address";
|
|
463
|
-
readonly name: "";
|
|
464
|
-
readonly type: "address";
|
|
465
|
-
}];
|
|
466
|
-
readonly stateMutability: "view";
|
|
467
|
-
readonly type: "function";
|
|
425
|
+
readonly anonymous: false;
|
|
468
426
|
}, {
|
|
427
|
+
readonly type: "event";
|
|
428
|
+
readonly name: "SaleDetailsUpdated";
|
|
469
429
|
readonly inputs: readonly [{
|
|
470
|
-
readonly
|
|
471
|
-
readonly name: "to";
|
|
472
|
-
readonly type: "address";
|
|
473
|
-
}, {
|
|
474
|
-
readonly internalType: "uint256";
|
|
475
|
-
readonly name: "amount";
|
|
476
|
-
readonly type: "uint256";
|
|
477
|
-
}, {
|
|
478
|
-
readonly internalType: "address";
|
|
479
|
-
readonly name: "paymentToken";
|
|
480
|
-
readonly type: "address";
|
|
481
|
-
}, {
|
|
482
|
-
readonly internalType: "uint256";
|
|
483
|
-
readonly name: "maxTotal";
|
|
430
|
+
readonly name: "supplyCap";
|
|
484
431
|
readonly type: "uint256";
|
|
485
|
-
|
|
486
|
-
readonly internalType: "bytes32[]";
|
|
487
|
-
readonly name: "proof";
|
|
488
|
-
readonly type: "bytes32[]";
|
|
489
|
-
}];
|
|
490
|
-
readonly name: "mint";
|
|
491
|
-
readonly outputs: readonly [];
|
|
492
|
-
readonly stateMutability: "payable";
|
|
493
|
-
readonly type: "function";
|
|
494
|
-
}, {
|
|
495
|
-
readonly inputs: readonly [{
|
|
496
|
-
readonly internalType: "bytes32";
|
|
497
|
-
readonly name: "role";
|
|
498
|
-
readonly type: "bytes32";
|
|
499
|
-
}, {
|
|
500
|
-
readonly internalType: "address";
|
|
501
|
-
readonly name: "account";
|
|
502
|
-
readonly type: "address";
|
|
503
|
-
}];
|
|
504
|
-
readonly name: "renounceRole";
|
|
505
|
-
readonly outputs: readonly [];
|
|
506
|
-
readonly stateMutability: "nonpayable";
|
|
507
|
-
readonly type: "function";
|
|
508
|
-
}, {
|
|
509
|
-
readonly inputs: readonly [{
|
|
510
|
-
readonly internalType: "bytes32";
|
|
511
|
-
readonly name: "role";
|
|
512
|
-
readonly type: "bytes32";
|
|
513
|
-
}, {
|
|
514
|
-
readonly internalType: "address";
|
|
515
|
-
readonly name: "account";
|
|
516
|
-
readonly type: "address";
|
|
517
|
-
}];
|
|
518
|
-
readonly name: "revokeRole";
|
|
519
|
-
readonly outputs: readonly [];
|
|
520
|
-
readonly stateMutability: "nonpayable";
|
|
521
|
-
readonly type: "function";
|
|
522
|
-
}, {
|
|
523
|
-
readonly inputs: readonly [];
|
|
524
|
-
readonly name: "saleDetails";
|
|
525
|
-
readonly outputs: readonly [{
|
|
526
|
-
readonly components: readonly [{
|
|
527
|
-
readonly internalType: "uint256";
|
|
528
|
-
readonly name: "remainingSupply";
|
|
529
|
-
readonly type: "uint256";
|
|
530
|
-
}, {
|
|
531
|
-
readonly internalType: "uint256";
|
|
532
|
-
readonly name: "cost";
|
|
533
|
-
readonly type: "uint256";
|
|
534
|
-
}, {
|
|
535
|
-
readonly internalType: "address";
|
|
536
|
-
readonly name: "paymentToken";
|
|
537
|
-
readonly type: "address";
|
|
538
|
-
}, {
|
|
539
|
-
readonly internalType: "uint64";
|
|
540
|
-
readonly name: "startTime";
|
|
541
|
-
readonly type: "uint64";
|
|
542
|
-
}, {
|
|
543
|
-
readonly internalType: "uint64";
|
|
544
|
-
readonly name: "endTime";
|
|
545
|
-
readonly type: "uint64";
|
|
546
|
-
}, {
|
|
547
|
-
readonly internalType: "bytes32";
|
|
548
|
-
readonly name: "merkleRoot";
|
|
549
|
-
readonly type: "bytes32";
|
|
550
|
-
}];
|
|
551
|
-
readonly internalType: "struct IERC721SaleFunctions.SaleDetails";
|
|
552
|
-
readonly name: "";
|
|
553
|
-
readonly type: "tuple";
|
|
554
|
-
}];
|
|
555
|
-
readonly stateMutability: "view";
|
|
556
|
-
readonly type: "function";
|
|
557
|
-
}, {
|
|
558
|
-
readonly inputs: readonly [{
|
|
559
|
-
readonly internalType: "bytes32";
|
|
560
|
-
readonly name: "projectId";
|
|
561
|
-
readonly type: "bytes32";
|
|
562
|
-
}];
|
|
563
|
-
readonly name: "setImplicitModeProjectId";
|
|
564
|
-
readonly outputs: readonly [];
|
|
565
|
-
readonly stateMutability: "nonpayable";
|
|
566
|
-
readonly type: "function";
|
|
567
|
-
}, {
|
|
568
|
-
readonly inputs: readonly [{
|
|
569
|
-
readonly internalType: "address";
|
|
570
|
-
readonly name: "validator";
|
|
571
|
-
readonly type: "address";
|
|
572
|
-
}];
|
|
573
|
-
readonly name: "setImplicitModeValidator";
|
|
574
|
-
readonly outputs: readonly [];
|
|
575
|
-
readonly stateMutability: "nonpayable";
|
|
576
|
-
readonly type: "function";
|
|
577
|
-
}, {
|
|
578
|
-
readonly inputs: readonly [{
|
|
432
|
+
readonly indexed: false;
|
|
579
433
|
readonly internalType: "uint256";
|
|
580
|
-
readonly name: "remainingSupply";
|
|
581
|
-
readonly type: "uint256";
|
|
582
434
|
}, {
|
|
583
|
-
readonly internalType: "uint256";
|
|
584
435
|
readonly name: "cost";
|
|
585
436
|
readonly type: "uint256";
|
|
437
|
+
readonly indexed: false;
|
|
438
|
+
readonly internalType: "uint256";
|
|
586
439
|
}, {
|
|
587
|
-
readonly internalType: "address";
|
|
588
440
|
readonly name: "paymentToken";
|
|
589
441
|
readonly type: "address";
|
|
442
|
+
readonly indexed: false;
|
|
443
|
+
readonly internalType: "address";
|
|
590
444
|
}, {
|
|
591
|
-
readonly internalType: "uint64";
|
|
592
445
|
readonly name: "startTime";
|
|
593
446
|
readonly type: "uint64";
|
|
594
|
-
|
|
447
|
+
readonly indexed: false;
|
|
595
448
|
readonly internalType: "uint64";
|
|
449
|
+
}, {
|
|
596
450
|
readonly name: "endTime";
|
|
597
451
|
readonly type: "uint64";
|
|
452
|
+
readonly indexed: false;
|
|
453
|
+
readonly internalType: "uint64";
|
|
598
454
|
}, {
|
|
599
|
-
readonly internalType: "bytes32";
|
|
600
455
|
readonly name: "merkleRoot";
|
|
601
456
|
readonly type: "bytes32";
|
|
457
|
+
readonly indexed: false;
|
|
458
|
+
readonly internalType: "bytes32";
|
|
602
459
|
}];
|
|
603
|
-
readonly
|
|
604
|
-
readonly outputs: readonly [];
|
|
605
|
-
readonly stateMutability: "nonpayable";
|
|
606
|
-
readonly type: "function";
|
|
607
|
-
}, {
|
|
608
|
-
readonly inputs: readonly [{
|
|
609
|
-
readonly internalType: "bytes4";
|
|
610
|
-
readonly name: "interfaceId";
|
|
611
|
-
readonly type: "bytes4";
|
|
612
|
-
}];
|
|
613
|
-
readonly name: "supportsInterface";
|
|
614
|
-
readonly outputs: readonly [{
|
|
615
|
-
readonly internalType: "bool";
|
|
616
|
-
readonly name: "";
|
|
617
|
-
readonly type: "bool";
|
|
618
|
-
}];
|
|
619
|
-
readonly stateMutability: "view";
|
|
620
|
-
readonly type: "function";
|
|
460
|
+
readonly anonymous: false;
|
|
621
461
|
}, {
|
|
462
|
+
readonly type: "error";
|
|
463
|
+
readonly name: "InsufficientPayment";
|
|
622
464
|
readonly inputs: readonly [{
|
|
623
|
-
readonly
|
|
624
|
-
readonly name: "token";
|
|
465
|
+
readonly name: "currency";
|
|
625
466
|
readonly type: "address";
|
|
626
|
-
}, {
|
|
627
467
|
readonly internalType: "address";
|
|
628
|
-
readonly name: "to";
|
|
629
|
-
readonly type: "address";
|
|
630
468
|
}, {
|
|
469
|
+
readonly name: "expected";
|
|
470
|
+
readonly type: "uint256";
|
|
631
471
|
readonly internalType: "uint256";
|
|
632
|
-
|
|
472
|
+
}, {
|
|
473
|
+
readonly name: "actual";
|
|
633
474
|
readonly type: "uint256";
|
|
475
|
+
readonly internalType: "uint256";
|
|
634
476
|
}];
|
|
635
|
-
readonly name: "withdrawERC20";
|
|
636
|
-
readonly outputs: readonly [];
|
|
637
|
-
readonly stateMutability: "nonpayable";
|
|
638
|
-
readonly type: "function";
|
|
639
477
|
}, {
|
|
478
|
+
readonly type: "error";
|
|
479
|
+
readonly name: "InsufficientSupply";
|
|
640
480
|
readonly inputs: readonly [{
|
|
641
|
-
readonly
|
|
642
|
-
readonly
|
|
643
|
-
readonly
|
|
481
|
+
readonly name: "currentSupply";
|
|
482
|
+
readonly type: "uint256";
|
|
483
|
+
readonly internalType: "uint256";
|
|
644
484
|
}, {
|
|
485
|
+
readonly name: "amount";
|
|
486
|
+
readonly type: "uint256";
|
|
645
487
|
readonly internalType: "uint256";
|
|
646
|
-
|
|
488
|
+
}, {
|
|
489
|
+
readonly name: "maxSupply";
|
|
647
490
|
readonly type: "uint256";
|
|
491
|
+
readonly internalType: "uint256";
|
|
648
492
|
}];
|
|
649
|
-
|
|
650
|
-
readonly
|
|
651
|
-
readonly
|
|
652
|
-
readonly
|
|
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";
|
|
508
|
+
}, {
|
|
509
|
+
readonly name: "proof";
|
|
510
|
+
readonly type: "bytes32[]";
|
|
511
|
+
readonly internalType: "bytes32[]";
|
|
512
|
+
}, {
|
|
513
|
+
readonly name: "addr";
|
|
514
|
+
readonly type: "address";
|
|
515
|
+
readonly internalType: "address";
|
|
516
|
+
}, {
|
|
517
|
+
readonly name: "salt";
|
|
518
|
+
readonly type: "bytes32";
|
|
519
|
+
readonly internalType: "bytes32";
|
|
520
|
+
}];
|
|
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 [];
|
|
653
529
|
}] | readonly [{
|
|
654
530
|
readonly inputs: readonly [];
|
|
655
531
|
readonly name: "GlobalSaleInactive";
|
|
@@ -1454,673 +1330,595 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
1454
1330
|
readonly stateMutability: "nonpayable";
|
|
1455
1331
|
readonly type: "function";
|
|
1456
1332
|
}] | 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
1333
|
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
1334
|
readonly internalType: "address";
|
|
1335
|
+
readonly name: "currency";
|
|
1336
|
+
readonly type: "address";
|
|
1481
1337
|
}, {
|
|
1482
|
-
readonly
|
|
1483
|
-
readonly
|
|
1484
|
-
readonly
|
|
1338
|
+
readonly internalType: "uint256";
|
|
1339
|
+
readonly name: "expected";
|
|
1340
|
+
readonly type: "uint256";
|
|
1341
|
+
}, {
|
|
1342
|
+
readonly internalType: "uint256";
|
|
1343
|
+
readonly name: "actual";
|
|
1344
|
+
readonly type: "uint256";
|
|
1485
1345
|
}];
|
|
1486
|
-
readonly
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1346
|
+
readonly name: "InsufficientPayment";
|
|
1347
|
+
readonly type: "error";
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly inputs: readonly [{
|
|
1350
|
+
readonly internalType: "uint256";
|
|
1351
|
+
readonly name: "remainingSupply";
|
|
1352
|
+
readonly type: "uint256";
|
|
1353
|
+
}, {
|
|
1354
|
+
readonly internalType: "uint256";
|
|
1355
|
+
readonly name: "amount";
|
|
1356
|
+
readonly type: "uint256";
|
|
1490
1357
|
}];
|
|
1491
|
-
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";
|
|
1492
1368
|
}, {
|
|
1493
|
-
readonly type: "function";
|
|
1494
|
-
readonly name: "getRoleAdmin";
|
|
1495
1369
|
readonly inputs: readonly [{
|
|
1496
|
-
readonly name: "role";
|
|
1497
|
-
readonly type: "bytes32";
|
|
1498
1370
|
readonly internalType: "bytes32";
|
|
1499
|
-
|
|
1500
|
-
readonly outputs: readonly [{
|
|
1501
|
-
readonly name: "";
|
|
1371
|
+
readonly name: "root";
|
|
1502
1372
|
readonly type: "bytes32";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly internalType: "bytes32[]";
|
|
1375
|
+
readonly name: "proof";
|
|
1376
|
+
readonly type: "bytes32[]";
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly internalType: "address";
|
|
1379
|
+
readonly name: "addr";
|
|
1380
|
+
readonly type: "address";
|
|
1381
|
+
}, {
|
|
1503
1382
|
readonly internalType: "bytes32";
|
|
1383
|
+
readonly name: "salt";
|
|
1384
|
+
readonly type: "bytes32";
|
|
1504
1385
|
}];
|
|
1505
|
-
readonly
|
|
1386
|
+
readonly name: "MerkleProofInvalid";
|
|
1387
|
+
readonly type: "error";
|
|
1506
1388
|
}, {
|
|
1507
|
-
readonly
|
|
1508
|
-
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;
|
|
1509
1398
|
readonly inputs: readonly [{
|
|
1510
|
-
readonly
|
|
1511
|
-
readonly
|
|
1512
|
-
readonly
|
|
1399
|
+
readonly indexed: false;
|
|
1400
|
+
readonly internalType: "address";
|
|
1401
|
+
readonly name: "to";
|
|
1402
|
+
readonly type: "address";
|
|
1513
1403
|
}, {
|
|
1514
|
-
readonly
|
|
1515
|
-
readonly type: "uint256";
|
|
1404
|
+
readonly indexed: false;
|
|
1516
1405
|
readonly internalType: "uint256";
|
|
1406
|
+
readonly name: "amount";
|
|
1407
|
+
readonly type: "uint256";
|
|
1517
1408
|
}];
|
|
1518
|
-
readonly
|
|
1519
|
-
|
|
1520
|
-
readonly type: "address";
|
|
1521
|
-
readonly internalType: "address";
|
|
1522
|
-
}];
|
|
1523
|
-
readonly stateMutability: "view";
|
|
1409
|
+
readonly name: "ItemsMinted";
|
|
1410
|
+
readonly type: "event";
|
|
1524
1411
|
}, {
|
|
1525
|
-
readonly
|
|
1526
|
-
readonly name: "getRoleMemberCount";
|
|
1412
|
+
readonly anonymous: false;
|
|
1527
1413
|
readonly inputs: readonly [{
|
|
1414
|
+
readonly indexed: true;
|
|
1415
|
+
readonly internalType: "bytes32";
|
|
1528
1416
|
readonly name: "role";
|
|
1529
1417
|
readonly type: "bytes32";
|
|
1418
|
+
}, {
|
|
1419
|
+
readonly indexed: true;
|
|
1530
1420
|
readonly internalType: "bytes32";
|
|
1421
|
+
readonly name: "previousAdminRole";
|
|
1422
|
+
readonly type: "bytes32";
|
|
1423
|
+
}, {
|
|
1424
|
+
readonly indexed: true;
|
|
1425
|
+
readonly internalType: "bytes32";
|
|
1426
|
+
readonly name: "newAdminRole";
|
|
1427
|
+
readonly type: "bytes32";
|
|
1531
1428
|
}];
|
|
1532
|
-
readonly
|
|
1533
|
-
|
|
1534
|
-
readonly type: "uint256";
|
|
1535
|
-
readonly internalType: "uint256";
|
|
1536
|
-
}];
|
|
1537
|
-
readonly stateMutability: "view";
|
|
1538
|
-
}, {
|
|
1539
|
-
readonly type: "function";
|
|
1540
|
-
readonly name: "globalSaleDetails";
|
|
1541
|
-
readonly inputs: readonly [];
|
|
1542
|
-
readonly outputs: readonly [{
|
|
1543
|
-
readonly name: "";
|
|
1544
|
-
readonly type: "tuple";
|
|
1545
|
-
readonly internalType: "struct IERC1155SaleFunctions.SaleDetails";
|
|
1546
|
-
readonly components: readonly [{
|
|
1547
|
-
readonly name: "cost";
|
|
1548
|
-
readonly type: "uint256";
|
|
1549
|
-
readonly internalType: "uint256";
|
|
1550
|
-
}, {
|
|
1551
|
-
readonly name: "supplyCap";
|
|
1552
|
-
readonly type: "uint256";
|
|
1553
|
-
readonly internalType: "uint256";
|
|
1554
|
-
}, {
|
|
1555
|
-
readonly name: "startTime";
|
|
1556
|
-
readonly type: "uint64";
|
|
1557
|
-
readonly internalType: "uint64";
|
|
1558
|
-
}, {
|
|
1559
|
-
readonly name: "endTime";
|
|
1560
|
-
readonly type: "uint64";
|
|
1561
|
-
readonly internalType: "uint64";
|
|
1562
|
-
}, {
|
|
1563
|
-
readonly name: "merkleRoot";
|
|
1564
|
-
readonly type: "bytes32";
|
|
1565
|
-
readonly internalType: "bytes32";
|
|
1566
|
-
}];
|
|
1567
|
-
}];
|
|
1568
|
-
readonly stateMutability: "view";
|
|
1429
|
+
readonly name: "RoleAdminChanged";
|
|
1430
|
+
readonly type: "event";
|
|
1569
1431
|
}, {
|
|
1570
|
-
readonly
|
|
1571
|
-
readonly name: "grantRole";
|
|
1432
|
+
readonly anonymous: false;
|
|
1572
1433
|
readonly inputs: readonly [{
|
|
1434
|
+
readonly indexed: true;
|
|
1435
|
+
readonly internalType: "bytes32";
|
|
1573
1436
|
readonly name: "role";
|
|
1574
1437
|
readonly type: "bytes32";
|
|
1575
|
-
readonly internalType: "bytes32";
|
|
1576
1438
|
}, {
|
|
1439
|
+
readonly indexed: true;
|
|
1440
|
+
readonly internalType: "address";
|
|
1577
1441
|
readonly name: "account";
|
|
1578
1442
|
readonly type: "address";
|
|
1443
|
+
}, {
|
|
1444
|
+
readonly indexed: true;
|
|
1579
1445
|
readonly internalType: "address";
|
|
1446
|
+
readonly name: "sender";
|
|
1447
|
+
readonly type: "address";
|
|
1580
1448
|
}];
|
|
1581
|
-
readonly
|
|
1582
|
-
readonly
|
|
1449
|
+
readonly name: "RoleGranted";
|
|
1450
|
+
readonly type: "event";
|
|
1583
1451
|
}, {
|
|
1584
|
-
readonly
|
|
1585
|
-
readonly name: "hasRole";
|
|
1452
|
+
readonly anonymous: false;
|
|
1586
1453
|
readonly inputs: readonly [{
|
|
1454
|
+
readonly indexed: true;
|
|
1455
|
+
readonly internalType: "bytes32";
|
|
1587
1456
|
readonly name: "role";
|
|
1588
1457
|
readonly type: "bytes32";
|
|
1589
|
-
readonly internalType: "bytes32";
|
|
1590
1458
|
}, {
|
|
1591
|
-
readonly
|
|
1592
|
-
readonly type: "address";
|
|
1459
|
+
readonly indexed: true;
|
|
1593
1460
|
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
|
-
}, {
|
|
1602
|
-
readonly type: "function";
|
|
1603
|
-
readonly name: "initialize";
|
|
1604
|
-
readonly inputs: readonly [{
|
|
1605
|
-
readonly name: "owner";
|
|
1461
|
+
readonly name: "account";
|
|
1606
1462
|
readonly type: "address";
|
|
1607
|
-
readonly internalType: "address";
|
|
1608
1463
|
}, {
|
|
1609
|
-
readonly
|
|
1610
|
-
readonly type: "address";
|
|
1464
|
+
readonly indexed: true;
|
|
1611
1465
|
readonly internalType: "address";
|
|
1466
|
+
readonly name: "sender";
|
|
1467
|
+
readonly type: "address";
|
|
1612
1468
|
}];
|
|
1613
|
-
readonly
|
|
1614
|
-
readonly
|
|
1469
|
+
readonly name: "RoleRevoked";
|
|
1470
|
+
readonly type: "event";
|
|
1615
1471
|
}, {
|
|
1616
|
-
readonly
|
|
1617
|
-
readonly name: "mint";
|
|
1472
|
+
readonly anonymous: false;
|
|
1618
1473
|
readonly inputs: readonly [{
|
|
1619
|
-
readonly
|
|
1620
|
-
readonly
|
|
1621
|
-
readonly
|
|
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[]";
|
|
1474
|
+
readonly indexed: false;
|
|
1475
|
+
readonly internalType: "uint256";
|
|
1476
|
+
readonly name: "remainingSupply";
|
|
1477
|
+
readonly type: "uint256";
|
|
1630
1478
|
}, {
|
|
1631
|
-
readonly
|
|
1632
|
-
readonly
|
|
1633
|
-
readonly
|
|
1479
|
+
readonly indexed: false;
|
|
1480
|
+
readonly internalType: "uint256";
|
|
1481
|
+
readonly name: "cost";
|
|
1482
|
+
readonly type: "uint256";
|
|
1634
1483
|
}, {
|
|
1635
|
-
readonly
|
|
1636
|
-
readonly type: "address";
|
|
1484
|
+
readonly indexed: false;
|
|
1637
1485
|
readonly internalType: "address";
|
|
1486
|
+
readonly name: "paymentToken";
|
|
1487
|
+
readonly type: "address";
|
|
1638
1488
|
}, {
|
|
1639
|
-
readonly
|
|
1640
|
-
readonly
|
|
1641
|
-
readonly
|
|
1489
|
+
readonly indexed: false;
|
|
1490
|
+
readonly internalType: "uint64";
|
|
1491
|
+
readonly name: "startTime";
|
|
1492
|
+
readonly type: "uint64";
|
|
1642
1493
|
}, {
|
|
1643
|
-
readonly
|
|
1644
|
-
readonly
|
|
1645
|
-
readonly
|
|
1494
|
+
readonly indexed: false;
|
|
1495
|
+
readonly internalType: "uint64";
|
|
1496
|
+
readonly name: "endTime";
|
|
1497
|
+
readonly type: "uint64";
|
|
1498
|
+
}, {
|
|
1499
|
+
readonly indexed: false;
|
|
1500
|
+
readonly internalType: "bytes32";
|
|
1501
|
+
readonly name: "merkleRoot";
|
|
1502
|
+
readonly type: "bytes32";
|
|
1646
1503
|
}];
|
|
1647
|
-
readonly
|
|
1648
|
-
readonly
|
|
1504
|
+
readonly name: "SaleDetailsUpdated";
|
|
1505
|
+
readonly type: "event";
|
|
1649
1506
|
}, {
|
|
1650
|
-
readonly type: "function";
|
|
1651
|
-
readonly name: "paymentToken";
|
|
1652
1507
|
readonly inputs: readonly [];
|
|
1508
|
+
readonly name: "DEFAULT_ADMIN_ROLE";
|
|
1653
1509
|
readonly outputs: readonly [{
|
|
1510
|
+
readonly internalType: "bytes32";
|
|
1654
1511
|
readonly name: "";
|
|
1655
|
-
readonly type: "
|
|
1656
|
-
readonly internalType: "address";
|
|
1512
|
+
readonly type: "bytes32";
|
|
1657
1513
|
}];
|
|
1658
1514
|
readonly stateMutability: "view";
|
|
1659
|
-
}, {
|
|
1660
1515
|
readonly type: "function";
|
|
1661
|
-
|
|
1516
|
+
}, {
|
|
1662
1517
|
readonly inputs: readonly [{
|
|
1663
|
-
readonly name: "role";
|
|
1664
|
-
readonly type: "bytes32";
|
|
1665
|
-
readonly internalType: "bytes32";
|
|
1666
|
-
}, {
|
|
1667
|
-
readonly name: "account";
|
|
1668
|
-
readonly type: "address";
|
|
1669
1518
|
readonly internalType: "address";
|
|
1519
|
+
readonly name: "wallet";
|
|
1520
|
+
readonly type: "address";
|
|
1521
|
+
}, {
|
|
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";
|
|
1559
|
+
}, {
|
|
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";
|
|
1670
1592
|
}];
|
|
1671
|
-
readonly
|
|
1672
|
-
readonly
|
|
1673
|
-
}, {
|
|
1674
|
-
readonly type: "function";
|
|
1675
|
-
readonly name: "revokeRole";
|
|
1676
|
-
readonly inputs: readonly [{
|
|
1677
|
-
readonly name: "role";
|
|
1678
|
-
readonly type: "bytes32";
|
|
1593
|
+
readonly name: "acceptImplicitRequest";
|
|
1594
|
+
readonly outputs: readonly [{
|
|
1679
1595
|
readonly internalType: "bytes32";
|
|
1680
|
-
|
|
1681
|
-
readonly
|
|
1682
|
-
readonly type: "address";
|
|
1683
|
-
readonly internalType: "address";
|
|
1596
|
+
readonly name: "";
|
|
1597
|
+
readonly type: "bytes32";
|
|
1684
1598
|
}];
|
|
1685
|
-
readonly
|
|
1686
|
-
readonly stateMutability: "nonpayable";
|
|
1687
|
-
}, {
|
|
1599
|
+
readonly stateMutability: "view";
|
|
1688
1600
|
readonly type: "function";
|
|
1689
|
-
|
|
1601
|
+
}, {
|
|
1690
1602
|
readonly inputs: readonly [{
|
|
1691
|
-
readonly
|
|
1692
|
-
readonly
|
|
1693
|
-
readonly
|
|
1694
|
-
}, {
|
|
1695
|
-
readonly name: "supplyCap";
|
|
1696
|
-
readonly type: "uint256";
|
|
1697
|
-
readonly internalType: "uint256";
|
|
1603
|
+
readonly internalType: "bytes32";
|
|
1604
|
+
readonly name: "root";
|
|
1605
|
+
readonly type: "bytes32";
|
|
1698
1606
|
}, {
|
|
1699
|
-
readonly
|
|
1700
|
-
readonly
|
|
1701
|
-
readonly
|
|
1607
|
+
readonly internalType: "bytes32[]";
|
|
1608
|
+
readonly name: "proof";
|
|
1609
|
+
readonly type: "bytes32[]";
|
|
1702
1610
|
}, {
|
|
1703
|
-
readonly
|
|
1704
|
-
readonly
|
|
1705
|
-
readonly
|
|
1611
|
+
readonly internalType: "address";
|
|
1612
|
+
readonly name: "addr";
|
|
1613
|
+
readonly type: "address";
|
|
1706
1614
|
}, {
|
|
1707
|
-
readonly name: "merkleRoot";
|
|
1708
|
-
readonly type: "bytes32";
|
|
1709
1615
|
readonly internalType: "bytes32";
|
|
1616
|
+
readonly name: "salt";
|
|
1617
|
+
readonly type: "bytes32";
|
|
1710
1618
|
}];
|
|
1711
|
-
readonly
|
|
1712
|
-
readonly
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
readonly inputs: readonly [{
|
|
1717
|
-
readonly name: "paymentTokenAddr";
|
|
1718
|
-
readonly type: "address";
|
|
1719
|
-
readonly internalType: "address";
|
|
1619
|
+
readonly name: "checkMerkleProof";
|
|
1620
|
+
readonly outputs: readonly [{
|
|
1621
|
+
readonly internalType: "bool";
|
|
1622
|
+
readonly name: "";
|
|
1623
|
+
readonly type: "bool";
|
|
1720
1624
|
}];
|
|
1721
|
-
readonly
|
|
1722
|
-
readonly stateMutability: "nonpayable";
|
|
1723
|
-
}, {
|
|
1625
|
+
readonly stateMutability: "view";
|
|
1724
1626
|
readonly type: "function";
|
|
1725
|
-
|
|
1627
|
+
}, {
|
|
1726
1628
|
readonly inputs: readonly [{
|
|
1727
|
-
readonly
|
|
1728
|
-
readonly
|
|
1729
|
-
readonly internalType: "uint256";
|
|
1730
|
-
}, {
|
|
1731
|
-
readonly name: "cost";
|
|
1732
|
-
readonly type: "uint256";
|
|
1733
|
-
readonly internalType: "uint256";
|
|
1734
|
-
}, {
|
|
1735
|
-
readonly name: "supplyCap";
|
|
1736
|
-
readonly type: "uint256";
|
|
1737
|
-
readonly internalType: "uint256";
|
|
1738
|
-
}, {
|
|
1739
|
-
readonly name: "startTime";
|
|
1740
|
-
readonly type: "uint64";
|
|
1741
|
-
readonly internalType: "uint64";
|
|
1742
|
-
}, {
|
|
1743
|
-
readonly name: "endTime";
|
|
1744
|
-
readonly type: "uint64";
|
|
1745
|
-
readonly internalType: "uint64";
|
|
1746
|
-
}, {
|
|
1747
|
-
readonly name: "merkleRoot";
|
|
1629
|
+
readonly internalType: "bytes32";
|
|
1630
|
+
readonly name: "role";
|
|
1748
1631
|
readonly type: "bytes32";
|
|
1632
|
+
}];
|
|
1633
|
+
readonly name: "getRoleAdmin";
|
|
1634
|
+
readonly outputs: readonly [{
|
|
1749
1635
|
readonly internalType: "bytes32";
|
|
1636
|
+
readonly name: "";
|
|
1637
|
+
readonly type: "bytes32";
|
|
1750
1638
|
}];
|
|
1751
|
-
readonly
|
|
1752
|
-
readonly stateMutability: "nonpayable";
|
|
1753
|
-
}, {
|
|
1639
|
+
readonly stateMutability: "view";
|
|
1754
1640
|
readonly type: "function";
|
|
1755
|
-
readonly name: "setTokenSaleDetailsBatch";
|
|
1756
|
-
readonly inputs: readonly [{
|
|
1757
|
-
readonly name: "tokenIds";
|
|
1758
|
-
readonly type: "uint256[]";
|
|
1759
|
-
readonly internalType: "uint256[]";
|
|
1760
|
-
}, {
|
|
1761
|
-
readonly name: "costs";
|
|
1762
|
-
readonly type: "uint256[]";
|
|
1763
|
-
readonly internalType: "uint256[]";
|
|
1764
|
-
}, {
|
|
1765
|
-
readonly name: "supplyCaps";
|
|
1766
|
-
readonly type: "uint256[]";
|
|
1767
|
-
readonly internalType: "uint256[]";
|
|
1768
|
-
}, {
|
|
1769
|
-
readonly name: "startTimes";
|
|
1770
|
-
readonly type: "uint64[]";
|
|
1771
|
-
readonly internalType: "uint64[]";
|
|
1772
|
-
}, {
|
|
1773
|
-
readonly name: "endTimes";
|
|
1774
|
-
readonly type: "uint64[]";
|
|
1775
|
-
readonly internalType: "uint64[]";
|
|
1776
|
-
}, {
|
|
1777
|
-
readonly name: "merkleRoots";
|
|
1778
|
-
readonly type: "bytes32[]";
|
|
1779
|
-
readonly internalType: "bytes32[]";
|
|
1780
|
-
}];
|
|
1781
|
-
readonly outputs: readonly [];
|
|
1782
|
-
readonly stateMutability: "nonpayable";
|
|
1783
1641
|
}, {
|
|
1784
|
-
readonly type: "function";
|
|
1785
|
-
readonly name: "supportsInterface";
|
|
1786
1642
|
readonly inputs: readonly [{
|
|
1787
|
-
readonly
|
|
1788
|
-
readonly
|
|
1789
|
-
readonly
|
|
1643
|
+
readonly internalType: "bytes32";
|
|
1644
|
+
readonly name: "role";
|
|
1645
|
+
readonly type: "bytes32";
|
|
1646
|
+
}, {
|
|
1647
|
+
readonly internalType: "uint256";
|
|
1648
|
+
readonly name: "index";
|
|
1649
|
+
readonly type: "uint256";
|
|
1790
1650
|
}];
|
|
1651
|
+
readonly name: "getRoleMember";
|
|
1791
1652
|
readonly outputs: readonly [{
|
|
1653
|
+
readonly internalType: "address";
|
|
1792
1654
|
readonly name: "";
|
|
1793
|
-
readonly type: "
|
|
1794
|
-
readonly internalType: "bool";
|
|
1655
|
+
readonly type: "address";
|
|
1795
1656
|
}];
|
|
1796
1657
|
readonly stateMutability: "view";
|
|
1797
|
-
}, {
|
|
1798
1658
|
readonly type: "function";
|
|
1799
|
-
|
|
1659
|
+
}, {
|
|
1800
1660
|
readonly inputs: readonly [{
|
|
1801
|
-
readonly
|
|
1802
|
-
readonly
|
|
1803
|
-
readonly
|
|
1661
|
+
readonly internalType: "bytes32";
|
|
1662
|
+
readonly name: "role";
|
|
1663
|
+
readonly type: "bytes32";
|
|
1804
1664
|
}];
|
|
1665
|
+
readonly name: "getRoleMemberCount";
|
|
1805
1666
|
readonly outputs: readonly [{
|
|
1667
|
+
readonly internalType: "uint256";
|
|
1806
1668
|
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
|
-
}];
|
|
1669
|
+
readonly type: "uint256";
|
|
1830
1670
|
}];
|
|
1831
1671
|
readonly stateMutability: "view";
|
|
1672
|
+
readonly type: "function";
|
|
1832
1673
|
}, {
|
|
1674
|
+
readonly inputs: readonly [{
|
|
1675
|
+
readonly internalType: "bytes32";
|
|
1676
|
+
readonly name: "role";
|
|
1677
|
+
readonly type: "bytes32";
|
|
1678
|
+
}, {
|
|
1679
|
+
readonly internalType: "address";
|
|
1680
|
+
readonly name: "account";
|
|
1681
|
+
readonly type: "address";
|
|
1682
|
+
}];
|
|
1683
|
+
readonly name: "grantRole";
|
|
1684
|
+
readonly outputs: readonly [];
|
|
1685
|
+
readonly stateMutability: "nonpayable";
|
|
1833
1686
|
readonly type: "function";
|
|
1834
|
-
|
|
1687
|
+
}, {
|
|
1835
1688
|
readonly inputs: readonly [{
|
|
1836
|
-
readonly
|
|
1837
|
-
readonly
|
|
1838
|
-
readonly
|
|
1689
|
+
readonly internalType: "bytes32";
|
|
1690
|
+
readonly name: "role";
|
|
1691
|
+
readonly type: "bytes32";
|
|
1692
|
+
}, {
|
|
1693
|
+
readonly internalType: "address";
|
|
1694
|
+
readonly name: "account";
|
|
1695
|
+
readonly type: "address";
|
|
1839
1696
|
}];
|
|
1697
|
+
readonly name: "hasRole";
|
|
1840
1698
|
readonly outputs: readonly [{
|
|
1699
|
+
readonly internalType: "bool";
|
|
1841
1700
|
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
|
-
}];
|
|
1701
|
+
readonly type: "bool";
|
|
1865
1702
|
}];
|
|
1866
1703
|
readonly stateMutability: "view";
|
|
1867
|
-
}, {
|
|
1868
1704
|
readonly type: "function";
|
|
1869
|
-
|
|
1705
|
+
}, {
|
|
1870
1706
|
readonly inputs: readonly [{
|
|
1871
|
-
readonly name: "token";
|
|
1872
|
-
readonly type: "address";
|
|
1873
1707
|
readonly internalType: "address";
|
|
1708
|
+
readonly name: "owner";
|
|
1709
|
+
readonly type: "address";
|
|
1874
1710
|
}, {
|
|
1875
|
-
readonly
|
|
1711
|
+
readonly internalType: "address";
|
|
1712
|
+
readonly name: "items";
|
|
1876
1713
|
readonly type: "address";
|
|
1714
|
+
}, {
|
|
1877
1715
|
readonly internalType: "address";
|
|
1716
|
+
readonly name: "implicitModeValidator";
|
|
1717
|
+
readonly type: "address";
|
|
1878
1718
|
}, {
|
|
1879
|
-
readonly
|
|
1880
|
-
readonly
|
|
1881
|
-
readonly
|
|
1719
|
+
readonly internalType: "bytes32";
|
|
1720
|
+
readonly name: "implicitModeProjectId";
|
|
1721
|
+
readonly type: "bytes32";
|
|
1882
1722
|
}];
|
|
1723
|
+
readonly name: "initialize";
|
|
1883
1724
|
readonly outputs: readonly [];
|
|
1884
1725
|
readonly stateMutability: "nonpayable";
|
|
1726
|
+
readonly type: "function";
|
|
1885
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";
|
|
1886
1736
|
readonly type: "function";
|
|
1887
|
-
|
|
1737
|
+
}, {
|
|
1888
1738
|
readonly inputs: readonly [{
|
|
1739
|
+
readonly internalType: "address";
|
|
1889
1740
|
readonly name: "to";
|
|
1890
1741
|
readonly type: "address";
|
|
1891
|
-
readonly internalType: "address";
|
|
1892
1742
|
}, {
|
|
1893
|
-
readonly
|
|
1743
|
+
readonly internalType: "uint256";
|
|
1744
|
+
readonly name: "amount";
|
|
1894
1745
|
readonly type: "uint256";
|
|
1746
|
+
}, {
|
|
1747
|
+
readonly internalType: "address";
|
|
1748
|
+
readonly name: "paymentToken";
|
|
1749
|
+
readonly type: "address";
|
|
1750
|
+
}, {
|
|
1895
1751
|
readonly internalType: "uint256";
|
|
1752
|
+
readonly name: "maxTotal";
|
|
1753
|
+
readonly type: "uint256";
|
|
1754
|
+
}, {
|
|
1755
|
+
readonly internalType: "bytes32[]";
|
|
1756
|
+
readonly name: "proof";
|
|
1757
|
+
readonly type: "bytes32[]";
|
|
1896
1758
|
}];
|
|
1759
|
+
readonly name: "mint";
|
|
1897
1760
|
readonly outputs: readonly [];
|
|
1898
|
-
readonly stateMutability: "
|
|
1761
|
+
readonly stateMutability: "payable";
|
|
1762
|
+
readonly type: "function";
|
|
1899
1763
|
}, {
|
|
1900
|
-
readonly type: "event";
|
|
1901
|
-
readonly name: "GlobalSaleDetailsUpdated";
|
|
1902
1764
|
readonly inputs: readonly [{
|
|
1903
|
-
readonly name: "cost";
|
|
1904
|
-
readonly type: "uint256";
|
|
1905
|
-
readonly indexed: false;
|
|
1906
|
-
readonly internalType: "uint256";
|
|
1907
|
-
}, {
|
|
1908
|
-
readonly name: "supplyCap";
|
|
1909
|
-
readonly type: "uint256";
|
|
1910
|
-
readonly indexed: false;
|
|
1911
|
-
readonly internalType: "uint256";
|
|
1912
|
-
}, {
|
|
1913
|
-
readonly name: "startTime";
|
|
1914
|
-
readonly type: "uint64";
|
|
1915
|
-
readonly indexed: false;
|
|
1916
|
-
readonly internalType: "uint64";
|
|
1917
|
-
}, {
|
|
1918
|
-
readonly name: "endTime";
|
|
1919
|
-
readonly type: "uint64";
|
|
1920
|
-
readonly indexed: false;
|
|
1921
|
-
readonly internalType: "uint64";
|
|
1922
|
-
}, {
|
|
1923
|
-
readonly name: "merkleRoot";
|
|
1924
|
-
readonly type: "bytes32";
|
|
1925
|
-
readonly indexed: false;
|
|
1926
1765
|
readonly internalType: "bytes32";
|
|
1766
|
+
readonly name: "role";
|
|
1767
|
+
readonly type: "bytes32";
|
|
1768
|
+
}, {
|
|
1769
|
+
readonly internalType: "address";
|
|
1770
|
+
readonly name: "account";
|
|
1771
|
+
readonly type: "address";
|
|
1927
1772
|
}];
|
|
1928
|
-
readonly
|
|
1773
|
+
readonly name: "renounceRole";
|
|
1774
|
+
readonly outputs: readonly [];
|
|
1775
|
+
readonly stateMutability: "nonpayable";
|
|
1776
|
+
readonly type: "function";
|
|
1929
1777
|
}, {
|
|
1930
|
-
readonly type: "event";
|
|
1931
|
-
readonly name: "ItemsMinted";
|
|
1932
1778
|
readonly inputs: readonly [{
|
|
1933
|
-
readonly
|
|
1934
|
-
readonly
|
|
1935
|
-
readonly
|
|
1936
|
-
readonly internalType: "address";
|
|
1937
|
-
}, {
|
|
1938
|
-
readonly name: "tokenIds";
|
|
1939
|
-
readonly type: "uint256[]";
|
|
1940
|
-
readonly indexed: false;
|
|
1941
|
-
readonly internalType: "uint256[]";
|
|
1779
|
+
readonly internalType: "bytes32";
|
|
1780
|
+
readonly name: "role";
|
|
1781
|
+
readonly type: "bytes32";
|
|
1942
1782
|
}, {
|
|
1943
|
-
readonly
|
|
1944
|
-
readonly
|
|
1945
|
-
readonly
|
|
1946
|
-
|
|
1783
|
+
readonly internalType: "address";
|
|
1784
|
+
readonly name: "account";
|
|
1785
|
+
readonly type: "address";
|
|
1786
|
+
}];
|
|
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";
|
|
1947
1823
|
}];
|
|
1948
|
-
readonly
|
|
1824
|
+
readonly stateMutability: "view";
|
|
1825
|
+
readonly type: "function";
|
|
1949
1826
|
}, {
|
|
1950
|
-
readonly type: "event";
|
|
1951
|
-
readonly name: "RoleAdminChanged";
|
|
1952
1827
|
readonly inputs: readonly [{
|
|
1953
|
-
readonly name: "role";
|
|
1954
|
-
readonly type: "bytes32";
|
|
1955
|
-
readonly indexed: true;
|
|
1956
|
-
readonly internalType: "bytes32";
|
|
1957
|
-
}, {
|
|
1958
|
-
readonly name: "previousAdminRole";
|
|
1959
|
-
readonly type: "bytes32";
|
|
1960
|
-
readonly indexed: true;
|
|
1961
|
-
readonly internalType: "bytes32";
|
|
1962
|
-
}, {
|
|
1963
|
-
readonly name: "newAdminRole";
|
|
1964
|
-
readonly type: "bytes32";
|
|
1965
|
-
readonly indexed: true;
|
|
1966
1828
|
readonly internalType: "bytes32";
|
|
1967
|
-
|
|
1968
|
-
readonly anonymous: false;
|
|
1969
|
-
}, {
|
|
1970
|
-
readonly type: "event";
|
|
1971
|
-
readonly name: "RoleGranted";
|
|
1972
|
-
readonly inputs: readonly [{
|
|
1973
|
-
readonly name: "role";
|
|
1829
|
+
readonly name: "projectId";
|
|
1974
1830
|
readonly type: "bytes32";
|
|
1975
|
-
readonly indexed: true;
|
|
1976
|
-
readonly internalType: "bytes32";
|
|
1977
|
-
}, {
|
|
1978
|
-
readonly name: "account";
|
|
1979
|
-
readonly type: "address";
|
|
1980
|
-
readonly indexed: true;
|
|
1981
|
-
readonly internalType: "address";
|
|
1982
|
-
}, {
|
|
1983
|
-
readonly name: "sender";
|
|
1984
|
-
readonly type: "address";
|
|
1985
|
-
readonly indexed: true;
|
|
1986
|
-
readonly internalType: "address";
|
|
1987
1831
|
}];
|
|
1988
|
-
readonly
|
|
1832
|
+
readonly name: "setImplicitModeProjectId";
|
|
1833
|
+
readonly outputs: readonly [];
|
|
1834
|
+
readonly stateMutability: "nonpayable";
|
|
1835
|
+
readonly type: "function";
|
|
1989
1836
|
}, {
|
|
1990
|
-
readonly type: "event";
|
|
1991
|
-
readonly name: "RoleRevoked";
|
|
1992
1837
|
readonly inputs: readonly [{
|
|
1993
|
-
readonly name: "role";
|
|
1994
|
-
readonly type: "bytes32";
|
|
1995
|
-
readonly indexed: true;
|
|
1996
|
-
readonly internalType: "bytes32";
|
|
1997
|
-
}, {
|
|
1998
|
-
readonly name: "account";
|
|
1999
|
-
readonly type: "address";
|
|
2000
|
-
readonly indexed: true;
|
|
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
1871
|
}];
|
|
2043
|
-
readonly
|
|
2044
|
-
|
|
2045
|
-
readonly
|
|
2046
|
-
readonly
|
|
2047
|
-
readonly inputs: readonly [];
|
|
1872
|
+
readonly name: "setSaleDetails";
|
|
1873
|
+
readonly outputs: readonly [];
|
|
1874
|
+
readonly stateMutability: "nonpayable";
|
|
1875
|
+
readonly type: "function";
|
|
2048
1876
|
}, {
|
|
2049
|
-
readonly type: "error";
|
|
2050
|
-
readonly name: "InsufficientPayment";
|
|
2051
1877
|
readonly inputs: readonly [{
|
|
2052
|
-
readonly
|
|
2053
|
-
readonly
|
|
2054
|
-
readonly
|
|
2055
|
-
}
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
readonly internalType: "
|
|
2059
|
-
|
|
2060
|
-
readonly
|
|
2061
|
-
readonly type: "uint256";
|
|
2062
|
-
readonly internalType: "uint256";
|
|
1878
|
+
readonly internalType: "bytes4";
|
|
1879
|
+
readonly name: "interfaceId";
|
|
1880
|
+
readonly type: "bytes4";
|
|
1881
|
+
}];
|
|
1882
|
+
readonly name: "supportsInterface";
|
|
1883
|
+
readonly outputs: readonly [{
|
|
1884
|
+
readonly internalType: "bool";
|
|
1885
|
+
readonly name: "";
|
|
1886
|
+
readonly type: "bool";
|
|
2063
1887
|
}];
|
|
1888
|
+
readonly stateMutability: "view";
|
|
1889
|
+
readonly type: "function";
|
|
2064
1890
|
}, {
|
|
2065
|
-
readonly type: "error";
|
|
2066
|
-
readonly name: "InsufficientSupply";
|
|
2067
1891
|
readonly inputs: readonly [{
|
|
2068
|
-
readonly
|
|
2069
|
-
readonly
|
|
2070
|
-
readonly
|
|
1892
|
+
readonly internalType: "address";
|
|
1893
|
+
readonly name: "token";
|
|
1894
|
+
readonly type: "address";
|
|
2071
1895
|
}, {
|
|
2072
|
-
readonly
|
|
2073
|
-
readonly
|
|
2074
|
-
readonly
|
|
1896
|
+
readonly internalType: "address";
|
|
1897
|
+
readonly name: "to";
|
|
1898
|
+
readonly type: "address";
|
|
2075
1899
|
}, {
|
|
2076
|
-
readonly name: "maxSupply";
|
|
2077
|
-
readonly type: "uint256";
|
|
2078
1900
|
readonly internalType: "uint256";
|
|
1901
|
+
readonly name: "value";
|
|
1902
|
+
readonly type: "uint256";
|
|
2079
1903
|
}];
|
|
1904
|
+
readonly name: "withdrawERC20";
|
|
1905
|
+
readonly outputs: readonly [];
|
|
1906
|
+
readonly stateMutability: "nonpayable";
|
|
1907
|
+
readonly type: "function";
|
|
2080
1908
|
}, {
|
|
2081
|
-
readonly type: "error";
|
|
2082
|
-
readonly name: "InvalidInitialization";
|
|
2083
|
-
readonly inputs: readonly [];
|
|
2084
|
-
}, {
|
|
2085
|
-
readonly type: "error";
|
|
2086
|
-
readonly name: "InvalidSaleDetails";
|
|
2087
|
-
readonly inputs: readonly [];
|
|
2088
|
-
}, {
|
|
2089
|
-
readonly type: "error";
|
|
2090
|
-
readonly name: "InvalidTokenIds";
|
|
2091
|
-
readonly inputs: readonly [];
|
|
2092
|
-
}, {
|
|
2093
|
-
readonly type: "error";
|
|
2094
|
-
readonly name: "MerkleProofInvalid";
|
|
2095
1909
|
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";
|
|
2105
|
-
readonly type: "address";
|
|
2106
1910
|
readonly internalType: "address";
|
|
1911
|
+
readonly name: "to";
|
|
1912
|
+
readonly type: "address";
|
|
2107
1913
|
}, {
|
|
2108
|
-
readonly name: "salt";
|
|
2109
|
-
readonly type: "bytes32";
|
|
2110
|
-
readonly internalType: "bytes32";
|
|
2111
|
-
}];
|
|
2112
|
-
}, {
|
|
2113
|
-
readonly type: "error";
|
|
2114
|
-
readonly name: "SaleInactive";
|
|
2115
|
-
readonly inputs: readonly [{
|
|
2116
|
-
readonly name: "tokenId";
|
|
2117
|
-
readonly type: "uint256";
|
|
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
|
}, {
|
|
@@ -2283,8 +2110,18 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2283
2110
|
readonly type: "bytes32[]";
|
|
2284
2111
|
readonly internalType: "bytes32[]";
|
|
2285
2112
|
}];
|
|
2286
|
-
readonly outputs: readonly [];
|
|
2287
|
-
readonly stateMutability: "payable";
|
|
2113
|
+
readonly outputs: readonly [];
|
|
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";
|
|
@@ -2392,6 +2260,76 @@ declare const getSaleContractABI: (tokenType: "ERC721" | "ERC1155", version: Sal
|
|
|
2392
2260
|
readonly internalType: "bool";
|
|
2393
2261
|
}];
|
|
2394
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
|
+
}];
|
|
2331
|
+
}];
|
|
2332
|
+
readonly stateMutability: "view";
|
|
2395
2333
|
}, {
|
|
2396
2334
|
readonly type: "function";
|
|
2397
2335
|
readonly name: "withdrawERC20";
|
|
@@ -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";
|