mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-14 03:55:19 +00:00
ffef832d45
- Upgrade cosmos-sdk to v0.44.5 from v0.39.2 - Add Legacy Tx Endpoint for backwards compatibility - Add IBC v1.2.3 Support Co-authored-by: DracoLi <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: denalimarsh <denalimarsh@gmail.com> Co-authored-by: Draco Li <draco@kava.io> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Denali Marsh <denali@kava.io>
49 lines
2.0 KiB
Protocol Buffer
49 lines
2.0 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 [(gogoproto.moretags) = "yaml:\"title\""];
|
|
string description = 2 [(gogoproto.moretags) = "yaml:\"description\""];
|
|
repeated MultiSpendRecipient recipient_list = 3
|
|
[(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recipient_list\""];
|
|
}
|
|
|
|
// CommunityPoolMultiSpendProposalJSON defines a CommunityPoolMultiSpendProposal with a deposit
|
|
message CommunityPoolMultiSpendProposalJSON {
|
|
option (gogoproto.goproto_stringer) = true;
|
|
option (gogoproto.goproto_getters) = false;
|
|
|
|
string title = 1 [(gogoproto.moretags) = "yaml:\"title\""];
|
|
string description = 2 [(gogoproto.moretags) = "yaml:\"title\""];
|
|
repeated MultiSpendRecipient recipient_list = 3
|
|
[(gogoproto.nullable) = false, (gogoproto.moretags) = "yaml:\"recipient_list\""];
|
|
repeated cosmos.base.v1beta1.Coin deposit = 4 [
|
|
(gogoproto.nullable) = false,
|
|
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
|
|
(gogoproto.moretags) = "yaml:\"deposit\""
|
|
];
|
|
}
|
|
|
|
// 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 [(gogoproto.moretags) = "yaml:\"address\""];
|
|
repeated cosmos.base.v1beta1.Coin amount = 2 [
|
|
(gogoproto.nullable) = false,
|
|
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins",
|
|
(gogoproto.moretags) = "yaml:\"amount\""
|
|
];
|
|
}
|