SoloMargin

Verified contract

Proxy

Active on Ethereum with 388,898 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 $4,491,127.77
ERC-20
Value $1,307,326
ERC-20
Value $611,788.5
ERC-20
Value $120.69
ERC-20
Value $1.89
ERC-20
Value $0.58
ERC-20
Value $0.02
ERC-20
--
ERC-20
--
ERC-20
--
0x1587afc7a616b6d4f44aca4cc34341a82b608b792a838751a0c1cec7d22d2649
0x92f696210bc2907605c75efa60a402c17babedd63d4615b232560e730de782d1
0xf5dafaafbc3453181b8645ebc002af2ccee33eb13a4f9ab0b23c1d9351714005
0x9672decc86874dff8dd35fd105c54e1f04ab52795b053b71267e55a6b50fed1a
0x3978520b3d3cd2caf15e637aa1ce5dd6fb9baa4f85b26ff32d79d6e9addfa100
0x3f4f7dcd27352866101ad6222f4c4cfc9ebe3dad75d9c436cd9fcf12ce89aaaf
0xa7e87bb5e168f9cefe7ed3384f832597ee440a49bc548d8e5a5462ad537ea34a
0xebe0925d544393a9af64edf4856aa6289c56980d34f47753ea8ec2607b2ca7be
0x81d6003f3a520fe22328218157af622cdca47c43f0178fec60093803e0c1445e
0x4a691baf8dff3752c5bd24c54ee897668544b8367785e49907ba41301b7d9f8d

Functions
Getter at block 20791527
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.