@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/index.d.ts CHANGED
@@ -377,7 +377,7 @@ interface Deposit$1 {
377
377
  * @export
378
378
  * @interface Mint
379
379
  */
380
- interface Mint$2 {
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$2 | NFTSale | Transfer$1 | Withdrawal$1;
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$2 {
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$2>;
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$1 {
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$1>;
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$1[], any>>;
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$1[]>;
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
- MAKER_MARKETPLACE = "MAKER_MARKETPLACE",
13424
- TAKER_MARKETPLACE = "TAKER_MARKETPLACE",
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
- end_time: string;
13505
+ end_at: string;
13518
13506
  protocol_data: ProtocolData;
13519
13507
  /**
13520
13508
  * A random value added to the create Order request
@@ -13531,7 +13519,7 @@ type CreateListingRequestBody = {
13531
13519
  /**
13532
13520
  * Time after which Order is considered active
13533
13521
  */
13534
- start_time: string;
13522
+ start_at: string;
13535
13523
  };
13536
13524
 
13537
13525
  type FulfillmentDataRequest = {
@@ -13573,11 +13561,11 @@ type Order$1 = {
13573
13561
  /**
13574
13562
  * Time the Order is created
13575
13563
  */
13576
- create_time: string;
13564
+ created_at: string;
13577
13565
  /**
13578
13566
  * Time after which the Order is considered expired
13579
13567
  */
13580
- end_time: string;
13568
+ end_at: string;
13581
13569
  /**
13582
13570
  * Global Order identifier
13583
13571
  */
@@ -13595,12 +13583,12 @@ type Order$1 = {
13595
13583
  /**
13596
13584
  * Time after which Order is considered active
13597
13585
  */
13598
- start_time: string;
13586
+ start_at: string;
13599
13587
  status: OrderStatus;
13600
13588
  /**
13601
13589
  * Time the Order is last updated
13602
13590
  */
13603
- update_time: string;
13591
+ updated_at: string;
13604
13592
  };
13605
13593
 
13606
13594
  type FulfillmentDataResult = {
@@ -13788,7 +13776,7 @@ declare class OrdersService {
13788
13776
  /**
13789
13777
  * Trade field to sort by
13790
13778
  */
13791
- sortBy?: 'created_at';
13779
+ sortBy?: 'indexed_at';
13792
13780
  /**
13793
13781
  * Ascending or descending direction for sort
13794
13782
  */
@@ -13851,8 +13839,8 @@ interface CreateListingParams {
13851
13839
  type ListListingsParams = Omit<Parameters<typeof OrdersService.prototype.listListings>[0], 'chainName'>;
13852
13840
  type ListTradesParams = Omit<Parameters<typeof OrdersService.prototype.listTrades>[0], 'chainName'>;
13853
13841
  declare enum FeeType {
13854
- MAKER_MARKETPLACE = "MAKER_MARKETPLACE",
13855
- TAKER_MARKETPLACE = "TAKER_MARKETPLACE",
13842
+ MAKER_ECOSYSTEM = "MAKER_ECOSYSTEM",
13843
+ TAKER_ECOSYSTEM = "TAKER_ECOSYSTEM",
13856
13844
  PROTOCOL = "PROTOCOL",
13857
13845
  ROYALTY = "ROYALTY"
13858
13846
  }
@@ -13912,16 +13900,16 @@ interface Order {
13912
13900
  id: string;
13913
13901
  name: string;
13914
13902
  };
13915
- createTime: string;
13916
- updateTime: string;
13903
+ createdAt: string;
13904
+ updatedAt: string;
13917
13905
  /**
13918
13906
  * Time after which the Order is considered active
13919
13907
  */
13920
- startTime: string;
13908
+ startAt: string;
13921
13909
  /**
13922
13910
  * Time after which the Order is expired
13923
13911
  */
13924
- endTime: string;
13912
+ endAt: string;
13925
13913
  protocolData: {
13926
13914
  orderType: 'FULL_RESTRICTED';
13927
13915
  zoneAddress: string;
@@ -14283,13 +14271,29 @@ interface GetAllBalancesResult {
14283
14271
  * Interface representing the parameters for {@link Checkout.smartCheckout}
14284
14272
  * @property {Web3Provider} provider - The provider to use for smart checkout.
14285
14273
  * @property {ItemRequirement[]} itemRequirements - The item requirements for the transaction.
14286
- * @property {FulfilmentTransaction | GasAmount} transactionOrGasAmount - The transaction or gas amount.
14274
+ * @property {FulfillmentTransaction | GasAmount} transactionOrGasAmount - The transaction or gas amount.
14287
14275
  */
14288
14276
  interface SmartCheckoutParams {
14289
14277
  provider: Web3Provider;
14290
- itemRequirements: ItemRequirement[];
14291
- transactionOrGasAmount: FulfilmentTransaction | GasAmount;
14278
+ itemRequirements: (NativeItemRequirement | ERC20ItemRequirement | ERC721ItemRequirement)[];
14279
+ transactionOrGasAmount: FulfillmentTransaction | GasAmount;
14292
14280
  }
14281
+ type NativeItemRequirement = {
14282
+ type: ItemType.NATIVE;
14283
+ amount: string;
14284
+ };
14285
+ type ERC20ItemRequirement = {
14286
+ type: ItemType.ERC20;
14287
+ contractAddress: string;
14288
+ amount: string;
14289
+ spenderAddress: string;
14290
+ };
14291
+ type ERC721ItemRequirement = {
14292
+ type: ItemType.ERC721;
14293
+ contractAddress: string;
14294
+ id: string;
14295
+ spenderAddress: string;
14296
+ };
14293
14297
  /**
14294
14298
  * Represents the item requirements for a transaction.
14295
14299
  * NativeItem, ERC20Item or ERC721Item {@link Checkout.smartCheckout}.
@@ -14353,11 +14357,11 @@ declare enum TransactionOrGasType {
14353
14357
  GAS = "GAS"
14354
14358
  }
14355
14359
  /**
14356
- * The fulfilment transaction which contains the transaction to send.
14357
- * @property {TransactionOrGasType} type - The type to indicate this is a fulfilment transaction.
14360
+ * The fulfillment transaction which contains the transaction to send.
14361
+ * @property {TransactionOrGasType} type - The type to indicate this is a fulfillment transaction.
14358
14362
  * @property {TransactionRequest} transaction - The transaction to send.
14359
14363
  */
14360
- type FulfilmentTransaction = {
14364
+ type FulfillmentTransaction = {
14361
14365
  type: TransactionOrGasType.TRANSACTION;
14362
14366
  transaction: TransactionRequest;
14363
14367
  };
@@ -14466,14 +14470,33 @@ type BalanceDelta = {
14466
14470
  balance: BigNumber;
14467
14471
  formattedBalance: string;
14468
14472
  };
14473
+ interface OrderFee {
14474
+ amount: FeeToken | FeePercentage;
14475
+ recipient: string;
14476
+ }
14477
+ interface FeeToken {
14478
+ token: string;
14479
+ }
14480
+ interface FeePercentage {
14481
+ percentageDecimal: number;
14482
+ }
14469
14483
  /**
14470
14484
  * Interface representing the parameters for {@link Checkout.buy}
14471
14485
  * @property {Web3Provider} provider - The provider to use for the buy.
14472
- * @property {string} orderId - The order ID.
14486
+ * @property {Array<BuyOrder>} orders - The orders to buy
14473
14487
  */
14474
14488
  interface BuyParams {
14475
14489
  provider: Web3Provider;
14476
- orderId: string;
14490
+ orders: Array<BuyOrder>;
14491
+ }
14492
+ /**
14493
+ * Interface representing the order to buy
14494
+ * @property {string} orderId - the id of the order to buy
14495
+ * @property {Array<OrderFee>} takerFees - array of order fees to apply to the order
14496
+ */
14497
+ interface BuyOrder {
14498
+ id: string;
14499
+ takerFees?: Array<OrderFee>;
14477
14500
  }
14478
14501
  /**
14479
14502
  * Interface representing the result of the buy
@@ -14522,11 +14545,11 @@ declare enum BuyStatusType {
14522
14545
  /**
14523
14546
  * Interface representing the parameters for {@link Checkout.cancel}
14524
14547
  * @property {Web3Provider} provider - The provider to use for the cancel.
14525
- * @property {string} orderId - The order ID.
14548
+ * @property {string[]} orderIds - The order IDs to cancel.
14526
14549
  */
14527
14550
  interface CancelParams {
14528
14551
  provider: Web3Provider;
14529
- orderId: string;
14552
+ orderIds: string[];
14530
14553
  }
14531
14554
  interface CheckoutOverrides {
14532
14555
  }
@@ -14549,6 +14572,7 @@ type RemoteConfiguration = {
14549
14572
  bridge: BridgeConfig;
14550
14573
  allowedNetworks: AllowedNetworkConfig[];
14551
14574
  gasEstimateTokens?: GasEstimateTokenConfig;
14575
+ imxAddressMapping?: ImxAddressConfig;
14552
14576
  };
14553
14577
  /**
14554
14578
  * A type representing the fee structure for an OnRamp provider
@@ -14602,6 +14626,13 @@ type BridgeConfig = {
14602
14626
  type AllowedNetworkConfig = {
14603
14627
  chainId: number;
14604
14628
  };
14629
+ /**
14630
+ * A type representing the IMX address mappings across available networks.
14631
+ * @type {{ [chainId: string]: string }}
14632
+ */
14633
+ type ImxAddressConfig = {
14634
+ [chainId: string]: string;
14635
+ };
14605
14636
  /**
14606
14637
  * A type representing the required information to estimate gas for a transaction.
14607
14638
  * @type {{ [key: string]: { bridgeToL2Addresses?: GasEstimateBridgeToL2TokenConfig, swapAddresses?: GasEstimateSwapTokenConfig } }}
@@ -14689,16 +14720,6 @@ interface CheckConnectionResult {
14689
14720
  isConnected: boolean;
14690
14721
  walletAddress: string;
14691
14722
  }
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
14723
  /**
14703
14724
  * An enum representing the type of gas estimate.
14704
14725
  * @enum {string}
@@ -14827,11 +14848,22 @@ interface SellParams {
14827
14848
  provider: Web3Provider;
14828
14849
  orders: Array<SellOrder>;
14829
14850
  }
14851
+ /**
14852
+ * Interface of the SellOrder to create a listing from, includes makerFees
14853
+ * @property {SellToken} sellToken - the token to be listed for sale
14854
+ * @property {BuyToken} buyToken - the token info of the price of the item
14855
+ * @property {OrderFee[]} makerFees - option array of makerFees to be applied to the listing
14856
+ */
14830
14857
  interface SellOrder {
14831
14858
  sellToken: SellToken;
14832
14859
  buyToken: BuyToken;
14833
14860
  makerFees?: Array<OrderFee>;
14834
14861
  }
14862
+ /**
14863
+ * Interface of the SellToken
14864
+ * @property {string} id - The ERC721 token id
14865
+ * @property {string} collectionAddress - The ERC721 contract address
14866
+ */
14835
14867
  interface SellToken {
14836
14868
  id: string;
14837
14869
  collectionAddress: string;
@@ -14891,7 +14923,7 @@ type BuyToken = NativeBuyToken | ERC20BuyToken;
14891
14923
  /**
14892
14924
  * Represents a native buy token
14893
14925
  * @property {ItemType} type - The type indicate this is a native token.
14894
- * @property {BigNumber} amount - The amount of native token.
14926
+ * @property {string} amount - The amount of native token.
14895
14927
  */
14896
14928
  type NativeBuyToken = {
14897
14929
  type: ItemType.NATIVE;
@@ -14900,7 +14932,7 @@ type NativeBuyToken = {
14900
14932
  /**
14901
14933
  * Represents a ERC20 buy token
14902
14934
  * @property {ItemType} type - The type indicate this is a ERC20 token.
14903
- * @property {BigNumber} amount - The amount of native token.
14935
+ * @property {string} amount - The amount of native token.
14904
14936
  * @property {string} contractAddress - The contract address of the ERC20.
14905
14937
  */
14906
14938
  type ERC20BuyToken = {
@@ -15097,14 +15129,16 @@ declare enum CheckoutErrorType {
15097
15129
  CANCEL_ORDER_LISTING_ERROR = "CANCEL_ORDER_LISTING_ERROR",
15098
15130
  PREPARE_ORDER_LISTING_ERROR = "PREPARE_ORDER_LISTING_ERROR",
15099
15131
  CREATE_ORDER_LISTING_ERROR = "CREATE_ORDER_LISTING_ERROR",
15132
+ FULFILL_ORDER_LISTING_ERROR = "FULFILL_ORDER_LISTING_ERROR",
15100
15133
  SWITCH_NETWORK_UNSUPPORTED = "SWITCH_NETWORK_UNSUPPORTED",
15101
15134
  GET_ERC20_ALLOWANCE_ERROR = "GET_ERC20_ALLOWANCE_ERROR",
15102
15135
  GET_ERC721_ALLOWANCE_ERROR = "GET_ERC721_ALLOWANCE_ERROR",
15103
15136
  EXECUTE_APPROVAL_TRANSACTION_ERROR = "EXECUTE_APPROVAL_TRANSACTION_ERROR",
15104
- EXECUTE_FULFILMENT_TRANSACTION_ERROR = "EXECUTE_FULFILMENT_TRANSACTION_ERROR",
15137
+ EXECUTE_FULFILLMENT_TRANSACTION_ERROR = "EXECUTE_FULFILLMENT_TRANSACTION_ERROR",
15105
15138
  SIGN_MESSAGE_ERROR = "SIGN_MESSAGE_ERROR",
15106
15139
  BRIDGE_GAS_ESTIMATE_ERROR = "BRIDGE_GAS_ESTIMATE_ERROR",
15107
- ORDER_FEE_ERROR = "ORDER_FEE_ERROR"
15140
+ ORDER_FEE_ERROR = "ORDER_FEE_ERROR",
15141
+ ITEM_REQUIREMENTS_ERROR = "ITEM_REQUIREMENTS_ERROR"
15108
15142
  }
15109
15143
  /**
15110
15144
  * Represents an error object with a specific type, optional message, and optional data.
@@ -15298,6 +15332,8 @@ type checkout_sdk_d_CheckoutModuleConfiguration = CheckoutModuleConfiguration;
15298
15332
  type checkout_sdk_d_ConnectParams = ConnectParams;
15299
15333
  type checkout_sdk_d_ConnectResult = ConnectResult;
15300
15334
  type checkout_sdk_d_DexConfig = DexConfig;
15335
+ type checkout_sdk_d_ERC20ItemRequirement = ERC20ItemRequirement;
15336
+ type checkout_sdk_d_ERC721ItemRequirement = ERC721ItemRequirement;
15301
15337
  type checkout_sdk_d_ErrorType = ErrorType;
15302
15338
  type checkout_sdk_d_ExchangeType = ExchangeType;
15303
15339
  declare const checkout_sdk_d_ExchangeType: typeof ExchangeType;
@@ -15323,8 +15359,10 @@ type checkout_sdk_d_GetTokenAllowListParams = GetTokenAllowListParams;
15323
15359
  type checkout_sdk_d_GetTokenAllowListResult = GetTokenAllowListResult;
15324
15360
  type checkout_sdk_d_GetWalletAllowListParams = GetWalletAllowListParams;
15325
15361
  type checkout_sdk_d_GetWalletAllowListResult = GetWalletAllowListResult;
15362
+ type checkout_sdk_d_ItemRequirement = ItemRequirement;
15326
15363
  type checkout_sdk_d_ItemType = ItemType;
15327
15364
  declare const checkout_sdk_d_ItemType: typeof ItemType;
15365
+ type checkout_sdk_d_NativeItemRequirement = NativeItemRequirement;
15328
15366
  type checkout_sdk_d_NetworkFilter = NetworkFilter;
15329
15367
  type checkout_sdk_d_NetworkFilterTypes = NetworkFilterTypes;
15330
15368
  declare const checkout_sdk_d_NetworkFilterTypes: typeof NetworkFilterTypes;
@@ -15369,6 +15407,8 @@ declare namespace checkout_sdk_d {
15369
15407
  checkout_sdk_d_ConnectParams as ConnectParams,
15370
15408
  checkout_sdk_d_ConnectResult as ConnectResult,
15371
15409
  checkout_sdk_d_DexConfig as DexConfig,
15410
+ checkout_sdk_d_ERC20ItemRequirement as ERC20ItemRequirement,
15411
+ checkout_sdk_d_ERC721ItemRequirement as ERC721ItemRequirement,
15372
15412
  checkout_sdk_d_ErrorType as ErrorType,
15373
15413
  checkout_sdk_d_ExchangeType as ExchangeType,
15374
15414
  checkout_sdk_d_FeePercentage as FeePercentage,
@@ -15391,7 +15431,9 @@ declare namespace checkout_sdk_d {
15391
15431
  checkout_sdk_d_GetTokenAllowListResult as GetTokenAllowListResult,
15392
15432
  checkout_sdk_d_GetWalletAllowListParams as GetWalletAllowListParams,
15393
15433
  checkout_sdk_d_GetWalletAllowListResult as GetWalletAllowListResult,
15434
+ checkout_sdk_d_ItemRequirement as ItemRequirement,
15394
15435
  checkout_sdk_d_ItemType as ItemType,
15436
+ checkout_sdk_d_NativeItemRequirement as NativeItemRequirement,
15395
15437
  checkout_sdk_d_NetworkFilter as NetworkFilter,
15396
15438
  checkout_sdk_d_NetworkFilterTypes as NetworkFilterTypes,
15397
15439
  checkout_sdk_d_NetworkInfo as NetworkInfo,
@@ -30423,673 +30465,4 @@ declare namespace checkout_widgets_d {
30423
30465
  };
30424
30466
  }
30425
30467
 
30426
- /* Autogenerated file. Do not edit manually. */
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 };
30468
+ 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 };