Strategy Base
The strategy-base
subcommand handles operations regarding a strategy base. Most users should not need access to these commands as they directly control the strategy-base.
deposit
Deposits into the strategy base, specified in the configuration file
In which:
user-key-name - the name of the key in the keyring to use for contract execution
amount - the amount to deposit
withdraw
Withdraw from strategy base
In which:
user-key-name - the name of the key in the keyring to use for contract execution
receipient - the recevier address
amount-share - the amount (in shares) to withdraw
get-shares
Query the amount of shares a staker owns in a strategy
In which:
staker-address - the address of the staker you are querying
strategy-address - address of the strategy contract
underlying-token
Queries the underlying CW20 token address of the configured strategy base
transfer-owner
transfer the strategy base contract owner to new address
In which:
user-key-name - the name of the key in the keyring to use for contract execution
new-owner-address - the address of the new owner
Last updated