LiquidityPoolV2Converter
Verified contract
Active on
Ethereum with 118 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x52ae…add4
0x52ae…add4
0xc42a…6237
0x27e7…df94
0x1f57…ff1c
-
variable spans 1 additional slot
-
variable spans 1 additional slot
Balances ($0.00)
No balances found for "LiquidityPoolV2Converter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10613716 | 4 years ago | | | 0 | 0.0023306130 | |
| 10613016 | 4 years ago | | | 0 | 0.0027608580 | |
| 10612897 | 4 years ago | | | 0 | 0.0023981670 | |
| 10612897 | 4 years ago | | | 0 | 0.0024622170 | |
| 10612897 | 4 years ago | | | 0 | 0.0024893649 | |
| 10612729 | 4 years ago | | | 0 | 0.0026289900 | |
| 10612687 | 4 years ago | | | 0 | 0.0024622170 | |
| 10612409 | 4 years ago | | | 0 | 0.46119881 | |
| 10604863 | 4 years ago | | | 0 | 0.0098496000 | |
| 10579363 | 4 years ago | | | 0 | 0.013059200 |
ABI
ABI objects
Getter at block 21082329 effectiveReserveWeights() view returns (uint256, uint256) effectiveTokensRate() view returns (uint256, uint256)
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
hasETHReserve() view returns (bool)
false
isActive() view returns (bool)
false
isV28OrHigher() pure returns (bool)
true
lastConversionRate() view returns (uint256 n, uint256 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 n, uint256 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 _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)
liquidationLimit(address _poolToken) view returns (uint256)
maxStakedBalances(address) view returns (uint256)
poolToken(address _reserveToken) view returns (address)
removeLiquidityReturnAndFee(address _poolToken, uint256 _amount) view returns (uint256, uint256)
reserveAmplifiedBalance(address _reserveToken) view returns (uint256)
reserveBalance(address _reserveToken) view returns (uint256)
reserveStakedBalance(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()
activate(address _primaryReserveToken, address _primaryReserveOracle, address _secondaryReserveOracle)
addLiquidity(address _reserveToken, uint256 _amount, uint256 _minReturn) payable returns (uint256)
addReserve(address _token, uint32 _weight)
convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns (uint256)
disableMaxStakedBalances()
removeLiquidity(address _poolToken, uint256 _amount, uint256 _minReturn) returns (uint256)
restoreRegistry()
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry)
setConversionFee(uint32 _conversionFee)
setConversionWhitelist(address _whitelist)
setMaxStakedBalances(uint256 _reserve1MaxStakedBalance, uint256 _reserve2MaxStakedBalance)
setReserveStakedBalance(address _reserveToken, uint256 _balance)
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(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)
TokenRateUpdate(address indexed _token1, address indexed _token2, uint256 _rateN, uint256 _rateD)
constructor(address _poolTokensContainer, address _registry, uint32 _maxConversionFee)
fallback()
This contract contains no error objects.