Skip to main content

accounts.handler

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

Namespace: handler

accounts.handler

Table of contents

Functions

Functions

activateDisputeResolver

activateDisputeResolver(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverIdBigNumberish
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:79


addFeesToDisputeResolver

addFeesToDisputeResolver(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverIdBigNumberish
args.feesDisputeResolutionFee[]
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:90


addSellersToAllowList

addSellersToAllowList(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverIdBigNumberish
args.sellerAllowListBigNumberish[]
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:102


createDisputeResolver

createDisputeResolver(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverToCreateCreateDisputeResolverArgs
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:65


createSeller

createSeller(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.sellerToCreateCreateSellerArgs
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:32


optInToDisputeResolverUpdate

optInToDisputeResolverUpdate(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverUpdatesOptInToDisputeResolverUpdateArgs
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:167


optInToSellerUpdate

optInToSellerUpdate(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.sellerUpdatesOptInToSellerUpdateArgs
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:54


removeFeesFromDisputeResolver

removeFeesFromDisputeResolver(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverIdBigNumberish
args.feeTokenAddressesstring[]
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:114


removeSellersFromAllowList

removeSellersFromAllowList(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverIdBigNumberish
args.sellerAllowListBigNumberish[]
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:126


updateDisputeResolver

updateDisputeResolver(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.disputeResolverIdBigNumberish
args.subgraphUrlstring
args.updatesPartial<Omit<DisputeResolverStruct, "id" | "active" | "escalationResponsePeriod"> & { escalationResponsePeriodInMS: BigNumberish }>
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:138


updateSeller

updateSeller(args): Promise<TransactionResponse>

Parameters

NameType
argsObject
args.contractAddressstring
args.sellerUpdatesUpdateSellerArgs
args.web3LibWeb3LibAdapter

Returns

Promise<TransactionResponse>

Defined in

src/accounts/handler.ts:43