LiquidityPoolV1Converter

Verified contract

Active on Ethereum with 53 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 1 additional slot

No balances found for "LiquidityPoolV1Converter"

0xfc9083615dd077b4c29ca92b821a68b13c562f9bd0ccb967fa3d325034325b29
0x2c4d7c5fac797d111cfa109d12cc477f906333f9bcca4c223c0aa83aca0c9a5a
0x998f4d451c317531a6f5289a03164611e7078436001f4ea6e708009b578480a2
0xf27d8450f8b6c0963a2c621568bf2487ff5e4c1ac1423e13ef33432b2b7a41b7
0x98b8d9b44b934453d2715c0d91428b0a0abc6f43b09c55fcc7c3eb0114124817
0x82e4119e527d281676f8885dd065bf94ed7d14116de2228e7d494d4690c9889a
0xaa90e79e87e7eb39638985c82210759d738a8db343067531c974aba5ba62bb70
0x1ac5515ad849d9b1be089c89f5cb3c8af5757ae609f2fa46af002f3eee24f950
0x534e362ebf9eba8db1d1e62c8912f98ff1e5ae9a54153026c2e58d4d2ca7e881
0x543f91dd8a97bc3cd8106d113c77a14685bb6e9253f16fe3f769b2e0c297529d

Functions
Getter at block 21207238
anchor(view returns (address)
0x5365b5bc56493f08a38e5eb08e36cbbe6fcc8306
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)
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)
0x5f319faa141863033b38647c88c266b86f7dbf32
prevAverageRate(view returns (uint256 nuint256 d)
(n=1321799549821968444, d=999999999998678200450178031556)
prevAverageRateUpdateTime(view returns (uint256)
1608482358
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveRatio(view returns (uint32)
1000000
reserveTokenCount(view returns (uint16)
2
token(view returns (address)
0x5365b5bc56493f08a38e5eb08e36cbbe6fcc8306
version(view returns (uint16)
42
Read-only
addLiquidityCost(address[] _reserveTokensuint256 _reserveTokenIndexuint256 _reserveAmountview returns (uint256[])
addLiquidityReturn(address _reserveTokenuint256 _reserveAmountview returns (uint256)
connectorTokens(uint256 _indexview returns (address)
connectors(address _addressview returns (uint256uint32boolboolbool)
getConnectorBalance(address _connectorTokenview returns (uint256)
getReturn(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
recentAverageRate(address _tokenview returns (uint256uint256)
removeLiquidityReturn(uint256 _amountaddress[] _reserveTokensview returns (uint256[])
reserveBalance(address _reserveTokenview returns (uint256)
reserveTokens(uint256view returns (address)
reserveWeight(address _reserveTokenview returns (uint32)
reserves(addressview returns (uint256 balanceuint32 weightbool deprecated1bool deprecated2bool isSet)
targetAmountAndFee(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
State-modifying
acceptAnchorOwnership(
acceptOwnership(
acceptTokenOwnership(
addLiquidity(address[] _reserveTokensuint256[] _reserveAmountsuint256 _minReturnpayable returns (uint256)
addReserve(address _tokenuint32 _weight
convert(address _sourceTokenaddress _targetTokenuint256 _amountaddress _traderaddress _beneficiarypayable returns (uint256)
fund(uint256 _amountpayable returns (uint256)
liquidate(uint256 _amountreturns (uint256[])
removeLiquidity(uint256 _amountaddress[] _reserveTokensuint256[] _reserveMinReturnAmountsreturns (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 _tokenaddress _touint256 _amount
Events
Activation(uint16 indexed _typeaddress indexed _anchorbool indexed _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
receive(
Errors

This contract contains no error objects.