deposit_jst_for_votes
Deposit JST into the WJST contract to obtain voting power, where each JST equals one vote. Prior approval of JST is required.
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 |