generated from smartcontractkit/foundry-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b93bb64
commit 6189b7c
Showing
73 changed files
with
4,888 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type * as src from "./src"; | ||
export type { src }; |
5 changes: 5 additions & 0 deletions
5
demo/contracts/typechain-types/@chainlink/contracts/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type * as v08 from "./v0.8"; | ||
export type { v08 }; |
5 changes: 5 additions & 0 deletions
5
demo/contracts/typechain-types/@chainlink/contracts/src/v0.8/automation/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type * as interfaces from "./interfaces"; | ||
export type { interfaces }; |
117 changes: 117 additions & 0 deletions
117
...ypes/@chainlink/contracts/src/v0.8/automation/interfaces/AutomationCompatibleInterface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,117 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { | ||
BaseContract, | ||
BytesLike, | ||
FunctionFragment, | ||
Result, | ||
Interface, | ||
ContractRunner, | ||
ContractMethod, | ||
Listener, | ||
} from "ethers"; | ||
import type { | ||
TypedContractEvent, | ||
TypedDeferredTopicFilter, | ||
TypedEventLog, | ||
TypedListener, | ||
TypedContractMethod, | ||
} from "../../../../../../common"; | ||
|
||
export interface AutomationCompatibleInterfaceInterface extends Interface { | ||
getFunction( | ||
nameOrSignature: "checkUpkeep" | "performUpkeep" | ||
): FunctionFragment; | ||
|
||
encodeFunctionData( | ||
functionFragment: "checkUpkeep", | ||
values: [BytesLike] | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "performUpkeep", | ||
values: [BytesLike] | ||
): string; | ||
|
||
decodeFunctionResult( | ||
functionFragment: "checkUpkeep", | ||
data: BytesLike | ||
): Result; | ||
decodeFunctionResult( | ||
functionFragment: "performUpkeep", | ||
data: BytesLike | ||
): Result; | ||
} | ||
|
||
export interface AutomationCompatibleInterface extends BaseContract { | ||
connect(runner?: ContractRunner | null): AutomationCompatibleInterface; | ||
waitForDeployment(): Promise<this>; | ||
|
||
interface: AutomationCompatibleInterfaceInterface; | ||
|
||
queryFilter<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TypedEventLog<TCEvent>>>; | ||
queryFilter<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TypedEventLog<TCEvent>>>; | ||
|
||
on<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
on<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
|
||
once<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
once<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
|
||
listeners<TCEvent extends TypedContractEvent>( | ||
event: TCEvent | ||
): Promise<Array<TypedListener<TCEvent>>>; | ||
listeners(eventName?: string): Promise<Array<Listener>>; | ||
removeAllListeners<TCEvent extends TypedContractEvent>( | ||
event?: TCEvent | ||
): Promise<this>; | ||
|
||
checkUpkeep: TypedContractMethod< | ||
[checkData: BytesLike], | ||
[[boolean, string] & { upkeepNeeded: boolean; performData: string }], | ||
"nonpayable" | ||
>; | ||
|
||
performUpkeep: TypedContractMethod< | ||
[performData: BytesLike], | ||
[void], | ||
"nonpayable" | ||
>; | ||
|
||
getFunction<T extends ContractMethod = ContractMethod>( | ||
key: string | FunctionFragment | ||
): T; | ||
|
||
getFunction( | ||
nameOrSignature: "checkUpkeep" | ||
): TypedContractMethod< | ||
[checkData: BytesLike], | ||
[[boolean, string] & { upkeepNeeded: boolean; performData: string }], | ||
"nonpayable" | ||
>; | ||
getFunction( | ||
nameOrSignature: "performUpkeep" | ||
): TypedContractMethod<[performData: BytesLike], [void], "nonpayable">; | ||
|
||
filters: {}; | ||
} |
145 changes: 145 additions & 0 deletions
145
...cts/typechain-types/@chainlink/contracts/src/v0.8/automation/interfaces/ILogAutomation.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { | ||
BaseContract, | ||
BigNumberish, | ||
BytesLike, | ||
FunctionFragment, | ||
Result, | ||
Interface, | ||
AddressLike, | ||
ContractRunner, | ||
ContractMethod, | ||
Listener, | ||
} from "ethers"; | ||
import type { | ||
TypedContractEvent, | ||
TypedDeferredTopicFilter, | ||
TypedEventLog, | ||
TypedListener, | ||
TypedContractMethod, | ||
} from "../../../../../../common"; | ||
|
||
export type LogStruct = { | ||
index: BigNumberish; | ||
timestamp: BigNumberish; | ||
txHash: BytesLike; | ||
blockNumber: BigNumberish; | ||
blockHash: BytesLike; | ||
source: AddressLike; | ||
topics: BytesLike[]; | ||
data: BytesLike; | ||
}; | ||
|
||
export type LogStructOutput = [ | ||
index: bigint, | ||
timestamp: bigint, | ||
txHash: string, | ||
blockNumber: bigint, | ||
blockHash: string, | ||
source: string, | ||
topics: string[], | ||
data: string | ||
] & { | ||
index: bigint; | ||
timestamp: bigint; | ||
txHash: string; | ||
blockNumber: bigint; | ||
blockHash: string; | ||
source: string; | ||
topics: string[]; | ||
data: string; | ||
}; | ||
|
||
export interface ILogAutomationInterface extends Interface { | ||
getFunction(nameOrSignature: "checkLog" | "performUpkeep"): FunctionFragment; | ||
|
||
encodeFunctionData( | ||
functionFragment: "checkLog", | ||
values: [LogStruct, BytesLike] | ||
): string; | ||
encodeFunctionData( | ||
functionFragment: "performUpkeep", | ||
values: [BytesLike] | ||
): string; | ||
|
||
decodeFunctionResult(functionFragment: "checkLog", data: BytesLike): Result; | ||
decodeFunctionResult( | ||
functionFragment: "performUpkeep", | ||
data: BytesLike | ||
): Result; | ||
} | ||
|
||
export interface ILogAutomation extends BaseContract { | ||
connect(runner?: ContractRunner | null): ILogAutomation; | ||
waitForDeployment(): Promise<this>; | ||
|
||
interface: ILogAutomationInterface; | ||
|
||
queryFilter<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TypedEventLog<TCEvent>>>; | ||
queryFilter<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TypedEventLog<TCEvent>>>; | ||
|
||
on<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
on<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
|
||
once<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
once<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
|
||
listeners<TCEvent extends TypedContractEvent>( | ||
event: TCEvent | ||
): Promise<Array<TypedListener<TCEvent>>>; | ||
listeners(eventName?: string): Promise<Array<Listener>>; | ||
removeAllListeners<TCEvent extends TypedContractEvent>( | ||
event?: TCEvent | ||
): Promise<this>; | ||
|
||
checkLog: TypedContractMethod< | ||
[log: LogStruct, checkData: BytesLike], | ||
[[boolean, string] & { upkeepNeeded: boolean; performData: string }], | ||
"nonpayable" | ||
>; | ||
|
||
performUpkeep: TypedContractMethod< | ||
[performData: BytesLike], | ||
[void], | ||
"nonpayable" | ||
>; | ||
|
||
getFunction<T extends ContractMethod = ContractMethod>( | ||
key: string | FunctionFragment | ||
): T; | ||
|
||
getFunction( | ||
nameOrSignature: "checkLog" | ||
): TypedContractMethod< | ||
[log: LogStruct, checkData: BytesLike], | ||
[[boolean, string] & { upkeepNeeded: boolean; performData: string }], | ||
"nonpayable" | ||
>; | ||
getFunction( | ||
nameOrSignature: "performUpkeep" | ||
): TypedContractMethod<[performData: BytesLike], [void], "nonpayable">; | ||
|
||
filters: {}; | ||
} |
98 changes: 98 additions & 0 deletions
98
...s/@chainlink/contracts/src/v0.8/automation/interfaces/StreamsLookupCompatibleInterface.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type { | ||
BaseContract, | ||
BytesLike, | ||
FunctionFragment, | ||
Result, | ||
Interface, | ||
ContractRunner, | ||
ContractMethod, | ||
Listener, | ||
} from "ethers"; | ||
import type { | ||
TypedContractEvent, | ||
TypedDeferredTopicFilter, | ||
TypedEventLog, | ||
TypedListener, | ||
TypedContractMethod, | ||
} from "../../../../../../common"; | ||
|
||
export interface StreamsLookupCompatibleInterfaceInterface extends Interface { | ||
getFunction(nameOrSignature: "checkCallback"): FunctionFragment; | ||
|
||
encodeFunctionData( | ||
functionFragment: "checkCallback", | ||
values: [BytesLike[], BytesLike] | ||
): string; | ||
|
||
decodeFunctionResult( | ||
functionFragment: "checkCallback", | ||
data: BytesLike | ||
): Result; | ||
} | ||
|
||
export interface StreamsLookupCompatibleInterface extends BaseContract { | ||
connect(runner?: ContractRunner | null): StreamsLookupCompatibleInterface; | ||
waitForDeployment(): Promise<this>; | ||
|
||
interface: StreamsLookupCompatibleInterfaceInterface; | ||
|
||
queryFilter<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TypedEventLog<TCEvent>>>; | ||
queryFilter<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
fromBlockOrBlockhash?: string | number | undefined, | ||
toBlock?: string | number | undefined | ||
): Promise<Array<TypedEventLog<TCEvent>>>; | ||
|
||
on<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
on<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
|
||
once<TCEvent extends TypedContractEvent>( | ||
event: TCEvent, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
once<TCEvent extends TypedContractEvent>( | ||
filter: TypedDeferredTopicFilter<TCEvent>, | ||
listener: TypedListener<TCEvent> | ||
): Promise<this>; | ||
|
||
listeners<TCEvent extends TypedContractEvent>( | ||
event: TCEvent | ||
): Promise<Array<TypedListener<TCEvent>>>; | ||
listeners(eventName?: string): Promise<Array<Listener>>; | ||
removeAllListeners<TCEvent extends TypedContractEvent>( | ||
event?: TCEvent | ||
): Promise<this>; | ||
|
||
checkCallback: TypedContractMethod< | ||
[values: BytesLike[], extraData: BytesLike], | ||
[[boolean, string] & { upkeepNeeded: boolean; performData: string }], | ||
"view" | ||
>; | ||
|
||
getFunction<T extends ContractMethod = ContractMethod>( | ||
key: string | FunctionFragment | ||
): T; | ||
|
||
getFunction( | ||
nameOrSignature: "checkCallback" | ||
): TypedContractMethod< | ||
[values: BytesLike[], extraData: BytesLike], | ||
[[boolean, string] & { upkeepNeeded: boolean; performData: string }], | ||
"view" | ||
>; | ||
|
||
filters: {}; | ||
} |
6 changes: 6 additions & 0 deletions
6
demo/contracts/typechain-types/@chainlink/contracts/src/v0.8/automation/interfaces/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
export type { AutomationCompatibleInterface } from "./AutomationCompatibleInterface"; | ||
export type { ILogAutomation } from "./ILogAutomation"; | ||
export type { StreamsLookupCompatibleInterface } from "./StreamsLookupCompatibleInterface"; |
5 changes: 5 additions & 0 deletions
5
demo/contracts/typechain-types/@chainlink/contracts/src/v0.8/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type * as automation from "./automation"; | ||
export type { automation }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* Autogenerated file. Do not edit manually. */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
import type * as contracts from "./contracts"; | ||
export type { contracts }; |
Oops, something went wrong.