@imtbl/sdk 0.20.1 → 0.22.0-alpha.1
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 +1135 -383
- 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 +1162 -4210
- package/dist/index.d.ts +179 -792
- package/dist/index.js +1163 -4208
- package/dist/orderbook.d.ts +36 -22
- package/dist/orderbook.js +21 -18
- 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/index.d.ts
CHANGED
|
@@ -377,7 +377,7 @@ interface Deposit$1 {
|
|
|
377
377
|
* @export
|
|
378
378
|
* @interface Mint
|
|
379
379
|
*/
|
|
380
|
-
interface Mint$
|
|
380
|
+
interface Mint$1 {
|
|
381
381
|
/**
|
|
382
382
|
* The account address the asset was minted to
|
|
383
383
|
* @type {string}
|
|
@@ -676,7 +676,7 @@ interface Withdrawal$1 {
|
|
|
676
676
|
* The activity details
|
|
677
677
|
* @export
|
|
678
678
|
*/
|
|
679
|
-
type ActivityDetails = Burn | Deposit$1 | Mint$
|
|
679
|
+
type ActivityDetails = Burn | Deposit$1 | Mint$1 | NFTSale | Transfer$1 | Withdrawal$1;
|
|
680
680
|
|
|
681
681
|
/**
|
|
682
682
|
* Immutable zkEVM API
|
|
@@ -1048,6 +1048,56 @@ interface GetCollectionResult {
|
|
|
1048
1048
|
'result': Collection$1;
|
|
1049
1049
|
}
|
|
1050
1050
|
|
|
1051
|
+
/**
|
|
1052
|
+
* Immutable zkEVM API
|
|
1053
|
+
* Immutable Multi Rollup API
|
|
1054
|
+
*
|
|
1055
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1056
|
+
* Contact: support@immutable.com
|
|
1057
|
+
*
|
|
1058
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1059
|
+
* https://openapi-generator.tech
|
|
1060
|
+
* Do not edit the class manually.
|
|
1061
|
+
*/
|
|
1062
|
+
/**
|
|
1063
|
+
* @type NFTMetadataAttributeValue
|
|
1064
|
+
* The metadata trait value
|
|
1065
|
+
* @export
|
|
1066
|
+
*/
|
|
1067
|
+
type NFTMetadataAttributeValue = boolean | number | string;
|
|
1068
|
+
|
|
1069
|
+
/**
|
|
1070
|
+
* Immutable zkEVM API
|
|
1071
|
+
* Immutable Multi Rollup API
|
|
1072
|
+
*
|
|
1073
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1074
|
+
* Contact: support@immutable.com
|
|
1075
|
+
*
|
|
1076
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1077
|
+
* https://openapi-generator.tech
|
|
1078
|
+
* Do not edit the class manually.
|
|
1079
|
+
*/
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
*
|
|
1083
|
+
* @export
|
|
1084
|
+
* @interface NFTMetadataAttribute
|
|
1085
|
+
*/
|
|
1086
|
+
interface NFTMetadataAttribute {
|
|
1087
|
+
/**
|
|
1088
|
+
* The metadata trait type
|
|
1089
|
+
* @type {string}
|
|
1090
|
+
* @memberof NFTMetadataAttribute
|
|
1091
|
+
*/
|
|
1092
|
+
'trait_type': string;
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {NFTMetadataAttributeValue}
|
|
1096
|
+
* @memberof NFTMetadataAttribute
|
|
1097
|
+
*/
|
|
1098
|
+
'value': NFTMetadataAttributeValue;
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1051
1101
|
/**
|
|
1052
1102
|
* Immutable zkEVM API
|
|
1053
1103
|
* Immutable Multi Rollup API
|
|
@@ -1096,6 +1146,12 @@ interface NFT {
|
|
|
1096
1146
|
* @memberof NFT
|
|
1097
1147
|
*/
|
|
1098
1148
|
'metadata_synced_at': string | null;
|
|
1149
|
+
/**
|
|
1150
|
+
* The id of the metadata of this NFT
|
|
1151
|
+
* @type {string}
|
|
1152
|
+
* @memberof NFT
|
|
1153
|
+
*/
|
|
1154
|
+
'metadata_id'?: string | null;
|
|
1099
1155
|
/**
|
|
1100
1156
|
* The name of the NFT
|
|
1101
1157
|
* @type {string}
|
|
@@ -1140,56 +1196,6 @@ interface NFT {
|
|
|
1140
1196
|
'mint_activity_id': string | null;
|
|
1141
1197
|
}
|
|
1142
1198
|
|
|
1143
|
-
/**
|
|
1144
|
-
* Immutable zkEVM API
|
|
1145
|
-
* Immutable Multi Rollup API
|
|
1146
|
-
*
|
|
1147
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1148
|
-
* Contact: support@immutable.com
|
|
1149
|
-
*
|
|
1150
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1151
|
-
* https://openapi-generator.tech
|
|
1152
|
-
* Do not edit the class manually.
|
|
1153
|
-
*/
|
|
1154
|
-
/**
|
|
1155
|
-
* @type NFTMetadataAttributeValue
|
|
1156
|
-
* The metadata trait value
|
|
1157
|
-
* @export
|
|
1158
|
-
*/
|
|
1159
|
-
type NFTMetadataAttributeValue = boolean | number | string;
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* Immutable zkEVM API
|
|
1163
|
-
* Immutable Multi Rollup API
|
|
1164
|
-
*
|
|
1165
|
-
* The version of the OpenAPI document: 1.0.0
|
|
1166
|
-
* Contact: support@immutable.com
|
|
1167
|
-
*
|
|
1168
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1169
|
-
* https://openapi-generator.tech
|
|
1170
|
-
* Do not edit the class manually.
|
|
1171
|
-
*/
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
*
|
|
1175
|
-
* @export
|
|
1176
|
-
* @interface NFTMetadataAttribute
|
|
1177
|
-
*/
|
|
1178
|
-
interface NFTMetadataAttribute {
|
|
1179
|
-
/**
|
|
1180
|
-
* The metadata trait type
|
|
1181
|
-
* @type {string}
|
|
1182
|
-
* @memberof NFTMetadataAttribute
|
|
1183
|
-
*/
|
|
1184
|
-
'trait_type': string;
|
|
1185
|
-
/**
|
|
1186
|
-
*
|
|
1187
|
-
* @type {NFTMetadataAttributeValue}
|
|
1188
|
-
* @memberof NFTMetadataAttribute
|
|
1189
|
-
*/
|
|
1190
|
-
'value': NFTMetadataAttributeValue;
|
|
1191
|
-
}
|
|
1192
|
-
|
|
1193
1199
|
/**
|
|
1194
1200
|
* Immutable zkEVM API
|
|
1195
1201
|
* Immutable Multi Rollup API
|
|
@@ -2399,24 +2405,6 @@ declare abstract class Signer {
|
|
|
2399
2405
|
static isSigner(value: any): value is Signer;
|
|
2400
2406
|
}
|
|
2401
2407
|
|
|
2402
|
-
interface Overrides {
|
|
2403
|
-
gasLimit?: BigNumberish | Promise<BigNumberish>;
|
|
2404
|
-
gasPrice?: BigNumberish | Promise<BigNumberish>;
|
|
2405
|
-
maxFeePerGas?: BigNumberish | Promise<BigNumberish>;
|
|
2406
|
-
maxPriorityFeePerGas?: BigNumberish | Promise<BigNumberish>;
|
|
2407
|
-
nonce?: BigNumberish | Promise<BigNumberish>;
|
|
2408
|
-
type?: number;
|
|
2409
|
-
accessList?: AccessListish;
|
|
2410
|
-
customData?: Record<string, any>;
|
|
2411
|
-
ccipReadEnabled?: boolean;
|
|
2412
|
-
}
|
|
2413
|
-
interface PayableOverrides extends Overrides {
|
|
2414
|
-
value?: BigNumberish | Promise<BigNumberish>;
|
|
2415
|
-
}
|
|
2416
|
-
interface CallOverrides extends PayableOverrides {
|
|
2417
|
-
blockTag?: BlockTag | Promise<BlockTag>;
|
|
2418
|
-
from?: string | Promise<string>;
|
|
2419
|
-
}
|
|
2420
2408
|
interface PopulatedTransaction {
|
|
2421
2409
|
to?: string;
|
|
2422
2410
|
from?: string;
|
|
@@ -4956,7 +4944,7 @@ interface CreateTradeResponse {
|
|
|
4956
4944
|
* @export
|
|
4957
4945
|
* @interface TransferRequest
|
|
4958
4946
|
*/
|
|
4959
|
-
interface TransferRequest
|
|
4947
|
+
interface TransferRequest {
|
|
4960
4948
|
/**
|
|
4961
4949
|
* Amount to transfer
|
|
4962
4950
|
* @type {string}
|
|
@@ -5030,7 +5018,7 @@ interface CreateTransferRequest {
|
|
|
5030
5018
|
* @type {Array<TransferRequest>}
|
|
5031
5019
|
* @memberof CreateTransferRequest
|
|
5032
5020
|
*/
|
|
5033
|
-
'requests': Array<TransferRequest
|
|
5021
|
+
'requests': Array<TransferRequest>;
|
|
5034
5022
|
/**
|
|
5035
5023
|
* Public stark key of the user sending the transfer
|
|
5036
5024
|
* @type {string}
|
|
@@ -7239,7 +7227,7 @@ interface ListDepositsResponse {
|
|
|
7239
7227
|
* @export
|
|
7240
7228
|
* @interface Mint
|
|
7241
7229
|
*/
|
|
7242
|
-
interface Mint
|
|
7230
|
+
interface Mint {
|
|
7243
7231
|
/**
|
|
7244
7232
|
* Fee details
|
|
7245
7233
|
* @type {Array<Fee>}
|
|
@@ -7313,7 +7301,7 @@ interface ListMintsResponse {
|
|
|
7313
7301
|
* @type {Array<Mint>}
|
|
7314
7302
|
* @memberof ListMintsResponse
|
|
7315
7303
|
*/
|
|
7316
|
-
'result': Array<Mint
|
|
7304
|
+
'result': Array<Mint>;
|
|
7317
7305
|
}
|
|
7318
7306
|
|
|
7319
7307
|
/**
|
|
@@ -10375,7 +10363,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
10375
10363
|
* @throws {RequiredError}
|
|
10376
10364
|
* @memberof MintsApi
|
|
10377
10365
|
*/
|
|
10378
|
-
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Mint
|
|
10366
|
+
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Mint[], any>>;
|
|
10379
10367
|
/**
|
|
10380
10368
|
* Get details of a mintable token with the given token address and token ID
|
|
10381
10369
|
* @summary Get details of a mintable token with the given token address and token ID
|
|
@@ -12728,7 +12716,7 @@ declare class ImmutableXClient {
|
|
|
12728
12716
|
* @returns a promise that resolves with the requested Mint
|
|
12729
12717
|
* @throws {@link index.IMXError}
|
|
12730
12718
|
*/
|
|
12731
|
-
getMint(request: MintsApiGetMintRequest): Promise<Mint
|
|
12719
|
+
getMint(request: MintsApiGetMintRequest): Promise<Mint[]>;
|
|
12732
12720
|
/**
|
|
12733
12721
|
* Get a list of Mints
|
|
12734
12722
|
* @param request optional object containing the parameters to be provided in the API request
|
|
@@ -13420,8 +13408,8 @@ declare namespace Fee$1 {
|
|
|
13420
13408
|
*/
|
|
13421
13409
|
enum fee_type {
|
|
13422
13410
|
ROYALTY = "ROYALTY",
|
|
13423
|
-
|
|
13424
|
-
|
|
13411
|
+
MAKER_ECOSYSTEM = "MAKER_ECOSYSTEM",
|
|
13412
|
+
TAKER_ECOSYSTEM = "TAKER_ECOSYSTEM",
|
|
13425
13413
|
PROTOCOL = "PROTOCOL"
|
|
13426
13414
|
}
|
|
13427
13415
|
}
|
|
@@ -13514,7 +13502,7 @@ type CreateListingRequestBody = {
|
|
|
13514
13502
|
/**
|
|
13515
13503
|
* Time after which the Order is considered expired
|
|
13516
13504
|
*/
|
|
13517
|
-
|
|
13505
|
+
end_at: string;
|
|
13518
13506
|
protocol_data: ProtocolData;
|
|
13519
13507
|
/**
|
|
13520
13508
|
* A random value added to the create Order request
|
|
@@ -13531,12 +13519,7 @@ type CreateListingRequestBody = {
|
|
|
13531
13519
|
/**
|
|
13532
13520
|
* Time after which Order is considered active
|
|
13533
13521
|
*/
|
|
13534
|
-
|
|
13535
|
-
};
|
|
13536
|
-
|
|
13537
|
-
type FulfillmentDataRequest = {
|
|
13538
|
-
order_id: string;
|
|
13539
|
-
fees: Array<Fee$1>;
|
|
13522
|
+
start_at: string;
|
|
13540
13523
|
};
|
|
13541
13524
|
|
|
13542
13525
|
/**
|
|
@@ -13573,11 +13556,11 @@ type Order$1 = {
|
|
|
13573
13556
|
/**
|
|
13574
13557
|
* Time the Order is created
|
|
13575
13558
|
*/
|
|
13576
|
-
|
|
13559
|
+
created_at: string;
|
|
13577
13560
|
/**
|
|
13578
13561
|
* Time after which the Order is considered expired
|
|
13579
13562
|
*/
|
|
13580
|
-
|
|
13563
|
+
end_at: string;
|
|
13581
13564
|
/**
|
|
13582
13565
|
* Global Order identifier
|
|
13583
13566
|
*/
|
|
@@ -13595,19 +13578,24 @@ type Order$1 = {
|
|
|
13595
13578
|
/**
|
|
13596
13579
|
* Time after which Order is considered active
|
|
13597
13580
|
*/
|
|
13598
|
-
|
|
13581
|
+
start_at: string;
|
|
13599
13582
|
status: OrderStatus;
|
|
13600
13583
|
/**
|
|
13601
13584
|
* Time the Order is last updated
|
|
13602
13585
|
*/
|
|
13603
|
-
|
|
13586
|
+
updated_at: string;
|
|
13604
13587
|
};
|
|
13605
13588
|
|
|
13606
|
-
type
|
|
13589
|
+
type FulfillableOrder = {
|
|
13607
13590
|
extra_data: string;
|
|
13608
13591
|
order: Order$1;
|
|
13609
13592
|
};
|
|
13610
13593
|
|
|
13594
|
+
type FulfillmentDataRequest = {
|
|
13595
|
+
order_id: string;
|
|
13596
|
+
fees: Array<Fee$1>;
|
|
13597
|
+
};
|
|
13598
|
+
|
|
13611
13599
|
type ListingResult$1 = {
|
|
13612
13600
|
result: Order$1;
|
|
13613
13601
|
};
|
|
@@ -13693,6 +13681,17 @@ type TradeResult$1 = {
|
|
|
13693
13681
|
result: Trade$1;
|
|
13694
13682
|
};
|
|
13695
13683
|
|
|
13684
|
+
type UnfulfillableOrder = {
|
|
13685
|
+
/**
|
|
13686
|
+
* OrderID for the requested but unfulfillable order
|
|
13687
|
+
*/
|
|
13688
|
+
order_id: string;
|
|
13689
|
+
/**
|
|
13690
|
+
* Nullable string containing error reason if the signing is unsuccessful for the order
|
|
13691
|
+
*/
|
|
13692
|
+
reason: string;
|
|
13693
|
+
};
|
|
13694
|
+
|
|
13696
13695
|
declare class OrdersService {
|
|
13697
13696
|
readonly httpRequest: BaseHttpRequest;
|
|
13698
13697
|
constructor(httpRequest: BaseHttpRequest);
|
|
@@ -13770,7 +13769,10 @@ declare class OrdersService {
|
|
|
13770
13769
|
chainName: ChainName$1;
|
|
13771
13770
|
requestBody: Array<FulfillmentDataRequest>;
|
|
13772
13771
|
}): CancelablePromise<{
|
|
13773
|
-
result:
|
|
13772
|
+
result: {
|
|
13773
|
+
fulfillable_orders: Array<FulfillableOrder>;
|
|
13774
|
+
unfulfillable_orders: Array<UnfulfillableOrder>;
|
|
13775
|
+
};
|
|
13774
13776
|
}>;
|
|
13775
13777
|
/**
|
|
13776
13778
|
* List all trades
|
|
@@ -13788,7 +13790,7 @@ declare class OrdersService {
|
|
|
13788
13790
|
/**
|
|
13789
13791
|
* Trade field to sort by
|
|
13790
13792
|
*/
|
|
13791
|
-
sortBy?: '
|
|
13793
|
+
sortBy?: 'indexed_at';
|
|
13792
13794
|
/**
|
|
13793
13795
|
* Ascending or descending direction for sort
|
|
13794
13796
|
*/
|
|
@@ -13851,8 +13853,8 @@ interface CreateListingParams {
|
|
|
13851
13853
|
type ListListingsParams = Omit<Parameters<typeof OrdersService.prototype.listListings>[0], 'chainName'>;
|
|
13852
13854
|
type ListTradesParams = Omit<Parameters<typeof OrdersService.prototype.listTrades>[0], 'chainName'>;
|
|
13853
13855
|
declare enum FeeType {
|
|
13854
|
-
|
|
13855
|
-
|
|
13856
|
+
MAKER_ECOSYSTEM = "MAKER_ECOSYSTEM",
|
|
13857
|
+
TAKER_ECOSYSTEM = "TAKER_ECOSYSTEM",
|
|
13856
13858
|
PROTOCOL = "PROTOCOL",
|
|
13857
13859
|
ROYALTY = "ROYALTY"
|
|
13858
13860
|
}
|
|
@@ -13912,16 +13914,16 @@ interface Order {
|
|
|
13912
13914
|
id: string;
|
|
13913
13915
|
name: string;
|
|
13914
13916
|
};
|
|
13915
|
-
|
|
13916
|
-
|
|
13917
|
+
createdAt: string;
|
|
13918
|
+
updatedAt: string;
|
|
13917
13919
|
/**
|
|
13918
13920
|
* Time after which the Order is considered active
|
|
13919
13921
|
*/
|
|
13920
|
-
|
|
13922
|
+
startAt: string;
|
|
13921
13923
|
/**
|
|
13922
13924
|
* Time after which the Order is expired
|
|
13923
13925
|
*/
|
|
13924
|
-
|
|
13926
|
+
endAt: string;
|
|
13925
13927
|
protocolData: {
|
|
13926
13928
|
orderType: 'FULL_RESTRICTED';
|
|
13927
13929
|
zoneAddress: string;
|
|
@@ -14283,13 +14285,29 @@ interface GetAllBalancesResult {
|
|
|
14283
14285
|
* Interface representing the parameters for {@link Checkout.smartCheckout}
|
|
14284
14286
|
* @property {Web3Provider} provider - The provider to use for smart checkout.
|
|
14285
14287
|
* @property {ItemRequirement[]} itemRequirements - The item requirements for the transaction.
|
|
14286
|
-
* @property {
|
|
14288
|
+
* @property {FulfillmentTransaction | GasAmount} transactionOrGasAmount - The transaction or gas amount.
|
|
14287
14289
|
*/
|
|
14288
14290
|
interface SmartCheckoutParams {
|
|
14289
14291
|
provider: Web3Provider;
|
|
14290
|
-
itemRequirements:
|
|
14291
|
-
transactionOrGasAmount:
|
|
14292
|
+
itemRequirements: (NativeItemRequirement | ERC20ItemRequirement | ERC721ItemRequirement)[];
|
|
14293
|
+
transactionOrGasAmount: FulfillmentTransaction | GasAmount;
|
|
14292
14294
|
}
|
|
14295
|
+
type NativeItemRequirement = {
|
|
14296
|
+
type: ItemType.NATIVE;
|
|
14297
|
+
amount: string;
|
|
14298
|
+
};
|
|
14299
|
+
type ERC20ItemRequirement = {
|
|
14300
|
+
type: ItemType.ERC20;
|
|
14301
|
+
contractAddress: string;
|
|
14302
|
+
amount: string;
|
|
14303
|
+
spenderAddress: string;
|
|
14304
|
+
};
|
|
14305
|
+
type ERC721ItemRequirement = {
|
|
14306
|
+
type: ItemType.ERC721;
|
|
14307
|
+
contractAddress: string;
|
|
14308
|
+
id: string;
|
|
14309
|
+
spenderAddress: string;
|
|
14310
|
+
};
|
|
14293
14311
|
/**
|
|
14294
14312
|
* Represents the item requirements for a transaction.
|
|
14295
14313
|
* NativeItem, ERC20Item or ERC721Item {@link Checkout.smartCheckout}.
|
|
@@ -14353,11 +14371,11 @@ declare enum TransactionOrGasType {
|
|
|
14353
14371
|
GAS = "GAS"
|
|
14354
14372
|
}
|
|
14355
14373
|
/**
|
|
14356
|
-
* The
|
|
14357
|
-
* @property {TransactionOrGasType} type - The type to indicate this is a
|
|
14374
|
+
* The fulfillment transaction which contains the transaction to send.
|
|
14375
|
+
* @property {TransactionOrGasType} type - The type to indicate this is a fulfillment transaction.
|
|
14358
14376
|
* @property {TransactionRequest} transaction - The transaction to send.
|
|
14359
14377
|
*/
|
|
14360
|
-
type
|
|
14378
|
+
type FulfillmentTransaction = {
|
|
14361
14379
|
type: TransactionOrGasType.TRANSACTION;
|
|
14362
14380
|
transaction: TransactionRequest;
|
|
14363
14381
|
};
|
|
@@ -14466,14 +14484,33 @@ type BalanceDelta = {
|
|
|
14466
14484
|
balance: BigNumber;
|
|
14467
14485
|
formattedBalance: string;
|
|
14468
14486
|
};
|
|
14487
|
+
interface OrderFee {
|
|
14488
|
+
amount: FeeToken | FeePercentage;
|
|
14489
|
+
recipient: string;
|
|
14490
|
+
}
|
|
14491
|
+
interface FeeToken {
|
|
14492
|
+
token: string;
|
|
14493
|
+
}
|
|
14494
|
+
interface FeePercentage {
|
|
14495
|
+
percentageDecimal: number;
|
|
14496
|
+
}
|
|
14469
14497
|
/**
|
|
14470
14498
|
* Interface representing the parameters for {@link Checkout.buy}
|
|
14471
14499
|
* @property {Web3Provider} provider - The provider to use for the buy.
|
|
14472
|
-
* @property {
|
|
14500
|
+
* @property {Array<BuyOrder>} orders - The orders to buy
|
|
14473
14501
|
*/
|
|
14474
14502
|
interface BuyParams {
|
|
14475
14503
|
provider: Web3Provider;
|
|
14476
|
-
|
|
14504
|
+
orders: Array<BuyOrder>;
|
|
14505
|
+
}
|
|
14506
|
+
/**
|
|
14507
|
+
* Interface representing the order to buy
|
|
14508
|
+
* @property {string} orderId - the id of the order to buy
|
|
14509
|
+
* @property {Array<OrderFee>} takerFees - array of order fees to apply to the order
|
|
14510
|
+
*/
|
|
14511
|
+
interface BuyOrder {
|
|
14512
|
+
id: string;
|
|
14513
|
+
takerFees?: Array<OrderFee>;
|
|
14477
14514
|
}
|
|
14478
14515
|
/**
|
|
14479
14516
|
* Interface representing the result of the buy
|
|
@@ -14522,11 +14559,11 @@ declare enum BuyStatusType {
|
|
|
14522
14559
|
/**
|
|
14523
14560
|
* Interface representing the parameters for {@link Checkout.cancel}
|
|
14524
14561
|
* @property {Web3Provider} provider - The provider to use for the cancel.
|
|
14525
|
-
* @property {string}
|
|
14562
|
+
* @property {string[]} orderIds - The order IDs to cancel.
|
|
14526
14563
|
*/
|
|
14527
14564
|
interface CancelParams {
|
|
14528
14565
|
provider: Web3Provider;
|
|
14529
|
-
|
|
14566
|
+
orderIds: string[];
|
|
14530
14567
|
}
|
|
14531
14568
|
interface CheckoutOverrides {
|
|
14532
14569
|
}
|
|
@@ -14549,6 +14586,7 @@ type RemoteConfiguration = {
|
|
|
14549
14586
|
bridge: BridgeConfig;
|
|
14550
14587
|
allowedNetworks: AllowedNetworkConfig[];
|
|
14551
14588
|
gasEstimateTokens?: GasEstimateTokenConfig;
|
|
14589
|
+
imxAddressMapping?: ImxAddressConfig;
|
|
14552
14590
|
};
|
|
14553
14591
|
/**
|
|
14554
14592
|
* A type representing the fee structure for an OnRamp provider
|
|
@@ -14602,6 +14640,13 @@ type BridgeConfig = {
|
|
|
14602
14640
|
type AllowedNetworkConfig = {
|
|
14603
14641
|
chainId: number;
|
|
14604
14642
|
};
|
|
14643
|
+
/**
|
|
14644
|
+
* A type representing the IMX address mappings across available networks.
|
|
14645
|
+
* @type {{ [chainId: string]: string }}
|
|
14646
|
+
*/
|
|
14647
|
+
type ImxAddressConfig = {
|
|
14648
|
+
[chainId: string]: string;
|
|
14649
|
+
};
|
|
14605
14650
|
/**
|
|
14606
14651
|
* A type representing the required information to estimate gas for a transaction.
|
|
14607
14652
|
* @type {{ [key: string]: { bridgeToL2Addresses?: GasEstimateBridgeToL2TokenConfig, swapAddresses?: GasEstimateSwapTokenConfig } }}
|
|
@@ -14689,16 +14734,6 @@ interface CheckConnectionResult {
|
|
|
14689
14734
|
isConnected: boolean;
|
|
14690
14735
|
walletAddress: string;
|
|
14691
14736
|
}
|
|
14692
|
-
interface OrderFee {
|
|
14693
|
-
amount: FeeToken | FeePercentage;
|
|
14694
|
-
recipient: string;
|
|
14695
|
-
}
|
|
14696
|
-
interface FeeToken {
|
|
14697
|
-
token: string;
|
|
14698
|
-
}
|
|
14699
|
-
interface FeePercentage {
|
|
14700
|
-
percentageDecimal: number;
|
|
14701
|
-
}
|
|
14702
14737
|
/**
|
|
14703
14738
|
* An enum representing the type of gas estimate.
|
|
14704
14739
|
* @enum {string}
|
|
@@ -14827,11 +14862,22 @@ interface SellParams {
|
|
|
14827
14862
|
provider: Web3Provider;
|
|
14828
14863
|
orders: Array<SellOrder>;
|
|
14829
14864
|
}
|
|
14865
|
+
/**
|
|
14866
|
+
* Interface of the SellOrder to create a listing from, includes makerFees
|
|
14867
|
+
* @property {SellToken} sellToken - the token to be listed for sale
|
|
14868
|
+
* @property {BuyToken} buyToken - the token info of the price of the item
|
|
14869
|
+
* @property {OrderFee[]} makerFees - option array of makerFees to be applied to the listing
|
|
14870
|
+
*/
|
|
14830
14871
|
interface SellOrder {
|
|
14831
14872
|
sellToken: SellToken;
|
|
14832
14873
|
buyToken: BuyToken;
|
|
14833
14874
|
makerFees?: Array<OrderFee>;
|
|
14834
14875
|
}
|
|
14876
|
+
/**
|
|
14877
|
+
* Interface of the SellToken
|
|
14878
|
+
* @property {string} id - The ERC721 token id
|
|
14879
|
+
* @property {string} collectionAddress - The ERC721 contract address
|
|
14880
|
+
*/
|
|
14835
14881
|
interface SellToken {
|
|
14836
14882
|
id: string;
|
|
14837
14883
|
collectionAddress: string;
|
|
@@ -14891,7 +14937,7 @@ type BuyToken = NativeBuyToken | ERC20BuyToken;
|
|
|
14891
14937
|
/**
|
|
14892
14938
|
* Represents a native buy token
|
|
14893
14939
|
* @property {ItemType} type - The type indicate this is a native token.
|
|
14894
|
-
* @property {
|
|
14940
|
+
* @property {string} amount - The amount of native token.
|
|
14895
14941
|
*/
|
|
14896
14942
|
type NativeBuyToken = {
|
|
14897
14943
|
type: ItemType.NATIVE;
|
|
@@ -14900,7 +14946,7 @@ type NativeBuyToken = {
|
|
|
14900
14946
|
/**
|
|
14901
14947
|
* Represents a ERC20 buy token
|
|
14902
14948
|
* @property {ItemType} type - The type indicate this is a ERC20 token.
|
|
14903
|
-
* @property {
|
|
14949
|
+
* @property {string} amount - The amount of native token.
|
|
14904
14950
|
* @property {string} contractAddress - The contract address of the ERC20.
|
|
14905
14951
|
*/
|
|
14906
14952
|
type ERC20BuyToken = {
|
|
@@ -15097,14 +15143,16 @@ declare enum CheckoutErrorType {
|
|
|
15097
15143
|
CANCEL_ORDER_LISTING_ERROR = "CANCEL_ORDER_LISTING_ERROR",
|
|
15098
15144
|
PREPARE_ORDER_LISTING_ERROR = "PREPARE_ORDER_LISTING_ERROR",
|
|
15099
15145
|
CREATE_ORDER_LISTING_ERROR = "CREATE_ORDER_LISTING_ERROR",
|
|
15146
|
+
FULFILL_ORDER_LISTING_ERROR = "FULFILL_ORDER_LISTING_ERROR",
|
|
15100
15147
|
SWITCH_NETWORK_UNSUPPORTED = "SWITCH_NETWORK_UNSUPPORTED",
|
|
15101
15148
|
GET_ERC20_ALLOWANCE_ERROR = "GET_ERC20_ALLOWANCE_ERROR",
|
|
15102
15149
|
GET_ERC721_ALLOWANCE_ERROR = "GET_ERC721_ALLOWANCE_ERROR",
|
|
15103
15150
|
EXECUTE_APPROVAL_TRANSACTION_ERROR = "EXECUTE_APPROVAL_TRANSACTION_ERROR",
|
|
15104
|
-
|
|
15151
|
+
EXECUTE_FULFILLMENT_TRANSACTION_ERROR = "EXECUTE_FULFILLMENT_TRANSACTION_ERROR",
|
|
15105
15152
|
SIGN_MESSAGE_ERROR = "SIGN_MESSAGE_ERROR",
|
|
15106
15153
|
BRIDGE_GAS_ESTIMATE_ERROR = "BRIDGE_GAS_ESTIMATE_ERROR",
|
|
15107
|
-
ORDER_FEE_ERROR = "ORDER_FEE_ERROR"
|
|
15154
|
+
ORDER_FEE_ERROR = "ORDER_FEE_ERROR",
|
|
15155
|
+
ITEM_REQUIREMENTS_ERROR = "ITEM_REQUIREMENTS_ERROR"
|
|
15108
15156
|
}
|
|
15109
15157
|
/**
|
|
15110
15158
|
* Represents an error object with a specific type, optional message, and optional data.
|
|
@@ -15298,6 +15346,8 @@ type checkout_sdk_d_CheckoutModuleConfiguration = CheckoutModuleConfiguration;
|
|
|
15298
15346
|
type checkout_sdk_d_ConnectParams = ConnectParams;
|
|
15299
15347
|
type checkout_sdk_d_ConnectResult = ConnectResult;
|
|
15300
15348
|
type checkout_sdk_d_DexConfig = DexConfig;
|
|
15349
|
+
type checkout_sdk_d_ERC20ItemRequirement = ERC20ItemRequirement;
|
|
15350
|
+
type checkout_sdk_d_ERC721ItemRequirement = ERC721ItemRequirement;
|
|
15301
15351
|
type checkout_sdk_d_ErrorType = ErrorType;
|
|
15302
15352
|
type checkout_sdk_d_ExchangeType = ExchangeType;
|
|
15303
15353
|
declare const checkout_sdk_d_ExchangeType: typeof ExchangeType;
|
|
@@ -15323,8 +15373,10 @@ type checkout_sdk_d_GetTokenAllowListParams = GetTokenAllowListParams;
|
|
|
15323
15373
|
type checkout_sdk_d_GetTokenAllowListResult = GetTokenAllowListResult;
|
|
15324
15374
|
type checkout_sdk_d_GetWalletAllowListParams = GetWalletAllowListParams;
|
|
15325
15375
|
type checkout_sdk_d_GetWalletAllowListResult = GetWalletAllowListResult;
|
|
15376
|
+
type checkout_sdk_d_ItemRequirement = ItemRequirement;
|
|
15326
15377
|
type checkout_sdk_d_ItemType = ItemType;
|
|
15327
15378
|
declare const checkout_sdk_d_ItemType: typeof ItemType;
|
|
15379
|
+
type checkout_sdk_d_NativeItemRequirement = NativeItemRequirement;
|
|
15328
15380
|
type checkout_sdk_d_NetworkFilter = NetworkFilter;
|
|
15329
15381
|
type checkout_sdk_d_NetworkFilterTypes = NetworkFilterTypes;
|
|
15330
15382
|
declare const checkout_sdk_d_NetworkFilterTypes: typeof NetworkFilterTypes;
|
|
@@ -15369,6 +15421,8 @@ declare namespace checkout_sdk_d {
|
|
|
15369
15421
|
checkout_sdk_d_ConnectParams as ConnectParams,
|
|
15370
15422
|
checkout_sdk_d_ConnectResult as ConnectResult,
|
|
15371
15423
|
checkout_sdk_d_DexConfig as DexConfig,
|
|
15424
|
+
checkout_sdk_d_ERC20ItemRequirement as ERC20ItemRequirement,
|
|
15425
|
+
checkout_sdk_d_ERC721ItemRequirement as ERC721ItemRequirement,
|
|
15372
15426
|
checkout_sdk_d_ErrorType as ErrorType,
|
|
15373
15427
|
checkout_sdk_d_ExchangeType as ExchangeType,
|
|
15374
15428
|
checkout_sdk_d_FeePercentage as FeePercentage,
|
|
@@ -15391,7 +15445,9 @@ declare namespace checkout_sdk_d {
|
|
|
15391
15445
|
checkout_sdk_d_GetTokenAllowListResult as GetTokenAllowListResult,
|
|
15392
15446
|
checkout_sdk_d_GetWalletAllowListParams as GetWalletAllowListParams,
|
|
15393
15447
|
checkout_sdk_d_GetWalletAllowListResult as GetWalletAllowListResult,
|
|
15448
|
+
checkout_sdk_d_ItemRequirement as ItemRequirement,
|
|
15394
15449
|
checkout_sdk_d_ItemType as ItemType,
|
|
15450
|
+
checkout_sdk_d_NativeItemRequirement as NativeItemRequirement,
|
|
15395
15451
|
checkout_sdk_d_NetworkFilter as NetworkFilter,
|
|
15396
15452
|
checkout_sdk_d_NetworkFilterTypes as NetworkFilterTypes,
|
|
15397
15453
|
checkout_sdk_d_NetworkInfo as NetworkInfo,
|
|
@@ -30423,673 +30479,4 @@ declare namespace checkout_widgets_d {
|
|
|
30423
30479
|
};
|
|
30424
30480
|
}
|
|
30425
30481
|
|
|
30426
|
-
|
|
30427
|
-
/* tslint:disable */
|
|
30428
|
-
/* eslint-disable */
|
|
30429
|
-
|
|
30430
|
-
|
|
30431
|
-
type PromiseOrValue$1<T> = T | Promise<T>;
|
|
30432
|
-
|
|
30433
|
-
declare class ERC20 {
|
|
30434
|
-
private readonly contract;
|
|
30435
|
-
constructor(contractAddress: string);
|
|
30436
|
-
/**
|
|
30437
|
-
* @returns a promise that resolves with a BigNumber that represents the amount of tokens in existence
|
|
30438
|
-
*/
|
|
30439
|
-
totalSupply(provider: Provider$1, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30440
|
-
/**
|
|
30441
|
-
* @returns a promise that resolves with a BigNumber that represents the amount of tokens owned by account
|
|
30442
|
-
*/
|
|
30443
|
-
balanceOf(provider: Provider$1, account: PromiseOrValue$1<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30444
|
-
/**
|
|
30445
|
-
* @returns a promise that resolves with a BigNumber that represents the remaining number of tokens that spender will be allowed to spend on behalf of owner through transferFrom
|
|
30446
|
-
*/
|
|
30447
|
-
allowance(provider: Provider$1, owner: PromiseOrValue$1<string>, spender: PromiseOrValue$1<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30448
|
-
/**
|
|
30449
|
-
* @returns a promise that resolves with a populated transaction
|
|
30450
|
-
*/
|
|
30451
|
-
populateTransfer(to: PromiseOrValue$1<string>, amount: PromiseOrValue$1<BigNumberish>, overrides?: Overrides & {
|
|
30452
|
-
from?: PromiseOrValue$1<string>;
|
|
30453
|
-
}): Promise<PopulatedTransaction>;
|
|
30454
|
-
/**
|
|
30455
|
-
* @returns a promise that resolves with a populated transaction
|
|
30456
|
-
*/
|
|
30457
|
-
populateApprove(spender: PromiseOrValue$1<string>, amount: PromiseOrValue$1<BigNumberish>, overrides?: Overrides & {
|
|
30458
|
-
from?: PromiseOrValue$1<string>;
|
|
30459
|
-
}): Promise<PopulatedTransaction>;
|
|
30460
|
-
/**
|
|
30461
|
-
* @returns a promise that resolves with a populated transaction
|
|
30462
|
-
*/
|
|
30463
|
-
populateTransferFrom(from: PromiseOrValue$1<string>, to: PromiseOrValue$1<string>, amount: PromiseOrValue$1<BigNumberish>, overrides?: Overrides & {
|
|
30464
|
-
from?: PromiseOrValue$1<string>;
|
|
30465
|
-
}): Promise<PopulatedTransaction>;
|
|
30466
|
-
}
|
|
30467
|
-
|
|
30468
|
-
type erc20_d_ERC20 = ERC20;
|
|
30469
|
-
declare const erc20_d_ERC20: typeof ERC20;
|
|
30470
|
-
declare namespace erc20_d {
|
|
30471
|
-
export {
|
|
30472
|
-
erc20_d_ERC20 as ERC20,
|
|
30473
|
-
};
|
|
30474
|
-
}
|
|
30475
|
-
|
|
30476
|
-
type PromiseOrValue<T> = T | Promise<T>;
|
|
30477
|
-
|
|
30478
|
-
declare namespace ERC721Hybrid {
|
|
30479
|
-
type IDMintStruct = {
|
|
30480
|
-
to: PromiseOrValue<string>;
|
|
30481
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
30482
|
-
};
|
|
30483
|
-
type IDMintStructOutput = [string, BigNumber[]] & {
|
|
30484
|
-
to: string;
|
|
30485
|
-
tokenIds: BigNumber[];
|
|
30486
|
-
};
|
|
30487
|
-
type MintStruct = {
|
|
30488
|
-
to: PromiseOrValue<string>;
|
|
30489
|
-
quantity: PromiseOrValue<BigNumberish>;
|
|
30490
|
-
};
|
|
30491
|
-
type MintStructOutput = [string, BigNumber] & {
|
|
30492
|
-
to: string;
|
|
30493
|
-
quantity: BigNumber;
|
|
30494
|
-
};
|
|
30495
|
-
type IDBurnStruct = {
|
|
30496
|
-
owner: PromiseOrValue<string>;
|
|
30497
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
30498
|
-
};
|
|
30499
|
-
type IDBurnStructOutput = [string, BigNumber[]] & {
|
|
30500
|
-
owner: string;
|
|
30501
|
-
tokenIds: BigNumber[];
|
|
30502
|
-
};
|
|
30503
|
-
type TransferRequestStruct = {
|
|
30504
|
-
from: PromiseOrValue<string>;
|
|
30505
|
-
tos: PromiseOrValue<string>[];
|
|
30506
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
30507
|
-
};
|
|
30508
|
-
type TransferRequestStructOutput = [string, string[], BigNumber[]] & {
|
|
30509
|
-
from: string;
|
|
30510
|
-
tos: string[];
|
|
30511
|
-
tokenIds: BigNumber[];
|
|
30512
|
-
};
|
|
30513
|
-
}
|
|
30514
|
-
|
|
30515
|
-
type Mint = ERC721Hybrid.MintStruct;
|
|
30516
|
-
type IDMint$1 = ERC721Hybrid.IDMintStruct;
|
|
30517
|
-
type TransferRequest$1 = ERC721Hybrid.TransferRequestStruct;
|
|
30518
|
-
type IDBurn$1 = ERC721Hybrid.IDBurnStruct;
|
|
30519
|
-
declare class ERC721 {
|
|
30520
|
-
private readonly contract;
|
|
30521
|
-
constructor(contractAddress: string);
|
|
30522
|
-
/**
|
|
30523
|
-
* Read functions
|
|
30524
|
-
*/
|
|
30525
|
-
/**
|
|
30526
|
-
* @returns the DEFAULT_ADMIN_ROLE as a string.
|
|
30527
|
-
*/
|
|
30528
|
-
DEFAULT_ADMIN_ROLE(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30529
|
-
/**
|
|
30530
|
-
* Returns the domain separator used in the encoding of the signature for permits, as defined by EIP-712
|
|
30531
|
-
* @return the bytes32 domain separator
|
|
30532
|
-
*/
|
|
30533
|
-
DOMAIN_SEPARATOR(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30534
|
-
/**
|
|
30535
|
-
* @returns the MINTER_ROLE as a string.
|
|
30536
|
-
*/
|
|
30537
|
-
MINTER_ROLE(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30538
|
-
/**
|
|
30539
|
-
* @returns the balance of an address as a BigNumber.
|
|
30540
|
-
*/
|
|
30541
|
-
balanceOf(provider: Provider$1, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30542
|
-
/**
|
|
30543
|
-
* @returns the baseURI as a string.
|
|
30544
|
-
*/
|
|
30545
|
-
baseURI(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30546
|
-
/**
|
|
30547
|
-
* @returns the contractURI as a string.
|
|
30548
|
-
*/
|
|
30549
|
-
contractURI(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30550
|
-
/**
|
|
30551
|
-
* @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
|
|
30552
|
-
* signature.
|
|
30553
|
-
*/
|
|
30554
|
-
eip712Domain(provider: Provider$1, overrides?: CallOverrides): Promise<[
|
|
30555
|
-
string,
|
|
30556
|
-
string,
|
|
30557
|
-
string,
|
|
30558
|
-
BigNumber,
|
|
30559
|
-
string,
|
|
30560
|
-
string,
|
|
30561
|
-
BigNumber[]
|
|
30562
|
-
] & {
|
|
30563
|
-
fields: string;
|
|
30564
|
-
name: string;
|
|
30565
|
-
version: string;
|
|
30566
|
-
chainId: BigNumber;
|
|
30567
|
-
verifyingContract: string;
|
|
30568
|
-
salt: string;
|
|
30569
|
-
extensions: BigNumber[];
|
|
30570
|
-
}>;
|
|
30571
|
-
/**
|
|
30572
|
-
* @returns admin addresses as an array of strings.
|
|
30573
|
-
*/
|
|
30574
|
-
getAdmins(provider: Provider$1, overrides?: CallOverrides): Promise<string[]>;
|
|
30575
|
-
/**
|
|
30576
|
-
* @returns the approved address for a token ID, or zero if no address set.
|
|
30577
|
-
*/
|
|
30578
|
-
getApproved(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30579
|
-
/**
|
|
30580
|
-
* @returns the role admin address.
|
|
30581
|
-
*/
|
|
30582
|
-
getRoleAdmin(provider: Provider$1, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<string>;
|
|
30583
|
-
/**
|
|
30584
|
-
* @returns the role member address at a particular index.
|
|
30585
|
-
*/
|
|
30586
|
-
getRoleMember(provider: Provider$1, role: PromiseOrValue<BytesLike>, index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30587
|
-
/**
|
|
30588
|
-
* @returns the role member count as a BigNumber.
|
|
30589
|
-
*/
|
|
30590
|
-
getRoleMemberCount(provider: Provider$1, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30591
|
-
/**
|
|
30592
|
-
* @returns a boolean for whether an account has a particular role.
|
|
30593
|
-
*/
|
|
30594
|
-
hasRole(provider: Provider$1, role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
30595
|
-
/**
|
|
30596
|
-
* @returns a booolean that tells whether an operator is approved by a given owner.
|
|
30597
|
-
*/
|
|
30598
|
-
isApprovedForAll(provider: Provider$1, owner: PromiseOrValue<string>, operator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
30599
|
-
/**
|
|
30600
|
-
* @returns the name of the contract as a string.
|
|
30601
|
-
*/
|
|
30602
|
-
name(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30603
|
-
/**
|
|
30604
|
-
* @returns the owner address of a particular tokenId.
|
|
30605
|
-
*/
|
|
30606
|
-
ownerOf(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30607
|
-
/**
|
|
30608
|
-
* Returns the current nonce of a given token ID.
|
|
30609
|
-
* @param tokenId The ID of the token for which to retrieve the nonce.
|
|
30610
|
-
* @return Current nonce of the given token.
|
|
30611
|
-
*/
|
|
30612
|
-
nonces(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30613
|
-
/**
|
|
30614
|
-
* @returns the operator allowlist as a string.
|
|
30615
|
-
*/
|
|
30616
|
-
operatorAllowlist(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30617
|
-
/**
|
|
30618
|
-
* @returns the royalty information for a particular tokenId.
|
|
30619
|
-
*/
|
|
30620
|
-
royaltyInfo(provider: Provider$1, _tokenId: PromiseOrValue<BigNumberish>, _salePrice: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, BigNumber]>;
|
|
30621
|
-
/**
|
|
30622
|
-
* @returns the symbol of the contract as a string.
|
|
30623
|
-
*/
|
|
30624
|
-
symbol(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30625
|
-
/**
|
|
30626
|
-
* @returns the Uniform Resource Identifier (URI) for tokenId token.
|
|
30627
|
-
*/
|
|
30628
|
-
tokenURI(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30629
|
-
/**
|
|
30630
|
-
* @returns returns the total amount of tokens stored by the contract.
|
|
30631
|
-
*/
|
|
30632
|
-
totalSupply(provider: Provider$1, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30633
|
-
/**
|
|
30634
|
-
* Write functions
|
|
30635
|
-
*/
|
|
30636
|
-
/**
|
|
30637
|
-
* @returns a populated transaction for the approve contract function
|
|
30638
|
-
*/
|
|
30639
|
-
populateApprove(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30640
|
-
from?: PromiseOrValue<string>;
|
|
30641
|
-
}): Promise<PopulatedTransaction>;
|
|
30642
|
-
/**
|
|
30643
|
-
* Function to approve by way of owner signature
|
|
30644
|
-
* @param spender the address to approve
|
|
30645
|
-
* @param tokenId the index of the NFT to approve the spender on
|
|
30646
|
-
* @param deadline a timestamp expiry for the permit
|
|
30647
|
-
* @param sig a traditional or EIP-2098 signature
|
|
30648
|
-
*/
|
|
30649
|
-
populatePermit(spender: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, sig: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
30650
|
-
/**
|
|
30651
|
-
* @returns a populated transaction for the burn contract function
|
|
30652
|
-
*/
|
|
30653
|
-
populateBurn(tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30654
|
-
from?: PromiseOrValue<string>;
|
|
30655
|
-
}): Promise<PopulatedTransaction>;
|
|
30656
|
-
/**
|
|
30657
|
-
* @returns a populated transaction for the batch burn contract function
|
|
30658
|
-
*/
|
|
30659
|
-
populateBurnBatch(tokenIds: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
|
|
30660
|
-
from?: PromiseOrValue<string>;
|
|
30661
|
-
}): Promise<PopulatedTransaction>;
|
|
30662
|
-
/**
|
|
30663
|
-
* @returns a populated transaction for the safe burn contract function
|
|
30664
|
-
*/
|
|
30665
|
-
populateSafeBurn(owner: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30666
|
-
from?: PromiseOrValue<string>;
|
|
30667
|
-
}): Promise<PopulatedTransaction>;
|
|
30668
|
-
/**
|
|
30669
|
-
* @returns a populated transaction for the safe burn batch contract function
|
|
30670
|
-
*/
|
|
30671
|
-
populateSafeBurnBatch(burns: IDBurn$1[], overrides?: Overrides & {
|
|
30672
|
-
from?: PromiseOrValue<string>;
|
|
30673
|
-
}): Promise<PopulatedTransaction>;
|
|
30674
|
-
/**
|
|
30675
|
-
* @returns a populated transaction for the grantMinterRole contract function
|
|
30676
|
-
*/
|
|
30677
|
-
populateGrantMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30678
|
-
from?: PromiseOrValue<string>;
|
|
30679
|
-
}): Promise<PopulatedTransaction>;
|
|
30680
|
-
/**
|
|
30681
|
-
* @returns a populated transaction for the grantRole contract function
|
|
30682
|
-
*/
|
|
30683
|
-
populateGrantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30684
|
-
from?: PromiseOrValue<string>;
|
|
30685
|
-
}): Promise<PopulatedTransaction>;
|
|
30686
|
-
/**
|
|
30687
|
-
* @returns a populated transaction for the mint by ID contract function
|
|
30688
|
-
*/
|
|
30689
|
-
populateMint(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30690
|
-
from?: PromiseOrValue<string>;
|
|
30691
|
-
}): Promise<PopulatedTransaction>;
|
|
30692
|
-
/**
|
|
30693
|
-
* @returns a populated transaction for the safe mint by ID contract function
|
|
30694
|
-
*/
|
|
30695
|
-
populateSafeMint(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30696
|
-
from?: PromiseOrValue<string>;
|
|
30697
|
-
}): Promise<PopulatedTransaction>;
|
|
30698
|
-
/**
|
|
30699
|
-
* @returns a populated transaction for the mint by quantity contract function
|
|
30700
|
-
*/
|
|
30701
|
-
populateMintByQuantity(to: PromiseOrValue<string>, quantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30702
|
-
from?: PromiseOrValue<string>;
|
|
30703
|
-
}): Promise<PopulatedTransaction>;
|
|
30704
|
-
/**
|
|
30705
|
-
* @returns a populated transaction for the safe mint by quantity contract function
|
|
30706
|
-
*/
|
|
30707
|
-
populateSafeMintByQuantity(to: PromiseOrValue<string>, quantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30708
|
-
from?: PromiseOrValue<string>;
|
|
30709
|
-
}): Promise<PopulatedTransaction>;
|
|
30710
|
-
/**
|
|
30711
|
-
* @returns a populated transaction for the batch mint by quantity contract function
|
|
30712
|
-
*/
|
|
30713
|
-
populateMintBatchByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
30714
|
-
from?: PromiseOrValue<string>;
|
|
30715
|
-
}): Promise<PopulatedTransaction>;
|
|
30716
|
-
/**
|
|
30717
|
-
* @returns a populated transaction for the batch safe mint by quantity contract function
|
|
30718
|
-
*/
|
|
30719
|
-
populateSafeMintBatchByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
30720
|
-
from?: PromiseOrValue<string>;
|
|
30721
|
-
}): Promise<PopulatedTransaction>;
|
|
30722
|
-
/**
|
|
30723
|
-
* @returns a populated transaction for the batch mint by ID to multiple recipients contract function
|
|
30724
|
-
*/
|
|
30725
|
-
populateMintBatch(mints: IDMint$1[], overrides?: Overrides & {
|
|
30726
|
-
from?: PromiseOrValue<string>;
|
|
30727
|
-
}): Promise<PopulatedTransaction>;
|
|
30728
|
-
/**
|
|
30729
|
-
* @returns a populated transaction for the batch safe mint by ID to multiple recipients contract function
|
|
30730
|
-
*/
|
|
30731
|
-
populateSafeMintBatch(mints: IDMint$1[], overrides?: Overrides & {
|
|
30732
|
-
from?: PromiseOrValue<string>;
|
|
30733
|
-
}): Promise<PopulatedTransaction>;
|
|
30734
|
-
/**
|
|
30735
|
-
* @returns a populated transaction for the renounceRole contract function
|
|
30736
|
-
*/
|
|
30737
|
-
populateRenounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30738
|
-
from?: PromiseOrValue<string>;
|
|
30739
|
-
}): Promise<PopulatedTransaction>;
|
|
30740
|
-
/**
|
|
30741
|
-
* @returns a populated transaction for the revokeMinterRole contract function
|
|
30742
|
-
*/
|
|
30743
|
-
populateRevokeMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30744
|
-
from?: PromiseOrValue<string>;
|
|
30745
|
-
}): Promise<PopulatedTransaction>;
|
|
30746
|
-
/**
|
|
30747
|
-
* @returns a populated transaction for the revokeRole contract function
|
|
30748
|
-
*/
|
|
30749
|
-
populateRevokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30750
|
-
from?: PromiseOrValue<string>;
|
|
30751
|
-
}): Promise<PopulatedTransaction>;
|
|
30752
|
-
/**
|
|
30753
|
-
* @returns a populated transaction for the batch save transfer from function
|
|
30754
|
-
*/
|
|
30755
|
-
populateSafeTransferFromBatch(transfers: TransferRequest$1, overrides?: Overrides & {
|
|
30756
|
-
from?: PromiseOrValue<string>;
|
|
30757
|
-
}): Promise<PopulatedTransaction>;
|
|
30758
|
-
/**
|
|
30759
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256) contract function
|
|
30760
|
-
*/
|
|
30761
|
-
'populateSafeTransferFrom(address,address,uint256)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30762
|
-
from?: PromiseOrValue<string>;
|
|
30763
|
-
}): Promise<PopulatedTransaction>;
|
|
30764
|
-
/**
|
|
30765
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256,bytes) contract function
|
|
30766
|
-
*/
|
|
30767
|
-
'populateSafeTransferFrom(address,address,uint256,bytes)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
30768
|
-
from?: PromiseOrValue<string>;
|
|
30769
|
-
}): Promise<PopulatedTransaction>;
|
|
30770
|
-
/**
|
|
30771
|
-
* @returns a populated transaction for the setApprovalForAll contract function
|
|
30772
|
-
*/
|
|
30773
|
-
populateSetApprovalForAll(operator: PromiseOrValue<string>, approved: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
30774
|
-
from?: PromiseOrValue<string>;
|
|
30775
|
-
}): Promise<PopulatedTransaction>;
|
|
30776
|
-
/**
|
|
30777
|
-
* @returns a populated transaction for the setBaseURI contract function
|
|
30778
|
-
*/
|
|
30779
|
-
populateSetBaseURI(baseURI_: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30780
|
-
from?: PromiseOrValue<string>;
|
|
30781
|
-
}): Promise<PopulatedTransaction>;
|
|
30782
|
-
/**
|
|
30783
|
-
* @returns a populated transaction for the setContractURI contract function
|
|
30784
|
-
*/
|
|
30785
|
-
populateSetContractURI(_contractURI: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30786
|
-
from?: PromiseOrValue<string>;
|
|
30787
|
-
}): Promise<PopulatedTransaction>;
|
|
30788
|
-
/**
|
|
30789
|
-
* @returns a populated transaction for the setDefaultRoyaltyReceiver contract function
|
|
30790
|
-
*/
|
|
30791
|
-
populateSetDefaultRoyaltyReceiver(receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30792
|
-
from?: PromiseOrValue<string>;
|
|
30793
|
-
}): Promise<PopulatedTransaction>;
|
|
30794
|
-
/**
|
|
30795
|
-
* @returns a populated transaction for the setNFTRoyaltyReceiver contract function
|
|
30796
|
-
*/
|
|
30797
|
-
populateSetNFTRoyaltyReceiver(tokenId: PromiseOrValue<BigNumberish>, receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30798
|
-
from?: PromiseOrValue<string>;
|
|
30799
|
-
}): Promise<PopulatedTransaction>;
|
|
30800
|
-
/**
|
|
30801
|
-
* @returns a populated transaction for the setNFTRoyaltyReceiverBatch contract function
|
|
30802
|
-
*/
|
|
30803
|
-
populateSetNFTRoyaltyReceiverBatch(tokenIds: PromiseOrValue<BigNumberish>[], receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30804
|
-
from?: PromiseOrValue<string>;
|
|
30805
|
-
}): Promise<PopulatedTransaction>;
|
|
30806
|
-
/**
|
|
30807
|
-
* @returns a populated transaction for the setOperatorAllowlistRegistry contract function
|
|
30808
|
-
*/
|
|
30809
|
-
populateSetOperatorAllowlistRegistry(_operatorAllowlist: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30810
|
-
from?: PromiseOrValue<string>;
|
|
30811
|
-
}): Promise<PopulatedTransaction>;
|
|
30812
|
-
}
|
|
30813
|
-
|
|
30814
|
-
type erc721_d_ERC721 = ERC721;
|
|
30815
|
-
declare const erc721_d_ERC721: typeof ERC721;
|
|
30816
|
-
declare namespace erc721_d {
|
|
30817
|
-
export {
|
|
30818
|
-
erc721_d_ERC721 as ERC721,
|
|
30819
|
-
};
|
|
30820
|
-
}
|
|
30821
|
-
|
|
30822
|
-
declare namespace ImmutableERC721Base {
|
|
30823
|
-
type IDBurnStruct = {
|
|
30824
|
-
owner: PromiseOrValue<string>;
|
|
30825
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
30826
|
-
};
|
|
30827
|
-
type IDBurnStructOutput = [string, BigNumber[]] & {
|
|
30828
|
-
owner: string;
|
|
30829
|
-
tokenIds: BigNumber[];
|
|
30830
|
-
};
|
|
30831
|
-
type IDMintStruct = {
|
|
30832
|
-
to: PromiseOrValue<string>;
|
|
30833
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
30834
|
-
};
|
|
30835
|
-
type IDMintStructOutput = [string, BigNumber[]] & {
|
|
30836
|
-
to: string;
|
|
30837
|
-
tokenIds: BigNumber[];
|
|
30838
|
-
};
|
|
30839
|
-
type TransferRequestStruct = {
|
|
30840
|
-
from: PromiseOrValue<string>;
|
|
30841
|
-
tos: PromiseOrValue<string>[];
|
|
30842
|
-
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
30843
|
-
};
|
|
30844
|
-
type TransferRequestStructOutput = [string, string[], BigNumber[]] & {
|
|
30845
|
-
from: string;
|
|
30846
|
-
tos: string[];
|
|
30847
|
-
tokenIds: BigNumber[];
|
|
30848
|
-
};
|
|
30849
|
-
}
|
|
30850
|
-
|
|
30851
|
-
type IDMint = ImmutableERC721Base.IDMintStruct;
|
|
30852
|
-
type TransferRequest = ImmutableERC721Base.TransferRequestStruct;
|
|
30853
|
-
type IDBurn = ImmutableERC721Base.IDBurnStruct;
|
|
30854
|
-
declare class ERC721MintByID {
|
|
30855
|
-
private readonly contract;
|
|
30856
|
-
constructor(contractAddress: string);
|
|
30857
|
-
/**
|
|
30858
|
-
* Read functions
|
|
30859
|
-
*/
|
|
30860
|
-
/**
|
|
30861
|
-
* @returns the DEFAULT_ADMIN_ROLE as a string.
|
|
30862
|
-
*/
|
|
30863
|
-
DEFAULT_ADMIN_ROLE(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30864
|
-
/**
|
|
30865
|
-
* @returns the MINTER_ROLE as a string.
|
|
30866
|
-
*/
|
|
30867
|
-
MINTER_ROLE(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30868
|
-
/**
|
|
30869
|
-
* @returns the balance of an address as a BigNumber.
|
|
30870
|
-
*/
|
|
30871
|
-
balanceOf(provider: Provider$1, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30872
|
-
/**
|
|
30873
|
-
* @returns the baseURI as a string.
|
|
30874
|
-
*/
|
|
30875
|
-
baseURI(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30876
|
-
/**
|
|
30877
|
-
* @returns the contractURI as a string.
|
|
30878
|
-
*/
|
|
30879
|
-
contractURI(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30880
|
-
/**
|
|
30881
|
-
* @returns admin addresses as an array of strings.
|
|
30882
|
-
*/
|
|
30883
|
-
getAdmins(provider: Provider$1, overrides?: CallOverrides): Promise<string[]>;
|
|
30884
|
-
/**
|
|
30885
|
-
* @returns the approved address for a token ID, or zero if no address set.
|
|
30886
|
-
*/
|
|
30887
|
-
getApproved(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30888
|
-
/**
|
|
30889
|
-
* @returns the role admin address.
|
|
30890
|
-
*/
|
|
30891
|
-
getRoleAdmin(provider: Provider$1, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<string>;
|
|
30892
|
-
/**
|
|
30893
|
-
* @returns the role member address at a particular index.
|
|
30894
|
-
*/
|
|
30895
|
-
getRoleMember(provider: Provider$1, role: PromiseOrValue<BytesLike>, index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30896
|
-
/**
|
|
30897
|
-
* @returns the role member count as a BigNumber.
|
|
30898
|
-
*/
|
|
30899
|
-
getRoleMemberCount(provider: Provider$1, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30900
|
-
/**
|
|
30901
|
-
* @returns a boolean for whether an account has a particular role.
|
|
30902
|
-
*/
|
|
30903
|
-
hasRole(provider: Provider$1, role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
30904
|
-
/**
|
|
30905
|
-
* @returns a booolean that tells whether an operator is approved by a given owner.
|
|
30906
|
-
*/
|
|
30907
|
-
isApprovedForAll(provider: Provider$1, owner: PromiseOrValue<string>, operator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
30908
|
-
/**
|
|
30909
|
-
* @returns the name of the contract as a string.
|
|
30910
|
-
*/
|
|
30911
|
-
name(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30912
|
-
/**
|
|
30913
|
-
* @returns the owner address of a particular tokenId.
|
|
30914
|
-
*/
|
|
30915
|
-
ownerOf(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30916
|
-
/**
|
|
30917
|
-
* Returns the current nonce of a given token ID.
|
|
30918
|
-
* @param tokenId The ID of the token for which to retrieve the nonce.
|
|
30919
|
-
* @return Current nonce of the given token.
|
|
30920
|
-
*/
|
|
30921
|
-
nonces(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30922
|
-
/**
|
|
30923
|
-
* @returns the operator allowlist as a string.
|
|
30924
|
-
*/
|
|
30925
|
-
operatorAllowlist(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30926
|
-
/**
|
|
30927
|
-
* @returns the royalty information for a particular tokenId.
|
|
30928
|
-
*/
|
|
30929
|
-
royaltyInfo(provider: Provider$1, _tokenId: PromiseOrValue<BigNumberish>, _salePrice: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, BigNumber]>;
|
|
30930
|
-
/**
|
|
30931
|
-
* @returns the symbol of the contract as a string.
|
|
30932
|
-
*/
|
|
30933
|
-
symbol(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
30934
|
-
/**
|
|
30935
|
-
* @returns the Uniform Resource Identifier (URI) for tokenId token.
|
|
30936
|
-
*/
|
|
30937
|
-
tokenURI(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
30938
|
-
/**
|
|
30939
|
-
* @returns returns the total amount of tokens stored by the contract.
|
|
30940
|
-
*/
|
|
30941
|
-
totalSupply(provider: Provider$1, overrides?: CallOverrides): Promise<BigNumber>;
|
|
30942
|
-
/**
|
|
30943
|
-
* Write functions
|
|
30944
|
-
*/
|
|
30945
|
-
/**
|
|
30946
|
-
* @returns a populated transaction for the approve contract function
|
|
30947
|
-
*/
|
|
30948
|
-
populateApprove(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30949
|
-
from?: PromiseOrValue<string>;
|
|
30950
|
-
}): Promise<PopulatedTransaction>;
|
|
30951
|
-
/**
|
|
30952
|
-
* Function to approve by way of owner signature
|
|
30953
|
-
* @param spender the address to approve
|
|
30954
|
-
* @param tokenId the index of the NFT to approve the spender on
|
|
30955
|
-
* @param deadline a timestamp expiry for the permit
|
|
30956
|
-
* @param sig a traditional or EIP-2098 signature
|
|
30957
|
-
*/
|
|
30958
|
-
populatePermit(spender: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, deadline: PromiseOrValue<BigNumberish>, sig: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
30959
|
-
/**
|
|
30960
|
-
* @returns a populated transaction for the burn contract function
|
|
30961
|
-
*/
|
|
30962
|
-
populateBurn(tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30963
|
-
from?: PromiseOrValue<string>;
|
|
30964
|
-
}): Promise<PopulatedTransaction>;
|
|
30965
|
-
/**
|
|
30966
|
-
* @returns a populated transaction for the batch burn contract function
|
|
30967
|
-
*/
|
|
30968
|
-
populateBurnBatch(tokenIds: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
|
|
30969
|
-
from?: PromiseOrValue<string>;
|
|
30970
|
-
}): Promise<PopulatedTransaction>;
|
|
30971
|
-
/**
|
|
30972
|
-
* @returns a populated transaction for the grantMinterRole contract function
|
|
30973
|
-
*/
|
|
30974
|
-
populateGrantMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30975
|
-
from?: PromiseOrValue<string>;
|
|
30976
|
-
}): Promise<PopulatedTransaction>;
|
|
30977
|
-
/**
|
|
30978
|
-
* @returns a populated transaction for the grantRole contract function
|
|
30979
|
-
*/
|
|
30980
|
-
populateGrantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
30981
|
-
from?: PromiseOrValue<string>;
|
|
30982
|
-
}): Promise<PopulatedTransaction>;
|
|
30983
|
-
/**
|
|
30984
|
-
* @returns a populated transaction for the mint contract function
|
|
30985
|
-
*/
|
|
30986
|
-
populateMint(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30987
|
-
from?: PromiseOrValue<string>;
|
|
30988
|
-
}): Promise<PopulatedTransaction>;
|
|
30989
|
-
/**
|
|
30990
|
-
* @returns a populated transaction for the batch mint contract function
|
|
30991
|
-
*/
|
|
30992
|
-
populateSafeMintBatch(mints: IDMint[], overrides?: Overrides & {
|
|
30993
|
-
from?: PromiseOrValue<string>;
|
|
30994
|
-
}): Promise<PopulatedTransaction>;
|
|
30995
|
-
/**
|
|
30996
|
-
* @returns a populated transaction for the safe burn contract function
|
|
30997
|
-
*/
|
|
30998
|
-
populateSafeBurn(owner: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
30999
|
-
from?: PromiseOrValue<string>;
|
|
31000
|
-
}): Promise<PopulatedTransaction>;
|
|
31001
|
-
/**
|
|
31002
|
-
* @returns a populated transaction for the safe burn batch contract function
|
|
31003
|
-
*/
|
|
31004
|
-
populateSafeBurnBatch(burns: IDBurn[], overrides?: Overrides & {
|
|
31005
|
-
from?: PromiseOrValue<string>;
|
|
31006
|
-
}): Promise<PopulatedTransaction>;
|
|
31007
|
-
/**
|
|
31008
|
-
* @returns a populated transaction for the renounceRole contract function
|
|
31009
|
-
*/
|
|
31010
|
-
populateRenounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
31011
|
-
from?: PromiseOrValue<string>;
|
|
31012
|
-
}): Promise<PopulatedTransaction>;
|
|
31013
|
-
/**
|
|
31014
|
-
* @returns a populated transaction for the revokeMinterRole contract function
|
|
31015
|
-
*/
|
|
31016
|
-
populateRevokeMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
31017
|
-
from?: PromiseOrValue<string>;
|
|
31018
|
-
}): Promise<PopulatedTransaction>;
|
|
31019
|
-
/**
|
|
31020
|
-
* @returns a populated transaction for the revokeRole contract function
|
|
31021
|
-
*/
|
|
31022
|
-
populateRevokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
31023
|
-
from?: PromiseOrValue<string>;
|
|
31024
|
-
}): Promise<PopulatedTransaction>;
|
|
31025
|
-
/**
|
|
31026
|
-
* @returns a populated transaction for the batch save transfer from function
|
|
31027
|
-
*/
|
|
31028
|
-
populateSafeTransferFromBatch(transfers: TransferRequest, overrides?: Overrides & {
|
|
31029
|
-
from?: PromiseOrValue<string>;
|
|
31030
|
-
}): Promise<PopulatedTransaction>;
|
|
31031
|
-
/**
|
|
31032
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256) contract function
|
|
31033
|
-
*/
|
|
31034
|
-
'populateSafeTransferFrom(address,address,uint256)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
31035
|
-
from?: PromiseOrValue<string>;
|
|
31036
|
-
}): Promise<PopulatedTransaction>;
|
|
31037
|
-
/**
|
|
31038
|
-
* @returns a populated transaction for the safeTransferFrom(address,address,uint256,bytes) contract function
|
|
31039
|
-
*/
|
|
31040
|
-
'populateSafeTransferFrom(address,address,uint256,bytes)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
31041
|
-
from?: PromiseOrValue<string>;
|
|
31042
|
-
}): Promise<PopulatedTransaction>;
|
|
31043
|
-
/**
|
|
31044
|
-
* @returns a populated transaction for the setApprovalForAll contract function
|
|
31045
|
-
*/
|
|
31046
|
-
populateSetApprovalForAll(operator: PromiseOrValue<string>, approved: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
31047
|
-
from?: PromiseOrValue<string>;
|
|
31048
|
-
}): Promise<PopulatedTransaction>;
|
|
31049
|
-
/**
|
|
31050
|
-
* @returns a populated transaction for the setBaseURI contract function
|
|
31051
|
-
*/
|
|
31052
|
-
populateSetBaseURI(baseURI_: PromiseOrValue<string>, overrides?: Overrides & {
|
|
31053
|
-
from?: PromiseOrValue<string>;
|
|
31054
|
-
}): Promise<PopulatedTransaction>;
|
|
31055
|
-
/**
|
|
31056
|
-
* @returns a populated transaction for the setContractURI contract function
|
|
31057
|
-
*/
|
|
31058
|
-
populateSetContractURI(_contractURI: PromiseOrValue<string>, overrides?: Overrides & {
|
|
31059
|
-
from?: PromiseOrValue<string>;
|
|
31060
|
-
}): Promise<PopulatedTransaction>;
|
|
31061
|
-
/**
|
|
31062
|
-
* @returns a populated transaction for the setDefaultRoyaltyReceiver contract function
|
|
31063
|
-
*/
|
|
31064
|
-
populateSetDefaultRoyaltyReceiver(receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
31065
|
-
from?: PromiseOrValue<string>;
|
|
31066
|
-
}): Promise<PopulatedTransaction>;
|
|
31067
|
-
/**
|
|
31068
|
-
* @returns a populated transaction for the setNFTRoyaltyReceiver contract function
|
|
31069
|
-
*/
|
|
31070
|
-
populateSetNFTRoyaltyReceiver(tokenId: PromiseOrValue<BigNumberish>, receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
31071
|
-
from?: PromiseOrValue<string>;
|
|
31072
|
-
}): Promise<PopulatedTransaction>;
|
|
31073
|
-
/**
|
|
31074
|
-
* @returns a populated transaction for the setNFTRoyaltyReceiverBatch contract function
|
|
31075
|
-
*/
|
|
31076
|
-
populateSetNFTRoyaltyReceiverBatch(tokenIds: PromiseOrValue<BigNumberish>[], receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
31077
|
-
from?: PromiseOrValue<string>;
|
|
31078
|
-
}): Promise<PopulatedTransaction>;
|
|
31079
|
-
/**
|
|
31080
|
-
* @returns a populated transaction for the setOperatorAllowlistRegistry contract function
|
|
31081
|
-
*/
|
|
31082
|
-
populateSetOperatorAllowlistRegistry(_operatorAllowlist: PromiseOrValue<string>, overrides?: Overrides & {
|
|
31083
|
-
from?: PromiseOrValue<string>;
|
|
31084
|
-
}): Promise<PopulatedTransaction>;
|
|
31085
|
-
}
|
|
31086
|
-
|
|
31087
|
-
type erc721_mint_by_id_d_ERC721MintByID = ERC721MintByID;
|
|
31088
|
-
declare const erc721_mint_by_id_d_ERC721MintByID: typeof ERC721MintByID;
|
|
31089
|
-
declare namespace erc721_mint_by_id_d {
|
|
31090
|
-
export {
|
|
31091
|
-
erc721_mint_by_id_d_ERC721MintByID as ERC721MintByID,
|
|
31092
|
-
};
|
|
31093
|
-
}
|
|
31094
|
-
|
|
31095
|
-
export { blockchain_data_d as blockchainData, checkout_sdk_d as checkoutSdk, checkout_widgets_d as checkoutWidgets, config_d as config, erc20_d as erc20, erc721_d as erc721, erc721_mint_by_id_d as erc721MintById, immutablex_client_d as immutablexClient, orderbook_d as orderbook, passport_d as passport, provider_d as provider };
|
|
30482
|
+
export { blockchain_data_d as blockchainData, checkout_sdk_d as checkoutSdk, checkout_widgets_d as checkoutWidgets, config_d as config, immutablex_client_d as immutablexClient, orderbook_d as orderbook, passport_d as passport, provider_d as provider };
|