StakingUUPSUpgradeable
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
10
Slot
XX
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
Balances ($0.00)
No balances found for "StakingUUPSUpgradeable"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "StakingUUPSUpgradeable"
ABI
ABI objects
Getter at block 21206863 currentEpochMultiplier() view returns (uint128) getCurrentEpoch() view returns (uint128)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
UPGRADER_ROLE() view returns (bytes32)
0x189ab7a9244df0848122154315af71fe140f3db0fe014031783b0946b8c9d2e3
epoch1Start() view returns (uint256)
0
epochDuration() view returns (uint256)
0
getImplementation() view returns (address)
0x0000000000000000000000000000000000000000
proxiableUUID() view returns (bytes32)
0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc
Read-only
balanceOf(address user, address token) view returns (uint256)
computeNewMultiplier(uint256 prevBalance, uint128 prevMultiplier, uint256 amount, uint128 currentMultiplier) pure returns (uint128)
epochIsInitialized(address token, uint128 epochId) view returns (bool)
getEpochPoolSize(address tokenAddress, uint128 epochId) view returns (uint256)
getEpochUserBalance(address user, address token, uint128 epochId) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events deposit(address tokenAddress, uint256 amount)
emergencyWithdraw(address tokenAddress)
grantRole(bytes32 role, address account)
initAllEpochs(address[] tokens)
initAllEpochsToken(address token)
initialize(struct IYieldFarmingV1StakingStakingConfig cfg)
initializeUUPS(struct IYieldFarmingV1StakingStakingConfig cfg, address roleAdmin, address upgrader)
manualEpochInit(address[] tokens, uint128 epochId)
manualEpochInitToken(address token, uint128 epochId)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
withdraw(address tokenAddress, uint256 amount)
AdminChanged(address previousAdmin, address newAdmin)
BeaconUpgraded(address indexed beacon)
Deposit(address indexed user, address indexed tokenAddress, uint256 amount)
EmergencyWithdraw(address indexed user, address indexed tokenAddress, uint256 amount)
InitAllEpochs(address indexed caller, address[] tokens)
InitAllEpochsToken(address indexed caller, address tokenAddress)
Initialized(uint8 version)
ManualEpochInit(address indexed caller, uint128 indexed epochId, address[] tokens)
ManualEpochInitToken(address indexed caller, uint128 indexed epochId, address tokenAddress)
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)
Withdraw(address indexed user, address indexed tokenAddress, uint256 amount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.