0g-chain/proto/zgc/pricefeed/v1beta1/genesis.proto

21 lines
600 B
Protocol Buffer
Raw Normal View History

syntax = "proto3";
2024-05-01 03:56:00 +00:00
package zgc.pricefeed.v1beta1;
import "gogoproto/gogo.proto";
2024-05-01 03:56:00 +00:00
import "zgc/pricefeed/v1beta1/store.proto";
2024-05-01 03:17:24 +00:00
option go_package = "github.com/0glabs/0g-chain/x/pricefeed/types";
option (gogoproto.equal_all) = true;
option (gogoproto.verbose_equal_all) = true;
// GenesisState defines the pricefeed module's genesis state.
message GenesisState {
// params defines all the paramaters of the module.
Params params = 1 [(gogoproto.nullable) = false];
repeated PostedPrice posted_prices = 2 [
(gogoproto.castrepeated) = "PostedPrices",
(gogoproto.nullable) = false
];
}