contracts.IBosonVoucher
@bosonprotocol/ethers-sdk / Exports / contracts / IBosonVoucher
Interface: IBosonVoucher
contracts.IBosonVoucher
Hierarchy
BaseContract
↳
IBosonVoucher
Table of contents
Properties
- _deployedPromise
- _runningEvents
- _wrappedEmits
- address
- callStatic
- contractName
- deployTransaction
- estimateGas
- filters
- functions
- interface
- off
- on
- once
- populateTransaction
- provider
- removeListener
- resolvedAddress
- signer
Methods
- _checkRunningEvents
- _deployed
- _wrapEvent
- approve
- attach
- balanceOf
- burnVoucher
- connect
- contractURI
- deployed
- emit
- fallback
- getApproved
- getRoyaltyPercentage
- getSellerId
- isApprovedForAll
- issueVoucher
- listenerCount
- listeners
- name
- ownerOf
- queryFilter
- removeAllListeners
- royaltyInfo
- safeTransferFrom(address,address,uint256)
- safeTransferFrom(address,address,uint256,bytes)
- setApprovalForAll
- setContractURI
- setRoyaltyPercentage
- supportsInterface
- symbol
- tokenURI
- transferFrom
- transferOwnership
Properties
_deployedPromise
• _deployedPromise: Promise
<Contract
>
Inherited from
BaseContract._deployedPromise
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:100
_runningEvents
• _runningEvents: Object
Index signature
▪ [eventTag: string
]: RunningEvent
Inherited from
BaseContract._runningEvents
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:101
_wrappedEmits
• _wrappedEmits: Object
Index signature
▪ [eventTag: string
]: (...args
: any
[]) => void
Inherited from
BaseContract._wrappedEmits
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:104
address
• Readonly
address: string
Inherited from
BaseContract.address
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:79
callStatic
• callStatic: Object
Type declaration
Name | Type |
---|---|
approve | (to : string , tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <void > |
balanceOf | (owner : string , overrides? : CallOverrides ) => Promise <BigNumber > |
burnVoucher | (_exchangeId : BigNumberish , overrides? : CallOverrides ) => Promise <void > |
contractURI | (overrides? : CallOverrides ) => Promise <string > |
getApproved | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <string > |
getRoyaltyPercentage | (overrides? : CallOverrides ) => Promise <BigNumber > |
getSellerId | (overrides? : CallOverrides ) => Promise <BigNumber > |
isApprovedForAll | (owner : string , operator : string , overrides? : CallOverrides ) => Promise <boolean > |
issueVoucher | (_exchangeId : BigNumberish , _buyer : string , overrides? : CallOverrides ) => Promise <void > |
name | (overrides? : CallOverrides ) => Promise <string > |
ownerOf | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <string > |
royaltyInfo | (_tokenId : BigNumberish , _salePrice : BigNumberish , overrides? : CallOverrides ) => Promise <[string , BigNumber ] & { receiver : string ; royaltyAmount : BigNumber }> |
safeTransferFrom(address,address,uint256) | (from : string , to : string , tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <void > |
safeTransferFrom(address,address,uint256,bytes) | (from : string , to : string , tokenId : BigNumberish , data : BytesLike , overrides? : CallOverrides ) => Promise <void > |
setApprovalForAll | (operator : string , _approved : boolean , overrides? : CallOverrides ) => Promise <void > |
setContractURI | (_newContractURI : string , overrides? : CallOverrides ) => Promise <void > |
setRoyaltyPercentage | (_newRoyaltyPercentage : BigNumberish , overrides? : CallOverrides ) => Promise <void > |
supportsInterface | (interfaceId : BytesLike , overrides? : CallOverrides ) => Promise <boolean > |
symbol | (overrides? : CallOverrides ) => Promise <string > |
tokenURI | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <string > |
transferFrom | (from : string , to : string , tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <void > |
transferOwnership | (newOwner : string , overrides? : CallOverrides ) => Promise <void > |
Overrides
BaseContract.callStatic
Defined in
src/contracts/IBosonVoucher.ts:489
contractName
• contractName: "IBosonVoucher"
Defined in
src/contracts/IBosonVoucher.ts:252
deployTransaction
• Readonly
deployTransaction: TransactionResponse
Inherited from
BaseContract.deployTransaction
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:99
estimateGas
• estimateGas: Object
Type declaration
Name | Type |
---|---|
approve | (to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
balanceOf | (owner : string , overrides? : CallOverrides ) => Promise <BigNumber > |
burnVoucher | (_exchangeId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
contractURI | (overrides? : CallOverrides ) => Promise <BigNumber > |
getApproved | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <BigNumber > |
getRoyaltyPercentage | (overrides? : CallOverrides ) => Promise <BigNumber > |
getSellerId | (overrides? : CallOverrides ) => Promise <BigNumber > |
isApprovedForAll | (owner : string , operator : string , overrides? : CallOverrides ) => Promise <BigNumber > |
issueVoucher | (_exchangeId : BigNumberish , _buyer : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
name | (overrides? : CallOverrides ) => Promise <BigNumber > |
ownerOf | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <BigNumber > |
royaltyInfo | (_tokenId : BigNumberish , _salePrice : BigNumberish , overrides? : CallOverrides ) => Promise <BigNumber > |
safeTransferFrom(address,address,uint256) | (from : string , to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
safeTransferFrom(address,address,uint256,bytes) | (from : string , to : string , tokenId : BigNumberish , data : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
setApprovalForAll | (operator : string , _approved : boolean , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
setContractURI | (_newContractURI : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
setRoyaltyPercentage | (_newRoyaltyPercentage : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
supportsInterface | (interfaceId : BytesLike , overrides? : CallOverrides ) => Promise <BigNumber > |
symbol | (overrides? : CallOverrides ) => Promise <BigNumber > |
tokenURI | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <BigNumber > |
transferFrom | (from : string , to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
transferOwnership | (newOwner : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <BigNumber > |
Overrides
BaseContract.estimateGas
Defined in
src/contracts/IBosonVoucher.ts:649
filters
• filters: Object
Type declaration
Name | Type |
---|---|
Approval | (owner? : string , approved? : string , tokenId? : BigNumberish ) => ApprovalEventFilter |
Approval(address,address,uint256) | (owner? : string , approved? : string , tokenId? : BigNumberish ) => ApprovalEventFilter |
ApprovalForAll | (owner? : string , operator? : string , approved? : null ) => ApprovalForAllEventFilter |
ApprovalForAll(address,address,bool) | (owner? : string , operator? : string , approved? : null ) => ApprovalForAllEventFilter |
ContractURIChanged | (contractURI? : null ) => ContractURIChangedEventFilter |
ContractURIChanged(string) | (contractURI? : null ) => ContractURIChangedEventFilter |
RoyaltyPercentageChanged | (royaltyPercentage? : null ) => RoyaltyPercentageChangedEventFilter |
RoyaltyPercentageChanged(uint256) | (royaltyPercentage? : null ) => RoyaltyPercentageChangedEventFilter |
Transfer | (from? : string , to? : string , tokenId? : BigNumberish ) => TransferEventFilter |
Transfer(address,address,uint256) | (from? : string , to? : string , tokenId? : BigNumberish ) => TransferEventFilter |
VoucherInitialized | (sellerId? : BigNumberish , royaltyPercentage? : BigNumberish , contractURI? : string ) => VoucherInitializedEventFilter |
VoucherInitialized(uint256,uint256,string) | (sellerId? : BigNumberish , royaltyPercentage? : BigNumberish , contractURI? : string ) => VoucherInitializedEventFilter |
Overrides
BaseContract.filters
Defined in
src/contracts/IBosonVoucher.ts:591
functions
• functions: Object
Type declaration
Name | Type |
---|---|
approve | (to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
balanceOf | (owner : string , overrides? : CallOverrides ) => Promise <[BigNumber ] & { balance : BigNumber }> |
burnVoucher | (_exchangeId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
contractURI | (overrides? : CallOverrides ) => Promise <[string ]> |
getApproved | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <[string ] & { operator : string }> |
getRoyaltyPercentage | (overrides? : CallOverrides ) => Promise <[BigNumber ]> |
getSellerId | (overrides? : CallOverrides ) => Promise <[BigNumber ]> |
isApprovedForAll | (owner : string , operator : string , overrides? : CallOverrides ) => Promise <[boolean ]> |
issueVoucher | (_exchangeId : BigNumberish , _buyer : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
name | (overrides? : CallOverrides ) => Promise <[string ]> |
ownerOf | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <[string ] & { owner : string }> |
royaltyInfo | (_tokenId : BigNumberish , _salePrice : BigNumberish , overrides? : CallOverrides ) => Promise <[string , BigNumber ] & { receiver : string ; royaltyAmount : BigNumber }> |
safeTransferFrom(address,address,uint256) | (from : string , to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
safeTransferFrom(address,address,uint256,bytes) | (from : string , to : string , tokenId : BigNumberish , data : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
setApprovalForAll | (operator : string , _approved : boolean , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
setContractURI | (_newContractURI : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
setRoyaltyPercentage | (_newRoyaltyPercentage : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
supportsInterface | (interfaceId : BytesLike , overrides? : CallOverrides ) => Promise <[boolean ]> |
symbol | (overrides? : CallOverrides ) => Promise <[string ]> |
tokenURI | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <[string ]> |
transferFrom | (from : string , to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
transferOwnership | (newOwner : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <ContractTransaction > |
Overrides
BaseContract.functions
Defined in
src/contracts/IBosonVoucher.ts:278
interface
• interface: IBosonVoucherInterface
Overrides
BaseContract.interface
Defined in
src/contracts/IBosonVoucher.ts:257
off
• off: OnEvent
<IBosonVoucher
>
Overrides
BaseContract.off
Defined in
src/contracts/IBosonVoucher.ts:273
on
• on: OnEvent
<IBosonVoucher
>
Overrides
BaseContract.on
Defined in
src/contracts/IBosonVoucher.ts:274
once
• once: OnEvent
<IBosonVoucher
>
Overrides
BaseContract.once
Defined in
src/contracts/IBosonVoucher.ts:275
populateTransaction
• populateTransaction: Object
Type declaration
Name | Type |
---|---|
approve | (to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
balanceOf | (owner : string , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
burnVoucher | (_exchangeId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
contractURI | (overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
getApproved | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
getRoyaltyPercentage | (overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
getSellerId | (overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
isApprovedForAll | (owner : string , operator : string , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
issueVoucher | (_exchangeId : BigNumberish , _buyer : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
name | (overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
ownerOf | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
royaltyInfo | (_tokenId : BigNumberish , _salePrice : BigNumberish , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
safeTransferFrom(address,address,uint256) | (from : string , to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
safeTransferFrom(address,address,uint256,bytes) | (from : string , to : string , tokenId : BigNumberish , data : BytesLike , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
setApprovalForAll | (operator : string , _approved : boolean , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
setContractURI | (_newContractURI : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
setRoyaltyPercentage | (_newRoyaltyPercentage : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
supportsInterface | (interfaceId : BytesLike , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
symbol | (overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
tokenURI | (tokenId : BigNumberish , overrides? : CallOverrides ) => Promise <PopulatedTransaction > |
transferFrom | (from : string , to : string , tokenId : BigNumberish , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
transferOwnership | (newOwner : string , overrides? : Overrides & { from? : string | Promise <string > }) => Promise <PopulatedTransaction > |
Overrides
BaseContract.populateTransaction
Defined in
src/contracts/IBosonVoucher.ts:755
provider
• Readonly
provider: Provider
Inherited from
BaseContract.provider
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:82
removeListener
• removeListener: OnEvent
<IBosonVoucher
>
Overrides
BaseContract.removeListener
Defined in
src/contracts/IBosonVoucher.ts:276
resolvedAddress
• Readonly
resolvedAddress: Promise
<string
>
Inherited from
BaseContract.resolvedAddress
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:98
signer
• Readonly
signer: Signer
Inherited from
BaseContract.signer
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:81
Methods
_checkRunningEvents
▸ _checkRunningEvents(runningEvent
): void
Parameters
Name | Type |
---|---|
runningEvent | RunningEvent |
Returns
void
Inherited from
BaseContract._checkRunningEvents
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:121
_deployed
▸ _deployed(blockTag?
): Promise
<Contract
>
Parameters
Name | Type |
---|---|
blockTag? | BlockTag |
Returns
Promise
<Contract
>
Inherited from
BaseContract._deployed
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:114
_wrapEvent
▸ _wrapEvent(runningEvent
, log
, listener
): Event
Parameters
Name | Type |
---|---|
runningEvent | RunningEvent |
log | Log |
listener | Listener |
Returns
Event
Inherited from
BaseContract._wrapEvent
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:122
approve
▸ approve(to
, tokenId
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
to | string |
tokenId | BigNumberish |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:389
attach
▸ attach(addressOrName
): IBosonVoucher
Parameters
Name | Type |
---|---|
addressOrName | string |
Returns
Overrides
BaseContract.attach
Defined in
src/contracts/IBosonVoucher.ts:254
balanceOf
▸ balanceOf(owner
, overrides?
): Promise
<BigNumber
>
Parameters
Name | Type |
---|---|
owner | string |
overrides? | CallOverrides |
Returns
Promise
<BigNumber
>
Defined in
src/contracts/IBosonVoucher.ts:395
burnVoucher
▸ burnVoucher(_exchangeId
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
_exchangeId | BigNumberish |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:397
connect
▸ connect(signerOrProvider
): IBosonVoucher
Parameters
Name | Type |
---|---|
signerOrProvider | string | Signer | Provider |
Returns
Overrides
BaseContract.connect
Defined in
src/contracts/IBosonVoucher.ts:253
contractURI
▸ contractURI(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Defined in
src/contracts/IBosonVoucher.ts:402
deployed
▸ deployed(): Promise
<IBosonVoucher
>
Returns
Promise
<IBosonVoucher
>
Overrides
BaseContract.deployed
Defined in
src/contracts/IBosonVoucher.ts:255
emit
▸ emit(eventName
, ...args
): boolean
Parameters
Name | Type |
---|---|
eventName | string | EventFilter |
...args | any [] |
Returns
boolean
Inherited from
BaseContract.emit
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:127
fallback
▸ fallback(overrides?
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
overrides? | TransactionRequest |
Returns
Promise
<TransactionResponse
>
Inherited from
BaseContract.fallback
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:115
getApproved
▸ getApproved(tokenId
, overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
tokenId | BigNumberish |
overrides? | CallOverrides |
Returns
Promise
<string
>
Defined in
src/contracts/IBosonVoucher.ts:404
getRoyaltyPercentage
▸ getRoyaltyPercentage(overrides?
): Promise
<BigNumber
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<BigNumber
>
Defined in
src/contracts/IBosonVoucher.ts:409
getSellerId
▸ getSellerId(overrides?
): Promise
<BigNumber
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<BigNumber
>
Defined in
src/contracts/IBosonVoucher.ts:411
isApprovedForAll
▸ isApprovedForAll(owner
, operator
, overrides?
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
owner | string |
operator | string |
overrides? | CallOverrides |
Returns
Promise
<boolean
>
Defined in
src/contracts/IBosonVoucher.ts:413
issueVoucher
▸ issueVoucher(_exchangeId
, _buyer
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
_exchangeId | BigNumberish |
_buyer | string |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:419
listenerCount
▸ listenerCount(eventName?
): number
Parameters
Name | Type |
---|---|
eventName? | string | EventFilter |
Returns
number
Inherited from
BaseContract.listenerCount
Defined in
node_modules/@ethersproject/contracts/lib/index.d.ts:128
listeners
▸ listeners<TEvent
>(eventFilter?
): TypedListener
<TEvent
>[]
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter? | TypedEventFilter <TEvent > |
Returns
TypedListener
<TEvent
>[]
Overrides
BaseContract.listeners
Defined in
src/contracts/IBosonVoucher.ts:265
▸ listeners(eventName?
): Listener
[]
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Listener
[]
Overrides
BaseContract.listeners
Defined in
src/contracts/IBosonVoucher.ts:268
name
▸ name(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Defined in
src/contracts/IBosonVoucher.ts:425
ownerOf
▸ ownerOf(tokenId
, overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
tokenId | BigNumberish |
overrides? | CallOverrides |
Returns
Promise
<string
>
Defined in
src/contracts/IBosonVoucher.ts:427
queryFilter
▸ queryFilter<TEvent
>(event
, fromBlockOrBlockhash?
, toBlock?
): Promise
<TEvent
[]>
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
event | TypedEventFilter <TEvent > |
fromBlockOrBlockhash? | string | number |
toBlock? | string | number |
Returns
Promise
<TEvent
[]>
Overrides
BaseContract.queryFilter
Defined in
src/contracts/IBosonVoucher.ts:259
removeAllListeners
▸ removeAllListeners<TEvent
>(eventFilter
): IBosonVoucher
Type parameters
Name | Type |
---|---|
TEvent | extends TypedEvent <any , any , TEvent > |
Parameters
Name | Type |
---|---|
eventFilter | TypedEventFilter <TEvent > |
Returns
Overrides
BaseContract.removeAllListeners
Defined in
src/contracts/IBosonVoucher.ts:269
▸ removeAllListeners(eventName?
): IBosonVoucher
Parameters
Name | Type |
---|---|
eventName? | string |
Returns
Overrides
BaseContract.removeAllListeners
Defined in
src/contracts/IBosonVoucher.ts:272
royaltyInfo
▸ royaltyInfo(_tokenId
, _salePrice
, overrides?
): Promise
<[string
, BigNumber
] & { receiver
: string
; royaltyAmount
: BigNumber
}>
Parameters
Name | Type |
---|---|
_tokenId | BigNumberish |
_salePrice | BigNumberish |
overrides? | CallOverrides |
Returns
Promise
<[string
, BigNumber
] & { receiver
: string
; royaltyAmount
: BigNumber
}>
Defined in
src/contracts/IBosonVoucher.ts:429
safeTransferFrom(address,address,uint256)
▸ safeTransferFrom(address,address,uint256)(from
, to
, tokenId
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
from | string |
to | string |
tokenId | BigNumberish |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:437
safeTransferFrom(address,address,uint256,bytes)
▸ safeTransferFrom(address,address,uint256,bytes)(from
, to
, tokenId
, data
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
from | string |
to | string |
tokenId | BigNumberish |
data | BytesLike |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:444
setApprovalForAll
▸ setApprovalForAll(operator
, _approved
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
operator | string |
_approved | boolean |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:452
setContractURI
▸ setContractURI(_newContractURI
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
_newContractURI | string |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:458
setRoyaltyPercentage
▸ setRoyaltyPercentage(_newRoyaltyPercentage
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
_newRoyaltyPercentage | BigNumberish |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:463
supportsInterface
▸ supportsInterface(interfaceId
, overrides?
): Promise
<boolean
>
Parameters
Name | Type |
---|---|
interfaceId | BytesLike |
overrides? | CallOverrides |
Returns
Promise
<boolean
>
Defined in
src/contracts/IBosonVoucher.ts:468
symbol
▸ symbol(overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
overrides? | CallOverrides |
Returns
Promise
<string
>
Defined in
src/contracts/IBosonVoucher.ts:473
tokenURI
▸ tokenURI(tokenId
, overrides?
): Promise
<string
>
Parameters
Name | Type |
---|---|
tokenId | BigNumberish |
overrides? | CallOverrides |
Returns
Promise
<string
>
Defined in
src/contracts/IBosonVoucher.ts:475
transferFrom
▸ transferFrom(from
, to
, tokenId
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
from | string |
to | string |
tokenId | BigNumberish |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>
Defined in
src/contracts/IBosonVoucher.ts:477
transferOwnership
▸ transferOwnership(newOwner
, overrides?
): Promise
<ContractTransaction
>
Parameters
Name | Type |
---|---|
newOwner | string |
overrides? | Overrides & { from? : string | Promise <string > } |
Returns
Promise
<ContractTransaction
>