BucketLenderWithRecoveryDelay

Verified contract

Active on Ethereum with 5 txns
Deployed by via 0x89cd70af at 7587678
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional variable
ERC-20
Value $1.72
ERC-20
--
0x2a914d7460bbaed73b76613320646722ba952815619fa3a845cc537fc75df542
0x9e2cf5047b4bff22459173d3ecb6df653bd8faf083e0b643d68e8d0eb78b67c9
0x3fe239a400d1481a5142ce2fa0d5b828cc59cda185424728cf4db802abb7d88b
0xa811fb94ce9080ad4e90c4aecd6aede855f368d73bda8b569671bd9acc952a4f
0x5c78ce75ad463a76cef7890f994c942c5f46e617fda7d414f3aa20aaa4ceea64

Functions
Getter at block 21331730
BUCKET_TIME(view returns (uint32)
86400
CALL_TIMELIMIT(view returns (uint32)
3600
DYDX_MARGIN(view returns (address)
0x36bf21c8e661b21e6166e4385f574941fdc6caff
HELD_TOKEN(view returns (address)
0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
INTEREST_PERIOD(view returns (uint32)
86400
INTEREST_RATE(view returns (uint32)
12000000
MAX_DURATION(view returns (uint32)
2419200
MIN_HELD_TOKEN_DENOMINATOR(view returns (uint32)
100000
MIN_HELD_TOKEN_NUMERATOR(view returns (uint32)
1198
OWED_TOKEN(view returns (address)
0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
POSITION_ID(view returns (bytes32)
0xd13bafad3f2c422058b3f808401ddf476db7f61c87fb9d71b015f0770f85d26f
RECOVERY_DELAY(view returns (uint256)
86400
availableTotal(view returns (uint256)
84120839326250387
cachedRepaidAmount(view returns (uint256)
89098190565284378205545
criticalBucket(view returns (uint256)
0
 
getCurrentBucket(view returns (uint256)
owner(view returns (address)
0xc4d43b6844ce4a2b0c25f278126d58f309963547
principalTotal(view returns (uint256)
0
wasForceClosed(view returns (bool)
false
Read-only
TRUSTED_MARGIN_CALLERS(addressview returns (bool)
TRUSTED_WITHDRAWERS(addressview returns (bool)
availableForBucket(uint256view returns (uint256)
getBucketOwedAmount(uint256 bucketview returns (uint256)
principalForBucket(uint256view returns (uint256)
weightForBucket(uint256view returns (uint256)
weightForBucketForAccount(uint256addressview returns (uint256)
State-modifying
cancelMarginCallOnBehalfOf(address cancelerbytes32 positionIdreturns (address)
deposit(address beneficiaryuint256 amountreturns (uint256)
forceRecoverCollateralOnBehalfOf(addressbytes32 positionIdaddress recipientreturns (address)
increaseLoanOnBehalfOf(address payerbytes32 positionIduint256 principalAddeduint256 lentAmountreturns (address)
marginCallOnBehalfOf(address callerbytes32 positionIduint256 depositAmountreturns (address)
rebalanceBuckets(
receiveLoanOwnership(address frombytes32 positionIdreturns (address)
renounceOwnership(
transferOwnership(address _newOwner
verifyLoanOffering(address[9] addressesuint256[7] values256uint32[4] values32bytes32 positionIdbytes signaturereturns (address)
withdraw(uint256[] bucketsuint256[] maxWeightsaddress onBehalfOfreturns (uint256uint256)
withdrawExcessToken(address tokenaddress toreturns (uint256)
Events
AvailableDecreased(uint256 availableTotaluint256 bucketNumberuint256 availableForBucketuint256 amount
AvailableIncreased(uint256 availableTotaluint256 bucketNumberuint256 availableForBucketuint256 amount
Deposit(address indexed beneficiaryuint256 bucketuint256 amountuint256 weight
OwnershipRenounced(address indexed previousOwner
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PrincipalDecreased(uint256 principalTotaluint256 bucketNumberuint256 principalForBucketuint256 amount
PrincipalIncreased(uint256 principalTotaluint256 bucketNumberuint256 principalForBucketuint256 amount
Withdraw(address indexed withdraweruint256 bucketuint256 weightuint256 owedTokenWithdrawnuint256 heldTokenWithdrawn
Constructor
constructor(address marginbytes32 positionIdaddress heldTokenaddress owedTokenuint32[7] parametersaddress[] trustedMarginCallersaddress[] trustedWithdrawersuint256 recoveryDelay
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.