UNPKG

oken-waas

Version:
226 lines (181 loc) 4.1 kB
/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import BN from "bn.js"; export type TxID = { transactionId: string }; export interface LootBoxNFT { ADMIN_ROLE(): Promise<string>; DEFAULT_ADMIN_ROLE(): Promise<string>; MINTER_ROLE(): Promise<string>; PAUSER_ROLE(): Promise<string>; addTierURI: { ({ _newURI }: { _newURI: string }): Promise<TxID>; }; approve: { ({ to, tokenId, }: { to: string; tokenId: number | BN | string; }): Promise<TxID>; }; balanceOf({ owner }: { owner: string }): Promise<BN>; batchMint: { ({ _to, _tier, _amount, }: { _to: string; _tier: number | BN | string; _amount: number | BN | string; }): Promise<TxID>; }; burn: { ({ tokenId }: { tokenId: number | BN | string }): Promise<TxID>; }; getApproved({ tokenId }: { tokenId: number | BN | string }): Promise<string>; getRoleAdmin({ role }: { role: string }): Promise<string>; grantRole: { ({ role, account }: { role: string; account: string }): Promise<TxID>; }; hasRole({ role, account, }: { role: string; account: string; }): Promise<boolean>; initialize: { ({ _name, _symbol, _tierURIs, _owner, }: { _name: string; _symbol: string; _tierURIs: string[]; _owner: string; }): Promise<TxID>; }; isApprovedForAll({ owner, operator, }: { owner: string; operator: string; }): Promise<boolean>; lockForReveal: { ({ _owner, _tokenId, }: { _owner: string; _tokenId: number | BN | string; }): Promise<TxID>; }; mint: { ({ _to, _tier, }: { _to: string; _tier: number | BN | string; }): Promise<TxID>; }; name(): Promise<string>; owner(): Promise<string>; ownerOf({ tokenId }: { tokenId: number | BN | string }): Promise<string>; pause: { (): Promise<TxID>; }; paused(): Promise<boolean>; renounceRole: { ({ role, account }: { role: string; account: string }): Promise<TxID>; }; revealContract(): Promise<string>; revokeRole: { ({ role, account }: { role: string; account: string }): Promise<TxID>; }; setApprovalForAll: { ({ operator, approved, }: { operator: string; approved: boolean; }): Promise<TxID>; }; setOwner: { ({ _newOwner }: { _newOwner: string }): Promise<TxID>; }; setRevealContract: { ({ _contract }: { _contract: string }): Promise<TxID>; }; supportsInterface({ interfaceId }: { interfaceId: string }): Promise<boolean>; symbol(): Promise<string>; tierCIDs({ arg0 }: { arg0: number | BN | string }): Promise<string>; tokenByIndex({ index }: { index: number | BN | string }): Promise<BN>; tokenOfOwnerByIndex({ owner, index, }: { owner: string; index: number | BN | string; }): Promise<BN>; tokenTierMap({ _tokenId }: { _tokenId: number | BN | string }): Promise<BN>; tokenURI({ tokenId }: { tokenId: number | BN | string }): Promise<string>; totalSupply(): Promise<BN>; transferFrom: { ({ from, to, tokenId, }: { from: string; to: string; tokenId: number | BN | string; }): Promise<TxID>; }; unpause: { (): Promise<TxID>; }; updateBaseTokenURI: { ({ _newBaseTokenURI }: { _newBaseTokenURI: string }): Promise<TxID>; }; updateTierURI: { ({ _tier, _newURI, }: { _tier: number | BN | string; _newURI: string; }): Promise<TxID>; }; "safeTransferFrom(address,address,uint256)": { ({ from, to, tokenId, }: { from: string; to: string; tokenId: number | BN | string; }): Promise<TxID>; }; "safeTransferFrom(address,address,uint256,bytes)": { ({ from, to, tokenId, data, }: { from: string; to: string; tokenId: number | BN | string; data: string; }): Promise<TxID>; }; }