@dorafactory/maci-sdk 0.0.30 → 0.0.32

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.
@@ -1899,6 +1899,23 @@ declare class MACI {
1899
1899
  contractAddress: string;
1900
1900
  }): Promise<_cosmjs_cosmwasm_stargate.ExecuteResult>;
1901
1901
  getOracleCertificateConfig(): Promise<EcosystemsResponse>;
1902
+ /**
1903
+ * Batch grant with bond (for maci)
1904
+ * @param client
1905
+ * @param contractAddress
1906
+ * @param address
1907
+ * @param amount
1908
+ * @returns
1909
+ */
1910
+ batchGrantWithBond(client: SigningCosmWasmClient, contractAddress: string, address: string, amount: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
1911
+ /**
1912
+ * Batch revoke with withdraw (for maci)
1913
+ * @param client
1914
+ * @param contractAddress
1915
+ * @param address
1916
+ * @returns
1917
+ */
1918
+ batchRevokeWithdraw(client: SigningCosmWasmClient, contractAddress: string, address: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
1902
1919
  }
1903
1920
 
1904
1921
  declare const circuits: Record<string, CircuitType>;
@@ -2065,128 +2082,126 @@ declare class MaciClient {
2065
2082
  logs: readonly _cosmjs_stargate_build_logs.Log[];
2066
2083
  height: number;
2067
2084
  transactionHash: string;
2068
- events: readonly _cosmjs_stargate.Event[];
2085
+ events: readonly _cosmjs_cosmwasm_stargate.Event[];
2069
2086
  gasWanted: bigint;
2070
2087
  gasUsed: bigint;
2071
2088
  }>;
2072
2089
  createMaciRound(params: CreateMaciRoundParams): Promise<_cosmjs_cosmwasm_stargate.InstantiateResult>;
2073
2090
  createOracleMaciRound(params: CreateOracleMaciRoundParams): Promise<_cosmjs_cosmwasm_stargate.InstantiateResult>;
2074
- /**
2075
- * @method balanceOf
2076
- * @description Get the balance of a specific address.
2077
- * @param {string} address - The address to check the balance for.
2078
- * @returns {Promise<BalanceResponse>} The balance response.
2079
- */
2080
- balanceOf(address: string): Promise<BalanceResponse>;
2081
- /**
2082
- * @method getRoundById
2083
- * @description Get a round by its ID.
2084
- * @param {string} id - The ID of the round.
2085
- * @returns {Promise<RoundResponse>} The round response.
2086
- */
2087
- getRoundById(id: string): Promise<RoundResponse>;
2088
- /**
2089
- * @method getRoundWithFields
2090
- * @description Get a round by its address with selective fields.
2091
- * @param {string} address - The address of the round.
2092
- * @param {string[]} [fields] - The fields to retrieve.
2093
- * @returns {Promise<SelectiveRoundResponse>} The round response.
2094
- */
2095
- getRoundWithFields(address: string, fields?: string[]): Promise<SelectiveRoundResponse>;
2096
- /**
2097
- * @method getRounds
2098
- * @description Get multiple rounds.
2099
- * @param {string} after - The cursor to start after.
2100
- * @param {number} [limit] - The number of rounds to retrieve.
2101
- * @returns {Promise<RoundsResponse>} The rounds response.
2102
- */
2103
- getRounds(after: string, limit?: number): Promise<RoundsResponse>;
2104
- /**
2105
- * @method getRoundsByStatus
2106
- * @description Get rounds by their status.
2107
- * @param {string} status - The status of the rounds to retrieve.
2108
- * @param {string} after - The cursor to start after.
2109
- * @param {number} [limit] - The number of rounds to retrieve.
2110
- * @returns {Promise<RoundsResponse>} The rounds response.
2111
- */
2112
- getRoundsByStatus(status: string, after: string, limit?: number): Promise<RoundsResponse>;
2113
- /**
2114
- * @method getRoundsByCircuitName
2115
- * @description Get rounds by their circuit name.
2116
- * @param {string} name - The name of the circuit.
2117
- * @param {string} after - The cursor to start after.
2118
- * @param {number} [limit] - The number of rounds to retrieve.
2119
- * @returns {Promise<RoundsResponse>} The rounds response.
2120
- */
2121
- getRoundsByCircuitName(name: string, after: string, limit?: number): Promise<RoundsResponse>;
2122
- /**
2123
- * @method getRoundsByOperator
2124
- * @description Get rounds by their operator address.
2125
- * @param {string} address - The address of the operator.
2126
- * @param {string} after - The cursor to start after.
2127
- * @param {number} [limit] - The number of rounds to retrieve.
2128
- * @returns {Promise<RoundsResponse>} The rounds response.
2129
- */
2130
- getRoundsByOperator(address: string, after: string, limit?: number): Promise<RoundsResponse>;
2131
- /**
2132
- * @method getOperatorByAddress
2133
- * @description Get an operator by their address.
2134
- * @param {string} address - The address of the operator.
2135
- * @returns {Promise<OperatorResponse>} The operator response.
2136
- */
2137
- getOperatorByAddress(address: string): Promise<OperatorResponse>;
2138
- /**
2139
- * @method getOperators
2140
- * @description Get multiple operators.
2141
- * @param {string} after - The cursor to start after.
2142
- * @param {number} [limit] - The number of operators to retrieve.
2143
- * @returns {Promise<OperatorsResponse>} The operators response.
2144
- */
2145
- getOperators(after: string, limit?: number): Promise<OperatorsResponse>;
2146
- /**
2147
- * @method getCircuitByName
2148
- * @description Get a circuit by its name.
2149
- * @param {string} name - The name of the circuit.
2150
- * @returns {Promise<CircuitResponse>} The circuit response.
2151
- */
2152
- getCircuitByName(name: string): Promise<CircuitResponse>;
2153
- /**
2154
- * @method getCircuits
2155
- * @description Get all available circuits.
2156
- * @returns {Promise<CircuitsResponse>} The circuits response.
2157
- */
2158
- getCircuits(): Promise<CircuitsResponse>;
2159
- /**
2160
- * @method getTransactionByHash
2161
- * @description Get a transaction by its hash.
2162
- * @param {string} hash - The hash of the transaction.
2163
- * @returns {Promise<TransactionResponse>} The transaction response.
2164
- */
2165
- getTransactionByHash(hash: string): Promise<TransactionResponse>;
2166
- /**
2167
- * @method getTransactions
2168
- * @description Get multiple transactions.
2169
- * @param {string} after - The cursor to start after.
2170
- * @param {number} [limit] - The number of transactions to retrieve.
2171
- * @returns {Promise<TransactionsResponse>} The transactions response.
2172
- */
2173
- getTransactions(after: string, limit?: number): Promise<TransactionsResponse>;
2174
- /**
2175
- * @method getTransactionsByContractAddress
2176
- * @description Get transactions by contract address.
2177
- * @param {string} address - The contract address.
2178
- * @param {string} after - The cursor to start after.
2179
- * @param {number} [limit] - The number of transactions to retrieve.
2180
- * @returns {Promise<TransactionsResponse>} The transactions response.
2181
- */
2182
- getTransactionsByContractAddress(address: string, after: string, limit?: number): Promise<TransactionsResponse>;
2183
- /**
2184
- * @method getProofByContractAddress
2185
- * @description Get proof data by contract address.
2186
- * @param {string} address - The contract address.
2187
- * @returns {Promise<ProofResponse>} The proof response.
2188
- */
2189
- getProofByContractAddress(address: string): Promise<ProofResponse>;
2091
+ getStateIdxInc({ signer, address, contractAddress, }: {
2092
+ signer: OfflineSigner;
2093
+ address: string;
2094
+ contractAddress: string;
2095
+ }): Promise<string>;
2096
+ getVoiceCreditBalance({ signer, stateIdx, contractAddress, }: {
2097
+ signer: OfflineSigner;
2098
+ stateIdx: number;
2099
+ contractAddress: string;
2100
+ }): Promise<string>;
2101
+ getStateIdxByPubKey({ contractAddress, pubKey, }: {
2102
+ contractAddress: string;
2103
+ pubKey: bigint[];
2104
+ }): Promise<number>;
2105
+ feegrantAllowance({ address, contractAddress, }: {
2106
+ address: string;
2107
+ contractAddress: string;
2108
+ }): Promise<FeegrantAllowanceResponse>;
2109
+ hasFeegrant({ address, contractAddress, }: {
2110
+ address: string;
2111
+ contractAddress: string;
2112
+ }): Promise<boolean>;
2113
+ queryWhitelistBalanceOf({ signer, address, contractAddress, certificate, mode, }: {
2114
+ signer: OfflineSigner;
2115
+ address: string;
2116
+ contractAddress: string;
2117
+ certificate?: string;
2118
+ mode?: 'maci' | 'amaci';
2119
+ }): Promise<string>;
2120
+ isWhitelisted({ signer, address, contractAddress, }: {
2121
+ signer: OfflineSigner;
2122
+ address: string;
2123
+ contractAddress: string;
2124
+ }): Promise<boolean>;
2125
+ getOracleWhitelistConfig({ signer, contractAddress, }: {
2126
+ signer: OfflineSigner;
2127
+ contractAddress: string;
2128
+ }): Promise<OracleWhitelistConfig>;
2129
+ getRoundInfo({ contractAddress }: {
2130
+ contractAddress: string;
2131
+ }): Promise<RoundType>;
2132
+ getRoundCircuitType({ contractAddress }: {
2133
+ contractAddress: string;
2134
+ }): Promise<string>;
2135
+ queryRoundIsQv({ contractAddress }: {
2136
+ contractAddress: string;
2137
+ }): Promise<boolean>;
2138
+ queryRoundClaimable({ contractAddress, }: {
2139
+ contractAddress: string;
2140
+ }): Promise<{
2141
+ claimable: boolean | null;
2142
+ balance: string | null;
2143
+ }>;
2144
+ queryAMaciChargeFee({ maxVoter, maxOption, }: {
2145
+ maxVoter: number;
2146
+ maxOption: number;
2147
+ }): Promise<{
2148
+ denom: string;
2149
+ amount: string;
2150
+ }>;
2151
+ queryRoundGasStation({ contractAddress }: {
2152
+ contractAddress: string;
2153
+ }): Promise<boolean>;
2154
+ parseRoundStatus(votingStart: number, votingEnd: number, status: string, currentTime: Date): string;
2155
+ queryRoundBalance({ contractAddress }: {
2156
+ contractAddress: string;
2157
+ }): Promise<string>;
2158
+ requestOracleCertificate({ signer, ecosystem, address, contractAddress, }: {
2159
+ signer: OfflineSigner;
2160
+ ecosystem: CertificateEcosystem;
2161
+ address: string;
2162
+ contractAddress: string;
2163
+ }): Promise<SignatureResponse>;
2164
+ signup({ signer, address, contractAddress, maciAccount, oracleCertificate, gasStation, }: {
2165
+ signer: OfflineSigner;
2166
+ address: string;
2167
+ contractAddress: string;
2168
+ maciAccount?: Account;
2169
+ oracleCertificate?: {
2170
+ amount: string;
2171
+ signature: string;
2172
+ };
2173
+ gasStation?: boolean;
2174
+ }): Promise<_cosmjs_cosmwasm_stargate.ExecuteResult>;
2175
+ vote({ signer, address, stateIdx, contractAddress, selectedOptions, operatorCoordPubKey, maciAccount, gasStation, }: {
2176
+ signer: OfflineSigner;
2177
+ address: string;
2178
+ stateIdx: number;
2179
+ contractAddress: string;
2180
+ selectedOptions: {
2181
+ idx: number;
2182
+ vc: number;
2183
+ }[];
2184
+ operatorCoordPubKey: PublicKey;
2185
+ maciAccount?: Account;
2186
+ gasStation?: boolean;
2187
+ }): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2188
+ publishMessage({ client, address, payload, contractAddress, gasStation, }: {
2189
+ client: SigningCosmWasmClient;
2190
+ address: string;
2191
+ payload: {
2192
+ msg: bigint[];
2193
+ encPubkeys: PublicKey;
2194
+ }[];
2195
+ contractAddress: string;
2196
+ gasStation: boolean;
2197
+ }): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2198
+ claimAMaciRound({ signer, contractAddress, }: {
2199
+ signer: OfflineSigner;
2200
+ contractAddress: string;
2201
+ }): Promise<_cosmjs_cosmwasm_stargate.ExecuteResult>;
2202
+ getOracleCertificateConfig(): Promise<EcosystemsResponse>;
2203
+ batchGrantWithBond(client: SigningCosmWasmClient, contractAddress: string, address: string, amount: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2204
+ batchRevokeWithdraw(client: SigningCosmWasmClient, contractAddress: string, address: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2190
2205
  }
2191
2206
 
2192
2207
  declare function isValidAddress(address: string): boolean;
package/dist/browser.d.ts CHANGED
@@ -1899,6 +1899,23 @@ declare class MACI {
1899
1899
  contractAddress: string;
1900
1900
  }): Promise<_cosmjs_cosmwasm_stargate.ExecuteResult>;
1901
1901
  getOracleCertificateConfig(): Promise<EcosystemsResponse>;
1902
+ /**
1903
+ * Batch grant with bond (for maci)
1904
+ * @param client
1905
+ * @param contractAddress
1906
+ * @param address
1907
+ * @param amount
1908
+ * @returns
1909
+ */
1910
+ batchGrantWithBond(client: SigningCosmWasmClient, contractAddress: string, address: string, amount: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
1911
+ /**
1912
+ * Batch revoke with withdraw (for maci)
1913
+ * @param client
1914
+ * @param contractAddress
1915
+ * @param address
1916
+ * @returns
1917
+ */
1918
+ batchRevokeWithdraw(client: SigningCosmWasmClient, contractAddress: string, address: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
1902
1919
  }
1903
1920
 
1904
1921
  declare const circuits: Record<string, CircuitType>;
@@ -2065,128 +2082,126 @@ declare class MaciClient {
2065
2082
  logs: readonly _cosmjs_stargate_build_logs.Log[];
2066
2083
  height: number;
2067
2084
  transactionHash: string;
2068
- events: readonly _cosmjs_stargate.Event[];
2085
+ events: readonly _cosmjs_cosmwasm_stargate.Event[];
2069
2086
  gasWanted: bigint;
2070
2087
  gasUsed: bigint;
2071
2088
  }>;
2072
2089
  createMaciRound(params: CreateMaciRoundParams): Promise<_cosmjs_cosmwasm_stargate.InstantiateResult>;
2073
2090
  createOracleMaciRound(params: CreateOracleMaciRoundParams): Promise<_cosmjs_cosmwasm_stargate.InstantiateResult>;
2074
- /**
2075
- * @method balanceOf
2076
- * @description Get the balance of a specific address.
2077
- * @param {string} address - The address to check the balance for.
2078
- * @returns {Promise<BalanceResponse>} The balance response.
2079
- */
2080
- balanceOf(address: string): Promise<BalanceResponse>;
2081
- /**
2082
- * @method getRoundById
2083
- * @description Get a round by its ID.
2084
- * @param {string} id - The ID of the round.
2085
- * @returns {Promise<RoundResponse>} The round response.
2086
- */
2087
- getRoundById(id: string): Promise<RoundResponse>;
2088
- /**
2089
- * @method getRoundWithFields
2090
- * @description Get a round by its address with selective fields.
2091
- * @param {string} address - The address of the round.
2092
- * @param {string[]} [fields] - The fields to retrieve.
2093
- * @returns {Promise<SelectiveRoundResponse>} The round response.
2094
- */
2095
- getRoundWithFields(address: string, fields?: string[]): Promise<SelectiveRoundResponse>;
2096
- /**
2097
- * @method getRounds
2098
- * @description Get multiple rounds.
2099
- * @param {string} after - The cursor to start after.
2100
- * @param {number} [limit] - The number of rounds to retrieve.
2101
- * @returns {Promise<RoundsResponse>} The rounds response.
2102
- */
2103
- getRounds(after: string, limit?: number): Promise<RoundsResponse>;
2104
- /**
2105
- * @method getRoundsByStatus
2106
- * @description Get rounds by their status.
2107
- * @param {string} status - The status of the rounds to retrieve.
2108
- * @param {string} after - The cursor to start after.
2109
- * @param {number} [limit] - The number of rounds to retrieve.
2110
- * @returns {Promise<RoundsResponse>} The rounds response.
2111
- */
2112
- getRoundsByStatus(status: string, after: string, limit?: number): Promise<RoundsResponse>;
2113
- /**
2114
- * @method getRoundsByCircuitName
2115
- * @description Get rounds by their circuit name.
2116
- * @param {string} name - The name of the circuit.
2117
- * @param {string} after - The cursor to start after.
2118
- * @param {number} [limit] - The number of rounds to retrieve.
2119
- * @returns {Promise<RoundsResponse>} The rounds response.
2120
- */
2121
- getRoundsByCircuitName(name: string, after: string, limit?: number): Promise<RoundsResponse>;
2122
- /**
2123
- * @method getRoundsByOperator
2124
- * @description Get rounds by their operator address.
2125
- * @param {string} address - The address of the operator.
2126
- * @param {string} after - The cursor to start after.
2127
- * @param {number} [limit] - The number of rounds to retrieve.
2128
- * @returns {Promise<RoundsResponse>} The rounds response.
2129
- */
2130
- getRoundsByOperator(address: string, after: string, limit?: number): Promise<RoundsResponse>;
2131
- /**
2132
- * @method getOperatorByAddress
2133
- * @description Get an operator by their address.
2134
- * @param {string} address - The address of the operator.
2135
- * @returns {Promise<OperatorResponse>} The operator response.
2136
- */
2137
- getOperatorByAddress(address: string): Promise<OperatorResponse>;
2138
- /**
2139
- * @method getOperators
2140
- * @description Get multiple operators.
2141
- * @param {string} after - The cursor to start after.
2142
- * @param {number} [limit] - The number of operators to retrieve.
2143
- * @returns {Promise<OperatorsResponse>} The operators response.
2144
- */
2145
- getOperators(after: string, limit?: number): Promise<OperatorsResponse>;
2146
- /**
2147
- * @method getCircuitByName
2148
- * @description Get a circuit by its name.
2149
- * @param {string} name - The name of the circuit.
2150
- * @returns {Promise<CircuitResponse>} The circuit response.
2151
- */
2152
- getCircuitByName(name: string): Promise<CircuitResponse>;
2153
- /**
2154
- * @method getCircuits
2155
- * @description Get all available circuits.
2156
- * @returns {Promise<CircuitsResponse>} The circuits response.
2157
- */
2158
- getCircuits(): Promise<CircuitsResponse>;
2159
- /**
2160
- * @method getTransactionByHash
2161
- * @description Get a transaction by its hash.
2162
- * @param {string} hash - The hash of the transaction.
2163
- * @returns {Promise<TransactionResponse>} The transaction response.
2164
- */
2165
- getTransactionByHash(hash: string): Promise<TransactionResponse>;
2166
- /**
2167
- * @method getTransactions
2168
- * @description Get multiple transactions.
2169
- * @param {string} after - The cursor to start after.
2170
- * @param {number} [limit] - The number of transactions to retrieve.
2171
- * @returns {Promise<TransactionsResponse>} The transactions response.
2172
- */
2173
- getTransactions(after: string, limit?: number): Promise<TransactionsResponse>;
2174
- /**
2175
- * @method getTransactionsByContractAddress
2176
- * @description Get transactions by contract address.
2177
- * @param {string} address - The contract address.
2178
- * @param {string} after - The cursor to start after.
2179
- * @param {number} [limit] - The number of transactions to retrieve.
2180
- * @returns {Promise<TransactionsResponse>} The transactions response.
2181
- */
2182
- getTransactionsByContractAddress(address: string, after: string, limit?: number): Promise<TransactionsResponse>;
2183
- /**
2184
- * @method getProofByContractAddress
2185
- * @description Get proof data by contract address.
2186
- * @param {string} address - The contract address.
2187
- * @returns {Promise<ProofResponse>} The proof response.
2188
- */
2189
- getProofByContractAddress(address: string): Promise<ProofResponse>;
2091
+ getStateIdxInc({ signer, address, contractAddress, }: {
2092
+ signer: OfflineSigner;
2093
+ address: string;
2094
+ contractAddress: string;
2095
+ }): Promise<string>;
2096
+ getVoiceCreditBalance({ signer, stateIdx, contractAddress, }: {
2097
+ signer: OfflineSigner;
2098
+ stateIdx: number;
2099
+ contractAddress: string;
2100
+ }): Promise<string>;
2101
+ getStateIdxByPubKey({ contractAddress, pubKey, }: {
2102
+ contractAddress: string;
2103
+ pubKey: bigint[];
2104
+ }): Promise<number>;
2105
+ feegrantAllowance({ address, contractAddress, }: {
2106
+ address: string;
2107
+ contractAddress: string;
2108
+ }): Promise<FeegrantAllowanceResponse>;
2109
+ hasFeegrant({ address, contractAddress, }: {
2110
+ address: string;
2111
+ contractAddress: string;
2112
+ }): Promise<boolean>;
2113
+ queryWhitelistBalanceOf({ signer, address, contractAddress, certificate, mode, }: {
2114
+ signer: OfflineSigner;
2115
+ address: string;
2116
+ contractAddress: string;
2117
+ certificate?: string;
2118
+ mode?: 'maci' | 'amaci';
2119
+ }): Promise<string>;
2120
+ isWhitelisted({ signer, address, contractAddress, }: {
2121
+ signer: OfflineSigner;
2122
+ address: string;
2123
+ contractAddress: string;
2124
+ }): Promise<boolean>;
2125
+ getOracleWhitelistConfig({ signer, contractAddress, }: {
2126
+ signer: OfflineSigner;
2127
+ contractAddress: string;
2128
+ }): Promise<OracleWhitelistConfig>;
2129
+ getRoundInfo({ contractAddress }: {
2130
+ contractAddress: string;
2131
+ }): Promise<RoundType>;
2132
+ getRoundCircuitType({ contractAddress }: {
2133
+ contractAddress: string;
2134
+ }): Promise<string>;
2135
+ queryRoundIsQv({ contractAddress }: {
2136
+ contractAddress: string;
2137
+ }): Promise<boolean>;
2138
+ queryRoundClaimable({ contractAddress, }: {
2139
+ contractAddress: string;
2140
+ }): Promise<{
2141
+ claimable: boolean | null;
2142
+ balance: string | null;
2143
+ }>;
2144
+ queryAMaciChargeFee({ maxVoter, maxOption, }: {
2145
+ maxVoter: number;
2146
+ maxOption: number;
2147
+ }): Promise<{
2148
+ denom: string;
2149
+ amount: string;
2150
+ }>;
2151
+ queryRoundGasStation({ contractAddress }: {
2152
+ contractAddress: string;
2153
+ }): Promise<boolean>;
2154
+ parseRoundStatus(votingStart: number, votingEnd: number, status: string, currentTime: Date): string;
2155
+ queryRoundBalance({ contractAddress }: {
2156
+ contractAddress: string;
2157
+ }): Promise<string>;
2158
+ requestOracleCertificate({ signer, ecosystem, address, contractAddress, }: {
2159
+ signer: OfflineSigner;
2160
+ ecosystem: CertificateEcosystem;
2161
+ address: string;
2162
+ contractAddress: string;
2163
+ }): Promise<SignatureResponse>;
2164
+ signup({ signer, address, contractAddress, maciAccount, oracleCertificate, gasStation, }: {
2165
+ signer: OfflineSigner;
2166
+ address: string;
2167
+ contractAddress: string;
2168
+ maciAccount?: Account;
2169
+ oracleCertificate?: {
2170
+ amount: string;
2171
+ signature: string;
2172
+ };
2173
+ gasStation?: boolean;
2174
+ }): Promise<_cosmjs_cosmwasm_stargate.ExecuteResult>;
2175
+ vote({ signer, address, stateIdx, contractAddress, selectedOptions, operatorCoordPubKey, maciAccount, gasStation, }: {
2176
+ signer: OfflineSigner;
2177
+ address: string;
2178
+ stateIdx: number;
2179
+ contractAddress: string;
2180
+ selectedOptions: {
2181
+ idx: number;
2182
+ vc: number;
2183
+ }[];
2184
+ operatorCoordPubKey: PublicKey;
2185
+ maciAccount?: Account;
2186
+ gasStation?: boolean;
2187
+ }): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2188
+ publishMessage({ client, address, payload, contractAddress, gasStation, }: {
2189
+ client: SigningCosmWasmClient;
2190
+ address: string;
2191
+ payload: {
2192
+ msg: bigint[];
2193
+ encPubkeys: PublicKey;
2194
+ }[];
2195
+ contractAddress: string;
2196
+ gasStation: boolean;
2197
+ }): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2198
+ claimAMaciRound({ signer, contractAddress, }: {
2199
+ signer: OfflineSigner;
2200
+ contractAddress: string;
2201
+ }): Promise<_cosmjs_cosmwasm_stargate.ExecuteResult>;
2202
+ getOracleCertificateConfig(): Promise<EcosystemsResponse>;
2203
+ batchGrantWithBond(client: SigningCosmWasmClient, contractAddress: string, address: string, amount: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2204
+ batchRevokeWithdraw(client: SigningCosmWasmClient, contractAddress: string, address: string): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
2190
2205
  }
2191
2206
 
2192
2207
  declare function isValidAddress(address: string): boolean;