Skip to content

Commit

Permalink
update ref doc
Browse files Browse the repository at this point in the history
  • Loading branch information
iboss-ptk committed Jul 4, 2022
1 parent c70dfdc commit b227fe7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/commands/beaker_wasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ Arguments:

* `-r/--raw <raw>`: Raw json string to use as instantiate msg

* `--admin <admin>`: Specifying admin required for contract migration. Use "signer" for setting tx signer as admin. Use bech32 address (eg. "osmo1cyyzpxplxdzkeea7kwsydadg87357qnahakaks") for custom admin

* `-f/--funds <funds>`: Funds to send to instantiated contract

* `-n/--network <network>`: Name of the network to broadcast transaction to, the actual endpoint / chain-id are defined in config (default: `local`)
Expand Down Expand Up @@ -124,6 +126,8 @@ Arguments:

* `-r/--raw <raw>`: Raw json string to use as instantiate msg

* `--admin <admin>`: Specifying admin required for contract migration. Use "signer" for setting tx signer as admin. Use bech32 address (eg. "osmo1cyyzpxplxdzkeea7kwsydadg87357qnahakaks") for custom admin

* `-f/--funds <funds>`: Funds to send to instantiated contract

* `--no-rebuild`: Use existing .wasm file to deploy if set to true
Expand Down
12 changes: 10 additions & 2 deletions docs/commands/beaker_wasm_proposal.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@ Arguments:

* ` <contract-name>`Name of the contract to store

* `--title <title>`: Proposal title
* `-p/--proposal <proposal>`: Path to proposal file, could be either yaml / toml format

* `-d/--description <description>`: Proposal decsription
* `--title <title>`: Proposal title (default: ``)

* `--description <description>`: Proposal decsription (default: ``)

* `--deposit <deposit>`: Proposal deposit to activate voting

* `--repo <repo>`: Public repository of the code (default: ``)

* `--rust-flags <rust-flags>`: RUST_FLAGS that passed while compiling to wasm If building with Beaker, it's usually "-C link-arg=-s"

* `--optimizer <optimizer>`: Type and version of the [optimizer](https://github.com/CosmWasm/rust-optimizer), either: rust-optimizer:<version> or workspace-optimizer:<version>. Beaker use workspace-optimizer, the version, if not manually configured, can be found in `wasm` config doc

* `-n/--network <network>`: Name of the network to broadcast transaction to, the actual endpoint / chain-id are defined in config (default: `local`)

* `--gas <gas>`: Coin (amount and denom) you are willing to pay as gas eg. `1000uosmo`
Expand Down

0 comments on commit b227fe7

Please sign in to comment.