dYdX Staked USDC

Verified contract

Proxy

Active on Ethereum with 6,818 txns
Deployed by via 0xf30f4b76 at 12931493
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
5 additional variables
ERC-20
Value $267,420.59
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x9239cb9d34277de88a93fe2ca0d58836b7c351ebf1be2ce24f0f496a3f8730b3
0x0541d3ed6f5125d689a18b0f813a45def06063738a8f72bb217d696ec987cae9
0x5bd56370cc4b99db8bc256ff666da7121ab5df7e71d7eaffc5e0141603f714a0
0x31b33a56013a1ec47f5cb25bef8dcc313659efc67cc0a2696a2d34d11703afeb
0x5f189c04d70b7fa0eace4b2c40ad5c34245402ebe26bea1ef528d0e4078c12e6
0xe771a59312577488937395e8444af1bb9c0b4dfbad4ac2ca26f8368fffb1be1c
0x0aa9985bd22383c818ddf15391d8e77a01202a9387c50a787440098dcbc4be15
0xf406528973e885d4309fe52adc8067bc62f9265c577fd3104b6f328e77f74c16
0x1a0eafa9b3f596fa3cf5893f172ee3fb916d20c6a44ba459164bcafadd9e4eed
0xc0afa590895641f0bed47d690b96d95c7e610849aa4286bac32aaebd63b9c9b6

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)
259200
getContractBalanceAvailableToBorrow(view returns (uint256)
176493487315
getContractBalanceAvailableToWithdraw(view returns (uint256)
267420593453
getCurrentEpoch(view returns (uint256)
40
getEpochParameters(view returns (struct LS1TypesEpochParameters)
(2419200, 1628002800)
getRewardsPerSecond(view returns (uint256)
0
getShortfallCount(view returns (uint256)
0
getTimeRemainingInCurrentEpoch(view returns (uint256)
16621
getTotalActiveBalanceCurrentEpoch(view returns (uint256)
176492491563
getTotalActiveBalanceNextEpoch(view returns (uint256)
175593844683
getTotalBorrowedBalance(view returns (uint256)
4248
getTotalBorrowerDebtBalance(view returns (uint256)
0
getTotalDebtAvailableToWithdraw(view returns (uint256)
0
getTotalInactiveBalanceCurrentEpoch(view returns (uint256)
90927106138
getTotalInactiveBalanceNextEpoch(view returns (uint256)
91825753018
hasEpochZeroStarted(view returns (bool)
true
inBlackoutWindow(view returns (bool)
true
name(pure returns (string)
dYdX Staked USDC
symbol(pure returns (string)
stkUSDC
totalSupply(view returns (uint256)
267419597701
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
admin(returns (address)
changeAdmin(address newAdmin
implementation(returns (address)
initialize(address _logicaddress _adminbytes _datapayable 
initialize(address _logicbytes _datapayable 
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
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
AdminChanged(address previousAdminaddress newAdmin
Upgraded(address indexed implementation
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

This contract contains no constructor objects.

Fallback and receive
fallback(
Errors

This contract contains no error objects.