Skip to main content

funds.handler

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

Namespace: handler

funds.handler

Table of contents

Functions

Functions

depositFunds

depositFunds(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.fundsAmountBigNumberish
args.fundsTokenAddress?string
args.sellerIdBigNumberish
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/funds/handler.ts:8


withdrawAllAvailableFunds

withdrawAllAvailableFunds(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.sellerIdBigNumberish
args.subgraphUrlstring
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/funds/handler.ts:51


withdrawFunds

withdrawFunds(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.amountsToWithdrawBigNumberish[]
args.contractAddressstring
args.sellerIdBigNumberish
args.tokensToWithdrawstring[]
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/funds/handler.ts:34