0xaa40f9e85f78cd11ebee74f6cac1c47c63f7801d
Verified contract
Proxy
Active on
Base with 1 txns
Unified storage
Map
Table
Raw
Constants and immutables
0
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.02)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WGC | ERC-20 | 200 | $0.000106 |
$0.02 | |
USA | ERC-20 | 1 | $0.001591 |
$0 | |
kurbi | ERC-20 | 0.1 | $0.000625 |
$0 | |
PEP | ERC-20 | 61.2 | -- | -- | |
CHIDO | ERC-20 | 20 | -- | -- | |
NUNU | ERC-20 | 7.777778 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 17427386 | 3 months ago | | | 0 | 8.8997307e-7 |
ABI
ABI objects
Getter at block 21866332 getCollateralValue() view returns (uint256 collateralValue) getFreeMargin() view returns (uint256 freeMargin) getLiquidationValue() view returns (uint256 liquidationValue) getUsedMargin() view returns (uint256 usedMargin) isAccountLiquidatable() view returns (bool success) isAccountUnhealthy() view returns (bool isUnhealthy)
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[] assetAddresses, uint256[] assetIds, uint256[] assetAmounts)
(assetAddresses=[], assetIds=[], assetAmounts=[])
inAuction() view returns (bool)
false
lastActionTimestamp() view returns (uint32)
1729281293
liquidator() view returns (address)
0xa4b0b9fd1d91fa2de44f6abfd59cc14ba1e1a7af
minimumMargin() view returns (uint96)
2000000000000000
numeraire() view returns (address)
0x4200000000000000000000000000000000000006
owner() view returns (address)
0x0be1be42a583020e52ae12f8ac734a7be5fe2f6d
registry() view returns (address)
0xd0690557600eb8be8391d1d97346e2aab5300d5f
Read-only
approvedCreditor(address) view returns (address)
erc1155Balances(address, uint256) view returns (uint256)
erc20Balances(address) view returns (uint256)
getAccountValue(address numeraire_) view returns (uint256 accountValue)
isAssetManager(address, address) view returns (bool)
onERC1155Received(address, address, uint256, uint256, bytes) pure returns (bytes4)
onERC721Received(address, address, uint256, bytes) pure returns (bytes4)
State-modifying
Events auctionBid(address[] assetAddresses, uint256[] assetIds, uint256[] assetAmounts, address bidder) returns (uint256[] assetAmounts_)
auctionBoughtIn(address recipient)
closeMarginAccount()
deposit(address[] assetAddresses, uint256[] assetIds, uint256[] assetAmounts)
endAuction()
flashAction(address actionTarget, bytes actionData)
flashActionByCreditor(bytes callbackData, address actionTarget, bytes actionData) returns (uint256 accountVersion)
increaseOpenPosition(uint256 openPosition) returns (uint256 accountVersion)
initialize(address owner_, address registry_, address creditor_)
openMarginAccount(address newCreditor)
setApprovedCreditor(address creditor_)
setAssetManager(address assetManager, bool value)
setNumeraire(address numeraire_)
skim(address token, uint256 id, uint256 type_)
startLiquidation(address initiator) returns (address[] assetAddresses, uint256[] assetIds, uint256[] assetAmounts, address creditor_, uint96 minimumMargin_, uint256 openPosition, struct AssetValueAndRiskFactors[] assetAndRiskValues)
transferOwnership(address newOwner)
upgradeAccount(address newImplementation, address newRegistry, uint256 newVersion, bytes data)
upgradeHook(address oldImplementation, address oldRegistry, uint256 oldVersion, bytes data)
withdraw(address[] assetAddresses, uint256[] assetIds, uint256[] assetAmounts)
AssetManagerSet(address indexed owner, address indexed assetManager, bool value)
MarginAccountChanged(address indexed creditor, address indexed liquidator)
NumeraireSet(address indexed numeraire)
This contract contains no constructor objects.
fallback()
AccountInAuction()
AccountNotLiquidatable()
AccountUnhealthy()
AlreadyInitialized()
CoolDownPeriodNotPassed()
CreditorAlreadySet()
CreditorNotSet()
InvalidAccountVersion()
InvalidERC20Id()
InvalidERC721Amount()
InvalidRegistry()
NoFallback()
NoReentry()
NumeraireNotFound()
OnlyCreditor()
OnlyFactory()
OnlyLiquidator()
OnlyOwner()
TooManyAssets()
UnknownAsset()
UnknownAssetType()