2.2.1 Vote on Region Proposal
Vote on region proposal Step-by-Step test guide
Allows whitelisted users to vote on a region proposal. Voting power is based on token balance.
Go to Developer → Extrinsics.
Signer: Any account with enough balance
Extrinsic:
regionsCall:
voteOnRegionProposal(regionid, vote, amount)regionId:
1. This number comes from the chain state of 2.1.1 Propose New Region.Vote:
YesorNoAmount: Any amount with an added 12 zeros because we are voting with XCAV token which has 12 decimals.

Click Submit Transaction → Sign and Submit. Expected:
VotedOnRegionProposalAll voters transactions successful. The results can also be seen in Chain State below.
✅ Check in Chain State:
Developer → (1) Chain State → (2) regions → ongoingRegionProposalVotes → (3) Include option off → (4) Click + Query → updated tallies

Developer → (1) Chain State → (2) regions → userRegionVote) → (3) Include option off → (4) Click + Query → record with power + vote

The result of the record with power + vote enlarged here, which is also the evidence of voters successful transactions:
[ [ [ 1 14E5nqKAp3oAJcmzgZhUD2RcptBeUBScxKHgJKU4HPNcKVf3 ] { vote: Yes regionId: 1 power: 100,000,000,000,000,000 } ] [ [ 1 15oF4uVJwmo4TdGW7VfQxNLavjCXviqxT9S1MgbjMNHr6Sp5 ] { vote: Yes regionId: 1 power: 100,000,000,000,000,000 } ] [ [ 1 126TwBzBM4jUEK2gTphmW4oLoBWWnYvPp8hygmduTr4uds57 ] { vote: Yes regionId: 1 power: 100,000,000,000,000,000 } ] ]
Last updated