BancorConverter

Verified contract

Active on Ethereum with 131 txns
Deployed by via 0xbcf40301 at 9676380
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $12.37
ERC-20
Value $8.17
ERC-20
--
0x9ae9abdd2239761a0dc4ae5005cb38af73894824507928935b74d7313e5a6c0e
0xaacabdd4ee2a45633f31c28184625603a413c235ea30e591e18df2833f124c21
0x0d601c82c96315b912235b91a5300c289b9e2c1206a2b8f4e4827a6a67538fe5
0xd7d3959d8cad77815e499d8214612bbb211a57a61e362a5e2327e56ea398f56f
0x41c6d71f1cc186c9f3cb00a92c9f71617f9a9e8f5a5652a2e01590dd60381540
0x432be5c34cb62b6289efb72c6a8a373740062ae9ca3bc95d0983497e38f7d888
0x8948a8c300b5b8bc5de38108628c53bfd80027cf93eaf95b2df218872d4639ae
0x5bb210e8e57fce2e2ec91d517adc8b0d5205bc04eb43c27d8ee6a3abb012fe97
0xfabcd25fbd94e51e6b9e63548b185fb426c713e7accc35f8fadcedaa7e11fc2c
0xf4d89595098d1695ebd3a1be54298931afa7d1c236ac5817ff043f94b8cf09c7

Functions
Getter at block 21290206
CONVERTER_CONVERSION_WHITELIST(view returns (uint256)
1
adminOnly(view returns (bool)
false
bancorX(view returns (address)
0x0000000000000000000000000000000000000000
connectorTokenCount(view returns (uint16)
2
conversionFee(view returns (uint32)
2250
conversionWhitelist(view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled(view returns (bool)
true
converterType(view returns (string)
bancor
manager(view returns (address)
0x5f7a009664b771e889751f4fd721adc439033ecd
maxConversionFee(view returns (uint32)
50000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0x019c199f89b8a374e87b70597bbca748ac084587
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveTokenCount(view returns (uint16)
2
token(view returns (address)
0x290bd3a8f785a8db30a0f6baf9b88863b831747f
version(view returns (uint16)
23
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)
getReserveRatio(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
addReserve(address _tokenuint32 _ratio
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
disableReserveSale(address _reserveTokenbool _disable
enableVirtualBalances(uint16 _scaleFactor
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(
restrictRegistryUpdate(bool _adminOnly
setBancorX(address _bancorX
setConversionFee(uint32 _conversionFee
setConversionWhitelist(address _whitelist
transferManagement(address _newManager
transferOwnership(address _newOwner
transferTokenOwnership(address _newOwner
updateConnector(address _connectorTokenuint32booluint256 _virtualBalance
updateRegistry(
updateReserveVirtualBalance(address _reserveTokenuint256 _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
VirtualBalancesEnable(bool _enabled
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.