ERC20RewardsGauge
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 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
Balances ($0.00)
No balances found for "ERC20RewardsGauge"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "ERC20RewardsGauge"
ABI
ABI objects
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 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] 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 owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
claimData(address, address) view returns (uint256)
claimableReward(address user, address rewardToken) view returns (uint256)
claimedReward(address addr, address token) view returns (uint256)
convertToAssets(uint256 shares) view returns (uint256)
convertToShares(uint256 assets) view returns (uint256)
getRewardData(address rewardToken) view returns (struct BaseRewardsGaugeReward)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
maxDeposit(address) view returns (uint256)
maxMint(address) view returns (uint256)
maxRedeem(address owner) view returns (uint256)
maxWithdraw(address owner) view returns (uint256)
nonces(address owner) view returns (uint256)
previewDeposit(uint256 assets) view returns (uint256)
previewMint(uint256 shares) view returns (uint256)
previewRedeem(uint256 shares) view returns (uint256)
previewWithdraw(uint256 assets) view returns (uint256)
rewardIntegralFor(address, address) view returns (uint256)
rewardTokens(uint256) view returns (address)
rewardsReceiver(address) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events addReward(address rewardToken, address distributor)
approve(address spender, uint256 amount) returns (bool)
claimRewards(address addr, address receiver)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
deposit(uint256 assets, address receiver) returns (uint256)
depositRewardToken(address rewardToken, uint256 amount)
grantRole(bytes32 role, address account)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address asset_)
mint(uint256 shares, address receiver) returns (uint256)
pause()
permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
redeem(uint256 shares, address receiver, address owner) returns (uint256)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setRewardDistributor(address rewardToken, address distributor)
setRewardsReceiver(address receiver)
transfer(address to, uint256 amount) returns (bool)
transferFrom(address from, address to, uint256 amount) returns (bool)
unpause()
withdraw(uint256 assets, address receiver, address owner) returns (uint256)
Approval(address indexed owner, address indexed spender, uint256 value)
Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)
EIP712DomainChanged()
Initialized(uint8 version)
Paused(address account)
RewardDistributorSet(address indexed rewardToken, address distributor)
RewardTokenAdded(address indexed rewardToken, address distributor)
RewardTokenDeposited(address indexed rewardToken, uint256 amount, uint256 newRate, uint256 timestamp)
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)
Transfer(address indexed from, address indexed to, uint256 value)
Unpaused(address account)
Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
CannotRedirectForAnotherUser()
InvalidDistributorAddress()
MaxRewardsReached()
RewardAmountTooLow()
RewardCannotBeAsset()
RewardTokenAlreadyAdded()
RewardTokenNotAdded()
Unauthorized()
ZeroAddress()