{"version":3,"file":"bls_aggregate.mjs","names":["group_ops.Element"],"sources":["../../../src/contracts/walrus/bls_aggregate.ts"],"sourcesContent":["/**************************************************************\n * THIS FILE IS GENERATED AND SHOULD NOT BE MANUALLY MODIFIED *\n **************************************************************/\nimport { MoveStruct, MoveEnum } from '../utils/index.js';\nimport { bcs } from '@mysten/sui/bcs';\nimport * as group_ops from './deps/sui/group_ops.js';\nconst $moduleName = '@local-pkg/walrus::bls_aggregate';\nexport const BlsCommitteeMember = new MoveStruct({\n\tname: `${$moduleName}::BlsCommitteeMember`,\n\tfields: {\n\t\tpublic_key: group_ops.Element,\n\t\tweight: bcs.u16(),\n\t\tnode_id: bcs.Address,\n\t},\n});\nexport const BlsCommittee = new MoveStruct({\n\tname: `${$moduleName}::BlsCommittee`,\n\tfields: {\n\t\t/** A vector of committee members */\n\t\tmembers: bcs.vector(BlsCommitteeMember),\n\t\t/** The total number of shards held by the committee */\n\t\tn_shards: bcs.u16(),\n\t\t/** The epoch in which the committee is active. */\n\t\tepoch: bcs.u32(),\n\t\t/** The aggregation of public keys for all members of the committee */\n\t\ttotal_aggregated_key: group_ops.Element,\n\t},\n});\n/** The type of weight verification to perform. */\nexport const RequiredWeight = new MoveEnum({\n\tname: `${$moduleName}::RequiredWeight`,\n\tfields: {\n\t\t/** Verify that the signers form a quorum. */\n\t\tQuorum: null,\n\t\t/** Verify that the signers include at least one correct node. */\n\t\tOneCorrectNode: null,\n\t},\n});\n"],"mappings":";;;;;;;;AAMA,MAAM,cAAc;AACpB,MAAa,qBAAqB,IAAI,WAAW;CAChD,MAAM,GAAG,YAAY;CACrB,QAAQ;EACP,YAAYA;EACZ,QAAQ,IAAI,KAAK;EACjB,SAAS,IAAI;EACb;CACD,CAAC;AACF,MAAa,eAAe,IAAI,WAAW;CAC1C,MAAM,GAAG,YAAY;CACrB,QAAQ;EAEP,SAAS,IAAI,OAAO,mBAAmB;EAEvC,UAAU,IAAI,KAAK;EAEnB,OAAO,IAAI,KAAK;EAEhB,sBAAsBA;EACtB;CACD,CAAC;;AAEF,MAAa,iBAAiB,IAAI,SAAS;CAC1C,MAAM,GAAG,YAAY;CACrB,QAAQ;EAEP,QAAQ;EAER,gBAAgB;EAChB;CACD,CAAC"}