@wtflabs/x402 0.0.1-beta.0 → 0.0.1-beta.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/dist/esm/client/index.d.mts +64 -0
- package/dist/esm/config-CFBSAuxW.d.mts +10 -0
- package/dist/esm/config-Dfuvno71.d.mts +19 -0
- package/dist/esm/facilitator/index.d.mts +42 -0
- package/dist/esm/index.d.mts +16 -0
- package/dist/esm/middleware-BSjsPDKM.d.mts +93 -0
- package/dist/esm/network-FrFmmiyj.d.mts +11 -0
- package/dist/esm/paywall/index.d.mts +30 -0
- package/dist/esm/rpc-DyKXu0SX.d.mts +35 -0
- package/dist/esm/schemes/index.d.mts +533 -0
- package/dist/esm/shared/evm/index.d.mts +71 -0
- package/dist/esm/shared/index.d.mts +182 -0
- package/dist/esm/types/index.d.mts +1515 -0
- package/dist/esm/verify/index.d.mts +7 -0
- package/dist/esm/wallet-BTqCm9Zp.d.mts +27 -0
- package/dist/esm/wallet-KorGgbAj.d.mts +88 -0
- package/dist/esm/wallet-SJKJpUgQ.d.mts +167 -0
- package/dist/esm/x402Specs-CYq5tSY1.d.mts +1745 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1515 @@
|
|
|
1
|
+
export { S as SvmConfig, X as X402Config } from '../config-Dfuvno71.mjs';
|
|
2
|
+
export { E as ERC20TokenAmount, F as FacilitatorConfig, M as Money, d as PaymentMiddlewareConfig, c as PaywallConfig, P as Price, b as Resource, e as RouteConfig, a as RoutePattern, R as RoutesConfig, S as SPLTokenAmount, W as Wallet, m as moneySchema } from '../middleware-BSjsPDKM.mjs';
|
|
3
|
+
export { C as ChainIdToNetwork, E as EvmNetworkToChainId, N as Network, a as NetworkSchema, S as SupportedEVMNetworks, b as SupportedSVMNetworks, c as SvmNetworkToChainId } from '../network-FrFmmiyj.mjs';
|
|
4
|
+
export { C as ConnectedClient, M as MultiNetworkSigner, S as Signer, c as createConnectedClient, a as createSigner, i as isEvmSignerWallet, d as isMultiNetworkSigner, b as isSvmSignerWallet } from '../wallet-KorGgbAj.mjs';
|
|
5
|
+
import { C as ChainConfig, c as config } from '../config-CFBSAuxW.mjs';
|
|
6
|
+
import { C as ConnectedClient, a as EvmChainConfig, E as EvmSigner, S as SignerWallet, c as createClientAvalancheFuji, b as createClientSepolia, d as createConnectedClient, e as createSigner, f as createSignerAvalancheFuji, g as createSignerSepolia, h as getChainFromNetwork, i as isAccount, j as isSignerWallet, w as withChain } from '../wallet-SJKJpUgQ.mjs';
|
|
7
|
+
import { S as SettleResponse } from '../x402Specs-CYq5tSY1.mjs';
|
|
8
|
+
export { B as DiscoveredResource, D as DiscoveredResourceSchema, o as Eip3009PaymentPayload, b as ErrorReasons, n as EvmPaymentPayload, k as ExactEvmPayload, e as ExactEvmPayloadAuthorization, d as ExactEvmPayloadAuthorizationSchema, j as ExactEvmPayloadSchema, E as ExactSvmPayload, l as ExactSvmPayloadSchema, z as HTTPRequestStructure, y as HTTPRequestStructureSchema, H as HTTPVerbs, M as ListDiscoveryResourcesRequest, L as ListDiscoveryResourcesRequestSchema, O as ListDiscoveryResourcesResponse, N as ListDiscoveryResourcesResponseSchema, a as PaymentPayload, m as PaymentPayloadSchema, P as PaymentRequirements, c as PaymentRequirementsSchema, i as Permit2EvmPayloadAuthorization, h as Permit2EvmPayloadAuthorizationSchema, t as Permit2PaymentPayload, g as PermitEvmPayloadAuthorization, f as PermitEvmPayloadAuthorizationSchema, q as PermitPaymentPayload, A as RequestStructure, R as RequestStructureSchema, F as SettleRequest, C as SettleRequestSchema, K as SettleResponseSchema, T as SupportedPaymentKind, Q as SupportedPaymentKindSchema, X as SupportedPaymentKindsResponse, W as SupportedPaymentKindsResponseSchema, p as UnsignedEip3009PaymentPayload, U as UnsignedEvmPaymentPayload, u as UnsignedPermit2PaymentPayload, r as UnsignedPermitPaymentPayload, G as VerifyRequest, V as VerifyRequestSchema, J as VerifyResponse, I as VerifyResponseSchema, s as schemes, w as x402Response, v as x402ResponseSchema, x as x402Versions } from '../x402Specs-CYq5tSY1.mjs';
|
|
9
|
+
import { z } from 'zod';
|
|
10
|
+
import '../wallet-BTqCm9Zp.mjs';
|
|
11
|
+
import '@solana/kit';
|
|
12
|
+
import 'viem';
|
|
13
|
+
import 'viem/chains';
|
|
14
|
+
|
|
15
|
+
declare const facilitatorRequestSchema: z.ZodObject<{
|
|
16
|
+
paymentHeader: z.ZodString;
|
|
17
|
+
paymentRequirements: z.ZodObject<{
|
|
18
|
+
scheme: z.ZodEnum<["exact"]>;
|
|
19
|
+
network: z.ZodEnum<["base-sepolia", "base", "avalanche-fuji", "avalanche", "iotex", "solana-devnet", "solana", "sei", "sei-testnet", "polygon", "polygon-amoy", "peaq", "bsc", "bsc-testnet"]>;
|
|
20
|
+
maxAmountRequired: z.ZodEffects<z.ZodString, string, string>;
|
|
21
|
+
resource: z.ZodString;
|
|
22
|
+
description: z.ZodString;
|
|
23
|
+
mimeType: z.ZodString;
|
|
24
|
+
outputSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
25
|
+
payTo: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
26
|
+
maxTimeoutSeconds: z.ZodNumber;
|
|
27
|
+
asset: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
28
|
+
paymentType: z.ZodOptional<z.ZodEnum<["eip3009", "permit", "permit2"]>>;
|
|
29
|
+
extra: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
scheme: "exact";
|
|
32
|
+
description: string;
|
|
33
|
+
asset: string;
|
|
34
|
+
maxAmountRequired: string;
|
|
35
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "bsc" | "bsc-testnet" | "solana-devnet" | "solana";
|
|
36
|
+
resource: string;
|
|
37
|
+
mimeType: string;
|
|
38
|
+
payTo: string;
|
|
39
|
+
maxTimeoutSeconds: number;
|
|
40
|
+
outputSchema?: Record<string, any> | undefined;
|
|
41
|
+
paymentType?: "permit" | "eip3009" | "permit2" | undefined;
|
|
42
|
+
extra?: Record<string, any> | undefined;
|
|
43
|
+
}, {
|
|
44
|
+
scheme: "exact";
|
|
45
|
+
description: string;
|
|
46
|
+
asset: string;
|
|
47
|
+
maxAmountRequired: string;
|
|
48
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "bsc" | "bsc-testnet" | "solana-devnet" | "solana";
|
|
49
|
+
resource: string;
|
|
50
|
+
mimeType: string;
|
|
51
|
+
payTo: string;
|
|
52
|
+
maxTimeoutSeconds: number;
|
|
53
|
+
outputSchema?: Record<string, any> | undefined;
|
|
54
|
+
paymentType?: "permit" | "eip3009" | "permit2" | undefined;
|
|
55
|
+
extra?: Record<string, any> | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
}, "strip", z.ZodTypeAny, {
|
|
58
|
+
paymentRequirements: {
|
|
59
|
+
scheme: "exact";
|
|
60
|
+
description: string;
|
|
61
|
+
asset: string;
|
|
62
|
+
maxAmountRequired: string;
|
|
63
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "bsc" | "bsc-testnet" | "solana-devnet" | "solana";
|
|
64
|
+
resource: string;
|
|
65
|
+
mimeType: string;
|
|
66
|
+
payTo: string;
|
|
67
|
+
maxTimeoutSeconds: number;
|
|
68
|
+
outputSchema?: Record<string, any> | undefined;
|
|
69
|
+
paymentType?: "permit" | "eip3009" | "permit2" | undefined;
|
|
70
|
+
extra?: Record<string, any> | undefined;
|
|
71
|
+
};
|
|
72
|
+
paymentHeader: string;
|
|
73
|
+
}, {
|
|
74
|
+
paymentRequirements: {
|
|
75
|
+
scheme: "exact";
|
|
76
|
+
description: string;
|
|
77
|
+
asset: string;
|
|
78
|
+
maxAmountRequired: string;
|
|
79
|
+
network: "base-sepolia" | "avalanche-fuji" | "base" | "avalanche" | "sei" | "sei-testnet" | "polygon" | "polygon-amoy" | "peaq" | "iotex" | "bsc" | "bsc-testnet" | "solana-devnet" | "solana";
|
|
80
|
+
resource: string;
|
|
81
|
+
mimeType: string;
|
|
82
|
+
payTo: string;
|
|
83
|
+
maxTimeoutSeconds: number;
|
|
84
|
+
outputSchema?: Record<string, any> | undefined;
|
|
85
|
+
paymentType?: "permit" | "eip3009" | "permit2" | undefined;
|
|
86
|
+
extra?: Record<string, any> | undefined;
|
|
87
|
+
};
|
|
88
|
+
paymentHeader: string;
|
|
89
|
+
}>;
|
|
90
|
+
type FacilitatorRequest = z.infer<typeof facilitatorRequestSchema>;
|
|
91
|
+
/**
|
|
92
|
+
* Encodes a settlement response into a base64 header string
|
|
93
|
+
*
|
|
94
|
+
* @param response - The settlement response to encode
|
|
95
|
+
* @returns A base64 encoded string containing the settlement response
|
|
96
|
+
*/
|
|
97
|
+
declare function settleResponseHeader(response: SettleResponse): string;
|
|
98
|
+
/**
|
|
99
|
+
* Decodes a base64 header string back into a settlement response
|
|
100
|
+
*
|
|
101
|
+
* @param header - The base64 encoded settlement response header
|
|
102
|
+
* @returns The decoded settlement response object
|
|
103
|
+
*/
|
|
104
|
+
declare function settleResponseFromHeader(header: string): SettleResponse;
|
|
105
|
+
|
|
106
|
+
declare const authorizationTypes: {
|
|
107
|
+
TransferWithAuthorization: {
|
|
108
|
+
name: string;
|
|
109
|
+
type: string;
|
|
110
|
+
}[];
|
|
111
|
+
};
|
|
112
|
+
declare const authorizationPrimaryType = "TransferWithAuthorization";
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* EIP-2612: Permit - 712-signed approvals
|
|
116
|
+
* https://eips.ethereum.org/EIPS/eip-2612
|
|
117
|
+
*/
|
|
118
|
+
declare const permitTypes: {
|
|
119
|
+
Permit: {
|
|
120
|
+
name: string;
|
|
121
|
+
type: string;
|
|
122
|
+
}[];
|
|
123
|
+
};
|
|
124
|
+
declare const permitPrimaryType = "Permit";
|
|
125
|
+
/**
|
|
126
|
+
* Standard ERC20 Permit ABI
|
|
127
|
+
*/
|
|
128
|
+
declare const erc20PermitABI: readonly [{
|
|
129
|
+
readonly inputs: readonly [{
|
|
130
|
+
readonly internalType: "address";
|
|
131
|
+
readonly name: "owner";
|
|
132
|
+
readonly type: "address";
|
|
133
|
+
}, {
|
|
134
|
+
readonly internalType: "address";
|
|
135
|
+
readonly name: "spender";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
}, {
|
|
138
|
+
readonly internalType: "uint256";
|
|
139
|
+
readonly name: "value";
|
|
140
|
+
readonly type: "uint256";
|
|
141
|
+
}, {
|
|
142
|
+
readonly internalType: "uint256";
|
|
143
|
+
readonly name: "deadline";
|
|
144
|
+
readonly type: "uint256";
|
|
145
|
+
}, {
|
|
146
|
+
readonly internalType: "uint8";
|
|
147
|
+
readonly name: "v";
|
|
148
|
+
readonly type: "uint8";
|
|
149
|
+
}, {
|
|
150
|
+
readonly internalType: "bytes32";
|
|
151
|
+
readonly name: "r";
|
|
152
|
+
readonly type: "bytes32";
|
|
153
|
+
}, {
|
|
154
|
+
readonly internalType: "bytes32";
|
|
155
|
+
readonly name: "s";
|
|
156
|
+
readonly type: "bytes32";
|
|
157
|
+
}];
|
|
158
|
+
readonly name: "permit";
|
|
159
|
+
readonly outputs: readonly [];
|
|
160
|
+
readonly stateMutability: "nonpayable";
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly internalType: "address";
|
|
165
|
+
readonly name: "owner";
|
|
166
|
+
readonly type: "address";
|
|
167
|
+
}];
|
|
168
|
+
readonly name: "nonces";
|
|
169
|
+
readonly outputs: readonly [{
|
|
170
|
+
readonly internalType: "uint256";
|
|
171
|
+
readonly name: "";
|
|
172
|
+
readonly type: "uint256";
|
|
173
|
+
}];
|
|
174
|
+
readonly stateMutability: "view";
|
|
175
|
+
readonly type: "function";
|
|
176
|
+
}, {
|
|
177
|
+
readonly inputs: readonly [];
|
|
178
|
+
readonly name: "name";
|
|
179
|
+
readonly outputs: readonly [{
|
|
180
|
+
readonly internalType: "string";
|
|
181
|
+
readonly name: "";
|
|
182
|
+
readonly type: "string";
|
|
183
|
+
}];
|
|
184
|
+
readonly stateMutability: "view";
|
|
185
|
+
readonly type: "function";
|
|
186
|
+
}, {
|
|
187
|
+
readonly inputs: readonly [];
|
|
188
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
189
|
+
readonly outputs: readonly [{
|
|
190
|
+
readonly internalType: "bytes32";
|
|
191
|
+
readonly name: "";
|
|
192
|
+
readonly type: "bytes32";
|
|
193
|
+
}];
|
|
194
|
+
readonly stateMutability: "view";
|
|
195
|
+
readonly type: "function";
|
|
196
|
+
}, {
|
|
197
|
+
readonly inputs: readonly [{
|
|
198
|
+
readonly internalType: "address";
|
|
199
|
+
readonly name: "account";
|
|
200
|
+
readonly type: "address";
|
|
201
|
+
}];
|
|
202
|
+
readonly name: "balanceOf";
|
|
203
|
+
readonly outputs: readonly [{
|
|
204
|
+
readonly internalType: "uint256";
|
|
205
|
+
readonly name: "";
|
|
206
|
+
readonly type: "uint256";
|
|
207
|
+
}];
|
|
208
|
+
readonly stateMutability: "view";
|
|
209
|
+
readonly type: "function";
|
|
210
|
+
}, {
|
|
211
|
+
readonly inputs: readonly [{
|
|
212
|
+
readonly internalType: "address";
|
|
213
|
+
readonly name: "from";
|
|
214
|
+
readonly type: "address";
|
|
215
|
+
}, {
|
|
216
|
+
readonly internalType: "address";
|
|
217
|
+
readonly name: "to";
|
|
218
|
+
readonly type: "address";
|
|
219
|
+
}, {
|
|
220
|
+
readonly internalType: "uint256";
|
|
221
|
+
readonly name: "amount";
|
|
222
|
+
readonly type: "uint256";
|
|
223
|
+
}];
|
|
224
|
+
readonly name: "transferFrom";
|
|
225
|
+
readonly outputs: readonly [{
|
|
226
|
+
readonly internalType: "bool";
|
|
227
|
+
readonly name: "";
|
|
228
|
+
readonly type: "bool";
|
|
229
|
+
}];
|
|
230
|
+
readonly stateMutability: "nonpayable";
|
|
231
|
+
readonly type: "function";
|
|
232
|
+
}, {
|
|
233
|
+
readonly inputs: readonly [{
|
|
234
|
+
readonly internalType: "address";
|
|
235
|
+
readonly name: "owner";
|
|
236
|
+
readonly type: "address";
|
|
237
|
+
}, {
|
|
238
|
+
readonly internalType: "address";
|
|
239
|
+
readonly name: "spender";
|
|
240
|
+
readonly type: "address";
|
|
241
|
+
}];
|
|
242
|
+
readonly name: "allowance";
|
|
243
|
+
readonly outputs: readonly [{
|
|
244
|
+
readonly internalType: "uint256";
|
|
245
|
+
readonly name: "";
|
|
246
|
+
readonly type: "uint256";
|
|
247
|
+
}];
|
|
248
|
+
readonly stateMutability: "view";
|
|
249
|
+
readonly type: "function";
|
|
250
|
+
}, {
|
|
251
|
+
readonly inputs: readonly [];
|
|
252
|
+
readonly name: "version";
|
|
253
|
+
readonly outputs: readonly [{
|
|
254
|
+
readonly internalType: "string";
|
|
255
|
+
readonly name: "";
|
|
256
|
+
readonly type: "string";
|
|
257
|
+
}];
|
|
258
|
+
readonly stateMutability: "view";
|
|
259
|
+
readonly type: "function";
|
|
260
|
+
}];
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Permit2 - Universal token approvals
|
|
264
|
+
* https://github.com/Uniswap/permit2
|
|
265
|
+
*
|
|
266
|
+
* Permit2 has two main modes:
|
|
267
|
+
* 1. AllowanceTransfer - Pre-approve and use allowance() to get nonce
|
|
268
|
+
* 2. SignatureTransfer - Use permitTransferFrom() with any unused nonce
|
|
269
|
+
*
|
|
270
|
+
* This implementation uses SignatureTransfer mode where:
|
|
271
|
+
* - Nonce can be any uint256 value (not sequential)
|
|
272
|
+
* - Permit2 uses nonceBitmap to track used nonces
|
|
273
|
+
* - No pre-approval needed, just sign each transfer
|
|
274
|
+
*/
|
|
275
|
+
declare const PERMIT2_ADDRESS: "0x000000000022D473030F116dDEE9F6B43aC78BA3";
|
|
276
|
+
declare const permit2Types: {
|
|
277
|
+
PermitTransferFrom: {
|
|
278
|
+
name: string;
|
|
279
|
+
type: string;
|
|
280
|
+
}[];
|
|
281
|
+
TokenPermissions: {
|
|
282
|
+
name: string;
|
|
283
|
+
type: string;
|
|
284
|
+
}[];
|
|
285
|
+
};
|
|
286
|
+
declare const permit2PrimaryType = "PermitTransferFrom";
|
|
287
|
+
/**
|
|
288
|
+
* Permit2 Contract ABI
|
|
289
|
+
*/
|
|
290
|
+
declare const permit2ABI: readonly [{
|
|
291
|
+
readonly inputs: readonly [{
|
|
292
|
+
readonly components: readonly [{
|
|
293
|
+
readonly components: readonly [{
|
|
294
|
+
readonly internalType: "address";
|
|
295
|
+
readonly name: "token";
|
|
296
|
+
readonly type: "address";
|
|
297
|
+
}, {
|
|
298
|
+
readonly internalType: "uint256";
|
|
299
|
+
readonly name: "amount";
|
|
300
|
+
readonly type: "uint256";
|
|
301
|
+
}];
|
|
302
|
+
readonly internalType: "struct ISignatureTransfer.TokenPermissions";
|
|
303
|
+
readonly name: "permitted";
|
|
304
|
+
readonly type: "tuple";
|
|
305
|
+
}, {
|
|
306
|
+
readonly internalType: "uint256";
|
|
307
|
+
readonly name: "nonce";
|
|
308
|
+
readonly type: "uint256";
|
|
309
|
+
}, {
|
|
310
|
+
readonly internalType: "uint256";
|
|
311
|
+
readonly name: "deadline";
|
|
312
|
+
readonly type: "uint256";
|
|
313
|
+
}];
|
|
314
|
+
readonly internalType: "struct ISignatureTransfer.PermitTransferFrom";
|
|
315
|
+
readonly name: "permit";
|
|
316
|
+
readonly type: "tuple";
|
|
317
|
+
}, {
|
|
318
|
+
readonly components: readonly [{
|
|
319
|
+
readonly internalType: "address";
|
|
320
|
+
readonly name: "to";
|
|
321
|
+
readonly type: "address";
|
|
322
|
+
}, {
|
|
323
|
+
readonly internalType: "uint256";
|
|
324
|
+
readonly name: "requestedAmount";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
}];
|
|
327
|
+
readonly internalType: "struct ISignatureTransfer.SignatureTransferDetails";
|
|
328
|
+
readonly name: "transferDetails";
|
|
329
|
+
readonly type: "tuple";
|
|
330
|
+
}, {
|
|
331
|
+
readonly internalType: "address";
|
|
332
|
+
readonly name: "owner";
|
|
333
|
+
readonly type: "address";
|
|
334
|
+
}, {
|
|
335
|
+
readonly internalType: "bytes";
|
|
336
|
+
readonly name: "signature";
|
|
337
|
+
readonly type: "bytes";
|
|
338
|
+
}];
|
|
339
|
+
readonly name: "permitTransferFrom";
|
|
340
|
+
readonly outputs: readonly [];
|
|
341
|
+
readonly stateMutability: "nonpayable";
|
|
342
|
+
readonly type: "function";
|
|
343
|
+
}, {
|
|
344
|
+
readonly inputs: readonly [{
|
|
345
|
+
readonly internalType: "address";
|
|
346
|
+
readonly name: "owner";
|
|
347
|
+
readonly type: "address";
|
|
348
|
+
}, {
|
|
349
|
+
readonly internalType: "address";
|
|
350
|
+
readonly name: "token";
|
|
351
|
+
readonly type: "address";
|
|
352
|
+
}, {
|
|
353
|
+
readonly internalType: "address";
|
|
354
|
+
readonly name: "spender";
|
|
355
|
+
readonly type: "address";
|
|
356
|
+
}];
|
|
357
|
+
readonly name: "allowance";
|
|
358
|
+
readonly outputs: readonly [{
|
|
359
|
+
readonly internalType: "uint160";
|
|
360
|
+
readonly name: "amount";
|
|
361
|
+
readonly type: "uint160";
|
|
362
|
+
}, {
|
|
363
|
+
readonly internalType: "uint48";
|
|
364
|
+
readonly name: "expiration";
|
|
365
|
+
readonly type: "uint48";
|
|
366
|
+
}, {
|
|
367
|
+
readonly internalType: "uint48";
|
|
368
|
+
readonly name: "nonce";
|
|
369
|
+
readonly type: "uint48";
|
|
370
|
+
}];
|
|
371
|
+
readonly stateMutability: "view";
|
|
372
|
+
readonly type: "function";
|
|
373
|
+
}, {
|
|
374
|
+
readonly inputs: readonly [];
|
|
375
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
376
|
+
readonly outputs: readonly [{
|
|
377
|
+
readonly internalType: "bytes32";
|
|
378
|
+
readonly name: "";
|
|
379
|
+
readonly type: "bytes32";
|
|
380
|
+
}];
|
|
381
|
+
readonly stateMutability: "view";
|
|
382
|
+
readonly type: "function";
|
|
383
|
+
}, {
|
|
384
|
+
readonly inputs: readonly [{
|
|
385
|
+
readonly internalType: "address";
|
|
386
|
+
readonly name: "owner";
|
|
387
|
+
readonly type: "address";
|
|
388
|
+
}, {
|
|
389
|
+
readonly internalType: "uint256";
|
|
390
|
+
readonly name: "wordPos";
|
|
391
|
+
readonly type: "uint256";
|
|
392
|
+
}];
|
|
393
|
+
readonly name: "nonceBitmap";
|
|
394
|
+
readonly outputs: readonly [{
|
|
395
|
+
readonly internalType: "uint256";
|
|
396
|
+
readonly name: "";
|
|
397
|
+
readonly type: "uint256";
|
|
398
|
+
}];
|
|
399
|
+
readonly stateMutability: "view";
|
|
400
|
+
readonly type: "function";
|
|
401
|
+
}];
|
|
402
|
+
|
|
403
|
+
declare const usdcABI: readonly [{
|
|
404
|
+
readonly anonymous: false;
|
|
405
|
+
readonly inputs: readonly [{
|
|
406
|
+
readonly indexed: true;
|
|
407
|
+
readonly internalType: "address";
|
|
408
|
+
readonly name: "owner";
|
|
409
|
+
readonly type: "address";
|
|
410
|
+
}, {
|
|
411
|
+
readonly indexed: true;
|
|
412
|
+
readonly internalType: "address";
|
|
413
|
+
readonly name: "spender";
|
|
414
|
+
readonly type: "address";
|
|
415
|
+
}, {
|
|
416
|
+
readonly indexed: false;
|
|
417
|
+
readonly internalType: "uint256";
|
|
418
|
+
readonly name: "value";
|
|
419
|
+
readonly type: "uint256";
|
|
420
|
+
}];
|
|
421
|
+
readonly name: "Approval";
|
|
422
|
+
readonly type: "event";
|
|
423
|
+
}, {
|
|
424
|
+
readonly anonymous: false;
|
|
425
|
+
readonly inputs: readonly [{
|
|
426
|
+
readonly indexed: true;
|
|
427
|
+
readonly internalType: "address";
|
|
428
|
+
readonly name: "authorizer";
|
|
429
|
+
readonly type: "address";
|
|
430
|
+
}, {
|
|
431
|
+
readonly indexed: true;
|
|
432
|
+
readonly internalType: "bytes32";
|
|
433
|
+
readonly name: "nonce";
|
|
434
|
+
readonly type: "bytes32";
|
|
435
|
+
}];
|
|
436
|
+
readonly name: "AuthorizationCanceled";
|
|
437
|
+
readonly type: "event";
|
|
438
|
+
}, {
|
|
439
|
+
readonly anonymous: false;
|
|
440
|
+
readonly inputs: readonly [{
|
|
441
|
+
readonly indexed: true;
|
|
442
|
+
readonly internalType: "address";
|
|
443
|
+
readonly name: "authorizer";
|
|
444
|
+
readonly type: "address";
|
|
445
|
+
}, {
|
|
446
|
+
readonly indexed: true;
|
|
447
|
+
readonly internalType: "bytes32";
|
|
448
|
+
readonly name: "nonce";
|
|
449
|
+
readonly type: "bytes32";
|
|
450
|
+
}];
|
|
451
|
+
readonly name: "AuthorizationUsed";
|
|
452
|
+
readonly type: "event";
|
|
453
|
+
}, {
|
|
454
|
+
readonly anonymous: false;
|
|
455
|
+
readonly inputs: readonly [{
|
|
456
|
+
readonly indexed: true;
|
|
457
|
+
readonly internalType: "address";
|
|
458
|
+
readonly name: "_account";
|
|
459
|
+
readonly type: "address";
|
|
460
|
+
}];
|
|
461
|
+
readonly name: "Blacklisted";
|
|
462
|
+
readonly type: "event";
|
|
463
|
+
}, {
|
|
464
|
+
readonly anonymous: false;
|
|
465
|
+
readonly inputs: readonly [{
|
|
466
|
+
readonly indexed: true;
|
|
467
|
+
readonly internalType: "address";
|
|
468
|
+
readonly name: "newBlacklister";
|
|
469
|
+
readonly type: "address";
|
|
470
|
+
}];
|
|
471
|
+
readonly name: "BlacklisterChanged";
|
|
472
|
+
readonly type: "event";
|
|
473
|
+
}, {
|
|
474
|
+
readonly anonymous: false;
|
|
475
|
+
readonly inputs: readonly [{
|
|
476
|
+
readonly indexed: true;
|
|
477
|
+
readonly internalType: "address";
|
|
478
|
+
readonly name: "burner";
|
|
479
|
+
readonly type: "address";
|
|
480
|
+
}, {
|
|
481
|
+
readonly indexed: false;
|
|
482
|
+
readonly internalType: "uint256";
|
|
483
|
+
readonly name: "amount";
|
|
484
|
+
readonly type: "uint256";
|
|
485
|
+
}];
|
|
486
|
+
readonly name: "Burn";
|
|
487
|
+
readonly type: "event";
|
|
488
|
+
}, {
|
|
489
|
+
readonly anonymous: false;
|
|
490
|
+
readonly inputs: readonly [{
|
|
491
|
+
readonly indexed: true;
|
|
492
|
+
readonly internalType: "address";
|
|
493
|
+
readonly name: "newMasterMinter";
|
|
494
|
+
readonly type: "address";
|
|
495
|
+
}];
|
|
496
|
+
readonly name: "MasterMinterChanged";
|
|
497
|
+
readonly type: "event";
|
|
498
|
+
}, {
|
|
499
|
+
readonly anonymous: false;
|
|
500
|
+
readonly inputs: readonly [{
|
|
501
|
+
readonly indexed: true;
|
|
502
|
+
readonly internalType: "address";
|
|
503
|
+
readonly name: "minter";
|
|
504
|
+
readonly type: "address";
|
|
505
|
+
}, {
|
|
506
|
+
readonly indexed: true;
|
|
507
|
+
readonly internalType: "address";
|
|
508
|
+
readonly name: "to";
|
|
509
|
+
readonly type: "address";
|
|
510
|
+
}, {
|
|
511
|
+
readonly indexed: false;
|
|
512
|
+
readonly internalType: "uint256";
|
|
513
|
+
readonly name: "amount";
|
|
514
|
+
readonly type: "uint256";
|
|
515
|
+
}];
|
|
516
|
+
readonly name: "Mint";
|
|
517
|
+
readonly type: "event";
|
|
518
|
+
}, {
|
|
519
|
+
readonly anonymous: false;
|
|
520
|
+
readonly inputs: readonly [{
|
|
521
|
+
readonly indexed: true;
|
|
522
|
+
readonly internalType: "address";
|
|
523
|
+
readonly name: "minter";
|
|
524
|
+
readonly type: "address";
|
|
525
|
+
}, {
|
|
526
|
+
readonly indexed: false;
|
|
527
|
+
readonly internalType: "uint256";
|
|
528
|
+
readonly name: "minterAllowedAmount";
|
|
529
|
+
readonly type: "uint256";
|
|
530
|
+
}];
|
|
531
|
+
readonly name: "MinterConfigured";
|
|
532
|
+
readonly type: "event";
|
|
533
|
+
}, {
|
|
534
|
+
readonly anonymous: false;
|
|
535
|
+
readonly inputs: readonly [{
|
|
536
|
+
readonly indexed: true;
|
|
537
|
+
readonly internalType: "address";
|
|
538
|
+
readonly name: "oldMinter";
|
|
539
|
+
readonly type: "address";
|
|
540
|
+
}];
|
|
541
|
+
readonly name: "MinterRemoved";
|
|
542
|
+
readonly type: "event";
|
|
543
|
+
}, {
|
|
544
|
+
readonly anonymous: false;
|
|
545
|
+
readonly inputs: readonly [{
|
|
546
|
+
readonly indexed: false;
|
|
547
|
+
readonly internalType: "address";
|
|
548
|
+
readonly name: "previousOwner";
|
|
549
|
+
readonly type: "address";
|
|
550
|
+
}, {
|
|
551
|
+
readonly indexed: false;
|
|
552
|
+
readonly internalType: "address";
|
|
553
|
+
readonly name: "newOwner";
|
|
554
|
+
readonly type: "address";
|
|
555
|
+
}];
|
|
556
|
+
readonly name: "OwnershipTransferred";
|
|
557
|
+
readonly type: "event";
|
|
558
|
+
}, {
|
|
559
|
+
readonly anonymous: false;
|
|
560
|
+
readonly inputs: readonly [];
|
|
561
|
+
readonly name: "Pause";
|
|
562
|
+
readonly type: "event";
|
|
563
|
+
}, {
|
|
564
|
+
readonly anonymous: false;
|
|
565
|
+
readonly inputs: readonly [{
|
|
566
|
+
readonly indexed: true;
|
|
567
|
+
readonly internalType: "address";
|
|
568
|
+
readonly name: "newAddress";
|
|
569
|
+
readonly type: "address";
|
|
570
|
+
}];
|
|
571
|
+
readonly name: "PauserChanged";
|
|
572
|
+
readonly type: "event";
|
|
573
|
+
}, {
|
|
574
|
+
readonly anonymous: false;
|
|
575
|
+
readonly inputs: readonly [{
|
|
576
|
+
readonly indexed: true;
|
|
577
|
+
readonly internalType: "address";
|
|
578
|
+
readonly name: "newRescuer";
|
|
579
|
+
readonly type: "address";
|
|
580
|
+
}];
|
|
581
|
+
readonly name: "RescuerChanged";
|
|
582
|
+
readonly type: "event";
|
|
583
|
+
}, {
|
|
584
|
+
readonly anonymous: false;
|
|
585
|
+
readonly inputs: readonly [{
|
|
586
|
+
readonly indexed: true;
|
|
587
|
+
readonly internalType: "address";
|
|
588
|
+
readonly name: "from";
|
|
589
|
+
readonly type: "address";
|
|
590
|
+
}, {
|
|
591
|
+
readonly indexed: true;
|
|
592
|
+
readonly internalType: "address";
|
|
593
|
+
readonly name: "to";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}, {
|
|
596
|
+
readonly indexed: false;
|
|
597
|
+
readonly internalType: "uint256";
|
|
598
|
+
readonly name: "value";
|
|
599
|
+
readonly type: "uint256";
|
|
600
|
+
}];
|
|
601
|
+
readonly name: "Transfer";
|
|
602
|
+
readonly type: "event";
|
|
603
|
+
}, {
|
|
604
|
+
readonly anonymous: false;
|
|
605
|
+
readonly inputs: readonly [{
|
|
606
|
+
readonly indexed: true;
|
|
607
|
+
readonly internalType: "address";
|
|
608
|
+
readonly name: "_account";
|
|
609
|
+
readonly type: "address";
|
|
610
|
+
}];
|
|
611
|
+
readonly name: "UnBlacklisted";
|
|
612
|
+
readonly type: "event";
|
|
613
|
+
}, {
|
|
614
|
+
readonly anonymous: false;
|
|
615
|
+
readonly inputs: readonly [];
|
|
616
|
+
readonly name: "Unpause";
|
|
617
|
+
readonly type: "event";
|
|
618
|
+
}, {
|
|
619
|
+
readonly inputs: readonly [];
|
|
620
|
+
readonly name: "CANCEL_AUTHORIZATION_TYPEHASH";
|
|
621
|
+
readonly outputs: readonly [{
|
|
622
|
+
readonly internalType: "bytes32";
|
|
623
|
+
readonly name: "";
|
|
624
|
+
readonly type: "bytes32";
|
|
625
|
+
}];
|
|
626
|
+
readonly stateMutability: "view";
|
|
627
|
+
readonly type: "function";
|
|
628
|
+
}, {
|
|
629
|
+
readonly inputs: readonly [];
|
|
630
|
+
readonly name: "DOMAIN_SEPARATOR";
|
|
631
|
+
readonly outputs: readonly [{
|
|
632
|
+
readonly internalType: "bytes32";
|
|
633
|
+
readonly name: "";
|
|
634
|
+
readonly type: "bytes32";
|
|
635
|
+
}];
|
|
636
|
+
readonly stateMutability: "view";
|
|
637
|
+
readonly type: "function";
|
|
638
|
+
}, {
|
|
639
|
+
readonly inputs: readonly [];
|
|
640
|
+
readonly name: "PERMIT_TYPEHASH";
|
|
641
|
+
readonly outputs: readonly [{
|
|
642
|
+
readonly internalType: "bytes32";
|
|
643
|
+
readonly name: "";
|
|
644
|
+
readonly type: "bytes32";
|
|
645
|
+
}];
|
|
646
|
+
readonly stateMutability: "view";
|
|
647
|
+
readonly type: "function";
|
|
648
|
+
}, {
|
|
649
|
+
readonly inputs: readonly [];
|
|
650
|
+
readonly name: "RECEIVE_WITH_AUTHORIZATION_TYPEHASH";
|
|
651
|
+
readonly outputs: readonly [{
|
|
652
|
+
readonly internalType: "bytes32";
|
|
653
|
+
readonly name: "";
|
|
654
|
+
readonly type: "bytes32";
|
|
655
|
+
}];
|
|
656
|
+
readonly stateMutability: "view";
|
|
657
|
+
readonly type: "function";
|
|
658
|
+
}, {
|
|
659
|
+
readonly inputs: readonly [];
|
|
660
|
+
readonly name: "TRANSFER_WITH_AUTHORIZATION_TYPEHASH";
|
|
661
|
+
readonly outputs: readonly [{
|
|
662
|
+
readonly internalType: "bytes32";
|
|
663
|
+
readonly name: "";
|
|
664
|
+
readonly type: "bytes32";
|
|
665
|
+
}];
|
|
666
|
+
readonly stateMutability: "view";
|
|
667
|
+
readonly type: "function";
|
|
668
|
+
}, {
|
|
669
|
+
readonly inputs: readonly [{
|
|
670
|
+
readonly internalType: "address";
|
|
671
|
+
readonly name: "owner";
|
|
672
|
+
readonly type: "address";
|
|
673
|
+
}, {
|
|
674
|
+
readonly internalType: "address";
|
|
675
|
+
readonly name: "spender";
|
|
676
|
+
readonly type: "address";
|
|
677
|
+
}];
|
|
678
|
+
readonly name: "allowance";
|
|
679
|
+
readonly outputs: readonly [{
|
|
680
|
+
readonly internalType: "uint256";
|
|
681
|
+
readonly name: "";
|
|
682
|
+
readonly type: "uint256";
|
|
683
|
+
}];
|
|
684
|
+
readonly stateMutability: "view";
|
|
685
|
+
readonly type: "function";
|
|
686
|
+
}, {
|
|
687
|
+
readonly inputs: readonly [{
|
|
688
|
+
readonly internalType: "address";
|
|
689
|
+
readonly name: "spender";
|
|
690
|
+
readonly type: "address";
|
|
691
|
+
}, {
|
|
692
|
+
readonly internalType: "uint256";
|
|
693
|
+
readonly name: "value";
|
|
694
|
+
readonly type: "uint256";
|
|
695
|
+
}];
|
|
696
|
+
readonly name: "approve";
|
|
697
|
+
readonly outputs: readonly [{
|
|
698
|
+
readonly internalType: "bool";
|
|
699
|
+
readonly name: "";
|
|
700
|
+
readonly type: "bool";
|
|
701
|
+
}];
|
|
702
|
+
readonly stateMutability: "nonpayable";
|
|
703
|
+
readonly type: "function";
|
|
704
|
+
}, {
|
|
705
|
+
readonly inputs: readonly [{
|
|
706
|
+
readonly internalType: "address";
|
|
707
|
+
readonly name: "authorizer";
|
|
708
|
+
readonly type: "address";
|
|
709
|
+
}, {
|
|
710
|
+
readonly internalType: "bytes32";
|
|
711
|
+
readonly name: "nonce";
|
|
712
|
+
readonly type: "bytes32";
|
|
713
|
+
}];
|
|
714
|
+
readonly name: "authorizationState";
|
|
715
|
+
readonly outputs: readonly [{
|
|
716
|
+
readonly internalType: "bool";
|
|
717
|
+
readonly name: "";
|
|
718
|
+
readonly type: "bool";
|
|
719
|
+
}];
|
|
720
|
+
readonly stateMutability: "view";
|
|
721
|
+
readonly type: "function";
|
|
722
|
+
}, {
|
|
723
|
+
readonly inputs: readonly [{
|
|
724
|
+
readonly internalType: "address";
|
|
725
|
+
readonly name: "account";
|
|
726
|
+
readonly type: "address";
|
|
727
|
+
}];
|
|
728
|
+
readonly name: "balanceOf";
|
|
729
|
+
readonly outputs: readonly [{
|
|
730
|
+
readonly internalType: "uint256";
|
|
731
|
+
readonly name: "";
|
|
732
|
+
readonly type: "uint256";
|
|
733
|
+
}];
|
|
734
|
+
readonly stateMutability: "view";
|
|
735
|
+
readonly type: "function";
|
|
736
|
+
}, {
|
|
737
|
+
readonly inputs: readonly [{
|
|
738
|
+
readonly internalType: "address";
|
|
739
|
+
readonly name: "_account";
|
|
740
|
+
readonly type: "address";
|
|
741
|
+
}];
|
|
742
|
+
readonly name: "blacklist";
|
|
743
|
+
readonly outputs: readonly [];
|
|
744
|
+
readonly stateMutability: "nonpayable";
|
|
745
|
+
readonly type: "function";
|
|
746
|
+
}, {
|
|
747
|
+
readonly inputs: readonly [];
|
|
748
|
+
readonly name: "blacklister";
|
|
749
|
+
readonly outputs: readonly [{
|
|
750
|
+
readonly internalType: "address";
|
|
751
|
+
readonly name: "";
|
|
752
|
+
readonly type: "address";
|
|
753
|
+
}];
|
|
754
|
+
readonly stateMutability: "view";
|
|
755
|
+
readonly type: "function";
|
|
756
|
+
}, {
|
|
757
|
+
readonly inputs: readonly [{
|
|
758
|
+
readonly internalType: "uint256";
|
|
759
|
+
readonly name: "_amount";
|
|
760
|
+
readonly type: "uint256";
|
|
761
|
+
}];
|
|
762
|
+
readonly name: "burn";
|
|
763
|
+
readonly outputs: readonly [];
|
|
764
|
+
readonly stateMutability: "nonpayable";
|
|
765
|
+
readonly type: "function";
|
|
766
|
+
}, {
|
|
767
|
+
readonly inputs: readonly [{
|
|
768
|
+
readonly internalType: "address";
|
|
769
|
+
readonly name: "authorizer";
|
|
770
|
+
readonly type: "address";
|
|
771
|
+
}, {
|
|
772
|
+
readonly internalType: "bytes32";
|
|
773
|
+
readonly name: "nonce";
|
|
774
|
+
readonly type: "bytes32";
|
|
775
|
+
}, {
|
|
776
|
+
readonly internalType: "uint8";
|
|
777
|
+
readonly name: "v";
|
|
778
|
+
readonly type: "uint8";
|
|
779
|
+
}, {
|
|
780
|
+
readonly internalType: "bytes32";
|
|
781
|
+
readonly name: "r";
|
|
782
|
+
readonly type: "bytes32";
|
|
783
|
+
}, {
|
|
784
|
+
readonly internalType: "bytes32";
|
|
785
|
+
readonly name: "s";
|
|
786
|
+
readonly type: "bytes32";
|
|
787
|
+
}];
|
|
788
|
+
readonly name: "cancelAuthorization";
|
|
789
|
+
readonly outputs: readonly [];
|
|
790
|
+
readonly stateMutability: "nonpayable";
|
|
791
|
+
readonly type: "function";
|
|
792
|
+
}, {
|
|
793
|
+
readonly inputs: readonly [{
|
|
794
|
+
readonly internalType: "address";
|
|
795
|
+
readonly name: "authorizer";
|
|
796
|
+
readonly type: "address";
|
|
797
|
+
}, {
|
|
798
|
+
readonly internalType: "bytes32";
|
|
799
|
+
readonly name: "nonce";
|
|
800
|
+
readonly type: "bytes32";
|
|
801
|
+
}, {
|
|
802
|
+
readonly internalType: "bytes";
|
|
803
|
+
readonly name: "signature";
|
|
804
|
+
readonly type: "bytes";
|
|
805
|
+
}];
|
|
806
|
+
readonly name: "cancelAuthorization";
|
|
807
|
+
readonly outputs: readonly [];
|
|
808
|
+
readonly stateMutability: "nonpayable";
|
|
809
|
+
readonly type: "function";
|
|
810
|
+
}, {
|
|
811
|
+
readonly inputs: readonly [{
|
|
812
|
+
readonly internalType: "address";
|
|
813
|
+
readonly name: "minter";
|
|
814
|
+
readonly type: "address";
|
|
815
|
+
}, {
|
|
816
|
+
readonly internalType: "uint256";
|
|
817
|
+
readonly name: "minterAllowedAmount";
|
|
818
|
+
readonly type: "uint256";
|
|
819
|
+
}];
|
|
820
|
+
readonly name: "configureMinter";
|
|
821
|
+
readonly outputs: readonly [{
|
|
822
|
+
readonly internalType: "bool";
|
|
823
|
+
readonly name: "";
|
|
824
|
+
readonly type: "bool";
|
|
825
|
+
}];
|
|
826
|
+
readonly stateMutability: "nonpayable";
|
|
827
|
+
readonly type: "function";
|
|
828
|
+
}, {
|
|
829
|
+
readonly inputs: readonly [];
|
|
830
|
+
readonly name: "currency";
|
|
831
|
+
readonly outputs: readonly [{
|
|
832
|
+
readonly internalType: "string";
|
|
833
|
+
readonly name: "";
|
|
834
|
+
readonly type: "string";
|
|
835
|
+
}];
|
|
836
|
+
readonly stateMutability: "view";
|
|
837
|
+
readonly type: "function";
|
|
838
|
+
}, {
|
|
839
|
+
readonly inputs: readonly [];
|
|
840
|
+
readonly name: "decimals";
|
|
841
|
+
readonly outputs: readonly [{
|
|
842
|
+
readonly internalType: "uint8";
|
|
843
|
+
readonly name: "";
|
|
844
|
+
readonly type: "uint8";
|
|
845
|
+
}];
|
|
846
|
+
readonly stateMutability: "view";
|
|
847
|
+
readonly type: "function";
|
|
848
|
+
}, {
|
|
849
|
+
readonly inputs: readonly [{
|
|
850
|
+
readonly internalType: "address";
|
|
851
|
+
readonly name: "spender";
|
|
852
|
+
readonly type: "address";
|
|
853
|
+
}, {
|
|
854
|
+
readonly internalType: "uint256";
|
|
855
|
+
readonly name: "decrement";
|
|
856
|
+
readonly type: "uint256";
|
|
857
|
+
}];
|
|
858
|
+
readonly name: "decreaseAllowance";
|
|
859
|
+
readonly outputs: readonly [{
|
|
860
|
+
readonly internalType: "bool";
|
|
861
|
+
readonly name: "";
|
|
862
|
+
readonly type: "bool";
|
|
863
|
+
}];
|
|
864
|
+
readonly stateMutability: "nonpayable";
|
|
865
|
+
readonly type: "function";
|
|
866
|
+
}, {
|
|
867
|
+
readonly inputs: readonly [{
|
|
868
|
+
readonly internalType: "address";
|
|
869
|
+
readonly name: "spender";
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
}, {
|
|
872
|
+
readonly internalType: "uint256";
|
|
873
|
+
readonly name: "increment";
|
|
874
|
+
readonly type: "uint256";
|
|
875
|
+
}];
|
|
876
|
+
readonly name: "increaseAllowance";
|
|
877
|
+
readonly outputs: readonly [{
|
|
878
|
+
readonly internalType: "bool";
|
|
879
|
+
readonly name: "";
|
|
880
|
+
readonly type: "bool";
|
|
881
|
+
}];
|
|
882
|
+
readonly stateMutability: "nonpayable";
|
|
883
|
+
readonly type: "function";
|
|
884
|
+
}, {
|
|
885
|
+
readonly inputs: readonly [{
|
|
886
|
+
readonly internalType: "string";
|
|
887
|
+
readonly name: "tokenName";
|
|
888
|
+
readonly type: "string";
|
|
889
|
+
}, {
|
|
890
|
+
readonly internalType: "string";
|
|
891
|
+
readonly name: "tokenSymbol";
|
|
892
|
+
readonly type: "string";
|
|
893
|
+
}, {
|
|
894
|
+
readonly internalType: "string";
|
|
895
|
+
readonly name: "tokenCurrency";
|
|
896
|
+
readonly type: "string";
|
|
897
|
+
}, {
|
|
898
|
+
readonly internalType: "uint8";
|
|
899
|
+
readonly name: "tokenDecimals";
|
|
900
|
+
readonly type: "uint8";
|
|
901
|
+
}, {
|
|
902
|
+
readonly internalType: "address";
|
|
903
|
+
readonly name: "newMasterMinter";
|
|
904
|
+
readonly type: "address";
|
|
905
|
+
}, {
|
|
906
|
+
readonly internalType: "address";
|
|
907
|
+
readonly name: "newPauser";
|
|
908
|
+
readonly type: "address";
|
|
909
|
+
}, {
|
|
910
|
+
readonly internalType: "address";
|
|
911
|
+
readonly name: "newBlacklister";
|
|
912
|
+
readonly type: "address";
|
|
913
|
+
}, {
|
|
914
|
+
readonly internalType: "address";
|
|
915
|
+
readonly name: "newOwner";
|
|
916
|
+
readonly type: "address";
|
|
917
|
+
}];
|
|
918
|
+
readonly name: "initialize";
|
|
919
|
+
readonly outputs: readonly [];
|
|
920
|
+
readonly stateMutability: "nonpayable";
|
|
921
|
+
readonly type: "function";
|
|
922
|
+
}, {
|
|
923
|
+
readonly inputs: readonly [{
|
|
924
|
+
readonly internalType: "string";
|
|
925
|
+
readonly name: "newName";
|
|
926
|
+
readonly type: "string";
|
|
927
|
+
}];
|
|
928
|
+
readonly name: "initializeV2";
|
|
929
|
+
readonly outputs: readonly [];
|
|
930
|
+
readonly stateMutability: "nonpayable";
|
|
931
|
+
readonly type: "function";
|
|
932
|
+
}, {
|
|
933
|
+
readonly inputs: readonly [{
|
|
934
|
+
readonly internalType: "address";
|
|
935
|
+
readonly name: "lostAndFound";
|
|
936
|
+
readonly type: "address";
|
|
937
|
+
}];
|
|
938
|
+
readonly name: "initializeV2_1";
|
|
939
|
+
readonly outputs: readonly [];
|
|
940
|
+
readonly stateMutability: "nonpayable";
|
|
941
|
+
readonly type: "function";
|
|
942
|
+
}, {
|
|
943
|
+
readonly inputs: readonly [{
|
|
944
|
+
readonly internalType: "address[]";
|
|
945
|
+
readonly name: "accountsToBlacklist";
|
|
946
|
+
readonly type: "address[]";
|
|
947
|
+
}, {
|
|
948
|
+
readonly internalType: "string";
|
|
949
|
+
readonly name: "newSymbol";
|
|
950
|
+
readonly type: "string";
|
|
951
|
+
}];
|
|
952
|
+
readonly name: "initializeV2_2";
|
|
953
|
+
readonly outputs: readonly [];
|
|
954
|
+
readonly stateMutability: "nonpayable";
|
|
955
|
+
readonly type: "function";
|
|
956
|
+
}, {
|
|
957
|
+
readonly inputs: readonly [{
|
|
958
|
+
readonly internalType: "address";
|
|
959
|
+
readonly name: "_account";
|
|
960
|
+
readonly type: "address";
|
|
961
|
+
}];
|
|
962
|
+
readonly name: "isBlacklisted";
|
|
963
|
+
readonly outputs: readonly [{
|
|
964
|
+
readonly internalType: "bool";
|
|
965
|
+
readonly name: "";
|
|
966
|
+
readonly type: "bool";
|
|
967
|
+
}];
|
|
968
|
+
readonly stateMutability: "view";
|
|
969
|
+
readonly type: "function";
|
|
970
|
+
}, {
|
|
971
|
+
readonly inputs: readonly [{
|
|
972
|
+
readonly internalType: "address";
|
|
973
|
+
readonly name: "account";
|
|
974
|
+
readonly type: "address";
|
|
975
|
+
}];
|
|
976
|
+
readonly name: "isMinter";
|
|
977
|
+
readonly outputs: readonly [{
|
|
978
|
+
readonly internalType: "bool";
|
|
979
|
+
readonly name: "";
|
|
980
|
+
readonly type: "bool";
|
|
981
|
+
}];
|
|
982
|
+
readonly stateMutability: "view";
|
|
983
|
+
readonly type: "function";
|
|
984
|
+
}, {
|
|
985
|
+
readonly inputs: readonly [];
|
|
986
|
+
readonly name: "masterMinter";
|
|
987
|
+
readonly outputs: readonly [{
|
|
988
|
+
readonly internalType: "address";
|
|
989
|
+
readonly name: "";
|
|
990
|
+
readonly type: "address";
|
|
991
|
+
}];
|
|
992
|
+
readonly stateMutability: "view";
|
|
993
|
+
readonly type: "function";
|
|
994
|
+
}, {
|
|
995
|
+
readonly inputs: readonly [{
|
|
996
|
+
readonly internalType: "address";
|
|
997
|
+
readonly name: "_to";
|
|
998
|
+
readonly type: "address";
|
|
999
|
+
}, {
|
|
1000
|
+
readonly internalType: "uint256";
|
|
1001
|
+
readonly name: "_amount";
|
|
1002
|
+
readonly type: "uint256";
|
|
1003
|
+
}];
|
|
1004
|
+
readonly name: "mint";
|
|
1005
|
+
readonly outputs: readonly [{
|
|
1006
|
+
readonly internalType: "bool";
|
|
1007
|
+
readonly name: "";
|
|
1008
|
+
readonly type: "bool";
|
|
1009
|
+
}];
|
|
1010
|
+
readonly stateMutability: "nonpayable";
|
|
1011
|
+
readonly type: "function";
|
|
1012
|
+
}, {
|
|
1013
|
+
readonly inputs: readonly [{
|
|
1014
|
+
readonly internalType: "address";
|
|
1015
|
+
readonly name: "minter";
|
|
1016
|
+
readonly type: "address";
|
|
1017
|
+
}];
|
|
1018
|
+
readonly name: "minterAllowance";
|
|
1019
|
+
readonly outputs: readonly [{
|
|
1020
|
+
readonly internalType: "uint256";
|
|
1021
|
+
readonly name: "";
|
|
1022
|
+
readonly type: "uint256";
|
|
1023
|
+
}];
|
|
1024
|
+
readonly stateMutability: "view";
|
|
1025
|
+
readonly type: "function";
|
|
1026
|
+
}, {
|
|
1027
|
+
readonly inputs: readonly [];
|
|
1028
|
+
readonly name: "name";
|
|
1029
|
+
readonly outputs: readonly [{
|
|
1030
|
+
readonly internalType: "string";
|
|
1031
|
+
readonly name: "";
|
|
1032
|
+
readonly type: "string";
|
|
1033
|
+
}];
|
|
1034
|
+
readonly stateMutability: "view";
|
|
1035
|
+
readonly type: "function";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly inputs: readonly [{
|
|
1038
|
+
readonly internalType: "address";
|
|
1039
|
+
readonly name: "owner";
|
|
1040
|
+
readonly type: "address";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly name: "nonces";
|
|
1043
|
+
readonly outputs: readonly [{
|
|
1044
|
+
readonly internalType: "uint256";
|
|
1045
|
+
readonly name: "";
|
|
1046
|
+
readonly type: "uint256";
|
|
1047
|
+
}];
|
|
1048
|
+
readonly stateMutability: "view";
|
|
1049
|
+
readonly type: "function";
|
|
1050
|
+
}, {
|
|
1051
|
+
readonly inputs: readonly [];
|
|
1052
|
+
readonly name: "owner";
|
|
1053
|
+
readonly outputs: readonly [{
|
|
1054
|
+
readonly internalType: "address";
|
|
1055
|
+
readonly name: "";
|
|
1056
|
+
readonly type: "address";
|
|
1057
|
+
}];
|
|
1058
|
+
readonly stateMutability: "view";
|
|
1059
|
+
readonly type: "function";
|
|
1060
|
+
}, {
|
|
1061
|
+
readonly inputs: readonly [];
|
|
1062
|
+
readonly name: "pause";
|
|
1063
|
+
readonly outputs: readonly [];
|
|
1064
|
+
readonly stateMutability: "nonpayable";
|
|
1065
|
+
readonly type: "function";
|
|
1066
|
+
}, {
|
|
1067
|
+
readonly inputs: readonly [];
|
|
1068
|
+
readonly name: "paused";
|
|
1069
|
+
readonly outputs: readonly [{
|
|
1070
|
+
readonly internalType: "bool";
|
|
1071
|
+
readonly name: "";
|
|
1072
|
+
readonly type: "bool";
|
|
1073
|
+
}];
|
|
1074
|
+
readonly stateMutability: "view";
|
|
1075
|
+
readonly type: "function";
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly inputs: readonly [];
|
|
1078
|
+
readonly name: "pauser";
|
|
1079
|
+
readonly outputs: readonly [{
|
|
1080
|
+
readonly internalType: "address";
|
|
1081
|
+
readonly name: "";
|
|
1082
|
+
readonly type: "address";
|
|
1083
|
+
}];
|
|
1084
|
+
readonly stateMutability: "view";
|
|
1085
|
+
readonly type: "function";
|
|
1086
|
+
}, {
|
|
1087
|
+
readonly inputs: readonly [{
|
|
1088
|
+
readonly internalType: "address";
|
|
1089
|
+
readonly name: "owner";
|
|
1090
|
+
readonly type: "address";
|
|
1091
|
+
}, {
|
|
1092
|
+
readonly internalType: "address";
|
|
1093
|
+
readonly name: "spender";
|
|
1094
|
+
readonly type: "address";
|
|
1095
|
+
}, {
|
|
1096
|
+
readonly internalType: "uint256";
|
|
1097
|
+
readonly name: "value";
|
|
1098
|
+
readonly type: "uint256";
|
|
1099
|
+
}, {
|
|
1100
|
+
readonly internalType: "uint256";
|
|
1101
|
+
readonly name: "deadline";
|
|
1102
|
+
readonly type: "uint256";
|
|
1103
|
+
}, {
|
|
1104
|
+
readonly internalType: "bytes";
|
|
1105
|
+
readonly name: "signature";
|
|
1106
|
+
readonly type: "bytes";
|
|
1107
|
+
}];
|
|
1108
|
+
readonly name: "permit";
|
|
1109
|
+
readonly outputs: readonly [];
|
|
1110
|
+
readonly stateMutability: "nonpayable";
|
|
1111
|
+
readonly type: "function";
|
|
1112
|
+
}, {
|
|
1113
|
+
readonly inputs: readonly [{
|
|
1114
|
+
readonly internalType: "address";
|
|
1115
|
+
readonly name: "owner";
|
|
1116
|
+
readonly type: "address";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly internalType: "address";
|
|
1119
|
+
readonly name: "spender";
|
|
1120
|
+
readonly type: "address";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly internalType: "uint256";
|
|
1123
|
+
readonly name: "value";
|
|
1124
|
+
readonly type: "uint256";
|
|
1125
|
+
}, {
|
|
1126
|
+
readonly internalType: "uint256";
|
|
1127
|
+
readonly name: "deadline";
|
|
1128
|
+
readonly type: "uint256";
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly internalType: "uint8";
|
|
1131
|
+
readonly name: "v";
|
|
1132
|
+
readonly type: "uint8";
|
|
1133
|
+
}, {
|
|
1134
|
+
readonly internalType: "bytes32";
|
|
1135
|
+
readonly name: "r";
|
|
1136
|
+
readonly type: "bytes32";
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly internalType: "bytes32";
|
|
1139
|
+
readonly name: "s";
|
|
1140
|
+
readonly type: "bytes32";
|
|
1141
|
+
}];
|
|
1142
|
+
readonly name: "permit";
|
|
1143
|
+
readonly outputs: readonly [];
|
|
1144
|
+
readonly stateMutability: "nonpayable";
|
|
1145
|
+
readonly type: "function";
|
|
1146
|
+
}, {
|
|
1147
|
+
readonly inputs: readonly [{
|
|
1148
|
+
readonly internalType: "address";
|
|
1149
|
+
readonly name: "from";
|
|
1150
|
+
readonly type: "address";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly internalType: "address";
|
|
1153
|
+
readonly name: "to";
|
|
1154
|
+
readonly type: "address";
|
|
1155
|
+
}, {
|
|
1156
|
+
readonly internalType: "uint256";
|
|
1157
|
+
readonly name: "value";
|
|
1158
|
+
readonly type: "uint256";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly internalType: "uint256";
|
|
1161
|
+
readonly name: "validAfter";
|
|
1162
|
+
readonly type: "uint256";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly internalType: "uint256";
|
|
1165
|
+
readonly name: "validBefore";
|
|
1166
|
+
readonly type: "uint256";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly internalType: "bytes32";
|
|
1169
|
+
readonly name: "nonce";
|
|
1170
|
+
readonly type: "bytes32";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly internalType: "bytes";
|
|
1173
|
+
readonly name: "signature";
|
|
1174
|
+
readonly type: "bytes";
|
|
1175
|
+
}];
|
|
1176
|
+
readonly name: "receiveWithAuthorization";
|
|
1177
|
+
readonly outputs: readonly [];
|
|
1178
|
+
readonly stateMutability: "nonpayable";
|
|
1179
|
+
readonly type: "function";
|
|
1180
|
+
}, {
|
|
1181
|
+
readonly inputs: readonly [{
|
|
1182
|
+
readonly internalType: "address";
|
|
1183
|
+
readonly name: "from";
|
|
1184
|
+
readonly type: "address";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly internalType: "address";
|
|
1187
|
+
readonly name: "to";
|
|
1188
|
+
readonly type: "address";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly internalType: "uint256";
|
|
1191
|
+
readonly name: "value";
|
|
1192
|
+
readonly type: "uint256";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly internalType: "uint256";
|
|
1195
|
+
readonly name: "validAfter";
|
|
1196
|
+
readonly type: "uint256";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly internalType: "uint256";
|
|
1199
|
+
readonly name: "validBefore";
|
|
1200
|
+
readonly type: "uint256";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly internalType: "bytes32";
|
|
1203
|
+
readonly name: "nonce";
|
|
1204
|
+
readonly type: "bytes32";
|
|
1205
|
+
}, {
|
|
1206
|
+
readonly internalType: "uint8";
|
|
1207
|
+
readonly name: "v";
|
|
1208
|
+
readonly type: "uint8";
|
|
1209
|
+
}, {
|
|
1210
|
+
readonly internalType: "bytes32";
|
|
1211
|
+
readonly name: "r";
|
|
1212
|
+
readonly type: "bytes32";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly internalType: "bytes32";
|
|
1215
|
+
readonly name: "s";
|
|
1216
|
+
readonly type: "bytes32";
|
|
1217
|
+
}];
|
|
1218
|
+
readonly name: "receiveWithAuthorization";
|
|
1219
|
+
readonly outputs: readonly [];
|
|
1220
|
+
readonly stateMutability: "nonpayable";
|
|
1221
|
+
readonly type: "function";
|
|
1222
|
+
}, {
|
|
1223
|
+
readonly inputs: readonly [{
|
|
1224
|
+
readonly internalType: "address";
|
|
1225
|
+
readonly name: "minter";
|
|
1226
|
+
readonly type: "address";
|
|
1227
|
+
}];
|
|
1228
|
+
readonly name: "removeMinter";
|
|
1229
|
+
readonly outputs: readonly [{
|
|
1230
|
+
readonly internalType: "bool";
|
|
1231
|
+
readonly name: "";
|
|
1232
|
+
readonly type: "bool";
|
|
1233
|
+
}];
|
|
1234
|
+
readonly stateMutability: "nonpayable";
|
|
1235
|
+
readonly type: "function";
|
|
1236
|
+
}, {
|
|
1237
|
+
readonly inputs: readonly [{
|
|
1238
|
+
readonly internalType: "contract IERC20";
|
|
1239
|
+
readonly name: "tokenContract";
|
|
1240
|
+
readonly type: "address";
|
|
1241
|
+
}, {
|
|
1242
|
+
readonly internalType: "address";
|
|
1243
|
+
readonly name: "to";
|
|
1244
|
+
readonly type: "address";
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly internalType: "uint256";
|
|
1247
|
+
readonly name: "amount";
|
|
1248
|
+
readonly type: "uint256";
|
|
1249
|
+
}];
|
|
1250
|
+
readonly name: "rescueERC20";
|
|
1251
|
+
readonly outputs: readonly [];
|
|
1252
|
+
readonly stateMutability: "nonpayable";
|
|
1253
|
+
readonly type: "function";
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly inputs: readonly [];
|
|
1256
|
+
readonly name: "rescuer";
|
|
1257
|
+
readonly outputs: readonly [{
|
|
1258
|
+
readonly internalType: "address";
|
|
1259
|
+
readonly name: "";
|
|
1260
|
+
readonly type: "address";
|
|
1261
|
+
}];
|
|
1262
|
+
readonly stateMutability: "view";
|
|
1263
|
+
readonly type: "function";
|
|
1264
|
+
}, {
|
|
1265
|
+
readonly inputs: readonly [];
|
|
1266
|
+
readonly name: "symbol";
|
|
1267
|
+
readonly outputs: readonly [{
|
|
1268
|
+
readonly internalType: "string";
|
|
1269
|
+
readonly name: "";
|
|
1270
|
+
readonly type: "string";
|
|
1271
|
+
}];
|
|
1272
|
+
readonly stateMutability: "view";
|
|
1273
|
+
readonly type: "function";
|
|
1274
|
+
}, {
|
|
1275
|
+
readonly inputs: readonly [];
|
|
1276
|
+
readonly name: "totalSupply";
|
|
1277
|
+
readonly outputs: readonly [{
|
|
1278
|
+
readonly internalType: "uint256";
|
|
1279
|
+
readonly name: "";
|
|
1280
|
+
readonly type: "uint256";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly stateMutability: "view";
|
|
1283
|
+
readonly type: "function";
|
|
1284
|
+
}, {
|
|
1285
|
+
readonly inputs: readonly [{
|
|
1286
|
+
readonly internalType: "address";
|
|
1287
|
+
readonly name: "to";
|
|
1288
|
+
readonly type: "address";
|
|
1289
|
+
}, {
|
|
1290
|
+
readonly internalType: "uint256";
|
|
1291
|
+
readonly name: "value";
|
|
1292
|
+
readonly type: "uint256";
|
|
1293
|
+
}];
|
|
1294
|
+
readonly name: "transfer";
|
|
1295
|
+
readonly outputs: readonly [{
|
|
1296
|
+
readonly internalType: "bool";
|
|
1297
|
+
readonly name: "";
|
|
1298
|
+
readonly type: "bool";
|
|
1299
|
+
}];
|
|
1300
|
+
readonly stateMutability: "nonpayable";
|
|
1301
|
+
readonly type: "function";
|
|
1302
|
+
}, {
|
|
1303
|
+
readonly inputs: readonly [{
|
|
1304
|
+
readonly internalType: "address";
|
|
1305
|
+
readonly name: "from";
|
|
1306
|
+
readonly type: "address";
|
|
1307
|
+
}, {
|
|
1308
|
+
readonly internalType: "address";
|
|
1309
|
+
readonly name: "to";
|
|
1310
|
+
readonly type: "address";
|
|
1311
|
+
}, {
|
|
1312
|
+
readonly internalType: "uint256";
|
|
1313
|
+
readonly name: "value";
|
|
1314
|
+
readonly type: "uint256";
|
|
1315
|
+
}];
|
|
1316
|
+
readonly name: "transferFrom";
|
|
1317
|
+
readonly outputs: readonly [{
|
|
1318
|
+
readonly internalType: "bool";
|
|
1319
|
+
readonly name: "";
|
|
1320
|
+
readonly type: "bool";
|
|
1321
|
+
}];
|
|
1322
|
+
readonly stateMutability: "nonpayable";
|
|
1323
|
+
readonly type: "function";
|
|
1324
|
+
}, {
|
|
1325
|
+
readonly inputs: readonly [{
|
|
1326
|
+
readonly internalType: "address";
|
|
1327
|
+
readonly name: "newOwner";
|
|
1328
|
+
readonly type: "address";
|
|
1329
|
+
}];
|
|
1330
|
+
readonly name: "transferOwnership";
|
|
1331
|
+
readonly outputs: readonly [];
|
|
1332
|
+
readonly stateMutability: "nonpayable";
|
|
1333
|
+
readonly type: "function";
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly inputs: readonly [{
|
|
1336
|
+
readonly internalType: "address";
|
|
1337
|
+
readonly name: "from";
|
|
1338
|
+
readonly type: "address";
|
|
1339
|
+
}, {
|
|
1340
|
+
readonly internalType: "address";
|
|
1341
|
+
readonly name: "to";
|
|
1342
|
+
readonly type: "address";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly internalType: "uint256";
|
|
1345
|
+
readonly name: "value";
|
|
1346
|
+
readonly type: "uint256";
|
|
1347
|
+
}, {
|
|
1348
|
+
readonly internalType: "uint256";
|
|
1349
|
+
readonly name: "validAfter";
|
|
1350
|
+
readonly type: "uint256";
|
|
1351
|
+
}, {
|
|
1352
|
+
readonly internalType: "uint256";
|
|
1353
|
+
readonly name: "validBefore";
|
|
1354
|
+
readonly type: "uint256";
|
|
1355
|
+
}, {
|
|
1356
|
+
readonly internalType: "bytes32";
|
|
1357
|
+
readonly name: "nonce";
|
|
1358
|
+
readonly type: "bytes32";
|
|
1359
|
+
}, {
|
|
1360
|
+
readonly internalType: "bytes";
|
|
1361
|
+
readonly name: "signature";
|
|
1362
|
+
readonly type: "bytes";
|
|
1363
|
+
}];
|
|
1364
|
+
readonly name: "transferWithAuthorization";
|
|
1365
|
+
readonly outputs: readonly [];
|
|
1366
|
+
readonly stateMutability: "nonpayable";
|
|
1367
|
+
readonly type: "function";
|
|
1368
|
+
}, {
|
|
1369
|
+
readonly inputs: readonly [{
|
|
1370
|
+
readonly internalType: "address";
|
|
1371
|
+
readonly name: "from";
|
|
1372
|
+
readonly type: "address";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly internalType: "address";
|
|
1375
|
+
readonly name: "to";
|
|
1376
|
+
readonly type: "address";
|
|
1377
|
+
}, {
|
|
1378
|
+
readonly internalType: "uint256";
|
|
1379
|
+
readonly name: "value";
|
|
1380
|
+
readonly type: "uint256";
|
|
1381
|
+
}, {
|
|
1382
|
+
readonly internalType: "uint256";
|
|
1383
|
+
readonly name: "validAfter";
|
|
1384
|
+
readonly type: "uint256";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly internalType: "uint256";
|
|
1387
|
+
readonly name: "validBefore";
|
|
1388
|
+
readonly type: "uint256";
|
|
1389
|
+
}, {
|
|
1390
|
+
readonly internalType: "bytes32";
|
|
1391
|
+
readonly name: "nonce";
|
|
1392
|
+
readonly type: "bytes32";
|
|
1393
|
+
}, {
|
|
1394
|
+
readonly internalType: "uint8";
|
|
1395
|
+
readonly name: "v";
|
|
1396
|
+
readonly type: "uint8";
|
|
1397
|
+
}, {
|
|
1398
|
+
readonly internalType: "bytes32";
|
|
1399
|
+
readonly name: "r";
|
|
1400
|
+
readonly type: "bytes32";
|
|
1401
|
+
}, {
|
|
1402
|
+
readonly internalType: "bytes32";
|
|
1403
|
+
readonly name: "s";
|
|
1404
|
+
readonly type: "bytes32";
|
|
1405
|
+
}];
|
|
1406
|
+
readonly name: "transferWithAuthorization";
|
|
1407
|
+
readonly outputs: readonly [];
|
|
1408
|
+
readonly stateMutability: "nonpayable";
|
|
1409
|
+
readonly type: "function";
|
|
1410
|
+
}, {
|
|
1411
|
+
readonly inputs: readonly [{
|
|
1412
|
+
readonly internalType: "address";
|
|
1413
|
+
readonly name: "_account";
|
|
1414
|
+
readonly type: "address";
|
|
1415
|
+
}];
|
|
1416
|
+
readonly name: "unBlacklist";
|
|
1417
|
+
readonly outputs: readonly [];
|
|
1418
|
+
readonly stateMutability: "nonpayable";
|
|
1419
|
+
readonly type: "function";
|
|
1420
|
+
}, {
|
|
1421
|
+
readonly inputs: readonly [];
|
|
1422
|
+
readonly name: "unpause";
|
|
1423
|
+
readonly outputs: readonly [];
|
|
1424
|
+
readonly stateMutability: "nonpayable";
|
|
1425
|
+
readonly type: "function";
|
|
1426
|
+
}, {
|
|
1427
|
+
readonly inputs: readonly [{
|
|
1428
|
+
readonly internalType: "address";
|
|
1429
|
+
readonly name: "_newBlacklister";
|
|
1430
|
+
readonly type: "address";
|
|
1431
|
+
}];
|
|
1432
|
+
readonly name: "updateBlacklister";
|
|
1433
|
+
readonly outputs: readonly [];
|
|
1434
|
+
readonly stateMutability: "nonpayable";
|
|
1435
|
+
readonly type: "function";
|
|
1436
|
+
}, {
|
|
1437
|
+
readonly inputs: readonly [{
|
|
1438
|
+
readonly internalType: "address";
|
|
1439
|
+
readonly name: "_newMasterMinter";
|
|
1440
|
+
readonly type: "address";
|
|
1441
|
+
}];
|
|
1442
|
+
readonly name: "updateMasterMinter";
|
|
1443
|
+
readonly outputs: readonly [];
|
|
1444
|
+
readonly stateMutability: "nonpayable";
|
|
1445
|
+
readonly type: "function";
|
|
1446
|
+
}, {
|
|
1447
|
+
readonly inputs: readonly [{
|
|
1448
|
+
readonly internalType: "address";
|
|
1449
|
+
readonly name: "_newPauser";
|
|
1450
|
+
readonly type: "address";
|
|
1451
|
+
}];
|
|
1452
|
+
readonly name: "updatePauser";
|
|
1453
|
+
readonly outputs: readonly [];
|
|
1454
|
+
readonly stateMutability: "nonpayable";
|
|
1455
|
+
readonly type: "function";
|
|
1456
|
+
}, {
|
|
1457
|
+
readonly inputs: readonly [{
|
|
1458
|
+
readonly internalType: "address";
|
|
1459
|
+
readonly name: "newRescuer";
|
|
1460
|
+
readonly type: "address";
|
|
1461
|
+
}];
|
|
1462
|
+
readonly name: "updateRescuer";
|
|
1463
|
+
readonly outputs: readonly [];
|
|
1464
|
+
readonly stateMutability: "nonpayable";
|
|
1465
|
+
readonly type: "function";
|
|
1466
|
+
}, {
|
|
1467
|
+
readonly inputs: readonly [];
|
|
1468
|
+
readonly name: "version";
|
|
1469
|
+
readonly outputs: readonly [{
|
|
1470
|
+
readonly internalType: "string";
|
|
1471
|
+
readonly name: "";
|
|
1472
|
+
readonly type: "string";
|
|
1473
|
+
}];
|
|
1474
|
+
readonly stateMutability: "pure";
|
|
1475
|
+
readonly type: "function";
|
|
1476
|
+
}];
|
|
1477
|
+
|
|
1478
|
+
declare const index$1_ChainConfig: typeof ChainConfig;
|
|
1479
|
+
declare const index$1_ConnectedClient: typeof ConnectedClient;
|
|
1480
|
+
declare const index$1_EvmChainConfig: typeof EvmChainConfig;
|
|
1481
|
+
declare const index$1_EvmSigner: typeof EvmSigner;
|
|
1482
|
+
declare const index$1_PERMIT2_ADDRESS: typeof PERMIT2_ADDRESS;
|
|
1483
|
+
declare const index$1_SignerWallet: typeof SignerWallet;
|
|
1484
|
+
declare const index$1_authorizationPrimaryType: typeof authorizationPrimaryType;
|
|
1485
|
+
declare const index$1_authorizationTypes: typeof authorizationTypes;
|
|
1486
|
+
declare const index$1_config: typeof config;
|
|
1487
|
+
declare const index$1_createClientAvalancheFuji: typeof createClientAvalancheFuji;
|
|
1488
|
+
declare const index$1_createClientSepolia: typeof createClientSepolia;
|
|
1489
|
+
declare const index$1_createConnectedClient: typeof createConnectedClient;
|
|
1490
|
+
declare const index$1_createSigner: typeof createSigner;
|
|
1491
|
+
declare const index$1_createSignerAvalancheFuji: typeof createSignerAvalancheFuji;
|
|
1492
|
+
declare const index$1_createSignerSepolia: typeof createSignerSepolia;
|
|
1493
|
+
declare const index$1_erc20PermitABI: typeof erc20PermitABI;
|
|
1494
|
+
declare const index$1_getChainFromNetwork: typeof getChainFromNetwork;
|
|
1495
|
+
declare const index$1_isAccount: typeof isAccount;
|
|
1496
|
+
declare const index$1_isSignerWallet: typeof isSignerWallet;
|
|
1497
|
+
declare const index$1_permit2ABI: typeof permit2ABI;
|
|
1498
|
+
declare const index$1_permit2PrimaryType: typeof permit2PrimaryType;
|
|
1499
|
+
declare const index$1_permit2Types: typeof permit2Types;
|
|
1500
|
+
declare const index$1_permitPrimaryType: typeof permitPrimaryType;
|
|
1501
|
+
declare const index$1_permitTypes: typeof permitTypes;
|
|
1502
|
+
declare const index$1_usdcABI: typeof usdcABI;
|
|
1503
|
+
declare const index$1_withChain: typeof withChain;
|
|
1504
|
+
declare namespace index$1 {
|
|
1505
|
+
export { index$1_ChainConfig as ChainConfig, index$1_ConnectedClient as ConnectedClient, index$1_EvmChainConfig as EvmChainConfig, index$1_EvmSigner as EvmSigner, index$1_PERMIT2_ADDRESS as PERMIT2_ADDRESS, index$1_SignerWallet as SignerWallet, index$1_authorizationPrimaryType as authorizationPrimaryType, index$1_authorizationTypes as authorizationTypes, index$1_config as config, index$1_createClientAvalancheFuji as createClientAvalancheFuji, index$1_createClientSepolia as createClientSepolia, index$1_createConnectedClient as createConnectedClient, index$1_createSigner as createSigner, index$1_createSignerAvalancheFuji as createSignerAvalancheFuji, index$1_createSignerSepolia as createSignerSepolia, index$1_erc20PermitABI as erc20PermitABI, index$1_getChainFromNetwork as getChainFromNetwork, index$1_isAccount as isAccount, index$1_isSignerWallet as isSignerWallet, index$1_permit2ABI as permit2ABI, index$1_permit2PrimaryType as permit2PrimaryType, index$1_permit2Types as permit2Types, index$1_permitPrimaryType as permitPrimaryType, index$1_permitTypes as permitTypes, index$1_usdcABI as usdcABI, index$1_withChain as withChain };
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
declare const SvmAddressRegex: RegExp;
|
|
1509
|
+
|
|
1510
|
+
declare const index_SvmAddressRegex: typeof SvmAddressRegex;
|
|
1511
|
+
declare namespace index {
|
|
1512
|
+
export { index_SvmAddressRegex as SvmAddressRegex };
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
export { EvmChainConfig, type FacilitatorRequest, SettleResponse, index$1 as evm, facilitatorRequestSchema, settleResponseFromHeader, settleResponseHeader, index as svm, withChain };
|