Proxy

Verified contract

Proxy

Active on Base with 126 txns
Deployed by via 0x5b44e115 at 18930939
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xfc685f982a23af214b3eb77fafd60f958b0e80a5fa46504488fcce4cdfe212c8
0x6f2753226ff08b9635c8dbd977b266718f9c138a1d705971a4611ac307108975
0x198c31ca37f2534a5e4ffdcf263cce5f93d22ea689c03a376fb02f4ecd849c28
0x12d39c30992b8b10bae573f03cc05f74297071df3a616ab3eab047064bca54e7
0x907616ba9061dad9c6f3f6516076cdc01feac744497f7bc16b2a219fcb2767c3
0x0a9d63f2df8b1b2cdc7a55ef2c0e6857a97d09c00b4ee50e26aa6b4e354ddf83
0x4ecc086ace440b51b8993ad10ce69ebd972b17eefdf08f5e9f77c0e1c73a151a
0x4f527d02f42841dffee6ffceb289a4475439b3a490f3b72941d618876e0def4e
0x2aea1e3fb6acd539ded4984f84074db265b39ed3f8221beabd4bc663040eedd7
0x6268fbf37049dcb6d21b640e5fe67cec30ff2fb7368d6b7485861b8e5b9c22e3

Functions
Getter at block 22755058
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)
(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)
1732250973
liquidator(view returns (address)
0xa4b0b9fd1d91fa2de44f6abfd59cc14ba1e1a7af
minimumMargin(view returns (uint96)
2000000
numeraire(view returns (address)
0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
owner(view returns (address)
0x82c686a5809eb940bcf8c9bf623c3d3122c4216f
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(