StandardPoolConverter

Verified contract

Active on Ethereum with 16 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0xec041f54d2187ee99d764bd1d5d3900cb1ea9fa0f60f5988c65c14bf9ae945e0
0x70268d304cfc55cbaf0fc7a928f6c3605f450c79a3f5df9c621c043f340e251d
0xfdedcd6d8930861fba9f609bd7d2af4baebda8872e244b8af02169bdeddf2242
0x92181862a0e95e785e7c469aa9ba1da230d26e914243c6ec1d709dab03d75d79
0x66c331facebb8b4f06dfafcb3181a4c53d71e3324c9fcbbceeefac8084e84288
0x7d7cfad94deca37962d28dc577a20b396fac33120dc71b31f0461329fc6a17af
0x1cce482081026de1e61011830ea52695d0819373c17a4323f4bf7e78ce15ccb7
0x3e5ef76ee0a2ae7fa944e0e2a9f56e5cd901c996c881c0eefe3b1337fc0a76e1
0x3376b1e6a7a0ae0db7f351423dc28398510deb5e501766130924229f7105877d
0x539b8aec92057125374553021c12dda79ac89b924b036e34dd718b5357c2f95c

Functions
Getter at block 21205611
anchor(view returns (address)
0x5365b5bc56493f08a38e5eb08e36cbbe6fcc8306
averageRateInfo(view returns (uint256)
43616419235694716145404560315846258297222953113728171063238127676600258112420
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
2000
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 (uint256uint256)
(0, 0)
reserveTokenCount(view returns (uint16)
2
reserveTokens(view returns (address[])
[0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C, 0xdAC17F958D2ee523a2206206994597C13D831ec7]
token(view returns (address)
0x5365b5bc56493f08a38e5eb08e36cbbe6fcc8306
version(view returns (uint16)
44
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)
reserveWeight(address _reserveTokenview returns (uint32)
targetAmountAndFee(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
State-modifying
acceptAnchorOwnership(
acceptOwnership(
acceptTokenOwnership(
addLiquidity(address[] _reserveTokensuint256[] _reserveAmountsuint256 _minReturnpayable returns (uint256)
addLiquidity(uint256 _reserve1Amountuint256 _reserve2Amountuint256 _minReturnpayable returns (uint256)
addReserve(address _tokenuint32 _weight
convert(address _sourceTokenaddress _targetTokenuint256 _amountaddress _traderaddress _beneficiarypayable returns (uint256)
removeLiquidity(uint256 _amountaddress[] _reserveTokensuint256[] _reserveMinReturnAmountsreturns (uint256[])
removeLiquidity(uint256 _amountuint256 _reserve1MinReturnuint256 _reserve2MinReturnreturns (uint256uint256)
restoreRegistry(
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry
setConversionFee(uint32 _conversionFee
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
TokenRateUpdate(address indexed _token1address indexed _token2uint256 _rateNuint256 _rateD
Constructor
constructor(address _anchoraddress _registryuint32 _maxConversionFee
Fallback and receive
receive(
Errors

This contract contains no error objects.