BancorConverter

Verified contract

Active on Ethereum with 919 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
--
0x5e6397bcaa8441e0755a89cd03ca85bc8deceffa55a37b348d3e74256d820d51
0xbd503d62bd6ef61b09faf2375a3e51d48219054776d1432fa50d9a3e34fc89f7
0xd8d7a9a7461dc14a14e9d05b4e6e9afda6f73397d65ad2e1843983cde9a5fb7a
0x26497904865df75d2d072f10a5bee718c0cb0f0ad9cfcf28455e3d59b9a95504
0x9514d88efc0f55505c5aadf56007f107f58fcdf5b3b69a48d7b8efb30c55108c
0x5ac21deb8c922c58cca512b01a065c77edb30b005d5e313543a60d06ad953c63
0x897cd523ce4f3adb6733587c1a8c9a96f86f96a28766829c47895c9676049766
0xfb1172b8af9485645876266a249a0ff41fc72ebcdc5be88133369d924ce7cf6a
0xc2dbb81127c2e4a6c814d99a8bfdf4a22fad3e3ef619437336be3bc96d3c8305
0xe02b20239f15f1b3e9712efe10f76f95f8bce7cd3646f7e66c370652a13ee37a

Functions
Getter at block 21216039
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)
0x58866ce6a2fb0b52a5b3d18035bc2fa9e6dda0e3
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x1647f8480c65528aff347602460c3ff9429cef4d
owner(view returns (address)
0x7dfb5180878b43c6ff5aa6a2ea55db20bcc87410
registry(view returns (address)
0xd1997064f0fef8748c1de9b5ba53468c548738b3
token(view returns (address)
0x6a46f6dc570a1304a23f771c26b1802dffcdab0d
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.