NGL_IDO_KOL
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
6
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "NGL_IDO_KOL"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NGL_IDO_KOL"
ABI
ABI objects
Getter at block 21394553
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADER_ROLE() view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
UPGRADE_INTERFACE_VERSION() view returns (string)
5.0.0
USDC() view returns (address)
0x0000000000000000000000000000000000000000
USDT() view returns (address)
0x0000000000000000000000000000000000000000
defaultRate() view returns (uint256)
0
getCurrentRound() view returns (uint8)
2
initialBalance() view returns (uint256)
0
mainReceiver() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
startEvent() view returns (uint256)
0
totalNGLSold() view returns (uint256)
0
Read-only
alloc(address) view returns (uint256 KOL_used, uint256 PUBLIC_used)
balances(address) view returns (uint256)
getAvailableAP(uint8 r, address addr, uint256 amountPossible) view returns (uint256 available)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
isValid(bytes32[] proof, bytes32 leaf, uint256 rootIndex, uint256 amount) view returns (bool)
roots(uint256) view returns (bytes32)
supportsInterface(bytes4 interfaceId) view returns (bool)
verifyLeaf(address user, uint256 amount, bytes32 leaf) pure
State-modifying
Events changeMerkleRoot(uint256 _index, bytes32 root)
getNGLDefault(address token, uint256 usdProvided, uint256 amountPossible, uint256 rootIndex, bytes32 leaf, bytes32[] proof)
getNGLWithPermit(uint256 usdProvided, uint256 amountPossible, uint256 rootIndex, bytes32 leaf, bytes32[] proof, uint256 _deadline, uint8 _v, bytes32 _r, bytes32 _s)
grantRole(bytes32 role, address account)
initialize(uint256 _defaultRate, address[3] initAddr, bytes32[1] _roots)
renounceRole(bytes32 role, address callerConfirmation)
revokeRole(bytes32 role, address account)
setStart(uint256 _start, uint256 _initialBalance)
upgradeToAndCall(address newImplementation, bytes data) payable
Initialized(uint64 version)
NGLGiven(address indexed depositor, address indexed tokenUsed, uint256 depositAmount, uint256 nglGiven)
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)
Upgraded(address indexed implementation)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
AccessControlBadConfirmation()
AccessControlUnauthorizedAccount(address account, bytes32 neededRole)
AddressEmptyCode(address target)
AddressInsufficientBalance(address account)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
InsufficientAP()
InsufficientBalance()
InvalidInitialization()
InvalidLeaf()
InvalidProof()
InvalidRootIndex()
InvalidToken()
NoActiveRound()
NotInitializing()
SafeERC20FailedOperation(address token)
StartAlreadySet()
UUPSUnauthorizedCallContext()
UUPSUnsupportedProxiableUUID(bytes32 slot)