EditionStake

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x3800434d at 1185044
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 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
1 additional variable

No balances found for "EditionStake"

No transactions found for "EditionStake"


Functions
Getter at block 22123429
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
contractType(pure returns (bytes32)
0x45646974696f6e5374616b650000000000000000000000000000000000000000
contractURI(view returns (string)
contractVersion(pure returns (uint8)
1
 
getDefaultRewardsPerUnitTime(view returns (uint256 _rewardsPerUnitTime)
 
getDefaultTimeUnit(view returns (uint256 _timeUnit)
getRewardTokenBalance(view returns (uint256 _rewardsAvailableInContract)
0
rewardToken(view returns (address)
0x0000000000000000000000000000000000000000
stakingToken(view returns (address)
0x0000000000000000000000000000000000000000
Read-only
getRewardsPerUnitTime(uint256 _tokenIdview returns (uint256 _rewardsPerUnitTime)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address member)
getRoleMemberCount(bytes32 roleview returns (uint256 count)
getStakeInfo(address _stakerview returns (uint256[] _tokensStakeduint256[] _tokenAmountsuint256 _totalRewards)
getStakeInfoForToken(uint256 _tokenIdaddress _stakerview returns (uint256 _tokensStakeduint256 _rewards)
getTimeUnit(uint256 _tokenIdview returns (uint256 _timeUnit)
hasRole(bytes32 roleaddress accountview returns (bool)
hasRoleWithSwitch(bytes32 roleaddress accountview returns (bool)
indexedTokens(uint256view returns (uint256)
isIndexed(uint256view returns (bool)
isTrustedForwarder(address forwarderview returns (bool)
stakers(uint256addressview returns (uint256 amountStakeduint256 timeOfLastUpdateuint256 unclaimedRewardsuint256 conditionIdOflastUpdate)
stakersArray(uint256uint256view returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
claimRewards(uint256 _tokenId
depositRewardTokens(uint256 _amountpayable 
grantRole(bytes32 roleaddress account
initialize(address _defaultAdminstring _contractURIaddress[] _trustedForwardersaddress _rewardTokenaddress _stakingTokenuint256 _defaultTimeUnituint256 _defaultRewardsPerUnitTime
multicall(bytes[] datareturns (bytes[] results)
onERC1155BatchReceived(address operatoraddress fromuint256[] idsuint256[] valuesbytes datareturns (bytes4)
onERC1155Received(addressaddressuint256uint256bytesreturns (bytes4)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
setContractURI(string _uri
setDefaultRewardsPerUnitTime(uint256 _defaultRewardsPerUnitTime
setDefaultTimeUnit(uint256 _defaultTimeUnit
setRewardsPerUnitTime(uint256 _tokenIduint256 _rewardsPerUnitTime
setTimeUnit(uint256 _tokenIduint256 _timeUnit
stake(uint256 _tokenIduint256 _amount
withdraw(uint256 _tokenIduint256 _amount
withdrawRewardTokens(uint256 _amount
Events
ContractURIUpdated(string prevURIstring newURI
Initialized(uint8 version
RewardTokensDepositedByAdmin(uint256 _amount
RewardTokensWithdrawnByAdmin(uint256 _amount
RewardsClaimed(address indexed stakeruint256 rewardAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
TokensStaked(address indexed stakeruint256 indexed tokenIduint256 amount
TokensWithdrawn(address indexed stakeruint256 indexed tokenIduint256 amount
UpdatedDefaultRewardsPerUnitTime(uint256 oldRewardsPerUnitTimeuint256 newRewardsPerUnitTime
UpdatedDefaultTimeUnit(uint256 oldTimeUnituint256 newTimeUnit
UpdatedRewardsPerUnitTime(uint256 indexed _tokenIduint256 oldRewardsPerUnitTimeuint256 newRewardsPerUnitTime
UpdatedTimeUnit(uint256 indexed _tokenIduint256 oldTimeUnituint256 newTimeUnit
Constructor
constructor(address _nativeTokenWrapper
Fallback and receive
receive(
Errors

This contract contains no error objects.