Skip to main content

NetworkStorage

Git Source

NetworkStorage

Storage contract for managing the network address

Uses a single storage slot to store the network address value

Methods

__NetworkStorage_init_private

function __NetworkStorage_init_private(
address network
) internal onlyInitializing

Initializes the NetworkManager contract

Parameters

NameTypeDescription
networkaddressThe address of the network

_NETWORK

function _NETWORK() internal view returns (address)

Returns the address of the network

Returns

NameTypeDescription
addressnetwork The address of the network