feeAmountEnabledEvent

Creates an event object for the FeeAmountEnabled event.

Example

import { getContractEvents } from "thirdweb";
import { feeAmountEnabledEvent } from "thirdweb/extensions/uniswap";
const events = await getContractEvents({
contract,
events: [feeAmountEnabledEvent()],
});
function feeAmountEnabledEvent(): PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "fee"; readonly type: "uint24" },
{ readonly name: "tickSpacing"; readonly type: "int24" },
];
readonly name: "FeeAmountEnabled";
readonly type: "event";
}>;

Returns

let returnType: PreparedEvent<{
readonly inputs: readonly [
{ readonly name: "fee"; readonly type: "uint24" },
{ readonly name: "tickSpacing"; readonly type: "int24" },
];
readonly name: "FeeAmountEnabled";
readonly type: "event";
}>;

The prepared event object.