enzyme_deploy_vault#
API documentation for tradeexecutor.cli.commands.enzyme_deploy_vault Python module in Trading Strategy.
Module description#
enzyme-deploy-vault CLI command.
See Vault deployment for the full documentation how to use this command.
Example how to manually test:
export SIMULATE=true
export FUND_NAME="Up only and then more"
export FUND_SYMBOL="UP"
export TERMS_OF_SERVICE_ADDRESS="0x24BB78E70bE0fC8e93Ce90cc8A586e48428Ff515"
export VAULT_RECORD_FILE="/tmp/sample-vault-deployment.json"
export OWNER_ADDRESS="0x238B0435F69355e623d99363d58F7ba49C408491"
#
# Asset configuration
#
# USDC
export DENOMINATION_ASSET="0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
# Whitelisted tokens for Polygon: WETH, WMATIC
export WHITELISTED_ASSETS="0x7ceb23fd6bc0add59e62ac25578270cff1b9f619 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270"
#
# Secret configuration
#
export JSON_RPC_POLYGON=
export PRIVATE_KEY=
# Is Polygonscan.com API key, passed to Forge
export ETHERSCAN_API_KEY=
trade-executor enzyme-deploy-vault
Functions#
|
Deploy a new Enzyme vault. |