ExchangeManager
/contracts/exchange/ExchangeManager.sol

constructor

ExchangeManager

inputs0address_store
inputs1bytes32_crate
event

Error 9cf38cf2

inputs0addressself
inputs1uint256errorCode
event

ExchangeAdded b929f1a4

inputs0addressself
inputs1addressuser
inputs2addressexchange
inputs3bytes32symbol
event

ExchangeCreated 6a846759

inputs0addressself
inputs1addressuser
inputs2addressexchange
inputs3bytes32symbol
event

ExchangeRemoved ff447254

inputs0addressself
inputs1addressexchange
inputs2bytes32symbol
function

changeContractOwnership 557f4bc9

Prepares ownership pass. * Can only be called by current owner.

inputs0address_to

address of the next owner. 0x0 is not allowed.

outputs0bool
function

claimContractOwnership 4592cd1d

Finalize ownership pass. * Can only be called by pending owner.

outputs0bool
function, constant

contractOwner ce606ee0

function, constant

contractsManager 53253d31

function

createExchange 551d4830

Creates a new exchange with the given params.

inputs0bytes32_symbol
inputs1uint256_buyPrice
inputs2uint256_sellPrice
inputs3bool_useExternalPriceTicker
inputs4address_authorizedManager
inputs5bool_isActive
function

destroy 83197ef0

function

emitError df26ca08

inputs0uint256errorCode
function

emitExchangeAdded a82ca7e6

inputs0addressuser
inputs1addressexchange
inputs2bytes32symbol
function

emitExchangeCreated 38aef6ec

inputs0addressuser
inputs1addressexchange
inputs2bytes32symbol
function

emitExchangeRemoved 0c629c27

inputs0addressexchange
inputs1bytes32symbol
function, constant

getEventsHistory fff10aba

function, constant

getExchangeData 79f4289a

Util method which returns agregated data for given _exchanges.

inputs0address[]_exchanges
function, constant

getExchangeFactory 5ddcdc67

Returns the Exchange Factory address

function, constant

getExchanges c1f8ab5a

Returns the paginated array of excnhages, starting from _fromIdx and len _length.

inputs0uint256_fromIdx
inputs1uint256_length
function, constant

getExchangesCount a64f51d3

Returns the count of the registered exchanges.

function, constant

getExchangesForOwner 72ffb543

Returns the exchanges which belongs to the given _owner

inputs0address_owner
function, constant

getExchangesForOwnerCount e425c907

Returns the number of exchanges which belongs to the given _owner

inputs0address_owner
function, constant

getFee ced72f87

The fee value against which the exchange should calculate fee.

function

init f09a4016

Initialises an exchange with the given params

inputs0address_contractsManager
inputs1address_exchangeFactory
function, constant

isAuthorized fe9fbb80

inputs0addresskey
function, constant

isExchangeExists 58f09007

Tells whether the given _exchange is in registry.

inputs0address_exchange
function, constant

lookupManager 4fe59012

Will crash if no manager in the system with given identifier.

Returns manager's address by its identifier (type).

inputs0bytes32_identifier

is a manager's identifier. 0x0 is not allowed.

function, constant

pendingContractOwner 5aa77d3c

function

removeExchange 4ea3b642

Deletes msg.sender from the exchange list. Note: Designed to be called only by exchange contract.

function

setContractsManager 71d3b573

Setter for ContractsManager. Force overrides currect manager.

inputs0address_contractsManager

contracts manager. 0x0 is not allowed.

function

setEventsHistory 6521afd7

inputs0address_eventsHistory
function

setExchangeFactory d12ebeaa

Sets the Exchange Factory address

inputs0address_exchangeFactory
function

setFee 69fe0e2d

Sets fee value against which the exchange should calculate fee. /// Note, only CBE members are allowed to set this value.

inputs0uint256_fee
function

transferContractOwnership a843c51f

Direct ownership pass without change/claim pattern. Can be invoked only by current contract owner

inputs0address_to

the next contract owner

outputs0bool
function

withdrawnTokens d8f9659b

inputs0address[]tokens
inputs1address_to