SoloMargin

Verified contract

Proxy

Active on Ethereum with 18 txns
Deployed by via 0x863fe8df at 10230206
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 10 additional slots
ERC-20
Value $5,325.1
ERC-20
Value $11.25
ERC-20
Value $0.08
ERC-20
Value $0.03
ERC-20
--
0x3fd4fc1d344e63b248d71c440753a70c2ac003ff0dfea066ba3805be0d5f311e
0x1dfee1e14eb41c8394a4f025836a87bf1646e9396548e07caf45e9aa5c62a158
0xe5cf53da3957a203780c34dee35669d417463bebf5c23d78676e26a56071c940
0x21152770ff2f7a69443eb270966d583282858ed1c5c22c17cd2cc9c589491b61
0x0479b69a87d8fdde4377c2ca3d52b3658465ab0760af9eb5d42ce5308ac97c3c
0x7c1769648d99c075f23e5f928260f34fc1773618c183cc6ccbbdebe31ce54521
0x13a197eada725e16dd05ef1592b55f066cdd22fa8c02fb77ae4adc2a6a60b42c
0x852a237b6dbb2769aca7158839a1230b00e74c5db2936f1f81894f477fe3ebeb
0xeb3981191acf47483ed5df42d2ff176bf17c14ee738295f52393fead9283b2a4
0x065cd65a672bb8cf1231180ae73c277a1d1ba4d141834b143e112e647111dfb3

Functions
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) accountview returns (address[]struct (bool, uint128)[]struct (bool, uint256)[])
getAccountPar(struct (address, uint256) accountuint256 marketIdview returns (struct (bool, uint128))
getAccountStatus(struct (address, uint256) accountview returns (uint8)
getAccountValues(struct (address, uint256) accountview returns (struct (uint256)struct (uint256))
getAccountWei(struct (address, uint256) accountuint256 marketIdview returns (struct (bool, uint256))
getAdjustedAccountValues(struct (address, uint256) accountview returns (struct (uint256)struct (uint256))
getIsGlobalOperator(address operatorview returns (bool)
getIsLocalOperator(address owneraddress operatorview returns (bool)
getLiquidationSpreadForPair(uint256 heldMarketIduint256 owedMarketIdview returns (struct (uint256))
getMarket(uint256 marketIdview returns (struct (address, (uint128, uint128), (uint96, uint96, uint32), address, address, (uint256), (uint256), bool))
getMarketCachedIndex(uint256 marketIdview returns (struct (uint96, uint96, uint32))
getMarketCurrentIndex(uint256 marketIdview returns (struct (uint96, uint96, uint32))
getMarketInterestRate(uint256 marketIdview returns (struct (uint256))
getMarketInterestSetter(uint256 marketIdview returns (address)
getMarketIsClosing(uint256 marketIdview returns (bool)
getMarketMarginPremium(uint256 marketIdview returns (struct (uint256))
getMarketPrice(uint256 marketIdview returns (struct (uint256))
getMarketPriceOracle(uint256 marketIdview returns (address)
getMarketSpreadPremium(uint256 marketIdview returns (struct (uint256))
getMarketTokenAddress(uint256 marketIdview returns (address)
getMarketTotalPar(uint256 marketIdview returns (struct (uint128, uint128))
getMarketWithInfo(uint256 marketIdview returns (struct (address, (uint128, uint128), (uint96, uint96, uint32), address, address, (uint256), (uint256), bool)struct (uint96, uint96, uint32)struct (uint256)struct (uint256))
getNumExcessTokens(uint256 marketIdview returns (struct (bool, uint256))
State-modifying
operate(struct (address, uint256)[] accountsstruct (uint8, uint256, (bool, uint8, uint8, uint256), uint256, uint256, address, uint256, bytes)[] actions
ownerAddMarket(address tokenaddress priceOracleaddress interestSetterstruct (uint256) marginPremiumstruct (uint256) spreadPremiumbool isClosing
ownerSetEarningsRate(struct (uint256) earningsRate
ownerSetGlobalOperator(address operatorbool approved
ownerSetInterestSetter(uint256 marketIdaddress interestSetter
ownerSetIsClosing(uint256 marketIdbool isClosing
ownerSetLiquidationSpread(struct (uint256) spread
ownerSetMarginPremium(uint256 marketIdstruct (uint256) marginPremium
ownerSetMarginRatio(struct (uint256) ratio
ownerSetMinBorrowedValue(struct (uint256) minBorrowedValue
ownerSetPriceOracle(uint256 marketIdaddress priceOracle
ownerSetSpreadPremium(uint256 marketIdstruct (uint256) spreadPremium
ownerWithdrawExcessTokens(uint256 marketIdaddress recipientreturns (uint256)
ownerWithdrawUnsupportedTokens(address tokenaddress recipientreturns (uint256)
renounceOwnership(
setOperators(struct (address, bool)[] args
transferOwnership(address newOwner
Events
LogOperatorSet(address indexed owneraddress operatorbool trusted
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Constructor
constructor(struct ((uint256), (uint256), (uint256), (uint256)) riskParamsstruct (uint64, uint64, uint64, uint64, uint64, uint128) riskLimits
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.