TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 31 txns
Deployed by via 0x99ebf1ba at 19460726
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 48 additional slots
-
variable spans 1 additional slot
-
variable spans 1 additional slot
-
variable spans 45 additional slots
-
variable spans 46 additional slots
13 additional variables
ERC-20
Value $12,796.43
ERC-20
Value $8,052.37
ERC-20
--
0x95bf0a8420d15c43ede87a4cb24b5abc6d70e0b715c3b6e8c8b70142b75287b9
0x17a16f08eaa07020be229746423801b221b6c9f1711fd6837d0a3b94cd82b1e0
From
0x302b330c07fe56f61a646dfb4d7925fd8b966c1390147b0ee7e6b838e5d6be96
From
0x90c88ead095ec7c83fb6d8b8c7a78c20309e35d5cd6a56e6a8ed3aca4076726b
0x705ca406eb907290f4ca83621b7d7b7c6fb992f4af037a253d43c75a7c9e757a
0xf6d7846dc3af7217e55913e146a52a20432fa14847a21c156b77f556b5c5bf87
0x224c22ae0d8b3bb2a7f229f2874fa7290b76ff6934169be9252ea0cec7b56152
From
0x2d0c1eef7362e39a46048c2258bbff7c74bd1b19178a3019d6cdefbf824d6fcc
From
0x6cac0c0664a8e251d0766d90017796a5d1c6191fc964edd6522eb018d753160c
0xeb8d17562246edd5c3b70fb9ddd219afd3b14462e1d1d001f63dbeb2f5b66fdf
From

