Skip to main content

exchanges.handler

@bosonprotocol/core-sdk / Exports / exchanges / handler

Namespace: handler

exchanges.handler

Table of contents

Functions

Functions

cancelVoucher

cancelVoucher(args): Promise<TransactionResponse>

Parameters

NameType
argsBaseExchangeHandlerArgs & { exchangeId: BigNumberish }

Returns

Promise<TransactionResponse>

Defined in

src/exchanges/handler.ts:134


commitToOffer

commitToOffer(args): Promise<TransactionResponse>

Parameters

NameType
argsBaseExchangeHandlerArgs & { buyer: string ; offerId: BigNumberish }

Returns

Promise<TransactionResponse>

Defined in

src/exchanges/handler.ts:24


completeExchange

completeExchange(args): Promise<TransactionResponse>

Parameters

NameType
argsBaseExchangeHandlerArgs & { exchangeId: BigNumberish }

Returns

Promise<TransactionResponse>

Defined in

src/exchanges/handler.ts:72


completeExchangeBatch

completeExchangeBatch(args): Promise<TransactionResponse>

Parameters

NameType
argsBaseExchangeHandlerArgs & { exchangeIds: BigNumberish[] }

Returns

Promise<TransactionResponse>

Defined in

src/exchanges/handler.ts:90


expireVoucher

expireVoucher(args): Promise<TransactionResponse>

Parameters

NameType
argsBaseExchangeHandlerArgs & { exchangeId: BigNumberish }

Returns

Promise<TransactionResponse>

Defined in

src/exchanges/handler.ts:154


redeemVoucher

redeemVoucher(args): Promise<TransactionResponse>

Parameters

NameType
argsBaseExchangeHandlerArgs & { exchangeId: BigNumberish }

Returns

Promise<TransactionResponse>

Defined in

src/exchanges/handler.ts:173


revokeVoucher

revokeVoucher(args): Promise<TransactionResponse>

Parameters

NameType
argsBaseExchangeHandlerArgs & { exchangeId: BigNumberish }

Returns

Promise<TransactionResponse>

Defined in

src/exchanges/handler.ts:114