StakingRewards

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x33001050 at 16935492
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 1 additional slot
-
variable spans 40 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
16 additional variables

No balances found for "StakingRewards"

No transactions found for "StakingRewards"


Functions
Getter at block 21290545
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE(view returns (bytes32)
0x9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6
OWNER_ROLE(view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
_tokenIdTracker(view returns (uint256 _value)
0
accumulatedRewardsPerToken(view returns (uint256)
0
baseURI(view returns (string)
config(view returns (address)
0x0000000000000000000000000000000000000000
currentEarnRatePerToken(view returns (uint256)
0
lastUpdateTime(view returns (uint256)
0
maxRate(view returns (uint256)
0
maxRateAtPercent(view returns (uint256)
0
minRate(view returns (uint256)
0
minRateAtPercent(view returns (uint256)
0
name(view returns (string)
paused(view returns (bool)
false
rewardPerToken(view returns (uint256)
0
rewardsAvailable(view returns (uint256)
0
symbol(view returns (string)
targetCapacity(view returns (uint256)
0
totalStakedSupply(view returns (uint256)
0
totalSupply(view returns (uint256)
0
vestingLength(view returns (uint256)
0
Read-only
balanceOf(address ownerview returns (uint256)
claimableRewards(uint256 tokenIdview returns (uint256 rewards)
earnedSinceLastCheckpoint(uint256 tokenIdview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getBaseTokenExchangeRate(uint8 positionTypeview returns (uint256)
getEffectiveMultiplierForPositionType(uint8 positionTypeview returns (uint256)
getPosition(uint256 tokenIdview returns (struct StakedPosition position)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
optimisticClaimable(uint256 tokenIdview returns (uint256)
ownerOf(uint256 tokenIdview returns (address)
positionCurrentEarnRate(uint256 tokenIdview returns (uint256)
positionToAccumulatedRewardsPerToken(uint256view returns (uint256)
positions(uint256view returns (uint256 amountstruct Rewards rewardsuint256 leverageMultiplieruint256 lockedUntiluint8 positionTypeuint256 unsafeEffectiveMultiplieruint256 unsafeBaseTokenExchangeRate)
stakedBalanceOf(uint256 tokenIdview returns (uint256)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
totalOptimisticClaimable(address ownerview returns (uint256)
totalVestedAt(uint256 startuint256 enduint256 timeuint256 grantedAmountpure returns (uint256 rewards)
State-modifying
__initialize__(address owneraddress _config
addToStake(uint256 tokenIduint256 amount
approve(address touint256 tokenId
depositAndStake(uint256 usdcAmountreturns (uint256)
depositToCurve(uint256 fiduAmountuint256 usdcAmount
depositToCurveAndStake(uint256 fiduAmountuint256 usdcAmount
depositToCurveAndStakeFrom(address nftRecipientuint256 fiduAmountuint256 usdcAmount
depositWithPermitAndStake(uint256 usdcAmountuint256 deadlineuint8 vbytes32 rbytes32 sreturns (uint256)
getReward(uint256 tokenIdreturns (uint256)
grantRole(bytes32 roleaddress account
kick(uint256 tokenId
loadRewards(uint256 rewards
pause(
removeRewards(uint256 amount
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes _data
setApprovalForAll(address operatorbool approved
setBaseURI(string baseURI_
setEffectiveMultiplier(uint256 multiplieruint8 positionType
setRewardsParameters(uint256 _targetCapacityuint256 _minRateuint256 _maxRateuint256 _minRateAtPercentuint256 _maxRateAtPercent
stake(uint256 amountuint8 positionTypereturns (uint256)
transferFrom(address fromaddress touint256 tokenId
unpause(
unstake(uint256 tokenIduint256 amount
unstakeMultiple(uint256[] tokenIdsuint256[] amounts
updatePositionEffectiveMultiplier(uint256 tokenId
Events
AddToStake(address indexed useruint256 indexed tokenIduint256 amountuint8 positionType
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
DepositedAndStaked(address indexed useruint256 depositedAmountuint256 indexed tokenIduint256 amount
DepositedToCurve(address indexed useruint256 fiduAmountuint256 usdcAmountuint256 tokensReceived
DepositedToCurveAndStaked(address indexed useruint256 fiduAmountuint256 usdcAmountuint256 indexed tokenIduint256 amount
EffectiveMultiplierUpdated(address indexed whouint8 positionTypeuint256 multiplier
Paused(address account
RewardAdded(uint256 reward
RewardPaid(address indexed useruint256 indexed tokenIduint256 reward
RewardRemoved(uint256 reward
RewardsParametersUpdated(address indexed whouint256 targetCapacityuint256 minRateuint256 maxRateuint256 minRateAtPercentuint256 maxRateAtPercent
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Staked(address indexed useruint256 indexed tokenIduint256 amountuint8 positionTypeuint256 baseTokenExchangeRate
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unpaused(address account
Unstaked(address indexed useruint256 indexed tokenIduint256 amountuint8 positionType
UnstakedMultiple(address indexed useruint256[] tokenIdsuint256[] amounts
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.