Functions
Getter at block 21320691
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
LIQUIDATOR_ROLE(view returns (bytes32)
0x5e17fc5225d4a099df75359ce1f405503ca79498a8dc46a7d583235a0ee45c16
REWARD_MANAGER_ROLE(view returns (bytes32)
0x0f51adb3f49e4a9bbb17b3783f025995eaf8c24be2c8eefff214bdfda05ef94d
VE_SHARING_ROLE(view returns (bytes32)
0x8d4998b5742dab4ffcf0a281dc749862b71ae54ba53b035bfb1d3dbc23ddc35d
WITHDRAW_FROM_ROLE(view returns (bytes32)
0x24ba51fc201891c1803eeafedeae076c0a88d453c20b1073528aa34d0cf55b79
asset(view returns (address)
0x9216272158f563488ffc36afb877aca2f265c560
baseToken(view returns (address)
0xcd5fe23c85820f7b72d0926fc9b05b43e359b7ee
fxn(view returns (address)
0x365accfca291e7d3914637abf1f7635db165bb09
gauge(view returns (address gaugeuint64 claimAt)
(gauge=0x0000000000000000000000000000000000000000, claimAt=0)
getActiveRewardTokens(view returns (address[] _rewardTokens)
[0xCd5fE23C85820F7B72D0926FC9b05b43E359b7ee, 0x365AccFCa291e7D3914637ABf1F7635dB165Bb09]
getHistoricalRewardTokens(view returns (address[] _rewardTokens)
[]
lastAssetLossError(view returns (uint256)
1311238249829348060403332
liquidatableCollateralRatio(view returns (uint256)
1305500000000000000
market(view returns (address)
0x267c6a96db7422faa60aa7198ffeeec4169cd65f
minter(view returns (address)
0xc8b194925d55d5de9555ad1db74c149329f71def
numTotalSupplyHistory(view returns (uint256)
432
periodLength(view returns (uint40)
604800
totalSupply(view returns (uint256)
1679158385661371474820054
treasury(view returns (address)
0x781ba968d5cc0b40eb592d5c8a9a3a4000063885
ve(view returns (address)
0xec6b8a3f3605b083f7044c0f31f2cac0caf1d469
veHelper(view returns (address)
0xd766f2b87de4b08c2239580366e49710180aba02
wrapper(view returns (address)
0xc2def1e39ff35367f2f2a312a793477c576fd4c3
Read-only
balanceOf(address _accountview returns (uint256)
boostCheckpoint(addressview returns (uint64 boostRatiouint64 historyIndex)
claimable(address _accountaddress _tokenview returns (uint256)
claimed(address _accountaddress _tokenview returns (uint256)
distributors(addressview returns (address)
epochToExponentToRewardSnapshot(addressuint256view returns (uint64 timestampuint192 integral)
getBoostRatio(address _accountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getStakerVoteOwner(addressview returns (address)
hasRole(bytes32 roleaddress accountview returns (bool)
isStakerAllowed(addressaddressview returns (bool)
pendingRewards(address _tokenview returns (uint256uint256)
rewardData(addressview returns (uint96 queueduint80 rateuint40 lastUpdateuint40 finishAt)
rewardReceiver(addressview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
totalSupplyHistory(uint256view returns (uint112 productuint104 amountuint40 updateAt)
userRewardSnapshot(addressaddressview returns (struct MultipleRewardCompoundingAccumulatorClaimData rewardsstruct MultipleRewardCompoundingAccumulatorRewardSnapshot checkpoint)
voteOwnerBalances(addressview returns (uint112 productuint104 amountuint40 updateAt)
voteOwnerHistoryBalances(addressuint256view returns (uint256)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
acceptSharedVote(address _newOwner
checkpoint(address _account
claim(
claim(address _account
claim(address _accountaddress _receiver
claimHistorical(address _accountaddress[] _tokens
claimHistorical(address[] _tokens
deposit(uint256 _amountaddress _receiver
depositReward(address _tokenuint256 _amount
grantRole(bytes32 roleaddress account
initialize(address _treasuryaddress _marketaddress _gauge
liquidate(uint256 _maxAmountuint256 _minBaseOutreturns (uint256 _liquidateduint256 _baseOut)
registerRewardToken(address _tokenaddress _distributor
rejectSharedVote(
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setRewardReceiver(address _newReceiver
toggleVoteSharing(address _staker
unregisterRewardToken(address _token
updateLiquidatableCollateralRatio(uint256 _newRatio
updateRewardDistributor(address _tokenaddress _newDistributor
updateWrapper(address _newWrapper
withdraw(uint256 _amountaddress _receiver
withdrawFrom(address _owneruint256 _amountaddress _receiver
Events
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
AcceptSharedVote(address indexed stakeraddress indexed oldOwneraddress indexed newOwner
CancelShareVote(address indexed owneraddress indexed staker
Claim(address indexed accountaddress indexed tokenaddress indexed receiveruint256 amount
Deposit(address indexed owneraddress indexed recieveruint256 amount
DepositReward(address indexed tokenuint256 amount
Initialized(uint8 version
Liquidate(uint256 liquidateduint256 baseGained
RegisterRewardToken(address indexed tokenaddress indexed distributor
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
ShareVote(address indexed owneraddress indexed staker
UnregisterRewardToken(address indexed token
UpdateLiquidatableCollateralRatio(uint256 oldRatiouint256 newRatio
UpdateRewardDistributor(address indexed tokenaddress indexed oldDistributoraddress indexed newDistributor
UpdateRewardReceiver(address indexed accountaddress indexed oldReceiveraddress indexed newReceiver
UpdateWrapper(address indexed oldWrapperaddress indexed newWrapper
UserDepositChange(address indexed owneruint256 newDeposituint256 loss
Withdraw(address indexed owneraddress indexed recieveruint256 amount
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
Errors
CannotLiquidate(
ClaimOthersRewardToAnother(
DepositZeroAmount(
DuplicatedRewardToken(
ErrorCascadedSharingIsNotAllowed(
ErrorNoAcceptedSharedVote(
ErrorRepeatAcceptSharedVote(
ErrorSelfSharingIsNotAllowed(
ErrorVoteOwnerCannotStake(
ErrorVoteShareNotAllowed(
ErrorWrapperDstMismatch(
ErrorWrapperSrcMismatch(
NotActiveRewardToken(
NotRewardDistributor(
RewardDistributionNotFinished(
RewardDistributorIsZero(
WithdrawZeroAmount(