@imtbl/sdk 0.11.0-alpha → 0.13.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.js +1 -1
- package/dist/browser/checkout.js +2 -2
- package/dist/checkout_sdk.d.ts +14 -5
- package/dist/checkout_sdk.js +737 -1231
- package/dist/checkout_widgets.d.ts +10 -3
- package/dist/checkout_widgets.js +1 -1
- package/dist/erc20.js +9 -9
- package/dist/erc721_hybrid_permissioned_mintable.d.ts +531 -0
- package/dist/erc721_hybrid_permissioned_mintable.js +1559 -0
- package/dist/immutablex_client.js +1 -1
- package/dist/index.browser.js +15 -15
- package/dist/index.browser.js.map +1 -1
- package/dist/index.cjs +2639 -1587
- package/dist/index.d.ts +319 -17
- package/dist/index.js +2640 -1589
- package/dist/orderbook.d.ts +5 -4
- package/dist/orderbook.js +69 -998
- package/dist/passport.d.ts +10 -3
- package/dist/passport.js +181 -192
- package/package.json +7 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import { BlockchainDataConfiguration, BlockchainDataModuleConfiguration as BlockchainDataModuleConfiguration$1, ProviderConfiguration as ProviderConfiguration$1, ExchangeContracts } from 'config';
|
|
4
4
|
import { OrderbookOverrides, OrderbookModuleConfiguration } from 'config/config';
|
|
5
|
-
import { ListingResult, ListListingsResult, OrdersService } from 'openapi/sdk';
|
|
5
|
+
import { ListingResult, ListListingsResult, Fee as Fee$1, OrdersService } from 'openapi/sdk';
|
|
6
6
|
import { ListListingsParams as ListListingsParams$1, PrepareListingParams as PrepareListingParams$1, PrepareListingResponse as PrepareListingResponse$1, CreateListingParams as CreateListingParams$1, FulfillOrderResponse as FulfillOrderResponse$1, CancelOrderResponse as CancelOrderResponse$2 } from 'types';
|
|
7
7
|
|
|
8
8
|
declare enum Environment {
|
|
@@ -296,7 +296,7 @@ interface Deposit$1 {
|
|
|
296
296
|
* @export
|
|
297
297
|
* @interface Mint
|
|
298
298
|
*/
|
|
299
|
-
interface Mint$
|
|
299
|
+
interface Mint$2 {
|
|
300
300
|
/**
|
|
301
301
|
* The account address the asset was minted to
|
|
302
302
|
* @type {string}
|
|
@@ -595,7 +595,7 @@ interface Withdrawal$1 {
|
|
|
595
595
|
* The activity details
|
|
596
596
|
* @export
|
|
597
597
|
*/
|
|
598
|
-
type ActivityDetails = Burn | Deposit$1 | Mint$
|
|
598
|
+
type ActivityDetails = Burn | Deposit$1 | Mint$2 | NFTSale | Transfer$1 | Withdrawal$1;
|
|
599
599
|
|
|
600
600
|
/**
|
|
601
601
|
* Immutable zkEVM API
|
|
@@ -4797,7 +4797,7 @@ interface CreateTradeResponse {
|
|
|
4797
4797
|
* @export
|
|
4798
4798
|
* @interface TransferRequest
|
|
4799
4799
|
*/
|
|
4800
|
-
interface TransferRequest$
|
|
4800
|
+
interface TransferRequest$2 {
|
|
4801
4801
|
/**
|
|
4802
4802
|
* Amount to transfer
|
|
4803
4803
|
* @type {string}
|
|
@@ -4871,7 +4871,7 @@ interface CreateTransferRequest {
|
|
|
4871
4871
|
* @type {Array<TransferRequest>}
|
|
4872
4872
|
* @memberof CreateTransferRequest
|
|
4873
4873
|
*/
|
|
4874
|
-
'requests': Array<TransferRequest$
|
|
4874
|
+
'requests': Array<TransferRequest$2>;
|
|
4875
4875
|
/**
|
|
4876
4876
|
* Public stark key of the user sending the transfer
|
|
4877
4877
|
* @type {string}
|
|
@@ -7080,7 +7080,7 @@ interface ListDepositsResponse {
|
|
|
7080
7080
|
* @export
|
|
7081
7081
|
* @interface Mint
|
|
7082
7082
|
*/
|
|
7083
|
-
interface Mint {
|
|
7083
|
+
interface Mint$1 {
|
|
7084
7084
|
/**
|
|
7085
7085
|
* Fee details
|
|
7086
7086
|
* @type {Array<Fee>}
|
|
@@ -7154,7 +7154,7 @@ interface ListMintsResponse {
|
|
|
7154
7154
|
* @type {Array<Mint>}
|
|
7155
7155
|
* @memberof ListMintsResponse
|
|
7156
7156
|
*/
|
|
7157
|
-
'result': Array<Mint>;
|
|
7157
|
+
'result': Array<Mint$1>;
|
|
7158
7158
|
}
|
|
7159
7159
|
|
|
7160
7160
|
/**
|
|
@@ -10216,7 +10216,7 @@ declare class MintsApi extends BaseAPI {
|
|
|
10216
10216
|
* @throws {RequiredError}
|
|
10217
10217
|
* @memberof MintsApi
|
|
10218
10218
|
*/
|
|
10219
|
-
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Mint[], any>>;
|
|
10219
|
+
getMint(requestParameters: MintsApiGetMintRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<Mint$1[], any>>;
|
|
10220
10220
|
/**
|
|
10221
10221
|
* Get details of a mintable token with the given token address and token ID
|
|
10222
10222
|
* @summary Get details of a mintable token with the given token address and token ID
|
|
@@ -12557,7 +12557,7 @@ declare class ImmutableXClient {
|
|
|
12557
12557
|
* @returns a promise that resolves with the requested Mint
|
|
12558
12558
|
* @throws {@link index.IMXError}
|
|
12559
12559
|
*/
|
|
12560
|
-
getMint(request: MintsApiGetMintRequest): Promise<Mint[]>;
|
|
12560
|
+
getMint(request: MintsApiGetMintRequest): Promise<Mint$1[]>;
|
|
12561
12561
|
/**
|
|
12562
12562
|
* Get a list of Mints
|
|
12563
12563
|
* @param request optional object containing the parameters to be provided in the API request
|
|
@@ -12882,13 +12882,17 @@ interface PassportOverrides {
|
|
|
12882
12882
|
imxPublicApiDomain: string;
|
|
12883
12883
|
immutableXClient: ImmutableXClient;
|
|
12884
12884
|
zkEvmRpcUrl: string;
|
|
12885
|
-
zkEvmChainId: string;
|
|
12886
12885
|
relayerUrl: string;
|
|
12887
12886
|
indexerMrBasePath: string;
|
|
12888
12887
|
orderBookMrBasePath: string;
|
|
12889
12888
|
passportMrBasePath: string;
|
|
12890
12889
|
}
|
|
12891
12890
|
interface PassportModuleConfiguration extends ModuleConfiguration<PassportOverrides>, OidcConfiguration {
|
|
12891
|
+
/**
|
|
12892
|
+
* This flag indicates that Passport is being used in a cross-sdk bridge scenario
|
|
12893
|
+
* and not directly on the web.
|
|
12894
|
+
*/
|
|
12895
|
+
crossSdkBridgeEnabled?: boolean;
|
|
12892
12896
|
}
|
|
12893
12897
|
type DeviceConnectResponse = {
|
|
12894
12898
|
code: string;
|
|
@@ -12906,6 +12910,8 @@ type DeviceTokenResponse = {
|
|
|
12906
12910
|
|
|
12907
12911
|
/**
|
|
12908
12912
|
* ProviderErrors should take priority over RpcErrorCodes
|
|
12913
|
+
* https://eips.ethereum.org/EIPS/eip-1193#provider-errors
|
|
12914
|
+
* https://eips.ethereum.org/EIPS/eip-1474#error-codes
|
|
12909
12915
|
*/
|
|
12910
12916
|
declare enum ProviderErrorCode {
|
|
12911
12917
|
USER_REJECTED_REQUEST = 4001,
|
|
@@ -12920,7 +12926,7 @@ declare enum RpcErrorCode {
|
|
|
12920
12926
|
INVALID_PARAMS = -32602,
|
|
12921
12927
|
INTERNAL_ERROR = -32603,
|
|
12922
12928
|
PARSE_ERROR = -32700,
|
|
12923
|
-
|
|
12929
|
+
TRANSACTION_REJECTED = -32003
|
|
12924
12930
|
}
|
|
12925
12931
|
declare class JsonRpcError extends Error {
|
|
12926
12932
|
readonly message: string;
|
|
@@ -12964,8 +12970,9 @@ declare class Passport {
|
|
|
12964
12970
|
private readonly confirmationScreen;
|
|
12965
12971
|
private readonly immutableXClient;
|
|
12966
12972
|
private readonly magicAdapter;
|
|
12967
|
-
private readonly passportImxProviderFactory;
|
|
12968
12973
|
private readonly multiRollupApiClients;
|
|
12974
|
+
private readonly passportImxProviderFactory;
|
|
12975
|
+
private readonly passportEventEmitter;
|
|
12969
12976
|
constructor(passportModuleConfiguration: PassportModuleConfiguration);
|
|
12970
12977
|
connectImxSilent(): Promise<IMXProvider | null>;
|
|
12971
12978
|
connectImx(): Promise<IMXProvider>;
|
|
@@ -13065,8 +13072,8 @@ declare class Orderbook {
|
|
|
13065
13072
|
/**
|
|
13066
13073
|
* List orders. This method is used to get a list of orders filtered by conditions specified
|
|
13067
13074
|
* in the params object.
|
|
13068
|
-
* @param {
|
|
13069
|
-
* @return {
|
|
13075
|
+
* @param {ListListingsParams} listOrderParams - Filtering, ordering and page parameters.
|
|
13076
|
+
* @return {ListListingsResult} The paged orders.
|
|
13070
13077
|
*/
|
|
13071
13078
|
listListings(listOrderParams: ListListingsParams$1): Promise<ListListingsResult>;
|
|
13072
13079
|
/**
|
|
@@ -13092,7 +13099,7 @@ declare class Orderbook {
|
|
|
13092
13099
|
* @param {string} fulfillerAddress - The address of the account fulfilling the order.
|
|
13093
13100
|
* @return {FulfillOrderResponse} Approval and fulfilment transactions.
|
|
13094
13101
|
*/
|
|
13095
|
-
fulfillOrder(listingId: string, takerAddress: string): Promise<FulfillOrderResponse$1>;
|
|
13102
|
+
fulfillOrder(listingId: string, takerAddress: string, takerFee?: Fee$1): Promise<FulfillOrderResponse$1>;
|
|
13096
13103
|
/**
|
|
13097
13104
|
* Get an unsigned cancel order transaction. Orders can only be cancelled by
|
|
13098
13105
|
* the account that created them.
|
|
@@ -13187,6 +13194,7 @@ interface CreateListingParams {
|
|
|
13187
13194
|
orderComponents: OrderComponents;
|
|
13188
13195
|
orderHash: string;
|
|
13189
13196
|
orderSignature: string;
|
|
13197
|
+
makerFee?: Fee$1;
|
|
13190
13198
|
}
|
|
13191
13199
|
type ListListingsParams = Omit<Parameters<typeof OrdersService.prototype.listListings>[0], 'chainName'>;
|
|
13192
13200
|
declare enum TransactionPurpose {
|
|
@@ -13922,7 +13930,9 @@ declare enum CheckoutErrorType {
|
|
|
13922
13930
|
INVALID_GAS_ESTIMATE_TYPE = "INVALID_GAS_ESTIMATE_TYPE",
|
|
13923
13931
|
UNSUPPORTED_TOKEN_TYPE_ERROR = "UNSUPPORTED_TOKEN_TYPE_ERROR",
|
|
13924
13932
|
GET_ORDER_LISTING_ERROR = "GET_ORDER_LISTING_ERROR",
|
|
13925
|
-
SWITCH_NETWORK_UNSUPPORTED = "SWITCH_NETWORK_UNSUPPORTED"
|
|
13933
|
+
SWITCH_NETWORK_UNSUPPORTED = "SWITCH_NETWORK_UNSUPPORTED",
|
|
13934
|
+
GET_ERC20_ALLOWANCE_ERROR = "GET_ERC20_ALLOWANCE_ERROR",
|
|
13935
|
+
GET_ERC721_ALLOWANCE_ERROR = "GET_ERC721_ALLOWANCE_ERROR"
|
|
13926
13936
|
}
|
|
13927
13937
|
/**
|
|
13928
13938
|
* Represents an error object with a specific type, optional message, and optional data.
|
|
@@ -14076,6 +14086,8 @@ type checkout_sdk_d_GasEstimateSwapResult = GasEstimateSwapResult;
|
|
|
14076
14086
|
type checkout_sdk_d_GasEstimateTokenConfig = GasEstimateTokenConfig;
|
|
14077
14087
|
type checkout_sdk_d_GasEstimateType = GasEstimateType;
|
|
14078
14088
|
declare const checkout_sdk_d_GasEstimateType: typeof GasEstimateType;
|
|
14089
|
+
type checkout_sdk_d_GasTokenType = GasTokenType;
|
|
14090
|
+
declare const checkout_sdk_d_GasTokenType: typeof GasTokenType;
|
|
14079
14091
|
type checkout_sdk_d_GetAllBalancesParams = GetAllBalancesParams;
|
|
14080
14092
|
type checkout_sdk_d_GetAllBalancesResult = GetAllBalancesResult;
|
|
14081
14093
|
type checkout_sdk_d_GetBalanceParams = GetBalanceParams;
|
|
@@ -14087,6 +14099,8 @@ type checkout_sdk_d_GetTokenAllowListParams = GetTokenAllowListParams;
|
|
|
14087
14099
|
type checkout_sdk_d_GetTokenAllowListResult = GetTokenAllowListResult;
|
|
14088
14100
|
type checkout_sdk_d_GetWalletAllowListParams = GetWalletAllowListParams;
|
|
14089
14101
|
type checkout_sdk_d_GetWalletAllowListResult = GetWalletAllowListResult;
|
|
14102
|
+
type checkout_sdk_d_ItemType = ItemType;
|
|
14103
|
+
declare const checkout_sdk_d_ItemType: typeof ItemType;
|
|
14090
14104
|
type checkout_sdk_d_NetworkFilter = NetworkFilter;
|
|
14091
14105
|
type checkout_sdk_d_NetworkFilterTypes = NetworkFilterTypes;
|
|
14092
14106
|
declare const checkout_sdk_d_NetworkFilterTypes: typeof NetworkFilterTypes;
|
|
@@ -14101,6 +14115,8 @@ type checkout_sdk_d_TokenFilter = TokenFilter;
|
|
|
14101
14115
|
type checkout_sdk_d_TokenFilterTypes = TokenFilterTypes;
|
|
14102
14116
|
declare const checkout_sdk_d_TokenFilterTypes: typeof TokenFilterTypes;
|
|
14103
14117
|
type checkout_sdk_d_TokenInfo = TokenInfo;
|
|
14118
|
+
type checkout_sdk_d_TransactionOrGasType = TransactionOrGasType;
|
|
14119
|
+
declare const checkout_sdk_d_TransactionOrGasType: typeof TransactionOrGasType;
|
|
14104
14120
|
type checkout_sdk_d_WalletFilter = WalletFilter;
|
|
14105
14121
|
type checkout_sdk_d_WalletFilterTypes = WalletFilterTypes;
|
|
14106
14122
|
declare const checkout_sdk_d_WalletFilterTypes: typeof WalletFilterTypes;
|
|
@@ -14128,6 +14144,7 @@ declare namespace checkout_sdk_d {
|
|
|
14128
14144
|
checkout_sdk_d_GasEstimateSwapResult as GasEstimateSwapResult,
|
|
14129
14145
|
checkout_sdk_d_GasEstimateTokenConfig as GasEstimateTokenConfig,
|
|
14130
14146
|
checkout_sdk_d_GasEstimateType as GasEstimateType,
|
|
14147
|
+
checkout_sdk_d_GasTokenType as GasTokenType,
|
|
14131
14148
|
checkout_sdk_d_GetAllBalancesParams as GetAllBalancesParams,
|
|
14132
14149
|
checkout_sdk_d_GetAllBalancesResult as GetAllBalancesResult,
|
|
14133
14150
|
checkout_sdk_d_GetBalanceParams as GetBalanceParams,
|
|
@@ -14139,6 +14156,7 @@ declare namespace checkout_sdk_d {
|
|
|
14139
14156
|
checkout_sdk_d_GetTokenAllowListResult as GetTokenAllowListResult,
|
|
14140
14157
|
checkout_sdk_d_GetWalletAllowListParams as GetWalletAllowListParams,
|
|
14141
14158
|
checkout_sdk_d_GetWalletAllowListResult as GetWalletAllowListResult,
|
|
14159
|
+
checkout_sdk_d_ItemType as ItemType,
|
|
14142
14160
|
checkout_sdk_d_NetworkFilter as NetworkFilter,
|
|
14143
14161
|
checkout_sdk_d_NetworkFilterTypes as NetworkFilterTypes,
|
|
14144
14162
|
checkout_sdk_d_NetworkInfo as NetworkInfo,
|
|
@@ -14151,6 +14169,7 @@ declare namespace checkout_sdk_d {
|
|
|
14151
14169
|
checkout_sdk_d_TokenFilter as TokenFilter,
|
|
14152
14170
|
checkout_sdk_d_TokenFilterTypes as TokenFilterTypes,
|
|
14153
14171
|
checkout_sdk_d_TokenInfo as TokenInfo,
|
|
14172
|
+
checkout_sdk_d_TransactionOrGasType as TransactionOrGasType,
|
|
14154
14173
|
checkout_sdk_d_WalletFilter as WalletFilter,
|
|
14155
14174
|
checkout_sdk_d_WalletFilterTypes as WalletFilterTypes,
|
|
14156
14175
|
checkout_sdk_d_WalletInfo as WalletInfo,
|
|
@@ -29128,6 +29147,289 @@ declare namespace erc20_d {
|
|
|
29128
29147
|
|
|
29129
29148
|
type PromiseOrValue<T> = T | Promise<T>;
|
|
29130
29149
|
|
|
29150
|
+
declare namespace ERC721Hybrid {
|
|
29151
|
+
type IDMintStruct = {
|
|
29152
|
+
to: PromiseOrValue<string>;
|
|
29153
|
+
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
29154
|
+
};
|
|
29155
|
+
type IDMintStructOutput = [string, BigNumber[]] & {
|
|
29156
|
+
to: string;
|
|
29157
|
+
tokenIds: BigNumber[];
|
|
29158
|
+
};
|
|
29159
|
+
type MintStruct = {
|
|
29160
|
+
to: PromiseOrValue<string>;
|
|
29161
|
+
quantity: PromiseOrValue<BigNumberish>;
|
|
29162
|
+
};
|
|
29163
|
+
type MintStructOutput = [string, BigNumber] & {
|
|
29164
|
+
to: string;
|
|
29165
|
+
quantity: BigNumber;
|
|
29166
|
+
};
|
|
29167
|
+
type TransferRequestStruct = {
|
|
29168
|
+
from: PromiseOrValue<string>;
|
|
29169
|
+
tos: PromiseOrValue<string>[];
|
|
29170
|
+
tokenIds: PromiseOrValue<BigNumberish>[];
|
|
29171
|
+
};
|
|
29172
|
+
type TransferRequestStructOutput = [string, string[], BigNumber[]] & {
|
|
29173
|
+
from: string;
|
|
29174
|
+
tos: string[];
|
|
29175
|
+
tokenIds: BigNumber[];
|
|
29176
|
+
};
|
|
29177
|
+
}
|
|
29178
|
+
|
|
29179
|
+
type Mint = ERC721Hybrid.MintStruct;
|
|
29180
|
+
type IDMint$1 = ERC721Hybrid.IDMintStruct;
|
|
29181
|
+
type TransferRequest$1 = ERC721Hybrid.TransferRequestStruct;
|
|
29182
|
+
declare class ERC721HybridPermissionedMintable {
|
|
29183
|
+
private readonly contract;
|
|
29184
|
+
constructor(contractAddress: string);
|
|
29185
|
+
/**
|
|
29186
|
+
* Read functions
|
|
29187
|
+
*/
|
|
29188
|
+
/**
|
|
29189
|
+
* @returns the DEFAULT_ADMIN_ROLE as a string.
|
|
29190
|
+
*/
|
|
29191
|
+
DEFAULT_ADMIN_ROLE(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
29192
|
+
/**
|
|
29193
|
+
* @returns the MINTER_ROLE as a string.
|
|
29194
|
+
*/
|
|
29195
|
+
MINTER_ROLE(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
29196
|
+
/**
|
|
29197
|
+
* @returns the balance of an address as a BigNumber.
|
|
29198
|
+
*/
|
|
29199
|
+
balanceOf(provider: Provider$1, owner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
29200
|
+
/**
|
|
29201
|
+
* @returns the baseURI as a string.
|
|
29202
|
+
*/
|
|
29203
|
+
baseURI(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
29204
|
+
/**
|
|
29205
|
+
* @returns the contractURI as a string.
|
|
29206
|
+
*/
|
|
29207
|
+
contractURI(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
29208
|
+
/**
|
|
29209
|
+
* @returns admin addresses as an array of strings.
|
|
29210
|
+
*/
|
|
29211
|
+
getAdmins(provider: Provider$1, overrides?: CallOverrides): Promise<string[]>;
|
|
29212
|
+
/**
|
|
29213
|
+
* @returns the approved address for a token ID, or zero if no address set.
|
|
29214
|
+
*/
|
|
29215
|
+
getApproved(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
29216
|
+
/**
|
|
29217
|
+
* @returns the role admin address.
|
|
29218
|
+
*/
|
|
29219
|
+
getRoleAdmin(provider: Provider$1, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<string>;
|
|
29220
|
+
/**
|
|
29221
|
+
* @returns the role member address at a particular index.
|
|
29222
|
+
*/
|
|
29223
|
+
getRoleMember(provider: Provider$1, role: PromiseOrValue<BytesLike>, index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
29224
|
+
/**
|
|
29225
|
+
* @returns the role member count as a BigNumber.
|
|
29226
|
+
*/
|
|
29227
|
+
getRoleMemberCount(provider: Provider$1, role: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>;
|
|
29228
|
+
/**
|
|
29229
|
+
* @returns a boolean for whether an account has a particular role.
|
|
29230
|
+
*/
|
|
29231
|
+
hasRole(provider: Provider$1, role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
29232
|
+
/**
|
|
29233
|
+
* @returns a booolean that tells whether an operator is approved by a given owner.
|
|
29234
|
+
*/
|
|
29235
|
+
isApprovedForAll(provider: Provider$1, owner: PromiseOrValue<string>, operator: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>;
|
|
29236
|
+
/**
|
|
29237
|
+
* @returns the name of the contract as a string.
|
|
29238
|
+
*/
|
|
29239
|
+
name(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
29240
|
+
/**
|
|
29241
|
+
* @returns the owner address of a particular tokenId.
|
|
29242
|
+
*/
|
|
29243
|
+
ownerOf(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
29244
|
+
/**
|
|
29245
|
+
* @returns the royalty allowlist as a string.
|
|
29246
|
+
*/
|
|
29247
|
+
royaltyAllowlist(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
29248
|
+
/**
|
|
29249
|
+
* @returns the royalty information for a particular tokenId.
|
|
29250
|
+
*/
|
|
29251
|
+
royaltyInfo(provider: Provider$1, _tokenId: PromiseOrValue<BigNumberish>, _salePrice: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[string, BigNumber]>;
|
|
29252
|
+
/**
|
|
29253
|
+
* @returns the symbol of the contract as a string.
|
|
29254
|
+
*/
|
|
29255
|
+
symbol(provider: Provider$1, overrides?: CallOverrides): Promise<string>;
|
|
29256
|
+
/**
|
|
29257
|
+
* @returns the Uniform Resource Identifier (URI) for tokenId token.
|
|
29258
|
+
*/
|
|
29259
|
+
tokenURI(provider: Provider$1, tokenId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<string>;
|
|
29260
|
+
/**
|
|
29261
|
+
* @returns returns the total amount of tokens stored by the contract.
|
|
29262
|
+
*/
|
|
29263
|
+
totalSupply(provider: Provider$1, overrides?: CallOverrides): Promise<BigNumber>;
|
|
29264
|
+
/**
|
|
29265
|
+
* Write functions
|
|
29266
|
+
*/
|
|
29267
|
+
/**
|
|
29268
|
+
* @returns a populated transaction for the approve contract function
|
|
29269
|
+
*/
|
|
29270
|
+
populateApprove(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29271
|
+
from?: PromiseOrValue<string>;
|
|
29272
|
+
}): Promise<PopulatedTransaction>;
|
|
29273
|
+
/**
|
|
29274
|
+
* @returns a populated transaction for the burn contract function
|
|
29275
|
+
*/
|
|
29276
|
+
populateBurn(tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29277
|
+
from?: PromiseOrValue<string>;
|
|
29278
|
+
}): Promise<PopulatedTransaction>;
|
|
29279
|
+
/**
|
|
29280
|
+
* @returns a populated transaction for the batch burn contract function
|
|
29281
|
+
*/
|
|
29282
|
+
populateBurnBatch(tokenIds: PromiseOrValue<BigNumberish>[], overrides?: Overrides & {
|
|
29283
|
+
from?: PromiseOrValue<string>;
|
|
29284
|
+
}): Promise<PopulatedTransaction>;
|
|
29285
|
+
/**
|
|
29286
|
+
* @returns a populated transaction for the grantMinterRole contract function
|
|
29287
|
+
*/
|
|
29288
|
+
populateGrantMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29289
|
+
from?: PromiseOrValue<string>;
|
|
29290
|
+
}): Promise<PopulatedTransaction>;
|
|
29291
|
+
/**
|
|
29292
|
+
* @returns a populated transaction for the grantRole contract function
|
|
29293
|
+
*/
|
|
29294
|
+
populateGrantRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29295
|
+
from?: PromiseOrValue<string>;
|
|
29296
|
+
}): Promise<PopulatedTransaction>;
|
|
29297
|
+
/**
|
|
29298
|
+
* @returns a populated transaction for the mint by ID contract function
|
|
29299
|
+
*/
|
|
29300
|
+
populateMintByID(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29301
|
+
from?: PromiseOrValue<string>;
|
|
29302
|
+
}): Promise<PopulatedTransaction>;
|
|
29303
|
+
/**
|
|
29304
|
+
* @returns a populated transaction for the safe mint by ID contract function
|
|
29305
|
+
*/
|
|
29306
|
+
populateSafeMintByID(to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29307
|
+
from?: PromiseOrValue<string>;
|
|
29308
|
+
}): Promise<PopulatedTransaction>;
|
|
29309
|
+
/**
|
|
29310
|
+
* @returns a populated transaction for the mint by quantity contract function
|
|
29311
|
+
*/
|
|
29312
|
+
populateMintByQuantity(to: PromiseOrValue<string>, quantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29313
|
+
from?: PromiseOrValue<string>;
|
|
29314
|
+
}): Promise<PopulatedTransaction>;
|
|
29315
|
+
/**
|
|
29316
|
+
* @returns a populated transaction for the safe mint by quantity contract function
|
|
29317
|
+
*/
|
|
29318
|
+
populateSafeMintByQuantity(to: PromiseOrValue<string>, quantity: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29319
|
+
from?: PromiseOrValue<string>;
|
|
29320
|
+
}): Promise<PopulatedTransaction>;
|
|
29321
|
+
/**
|
|
29322
|
+
* @returns a populated transaction for the batch mint by quantity contract function
|
|
29323
|
+
*/
|
|
29324
|
+
populateBatchMintByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
29325
|
+
from?: PromiseOrValue<string>;
|
|
29326
|
+
}): Promise<PopulatedTransaction>;
|
|
29327
|
+
/**
|
|
29328
|
+
* @returns a populated transaction for the batch safe mint by quantity contract function
|
|
29329
|
+
*/
|
|
29330
|
+
populateBatchSafeMintByQuantity(mints: Mint[], overrides?: Overrides & {
|
|
29331
|
+
from?: PromiseOrValue<string>;
|
|
29332
|
+
}): Promise<PopulatedTransaction>;
|
|
29333
|
+
/**
|
|
29334
|
+
* @returns a populated transaction for the batch mint by ID to multiple recipients contract function
|
|
29335
|
+
*/
|
|
29336
|
+
populateBatchMintByIDToMultiple(mints: IDMint$1[], overrides?: Overrides & {
|
|
29337
|
+
from?: PromiseOrValue<string>;
|
|
29338
|
+
}): Promise<PopulatedTransaction>;
|
|
29339
|
+
/**
|
|
29340
|
+
* @returns a populated transaction for the batch safe mint by ID to multiple recipients contract function
|
|
29341
|
+
*/
|
|
29342
|
+
populateBatchSafeMintByIDToMultiple(mints: IDMint$1[], overrides?: Overrides & {
|
|
29343
|
+
from?: PromiseOrValue<string>;
|
|
29344
|
+
}): Promise<PopulatedTransaction>;
|
|
29345
|
+
/**
|
|
29346
|
+
* @returns a populated transaction for the renounceRole contract function
|
|
29347
|
+
*/
|
|
29348
|
+
populateRenounceRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29349
|
+
from?: PromiseOrValue<string>;
|
|
29350
|
+
}): Promise<PopulatedTransaction>;
|
|
29351
|
+
/**
|
|
29352
|
+
* @returns a populated transaction for the revokeMinterRole contract function
|
|
29353
|
+
*/
|
|
29354
|
+
populateRevokeMinterRole(user: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29355
|
+
from?: PromiseOrValue<string>;
|
|
29356
|
+
}): Promise<PopulatedTransaction>;
|
|
29357
|
+
/**
|
|
29358
|
+
* @returns a populated transaction for the revokeRole contract function
|
|
29359
|
+
*/
|
|
29360
|
+
populateRevokeRole(role: PromiseOrValue<BytesLike>, account: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29361
|
+
from?: PromiseOrValue<string>;
|
|
29362
|
+
}): Promise<PopulatedTransaction>;
|
|
29363
|
+
/**
|
|
29364
|
+
* @returns a populated transaction for the batch save transfer from function
|
|
29365
|
+
*/
|
|
29366
|
+
populateSafeTransferFromBatch(transfers: TransferRequest$1, overrides?: Overrides & {
|
|
29367
|
+
from?: PromiseOrValue<string>;
|
|
29368
|
+
}): Promise<PopulatedTransaction>;
|
|
29369
|
+
/**
|
|
29370
|
+
* @returns a populated transaction for the safeTransferFrom(address,address,uint256) contract function
|
|
29371
|
+
*/
|
|
29372
|
+
'populateSafeTransferFrom(address,address,uint256)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29373
|
+
from?: PromiseOrValue<string>;
|
|
29374
|
+
}): Promise<PopulatedTransaction>;
|
|
29375
|
+
/**
|
|
29376
|
+
* @returns a populated transaction for the safeTransferFrom(address,address,uint256,bytes) contract function
|
|
29377
|
+
*/
|
|
29378
|
+
'populateSafeTransferFrom(address,address,uint256,bytes)'(from: PromiseOrValue<string>, to: PromiseOrValue<string>, tokenId: PromiseOrValue<BigNumberish>, data: PromiseOrValue<BytesLike>, overrides?: Overrides & {
|
|
29379
|
+
from?: PromiseOrValue<string>;
|
|
29380
|
+
}): Promise<PopulatedTransaction>;
|
|
29381
|
+
/**
|
|
29382
|
+
* @returns a populated transaction for the setApprovalForAll contract function
|
|
29383
|
+
*/
|
|
29384
|
+
populateSetApprovalForAll(operator: PromiseOrValue<string>, approved: PromiseOrValue<boolean>, overrides?: Overrides & {
|
|
29385
|
+
from?: PromiseOrValue<string>;
|
|
29386
|
+
}): Promise<PopulatedTransaction>;
|
|
29387
|
+
/**
|
|
29388
|
+
* @returns a populated transaction for the setBaseURI contract function
|
|
29389
|
+
*/
|
|
29390
|
+
populateSetBaseURI(baseURI_: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29391
|
+
from?: PromiseOrValue<string>;
|
|
29392
|
+
}): Promise<PopulatedTransaction>;
|
|
29393
|
+
/**
|
|
29394
|
+
* @returns a populated transaction for the setContractURI contract function
|
|
29395
|
+
*/
|
|
29396
|
+
populateSetContractURI(_contractURI: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29397
|
+
from?: PromiseOrValue<string>;
|
|
29398
|
+
}): Promise<PopulatedTransaction>;
|
|
29399
|
+
/**
|
|
29400
|
+
* @returns a populated transaction for the setDefaultRoyaltyReceiver contract function
|
|
29401
|
+
*/
|
|
29402
|
+
populateSetDefaultRoyaltyReceiver(receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29403
|
+
from?: PromiseOrValue<string>;
|
|
29404
|
+
}): Promise<PopulatedTransaction>;
|
|
29405
|
+
/**
|
|
29406
|
+
* @returns a populated transaction for the setNFTRoyaltyReceiver contract function
|
|
29407
|
+
*/
|
|
29408
|
+
populateSetNFTRoyaltyReceiver(tokenId: PromiseOrValue<BigNumberish>, receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29409
|
+
from?: PromiseOrValue<string>;
|
|
29410
|
+
}): Promise<PopulatedTransaction>;
|
|
29411
|
+
/**
|
|
29412
|
+
* @returns a populated transaction for the setNFTRoyaltyReceiverBatch contract function
|
|
29413
|
+
*/
|
|
29414
|
+
populateSetNFTRoyaltyReceiverBatch(tokenIds: PromiseOrValue<BigNumberish>[], receiver: PromiseOrValue<string>, feeNumerator: PromiseOrValue<BigNumberish>, overrides?: Overrides & {
|
|
29415
|
+
from?: PromiseOrValue<string>;
|
|
29416
|
+
}): Promise<PopulatedTransaction>;
|
|
29417
|
+
/**
|
|
29418
|
+
* @returns a populated transaction for the setRoyaltyAllowlistRegistry contract function
|
|
29419
|
+
*/
|
|
29420
|
+
populateSetRoyaltyAllowlistRegistry(_royaltyAllowlist: PromiseOrValue<string>, overrides?: Overrides & {
|
|
29421
|
+
from?: PromiseOrValue<string>;
|
|
29422
|
+
}): Promise<PopulatedTransaction>;
|
|
29423
|
+
}
|
|
29424
|
+
|
|
29425
|
+
type erc721_hybrid_permissioned_mintable_d_ERC721HybridPermissionedMintable = ERC721HybridPermissionedMintable;
|
|
29426
|
+
declare const erc721_hybrid_permissioned_mintable_d_ERC721HybridPermissionedMintable: typeof ERC721HybridPermissionedMintable;
|
|
29427
|
+
declare namespace erc721_hybrid_permissioned_mintable_d {
|
|
29428
|
+
export {
|
|
29429
|
+
erc721_hybrid_permissioned_mintable_d_ERC721HybridPermissionedMintable as ERC721HybridPermissionedMintable,
|
|
29430
|
+
};
|
|
29431
|
+
}
|
|
29432
|
+
|
|
29131
29433
|
declare namespace ImmutableERC721Base {
|
|
29132
29434
|
type IDMintStruct = {
|
|
29133
29435
|
to: PromiseOrValue<string>;
|
|
@@ -29366,4 +29668,4 @@ declare namespace erc721_permissioned_mintable_d {
|
|
|
29366
29668
|
};
|
|
29367
29669
|
}
|
|
29368
29670
|
|
|
29369
|
-
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_permissioned_mintable_d as erc721PermissionedMintable, immutablex_client_d as immutablexClient, orderbook_d as orderbook, passport_d as passport, provider_d as provider };
|
|
29671
|
+
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_hybrid_permissioned_mintable_d as erc721HybridPermissionedMintable, erc721_permissioned_mintable_d as erc721PermissionedMintable, immutablex_client_d as immutablexClient, orderbook_d as orderbook, passport_d as passport, provider_d as provider };
|