LiquidityPoolV2Converter

Verified contract

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

No balances found for "LiquidityPoolV2Converter"

0x5ac445bfa5149a0b34e814355bf67bb08a8dc89d7c60802b82f00c365460861d
0xce9c489fac8813a506c0a2e25a000b9a6723eb8d10985b12b334012917c9bf31
0xe408a50591518dfbe577b536edf15c20f7bf7ab8fa3f61fb32c2d7f5a6bfc951
0x6ed1fd161f49a4de53d83992cb6e822bdbfce734c7d5f5fbbef21fe75ae5dbd3
0x01f5cbd60e8e7b1fceaaf1fc1ab0fa4f08d75ee07e32590b218c16e69e38563c
0x3742d8fb133f8ae19b5054937c60ac1efce9ce0d69577f58355ac7f591163f28
0x5de8ec1885d50a505e600e4fc74ca1ba4503cba46b52edb189dc8c0e44e5f757
0xcf46961854d2a1954d7a2624d72197ce7ead3306f1ebb7824eca7a68b8f8c2f4
0x0cf588c792d9c3d3ae8a79448faabd0253c4afa8f911df034877292a5650abf7
0xfccc9d0e9d3392ef1ff7286ad7ce7adf32d6cf19ee382b4f684957066cbd2233

Functions
Getter at block 21082329
amplificationFactor(pure returns (uint8)
20
anchor(view returns (address)
0xc42a9e06cebf12ae96b11f8bae9acc3d6b016237
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
2000
conversionWhitelist(view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled(view returns (bool)
true
converterType(pure returns (uint16)
2
 
effectiveReserveWeights(view returns (uint256uint256)
 
effectiveTokensRate(view returns (uint256uint256)
hasETHReserve(view returns (bool)
false
isActive(view returns (bool)
false
isV28OrHigher(pure returns (bool)
true
lastConversionRate(view returns (uint256 nuint256 d)
(n=1339852617624717834561110041485, d=332399747689035385544730516603)
maxConversionFee(view returns (uint32)
30000
maxStakedBalanceEnabled(view returns (bool)
true
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
onlyOwnerCanUpdateRegistry(view returns (bool)
false
owner(view returns (address)
0xb93081c32befda94168483c78b780e601f07b192
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
priceOracle(view returns (address)
0x27e7790d07c2e7adff70c17362d856f08660df94
primaryReserveToken(view returns (address)
0x514910771af9ca656af840dff83e8264ecf986ca
referenceRate(view returns (uint256 nuint256 d)
(n=1000000000000000000000000000000, d=246485099930211985181190461574)
referenceRateUpdateTime(view returns (uint256)
1596797178
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveRatio(view returns (uint32)
1000000
reserveTokenCount(view returns (uint16)
2
secondaryReserveToken(view returns (address)
0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c
token(view returns (address)
0xc42a9e06cebf12ae96b11f8bae9acc3d6b016237
version(view returns (uint16)
31
Read-only
connectorTokens(uint256 _indexview returns (address)
connectors(address _addressview returns (uint256uint32boolboolbool)
getConnectorBalance(address _connectorTokenview returns (uint256)
getReturn(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
liquidationLimit(address _poolTokenview returns (uint256)
maxStakedBalances(addressview returns (uint256)
poolToken(address _reserveTokenview returns (address)
removeLiquidityReturnAndFee(address _poolTokenuint256 _amountview returns (uint256uint256)
reserveAmplifiedBalance(address _reserveTokenview returns (uint256)
reserveBalance(address _reserveTokenview returns (uint256)
reserveStakedBalance(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(
activate(address _primaryReserveTokenaddress _primaryReserveOracleaddress _secondaryReserveOracle
addLiquidity(address _reserveTokenuint256 _amountuint256 _minReturnpayable returns (uint256)
addReserve(address _tokenuint32 _weight
convert(address _sourceTokenaddress _targetTokenuint256 _amountaddress _traderaddress _beneficiarypayable returns (uint256)
disableMaxStakedBalances(
removeLiquidity(address _poolTokenuint256 _amountuint256 _minReturnreturns (uint256)
restoreRegistry(
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry
setConversionFee(uint32 _conversionFee
setConversionWhitelist(address _whitelist
setMaxStakedBalances(uint256 _reserve1MaxStakedBalanceuint256 _reserve2MaxStakedBalance
setReserveStakedBalance(address _reserveTokenuint256 _balance
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(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
TokenRateUpdate(address indexed _token1address indexed _token2uint256 _rateNuint256 _rateD
Constructor
constructor(address _poolTokensContaineraddress _registryuint32 _maxConversionFee
Fallback and receive
fallback(
Errors

This contract contains no error objects.