mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
4087941691
the yaml tags are not needed as they are generated automatically from the json tags. additionally fixed proto formatting error requiring doc comments on enum values (for x/incentive claim type enum).
41 lines
1.6 KiB
Protocol Buffer
41 lines
1.6 KiB
Protocol Buffer
syntax = "proto3";
|
|
package kava.kavadist.v1beta1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "cosmos/base/v1beta1/coin.proto";
|
|
|
|
option go_package = "github.com/kava-labs/kava/x/kavadist/types";
|
|
|
|
// CommunityPoolMultiSpendProposal spends from the community pool by sending to one or more
|
|
// addresses
|
|
message CommunityPoolMultiSpendProposal {
|
|
option (gogoproto.goproto_stringer) = false;
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
string title = 1;
|
|
string description = 2;
|
|
repeated MultiSpendRecipient recipient_list = 3 [(gogoproto.nullable) = false];
|
|
}
|
|
|
|
// CommunityPoolMultiSpendProposalJSON defines a CommunityPoolMultiSpendProposal with a deposit
|
|
message CommunityPoolMultiSpendProposalJSON {
|
|
option (gogoproto.goproto_stringer) = true;
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
string title = 1;
|
|
string description = 2;
|
|
repeated MultiSpendRecipient recipient_list = 3 [(gogoproto.nullable) = false];
|
|
repeated cosmos.base.v1beta1.Coin deposit = 4
|
|
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
|
|
}
|
|
|
|
// MultiSpendRecipient defines a recipient and the amount of coins they are receiving
|
|
message MultiSpendRecipient {
|
|
option (gogoproto.goproto_stringer) = false;
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
string address = 1;
|
|
repeated cosmos.base.v1beta1.Coin amount = 2
|
|
[(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
|
|
}
|