ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 212 txns
Deployed by via 0x1189a7a2 at 16682999
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
1 additional variable
ERC-20
--
0xccb4bce78b9c97417cd81422da4a9ced9d844180d883ee3c47fd158beb6d8552
0x7915b319a1863815c23af90bcc4dfdf515fbe4e8d73c64e09ef6a87b911baf4a
0x5e48e1f98218f391809e5c9126881d1be72002dc6fb3b638217c9fccfb951398
0xdb48a9a125a42ec2bff6ab7b8bc57dcf1d61412dde9dbe44296b4b26cd539684
0xb84094c261c19223b9d58bc91c474ea0f6ecdc48633067d6232e03bcaec7f2ae
0xf023b2eb4b8b79b5b7c9fa9d4d54cb7f3b72b5102d1e4f6f6a1ae40648638914
0x413516326236a484332ccf3fc165d1048464e8982eed4dae8af0e847f9f6aa15
0x7f1de2540405357fc6c4bd99be8d1e112022dc64c926a21f321a935c12dedada
0x2f0ae3232c7fd90a29b1d43658fb6ab2711a76a5f0027a6046dde97e65b892e0
0xc285d18817be3b06a6a44e135fd759a4a39a839fa2c143f842d52110c9ef75cd

Functions
Getter at block 21205730
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADER_ROLE(view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
currentEpochMultiplier(view returns (uint128)
459604828042328042
epoch1Start(view returns (uint256)
1677672000
epochDuration(view returns (uint256)
604800
getCurrentEpoch(view returns (uint128)
90
getImplementation(view returns (address)
0x91fd1ef3d91f5a1c58a5345d6ca216ec5312dfcf
 
proxiableUUID(view returns (bytes32)
Read-only
balanceOf(address useraddress tokenview returns (uint256)
computeNewMultiplier(uint256 prevBalanceuint128 prevMultiplieruint256 amountuint128 currentMultiplierpure returns (uint128)
epochIsInitialized(address tokenuint128 epochIdview returns (bool)
getEpochPoolSize(address tokenAddressuint128 epochIdview returns (uint256)
getEpochUserBalance(address useraddress tokenuint128 epochIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
deposit(address tokenAddressuint256 amount
emergencyWithdraw(address tokenAddress
grantRole(bytes32 roleaddress account
initAllEpochs(address[] tokens
initAllEpochsToken(address token
initialize(struct IYieldFarmingV1StakingStakingConfig cfg
initializeUUPS(struct IYieldFarmingV1StakingStakingConfig cfgaddress roleAdminaddress upgrader
manualEpochInit(address[] tokensuint128 epochId
manualEpochInitToken(address tokenuint128 epochId
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
withdraw(address tokenAddressuint256 amount
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Deposit(address indexed useraddress indexed tokenAddressuint256 amount
EmergencyWithdraw(address indexed useraddress indexed tokenAddressuint256 amount
InitAllEpochs(address indexed calleraddress[] tokens
InitAllEpochsToken(address indexed calleraddress tokenAddress
Initialized(uint8 version
ManualEpochInit(address indexed calleruint128 indexed epochIdaddress[] tokens
ManualEpochInitToken(address indexed calleruint128 indexed epochIdaddress tokenAddress
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
Withdraw(address indexed useraddress indexed tokenAddressuint256 amount
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.