mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-25 07:45:18 +00:00
33 lines
988 B
Protocol Buffer
33 lines
988 B
Protocol Buffer
syntax = "proto3";
|
|
package zgc.bep3.v1beta1;
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "google/protobuf/timestamp.proto";
|
|
import "zgc/bep3/v1beta1/bep3.proto";
|
|
|
|
option go_package = "github.com/0glabs/0g-chain/x/bep3/types";
|
|
|
|
// GenesisState defines the pricefeed module's genesis state.
|
|
message GenesisState {
|
|
// params defines all the parameters of the module.
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
|
|
// atomic_swaps represents the state of stored atomic swaps
|
|
repeated AtomicSwap atomic_swaps = 2 [
|
|
(gogoproto.castrepeated) = "AtomicSwaps",
|
|
(gogoproto.nullable) = false
|
|
];
|
|
|
|
// supplies represents the supply information of each atomic swap
|
|
repeated AssetSupply supplies = 3 [
|
|
(gogoproto.castrepeated) = "AssetSupplies",
|
|
(gogoproto.nullable) = false
|
|
];
|
|
|
|
// previous_block_time represents the time of the previous block
|
|
google.protobuf.Timestamp previous_block_time = 4 [
|
|
(gogoproto.stdtime) = true,
|
|
(gogoproto.nullable) = false
|
|
];
|
|
}
|