NGL_IDO_KOL

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x9d08f158 at 19268857
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "NGL_IDO_KOL"

No transactions found for "NGL_IDO_KOL"


Functions
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(addressview returns (uint256 KOL_useduint256 PUBLIC_used)
balances(addressview returns (uint256)
getAvailableAP(uint8 raddress addruint256 amountPossibleview returns (uint256 available)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
isValid(bytes32[] proofbytes32 leafuint256 rootIndexuint256 amountview returns (bool)
roots(uint256view returns (bytes32)
supportsInterface(bytes4 interfaceIdview returns (bool)
verifyLeaf(address useruint256 amountbytes32 leafpure 
State-modifying
changeMerkleRoot(uint256 _indexbytes32 root
getNGLDefault(address tokenuint256 usdProvideduint256 amountPossibleuint256 rootIndexbytes32 leafbytes32[] proof
getNGLWithPermit(uint256 usdProvideduint256 amountPossibleuint256 rootIndexbytes32 leafbytes32[] proofuint256 _deadlineuint8 _vbytes32 _rbytes32 _s
grantRole(bytes32 roleaddress account
initialize(uint256 _defaultRateaddress[3] initAddrbytes32[1] _roots
renounceRole(bytes32 roleaddress callerConfirmation
revokeRole(bytes32 roleaddress account
setStart(uint256 _startuint256 _initialBalance
upgradeToAndCall(address newImplementationbytes datapayable 
Events
Initialized(uint64 version
NGLGiven(address indexed depositoraddress indexed tokenUseduint256 depositAmountuint256 nglGiven
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Upgraded(address indexed implementation
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
AccessControlBadConfirmation(
AccessControlUnauthorizedAccount(address accountbytes32 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