Dagora ERC20 Factory
DagoraFactory__TokenCreationPaused
DagoraFactory__InvalidTier
DagoraFactory__NotDAgoraMembershipsOwnerOrDelegate
DagoraFactory__ExpiredMembership
DagoraERC20Factory
isPaused
Boolean to determine if the contract is paused.
default value is false, contract is not paused on deployment.
dAgoraMembershipsAddress
The address of the dAgoraMemberships contract.
minERC20Tier
The minimum tier required to create a NFTAPlus contract.
contractsDeployed
the count of all the contracts deployed by the factory
DagoraERC20Created
The event emitted when a NFTAPlus contract is created.
userContracts
initialize
isNotPaused
Modifier to check if the contract is paused.
Reverts if the contract is paused.
canCreate
Modifier to check if the user can create a contract.
Reverts if the user membership tier is not high enough, if the membership is expired, and if the user is not owner of tokenId.
Parameters
createDagoraERC20
Function to create a new DagoraERC20 contract.
Creates a new DagoraERC20 contract, and emits a DagoraERC20Created event.
Parameters
getUserContracts
togglePaused
setMinERC20Tier
_canCreate
Internal function that checks if a address owns or is a delegate of a membership, and if the membership is valid, and if the membership tier is high enough.
Parameters
Return Values
Last updated