0g-chain/proto/kava/earn/v1beta1/genesis.proto
mergify[bot] be5bf62ab8
fix:paramaters->paramaters (#1796) (#1872)
Fix misspellings across docs & comments

(cherry picked from commit 0ea92335de)

Co-authored-by: alex <152680487+bodhi-crypo@users.noreply.github.com>
2024-04-05 07:14:49 -07:00

25 lines
790 B
Protocol Buffer

syntax = "proto3";
package kava.earn.v1beta1;
import "gogoproto/gogo.proto";
import "kava/earn/v1beta1/params.proto";
import "kava/earn/v1beta1/vault.proto";
option go_package = "github.com/kava-labs/kava/x/earn/types";
// GenesisState defines the earn module's genesis state.
message GenesisState {
// params defines all the parameters related to earn
Params params = 1 [(gogoproto.nullable) = false];
// vault_records defines the available vaults
repeated VaultRecord vault_records = 2 [
(gogoproto.castrepeated) = "VaultRecords",
(gogoproto.nullable) = false
];
// share_records defines the owned shares of each vault
repeated VaultShareRecord vault_share_records = 3 [
(gogoproto.castrepeated) = "VaultShareRecords",
(gogoproto.nullable) = false
];
}