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
PreviousIERC1644.solNextUtility contract to allow owner to retreive any ERC20 sent to the contract (ReclaimTokens.sol)
Last updated
Was this helpful?