diff --git a/packages/sdk-core/src/types/SysioContractTypes.ts b/packages/sdk-core/src/types/SysioContractTypes.ts index eed08b2..5c758b7 100644 --- a/packages/sdk-core/src/types/SysioContractTypes.ts +++ b/packages/sdk-core/src/types/SysioContractTypes.ts @@ -982,6 +982,18 @@ export interface SysioEpochEpochStateType { export interface SysioEpochPauseAction { } +/** sysio.epoch::roster_digest_entry (type) */ +export interface SysioEpochRosterDigestEntryType { + chain_code: number | string + digest: string + sent_at_epoch: number +} + +/** sysio.epoch::roster_digest_key (type) */ +export interface SysioEpochRosterDigestKeyType { + chain_code: number | string +} + /** sysio.epoch::schbatchgps (action) */ export interface SysioEpochSchbatchgpsAction { } @@ -1012,6 +1024,7 @@ export interface SysioEpochContract { blocklog: SysioEpochBlocklogEntryType epochcfg: SysioEpochEpochConfigType epochstate: SysioEpochEpochStateType + rosterdig: SysioEpochRosterDigestEntryType } } @@ -3691,7 +3704,7 @@ export const SysioContractDefinitions: { [SysioContractName.chalg]: { name: SysioContractName.chalg, account: "sysio.chalg", actions: ["chkdispute", "chkuwchal", "claimbond", "opendispute", "openuwchal", "slashop", "uwchalbond", "votedispute", "voteuwchal"], tables: ["bondcredits", "chalgstate", "disputes", "disputevote", "uwchals", "uwchalvote"] }, [SysioContractName.councl]: { name: SysioContractName.councl, account: "sysio.councl", actions: ["addcandidate", "finalizeinit", "forceassign", "forceback", "loadtier", "purge", "repcandidate", "reset", "rmcandidate", "settle", "startinit", "stir", "vote"], tables: ["candidates", "config", "council", "roster", "state", "tier2", "tier3", "tier3remap"] }, [SysioContractName.dclaim]: { name: SysioContractName.dclaim, account: "sysio.dclaim", actions: ["claim", "flushexpired", "importdone", "importseed", "linkswept", "onreward", "setclmwindow", "setconfig"], tables: ["capcfg", "capcounters", "pclaims", "rwdcursors", "unmapped"] }, - [SysioContractName.epoch]: { name: SysioContractName.epoch, account: "sysio.epoch", actions: ["advance", "pause", "schbatchgps", "setconfig", "unpause"], tables: ["blocklog", "epochcfg", "epochstate"] }, + [SysioContractName.epoch]: { name: SysioContractName.epoch, account: "sysio.epoch", actions: ["advance", "pause", "schbatchgps", "setconfig", "unpause"], tables: ["blocklog", "epochcfg", "epochstate", "rosterdig"] }, [SysioContractName.msgch]: { name: SysioContractName.msgch, account: "sysio.msgch", actions: ["bootstrap", "buildenv", "chkcons", "deliver", "evalcons", "queueout", "resolvedisp"], tables: ["attestations", "attseq", "envelopes", "envlog", "messages", "outenvelopes", "outpcons"] }, [SysioContractName.msig]: { name: SysioContractName.msig, account: "sysio.msig", actions: ["approve", "cancel", "exec", "getproposal", "invalidate", "propose", "unapprove"], tables: ["approvals", "approvals2", "invals", "propchunks", "proposal"] }, [SysioContractName.opreg]: { name: SysioContractName.opreg, account: "sysio.opreg", actions: ["available", "cancelwtdw", "claimremit", "deposit", "depositinle", "flushwtdw", "processbatch", "processprod", "processuw", "prune", "recorddel", "regoperator", "releaselock", "setconfig", "slash", "termcheck", "terminate", "withdraw", "withdrawinle"], tables: ["dellog", "opconfig", "opcounters", "operators", "remitclaims", "wtdwqueue"] },