BancorConverter

Verified contract

Active on Ethereum with 6,298 txns
Deployed by via 0x30e2eb7e at 7340977
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $5,008.96
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x2968b526610ecba5684902ace75433854f6f4dd6ef73b4384770ed93d3719fba
0xb25420ca86e41a3d64ad276cb3c1cb3a173ae3832b907b5238254cb9a92a431c
0x6f378963a4656ed31f28621a542e84eb27e7262edb316473b3b35550ba4476e8
0x63cfceb3f5f6339b71ffe1e7abf057cdb12afb7b80a56ec53b35549b5821f386
0x2267d379348433731d81d3b945e9526e68c03ac483b57e79de5584057cc0a56c
0x336259d03fb3d716c4c2105d2530ccf3faa75e1a573c54677fc0eed96df24679
0x4b373a2e4ad71d7274b472d0dbeca8823042fcad591d92cae1832b7ab69bc9c7
0x78bddd3b2d318122b8acd8de1512b873dc1cfbeb7f7bc695ab40dfeb5909f347
0xfc7d71d759f64dc7da931c84b01b79e0cd1824e61b911cedc4a5125228411618
0xb3f4384a2d0f6f979e04cd9f1a62ca4a736e652235fd5bfae2d40a1af4dfcb24

Functions
Getter at block 21257763
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)
0x4045bed6bae9dcc69ce9e6b24fc2c5665457c70d
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x9bd0699facac3d7ca884a4eb58b796e1361ab111
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x9bd0699facac3d7ca884a4eb58b796e1361ab111
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
token(view returns (address)
0x2e8d4ef4cce1a5235311307b45ebecf31ee7ca88
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.