StandardPoolConverter
Verified contract
Active on
Ethereum with 13 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x52ae…add4
0x52ae…add4
0x50e7…8159
Balances ($0.00)
No balances found for "StandardPoolConverter"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 12286015 | 4 years ago | | | 0 | 0.58912154 | |
| 12281415 | 4 years ago | | | 0 | 0.0039787180 | |
| 12272176 | 4 years ago | | | 0 | 0.0080481960 | |
| 12116020 | 4 years ago | | | 0 | 0.028852742 | |
| 11891050 | 4 years ago | | | 0 | 0.022854541 | |
| 11891023 | 4 years ago | | | 0 | 0.014810764 | |
| 11890866 | 4 years ago | | | 0 | 0.046798712 | |
| 11888993 | 4 years ago | | | 0 | 0.028985088 | |
| 11875032 | 4 years ago | | | 0 | 0.021299260 | |
| 11874950 | 4 years ago | | | 0 | 0.026420688 |
ABI
ABI objects
Getter at block 21229286
anchor() view returns (address)
0x50e78c51cf2cc220393769c555593d018b288159
averageRateInfo() view returns (uint256)
43648534328563825994599962384595440522157712361056805936719162291098307446784
connectorTokenCount() view returns (uint16)
2
conversionFee() view returns (uint32)
2500
converterType() pure returns (uint16)
3
isActive() view returns (bool)
false
isV28OrHigher() pure returns (bool)
true
maxConversionFee() view returns (uint32)
50000
newOwner() view returns (address)
0x0000000000000000000000000000000000000000
onlyOwnerCanUpdateRegistry() view returns (bool)
false
owner() view returns (address)
0x1647f8480c65528aff347602460c3ff9429cef4d
prevRegistry() view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry() view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveBalances() view returns (uint256, uint256)
(0, 0)
reserveTokenCount() view returns (uint16)
2
reserveTokens() view returns (address[])
[0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C, 0x7e7E112A68d8D2E221E11047a72fFC1065c38e1a]
token() view returns (address)
0x50e78c51cf2cc220393769c555593d018b288159
version() view returns (uint16)
44
Read-only
addLiquidityCost(address[] _reserveTokens, uint256 _reserveTokenIndex, uint256 _reserveAmount) view returns (uint256[])
addLiquidityReturn(address _reserveToken, uint256 _reserveAmount) view returns (uint256)
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)
recentAverageRate(address _token) view returns (uint256, uint256)
removeLiquidityReturn(uint256 _amount, address[] _reserveTokens) view returns (uint256[])
reserveBalance(address _reserveToken) view returns (uint256)
reserveWeight(address _reserveToken) view returns (uint32)
targetAmountAndFee(address _sourceToken, address _targetToken, uint256 _amount) view returns (uint256, uint256)
State-modifying
Events acceptAnchorOwnership()
acceptOwnership()
acceptTokenOwnership()
addLiquidity(address[] _reserveTokens, uint256[] _reserveAmounts, uint256 _minReturn) payable returns (uint256)
addLiquidity(uint256 _reserve1Amount, uint256 _reserve2Amount, uint256 _minReturn) payable returns (uint256)
addReserve(address _token, uint32 _weight)
convert(address _sourceToken, address _targetToken, uint256 _amount, address _trader, address _beneficiary) payable returns (uint256)
removeLiquidity(uint256 _amount, address[] _reserveTokens, uint256[] _reserveMinReturnAmounts) returns (uint256[])
removeLiquidity(uint256 _amount, uint256 _reserve1MinReturn, uint256 _reserve2MinReturn) returns (uint256, uint256)
restoreRegistry()
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry)
setConversionFee(uint32 _conversionFee)
transferAnchorOwnership(address _newOwner)
transferOwnership(address _newOwner)
transferTokenOwnership(address _newOwner)
updateRegistry()
upgrade()
withdrawETH(address _to)
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 _anchor, address _registry, uint32 _maxConversionFee)
receive()
This contract contains no error objects.