ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 1,163 txns
Deployed by via 0x015d8eaf at 19268858
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ERC1967Proxy"

0x0f7224306c64a83bdadb409bdbb85ad8f32521abfc8e61a43be56fec5e6e8251
0xf0ffa3784bfd6e1deee3f1e52410c3983d903317bc9f828472970406c18e8480
0xd0b6bde0886857914dd4f50cd5d3a4fffdecf985305a014ce6d0c03f946f35d2
0x4480f0be57cf17cba079230a36574c8d8932a0a207b73450e84eb1566e39a2b7
0x563fdac702f43fd6e1fe8741b39d773eaf6b4cf7e4585079f38430dd9db87664
0x0e237b82fb35d943343173dde40a046f7dc6e01bad89dc3b49c8c48f7d64a905
0x4004ed5430f5e85d405bdb45a434eb4813cbc260bcdf4e6d90a74fbd62da8bea
0x3feec3b6f181a1affcad8d9b9562fa2cfbd1aeeee71955d537c2585ff0c446d5
From
0x8eaf3ba7d0f6272a105f7b86f7bac1e563efaf919421c4756d4ca25f5a35d8c8
0xc38e930111384ffd15225725b85502779daa37ba80630d3fec71b35002e30b12

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)
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
 
proxiableUUID(view returns (bytes32)
startEvent(view returns (uint256)
1708441200
totalNGLSold(view returns (uint256)
2222221333333333333333111
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
Upgraded(address indexed implementation
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
constructor(address implementationbytes _data
Fallback and receive
fallback(
Errors
AddressEmptyCode(address target
ERC1967InvalidImplementation(address implementation
ERC1967NonPayable(
FailedInnerCall(
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