BancorConverter

Verified contract

Active on Ethereum with 652 txns
Deployed by via 0x502e2bf9 at 4922718
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0x7a93e4b0fdefa6e9d4926e4ee9978b29166132e3e3c0db81f2deb58c12d96850
0xf4429bd0ca59cd00f860a81bab64f177258f879e7bdd08fd816ba5beb4e19f8b
0x72774d273efb872d6d3a5ed6c9f2d85b9cc59ac299e93a8b11f65494eaa58fd6
0x1f92c4b541981763b5cce628d3d80d2e06647e0115f71623100d1d7b0f47121b
0xb05d959c87478f2db06c866e6bb06e63b0a0948e7ecaad20990a204de96ab9f1
0x7a9007a9f59c93b1304e53516e81e33617c4477896751d07b832228c2a76ac98
0x995ed91a9a9dc03a3f00f315f4ce60f8fc49247b63f08814468e6254256af4ad
0x50e72f9626af0305db6f46780ba720c66d710ed0fc741b1b483eea236bf62a2a
0xba3cc021ef506a32d95e97234ea979c17d6e19fbbc2ea4a455db731f664edbb1
0x5ba762f841671be57a846f5d8254f0e2e3c24806a8f4eed85fd4104cbef18abb

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