accounts.handler
@bosonprotocol/core-sdk / Exports / accounts / handler
Namespace: handler
accounts.handler
Table of contents
Functions
- activateDisputeResolver
- addFeesToDisputeResolver
- addSellersToAllowList
- createDisputeResolver
- createSeller
- optInToDisputeResolverUpdate
- optInToSellerUpdate
- removeFeesFromDisputeResolver
- removeSellersFromAllowList
- updateDisputeResolver
- updateSeller
Functions
activateDisputeResolver
▸ activateDisputeResolver(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverId | BigNumberish |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
addFeesToDisputeResolver
▸ addFeesToDisputeResolver(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverId | BigNumberish |
args.fees | DisputeResolutionFee [] |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
addSellersToAllowList
▸ addSellersToAllowList(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverId | BigNumberish |
args.sellerAllowList | BigNumberish [] |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
createDisputeResolver
▸ createDisputeResolver(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverToCreate | CreateDisputeResolverArgs |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
createSeller
▸ createSeller(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.sellerToCreate | CreateSellerArgs |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
optInToDisputeResolverUpdate
▸ optInToDisputeResolverUpdate(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverUpdates | OptInToDisputeResolverUpdateArgs |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
optInToSellerUpdate
▸ optInToSellerUpdate(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.sellerUpdates | OptInToSellerUpdateArgs |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
removeFeesFromDisputeResolver
▸ removeFeesFromDisputeResolver(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverId | BigNumberish |
args.feeTokenAddresses | string [] |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
removeSellersFromAllowList
▸ removeSellersFromAllowList(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverId | BigNumberish |
args.sellerAllowList | BigNumberish [] |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
updateDisputeResolver
▸ updateDisputeResolver(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.disputeResolverId | BigNumberish |
args.subgraphUrl | string |
args.updates | Partial <Omit <DisputeResolverStruct , "id" | "active" | "escalationResponsePeriod" > & { escalationResponsePeriodInMS : BigNumberish }> |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>
Defined in
updateSeller
▸ updateSeller(args
): Promise
<TransactionResponse
>
Parameters
Name | Type |
---|---|
args | Object |
args.contractAddress | string |
args.sellerUpdates | UpdateSellerArgs |
args.web3Lib | Web3LibAdapter |
Returns
Promise
<TransactionResponse
>