Skip to content

Commit

Permalink
fix: add missing params to rewards supply (#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFluin authored Jul 26, 2024
1 parent 84cf0b6 commit de75a52
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/pages/dev/amplifier/add-rewards.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ Use `add_rewards()` add funds to a pool:
export REWARDS_CONTRACT_ADDRESS="axelar1guczj53xxl4347adagh23eelyhnxvugw2nqq0q0dr6kws7q35jyqqnan33"
export CHAIN_NAME="avalanche"
export VOTING_VERIFIER_OR_MULTISIG_CONTRACT_ADDRESS="axelar1elaymnd2epmfr498h2x9p2nezc4eklv95uv92u9csfs8wl75w7yqdc0h67" || "0x7eeE33A59Db27d762AA1Fa31b26efeE0dABa1132"
export RPC="http://devnet-amplifier.axelar.dev:26657"
export RPC="http://devnet-verifiers.axelar.dev:26657"
export AMOUNT="1000uverifiers" # choose the amount to fund (1000000 = 1 AXL)
export CHAIN_ID="devnet-verifiers"
```
</tab-item>

Expand All @@ -79,6 +81,8 @@ Use `add_rewards()` add funds to a pool:
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"
```
</tab-item>

Expand All @@ -100,10 +104,12 @@ axelard tx wasm execute $REWARDS_CONTRACT_ADDRESS \
}
}
}' \
--amount '"$AMOUNT"'
--keyring-backend test \
--chain-id "'"$CHAIN_ID"'"
--from wallet \
--gas auto --gas-adjustment 1.5 --gas-prices 0.007uamplifier \
--node $RPC
```

Anyone can add funds to a rewards pool at any time.
Anyone can add funds to a rewards pool at any time.

0 comments on commit de75a52

Please sign in to comment.