2022-07-20 22:57:56 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.earn.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
2022-07-28 16:50:59 +00:00
|
|
|
import "kava/earn/v1beta1/params.proto";
|
|
|
|
import "kava/earn/v1beta1/vault.proto";
|
2022-07-20 22:57:56 +00:00
|
|
|
|
2022-11-22 23:22:07 +00:00
|
|
|
option go_package = "github.com/kava-labs/kava/x/earn/types";
|
|
|
|
|
2022-07-28 16:39:57 +00:00
|
|
|
// GenesisState defines the earn module's genesis state.
|
2022-07-20 22:57:56 +00:00
|
|
|
message GenesisState {
|
2024-04-05 14:02:52 +00:00
|
|
|
// params defines all the parameters related to earn
|
2022-07-20 22:57:56 +00:00
|
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
2022-07-20 23:14:43 +00:00
|
|
|
// vault_records defines the available vaults
|
2022-11-22 23:22:07 +00:00
|
|
|
repeated VaultRecord vault_records = 2 [
|
|
|
|
(gogoproto.castrepeated) = "VaultRecords",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2022-07-20 23:14:43 +00:00
|
|
|
// share_records defines the owned shares of each vault
|
2022-11-22 23:22:07 +00:00
|
|
|
repeated VaultShareRecord vault_share_records = 3 [
|
|
|
|
(gogoproto.castrepeated) = "VaultShareRecords",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2022-07-20 22:57:56 +00:00
|
|
|
}
|