{"version":3,"file":"event_blob.mjs","names":["vec_map.VecMap"],"sources":["../../../src/contracts/walrus/event_blob.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\n\n/** Module to certify event blobs. */\n\nimport { MoveStruct } from '../utils/index.js';\nimport { bcs } from '@mysten/sui/bcs';\nimport * as vec_map from './deps/sui/vec_map.js';\nconst $moduleName = '@local-pkg/walrus::event_blob';\nexport const EventBlobAttestation = new MoveStruct({\n\tname: `${$moduleName}::EventBlobAttestation`,\n\tfields: {\n\t\tcheckpoint_sequence_num: bcs.u64(),\n\t\tepoch: bcs.u32(),\n\t},\n});\nexport const EventBlob = new MoveStruct({\n\tname: `${$moduleName}::EventBlob`,\n\tfields: {\n\t\t/** Blob id of the certified event blob. */\n\t\tblob_id: bcs.u256(),\n\t\t/** Ending sui checkpoint of the certified event blob. */\n\t\tending_checkpoint_sequence_number: bcs.u64(),\n\t},\n});\nexport const EventBlobCertificationState = new MoveStruct({\n\tname: `${$moduleName}::EventBlobCertificationState`,\n\tfields: {\n\t\t/** Latest certified event blob. */\n\t\tlatest_certified_blob: bcs.option(EventBlob),\n\t\t/** Current event blob being attested. */\n\t\taggregate_weight_per_blob: vec_map.VecMap(EventBlob, bcs.u16()),\n\t},\n});\n"],"mappings":";;;;;;;;;AASA,MAAM,cAAc;AACpB,MAAa,uBAAuB,IAAI,WAAW;CAClD,MAAM,GAAG,YAAY;CACrB,QAAQ;EACP,yBAAyB,IAAI,KAAK;EAClC,OAAO,IAAI,KAAK;EAChB;CACD,CAAC;AACF,MAAa,YAAY,IAAI,WAAW;CACvC,MAAM,GAAG,YAAY;CACrB,QAAQ;EAEP,SAAS,IAAI,MAAM;EAEnB,mCAAmC,IAAI,KAAK;EAC5C;CACD,CAAC;AACF,MAAa,8BAA8B,IAAI,WAAW;CACzD,MAAM,GAAG,YAAY;CACrB,QAAQ;EAEP,uBAAuB,IAAI,OAAO,UAAU;EAE5C,2BAA2BA,OAAe,WAAW,IAAI,KAAK,CAAC;EAC/D;CACD,CAAC"}