LiquidityPoolV1Converter
Verified contract
Active on
Ethereum with 98 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x52ae…add4
0x52ae…add4
0x04d0…b9b7
0xc082…e315
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "LiquidityPoolV1Converter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 11457251 | 4 years ago | | | 0 | 0.35472749 | |
| 11456945 | 4 years ago | | | 0 | 0.013480603 | |
| 11453375 | 4 years ago | | | 0 | 0.0033638440 | |
| 11446856 | 4 years ago | | | 0 | 0.0089618060 | |
| 11435270 | 4 years ago | | | 0 | 0.0031185603 | |
| 11424708 | 4 years ago | | | 0 | 0.0080592960 | |
| 11423087 | 4 years ago | | | 0 | 0.0051210320 | |
| 11422694 | 4 years ago | | | 0 | 0.0033573200 | |
| 11414132 | 4 years ago | | | 0 | 0.0041283540 | |
| 11407397 | 4 years ago | | | 0 | 0.0072958633 |
ABI
ABI objects
Getter at block 21167217
anchor() view returns (address)
0x04d0231162b4784b706908c787ce32bd075db9b7
connectorTokenCount() view returns (uint16)
2
conversionFee() view returns (uint32)
5000
conversionWhitelist() view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled() view returns (bool)
true
converterType() pure returns (uint16)
1
hasETHReserve() view returns (bool)
false
isActive() view returns (bool)
false
isStandardPool() view returns (bool)
true
isV28OrHigher() pure returns (bool)
true
maxConversionFee() view returns (uint32)
50000
newOwner() view returns (address)
0x0000000000000000000000000000000000000000
onlyOwnerCanUpdateRegistry() view returns (bool)
false
owner() view returns (address)
0x1647f8480c65528aff347602460c3ff9429cef4d
prevAverageRate() view returns (uint256 n, uint256 d)
(n=904175395520943543917256484437, d=95824604479056456082743515563)
prevAverageRateUpdateTime() view returns (uint256)
1608030114
prevRegistry() view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry() view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveRatio() view returns (uint32)
1000000
reserveTokenCount() view returns (uint16)
2
token() view returns (address)
0x04d0231162b4784b706908c787ce32bd075db9b7
version() view returns (uint16)
41
Read-only
addLiquidityCost(address[] _reserveTokens, uint256 _reserveTokenIndex, uint256 _reserveAmount) view returns (uint256[])
addLiquidityReturn(address _reserveToken, uint256 _reserveAmount) view returns (uint256)
connectorTokens(uint256 _index) view returns (address)
connectors(address _address) view returns (uint256, uint32, bool, bool, bool)
getConnectorBalance(address _connectorToken) view returns (uint256)
getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns (uint256, uint256)
recentAverageRate(address _token) view returns (uint256, uint256)
removeLiquidityReturn(uint256 _amount, address[] _reserveTokens) view returns (uint256[])
reserveBalance(address _reserveToken) view returns (uint256)
reserveTokens(uint256) view returns (address)
reserveWeight(address _reserveToken) view returns (uint32)
reserves(address) view returns (uint256 balance, uint32 weight, bool deprecated1, bool deprecated2, bool isSet)
targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns (uint256, uint256)
State-modifying
Events acceptAnchorOwnership()
acceptOwnership()
acceptTokenOwnership()
addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns (uint256)
addReserve(address _token, uint32 _weight)
convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns (uint256)
fund(uint256 _amount) payable returns (uint256)
liquidate(uint256 _amount) returns (uint256[])
removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns (uint256[])
restoreRegistry()
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry)
setConversionFee(uint32 _conversionFee)
setConversionWhitelist(address _whitelist)
transferAnchorOwnership(address _newOwner)
transferOwnership(address _newOwner)
transferTokenOwnership(address _newOwner)
updateRegistry()
upgrade()
withdrawETH(address _to)
withdrawTokens(address _token, address _to, uint256 _amount)
Activation(uint16 indexed _type, address indexed _anchor, bool indexed _activated)
Conversion(address indexed _fromToken, address indexed _toToken, address indexed _trader, uint256 _amount, uint256 _return, int256 _conversionFee)
ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee)
LiquidityAdded(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
LiquidityRemoved(address indexed _provider, address indexed _reserveToken, uint256 _amount, uint256 _newBalance, uint256 _newSupply)
OwnerUpdate(address indexed _prevOwner, address indexed _newOwner)
PriceDataUpdate(address indexed _connectorToken, uint256 _tokenSupply, uint256 _connectorBalance, uint32 _connectorWeight)
TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)
constructor(address _token, address _registry, uint32 _maxConversionFee)
receive()
This contract contains no error objects.