Bytecode-generated storage layout

We've generated a storage layout (with no variable labels) from this contract's bytecode. We've also started a backfill to track the inferred variables and it is currently at block 22757429.

0x59cab4974411ed043cf8aaa7b4cfc14d7da4be23

Unverified contract

Proxy

Active on Base with 8 txns
Deployed by via 0x14537d0b at 22366139
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xf353440b20df7bf362d29bb075361f74819691c6e878887019e7aff0847a8dea
0x190a19d6adf1cb4f5f64e4c367f40945af6551abc0217b41d4576b8316a337d2
0xdd7610061fd2eb9aa67dfa8d711ed155478c31eda39b814e10e946cdaad3f830
0x3b69c860e87711872038dc20b07a7ca5c9521ce7a61d8e8784c983545d717fe1
0xe074e43172b432ad3201257d092017f90084367105059b1070177cf556d2bc06
0xc9f18679b84be2d9a2d065da421afd72189d420d3491c0f4ecf95706a9da3497
0x8cb6bf2c42717082ae6c2c7fd0f4af2cda4ddd029033f7ebcf740a266a7058a2
0x1c349f6516ef550804ea520f8cef1791d50ed4d7acb929a9f2a06960b39a039a

Functions
Getter at block 22757430
ACCOUNT_VERSION(view returns (uint256)
1
ASSET_LIMIT(view returns (uint256)
15
FACTORY(view returns (address)
0xda14fdd72345c4d2511357214c5b89a919768e59
creditor(view returns (address)
0x803ea69c7e87d1d6c86adeb40cb636cc0e6b98e2
generateAssetData(view returns (address[] assetAddressesuint256[] assetIdsuint256[] assetAmounts)
(assetAddresses=[], assetIds=[], 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)
1732227711
liquidator(view returns (address)
0xa4b0b9fd1d91fa2de44f6abfd59cc14ba1e1a7af
minimumMargin(view returns (uint96)
2000000000000000
numeraire(view returns (address)
0x4200000000000000000000000000000000000006
owner(view returns (address)
0x0c470f23b09847fc99e20b63aa9b0c3db13bacf7
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
AssetManagerSet(address indexed owneraddress indexed assetManagerbool value
MarginAccountChanged(address indexed creditoraddress indexed liquidator
NumeraireSet(address indexed numeraire
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
Errors
AccountInAuction(
AccountNotLiquidatable(
AccountUnhealthy(
AlreadyInitialized(
CoolDownPeriodNotPassed(
CreditorAlreadySet(
CreditorNotSet(
InvalidAccountVersion(
InvalidERC20Id(
InvalidERC721Amount(
InvalidRegistry(
NoFallback(
NoReentry(
NumeraireNotFound(
OnlyCreditor(
OnlyFactory(
OnlyLiquidator(
OnlyOwner(
TooManyAssets(
UnknownAsset(
UnknownAssetType(