mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
18 lines
702 B
Protocol Buffer
18 lines
702 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package kava.swap.v1beta1;
|
||
|
|
||
|
option go_package = "github.com/kava-labs/kava/x/swap/types";
|
||
|
|
||
|
import "gogoproto/gogo.proto";
|
||
|
import "kava/swap/v1beta1/swap.proto";
|
||
|
|
||
|
// 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
|
||
|
repeated PoolRecord pool_records = 2 [(gogoproto.castrepeated) = "PoolRecords", (gogoproto.nullable) = false];
|
||
|
// share_records defines the owned shares of each pool
|
||
|
repeated ShareRecord share_records = 3 [(gogoproto.castrepeated) = "ShareRecords", (gogoproto.nullable) = false];
|
||
|
}
|