0g-chain/x/community/spec/03_messages.md
drklee3 84f84c4eec
Update x/community spec (#1764)
* Update x/community spec

* Update reward details, remove old pool section

* Reward parameters typoish

Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>

---------

Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
2023-10-30 16:53:29 -07:00

23 lines
690 B
Markdown

<!--
order: 3
-->
# Messages
## FundCommunityPool
Send coins directly from the sender to the community module account.
The transaction fails if the amount cannot be transferred from the sender to the community module account.
https://github.com/Kava-Labs/kava/blob/1d36429fe34cc5829d636d73b7c34751a925791b/proto/kava/community/v1beta1/tx.proto#L21-L30
## UpdateParams
Update module parameters via gov proposal.
The transaction fails if the message is not submitted through a gov proposal.
The message `authority` must be the x/gov module account address.
https://github.com/Kava-Labs/kava/blob/1d36429fe34cc5829d636d73b7c34751a925791b/proto/kava/community/v1beta1/tx.proto#L35-L44