From 3cd992d7d0ef2828abb8d95ed990ac12805e45f3 Mon Sep 17 00:00:00 2001 From: thetechnocratic Date: Sat, 4 Jan 2025 20:42:42 -0500 Subject: [PATCH] remove ts files. --- .../src/contracts/types/OZGovernor.ts | 1595 ----------------- .../src/contracts/types/VoteToken.ts | 754 -------- .../plugin-evm/src/contracts/types/common.ts | 131 -- pnpm-lock.yaml | 84 +- 4 files changed, 11 insertions(+), 2553 deletions(-) delete mode 100644 packages/plugin-evm/src/contracts/types/OZGovernor.ts delete mode 100644 packages/plugin-evm/src/contracts/types/VoteToken.ts delete mode 100644 packages/plugin-evm/src/contracts/types/common.ts diff --git a/packages/plugin-evm/src/contracts/types/OZGovernor.ts b/packages/plugin-evm/src/contracts/types/OZGovernor.ts deleted file mode 100644 index 392b1176ef..0000000000 --- a/packages/plugin-evm/src/contracts/types/OZGovernor.ts +++ /dev/null @@ -1,1595 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "./common"; - -export interface OZGovernorInterface extends Interface { - getFunction( - nameOrSignature: - | "BALLOT_TYPEHASH" - | "CLOCK_MODE" - | "COUNTING_MODE" - | "EXTENDED_BALLOT_TYPEHASH" - | "cancel" - | "castVote" - | "castVoteBySig" - | "castVoteWithReason" - | "castVoteWithReasonAndParams" - | "castVoteWithReasonAndParamsBySig" - | "clock" - | "eip712Domain" - | "execute" - | "getVotes" - | "getVotesWithParams" - | "hasVoted" - | "hashProposal" - | "name" - | "nonces" - | "onERC1155BatchReceived" - | "onERC1155Received" - | "onERC721Received" - | "proposalDeadline" - | "proposalEta" - | "proposalNeedsQueuing" - | "proposalProposer" - | "proposalSnapshot" - | "proposalThreshold" - | "proposalVotes" - | "propose" - | "queue" - | "quorum" - | "quorumDenominator" - | "quorumNumerator(uint256)" - | "quorumNumerator()" - | "relay" - | "setProposalThreshold" - | "setVotingDelay" - | "setVotingPeriod" - | "state" - | "supportsInterface" - | "timelock" - | "token" - | "updateQuorumNumerator" - | "updateTimelock" - | "version" - | "votingDelay" - | "votingPeriod" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "EIP712DomainChanged" - | "ProposalCanceled" - | "ProposalCreated" - | "ProposalExecuted" - | "ProposalQueued" - | "ProposalThresholdSet" - | "QuorumNumeratorUpdated" - | "TimelockChange" - | "VoteCast" - | "VoteCastWithParams" - | "VotingDelaySet" - | "VotingPeriodSet" - ): EventFragment; - - encodeFunctionData( - functionFragment: "BALLOT_TYPEHASH", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "COUNTING_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "EXTENDED_BALLOT_TYPEHASH", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "cancel", - values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike] - ): string; - encodeFunctionData( - functionFragment: "castVote", - values: [BigNumberish, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "castVoteBySig", - values: [BigNumberish, BigNumberish, AddressLike, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "castVoteWithReason", - values: [BigNumberish, BigNumberish, string] - ): string; - encodeFunctionData( - functionFragment: "castVoteWithReasonAndParams", - values: [BigNumberish, BigNumberish, string, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "castVoteWithReasonAndParamsBySig", - values: [ - BigNumberish, - BigNumberish, - AddressLike, - string, - BytesLike, - BytesLike, - ] - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "execute", - values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike] - ): string; - encodeFunctionData( - functionFragment: "getVotes", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getVotesWithParams", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "hasVoted", - values: [BigNumberish, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "hashProposal", - values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "nonces", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "onERC1155BatchReceived", - values: [ - AddressLike, - AddressLike, - BigNumberish[], - BigNumberish[], - BytesLike, - ] - ): string; - encodeFunctionData( - functionFragment: "onERC1155Received", - values: [ - AddressLike, - AddressLike, - BigNumberish, - BigNumberish, - BytesLike, - ] - ): string; - encodeFunctionData( - functionFragment: "onERC721Received", - values: [AddressLike, AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "proposalDeadline", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "proposalEta", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "proposalNeedsQueuing", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "proposalProposer", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "proposalSnapshot", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "proposalThreshold", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "proposalVotes", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "propose", - values: [AddressLike[], BigNumberish[], BytesLike[], string] - ): string; - encodeFunctionData( - functionFragment: "queue", - values: [AddressLike[], BigNumberish[], BytesLike[], BytesLike] - ): string; - encodeFunctionData( - functionFragment: "quorum", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "quorumDenominator", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "quorumNumerator(uint256)", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "quorumNumerator()", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "relay", - values: [AddressLike, BigNumberish, BytesLike] - ): string; - encodeFunctionData( - functionFragment: "setProposalThreshold", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "setVotingDelay", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "setVotingPeriod", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "state", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "supportsInterface", - values: [BytesLike] - ): string; - encodeFunctionData( - functionFragment: "timelock", - values?: undefined - ): string; - encodeFunctionData(functionFragment: "token", values?: undefined): string; - encodeFunctionData( - functionFragment: "updateQuorumNumerator", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "updateTimelock", - values: [AddressLike] - ): string; - encodeFunctionData(functionFragment: "version", values?: undefined): string; - encodeFunctionData( - functionFragment: "votingDelay", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "votingPeriod", - values?: undefined - ): string; - - decodeFunctionResult( - functionFragment: "BALLOT_TYPEHASH", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "CLOCK_MODE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "COUNTING_MODE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "EXTENDED_BALLOT_TYPEHASH", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "cancel", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "castVote", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "castVoteBySig", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "castVoteWithReason", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "castVoteWithReasonAndParams", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "castVoteWithReasonAndParamsBySig", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "getVotesWithParams", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "hasVoted", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "hashProposal", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "onERC1155BatchReceived", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onERC1155Received", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "onERC721Received", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proposalDeadline", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proposalEta", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proposalNeedsQueuing", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proposalProposer", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proposalSnapshot", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proposalThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "proposalVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "propose", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "queue", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "quorum", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "quorumDenominator", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "quorumNumerator(uint256)", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "quorumNumerator()", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "relay", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "setProposalThreshold", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setVotingDelay", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "setVotingPeriod", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "state", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "supportsInterface", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "timelock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "token", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "updateQuorumNumerator", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "updateTimelock", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "version", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "votingDelay", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "votingPeriod", - data: BytesLike - ): Result; -} - -export namespace EIP712DomainChangedEvent { - export type InputTuple = []; - export type OutputTuple = []; - export interface OutputObject {} - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace ProposalCanceledEvent { - export type InputTuple = [proposalId: BigNumberish]; - export type OutputTuple = [proposalId: bigint]; - export interface OutputObject { - proposalId: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace ProposalCreatedEvent { - export type InputTuple = [ - proposalId: BigNumberish, - proposer: AddressLike, - targets: AddressLike[], - values: BigNumberish[], - signatures: string[], - calldatas: BytesLike[], - voteStart: BigNumberish, - voteEnd: BigNumberish, - description: string, - ]; - export type OutputTuple = [ - proposalId: bigint, - proposer: string, - targets: string[], - values: bigint[], - signatures: string[], - calldatas: string[], - voteStart: bigint, - voteEnd: bigint, - description: string, - ]; - export interface OutputObject { - proposalId: bigint; - proposer: string; - targets: string[]; - values: bigint[]; - signatures: string[]; - calldatas: string[]; - voteStart: bigint; - voteEnd: bigint; - description: string; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace ProposalExecutedEvent { - export type InputTuple = [proposalId: BigNumberish]; - export type OutputTuple = [proposalId: bigint]; - export interface OutputObject { - proposalId: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace ProposalQueuedEvent { - export type InputTuple = [ - proposalId: BigNumberish, - etaSeconds: BigNumberish, - ]; - export type OutputTuple = [proposalId: bigint, etaSeconds: bigint]; - export interface OutputObject { - proposalId: bigint; - etaSeconds: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace ProposalThresholdSetEvent { - export type InputTuple = [ - oldProposalThreshold: BigNumberish, - newProposalThreshold: BigNumberish, - ]; - export type OutputTuple = [ - oldProposalThreshold: bigint, - newProposalThreshold: bigint, - ]; - export interface OutputObject { - oldProposalThreshold: bigint; - newProposalThreshold: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace QuorumNumeratorUpdatedEvent { - export type InputTuple = [ - oldQuorumNumerator: BigNumberish, - newQuorumNumerator: BigNumberish, - ]; - export type OutputTuple = [ - oldQuorumNumerator: bigint, - newQuorumNumerator: bigint, - ]; - export interface OutputObject { - oldQuorumNumerator: bigint; - newQuorumNumerator: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace TimelockChangeEvent { - export type InputTuple = [ - oldTimelock: AddressLike, - newTimelock: AddressLike, - ]; - export type OutputTuple = [oldTimelock: string, newTimelock: string]; - export interface OutputObject { - oldTimelock: string; - newTimelock: string; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace VoteCastEvent { - export type InputTuple = [ - voter: AddressLike, - proposalId: BigNumberish, - support: BigNumberish, - weight: BigNumberish, - reason: string, - ]; - export type OutputTuple = [ - voter: string, - proposalId: bigint, - support: bigint, - weight: bigint, - reason: string, - ]; - export interface OutputObject { - voter: string; - proposalId: bigint; - support: bigint; - weight: bigint; - reason: string; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace VoteCastWithParamsEvent { - export type InputTuple = [ - voter: AddressLike, - proposalId: BigNumberish, - support: BigNumberish, - weight: BigNumberish, - reason: string, - params: BytesLike, - ]; - export type OutputTuple = [ - voter: string, - proposalId: bigint, - support: bigint, - weight: bigint, - reason: string, - params: string, - ]; - export interface OutputObject { - voter: string; - proposalId: bigint; - support: bigint; - weight: bigint; - reason: string; - params: string; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace VotingDelaySetEvent { - export type InputTuple = [ - oldVotingDelay: BigNumberish, - newVotingDelay: BigNumberish, - ]; - export type OutputTuple = [oldVotingDelay: bigint, newVotingDelay: bigint]; - export interface OutputObject { - oldVotingDelay: bigint; - newVotingDelay: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace VotingPeriodSetEvent { - export type InputTuple = [ - oldVotingPeriod: BigNumberish, - newVotingPeriod: BigNumberish, - ]; - export type OutputTuple = [ - oldVotingPeriod: bigint, - newVotingPeriod: bigint, - ]; - export interface OutputObject { - oldVotingPeriod: bigint; - newVotingPeriod: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface OZGovernor extends BaseContract { - connect(runner?: ContractRunner | null): OZGovernor; - waitForDeployment(): Promise; - - interface: OZGovernorInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - BALLOT_TYPEHASH: TypedContractMethod<[], [string], "view">; - - CLOCK_MODE: TypedContractMethod<[], [string], "view">; - - COUNTING_MODE: TypedContractMethod<[], [string], "view">; - - EXTENDED_BALLOT_TYPEHASH: TypedContractMethod<[], [string], "view">; - - cancel: TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "nonpayable" - >; - - castVote: TypedContractMethod< - [proposalId: BigNumberish, support: BigNumberish], - [bigint], - "nonpayable" - >; - - castVoteBySig: TypedContractMethod< - [ - proposalId: BigNumberish, - support: BigNumberish, - voter: AddressLike, - signature: BytesLike, - ], - [bigint], - "nonpayable" - >; - - castVoteWithReason: TypedContractMethod< - [proposalId: BigNumberish, support: BigNumberish, reason: string], - [bigint], - "nonpayable" - >; - - castVoteWithReasonAndParams: TypedContractMethod< - [ - proposalId: BigNumberish, - support: BigNumberish, - reason: string, - params: BytesLike, - ], - [bigint], - "nonpayable" - >; - - castVoteWithReasonAndParamsBySig: TypedContractMethod< - [ - proposalId: BigNumberish, - support: BigNumberish, - voter: AddressLike, - reason: string, - params: BytesLike, - signature: BytesLike, - ], - [bigint], - "nonpayable" - >; - - clock: TypedContractMethod<[], [bigint], "view">; - - eip712Domain: TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - }, - ], - "view" - >; - - execute: TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "payable" - >; - - getVotes: TypedContractMethod< - [account: AddressLike, timepoint: BigNumberish], - [bigint], - "view" - >; - - getVotesWithParams: TypedContractMethod< - [account: AddressLike, timepoint: BigNumberish, params: BytesLike], - [bigint], - "view" - >; - - hasVoted: TypedContractMethod< - [proposalId: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - - hashProposal: TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "view" - >; - - name: TypedContractMethod<[], [string], "view">; - - nonces: TypedContractMethod<[owner: AddressLike], [bigint], "view">; - - onERC1155BatchReceived: TypedContractMethod< - [ - arg0: AddressLike, - arg1: AddressLike, - arg2: BigNumberish[], - arg3: BigNumberish[], - arg4: BytesLike, - ], - [string], - "nonpayable" - >; - - onERC1155Received: TypedContractMethod< - [ - arg0: AddressLike, - arg1: AddressLike, - arg2: BigNumberish, - arg3: BigNumberish, - arg4: BytesLike, - ], - [string], - "nonpayable" - >; - - onERC721Received: TypedContractMethod< - [ - arg0: AddressLike, - arg1: AddressLike, - arg2: BigNumberish, - arg3: BytesLike, - ], - [string], - "nonpayable" - >; - - proposalDeadline: TypedContractMethod< - [proposalId: BigNumberish], - [bigint], - "view" - >; - - proposalEta: TypedContractMethod< - [proposalId: BigNumberish], - [bigint], - "view" - >; - - proposalNeedsQueuing: TypedContractMethod< - [proposalId: BigNumberish], - [boolean], - "view" - >; - - proposalProposer: TypedContractMethod< - [proposalId: BigNumberish], - [string], - "view" - >; - - proposalSnapshot: TypedContractMethod< - [proposalId: BigNumberish], - [bigint], - "view" - >; - - proposalThreshold: TypedContractMethod<[], [bigint], "view">; - - proposalVotes: TypedContractMethod< - [proposalId: BigNumberish], - [ - [bigint, bigint, bigint] & { - againstVotes: bigint; - forVotes: bigint; - abstainVotes: bigint; - }, - ], - "view" - >; - - propose: TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - description: string, - ], - [bigint], - "nonpayable" - >; - - queue: TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "nonpayable" - >; - - quorum: TypedContractMethod<[blockNumber: BigNumberish], [bigint], "view">; - - quorumDenominator: TypedContractMethod<[], [bigint], "view">; - - "quorumNumerator(uint256)": TypedContractMethod< - [timepoint: BigNumberish], - [bigint], - "view" - >; - - "quorumNumerator()": TypedContractMethod<[], [bigint], "view">; - - relay: TypedContractMethod< - [target: AddressLike, value: BigNumberish, data: BytesLike], - [void], - "payable" - >; - - setProposalThreshold: TypedContractMethod< - [newProposalThreshold: BigNumberish], - [void], - "nonpayable" - >; - - setVotingDelay: TypedContractMethod< - [newVotingDelay: BigNumberish], - [void], - "nonpayable" - >; - - setVotingPeriod: TypedContractMethod< - [newVotingPeriod: BigNumberish], - [void], - "nonpayable" - >; - - state: TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">; - - supportsInterface: TypedContractMethod< - [interfaceId: BytesLike], - [boolean], - "view" - >; - - timelock: TypedContractMethod<[], [string], "view">; - - token: TypedContractMethod<[], [string], "view">; - - updateQuorumNumerator: TypedContractMethod< - [newQuorumNumerator: BigNumberish], - [void], - "nonpayable" - >; - - updateTimelock: TypedContractMethod< - [newTimelock: AddressLike], - [void], - "nonpayable" - >; - - version: TypedContractMethod<[], [string], "view">; - - votingDelay: TypedContractMethod<[], [bigint], "view">; - - votingPeriod: TypedContractMethod<[], [bigint], "view">; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "BALLOT_TYPEHASH" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "CLOCK_MODE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "COUNTING_MODE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "EXTENDED_BALLOT_TYPEHASH" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "cancel" - ): TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "castVote" - ): TypedContractMethod< - [proposalId: BigNumberish, support: BigNumberish], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "castVoteBySig" - ): TypedContractMethod< - [ - proposalId: BigNumberish, - support: BigNumberish, - voter: AddressLike, - signature: BytesLike, - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "castVoteWithReason" - ): TypedContractMethod< - [proposalId: BigNumberish, support: BigNumberish, reason: string], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "castVoteWithReasonAndParams" - ): TypedContractMethod< - [ - proposalId: BigNumberish, - support: BigNumberish, - reason: string, - params: BytesLike, - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "castVoteWithReasonAndParamsBySig" - ): TypedContractMethod< - [ - proposalId: BigNumberish, - support: BigNumberish, - voter: AddressLike, - reason: string, - params: BytesLike, - signature: BytesLike, - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "clock" - ): TypedContractMethod<[], [bigint], "view">; - getFunction(nameOrSignature: "eip712Domain"): TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - }, - ], - "view" - >; - getFunction( - nameOrSignature: "execute" - ): TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "payable" - >; - getFunction( - nameOrSignature: "getVotes" - ): TypedContractMethod< - [account: AddressLike, timepoint: BigNumberish], - [bigint], - "view" - >; - getFunction( - nameOrSignature: "getVotesWithParams" - ): TypedContractMethod< - [account: AddressLike, timepoint: BigNumberish, params: BytesLike], - [bigint], - "view" - >; - getFunction( - nameOrSignature: "hasVoted" - ): TypedContractMethod< - [proposalId: BigNumberish, account: AddressLike], - [boolean], - "view" - >; - getFunction( - nameOrSignature: "hashProposal" - ): TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "view" - >; - getFunction( - nameOrSignature: "name" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "nonces" - ): TypedContractMethod<[owner: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "onERC1155BatchReceived" - ): TypedContractMethod< - [ - arg0: AddressLike, - arg1: AddressLike, - arg2: BigNumberish[], - arg3: BigNumberish[], - arg4: BytesLike, - ], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "onERC1155Received" - ): TypedContractMethod< - [ - arg0: AddressLike, - arg1: AddressLike, - arg2: BigNumberish, - arg3: BigNumberish, - arg4: BytesLike, - ], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "onERC721Received" - ): TypedContractMethod< - [ - arg0: AddressLike, - arg1: AddressLike, - arg2: BigNumberish, - arg3: BytesLike, - ], - [string], - "nonpayable" - >; - getFunction( - nameOrSignature: "proposalDeadline" - ): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">; - getFunction( - nameOrSignature: "proposalEta" - ): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">; - getFunction( - nameOrSignature: "proposalNeedsQueuing" - ): TypedContractMethod<[proposalId: BigNumberish], [boolean], "view">; - getFunction( - nameOrSignature: "proposalProposer" - ): TypedContractMethod<[proposalId: BigNumberish], [string], "view">; - getFunction( - nameOrSignature: "proposalSnapshot" - ): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">; - getFunction( - nameOrSignature: "proposalThreshold" - ): TypedContractMethod<[], [bigint], "view">; - getFunction(nameOrSignature: "proposalVotes"): TypedContractMethod< - [proposalId: BigNumberish], - [ - [bigint, bigint, bigint] & { - againstVotes: bigint; - forVotes: bigint; - abstainVotes: bigint; - }, - ], - "view" - >; - getFunction( - nameOrSignature: "propose" - ): TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - description: string, - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "queue" - ): TypedContractMethod< - [ - targets: AddressLike[], - values: BigNumberish[], - calldatas: BytesLike[], - descriptionHash: BytesLike, - ], - [bigint], - "nonpayable" - >; - getFunction( - nameOrSignature: "quorum" - ): TypedContractMethod<[blockNumber: BigNumberish], [bigint], "view">; - getFunction( - nameOrSignature: "quorumDenominator" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "quorumNumerator(uint256)" - ): TypedContractMethod<[timepoint: BigNumberish], [bigint], "view">; - getFunction( - nameOrSignature: "quorumNumerator()" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "relay" - ): TypedContractMethod< - [target: AddressLike, value: BigNumberish, data: BytesLike], - [void], - "payable" - >; - getFunction( - nameOrSignature: "setProposalThreshold" - ): TypedContractMethod< - [newProposalThreshold: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "setVotingDelay" - ): TypedContractMethod< - [newVotingDelay: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "setVotingPeriod" - ): TypedContractMethod< - [newVotingPeriod: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "state" - ): TypedContractMethod<[proposalId: BigNumberish], [bigint], "view">; - getFunction( - nameOrSignature: "supportsInterface" - ): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">; - getFunction( - nameOrSignature: "timelock" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "token" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "updateQuorumNumerator" - ): TypedContractMethod< - [newQuorumNumerator: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "updateTimelock" - ): TypedContractMethod<[newTimelock: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "version" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "votingDelay" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "votingPeriod" - ): TypedContractMethod<[], [bigint], "view">; - - getEvent( - key: "EIP712DomainChanged" - ): TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - getEvent( - key: "ProposalCanceled" - ): TypedContractEvent< - ProposalCanceledEvent.InputTuple, - ProposalCanceledEvent.OutputTuple, - ProposalCanceledEvent.OutputObject - >; - getEvent( - key: "ProposalCreated" - ): TypedContractEvent< - ProposalCreatedEvent.InputTuple, - ProposalCreatedEvent.OutputTuple, - ProposalCreatedEvent.OutputObject - >; - getEvent( - key: "ProposalExecuted" - ): TypedContractEvent< - ProposalExecutedEvent.InputTuple, - ProposalExecutedEvent.OutputTuple, - ProposalExecutedEvent.OutputObject - >; - getEvent( - key: "ProposalQueued" - ): TypedContractEvent< - ProposalQueuedEvent.InputTuple, - ProposalQueuedEvent.OutputTuple, - ProposalQueuedEvent.OutputObject - >; - getEvent( - key: "ProposalThresholdSet" - ): TypedContractEvent< - ProposalThresholdSetEvent.InputTuple, - ProposalThresholdSetEvent.OutputTuple, - ProposalThresholdSetEvent.OutputObject - >; - getEvent( - key: "QuorumNumeratorUpdated" - ): TypedContractEvent< - QuorumNumeratorUpdatedEvent.InputTuple, - QuorumNumeratorUpdatedEvent.OutputTuple, - QuorumNumeratorUpdatedEvent.OutputObject - >; - getEvent( - key: "TimelockChange" - ): TypedContractEvent< - TimelockChangeEvent.InputTuple, - TimelockChangeEvent.OutputTuple, - TimelockChangeEvent.OutputObject - >; - getEvent( - key: "VoteCast" - ): TypedContractEvent< - VoteCastEvent.InputTuple, - VoteCastEvent.OutputTuple, - VoteCastEvent.OutputObject - >; - getEvent( - key: "VoteCastWithParams" - ): TypedContractEvent< - VoteCastWithParamsEvent.InputTuple, - VoteCastWithParamsEvent.OutputTuple, - VoteCastWithParamsEvent.OutputObject - >; - getEvent( - key: "VotingDelaySet" - ): TypedContractEvent< - VotingDelaySetEvent.InputTuple, - VotingDelaySetEvent.OutputTuple, - VotingDelaySetEvent.OutputObject - >; - getEvent( - key: "VotingPeriodSet" - ): TypedContractEvent< - VotingPeriodSetEvent.InputTuple, - VotingPeriodSetEvent.OutputTuple, - VotingPeriodSetEvent.OutputObject - >; - - filters: { - "EIP712DomainChanged()": TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - EIP712DomainChanged: TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - - "ProposalCanceled(uint256)": TypedContractEvent< - ProposalCanceledEvent.InputTuple, - ProposalCanceledEvent.OutputTuple, - ProposalCanceledEvent.OutputObject - >; - ProposalCanceled: TypedContractEvent< - ProposalCanceledEvent.InputTuple, - ProposalCanceledEvent.OutputTuple, - ProposalCanceledEvent.OutputObject - >; - - "ProposalCreated(uint256,address,address[],uint256[],string[],bytes[],uint256,uint256,string)": TypedContractEvent< - ProposalCreatedEvent.InputTuple, - ProposalCreatedEvent.OutputTuple, - ProposalCreatedEvent.OutputObject - >; - ProposalCreated: TypedContractEvent< - ProposalCreatedEvent.InputTuple, - ProposalCreatedEvent.OutputTuple, - ProposalCreatedEvent.OutputObject - >; - - "ProposalExecuted(uint256)": TypedContractEvent< - ProposalExecutedEvent.InputTuple, - ProposalExecutedEvent.OutputTuple, - ProposalExecutedEvent.OutputObject - >; - ProposalExecuted: TypedContractEvent< - ProposalExecutedEvent.InputTuple, - ProposalExecutedEvent.OutputTuple, - ProposalExecutedEvent.OutputObject - >; - - "ProposalQueued(uint256,uint256)": TypedContractEvent< - ProposalQueuedEvent.InputTuple, - ProposalQueuedEvent.OutputTuple, - ProposalQueuedEvent.OutputObject - >; - ProposalQueued: TypedContractEvent< - ProposalQueuedEvent.InputTuple, - ProposalQueuedEvent.OutputTuple, - ProposalQueuedEvent.OutputObject - >; - - "ProposalThresholdSet(uint256,uint256)": TypedContractEvent< - ProposalThresholdSetEvent.InputTuple, - ProposalThresholdSetEvent.OutputTuple, - ProposalThresholdSetEvent.OutputObject - >; - ProposalThresholdSet: TypedContractEvent< - ProposalThresholdSetEvent.InputTuple, - ProposalThresholdSetEvent.OutputTuple, - ProposalThresholdSetEvent.OutputObject - >; - - "QuorumNumeratorUpdated(uint256,uint256)": TypedContractEvent< - QuorumNumeratorUpdatedEvent.InputTuple, - QuorumNumeratorUpdatedEvent.OutputTuple, - QuorumNumeratorUpdatedEvent.OutputObject - >; - QuorumNumeratorUpdated: TypedContractEvent< - QuorumNumeratorUpdatedEvent.InputTuple, - QuorumNumeratorUpdatedEvent.OutputTuple, - QuorumNumeratorUpdatedEvent.OutputObject - >; - - "TimelockChange(address,address)": TypedContractEvent< - TimelockChangeEvent.InputTuple, - TimelockChangeEvent.OutputTuple, - TimelockChangeEvent.OutputObject - >; - TimelockChange: TypedContractEvent< - TimelockChangeEvent.InputTuple, - TimelockChangeEvent.OutputTuple, - TimelockChangeEvent.OutputObject - >; - - "VoteCast(address,uint256,uint8,uint256,string)": TypedContractEvent< - VoteCastEvent.InputTuple, - VoteCastEvent.OutputTuple, - VoteCastEvent.OutputObject - >; - VoteCast: TypedContractEvent< - VoteCastEvent.InputTuple, - VoteCastEvent.OutputTuple, - VoteCastEvent.OutputObject - >; - - "VoteCastWithParams(address,uint256,uint8,uint256,string,bytes)": TypedContractEvent< - VoteCastWithParamsEvent.InputTuple, - VoteCastWithParamsEvent.OutputTuple, - VoteCastWithParamsEvent.OutputObject - >; - VoteCastWithParams: TypedContractEvent< - VoteCastWithParamsEvent.InputTuple, - VoteCastWithParamsEvent.OutputTuple, - VoteCastWithParamsEvent.OutputObject - >; - - "VotingDelaySet(uint256,uint256)": TypedContractEvent< - VotingDelaySetEvent.InputTuple, - VotingDelaySetEvent.OutputTuple, - VotingDelaySetEvent.OutputObject - >; - VotingDelaySet: TypedContractEvent< - VotingDelaySetEvent.InputTuple, - VotingDelaySetEvent.OutputTuple, - VotingDelaySetEvent.OutputObject - >; - - "VotingPeriodSet(uint256,uint256)": TypedContractEvent< - VotingPeriodSetEvent.InputTuple, - VotingPeriodSetEvent.OutputTuple, - VotingPeriodSetEvent.OutputObject - >; - VotingPeriodSet: TypedContractEvent< - VotingPeriodSetEvent.InputTuple, - VotingPeriodSetEvent.OutputTuple, - VotingPeriodSetEvent.OutputObject - >; - }; -} diff --git a/packages/plugin-evm/src/contracts/types/VoteToken.ts b/packages/plugin-evm/src/contracts/types/VoteToken.ts deleted file mode 100644 index be5ed23ea1..0000000000 --- a/packages/plugin-evm/src/contracts/types/VoteToken.ts +++ /dev/null @@ -1,754 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - BaseContract, - BigNumberish, - BytesLike, - FunctionFragment, - Result, - Interface, - EventFragment, - AddressLike, - ContractRunner, - ContractMethod, - Listener, -} from "ethers"; -import type { - TypedContractEvent, - TypedDeferredTopicFilter, - TypedEventLog, - TypedLogDescription, - TypedListener, - TypedContractMethod, -} from "./common"; - -export declare namespace Checkpoints { - export type Checkpoint208Struct = { - _key: BigNumberish; - _value: BigNumberish; - }; - - export type Checkpoint208StructOutput = [_key: bigint, _value: bigint] & { - _key: bigint; - _value: bigint; - }; -} - -export interface VoteTokenInterface extends Interface { - getFunction( - nameOrSignature: - | "CLOCK_MODE" - | "DOMAIN_SEPARATOR" - | "allowance" - | "approve" - | "balanceOf" - | "checkpoints" - | "clock" - | "decimals" - | "delegate" - | "delegateBySig" - | "delegates" - | "eip712Domain" - | "getPastTotalSupply" - | "getPastVotes" - | "getVotes" - | "mint" - | "name" - | "nonces" - | "numCheckpoints" - | "permit" - | "symbol" - | "totalSupply" - | "transfer" - | "transferFrom" - ): FunctionFragment; - - getEvent( - nameOrSignatureOrTopic: - | "Approval" - | "DelegateChanged" - | "DelegateVotesChanged" - | "EIP712DomainChanged" - | "Transfer" - ): EventFragment; - - encodeFunctionData( - functionFragment: "CLOCK_MODE", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "DOMAIN_SEPARATOR", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "allowance", - values: [AddressLike, AddressLike] - ): string; - encodeFunctionData( - functionFragment: "approve", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "balanceOf", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "checkpoints", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "clock", values?: undefined): string; - encodeFunctionData( - functionFragment: "decimals", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "delegate", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "delegateBySig", - values: [ - AddressLike, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike, - ] - ): string; - encodeFunctionData( - functionFragment: "delegates", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "eip712Domain", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "getPastTotalSupply", - values: [BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getPastVotes", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "getVotes", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "mint", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData(functionFragment: "name", values?: undefined): string; - encodeFunctionData( - functionFragment: "nonces", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "numCheckpoints", - values: [AddressLike] - ): string; - encodeFunctionData( - functionFragment: "permit", - values: [ - AddressLike, - AddressLike, - BigNumberish, - BigNumberish, - BigNumberish, - BytesLike, - BytesLike, - ] - ): string; - encodeFunctionData(functionFragment: "symbol", values?: undefined): string; - encodeFunctionData( - functionFragment: "totalSupply", - values?: undefined - ): string; - encodeFunctionData( - functionFragment: "transfer", - values: [AddressLike, BigNumberish] - ): string; - encodeFunctionData( - functionFragment: "transferFrom", - values: [AddressLike, AddressLike, BigNumberish] - ): string; - - decodeFunctionResult( - functionFragment: "CLOCK_MODE", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "DOMAIN_SEPARATOR", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "allowance", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "balanceOf", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "checkpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "clock", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "delegate", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "delegateBySig", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "delegates", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "eip712Domain", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastTotalSupply", - data: BytesLike - ): Result; - decodeFunctionResult( - functionFragment: "getPastVotes", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "getVotes", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "name", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "nonces", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "numCheckpoints", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result; - decodeFunctionResult(functionFragment: "symbol", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "totalSupply", - data: BytesLike - ): Result; - decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result; - decodeFunctionResult( - functionFragment: "transferFrom", - data: BytesLike - ): Result; -} - -export namespace ApprovalEvent { - export type InputTuple = [ - owner: AddressLike, - spender: AddressLike, - value: BigNumberish, - ]; - export type OutputTuple = [owner: string, spender: string, value: bigint]; - export interface OutputObject { - owner: string; - spender: string; - value: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace DelegateChangedEvent { - export type InputTuple = [ - delegator: AddressLike, - fromDelegate: AddressLike, - toDelegate: AddressLike, - ]; - export type OutputTuple = [ - delegator: string, - fromDelegate: string, - toDelegate: string, - ]; - export interface OutputObject { - delegator: string; - fromDelegate: string; - toDelegate: string; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace DelegateVotesChangedEvent { - export type InputTuple = [ - delegate: AddressLike, - previousVotes: BigNumberish, - newVotes: BigNumberish, - ]; - export type OutputTuple = [ - delegate: string, - previousVotes: bigint, - newVotes: bigint, - ]; - export interface OutputObject { - delegate: string; - previousVotes: bigint; - newVotes: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace EIP712DomainChangedEvent { - export type InputTuple = []; - export type OutputTuple = []; - export interface OutputObject {} - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export namespace TransferEvent { - export type InputTuple = [ - from: AddressLike, - to: AddressLike, - value: BigNumberish, - ]; - export type OutputTuple = [from: string, to: string, value: bigint]; - export interface OutputObject { - from: string; - to: string; - value: bigint; - } - export type Event = TypedContractEvent< - InputTuple, - OutputTuple, - OutputObject - >; - export type Filter = TypedDeferredTopicFilter; - export type Log = TypedEventLog; - export type LogDescription = TypedLogDescription; -} - -export interface VoteToken extends BaseContract { - connect(runner?: ContractRunner | null): VoteToken; - waitForDeployment(): Promise; - - interface: VoteTokenInterface; - - queryFilter( - event: TCEvent, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - queryFilter( - filter: TypedDeferredTopicFilter, - fromBlockOrBlockhash?: string | number | undefined, - toBlock?: string | number | undefined - ): Promise>>; - - on( - event: TCEvent, - listener: TypedListener - ): Promise; - on( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - once( - event: TCEvent, - listener: TypedListener - ): Promise; - once( - filter: TypedDeferredTopicFilter, - listener: TypedListener - ): Promise; - - listeners( - event: TCEvent - ): Promise>>; - listeners(eventName?: string): Promise>; - removeAllListeners( - event?: TCEvent - ): Promise; - - CLOCK_MODE: TypedContractMethod<[], [string], "view">; - - DOMAIN_SEPARATOR: TypedContractMethod<[], [string], "view">; - - allowance: TypedContractMethod< - [owner: AddressLike, spender: AddressLike], - [bigint], - "view" - >; - - approve: TypedContractMethod< - [spender: AddressLike, value: BigNumberish], - [boolean], - "nonpayable" - >; - - balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">; - - checkpoints: TypedContractMethod< - [account: AddressLike, pos: BigNumberish], - [Checkpoints.Checkpoint208StructOutput], - "view" - >; - - clock: TypedContractMethod<[], [bigint], "view">; - - decimals: TypedContractMethod<[], [bigint], "view">; - - delegate: TypedContractMethod< - [delegatee: AddressLike], - [void], - "nonpayable" - >; - - delegateBySig: TypedContractMethod< - [ - delegatee: AddressLike, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - ], - [void], - "nonpayable" - >; - - delegates: TypedContractMethod<[account: AddressLike], [string], "view">; - - eip712Domain: TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - }, - ], - "view" - >; - - getPastTotalSupply: TypedContractMethod< - [timepoint: BigNumberish], - [bigint], - "view" - >; - - getPastVotes: TypedContractMethod< - [account: AddressLike, timepoint: BigNumberish], - [bigint], - "view" - >; - - getVotes: TypedContractMethod<[account: AddressLike], [bigint], "view">; - - mint: TypedContractMethod< - [to: AddressLike, amount: BigNumberish], - [void], - "nonpayable" - >; - - name: TypedContractMethod<[], [string], "view">; - - nonces: TypedContractMethod<[_owner: AddressLike], [bigint], "view">; - - numCheckpoints: TypedContractMethod< - [account: AddressLike], - [bigint], - "view" - >; - - permit: TypedContractMethod< - [ - owner: AddressLike, - spender: AddressLike, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - ], - [void], - "nonpayable" - >; - - symbol: TypedContractMethod<[], [string], "view">; - - totalSupply: TypedContractMethod<[], [bigint], "view">; - - transfer: TypedContractMethod< - [to: AddressLike, value: BigNumberish], - [boolean], - "nonpayable" - >; - - transferFrom: TypedContractMethod< - [from: AddressLike, to: AddressLike, value: BigNumberish], - [boolean], - "nonpayable" - >; - - getFunction( - key: string | FunctionFragment - ): T; - - getFunction( - nameOrSignature: "CLOCK_MODE" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "DOMAIN_SEPARATOR" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "allowance" - ): TypedContractMethod< - [owner: AddressLike, spender: AddressLike], - [bigint], - "view" - >; - getFunction( - nameOrSignature: "approve" - ): TypedContractMethod< - [spender: AddressLike, value: BigNumberish], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "balanceOf" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "checkpoints" - ): TypedContractMethod< - [account: AddressLike, pos: BigNumberish], - [Checkpoints.Checkpoint208StructOutput], - "view" - >; - getFunction( - nameOrSignature: "clock" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "decimals" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "delegate" - ): TypedContractMethod<[delegatee: AddressLike], [void], "nonpayable">; - getFunction( - nameOrSignature: "delegateBySig" - ): TypedContractMethod< - [ - delegatee: AddressLike, - nonce: BigNumberish, - expiry: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "delegates" - ): TypedContractMethod<[account: AddressLike], [string], "view">; - getFunction(nameOrSignature: "eip712Domain"): TypedContractMethod< - [], - [ - [string, string, string, bigint, string, string, bigint[]] & { - fields: string; - name: string; - version: string; - chainId: bigint; - verifyingContract: string; - salt: string; - extensions: bigint[]; - }, - ], - "view" - >; - getFunction( - nameOrSignature: "getPastTotalSupply" - ): TypedContractMethod<[timepoint: BigNumberish], [bigint], "view">; - getFunction( - nameOrSignature: "getPastVotes" - ): TypedContractMethod< - [account: AddressLike, timepoint: BigNumberish], - [bigint], - "view" - >; - getFunction( - nameOrSignature: "getVotes" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "mint" - ): TypedContractMethod< - [to: AddressLike, amount: BigNumberish], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "name" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "nonces" - ): TypedContractMethod<[_owner: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "numCheckpoints" - ): TypedContractMethod<[account: AddressLike], [bigint], "view">; - getFunction( - nameOrSignature: "permit" - ): TypedContractMethod< - [ - owner: AddressLike, - spender: AddressLike, - value: BigNumberish, - deadline: BigNumberish, - v: BigNumberish, - r: BytesLike, - s: BytesLike, - ], - [void], - "nonpayable" - >; - getFunction( - nameOrSignature: "symbol" - ): TypedContractMethod<[], [string], "view">; - getFunction( - nameOrSignature: "totalSupply" - ): TypedContractMethod<[], [bigint], "view">; - getFunction( - nameOrSignature: "transfer" - ): TypedContractMethod< - [to: AddressLike, value: BigNumberish], - [boolean], - "nonpayable" - >; - getFunction( - nameOrSignature: "transferFrom" - ): TypedContractMethod< - [from: AddressLike, to: AddressLike, value: BigNumberish], - [boolean], - "nonpayable" - >; - - getEvent( - key: "Approval" - ): TypedContractEvent< - ApprovalEvent.InputTuple, - ApprovalEvent.OutputTuple, - ApprovalEvent.OutputObject - >; - getEvent( - key: "DelegateChanged" - ): TypedContractEvent< - DelegateChangedEvent.InputTuple, - DelegateChangedEvent.OutputTuple, - DelegateChangedEvent.OutputObject - >; - getEvent( - key: "DelegateVotesChanged" - ): TypedContractEvent< - DelegateVotesChangedEvent.InputTuple, - DelegateVotesChangedEvent.OutputTuple, - DelegateVotesChangedEvent.OutputObject - >; - getEvent( - key: "EIP712DomainChanged" - ): TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - getEvent( - key: "Transfer" - ): TypedContractEvent< - TransferEvent.InputTuple, - TransferEvent.OutputTuple, - TransferEvent.OutputObject - >; - - filters: { - "Approval(address,address,uint256)": TypedContractEvent< - ApprovalEvent.InputTuple, - ApprovalEvent.OutputTuple, - ApprovalEvent.OutputObject - >; - Approval: TypedContractEvent< - ApprovalEvent.InputTuple, - ApprovalEvent.OutputTuple, - ApprovalEvent.OutputObject - >; - - "DelegateChanged(address,address,address)": TypedContractEvent< - DelegateChangedEvent.InputTuple, - DelegateChangedEvent.OutputTuple, - DelegateChangedEvent.OutputObject - >; - DelegateChanged: TypedContractEvent< - DelegateChangedEvent.InputTuple, - DelegateChangedEvent.OutputTuple, - DelegateChangedEvent.OutputObject - >; - - "DelegateVotesChanged(address,uint256,uint256)": TypedContractEvent< - DelegateVotesChangedEvent.InputTuple, - DelegateVotesChangedEvent.OutputTuple, - DelegateVotesChangedEvent.OutputObject - >; - DelegateVotesChanged: TypedContractEvent< - DelegateVotesChangedEvent.InputTuple, - DelegateVotesChangedEvent.OutputTuple, - DelegateVotesChangedEvent.OutputObject - >; - - "EIP712DomainChanged()": TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - EIP712DomainChanged: TypedContractEvent< - EIP712DomainChangedEvent.InputTuple, - EIP712DomainChangedEvent.OutputTuple, - EIP712DomainChangedEvent.OutputObject - >; - - "Transfer(address,address,uint256)": TypedContractEvent< - TransferEvent.InputTuple, - TransferEvent.OutputTuple, - TransferEvent.OutputObject - >; - Transfer: TypedContractEvent< - TransferEvent.InputTuple, - TransferEvent.OutputTuple, - TransferEvent.OutputObject - >; - }; -} diff --git a/packages/plugin-evm/src/contracts/types/common.ts b/packages/plugin-evm/src/contracts/types/common.ts deleted file mode 100644 index 56b5f21e9c..0000000000 --- a/packages/plugin-evm/src/contracts/types/common.ts +++ /dev/null @@ -1,131 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -import type { - FunctionFragment, - Typed, - EventFragment, - ContractTransaction, - ContractTransactionResponse, - DeferredTopicFilter, - EventLog, - TransactionRequest, - LogDescription, -} from "ethers"; - -export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent> - extends DeferredTopicFilter {} - -export interface TypedContractEvent< - InputTuple extends Array = any, - OutputTuple extends Array = any, - OutputObject = any -> { - (...args: Partial): TypedDeferredTopicFilter< - TypedContractEvent - >; - name: string; - fragment: EventFragment; - getFragment(...args: Partial): EventFragment; -} - -type __TypechainAOutputTuple = T extends TypedContractEvent< - infer _U, - infer W -> - ? W - : never; -type __TypechainOutputObject = T extends TypedContractEvent< - infer _U, - infer _W, - infer V -> - ? V - : never; - -export interface TypedEventLog - extends Omit { - args: __TypechainAOutputTuple & __TypechainOutputObject; -} - -export interface TypedLogDescription - extends Omit { - args: __TypechainAOutputTuple & __TypechainOutputObject; -} - -export type TypedListener = ( - ...listenerArg: [ - ...__TypechainAOutputTuple, - TypedEventLog, - ...undefined[] - ] -) => void; - -export type MinEthersFactory = { - deploy(...a: ARGS[]): Promise; -}; - -export type GetContractTypeFromFactory = F extends MinEthersFactory< - infer C, - any -> - ? C - : never; -export type GetARGsTypeFromFactory = F extends MinEthersFactory - ? Parameters - : never; - -export type StateMutability = "nonpayable" | "payable" | "view"; - -export type BaseOverrides = Omit; -export type NonPayableOverrides = Omit< - BaseOverrides, - "value" | "blockTag" | "enableCcipRead" ->; -export type PayableOverrides = Omit< - BaseOverrides, - "blockTag" | "enableCcipRead" ->; -export type ViewOverrides = Omit; -export type Overrides = S extends "nonpayable" - ? NonPayableOverrides - : S extends "payable" - ? PayableOverrides - : ViewOverrides; - -export type PostfixOverrides, S extends StateMutability> = - | A - | [...A, Overrides]; -export type ContractMethodArgs< - A extends Array, - S extends StateMutability -> = PostfixOverrides<{ [I in keyof A]-?: A[I] | Typed }, S>; - -export type DefaultReturnType = R extends Array ? R[0] : R; - -// export interface ContractMethod = Array, R = any, D extends R | ContractTransactionResponse = R | ContractTransactionResponse> { -export interface TypedContractMethod< - A extends Array = Array, - R = any, - S extends StateMutability = "payable" -> { - (...args: ContractMethodArgs): S extends "view" - ? Promise> - : Promise; - - name: string; - - fragment: FunctionFragment; - - getFragment(...args: ContractMethodArgs): FunctionFragment; - - populateTransaction( - ...args: ContractMethodArgs - ): Promise; - staticCall( - ...args: ContractMethodArgs - ): Promise>; - send(...args: ContractMethodArgs): Promise; - estimateGas(...args: ContractMethodArgs): Promise; - staticCallResult(...args: ContractMethodArgs): Promise; -} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 90f147c715..1fd558e9a3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -368,6 +368,9 @@ importers: '@docusaurus/preset-classic': specifier: 3.6.3 version: 3.6.3(@algolia/client-search@5.18.0)(@mdx-js/react@3.0.1(@types/react@18.3.12)(react@18.3.1))(@swc/core@1.10.4(@swc/helpers@0.5.15))(@types/react@18.3.12)(acorn@8.14.0)(bufferutil@4.0.9)(eslint@9.16.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(search-insights@2.17.3)(typescript@5.6.3)(utf-8-validate@5.0.10) + '@docusaurus/theme-common': + specifier: 3.6.3 + version: 3.6.3(@docusaurus/plugin-content-docs@3.6.3(@mdx-js/react@3.0.1(@types/react@18.3.12)(react@18.3.1))(@swc/core@1.10.4(@swc/helpers@0.5.15))(acorn@8.14.0)(bufferutil@4.0.9)(eslint@9.16.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(@swc/core@1.10.4(@swc/helpers@0.5.15))(acorn@8.14.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3) '@docusaurus/theme-mermaid': specifier: 3.6.3 version: 3.6.3(@docusaurus/plugin-content-docs@3.6.3(@mdx-js/react@3.0.1(@types/react@18.3.12)(react@18.3.1))(@swc/core@1.10.4(@swc/helpers@0.5.15))(acorn@8.14.0)(bufferutil@4.0.9)(eslint@9.16.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10))(@mdx-js/react@3.0.1(@types/react@18.3.12)(react@18.3.1))(@swc/core@1.10.4(@swc/helpers@0.5.15))(acorn@8.14.0)(bufferutil@4.0.9)(eslint@9.16.0(jiti@2.4.2))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.6.3)(utf-8-validate@5.0.10) @@ -383,6 +386,9 @@ importers: dotenv: specifier: ^16.4.7 version: 16.4.7 + lunr: + specifier: 2.3.9 + version: 2.3.9 prism-react-renderer: specifier: 2.3.1 version: 2.3.1(react@18.3.1) @@ -1156,25 +1162,6 @@ importers: specifier: 7.1.0 version: 7.1.0 - packages/plugin-ferePro: - dependencies: - '@elizaos/core': - specifier: ^0.1.7-alpha.1 - version: 0.1.7-alpha.2(@google-cloud/vertexai@1.9.2(encoding@0.1.13))(@langchain/core@0.3.27(openai@4.73.0(encoding@0.1.13)(zod@3.23.8)))(axios@1.7.9)(encoding@0.1.13)(react@18.3.1)(sswr@2.1.0(svelte@5.16.1))(svelte@5.16.1) - tsup: - specifier: ^8.3.5 - version: 8.3.5(@swc/core@1.10.4(@swc/helpers@0.5.15))(jiti@2.4.2)(postcss@8.4.49)(tsx@4.19.2)(typescript@5.6.3)(yaml@2.7.0) - ws: - specifier: ^8.18.0 - version: 8.18.0(bufferutil@4.0.9)(utf-8-validate@5.0.10) - devDependencies: - '@types/ws': - specifier: ^8.5.13 - version: 8.5.13 - tsx: - specifier: ^4.19.2 - version: 4.19.2 - packages/plugin-flow: dependencies: '@elizaos/core': @@ -3871,9 +3858,6 @@ packages: peerDependencies: onnxruntime-node: 1.20.1 - '@elizaos/core@0.1.7-alpha.2': - resolution: {integrity: sha512-gNvFw/Xnv4dlcfmmKxRa+baKq6en4TitAjUGvo8LgAUkSk156A0fffJ0lAsc1rX8zMB5NsIqdvMCbwKxDd54OQ==} - '@emnapi/core@1.3.1': resolution: {integrity: sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==} @@ -23022,56 +23006,6 @@ snapshots: '@huggingface/jinja': 0.2.2 onnxruntime-node: 1.20.1 - '@elizaos/core@0.1.7-alpha.2(@google-cloud/vertexai@1.9.2(encoding@0.1.13))(@langchain/core@0.3.27(openai@4.73.0(encoding@0.1.13)(zod@3.23.8)))(axios@1.7.9)(encoding@0.1.13)(react@18.3.1)(sswr@2.1.0(svelte@5.16.1))(svelte@5.16.1)': - dependencies: - '@ai-sdk/anthropic': 0.0.56(zod@3.23.8) - '@ai-sdk/google': 0.0.55(zod@3.23.8) - '@ai-sdk/google-vertex': 0.0.43(@google-cloud/vertexai@1.9.2(encoding@0.1.13))(zod@3.23.8) - '@ai-sdk/groq': 0.0.3(zod@3.23.8) - '@ai-sdk/openai': 1.0.5(zod@3.23.8) - '@anthropic-ai/sdk': 0.30.1(encoding@0.1.13) - '@fal-ai/client': 1.2.0 - '@types/uuid': 10.0.0 - ai: 3.4.33(openai@4.73.0(encoding@0.1.13)(zod@3.23.8))(react@18.3.1)(sswr@2.1.0(svelte@5.16.1))(svelte@5.16.1)(vue@3.5.13(typescript@5.6.3))(zod@3.23.8) - anthropic-vertex-ai: 1.0.2(encoding@0.1.13)(zod@3.23.8) - fastembed: 1.14.1 - fastestsmallesttextencoderdecoder: 1.0.22 - gaxios: 6.7.1(encoding@0.1.13) - glob: 11.0.0 - handlebars: 4.7.8 - js-sha1: 0.7.0 - js-tiktoken: 1.0.15 - langchain: 0.3.6(@langchain/core@0.3.27(openai@4.73.0(encoding@0.1.13)(zod@3.23.8)))(axios@1.7.9)(encoding@0.1.13)(handlebars@4.7.8)(openai@4.73.0(encoding@0.1.13)(zod@3.23.8)) - ollama-ai-provider: 0.16.1(zod@3.23.8) - openai: 4.73.0(encoding@0.1.13)(zod@3.23.8) - tinyld: 1.3.4 - together-ai: 0.7.0(encoding@0.1.13) - unique-names-generator: 4.7.1 - uuid: 11.0.3 - zod: 3.23.8 - transitivePeerDependencies: - - '@google-cloud/vertexai' - - '@langchain/anthropic' - - '@langchain/aws' - - '@langchain/cohere' - - '@langchain/core' - - '@langchain/google-genai' - - '@langchain/google-vertexai' - - '@langchain/groq' - - '@langchain/mistralai' - - '@langchain/ollama' - - axios - - cheerio - - encoding - - peggy - - react - - solid-js - - sswr - - supports-color - - svelte - - typeorm - - vue - '@emnapi/core@1.3.1': dependencies: '@emnapi/wasi-threads': 1.0.1 @@ -32900,6 +32834,7 @@ snapshots: '@esbuild/win32-arm64': 0.23.1 '@esbuild/win32-ia32': 0.23.1 '@esbuild/win32-x64': 0.23.1 + optional: true esbuild@0.24.2: optionalDependencies: @@ -33979,6 +33914,7 @@ snapshots: get-tsconfig@4.8.1: dependencies: resolve-pkg-maps: 1.0.0 + optional: true get-uri@6.0.4: dependencies: @@ -40553,7 +40489,8 @@ snapshots: resolve-pathname@3.0.0: {} - resolve-pkg-maps@1.0.0: {} + resolve-pkg-maps@1.0.0: + optional: true resolve.exports@2.0.3: {} @@ -42176,6 +42113,7 @@ snapshots: get-tsconfig: 4.8.1 optionalDependencies: fsevents: 2.3.3 + optional: true tty-browserify@0.0.1: {}