LiquidityStakingV1
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
20
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 48 additional slots
-
variable spans 49 additional slots
3 additional
variables
Balances ($0.00)
No balances found for "LiquidityStakingV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LiquidityStakingV1"
ABI
ABI objects
Getter at block 21181782 getContractBalanceAvailableToBorrow() view returns (uint256) getCurrentEpoch() view returns (uint256) getTimeRemainingInCurrentEpoch() view returns (uint256) getTotalActiveBalanceCurrentEpoch() view returns (uint256) getTotalActiveBalanceNextEpoch() view returns (uint256) getTotalInactiveBalanceCurrentEpoch() view returns (uint256) getTotalInactiveBalanceNextEpoch() view returns (uint256) inBlackoutWindow() view returns (bool) totalSupply() view returns (uint256)
BORROWER_ADMIN_ROLE() view returns (bytes32)
0x6c2e489c3a95017c97c0bcc47de38933a0bbf2041c9289b8ca34c445b13177af
CLAIM_OPERATOR_ROLE() view returns (bytes32)
0x36dc7495d0ae0bc2a620bf292049e4d4e5f800043895b13c08a1977d3a3297f5
DEBT_OPERATOR_ROLE() view returns (bytes32)
0x0428e137352b5b1a834770c71b580c01521c0b3f2442928c650692cd1b3f496c
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
DISTRIBUTION_END() view returns (uint256)
1785682798
DISTRIBUTION_START() view returns (uint256)
1628002800
EPOCH_PARAMETERS_ROLE() view returns (bytes32)
0xa69ba352872fe0ee634bc8d48d2a09a61267da1bfb2015e67a11ad05fe21f04b
OWNER_ROLE() view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
REWARDS_RATE_ROLE() view returns (bytes32)
0x74ec845281a5bcabeef9a800a79d30928ff9e6f2dc6f69a233fc39a83cb81ed2
REWARDS_TOKEN() view returns (address)
0x92d6c1e31e14520e676a687f0a93788b716beff5
REWARDS_TREASURY() view returns (address)
0x639192d54431f8c816368d3fb4107bc168d0e871
STAKED_TOKEN() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
STAKE_OPERATOR_ROLE() view returns (bytes32)
0xa6fbd0d4ef0ac50b4de984ab8f303863596293cce6d67dd6111979bcf56abe74
TOTAL_ALLOCATION() view returns (uint256)
10000
decimals() pure returns (uint8)
6
getBlackoutWindow() view returns (uint256)
0
getContractBalanceAvailableToWithdraw() view returns (uint256)
0
getEpochParameters() view returns (struct LS1TypesEpochParameters)
(0, 0)
getRewardsPerSecond() view returns (uint256)
0
getShortfallCount() view returns (uint256)
0
getTotalBorrowedBalance() view returns (uint256)
0
getTotalBorrowerDebtBalance() view returns (uint256)
0
getTotalDebtAvailableToWithdraw() view returns (uint256)
0
hasEpochZeroStarted() view returns (bool)
true
name() pure returns (string)
dYdX Staked USDC
symbol() pure returns (string)
stkUSDC
Read-only
allowance(address owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getActiveBalanceCurrentEpoch(address staker) view returns (uint256)
getActiveBalanceNextEpoch(address staker) view returns (uint256)
getAllocatedBalanceCurrentEpoch(address borrower) view returns (uint256)
getAllocatedBalanceNextEpoch(address borrower) view returns (uint256)
getAllocationFractionCurrentEpoch(address borrower) view returns (uint256)
getAllocationFractionNextEpoch(address borrower) view returns (uint256)
getBorrowableAmount(address borrower) view returns (uint256)
getBorrowedBalance(address borrower) view returns (uint256)
getBorrowerDebtBalance(address borrower) view returns (uint256)
getDebtAvailableToWithdraw(address staker) view returns (uint256)
getInactiveBalanceCurrentEpoch(address staker) view returns (uint256)
getInactiveBalanceNextEpoch(address staker) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getShortfall(uint256 shortfallCounter) view returns (struct LS1TypesShortfall)
getStakeAvailableToWithdraw(address staker) view returns (uint256)
getStakerDebtBalance(address staker) view returns (uint256)
getStartOfEpoch(uint256 epochNumber) view returns (uint256)
getTransferableBalance(address account) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
isBorrowerOverdue(address borrower) view returns (bool)
isBorrowingRestrictedForBorrower(address borrower) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
borrow(uint256 amount)
claimRewards(address recipient) returns (uint256)
claimRewardsFor(address staker, address recipient) returns (uint256)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
decreaseBorrowerDebt(address borrower, uint256 amount) returns (uint256)
decreaseStakerDebt(address staker, uint256 amount) returns (uint256)
failsafeDeleteUserInactiveBalance()
failsafeSettleUserInactiveBalanceToEpoch(uint256 maxEpoch)
grantRole(bytes32 role, address account)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(uint256 interval, uint256 offset, uint256 blackoutWindow)
markDebt(address[] borrowers) returns (uint256)
renounceRole(bytes32 role, address account)
repayBorrow(address borrower, uint256 amount)
repayDebt(address borrower, uint256 amount)
requestWithdrawal(uint256 amount)
requestWithdrawalFor(address staker, uint256 amount)
restrictBorrower(address borrower)
revokeRole(bytes32 role, address account)
setBlackoutWindow(uint256 blackoutWindow)
setBorrowerAllocations(address[] borrowers, uint256[] newAllocations)
setBorrowingRestriction(address borrower, bool isBorrowingRestricted)
setEpochParameters(uint256 interval, uint256 offset)
setRewardsPerSecond(uint256 emissionPerSecond)
stake(uint256 amount)
stakeFor(address staker, uint256 amount)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
withdrawDebt(address recipient, uint256 amount)
withdrawMaxDebt(address recipient) returns (uint256)
withdrawMaxStake(address recipient) returns (uint256)
withdrawStake(address recipient, uint256 amount)
withdrawStakeFor(address staker, address recipient, uint256 amount)
Approval(address indexed owner, address indexed spender, uint256 value)
BlackoutWindowChanged(uint256 blackoutWindow)
Borrowed(address indexed borrower, uint256 amount, uint256 newBorrowedBalance)
BorrowingRestrictionChanged(address indexed borrower, bool isBorrowingRestricted)
ClaimedRewards(address indexed user, address recipient, uint256 claimedRewards)
ConvertedInactiveBalancesToDebt(uint256 shortfallAmount, uint256 shortfallIndex, uint256 newInactiveBalance)
DebtMarked(address indexed borrower, uint256 amount, uint256 newBorrowedBalance, uint256 newDebtBalance)
EpochParametersChanged(struct LS1TypesEpochParameters epochParameters)
GlobalIndexUpdated(uint256 index)
OperatorClaimedRewardsFor(address indexed staker, address recipient, uint256 claimedRewards, address operator)
OperatorDecreasedBorrowerDebt(address indexed borrower, uint256 amount, uint256 newDebtBalance, address operator)
OperatorDecreasedStakerDebt(address indexed staker, uint256 amount, uint256 newDebtBalance, address operator)
OperatorStakedFor(address indexed staker, uint256 amount, address operator)
OperatorWithdrawalRequestedFor(address indexed staker, uint256 amount, address operator)
OperatorWithdrewStakeFor(address indexed staker, address recipient, uint256 amount, address operator)
ReceivedDebt(address indexed staker, uint256 amount, uint256 newDebtBalance)
RepaidBorrow(address indexed borrower, address sender, uint256 amount, uint256 newBorrowedBalance)
RepaidDebt(address indexed borrower, address sender, uint256 amount, uint256 newDebtBalance)
RewardsPerSecondUpdated(uint256 emissionPerSecond)
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)
ScheduledBorrowerAllocationChange(address indexed borrower, uint256 oldAllocation, uint256 newAllocation, uint256 epochNumber)
Staked(address indexed staker, address spender, uint256 amount)
Transfer(address indexed from, address indexed to, uint256 value)
UserIndexUpdated(address indexed user, uint256 index, uint256 unclaimedRewards)
WithdrawalRequested(address indexed staker, uint256 amount)
WithdrewDebt(address indexed staker, address recipient, uint256 amount, uint256 newDebtBalance)
WithdrewStake(address indexed staker, address recipient, uint256 amount)
constructor(address stakedToken, address rewardsToken, address rewardsTreasury, uint256 distributionStart, uint256 distributionEnd)
This contract contains no fallback and receive objects.
This contract contains no error objects.