mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
30 lines
1.0 KiB
Protocol Buffer
30 lines
1.0 KiB
Protocol Buffer
|
syntax = "proto3";
|
||
|
package kava.community.v1beta1;
|
||
|
|
||
|
import "cosmos/base/v1beta1/coin.proto";
|
||
|
import "cosmos_proto/cosmos.proto";
|
||
|
import "gogoproto/gogo.proto";
|
||
|
|
||
|
option go_package = "github.com/kava-labs/kava/x/community/types";
|
||
|
option (gogoproto.equal_all) = true;
|
||
|
|
||
|
// Msg defines the community Msg service.
|
||
|
service Msg {
|
||
|
// FundCommunityPool defines a method to allow an account to directly fund the community module account.
|
||
|
rpc FundCommunityPool(MsgFundCommunityPool) returns (MsgFundCommunityPoolResponse);
|
||
|
}
|
||
|
|
||
|
// MsgFundCommunityPool allows an account to directly fund the community module account.
|
||
|
message MsgFundCommunityPool {
|
||
|
option (gogoproto.goproto_getters) = false;
|
||
|
|
||
|
repeated cosmos.base.v1beta1.Coin amount = 1 [
|
||
|
(gogoproto.nullable) = false,
|
||
|
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
|
||
|
];
|
||
|
string depositor = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
||
|
}
|
||
|
|
||
|
// MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
|
||
|
message MsgFundCommunityPoolResponse {}
|