StandardPoolConverter

Verified contract

Active on Ethereum with 3 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $151,402.86
ERC-20
Value $146,695.16
0x291d35bbd5eb15d0859df1c07e32ef92694d1e137e96fe50070fe08848e6f151
0x6931fa57b0bf8d11e44880cb0bf5e1aece6011f418ec9b9a04f6204daef4a3bd
0x9d3c54f8a05470e785613e090f9d3fe8067da1964d8f4b39535e8cb80e70f2b4

Functions
Getter at block 21310920
anchor(view returns (address)
0x79d83b390cf0edf86b9efbe47b556cc6e20926ac
averageRateInfo(view returns (uint256)
46723685354582176423782664539732324202420471875392723212988421875949268820615
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
2000
converterType(pure returns (uint16)
3
isActive(view returns (bool)
true
isV28OrHigher(pure returns (bool)
true
maxConversionFee(view returns (uint32)
30000
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)
(185104775023720887330127, 231327760128050664803656)
reserveTokenCount(view returns (uint16)
2
reserveTokens(view returns (address[])
[0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C, 0x0F5D2fB29fb7d3CFeE444a200298f468908cC942]
token(view returns (address)
0x79d83b390cf0edf86b9efbe47b556cc6e20926ac
version(view returns (uint16)
46
Read-only
addLiquidityCost(address[] _reserveTokensuint256 _reserveTokenIndexuint256 _reserveAmountview returns (uint256[])
addLiquidityReturn(address[] _reserveTokensuint256[] _reserveAmountsview 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)
sourceAmountAndFee(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
targetAmountAndFee(address _sourceTokenaddress _targetTokenuint256 _amountview returns (uint256uint256)
State-modifying
acceptAnchorOwnership(
acceptOwnership(
acceptTokenOwnership(
addLiquidity(address[] _reserveTokensuint256[] _reserveAmountsuint256 _minReturnpayable returns (uint256)
addReserve(address _tokenuint32 _weight
convert(address _sourceTokenaddress _targetTokenuint256 _amountaddress _traderaddress _beneficiarypayable returns (uint256)
onUpgradeComplete(
processNetworkFees(
removeLiquidity(uint256 _amountaddress[] _reserveTokensuint256[] _reserveMinReturnAmountsreturns (uint256[])
restoreRegistry(
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry
setConversionFee(uint32 _conversionFee
syncReserveBalances(
transferAnchorOwnership(address _newOwner
transferOwnership(address _newOwner
transferReservesOnUpgrade(address _newConverter
transferTokenOwnership(address _newOwner
updateRegistry(
upgrade(
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.