TokenRegistry
/contracts/tokens/TokenRegistry.sol

event

LogAddToken c68fd7b8

inputs0addresstoken
inputs1stringname
inputs2stringsymbol
inputs3uint8decimals
inputs4stringurl
event

LogRemoveToken 94bb64bd

inputs0addresstoken
inputs1stringname
inputs2stringsymbol
inputs3uint8decimals
inputs4stringurl
event

LogTokenNameChange 4a6dbfc8

inputs0addresstoken
inputs1stringoldName
inputs2stringnewName
event

LogTokenSymbolChange 53d878a6

inputs0addresstoken
inputs1stringoldSymbol
inputs2stringnewSymbol
event

LogTokenURLChange 95faa043

inputs0addresstoken
inputs1stringoldURL
inputs2stringnewURL
event

OwnershipRenounced f8df3114

inputs0addresspreviousOwner
event

OwnershipTransferred 8be0079c

inputs0addresspreviousOwner
inputs1addressnewOwner
function

addToken f3a1d297

Allows owner to add a new token to the registry.

inputs0address_token

Address of new token.

inputs1string_name

Name of new token.

inputs2string_symbol

Symbol for new token.

inputs3uint8_decimals

Number of decimals, divisibility of new token.

inputs4string_url

URL of token icon.

function, constant

getTokenAddressByName 2fbfeba9

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

inputs0string_name

Name of registered token.

outputs0address
function, constant

getTokenAddressBySymbol 3550b6d9

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

inputs0string_symbol

Symbol of registered token.

outputs0address
function, constant

getTokenAddresses ee8c24b8

Returns an array containing all token addresses.

outputs0address[]
function, constant

getTokenByName e73fc0c3

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

inputs0string_name

Name of registered token.

outputs0address
outputs1string
outputs2string
outputs3uint8
outputs4string
function, constant

getTokenBySymbol efa74f1f

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

inputs0string_symbol

Symbol of registered token.

outputs0address
outputs1string
outputs2string
outputs3uint8
outputs4string
function, constant

getTokenMetaData 7abccac9

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

inputs0address_token

Address of registered token.

outputs0address
outputs1string
outputs2string
outputs3uint8
outputs4string
function, constant

owner 8da5cb5b

function

removeToken 13baf1e6

Allows owner to remove an existing token from the registry.

inputs0address_token

Address of existing token.

inputs1uint256_index
function

renounceOwnership 715018a6

Renouncing to ownership will leave the contract without an owner. It will not be possible to call the functions with the onlyOwner modifier anymore.

Allows the current owner to relinquish control of the contract.

function

setTokenName c370c86d

Allows owner to modify an existing token's name.

inputs0address_token

Address of existing token.

inputs1string_name

New name.

function

setTokenSymbol f036417f

Allows owner to modify an existing token's symbol.

inputs0address_token

Address of existing token.

inputs1string_symbol

New symbol.

function

setTokenURL 0b5945ec

Allows owner to modify an existing token's icon URL.

inputs0address_token

URL of token token.

inputs1string_url

New URL to token icon.

function, constant

tokenAddresses e5df8b84

inputs0uint256
function, constant

tokens e4860339

inputs0address
function

transferOwnership f2fde38b

Allows the current owner to transfer control of the contract to a newOwner.

inputs0address_newOwner

The address to transfer ownership to.