Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xcafe…0705
0xd7c4…cf3b
0x5407…60b8
0xcafe…8895
0xcafe…ca13
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
Raze | ERC-20 | 250K | -- | -- | |
LINK | ERC-20 | 100 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20451915 | 3 months ago | | | 0 | 0.00011793800 | |
| 12837914 | 3 years ago | | | 0 | 0.0045404920 | |
| 12823677 | 3 years ago | | | 0 | 0.0 | |
| 12508674 | 3 years ago | | | 3.1264066 | 0.016834925 | |
| 12508541 | 3 years ago | | | 0.025626283 | 0.015740388 | |
| 12507941 | 3 years ago | | | 1.48 | 0.0060785760 | |
| 12507525 | 3 years ago | | | 3.2032854 | 0.024922380 | |
| 12506852 | 3 years ago | | | 0.09467488 | 0.0019288480 | |
| 12506581 | 3 years ago | | | 0 | 0.018815838 | |
| 12506575 | 3 years ago | | | 0 | 0.018257632 |
ABI
ABI objects
Getter at block 21171760 getMCRRatio() view returns (uint256) getPoolValueInEth() view returns (uint256)
ETH() view returns (address)
0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
MAX_BUY_SELL_MCR_ETH_FRACTION() view returns (uint256)
500
MAX_MCR_RATIO() view returns (uint256)
40000
MCR_RATIO_DECIMALS() view returns (uint256)
4
getAssets() view returns (address[])
[0x6B175474E89094C44Da98b954EedeAC495271d0F]
master() view returns (address)
0x01bfd82675dbcc7762c84019ca518e701c0cd07e
mcr() view returns (address)
0xcafea2ad994d07bb95008ed5810068546c128895
minPoolEth() view returns (uint256)
0
nxmToken() view returns (address)
0xd7c49cee7e9188cca6ad8ff264c1da2e69d4cf3b
priceFeedOracle() view returns (address)
0xcafeae8bf47145bd573bfc436d1728cff224ca13
quotation() view returns (address)
0xcafea0d1e96416bb7929f5c5357ca4b837910705
swapController() view returns (address)
0x551d5500f613a4bec77ba8b834b5eed52ad5764f
tokenController() view returns (address)
0x5407381b6c251cfd498ccd4a1d877739cb7960b8
twapOracle() view returns (address)
0xcafea1c9f94e077df44d95c4a1ad5a5747a18b5c
Read-only
assetData(address) view returns (uint112 minAmount, uint112 maxAmount, uint32 lastSwapTime, uint256 maxSlippageRatio)
assets(uint256) view returns (address)
calculateEthForNXM(uint256 nxmAmount, uint256 currentTotalAssetValue, uint256 mcrEth) pure returns (uint256)
calculateMCRRatio(uint256 totalAssetValue, uint256 mcrEth) pure returns (uint256)
calculateNXMForEth(uint256 ethAmount, uint256 currentTotalAssetValue, uint256 mcrEth) pure returns (uint256)
calculateTokenSpotPrice(uint256 totalAssetValue, uint256 mcrEth) pure returns (uint256 tokenPrice)
getAssetDetails(address _asset) view returns (uint256 balance, uint112 min, uint112 max, uint32 lastAssetSwapTime, uint256 maxSlippageRatio)
getEthForNXM(uint256 nxmAmount) view returns (uint256 ethAmount)
getNXMForEth(uint256 ethAmount) view returns (uint256)
getSwapQuote(uint256 tokenAmountIn, address fromToken, address toToken) view returns (uint256 tokenAmountOut)
getTokenPrice(address asset) view returns (uint256 tokenPrice)
getWei(uint256 amount) view returns (uint256 weiToPay)
State-modifying
Events addAsset(address _asset, uint112 _min, uint112 _max, uint256 _maxSlippageRatio)
buyNXM(uint256 minTokensOut) payable
changeDependentContractAddress()
changeMasterAddress(address masterAddress)
makeCoverBegin(address smartCAdd, bytes4 coverCurr, uint256[] coverDetails, uint16 coverPeriod, uint8 _v, bytes32 _r, bytes32 _s) payable
makeCoverUsingCA(address smartCAdd, bytes4 coverCurr, uint256[] coverDetails, uint16 coverPeriod, uint8 _v, bytes32 _r, bytes32 _s)
removeAsset(address _asset)
sellNXM(uint256 tokenAmount, uint256 minEthOut)
sellNXMTokens(uint256 _amount) returns (bool success)
sendClaimPayout(address asset, address payoutAddress, uint256 amount) returns (bool success)
sendEther() payable
setAssetDetails(address _asset, uint112 _min, uint112 _max, uint256 _maxSlippageRatio)
swapAssetForETH(address fromTokenAddress, uint256 amountIn, uint256 amountOutMin)
swapETHForAsset(address toTokenAddress, uint256 amountIn, uint256 amountOutMin)
transferAsset(address asset, address destination, uint256 amount)
transferAssetFrom(address asset, address from, uint256 amount)
updateAddressParameters(bytes8 code, address value)
updateUintParameters(bytes8 code, uint256 value)
upgradeCapitalPool(address newPoolAddress)
NXMBought(address indexed member, uint256 ethIn, uint256 nxmOut)
NXMSold(address indexed member, uint256 nxmIn, uint256 ethOut)
Payout(address indexed to, address indexed asset, uint256 amount)
Swapped(address indexed fromAsset, address indexed toAsset, uint256 amountIn, uint256 amountOut)
constructor(address[] _assets, uint112[] _minAmounts, uint112[] _maxAmounts, uint256[] _maxSlippageRatios, address _master, address _priceOracle, address _twapOracle, address _swapController)
fallback()
This contract contains no error objects.