-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: updated docs for deactivation of liquidFarms
- Loading branch information
1 parent
e013f4f
commit 2a0545d
Showing
36 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- order: 5 --> | ||
|
||
# Begin-Block | ||
|
||
Begin block operations for the liquidfarming module synchronizes `liquidFarms` of the parameter and state. | ||
|
||
## Addition of new liquidFarm | ||
|
||
When a new liquidFarm is added in the parameter `LiquidFarms`, the new liquidFarm is also added in the state `LiquidFarms`. | ||
|
||
## Deletion of liquidFarm | ||
|
||
When a liquidFarm is deleted in the parameter `LiquidFarms`, the following opertions are done. | ||
- Unstake all pool coins from the farming module with the reserve module account | ||
- The ongoing auction status is set to `AUCTION_STATUS_FINISHED`. | ||
- The new liquidFarm is also deleted in the state `LiquidFarms`. |
2 changes: 1 addition & 1 deletion
2
x/liquidfarming/spec/05_events.md → x/liquidfarming/spec/06_events.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- order: 5 --> | ||
<!-- order: 6 --> | ||
|
||
# Events | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
x/liquidfarming/spec/06_params.md → x/liquidfarming/spec/07_params.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- order: 6 --> | ||
<!-- order: 7 --> | ||
|
||
# Parameters | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
x/liquidfarming/spec/07_hooks.md → x/liquidfarming/spec/08_hooks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!-- order: 7 --> | ||
<!-- order: 8 --> | ||
|
||
# Hooks | ||
|
||
|