ERC20DAO

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xf7845d2a at 18820133
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 4 additional slots

No balances found for "ERC20DAO"

No transactions found for "ERC20DAO"


Functions
Getter at block 20890093
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
decimals(view returns (uint8)
18
emitterContractAddress(view returns (address)
0x0000000000000000000000000000000000000000
erc20DaoDetails(view returns (string DaoNamestring DaoSymboluint256 quorumuint256 thresholdbool isGovernanceActivebool isTransferablebool onlyAllowWhitelistaddress ownerAddress)
(DaoName=, DaoSymbol=, quorum=0, threshold=0, isGovernanceActive=false, isTransferable=false, onlyAllowWhitelist=false, ownerAddress=0x0000000000000000000000000000000000000000)
factoryAddress(view returns (address)
0x0000000000000000000000000000000000000000
getERC20DAOdetails(view returns (struct HelperERC20DAOdetails)
(, , 0, 0, false, false, false, 0x0000000000000000000000000000000000000000)
name(view returns (string)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address spenderuint256 amountreturns (bool)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initializeERC20(address _factoryaddress _emitterstring _DaoNamestring _DaoSymboluint256 _quorumuint256 _thresholdbool _isGovernanceActivebool _isTransferableaddress _ownerAddressbool onlyAllowWhitelist
mintGTToAddress(uint256[] _amountArrayaddress[] _userAddress
mintToken(address touint256 amountbytes32[] _merkleProof
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
toggleOnlyAllowWhitelist(payable 
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
transferNft(address _nftaddress _touint256 _tokenId
updateGovernanceActive(bool _isGovernanceActivepayable 
updateGovernanceSettings(uint256 _quorumuint256 _threshold
updateProposalAndExecution(address _contractbytes _data
updateTokenTransferability(bool _isTokenTransferablepayable 
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive
receive(
Errors
AddressInvalid(string _paramaddress _address
AmountInvalid(string _paramuint256 _amount
ArrayLengthMismatch(uint256 _length1uint256 _length2
DepositAmountInvalid(uint256 _maxDepositPerUseruint256 _minDepositPerUser
DepositClosed(
DepositStarted(
InsufficientAllowance(uint256 requireduint256 current
InsufficientBalance(
InsufficientFunds(
InvalidData(
Max4TokensAllowed(uint256 _length
MaxTokensMinted(
MaxTokensMintedForUser(address _user
MintingNotOpen(
NoAccess(address _user
NotERC20Template(
NotWhitelisted(
RaiseAmountInvalid(uint256 _totalRaiseAmountuint256 _maxDepositPerUser