ArcadiaV2 Wrapped Ether Debt

Verified contract

Active on Base with 1,624 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
20 additional variables
ERC-20
Value $350,306.75
ERC-20
Value $0.68
ERC-20
Value $0.06
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x637927c71bd95db40307ee5577c4d56458435291cd357e27f9acb73ddbf2fa8d
0x8eb0f98561142c1bc027a97a3ceee78412e92e05b3cf1d1858554400d5e5bdfe
0xc130013a1c18ec3b3a60ebfc4385bf2a4f4856e8f326efd647421d10763564a3
0xc0ddce1725d75eae8ce80e971a525c161f0af5472bab2700067d69e9f00aac97
0xce74d71a8624320c1b43279e5ce16a42b6e166753e0c0c6aa1a9510cfdfebd5c
0x8ffd34ba14d09b741cd479021788b8c07a9814b4ef84c7562508526883691030
0xef59b36fd5dda63d576af7089620a5aafaabd260e36a2a529c505e369b705cfc
0xc6fde202ad9439da06d3ace18ba5feee1630e1ce20600ac51a962964acc6b67b
0x49f8c9ec1bea6e5a3d5129571b44c22eda835d83508184e95de381aca4f335f6
0x45b61419e4f44f7ca92366123c23e28eb8307054c9744573633afa849d4b65b5

