# (vota-ash) Dora Vota Validator Reward Claim Documentation
## Introduction
Dora Vota (vota-ash network) is a zero-inflation network. Therefore, unlike most other PoS networks, vota-ash network's validators will only receive tx fees as native reward. In the early stage of the network, tx fees will be low, so the Dora Factory foundation is going to subsidize the validators enrolled in our delegation program with extra DORA rewards.
The Dora Factory foundation buys DORA tokens from open markets every month with a fixed amount of USD. The DORA tokens will then be burned on the Ethereum network and re-minted on vota-ash network, then distributed to validators' address via a reward smart contract on the vota-ash network.
Dora Vota Validator rewards are distributed through a separate smart contract. Each distribution creates an independent reward sequence set by the administrator, with a grace period set upon creation. Only after the grace period has passed will the corresponding reward sequence become active, allowing the sequence rewards to be claimed.
> By default, Dora Vota Validator Reward sets the validator's owner address as the recipient of the reward. When claiming rewards, validators should execute the claim command through the owner account.

> A new Reward Sequence can only be created after the previous Reward Sequence has become active.
## Environment Setup
1. Prepare the `dorad` binary file
[Get Started with `dorad` · Dora Vota Developer Guide · Dora Factory Documentation](https://docs.dorafactory.org/docs/vota-dev/dorad)
2. Set the reward contract address
```bash
export CONTRACT_ADDR=dora1gpu5j2zwvchy33gdur9ct7dcam2y2t2hzcqsxgczaasrmvzdylas6wdd7s
```
> In **mainnet**, the pending time is set to 5 days, which means that newly created reward sequences need to wait for 5 days before they can be claimed. The reason for setting the pending time is to allow the Dora team enough time to confirm whether the allocation is correct.
## Claim Commands
```bash
# Claim all rewards
dorad tx wasm execute \
$CONTRACT_ADDR \
'{ "claim": { "reward_sequenece_list": null } }' \
--from <your account> --gas-prices 100000000000peaka --gas auto --gas-adjustment 1.5 --chain-id "vota-ash" --node https://vota-rpc.dorafactory.org:443 -y
# Claim rewards for specified sequences
dorad tx wasm execute \
$CONTRACT_ADDR \
'{ "claim": { "reward_sequenece_list": ["1", "4"] } }' \
--from <your account> --gas-prices 100000000000peaka --gas auto --gas-adjustment 1.5 --chain-id "vota-ash" --node https://vota-rpc.dorafactory.org:443 -y
```
## Related Query Commands
```bash
# Query unreceived rewards
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "claims": { "address": "<your account address>", "reward_sequenece_list": null } }' --node https://vota-rpc.dorafactory.org:443
# Query whitelist addresses for a specific sequence
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "get_sequenece_addrs": { "reward_sequenece_index": "1" } }' --node https://vota-rpc.dorafactory.org:443
# Query pending time for a specific sequence
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "get_sequenece_time": { "reward_sequenece_index": "1" } }' --node https://vota-rpc.dorafactory.org:443
# Query airdrop information for a specific sequence
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "get_reward_sequenece": { "reward_sequenece_index": "1" } }' --node https://vota-rpc.dorafactory.org:443
# Query the latest sequence id
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "get_latest_sequenece_id": { } }' --node https://vota-rpc.dorafactory.org:443
# Query contract config
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "get_config": {} }' --node https://vota-rpc.dorafactory.org:443
# Query contract admin
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "admin": {} }' --node https://vota-rpc.dorafactory.org:443
# Query contract operator
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "operator": {} }' --node https://vota-rpc.dorafactory.org:443
# Query contract balance
dorad query wasm contract-state smart \
$CONTRACT_ADDR \
'{ "get_total": {} }' --node https://vota-rpc.dorafactory.org:443
```