diff --git a/Makefile b/Makefile index 3c01a235e4..32f314f3fb 100644 --- a/Makefile +++ b/Makefile @@ -69,9 +69,6 @@ go.sum: go.mod @echo "--> Ensure dependencies have not been modified" GO111MODULE=on go mod verify -# Uncomment when you have some tests -# test: -# @go test -mod=readonly $(PACKAGES) .PHONY: lint # look into .golangci.yml for enabling / disabling linters lint: @@ -172,9 +169,24 @@ prereqs: # Run all the code generators in the project .PHONY: generate -generate: prereqs +generate: prereqs docs generate-mocks + +.PHONY: generate-mocks +generate-mocks: go generate -x ./... +.PHONY: docs +docs: + @echo "Removing old clidocs" + + @if find docs/cli -name "*.md" | grep -q .; then \ + rm docs/cli/*.md; \ + fi + + @echo "Generating new cli docs" + @go run $(BUILD_FLAGS) cmd/axelard/main.go --docs docs/cli + @# ensure docs are canonically formatted + @mdformat docs/cli/* .PHONE: tofnd-client tofnd-client: diff --git a/cmd/axelard/genDocs.sh b/cmd/axelard/genDocs.sh deleted file mode 100755 index f149a18557..0000000000 --- a/cmd/axelard/genDocs.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -# remove old docs -if find "$1" -name "*.md" 2> /dev/null | grep -q .; then - rm "$1"/*.md -fi - -# generate docs -go run ./ -docs "$1" -# ensure docs are canonically formatted -mdformat "$1"/* \ No newline at end of file diff --git a/cmd/axelard/main.go b/cmd/axelard/main.go index ec36f0b3b1..306434d990 100644 --- a/cmd/axelard/main.go +++ b/cmd/axelard/main.go @@ -24,8 +24,6 @@ import ( "github.com/axelarnetwork/axelar-core/cmd/axelard/cmd/utils" ) -//go:generate ./genDocs.sh ../../docs/cli - func main() { docs := flag.String("docs", "", "only generate documentation for the CLI commands into the specified folder") flag.Parse() diff --git a/docs/cli/axelard_debug_addr.md b/docs/cli/axelard_debug_addr.md index 5ca5ad9363..4066c406a3 100644 --- a/docs/cli/axelard_debug_addr.md +++ b/docs/cli/axelard_debug_addr.md @@ -7,7 +7,7 @@ Convert an address between hex and bech32 Convert an address between hex encoding and bech32. Example: -$ debug addr cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg +$ axelard debug addr cosmos1e0jnq2sun3dzjh8p2xq95kk0expwmd7shwjpfg ``` axelard debug addr [address] [flags] diff --git a/docs/cli/axelard_debug_pubkey.md b/docs/cli/axelard_debug_pubkey.md index b39ab59e38..5efe2dbf0f 100644 --- a/docs/cli/axelard_debug_pubkey.md +++ b/docs/cli/axelard_debug_pubkey.md @@ -7,7 +7,7 @@ Decode a pubkey from proto JSON Decode a pubkey from proto JSON and display it's address. Example: -$ debug pubkey '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AurroA7jvfPd1AadmmOvWM2rJSwipXfRf8yD6pLbA2DJ"}' +$ axelard debug pubkey '{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AurroA7jvfPd1AadmmOvWM2rJSwipXfRf8yD6pLbA2DJ"}' ``` axelard debug pubkey [pubkey] [flags] diff --git a/docs/cli/axelard_debug_raw-bytes.md b/docs/cli/axelard_debug_raw-bytes.md index 4dff4fa220..ced11f313a 100644 --- a/docs/cli/axelard_debug_raw-bytes.md +++ b/docs/cli/axelard_debug_raw-bytes.md @@ -7,7 +7,7 @@ Convert raw bytes output (eg. \[10 21 13 255\]) to hex Convert raw-bytes to hex. Example: -$ debug raw-bytes \[72 101 108 108 111 44 32 112 108 97 121 103 114 111 117 110 100\] +$ axelard debug raw-bytes \[72 101 108 108 111 44 32 112 108 97 121 103 114 111 117 110 100\] ``` axelard debug raw-bytes [raw-bytes] [flags] diff --git a/docs/cli/axelard_gentx.md b/docs/cli/axelard_gentx.md index c05f90486e..dddd609a39 100644 --- a/docs/cli/axelard_gentx.md +++ b/docs/cli/axelard_gentx.md @@ -18,7 +18,7 @@ minimum self delegation: 1 ``` Example: -$ gentx my-key-name 1000000stake --home=/path/to/home/dir --keyring-backend=os --chain-id=test-chain-1 \ +$ axelard gentx my-key-name 1000000stake --home=/path/to/home/dir --keyring-backend=os --chain-id=test-chain-1 \ --moniker="myvalidator" \ --commission-max-change-rate=0.01 \ --commission-max-rate=1.0 \ diff --git a/docs/cli/axelard_migrate.md b/docs/cli/axelard_migrate.md index aa85444550..a6a08b87ed 100644 --- a/docs/cli/axelard_migrate.md +++ b/docs/cli/axelard_migrate.md @@ -7,7 +7,7 @@ Migrate genesis to a specified target version Migrate the source genesis into the target version and print to STDOUT. Example: -$ migrate v0.36 /path/to/genesis.json --chain-id=cosmoshub-3 --genesis-time=2019-04-22T17:00:00Z +$ axelard migrate v0.36 /path/to/genesis.json --chain-id=cosmoshub-3 --genesis-time=2019-04-22T17:00:00Z ``` axelard migrate [target-version] [genesis-file] [flags] diff --git a/docs/cli/axelard_query.md b/docs/cli/axelard_query.md index d52eeeccff..4f58e5aea6 100644 --- a/docs/cli/axelard_query.md +++ b/docs/cli/axelard_query.md @@ -53,3 +53,4 @@ axelard query [flags] - [axelard query txs](axelard_query_txs.md) - Query for paginated transactions that match a set of events - [axelard query upgrade](axelard_query_upgrade.md) - Querying commands for the upgrade module - [axelard query vote](axelard_query_vote.md) - Querying commands for the vote module +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_auth_module-account.md b/docs/cli/axelard_query_auth_module-account.md index 48de3eab16..9b7491fe74 100644 --- a/docs/cli/axelard_query_auth_module-account.md +++ b/docs/cli/axelard_query_auth_module-account.md @@ -9,7 +9,7 @@ axelard query auth module-account [module-name] [flags] ### Examples ``` - q auth module-account auth +axelard q auth module-account auth ``` ### Options diff --git a/docs/cli/axelard_query_bank_balances.md b/docs/cli/axelard_query_bank_balances.md index 1d05d2b357..4dd6d7bd95 100644 --- a/docs/cli/axelard_query_bank_balances.md +++ b/docs/cli/axelard_query_bank_balances.md @@ -7,8 +7,8 @@ Query for account balances by address Query the total balance of an account or of a specific denomination. Example: -$ query bank balances \[address\] -$ query bank balances \[address\] --denom=\[denom\] +$ axelard query bank balances \[address\] +$ axelard query bank balances \[address\] --denom=\[denom\] ``` axelard query bank balances [address] [flags] diff --git a/docs/cli/axelard_query_bank_denom-metadata.md b/docs/cli/axelard_query_bank_denom-metadata.md index 71856d67b0..096ba97ba8 100644 --- a/docs/cli/axelard_query_bank_denom-metadata.md +++ b/docs/cli/axelard_query_bank_denom-metadata.md @@ -8,10 +8,10 @@ Query the client metadata for all the registered coin denominations Example: To query for the client metadata of all coin denominations use: -$ query bank denom-metadata +$ axelard query bank denom-metadata To query for the client metadata of a specific coin denomination use: -$ query bank denom-metadata --denom=\[denom\] +$ axelard query bank denom-metadata --denom=\[denom\] ``` axelard query bank denom-metadata [flags] diff --git a/docs/cli/axelard_query_bank_total.md b/docs/cli/axelard_query_bank_total.md index bbf190fdc9..250e4fab04 100644 --- a/docs/cli/axelard_query_bank_total.md +++ b/docs/cli/axelard_query_bank_total.md @@ -7,10 +7,10 @@ Query the total supply of coins of the chain Query total supply of coins that are held by accounts in the chain. Example: -$ query bank total +$ axelard query bank total To query for the total supply of a specific coin denomination use: -$ query bank total --denom=\[denom\] +$ axelard query bank total --denom=\[denom\] ``` axelard query bank total [flags] diff --git a/docs/cli/axelard_query_distribution_commission.md b/docs/cli/axelard_query_distribution_commission.md index 70758356ae..bf8006d610 100644 --- a/docs/cli/axelard_query_distribution_commission.md +++ b/docs/cli/axelard_query_distribution_commission.md @@ -7,7 +7,7 @@ Query distribution validator commission Query validator commission rewards from delegators to that validator. Example: -$ query distribution commission axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query distribution commission axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query distribution commission [validator] [flags] diff --git a/docs/cli/axelard_query_distribution_community-pool.md b/docs/cli/axelard_query_distribution_community-pool.md index a37ff79d20..f681d7118a 100644 --- a/docs/cli/axelard_query_distribution_community-pool.md +++ b/docs/cli/axelard_query_distribution_community-pool.md @@ -7,7 +7,7 @@ Query the amount of coins in the community pool Query all coins in the community pool which is under Governance control. Example: -$ query distribution community-pool +$ axelard query distribution community-pool ``` axelard query distribution community-pool [flags] diff --git a/docs/cli/axelard_query_distribution_rewards.md b/docs/cli/axelard_query_distribution_rewards.md index 9cb5ea7a9d..6aaccdcc18 100644 --- a/docs/cli/axelard_query_distribution_rewards.md +++ b/docs/cli/axelard_query_distribution_rewards.md @@ -7,8 +7,8 @@ Query all distribution delegator rewards or rewards from a particular validator Query all rewards earned by a delegator, optionally restrict to rewards from a single validator. Example: -$ query distribution rewards axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p -$ query distribution rewards axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query distribution rewards axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p +$ axelard query distribution rewards axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query distribution rewards [delegator-addr] [validator-addr] [flags] diff --git a/docs/cli/axelard_query_distribution_slashes.md b/docs/cli/axelard_query_distribution_slashes.md index 394093dff7..bee21f22cd 100644 --- a/docs/cli/axelard_query_distribution_slashes.md +++ b/docs/cli/axelard_query_distribution_slashes.md @@ -7,7 +7,7 @@ Query distribution validator slashes Query all slashes of a validator for a given block range. Example: -$ query distribution slashes axelarvalopervaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 0 100 +$ axelard query distribution slashes axelarvalopervaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 0 100 ``` axelard query distribution slashes [validator] [start-height] [end-height] [flags] diff --git a/docs/cli/axelard_query_distribution_validator-outstanding-rewards.md b/docs/cli/axelard_query_distribution_validator-outstanding-rewards.md index 69f6fcd4f9..7828a850dd 100644 --- a/docs/cli/axelard_query_distribution_validator-outstanding-rewards.md +++ b/docs/cli/axelard_query_distribution_validator-outstanding-rewards.md @@ -7,7 +7,7 @@ Query distribution outstanding (un-withdrawn) rewards for a validator and all th Query distribution outstanding (un-withdrawn) rewards for a validator and all their delegations. Example: -$ query distribution validator-outstanding-rewards axelarvaloper1lwjmdnks33xwnmfayc64ycprww49n33mtm92ne +$ axelard query distribution validator-outstanding-rewards axelarvaloper1lwjmdnks33xwnmfayc64ycprww49n33mtm92ne ``` axelard query distribution validator-outstanding-rewards [validator] [flags] diff --git a/docs/cli/axelard_query_evidence.md b/docs/cli/axelard_query_evidence.md index 25de80c086..9fb221fc00 100644 --- a/docs/cli/axelard_query_evidence.md +++ b/docs/cli/axelard_query_evidence.md @@ -7,8 +7,8 @@ Query for evidence by hash or for all (paginated) submitted evidence Query for specific submitted evidence by hash or query for all (paginated) evidence: Example: -$ query evidence DF0C23E8634E480F84B9D5674A7CDC9816466DEC28A3358F73260F68D28D7660 -$ query evidence --page=2 --limit=50 +$ axelard query evidence DF0C23E8634E480F84B9D5674A7CDC9816466DEC28A3358F73260F68D28D7660 +$ axelard query evidence --page=2 --limit=50 ``` axelard query evidence [flags] diff --git a/docs/cli/axelard_query_feegrant_grant.md b/docs/cli/axelard_query_feegrant_grant.md index e163147832..a95db92510 100644 --- a/docs/cli/axelard_query_feegrant_grant.md +++ b/docs/cli/axelard_query_feegrant_grant.md @@ -8,7 +8,7 @@ Query details for a grant. You can find the fee-grant of a granter and grantee. Example: -$ query feegrant grant \[granter\] \[grantee\] +$ axelard query feegrant grant \[granter\] \[grantee\] ``` axelard query feegrant grant [granter] [grantee] [flags] diff --git a/docs/cli/axelard_query_feegrant_grants-by-grantee.md b/docs/cli/axelard_query_feegrant_grants-by-grantee.md index 2d3fe2528e..db48919605 100644 --- a/docs/cli/axelard_query_feegrant_grants-by-grantee.md +++ b/docs/cli/axelard_query_feegrant_grants-by-grantee.md @@ -7,7 +7,7 @@ Query all grants of a grantee Queries all the grants for a grantee address. Example: -$ query feegrant grants-by-grantee \[grantee\] +$ axelard query feegrant grants-by-grantee \[grantee\] ``` axelard query feegrant grants-by-grantee [grantee] [flags] diff --git a/docs/cli/axelard_query_feegrant_grants-by-granter.md b/docs/cli/axelard_query_feegrant_grants-by-granter.md index 34c14d284d..2a258bc6ca 100644 --- a/docs/cli/axelard_query_feegrant_grants-by-granter.md +++ b/docs/cli/axelard_query_feegrant_grants-by-granter.md @@ -7,7 +7,7 @@ Query all grants by a granter Queries all the grants issued for a granter address. Example: -$ query feegrant grants-by-granter \[granter\] +$ axelard query feegrant grants-by-granter \[granter\] ``` axelard query feegrant grants-by-granter [granter] [flags] diff --git a/docs/cli/axelard_query_gov_deposit.md b/docs/cli/axelard_query_gov_deposit.md index fcfbca7f86..906de95812 100644 --- a/docs/cli/axelard_query_gov_deposit.md +++ b/docs/cli/axelard_query_gov_deposit.md @@ -7,7 +7,7 @@ Query details of a deposit Query details for a single proposal deposit on a proposal by its identifier. Example: -$ query gov deposit 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk +$ axelard query gov deposit 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk ``` axelard query gov deposit [proposal-id] [depositer-addr] [flags] diff --git a/docs/cli/axelard_query_gov_deposits.md b/docs/cli/axelard_query_gov_deposits.md index 0388ffa457..6fa2f2658e 100644 --- a/docs/cli/axelard_query_gov_deposits.md +++ b/docs/cli/axelard_query_gov_deposits.md @@ -5,10 +5,10 @@ Query deposits on a proposal ### Synopsis Query details for all deposits on a proposal. -You can find the proposal-id by running " query gov proposals". +You can find the proposal-id by running "axelard query gov proposals". Example: -$ query gov deposits 1 +$ axelard query gov deposits 1 ``` axelard query gov deposits [proposal-id] [flags] diff --git a/docs/cli/axelard_query_gov_param.md b/docs/cli/axelard_query_gov_param.md index 61012c86dc..745b6251f2 100644 --- a/docs/cli/axelard_query_gov_param.md +++ b/docs/cli/axelard_query_gov_param.md @@ -7,9 +7,9 @@ Query the parameters (voting|tallying|deposit) of the governance process Query the all the parameters for the governance process. Example: -$ query gov param voting -$ query gov param tallying -$ query gov param deposit +$ axelard query gov param voting +$ axelard query gov param tallying +$ axelard query gov param deposit ``` axelard query gov param [param-type] [flags] diff --git a/docs/cli/axelard_query_gov_params.md b/docs/cli/axelard_query_gov_params.md index 346d4f02f2..b9508e8d11 100644 --- a/docs/cli/axelard_query_gov_params.md +++ b/docs/cli/axelard_query_gov_params.md @@ -7,7 +7,7 @@ Query the parameters of the governance process Query the all the parameters for the governance process. Example: -$ query gov params +$ axelard query gov params ``` axelard query gov params [flags] diff --git a/docs/cli/axelard_query_gov_proposal.md b/docs/cli/axelard_query_gov_proposal.md index 7c45fb77c1..525cfc0dfc 100644 --- a/docs/cli/axelard_query_gov_proposal.md +++ b/docs/cli/axelard_query_gov_proposal.md @@ -5,10 +5,10 @@ Query details of a single proposal ### Synopsis Query details for a proposal. You can find the -proposal-id by running " query gov proposals". +proposal-id by running "axelard query gov proposals". Example: -$ query gov proposal 1 +$ axelard query gov proposal 1 ``` axelard query gov proposal [proposal-id] [flags] diff --git a/docs/cli/axelard_query_gov_proposals.md b/docs/cli/axelard_query_gov_proposals.md index 7ad12f7058..4cde8a123a 100644 --- a/docs/cli/axelard_query_gov_proposals.md +++ b/docs/cli/axelard_query_gov_proposals.md @@ -7,10 +7,10 @@ Query proposals with optional filters Query for a all paginated proposals that match optional filters: Example: -$ query gov proposals --depositor cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk -$ query gov proposals --voter cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk -$ query gov proposals --status (DepositPeriod|VotingPeriod|Passed|Rejected) -$ query gov proposals --page=2 --limit=100 +$ axelard query gov proposals --depositor cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk +$ axelard query gov proposals --voter cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk +$ axelard query gov proposals --status (DepositPeriod|VotingPeriod|Passed|Rejected) +$ axelard query gov proposals --page=2 --limit=100 ``` axelard query gov proposals [flags] diff --git a/docs/cli/axelard_query_gov_proposer.md b/docs/cli/axelard_query_gov_proposer.md index 689d039679..6303bc5235 100644 --- a/docs/cli/axelard_query_gov_proposer.md +++ b/docs/cli/axelard_query_gov_proposer.md @@ -7,7 +7,7 @@ Query the proposer of a governance proposal Query which address proposed a proposal with a given ID. Example: -$ query gov proposer 1 +$ axelard query gov proposer 1 ``` axelard query gov proposer [proposal-id] [flags] diff --git a/docs/cli/axelard_query_gov_tally.md b/docs/cli/axelard_query_gov_tally.md index 773c03952a..a8ff4883f6 100644 --- a/docs/cli/axelard_query_gov_tally.md +++ b/docs/cli/axelard_query_gov_tally.md @@ -5,10 +5,10 @@ Get the tally of a proposal vote ### Synopsis Query tally of votes on a proposal. You can find -the proposal-id by running " query gov proposals". +the proposal-id by running "axelard query gov proposals". Example: -$ query gov tally 1 +$ axelard query gov tally 1 ``` axelard query gov tally [proposal-id] [flags] diff --git a/docs/cli/axelard_query_gov_vote.md b/docs/cli/axelard_query_gov_vote.md index b46554e163..cd63f3e924 100644 --- a/docs/cli/axelard_query_gov_vote.md +++ b/docs/cli/axelard_query_gov_vote.md @@ -7,7 +7,7 @@ Query details of a single vote Query details for a single vote on a proposal given its identifier. Example: -$ query gov vote 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk +$ axelard query gov vote 1 cosmos1skjwj5whet0lpe65qaq4rpq03hjxlwd9nf39lk ``` axelard query gov vote [proposal-id] [voter-addr] [flags] diff --git a/docs/cli/axelard_query_gov_votes.md b/docs/cli/axelard_query_gov_votes.md index b7223f605f..4fe04a527e 100644 --- a/docs/cli/axelard_query_gov_votes.md +++ b/docs/cli/axelard_query_gov_votes.md @@ -7,8 +7,8 @@ Query votes on a proposal Query vote details for a single proposal by its identifier. Example: -$ query gov votes 1 -$ query gov votes 1 --page=2 --limit=100 +$ axelard query gov votes 1 +$ axelard query gov votes 1 --page=2 --limit=100 ``` axelard query gov votes [proposal-id] [flags] diff --git a/docs/cli/axelard_query_ibc-transfer_denom-hash.md b/docs/cli/axelard_query_ibc-transfer_denom-hash.md index 8df831158f..cfcf0e93fc 100644 --- a/docs/cli/axelard_query_ibc-transfer_denom-hash.md +++ b/docs/cli/axelard_query_ibc-transfer_denom-hash.md @@ -13,7 +13,7 @@ axelard query ibc-transfer denom-hash [trace] [flags] ### Examples ``` - query ibc-transfer denom-hash transfer/channel-0/uatom +axelard query ibc-transfer denom-hash transfer/channel-0/uatom ``` ### Options diff --git a/docs/cli/axelard_query_ibc-transfer_denom-trace.md b/docs/cli/axelard_query_ibc-transfer_denom-trace.md index 623b49fb77..ab9057fa39 100644 --- a/docs/cli/axelard_query_ibc-transfer_denom-trace.md +++ b/docs/cli/axelard_query_ibc-transfer_denom-trace.md @@ -13,7 +13,7 @@ axelard query ibc-transfer denom-trace [hash/denom] [flags] ### Examples ``` - query ibc-transfer denom-trace 27A6394C3F9FF9C9DCF5DFFADF9BB5FE9A37C7E92B006199894CF1824DF9AC7C +axelard query ibc-transfer denom-trace 27A6394C3F9FF9C9DCF5DFFADF9BB5FE9A37C7E92B006199894CF1824DF9AC7C ``` ### Options diff --git a/docs/cli/axelard_query_ibc-transfer_denom-traces.md b/docs/cli/axelard_query_ibc-transfer_denom-traces.md index c81ec8b4d2..f4553119b6 100644 --- a/docs/cli/axelard_query_ibc-transfer_denom-traces.md +++ b/docs/cli/axelard_query_ibc-transfer_denom-traces.md @@ -13,7 +13,7 @@ axelard query ibc-transfer denom-traces [flags] ### Examples ``` - query ibc-transfer denom-traces +axelard query ibc-transfer denom-traces ``` ### Options diff --git a/docs/cli/axelard_query_ibc-transfer_escrow-address.md b/docs/cli/axelard_query_ibc-transfer_escrow-address.md index 85b1564da8..3b0cdc524f 100644 --- a/docs/cli/axelard_query_ibc-transfer_escrow-address.md +++ b/docs/cli/axelard_query_ibc-transfer_escrow-address.md @@ -13,7 +13,7 @@ axelard query ibc-transfer escrow-address [flags] ### Examples ``` - query ibc-transfer escrow-address [port] [channel-id] +axelard query ibc-transfer escrow-address [port] [channel-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc-transfer_params.md b/docs/cli/axelard_query_ibc-transfer_params.md index 67754e30a8..d85eaff9dd 100644 --- a/docs/cli/axelard_query_ibc-transfer_params.md +++ b/docs/cli/axelard_query_ibc-transfer_params.md @@ -13,7 +13,7 @@ axelard query ibc-transfer params [flags] ### Examples ``` - query ibc-transfer params +axelard query ibc-transfer params ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_channels.md b/docs/cli/axelard_query_ibc_channel_channels.md index 4d08b11eb9..0b0c2cd6a0 100644 --- a/docs/cli/axelard_query_ibc_channel_channels.md +++ b/docs/cli/axelard_query_ibc_channel_channels.md @@ -13,7 +13,7 @@ axelard query ibc channel channels [flags] ### Examples ``` - query ibc channel channels +axelard query ibc channel channels ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_client-state.md b/docs/cli/axelard_query_ibc_channel_client-state.md index d3b29ed1b0..63891a0882 100644 --- a/docs/cli/axelard_query_ibc_channel_client-state.md +++ b/docs/cli/axelard_query_ibc_channel_client-state.md @@ -13,7 +13,7 @@ axelard query ibc channel client-state [port-id] [channel-id] [flags] ### Examples ``` - query ibc channel client-state [port-id] [channel-id] +axelard query ibc channel client-state [port-id] [channel-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_connections.md b/docs/cli/axelard_query_ibc_channel_connections.md index 82f8630fb9..a0fda34ebf 100644 --- a/docs/cli/axelard_query_ibc_channel_connections.md +++ b/docs/cli/axelard_query_ibc_channel_connections.md @@ -13,7 +13,7 @@ axelard query ibc channel connections [connection-id] [flags] ### Examples ``` - query ibc channel connections [connection-id] +axelard query ibc channel connections [connection-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_end.md b/docs/cli/axelard_query_ibc_channel_end.md index 85b64efdc4..06a3466a08 100644 --- a/docs/cli/axelard_query_ibc_channel_end.md +++ b/docs/cli/axelard_query_ibc_channel_end.md @@ -13,7 +13,7 @@ axelard query ibc channel end [port-id] [channel-id] [flags] ### Examples ``` - query ibc channel end [port-id] [channel-id] +axelard query ibc channel end [port-id] [channel-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_next-sequence-receive.md b/docs/cli/axelard_query_ibc_channel_next-sequence-receive.md index d93d034ecc..d87270c1fc 100644 --- a/docs/cli/axelard_query_ibc_channel_next-sequence-receive.md +++ b/docs/cli/axelard_query_ibc_channel_next-sequence-receive.md @@ -13,7 +13,7 @@ axelard query ibc channel next-sequence-receive [port-id] [channel-id] [flags] ### Examples ``` - query ibc channel next-sequence-receive [port-id] [channel-id] +axelard query ibc channel next-sequence-receive [port-id] [channel-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_packet-ack.md b/docs/cli/axelard_query_ibc_channel_packet-ack.md index bb708100ee..9aff7aba60 100644 --- a/docs/cli/axelard_query_ibc_channel_packet-ack.md +++ b/docs/cli/axelard_query_ibc_channel_packet-ack.md @@ -13,7 +13,7 @@ axelard query ibc channel packet-ack [port-id] [channel-id] [sequence] [flags] ### Examples ``` - query ibc channel packet-ack [port-id] [channel-id] [sequence] +axelard query ibc channel packet-ack [port-id] [channel-id] [sequence] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_packet-commitment.md b/docs/cli/axelard_query_ibc_channel_packet-commitment.md index 287e6ca6b8..50a0c10ca9 100644 --- a/docs/cli/axelard_query_ibc_channel_packet-commitment.md +++ b/docs/cli/axelard_query_ibc_channel_packet-commitment.md @@ -13,7 +13,7 @@ axelard query ibc channel packet-commitment [port-id] [channel-id] [sequence] [f ### Examples ``` - query ibc channel packet-commitment [port-id] [channel-id] [sequence] +axelard query ibc channel packet-commitment [port-id] [channel-id] [sequence] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_packet-commitments.md b/docs/cli/axelard_query_ibc_channel_packet-commitments.md index fe853e7243..81af07ced6 100644 --- a/docs/cli/axelard_query_ibc_channel_packet-commitments.md +++ b/docs/cli/axelard_query_ibc_channel_packet-commitments.md @@ -13,7 +13,7 @@ axelard query ibc channel packet-commitments [port-id] [channel-id] [flags] ### Examples ``` - query ibc channel packet-commitments [port-id] [channel-id] +axelard query ibc channel packet-commitments [port-id] [channel-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_packet-receipt.md b/docs/cli/axelard_query_ibc_channel_packet-receipt.md index c10657c42b..b8450f0b2e 100644 --- a/docs/cli/axelard_query_ibc_channel_packet-receipt.md +++ b/docs/cli/axelard_query_ibc_channel_packet-receipt.md @@ -13,7 +13,7 @@ axelard query ibc channel packet-receipt [port-id] [channel-id] [sequence] [flag ### Examples ``` - query ibc channel packet-receipt [port-id] [channel-id] [sequence] +axelard query ibc channel packet-receipt [port-id] [channel-id] [sequence] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_unreceived-acks.md b/docs/cli/axelard_query_ibc_channel_unreceived-acks.md index 0e2c8b1c48..1e1140c090 100644 --- a/docs/cli/axelard_query_ibc_channel_unreceived-acks.md +++ b/docs/cli/axelard_query_ibc_channel_unreceived-acks.md @@ -17,7 +17,7 @@ axelard query ibc channel unreceived-acks [port-id] [channel-id] [flags] ### Examples ``` - query ibc channel unreceived-acks [port-id] [channel-id] --sequences=1,2,3 +axelard query ibc channel unreceived-acks [port-id] [channel-id] --sequences=1,2,3 ``` ### Options diff --git a/docs/cli/axelard_query_ibc_channel_unreceived-packets.md b/docs/cli/axelard_query_ibc_channel_unreceived-packets.md index 54610fdc0b..66544f7502 100644 --- a/docs/cli/axelard_query_ibc_channel_unreceived-packets.md +++ b/docs/cli/axelard_query_ibc_channel_unreceived-packets.md @@ -17,7 +17,7 @@ axelard query ibc channel unreceived-packets [port-id] [channel-id] [flags] ### Examples ``` - query ibc channel unreceived-packets [port-id] [channel-id] --sequences=1,2,3 +axelard query ibc channel unreceived-packets [port-id] [channel-id] --sequences=1,2,3 ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_consensus-state-heights.md b/docs/cli/axelard_query_ibc_client_consensus-state-heights.md index 169ab51c9f..35221e8b7e 100644 --- a/docs/cli/axelard_query_ibc_client_consensus-state-heights.md +++ b/docs/cli/axelard_query_ibc_client_consensus-state-heights.md @@ -13,7 +13,7 @@ axelard query ibc client consensus-state-heights [client-id] [flags] ### Examples ``` - query ibc client consensus-state-heights [client-id] +axelard query ibc client consensus-state-heights [client-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_consensus-state.md b/docs/cli/axelard_query_ibc_client_consensus-state.md index 3475fd81f2..d78f426f0e 100644 --- a/docs/cli/axelard_query_ibc_client_consensus-state.md +++ b/docs/cli/axelard_query_ibc_client_consensus-state.md @@ -14,7 +14,7 @@ axelard query ibc client consensus-state [client-id] [height] [flags] ### Examples ``` - query ibc client consensus-state [client-id] [height] +axelard query ibc client consensus-state [client-id] [height] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_consensus-states.md b/docs/cli/axelard_query_ibc_client_consensus-states.md index a4d0796d76..cbed82de31 100644 --- a/docs/cli/axelard_query_ibc_client_consensus-states.md +++ b/docs/cli/axelard_query_ibc_client_consensus-states.md @@ -13,7 +13,7 @@ axelard query ibc client consensus-states [client-id] [flags] ### Examples ``` - query ibc client consensus-states [client-id] +axelard query ibc client consensus-states [client-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_header.md b/docs/cli/axelard_query_ibc_client_header.md index a2a50b288a..6c5de69180 100644 --- a/docs/cli/axelard_query_ibc_client_header.md +++ b/docs/cli/axelard_query_ibc_client_header.md @@ -13,7 +13,7 @@ axelard query ibc client header [flags] ### Examples ``` - query ibc client header +axelard query ibc client header ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_params.md b/docs/cli/axelard_query_ibc_client_params.md index f01ce836b0..33d34c9448 100644 --- a/docs/cli/axelard_query_ibc_client_params.md +++ b/docs/cli/axelard_query_ibc_client_params.md @@ -13,7 +13,7 @@ axelard query ibc client params [flags] ### Examples ``` - query ibc client params +axelard query ibc client params ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_self-consensus-state.md b/docs/cli/axelard_query_ibc_client_self-consensus-state.md index 915d84dc69..84049ff0ad 100644 --- a/docs/cli/axelard_query_ibc_client_self-consensus-state.md +++ b/docs/cli/axelard_query_ibc_client_self-consensus-state.md @@ -13,7 +13,7 @@ axelard query ibc client self-consensus-state [flags] ### Examples ``` - query ibc client self-consensus-state +axelard query ibc client self-consensus-state ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_state.md b/docs/cli/axelard_query_ibc_client_state.md index a03518ebc3..4041769406 100644 --- a/docs/cli/axelard_query_ibc_client_state.md +++ b/docs/cli/axelard_query_ibc_client_state.md @@ -13,7 +13,7 @@ axelard query ibc client state [client-id] [flags] ### Examples ``` - query ibc client state [client-id] +axelard query ibc client state [client-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_states.md b/docs/cli/axelard_query_ibc_client_states.md index 86d893d517..bc5b4731ea 100644 --- a/docs/cli/axelard_query_ibc_client_states.md +++ b/docs/cli/axelard_query_ibc_client_states.md @@ -13,7 +13,7 @@ axelard query ibc client states [flags] ### Examples ``` - query ibc client states +axelard query ibc client states ``` ### Options diff --git a/docs/cli/axelard_query_ibc_client_status.md b/docs/cli/axelard_query_ibc_client_status.md index 713f863467..2652ec5053 100644 --- a/docs/cli/axelard_query_ibc_client_status.md +++ b/docs/cli/axelard_query_ibc_client_status.md @@ -13,7 +13,7 @@ axelard query ibc client status [client-id] [flags] ### Examples ``` - query ibc client status [client-id] +axelard query ibc client status [client-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_connection_connections.md b/docs/cli/axelard_query_ibc_connection_connections.md index 1c9584e9ef..52ab7c1ef6 100644 --- a/docs/cli/axelard_query_ibc_connection_connections.md +++ b/docs/cli/axelard_query_ibc_connection_connections.md @@ -13,7 +13,7 @@ axelard query ibc connection connections [flags] ### Examples ``` - query ibc connection connections +axelard query ibc connection connections ``` ### Options diff --git a/docs/cli/axelard_query_ibc_connection_end.md b/docs/cli/axelard_query_ibc_connection_end.md index e9b2d669d1..692eccd6c0 100644 --- a/docs/cli/axelard_query_ibc_connection_end.md +++ b/docs/cli/axelard_query_ibc_connection_end.md @@ -13,7 +13,7 @@ axelard query ibc connection end [connection-id] [flags] ### Examples ``` - query ibc connection end [connection-id] +axelard query ibc connection end [connection-id] ``` ### Options diff --git a/docs/cli/axelard_query_ibc_connection_path.md b/docs/cli/axelard_query_ibc_connection_path.md index b54c790733..83f72c5517 100644 --- a/docs/cli/axelard_query_ibc_connection_path.md +++ b/docs/cli/axelard_query_ibc_connection_path.md @@ -13,7 +13,7 @@ axelard query ibc connection path [client-id] [flags] ### Examples ``` - query ibc connection path [client-id] +axelard query ibc connection path [client-id] ``` ### Options diff --git a/docs/cli/axelard_query_staking_delegation.md b/docs/cli/axelard_query_staking_delegation.md index 9ac573a810..4d2bc5f49e 100644 --- a/docs/cli/axelard_query_staking_delegation.md +++ b/docs/cli/axelard_query_staking_delegation.md @@ -7,7 +7,7 @@ Query a delegation based on address and validator address Query delegations for an individual delegator on an individual validator. Example: -$ query staking delegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query staking delegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query staking delegation [delegator-addr] [validator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_delegations-to.md b/docs/cli/axelard_query_staking_delegations-to.md index f9c409b6e4..d3e1260cc4 100644 --- a/docs/cli/axelard_query_staking_delegations-to.md +++ b/docs/cli/axelard_query_staking_delegations-to.md @@ -7,7 +7,7 @@ Query all delegations made to one validator Query delegations on an individual validator. Example: -$ query staking delegations-to axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query staking delegations-to axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query staking delegations-to [validator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_delegations.md b/docs/cli/axelard_query_staking_delegations.md index 6cefb69e92..fc9ffc386a 100644 --- a/docs/cli/axelard_query_staking_delegations.md +++ b/docs/cli/axelard_query_staking_delegations.md @@ -7,7 +7,7 @@ Query all delegations made by one delegator Query delegations for an individual delegator on all validators. Example: -$ query staking delegations axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p +$ axelard query staking delegations axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p ``` axelard query staking delegations [delegator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_historical-info.md b/docs/cli/axelard_query_staking_historical-info.md index 532a3d70ec..2cf8b6bd5a 100644 --- a/docs/cli/axelard_query_staking_historical-info.md +++ b/docs/cli/axelard_query_staking_historical-info.md @@ -7,7 +7,7 @@ Query historical info at given height Query historical info at given height. Example: -$ query staking historical-info 5 +$ axelard query staking historical-info 5 ``` axelard query staking historical-info [height] [flags] diff --git a/docs/cli/axelard_query_staking_params.md b/docs/cli/axelard_query_staking_params.md index cd8364e3e4..4efd8dbba3 100644 --- a/docs/cli/axelard_query_staking_params.md +++ b/docs/cli/axelard_query_staking_params.md @@ -7,7 +7,7 @@ Query the current staking parameters information Query values set as staking parameters. Example: -$ query staking params +$ axelard query staking params ``` axelard query staking params [flags] diff --git a/docs/cli/axelard_query_staking_pool.md b/docs/cli/axelard_query_staking_pool.md index dd6c5c2ee0..4e135d2b14 100644 --- a/docs/cli/axelard_query_staking_pool.md +++ b/docs/cli/axelard_query_staking_pool.md @@ -7,7 +7,7 @@ Query the current staking pool values Query values for amounts stored in the staking pool. Example: -$ query staking pool +$ axelard query staking pool ``` axelard query staking pool [flags] diff --git a/docs/cli/axelard_query_staking_redelegation.md b/docs/cli/axelard_query_staking_redelegation.md index 12c2fba379..710f6195ce 100644 --- a/docs/cli/axelard_query_staking_redelegation.md +++ b/docs/cli/axelard_query_staking_redelegation.md @@ -7,7 +7,7 @@ Query a redelegation record based on delegator and a source and destination vali Query a redelegation record for an individual delegator between a source and destination validator. Example: -$ query staking redelegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query staking redelegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query staking redelegation [delegator-addr] [src-validator-addr] [dst-validator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_redelegations-from.md b/docs/cli/axelard_query_staking_redelegations-from.md index a8ce54485d..9515cf3efc 100644 --- a/docs/cli/axelard_query_staking_redelegations-from.md +++ b/docs/cli/axelard_query_staking_redelegations-from.md @@ -7,7 +7,7 @@ Query all outgoing redelegatations from a validator Query delegations that are redelegating _from_ a validator. Example: -$ query staking redelegations-from axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query staking redelegations-from axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query staking redelegations-from [validator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_redelegations.md b/docs/cli/axelard_query_staking_redelegations.md index 367766da99..21cc19a65b 100644 --- a/docs/cli/axelard_query_staking_redelegations.md +++ b/docs/cli/axelard_query_staking_redelegations.md @@ -7,7 +7,7 @@ Query all redelegations records for one delegator Query all redelegation records for an individual delegator. Example: -$ query staking redelegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p +$ axelard query staking redelegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p ``` axelard query staking redelegations [delegator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_unbonding-delegation.md b/docs/cli/axelard_query_staking_unbonding-delegation.md index 72debd9420..6b4eb1c55a 100644 --- a/docs/cli/axelard_query_staking_unbonding-delegation.md +++ b/docs/cli/axelard_query_staking_unbonding-delegation.md @@ -7,7 +7,7 @@ Query an unbonding-delegation record based on delegator and validator address Query unbonding delegations for an individual delegator on an individual validator. Example: -$ query staking unbonding-delegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query staking unbonding-delegation axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query staking unbonding-delegation [delegator-addr] [validator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_unbonding-delegations-from.md b/docs/cli/axelard_query_staking_unbonding-delegations-from.md index e1862a3327..d090ec7733 100644 --- a/docs/cli/axelard_query_staking_unbonding-delegations-from.md +++ b/docs/cli/axelard_query_staking_unbonding-delegations-from.md @@ -7,7 +7,7 @@ Query all unbonding delegatations from a validator Query delegations that are unbonding _from_ a validator. Example: -$ query staking unbonding-delegations-from axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query staking unbonding-delegations-from axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query staking unbonding-delegations-from [validator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_unbonding-delegations.md b/docs/cli/axelard_query_staking_unbonding-delegations.md index 144c4e1cdb..b02e6d1205 100644 --- a/docs/cli/axelard_query_staking_unbonding-delegations.md +++ b/docs/cli/axelard_query_staking_unbonding-delegations.md @@ -7,7 +7,7 @@ Query all unbonding-delegations records for one delegator Query unbonding delegations for an individual delegator. Example: -$ query staking unbonding-delegations axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p +$ axelard query staking unbonding-delegations axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p ``` axelard query staking unbonding-delegations [delegator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_validator.md b/docs/cli/axelard_query_staking_validator.md index 7622e6b087..1ac806cbe7 100644 --- a/docs/cli/axelard_query_staking_validator.md +++ b/docs/cli/axelard_query_staking_validator.md @@ -7,7 +7,7 @@ Query a validator Query details about an individual validator. Example: -$ query staking validator axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj +$ axelard query staking validator axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj ``` axelard query staking validator [validator-addr] [flags] diff --git a/docs/cli/axelard_query_staking_validators.md b/docs/cli/axelard_query_staking_validators.md index 02d829d1e5..19662f9c6c 100644 --- a/docs/cli/axelard_query_staking_validators.md +++ b/docs/cli/axelard_query_staking_validators.md @@ -7,7 +7,7 @@ Query for all validators Query details about all validators on a network. Example: -$ query staking validators +$ axelard query staking validators ``` axelard query staking validators [flags] diff --git a/docs/cli/axelard_query_tx.md b/docs/cli/axelard_query_tx.md index 155a70bc6d..ea7af4e46b 100644 --- a/docs/cli/axelard_query_tx.md +++ b/docs/cli/axelard_query_tx.md @@ -5,9 +5,9 @@ Query for a transaction by hash, "/" combination or comma-separated s ### Synopsis Example: -$ query tx -$ query tx --type=acc_seq / -$ query tx --type=signature \,\ +$ axelard query tx +$ axelard query tx --type=acc_seq / +$ axelard query tx --type=signature \,\ ``` axelard query tx --type=[hash|acc_seq|signature] [hash|acc_seq|signature] [flags] diff --git a/docs/cli/axelard_query_txs.md b/docs/cli/axelard_query_txs.md index fb649c2c61..5161976f28 100644 --- a/docs/cli/axelard_query_txs.md +++ b/docs/cli/axelard_query_txs.md @@ -10,7 +10,7 @@ to each module's documentation for the full set of events to query for. Each mod documents its respective events under 'xx_events.md'. Example: -$ query txs --events 'message.sender=cosmos1...&message.action=withdraw_delegator_reward' --page 1 --limit 30 +$ axelard query txs --events 'message.sender=cosmos1...&message.action=withdraw_delegator_reward' --page 1 --limit 30 ``` axelard query txs [flags] diff --git a/docs/cli/axelard_query_wasm.md b/docs/cli/axelard_query_wasm.md new file mode 100644 index 0000000000..27ceea00a6 --- /dev/null +++ b/docs/cli/axelard_query_wasm.md @@ -0,0 +1,40 @@ +## axelard query wasm + +Querying commands for the wasm module + +``` +axelard query wasm [flags] +``` + +### Options + +``` + -h, --help help for wasm +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --output string Output format (text|json) (default "text") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query](axelard_query.md) - Querying subcommands +- [axelard query wasm build-address](axelard_query_wasm_build-address.md) - build contract address +- [axelard query wasm code](axelard_query_wasm_code.md) - Downloads wasm bytecode for given code id +- [axelard query wasm code-info](axelard_query_wasm_code-info.md) - Prints out metadata of a code id +- [axelard query wasm contract](axelard_query_wasm_contract.md) - Prints out metadata of a contract given its address +- [axelard query wasm contract-history](axelard_query_wasm_contract-history.md) - Prints out the code history for a contract given its address +- [axelard query wasm contract-state](axelard_query_wasm_contract-state.md) - Querying commands for the wasm module +- [axelard query wasm libwasmvm-version](axelard_query_wasm_libwasmvm-version.md) - Get libwasmvm version +- [axelard query wasm list-code](axelard_query_wasm_list-code.md) - List all wasm bytecode on the chain +- [axelard query wasm list-contract-by-code](axelard_query_wasm_list-contract-by-code.md) - List wasm all bytecode on the chain for given code id +- [axelard query wasm list-contracts-by-creator](axelard_query_wasm_list-contracts-by-creator.md) - List all contracts by creator +- [axelard query wasm params](axelard_query_wasm_params.md) - Query the current wasm parameters +- [axelard query wasm pinned](axelard_query_wasm_pinned.md) - List all pinned code ids diff --git a/docs/cli/axelard_query_wasm_build-address.md b/docs/cli/axelard_query_wasm_build-address.md new file mode 100644 index 0000000000..3c2903ce5d --- /dev/null +++ b/docs/cli/axelard_query_wasm_build-address.md @@ -0,0 +1,31 @@ +## axelard query wasm build-address + +build contract address + +``` +axelard query wasm build-address [code-hash] [creator-address] [salt-hex-encoded] [json_encoded_init_args (required when set as fixed)] [flags] +``` + +### Options + +``` + --ascii ascii encoded salt + --b64 base64 encoded salt + -h, --help help for build-address + --hex hex encoded salt +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --output string Output format (text|json) (default "text") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_code-info.md b/docs/cli/axelard_query_wasm_code-info.md new file mode 100644 index 0000000000..7bd83cde65 --- /dev/null +++ b/docs/cli/axelard_query_wasm_code-info.md @@ -0,0 +1,34 @@ +## axelard query wasm code-info + +Prints out metadata of a code id + +### Synopsis + +Prints out metadata of a code id + +``` +axelard query wasm code-info [code_id] [flags] +``` + +### Options + +``` + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for code-info + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + -o, --output string Output format (text|json) (default "text") +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_code.md b/docs/cli/axelard_query_wasm_code.md new file mode 100644 index 0000000000..42dfc0358a --- /dev/null +++ b/docs/cli/axelard_query_wasm_code.md @@ -0,0 +1,34 @@ +## axelard query wasm code + +Downloads wasm bytecode for given code id + +### Synopsis + +Downloads wasm bytecode for given code id + +``` +axelard query wasm code [code_id] [output filename] [flags] +``` + +### Options + +``` + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for code + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + -o, --output string Output format (text|json) (default "text") +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_contract-history.md b/docs/cli/axelard_query_wasm_contract-history.md new file mode 100644 index 0000000000..17a1458210 --- /dev/null +++ b/docs/cli/axelard_query_wasm_contract-history.md @@ -0,0 +1,40 @@ +## axelard query wasm contract-history + +Prints out the code history for a contract given its address + +### Synopsis + +Prints out the code history for a contract given its address + +``` +axelard query wasm contract-history [bech32_address] [flags] +``` + +### Options + +``` + --count-total count total number of records in contract history to query for + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for contract-history + --limit uint pagination limit of contract history to query for (default 100) + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + --offset uint pagination offset of contract history to query for + -o, --output string Output format (text|json) (default "text") + --page uint pagination page of contract history to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of contract history to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_contract-state.md b/docs/cli/axelard_query_wasm_contract-state.md new file mode 100644 index 0000000000..8b0280de32 --- /dev/null +++ b/docs/cli/axelard_query_wasm_contract-state.md @@ -0,0 +1,31 @@ +## axelard query wasm contract-state + +Querying commands for the wasm module + +``` +axelard query wasm contract-state [flags] +``` + +### Options + +``` + -h, --help help for contract-state +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --output string Output format (text|json) (default "text") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module +- [axelard query wasm contract-state all](axelard_query_wasm_contract-state_all.md) - Prints out all internal state of a contract given its address +- [axelard query wasm contract-state raw](axelard_query_wasm_contract-state_raw.md) - Prints out internal state for key of a contract given its address +- [axelard query wasm contract-state smart](axelard_query_wasm_contract-state_smart.md) - Calls contract with given address with query data and prints the returned result diff --git a/docs/cli/axelard_query_wasm_contract-state_all.md b/docs/cli/axelard_query_wasm_contract-state_all.md new file mode 100644 index 0000000000..b3fd971c39 --- /dev/null +++ b/docs/cli/axelard_query_wasm_contract-state_all.md @@ -0,0 +1,40 @@ +## axelard query wasm contract-state all + +Prints out all internal state of a contract given its address + +### Synopsis + +Prints out all internal state of a contract given its address + +``` +axelard query wasm contract-state all [bech32_address] [flags] +``` + +### Options + +``` + --count-total count total number of records in contract state to query for + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for all + --limit uint pagination limit of contract state to query for (default 100) + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + --offset uint pagination offset of contract state to query for + -o, --output string Output format (text|json) (default "text") + --page uint pagination page of contract state to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of contract state to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm contract-state](axelard_query_wasm_contract-state.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_contract-state_raw.md b/docs/cli/axelard_query_wasm_contract-state_raw.md new file mode 100644 index 0000000000..8949f1b722 --- /dev/null +++ b/docs/cli/axelard_query_wasm_contract-state_raw.md @@ -0,0 +1,37 @@ +## axelard query wasm contract-state raw + +Prints out internal state for key of a contract given its address + +### Synopsis + +Prints out internal state for of a contract given its address + +``` +axelard query wasm contract-state raw [bech32_address] [key] [flags] +``` + +### Options + +``` + --ascii ascii encoded key argument + --b64 base64 encoded key argument + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for raw + --hex hex encoded key argument + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + -o, --output string Output format (text|json) (default "text") +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm contract-state](axelard_query_wasm_contract-state.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_contract-state_smart.md b/docs/cli/axelard_query_wasm_contract-state_smart.md new file mode 100644 index 0000000000..3032a01554 --- /dev/null +++ b/docs/cli/axelard_query_wasm_contract-state_smart.md @@ -0,0 +1,37 @@ +## axelard query wasm contract-state smart + +Calls contract with given address with query data and prints the returned result + +### Synopsis + +Calls contract with given address with query data and prints the returned result + +``` +axelard query wasm contract-state smart [bech32_address] [query] [flags] +``` + +### Options + +``` + --ascii ascii encoded query argument + --b64 base64 encoded query argument + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for smart + --hex hex encoded query argument + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + -o, --output string Output format (text|json) (default "text") +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm contract-state](axelard_query_wasm_contract-state.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_contract.md b/docs/cli/axelard_query_wasm_contract.md new file mode 100644 index 0000000000..ca2041d027 --- /dev/null +++ b/docs/cli/axelard_query_wasm_contract.md @@ -0,0 +1,34 @@ +## axelard query wasm contract + +Prints out metadata of a contract given its address + +### Synopsis + +Prints out metadata of a contract given its address + +``` +axelard query wasm contract [bech32_address] [flags] +``` + +### Options + +``` + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for contract + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + -o, --output string Output format (text|json) (default "text") +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_libwasmvm-version.md b/docs/cli/axelard_query_wasm_libwasmvm-version.md new file mode 100644 index 0000000000..8b15f0b6e7 --- /dev/null +++ b/docs/cli/axelard_query_wasm_libwasmvm-version.md @@ -0,0 +1,32 @@ +## axelard query wasm libwasmvm-version + +Get libwasmvm version + +### Synopsis + +Get libwasmvm version + +``` +axelard query wasm libwasmvm-version [flags] +``` + +### Options + +``` + -h, --help help for libwasmvm-version +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --output string Output format (text|json) (default "text") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_list-code.md b/docs/cli/axelard_query_wasm_list-code.md new file mode 100644 index 0000000000..5c63094645 --- /dev/null +++ b/docs/cli/axelard_query_wasm_list-code.md @@ -0,0 +1,40 @@ +## axelard query wasm list-code + +List all wasm bytecode on the chain + +### Synopsis + +List all wasm bytecode on the chain + +``` +axelard query wasm list-code [flags] +``` + +### Options + +``` + --count-total count total number of records in list codes to query for + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-code + --limit uint pagination limit of list codes to query for (default 100) + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + --offset uint pagination offset of list codes to query for + -o, --output string Output format (text|json) (default "text") + --page uint pagination page of list codes to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list codes to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_list-contract-by-code.md b/docs/cli/axelard_query_wasm_list-contract-by-code.md new file mode 100644 index 0000000000..d96cd0fdbc --- /dev/null +++ b/docs/cli/axelard_query_wasm_list-contract-by-code.md @@ -0,0 +1,40 @@ +## axelard query wasm list-contract-by-code + +List wasm all bytecode on the chain for given code id + +### Synopsis + +List wasm all bytecode on the chain for given code id + +``` +axelard query wasm list-contract-by-code [code_id] [flags] +``` + +### Options + +``` + --count-total count total number of records in list contracts by code to query for + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-contract-by-code + --limit uint pagination limit of list contracts by code to query for (default 100) + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + --offset uint pagination offset of list contracts by code to query for + -o, --output string Output format (text|json) (default "text") + --page uint pagination page of list contracts by code to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list contracts by code to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_list-contracts-by-creator.md b/docs/cli/axelard_query_wasm_list-contracts-by-creator.md new file mode 100644 index 0000000000..26df07df00 --- /dev/null +++ b/docs/cli/axelard_query_wasm_list-contracts-by-creator.md @@ -0,0 +1,40 @@ +## axelard query wasm list-contracts-by-creator + +List all contracts by creator + +### Synopsis + +List all contracts by creator + +``` +axelard query wasm list-contracts-by-creator [creator] [flags] +``` + +### Options + +``` + --count-total count total number of records in list contracts by creator to query for + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for list-contracts-by-creator + --limit uint pagination limit of list contracts by creator to query for (default 100) + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + --offset uint pagination offset of list contracts by creator to query for + -o, --output string Output format (text|json) (default "text") + --page uint pagination page of list contracts by creator to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list contracts by creator to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_params.md b/docs/cli/axelard_query_wasm_params.md new file mode 100644 index 0000000000..6421376d3b --- /dev/null +++ b/docs/cli/axelard_query_wasm_params.md @@ -0,0 +1,30 @@ +## axelard query wasm params + +Query the current wasm parameters + +``` +axelard query wasm params [flags] +``` + +### Options + +``` + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for params + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + -o, --output string Output format (text|json) (default "text") +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_query_wasm_pinned.md b/docs/cli/axelard_query_wasm_pinned.md new file mode 100644 index 0000000000..069afde7e7 --- /dev/null +++ b/docs/cli/axelard_query_wasm_pinned.md @@ -0,0 +1,40 @@ +## axelard query wasm pinned + +List all pinned code ids + +### Synopsis + +List all pinned code ids + +``` +axelard query wasm pinned [flags] +``` + +### Options + +``` + --count-total count total number of records in list codes to query for + --height int Use a specific height to query state at (this can error if the node is pruning state) + -h, --help help for pinned + --limit uint pagination limit of list codes to query for (default 100) + --node string : to Tendermint RPC interface for this chain (default "tcp://localhost:26657") + --offset uint pagination offset of list codes to query for + -o, --output string Output format (text|json) (default "text") + --page uint pagination page of list codes to query for. This sets offset to a multiple of limit (default 1) + --page-key string pagination page-key of list codes to query for + --reverse results are sorted in descending order +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard query wasm](axelard_query_wasm.md) - Querying commands for the wasm module diff --git a/docs/cli/axelard_tx.md b/docs/cli/axelard_tx.md index a1b35d8d80..3aa5075a39 100644 --- a/docs/cli/axelard_tx.md +++ b/docs/cli/axelard_tx.md @@ -52,3 +52,4 @@ axelard tx [flags] - [axelard tx validate-signatures](axelard_tx_validate-signatures.md) - validate transactions signatures - [axelard tx vesting](axelard_tx_vesting.md) - Vesting transaction subcommands - [axelard tx vesting](axelard_tx_vesting.md) - Vesting transaction subcommands +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_distribution_fund-community-pool.md b/docs/cli/axelard_tx_distribution_fund-community-pool.md index 9c3ea1b1bf..06eb78f79b 100644 --- a/docs/cli/axelard_tx_distribution_fund-community-pool.md +++ b/docs/cli/axelard_tx_distribution_fund-community-pool.md @@ -7,7 +7,7 @@ Funds the community pool with the specified amount Funds the community pool with the specified amount Example: -$ tx distribution fund-community-pool 100uatom --from mykey +$ axelard tx distribution fund-community-pool 100uatom --from mykey ``` axelard tx distribution fund-community-pool [amount] [flags] diff --git a/docs/cli/axelard_tx_distribution_set-withdraw-addr.md b/docs/cli/axelard_tx_distribution_set-withdraw-addr.md index 667b20f01a..6968c23e31 100644 --- a/docs/cli/axelard_tx_distribution_set-withdraw-addr.md +++ b/docs/cli/axelard_tx_distribution_set-withdraw-addr.md @@ -7,7 +7,7 @@ change the default withdraw address for rewards associated with an address Set the withdraw address for rewards associated with a delegator address. Example: -$ tx distribution set-withdraw-addr axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p --from mykey +$ axelard tx distribution set-withdraw-addr axelar1gghjut3ccd8ay0zduzj64hwre2fxs9ld75ru9p --from mykey ``` axelard tx distribution set-withdraw-addr [withdraw-addr] [flags] diff --git a/docs/cli/axelard_tx_distribution_withdraw-all-rewards.md b/docs/cli/axelard_tx_distribution_withdraw-all-rewards.md index 54897fb408..72e50c0515 100644 --- a/docs/cli/axelard_tx_distribution_withdraw-all-rewards.md +++ b/docs/cli/axelard_tx_distribution_withdraw-all-rewards.md @@ -8,7 +8,7 @@ Withdraw all rewards for a single delegator. Note that if you use this command with --broadcast-mode=sync or --broadcast-mode=async, the max-msgs flag will automatically be set to 0. Example: -$ tx distribution withdraw-all-rewards --from mykey +$ axelard tx distribution withdraw-all-rewards --from mykey ``` axelard tx distribution withdraw-all-rewards [flags] diff --git a/docs/cli/axelard_tx_distribution_withdraw-rewards.md b/docs/cli/axelard_tx_distribution_withdraw-rewards.md index 7df14b9948..9018893a4e 100644 --- a/docs/cli/axelard_tx_distribution_withdraw-rewards.md +++ b/docs/cli/axelard_tx_distribution_withdraw-rewards.md @@ -8,8 +8,8 @@ Withdraw rewards from a given delegation address, and optionally withdraw validator commission if the delegation address given is a validator operator. Example: -$ tx distribution withdraw-rewards axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj --from mykey -$ tx distribution withdraw-rewards axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj --from mykey --commission +$ axelard tx distribution withdraw-rewards axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj --from mykey +$ axelard tx distribution withdraw-rewards axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj --from mykey --commission ``` axelard tx distribution withdraw-rewards [validator-addr] [flags] diff --git a/docs/cli/axelard_tx_feegrant_grant.md b/docs/cli/axelard_tx_feegrant_grant.md index 302c266493..5da3d58fb2 100644 --- a/docs/cli/axelard_tx_feegrant_grant.md +++ b/docs/cli/axelard_tx_feegrant_grant.md @@ -8,9 +8,9 @@ Grant authorization to pay fees from your address. Note, the'--from' flag is ignored as it is implied from \[granter\]. Examples: - tx feegrant grant cosmos1skjw... cosmos1skjw... --spend-limit 100stake --expiration 2022-01-30T15:04:05Z or - tx feegrant grant cosmos1skjw... cosmos1skjw... --spend-limit 100stake --period 3600 --period-limit 10stake --expiration 36000 or - tx feegrant grant cosmos1skjw... cosmos1skjw... --spend-limit 100stake --expiration 2022-01-30T15:04:05Z +axelard tx feegrant grant cosmos1skjw... cosmos1skjw... --spend-limit 100stake --expiration 2022-01-30T15:04:05Z or +axelard tx feegrant grant cosmos1skjw... cosmos1skjw... --spend-limit 100stake --period 3600 --period-limit 10stake --expiration 36000 or +axelard tx feegrant grant cosmos1skjw... cosmos1skjw... --spend-limit 100stake --expiration 2022-01-30T15:04:05Z --allowed-messages "/cosmos.gov.v1beta1.MsgSubmitProposal,/cosmos.gov.v1beta1.MsgVote" ``` diff --git a/docs/cli/axelard_tx_feegrant_revoke.md b/docs/cli/axelard_tx_feegrant_revoke.md index d3398a0420..2c62775750 100644 --- a/docs/cli/axelard_tx_feegrant_revoke.md +++ b/docs/cli/axelard_tx_feegrant_revoke.md @@ -8,7 +8,7 @@ revoke fee grant from a granter to a grantee. Note, the'--from' flag is ignored as it is implied from \[granter\]. Example: -$ tx feegrant revoke cosmos1skj.. cosmos1skj.. +$ axelard tx feegrant revoke cosmos1skj.. cosmos1skj.. ``` axelard tx feegrant revoke [granter] [grantee] [flags] diff --git a/docs/cli/axelard_tx_gov_deposit.md b/docs/cli/axelard_tx_gov_deposit.md index 7b1c57e54b..15eab1cc61 100644 --- a/docs/cli/axelard_tx_gov_deposit.md +++ b/docs/cli/axelard_tx_gov_deposit.md @@ -5,10 +5,10 @@ Deposit tokens for an active proposal ### Synopsis Submit a deposit for an active proposal. You can -find the proposal-id by running " query gov proposals". +find the proposal-id by running "axelard query gov proposals". Example: -$ tx gov deposit 1 10stake --from mykey +$ axelard tx gov deposit 1 10stake --from mykey ``` axelard tx gov deposit [proposal-id] [deposit] [flags] diff --git a/docs/cli/axelard_tx_gov_submit-proposal.md b/docs/cli/axelard_tx_gov_submit-proposal.md index 9e2600bb9b..0758fad2d1 100644 --- a/docs/cli/axelard_tx_gov_submit-proposal.md +++ b/docs/cli/axelard_tx_gov_submit-proposal.md @@ -8,7 +8,7 @@ Submit a proposal along with an initial deposit. Proposal title, description, type and deposit can be given directly or through a proposal JSON file. Example: -$ tx gov submit-proposal --proposal="path/to/proposal.json" --from mykey +$ axelard tx gov submit-proposal --proposal="path/to/proposal.json" --from mykey Where proposal.json contains: @@ -21,7 +21,7 @@ Where proposal.json contains: Which is equivalent to: -$ tx gov submit-proposal --title="Test Proposal" --description="My awesome proposal" --type="Text" --deposit="10test" --from mykey +$ axelard tx gov submit-proposal --title="Test Proposal" --description="My awesome proposal" --type="Text" --deposit="10test" --from mykey ``` axelard tx gov submit-proposal [flags] @@ -74,8 +74,20 @@ axelard tx gov submit-proposal [flags] - [axelard tx gov](axelard_tx_gov.md) - Governance transactions subcommands - [axelard tx gov submit-proposal call-contracts](axelard_tx_gov_submit-proposal_call-contracts.md) - Submit a call contracts proposal - [axelard tx gov submit-proposal cancel-software-upgrade](axelard_tx_gov_submit-proposal_cancel-software-upgrade.md) - Cancel the current software upgrade proposal +- [axelard tx gov submit-proposal clear-contract-admin](axelard_tx_gov_submit-proposal_clear-contract-admin.md) - Submit a clear admin for a contract to prevent further migrations proposal - [axelard tx gov submit-proposal community-pool-spend](axelard_tx_gov_submit-proposal_community-pool-spend.md) - Submit a community pool spend proposal +- [axelard tx gov submit-proposal execute-contract](axelard_tx_gov_submit-proposal_execute-contract.md) - Submit a execute wasm contract proposal (run by any address) - [axelard tx gov submit-proposal ibc-upgrade](axelard_tx_gov_submit-proposal_ibc-upgrade.md) - Submit an IBC upgrade proposal +- [axelard tx gov submit-proposal instantiate-contract](axelard_tx_gov_submit-proposal_instantiate-contract.md) - Submit an instantiate wasm contract proposal +- [axelard tx gov submit-proposal instantiate-contract-2](axelard_tx_gov_submit-proposal_instantiate-contract-2.md) - Submit an instantiate wasm contract proposal with predictable address +- [axelard tx gov submit-proposal migrate-contract](axelard_tx_gov_submit-proposal_migrate-contract.md) - Submit a migrate wasm contract to a new code version proposal - [axelard tx gov submit-proposal param-change](axelard_tx_gov_submit-proposal_param-change.md) - Submit a parameter change proposal +- [axelard tx gov submit-proposal pin-codes](axelard_tx_gov_submit-proposal_pin-codes.md) - Submit a pin code proposal for pinning a code to cache +- [axelard tx gov submit-proposal set-contract-admin](axelard_tx_gov_submit-proposal_set-contract-admin.md) - Submit a new admin for a contract proposal - [axelard tx gov submit-proposal software-upgrade](axelard_tx_gov_submit-proposal_software-upgrade.md) - Submit a software upgrade proposal +- [axelard tx gov submit-proposal store-instantiate](axelard_tx_gov_submit-proposal_store-instantiate.md) - Submit and instantiate a wasm contract proposal +- [axelard tx gov submit-proposal sudo-contract](axelard_tx_gov_submit-proposal_sudo-contract.md) - Submit a sudo wasm contract proposal (to call privileged commands) +- [axelard tx gov submit-proposal unpin-codes](axelard_tx_gov_submit-proposal_unpin-codes.md) - Submit a unpin code proposal for unpinning a code to cache - [axelard tx gov submit-proposal update-client](axelard_tx_gov_submit-proposal_update-client.md) - Submit an update IBC client proposal +- [axelard tx gov submit-proposal update-instantiate-config](axelard_tx_gov_submit-proposal_update-instantiate-config.md) - Submit an update instantiate config proposal. +- [axelard tx gov submit-proposal wasm-store](axelard_tx_gov_submit-proposal_wasm-store.md) - Submit a wasm binary proposal diff --git a/docs/cli/axelard_tx_gov_submit-proposal_call-contracts.md b/docs/cli/axelard_tx_gov_submit-proposal_call-contracts.md index 57d1dd174c..74f298ce3b 100644 --- a/docs/cli/axelard_tx_gov_submit-proposal_call-contracts.md +++ b/docs/cli/axelard_tx_gov_submit-proposal_call-contracts.md @@ -9,7 +9,7 @@ The proposal details must be supplied via a JSON file. For values that contains objects, only non-empty fields will be updated. Example: -$ tx gov submit-proposal call-contracts \ +$ axelard tx gov submit-proposal call-contracts \ Where proposal.json contains: diff --git a/docs/cli/axelard_tx_gov_submit-proposal_clear-contract-admin.md b/docs/cli/axelard_tx_gov_submit-proposal_clear-contract-admin.md new file mode 100644 index 0000000000..96bd3da2cc --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_clear-contract-admin.md @@ -0,0 +1,51 @@ +## axelard tx gov submit-proposal clear-contract-admin + +Submit a clear admin for a contract to prevent further migrations proposal + +``` +axelard tx gov submit-proposal clear-contract-admin [contract_addr_bech32] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for clear-contract-admin + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_community-pool-spend.md b/docs/cli/axelard_tx_gov_submit-proposal_community-pool-spend.md index e7277d456a..87c1950ae2 100644 --- a/docs/cli/axelard_tx_gov_submit-proposal_community-pool-spend.md +++ b/docs/cli/axelard_tx_gov_submit-proposal_community-pool-spend.md @@ -8,7 +8,7 @@ Submit a community pool spend proposal along with an initial deposit. The proposal details must be supplied via a JSON file. Example: -$ tx gov submit-proposal community-pool-spend \ --from=\ +$ axelard tx gov submit-proposal community-pool-spend \ --from=\ Where proposal.json contains: diff --git a/docs/cli/axelard_tx_gov_submit-proposal_execute-contract.md b/docs/cli/axelard_tx_gov_submit-proposal_execute-contract.md new file mode 100644 index 0000000000..55d2957408 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_execute-contract.md @@ -0,0 +1,53 @@ +## axelard tx gov submit-proposal execute-contract + +Submit a execute wasm contract proposal (run by any address) + +``` +axelard tx gov submit-proposal execute-contract [contract_addr_bech32] [json_encoded_migration_args] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --amount string Coins to send to the contract during instantiation + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for execute-contract + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + --run-as string The address that is passed as sender to the contract on proposal execution + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_instantiate-contract-2.md b/docs/cli/axelard_tx_gov_submit-proposal_instantiate-contract-2.md new file mode 100644 index 0000000000..2e4ed53525 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_instantiate-contract-2.md @@ -0,0 +1,60 @@ +## axelard tx gov submit-proposal instantiate-contract-2 + +Submit an instantiate wasm contract proposal with predictable address + +``` +axelard tx gov submit-proposal instantiate-contract-2 [code_id_int64] [json_encoded_init_args] [salt] --label [text] --title [text] --description [text] --run-as [address] --admin [address,optional] --amount [coins,optional] --fix-msg [bool,optional] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --admin string Address of an admin + --amount string Coins to send to the contract during instantiation + --ascii ascii encoded salt + --b64 base64 encoded salt + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --fix-msg An optional flag to include the json_encoded_init_args for the predictable address generation mode + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for instantiate-contract-2 + --hex hex encoded salt + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --label string A human-readable name for this contract in lists + --ledger Use a connected Ledger device + --no-admin You must set this explicitly if you don't want an admin + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + --run-as string The address that pays the init funds. It is the creator of the contract and passed to the contract as sender on proposal execution + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_instantiate-contract.md b/docs/cli/axelard_tx_gov_submit-proposal_instantiate-contract.md new file mode 100644 index 0000000000..3199fa6388 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_instantiate-contract.md @@ -0,0 +1,56 @@ +## axelard tx gov submit-proposal instantiate-contract + +Submit an instantiate wasm contract proposal + +``` +axelard tx gov submit-proposal instantiate-contract [code_id_int64] [json_encoded_init_args] --label [text] --title [text] --description [text] --run-as [address] --admin [address,optional] --amount [coins,optional] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --admin string Address or key name of an admin + --amount string Coins to send to the contract during instantiation + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for instantiate-contract + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --label string A human-readable name for this contract in lists + --ledger Use a connected Ledger device + --no-admin You must set this explicitly if you don't want an admin + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + --run-as string The address that pays the init funds. It is the creator of the contract and passed to the contract as sender on proposal execution + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_migrate-contract.md b/docs/cli/axelard_tx_gov_submit-proposal_migrate-contract.md new file mode 100644 index 0000000000..2b5f4d44d5 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_migrate-contract.md @@ -0,0 +1,51 @@ +## axelard tx gov submit-proposal migrate-contract + +Submit a migrate wasm contract to a new code version proposal + +``` +axelard tx gov submit-proposal migrate-contract [contract_addr_bech32] [new_code_id_int64] [json_encoded_migration_args] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for migrate-contract + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_param-change.md b/docs/cli/axelard_tx_gov_submit-proposal_param-change.md index 58a0b9116c..dfb083da2f 100644 --- a/docs/cli/axelard_tx_gov_submit-proposal_param-change.md +++ b/docs/cli/axelard_tx_gov_submit-proposal_param-change.md @@ -17,7 +17,7 @@ Proper vetting of a parameter change proposal should prevent this from happening regardless. Example: -$ tx gov submit-proposal param-change \ --from=\ +$ axelard tx gov submit-proposal param-change \ --from=\ Where proposal.json contains: diff --git a/docs/cli/axelard_tx_gov_submit-proposal_pin-codes.md b/docs/cli/axelard_tx_gov_submit-proposal_pin-codes.md new file mode 100644 index 0000000000..8dd361b2b6 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_pin-codes.md @@ -0,0 +1,51 @@ +## axelard tx gov submit-proposal pin-codes + +Submit a pin code proposal for pinning a code to cache + +``` +axelard tx gov submit-proposal pin-codes [code-ids] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for pin-codes + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_set-contract-admin.md b/docs/cli/axelard_tx_gov_submit-proposal_set-contract-admin.md new file mode 100644 index 0000000000..94eaf688c0 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_set-contract-admin.md @@ -0,0 +1,51 @@ +## axelard tx gov submit-proposal set-contract-admin + +Submit a new admin for a contract proposal + +``` +axelard tx gov submit-proposal set-contract-admin [contract_addr_bech32] [new_admin_addr_bech32] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for set-contract-admin + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_store-instantiate.md b/docs/cli/axelard_tx_gov_submit-proposal_store-instantiate.md new file mode 100644 index 0000000000..629d5e691b --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_store-instantiate.md @@ -0,0 +1,64 @@ +## axelard tx gov submit-proposal store-instantiate + +Submit and instantiate a wasm contract proposal + +``` +axelard tx gov submit-proposal store-instantiate [wasm file] [json_encoded_init_args] --label [text] --title [text] --description [text] --run-as [address]--unpin-code [unpin_code,optional] --source [source,optional] --builder [builder,optional] --code-hash [code_hash,optional] --admin [address,optional] --amount [coins,optional] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --admin string Address or key name of an admin + --amount string Coins to send to the contract during instantiation + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --builder string Builder is a valid docker image name with tag, such as "cosmwasm/workspace-optimizer:0.12.9" + --code-hash bytesHex CodeHash is the sha256 hash of the wasm code + --code-source-url string Code Source URL is a valid absolute HTTPS URI to the contract's source code, + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for store-instantiate + --instantiate-anyof-addresses strings Any of the addresses can instantiate a contract from the code, optional + --instantiate-everybody string Everybody can instantiate a contract from the code, optional + --instantiate-nobody string Nobody except the governance process can instantiate a contract from the code, optional + --instantiate-only-address string Removed: use instantiate-anyof-addresses instead + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --label string A human-readable name for this contract in lists + --ledger Use a connected Ledger device + --no-admin You must set this explicitly if you don't want an admin + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + --run-as string The address that is stored as code creator. It is the creator of the contract and passed to the contract as sender on proposal execution + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + --unpin-code Unpin code on upload, optional + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_sudo-contract.md b/docs/cli/axelard_tx_gov_submit-proposal_sudo-contract.md new file mode 100644 index 0000000000..4cf978fd6f --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_sudo-contract.md @@ -0,0 +1,51 @@ +## axelard tx gov submit-proposal sudo-contract + +Submit a sudo wasm contract proposal (to call privileged commands) + +``` +axelard tx gov submit-proposal sudo-contract [contract_addr_bech32] [json_encoded_migration_args] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for sudo-contract + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_unpin-codes.md b/docs/cli/axelard_tx_gov_submit-proposal_unpin-codes.md new file mode 100644 index 0000000000..5cacd2d25a --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_unpin-codes.md @@ -0,0 +1,51 @@ +## axelard tx gov submit-proposal unpin-codes + +Submit a unpin code proposal for unpinning a code to cache + +``` +axelard tx gov submit-proposal unpin-codes [code-ids] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for unpin-codes + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_update-instantiate-config.md b/docs/cli/axelard_tx_gov_submit-proposal_update-instantiate-config.md new file mode 100644 index 0000000000..cc43b33870 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_update-instantiate-config.md @@ -0,0 +1,58 @@ +## axelard tx gov submit-proposal update-instantiate-config + +Submit an update instantiate config proposal. + +### Synopsis + +Submit an update instantiate config proposal for multiple code ids. + +Example: +$ axelard tx gov submit-proposal update-instantiate-config 1:nobody 2:everybody 3:axelar1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm,axelar1vx8knpllrj7n963p9ttd80w47kpacrhuts497x + +``` +axelard tx gov submit-proposal update-instantiate-config [code-id:permission]... [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for update-instantiate-config + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_submit-proposal_wasm-store.md b/docs/cli/axelard_tx_gov_submit-proposal_wasm-store.md new file mode 100644 index 0000000000..468be057a7 --- /dev/null +++ b/docs/cli/axelard_tx_gov_submit-proposal_wasm-store.md @@ -0,0 +1,60 @@ +## axelard tx gov submit-proposal wasm-store + +Submit a wasm binary proposal + +``` +axelard tx gov submit-proposal wasm-store [wasm file] --title [text] --description [text] --run-as [address] --unpin-code [unpin_code] --source [source] --builder [builder] --code-hash [code_hash] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --builder string Builder is a valid docker image name with tag, such as "cosmwasm/workspace-optimizer:0.12.9" + --code-hash bytesHex CodeHash is the sha256 hash of the wasm code + --code-source-url string Code Source URL is a valid absolute HTTPS URI to the contract's source code, + --deposit string Deposit of proposal + --description string Description of proposal + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for wasm-store + --instantiate-anyof-addresses strings Any of the addresses can instantiate a contract from the code, optional + --instantiate-everybody string Everybody can instantiate a contract from the code, optional + --instantiate-nobody string Nobody except the governance process can instantiate a contract from the code, optional + --instantiate-only-address string Removed: use instantiate-anyof-addresses instead + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + --run-as string The address that is stored as code creator + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + --title string Title of proposal + --unpin-code Unpin code on upload, optional + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx gov submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit diff --git a/docs/cli/axelard_tx_gov_vote.md b/docs/cli/axelard_tx_gov_vote.md index bfa722db73..271631d4c6 100644 --- a/docs/cli/axelard_tx_gov_vote.md +++ b/docs/cli/axelard_tx_gov_vote.md @@ -5,10 +5,10 @@ Vote for an active proposal, options: yes/no/no_with_veto/abstain ### Synopsis Submit a vote for an active proposal. You can -find the proposal-id by running " query gov proposals". +find the proposal-id by running "axelard query gov proposals". Example: -$ tx gov vote 1 yes --from mykey +$ axelard tx gov vote 1 yes --from mykey ``` axelard tx gov vote [proposal-id] [option] [flags] diff --git a/docs/cli/axelard_tx_gov_weighted-vote.md b/docs/cli/axelard_tx_gov_weighted-vote.md index 518d77d794..383e426bd1 100644 --- a/docs/cli/axelard_tx_gov_weighted-vote.md +++ b/docs/cli/axelard_tx_gov_weighted-vote.md @@ -5,10 +5,10 @@ Vote for an active proposal, options: yes/no/no_with_veto/abstain ### Synopsis Submit a vote for an active proposal. You can -find the proposal-id by running " query gov proposals". +find the proposal-id by running "axelard query gov proposals". Example: -$ tx gov weighted-vote 1 yes=0.6,no=0.3,abstain=0.05,no_with_veto=0.05 --from mykey +$ axelard tx gov weighted-vote 1 yes=0.6,no=0.3,abstain=0.05,no_with_veto=0.05 --from mykey ``` axelard tx gov weighted-vote [proposal-id] [weighted-options] [flags] diff --git a/docs/cli/axelard_tx_ibc-transfer_transfer.md b/docs/cli/axelard_tx_ibc-transfer_transfer.md index a6adff2ffd..33feb2df0a 100644 --- a/docs/cli/axelard_tx_ibc-transfer_transfer.md +++ b/docs/cli/axelard_tx_ibc-transfer_transfer.md @@ -18,7 +18,7 @@ axelard tx ibc-transfer transfer [src-port] [src-channel] [receiver] [amount] [f ### Examples ``` - tx ibc-transfer transfer [src-port] [src-channel] [receiver] [amount] +axelard tx ibc-transfer transfer [src-port] [src-channel] [receiver] [amount] ``` ### Options diff --git a/docs/cli/axelard_tx_ibc_client_create.md b/docs/cli/axelard_tx_ibc_client_create.md index db81abdcc6..aa8e455fc1 100644 --- a/docs/cli/axelard_tx_ibc_client_create.md +++ b/docs/cli/axelard_tx_ibc_client_create.md @@ -15,7 +15,7 @@ axelard tx ibc client create [path/to/client_state.json] [path/to/consensus_stat ### Examples ``` - tx ibc client create [path/to/client_state.json] [path/to/consensus_state.json] --from node0 --home ../node0/cli --chain-id $CID +axelard tx ibc client create [path/to/client_state.json] [path/to/consensus_state.json] --from node0 --home ../node0/cli --chain-id $CID ``` ### Options diff --git a/docs/cli/axelard_tx_ibc_client_misbehaviour.md b/docs/cli/axelard_tx_ibc_client_misbehaviour.md index 718be02681..77a22efc71 100644 --- a/docs/cli/axelard_tx_ibc_client_misbehaviour.md +++ b/docs/cli/axelard_tx_ibc_client_misbehaviour.md @@ -13,7 +13,7 @@ axelard tx ibc client misbehaviour [path/to/misbehaviour.json] [flags] ### Examples ``` - tx ibc client misbehaviour [path/to/misbehaviour.json] --from node0 --home ../node0/cli --chain-id $CID +axelard tx ibc client misbehaviour [path/to/misbehaviour.json] --from node0 --home ../node0/cli --chain-id $CID ``` ### Options diff --git a/docs/cli/axelard_tx_ibc_client_update.md b/docs/cli/axelard_tx_ibc_client_update.md index f93bbb55ce..0ee8f89f37 100644 --- a/docs/cli/axelard_tx_ibc_client_update.md +++ b/docs/cli/axelard_tx_ibc_client_update.md @@ -13,7 +13,7 @@ axelard tx ibc client update [client-id] [path/to/header.json] [flags] ### Examples ``` - tx ibc client update [client-id] [path/to/header.json] --from node0 --home ../node0/cli --chain-id $CID +axelard tx ibc client update [client-id] [path/to/header.json] --from node0 --home ../node0/cli --chain-id $CID ``` ### Options diff --git a/docs/cli/axelard_tx_ibc_client_upgrade.md b/docs/cli/axelard_tx_ibc_client_upgrade.md index 89deeb4ac2..a9ccf0e535 100644 --- a/docs/cli/axelard_tx_ibc_client_upgrade.md +++ b/docs/cli/axelard_tx_ibc_client_upgrade.md @@ -15,7 +15,7 @@ axelard tx ibc client upgrade [client-identifier] [path/to/client_state.json] [p ### Examples ``` - tx ibc client upgrade [client-identifier] [path/to/client_state.json] [path/to/consensus_state.json] [client-state-proof] [consensus-state-proof] --from node0 --home ../node0/cli --chain-id $CID +axelard tx ibc client upgrade [client-identifier] [path/to/client_state.json] [path/to/consensus_state.json] [client-state-proof] [consensus-state-proof] --from node0 --home ../node0/cli --chain-id $CID ``` ### Options diff --git a/docs/cli/axelard_tx_multisign-batch.md b/docs/cli/axelard_tx_multisign-batch.md index a94f0de785..d9510374a3 100644 --- a/docs/cli/axelard_tx_multisign-batch.md +++ b/docs/cli/axelard_tx_multisign-batch.md @@ -10,7 +10,7 @@ Read one or more signatures from one or more \[signature\] file, generate a mult multisig key \[name\], and attach the key name to the transaction read from \[file\]. Example: -$ tx multisign-batch transactions.json multisigk1k2k3 k1sigs.json k2sigs.json k3sig.json +$ axelard tx multisign-batch transactions.json multisigk1k2k3 k1sigs.json k2sigs.json k3sig.json The current multisig implementation defaults to amino-json sign mode. The SIGN_MODE_DIRECT sign mode is not supported.' diff --git a/docs/cli/axelard_tx_multisign.md b/docs/cli/axelard_tx_multisign.md index baf6f55337..3f86ab65c2 100644 --- a/docs/cli/axelard_tx_multisign.md +++ b/docs/cli/axelard_tx_multisign.md @@ -10,7 +10,7 @@ Read one or more signatures from one or more \[signature\] file, generate a mult multisig key \[name\], and attach the key name to the transaction read from \[file\]. Example: -$ tx multisign transaction.json k1k2k3 k1sig.json k2sig.json k3sig.json +$ axelard tx multisign transaction.json k1k2k3 k1sig.json k2sig.json k3sig.json If --signature-only flag is on, output a JSON representation of only the generated signature. diff --git a/docs/cli/axelard_tx_staking_delegate.md b/docs/cli/axelard_tx_staking_delegate.md index 03a768b73f..e46a23f863 100644 --- a/docs/cli/axelard_tx_staking_delegate.md +++ b/docs/cli/axelard_tx_staking_delegate.md @@ -7,7 +7,7 @@ Delegate liquid tokens to a validator Delegate an amount of liquid coins to a validator from your wallet. Example: -$ tx staking delegate axelarvaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey +$ axelard tx staking delegate axelarvaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 1000stake --from mykey ``` axelard tx staking delegate [validator-addr] [amount] [flags] diff --git a/docs/cli/axelard_tx_staking_redelegate.md b/docs/cli/axelard_tx_staking_redelegate.md index cb8645f0d3..dc85546557 100644 --- a/docs/cli/axelard_tx_staking_redelegate.md +++ b/docs/cli/axelard_tx_staking_redelegate.md @@ -7,7 +7,7 @@ Redelegate illiquid tokens from one validator to another Redelegate an amount of illiquid staking tokens from one validator to another. Example: -$ tx staking redelegate axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj axelarvaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 100stake --from mykey +$ axelard tx staking redelegate axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj axelarvaloper1l2rsakp388kuv9k8qzq6lrm9taddae7fpx59wm 100stake --from mykey ``` axelard tx staking redelegate [src-validator-addr] [dst-validator-addr] [amount] [flags] diff --git a/docs/cli/axelard_tx_staking_unbond.md b/docs/cli/axelard_tx_staking_unbond.md index cc696f66cf..15d3e609a0 100644 --- a/docs/cli/axelard_tx_staking_unbond.md +++ b/docs/cli/axelard_tx_staking_unbond.md @@ -7,7 +7,7 @@ Unbond shares from a validator Unbond an amount of bonded shares from a validator. Example: -$ tx staking unbond axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 100stake --from mykey +$ axelard tx staking unbond axelarvaloper1gghjut3ccd8ay0zduzj64hwre2fxs9ldmqhffj 100stake --from mykey ``` axelard tx staking unbond [validator-addr] [amount] [flags] diff --git a/docs/cli/axelard_tx_wasm.md b/docs/cli/axelard_tx_wasm.md new file mode 100644 index 0000000000..b6463bb59e --- /dev/null +++ b/docs/cli/axelard_tx_wasm.md @@ -0,0 +1,37 @@ +## axelard tx wasm + +Wasm transaction subcommands + +``` +axelard tx wasm [flags] +``` + +### Options + +``` + -h, --help help for wasm +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --output string Output format (text|json) (default "text") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx](axelard_tx.md) - Transactions subcommands +- [axelard tx wasm clear-contract-admin](axelard_tx_wasm_clear-contract-admin.md) - Clears admin for a contract to prevent further migrations +- [axelard tx wasm execute](axelard_tx_wasm_execute.md) - Execute a command on a wasm contract +- [axelard tx wasm grant](axelard_tx_wasm_grant.md) - Grant authorization to an address +- [axelard tx wasm instantiate](axelard_tx_wasm_instantiate.md) - Instantiate a wasm contract +- [axelard tx wasm instantiate2](axelard_tx_wasm_instantiate2.md) - Instantiate a wasm contract with predictable address +- [axelard tx wasm migrate](axelard_tx_wasm_migrate.md) - Migrate a wasm contract to a new code version +- [axelard tx wasm set-contract-admin](axelard_tx_wasm_set-contract-admin.md) - Set new admin for a contract +- [axelard tx wasm store](axelard_tx_wasm_store.md) - Upload a wasm binary +- [axelard tx wasm update-instantiate-config](axelard_tx_wasm_update-instantiate-config.md) - Update instantiate config for a codeID diff --git a/docs/cli/axelard_tx_wasm_clear-contract-admin.md b/docs/cli/axelard_tx_wasm_clear-contract-admin.md new file mode 100644 index 0000000000..5d79aede06 --- /dev/null +++ b/docs/cli/axelard_tx_wasm_clear-contract-admin.md @@ -0,0 +1,48 @@ +## axelard tx wasm clear-contract-admin + +Clears admin for a contract to prevent further migrations + +``` +axelard tx wasm clear-contract-admin [contract_addr_bech32] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for clear-contract-admin + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_execute.md b/docs/cli/axelard_tx_wasm_execute.md new file mode 100644 index 0000000000..3eff82ee6d --- /dev/null +++ b/docs/cli/axelard_tx_wasm_execute.md @@ -0,0 +1,49 @@ +## axelard tx wasm execute + +Execute a command on a wasm contract + +``` +axelard tx wasm execute [contract_addr_bech32] [json_encoded_send_args] --amount [coins,optional] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --amount string Coins to send to the contract along with command + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for execute + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_grant.md b/docs/cli/axelard_tx_wasm_grant.md new file mode 100644 index 0000000000..017bbbc783 --- /dev/null +++ b/docs/cli/axelard_tx_wasm_grant.md @@ -0,0 +1,65 @@ +## axelard tx wasm grant + +Grant authorization to an address + +### Synopsis + +Grant authorization to an address. +Examples: +$ axelard tx grant \ execution \ --allow-all-messages --max-calls 1 --no-token-transfer --expiration 1667979596 + +$ axelard tx grant \ execution \ --allow-all-messages --max-funds 100000uwasm --expiration 1667979596 + +$ axelard tx grant \ execution \ --allow-all-messages --max-calls 5 --max-funds 100000uwasm --expiration 1667979596 + +``` +axelard tx wasm grant [grantee] [message_type="execution"|"migration"] [contract_addr_bech32] --allow-raw-msgs [msg1,msg2,...] --allow-msg-keys [key1,key2,...] --allow-all-messages [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --allow-all-messages Allow all messages + --allow-msg-keys strings Allowed msg keys + --allow-raw-msgs strings Allowed raw msgs + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --expiration int The Unix timestamp. + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for grant + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --max-calls uint Maximal number of calls to the contract + --max-funds string Maximal amount of tokens transferable to the contract. + --no-token-transfer Don't allow token transfer + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_instantiate.md b/docs/cli/axelard_tx_wasm_instantiate.md new file mode 100644 index 0000000000..ad7a43427a --- /dev/null +++ b/docs/cli/axelard_tx_wasm_instantiate.md @@ -0,0 +1,60 @@ +## axelard tx wasm instantiate + +Instantiate a wasm contract + +### Synopsis + +Creates a new instance of an uploaded wasm code with the given 'constructor' message. +Each contract instance has a unique address assigned. +Example: +$ axelard tx wasm instantiate 1 '{"foo":"bar"}' --admin="$(axelard keys show mykey -a)" \ +--from mykey --amount="100ustake" --label "local0.1.0" + +``` +axelard tx wasm instantiate [code_id_int64] [json_encoded_init_args] --label [text] --admin [address,optional] --amount [coins,optional] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --admin string Address or key name of an admin + --amount string Coins to send to the contract during instantiation + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for instantiate + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --label string A human-readable name for this contract in lists + --ledger Use a connected Ledger device + --no-admin You must set this explicitly if you don't want an admin + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_instantiate2.md b/docs/cli/axelard_tx_wasm_instantiate2.md new file mode 100644 index 0000000000..f1715dda2a --- /dev/null +++ b/docs/cli/axelard_tx_wasm_instantiate2.md @@ -0,0 +1,67 @@ +## axelard tx wasm instantiate2 + +Instantiate a wasm contract with predictable address + +### Synopsis + +Creates a new instance of an uploaded wasm code with the given 'constructor' message. +Each contract instance has a unique address assigned. They are assigned automatically but in order to have predictable addresses +for special use cases, the given 'salt' argument and '--fix-msg' parameters can be used to generate a custom address. + +Predictable address example (also see 'axelard query wasm build-address -h'): +$ axelard tx wasm instantiate2 1 '{"foo":"bar"}' $(echo -n "testing" | xxd -ps) --admin="$(axelard keys show mykey -a)" \ +--from mykey --amount="100ustake" --label "local0.1.0" \ +--fix-msg + +``` +axelard tx wasm instantiate2 [code_id_int64] [json_encoded_init_args] [salt] --label [text] --admin [address,optional] --amount [coins,optional] --fix-msg [bool,optional] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + --admin string Address or key name of an admin + --amount string Coins to send to the contract during instantiation + --ascii ascii encoded salt + --b64 base64 encoded salt + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --fix-msg An optional flag to include the json_encoded_init_args for the predictable address generation mode + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for instantiate2 + --hex hex encoded salt + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --label string A human-readable name for this contract in lists + --ledger Use a connected Ledger device + --no-admin You must set this explicitly if you don't want an admin + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_migrate.md b/docs/cli/axelard_tx_wasm_migrate.md new file mode 100644 index 0000000000..9eb34afd2c --- /dev/null +++ b/docs/cli/axelard_tx_wasm_migrate.md @@ -0,0 +1,48 @@ +## axelard tx wasm migrate + +Migrate a wasm contract to a new code version + +``` +axelard tx wasm migrate [contract_addr_bech32] [new_code_id_int64] [json_encoded_migration_args] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for migrate + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_set-contract-admin.md b/docs/cli/axelard_tx_wasm_set-contract-admin.md new file mode 100644 index 0000000000..650e1fd2a0 --- /dev/null +++ b/docs/cli/axelard_tx_wasm_set-contract-admin.md @@ -0,0 +1,48 @@ +## axelard tx wasm set-contract-admin + +Set new admin for a contract + +``` +axelard tx wasm set-contract-admin [contract_addr_bech32] [new_admin_addr_bech32] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for set-contract-admin + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_store.md b/docs/cli/axelard_tx_wasm_store.md new file mode 100644 index 0000000000..c48a53f2de --- /dev/null +++ b/docs/cli/axelard_tx_wasm_store.md @@ -0,0 +1,52 @@ +## axelard tx wasm store + +Upload a wasm binary + +``` +axelard tx wasm store [wasm file] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for store + --instantiate-anyof-addresses strings Any of the addresses can instantiate a contract from the code, optional + --instantiate-everybody string Everybody can instantiate a contract from the code, optional + --instantiate-nobody string Nobody except the governance process can instantiate a contract from the code, optional + --instantiate-only-address string Removed: use instantiate-anyof-addresses instead + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/axelard_tx_wasm_update-instantiate-config.md b/docs/cli/axelard_tx_wasm_update-instantiate-config.md new file mode 100644 index 0000000000..8e97eb5924 --- /dev/null +++ b/docs/cli/axelard_tx_wasm_update-instantiate-config.md @@ -0,0 +1,52 @@ +## axelard tx wasm update-instantiate-config + +Update instantiate config for a codeID + +``` +axelard tx wasm update-instantiate-config [code_id_int64] [flags] +``` + +### Options + +``` + -a, --account-number uint The account number of the signing account (offline mode only) + -b, --broadcast-mode string Transaction broadcasting mode (sync|async|block) (default "block") + --dry-run ignore the --gas flag and perform a simulation of a transaction, but don't broadcast it (when enabled, the local Keybase is not accessible) + --fee-account string Fee account pays fees for the transaction instead of deducting from the signer + --fees string Fees to pay along with transaction; eg: 10uatom + --from string Name or address of private key with which to sign + --gas string gas limit to set per-transaction; set to "auto" to calculate sufficient gas automatically (default 200000) + --gas-adjustment float adjustment factor to be multiplied against the estimate returned by the tx simulation; if the gas limit is set manually this flag is ignored (default 1) + --gas-prices string Gas prices in decimal format to determine the transaction fee (e.g. 0.1uatom) (default "0.007uaxl") + --generate-only Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible) + -h, --help help for update-instantiate-config + --instantiate-anyof-addresses strings Any of the addresses can instantiate a contract from the code, optional + --instantiate-everybody string Everybody can instantiate a contract from the code, optional + --instantiate-nobody string Nobody except the governance process can instantiate a contract from the code, optional + --instantiate-only-address string Removed: use instantiate-anyof-addresses instead + --keyring-backend string Select keyring's backend (os|file|kwallet|pass|test|memory) (default "file") + --keyring-dir string The client Keyring directory; if omitted, the default 'home' directory will be used + --ledger Use a connected Ledger device + --node string : to tendermint rpc interface for this chain (default "tcp://localhost:26657") + --note string Note to add a description to the transaction (previously --memo) + --offline Offline mode (does not allow any online functionality + -o, --output string Output format (text|json) (default "json") + -s, --sequence uint The sequence number of the signing account (offline mode only) + --sign-mode string Choose sign mode (direct|amino-json), this is an advanced feature + --timeout-height uint Set a block timeout height to prevent the tx from being committed past a certain height + -y, --yes Skip tx broadcasting prompt confirmation (default true) +``` + +### Options inherited from parent commands + +``` + --chain-id string The network chain ID (default "axelar") + --home string directory for config and data (default "$HOME/.axelar") + --log_format string The logging format (json|plain) (default "plain") + --log_level string The logging level (trace|debug|info|warn|error|fatal|panic) (default "info") + --trace print out full stack trace on errors +``` + +### SEE ALSO + +- [axelard tx wasm](axelard_tx_wasm.md) - Wasm transaction subcommands diff --git a/docs/cli/toc.md b/docs/cli/toc.md index cc99d10890..f8b06d0b78 100644 --- a/docs/cli/toc.md +++ b/docs/cli/toc.md @@ -178,6 +178,22 @@ - [plan](axelard_query_upgrade_plan.md) - get upgrade plan (if one exists) - [vote](axelard_query_vote.md) - Querying commands for the vote module - [params](axelard_query_vote_params.md) - Returns the params for the vote module + - [wasm](axelard_query_wasm.md) - Querying commands for the wasm module + - [build-address \[code-hash\] \[creator-address\] \[salt-hex-encoded\] \[json_encoded_init_args (required when set as fixed)\]](axelard_query_wasm_build-address.md) - build contract address + - [code \[code_id\] \[output filename\]](axelard_query_wasm_code.md) - Downloads wasm bytecode for given code id + - [code-info \[code_id\]](axelard_query_wasm_code-info.md) - Prints out metadata of a code id + - [contract \[bech32_address\]](axelard_query_wasm_contract.md) - Prints out metadata of a contract given its address + - [contract-history \[bech32_address\]](axelard_query_wasm_contract-history.md) - Prints out the code history for a contract given its address + - [contract-state](axelard_query_wasm_contract-state.md) - Querying commands for the wasm module + - [all \[bech32_address\]](axelard_query_wasm_contract-state_all.md) - Prints out all internal state of a contract given its address + - [raw \[bech32_address\] \[key\]](axelard_query_wasm_contract-state_raw.md) - Prints out internal state for key of a contract given its address + - [smart \[bech32_address\] \[query\]](axelard_query_wasm_contract-state_smart.md) - Calls contract with given address with query data and prints the returned result + - [libwasmvm-version](axelard_query_wasm_libwasmvm-version.md) - Get libwasmvm version + - [list-code](axelard_query_wasm_list-code.md) - List all wasm bytecode on the chain + - [list-contract-by-code \[code_id\]](axelard_query_wasm_list-contract-by-code.md) - List wasm all bytecode on the chain for given code id + - [list-contracts-by-creator \[creator\]](axelard_query_wasm_list-contracts-by-creator.md) - List all contracts by creator + - [params](axelard_query_wasm_params.md) - Query the current wasm parameters + - [pinned](axelard_query_wasm_pinned.md) - List all pinned code ids - [rollback](axelard_rollback.md) - rollback cosmos-sdk and tendermint state by one height - [rosetta](axelard_rosetta.md) - spin up a rosetta server - [set-genesis-auth](axelard_set-genesis-auth.md) - Set the genesis parameters for the auth module @@ -250,11 +266,23 @@ - [submit-proposal](axelard_tx_gov_submit-proposal.md) - Submit a proposal along with an initial deposit - [call-contracts \[proposal-file\]](axelard_tx_gov_submit-proposal_call-contracts.md) - Submit a call contracts proposal - [cancel-software-upgrade \[flags\]](axelard_tx_gov_submit-proposal_cancel-software-upgrade.md) - Cancel the current software upgrade proposal + - [clear-contract-admin \[contract_addr_bech32\]](axelard_tx_gov_submit-proposal_clear-contract-admin.md) - Submit a clear admin for a contract to prevent further migrations proposal - [community-pool-spend \[proposal-file\]](axelard_tx_gov_submit-proposal_community-pool-spend.md) - Submit a community pool spend proposal + - [execute-contract \[contract_addr_bech32\] \[json_encoded_migration_args\]](axelard_tx_gov_submit-proposal_execute-contract.md) - Submit a execute wasm contract proposal (run by any address) - [ibc-upgrade \[name\] \[height\] \[path/to/upgraded_client_state.json\] \[flags\]](axelard_tx_gov_submit-proposal_ibc-upgrade.md) - Submit an IBC upgrade proposal + - [instantiate-contract \[code_id_int64\] \[json_encoded_init_args\] --label \[text\] --title \[text\] --description \[text\] --run-as \[address\] --admin \[address,optional\] --amount \[coins,optional\]](axelard_tx_gov_submit-proposal_instantiate-contract.md) - Submit an instantiate wasm contract proposal + - [instantiate-contract-2 \[code_id_int64\] \[json_encoded_init_args\] \[salt\] --label \[text\] --title \[text\] --description \[text\] --run-as \[address\] --admin \[address,optional\] --amount \[coins,optional\] --fix-msg \[bool,optional\]](axelard_tx_gov_submit-proposal_instantiate-contract-2.md) - Submit an instantiate wasm contract proposal with predictable address + - [migrate-contract \[contract_addr_bech32\] \[new_code_id_int64\] \[json_encoded_migration_args\]](axelard_tx_gov_submit-proposal_migrate-contract.md) - Submit a migrate wasm contract to a new code version proposal - [param-change \[proposal-file\]](axelard_tx_gov_submit-proposal_param-change.md) - Submit a parameter change proposal + - [pin-codes \[code-ids\]](axelard_tx_gov_submit-proposal_pin-codes.md) - Submit a pin code proposal for pinning a code to cache + - [set-contract-admin \[contract_addr_bech32\] \[new_admin_addr_bech32\]](axelard_tx_gov_submit-proposal_set-contract-admin.md) - Submit a new admin for a contract proposal - [software-upgrade \[name\] (--upgrade-height \[height\]) (--upgrade-info \[info\]) \[flags\]](axelard_tx_gov_submit-proposal_software-upgrade.md) - Submit a software upgrade proposal + - [store-instantiate \[wasm file\] \[json_encoded_init_args\] --label \[text\] --title \[text\] --description \[text\] --run-as \[address\]--unpin-code \[unpin_code,optional\] --source \[source,optional\] --builder \[builder,optional\] --code-hash \[code_hash,optional\] --admin \[address,optional\] --amount \[coins,optional\]](axelard_tx_gov_submit-proposal_store-instantiate.md) - Submit and instantiate a wasm contract proposal + - [sudo-contract \[contract_addr_bech32\] \[json_encoded_migration_args\]](axelard_tx_gov_submit-proposal_sudo-contract.md) - Submit a sudo wasm contract proposal (to call privileged commands) + - [unpin-codes \[code-ids\]](axelard_tx_gov_submit-proposal_unpin-codes.md) - Submit a unpin code proposal for unpinning a code to cache - [update-client \[subject-client-id\] \[substitute-client-id\]](axelard_tx_gov_submit-proposal_update-client.md) - Submit an update IBC client proposal + - [update-instantiate-config \[code-id:permission\]...](axelard_tx_gov_submit-proposal_update-instantiate-config.md) - Submit an update instantiate config proposal. + - [wasm-store \[wasm file\] --title \[text\] --description \[text\] --run-as \[address\] --unpin-code \[unpin_code\] --source \[source\] --builder \[builder\] --code-hash \[code_hash\]](axelard_tx_gov_submit-proposal_wasm-store.md) - Submit a wasm binary proposal - [vote \[proposal-id\] \[option\]](axelard_tx_gov_vote.md) - Vote for an active proposal, options: yes/no/no_with_veto/abstain - [weighted-vote \[proposal-id\] \[weighted-options\]](axelard_tx_gov_weighted-vote.md) - Vote for an active proposal, options: yes/no/no_with_veto/abstain - [ibc](axelard_tx_ibc.md) - IBC transaction subcommands @@ -304,6 +332,16 @@ - [create-vesting-account \[to_address\] \[amount\] \[end_time\]](axelard_tx_vesting_create-vesting-account.md) - Create a new vesting account funded with an allocation of tokens. - [vesting](axelard_tx_vesting.md) - Vesting transaction subcommands - [create-vesting-account \[to_address\] \[amount\] \[end_time\]](axelard_tx_vesting_create-vesting-account.md) - Create a new vesting account funded with an allocation of tokens. + - [wasm](axelard_tx_wasm.md) - Wasm transaction subcommands + - [clear-contract-admin \[contract_addr_bech32\]](axelard_tx_wasm_clear-contract-admin.md) - Clears admin for a contract to prevent further migrations + - [execute \[contract_addr_bech32\] \[json_encoded_send_args\] --amount \[coins,optional\]](axelard_tx_wasm_execute.md) - Execute a command on a wasm contract + - [grant \[grantee\] \[message_type="execution"|"migration"\] \[contract_addr_bech32\] --allow-raw-msgs \[msg1,msg2,...\] --allow-msg-keys \[key1,key2,...\] --allow-all-messages](axelard_tx_wasm_grant.md) - Grant authorization to an address + - [instantiate \[code_id_int64\] \[json_encoded_init_args\] --label \[text\] --admin \[address,optional\] --amount \[coins,optional\] ](axelard_tx_wasm_instantiate.md) - Instantiate a wasm contract + - [instantiate2 \[code_id_int64\] \[json_encoded_init_args\] \[salt\] --label \[text\] --admin \[address,optional\] --amount \[coins,optional\] --fix-msg \[bool,optional\]](axelard_tx_wasm_instantiate2.md) - Instantiate a wasm contract with predictable address + - [migrate \[contract_addr_bech32\] \[new_code_id_int64\] \[json_encoded_migration_args\]](axelard_tx_wasm_migrate.md) - Migrate a wasm contract to a new code version + - [set-contract-admin \[contract_addr_bech32\] \[new_admin_addr_bech32\]](axelard_tx_wasm_set-contract-admin.md) - Set new admin for a contract + - [store \[wasm file\]](axelard_tx_wasm_store.md) - Upload a wasm binary + - [update-instantiate-config \[code_id_int64\]](axelard_tx_wasm_update-instantiate-config.md) - Update instantiate config for a codeID - [vald-sign \[key-id\] \[validator-addr\] \[hash to sign\]](axelard_vald-sign.md) - Sign hash with the key corresponding to the key id for the given validator. If unspecified, the public key will be retrieved from the node. - [vald-start](axelard_vald-start.md) - - [validate-genesis \[file\]](axelard_validate-genesis.md) - validates the genesis file at the default location or at the location passed as an arg