2022-03-22 21:13:27 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.savings.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
2022-11-22 23:22:07 +00:00
|
|
|
import "kava/savings/v1beta1/store.proto";
|
2022-03-22 21:13:27 +00:00
|
|
|
|
2024-05-01 03:17:24 +00:00
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/savings/types";
|
2022-03-22 21:13:27 +00:00
|
|
|
|
|
|
|
// GenesisState defines the savings module's genesis state.
|
|
|
|
message GenesisState {
|
2022-03-23 13:27:54 +00:00
|
|
|
// params defines all the parameters of the module.
|
2022-03-22 21:13:27 +00:00
|
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
2022-03-29 09:45:04 +00:00
|
|
|
|
2022-11-22 23:22:07 +00:00
|
|
|
repeated Deposit deposits = 2 [
|
|
|
|
(gogoproto.castrepeated) = "Deposits",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2022-03-22 21:13:27 +00:00
|
|
|
}
|