StakingUUPSUpgradeable

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xcb90aa5d at 16682998
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

No balances found for "StakingUUPSUpgradeable"

No transactions found for "StakingUUPSUpgradeable"


Functions
Getter at block 21206863
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADER_ROLE(view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
 
currentEpochMultiplier(view returns (uint128)
epoch1Start(view returns (uint256)
0
epochDuration(view returns (uint256)
0
 
getCurrentEpoch(view returns (uint128)
getImplementation(view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID(view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
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
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

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.