SoloMargin

Verified contract

Proxy

Active on Ethereum with 388,932 txns
Deployed by via 0x5d82451a at 7575711
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,812,695.53
ERC-20
Value $1,290,762.24
ERC-20
Value $600,844.32
ERC-20
Value $155.7
ERC-20
Value $1.48
ERC-20
Value $0.98
ERC-20
Value $0.01
ERC-20
--
ERC-20
--
ERC-20
--
0x18f7e352807f8aeb655766e0677f0d95e90bc6b13b3e807ef603f6f518f59a87
0xd3439e9070171bc3bbc402bf96560b5ba1c96233f4c34521f3efeba8284fa89a
0x2f2d8733ef9e34e9758e64d7cd8945bfaf1cadd93168c550e456c4c65690f204
0x7c1d6c5a1475cc11c769f1ed37258395efadb2d945cd38434e2b0d9133256071
0x51715884ff2068db13427a94ebdab6e6a105b7d8ddee3629f57892ec31ee48b4
0xe8a1b8f8a69c758195b882a99dc95df1a91591cd9710bfdecd4f60c4eb2ae7ae
0xaa16ca969d9bb1cfb8a14ec5c839cb21b7efb1a5672f1b22064b13a9b1cd0686
0xec81aaf4982e85f4f7e65418c704301b887de21e1c52fa6053f85d4386f7e9fa
0x4492e6cc556d2aeed0d91b1def980c8b222f93db94e7ee1228672328a45e9a17
0xfc98c579c77487a6ecb0d3ad74491ffac131169bc86445e366c9f95ea38ae9c5

Functions
Getter at block 21245042
getEarningsRate(view returns (struct (uint256))
(950000000000000000)
getLiquidationSpread(view returns (struct (uint256))
(50000000000000000)
getMarginRatio(view returns (struct (uint256))
(150000000000000000)
getMinBorrowedValue(view returns (struct (uint256))
(0)
getNumMarkets(view returns (uint256)
4
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), (50000000000000000), (950000000000000000), (0))
isOwner(view returns (bool)
false
owner(view returns (address)
0xba2906b18b069b40c6d2cafd392e76ad479b1b53
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) spreadPremium
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.