BancorConverter

Verified contract

Active on Ethereum with 3,933 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xfbcda619540fee9e194a244fb7d385a8736ccd1b4a5d9a9febd665476fd95744
0xe4212574c75a99d6f53fcba9163c9ab770c9480ee3d870e09c66d0c2dfb13212
0x56835cab2abb54944acd908b8450f99668380fc6fd00e8b5336d93ee45cb9059
0x271047f119cd5798cda54db6a19acc2189483bae945276a98a7e8014164d201d
0x7338893722448fe4e38b8074f6bc883445da1cf9cd37b00301633a46f875e585
0x28cb31e2b9cf30a61ef31cd90ff645bcfb8a1f08eb9b47e116e581c969e36efb
0x4d6b6af0c02726454f2c110ee642991fdceabd1dc9dcb346a309f94b2678dbe8
0xe21030dfc4068cc97fb5d3bcc7cabccd39e4c03e0eb708df4f8a0cee6bcb8dbd
0x60a42cce5f95117b0bfc884f915baaaac390e6c5ea68c483c497e0dcbc1fc7b4
0xfdf8501018731f7ca7e6587a837d4524544b3ba494415f985272219eb87a71d0

Functions
Getter at block 21169187
BANCOR_CONVERTER_FACTORY(view returns (bytes32)
0x42616e636f72436f6e766572746572466163746f727900000000000000000000
BANCOR_CONVERTER_UPGRADER(view returns (bytes32)
0x42616e636f72436f6e7665727465725570677261646572000000000000000000
BANCOR_FORMULA(view returns (bytes32)
0x42616e636f72466f726d756c6100000000000000000000000000000000000000
BANCOR_GAS_PRICE_LIMIT(view returns (bytes32)
0x42616e636f7247617350726963654c696d697400000000000000000000000000
BANCOR_NETWORK(view returns (bytes32)
0x42616e636f724e6574776f726b00000000000000000000000000000000000000
BNT_TOKEN(view returns (bytes32)
0x424e54546f6b656e000000000000000000000000000000000000000000000000
CONTRACT_FEATURES(view returns (bytes32)
0x436f6e7472616374466561747572657300000000000000000000000000000000
CONVERTER_CONVERSION_WHITELIST(view returns (uint256)
1
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
1000
conversionWhitelist(view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled(view returns (bool)
true
converterType(view returns (string)
bancor
getQuickBuyPathLength(view returns (uint256)
5
manager(view returns (address)
0x00d34f67990364d9555e325eeaeefb1d73ef6460
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0xdfee8dc240c6cadc2c7f7f9c257c259914dea84e
owner(view returns (address)
0x20412bd6d146309c55cc607d30c5aad07fbf6148
registry(view returns (address)
0xd1997064f0fef8748c1de9b5ba53468c548738b3
token(view returns (address)
0xa7774f9386e1653645e1a08fb7aae525b4dedb24
version(view returns (string)
0.9
Read-only
connectorTokens(uint256view returns (address)
connectors(addressview returns (uint256 virtualBalanceuint32 weightbool isVirtualBalanceEnabledbool isPurchaseEnabledbool isSet)
getConnectorBalance(address _connectorTokenview returns (uint256)
getCrossConnectorReturn(address _fromConnectorTokenaddress _toConnectorTokenuint256 _sellAmountview returns (uint256)
getFinalAmount(uint256 _amountuint8 _magnitudeview returns (uint256)
getPurchaseReturn(address _connectorTokenuint256 _depositAmountview returns (uint256)
getReturn(address _fromTokenaddress _toTokenuint256 _amountview returns (uint256)
getSaleReturn(address _connectorTokenuint256 _sellAmountview returns (uint256)
quickBuyPath(uint256view returns (address)
State-modifying
acceptManagement(
acceptOwnership(
acceptTokenOwnership(
addConnector(address _tokenuint32 _weightbool _enableVirtualBalance
change(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
clearQuickBuyPath(
convert(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
convertInternal(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
disableConnectorPurchases(address _connectorTokenbool _disable
disableConversions(bool _disable
disableTokenTransfers(bool _disable
quickConvert(address[] _pathuint256 _amountuint256 _minReturnpayable returns (uint256)
quickConvertPrioritized(address[] _pathuint256 _amountuint256 _minReturnuint256 _blockuint8 _vbytes32 _rbytes32 _spayable returns (uint256)
setConversionFee(uint32 _conversionFee
setConversionWhitelist(address _whitelist
setQuickBuyPath(address[] _path
setRegistry(address _registry
transferManagement(address _newManager
transferOwnership(address _newOwner
transferTokenOwnership(address _newOwner
updateConnector(address _connectorTokenuint32 _weightbool _enableVirtualBalanceuint256 _virtualBalance
withdrawFromToken(address _tokenaddress _touint256 _amount
withdrawTokens(address _tokenaddress _touint256 _amount
Events
Conversion(address indexed _fromTokenaddress indexed _toTokenaddress indexed _traderuint256 _amountuint256 _returnint256 _conversionFee
ConversionFeeUpdate(uint32 _prevFeeuint32 _newFee
ManagerUpdate(address indexed _prevManageraddress indexed _newManager
OwnerUpdate(address indexed _prevOwneraddress indexed _newOwner
PriceDataUpdate(address indexed _connectorTokenuint256 _tokenSupplyuint256 _connectorBalanceuint32 _connectorWeight
Constructor
constructor(address _tokenaddress _registryuint32 _maxConversionFeeaddress _connectorTokenuint32 _connectorWeight
Fallback and receive
fallback(
Errors

This contract contains no error objects.