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 $8,550.74
ERC-20
Value $8,344.24
0x24fe4beb416da5ac686c2718702112fa5a1b50318fc32357c73b36ed816a191e
0xc1e1caeb1410679a288c01751bf1d429e26ef2c4d2a728a132579f6282b3ada4
0x9e4460f6029a00774eeaabbeb17bd15665de1f571b615f63a639fff26f787ca3

Functions
Getter at block 21087749
anchor(view returns (address)
0xccb5e3ba5356d57001976092795626ac3b87ad4e
averageRateInfo(view returns (uint256)
46638976339435695764004965106705358893772316522335320658591402688588789107917
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)
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)
(17111714014959558066452, 92042904711274709147739)
reserveTokenCount(view returns (uint16)
2
reserveTokens(view returns (address[])
[0x1F573D6Fb3F13d689FF844B4cE37794d79a7FF1C, 0x8f8221aFbB33998d8584A2B05749bA73c37a938a]
token(view returns (address)
0xccb5e3ba5356d57001976092795626ac3b87ad4e
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.