Skip to main content

contracts.IBosonExchangeHandler

@bosonprotocol/ethers-sdk / Exports / contracts / IBosonExchangeHandler

Interface: IBosonExchangeHandler

contracts.IBosonExchangeHandler

Hierarchy

  • BaseContract

    IBosonExchangeHandler

Table of contents

Properties

Methods

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

NameType
cancelVoucher(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<void>
commitToOffer(_buyer: string, _offerId: BigNumberish, overrides?: CallOverrides) => Promise<void>
completeExchange(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<void>
completeExchangeBatch(_exchangeIds: BigNumberish[], overrides?: CallOverrides) => Promise<void>
expireVoucher(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<void>
extendVoucher(_exchangeId: BigNumberish, _validUntilDate: BigNumberish, overrides?: CallOverrides) => Promise<void>
getExchange(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, ExchangeStructOutput, VoucherStructOutput] & { exchange: ExchangeStructOutput ; exists: boolean ; voucher: VoucherStructOutput }>
getExchangeState(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, number] & { exists: boolean ; state: number }>
getNextExchangeId(overrides?: CallOverrides) => Promise<BigNumber>
getReceipt(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<ReceiptStructOutput>
isExchangeFinalized(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, boolean] & { exists: boolean ; isFinalized: boolean }>
onVoucherTransferred(_exchangeId: BigNumberish, _newBuyer: string, overrides?: CallOverrides) => Promise<void>
redeemVoucher(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<void>
revokeVoucher(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<void>

Overrides

BaseContract.callStatic

Defined in

src/contracts/IBosonExchangeHandler.ts:764


contractName

contractName: "IBosonExchangeHandler"

Defined in

src/contracts/IBosonExchangeHandler.ts:570


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:99


estimateGas

estimateGas: Object

Type declaration

NameType
cancelVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
commitToOffer(_buyer: string, _offerId: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }) => Promise<BigNumber>
completeExchange(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
completeExchangeBatch(_exchangeIds: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
expireVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
extendVoucher(_exchangeId: BigNumberish, _validUntilDate: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
getExchange(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getExchangeState(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getNextExchangeId(overrides?: CallOverrides) => Promise<BigNumber>
getReceipt(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
isExchangeFinalized(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
onVoucherTransferred(_exchangeId: BigNumberish, _newBuyer: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
redeemVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
revokeVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

src/contracts/IBosonExchangeHandler.ts:1062


filters

filters: Object

Type declaration

NameType
BuyerCommitted(offerId?: BigNumberish, buyerId?: BigNumberish, exchangeId?: BigNumberish, exchange?: null, voucher?: null, executedBy?: null) => BuyerCommittedEventFilter
BuyerCommitted(uint256,uint256,uint256,tuple,tuple,address)(offerId?: BigNumberish, buyerId?: BigNumberish, exchangeId?: BigNumberish, exchange?: null, voucher?: null, executedBy?: null) => BuyerCommittedEventFilter
ExchangeCompleted(offerId?: BigNumberish, buyerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: null) => ExchangeCompletedEventFilter
ExchangeCompleted(uint256,uint256,uint256,address)(offerId?: BigNumberish, buyerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: null) => ExchangeCompletedEventFilter
FundsEncumbered(entityId?: BigNumberish, exchangeToken?: string, amount?: null, executedBy?: string) => FundsEncumberedEventFilter
FundsEncumbered(uint256,address,uint256,address)(entityId?: BigNumberish, exchangeToken?: string, amount?: null, executedBy?: string) => FundsEncumberedEventFilter
FundsReleased(exchangeId?: BigNumberish, entityId?: BigNumberish, exchangeToken?: string, amount?: null, executedBy?: null) => FundsReleasedEventFilter
FundsReleased(uint256,uint256,address,uint256,address)(exchangeId?: BigNumberish, entityId?: BigNumberish, exchangeToken?: string, amount?: null, executedBy?: null) => FundsReleasedEventFilter
FundsWithdrawn(sellerId?: BigNumberish, withdrawnTo?: string, tokenAddress?: string, amount?: null, executedBy?: null) => FundsWithdrawnEventFilter
FundsWithdrawn(uint256,address,address,uint256,address)(sellerId?: BigNumberish, withdrawnTo?: string, tokenAddress?: string, amount?: null, executedBy?: null) => FundsWithdrawnEventFilter
ProtocolFeeCollected(exchangeId?: BigNumberish, exchangeToken?: string, amount?: null, executedBy?: string) => ProtocolFeeCollectedEventFilter
ProtocolFeeCollected(uint256,address,uint256,address)(exchangeId?: BigNumberish, exchangeToken?: string, amount?: null, executedBy?: string) => ProtocolFeeCollectedEventFilter
TwinCreated(twinId?: BigNumberish, sellerId?: BigNumberish, twin?: null, executedBy?: string) => TwinCreatedEventFilter
TwinCreated(uint256,uint256,tuple,address)(twinId?: BigNumberish, sellerId?: BigNumberish, twin?: null, executedBy?: string) => TwinCreatedEventFilter
TwinDeleted(twinId?: BigNumberish, sellerId?: BigNumberish, executedBy?: string) => TwinDeletedEventFilter
TwinDeleted(uint256,uint256,address)(twinId?: BigNumberish, sellerId?: BigNumberish, executedBy?: string) => TwinDeletedEventFilter
TwinTransferFailed(twinId?: BigNumberish, tokenAddress?: string, exchangeId?: BigNumberish, tokenId?: null, amount?: null, executedBy?: null) => TwinTransferFailedEventFilter
TwinTransferFailed(uint256,address,uint256,uint256,uint256,address)(twinId?: BigNumberish, tokenAddress?: string, exchangeId?: BigNumberish, tokenId?: null, amount?: null, executedBy?: null) => TwinTransferFailedEventFilter
TwinTransferred(twinId?: BigNumberish, tokenAddress?: string, exchangeId?: BigNumberish, tokenId?: null, amount?: null, executedBy?: null) => TwinTransferredEventFilter
TwinTransferred(uint256,address,uint256,uint256,uint256,address)(twinId?: BigNumberish, tokenAddress?: string, exchangeId?: BigNumberish, tokenId?: null, amount?: null, executedBy?: null) => TwinTransferredEventFilter
VoucherCanceled(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherCanceledEventFilter
VoucherCanceled(uint256,uint256,address)(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherCanceledEventFilter
VoucherExpired(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherExpiredEventFilter
VoucherExpired(uint256,uint256,address)(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherExpiredEventFilter
VoucherExtended(offerId?: BigNumberish, exchangeId?: BigNumberish, validUntil?: null, executedBy?: string) => VoucherExtendedEventFilter
VoucherExtended(uint256,uint256,uint256,address)(offerId?: BigNumberish, exchangeId?: BigNumberish, validUntil?: null, executedBy?: string) => VoucherExtendedEventFilter
VoucherRedeemed(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherRedeemedEventFilter
VoucherRedeemed(uint256,uint256,address)(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherRedeemedEventFilter
VoucherRevoked(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherRevokedEventFilter
VoucherRevoked(uint256,uint256,address)(offerId?: BigNumberish, exchangeId?: BigNumberish, executedBy?: string) => VoucherRevokedEventFilter
VoucherTransferred(offerId?: BigNumberish, exchangeId?: BigNumberish, newBuyerId?: BigNumberish, executedBy?: null) => VoucherTransferredEventFilter
VoucherTransferred(uint256,uint256,uint256,address)(offerId?: BigNumberish, exchangeId?: BigNumberish, newBuyerId?: BigNumberish, executedBy?: null) => VoucherTransferredEventFilter

Overrides

BaseContract.filters

Defined in

src/contracts/IBosonExchangeHandler.ts:846


functions

functions: Object

Type declaration

NameType
cancelVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
commitToOffer(_buyer: string, _offerId: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
completeExchange(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
completeExchangeBatch(_exchangeIds: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
expireVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
extendVoucher(_exchangeId: BigNumberish, _validUntilDate: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
getExchange(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, ExchangeStructOutput, VoucherStructOutput] & { exchange: ExchangeStructOutput ; exists: boolean ; voucher: VoucherStructOutput }>
getExchangeState(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, number] & { exists: boolean ; state: number }>
getNextExchangeId(overrides?: CallOverrides) => Promise<[BigNumber] & { nextExchangeId: BigNumber }>
getReceipt(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<[ReceiptStructOutput] & { receipt: ReceiptStructOutput }>
isExchangeFinalized(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, boolean] & { exists: boolean ; isFinalized: boolean }>
onVoucherTransferred(_exchangeId: BigNumberish, _newBuyer: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
redeemVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
revokeVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>

Overrides

BaseContract.functions

Defined in

src/contracts/IBosonExchangeHandler.ts:596


interface

interface: IBosonExchangeHandlerInterface

Overrides

BaseContract.interface

Defined in

src/contracts/IBosonExchangeHandler.ts:575


off

off: OnEvent<IBosonExchangeHandler>

Overrides

BaseContract.off

Defined in

src/contracts/IBosonExchangeHandler.ts:591


on

on: OnEvent<IBosonExchangeHandler>

Overrides

BaseContract.on

Defined in

src/contracts/IBosonExchangeHandler.ts:592


once

once: OnEvent<IBosonExchangeHandler>

Overrides

BaseContract.once

Defined in

src/contracts/IBosonExchangeHandler.ts:593


populateTransaction

populateTransaction: Object

Type declaration

NameType
cancelVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
commitToOffer(_buyer: string, _offerId: BigNumberish, overrides?: PayableOverrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
completeExchange(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
completeExchangeBatch(_exchangeIds: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
expireVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
extendVoucher(_exchangeId: BigNumberish, _validUntilDate: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
getExchange(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getExchangeState(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getNextExchangeId(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getReceipt(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
isExchangeFinalized(_exchangeId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
onVoucherTransferred(_exchangeId: BigNumberish, _newBuyer: string, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
redeemVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
revokeVoucher(_exchangeId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

src/contracts/IBosonExchangeHandler.ts:1134


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:82


removeListener

removeListener: OnEvent<IBosonExchangeHandler>

Overrides

BaseContract.removeListener

Defined in

src/contracts/IBosonExchangeHandler.ts:594


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

NameType
runningEventRunningEvent

Returns

void

Inherited from

BaseContract._checkRunningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:121


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

NameType
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

NameType
runningEventRunningEvent
logLog
listenerListener

Returns

Event

Inherited from

BaseContract._wrapEvent

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:122


attach

attach(addressOrName): IBosonExchangeHandler

Parameters

NameType
addressOrNamestring

Returns

IBosonExchangeHandler

Overrides

BaseContract.attach

Defined in

src/contracts/IBosonExchangeHandler.ts:572


cancelVoucher

cancelVoucher(_exchangeId, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:684


commitToOffer

commitToOffer(_buyer, _offerId, overrides?): Promise<ContractTransaction>

Parameters

NameType
_buyerstring
_offerIdBigNumberish
overrides?PayableOverrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:689


completeExchange

completeExchange(_exchangeId, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:695


completeExchangeBatch

completeExchangeBatch(_exchangeIds, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdsBigNumberish[]
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:700


connect

connect(signerOrProvider): IBosonExchangeHandler

Parameters

NameType
signerOrProviderstring | Signer | Provider

Returns

IBosonExchangeHandler

Overrides

BaseContract.connect

Defined in

src/contracts/IBosonExchangeHandler.ts:571


deployed

deployed(): Promise<IBosonExchangeHandler>

Returns

Promise<IBosonExchangeHandler>

Overrides

BaseContract.deployed

Defined in

src/contracts/IBosonExchangeHandler.ts:573


emit

emit(eventName, ...args): boolean

Parameters

NameType
eventNamestring | EventFilter
...argsany[]

Returns

boolean

Inherited from

BaseContract.emit

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:127


expireVoucher

expireVoucher(_exchangeId, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:705


extendVoucher

extendVoucher(_exchangeId, _validUntilDate, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdBigNumberish
_validUntilDateBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:710


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

NameType
overrides?TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

BaseContract.fallback

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:115


getExchange

getExchange(_exchangeId, overrides?): Promise<[boolean, ExchangeStructOutput, VoucherStructOutput] & { exchange: ExchangeStructOutput ; exists: boolean ; voucher: VoucherStructOutput }>

Parameters

NameType
_exchangeIdBigNumberish
overrides?CallOverrides

Returns

Promise<[boolean, ExchangeStructOutput, VoucherStructOutput] & { exchange: ExchangeStructOutput ; exists: boolean ; voucher: VoucherStructOutput }>

Defined in

src/contracts/IBosonExchangeHandler.ts:716


getExchangeState

getExchangeState(_exchangeId, overrides?): Promise<[boolean, number] & { exists: boolean ; state: number }>

Parameters

NameType
_exchangeIdBigNumberish
overrides?CallOverrides

Returns

Promise<[boolean, number] & { exists: boolean ; state: number }>

Defined in

src/contracts/IBosonExchangeHandler.ts:731


getNextExchangeId

getNextExchangeId(overrides?): Promise<BigNumber>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

src/contracts/IBosonExchangeHandler.ts:736


getReceipt

getReceipt(_exchangeId, overrides?): Promise<ReceiptStructOutput>

Parameters

NameType
_exchangeIdBigNumberish
overrides?CallOverrides

Returns

Promise<ReceiptStructOutput>

Defined in

src/contracts/IBosonExchangeHandler.ts:738


isExchangeFinalized

isExchangeFinalized(_exchangeId, overrides?): Promise<[boolean, boolean] & { exists: boolean ; isFinalized: boolean }>

Parameters

NameType
_exchangeIdBigNumberish
overrides?CallOverrides

Returns

Promise<[boolean, boolean] & { exists: boolean ; isFinalized: boolean }>

Defined in

src/contracts/IBosonExchangeHandler.ts:743


listenerCount

listenerCount(eventName?): number

Parameters

NameType
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

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilter?TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Overrides

BaseContract.listeners

Defined in

src/contracts/IBosonExchangeHandler.ts:583

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

src/contracts/IBosonExchangeHandler.ts:586


onVoucherTransferred

onVoucherTransferred(_exchangeId, _newBuyer, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdBigNumberish
_newBuyerstring
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:748


queryFilter

queryFilter<TEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TEvent[]>

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventTypedEventFilter<TEvent>
fromBlockOrBlockhash?string | number
toBlock?string | number

Returns

Promise<TEvent[]>

Overrides

BaseContract.queryFilter

Defined in

src/contracts/IBosonExchangeHandler.ts:577


redeemVoucher

redeemVoucher(_exchangeId, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:754


removeAllListeners

removeAllListeners<TEvent>(eventFilter): IBosonExchangeHandler

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

IBosonExchangeHandler

Overrides

BaseContract.removeAllListeners

Defined in

src/contracts/IBosonExchangeHandler.ts:587

removeAllListeners(eventName?): IBosonExchangeHandler

Parameters

NameType
eventName?string

Returns

IBosonExchangeHandler

Overrides

BaseContract.removeAllListeners

Defined in

src/contracts/IBosonExchangeHandler.ts:590


revokeVoucher

revokeVoucher(_exchangeId, overrides?): Promise<ContractTransaction>

Parameters

NameType
_exchangeIdBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonExchangeHandler.ts:759