Functions
Getter at block 21852240
DOMAIN_SEPARATOR(view returns (bytes32)
0x76be9020ef41e13073d2c5b6eba5366fcc16cf448a15ecd51731ffd4ae65f558
asset(view returns (address)
0x4200000000000000000000000000000000000006
borrowPaused(view returns (bool)
false
calcUnrealisedDebt(view returns (uint256 unrealisedDebt)
276643230434161
decimals(view returns (uint8)
18
depositPaused(view returns (bool)
false
getInterestRateConfig(view returns (uint72uint72uint72uint16)
(60000000000000000, 0, 2000000000000000000, 8000)
getLiquidationParameters(view returns (uint16uint16uint16uint16uint80)
(12, 200, 12, 1500, 1000000000000000000)
guardian(view returns (address)
0xedd41f9740b06ecbfe1ce9194ce2715c28263187
interestRate(view returns (uint80)
109800000000000000
liquidationPaused(view returns (bool)
false
name(view returns (string)
ArcadiaV2 Wrapped Ether Debt
originationFee(view returns (uint8)
0
owner(view returns (address)
0xb4d72b1c91e640e4ed7d7397f3244de4d8acc50b
pauseTimestamp(view returns (uint96)
0
repayPaused(view returns (bool)
false
riskManager(view returns (address)
0xd5fa6c6e284007743d4263255385eda78dda268c
symbol(view returns (string)
darcV2WETH
totalAssets(view returns (uint256 totalDebt)
654234102363562103352
totalLiquidity(view returns (uint256 totalLiquidity_)
793042562245119772454
totalSupply(view returns (uint256)
611862632936402037519
withdrawPaused(view returns (bool)
false
Read-only
allowance(addressaddressview returns (uint256)
balanceOf(addressview returns (uint256)
closeMarginAccount(address accountview 
convertToAssets(uint256 sharesview returns (uint256)
convertToShares(uint256 assetsview returns (uint256)
creditAllowance(addressaddressaddressview returns (uint256)
deposit(uint256addresspure returns (uint256)
getOpenPosition(address accountview returns (uint256 openPosition)
isValidVersion(uint256view returns (bool)
liquidityOf(address owner_view returns (uint256 assets)
maxDeposit(addressview returns (uint256)
maxMint(addressview returns (uint256)
maxRedeem(address ownerview returns (uint256)
maxWithdraw(address ownerview returns (uint256)
mint(uint256addresspure returns (uint256)
nonces(addressview returns (uint256)
openMarginAccount(uint256 accountVersionview returns (bool successaddress numeraireaddress liquidator_uint256 minimumMargin_)
previewDeposit(uint256 assetsview returns (uint256)
previewMint(uint256 sharesview returns (uint256)
previewRedeem(uint256 sharesview returns (uint256)
previewWithdraw(uint256 assetsview returns (uint256)
redeem(uint256addressaddresspure returns (uint256)
transfer(addressuint256pure returns (bool)
transferFrom(addressaddressuint256pure returns (bool)
withdraw(uint256addressaddresspure returns (uint256)
State-modifying
addTranche(address trancheuint16 interestWeight_
approve(address spenderuint256 amountreturns (bool)
approveBeneficiary(address beneficiaryuint256 amountaddress account
auctionRepay(uint256 startDebtuint256 minimumMargin_uint256 amountaddress accountaddress bidderreturns (bool earlyTerminate)
borrow(uint256 amountaddress accountaddress tobytes3 referrer
changeGuardian(address guardian_
depositInLendingPool(uint256 assetsaddress from
donateToTranche(uint256 trancheIndexuint256 assets
flashAction(uint256 amountBorrowedaddress accountaddress actionTargetbytes actionDatabytes3 referrer
flashActionCallback(bytes callbackData
liquidityOfAndSync(address owner_returns (uint256 assets)
pause(
permit(address owneraddress spenderuint256 valueuint256 deadlineuint8 vbytes32 rbytes32 s
repay(uint256 amountaddress account
setAccountVersion(uint256 accountVersionbool valid
setInterestParameters(uint72 baseRatePerYear_uint72 lowSlopePerYear_uint72 highSlopePerYear_uint16 utilisationThreshold_
setInterestWeightTranche(uint256 indexuint16 interestWeight_
setLiquidationParameters(uint16 initiationWeight_uint16 penaltyWeight_uint16 terminationWeight_uint16 minRewardWeight_uint80 maxReward_
setLiquidationWeightTranche(uint16 liquidationWeight
setMinimumMargin(uint96 minimumMargin_
setOriginationFee(uint8 originationFee_
setRiskManager(address riskManager_
setTreasury(address treasury_
setTreasuryWeights(uint16 interestWeight_uint16 liquidationWeight
settleLiquidationHappyFlow(address accountuint256 startDebtuint256 minimumMargin_address terminator
settleLiquidationUnhappyFlow(address accountuint256 startDebtuint256 minimumMargin_address terminator
skim(
startLiquidation(address initiatoruint256 minimumMargin_returns (uint256 startDebt)
transferOwnership(address newOwner
unpause(
unpause(bool repayPaused_bool withdrawPaused_bool borrowPaused_bool depositPaused_bool liquidationPaused_
updateInterestRate(
withdrawFromLendingPool(uint256 assetsaddress receiver
Events
Approval(address indexed owneraddress indexed spenderuint256 amount
AuctionFinished(address indexed accountaddress indexed creditoruint256 startDebtuint256 initiationRewarduint256 terminationRewarduint256 penaltyuint256 badDebtuint256 surplus
AuctionStarted(address indexed accountaddress indexed creditoruint128 openDebt
Borrow(address indexed accountaddress indexed byaddress touint256 amountuint256 feebytes3 indexed referrer
CreditApproval(address indexed accountaddress indexed owneraddress indexed beneficiaryuint256 amount
Deposit(address indexed calleraddress indexed owneruint256 assetsuint256 shares
GuardianChanged(address indexed useraddress indexed newGuardian
InterestSynced(uint256 interest
InterestWeightTrancheUpdated(address indexed trancheuint8 indexed trancheIndexuint16 interestWeight
LiquidationWeightTrancheUpdated(uint16 liquidationWeight
OwnershipTransferred(address indexed useraddress indexed newOwner
PauseFlagsUpdated(bool repayPauseFlagsUpdatedbool withdrawPauseFlagsUpdatedbool borrowPauseFlagsUpdatedbool depositPauseFlagsUpdatedbool liquidationPauseFlagsUpdated
PoolStateUpdated(uint256 totalDebtuint256 totalLiquidityuint80 interestRate
Repay(address indexed accountaddress indexed fromuint256 amount
RiskManagerUpdated(address riskManager
TranchePopped(address tranche
Transfer(address indexed fromaddress indexed touint256 amount
TreasuryWeightsUpdated(uint16 interestWeightuint16 liquidationWeight
ValidAccountVersionsUpdated(uint256 indexed accountVersionbool valid
Withdraw(address indexed calleraddress indexed receiveraddress indexed owneruint256 assetsuint256 shares
Constructor
constructor(address riskManager_address asset_address treasury_address accountFactoryaddress liquidator
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AmountExceedsBalance(
AuctionOngoing(
CoolDownPeriodNotPassed(
FunctionIsPaused(
FunctionNotImplemented(
InvalidVersion(
IsNotAnAccount(
IsNotAnAccountWithDebt(
LiquidationWeightsTooHigh(
NonExistingTranche(
OnlyGuardian(
OpenPositionNonZero(
TrancheAlreadyExists(
Unauthorized(
ZeroAmount(
ZeroShares(