2022-01-08 00:39:27 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package kava.swap.v1beta1;
|
|
|
|
|
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "kava/swap/v1beta1/swap.proto";
|
|
|
|
|
2024-08-03 09:51:56 +00:00
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/swap/types";
|
2022-11-22 23:22:07 +00:00
|
|
|
|
2022-01-08 00:39:27 +00:00
|
|
|
// GenesisState defines the swap module's genesis state.
|
|
|
|
message GenesisState {
|
2024-04-05 14:14:49 +00:00
|
|
|
// params defines all the parameters related to swap
|
2022-01-08 00:39:27 +00:00
|
|
|
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
|
|
|
}
|