Cannon TOML
Deployment configuration for Cannon, a DevOps tool for Ethereum
| Type | object |
|---|---|
| File match |
cannonfile.json
*.cannonfile.json
cannonfile.yaml
*.cannonfile.yaml
cannonfile.toml
*.cannonfile.toml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/cannon-toml/latest.json |
| Source | https://raw.githubusercontent.com/usecannon/cannon/main/packages/lsp/src/schema.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Name of the package
Version of the package. Publishes as the "latest" version by default in addition to the version specified here.
Preset of the package (Presets are useful for distinguishing multiple deployments of the same protocol on the same chain.) Defaults to "main".
List of additional TOML files to include and merge into this cannonfile. Files are merged in order, with later files overriding earlier ones.
Turns off inclusion of source code in packages. When set to true, Cannon cannot verify contracts on Etherscan. Defaults to false.
Description for the package
Keywords for search indexing
Any deployers that could publish this package. Will be used for automatic version management.
⚠ Deprecated in favor of var. A setting is a variable that can be set (or overriden using the CLI) when building a Cannonfile. It is accessible elsewhere in the file a property of the settings object. For example, [setting.sampleSetting] can be referenced with <%= settings.sampleSetting %>
Import a package from the registry. This will make the output of that deployment, such as contract addresses, available to other operations in your Cannonfile. Imported packages must include deployments with chain ID that matches the chain ID of the network you are deploying to.
⚠ Deprecated in favor of pull. Import a package from the registry. This will make the output of that deployment, such as contract addresses, available to other operations in your Cannonfile. Imported packages must include deployments with chain ID that matches the chain ID of the network you are deploying to.
Deploy a new instance of a package from the registry. Packages may only be provisioned if they include a local, Cannon deployment (Chain ID: 13370).
⚠ Deprecated in favor of clone. Deploy a new instance of a package from the registry. Packages may only be provisioned if they include a local, Cannon deployment (Chain ID: 13370).
Deploy a contract.
⚠ Deprecated in favor of deploy. Deploy a contract.
Call a function.
Generate a contract that proxies calls to multiple contracts using the synthetix router codegen.
Generate a upgradable contract that proxies calls to multiple contracts using a ERC2535 Diamond standard.
Apply a setting or intermediate value.