Skip to content

Save gas by using a ParameterizerInterface in Registry #64

@adklempner

Description

@adklempner

Presently, Registry.sol imports Parameterizer.sol in its entirety, but only calls the function get(string _name).

You can save gas and storage space by using a ParameterizerInterface.sol in Registry

interface ParameterizerInterface {
        function get(string _name) public view returns (uint value);
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions