BancorConverter

Verified contract

Active on Ethereum with 532 txns
Deployed by via 0xc48199ef at 8517520
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $87.89
ERC-20
--
ERC-20
--
0xa404c4ff8f7ba7667796bf0caf30fc1c4a25009a9d3bea79ed7e8125d9748206
0xe3eb2f311e76004d17a8f6d5f1d73b65d37f5a156eba6c1f45d9432d848b9b71
0x7e85299b84bcfeef2d1cc292dacd95b241448f23b43abac176669715264accac
0x6b56a279b25c9513545a1b50dbd5e64f9fa404b1b6175ce6bf6c4039c3056406
0xb36d36f220ad80a5d786ca0ed77d6a0f17a6ec3c656c89124240a5bb0f5beb4f
0x631f9dc3accc47fb06f2ac1963a0293b0a61b470b93373b666619275f3944bb4
0x2bfe156f2f8f671dd808233331498b571bb15ab526269763bfe1a44ef3bf5971
0xedaa4784b0cfe2fbd6e9b8d96d403cd08cb62715e9a2616404c1a2745ef80ea7
0xcd8cfd11dd21b4d6a5c94d0cedab1237096f2f09a5c22fdf577da6a72d40cd04
0x6189558fbffca092aaf31df42cc45960b7835ab5c026530c20a7c6c0cda843f3

Functions
Getter at block 21280090
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
BANCOR_X_UPGRADER(view returns (bytes32)
0x42616e636f725855706772616465720000000000000000000000000000000000
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
NON_STANDARD_TOKEN_REGISTRY(view returns (bytes32)
0x4e6f6e5374616e64617264546f6b656e52656769737472790000000000000000
allowRegistryUpdate(view returns (bool)
true
claimTokensEnabled(view returns (bool)
false
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
1500
conversionWhitelist(view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled(view returns (bool)
true
converterType(view returns (string)
bancor
manager(view returns (address)
0xbe30f7f47a35d6713776d1fd383da63f72ebb4a8
maxConversionFee(view returns (uint32)
10000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x68d6ac0aedf140e18058e3d848b199d09d3a6310
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
token(view returns (address)
0xd1146b08e8104eedba44a73b7bda1d102c6cedc9
version(view returns (uint16)
14
Read-only
connectorTokens(uint256view returns (address)
connectors(addressview returns (uint256 virtualBalanceuint32 weightbool isVirtualBalanceEnabledbool isSaleEnabledbool 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
completeXConversion(address[] _pathuint256 _minReturnuint256 _conversionIduint256 _blockuint8 _vbytes32 _rbytes32 _sreturns (uint256)
convert(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
convertInternal(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
disableConnectorSale(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
setOwner(address _newOwner
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.