BancorConverter

Verified contract

Active on Ethereum with 361 txns
Deployed by via 0x4b3a26a0 at 7170363
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0xf009e80217371395fbd79077e7dbf0d50e5367873cda726fab5ab5807ad90edf
0xe17245b8d733c3a3aeba2249cdf2d29feac35f2112cee69e54b3a3af89584b2d
0xe7049da35f52cf25726f2310121b2aa930422a6413b0059f328863449529290c
0x410f56938a415636cf3272ae5f8d912ac620b136dc0bb12b0bcc175952d7a387
0x40df4ed131e8049dc641ac9344ce9de7eaa658660ae16ac3c3b801293152eb74
0xddf90bcfbaabe0a26e0ac86704a2a027bdd911b2c284edb0919bbfca2bb5175c
0xe442e35e62c0f2ae89ad3dec5dbdfda2c4d6fd0c7d3740563b6fa05f84de57f0
0x77ff765205b4c569447d41c86165ecc8c8c06ae7c74fb59dd4c38887caa7de84
0xb799f472a67ab536905f3143a2d0abcd1725d0a98a4c7907d7ccb4be51de2797
0x9cbde0a510c6ef247fb305214ece83bd7108504de6d704275c9a5d2358d7b949

Functions
Getter at block 21168166
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)
30000
conversionWhitelist(view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled(view returns (bool)
true
converterType(view returns (string)
bancor
manager(view returns (address)
0x2b5411cdac5e35be5ba0a20e40b62b87153820a0
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x2b5411cdac5e35be5ba0a20e40b62b87153820a0
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
token(view returns (address)
0xb5b0e0642d35d7cab64cda6ecf87fd842cb5c58d
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.