Core functionality for registry upgradability (PolymathRegistry.sol)

View Source: contracts/PolymathRegistry.solโ€‹

โ†— Extends: ReclaimTokens, IPolymathRegistryโ€‹

PolymathRegistry

Contract Members

Constants & Variables

mapping(bytes32 => address) public storedAddresses;

Functions

getAddress

โคพ overrides IPolymathRegistry.getAddressโ€‹

Gets the contract address

function getAddress(string _nameKey) external view
returns(address)

Returns

address

Arguments

Name

Type

Description

_nameKey

string

is the key for the contract address mapping

changeAddress

โคพ overrides IPolymathRegistry.changeAddressโ€‹

Changes the contract address

function changeAddress(string _nameKey, address _newAddress) external nonpayable onlyOwner

Arguments

Name

Type

Description

_nameKey

string

is the key for the contract address mapping

_newAddress

address

is the new contract address