BancorConverter

Verified contract

Active on Ethereum with 5,787 txns
Deployed by via 0x361d8a9a at 5247337
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0x490e3f8748318d5c4a416a48b8e9afad8f0d16352ee64a666f166b4a90ee012c
0xdba42c4d513f44c4528279c3d6fe7f2e62eaba64971482af49e26ba36c122f9a
0x543ec0131d982c3bdc96232fffbc94ffb0029611ae3dce3c8a2b92394031c2c4
0x631302c175e3f7fee1ea7d71e27dbe12d1f2249483e11cb578f0cd8710bd2a2d
0x5ab37702900f89c67fc15edb718b3ba1856ede2afefe68773763efe34dd5356a
0xbd3f8fb8f6db1de06f3c9257d014b4aa0496355f2689b88952ff04399f0cb898
0x5528d6c7c1a88a6e69c73f388e42ea2515c31bdf08bc3d52b7aecab9ed57e05f
0x114c4731a2c5f57a66b676b51bbb0f0f71f9cf8f5cf2da9a473e3bc359883a54
0x7dcfc4f0550aeca13477062ce4695ea38fe187af71bdad860d08470025444ee1
0x8e1540806f7399397efd214ecf5e166cd1af6b4a13ef6e7029c8609c78ce0b14

Functions
Getter at block 21292046
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)
0x005f7ed737346941acd68d0292a86f21d173538a
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x58aa01ab4acb640cd44b46460bbe209ce732d911
newOwner(view returns (address)
0x005f7ed737346941acd68d0292a86f21d173538a
owner(view returns (address)
0x88bd7e0dc967364a38e8497145eb8ddb66986be9
token(view returns (address)
0xa9de5935ae3eae8a7f943c9329940eda160267f4
version(view returns (string)
0.7
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 _returnint256 _conversionFeeuint256 _currentPriceNuint256 _currentPriceD
ConversionFeeUpdate(uint32 _prevFeeuint32 _newFee
ManagerUpdate(address indexed _prevManageraddress indexed _newManager
OwnerUpdate(address indexed _prevOwneraddress indexed _newOwner
Constructor
constructor(address _tokenaddress _extensionsuint32 _maxConversionFeeaddress _connectorTokenuint32 _connectorWeight
Fallback and receive
fallback(
Errors

This contract contains no error objects.