BancorConverter

Verified contract

Active on Ethereum with 1,443 txns
Deployed by via 0xaa611ed7 at 5821492
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0xcb9ad717add1f06e96cc9251a17927dd1b6b215faeae91523d33680bab599155
0x270cedbe04a6225ce660750b967eccb2696a2102060835e91ba75f60191fc7b4
0x71c783887a5d425f05401fe5bdd7184b6d7cf723b31ebdd0393b201913f5c902
0x441fcd24166272e8adf86c15971572bea958f85cd88128f36df61fe8d750cc0d
0x64597a4f9a9eda643bd54a2abd79377ad968fd9443917d699f1e4ad6101ba966
0x8bb800a8f2cc6b67fed86eef73b5f8971a60813d6ce8924e2ddfdb87a155bf62
0xb4403f01e1a7884a508c6153adefd9bb78e5d110ef2fbf2fdb808d872d4d2e29
0x6172159049f582860b23c855f1f08d639e1ff8bc8e83efa0022c6023fe5444c0
0x5d317490a55509afb181ba177f4dd14f286e4ab99438762c20799528cd242e27
0x12df53d15c7eb9ec49e35f6a3897c61a4d698cedcd8d0b0662eaf8120e2d0f01

Functions
Getter at block 21284730
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)
0
manager(view returns (address)
0x0040c769b501805c6ebd77e3e2c64073fe4ebd69
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x0040c769b501805c6ebd77e3e2c64073fe4ebd69
owner(view returns (address)
0xcff01c40fa47faff359b6b31ebac86f7958be486
registry(view returns (address)
0xd1997064f0fef8748c1de9b5ba53468c548738b3
token(view returns (address)
0x2d5add875442023ec83718bb03d866c9f4c6e8ce
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.