TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 38 txns
Deployed by via 0x0fb7c011 at 19682622
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 $61,072.48
ERC-20
--
ERC-20
--
0x664b34f256854e6c89156feb279217a3af35b89f987ead9bc70a8bbf7b494a69
0xad56a84b9b0210a87491e18a2c51c8893fe9534403f0eb846b97778600f1c440
0x78f241aca675d68b2258ce25221b1b86dc47b439557e6d09e9738ef139fa3f33
0x421687186c21d9e119da7b420b8dbd90654ccf79f28bed346607d0eba3366678
0xadb8885c9c4a8bd913b3ea684574e7942054f2373eb027dcc012f7862a52229a
0x4a3a6ddc3fd66ca9e76d466c34ea760a1413bb7bf4d2b0fa286534612238d012
0x98d2f4df34c5f078ced9e273d28ca5a8e6588212a8c736d6a4a8f07a660ac427
0x7f57206b6df26faf72da05e428779835294355172e2aa3bfe62b220a8a507ca8
0x950e46c08de1834ab738c3a958515c37021d2129d631321d78cb73acaa8f779e
0x87f7921151b4f8cfae49ffd56968e7d1afdd53579386399969c6aed42082363c

Functions
Getter at block 21429883
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)
0x576b4779727f5998577bb4e25bf726abe742b9f7
baseToken(view returns (address)
0x2260fac5e5542a773aa44fbcfedf7c193bc2c599
fxn(view returns (address)
0x365accfca291e7d3914637abf1f7635db165bb09
gauge(view returns (address gaugeuint64 claimAt)
(gauge=0x0000000000000000000000000000000000000000, claimAt=0)
getActiveRewardTokens(view returns (address[] _rewardTokens)
[0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599, 0x365AccFCa291e7D3914637ABf1F7635dB165Bb09, 0x9f23562ec47249761222EF7Ac02b327a8C45Ba7D, 0xAe34EE329Ee91ddBFbe50443df9DEdb076477f55]
getHistoricalRewardTokens(view returns (address[] _rewardTokens)
[]
lastAssetLossError(view returns (uint256)
0
liquidatableCollateralRatio(view returns (uint256)
1219200000000000000
market(view returns (address)
0x56b85438f1e16a91eac5fe2daab2c3dd57690175
minter(view returns (address)
0xc8b194925d55d5de9555ad1db74c149329f71def
numTotalSupplyHistory(view returns (uint256)
198
periodLength(view returns (uint40)
604800
totalSupply(view returns (uint256)
1409390631363224923730694
treasury(view returns (address)
0x63fe55b3fe3f74b42840788cfbe6229869590f83
ve(view returns (address)
0xec6b8a3f3605b083f7044c0f31f2cac0caf1d469
veHelper(view returns (address)
0xd766f2b87de4b08c2239580366e49710180aba02
wrapper(view returns (address)
0x1a17ccf198e03858227c27205f15a4b388235db7
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(