Skip to main content

MCDeployLib

Git Source

🚀 Deployment 🌞 Deploy Meta Contract

  • Deploy
  • DeployImmutable
  • DeployRestrictedUpgradeable
  • DeployContractUpgradeable 🏠 Deploy Proxy 📚 Deploy Dictionary 🔂 Duplicate Dictionary 💽 Load Dictionary

Functions

deploy


🌞 Deploy Meta Contract

function deploy(MCDevKit storage mc, Bundle storage bundle, address owner, bytes memory initData)
internal
returns (MCDevKit storage);

deploy

function deploy(MCDevKit storage mc) internal returns (MCDevKit storage);

deploy

function deploy(MCDevKit storage mc, Bundle storage bundle) internal returns (MCDevKit storage);

deploy

function deploy(MCDevKit storage mc, Bundle storage bundle, address owner) internal returns (MCDevKit storage);

deploy

function deploy(MCDevKit storage mc, Bundle storage bundle, bytes memory initData)
internal
returns (MCDevKit storage);

deploy

function deploy(MCDevKit storage mc, address owner) internal returns (MCDevKit storage);

deploy

function deploy(MCDevKit storage mc, address owner, bytes memory initData) internal returns (MCDevKit storage);

deploy

function deploy(MCDevKit storage mc, bytes memory initData) internal returns (MCDevKit storage);

deployProxy


🏠 Deploy Proxy

function deployProxy(MCDevKit storage mc, Dictionary storage dictionary, bytes memory initData)
internal
returns (Proxy memory proxy);

deployProxy

Accepts any initData as input

function deployProxy(MCDevKit storage mc) internal returns (Proxy memory proxy);

deployProxy

function deployProxy(MCDevKit storage mc, Dictionary storage dictionary) internal returns (Proxy memory proxy);

deployProxy

function deployProxy(MCDevKit storage mc, bytes memory initData) internal returns (Proxy memory proxy);

deployDictionary


📚 Deploy Dictionary

function deployDictionary(MCDevKit storage mc, Bundle storage bundle, address owner)
internal
returns (Dictionary storage dictionary);

deployDictionary

function deployDictionary(MCDevKit storage mc) internal returns (Dictionary storage dictionary);

deployDictionary

function deployDictionary(MCDevKit storage mc, Bundle storage bundle)
internal
returns (Dictionary storage dictionary);

deployDictionary

function deployDictionary(MCDevKit storage mc, address owner) internal returns (Dictionary storage dictionary);

duplicateDictionary


🔂 Duplicate Dictionary

function duplicateDictionary(MCDevKit storage mc, Dictionary storage dictionary, address owner)
internal
returns (Dictionary storage duplicatedDictionary);

duplicateDictionary

function duplicateDictionary(MCDevKit storage mc) internal returns (Dictionary storage duplicatedDictionary);

duplicateDictionary

function duplicateDictionary(MCDevKit storage mc, Dictionary storage dictionary)
internal
returns (Dictionary storage duplicatedDictionary);

duplicateDictionary

function duplicateDictionary(MCDevKit storage mc, address owner)
internal
returns (Dictionary storage duplicatedDictionary);

loadDictionary


💽 Load Dictionary

function loadDictionary(MCDevKit storage mc, string memory name, address dictionaryAddr)
internal
returns (Dictionary storage dictionary);