Interface RealFevrOpenerMethods
Methods
approve
- approve(to: string, tokenId: number): ContractSendMethod
Parameters
to: string
tokenId: number
Returns ContractSendMethod
buyPack
- buyPack(packId: number): ContractSendMethod
Parameters
Returns ContractSendMethod
buyPacks
- buyPacks(packIds: number[]): ContractSendMethod
Parameters
Returns ContractSendMethod
createPack
- createPack(nftAmount: number, price: string | number, serie: string, packType: string, drop: string, saleStart: number, saleDistributionAddresses: string[], saleDistributionAmounts: number[], marketplaceDistributionAddresses: string[], marketplaceDistributionAmounts: number[]): ContractSendMethod
Parameters
nftAmount: number
price: string | number
serie: string
packType: string
drop: string
saleStart: number
saleDistributionAddresses: string[]
saleDistributionAmounts: number[]
marketplaceDistributionAddresses: string[]
marketplaceDistributionAmounts: number[]
Returns ContractSendMethod
deletePackById
- deletePackById(packId: number): ContractSendMethod
Parameters
Returns ContractSendMethod
editPackInfo
- editPackInfo(_packId: number, _saleStart: number, serie: string, packType: string, drop: string, price: string | number): ContractSendMethod
Parameters
_packId: number
_saleStart: number
serie: string
packType: string
drop: string
price: string | number
Returns ContractSendMethod
getMarketplaceDistributionForERC721
- getMarketplaceDistributionForERC721(tokenId: number): any
getPackbyId
- getPackbyId(_packId: number): ContractCallMethod<{ 0: number; 1: number; 2: number; 3: string; 4: string; 5: string; 6: string; 7: string[]; 8: number[]; 9: boolean }>
Parameters
Returns ContractCallMethod<{ 0: number; 1: number; 2: number; 3: string; 4: string; 5: string; 6: string; 7: string[]; 8: number[]; 9: boolean }>
getTokenWorthof1USD
- getTokenWorthof1USD(): number
isApprovedForAll
Parameters
owner: string
operator: string
lock
- lock(): ContractSendMethod
Returns ContractSendMethod
mint
- mint(tokenIdToMint: number): ContractSendMethod
Parameters
Returns ContractSendMethod
offerPack
- offerPack(packId: number, receivingAddress: string): ContractSendMethod
Parameters
packId: number
receivingAddress: string
Returns ContractSendMethod
openPack
- openPack(packId: number): ContractSendMethod
Parameters
Returns ContractSendMethod
openPacks
- openPacks(packIds: number[]): ContractSendMethod
Parameters
Returns ContractSendMethod
packs
- packs(v1: number): ContractCallMethod<{ 0: number; 1: number; 2: number; 3: number; 4: number; 5: number; 6: string; 7: string; 8: string; 9: string }>
Parameters
Returns ContractCallMethod<{ 0: number; 1: number; 2: number; 3: number; 4: number; 5: number; 6: string; 7: string; 8: string; 9: string }>
safeTransferFrom
- safeTransferFrom(from: string, to: string, tokenId: number): ContractSendMethod
- safeTransferFrom(from: string, to: string, tokenId: number, _data?: string): ContractSendMethod
Parameters
from: string
to: string
tokenId: number
Returns ContractSendMethod
Parameters
from: string
to: string
tokenId: number
Optional _data: string
Returns ContractSendMethod
setApprovalForAll
- setApprovalForAll(operator: string, approved: boolean): ContractSendMethod
Parameters
operator: string
approved: boolean
Returns ContractSendMethod
setBaseURI
- setBaseURI(baseURI: string): ContractSendMethod
Parameters
Returns ContractSendMethod
setPurchaseTokenAddress
- setPurchaseTokenAddress(purchaseToken: string): ContractSendMethod
Parameters
Returns ContractSendMethod
setTokenPriceInUSD
- setTokenPriceInUSD(newPrice: number): ContractSendMethod
Parameters
Returns ContractSendMethod
setTokenURI
- setTokenURI(tokenId: number, uri: string): ContractSendMethod
Parameters
tokenId: number
uri: string
Returns ContractSendMethod
tokenOfOwnerByIndex
Parameters
owner: string
index: number
transferFrom
- transferFrom(from: string, to: string, tokenId: number): ContractSendMethod
Parameters
from: string
to: string
tokenId: number
Returns ContractSendMethod
transferOwnership
- transferOwnership(newOwner: string): ContractSendMethod
Parameters
Returns ContractSendMethod
unlock
- unlock(): ContractSendMethod
Returns ContractSendMethod