BancorConverter

Verified contract

Active on Ethereum with 26 txns
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $3.38
ERC-20
--
0xaf4bb3122696ced219a77aa42d4a845ad9d9530adc5cbbd6a450522926c516b7
0xba93dab7d7031eb2d96110c808db1260be9e2acd1cf640c654ad2a98bea521df
0xcdab8d7c3686ec5259c4429144bfae66db35ac2e2f20d5af34377a75d50d11e6
0x30c6f5f35e55d6370083bb7a2a562617cc05297c3527c936ceeff28f414faef1
0xda5504fd2da66304b0e5454de9f68526c8a51097d53b906a488daa3f08da2b29
0x2d0c0d76da2a32a312c8b72bd75c1b990ac9579db5a077fee1f3a8ec34fe295e
0x3b243d96732e58e04c099fb5bbd7c8cc2d324cff86e93550b91850ca7c07f5ee
0x5b47b8d8c5457b0bffcc4a3a0be6df266cb8d58a89635d6528cf6a7fc2ea4a67
0x415aa0e7baeb57579d1db33d789283b36c0b528057d71015ac6d60cbc3f6bf70
0xddd798d09d0ef86847abf12c17402112ca48594c83f8658b5015ca4c71f08925

Functions
Getter at block 21024090
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
bancorX(view returns (address)
0x0000000000000000000000000000000000000000
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)
0x8b102c690b3409113609220bf8e60f458668e9b7
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x8b102c690b3409113609220bf8e60f458668e9b7
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveTokenCount(view returns (uint16)
2
token(view returns (address)
0x0ac0e122d09cc4da4a96cc2731d2b7cc1f8b025a
version(view returns (uint16)
19
Read-only
connectorTokens(uint256 _indexview returns (address)
connectors(address _addressview returns (uint256uint32boolboolbool)
getConnectorBalance(address _connectorTokenview returns (uint256)
getCrossConnectorReturn(address _fromConnectorTokenaddress _toConnectorTokenuint256 _amountview returns (uint256uint256)
getCrossReserveReturn(address _fromReserveTokenaddress _toReserveTokenuint256 _amountview returns (uint256uint256)
getFinalAmount(uint256 _amountuint8 _magnitudeview returns (uint256)
getPurchaseReturn(address _reserveTokenuint256 _depositAmountview returns (uint256uint256)
getReserveBalance(address _reserveTokenview returns (uint256)
getReturn(address _fromTokenaddress _toTokenuint256 _amountview returns (uint256uint256)
getSaleReturn(address _reserveTokenuint256 _sellAmountview returns (uint256uint256)
reserveTokens(uint256view returns (address)
reserves(addressview returns (uint256 virtualBalanceuint32 ratiobool isVirtualBalanceEnabledbool isSaleEnabledbool isSet)
State-modifying
acceptManagement(
acceptOwnership(
acceptTokenOwnership(
addConnector(address _tokenuint32 _weightbool _enableVirtualBalance
addReserve(address _tokenuint32 _ratiobool _enableVirtualBalance
change(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
claimTokens(address _fromuint256 _amount
completeXConversion(address[] _pathuint256 _minReturnuint256 _conversionIduint256 _blockuint8 _vbytes32 _rbytes32 _sreturns (uint256)
completeXConversion2(address[] _pathuint256 _minReturnuint256 _conversionIduint256[] _signaturereturns (uint256)
convert(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
convert2(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnaddress _affiliateAccountuint256 _affiliateFeereturns (uint256)
convertInternal(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
disableConnectorSale(address _connectorTokenbool _disable
disableConversions(bool _disable
disableRegistryUpdate(bool _disable
disableReserveSale(address _reserveTokenbool _disable
fund(uint256 _amount
liquidate(uint256 _amount
quickConvert(address[] _pathuint256 _amountuint256 _minReturnpayable returns (uint256)
quickConvert2(address[] _pathuint256 _amountuint256 _minReturnaddress _affiliateAccountuint256 _affiliateFeepayable returns (uint256)
quickConvertPrioritized(address[] _pathuint256 _amountuint256 _minReturnuint256 _blockuint8 _vbytes32 _rbytes32 _spayable returns (uint256)
quickConvertPrioritized2(address[] _pathuint256 _amountuint256 _minReturnuint256[] _signatureaddress _affiliateAccountuint256 _affiliateFeepayable returns (uint256)
restoreRegistry(
setBancorX(address _bancorX
setConversionFee(uint32 _conversionFee
setConversionWhitelist(address _whitelist
transferManagement(address _newManager
transferOwnership(address _newOwner
transferTokenOwnership(address _newOwner
updateConnector(address _connectorTokenuint32 _weightbool _enableVirtualBalanceuint256 _virtualBalance
updateRegistry(
updateReserve(address _reserveTokenuint32 _ratiobool _enableVirtualBalanceuint256 _virtualBalance
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 _reserveTokenuint32 _reserveRatio
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.