@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/browser.d.mts +7 -0
- package/dist/browser.d.ts +7 -0
- package/dist/browser.js +7 -0
- package/dist/browser.js.map +1 -1
- package/dist/browser.mjs +7 -0
- package/dist/browser.mjs.map +1 -1
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/libs/maci/maci.ts +12 -0
package/dist/browser.mjs
CHANGED
|
@@ -30688,6 +30688,13 @@ var MACI = class {
|
|
|
30688
30688
|
};
|
|
30689
30689
|
}
|
|
30690
30690
|
}
|
|
30691
|
+
async queryAMaciChargeFee({
|
|
30692
|
+
maxVoter,
|
|
30693
|
+
maxOption
|
|
30694
|
+
}) {
|
|
30695
|
+
const fee = getAMaciRoundCircuitFee(maxVoter, maxOption);
|
|
30696
|
+
return fee;
|
|
30697
|
+
}
|
|
30691
30698
|
async queryRoundGasStation({ contractAddress }) {
|
|
30692
30699
|
const roundInfo = await this.getRoundInfo({ contractAddress });
|
|
30693
30700
|
return roundInfo.gasStationEnable;
|