mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
3b187011bb
* add back proto docs template * ignore all third party packages from proto lint * generate missing proto docs/linting * update old branch name for proto-check-breaking * remove dependency changes from proto generation * remove no longer needed docs cmds from makefile * use v0.3 dev image w/ go 1.17; add go mod tidy back Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
26 lines
824 B
Protocol Buffer
26 lines
824 B
Protocol Buffer
syntax = "proto3";
|
|
package kava.savings.v1beta1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "cosmos/base/v1beta1/coin.proto";
|
|
import "cosmos_proto/cosmos.proto";
|
|
|
|
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
|
option (gogoproto.goproto_getters_all) = false;
|
|
|
|
// Params defines the parameters for the savings module.
|
|
message Params {
|
|
repeated string supported_denoms = 1;
|
|
}
|
|
|
|
// Deposit defines an amount of coins deposited into a savings module account.
|
|
message Deposit {
|
|
string depositor = 1 [
|
|
(cosmos_proto.scalar) = "cosmos.AddressBytes",
|
|
(gogoproto.casttype) = "github.com/cosmos/cosmos-sdk/types.AccAddress"
|
|
];
|
|
|
|
repeated cosmos.base.v1beta1.Coin amount = 2
|
|
[(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins", (gogoproto.nullable) = false];
|
|
}
|