-
Notifications
You must be signed in to change notification settings - Fork 922
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deployedContracts & externalContracts (#592)
- Loading branch information
1 parent
9dd6ce2
commit 61b1c64
Showing
12 changed files
with
81 additions
and
44 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
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,9 @@ | ||
/** | ||
* This file is autogenerated by Scaffold-ETH. | ||
* You should not edit it manually or your changes might be overwritten. | ||
*/ | ||
import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract"; | ||
|
||
const deployedContracts = {} as const; | ||
|
||
export default deployedContracts satisfies GenericContractsDeclaration; |
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,15 @@ | ||
import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract"; | ||
|
||
/** | ||
* @example | ||
* const externalContracts = { | ||
* 1: { | ||
* DAI: { | ||
* address: "0x...", | ||
* abi: [...], | ||
* } | ||
* } as const; | ||
*/ | ||
const externalContracts = {} as const; | ||
|
||
export default externalContracts satisfies GenericContractsDeclaration; |
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// To be used in JSON.stringify when a field might be bigint | ||
// https://wagmi.sh/react/faq#bigint-serialization | ||
export const replacer = (key: string, value: unknown) => (typeof value === "bigint" ? value.toString() : value); | ||
export const replacer = (_key: string, value: unknown) => (typeof value === "bigint" ? value.toString() : value); |
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
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
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
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