LiquidityStakingV1

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x867b09c2 at 12931497
Slot
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

No balances found for "LiquidityStakingV1"

No transactions found for "LiquidityStakingV1"


Functions
Getter at block 20819830
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
 
getContractBalanceAvailableToBorrow(view returns (uint256)
getContractBalanceAvailableToWithdraw(view returns (uint256)
0
 
getCurrentEpoch(view returns (uint256)
getEpochParameters(view returns (struct LS1TypesEpochParameters)
(0, 0)
getRewardsPerSecond(view returns (uint256)
0
getShortfallCount(view returns (uint256)
0
 
getTimeRemainingInCurrentEpoch(view returns (uint256)
 
getTotalActiveBalanceCurrentEpoch(view returns (uint256)
 
getTotalActiveBalanceNextEpoch(view returns (uint256)
getTotalBorrowedBalance(view returns (uint256)
0
getTotalBorrowerDebtBalance(view returns (uint256)
0
getTotalDebtAvailableToWithdraw(view returns (uint256)
0
 
getTotalInactiveBalanceCurrentEpoch(view returns (uint256)
 
getTotalInactiveBalanceNextEpoch(view returns (uint256)
hasEpochZeroStarted(view returns (bool)
true
 
inBlackoutWindow(view returns (bool)
name(pure returns (string)
dYdX Staked USDC
symbol(pure returns (string)
stkUSDC
 
totalSupply(view returns (uint256)
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getActiveBalanceCurrentEpoch(address stakerview returns (uint256)
getActiveBalanceNextEpoch(address stakerview returns (uint256)
getAllocatedBalanceCurrentEpoch(address borrowerview returns (uint256)
getAllocatedBalanceNextEpoch(address borrowerview returns (uint256)
getAllocationFractionCurrentEpoch(address borrowerview returns (uint256)
getAllocationFractionNextEpoch(address borrowerview returns (uint256)
getBorrowableAmount(address borrowerview returns (uint256)
getBorrowedBalance(address borrowerview returns (uint256)
getBorrowerDebtBalance(address borrowerview returns (uint256)
getDebtAvailableToWithdraw(address stakerview returns (uint256)
getInactiveBalanceCurrentEpoch(address stakerview returns (uint256)
getInactiveBalanceNextEpoch(address stakerview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getShortfall(uint256 shortfallCounterview returns (struct LS1TypesShortfall)
getStakeAvailableToWithdraw(address stakerview returns (uint256)
getStakerDebtBalance(address stakerview returns (uint256)
getStartOfEpoch(uint256 epochNumberview returns (uint256)
getTransferableBalance(address accountview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isBorrowerOverdue(address borrowerview returns (bool)
isBorrowingRestrictedForBorrower(address borrowerview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address spenderuint256 amountreturns (bool)
borrow(uint256 amount
claimRewards(address recipientreturns (uint256)
claimRewardsFor(address stakeraddress recipientreturns (uint256)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
decreaseBorrowerDebt(address borroweruint256 amountreturns (uint256)
decreaseStakerDebt(address stakeruint256 amountreturns (uint256)
failsafeDeleteUserInactiveBalance(
failsafeSettleUserInactiveBalanceToEpoch(uint256 maxEpoch
grantRole(bytes32 roleaddress account
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(uint256 intervaluint256 offsetuint256 blackoutWindow
markDebt(address[] borrowersreturns (uint256)
renounceRole(bytes32 roleaddress account
repayBorrow(address borroweruint256 amount
repayDebt(address borroweruint256 amount
requestWithdrawal(uint256 amount
requestWithdrawalFor(address stakeruint256 amount
restrictBorrower(address borrower
revokeRole(bytes32 roleaddress account
setBlackoutWindow(uint256 blackoutWindow
setBorrowerAllocations(address[] borrowersuint256[] newAllocations
setBorrowingRestriction(address borrowerbool isBorrowingRestricted
setEpochParameters(uint256 intervaluint256 offset
setRewardsPerSecond(uint256 emissionPerSecond
stake(uint256 amount
stakeFor(address stakeruint256 amount
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
withdrawDebt(address recipientuint256 amount
withdrawMaxDebt(address recipientreturns (uint256)
withdrawMaxStake(address recipientreturns (uint256)
withdrawStake(address recipientuint256 amount
withdrawStakeFor(address stakeraddress recipientuint256 amount
Events
Approval(address indexed owneraddress indexed spenderuint256 value
BlackoutWindowChanged(uint256 blackoutWindow
Borrowed(address indexed borroweruint256 amountuint256 newBorrowedBalance
BorrowingRestrictionChanged(address indexed borrowerbool isBorrowingRestricted
ClaimedRewards(address indexed useraddress recipientuint256 claimedRewards
ConvertedInactiveBalancesToDebt(uint256 shortfallAmountuint256 shortfallIndexuint256 newInactiveBalance
DebtMarked(address indexed borroweruint256 amountuint256 newBorrowedBalanceuint256 newDebtBalance
EpochParametersChanged(struct LS1TypesEpochParameters epochParameters
GlobalIndexUpdated(uint256 index
OperatorClaimedRewardsFor(address indexed stakeraddress recipientuint256 claimedRewardsaddress operator
OperatorDecreasedBorrowerDebt(address indexed borroweruint256 amountuint256 newDebtBalanceaddress operator
OperatorDecreasedStakerDebt(address indexed stakeruint256 amountuint256 newDebtBalanceaddress operator
OperatorStakedFor(address indexed stakeruint256 amountaddress operator
OperatorWithdrawalRequestedFor(address indexed stakeruint256 amountaddress operator
OperatorWithdrewStakeFor(address indexed stakeraddress recipientuint256 amountaddress operator
ReceivedDebt(address indexed stakeruint256 amountuint256 newDebtBalance
RepaidBorrow(address indexed borroweraddress senderuint256 amountuint256 newBorrowedBalance
RepaidDebt(address indexed borroweraddress senderuint256 amountuint256 newDebtBalance
RewardsPerSecondUpdated(uint256 emissionPerSecond
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
ScheduledBorrowerAllocationChange(address indexed borroweruint256 oldAllocationuint256 newAllocationuint256 epochNumber
Staked(address indexed stakeraddress spenderuint256 amount
Transfer(address indexed fromaddress indexed touint256 value
UserIndexUpdated(address indexed useruint256 indexuint256 unclaimedRewards
WithdrawalRequested(address indexed stakeruint256 amount
WithdrewDebt(address indexed stakeraddress recipientuint256 amountuint256 newDebtBalance
WithdrewStake(address indexed stakeraddress recipientuint256 amount
Constructor
constructor(address stakedTokenaddress rewardsTokenaddress rewardsTreasuryuint256 distributionStartuint256 distributionEnd
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.