@dorafactory/maci-sdk 0.1.2-pre.8 → 0.1.2-pre.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -1
- package/dist/index.mjs.map +1 -1
- package/dist/libs/contract/contract.d.ts +0 -2
- package/package.json +1 -1
- package/src/libs/contract/contract.ts +12 -6
package/dist/index.js
CHANGED
|
@@ -5384,7 +5384,17 @@ var Contract = class {
|
|
|
5384
5384
|
const [{ address }] = await signer.getAccounts();
|
|
5385
5385
|
const contractClient = await this.contractClient({ signer });
|
|
5386
5386
|
const msg = {
|
|
5387
|
-
create_oracle_maci_round:
|
|
5387
|
+
create_oracle_maci_round: {
|
|
5388
|
+
certification_system: "0",
|
|
5389
|
+
circuit_type: "0",
|
|
5390
|
+
coordinator: roundParams.coordinator,
|
|
5391
|
+
max_voters: roundParams.maxVoters.toString(),
|
|
5392
|
+
round_info: roundParams.roundInfo,
|
|
5393
|
+
start_time: roundParams.startTime,
|
|
5394
|
+
end_time: roundParams.endTime,
|
|
5395
|
+
vote_option_map: roundParams.voteOptionMap,
|
|
5396
|
+
whitelist_backend_pubkey: roundParams.whitelistBackendPubkey
|
|
5397
|
+
}
|
|
5388
5398
|
};
|
|
5389
5399
|
const gasEstimation = await contractClient.simulate(
|
|
5390
5400
|
address,
|