StandardPoolConverter

Verified contract

Active on Ethereum with 19 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $150,163.31
ERC-20
Value $147,364.77
ERC-20
--
ERC-20
--
ERC-20
--
 (#0)
ERC-1555
--
0xe8aaed766b9db1e9a1ab0f61ec2b1089dd276a55f4433ddc59eedd86ccbe3472
0x8bfaf1aba5b5d02eb76974aca6f7dddf5e4f462419e27f47a628672babd1a6dd
0xdccb26b61252478249102bad14ecabb97d5d37e91a4d28afd0fa120f2a10dd68
0x07decef02098bae7b96c7441e12912a7458473cfb56ce9e58e0141e0736498ac
0x246660684f2d8ba1064d7af418d6eef9d8713f1832550c01e0c3c960bb2a66c1
0xa6c5ca91204465692dec69c1122054107881e07a881bbad347994f0a4599eea2
0xa5138e0d82f7d26f6438fed59f39b53360360e551aa442d53e42548a2de85d56
0xf2bee837abf0ea4e6485486b8b389d21b41e13de135d8a1ee0a81f437d2a4d51
0x744a60b61aa57cae959132f27f1d5fd9c9e3ca164c010518dc3edf934e815805
0x97cf0e195e15c7dd1d1272e3546e5256280af49e5bb355fb681099506ff01b80

Functions
Getter at block 21263465
anchor(view returns (address)
0x5365b5bc56493f08a38e5eb08e36cbbe6fcc8306
averageRateInfo(view returns (uint256)
46708323684811020656638557894388192394832932555712004512085960298320670779785
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
10000
converterType(pure returns (uint16)
3
isActive(view returns (bool)
true
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)
(211490477261768444614357, 147217551741)
reserveTokenCount(view returns (uint16)
2
reserveTokens(view returns (address[])
[0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C, 0xdAC17F958D2ee523a2206206994597C13D831ec7]
token(view returns (address)
0x5365b5bc56493f08a38e5eb08e36cbbe6fcc8306
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.