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_1 storage dictionary, bytes memory initData)
internal
returns (Proxy_2 memory proxy);

deployProxy

Accepts any initData as input

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

deployProxy

function deployProxy(MCDevKit storage mc, Dictionary_1 storage dictionary) internal returns (Proxy_2 memory proxy);

deployProxy

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

deployDictionary


📚 Deploy Dictionary

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

deployDictionary

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

deployDictionary

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

deployDictionary

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

duplicateDictionary


🔂 Duplicate Dictionary

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

duplicateDictionary

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

duplicateDictionary

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

duplicateDictionary

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

loadDictionary


💽 Load Dictionary

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