funds.handler
@bosonprotocol/core-sdk / Exports / funds / handler
Namespace: handler
funds.handler
Table of contents
Functions
Functions
depositFunds
▸ depositFunds(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.fundsAmount | BigNumberish |
args.fundsTokenAddress? | string |
args.sellerId | BigNumberish |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
withdrawAllAvailableFunds
▸ withdrawAllAvailableFunds(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.sellerId | BigNumberish |
args.subgraphUrl | string |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
withdrawFunds
▸ withdrawFunds(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.amountsToWithdraw | BigNumberish [] |
args.contractAddress | string |
args.sellerId | BigNumberish |
args.tokensToWithdraw | string [] |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>