Proxy

Verified contract

Proxy

Active on Base with 4 txns
Deployed by via 0x7fddaa51 at 22705624
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
)
ERC-721
--
)
ERC-721
--
0x9e41f2a655948d578c4392b4888e808b108c6bb250e9c70daae7aef95635ea68
0x9843390cba5d6e79f2153704bc39368c70038e3e0d363f2bca4694373e0d1aaa
0x124147fffe2263f0d79bf7f9cbbe0422d25663b7a74d3cc42444a72cb0d0fc97
0xa12d63c5d2c1be1dbbefaa60a86ea010f8ef9d6624bb0245abfcc638932a7d0a

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