Pool

Verified contract

Active on Ethereum with 3,362 txns
Deployed by via 0xa2fb906a at 12505353
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.04
ERC-20
Value $0.01
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x0c1a3401a2c4f730bbf4536aee30f4c051bb3bfa73b1d905050ed060e386bf90
0xd891131191fb3c888a9017db0755ddd9036c9498997e924ada6016b9193e32cb
0xb96e3ed0318e6725da04f9ee079d491dcbbb86c3d82ad836423eb65c29a393ab
0x09cc156060183ffc111338eaacbb0dd5ecfe06acc769ed35e9969a5d90b63b1b
0xf97374c548ce2e6f027476a89e3d1a3c072f59f77aaef28080feb6c76e1a9490
0x582b485d632e75d7b47ba61d84934cdbf75b19eaa29b36c7039cf3f8f5bbb8e0
0x47e960381a0023486036a52b0e43c04400b1475e417ac4287b74ad4a4d7eb4b2
0x43143df45cfc10e22be4aacf0fc5898a47e2f4e645b8499cb04f9bd22d65e796
0x393f19e86c3d71ca8249a3aeccce816d9599ecf3741af6de9e2acd1c71effb13
0x2d36ba24087df28bc27188759c5055af3c138440839d7fc4b19b9dfecad3aa6c

Functions
Getter at block 21291163
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, 0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84, 0x27F23c710dD3d878FE9393d93465FeD1302f2EbD]
 
getMCRRatio(view returns (uint256)
 
getPoolValueInEth(view returns (uint256)
master(view returns (address)
0x01bfd82675dbcc7762c84019ca518e701c0cd07e
mcr(view returns (address)
0x406511caf30043f92625414e0b951a5d9c5abf66
minPoolEth(view returns (uint256)
0
nxmToken(view returns (address)
0xd7c49cee7e9188cca6ad8ff264c1da2e69d4cf3b
priceFeedOracle(view returns (address)
0xcafea5ca38462f35adbee429ab7ae597c08d7552
quotation(view returns (address)
0xcafea196efbc7aad6cb0d427145e9edc4566f0bd
swapController(view returns (address)
0x0000000000000000000000000000000000000000
swapOperator(view returns (address)
0xcafead1b3a9b57fe2a59cd5d44de9bd54571b1bb
tokenController(view returns (address)
0x5407381b6c251cfd498ccd4a1d877739cb7960b8
Read-only
assetData(addressview returns (uint112 minAmountuint112 maxAmountuint32 lastSwapTimeuint256 maxSlippageRatio)
assets(uint256view returns (address)
calculateEthForNXM(uint256 nxmAmountuint256 currentTotalAssetValueuint256 mcrEthpure returns (uint256)
calculateMCRRatio(uint256 totalAssetValueuint256 mcrEthpure returns (uint256)
calculateNXMForEth(uint256 ethAmountuint256 currentTotalAssetValueuint256 mcrEthpure returns (uint256)
calculateTokenSpotPrice(uint256 totalAssetValueuint256 mcrEthpure returns (uint256 tokenPrice)
getAssetDetails(address _assetview returns (uint112 minuint112 maxuint32 lastAssetSwapTimeuint256 maxSlippageRatio)
getEthForNXM(uint256 nxmAmountview returns (uint256 ethAmount)
getNXMForEth(uint256 ethAmountview returns (uint256)
getTokenPrice(address assetview returns (uint256 tokenPrice)
getWei(uint256 amountview returns (uint256 weiToPay)
State-modifying
addAsset(address _assetuint112 _minuint112 _maxuint256 _maxSlippageRatio
buyNXM(uint256 minTokensOutpayable 
changeDependentContractAddress(
changeMasterAddress(address masterAddress
makeCoverBegin(address smartCAddbytes4 coverCurruint256[] coverDetailsuint16 coverPerioduint8 _vbytes32 _rbytes32 _spayable 
makeCoverUsingCA(address smartCAddbytes4 coverCurruint256[] coverDetailsuint16 coverPerioduint8 _vbytes32 _rbytes32 _s
removeAsset(address _asset
sellNXM(uint256 tokenAmountuint256 minEthOut
sellNXMTokens(uint256 _amountreturns (bool success)
sendClaimPayout(address assetaddress payoutAddressuint256 amountreturns (bool success)
sendEther(payable 
setAssetDataLastSwapTime(address assetuint32 lastSwapTime
setAssetDetails(address _assetuint112 _minuint112 _maxuint256 _maxSlippageRatio
transferAsset(address assetaddress destinationuint256 amount
transferAssetFrom(address assetaddress fromuint256 amount
transferAssetToSwapOperator(address assetuint256 amount
updateAddressParameters(bytes8 codeaddress value
updateUintParameters(bytes8 codeuint256 value
upgradeCapitalPool(address newPoolAddress
Events
NXMBought(address indexed memberuint256 ethInuint256 nxmOut
NXMSold(address indexed memberuint256 nxmInuint256 ethOut
Payout(address indexed toaddress indexed assetuint256 amount
Swapped(address indexed fromAssetaddress indexed toAssetuint256 amountInuint256 amountOut
Constructor
constructor(address[] _assetsuint112[] _minAmountsuint112[] _maxAmountsuint256[] _maxSlippageRatiosaddress _masteraddress _priceOracleaddress _swapOperator
Fallback and receive
fallback(
Errors

This contract contains no error objects.