BancorConverter

Verified contract

Active on Ethereum with 506 txns
Deployed by via 0x08ef834e at 4802315
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0xa2c31ec7345fb68bb4afcac22d56736fbca31de72daea489c127f2ca5be331e8
0xc1bf5d169761521ca86f7a74b7013aa29eca813ce3d5d923fd05d81ee5cbc647
0x8bf232b0edacd78c2999e77bf573f175a611c9d5916193b35788f1b5d9800e3a
0x6697ee253f7244d332327a5cf42284dc490f31959111a65cd0aba2490f5a8b26
0x9f91d4aa6081242523f2cd288e37606573d271ea0e7d3ca48aa415a28b2592ec
0xb1647e79afc7c630d82227050d01acb0c7814fee87ed999d1609847660f6843b
0xa268e3a1842938e570d5e24e870a1b1195f29ae4256eed838129e9651cadb433
0xc16474aab47770a4e07853e1f8d6d49ad1b899ceec20521cd013dfa4e426b797
0x0f0c879ba2a49db8992088f6c9cad8996466ec73443456207c83cd31f89d3c49
0x60392930c454f2540fcccde8f059e569308eb1912950bc9a382ec06034e0a39b

Functions
Getter at block 21267848
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)
0xc26be35ad0d3b10c5f0cd4f0868a75aaf2526b6b
newOwner(view returns (address)
0x005f7ed737346941acd68d0292a86f21d173538a
owner(view returns (address)
0x88bd7e0dc967364a38e8497145eb8ddb66986be9
token(view returns (address)
0xb3c55930368d71f643c3775869afc73f6c5237b2
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.