BancorConverter

Verified contract

Active on Ethereum with 1,511 txns
Deployed by via 0x1131292c at 4644880
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
0x85629c564717efbc967bf99dcc63b21ed257f5ff1f883907f45263ba48560a06
0xc0cc83a8b08bec3c4e5b0dd65063ce00027385f479190caa4152c8cc9756f272
0xbe7322f3edad07d96cf80aa1680414609296c5f983f27ae18e02490f1830a75b
0x6ff8e54795b819a64bb10788fe69da245284540c9ad84cb8baa819111822798a
0x7c1264170d05792b3884d088a7f39755532edfe894e23a92683239b7658eb582
0xdb374170d421ce4eb4a642a59a42daae95e5042527420245543a7e7430890b72
0xe68128f368d3a1a8186cf0d724442f31d75a0e14cfaec2f08d95c1bab986bf3f
0x2e1c81a6e2d06dabb62928c2a8295eb869413bb87b42bdd50d829d27504f26c7
0x798c9bed9940d3caebe9063bbc5f14e85f4cffbc34f4dcaed3e3dec966e7a385
0xb218892cce7431323b60bbc29dd11fee75f190348d53214cd2f1acc801792f48

Functions
Getter at block 21284365
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
1000
conversionsEnabled(view returns (bool)
true
converterType(view returns (string)
bancor
convertibleTokenCount(view returns (uint16)
3
extensions(view returns (address)
0xf46002c37af6fb078ae1833fd447698a0c9012f7
getQuickBuyPathLength(view returns (uint256)
5
manager(view returns (address)
0xf0f8c14a1a6202e89e61f514bb958433fc227f53
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xf0f8c14a1a6202e89e61f514bb958433fc227f53
token(view returns (address)
0x1bce0e684a1607fd86407909073eea2336042bf7
version(view returns (string)
0.6
Read-only
connectorTokens(uint256view returns (address)
connectors(addressview returns (uint256 virtualBalanceuint32 weightbool isVirtualBalanceEnabledbool isPurchaseEnabledbool isSet)
convertibleToken(uint16 _tokenIndexview returns (address)
getConnectorBalance(address _connectorTokenview returns (uint256)
getConversionFeeAmount(uint256 _amountview 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
buy(address _connectorTokenuint256 _depositAmountuint256 _minReturnreturns (uint256)
change(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
clearQuickBuyPath(
convert(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
disableConnectorPurchases(address _connectorTokenbool _disable
disableConversions(bool _disable
disableTokenTransfers(bool _disable
quickConvert(address[] _pathuint256 _amountuint256 _minReturnpayable returns (uint256)
sell(address _connectorTokenuint256 _sellAmountuint256 _minReturnreturns (uint256)
setConversionFee(uint32 _conversionFee
setExtensions(address _extensions
setQuickBuyPath(address[] _path
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 _returnuint256 _currentPriceNuint256 _currentPriceD
ConversionFeeUpdate(uint32 _prevFeeuint32 _newFee
ManagerUpdate(address _prevManageraddress _newManager
OwnerUpdate(address _prevOwneraddress _newOwner
Constructor
constructor(address _tokenaddress _extensionsuint32 _maxConversionFeeaddress _connectorTokenuint32 _connectorWeight
Fallback and receive
fallback(
Errors

This contract contains no error objects.