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