LiquidityPoolV1Converter

Verified contract

Active on Ethereum with 6 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $21.63
0x6c9653d734c18c878550c1ebfac1d8b7f7c88454d825ed2d401745a78203390f
0x1efbad135a7ffdb97a201dbb4daf21483e8c3aa5bc6a707e4a59ad4a0d5be220
0xbdd73cbd3e171a60e11be11962e0dfa06c41c5fc9267e580890f9467cf69cb06
0x9c6931c602a3b5832e905bc89a083ab1b280823c19dd45f9b70998ee128a7f16
0x49a429a33f99fd71327fd48680fbc42abc4e1d217f0052eb6483630406067677
0xf5887db38ddf7cac648be19a81da4d5919e1ef1f2b83e22d7bcb613cca18f48a

Functions
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 _indexview returns (address)
connectors(address _addressview returns (uint256uint32boolboolbool)
decimalLength(uint256 _xpure returns (uint256)
geometricMean(uint256[] _valuespure returns (uint256)
getConnectorBalance(address _connectorTokenview returns (uint256)
getReturn(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
rateAndFee(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
reserveBalance(address _reserveTokenview returns (uint256)
reserveTokens(uint256view returns (address)
reserveWeight(address _reserveTokenview returns (uint32)
reserves(addressview returns (uint256 balanceuint32 weightbool deprecated1bool deprecated2bool isSet)
roundDiv(uint256 _nuint256 _dpure returns (uint256)
State-modifying
acceptAnchorOwnership(
acceptOwnership(
acceptTokenOwnership(
addLiquidity(address[] _reserveTokensuint256[] _reserveAmountsuint256 _minReturnpayable 
addReserve(address _tokenuint32 _weight
convert(address _sourceTokenaddress _targetTokenuint256 _amountaddress _traderaddress _beneficiarypayable returns (uint256)
fund(uint256 _amountpayable 
liquidate(uint256 _amount
removeLiquidity(uint256 _amountaddress[] _reserveTokensuint256[] _reserveMinReturnAmounts
restoreRegistry(
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry
safeApprove(address _tokenaddress _spenderuint256 _value
safeTransfer(address _tokenaddress _touint256 _value
safeTransferFrom(address _tokenaddress _fromaddress _touint256 _value
setConversionFee(uint32 _conversionFee
setConversionWhitelist(address _whitelist
transferAnchorOwnership(address _newOwner
transferOwnership(address _newOwner
transferTokenOwnership(address _newOwner
updateRegistry(
upgrade(
withdrawETH(address _to
withdrawFromAnchor(address _tokenaddress _touint256 _amount
withdrawTokens(address _tokenaddress _touint256 _amount
Events
Activation(address _anchorbool _activated
Conversion(address indexed _fromTokenaddress indexed _toTokenaddress indexed _traderuint256 _amountuint256 _returnint256 _conversionFee
ConversionFeeUpdate(uint32 _prevFeeuint32 _newFee
LiquidityAdded(address indexed _provideraddress indexed _reserveTokenuint256 _amountuint256 _newBalanceuint256 _newSupply
LiquidityRemoved(address indexed _provideraddress indexed _reserveTokenuint256 _amountuint256 _newBalanceuint256 _newSupply
OwnerUpdate(address indexed _prevOwneraddress indexed _newOwner
PriceDataUpdate(address indexed _connectorTokenuint256 _tokenSupplyuint256 _connectorBalanceuint32 _connectorWeight
TokenRateUpdate(address indexed _token1address indexed _token2uint256 _rateNuint256 _rateD
Constructor
constructor(address _tokenaddress _registryuint32 _maxConversionFee
Fallback and receive
fallback(
Errors

This contract contains no error objects.