@dorafactory/maci-sdk 0.0.21 → 0.0.22

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.d.mts CHANGED
@@ -1747,6 +1747,13 @@ declare class MACI {
1747
1747
  claimable: boolean | null;
1748
1748
  balance: string | null;
1749
1749
  }>;
1750
+ queryAMaciChargeFee({ maxVoter, maxOption, }: {
1751
+ maxVoter: number;
1752
+ maxOption: number;
1753
+ }): Promise<{
1754
+ denom: string;
1755
+ amount: string;
1756
+ }>;
1750
1757
  queryRoundGasStation({ contractAddress }: {
1751
1758
  contractAddress: string;
1752
1759
  }): Promise<boolean>;
package/dist/index.d.ts CHANGED
@@ -1747,6 +1747,13 @@ declare class MACI {
1747
1747
  claimable: boolean | null;
1748
1748
  balance: string | null;
1749
1749
  }>;
1750
+ queryAMaciChargeFee({ maxVoter, maxOption, }: {
1751
+ maxVoter: number;
1752
+ maxOption: number;
1753
+ }): Promise<{
1754
+ denom: string;
1755
+ amount: string;
1756
+ }>;
1750
1757
  queryRoundGasStation({ contractAddress }: {
1751
1758
  contractAddress: string;
1752
1759
  }): Promise<boolean>;
package/dist/index.js CHANGED
@@ -4936,6 +4936,13 @@ var MACI = class {
4936
4936
  };
4937
4937
  }
4938
4938
  }
4939
+ async queryAMaciChargeFee({
4940
+ maxVoter,
4941
+ maxOption
4942
+ }) {
4943
+ const fee = getAMaciRoundCircuitFee(maxVoter, maxOption);
4944
+ return fee;
4945
+ }
4939
4946
  async queryRoundGasStation({ contractAddress }) {
4940
4947
  const roundInfo = await this.getRoundInfo({ contractAddress });
4941
4948
  return roundInfo.gasStationEnable;