Deployer

The Deployer contract is a vital component of the Mimic protocol, responsible for deploying different instances for each user. It provides a standardized and efficient approach to deploying Authorizers, Smart Vaults, Price Oracles, and Tasks.

The contract code of the Deployer can be found here.

Functionality

The Deployer contract provides the following key functions:

The namespace and name arguments are used to compute the resulting instance address so users can ensure same addresses in different chains.

Deploy Authorizer

This function can be used by users to deploy a new Authorizer.

/**
 * @dev Deploys a new authorizer instance
 */
function deployAuthorizer(string memory namespace, string memory name, AuthorizerParams memory params) external;

Deploy Price Oracle

This function can be used by users to deploy a new Price Oracle.

/**
 * @dev Deploys a new price oracle instance
 */
function deployPriceOracle(string memory namespace, string memory name, PriceOracleParams memory params) external;

Deploy Smart Vault

This function can be used by users to deploy a new Smart Vault.

/**
 * @dev Deploys a new smart vault instance
 */
function deploySmartVault(string memory namespace, string memory name, SmartVaultParams memory params) external;

Deploy Tasks

This function can be used by users to deploy a new Task.

/**
 * @dev Deploys a new task instance
 */
function deployTask(string memory namespace, string memory name, TaskParams memory params) external;

Security considerations

If you have any questions or uncertainties regarding the deployment of your components or the modeling of specific DeFi operations within the Mimic protocol, we encourage you to reach out to the Mimic team. We are dedicated to providing assistance and guidance to ensure a seamless and successful deployment process.

Our team is committed to helping users leverage the full potential of the Mimic protocol and achieve their desired DeFi automation goals. Whether you need support with deploying Smart Vaults, configuring tasks, or any other aspect of the deployment process, we are here to assist you.

We understand that deploying and modeling components within a DeFi ecosystem can be complex, and we value the importance of clear and comprehensive guidance. Our team is well-versed in the intricacies of the Mimic protocol and can offer valuable insights and recommendations to help you navigate the deployment process effectively.

Do not hesitate to reach out to us with your questions, concerns, or requests for assistance. We are eager to collaborate with you and ensure that your experience with the Mimic protocol is smooth, successful, and tailored to your specific needs.

Last updated