2022-01-08 00:39:27 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.swap.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "kava/swap/v1beta1/swap.proto";
|
|
|
|
|
2022-11-22 23:22:07 +00:00
|
|
|
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
|
|
|
|
2022-01-08 00:39:27 +00:00
|
|
|
// GenesisState defines the swap module's genesis state.
|
|
|
|
message GenesisState {
|
|
|
|
// params defines all the paramaters related to swap
|
|
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
|
|
// pool_records defines the available pools
|
2022-11-22 23:22:07 +00:00
|
|
|
repeated PoolRecord pool_records = 2 [
|
|
|
|
(gogoproto.castrepeated) = "PoolRecords",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2022-01-08 00:39:27 +00:00
|
|
|
// share_records defines the owned shares of each pool
|
2022-11-22 23:22:07 +00:00
|
|
|
repeated ShareRecord share_records = 3 [
|
|
|
|
(gogoproto.castrepeated) = "ShareRecords",
|
|
|
|
(gogoproto.nullable) = false
|
|
|
|
];
|
2022-01-08 00:39:27 +00:00
|
|
|
}
|