StandardPoolConverter

Verified contract

Active on Ethereum with 2 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $25.29
ERC-20
--
0x1456fa091650bffb96c4e5b15db7d31b2ec0d101c14d08509b3ce257ef1a52a2
0x8abec28e056f3ac21beda8b249d27fd9b5ae1290663d4909e53984e678622be5

Functions
Getter at block 21166497
anchor(view returns (address)
0x0c485bffd5df019f66927b2c32360159884d4409
averageRateInfo(view returns (uint256)
46425895489277630629649451554231367667157428535399491940733412178889403066940
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
5000
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)
(41047359507396358479, 2563551917772649920)
reserveTokenCount(view returns (uint16)
2
reserveTokens(view returns (address[])
[0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C, 0x960b236A07cf122663c4303350609A66A7B288C0]
token(view returns (address)
0x0c485bffd5df019f66927b2c32360159884d4409
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.