0xa2a2134d0a71647db60ac89cb589e4c748b1acb2

Verified contract

Proxy

Active on Base with 52 txns
Deployed by via 0x0cf46cf7 at 22130755
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $295.65
ERC-20
Value $117.83
ERC-20
Value $0.25
ERC-20
Value $0
ERC-20
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xc3e6bdec1def593b2f4c122b14a17d8494816d7a551fd44e7d812e11798eaaf1
0x4522f977fc8688119e4f7a04e94b11f7a2f4b930e931ba6eefef9f3c2a70686c
0x8ab5a872403993066e62b9599721bab65aba21519fa569e338b60f46bb403c9e
0x1ac0c9bcfe3360b0a03b9f2a0fd0993708743a8d802c57a02fafd084c225740a
0x6548d58cb7d20b56fe8584b9bb08b3e41eb20c99dc1b64dfff2de54952a40eb0
0x2b4118600eb745d2f86ec91da9e4dd63f6049267f1793d49e956c24009250ca1
0x82b225ce5f13ebcd92ba89a37b04441b8299c876b56ed227ad39a8592d09d8d2
0x5ac354352413ee1396e27113681e5fab4682b87df24a20c8c884451390554356
0x0a6b633b5449e2c8e65991fa7cce9820480c4c70ee35f60e6f8803721649846c
0xd95347e9ed47c16475ac6b921a0ad47bc37fb1c8beb50149990ad76690b682f3

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