0x48302ba7bcdf2bd59d20f8893c0f11b431a3be24

Verified contract

Proxy

Active on Ethereum with 53 txns
Deployed by via 0x21262dca at 19594621
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 44 additional slots
-
variable spans 48 additional slots
-
variable spans 47 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
10 additional variables
ERC-20
Value $250,740.48
ERC-20
Value $1,187.89
ERC-20
--
ERC-20
--
0x73c6dad1a921fbea912ee7c587d0d9b986be789a685a8391634cb7fe3a9120ad
0x60ccc9e8717daf7f3562f1c93b80b01bc66dae36748aefc6b791a1106a7030ce
0x413e7bd81e361c2ebb079544ac81920788338b5576a7c503f5b5b75b3436ae01
0x39fe47e15d974daed39a0a252f788ff761990cc040daee1ffdd886497f7ae739
0x85a2df5648ca54712d7a1e0f3d4d784fcac83fdddc04c568169633f65801ddea
0x9a9135423fdc50629a7b68c9589ca613ead014762af2d70df9c122cb4c0c29aa
0x2a51a5e778bd8cdba2f3a617c555b47d1dc6925973249e9928c004f82c53aa3f
0x6beb5031055f85f56534006aa8617cadc98cb20ad84554bdce594d617c0ffd47
From
0xeb5f5f99c5ab8bc4a9e016efd048b740e0841219060081976631e0538138174d

Functions
Getter at block 21278000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x28a080b95bd9d5e7ed3d8260eed5799c96b9433064961c3cf13566f4807f0813
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MAX_REWARDS(view returns (uint256)
8
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
asset(view returns (address)
0xff71841eefca78a64421db28060855036765c248
decimals(view returns (uint8)
18
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=Cove YFI Cove Rewards Gauge, version=1, chainId=1, verifyingContract=0x48302ba7bcdf2bd59d20f8893c0f11b431a3be24, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name(view returns (string)
Cove YFI Cove Rewards Gauge
paused(view returns (bool)
false
symbol(view returns (string)
coveYFI-gauge
totalAssets(view returns (uint256)
41646883872501522815
totalSupply(view returns (uint256)
41646883872501522815
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
claimData(addressaddressview returns (uint256)
claimableReward(address useraddress rewardTokenview returns (uint256)
claimedReward(address addraddress tokenview returns (uint256)
convertToAssets(uint256 sharesview returns (uint256)
convertToShares(uint256 assetsview returns (uint256)
getRewardData(address rewardTokenview returns (struct BaseRewardsGaugeReward)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
nonces(address ownerview returns (uint256)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256 sharesview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewWithdraw(uint256 assetsview returns (uint256)
rewardIntegralFor(addressaddressview returns (uint256)
rewardTokens(uint256view returns (address)
rewardsReceiver(addressview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
addReward(address rewardTokenaddress distributor
approve(address spenderuint256 amountreturns (bool)
claimRewards(address addraddress receiver
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
deposit(uint256 assetsaddress receiverreturns (uint256)
depositRewardToken(address rewardTokenuint256 amount
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address asset_
mint(uint256 sharesaddress receiverreturns (uint256)
pause(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
redeem(uint256 sharesaddress receiveraddress ownerreturns (uint256)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setRewardDistributor(address rewardTokenaddress distributor
setRewardsReceiver(address receiver
transfer(address touint256 amountreturns (bool)
transferFrom(address fromaddress touint256 amountreturns (bool)
unpause(
withdraw(uint256 assetsaddress receiveraddress ownerreturns (uint256)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
Deposit(address indexed senderaddress indexed owneruint256 assetsuint256 shares
EIP712DomainChanged(
Initialized(uint8 version
Paused(address account
RewardDistributorSet(address indexed rewardTokenaddress distributor
RewardTokenAdded(address indexed rewardTokenaddress distributor
RewardTokenDeposited(address indexed rewardTokenuint256 amountuint256 newRateuint256 timestamp
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 value
Unpaused(address account
Withdraw(address indexed senderaddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
CannotRedirectForAnotherUser(
InvalidDistributorAddress(
MaxRewardsReached(
RewardAmountTooLow(
RewardCannotBeAsset(
RewardTokenAlreadyAdded(
RewardTokenNotAdded(
Unauthorized(
ZeroAddress(