This contract is being backfilled. You may encounter incomplete storage history.

Proxy

Verified contract

Proxy

Active on Base with 12 txns
Deployed by via 0x46b5e757 at 23788464
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $1,103.56
ERC-20
Value $65.15
ERC-20
Value $25.16
ERC-20
--
ERC-20
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xfaf5de94dfbdaf4214566707e0df0d77457340eb5cc466a940892c156e5412aa
0xf597640b45e1eb70bfc22c8da3d889f2d535fd469ed183559684b564959e2691
0xc383bbdf0d0202e75bc0e6659b9ee37684d92138e832aa12e501171d2438895c
0x6105b61ef4273c22c1bc18204b0cf66371934eab63e859d5dcce289ce8bd33d9
0x2e44d807714cf6b56497e5f8a1d0c7b11aee9e3c6960fa615f6e2f6b6850aece
0xe6e79aa09e04ce845712d8e36cc60c06faf2496e932751dc05a24dbaea0662e4
0xe027a789ad6905d39a12412bf29443ec0f2236d5d07a7e1c9524685cecb7ffd9
0x7557d980adee8ef4c2007645eee8dd9e135c6e6cd955c510527eab448138af08
0xe41e24a2f57d1c06c0242a9fadc88c0de1bb617c6d9c58266adea4fb0b60de20
0x0d449af50e9eb389de97da06d6d6080b18fededaf689155ac298ddbf15ec6185

Functions
Getter at block 23844094
ACCOUNT_VERSION(view returns (uint256)
1
ASSET_LIMIT(view returns (uint256)
15
FACTORY(view returns (address)
0xda14fdd72345c4d2511357214c5b89a919768e59
creditor(view returns (address)
0x3ec4a293fb906dd2cd440c20decb250def141df1
 
generateAssetData(view returns (address[] assetAddressesuint256[] assetIdsuint256[] assetAmounts)
 
getCollateralValue(view returns (uint256 collateralValue)
 
getFreeMargin(view returns (uint256 freeMargin)
 
getLiquidationValue(view returns (uint256 liquidationValue)
 
getUsedMargin(view returns (uint256 usedMargin)
inAuction(view returns (bool)
false
 
isAccountLiquidatable(view returns (bool success)
 
isAccountUnhealthy(view returns (bool isUnhealthy)
lastActionTimestamp(view returns (uint32)
1734464039
liquidator(view returns (address)
0xa4b0b9fd1d91fa2de44f6abfd59cc14ba1e1a7af
minimumMargin(view returns (uint96)
2000000
numeraire(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
owner(view returns (address)
0xdb93342558502d4f522e774eac55d71bff8e6130
registry(view returns (address)
0xd0690557600eb8be8391d1d97346e2aab5300d5f
Read-only
approvedCreditor(addressview returns (address)
erc1155Balances(addressuint256view returns (uint256)
erc20Balances(addressview returns (uint256)
getAccountValue(address numeraire_view returns (uint256 accountValue)
isAssetManager(addressaddressview returns (bool)
onERC1155Received(addressaddressuint256uint256bytespure returns (bytes4)
onERC721Received(addressaddressuint256bytespure returns (bytes4)
State-modifying
auctionBid(address[] assetAddressesuint256[] assetIdsuint256[] assetAmountsaddress bidderreturns (uint256[] assetAmounts_)
auctionBoughtIn(address recipient
closeMarginAccount(
deposit(address[] assetAddressesuint256[] assetIdsuint256[] assetAmounts
endAuction(
flashAction(address actionTargetbytes actionData
flashActionByCreditor(bytes callbackDataaddress actionTargetbytes actionDatareturns (uint256 accountVersion)
increaseOpenPosition(uint256 openPositionreturns (uint256 accountVersion)
initialize(address owner_address registry_address creditor_
openMarginAccount(address newCreditor
setApprovedCreditor(address creditor_
setAssetManager(address assetManagerbool value
setNumeraire(address numeraire_
skim(address tokenuint256 iduint256 type_
startLiquidation(address initiatorreturns (address[] assetAddressesuint256[] assetIdsuint256[] assetAmountsaddress creditor_uint96 minimumMargin_uint256 openPositionstruct AssetValueAndRiskFactors[] assetAndRiskValues)
transferOwnership(address newOwner
upgradeAccount(address newImplementationaddress newRegistryuint256 newVersionbytes data
upgradeHook(address oldImplementationaddress oldRegistryuint256 oldVersionbytes data
withdraw(address[] assetAddressesuint256[] assetIdsuint256[] assetAmounts
Events
Upgraded(address indexed implementation
AssetManagerSet(address indexed owneraddress indexed assetManagerbool value
MarginAccountChanged(address indexed creditoraddress indexed liquidator
NumeraireSet(address indexed numeraire
Constructor
constructor(address implementation
Fallback and receive
fallback(
fallback(
receive(
Errors
AccountInAuction(
AccountNotLiquidatable(
AccountUnhealthy(
AlreadyInitialized(
CoolDownPeriodNotPassed(
CreditorAlreadySet(
CreditorNotSet(
InvalidAccountVersion(
InvalidERC20Id(
InvalidERC721Amount(
InvalidRegistry(
NoFallback(
NoReentry(
NumeraireNotFound(
OnlyCreditor(
OnlyFactory(
OnlyLiquidator(
OnlyOwner(
TooManyAssets(
UnknownAsset(
UnknownAssetType(