ERC1967Proxy
Verified contract
Proxy
Active on
Ethereum with 1,163 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
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 "ERC1967Proxy"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19275535 | 10 months ago | | | 0 | 0.0026978115 | |
| 19270695 | 10 months ago | | | 0 | 0.0040581760 | |
| 19270253 | 10 months ago | | | 0 | 0.0033706800 | |
| 19270253 | 10 months ago | | | 0 | 0.0033687600 | |
| 19270137 | 10 months ago | | | 0 | 0.0040415268 | |
| 19269797 | 10 months ago | | | 0 | 0.0044942800 | |
| 19269773 | 10 months ago | | | 0 | 0.0048889963 | |
| 19269773 | 10 months ago | | | 0 | 0.0050950808 | |
| 19269759 | 10 months ago | | | 0 | 0.0055891418 | |
| 19269759 | 10 months ago | | | 0 | 0.0055885799 |
ABI
ABI objects
Getter at block 21394553 proxiableUUID() view returns (bytes32)
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)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
USDT() view returns (address)
0xdac17f958d2ee523a2206206994597c13d831ec7
defaultRate() view returns (uint256)
45
getCurrentRound() view returns (uint8)
3
initialBalance() view returns (uint256)
2222223000000000000000000
mainReceiver() view returns (address)
0xefccd986d2bb6350deb219e7069a23b45c35cdfd
startEvent() view returns (uint256)
1708441200
totalNGLSold() view returns (uint256)
2222221333333333333333111
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
Upgraded(address indexed implementation)
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)
constructor(address implementation, bytes _data)
fallback()
AddressEmptyCode(address target)
ERC1967InvalidImplementation(address implementation)
ERC1967NonPayable()
FailedInnerCall()
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)