SoloMargin
Verified contract
Proxy
Active on
Ethereum with 18 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
-
variable spans 10 additional slots
Balances ($5,336.46)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
WETH | ERC-20 | 1.4535 | $3,663.64 |
$5,325.1 | |
DAI | ERC-20 | 11.2533 | $1.00 |
$11.25 | |
USDC | ERC-20 | 0.077 | $1.00 |
$0.08 | |
eXRD | ERC-20 | 1 | $0.029447 |
$0.03 | |
YFBTC | ERC-20 | 0.009999 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10316751 | 4 years ago | | | 0 | 0.0021286040 | |
| 10297375 | 4 years ago | | | 0 | 0.0021286040 | |
| 10292880 | 4 years ago | | | 0 | 0.0014344940 | |
| 10288130 | 4 years ago | | | 0 | 0.0014704910 | |
| 10288115 | 4 years ago | | | 0 | 0.0019955950 | |
| 10288094 | 4 years ago | | | 0 | 0.0014729330 | |
| 10288083 | 4 years ago | | | 0 | 0.0013104290 | |
| 10243424 | 4 years ago | | | 0 | 0.0019115950 | |
| 10230298 | 4 years ago | | | 0 | 0.0011450020 | |
| 10230288 | 4 years ago | | | 0 | 0.0059598490 |
ABI
ABI objects
Getter at block 21300407
getEarningsRate() view returns (struct (uint256))
(900000000000000000)
getLiquidationSpread() view returns (struct (uint256))
(70000000000000000)
getMarginRatio() view returns (struct (uint256))
(150000000000000000)
getMinBorrowedValue() view returns (struct (uint256))
(40000000000000000000)
getNumMarkets() view returns (uint256)
6
getRiskLimits() view returns (struct (uint64, uint64, uint64, uint64, uint64, uint128))
(2000000000000000000, 500000000000000000, 1000000000000000000, 2000000000000000000, 2000000000000000000, 100000000000000000000)
getRiskParams() view returns (struct ((uint256), (uint256), (uint256), (uint256)))
((150000000000000000), (70000000000000000), (900000000000000000), (40000000000000000000))
isOwner() view returns (bool)
false
owner() view returns (address)
0x52256ef863a713ef349ae6e97a7e8f35785145de
Read-only
getAccountBalances(struct (address, uint256) account) view returns (address[], struct (bool, uint128)[], struct (bool, uint256)[])
getAccountPar(struct (address, uint256) account, uint256 marketId) view returns (struct (bool, uint128))
getAccountStatus(struct (address, uint256) account) view returns (uint8)
getAccountValues(struct (address, uint256) account) view returns (struct (uint256), struct (uint256))
getAccountWei(struct (address, uint256) account, uint256 marketId) view returns (struct (bool, uint256))
getAdjustedAccountValues(struct (address, uint256) account) view returns (struct (uint256), struct (uint256))
getIsGlobalOperator(address operator) view returns (bool)
getIsLocalOperator(address owner, address operator) view returns (bool)
getLiquidationSpreadForPair(uint256 heldMarketId, uint256 owedMarketId) view returns (struct (uint256))
getMarket(uint256 marketId) view returns (struct (address, (uint128, uint128), (uint96, uint96, uint32), address, address, (uint256), (uint256), bool))
getMarketCachedIndex(uint256 marketId) view returns (struct (uint96, uint96, uint32))
getMarketCurrentIndex(uint256 marketId) view returns (struct (uint96, uint96, uint32))
getMarketInterestRate(uint256 marketId) view returns (struct (uint256))
getMarketInterestSetter(uint256 marketId) view returns (address)
getMarketIsClosing(uint256 marketId) view returns (bool)
getMarketMarginPremium(uint256 marketId) view returns (struct (uint256))
getMarketPrice(uint256 marketId) view returns (struct (uint256))
getMarketPriceOracle(uint256 marketId) view returns (address)
getMarketSpreadPremium(uint256 marketId) view returns (struct (uint256))
getMarketTokenAddress(uint256 marketId) view returns (address)
getMarketTotalPar(uint256 marketId) view returns (struct (uint128, uint128))
getMarketWithInfo(uint256 marketId) view returns (struct (address, (uint128, uint128), (uint96, uint96, uint32), address, address, (uint256), (uint256), bool), struct (uint96, uint96, uint32), struct (uint256), struct (uint256))
getNumExcessTokens(uint256 marketId) view returns (struct (bool, uint256))
State-modifying
Events operate(struct (address, uint256)[] accounts, struct (uint8, uint256, (bool, uint8, uint8, uint256), uint256, uint256, address, uint256, bytes)[] actions)
ownerAddMarket(address token, address priceOracle, address interestSetter, struct (uint256) marginPremium, struct (uint256) spreadPremium, bool isClosing)
ownerSetEarningsRate(struct (uint256) earningsRate)
ownerSetGlobalOperator(address operator, bool approved)
ownerSetInterestSetter(uint256 marketId, address interestSetter)
ownerSetIsClosing(uint256 marketId, bool isClosing)
ownerSetLiquidationSpread(struct (uint256) spread)
ownerSetMarginPremium(uint256 marketId, struct (uint256) marginPremium)
ownerSetMarginRatio(struct (uint256) ratio)
ownerSetMinBorrowedValue(struct (uint256) minBorrowedValue)
ownerSetPriceOracle(uint256 marketId, address priceOracle)
ownerSetSpreadPremium(uint256 marketId, struct (uint256) spreadPremium)
ownerWithdrawExcessTokens(uint256 marketId, address recipient) returns (uint256)
ownerWithdrawUnsupportedTokens(address token, address recipient) returns (uint256)
renounceOwnership()
setOperators(struct (address, bool)[] args)
transferOwnership(address newOwner)
LogOperatorSet(address indexed owner, address operator, bool trusted)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
constructor(struct ((uint256), (uint256), (uint256), (uint256)) riskParams, struct (uint64, uint64, uint64, uint64, uint64, uint128) riskLimits)
This contract contains no fallback and receive objects.
This contract contains no error objects.