ERC20Manager
/contracts/core/erc20/ERC20Manager.sol

constructor

ERC20Manager

inputs0address_store
inputs1bytes32_crate
event

Error 9cf38cf2

inputs0addressself
inputs1uint256errorCode
event

LogAddToken d8fe3623

inputs0addressself
inputs1addresstoken
inputs2bytes32name
inputs3bytes32symbol
inputs4bytes32url
inputs5uint8decimals
inputs6bytes32ipfsHash
inputs7bytes32swarmHash
event

LogRemoveToken 8f1f2078

inputs0addressself
inputs1addresstoken
inputs2bytes32name
inputs3bytes32symbol
inputs4bytes32url
inputs5uint8decimals
inputs6bytes32ipfsHash
inputs7bytes32swarmHash
event

LogTokenChange 2a4090d9

inputs0addressself
inputs1addressoldToken
inputs2addresstoken
inputs3bytes32name
inputs4bytes32symbol
inputs5bytes32url
inputs6uint8decimals
inputs7bytes32ipfsHash
inputs8bytes32swarmHash
function

addToken 1e6154a2

Allows trusted account/constract to add a new token to the registry.

inputs0address_token

Address of new token.

inputs1bytes32_name

Name of new token.

inputs2bytes32_symbol

Symbol for new token.

inputs3bytes32_url

Token's project URL.

inputs4uint8_decimals

Number of decimals, divisibility of new token.

inputs5bytes32_ipfsHash

IPFS hash of token icon.

inputs6bytes32_swarmHash

Swarm hash of token icon.

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

destroy 83197ef0

function

emitError df26ca08

inputs0uint256error
function

emitLogAddToken b4310b7c

inputs0addresstoken
inputs1bytes32name
inputs2bytes32symbol
inputs3bytes32url
inputs4uint8decimals
inputs5bytes32ipfsHash
inputs6bytes32swarmHash
function

emitLogRemoveToken eaa4ab0b

inputs0addresstoken
inputs1bytes32name
inputs2bytes32symbol
inputs3bytes32url
inputs4uint8decimals
inputs5bytes32ipfsHash
inputs6bytes32swarmHash
function

emitLogTokenChange 709c529c

inputs0addressoldToken
inputs1addresstoken
inputs2bytes32name
inputs3bytes32symbol
inputs4bytes32url
inputs5uint8decimals
inputs6bytes32ipfsHash
inputs7bytes32swarmHash
function, constant

getAddressById 8d80c922

Returns token's address by given id

inputs0uint256_id
function, constant

getEventsHistory fff10aba

function, constant

getTokenAddressBySymbol fa7fdeb7

Provides a registered token's address when given the token symbol.

inputs0bytes32_symbol

Symbol of registered token.

outputs0addresstokenAddress
function, constant

getTokenAddresses ee8c24b8

Returns an array containing all token addresses.

outputs0address[]_tokenAddresses
function, constant

getTokenBySymbol 1f76fa34

Provides a registered token's metadata, looked up by symbol.

inputs0bytes32_smbl
outputs0address_tokenAddress
outputs1bytes32_name
outputs2bytes32_symbol
outputs3bytes32_url
outputs4uint8_decimals
outputs5bytes32_ipfsHash
outputs6bytes32_swarmHash
function, constant

getTokenMetaData 7abccac9

Provides a registered token's metadata, looked up by address.

inputs0address_token

Address of registered token.

outputs0address_tokenAddress
outputs1bytes32_name
outputs2bytes32_symbol
outputs3bytes32_url
outputs4uint8_decimals
outputs5bytes32_ipfsHash
outputs6bytes32_swarmHash
function, constant

getTokens 273a94aa

Provides details of a given tokens

inputs0address[]_addresses
function

init 19ab453c

Init the contract

inputs0address_contractsManager
function, constant

isAuthorized fe9fbb80

inputs0addresskey
function, constant

isTokenExists 9ed4fa5a

Tells whether a given token exists or not

inputs0address_token
function, constant

isTokenSymbolExists 9b256890

Tells whether a given token exists or not

inputs0bytes32_symbol
function, constant

isTokenValid c15e26ba

Tells whether a given token valid or not

inputs0address_token
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

removeTokenByAddress c1900558

Allows CBE to remove an existing token from the registry.

inputs0address_token

Address of existing token.

function

removeTokenBySymbol db236e24

Allows CBE to remove an existing token from the registry.

inputs0bytes32_symbol

Symbol of existing token.

function

setContractsManager 71d3b573

Setter for ContractsManager. Force overrides currect manager.

inputs0address_contractsManager

contracts manager. 0x0 is not allowed.

function

setEventsHistory 6521afd7

inputs0address_eventsHistory
function

setToken b2c3f8a2

Allows owner to alter a token

inputs0address_token

Address of old token.

inputs1address_newToken

Address of new token.

inputs2bytes32_name

Name of new token.

inputs3bytes32_symbol

Symbol for new token.

inputs4bytes32_url

Token's project URL.

inputs5uint8_decimals

Number of decimals, divisibility of new token.

inputs6bytes32_ipfsHash

IPFS hash of token icon.

inputs7bytes32_swarmHash

Swarm hash of token icon.

function

setTokenVerifier fd9541a9

Set ERC20 token verifier

inputs0address_tokenVerifier
function, constant

tokensCount a64ed8ba

Returns count of registred ERC20 tokens

outputs0uint256
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