ERC20DAO
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
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
Balances ($0.00)
No balances found for "ERC20DAO"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ERC20DAO"
ABI
ABI objects
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 DaoName, string DaoSymbol, uint256 quorum, uint256 threshold, bool isGovernanceActive, bool isTransferable, bool onlyAllowWhitelist, address 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 owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
grantRole(bytes32 role, address account)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initializeERC20(address _factory, address _emitter, string _DaoName, string _DaoSymbol, uint256 _quorum, uint256 _threshold, bool _isGovernanceActive, bool _isTransferable, address _ownerAddress, bool onlyAllowWhitelist)
mintGTToAddress(uint256[] _amountArray, address[] _userAddress)
mintToken(address to, uint256 amount, bytes32[] _merkleProof)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
toggleOnlyAllowWhitelist() payable
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
transferNft(address _nft, address _to, uint256 _tokenId)
updateGovernanceActive(bool _isGovernanceActive) payable
updateGovernanceSettings(uint256 _quorum, uint256 _threshold)
updateProposalAndExecution(address _contract, bytes _data)
updateTokenTransferability(bool _isTokenTransferable) payable
Approval(address indexed owner, address indexed spender, uint256 value)
Initialized(uint8 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
receive()
AddressInvalid(string _param, address _address)
AmountInvalid(string _param, uint256 _amount)
ArrayLengthMismatch(uint256 _length1, uint256 _length2)
DepositAmountInvalid(uint256 _maxDepositPerUser, uint256 _minDepositPerUser)
DepositClosed()
DepositStarted()
InsufficientAllowance(uint256 required, uint256 current)
InsufficientBalance()
InsufficientFunds()
InvalidData()
Max4TokensAllowed(uint256 _length)
MaxTokensMinted()
MaxTokensMintedForUser(address _user)
MintingNotOpen()
NoAccess(address _user)
NotERC20Template()
NotWhitelisted()
RaiseAmountInvalid(uint256 _totalRaiseAmount, uint256 _maxDepositPerUser)