BancorConverter

Verified contract

Active on Ethereum with 23 txns
Deployed by via 0x612ecefc at 9765289
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
Value $0
ERC-20
--
0x4f473455c8b77ac40b3fc8cebcc6ebdd5df32f54300bd9b9a6d034fb68b50d0e
0x82aa1f504853b910377a0646942881ab8e57d88d36f9e58c327cd9e413e27dfd
0xbafa04a95972cba62a0934fa31c4e3f90ec81db7b5bf610d411b7ef0ce6a8d9f
0x5038bcc855d13a39fbb333bb11ab9499a2593e09ce2e85c290944199f51ea246
0x3c8d89304a44d2a44d17cbf2a2e898810270478f626b9c47de7bd95eb10fb284
0xc5ad1b9ccff90277f6d8e156f3f3736ba6bea36a017eb0e67b5b8b9a4b84a4bc
0x98fc8445e531ee18e0babaedc768365c4a6a5bbc56c6cd092e3cad88760be088
0x991cfe8bd3828c1bd1fc463da11ea5f91d5c7101a793ef080682b803d6d20d60
0x230b7089dfd9e5006466fb42b3f1b97ce2cb9de3a631726c733f4449fe54c509
0x3f268b2f05cc8cbd477ff7685006ce6bde6fb484e6fa263e870b38a89fefb636

Functions
Getter at block 21216475
CONVERTER_CONVERSION_WHITELIST(view returns (uint256)
1
bancorX(view returns (address)
0x0000000000000000000000000000000000000000
connectorTokenCount(view returns (uint16)
5
conversionFee(view returns (uint32)
4000
conversionWhitelist(view returns (address)
0x0000000000000000000000000000000000000000
conversionsEnabled(view returns (bool)
true
maxConversionFee(view returns (uint32)
30000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
onlyOwnerCanUpdateRegistry(view returns (bool)
false
owner(view returns (address)
0x5f7a009664b771e889751f4fd721adc439033ecd
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveTokenCount(view returns (uint16)
5
token(view returns (address)
0x1f5350558f1e3e8bf370d4d552f3ebc785bf2979
totalReserveRatio(view returns (uint32)
1000000
version(view returns (uint16)
26
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
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 _conversionIduint256uint8bytes32bytes32returns (uint256)
completeXConversion2(address[] _pathuint256 _minReturnuint256 _conversionIdreturns (uint256)
convert(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
convert2(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnaddress _affiliateAccountuint256 _affiliateFeereturns (uint256)
convertInternal(address _fromTokenaddress _toTokenuint256 _amountuint256 _minReturnreturns (uint256)
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 _minReturnuint256uint8bytes32bytes32payable returns (uint256)
quickConvertPrioritized2(address[] _pathuint256 _amountuint256 _minReturnuint256[]address _affiliateAccountuint256 _affiliateFeepayable returns (uint256)
restoreRegistry(
restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry
setBancorX(address _bancorX
setConversionFee(uint32 _conversionFee
setConversionWhitelist(address _whitelist
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
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.