mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 16:55:21 +00:00
003b040458
* add deposits to genesis state * import/export genesis with deposits * add helper keeper method + update tests
16 lines
486 B
Protocol Buffer
16 lines
486 B
Protocol Buffer
syntax = "proto3";
|
|
package kava.savings.v1beta1;
|
|
|
|
import "kava/savings/v1beta1/store.proto";
|
|
import "gogoproto/gogo.proto";
|
|
|
|
option go_package = "github.com/kava-labs/kava/x/savings/types";
|
|
|
|
// GenesisState defines the savings module's genesis state.
|
|
message GenesisState {
|
|
// params defines all the parameters of the module.
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
|
|
repeated Deposit deposits = 2 [(gogoproto.castrepeated) = "Deposits", (gogoproto.nullable) = false];
|
|
}
|