LiquidityPoolV2Converter
Verified contract
Active on
Ethereum with 111 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x52ae…add4
0x52ae…add4
0xa88f…bdae
0x30d6…8d36
-
variable spans 1 additional slot
-
variable spans 1 additional slot
1 additional
variable
Balances ($0.00)
No balances found for "LiquidityPoolV2Converter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 10692338 | 4 years ago | | | 0 | 0.73801038 | |
| 10692317 | 4 years ago | | | 0 | 0.0026853840 | |
| 10692306 | 4 years ago | | | 0 | 0.0053787240 | |
| 10684782 | 4 years ago | | | 0 | 0.030196492 | |
| 10684765 | 4 years ago | | | 0 | 0.031865812 | |
| 10684566 | 4 years ago | | | 0 | 0.026619678 | |
| 10684559 | 4 years ago | | | 0 | 0.031281495 | |
| 10684322 | 4 years ago | | | 0 | 0.024933070 | |
| 10684074 | 4 years ago | | | 0 | 0.020211237 | |
| 10678538 | 4 years ago | | | 0 | 0.026785138 |
ABI
ABI objects
Getter at block 21177871 effectiveReserveWeights() view returns (uint256, uint256) effectiveTokensRate() view returns (uint256, uint256)
amplificationFactor() pure returns (uint8)
20
anchor() view returns (address)
0xa88fd7560efc654d86cf3728785f94a8bc48bdae
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
dynamicFeeFactor() view returns (uint256)
70000
hasETHReserve() view returns (bool)
false
isActive() view returns (bool)
false
isV28OrHigher() pure returns (bool)
true
lastConversionRate() view returns (uint256 n, uint256 d)
(n=3210425779656791098213145749806, d=11433163909757963514194217097960)
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)
0x30d6876f22ed83cecb32a8f1449ac6fb4dbd8d36
primaryReserveToken() view returns (address)
0x408e41876cccdc0f92210600ef50372656052a38
referenceRate() view returns (uint256 n, uint256 d)
(n=1218500000000000, d=4368610000000000)
referenceRateUpdateTime() view returns (uint256)
1597864002
registry() view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveRatio() view returns (uint32)
1000000
reserveTokenCount() view returns (uint16)
2
secondaryReserveToken() view returns (address)
0x1f573d6fb3f13d689ff844b4ce37794d79a7ff1c
token() view returns (address)
0xa88fd7560efc654d86cf3728785f94a8bc48bdae
version() view returns (uint16)
32
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)
setDynamicFeeFactor(uint256 _dynamicFeeFactor)
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)
DynamicFeeFactorUpdate(uint256 _prevFactor, uint256 _newFactor)
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.