@mysten/sui
Version:
Sui TypeScript API
83 lines (81 loc) • 1.47 kB
JavaScript
import { Timestamp } from "../../../google/protobuf/timestamp.mjs";
import { ValidatorCommittee } from "./signature.mjs";
import { ProtocolConfig } from "./protocol_config.mjs";
import { SystemState } from "./system_state.mjs";
import { MessageType } from "@protobuf-ts/runtime";
//#region src/grpc/proto/sui/rpc/v2/epoch.ts
var Epoch$Type = class extends MessageType {
constructor() {
super("sui.rpc.v2.Epoch", [
{
no: 1,
name: "epoch",
kind: "scalar",
opt: true,
T: 4,
L: 0
},
{
no: 2,
name: "committee",
kind: "message",
T: () => ValidatorCommittee
},
{
no: 3,
name: "system_state",
kind: "message",
T: () => SystemState
},
{
no: 4,
name: "first_checkpoint",
kind: "scalar",
opt: true,
T: 4,
L: 0
},
{
no: 5,
name: "last_checkpoint",
kind: "scalar",
opt: true,
T: 4,
L: 0
},
{
no: 6,
name: "start",
kind: "message",
T: () => Timestamp
},
{
no: 7,
name: "end",
kind: "message",
T: () => Timestamp
},
{
no: 8,
name: "reference_gas_price",
kind: "scalar",
opt: true,
T: 4,
L: 0
},
{
no: 9,
name: "protocol_config",
kind: "message",
T: () => ProtocolConfig
}
]);
}
};
/**
* @generated MessageType for protobuf message sui.rpc.v2.Epoch
*/
const Epoch = new Epoch$Type();
//#endregion
export { Epoch };
//# sourceMappingURL=epoch.mjs.map