Skip to content

Commit

Permalink
Fix bash snippets for adding rewards to pools (#1253)
Browse files Browse the repository at this point in the history
Co-authored-by: Idris Olubisi <[email protected]>
  • Loading branch information
robriks and Olanetsoft authored Dec 12, 2024
1 parent dba3812 commit 6298fa8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/content/docs/dev/amplifier/add-rewards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ Use `add_rewards()` add funds to a pool:

<tab-item title="<code>devnet-amplifier</code>">

```bash export
REWARDS_CONTRACT_ADDRESS="axelar1vaj9sfzc3z0gpel90wu4ljutncutv0wuhvvwfsh30rqxq422z89qnd989l"
export CHAIN_NAME="avalanche" export
VOTING_VERIFIER_OR_MULTISIG_CONTRACT_ADDRESS="axelar1elaymnd2epmfr498h2x9p2nezc4eklv95uv92u9csfs8wl75w7yqdc0h67"
|| "0x7eeE33A59Db27d762AA1Fa31b26efeE0dABa1132" export
RPC="http://devnet-amplifier.axelar.dev:26657" export AMOUNT="1000uamplifier"
```bash
export REWARDS_CONTRACT_ADDRESS="axelar1vaj9sfzc3z0gpel90wu4ljutncutv0wuhvvwfsh30rqxq422z89qnd989l"
export CHAIN_NAME="avalanche"
export VOTING_VERIFIER_OR_MULTISIG_CONTRACT_ADDRESS="axelar1elaymnd2epmfr498h2x9p2nezc4eklv95uv92u9csfs8wl75w7yqdc0h67"
|| "0x7eeE33A59Db27d762AA1Fa31b26efeE0dABa1132"
export RPC="http://devnet-amplifier.axelar.dev:26657"
export AMOUNT="1000uamplifier"
# choose the amount to fund (1000000 = 1 AXL) export
CHAIN_ID="devnet-amplifier"
```
Expand All @@ -94,9 +95,9 @@ axelard tx wasm execute $REWARDS_CONTRACT_ADDRESS \
}
}
}' \
--amount '"$AMOUNT"' \
--amount $AMOUNT \
--keyring-backend test \
--chain-id "'"$CHAIN_ID"'" \
--chain-id $CHAIN_ID \
--from wallet \
--gas auto --gas-adjustment 1.5 --gas-prices 0.007uamplifier \
--node $RPC
Expand Down

0 comments on commit 6298fa8

Please sign in to comment.