updateQuorumNumerator

Prepares a transaction to call the "updateQuorumNumerator" function on the contract.

Example

import { sendTransaction } from "thirdweb";
import { updateQuorumNumerator } from "thirdweb/extensions/vote";
const transaction = updateQuorumNumerator({
contract,
newQuorumNumerator: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });
function updateQuorumNumerator(
| { asyncParams: () => Promise<UpdateQuorumNumeratorParams> }
>,

Parameters

The options for the "updateQuorumNumerator" function.

Type

| { asyncParams: () => Promise<UpdateQuorumNumeratorParams> }
>;

Returns

let returnType: PreparedTransaction<
any,
AbiFunction,
>;

A prepared transaction object.