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
Name | Type | Description |
---|---|---|
nextAccountId | uint256 | the account id |