BancorConverter

Verified contract

Active on Ethereum with 2,361 txns
Deployed by via 0x0c7abe09 at 5776350
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $41,093.69
ERC-20
Value $54.84
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x9d2fb65c74e143e9cad45428e7306f4f7fa13776bd83c8a8df5d7b6bd6f204a6
0x6fcf79ba08c87c364a66da4961f0a6e52b818fe97bbc74c37f63d1222a4f9c0d
0xf0a5376402f78c7a364e99d43ede8c03a353d6984d69473192dada1412957b24
0x4e93bc27fab61ab14270818f3be43e283e25cddadce4e778d5cdbc3cc10ec219
0xd2d532fdb876211346c374b931c4b70c7bfd4c9e7e4dfd7f9a72724d370183e0
0x76e64d22ffc8f06acb3efff98ee73f9ceb6fd8c214a3ccc68ec75f3d7f58918a
0xe19f3051d696076bce9d6095cc965a117dc45e41355e0f2ba1337a82d8bd7379
0xd89bba73902991310d150d27261ecf2c7b72236a32d9947a8817727bf1642c61
0x633af78f9e302d830ae8476af62f2f60906659053de5b44d6c314ed549a4d401
0x2ab8200929a2df7814bf9c1042cf817ec060d571b3a3823dbdbcd83999840593

Functions
Getter at block 21329503
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)
5
manager(view returns (address)
0x005f7ed737346941acd68d0292a86f21d173538a
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0040c769b501805c6ebd77e3e2c64073fe4ebd69
newOwner(view returns (address)
0x4462e9185a5a590c8390662d25715d9ce2930de5
owner(view returns (address)
0x0040c769b501805c6ebd77e3e2c64073fe4ebd69
registry(view returns (address)
0xd1997064f0fef8748c1de9b5ba53468c548738b3
token(view returns (address)
0x60be88dd72f03c91fb22eef7af24c2e99db58530
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.