@imtbl/sdk 0.20.1 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/blockchain_data.d.ts +56 -50
- package/dist/blockchain_data.js +289 -4
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +71 -25
- package/dist/checkout_sdk.js +529 -133
- package/dist/checkout_widgets.js +1 -1
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +13 -13
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +591 -3995
- package/dist/index.d.ts +158 -785
- package/dist/index.js +592 -3993
- package/dist/orderbook.d.ts +15 -15
- package/dist/orderbook.js +14 -14
- package/dist/passport.js +111 -5
- package/package.json +2 -20
- package/dist/erc20.d.ts +0 -296
- package/dist/erc20.js +0 -371
- package/dist/erc721.d.ts +0 -592
- package/dist/erc721.js +0 -1790
- package/dist/erc721_mint_by_id.d.ts +0 -521
- package/dist/erc721_mint_by_id.js +0 -1660
package/dist/erc721.d.ts
DELETED
|
@@ -1,592 +0,0 @@
|
|
|
1
|
-
declare type Bytes = ArrayLike<number>;
|
|
2
|
-
declare type BytesLike = Bytes | string;
|
|
3
|
-
interface Hexable {
|
|
4
|
-
toHexString(): string;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
declare type BigNumberish = BigNumber | Bytes | bigint | string | number;
|
|
8
|
-
declare class BigNumber implements Hexable {
|
|
9
|
-
readonly _hex: string;
|
|
10
|
-
readonly _isBigNumber: boolean;
|
|
11
|
-
constructor(constructorGuard: any, hex: string);
|
|
12
|
-
fromTwos(value: number): BigNumber;
|
|
13
|
-
toTwos(value: number): BigNumber;
|
|
14
|
-
abs(): BigNumber;
|
|
15
|
-
add(other: BigNumberish): BigNumber;
|
|
16
|
-
sub(other: BigNumberish): BigNumber;
|
|
17
|
-
div(other: BigNumberish): BigNumber;
|
|
18
|
-
mul(other: BigNumberish): BigNumber;
|
|
19
|
-
mod(other: BigNumberish): BigNumber;
|
|
20
|
-
pow(other: BigNumberish): BigNumber;
|
|
21
|
-
and(other: BigNumberish): BigNumber;
|
|
22
|
-
or(other: BigNumberish): BigNumber;
|
|
23
|
-
xor(other: BigNumberish): BigNumber;
|
|
24
|
-
mask(value: number): BigNumber;
|
|
25
|
-
shl(value: number): BigNumber;
|
|
26
|
-
shr(value: number): BigNumber;
|
|
27
|
-
eq(other: BigNumberish): boolean;
|
|
28
|
-
lt(other: BigNumberish): boolean;
|
|
29
|
-
lte(other: BigNumberish): boolean;
|
|
30
|
-
gt(other: BigNumberish): boolean;
|
|
31
|
-
gte(other: BigNumberish): boolean;
|
|
32
|
-
isNegative(): boolean;
|
|
33
|
-
isZero(): boolean;
|
|
34
|
-
toNumber(): number;
|
|
35
|
-
toBigInt(): bigint;
|
|
36
|
-
toString(): string;
|
|
37
|
-
toHexString(): string;
|
|
38
|
-
toJSON(key?: string): any;
|
|
39
|
-
static from(value: any): BigNumber;
|
|
40
|
-
static isBigNumber(value: any): value is BigNumber;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
declare type Deferrable<T> = {
|
|
44
|
-
[K in keyof T]: T[K] | Promise<T[K]>;
|
|
45
|
-
};
|
|
46
|
-
declare class Description<T = any> {
|
|
47
|
-
constructor(info: {
|
|
48
|
-
[K in keyof T]: T[K];
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
declare type Network = {
|
|
53
|
-
name: string;
|
|
54
|
-
chainId: number;
|
|
55
|
-
ensAddress?: string;
|
|
56
|
-
_defaultProvider?: (providers: any, options?: any) => any;
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
declare type AccessList = Array<{
|
|
60
|
-
address: string;
|
|
61
|
-
storageKeys: Array<string>;
|
|
62
|
-
}>;
|
|
63
|
-
declare type AccessListish = AccessList | Array<[string, Array<string>]> | Record<string, Array<string>>;
|
|
64
|
-
interface Transaction {
|
|
65
|
-
hash?: string;
|
|
66
|
-
to?: string;
|
|
67
|
-
from?: string;
|
|
68
|
-
nonce: number;
|
|
69
|
-
gasLimit: BigNumber;
|
|
70
|
-
gasPrice?: BigNumber;
|
|
71
|
-
data: string;
|
|
72
|
-
value: BigNumber;
|
|
73
|
-
chainId: number;
|
|
74
|
-
r?: string;
|
|
75
|
-
s?: string;
|
|
76
|
-
v?: number;
|
|
77
|
-
type?: number | null;
|
|
78
|
-
accessList?: AccessList;
|
|
79
|
-
maxPriorityFeePerGas?: BigNumber;
|
|
80
|
-
maxFeePerGas?: BigNumber;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
interface OnceBlockable {
|
|
84
|
-
once(eventName: "block", handler: () => void): void;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
declare type TransactionRequest = {
|
|
88
|
-
to?: string;
|
|
89
|
-
from?: string;
|
|
90
|
-
nonce?: BigNumberish;
|
|
91
|
-
gasLimit?: BigNumberish;
|
|
92
|
-
gasPrice?: BigNumberish;
|
|
93
|
-
data?: BytesLike;
|
|
94
|
-
value?: BigNumberish;
|
|
95
|
-
chainId?: number;
|
|
96
|
-
type?: number;
|
|
97
|
-
accessList?: AccessListish;
|
|
98
|
-
maxPriorityFeePerGas?: BigNumberish;
|
|
99
|
-
maxFeePerGas?: BigNumberish;
|
|
100
|
-
customData?: Record<string, any>;
|
|
101
|
-
ccipReadEnabled?: boolean;
|
|
102
|
-
};
|
|
103
|
-
interface TransactionResponse extends Transaction {
|
|
104
|
-
hash: string;
|
|
105
|
-
blockNumber?: number;
|
|
106
|
-
blockHash?: string;
|
|
107
|
-
timestamp?: number;
|
|
108
|
-
confirmations: number;
|
|
109
|
-
from: string;
|
|
110
|
-
raw?: string;
|
|
111
|
-
wait: (confirmations?: number) => Promise<TransactionReceipt>;
|
|
112
|
-
}
|
|
113
|
-
declare type BlockTag = string | number;
|
|
114
|
-
interface _Block {
|
|
115
|
-
hash: string;
|
|
116
|
-
parentHash: string;
|
|
117
|
-
number: number;
|
|
118
|
-
timestamp: number;
|
|
119
|
-
nonce: string;
|
|
120
|
-
difficulty: number;
|
|
121
|
-
_difficulty: BigNumber;
|
|
122
|
-
gasLimit: BigNumber;
|
|
123
|
-
gasUsed: BigNumber;
|
|
124
|
-
miner: string;
|
|
125
|
-
extraData: string;
|
|
126
|
-
baseFeePerGas?: null | BigNumber;
|
|
127
|
-
}
|
|
128
|
-
interface Block extends _Block {
|
|
129
|
-
transactions: Array<string>;
|
|
130
|
-
}
|
|
131
|
-
interface BlockWithTransactions extends _Block {
|
|
132
|
-
transactions: Array<TransactionResponse>;
|
|
133
|
-
}
|
|
134
|
-
interface Log {
|
|
135
|
-
blockNumber: number;
|
|
136
|
-
blockHash: string;
|
|
137
|
-
transactionIndex: number;
|
|
138
|
-
removed: boolean;
|
|
139
|
-
address: string;
|
|
140
|
-
data: string;
|
|
141
|
-
topics: Array<string>;
|
|
142
|
-
transactionHash: string;
|
|
143
|
-
logIndex: number;
|
|
144
|
-
}
|
|
145
|
-
interface TransactionReceipt {
|
|
146
|
-
to: string;
|
|
147
|
-
from: string;
|
|
148
|
-
contractAddress: string;
|
|
149
|
-
transactionIndex: number;
|
|
150
|
-
root?: string;
|
|
151
|
-
gasUsed: BigNumber;
|
|
152
|
-
logsBloom: string;
|
|
153
|
-
blockHash: string;
|
|
154
|
-
transactionHash: string;
|
|
155
|
-
logs: Array<Log>;
|
|
156
|
-
blockNumber: number;
|
|
157
|
-
confirmations: number;
|
|
158
|
-
cumulativeGasUsed: BigNumber;
|
|
159
|
-
effectiveGasPrice: BigNumber;
|
|
160
|
-
byzantium: boolean;
|
|
161
|
-
type: number;
|
|
162
|
-
status?: number;
|
|
163
|
-
}
|
|
164
|
-
interface FeeData {
|
|
165
|
-
lastBaseFeePerGas: null | BigNumber;
|
|
166
|
-
maxFeePerGas: null | BigNumber;
|
|
167
|
-
maxPriorityFeePerGas: null | BigNumber;
|
|
168
|
-
gasPrice: null | BigNumber;
|
|
169
|
-
}
|
|
170
|
-
interface EventFilter {
|
|
171
|
-
address?: string;
|
|
172
|
-
topics?: Array<string | Array<string> | null>;
|
|
173
|
-
}
|
|
174
|
-
interface Filter extends EventFilter {
|
|
175
|
-
fromBlock?: BlockTag;
|
|
176
|
-
toBlock?: BlockTag;
|
|
177
|
-
}
|
|
178
|
-
declare abstract class ForkEvent extends Description {
|
|
179
|
-
readonly expiry: number;
|
|
180
|
-
readonly _isForkEvent?: boolean;
|
|
181
|
-
static isForkEvent(value: any): value is ForkEvent;
|
|
182
|
-
}
|
|
183
|
-
declare type EventType = string | Array<string | Array<string>> | EventFilter | ForkEvent;
|
|
184
|
-
declare type Listener = (...args: Array<any>) => void;
|
|
185
|
-
declare abstract class Provider implements OnceBlockable {
|
|
186
|
-
abstract getNetwork(): Promise<Network>;
|
|
187
|
-
abstract getBlockNumber(): Promise<number>;
|
|
188
|
-
abstract getGasPrice(): Promise<BigNumber>;
|
|
189
|
-
getFeeData(): Promise<FeeData>;
|
|
190
|
-
abstract getBalance(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<BigNumber>;
|
|
191
|
-
abstract getTransactionCount(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<number>;
|
|
192
|
-
abstract getCode(addressOrName: string | Promise<string>, blockTag?: BlockTag | Promise<BlockTag>): Promise<string>;
|
|
193
|
-
abstract getStorageAt(addressOrName: string | Promise<string>, position: BigNumberish | Promise<BigNumberish>, blockTag?: BlockTag | Promise<BlockTag>): Promise<string>;
|
|
194
|
-
abstract sendTransaction(signedTransaction: string | Promise<string>): Promise<TransactionResponse>;
|
|
195
|
-
abstract call(transaction: Deferrable<TransactionRequest>, blockTag?: BlockTag | Promise<BlockTag>): Promise<string>;
|
|
196
|
-
abstract estimateGas(transaction: Deferrable<TransactionRequest>): Promise<BigNumber>;
|
|
197
|
-
abstract getBlock(blockHashOrBlockTag: BlockTag | string | Promise<BlockTag | string>): Promise<Block>;
|
|
198
|
-
abstract getBlockWithTransactions(blockHashOrBlockTag: BlockTag | string | Promise<BlockTag | string>): Promise<BlockWithTransactions>;
|
|
199
|
-
abstract getTransaction(transactionHash: string): Promise<TransactionResponse>;
|
|
200
|
-
abstract getTransactionReceipt(transactionHash: string): Promise<TransactionReceipt>;
|
|
201
|
-
abstract getLogs(filter: Filter): Promise<Array<Log>>;
|
|
202
|
-
abstract resolveName(name: string | Promise<string>): Promise<null | string>;
|
|
203
|
-
abstract lookupAddress(address: string | Promise<string>): Promise<null | string>;
|
|
204
|
-
abstract on(eventName: EventType, listener: Listener): Provider;
|
|
205
|
-
abstract once(eventName: EventType, listener: Listener): Provider;
|
|
206
|
-
abstract emit(eventName: EventType, ...args: Array<any>): boolean;
|
|
207
|
-
abstract listenerCount(eventName?: EventType): number;
|
|
208
|
-
abstract listeners(eventName?: EventType): Array<Listener>;
|
|
209
|
-
abstract off(eventName: EventType, listener?: Listener): Provider;
|
|
210
|
-
abstract removeAllListeners(eventName?: EventType): Provider;
|
|
211
|
-
addListener(eventName: EventType, listener: Listener): Provider;
|
|
212
|
-
removeListener(eventName: EventType, listener: Listener): Provider;
|
|
213
|
-
abstract waitForTransaction(transactionHash: string, confirmations?: number, timeout?: number): Promise<TransactionReceipt>;
|
|
214
|
-
readonly _isProvider: boolean;
|
|
215
|
-
constructor();
|
|
216
|
-
static isProvider(value: any): value is Provider;
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
interface Overrides {
|
|
220
|
-
gasLimit?: BigNumberish | Promise<BigNumberish>;
|
|
221
|
-
gasPrice?: BigNumberish | Promise<BigNumberish>;
|
|
222
|
-
maxFeePerGas?: BigNumberish | Promise<BigNumberish>;
|
|
223
|
-
maxPriorityFeePerGas?: BigNumberish | Promise<BigNumberish>;
|
|
224
|
-
nonce?: BigNumberish | Promise<BigNumberish>;
|
|
225
|
-
type?: number;
|
|
226
|
-
accessList?: AccessListish;
|
|
227
|
-
customData?: Record<string, any>;
|
|
228
|
-
ccipReadEnabled?: boolean;
|
|
229
|
-
}
|
|
230
|
-
interface PayableOverrides extends Overrides {
|
|
231
|
-
value?: BigNumberish | Promise<BigNumberish>;
|
|
232
|
-
}
|
|
233
|
-
interface CallOverrides extends PayableOverrides {
|
|
234
|
-
blockTag?: BlockTag | Promise<BlockTag>;
|
|
235
|
-
from?: string | Promise<string>;
|
|
236
|
-
}
|
|
237
|
-
interface PopulatedTransaction {
|
|
238
|
-
to?: string;
|
|
239
|
-
from?: string;
|
|
240
|
-
nonce?: number;
|
|
241
|
-
gasLimit?: BigNumber;
|
|
242
|
-
gasPrice?: BigNumber;
|
|
243
|
-
data?: string;
|
|
244
|
-
value?: BigNumber;
|
|
245
|
-
chainId?: number;
|
|
246
|
-
type?: number;
|
|
247
|
-
accessList?: AccessList;
|
|
248
|
-
maxFeePerGas?: BigNumber;
|
|
249
|
-
maxPriorityFeePerGas?: BigNumber;
|
|
250
|
-
customData?: Record<string, any>;
|
|
251
|
-
ccipReadEnabled?: boolean;
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
type PromiseOrValue<T> = T | Promise<T>;
|
|
255
|
-
|
|
256
|
-
declare namespace ERC721Hybrid {
|
|
257
|
-
type IDMintStruct = {
|
|
258
|
-
to: PromiseOrValue<string>;
|
|
259
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
260
|
-
};
|
|
261
|
-
type IDMintStructOutput = [string, BigNumber[]] & {
|
|
262
|
-
to: string;
|
|
263
|
-
tokenIds: BigNumber[];
|
|
264
|
-
};
|
|
265
|
-
type MintStruct = {
|
|
266
|
-
to: PromiseOrValue<string>;
|
|
267
|
-
quantity: PromiseOrValue<BigNumberish>;
|
|
268
|
-
};
|
|
269
|
-
type MintStructOutput = [string, BigNumber] & {
|
|
270
|
-
to: string;
|
|
271
|
-
quantity: BigNumber;
|
|
272
|
-
};
|
|
273
|
-
type IDBurnStruct = {
|
|
274
|
-
owner: PromiseOrValue<string>;
|
|
275
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
276
|
-
};
|
|
277
|
-
type IDBurnStructOutput = [string, BigNumber[]] & {
|
|
278
|
-
owner: string;
|
|
279
|
-
tokenIds: BigNumber[];
|
|
280
|
-
};
|
|
281
|
-
type TransferRequestStruct = {
|
|
282
|
-
from: PromiseOrValue<string>;
|
|
283
|
-
tos: PromiseOrValue<string>[];
|
|
284
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
285
|
-
};
|
|
286
|
-
type TransferRequestStructOutput = [string, string[], BigNumber[]] & {
|
|
287
|
-
from: string;
|
|
288
|
-
tos: string[];
|
|
289
|
-
tokenIds: BigNumber[];
|
|
290
|
-
};
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
type Mint = ERC721Hybrid.MintStruct;
|
|
294
|
-
type IDMint = ERC721Hybrid.IDMintStruct;
|
|
295
|
-
type TransferRequest = ERC721Hybrid.TransferRequestStruct;
|
|
296
|
-
type IDBurn = ERC721Hybrid.IDBurnStruct;
|
|
297
|
-
declare class ERC721 {
|
|
298
|
-
private readonly contract;
|
|
299
|
-
constructor(contractAddress: string);
|
|
300
|
-
/**
|
|
301
|
-
* Read functions
|
|
302
|
-
*/
|
|
303
|
-
/**
|
|
304
|
-
* @returns the DEFAULT_ADMIN_ROLE as a string.
|
|
305
|
-
*/
|
|
306
|
-
DEFAULT_ADMIN_ROLE(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
307
|
-
/**
|
|
308
|
-
* Returns the domain separator used in the encoding of the signature for permits, as defined by EIP-712
|
|
309
|
-
* @return the bytes32 domain separator
|
|
310
|
-
*/
|
|
311
|
-
DOMAIN_SEPARATOR(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
312
|
-
/**
|
|
313
|
-
* @returns the MINTER_ROLE as a string.
|
|
314
|
-
*/
|
|
315
|
-
MINTER_ROLE(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
316
|
-
/**
|
|
317
|
-
* @returns the balance of an address as a BigNumber.
|
|
318
|
-
*/
|
|
319
|
-
balanceOf(provider: Provider, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
320
|
-
/**
|
|
321
|
-
* @returns the baseURI as a string.
|
|
322
|
-
*/
|
|
323
|
-
baseURI(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
324
|
-
/**
|
|
325
|
-
* @returns the contractURI as a string.
|
|
326
|
-
*/
|
|
327
|
-
contractURI(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
328
|
-
/**
|
|
329
|
-
* @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
|
|
330
|
-
* signature.
|
|
331
|
-
*/
|
|
332
|
-
eip712Domain(provider: Provider, overrides?: CallOverrides): Promise<[
|
|
333
|
-
string,
|
|
334
|
-
string,
|
|
335
|
-
string,
|
|
336
|
-
BigNumber,
|
|
337
|
-
string,
|
|
338
|
-
string,
|
|
339
|
-
BigNumber[]
|
|
340
|
-
] & {
|
|
341
|
-
fields: string;
|
|
342
|
-
name: string;
|
|
343
|
-
version: string;
|
|
344
|
-
chainId: BigNumber;
|
|
345
|
-
verifyingContract: string;
|
|
346
|
-
salt: string;
|
|
347
|
-
extensions: BigNumber[];
|
|
348
|
-
}>;
|
|
349
|
-
/**
|
|
350
|
-
* @returns admin addresses as an array of strings.
|
|
351
|
-
*/
|
|
352
|
-
getAdmins(provider: Provider, overrides?: CallOverrides): Promise<string[]>;
|
|
353
|
-
/**
|
|
354
|
-
* @returns the approved address for a token ID, or zero if no address set.
|
|
355
|
-
*/
|
|
356
|
-
getApproved(provider: Provider, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
357
|
-
/**
|
|
358
|
-
* @returns the role admin address.
|
|
359
|
-
*/
|
|
360
|
-
getRoleAdmin(provider: Provider, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<string>;
|
|
361
|
-
/**
|
|
362
|
-
* @returns the role member address at a particular index.
|
|
363
|
-
*/
|
|
364
|
-
getRoleMember(provider: Provider, role: PromiseOrValue<BytesLike>, index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
365
|
-
/**
|
|
366
|
-
* @returns the role member count as a BigNumber.
|
|
367
|
-
*/
|
|
368
|
-
getRoleMemberCount(provider: Provider, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
369
|
-
/**
|
|
370
|
-
* @returns a boolean for whether an account has a particular role.
|
|
371
|
-
*/
|
|
372
|
-
hasRole(provider: Provider, role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
373
|
-
/**
|
|
374
|
-
* @returns a booolean that tells whether an operator is approved by a given owner.
|
|
375
|
-
*/
|
|
376
|
-
isApprovedForAll(provider: Provider, owner: PromiseOrValue<string>, operator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
377
|
-
/**
|
|
378
|
-
* @returns the name of the contract as a string.
|
|
379
|
-
*/
|
|
380
|
-
name(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
381
|
-
/**
|
|
382
|
-
* @returns the owner address of a particular tokenId.
|
|
383
|
-
*/
|
|
384
|
-
ownerOf(provider: Provider, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
385
|
-
/**
|
|
386
|
-
* Returns the current nonce of a given token ID.
|
|
387
|
-
* @param tokenId The ID of the token for which to retrieve the nonce.
|
|
388
|
-
* @return Current nonce of the given token.
|
|
389
|
-
*/
|
|
390
|
-
nonces(provider: Provider, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
391
|
-
/**
|
|
392
|
-
* @returns the operator allowlist as a string.
|
|
393
|
-
*/
|
|
394
|
-
operatorAllowlist(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
395
|
-
/**
|
|
396
|
-
* @returns the royalty information for a particular tokenId.
|
|
397
|
-
*/
|
|
398
|
-
royaltyInfo(provider: Provider, _tokenId: PromiseOrValue<BigNumberish>, _salePrice: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, BigNumber]>;
|
|
399
|
-
/**
|
|
400
|
-
* @returns the symbol of the contract as a string.
|
|
401
|
-
*/
|
|
402
|
-
symbol(provider: Provider, overrides?: CallOverrides): Promise<string>;
|
|
403
|
-
/**
|
|
404
|
-
* @returns the Uniform Resource Identifier (URI) for tokenId token.
|
|
405
|
-
*/
|
|
406
|
-
tokenURI(provider: Provider, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
407
|
-
/**
|
|
408
|
-
* @returns returns the total amount of tokens stored by the contract.
|
|
409
|
-
*/
|
|
410
|
-
totalSupply(provider: Provider, overrides?: CallOverrides): Promise<BigNumber>;
|
|
411
|
-
/**
|
|
412
|
-
* Write functions
|
|
413
|
-
*/
|
|
414
|
-
/**
|
|
415
|
-
* @returns a populated transaction for the approve contract function
|
|
416
|
-
*/
|
|
417
|
-
populateApprove(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
418
|
-
from?: PromiseOrValue<string>;
|
|
419
|
-
}): Promise<PopulatedTransaction>;
|
|
420
|
-
/**
|
|
421
|
-
* Function to approve by way of owner signature
|
|
422
|
-
* @param spender the address to approve
|
|
423
|
-
* @param tokenId the index of the NFT to approve the spender on
|
|
424
|
-
* @param deadline a timestamp expiry for the permit
|
|
425
|
-
* @param sig a traditional or EIP-2098 signature
|
|
426
|
-
*/
|
|
427
|
-
populatePermit(spender: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, sig: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
428
|
-
/**
|
|
429
|
-
* @returns a populated transaction for the burn contract function
|
|
430
|
-
*/
|
|
431
|
-
populateBurn(tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
432
|
-
from?: PromiseOrValue<string>;
|
|
433
|
-
}): Promise<PopulatedTransaction>;
|
|
434
|
-
/**
|
|
435
|
-
* @returns a populated transaction for the batch burn contract function
|
|
436
|
-
*/
|
|
437
|
-
populateBurnBatch(tokenIds: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
|
|
438
|
-
from?: PromiseOrValue<string>;
|
|
439
|
-
}): Promise<PopulatedTransaction>;
|
|
440
|
-
/**
|
|
441
|
-
* @returns a populated transaction for the safe burn contract function
|
|
442
|
-
*/
|
|
443
|
-
populateSafeBurn(owner: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
444
|
-
from?: PromiseOrValue<string>;
|
|
445
|
-
}): Promise<PopulatedTransaction>;
|
|
446
|
-
/**
|
|
447
|
-
* @returns a populated transaction for the safe burn batch contract function
|
|
448
|
-
*/
|
|
449
|
-
populateSafeBurnBatch(burns: IDBurn[], overrides?: Overrides & {
|
|
450
|
-
from?: PromiseOrValue<string>;
|
|
451
|
-
}): Promise<PopulatedTransaction>;
|
|
452
|
-
/**
|
|
453
|
-
* @returns a populated transaction for the grantMinterRole contract function
|
|
454
|
-
*/
|
|
455
|
-
populateGrantMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
456
|
-
from?: PromiseOrValue<string>;
|
|
457
|
-
}): Promise<PopulatedTransaction>;
|
|
458
|
-
/**
|
|
459
|
-
* @returns a populated transaction for the grantRole contract function
|
|
460
|
-
*/
|
|
461
|
-
populateGrantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
462
|
-
from?: PromiseOrValue<string>;
|
|
463
|
-
}): Promise<PopulatedTransaction>;
|
|
464
|
-
/**
|
|
465
|
-
* @returns a populated transaction for the mint by ID contract function
|
|
466
|
-
*/
|
|
467
|
-
populateMint(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
468
|
-
from?: PromiseOrValue<string>;
|
|
469
|
-
}): Promise<PopulatedTransaction>;
|
|
470
|
-
/**
|
|
471
|
-
* @returns a populated transaction for the safe mint by ID contract function
|
|
472
|
-
*/
|
|
473
|
-
populateSafeMint(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
474
|
-
from?: PromiseOrValue<string>;
|
|
475
|
-
}): Promise<PopulatedTransaction>;
|
|
476
|
-
/**
|
|
477
|
-
* @returns a populated transaction for the mint by quantity contract function
|
|
478
|
-
*/
|
|
479
|
-
populateMintByQuantity(to: PromiseOrValue<string>, quantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
480
|
-
from?: PromiseOrValue<string>;
|
|
481
|
-
}): Promise<PopulatedTransaction>;
|
|
482
|
-
/**
|
|
483
|
-
* @returns a populated transaction for the safe mint by quantity contract function
|
|
484
|
-
*/
|
|
485
|
-
populateSafeMintByQuantity(to: PromiseOrValue<string>, quantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
486
|
-
from?: PromiseOrValue<string>;
|
|
487
|
-
}): Promise<PopulatedTransaction>;
|
|
488
|
-
/**
|
|
489
|
-
* @returns a populated transaction for the batch mint by quantity contract function
|
|
490
|
-
*/
|
|
491
|
-
populateMintBatchByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
492
|
-
from?: PromiseOrValue<string>;
|
|
493
|
-
}): Promise<PopulatedTransaction>;
|
|
494
|
-
/**
|
|
495
|
-
* @returns a populated transaction for the batch safe mint by quantity contract function
|
|
496
|
-
*/
|
|
497
|
-
populateSafeMintBatchByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
498
|
-
from?: PromiseOrValue<string>;
|
|
499
|
-
}): Promise<PopulatedTransaction>;
|
|
500
|
-
/**
|
|
501
|
-
* @returns a populated transaction for the batch mint by ID to multiple recipients contract function
|
|
502
|
-
*/
|
|
503
|
-
populateMintBatch(mints: IDMint[], overrides?: Overrides & {
|
|
504
|
-
from?: PromiseOrValue<string>;
|
|
505
|
-
}): Promise<PopulatedTransaction>;
|
|
506
|
-
/**
|
|
507
|
-
* @returns a populated transaction for the batch safe mint by ID to multiple recipients contract function
|
|
508
|
-
*/
|
|
509
|
-
populateSafeMintBatch(mints: IDMint[], overrides?: Overrides & {
|
|
510
|
-
from?: PromiseOrValue<string>;
|
|
511
|
-
}): Promise<PopulatedTransaction>;
|
|
512
|
-
/**
|
|
513
|
-
* @returns a populated transaction for the renounceRole contract function
|
|
514
|
-
*/
|
|
515
|
-
populateRenounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
516
|
-
from?: PromiseOrValue<string>;
|
|
517
|
-
}): Promise<PopulatedTransaction>;
|
|
518
|
-
/**
|
|
519
|
-
* @returns a populated transaction for the revokeMinterRole contract function
|
|
520
|
-
*/
|
|
521
|
-
populateRevokeMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
522
|
-
from?: PromiseOrValue<string>;
|
|
523
|
-
}): Promise<PopulatedTransaction>;
|
|
524
|
-
/**
|
|
525
|
-
* @returns a populated transaction for the revokeRole contract function
|
|
526
|
-
*/
|
|
527
|
-
populateRevokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
528
|
-
from?: PromiseOrValue<string>;
|
|
529
|
-
}): Promise<PopulatedTransaction>;
|
|
530
|
-
/**
|
|
531
|
-
* @returns a populated transaction for the batch save transfer from function
|
|
532
|
-
*/
|
|
533
|
-
populateSafeTransferFromBatch(transfers: TransferRequest, overrides?: Overrides & {
|
|
534
|
-
from?: PromiseOrValue<string>;
|
|
535
|
-
}): Promise<PopulatedTransaction>;
|
|
536
|
-
/**
|
|
537
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256) contract function
|
|
538
|
-
*/
|
|
539
|
-
'populateSafeTransferFrom(address,address,uint256)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
540
|
-
from?: PromiseOrValue<string>;
|
|
541
|
-
}): Promise<PopulatedTransaction>;
|
|
542
|
-
/**
|
|
543
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256,bytes) contract function
|
|
544
|
-
*/
|
|
545
|
-
'populateSafeTransferFrom(address,address,uint256,bytes)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
546
|
-
from?: PromiseOrValue<string>;
|
|
547
|
-
}): Promise<PopulatedTransaction>;
|
|
548
|
-
/**
|
|
549
|
-
* @returns a populated transaction for the setApprovalForAll contract function
|
|
550
|
-
*/
|
|
551
|
-
populateSetApprovalForAll(operator: PromiseOrValue<string>, approved: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
552
|
-
from?: PromiseOrValue<string>;
|
|
553
|
-
}): Promise<PopulatedTransaction>;
|
|
554
|
-
/**
|
|
555
|
-
* @returns a populated transaction for the setBaseURI contract function
|
|
556
|
-
*/
|
|
557
|
-
populateSetBaseURI(baseURI_: PromiseOrValue<string>, overrides?: Overrides & {
|
|
558
|
-
from?: PromiseOrValue<string>;
|
|
559
|
-
}): Promise<PopulatedTransaction>;
|
|
560
|
-
/**
|
|
561
|
-
* @returns a populated transaction for the setContractURI contract function
|
|
562
|
-
*/
|
|
563
|
-
populateSetContractURI(_contractURI: PromiseOrValue<string>, overrides?: Overrides & {
|
|
564
|
-
from?: PromiseOrValue<string>;
|
|
565
|
-
}): Promise<PopulatedTransaction>;
|
|
566
|
-
/**
|
|
567
|
-
* @returns a populated transaction for the setDefaultRoyaltyReceiver contract function
|
|
568
|
-
*/
|
|
569
|
-
populateSetDefaultRoyaltyReceiver(receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
570
|
-
from?: PromiseOrValue<string>;
|
|
571
|
-
}): Promise<PopulatedTransaction>;
|
|
572
|
-
/**
|
|
573
|
-
* @returns a populated transaction for the setNFTRoyaltyReceiver contract function
|
|
574
|
-
*/
|
|
575
|
-
populateSetNFTRoyaltyReceiver(tokenId: PromiseOrValue<BigNumberish>, receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
576
|
-
from?: PromiseOrValue<string>;
|
|
577
|
-
}): Promise<PopulatedTransaction>;
|
|
578
|
-
/**
|
|
579
|
-
* @returns a populated transaction for the setNFTRoyaltyReceiverBatch contract function
|
|
580
|
-
*/
|
|
581
|
-
populateSetNFTRoyaltyReceiverBatch(tokenIds: PromiseOrValue<BigNumberish>[], receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
582
|
-
from?: PromiseOrValue<string>;
|
|
583
|
-
}): Promise<PopulatedTransaction>;
|
|
584
|
-
/**
|
|
585
|
-
* @returns a populated transaction for the setOperatorAllowlistRegistry contract function
|
|
586
|
-
*/
|
|
587
|
-
populateSetOperatorAllowlistRegistry(_operatorAllowlist: PromiseOrValue<string>, overrides?: Overrides & {
|
|
588
|
-
from?: PromiseOrValue<string>;
|
|
589
|
-
}): Promise<PopulatedTransaction>;
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
export { ERC721 };
|