LiquidityPoolV1Converter
Verified contract
Active on
Ethereum with 6 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x3f13…c747
0xc082…e315
Balances ($21.63)
Native
Value
$21.63
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.005809 | $3,723.81 |
$21.63 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10295970 | 4 years ago | | | 0 | 0.0020925450 | |
| 10278248 | 4 years ago | | | 0 | 0.0090553450 | |
| 10278202 | 4 years ago | | | 0.03 | 0.010119395 | |
| 10277359 | 4 years ago | | | 0.01 | 0.011596390 | |
| 10277322 | 4 years ago | | | 0 | 0.0021035950 | |
| 10277314 | 4 years ago | | | 0 | 0.0014730950 |
ABI
ABI objects
Getter at block 21379390
anchor() view returns (address)
0x3f132e3bad85bf04e90f75ba288a269ae9b1c747
connectorTokenCount() view returns (uint16)
2
conversionFee() view returns (uint32)
2000
conversionWhitelist() view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled() view returns (bool)
true
converterType() pure returns (uint16)
1
hasETHReserve() view returns (bool)
true
isActive() 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)
0x9771f62c1e657bfe51e36a22d700ac6b15be8e2e
prevRegistry() view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry() view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveRatio() view returns (uint32)
1000000
reserveTokenCount() view returns (uint16)
2
token() view returns (address)
0x3f132e3bad85bf04e90f75ba288a269ae9b1c747
version() view returns (uint16)
28
Read-only
connectorTokens(uint256 _index) view returns (address)
connectors(address _address) view returns (uint256, uint32, bool, bool, bool)
decimalLength(uint256 _x) pure returns (uint256)
geometricMean(uint256[] _values) pure returns (uint256)
getConnectorBalance(address _connectorToken) view returns (uint256)
getReturn(address _sourceToken, address _targetToken, uint256 _amount) view returns (uint256, uint256)
rateAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns (uint256, 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)
roundDiv(uint256 _n, uint256 _d) pure returns (uint256)
State-modifying
Events acceptAnchorOwnership()
acceptOwnership()
acceptTokenOwnership()
addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable
addReserve(address _token, uint32 _weight)
convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns (uint256)
fund(uint256 _amount) payable
liquidate(uint256 _amount)
removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts)
restoreRegistry()
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry)
safeApprove(address _token, address _spender, uint256 _value)
safeTransfer(address _token, address _to, uint256 _value)
safeTransferFrom(address _token, address _from, address _to, uint256 _value)
setConversionFee(uint32 _conversionFee)
setConversionWhitelist(address _whitelist)
transferAnchorOwnership(address _newOwner)
transferOwnership(address _newOwner)
transferTokenOwnership(address _newOwner)
updateRegistry()
upgrade()
withdrawETH(address _to)
withdrawFromAnchor(address _token, address _to, uint256 _amount)
withdrawTokens(address _token, address _to, uint256 _amount)
Activation(address _anchor, bool _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)
fallback()
This contract contains no error objects.