BancorConverter

Verified contract

Active on Ethereum with 8,533 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x26e1ea9eb37b5022a2be633fa868415582e47d14c692114c4368bec207d49226
0x3af96723ab0871b651dd856ae50845c1037f16b37fbbf8fd342498c7d1e4f63a
0x15a7b4b6416849dd3ec7959ac12d18f77bce590da09d7dbbe7630d136f3a4f5a
0xedfa3046b75973d6662c3330ca513e611ed52e508a644ba3449acc743ff2436e
0x653394a73b8d83bca8c9cf5b5aaf345f3b6623bfd25bdc8be4e39240a9ad0952
0x5bbaae8f5a5f6bc11a83907cbe06efeaf3c36fbf024677c1b9e47c1046bf649d
0xe8b33bd50e4ee838f2c2784d9b06622d33477e69cae383180e45725be8bee967
0xd27ce5190f9210a8e3664545e1cf56565dce7bf9c3dffcf8ea6aeded8123c98c
0x815fd66f4e6c161654fc3468da6bd75299e52a06f5e2d7360a794aab4b33fb3d
0x4c47702dbcc923ca8c85223b437c1a474311e8f3e4f1c606049a0f7b2ca942af

Functions
Getter at block 21246382
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
BANCOR_X(view returns (bytes32)
0x42616e636f725800000000000000000000000000000000000000000000000000
BNT_CONVERTER(view returns (bytes32)
0x424e54436f6e7665727465720000000000000000000000000000000000000000
BNT_TOKEN(view returns (bytes32)
0x424e54546f6b656e000000000000000000000000000000000000000000000000
CONTRACT_FEATURES(view returns (bytes32)
0x436f6e7472616374466561747572657300000000000000000000000000000000
CONTRACT_REGISTRY(view returns (bytes32)
0x436f6e7472616374526567697374727900000000000000000000000000000000
CONVERTER_CONVERSION_WHITELIST(view returns (uint256)
1
allowRegistryUpdate(view returns (bool)
true
claimTokensEnabled(view returns (bool)
false
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
manager(view returns (address)
0x7e33009c42399f05fc4b16aeb3acc6a60df88058
maxConversionFee(view returns (uint32)
5000
newManager(view returns (address)
0xde63aef60307655405835da74ba02ce4db1a42fb
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xde63aef60307655405835da74ba02ce4db1a42fb
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
token(view returns (address)
0xf3ad2cbc4276eb4b0fb627af0059cfce094e20a1
version(view returns (bytes32)
0x302e313100000000000000000000000000000000000000000000000000000000
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 (uint256uint256)
getFinalAmount(uint256 _amountuint8 _magnitudeview returns (uint256)
getPurchaseReturn(address _connectorTokenuint256 _depositAmountview returns (uint256uint256)
getReturn(address _fromTokenaddress _toTokenuint256 _amountview returns (uint256uint256)
getSaleReturn(address _connectorTokenuint256 _sellAmountview returns (uint256uint256)
State-modifying
acceptManagement(
acceptOwnership(
acceptTokenOwnership(
addConnector(address _tokenuint32 _weightbool _enableVirtualBalance
change(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
claimTokens(address _fromuint256 _amount
convert(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
convertInternal(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
disableConnectorPurchases(address _connectorTokenbool _disable
disableConversions(bool _disable
disableRegistryUpdate(bool _disable
disableTokenTransfers(bool _disable
enableClaimTokens(bool _enable
fund(uint256 _amount
liquidate(uint256 _amount
quickConvert(address[] _pathuint256 _amountuint256 _minReturnpayable returns (uint256)
quickConvertPrioritized(address[] _pathuint256 _amountuint256 _minReturnuint256 _blockuint8 _vbytes32 _rbytes32 _spayable returns (uint256)
restoreRegistry(
setConversionFee(uint32 _conversionFee
setConversionWhitelist(address _whitelist
transferManagement(address _newManager
transferOwnership(address _newOwner
transferTokenOwnership(address _newOwner
updateConnector(address _connectorTokenuint32 _weightbool _enableVirtualBalanceuint256 _virtualBalance
updateRegistry(
upgrade(
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
ConversionsEnable(bool _conversionsEnabled
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

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.