UNPKG

wowok

Version:

Wowok Blockchain TypeScript API

1 lines 1.01 kB
import{MessageType}from'@protobuf-ts/runtime';import{ProtocolConfig}from'./protocol_config.js';import{Timestamp}from'../../../google/protobuf/timestamp.js';import{SystemState}from'./system_state.js';import{ValidatorCommittee}from'./signature.js';class Epoch$Type extends MessageType{constructor(){super('sui.rpc.v2.Epoch',[{'no':0x1,'name':'epoch','kind':'scalar','opt':!![],'T':0x4,'L':0x0},{'no':0x2,'name':'committee','kind':'message','T':()=>ValidatorCommittee},{'no':0x3,'name':'system_state','kind':'message','T':()=>SystemState},{'no':0x4,'name':'first_checkpoint','kind':'scalar','opt':!![],'T':0x4,'L':0x0},{'no':0x5,'name':'last_checkpoint','kind':'scalar','opt':!![],'T':0x4,'L':0x0},{'no':0x6,'name':'start','kind':'message','T':()=>Timestamp},{'no':0x7,'name':'end','kind':'message','T':()=>Timestamp},{'no':0x8,'name':'reference_gas_price','kind':'scalar','opt':!![],'T':0x4,'L':0x0},{'no':0x9,'name':'protocol_config','kind':'message','T':()=>ProtocolConfig}]);}}export const Epoch=new Epoch$Type();