BancorConverter

Verified contract

Active on Ethereum with 569 txns
Deployed by via 0xca081fe5 at 9156943
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
0x82af93fa0d2ea6623966062b6ba881b25055432f06f3507daa1dca829a20970e
0x9a361c3048a80df0a00746abdeff28680d4c1f7e7030a5a9a7d8fdf7ba6f25d5
0xe2ea1ad7035a2fe954cf53ffbcda285747fed92069f0b8e24e1f20853a96bd07
0x1a582e64c7e157ada5ecc26d3f9b322441aa4b670eab35bfd794537da2f713a8
0x178e6e66acf2fd57039da448bb212abfaa2e979a03c0f762f5dde20caec3e99d
0x679cab792d1db3c823789c331b92c044a1504293d9878fc39b61655d009de336
0x9b4b5c397a5a92e8267dfcfd43296b066e6b6446d5c14b93a7a5a1cba50c9004
0x4c058538a00b5a31ade1f356883eab82f0fcc0bae4cf9803008e15213a8b0cb5
0xc7886b308c464f8510628224795c1c0e34afc3a870c4521d535780b35257203d
0xdd6e03e5fa78f335cf00df71caf13fd4f57b42889debc1de20e4397163d7aaf7

Functions
Getter at block 21258977
CONVERTER_CONVERSION_WHITELIST(view returns (uint256)
1
adminOnly(view returns (bool)
false
bancorX(view returns (address)
0xeaf3ce7b745f27835df80b53b86b5299986069c1
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)
0xdfee8dc240c6cadc2c7f7f9c257c259914dea84e
maxConversionFee(view returns (uint32)
30000
newManager(view returns (address)
0x0000000000000000000000000000000000000000
newOwner(view returns (address)
0x0000000000000000000000000000000000000000
owner(view returns (address)
0xdfee8dc240c6cadc2c7f7f9c257c259914dea84e
prevRegistry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
registry(view returns (address)
0x52ae12abe5d8bd778bd5397f99ca900624cfadd4
reserveTokenCount(view returns (uint16)
2
token(view returns (address)
0xb1cd6e4153b2a390cf00a6556b0fc1458c4a5533
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.