Skip to main content

contracts.IBosonAccountHandler

@bosonprotocol/ethers-sdk / Exports / contracts / IBosonAccountHandler

Interface: IBosonAccountHandler

contracts.IBosonAccountHandler

Hierarchy

  • BaseContract

    IBosonAccountHandler

Table of contents

Properties

Methods

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

Inherited from

BaseContract._deployedPromise

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:100


_runningEvents

_runningEvents: Object

Index signature

[eventTag: string]: RunningEvent

Inherited from

BaseContract._runningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:101


_wrappedEmits

_wrappedEmits: Object

Index signature

[eventTag: string]: (...args: any[]) => void

Inherited from

BaseContract._wrappedEmits

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:104


address

Readonly address: string

Inherited from

BaseContract.address

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:79


callStatic

callStatic: Object

Type declaration

NameType
activateDisputeResolver(_disputeResolverId: BigNumberish, overrides?: CallOverrides) => Promise<void>
addFeesToDisputeResolver(_disputeResolverId: BigNumberish, _disputeResolverFees: DisputeResolverFeeStruct[], overrides?: CallOverrides) => Promise<void>
addSellersToAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: CallOverrides) => Promise<void>
areSellersAllowed(_disputeResolverId: BigNumberish, _sellerIds: BigNumberish[], overrides?: CallOverrides) => Promise<boolean[]>
createAgent(_agent: AgentStruct, overrides?: CallOverrides) => Promise<void>
createBuyer(_buyer: BuyerStruct, overrides?: CallOverrides) => Promise<void>
createDisputeResolver(_disputeResolver: DisputeResolverStruct, _disputeResolverFees: DisputeResolverFeeStruct[], _sellerAllowList: BigNumberish[], overrides?: CallOverrides) => Promise<void>
createSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, _voucherInitValues: VoucherInitValuesStruct, overrides?: CallOverrides) => Promise<void>
getAgent(_agentId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, AgentStructOutput] & { agent: AgentStructOutput ; exists: boolean }>
getBuyer(_buyerId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, BuyerStructOutput] & { buyer: BuyerStructOutput ; exists: boolean }>
getDisputeResolver(_disputeResolverId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>
getDisputeResolverByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>
getNextAccountId(overrides?: CallOverrides) => Promise<BigNumber>
getSeller(_sellerId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>
getSellerByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>
getSellerByAuthToken(_associatedAuthToken: AuthTokenStruct, overrides?: CallOverrides) => Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>
removeFeesFromDisputeResolver(_disputeResolverId: BigNumberish, _feeTokenAddresses: string[], overrides?: CallOverrides) => Promise<void>
removeSellersFromAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: CallOverrides) => Promise<void>
updateAgent(_agent: AgentStruct, overrides?: CallOverrides) => Promise<void>
updateBuyer(_buyer: BuyerStruct, overrides?: CallOverrides) => Promise<void>
updateDisputeResolver(_disputeResolver: DisputeResolverStruct, overrides?: CallOverrides) => Promise<void>
updateSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, overrides?: CallOverrides) => Promise<void>

Overrides

BaseContract.callStatic

Defined in

src/contracts/IBosonAccountHandler.ts:936


contractName

contractName: "IBosonAccountHandler"

Defined in

src/contracts/IBosonAccountHandler.ts:544


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:99


estimateGas

estimateGas: Object

Type declaration

NameType
activateDisputeResolver(_disputeResolverId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
addFeesToDisputeResolver(_disputeResolverId: BigNumberish, _disputeResolverFees: DisputeResolverFeeStruct[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
addSellersToAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
areSellersAllowed(_disputeResolverId: BigNumberish, _sellerIds: BigNumberish[], overrides?: CallOverrides) => Promise<BigNumber>
createAgent(_agent: AgentStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
createBuyer(_buyer: BuyerStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
createDisputeResolver(_disputeResolver: DisputeResolverStruct, _disputeResolverFees: DisputeResolverFeeStruct[], _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
createSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, _voucherInitValues: VoucherInitValuesStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
getAgent(_agentId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getBuyer(_buyerId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getDisputeResolver(_disputeResolverId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getDisputeResolverByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<BigNumber>
getNextAccountId(overrides?: CallOverrides) => Promise<BigNumber>
getSeller(_sellerId: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getSellerByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<BigNumber>
getSellerByAuthToken(_associatedAuthToken: AuthTokenStruct, overrides?: CallOverrides) => Promise<BigNumber>
removeFeesFromDisputeResolver(_disputeResolverId: BigNumberish, _feeTokenAddresses: string[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
removeSellersFromAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
updateAgent(_agent: AgentStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
updateBuyer(_buyer: BuyerStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
updateDisputeResolver(_disputeResolver: DisputeResolverStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
updateSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

src/contracts/IBosonAccountHandler.ts:1274


filters

filters: Object

Type declaration

NameType
AgentCreated(agentId?: BigNumberish, agent?: null, executedBy?: string) => AgentCreatedEventFilter
AgentCreated(uint256,tuple,address)(agentId?: BigNumberish, agent?: null, executedBy?: string) => AgentCreatedEventFilter
AgentUpdated(agentId?: BigNumberish, agent?: null, executedBy?: string) => AgentUpdatedEventFilter
AgentUpdated(uint256,tuple,address)(agentId?: BigNumberish, agent?: null, executedBy?: string) => AgentUpdatedEventFilter
AllowedSellersAdded(disputeResolverId?: BigNumberish, addedSellers?: null, executedBy?: string) => AllowedSellersAddedEventFilter
AllowedSellersAdded(uint256,uint256[],address)(disputeResolverId?: BigNumberish, addedSellers?: null, executedBy?: string) => AllowedSellersAddedEventFilter
AllowedSellersRemoved(disputeResolverId?: BigNumberish, removedSellers?: null, executedBy?: string) => AllowedSellersRemovedEventFilter
AllowedSellersRemoved(uint256,uint256[],address)(disputeResolverId?: BigNumberish, removedSellers?: null, executedBy?: string) => AllowedSellersRemovedEventFilter
BuyerCreated(buyerId?: BigNumberish, buyer?: null, executedBy?: string) => BuyerCreatedEventFilter
BuyerCreated(uint256,tuple,address)(buyerId?: BigNumberish, buyer?: null, executedBy?: string) => BuyerCreatedEventFilter
BuyerUpdated(buyerId?: BigNumberish, buyer?: null, executedBy?: string) => BuyerUpdatedEventFilter
BuyerUpdated(uint256,tuple,address)(buyerId?: BigNumberish, buyer?: null, executedBy?: string) => BuyerUpdatedEventFilter
DisputeResolverActivated(disputeResolverId?: BigNumberish, disputeResolver?: null, executedBy?: string) => DisputeResolverActivatedEventFilter
DisputeResolverActivated(uint256,tuple,address)(disputeResolverId?: BigNumberish, disputeResolver?: null, executedBy?: string) => DisputeResolverActivatedEventFilter
DisputeResolverCreated(disputeResolverId?: BigNumberish, disputeResolver?: null, disputeResolverFees?: null, sellerAllowList?: null, executedBy?: string) => DisputeResolverCreatedEventFilter
DisputeResolverCreated(uint256,tuple,tuple[],uint256[],address)(disputeResolverId?: BigNumberish, disputeResolver?: null, disputeResolverFees?: null, sellerAllowList?: null, executedBy?: string) => DisputeResolverCreatedEventFilter
DisputeResolverFeesAdded(disputeResolverId?: BigNumberish, disputeResolverFees?: null, executedBy?: string) => DisputeResolverFeesAddedEventFilter
DisputeResolverFeesAdded(uint256,tuple[],address)(disputeResolverId?: BigNumberish, disputeResolverFees?: null, executedBy?: string) => DisputeResolverFeesAddedEventFilter
DisputeResolverFeesRemoved(disputeResolverId?: BigNumberish, feeTokensRemoved?: null, executedBy?: string) => DisputeResolverFeesRemovedEventFilter
DisputeResolverFeesRemoved(uint256,address[],address)(disputeResolverId?: BigNumberish, feeTokensRemoved?: null, executedBy?: string) => DisputeResolverFeesRemovedEventFilter
DisputeResolverUpdated(disputeResolverId?: BigNumberish, disputeResolver?: null, executedBy?: string) => DisputeResolverUpdatedEventFilter
DisputeResolverUpdated(uint256,tuple,address)(disputeResolverId?: BigNumberish, disputeResolver?: null, executedBy?: string) => DisputeResolverUpdatedEventFilter
SellerCreated(sellerId?: BigNumberish, seller?: null, voucherCloneAddress?: null, authToken?: null, executedBy?: string) => SellerCreatedEventFilter
SellerCreated(uint256,tuple,address,tuple,address)(sellerId?: BigNumberish, seller?: null, voucherCloneAddress?: null, authToken?: null, executedBy?: string) => SellerCreatedEventFilter
SellerUpdated(sellerId?: BigNumberish, seller?: null, authToken?: null, executedBy?: string) => SellerUpdatedEventFilter
SellerUpdated(uint256,tuple,tuple,address)(sellerId?: BigNumberish, seller?: null, authToken?: null, executedBy?: string) => SellerUpdatedEventFilter

Overrides

BaseContract.filters

Defined in

src/contracts/IBosonAccountHandler.ts:1119


functions

functions: Object

Type declaration

NameType
activateDisputeResolver(_disputeResolverId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
addFeesToDisputeResolver(_disputeResolverId: BigNumberish, _disputeResolverFees: DisputeResolverFeeStruct[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
addSellersToAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
areSellersAllowed(_disputeResolverId: BigNumberish, _sellerIds: BigNumberish[], overrides?: CallOverrides) => Promise<[boolean[]] & { sellerAllowed: boolean[] }>
createAgent(_agent: AgentStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
createBuyer(_buyer: BuyerStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
createDisputeResolver(_disputeResolver: DisputeResolverStruct, _disputeResolverFees: DisputeResolverFeeStruct[], _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
createSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, _voucherInitValues: VoucherInitValuesStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
getAgent(_agentId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, AgentStructOutput] & { agent: AgentStructOutput ; exists: boolean }>
getBuyer(_buyerId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, BuyerStructOutput] & { buyer: BuyerStructOutput ; exists: boolean }>
getDisputeResolver(_disputeResolverId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>
getDisputeResolverByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>
getNextAccountId(overrides?: CallOverrides) => Promise<[BigNumber] & { nextAccountId: BigNumber }>
getSeller(_sellerId: BigNumberish, overrides?: CallOverrides) => Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>
getSellerByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>
getSellerByAuthToken(_associatedAuthToken: AuthTokenStruct, overrides?: CallOverrides) => Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>
removeFeesFromDisputeResolver(_disputeResolverId: BigNumberish, _feeTokenAddresses: string[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
removeSellersFromAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
updateAgent(_agent: AgentStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
updateBuyer(_buyer: BuyerStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
updateDisputeResolver(_disputeResolver: DisputeResolverStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
updateSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>

Overrides

BaseContract.functions

Defined in

src/contracts/IBosonAccountHandler.ts:570


interface

interface: IBosonAccountHandlerInterface

Overrides

BaseContract.interface

Defined in

src/contracts/IBosonAccountHandler.ts:549


off

off: OnEvent<IBosonAccountHandler>

Overrides

BaseContract.off

Defined in

src/contracts/IBosonAccountHandler.ts:565


on

on: OnEvent<IBosonAccountHandler>

Overrides

BaseContract.on

Defined in

src/contracts/IBosonAccountHandler.ts:566


once

once: OnEvent<IBosonAccountHandler>

Overrides

BaseContract.once

Defined in

src/contracts/IBosonAccountHandler.ts:567


populateTransaction

populateTransaction: Object

Type declaration

NameType
activateDisputeResolver(_disputeResolverId: BigNumberish, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
addFeesToDisputeResolver(_disputeResolverId: BigNumberish, _disputeResolverFees: DisputeResolverFeeStruct[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
addSellersToAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
areSellersAllowed(_disputeResolverId: BigNumberish, _sellerIds: BigNumberish[], overrides?: CallOverrides) => Promise<PopulatedTransaction>
createAgent(_agent: AgentStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
createBuyer(_buyer: BuyerStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
createDisputeResolver(_disputeResolver: DisputeResolverStruct, _disputeResolverFees: DisputeResolverFeeStruct[], _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
createSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, _voucherInitValues: VoucherInitValuesStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
getAgent(_agentId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getBuyer(_buyerId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getDisputeResolver(_disputeResolverId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getDisputeResolverByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getNextAccountId(overrides?: CallOverrides) => Promise<PopulatedTransaction>
getSeller(_sellerId: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getSellerByAddress(_associatedAddress: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getSellerByAuthToken(_associatedAuthToken: AuthTokenStruct, overrides?: CallOverrides) => Promise<PopulatedTransaction>
removeFeesFromDisputeResolver(_disputeResolverId: BigNumberish, _feeTokenAddresses: string[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
removeSellersFromAllowList(_disputeResolverId: BigNumberish, _sellerAllowList: BigNumberish[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
updateAgent(_agent: AgentStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
updateBuyer(_buyer: BuyerStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
updateDisputeResolver(_disputeResolver: DisputeResolverStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
updateSeller(_seller: SellerStruct, _authToken: AuthTokenStruct, overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

src/contracts/IBosonAccountHandler.ts:1393


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:82


removeListener

removeListener: OnEvent<IBosonAccountHandler>

Overrides

BaseContract.removeListener

Defined in

src/contracts/IBosonAccountHandler.ts:568


resolvedAddress

Readonly resolvedAddress: Promise<string>

Inherited from

BaseContract.resolvedAddress

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:98


signer

Readonly signer: Signer

Inherited from

BaseContract.signer

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:81

Methods

_checkRunningEvents

_checkRunningEvents(runningEvent): void

Parameters

NameType
runningEventRunningEvent

Returns

void

Inherited from

BaseContract._checkRunningEvents

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:121


_deployed

_deployed(blockTag?): Promise<Contract>

Parameters

NameType
blockTag?BlockTag

Returns

Promise<Contract>

Inherited from

BaseContract._deployed

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:114


_wrapEvent

_wrapEvent(runningEvent, log, listener): Event

Parameters

NameType
runningEventRunningEvent
logLog
listenerListener

Returns

Event

Inherited from

BaseContract._wrapEvent

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:122


activateDisputeResolver

activateDisputeResolver(_disputeResolverId, overrides?): Promise<ContractTransaction>

Parameters

NameType
_disputeResolverIdBigNumberish
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:755


addFeesToDisputeResolver

addFeesToDisputeResolver(_disputeResolverId, _disputeResolverFees, overrides?): Promise<ContractTransaction>

Parameters

NameType
_disputeResolverIdBigNumberish
_disputeResolverFeesDisputeResolverFeeStruct[]
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:760


addSellersToAllowList

addSellersToAllowList(_disputeResolverId, _sellerAllowList, overrides?): Promise<ContractTransaction>

Parameters

NameType
_disputeResolverIdBigNumberish
_sellerAllowListBigNumberish[]
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:766


areSellersAllowed

areSellersAllowed(_disputeResolverId, _sellerIds, overrides?): Promise<boolean[]>

Parameters

NameType
_disputeResolverIdBigNumberish
_sellerIdsBigNumberish[]
overrides?CallOverrides

Returns

Promise<boolean[]>

Defined in

src/contracts/IBosonAccountHandler.ts:772


attach

attach(addressOrName): IBosonAccountHandler

Parameters

NameType
addressOrNamestring

Returns

IBosonAccountHandler

Overrides

BaseContract.attach

Defined in

src/contracts/IBosonAccountHandler.ts:546


connect

connect(signerOrProvider): IBosonAccountHandler

Parameters

NameType
signerOrProviderstring | Signer | Provider

Returns

IBosonAccountHandler

Overrides

BaseContract.connect

Defined in

src/contracts/IBosonAccountHandler.ts:545


createAgent

createAgent(_agent, overrides?): Promise<ContractTransaction>

Parameters

NameType
_agentAgentStruct
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:778


createBuyer

createBuyer(_buyer, overrides?): Promise<ContractTransaction>

Parameters

NameType
_buyerBuyerStruct
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:783


createDisputeResolver

createDisputeResolver(_disputeResolver, _disputeResolverFees, _sellerAllowList, overrides?): Promise<ContractTransaction>

Parameters

NameType
_disputeResolverDisputeResolverStruct
_disputeResolverFeesDisputeResolverFeeStruct[]
_sellerAllowListBigNumberish[]
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:788


createSeller

createSeller(_seller, _authToken, _voucherInitValues, overrides?): Promise<ContractTransaction>

Parameters

NameType
_sellerSellerStruct
_authTokenAuthTokenStruct
_voucherInitValuesVoucherInitValuesStruct
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:795


deployed

deployed(): Promise<IBosonAccountHandler>

Returns

Promise<IBosonAccountHandler>

Overrides

BaseContract.deployed

Defined in

src/contracts/IBosonAccountHandler.ts:547


emit

emit(eventName, ...args): boolean

Parameters

NameType
eventNamestring | EventFilter
...argsany[]

Returns

boolean

Inherited from

BaseContract.emit

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:127


fallback

fallback(overrides?): Promise<TransactionResponse>

Parameters

NameType
overrides?TransactionRequest

Returns

Promise<TransactionResponse>

Inherited from

BaseContract.fallback

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:115


getAgent

getAgent(_agentId, overrides?): Promise<[boolean, AgentStructOutput] & { agent: AgentStructOutput ; exists: boolean }>

Parameters

NameType
_agentIdBigNumberish
overrides?CallOverrides

Returns

Promise<[boolean, AgentStructOutput] & { agent: AgentStructOutput ; exists: boolean }>

Defined in

src/contracts/IBosonAccountHandler.ts:802


getBuyer

getBuyer(_buyerId, overrides?): Promise<[boolean, BuyerStructOutput] & { buyer: BuyerStructOutput ; exists: boolean }>

Parameters

NameType
_buyerIdBigNumberish
overrides?CallOverrides

Returns

Promise<[boolean, BuyerStructOutput] & { buyer: BuyerStructOutput ; exists: boolean }>

Defined in

src/contracts/IBosonAccountHandler.ts:812


getDisputeResolver

getDisputeResolver(_disputeResolverId, overrides?): Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>

Parameters

NameType
_disputeResolverIdBigNumberish
overrides?CallOverrides

Returns

Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>

Defined in

src/contracts/IBosonAccountHandler.ts:822


getDisputeResolverByAddress

getDisputeResolverByAddress(_associatedAddress, overrides?): Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>

Parameters

NameType
_associatedAddressstring
overrides?CallOverrides

Returns

Promise<[boolean, DisputeResolverStructOutput, DisputeResolverFeeStructOutput[], BigNumber[]] & { disputeResolver: DisputeResolverStructOutput ; disputeResolverFees: DisputeResolverFeeStructOutput[] ; exists: boolean ; sellerAllowList: BigNumber[] }>

Defined in

src/contracts/IBosonAccountHandler.ts:839


getNextAccountId

getNextAccountId(overrides?): Promise<BigNumber>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

src/contracts/IBosonAccountHandler.ts:856


getSeller

getSeller(_sellerId, overrides?): Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>

Parameters

NameType
_sellerIdBigNumberish
overrides?CallOverrides

Returns

Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>

Defined in

src/contracts/IBosonAccountHandler.ts:858


getSellerByAddress

getSellerByAddress(_associatedAddress, overrides?): Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>

Parameters

NameType
_associatedAddressstring
overrides?CallOverrides

Returns

Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>

Defined in

src/contracts/IBosonAccountHandler.ts:873


getSellerByAuthToken

getSellerByAuthToken(_associatedAuthToken, overrides?): Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>

Parameters

NameType
_associatedAuthTokenAuthTokenStruct
overrides?CallOverrides

Returns

Promise<[boolean, SellerStructOutput, AuthTokenStructOutput] & { authToken: AuthTokenStructOutput ; exists: boolean ; seller: SellerStructOutput }>

Defined in

src/contracts/IBosonAccountHandler.ts:888


listenerCount

listenerCount(eventName?): number

Parameters

NameType
eventName?string | EventFilter

Returns

number

Inherited from

BaseContract.listenerCount

Defined in

node_modules/@ethersproject/contracts/lib/index.d.ts:128


listeners

listeners<TEvent>(eventFilter?): TypedListener<TEvent>[]

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilter?TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Overrides

BaseContract.listeners

Defined in

src/contracts/IBosonAccountHandler.ts:557

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

src/contracts/IBosonAccountHandler.ts:560


queryFilter

queryFilter<TEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TEvent[]>

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventTypedEventFilter<TEvent>
fromBlockOrBlockhash?string | number
toBlock?string | number

Returns

Promise<TEvent[]>

Overrides

BaseContract.queryFilter

Defined in

src/contracts/IBosonAccountHandler.ts:551


removeAllListeners

removeAllListeners<TEvent>(eventFilter): IBosonAccountHandler

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

IBosonAccountHandler

Overrides

BaseContract.removeAllListeners

Defined in

src/contracts/IBosonAccountHandler.ts:561

removeAllListeners(eventName?): IBosonAccountHandler

Parameters

NameType
eventName?string

Returns

IBosonAccountHandler

Overrides

BaseContract.removeAllListeners

Defined in

src/contracts/IBosonAccountHandler.ts:564


removeFeesFromDisputeResolver

removeFeesFromDisputeResolver(_disputeResolverId, _feeTokenAddresses, overrides?): Promise<ContractTransaction>

Parameters

NameType
_disputeResolverIdBigNumberish
_feeTokenAddressesstring[]
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:903


removeSellersFromAllowList

removeSellersFromAllowList(_disputeResolverId, _sellerAllowList, overrides?): Promise<ContractTransaction>

Parameters

NameType
_disputeResolverIdBigNumberish
_sellerAllowListBigNumberish[]
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:909


updateAgent

updateAgent(_agent, overrides?): Promise<ContractTransaction>

Parameters

NameType
_agentAgentStruct
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:915


updateBuyer

updateBuyer(_buyer, overrides?): Promise<ContractTransaction>

Parameters

NameType
_buyerBuyerStruct
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:920


updateDisputeResolver

updateDisputeResolver(_disputeResolver, overrides?): Promise<ContractTransaction>

Parameters

NameType
_disputeResolverDisputeResolverStruct
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:925


updateSeller

updateSeller(_seller, _authToken, overrides?): Promise<ContractTransaction>

Parameters

NameType
_sellerSellerStruct
_authTokenAuthTokenStruct
overrides?Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

src/contracts/IBosonAccountHandler.ts:930