BancorConverter

Verified contract

Active on Ethereum with 9,818 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
--
0x4c2504cb264b6b0654aa570e3e662c5f93c7cd9f1ecf23853beef0a0227e6416
0x699cf017ffe5049772cd4bb86ab80df1ba921693090383875b741afc2f1f122c
0xf7f59523bd7d1be3129c72dd3ba60d124cefddfac23e8460c1b9620d00de5522
0xca3c2778639d41f766ea33e6f17fb6ff69260f67389f8d9c3430cbf5af47e49a
0x2455b3310eb1109a01cea8a9f337b7f7b3f4615035b4c6731ac6a9176c7fc0ea
0xa70ad7479c3f0bc80601fa8f1d5613ccf9ac8cc41ad632e1445789b5a0e80e29
0x8e3c55792e158e06ec3df6888cde3502feed8cd84bd14e7bb453474493e68902
0xb85192b26919eef4e8d7bf2c777743587af2970041ddea1c342b9b35cbf37518
0xf5514121cd33785c0b204c986b10b93baed19bf575c75a2f67fa88e7efb00983
0x3f26542ad57dc6db2d7f8ba5d94cb34ae43b9278f4806d21feff98132edc8207

Functions
Getter at block 21169226
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)
0xaebf1085dd9a0fa403a75399c956595e3a7c3d5c
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x58aa01ab4acb640cd44b46460bbe209ce732d911
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x3bacda099735d0e6bcbb51e0acc5fedcdbce6104
registry(view returns (address)
0xd1997064f0fef8748c1de9b5ba53468c548738b3
token(view returns (address)
0xa9de5935ae3eae8a7f943c9329940eda160267f4
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.