Proxy
Verified contract
Proxy
Active on
Base with 5 txns
Unified storage
Map
Table
Raw
Constants and immutables
1
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.12)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WGC | ERC-20 | 200 | $0.000351 |
$0.07 | |
GOCHU | ERC-20 | 50K | $0.000001 |
$0.05 | |
NUNU | ERC-20 | 7.777778 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 18591736 | 4 months ago | | | 0 | 4.7352250e-7 | |
| 18591674 | 4 months ago | | | 0 | 0.0000064951050 | |
| 17458079 | 5 months ago | | | 0 | 6.7807390e-7 | |
| 17458074 | 5 months ago | | | 0 | 6.7807390e-7 | |
| 16645322 | 5 months ago | | | 0 | 0.000065450666 |
ABI
ABI objects
Getter at block 23573245 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)
1723972819
liquidator() view returns (address)
0xa4b0b9fd1d91fa2de44f6abfd59cc14ba1e1a7af
minimumMargin() view returns (uint96)
2000000000000000
numeraire() view returns (address)
0x4200000000000000000000000000000000000006
owner() view returns (address)
0x3f888f4e16a08c6b3745ddbade98e24569852fa4
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)
Upgraded(address indexed implementation)
AssetManagerSet(address indexed owner, address indexed assetManager, bool value)
MarginAccountChanged(address indexed creditor, address indexed liquidator)
NumeraireSet(address indexed numeraire)
constructor(address implementation)
fallback()
fallback()
receive()
AccountInAuction()
AccountNotLiquidatable()
AccountUnhealthy()
AlreadyInitialized()
CoolDownPeriodNotPassed()
CreditorAlreadySet()
CreditorNotSet()
InvalidAccountVersion()
InvalidERC20Id()
InvalidERC721Amount()
InvalidRegistry()
NoFallback()
NoReentry()
NumeraireNotFound()
OnlyCreditor()
OnlyFactory()
OnlyLiquidator()
OnlyOwner()
TooManyAssets()
UnknownAsset()
UnknownAssetType()