Proxy

Verified contract

Proxy

Active on Base with 18 txns
Deployed by via 0x0edf2284 at 21863234
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $354.77
ERC-20
Value $101.57
ERC-20
Value $9.12
ERC-20
Value $0.04
ERC-20
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
)
ERC-721
--
0xb38c998c9d7b0a8e78d6dd0b398eb70684a9d2d57c21885271fe2b4fb0e78749
0xdc1c212cf607b81a62afbae0d4055b57906dd435977d56c3572b9199210d92f3
0x3d506608df7ec90148dd94190a5d4bed44e04ae8e93ff19169ef1a9fce15f0e2
0x837dbf85dc844a8f48bac235e7a923a6b0be23fbc78b6b7fcc820721ab8a4902
0xe0e470d09e70dd5cd4b66692e357fd45342c562ae4546d258d5b3d27717337f1
0x233a23f1704e0624238d6068dcefec5ede4a5cc8ad35410954f2328e9d27d714
0x208bfbb9d216f558e890cf627aeb6ec9951f7ce178de6f070db32f513c38ee89
0xf71e23c325fba80a1688be7ee13001571c3e0261abcfd5b86c989fe7b9b6a1a6
0xb614609c17ebf2f5185924bbcc5c7a64bdf72b14abe1f97fdf977a68b7c2e76c
0x9eac1bf746b2cdff8713634f4daa76adf6b107e0f34c68fe8ba3a24cb459fff1

Functions
Getter at block 23069611
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)
1732810271
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(