Shared
This document is better viewed at https://docs.etherisc.com/contracts/api/shared |
Contracts
CoreController
import "@etherisc/gif-contracts/contracts/shared/CoreController.sol";
Modifiers
Functions
Events
Initializable
CoreProxy
import "@etherisc/gif-contracts/contracts/shared/CoreProxy.sol";
Modifiers
Functions
ERC1967Proxy
ERC1967Upgrade
Events
TransferHelper
import "@etherisc/gif-contracts/contracts/shared/TransferHelper.sol";
Events
WithRegistry
import "@etherisc/gif-contracts/contracts/shared/WithRegistry.sol";
Functions
constructor(address _registry)
public
Constructor function that sets the address of the registry contract.
getContractFromRegistry(bytes32 _contractName) → address _addr
public
Returns the address of a contract registered in the registry by its name.