Skip to main content

AccountHandlerFacet

View Source: contracts/protocol/facets/AccountHandlerFacet.sol

↗ Extends: ProtocolBase

AccountHandlerFacet

Registers the IBosonAccountHandler interface and exposes the next account id.

Functions

initialize

Initializes facet.
This function is callable only once.

function initialize() 
public
onlyUnInitialized

getNextAccountId

Gets the next account id that can be assigned to an account.Does not increment the counter.

function getNextAccountId() 
external
view
returns(uint256 nextAccountId)

Returns

NameTypeDescription
nextAccountIduint256the account id