deposit_jst_for_votes
To obtain voting power, deposit JST into the WJST contract. Each JST equals one vote, and tokens can be withdrawn after voting.
Instructions
Deposit JST into the WJST contract to get voting power. Requires prior approval of JST for the WJST contract (use approve_jst_for_voting first). 1 JST = 1 Vote. Deposited JST can be withdrawn back after voting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount of JST to deposit (e.g. '1000') | |
| network | No | Network. Default: mainnet |