Governance
Last updated
Last updated
JustLend DAO protocol is governed and upgraded by JST holders. There are three components included in the governance system: JST(WJST) token, governance module(GovernorBravo) and Timelock. The governance of the JustLend DAO protocol is through proposals, whose process can be summarized as proposal posting-voting-taking effect.
Param | Value | Description |
---|---|---|
JST can be exchanged for WJST token at a 1:1 ratio. WJST can be used to vote for proposals.
An account must possess at least 200,000,000 votes to create governance proposals. When a proposal is created, the voting period starts and will last for 86,400 block times(approx. 3 days). If a majority of affirmation and at least 600,000,000 votes are cast for the proposal, the proposal will wait for 2 days(according to Timelock.delay, the current value is 172,800s) to take into effect.
Calling this method creates a proposal to change & update the JustLend DAO protocol.
Parameter description:
Returns: The ID of this proposal
Calling this method moves a successful proposal into the Timelock waiting period. The waiting period begins when this method is successfully called.
Parameter description:
Returns: None, reverts on error.
Calling this method executes the proposal whose waiting period has already been ended. Actions in the proposal will be invoked during the execution.
Parameter description:
Returns: None, reverts on error.
Calling this function cancels a proposal. A proposal can be cancelled at any time prior to its execution.
Parameter description:
Returns: None, reverts on error.
Calling this method gets the actions of an exact proposal.
Parameter description:
Return Values:
Calling this method gets the votes of a specified voter on a proposal.
Parameter description:
Return Values:
Calling this method returns the state of a specified proposal.
Parameter description:
Return Values:
Calling this method exchanges JST for WJST at a one-to-one ratio.
Parameter description:
Returns: None, reverts on error
Calling this method casts a vote on a proposal. The voting weight will be calculated at the time the proposal's state becomes active.
Parameter description:
Returns: None, revers on error.
Calling this method casts a vote on a proposal. The reason can be submitted simultaneously.
Parameter description:
Returns: None, revers on error.
Calling this method casts votes on a specified proposal. Comparing with castVote()
, this method allows offline signature.
Parameter description:
Returns: None, reverts on error.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Returns | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Returns | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Returns | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|