@dorafactory/maci-sdk 0.0.28 → 0.0.30

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/README.md CHANGED
@@ -161,14 +161,16 @@ const certificate = await client.maci.requestOracleCertificate({
161
161
  });
162
162
 
163
163
  // 3. Check Gas Station status
164
- let gasStationEnable = await client.maci.queryRoundGasStation({
164
+ let hasFeegrant = await client.maci.hasFeegrant({
165
+ address,
165
166
  contractAddress: 'dora1...',
166
167
  });
167
168
 
168
169
  // Wait for Gas Station to be enabled
169
- while (!gasStationEnable) {
170
+ while (!hasFeegrant) {
170
171
  await delay(1000); // Delay 1 second
171
- gasStationEnable = await client.maci.queryRoundGasStation({
172
+ hasFeegrant = await client.maci.hasFeegrant({
173
+ address,
172
174
  contractAddress: 'dora1...',
173
175
  });
174
176
  }
@@ -242,7 +242,6 @@ type RoundType = {
242
242
  voiceCreditAmount: string;
243
243
  preDeactivateRoot: string;
244
244
  identity: string;
245
- funds: string;
246
245
  operatorLogoUrl?: string;
247
246
  operatorMoniker?: string;
248
247
  resultsList?: {
package/dist/browser.d.ts CHANGED
@@ -242,7 +242,6 @@ type RoundType = {
242
242
  voiceCreditAmount: string;
243
243
  preDeactivateRoot: string;
244
244
  identity: string;
245
- funds: string;
246
245
  operatorLogoUrl?: string;
247
246
  operatorMoniker?: string;
248
247
  resultsList?: {
package/dist/browser.js CHANGED
@@ -27009,8 +27009,8 @@ var Round = class {
27009
27009
  "maciType",
27010
27010
  "voiceCreditAmount",
27011
27011
  "preDeactivateRoot",
27012
- "identity",
27013
- "funds"
27012
+ "identity"
27013
+ // 'funds',
27014
27014
  ];
27015
27015
  if (fields && fields.length > 0) {
27016
27016
  const invalidFields = fields.filter(
@@ -30156,7 +30156,7 @@ var Contract = class {
30156
30156
  groth16_tally_vkey: groth16TallyVkey,
30157
30157
  plonk_process_vkey: plonkProcessVkey,
30158
30158
  plonk_tally_vkey: plonkTallyVkey,
30159
- max_vote_options: maxOption,
30159
+ max_vote_options: maxOption.toString(),
30160
30160
  whitelist,
30161
30161
  circuit_type: maciVoteType,
30162
30162
  certification_system: maciCertSystem,