ERC20RewardsGauge

Verified contract

Implementation

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

No balances found for "ERC20RewardsGauge"

No transactions found for "ERC20RewardsGauge"


Functions
Getter at block 21180757
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DOMAIN_SEPARATOR(view returns (bytes32)
0x60fbffb4ed781922d398a6a9e305e1342d4a1c0bad678ae0d7c2b4a8c9e83a5d
MANAGER_ROLE(view returns (bytes32)
0x241ecf16d79d0f8dbfb92cbc07fe17840425976cf0667f022fe9877caa831b08
MAX_REWARDS(view returns (uint256)
8
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
asset(view returns (address)
0x0000000000000000000000000000000000000000
decimals(view returns (uint8)
0
eip712Domain(view returns (bytes1 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] extensions)
(fields=0x0f, name=, version=, chainId=1, verifyingContract=0xb5ed89e400b1edae5a0a307e0c2196116f543605, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
name(view returns (string)
paused(view returns (bool)
false
symbol(view returns (string)
totalAssets(view returns (uint256)
0
totalSupply(view returns (uint256)
0
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(