From 3d3023526394137ee84fe263859892737176b162 Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sun, 11 Aug 2024 03:17:01 +0000 Subject: [PATCH] Commit unsaved changes --- babel.config.js | 8 - graphql/queries.ts | 2 +- hardhat.config.js | 14 +- hooks/scaffold-eth/useScaffoldEventHistory.ts | 12 +- .../useScaffoldWatchContractEvent.ts | 1 + jest.config.js | 15 +- jest.setup.js | 10 +- next.config.js | 9 +- package.json | 13 +- .../buffer/contracts/Buffer.sol/Buffer.d.ts | 31 +- .../contracts/Buffer.sol/artifacts.d.ts | 6 +- .../solsha1/contracts/SHA1.sol/SHA1.d.ts | 49 +- .../solsha1/contracts/SHA1.sol/artifacts.d.ts | 6 +- .../contracts/access/Ownable.sol/Ownable.d.ts | 107 ++- .../access/Ownable.sol/artifacts.d.ts | 6 +- .../token/ERC1155/IERC1155.sol/IERC1155.d.ts | 495 +++++++------- .../token/ERC1155/IERC1155.sol/artifacts.d.ts | 6 +- .../IERC1155Receiver.d.ts | 173 +++-- .../IERC1155Receiver.sol/artifacts.d.ts | 10 +- .../IERC1155MetadataURI.d.ts | 529 ++++++++------- .../IERC1155MetadataURI.sol/artifacts.d.ts | 10 +- .../token/ERC20/ERC20.sol/ERC20.d.ts | 545 +++++++-------- .../token/ERC20/ERC20.sol/artifacts.d.ts | 6 +- .../token/ERC20/IERC20.sol/IERC20.d.ts | 349 +++++----- .../token/ERC20/IERC20.sol/artifacts.d.ts | 6 +- .../IERC20Metadata.sol/IERC20Metadata.d.ts | 367 ++++++----- .../IERC20Metadata.sol/artifacts.d.ts | 10 +- .../token/ERC721/ERC721.sol/ERC721.d.ts | 619 +++++++++--------- .../token/ERC721/ERC721.sol/artifacts.d.ts | 6 +- .../token/ERC721/IERC721.sol/IERC721.d.ts | 499 +++++++------- .../token/ERC721/IERC721.sol/artifacts.d.ts | 6 +- .../IERC721Receiver.sol/IERC721Receiver.d.ts | 83 ++- .../ERC721/IERC721Receiver.sol/artifacts.d.ts | 10 +- .../IERC721Metadata.sol/IERC721Metadata.d.ts | 577 ++++++++-------- .../IERC721Metadata.sol/artifacts.d.ts | 10 +- .../contracts/utils/Address.sol/Address.d.ts | 31 +- .../utils/Address.sol/artifacts.d.ts | 6 +- .../contracts/utils/Context.sol/Context.d.ts | 31 +- .../utils/Context.sol/artifacts.d.ts | 6 +- .../contracts/utils/Strings.sol/Strings.d.ts | 31 +- .../utils/Strings.sol/artifacts.d.ts | 6 +- .../introspection/ERC165.sol/ERC165.d.ts | 65 +- .../introspection/ERC165.sol/artifacts.d.ts | 6 +- .../introspection/IERC165.sol/IERC165.d.ts | 65 +- .../introspection/IERC165.sol/artifacts.d.ts | 6 +- .../contracts/utils/math/Math.sol/Math.d.ts | 31 +- .../utils/math/Math.sol/artifacts.d.ts | 6 +- .../utils/math/SignedMath.sol/SignedMath.d.ts | 31 +- .../utils/math/SignedMath.sol/artifacts.d.ts | 6 +- package/artifacts/artifacts.d.ts | 1 - .../60cb75078016949112437b5ad4e67607.json | 545 ++++++++++++++- pages/_app.tsx | 2 +- pages/api/mission-enrollment.ts | 27 +- utils/queryClient.ts | 4 +- utils/wagmi-utils.ts | 68 +- yarn.lock | 505 +------------- 56 files changed, 3081 insertions(+), 3003 deletions(-) delete mode 100644 babel.config.js diff --git a/babel.config.js b/babel.config.js deleted file mode 100644 index 5e1598ed1..000000000 --- a/babel.config.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - presets: [ - '@babel/preset-env', - '@babel/preset-react', - '@babel/preset-typescript', - ], - plugins: ['@babel/plugin-transform-react-jsx'], -}; diff --git a/graphql/queries.ts b/graphql/queries.ts index b35568bf1..98b032b19 100644 --- a/graphql/queries.ts +++ b/graphql/queries.ts @@ -1,4 +1,4 @@ -import { gql } from '@apollo/client'; +import { gql } from "@apollo/client"; export const GET_ATTESTATIONS = gql` query GetAttestations($address: String!) { diff --git a/hardhat.config.js b/hardhat.config.js index 41782c8ad..ecbdb9575 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -1,9 +1,9 @@ // Load environment variables -require('dotenv').config(); +require("dotenv").config(); // Ensure required environment variables are set if (!process.env.INFURA_API_KEY || !process.env.PRIVATE_KEY) { - console.error('Please set INFURA_API_KEY and PRIVATE_KEY in your .env file'); + console.error("Please set INFURA_API_KEY and PRIVATE_KEY in your .env file"); process.exit(1); } @@ -20,20 +20,20 @@ module.exports = { }, networks: { hardhat: { - chainId: 1337 + chainId: 1337, }, localhost: { - url: "http://127.0.0.1:7545" + url: "http://127.0.0.1:7545", }, sepolia: { url: `https://sepolia.infura.io/v3/${process.env.INFURA_API_KEY}`, accounts: [process.env.PRIVATE_KEY], - chainId: 11155111 + chainId: 11155111, }, kovan: { url: `https://kovan.infura.io/v3/${process.env.INFURA_API_KEY}`, accounts: [process.env.PRIVATE_KEY], - chainId: 42 + chainId: 42, }, // Configuration for other networks can be added here }, @@ -41,7 +41,7 @@ module.exports = { sources: "./contracts", tests: "./test", cache: "./cache", - artifacts: "./artifacts" + artifacts: "./artifacts", }, // Add any additional plugins or configurations needed }; diff --git a/hooks/scaffold-eth/useScaffoldEventHistory.ts b/hooks/scaffold-eth/useScaffoldEventHistory.ts index 9530dec72..86b6a2abc 100644 --- a/hooks/scaffold-eth/useScaffoldEventHistory.ts +++ b/hooks/scaffold-eth/useScaffoldEventHistory.ts @@ -11,6 +11,7 @@ import { UseScaffoldEventHistoryConfig, UseScaffoldEventHistoryData, } from "~~/utils/scaffold-eth/contract"; + // import { POAPClient, POAPEvent } from '@poap/poap-eth'; const getEvents = async ( @@ -84,7 +85,10 @@ export const useScaffoldEventHistory = < enabled = true, poapIntegration = false, address, -}: UseScaffoldEventHistoryConfig & { poapIntegration?: boolean, address?: string }) => { +}: UseScaffoldEventHistoryConfig & { + poapIntegration?: boolean; + address?: string; +}) => { const { targetNetwork } = useTargetNetwork(); const publicClient = usePublicClient({ chainId: targetNetwork.id, @@ -100,14 +104,14 @@ export const useScaffoldEventHistory = < // TODO: Replace with actual POAP API call when API key is available const response = await fetch(`https://api.poap.tech/actions/scan/${address}`); if (!response.ok) { - throw new Error('Failed to fetch POAP data'); + throw new Error("Failed to fetch POAP data"); } const poapData = await response.json(); // TODO: Process and store POAP data - console.log('POAP data:', poapData); + console.log("POAP data:", poapData); setPoapData(poapData); } catch (error) { - console.error('Error fetching POAP data:', error); + console.error("Error fetching POAP data:", error); } }; fetchPOAPData(); diff --git a/hooks/scaffold-eth/useScaffoldWatchContractEvent.ts b/hooks/scaffold-eth/useScaffoldWatchContractEvent.ts index 06bbd9c64..012ee2787 100644 --- a/hooks/scaffold-eth/useScaffoldWatchContractEvent.ts +++ b/hooks/scaffold-eth/useScaffoldWatchContractEvent.ts @@ -4,6 +4,7 @@ import { Log } from "viem"; import { useWatchContractEvent } from "wagmi"; import { addIndexedArgsToEvent, useDeployedContractInfo } from "~~/hooks/scaffold-eth"; import { ContractAbi, ContractName, UseScaffoldEventConfig } from "~~/utils/scaffold-eth/contract"; + // TODO: Import POAP API client and necessary types // import { POAPClient } from '@poap/poap-eth-sdk'; diff --git a/jest.config.js b/jest.config.js index 232f99cbe..e5a1c1318 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,15 +5,10 @@ module.exports = { "^.+\\.(ts|tsx)$": "babel-jest", }, moduleNameMapper: { - "\\.(css|less|scss|sass)$": "identity-obj-proxy" + "\\.(css|less|scss|sass)$": "identity-obj-proxy", }, - preset: 'ts-jest/presets/js-with-babel', - transformIgnorePatterns: [ - "/node_modules/(?!(wagmi|@wagmi|@tanstack|viem|@viem))" - ], - extensionsToTreatAsEsm: ['.ts', '.tsx'], - setupFilesAfterEnv: [ - require.resolve('@testing-library/jest-dom/extend-expect'), - '/jest.setup.js' - ], + preset: "ts-jest/presets/js-with-babel", + transformIgnorePatterns: ["/node_modules/(?!(wagmi|@wagmi|@tanstack|viem|@viem))"], + extensionsToTreatAsEsm: [".ts", ".tsx"], + setupFilesAfterEnv: [require.resolve("@testing-library/jest-dom/extend-expect"), "/jest.setup.js"], }; diff --git a/jest.setup.js b/jest.setup.js index 6bb3ef451..e26f597a6 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -1,18 +1,18 @@ -const { TextEncoder, TextDecoder } = require('util'); +const { TextEncoder, TextDecoder } = require("util"); global.TextEncoder = TextEncoder; global.TextDecoder = TextDecoder; // Add BigInt polyfill for environments that don't support it -if (typeof BigInt === 'undefined') { - global.BigInt = function(value) { +if (typeof BigInt === "undefined") { + global.BigInt = function (value) { return Number(value); - } + }; } // Polyfill for BigInt.prototype.toJSON if (BigInt.prototype.toJSON === undefined) { - BigInt.prototype.toJSON = function() { + BigInt.prototype.toJSON = function () { return this.toString(); }; } diff --git a/next.config.js b/next.config.js index 278c988e6..645f5cb61 100644 --- a/next.config.js +++ b/next.config.js @@ -15,10 +15,15 @@ const nextConfig = { return config; }, images: { - domains: ['api.poap.tech', 'placehold.co'], + domains: ["api.poap.tech", "placehold.co"], }, swcMinify: true, - compiler: undefined, + compiler: { + styledComponents: true, + }, + experimental: { + forceSwcTransforms: true, + }, }; module.exports = nextConfig; diff --git a/package.json b/package.json index 2a16c23f7..e03fa8ce2 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "vercel": "vercel", "vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true", "test": "jest", - "postinstall": "npx patch-package" + "postinstall": "npx patch-package", + "type-check": "tsc --noEmit" }, "dependencies": { "@apollo/client": "^3.11.3", @@ -21,11 +22,11 @@ "@chainlink/contracts-ccip": "^1.4.0", "@ensdomains/ens-contracts": "file:./package", "@ensdomains/ensjs": "^4.0.0", - "@ethereum-attestation-service/eas-sdk": "^2.5.0", + "@ethereum-attestation-service/eas-sdk": "2.5.0", "@heroicons/react": "^2.0.11", "@openzeppelin/contracts": "^5.0.2", "@rainbow-me/rainbowkit": "2.1.2", - "@tanstack/react-query": "^5.51.21", + "@tanstack/react-query": "^5.51.23", "@tanstack/react-query-devtools": "^5.51.21", "@testing-library/dom": "^10.4.0", "@uniswap/sdk-core": "^4.0.1", @@ -34,7 +35,7 @@ "blo": "^1.0.1", "burner-connector": "^0.0.8", "daisyui": "4.5.0", - "ethers": "5.6.8", + "ethers": "6.13.2", "express": "^4.19.2", "graphql": "^16.9.0", "graphql-tag": "^2.12.6", @@ -60,6 +61,8 @@ }, "devDependencies": { "@babel/core": "^7.25.2", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-transform-class-properties": "^7.24.7", "@babel/plugin-transform-react-jsx": "^7.25.2", "@babel/plugin-transform-runtime": "^7.24.7", "@babel/preset-env": "^7.25.3", @@ -69,7 +72,7 @@ "@testing-library/react": "^16.0.0", "@trivago/prettier-plugin-sort-imports": "^4.1.1", "@types/jest": "^29.5.12", - "@types/node": "^17.0.35", + "@types/node": "^22.2.0", "@types/nprogress": "^0", "@types/react": "^18.0.9", "@types/react-copy-to-clipboard": "^5.0.4", diff --git a/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/Buffer.d.ts b/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/Buffer.d.ts index 253885773..bfaaf5e63 100644 --- a/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/Buffer.d.ts +++ b/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/Buffer.d.ts @@ -2,38 +2,37 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface Buffer$Type { - "_format": "hh-sol-artifact-1", - "contractName": "Buffer", - "sourceName": "@ensdomains/buffer/contracts/Buffer.sol", - "abi": [], - "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122000adea6b32f5f0fa0301d3ad50a957da8b3925c422cc3e678d344eaf87efdffc64736f6c63430008110033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122000adea6b32f5f0fa0301d3ad50a957da8b3925c422cc3e678d344eaf87efdffc64736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + _format: "hh-sol-artifact-1"; + contractName: "Buffer"; + sourceName: "@ensdomains/buffer/contracts/Buffer.sol"; + abi: []; + bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122000adea6b32f5f0fa0301d3ad50a957da8b3925c422cc3e678d344eaf87efdffc64736f6c63430008110033"; + deployedBytecode: "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122000adea6b32f5f0fa0301d3ad50a957da8b3925c422cc3e678d344eaf87efdffc64736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "Buffer", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@ensdomains/buffer/contracts/Buffer.sol:Buffer", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "Buffer", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -41,7 +40,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@ensdomains/buffer/contracts/Buffer.sol:Buffer", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -50,11 +49,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "Buffer", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@ensdomains/buffer/contracts/Buffer.sol:Buffer", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/artifacts.d.ts b/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/artifacts.d.ts index a5511f264..3cb10b213 100644 --- a/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/artifacts.d.ts +++ b/package/artifacts/@ensdomains/buffer/contracts/Buffer.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { Buffer$Type } from "./Buffer"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/SHA1.d.ts b/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/SHA1.d.ts index 6f458e946..21cc37e79 100644 --- a/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/SHA1.d.ts +++ b/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/SHA1.d.ts @@ -2,47 +2,46 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface SHA1$Type { - "_format": "hh-sol-artifact-1", - "contractName": "SHA1", - "sourceName": "@ensdomains/solsha1/contracts/SHA1.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "SHA1"; + sourceName: "@ensdomains/solsha1/contracts/SHA1.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": false, - "internalType": "bytes32", - "name": "x", - "type": "bytes32" - } - ], - "name": "Debug", - "type": "event" - } - ], - "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a9dcbd59c18f1aded003fafefb12663f1b10512f02a856ada0b0c1fd23a5c63064736f6c63430008110033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a9dcbd59c18f1aded003fafefb12663f1b10512f02a856ada0b0c1fd23a5c63064736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + indexed: false; + internalType: "bytes32"; + name: "x"; + type: "bytes32"; + }, + ]; + name: "Debug"; + type: "event"; + }, + ]; + bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a9dcbd59c18f1aded003fafefb12663f1b10512f02a856ada0b0c1fd23a5c63064736f6c63430008110033"; + deployedBytecode: "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a9dcbd59c18f1aded003fafefb12663f1b10512f02a856ada0b0c1fd23a5c63064736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "@ensdomains/solsha1/contracts/SHA1.sol:SHA1", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "@ensdomains/solsha1/contracts/SHA1.sol:SHA1", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -51,6 +50,6 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "@ensdomains/solsha1/contracts/SHA1.sol:SHA1", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/artifacts.d.ts b/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/artifacts.d.ts index f6d557f59..69c5161b7 100644 --- a/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/artifacts.d.ts +++ b/package/artifacts/@ensdomains/solsha1/contracts/SHA1.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { SHA1$Type } from "./SHA1"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.d.ts b/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.d.ts index 2d9e2fd28..15fc06a7c 100644 --- a/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.d.ts +++ b/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/Ownable.d.ts @@ -2,86 +2,85 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface Ownable$Type { - "_format": "hh-sol-artifact-1", - "contractName": "Ownable", - "sourceName": "@openzeppelin/contracts/access/Ownable.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "Ownable"; + sourceName: "@openzeppelin/contracts/access/Ownable.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" + indexed: true; + internalType: "address"; + name: "previousOwner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" + indexed: true; + internalType: "address"; + name: "newOwner"; + type: "address"; + }, + ]; + name: "OwnershipTransferred"; + type: "event"; }, { - "inputs": [], - "name": "owner", - "outputs": [ + inputs: []; + name: "owner"; + outputs: [ { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" + internalType: "address"; + name: ""; + type: "address"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: []; + name: "renounceOwnership"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + internalType: "address"; + name: "newOwner"; + type: "address"; + }, + ]; + name: "transferOwnership"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "@openzeppelin/contracts/access/Ownable.sol:Ownable", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/access/Ownable.sol:Ownable", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -90,6 +89,6 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "@openzeppelin/contracts/access/Ownable.sol:Ownable", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/artifacts.d.ts index 45eefbb0c..ff3a58f6e 100644 --- a/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/access/Ownable.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { Ownable$Type } from "./Ownable"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.d.ts index e273c4d7e..9ad985690 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/IERC1155.d.ts @@ -2,332 +2,331 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC1155$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC1155", - "sourceName": "@openzeppelin/contracts/token/ERC1155/IERC1155.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC1155"; + sourceName: "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" + indexed: true; + internalType: "address"; + name: "account"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" + indexed: false; + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "ApprovalForAll"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" + indexed: false; + internalType: "uint256[]"; + name: "ids"; + type: "uint256[]"; }, { - "indexed": false, - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - } - ], - "name": "TransferBatch", - "type": "event" + indexed: false; + internalType: "uint256[]"; + name: "values"; + type: "uint256[]"; + }, + ]; + name: "TransferBatch"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "id", - "type": "uint256" + indexed: false; + internalType: "uint256"; + name: "id"; + type: "uint256"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "TransferSingle"; + type: "event"; }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "value", - "type": "string" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "URI", - "type": "event" + anonymous: false; + inputs: [ + { + indexed: false; + internalType: "string"; + name: "value"; + type: "string"; + }, + { + indexed: true; + internalType: "uint256"; + name: "id"; + type: "uint256"; + }, + ]; + name: "URI"; + type: "event"; }, { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "account"; + type: "address"; + }, + { + internalType: "uint256"; + name: "id"; + type: "uint256"; + }, + ]; + name: "balanceOf"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address[]", - "name": "accounts", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - } - ], - "name": "balanceOfBatch", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address[]"; + name: "accounts"; + type: "address[]"; + }, + { + internalType: "uint256[]"; + name: "ids"; + type: "uint256[]"; + }, + ]; + name: "balanceOfBatch"; + outputs: [ + { + internalType: "uint256[]"; + name: ""; + type: "uint256[]"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "account"; + type: "address"; + }, + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + ]; + name: "isApprovedForAll"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" + internalType: "uint256[]"; + name: "ids"; + type: "uint256[]"; }, { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" + internalType: "uint256[]"; + name: "amounts"; + type: "uint256[]"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeBatchTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "safeBatchTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "id", - "type": "uint256" + internalType: "uint256"; + name: "id"; + type: "uint256"; }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" + internalType: "uint256"; + name: "amount"; + type: "uint256"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + { + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "setApprovalForAll"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + inputs: [ + { + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC1155", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC1155/IERC1155.sol:IERC1155", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC1155", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -335,7 +334,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC1155/IERC1155.sol:IERC1155", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -344,11 +343,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC1155", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC1155/IERC1155.sol:IERC1155", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/artifacts.d.ts index 2e753d1bc..d0efc5f6b 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC1155$Type } from "./IERC1155"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.d.ts index 9ddbc2e9d..dab80a396 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/IERC1155Receiver.d.ts @@ -2,136 +2,135 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC1155Receiver$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC1155Receiver", - "sourceName": "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC1155Receiver"; + sourceName: "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; + abi: [ { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "operator", - "type": "address" + internalType: "address"; + name: "operator"; + type: "address"; }, { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" + internalType: "uint256[]"; + name: "ids"; + type: "uint256[]"; }, { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" + internalType: "uint256[]"; + name: "values"; + type: "uint256[]"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC1155BatchReceived", - "outputs": [ + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "onERC1155BatchReceived"; + outputs: [ { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes4"; + name: ""; + type: "bytes4"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "operator", - "type": "address" + internalType: "address"; + name: "operator"; + type: "address"; }, { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "uint256", - "name": "id", - "type": "uint256" + internalType: "uint256"; + name: "id"; + type: "uint256"; }, { - "internalType": "uint256", - "name": "value", - "type": "uint256" + internalType: "uint256"; + name: "value"; + type: "uint256"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC1155Received", - "outputs": [ + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "onERC1155Received"; + outputs: [ { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes4"; + name: ""; + type: "bytes4"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC1155Receiver", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol:IERC1155Receiver", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC1155Receiver", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -139,7 +138,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol:IERC1155Receiver", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -148,11 +147,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC1155Receiver", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol:IERC1155Receiver", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/artifacts.d.ts index 8d3909bab..61d11b0e6 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC1155Receiver$Type } from "./IERC1155Receiver"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { @@ -16,6 +14,8 @@ declare module "hardhat/types/artifacts" { interface ContractTypesMap { ["IERC1155Receiver"]: GetContractReturnType; - ["@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol:IERC1155Receiver"]: GetContractReturnType; + ["@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol:IERC1155Receiver"]: GetContractReturnType< + IERC1155Receiver$Type["abi"] + >; } } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.d.ts index baa491cf3..b80a2af74 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/IERC1155MetadataURI.d.ts @@ -2,351 +2,350 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC1155MetadataURI$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC1155MetadataURI", - "sourceName": "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC1155MetadataURI"; + sourceName: "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" + indexed: true; + internalType: "address"; + name: "account"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" + indexed: false; + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "ApprovalForAll"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" + indexed: false; + internalType: "uint256[]"; + name: "ids"; + type: "uint256[]"; }, { - "indexed": false, - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - } - ], - "name": "TransferBatch", - "type": "event" + indexed: false; + internalType: "uint256[]"; + name: "values"; + type: "uint256[]"; + }, + ]; + name: "TransferBatch"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "id", - "type": "uint256" + indexed: false; + internalType: "uint256"; + name: "id"; + type: "uint256"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "TransferSingle"; + type: "event"; }, { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "value", - "type": "string" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "URI", - "type": "event" + anonymous: false; + inputs: [ + { + indexed: false; + internalType: "string"; + name: "value"; + type: "string"; + }, + { + indexed: true; + internalType: "uint256"; + name: "id"; + type: "uint256"; + }, + ]; + name: "URI"; + type: "event"; }, { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "account"; + type: "address"; + }, + { + internalType: "uint256"; + name: "id"; + type: "uint256"; + }, + ]; + name: "balanceOf"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address[]", - "name": "accounts", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - } - ], - "name": "balanceOfBatch", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address[]"; + name: "accounts"; + type: "address[]"; + }, + { + internalType: "uint256[]"; + name: "ids"; + type: "uint256[]"; + }, + ]; + name: "balanceOfBatch"; + outputs: [ + { + internalType: "uint256[]"; + name: ""; + type: "uint256[]"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "account"; + type: "address"; + }, + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + ]; + name: "isApprovedForAll"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" + internalType: "uint256[]"; + name: "ids"; + type: "uint256[]"; }, { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" + internalType: "uint256[]"; + name: "amounts"; + type: "uint256[]"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeBatchTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "safeBatchTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "id", - "type": "uint256" + internalType: "uint256"; + name: "id"; + type: "uint256"; }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" + internalType: "uint256"; + name: "amount"; + type: "uint256"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + { + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "setApprovalForAll"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "uri", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + inputs: [ + { + internalType: "uint256"; + name: "id"; + type: "uint256"; + }, + ]; + name: "uri"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC1155MetadataURI", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol:IERC1155MetadataURI", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC1155MetadataURI", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -354,7 +353,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol:IERC1155MetadataURI", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -363,11 +362,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC1155MetadataURI", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol:IERC1155MetadataURI", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/artifacts.d.ts index 9582973f4..4742d311f 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC1155MetadataURI$Type } from "./IERC1155MetadataURI"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { @@ -16,6 +14,8 @@ declare module "hardhat/types/artifacts" { interface ContractTypesMap { ["IERC1155MetadataURI"]: GetContractReturnType; - ["@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol:IERC1155MetadataURI"]: GetContractReturnType; + ["@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol:IERC1155MetadataURI"]: GetContractReturnType< + IERC1155MetadataURI$Type["abi"] + >; } } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.d.ts index 6d94eec54..1c0755d33 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.d.ts @@ -2,333 +2,344 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { AbiParameterToPrimitiveType, GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface ERC20$Type { - "_format": "hh-sol-artifact-1", - "contractName": "ERC20", - "sourceName": "@openzeppelin/contracts/token/ERC20/ERC20.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "ERC20"; + sourceName: "@openzeppelin/contracts/token/ERC20/ERC20.sol"; + abi: [ { - "inputs": [ + inputs: [ { - "internalType": "string", - "name": "name_", - "type": "string" + internalType: "string"; + name: "name_"; + type: "string"; }, { - "internalType": "string", - "name": "symbol_", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" + internalType: "string"; + name: "symbol_"; + type: "string"; + }, + ]; + stateMutability: "nonpayable"; + type: "constructor"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" + indexed: true; + internalType: "address"; + name: "spender"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "Approval"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "Transfer"; + type: "event"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + { + internalType: "address"; + name: "spender"; + type: "address"; + }, + ]; + name: "allowance"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "spender"; + type: "address"; + }, + { + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "approve"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "account"; + type: "address"; + }, + ]; + name: "balanceOf"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "decimals", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "decimals"; + outputs: [ + { + internalType: "uint8"; + name: ""; + type: "uint8"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "spender"; + type: "address"; + }, + { + internalType: "uint256"; + name: "subtractedValue"; + type: "uint256"; + }, + ]; + name: "decreaseAllowance"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "spender"; + type: "address"; + }, + { + internalType: "uint256"; + name: "addedValue"; + type: "uint256"; + }, + ]; + name: "increaseAllowance"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "name"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "symbol"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "totalSupply"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "transfer"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x60806040523480156200001157600080fd5b5060405162000c4238038062000c4283398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61094e80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610187578063a9059cbb1461019a578063dd62ed3e146101ad57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461017f57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101e6565b6040516100e39190610798565b60405180910390f35b6100ff6100fa366004610802565b610278565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f36600461082c565b610292565b604051601281526020016100e3565b6100ff610151366004610802565b6102b6565b610113610164366004610868565b6001600160a01b031660009081526020819052604090205490565b6100d66102f5565b6100ff610195366004610802565b610304565b6100ff6101a8366004610802565b6103b3565b6101136101bb36600461088a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f5906108bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610221906108bd565b801561026e5780601f106102435761010080835404028352916020019161026e565b820191906000526020600020905b81548152906001019060200180831161025157829003601f168201915b5050505050905090565b6000336102868185856103c1565b60019150505b92915050565b6000336102a0858285610519565b6102ab8585856105ab565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061028690829086906102f09087906108f7565b6103c1565b6060600480546101f5906108bd565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102ab82868684036103c1565b6000336102868185856105ab565b6001600160a01b03831661043c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166104b85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105a557818110156105985760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161039d565b6105a584848484036103c1565b50505050565b6001600160a01b0383166106275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166106a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b038316600090815260208190526040902054818110156107325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36105a5565b600060208083528351808285015260005b818110156107c5578581018301518582016040015282016107a9565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146107fd57600080fd5b919050565b6000806040838503121561081557600080fd5b61081e836107e6565b946020939093013593505050565b60008060006060848603121561084157600080fd5b61084a846107e6565b9250610858602085016107e6565b9150604084013590509250925092565b60006020828403121561087a57600080fd5b610883826107e6565b9392505050565b6000806040838503121561089d57600080fd5b6108a6836107e6565b91506108b4602084016107e6565b90509250929050565b600181811c908216806108d157607f821691505b6020821081036108f157634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220dd2c3bf4530b6147c721b5ab943cd7dfc1f7aa33b243f8477de439985f4463ed64736f6c63430008110033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610187578063a9059cbb1461019a578063dd62ed3e146101ad57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461017f57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101e6565b6040516100e39190610798565b60405180910390f35b6100ff6100fa366004610802565b610278565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f36600461082c565b610292565b604051601281526020016100e3565b6100ff610151366004610802565b6102b6565b610113610164366004610868565b6001600160a01b031660009081526020819052604090205490565b6100d66102f5565b6100ff610195366004610802565b610304565b6100ff6101a8366004610802565b6103b3565b6101136101bb36600461088a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f5906108bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610221906108bd565b801561026e5780601f106102435761010080835404028352916020019161026e565b820191906000526020600020905b81548152906001019060200180831161025157829003601f168201915b5050505050905090565b6000336102868185856103c1565b60019150505b92915050565b6000336102a0858285610519565b6102ab8585856105ab565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061028690829086906102f09087906108f7565b6103c1565b6060600480546101f5906108bd565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102ab82868684036103c1565b6000336102868185856105ab565b6001600160a01b03831661043c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166104b85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105a557818110156105985760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161039d565b6105a584848484036103c1565b50505050565b6001600160a01b0383166106275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166106a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b038316600090815260208190526040902054818110156107325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36105a5565b600060208083528351808285015260005b818110156107c5578581018301518582016040015282016107a9565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146107fd57600080fd5b919050565b6000806040838503121561081557600080fd5b61081e836107e6565b946020939093013593505050565b60008060006060848603121561084157600080fd5b61084a846107e6565b9250610858602085016107e6565b9150604084013590509250925092565b60006020828403121561087a57600080fd5b610883826107e6565b9392505050565b6000806040838503121561089d57600080fd5b6108a6836107e6565b91506108b4602084016107e6565b90509250929050565b600181811c908216806108d157607f821691505b6020821081036108f157634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220dd2c3bf4530b6147c721b5ab943cd7dfc1f7aa33b243f8477de439985f4463ed64736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + inputs: [ + { + internalType: "address"; + name: "from"; + type: "address"; + }, + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "transferFrom"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x60806040523480156200001157600080fd5b5060405162000c4238038062000c4283398101604081905262000034916200011f565b600362000042838262000218565b50600462000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61094e80620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610187578063a9059cbb1461019a578063dd62ed3e146101ad57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461017f57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101e6565b6040516100e39190610798565b60405180910390f35b6100ff6100fa366004610802565b610278565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f36600461082c565b610292565b604051601281526020016100e3565b6100ff610151366004610802565b6102b6565b610113610164366004610868565b6001600160a01b031660009081526020819052604090205490565b6100d66102f5565b6100ff610195366004610802565b610304565b6100ff6101a8366004610802565b6103b3565b6101136101bb36600461088a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f5906108bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610221906108bd565b801561026e5780601f106102435761010080835404028352916020019161026e565b820191906000526020600020905b81548152906001019060200180831161025157829003601f168201915b5050505050905090565b6000336102868185856103c1565b60019150505b92915050565b6000336102a0858285610519565b6102ab8585856105ab565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061028690829086906102f09087906108f7565b6103c1565b6060600480546101f5906108bd565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102ab82868684036103c1565b6000336102868185856105ab565b6001600160a01b03831661043c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166104b85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105a557818110156105985760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161039d565b6105a584848484036103c1565b50505050565b6001600160a01b0383166106275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166106a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b038316600090815260208190526040902054818110156107325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36105a5565b600060208083528351808285015260005b818110156107c5578581018301518582016040015282016107a9565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146107fd57600080fd5b919050565b6000806040838503121561081557600080fd5b61081e836107e6565b946020939093013593505050565b60008060006060848603121561084157600080fd5b61084a846107e6565b9250610858602085016107e6565b9150604084013590509250925092565b60006020828403121561087a57600080fd5b610883826107e6565b9392505050565b6000806040838503121561089d57600080fd5b6108a6836107e6565b91506108b4602084016107e6565b90509250929050565b600181811c908216806108d157607f821691505b6020821081036108f157634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220dd2c3bf4530b6147c721b5ab943cd7dfc1f7aa33b243f8477de439985f4463ed64736f6c63430008110033"; + deployedBytecode: "0x608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610187578063a9059cbb1461019a578063dd62ed3e146101ad57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461017f57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d66101e6565b6040516100e39190610798565b60405180910390f35b6100ff6100fa366004610802565b610278565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f36600461082c565b610292565b604051601281526020016100e3565b6100ff610151366004610802565b6102b6565b610113610164366004610868565b6001600160a01b031660009081526020819052604090205490565b6100d66102f5565b6100ff610195366004610802565b610304565b6100ff6101a8366004610802565b6103b3565b6101136101bb36600461088a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6060600380546101f5906108bd565b80601f0160208091040260200160405190810160405280929190818152602001828054610221906108bd565b801561026e5780601f106102435761010080835404028352916020019161026e565b820191906000526020600020905b81548152906001019060200180831161025157829003601f168201915b5050505050905090565b6000336102868185856103c1565b60019150505b92915050565b6000336102a0858285610519565b6102ab8585856105ab565b506001949350505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061028690829086906102f09087906108f7565b6103c1565b6060600480546101f5906108bd565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156103a65760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102ab82868684036103c1565b6000336102868185856105ab565b6001600160a01b03831661043c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166104b85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146105a557818110156105985760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000604482015260640161039d565b6105a584848484036103c1565b50505050565b6001600160a01b0383166106275760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b0382166106a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b038316600090815260208190526040902054818110156107325760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e63650000000000000000000000000000000000000000000000000000606482015260840161039d565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36105a5565b600060208083528351808285015260005b818110156107c5578581018301518582016040015282016107a9565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146107fd57600080fd5b919050565b6000806040838503121561081557600080fd5b61081e836107e6565b946020939093013593505050565b60008060006060848603121561084157600080fd5b61084a846107e6565b9250610858602085016107e6565b9150604084013590509250925092565b60006020828403121561087a57600080fd5b610883826107e6565b9392505050565b6000806040838503121561089d57600080fd5b6108a6836107e6565b91506108b4602084016107e6565b90509250929050565b600181811c908216806108d157607f821691505b6020821081036108f157634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561028c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220dd2c3bf4530b6147c721b5ab943cd7dfc1f7aa33b243f8477de439985f4463ed64736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "ERC20", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: DeployContractConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: DeployContractConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "ERC20", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: SendDeploymentTransactionConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: SendDeploymentTransactionConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -337,11 +348,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "ERC20", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC20/ERC20.sol:ERC20", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/artifacts.d.ts index 99fc6bef0..3e452080c 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { ERC20$Type } from "./ERC20"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.d.ts index d4acd1868..3d2e48a46 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.d.ts @@ -2,222 +2,221 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC20$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC20", - "sourceName": "@openzeppelin/contracts/token/ERC20/IERC20.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC20"; + sourceName: "@openzeppelin/contracts/token/ERC20/IERC20.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" + indexed: true; + internalType: "address"; + name: "spender"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "Approval"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "Transfer"; + type: "event"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + { + internalType: "address"; + name: "spender"; + type: "address"; + }, + ]; + name: "allowance"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "spender", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "spender"; + type: "address"; + }, + { + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "approve"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "account"; + type: "address"; + }, + ]; + name: "balanceOf"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "totalSupply"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "transfer"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + inputs: [ + { + internalType: "address"; + name: "from"; + type: "address"; + }, + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "transferFrom"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC20", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC20/IERC20.sol:IERC20", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC20", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -225,7 +224,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC20/IERC20.sol:IERC20", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -234,11 +233,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC20", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC20/IERC20.sol:IERC20", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/artifacts.d.ts index dd6e928a0..ee05832e6 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC20$Type } from "./IERC20"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.d.ts index 6bb60d26f..163240458 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.d.ts @@ -2,261 +2,260 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC20Metadata$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC20Metadata", - "sourceName": "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC20Metadata"; + sourceName: "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "spender", - "type": "address" + indexed: true; + internalType: "address"; + name: "spender"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "Approval"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" + indexed: false; + internalType: "uint256"; + name: "value"; + type: "uint256"; + }, + ]; + name: "Transfer"; + type: "event"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "owner", - "type": "address" + internalType: "address"; + name: "owner"; + type: "address"; }, { - "internalType": "address", - "name": "spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ + internalType: "address"; + name: "spender"; + type: "address"; + }, + ]; + name: "allowance"; + outputs: [ { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "spender", - "type": "address" + internalType: "address"; + name: "spender"; + type: "address"; }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "approve"; + outputs: [ { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ + internalType: "address"; + name: "account"; + type: "address"; + }, + ]; + name: "balanceOf"; + outputs: [ { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "decimals", - "outputs": [ + inputs: []; + name: "decimals"; + outputs: [ { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" + internalType: "uint8"; + name: ""; + type: "uint8"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "name", - "outputs": [ + inputs: []; + name: "name"; + outputs: [ { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "symbol", - "outputs": [ + inputs: []; + name: "symbol"; + outputs: [ { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "totalSupply", - "outputs": [ + inputs: []; + name: "totalSupply"; + outputs: [ { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "transfer"; + outputs: [ { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ + internalType: "uint256"; + name: "amount"; + type: "uint256"; + }, + ]; + name: "transferFrom"; + outputs: [ { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC20Metadata", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol:IERC20Metadata", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC20Metadata", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -264,7 +263,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol:IERC20Metadata", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -273,11 +272,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC20Metadata", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol:IERC20Metadata", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/artifacts.d.ts index 65abc46f0..bd5b53e74 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC20Metadata$Type } from "./IERC20Metadata"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { @@ -16,6 +14,8 @@ declare module "hardhat/types/artifacts" { interface ContractTypesMap { ["IERC20Metadata"]: GetContractReturnType; - ["@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol:IERC20Metadata"]: GetContractReturnType; + ["@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol:IERC20Metadata"]: GetContractReturnType< + IERC20Metadata$Type["abi"] + >; } } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.d.ts index 637f3e767..4eb99a6b3 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/ERC721.d.ts @@ -2,393 +2,404 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { AbiParameterToPrimitiveType, GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface ERC721$Type { - "_format": "hh-sol-artifact-1", - "contractName": "ERC721", - "sourceName": "@openzeppelin/contracts/token/ERC721/ERC721.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "ERC721"; + sourceName: "@openzeppelin/contracts/token/ERC721/ERC721.sol"; + abi: [ { - "inputs": [ + inputs: [ { - "internalType": "string", - "name": "name_", - "type": "string" + internalType: "string"; + name: "name_"; + type: "string"; }, { - "internalType": "string", - "name": "symbol_", - "type": "string" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" + internalType: "string"; + name: "symbol_"; + type: "string"; + }, + ]; + stateMutability: "nonpayable"; + type: "constructor"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" + indexed: true; + internalType: "address"; + name: "approved"; + type: "address"; }, { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" + indexed: true; + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "Approval"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" + indexed: false; + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "ApprovalForAll"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" + indexed: true; + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "Transfer"; + type: "event"; }, { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "approve"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + ]; + name: "balanceOf"; + outputs: [ + { + internalType: "uint256"; + name: ""; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "getApproved"; + outputs: [ + { + internalType: "address"; + name: ""; + type: "address"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + ]; + name: "isApprovedForAll"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "name"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "ownerOf"; + outputs: [ + { + internalType: "address"; + name: ""; + type: "address"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + { + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "setApprovalForAll"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "symbol"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "tokenURI"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x60806040523480156200001157600080fd5b50604051620015b5380380620015b583398101604081905262000034916200011f565b600062000042838262000218565b50600162000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6112c180620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101c3578063b88d4fde146101d6578063c87b56dd146101e9578063e985e9c5146101fc57600080fd5b80636352211e1461018757806370a082311461019a57806395d89b41146101bb57600080fd5b8063095ea7b3116100bd578063095ea7b31461014c57806323b872dd1461016157806342842e0e1461017457600080fd5b806301ffc9a7146100e457806306fdde031461010c578063081812fc14610121575b600080fd5b6100f76100f2366004610f32565b610238565b60405190151581526020015b60405180910390f35b6101146102d5565b6040516101039190610f9f565b61013461012f366004610fb2565b610367565b6040516001600160a01b039091168152602001610103565b61015f61015a366004610fe7565b61038e565b005b61015f61016f366004611011565b6104c4565b61015f610182366004611011565b61054b565b610134610195366004610fb2565b610566565b6101ad6101a836600461104d565b6105cb565b604051908152602001610103565b610114610665565b61015f6101d1366004611068565b610674565b61015f6101e43660046110ba565b610683565b6101146101f7366004610fb2565b610711565b6100f761020a366004611196565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061029b57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806102cf57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600080546102e4906111c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610310906111c9565b801561035d5780601f106103325761010080835404028352916020019161035d565b820191906000526020600020905b81548152906001019060200180831161034057829003601f168201915b5050505050905090565b600061037282610785565b506000908152600460205260409020546001600160a01b031690565b600061039982610566565b9050806001600160a01b0316836001600160a01b0316036104275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b03821614806104435750610443813361020a565b6104b55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161041e565b6104bf83836107ec565b505050565b6104ce3382610867565b6105405760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b6104bf8383836108e6565b6104bf83838360405180602001604052806000815250610683565b6000818152600260205260408120546001600160a01b0316806102cf5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b60006001600160a01b0382166106495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161041e565b506001600160a01b031660009081526003602052604090205490565b6060600180546102e4906111c9565b61067f338383610aec565b5050565b61068d3383610867565b6106ff5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b61070b84848484610bba565b50505050565b606061071c82610785565b600061073360408051602081019091526000815290565b90506000815111610753576040518060200160405280600081525061077e565b8061075d84610c43565b60405160200161076e929190611203565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b03166107e95760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b50565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061082e82610566565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061087383610566565b9050806001600160a01b0316846001600160a01b031614806108ba57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806108de5750836001600160a01b03166108d384610367565b6001600160a01b0316145b949350505050565b826001600160a01b03166108f982610566565b6001600160a01b03161461095d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6001600160a01b0382166109d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161041e565b826001600160a01b03166109eb82610566565b6001600160a01b031614610a4f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610b4d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161041e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610bc58484846108e6565b610bd184848484610ce3565b61070b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b60606000610c5083610e3a565b600101905060008167ffffffffffffffff811115610c7057610c706110a4565b6040519080825280601f01601f191660200182016040528015610c9a576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610ca457509392505050565b60006001600160a01b0384163b15610e2f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610d27903390899088908890600401611232565b6020604051808303816000875af1925050508015610d62575060408051601f3d908101601f19168201909252610d5f9181019061126e565b60015b610e15573d808015610d90576040519150601f19603f3d011682016040523d82523d6000602084013e610d95565b606091505b508051600003610e0d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506108de565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610e83577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610eaf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ecd57662386f26fc10000830492506010015b6305f5e1008310610ee5576305f5e100830492506008015b6127108310610ef957612710830492506004015b60648310610f0b576064830492506002015b600a83106102cf5760010192915050565b6001600160e01b0319811681146107e957600080fd5b600060208284031215610f4457600080fd5b813561077e81610f1c565b60005b83811015610f6a578181015183820152602001610f52565b50506000910152565b60008151808452610f8b816020860160208601610f4f565b601f01601f19169290920160200192915050565b60208152600061077e6020830184610f73565b600060208284031215610fc457600080fd5b5035919050565b80356001600160a01b0381168114610fe257600080fd5b919050565b60008060408385031215610ffa57600080fd5b61100383610fcb565b946020939093013593505050565b60008060006060848603121561102657600080fd5b61102f84610fcb565b925061103d60208501610fcb565b9150604084013590509250925092565b60006020828403121561105f57600080fd5b61077e82610fcb565b6000806040838503121561107b57600080fd5b61108483610fcb565b91506020830135801515811461109957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156110d057600080fd5b6110d985610fcb565b93506110e760208601610fcb565b925060408501359150606085013567ffffffffffffffff8082111561110b57600080fd5b818701915087601f83011261111f57600080fd5b813581811115611131576111316110a4565b604051601f8201601f19908116603f01168101908382118183101715611159576111596110a4565b816040528281528a602084870101111561117257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156111a957600080fd5b6111b283610fcb565b91506111c060208401610fcb565b90509250929050565b600181811c908216806111dd57607f821691505b6020821081036111fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351611215818460208801610f4f565b835190830190611229818360208801610f4f565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526112646080830184610f73565b9695505050505050565b60006020828403121561128057600080fd5b815161077e81610f1c56fea2646970667358221220480061cc35b6fbf06907aa7d8febfc6e2f1fa658559f92c807608c1e34b8864664736f6c63430008110033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100df5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101c3578063b88d4fde146101d6578063c87b56dd146101e9578063e985e9c5146101fc57600080fd5b80636352211e1461018757806370a082311461019a57806395d89b41146101bb57600080fd5b8063095ea7b3116100bd578063095ea7b31461014c57806323b872dd1461016157806342842e0e1461017457600080fd5b806301ffc9a7146100e457806306fdde031461010c578063081812fc14610121575b600080fd5b6100f76100f2366004610f32565b610238565b60405190151581526020015b60405180910390f35b6101146102d5565b6040516101039190610f9f565b61013461012f366004610fb2565b610367565b6040516001600160a01b039091168152602001610103565b61015f61015a366004610fe7565b61038e565b005b61015f61016f366004611011565b6104c4565b61015f610182366004611011565b61054b565b610134610195366004610fb2565b610566565b6101ad6101a836600461104d565b6105cb565b604051908152602001610103565b610114610665565b61015f6101d1366004611068565b610674565b61015f6101e43660046110ba565b610683565b6101146101f7366004610fb2565b610711565b6100f761020a366004611196565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061029b57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806102cf57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600080546102e4906111c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610310906111c9565b801561035d5780601f106103325761010080835404028352916020019161035d565b820191906000526020600020905b81548152906001019060200180831161034057829003601f168201915b5050505050905090565b600061037282610785565b506000908152600460205260409020546001600160a01b031690565b600061039982610566565b9050806001600160a01b0316836001600160a01b0316036104275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b03821614806104435750610443813361020a565b6104b55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161041e565b6104bf83836107ec565b505050565b6104ce3382610867565b6105405760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b6104bf8383836108e6565b6104bf83838360405180602001604052806000815250610683565b6000818152600260205260408120546001600160a01b0316806102cf5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b60006001600160a01b0382166106495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161041e565b506001600160a01b031660009081526003602052604090205490565b6060600180546102e4906111c9565b61067f338383610aec565b5050565b61068d3383610867565b6106ff5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b61070b84848484610bba565b50505050565b606061071c82610785565b600061073360408051602081019091526000815290565b90506000815111610753576040518060200160405280600081525061077e565b8061075d84610c43565b60405160200161076e929190611203565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b03166107e95760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b50565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061082e82610566565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061087383610566565b9050806001600160a01b0316846001600160a01b031614806108ba57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806108de5750836001600160a01b03166108d384610367565b6001600160a01b0316145b949350505050565b826001600160a01b03166108f982610566565b6001600160a01b03161461095d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6001600160a01b0382166109d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161041e565b826001600160a01b03166109eb82610566565b6001600160a01b031614610a4f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610b4d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161041e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610bc58484846108e6565b610bd184848484610ce3565b61070b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b60606000610c5083610e3a565b600101905060008167ffffffffffffffff811115610c7057610c706110a4565b6040519080825280601f01601f191660200182016040528015610c9a576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610ca457509392505050565b60006001600160a01b0384163b15610e2f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610d27903390899088908890600401611232565b6020604051808303816000875af1925050508015610d62575060408051601f3d908101601f19168201909252610d5f9181019061126e565b60015b610e15573d808015610d90576040519150601f19603f3d011682016040523d82523d6000602084013e610d95565b606091505b508051600003610e0d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506108de565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610e83577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610eaf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ecd57662386f26fc10000830492506010015b6305f5e1008310610ee5576305f5e100830492506008015b6127108310610ef957612710830492506004015b60648310610f0b576064830492506002015b600a83106102cf5760010192915050565b6001600160e01b0319811681146107e957600080fd5b600060208284031215610f4457600080fd5b813561077e81610f1c565b60005b83811015610f6a578181015183820152602001610f52565b50506000910152565b60008151808452610f8b816020860160208601610f4f565b601f01601f19169290920160200192915050565b60208152600061077e6020830184610f73565b600060208284031215610fc457600080fd5b5035919050565b80356001600160a01b0381168114610fe257600080fd5b919050565b60008060408385031215610ffa57600080fd5b61100383610fcb565b946020939093013593505050565b60008060006060848603121561102657600080fd5b61102f84610fcb565b925061103d60208501610fcb565b9150604084013590509250925092565b60006020828403121561105f57600080fd5b61077e82610fcb565b6000806040838503121561107b57600080fd5b61108483610fcb565b91506020830135801515811461109957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156110d057600080fd5b6110d985610fcb565b93506110e760208601610fcb565b925060408501359150606085013567ffffffffffffffff8082111561110b57600080fd5b818701915087601f83011261111f57600080fd5b813581811115611131576111316110a4565b604051601f8201601f19908116603f01168101908382118183101715611159576111596110a4565b816040528281528a602084870101111561117257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156111a957600080fd5b6111b283610fcb565b91506111c060208401610fcb565b90509250929050565b600181811c908216806111dd57607f821691505b6020821081036111fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351611215818460208801610f4f565b835190830190611229818360208801610f4f565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526112646080830184610f73565b9695505050505050565b60006020828403121561128057600080fd5b815161077e81610f1c56fea2646970667358221220480061cc35b6fbf06907aa7d8febfc6e2f1fa658559f92c807608c1e34b8864664736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + inputs: [ + { + internalType: "address"; + name: "from"; + type: "address"; + }, + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "transferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x60806040523480156200001157600080fd5b50604051620015b5380380620015b583398101604081905262000034916200011f565b600062000042838262000218565b50600162000051828262000218565b505050620002e4565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200008257600080fd5b81516001600160401b03808211156200009f576200009f6200005a565b604051601f8301601f19908116603f01168101908282118183101715620000ca57620000ca6200005a565b81604052838152602092508683858801011115620000e757600080fd5b600091505b838210156200010b5785820183015181830184015290820190620000ec565b600093810190920192909252949350505050565b600080604083850312156200013357600080fd5b82516001600160401b03808211156200014b57600080fd5b620001598683870162000070565b935060208501519150808211156200017057600080fd5b506200017f8582860162000070565b9150509250929050565b600181811c908216806200019e57607f821691505b602082108103620001bf57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200021357600081815260208120601f850160051c81016020861015620001ee5750805b601f850160051c820191505b818110156200020f57828155600101620001fa565b5050505b505050565b81516001600160401b038111156200023457620002346200005a565b6200024c8162000245845462000189565b84620001c5565b602080601f8311600181146200028457600084156200026b5750858301515b600019600386901b1c1916600185901b1785556200020f565b600085815260208120601f198616915b82811015620002b55788860151825594840194600190910190840162000294565b5085821015620002d45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6112c180620002f46000396000f3fe608060405234801561001057600080fd5b50600436106100df5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101c3578063b88d4fde146101d6578063c87b56dd146101e9578063e985e9c5146101fc57600080fd5b80636352211e1461018757806370a082311461019a57806395d89b41146101bb57600080fd5b8063095ea7b3116100bd578063095ea7b31461014c57806323b872dd1461016157806342842e0e1461017457600080fd5b806301ffc9a7146100e457806306fdde031461010c578063081812fc14610121575b600080fd5b6100f76100f2366004610f32565b610238565b60405190151581526020015b60405180910390f35b6101146102d5565b6040516101039190610f9f565b61013461012f366004610fb2565b610367565b6040516001600160a01b039091168152602001610103565b61015f61015a366004610fe7565b61038e565b005b61015f61016f366004611011565b6104c4565b61015f610182366004611011565b61054b565b610134610195366004610fb2565b610566565b6101ad6101a836600461104d565b6105cb565b604051908152602001610103565b610114610665565b61015f6101d1366004611068565b610674565b61015f6101e43660046110ba565b610683565b6101146101f7366004610fb2565b610711565b6100f761020a366004611196565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061029b57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806102cf57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600080546102e4906111c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610310906111c9565b801561035d5780601f106103325761010080835404028352916020019161035d565b820191906000526020600020905b81548152906001019060200180831161034057829003601f168201915b5050505050905090565b600061037282610785565b506000908152600460205260409020546001600160a01b031690565b600061039982610566565b9050806001600160a01b0316836001600160a01b0316036104275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b03821614806104435750610443813361020a565b6104b55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161041e565b6104bf83836107ec565b505050565b6104ce3382610867565b6105405760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b6104bf8383836108e6565b6104bf83838360405180602001604052806000815250610683565b6000818152600260205260408120546001600160a01b0316806102cf5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b60006001600160a01b0382166106495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161041e565b506001600160a01b031660009081526003602052604090205490565b6060600180546102e4906111c9565b61067f338383610aec565b5050565b61068d3383610867565b6106ff5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b61070b84848484610bba565b50505050565b606061071c82610785565b600061073360408051602081019091526000815290565b90506000815111610753576040518060200160405280600081525061077e565b8061075d84610c43565b60405160200161076e929190611203565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b03166107e95760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b50565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061082e82610566565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061087383610566565b9050806001600160a01b0316846001600160a01b031614806108ba57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806108de5750836001600160a01b03166108d384610367565b6001600160a01b0316145b949350505050565b826001600160a01b03166108f982610566565b6001600160a01b03161461095d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6001600160a01b0382166109d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161041e565b826001600160a01b03166109eb82610566565b6001600160a01b031614610a4f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610b4d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161041e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610bc58484846108e6565b610bd184848484610ce3565b61070b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b60606000610c5083610e3a565b600101905060008167ffffffffffffffff811115610c7057610c706110a4565b6040519080825280601f01601f191660200182016040528015610c9a576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610ca457509392505050565b60006001600160a01b0384163b15610e2f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610d27903390899088908890600401611232565b6020604051808303816000875af1925050508015610d62575060408051601f3d908101601f19168201909252610d5f9181019061126e565b60015b610e15573d808015610d90576040519150601f19603f3d011682016040523d82523d6000602084013e610d95565b606091505b508051600003610e0d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506108de565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610e83577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610eaf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ecd57662386f26fc10000830492506010015b6305f5e1008310610ee5576305f5e100830492506008015b6127108310610ef957612710830492506004015b60648310610f0b576064830492506002015b600a83106102cf5760010192915050565b6001600160e01b0319811681146107e957600080fd5b600060208284031215610f4457600080fd5b813561077e81610f1c565b60005b83811015610f6a578181015183820152602001610f52565b50506000910152565b60008151808452610f8b816020860160208601610f4f565b601f01601f19169290920160200192915050565b60208152600061077e6020830184610f73565b600060208284031215610fc457600080fd5b5035919050565b80356001600160a01b0381168114610fe257600080fd5b919050565b60008060408385031215610ffa57600080fd5b61100383610fcb565b946020939093013593505050565b60008060006060848603121561102657600080fd5b61102f84610fcb565b925061103d60208501610fcb565b9150604084013590509250925092565b60006020828403121561105f57600080fd5b61077e82610fcb565b6000806040838503121561107b57600080fd5b61108483610fcb565b91506020830135801515811461109957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156110d057600080fd5b6110d985610fcb565b93506110e760208601610fcb565b925060408501359150606085013567ffffffffffffffff8082111561110b57600080fd5b818701915087601f83011261111f57600080fd5b813581811115611131576111316110a4565b604051601f8201601f19908116603f01168101908382118183101715611159576111596110a4565b816040528281528a602084870101111561117257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156111a957600080fd5b6111b283610fcb565b91506111c060208401610fcb565b90509250929050565b600181811c908216806111dd57607f821691505b6020821081036111fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351611215818460208801610f4f565b835190830190611229818360208801610f4f565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526112646080830184610f73565b9695505050505050565b60006020828403121561128057600080fd5b815161077e81610f1c56fea2646970667358221220480061cc35b6fbf06907aa7d8febfc6e2f1fa658559f92c807608c1e34b8864664736f6c63430008110033"; + deployedBytecode: "0x608060405234801561001057600080fd5b50600436106100df5760003560e01c80636352211e1161008c578063a22cb46511610066578063a22cb465146101c3578063b88d4fde146101d6578063c87b56dd146101e9578063e985e9c5146101fc57600080fd5b80636352211e1461018757806370a082311461019a57806395d89b41146101bb57600080fd5b8063095ea7b3116100bd578063095ea7b31461014c57806323b872dd1461016157806342842e0e1461017457600080fd5b806301ffc9a7146100e457806306fdde031461010c578063081812fc14610121575b600080fd5b6100f76100f2366004610f32565b610238565b60405190151581526020015b60405180910390f35b6101146102d5565b6040516101039190610f9f565b61013461012f366004610fb2565b610367565b6040516001600160a01b039091168152602001610103565b61015f61015a366004610fe7565b61038e565b005b61015f61016f366004611011565b6104c4565b61015f610182366004611011565b61054b565b610134610195366004610fb2565b610566565b6101ad6101a836600461104d565b6105cb565b604051908152602001610103565b610114610665565b61015f6101d1366004611068565b610674565b61015f6101e43660046110ba565b610683565b6101146101f7366004610fb2565b610711565b6100f761020a366004611196565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061029b57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806102cf57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6060600080546102e4906111c9565b80601f0160208091040260200160405190810160405280929190818152602001828054610310906111c9565b801561035d5780601f106103325761010080835404028352916020019161035d565b820191906000526020600020905b81548152906001019060200180831161034057829003601f168201915b5050505050905090565b600061037282610785565b506000908152600460205260409020546001600160a01b031690565b600061039982610566565b9050806001600160a01b0316836001600160a01b0316036104275760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b336001600160a01b03821614806104435750610443813361020a565b6104b55760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161041e565b6104bf83836107ec565b505050565b6104ce3382610867565b6105405760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b6104bf8383836108e6565b6104bf83838360405180602001604052806000815250610683565b6000818152600260205260408120546001600160a01b0316806102cf5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b60006001600160a01b0382166106495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f74206120766160448201527f6c6964206f776e65720000000000000000000000000000000000000000000000606482015260840161041e565b506001600160a01b031660009081526003602052604090205490565b6060600180546102e4906111c9565b61067f338383610aec565b5050565b61068d3383610867565b6106ff5760405162461bcd60e51b815260206004820152602d60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206f7220617070726f76656400000000000000000000000000000000000000606482015260840161041e565b61070b84848484610bba565b50505050565b606061071c82610785565b600061073360408051602081019091526000815290565b90506000815111610753576040518060200160405280600081525061077e565b8061075d84610c43565b60405160200161076e929190611203565b6040516020818303038152906040525b9392505050565b6000818152600260205260409020546001600160a01b03166107e95760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e2049440000000000000000604482015260640161041e565b50565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b038416908117909155819061082e82610566565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061087383610566565b9050806001600160a01b0316846001600160a01b031614806108ba57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806108de5750836001600160a01b03166108d384610367565b6001600160a01b0316145b949350505050565b826001600160a01b03166108f982610566565b6001600160a01b03161461095d5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6001600160a01b0382166109d85760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161041e565b826001600160a01b03166109eb82610566565b6001600160a01b031614610a4f5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b606482015260840161041e565b6000818152600460209081526040808320805473ffffffffffffffffffffffffffffffffffffffff199081169091556001600160a01b0387811680865260038552838620805460001901905590871680865283862080546001019055868652600290945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b816001600160a01b0316836001600160a01b031603610b4d5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161041e565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610bc58484846108e6565b610bd184848484610ce3565b61070b5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b60606000610c5083610e3a565b600101905060008167ffffffffffffffff811115610c7057610c706110a4565b6040519080825280601f01601f191660200182016040528015610c9a576020820181803683370190505b5090508181016020015b600019017f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8504945084610ca457509392505050565b60006001600160a01b0384163b15610e2f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290610d27903390899088908890600401611232565b6020604051808303816000875af1925050508015610d62575060408051601f3d908101601f19168201909252610d5f9181019061126e565b60015b610e15573d808015610d90576040519150601f19603f3d011682016040523d82523d6000602084013e610d95565b606091505b508051600003610e0d5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e7465720000000000000000000000000000606482015260840161041e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506108de565b506001949350505050565b6000807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310610e83577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000830492506040015b6d04ee2d6d415b85acef81000000008310610eaf576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310610ecd57662386f26fc10000830492506010015b6305f5e1008310610ee5576305f5e100830492506008015b6127108310610ef957612710830492506004015b60648310610f0b576064830492506002015b600a83106102cf5760010192915050565b6001600160e01b0319811681146107e957600080fd5b600060208284031215610f4457600080fd5b813561077e81610f1c565b60005b83811015610f6a578181015183820152602001610f52565b50506000910152565b60008151808452610f8b816020860160208601610f4f565b601f01601f19169290920160200192915050565b60208152600061077e6020830184610f73565b600060208284031215610fc457600080fd5b5035919050565b80356001600160a01b0381168114610fe257600080fd5b919050565b60008060408385031215610ffa57600080fd5b61100383610fcb565b946020939093013593505050565b60008060006060848603121561102657600080fd5b61102f84610fcb565b925061103d60208501610fcb565b9150604084013590509250925092565b60006020828403121561105f57600080fd5b61077e82610fcb565b6000806040838503121561107b57600080fd5b61108483610fcb565b91506020830135801515811461109957600080fd5b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b600080600080608085870312156110d057600080fd5b6110d985610fcb565b93506110e760208601610fcb565b925060408501359150606085013567ffffffffffffffff8082111561110b57600080fd5b818701915087601f83011261111f57600080fd5b813581811115611131576111316110a4565b604051601f8201601f19908116603f01168101908382118183101715611159576111596110a4565b816040528281528a602084870101111561117257600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156111a957600080fd5b6111b283610fcb565b91506111c060208401610fcb565b90509250929050565b600181811c908216806111dd57607f821691505b6020821081036111fd57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351611215818460208801610f4f565b835190830190611229818360208801610f4f565b01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526112646080830184610f73565b9695505050505050565b60006020828403121561128057600080fd5b815161077e81610f1c56fea2646970667358221220480061cc35b6fbf06907aa7d8febfc6e2f1fa658559f92c807608c1e34b8864664736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "ERC721", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: DeployContractConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC721/ERC721.sol:ERC721", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: DeployContractConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "ERC721", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: SendDeploymentTransactionConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; }>; export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC721/ERC721.sol:ERC721", - constructorArgs: [name_: AbiParameterToPrimitiveType<{"name":"name_","type":"string"}>, symbol_: AbiParameterToPrimitiveType<{"name":"symbol_","type":"string"}>], - config?: SendDeploymentTransactionConfig + constructorArgs: [ + name_: AbiParameterToPrimitiveType<{ name: "name_"; type: "string" }>, + symbol_: AbiParameterToPrimitiveType<{ name: "symbol_"; type: "string" }>, + ], + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -397,11 +408,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "ERC721", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC721/ERC721.sol:ERC721", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/artifacts.d.ts index c9d3903b1..5215a49d4 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/ERC721.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { ERC721$Type } from "./ERC721"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.d.ts index eed8474fb..d3558bff4 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/IERC721.d.ts @@ -2,324 +2,323 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC721$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC721", - "sourceName": "@openzeppelin/contracts/token/ERC721/IERC721.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC721"; + sourceName: "@openzeppelin/contracts/token/ERC721/IERC721.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" + indexed: true; + internalType: "address"; + name: "approved"; + type: "address"; }, { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" + indexed: true; + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "Approval"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" + indexed: false; + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "ApprovalForAll"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" + indexed: true; + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "Transfer"; + type: "event"; }, { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "approve"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + ]; + name: "balanceOf"; + outputs: [ + { + internalType: "uint256"; + name: "balance"; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "getApproved"; + outputs: [ + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + ]; + name: "isApprovedForAll"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "ownerOf"; + outputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + { + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "setApprovalForAll"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + inputs: [ + { + internalType: "address"; + name: "from"; + type: "address"; + }, + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "transferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC721", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC721/IERC721.sol:IERC721", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC721", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -327,7 +326,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC721/IERC721.sol:IERC721", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -336,11 +335,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC721", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC721/IERC721.sol:IERC721", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/artifacts.d.ts index fe6d885f0..fa1c4d0c6 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC721$Type } from "./IERC721"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.d.ts index 019a0e337..cb6116f54 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/IERC721Receiver.d.ts @@ -2,73 +2,72 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC721Receiver$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC721Receiver", - "sourceName": "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC721Receiver"; + sourceName: "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; + abi: [ { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "operator", - "type": "address" + internalType: "address"; + name: "operator"; + type: "address"; }, { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC721Received", - "outputs": [ + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "onERC721Received"; + outputs: [ { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + internalType: "bytes4"; + name: ""; + type: "bytes4"; + }, + ]; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC721Receiver", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol:IERC721Receiver", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC721Receiver", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -76,7 +75,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol:IERC721Receiver", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -85,11 +84,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC721Receiver", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol:IERC721Receiver", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/artifacts.d.ts index c59b12c3a..ceb410eb2 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC721Receiver$Type } from "./IERC721Receiver"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { @@ -16,6 +14,8 @@ declare module "hardhat/types/artifacts" { interface ContractTypesMap { ["IERC721Receiver"]: GetContractReturnType; - ["@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol:IERC721Receiver"]: GetContractReturnType; + ["@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol:IERC721Receiver"]: GetContractReturnType< + IERC721Receiver$Type["abi"] + >; } } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.d.ts index 1f2a96706..dfb27692a 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/IERC721Metadata.d.ts @@ -2,369 +2,368 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC721Metadata$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC721Metadata", - "sourceName": "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC721Metadata"; + sourceName: "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; + abi: [ { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "approved", - "type": "address" + indexed: true; + internalType: "address"; + name: "approved"; + type: "address"; }, { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" + indexed: true; + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "Approval"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" + indexed: true; + internalType: "address"; + name: "owner"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" + indexed: true; + internalType: "address"; + name: "operator"; + type: "address"; }, { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" + indexed: false; + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "ApprovalForAll"; + type: "event"; }, { - "anonymous": false, - "inputs": [ + anonymous: false; + inputs: [ { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" + indexed: true; + internalType: "address"; + name: "from"; + type: "address"; }, { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" + indexed: true; + internalType: "address"; + name: "to"; + type: "address"; }, { - "indexed": true, - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" + indexed: true; + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "Transfer"; + type: "event"; }, { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "approve"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + ]; + name: "balanceOf"; + outputs: [ + { + internalType: "uint256"; + name: "balance"; + type: "uint256"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "getApproved", - "outputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "getApproved"; + outputs: [ + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + ]; + name: "isApprovedForAll"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "name"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "ownerOf", - "outputs": [ - { - "internalType": "address", - "name": "owner", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "ownerOf"; + outputs: [ + { + internalType: "address"; + name: "owner"; + type: "address"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ + inputs: [ { - "internalType": "address", - "name": "from", - "type": "address" + internalType: "address"; + name: "from"; + type: "address"; }, { - "internalType": "address", - "name": "to", - "type": "address" + internalType: "address"; + name: "to"; + type: "address"; }, { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; }, { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + internalType: "bytes"; + name: "data"; + type: "bytes"; + }, + ]; + name: "safeTransferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" + inputs: [ + { + internalType: "address"; + name: "operator"; + type: "address"; + }, + { + internalType: "bool"; + name: "approved"; + type: "bool"; + }, + ]; + name: "setApprovalForAll"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; }, { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ + { + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: []; + name: "symbol"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" + inputs: [ + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "tokenURI"; + outputs: [ + { + internalType: "string"; + name: ""; + type: "string"; + }, + ]; + stateMutability: "view"; + type: "function"; }, { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + inputs: [ + { + internalType: "address"; + name: "from"; + type: "address"; + }, + { + internalType: "address"; + name: "to"; + type: "address"; + }, + { + internalType: "uint256"; + name: "tokenId"; + type: "uint256"; + }, + ]; + name: "transferFrom"; + outputs: []; + stateMutability: "nonpayable"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC721Metadata", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol:IERC721Metadata", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC721Metadata", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -372,7 +371,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol:IERC721Metadata", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -381,11 +380,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC721Metadata", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol:IERC721Metadata", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/artifacts.d.ts index 3ad413996..e27b2b6b8 100644 --- a/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC721Metadata$Type } from "./IERC721Metadata"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { @@ -16,6 +14,8 @@ declare module "hardhat/types/artifacts" { interface ContractTypesMap { ["IERC721Metadata"]: GetContractReturnType; - ["@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol:IERC721Metadata"]: GetContractReturnType; + ["@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol:IERC721Metadata"]: GetContractReturnType< + IERC721Metadata$Type["abi"] + >; } } diff --git a/package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.d.ts b/package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.d.ts index b3b4bf1a8..ea536ff3d 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/Address.sol/Address.d.ts @@ -2,38 +2,37 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface Address$Type { - "_format": "hh-sol-artifact-1", - "contractName": "Address", - "sourceName": "@openzeppelin/contracts/utils/Address.sol", - "abi": [], - "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122023852aa728a7496d04c50c8452a63eedc7be2cc7de3fe143856085eca0f2369364736f6c63430008110033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122023852aa728a7496d04c50c8452a63eedc7be2cc7de3fe143856085eca0f2369364736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + _format: "hh-sol-artifact-1"; + contractName: "Address"; + sourceName: "@openzeppelin/contracts/utils/Address.sol"; + abi: []; + bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122023852aa728a7496d04c50c8452a63eedc7be2cc7de3fe143856085eca0f2369364736f6c63430008110033"; + deployedBytecode: "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122023852aa728a7496d04c50c8452a63eedc7be2cc7de3fe143856085eca0f2369364736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "Address", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/utils/Address.sol:Address", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "Address", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -41,7 +40,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/Address.sol:Address", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -50,11 +49,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "Address", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/Address.sol:Address", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/utils/Address.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/utils/Address.sol/artifacts.d.ts index 6cbfb1bd3..746393b8c 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/Address.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/Address.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { Address$Type } from "./Address"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.d.ts b/package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.d.ts index 096b825ce..bae918365 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.d.ts @@ -2,38 +2,37 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface Context$Type { - "_format": "hh-sol-artifact-1", - "contractName": "Context", - "sourceName": "@openzeppelin/contracts/utils/Context.sol", - "abi": [], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + _format: "hh-sol-artifact-1"; + contractName: "Context"; + sourceName: "@openzeppelin/contracts/utils/Context.sol"; + abi: []; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "Context", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/utils/Context.sol:Context", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "Context", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -41,7 +40,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/Context.sol:Context", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -50,11 +49,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "Context", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/Context.sol:Context", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/utils/Context.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/utils/Context.sol/artifacts.d.ts index 837171641..5bae38c86 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/Context.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/Context.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { Context$Type } from "./Context"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.d.ts b/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.d.ts index 064e55c16..5236d7ef8 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/Strings.d.ts @@ -2,38 +2,37 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface Strings$Type { - "_format": "hh-sol-artifact-1", - "contractName": "Strings", - "sourceName": "@openzeppelin/contracts/utils/Strings.sol", - "abi": [], - "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bc5b6bbd772e426f61def52456fc8e2da86163e18ed994f6e0d9fddbdf536af164736f6c63430008110033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bc5b6bbd772e426f61def52456fc8e2da86163e18ed994f6e0d9fddbdf536af164736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + _format: "hh-sol-artifact-1"; + contractName: "Strings"; + sourceName: "@openzeppelin/contracts/utils/Strings.sol"; + abi: []; + bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bc5b6bbd772e426f61def52456fc8e2da86163e18ed994f6e0d9fddbdf536af164736f6c63430008110033"; + deployedBytecode: "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220bc5b6bbd772e426f61def52456fc8e2da86163e18ed994f6e0d9fddbdf536af164736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "Strings", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/utils/Strings.sol:Strings", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "Strings", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -41,7 +40,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/Strings.sol:Strings", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -50,11 +49,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "Strings", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/Strings.sol:Strings", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/artifacts.d.ts index aeace96b9..d54cb885e 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/Strings.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { Strings$Type } from "./Strings"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.d.ts b/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.d.ts index c4b14bd5f..98252cd0d 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/ERC165.d.ts @@ -2,58 +2,57 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface ERC165$Type { - "_format": "hh-sol-artifact-1", - "contractName": "ERC165", - "sourceName": "@openzeppelin/contracts/utils/introspection/ERC165.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "ERC165"; + sourceName: "@openzeppelin/contracts/utils/introspection/ERC165.sol"; + abi: [ { - "inputs": [ + inputs: [ { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "ERC165", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/utils/introspection/ERC165.sol:ERC165", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "ERC165", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -61,7 +60,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/introspection/ERC165.sol:ERC165", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -70,11 +69,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "ERC165", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/introspection/ERC165.sol:ERC165", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/artifacts.d.ts index b1d67b60f..2e8e920ff 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/introspection/ERC165.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { ERC165$Type } from "./ERC165"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.d.ts b/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.d.ts index cb614c392..20cff831b 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/IERC165.d.ts @@ -2,58 +2,57 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface IERC165$Type { - "_format": "hh-sol-artifact-1", - "contractName": "IERC165", - "sourceName": "@openzeppelin/contracts/utils/introspection/IERC165.sol", - "abi": [ + _format: "hh-sol-artifact-1"; + contractName: "IERC165"; + sourceName: "@openzeppelin/contracts/utils/introspection/IERC165.sol"; + abi: [ { - "inputs": [ + inputs: [ { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ + internalType: "bytes4"; + name: "interfaceId"; + type: "bytes4"; + }, + ]; + name: "supportsInterface"; + outputs: [ { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "bytecode": "0x", - "deployedBytecode": "0x", - "linkReferences": {}, - "deployedLinkReferences": {} + internalType: "bool"; + name: ""; + type: "bool"; + }, + ]; + stateMutability: "view"; + type: "function"; + }, + ]; + bytecode: "0x"; + deployedBytecode: "0x"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "IERC165", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/utils/introspection/IERC165.sol:IERC165", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "IERC165", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -61,7 +60,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/introspection/IERC165.sol:IERC165", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -70,11 +69,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "IERC165", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/introspection/IERC165.sol:IERC165", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/artifacts.d.ts index ce35ff72d..5dc3dfedb 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/introspection/IERC165.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { IERC165$Type } from "./IERC165"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.d.ts b/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.d.ts index 97dca5c10..56ef7312a 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/Math.d.ts @@ -2,38 +2,37 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface Math$Type { - "_format": "hh-sol-artifact-1", - "contractName": "Math", - "sourceName": "@openzeppelin/contracts/utils/math/Math.sol", - "abi": [], - "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122067be3f9ec6c7405607caf3ee8ab2f6d3100ee8ab46977f1a817c7cdec65800b164736f6c63430008110033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122067be3f9ec6c7405607caf3ee8ab2f6d3100ee8ab46977f1a817c7cdec65800b164736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + _format: "hh-sol-artifact-1"; + contractName: "Math"; + sourceName: "@openzeppelin/contracts/utils/math/Math.sol"; + abi: []; + bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122067be3f9ec6c7405607caf3ee8ab2f6d3100ee8ab46977f1a817c7cdec65800b164736f6c63430008110033"; + deployedBytecode: "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122067be3f9ec6c7405607caf3ee8ab2f6d3100ee8ab46977f1a817c7cdec65800b164736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "Math", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/utils/math/Math.sol:Math", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "Math", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -41,7 +40,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/math/Math.sol:Math", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -50,11 +49,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "Math", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/math/Math.sol:Math", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/artifacts.d.ts index e3a775f73..9df992996 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/math/Math.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { Math$Type } from "./Math"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.d.ts b/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.d.ts index bcaed802c..ffa4d71e7 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/SignedMath.d.ts @@ -2,38 +2,37 @@ // prettier-ignore // tslint:disable // eslint-disable - -import type { Address } from "viem"; import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; import "@nomicfoundation/hardhat-viem/types"; +import type { Address } from "viem"; export interface SignedMath$Type { - "_format": "hh-sol-artifact-1", - "contractName": "SignedMath", - "sourceName": "@openzeppelin/contracts/utils/math/SignedMath.sol", - "abi": [], - "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dc2601a8ebafb156ba6826e1cb7115b77a99a52198364a46aaf80ef3e75275ac64736f6c63430008110033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dc2601a8ebafb156ba6826e1cb7115b77a99a52198364a46aaf80ef3e75275ac64736f6c63430008110033", - "linkReferences": {}, - "deployedLinkReferences": {} + _format: "hh-sol-artifact-1"; + contractName: "SignedMath"; + sourceName: "@openzeppelin/contracts/utils/math/SignedMath.sol"; + abi: []; + bytecode: "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dc2601a8ebafb156ba6826e1cb7115b77a99a52198364a46aaf80ef3e75275ac64736f6c63430008110033"; + deployedBytecode: "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220dc2601a8ebafb156ba6826e1cb7115b77a99a52198364a46aaf80ef3e75275ac64736f6c63430008110033"; + linkReferences: {}; + deployedLinkReferences: {}; } declare module "@nomicfoundation/hardhat-viem/types" { export function deployContract( contractName: "SignedMath", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function deployContract( contractName: "@openzeppelin/contracts/utils/math/SignedMath.sol:SignedMath", constructorArgs?: [], - config?: DeployContractConfig + config?: DeployContractConfig, ): Promise>; export function sendDeploymentTransaction( contractName: "SignedMath", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -41,7 +40,7 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function sendDeploymentTransaction( contractName: "@openzeppelin/contracts/utils/math/SignedMath.sol:SignedMath", constructorArgs?: [], - config?: SendDeploymentTransactionConfig + config?: SendDeploymentTransactionConfig, ): Promise<{ contract: GetContractReturnType; deploymentTransaction: GetTransactionReturnType; @@ -50,11 +49,11 @@ declare module "@nomicfoundation/hardhat-viem/types" { export function getContractAt( contractName: "SignedMath", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; export function getContractAt( contractName: "@openzeppelin/contracts/utils/math/SignedMath.sol:SignedMath", address: Address, - config?: GetContractAtConfig + config?: GetContractAtConfig, ): Promise>; } diff --git a/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/artifacts.d.ts b/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/artifacts.d.ts index 61717bb7e..1b0663596 100644 --- a/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/artifacts.d.ts +++ b/package/artifacts/@openzeppelin/contracts/utils/math/SignedMath.sol/artifacts.d.ts @@ -2,11 +2,9 @@ // prettier-ignore // tslint:disable // eslint-disable - -import "hardhat/types/artifacts"; -import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; - import { SignedMath$Type } from "./SignedMath"; +import type { GetContractReturnType } from "@nomicfoundation/hardhat-viem/types"; +import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { interface ArtifactsMap { diff --git a/package/artifacts/artifacts.d.ts b/package/artifacts/artifacts.d.ts index 71c25051c..5d4d45bec 100644 --- a/package/artifacts/artifacts.d.ts +++ b/package/artifacts/artifacts.d.ts @@ -2,7 +2,6 @@ // prettier-ignore // tslint:disable // eslint-disable - import "hardhat/types/artifacts"; declare module "hardhat/types/artifacts" { diff --git a/package/artifacts/build-info/60cb75078016949112437b5ad4e67607.json b/package/artifacts/build-info/60cb75078016949112437b5ad4e67607.json index 8e0c65a1c..7bd6491b2 100644 --- a/package/artifacts/build-info/60cb75078016949112437b5ad4e67607.json +++ b/package/artifacts/build-info/60cb75078016949112437b5ad4e67607.json @@ -1 +1,544 @@ -{"id":"60cb75078016949112437b5ad4e67607","_format":"hh-sol-build-info-1","solcVersion":"0.4.11","solcLongVersion":"0.4.11+commit.68ef5810","input":{"language":"Solidity","sources":{"contracts/utils/DummyOldResolver.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.4.11;\n\ncontract DummyOldResolver {\n function test() public returns (bool) {\n return true;\n }\n\n function name(bytes32) public returns (string memory) {\n return \"test.eth\";\n }\n}\n"}},"settings":{"optimizer":{"enabled":true,"runs":200},"outputSelection":{"*":{"*":["abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata","devdoc","userdoc","storageLayout","evm.gasEstimates"],"":["ast"]}},"metadata":{"useLiteralContent":true}}},"output":{"sources":{"contracts/utils/DummyOldResolver.sol":{"id":0,"legacyAST":{"children":[{"attributes":{"literals":["solidity","0.4",".11"]},"id":1,"name":"PragmaDirective","src":"32:23:0"},{"attributes":{"fullyImplemented":true,"isLibrary":false,"linearizedBaseContracts":[20],"name":"DummyOldResolver"},"children":[{"attributes":{"constant":false,"name":"test","payable":false,"visibility":"public"},"children":[{"children":[],"id":2,"name":"ParameterList","src":"102:2:0"},{"children":[{"attributes":{"constant":false,"name":"","storageLocation":"default","type":"bool","visibility":"internal"},"children":[{"attributes":{"name":"bool"},"id":3,"name":"ElementaryTypeName","src":"121:4:0"}],"id":4,"name":"VariableDeclaration","src":"121:4:0"}],"id":5,"name":"ParameterList","src":"120:6:0"},{"children":[{"children":[{"attributes":{"hexvalue":"74727565","subdenomination":null,"token":"true","type":"bool","value":"true"},"id":6,"name":"Literal","src":"144:4:0"}],"id":7,"name":"Return","src":"137:11:0"}],"id":8,"name":"Block","src":"127:28:0"}],"id":9,"name":"FunctionDefinition","src":"89:66:0"},{"attributes":{"constant":false,"name":"name","payable":false,"visibility":"public"},"children":[{"children":[{"attributes":{"constant":false,"name":"","storageLocation":"default","type":"bytes32","visibility":"internal"},"children":[{"attributes":{"name":"bytes32"},"id":10,"name":"ElementaryTypeName","src":"175:7:0"}],"id":11,"name":"VariableDeclaration","src":"175:7:0"}],"id":12,"name":"ParameterList","src":"174:9:0"},{"children":[{"attributes":{"constant":false,"name":"","storageLocation":"memory","type":"string memory","visibility":"internal"},"children":[{"attributes":{"name":"string"},"id":13,"name":"ElementaryTypeName","src":"200:6:0"}],"id":14,"name":"VariableDeclaration","src":"200:6:0"}],"id":15,"name":"ParameterList","src":"199:15:0"},{"children":[{"children":[{"attributes":{"hexvalue":"746573742e657468","subdenomination":null,"token":null,"type":"literal_string \"test.eth\"","value":"test.eth"},"id":16,"name":"Literal","src":"232:10:0"}],"id":17,"name":"Return","src":"225:17:0"}],"id":18,"name":"Block","src":"215:34:0"}],"id":19,"name":"FunctionDefinition","src":"161:88:0"}],"id":20,"name":"ContractDefinition","src":"57:194:0"}],"name":"SourceUnit"}}},"contracts":{"contracts/utils/DummyOldResolver.sol":{"DummyOldResolver":{"abi":[{"constant":false,"inputs":[{"name":"","type":"bytes32"}],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"test","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"}],"devdoc":{"methods":{}},"evm":{"assembly":" /* \"contracts/utils/DummyOldResolver.sol\":57:251 contract DummyOldResolver {... */\n mstore(0x40, 0x60)\n jumpi(tag_1, iszero(callvalue))\n invalid\ntag_1:\ntag_2:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x0\n codecopy\n 0x0\n return\nstop\n\nsub_0: assembly {\n /* \"contracts/utils/DummyOldResolver.sol\":57:251 contract DummyOldResolver {... */\n mstore(0x40, 0x60)\n and(div(calldataload(0x0), 0x100000000000000000000000000000000000000000000000000000000), 0xffffffff)\n 0x691f3431\n dup2\n eq\n tag_2\n jumpi\n dup1\n 0xf8a8fd6d\n eq\n tag_3\n jumpi\n tag_1:\n invalid\n /* \"contracts/utils/DummyOldResolver.sol\":161:249 function name(bytes32) public returns (string memory) {... */\n tag_2:\n jumpi(tag_4, iszero(callvalue))\n invalid\n tag_4:\n tag_5\n calldataload(0x4)\n jump(tag_6)\n tag_5:\n 0x40\n dup1\n mload\n 0x20\n dup1\n dup3\n mstore\n dup4\n mload\n dup2\n dup4\n add\n mstore\n dup4\n mload\n swap2\n swap3\n dup4\n swap3\n swap1\n dup4\n add\n swap2\n dup6\n add\n swap1\n dup1\n dup4\n dup4\n /* \"--CODEGEN--\":18:20 */\n dup3\n iszero\n /* \"--CODEGEN--\":13:16 */\n tag_7\n /* \"--CODEGEN--\":7:12 */\n jumpi\n /* \"--CODEGEN--\":32:37 */\n tag_8:\n /* \"--CODEGEN--\":59:62 */\n dup1\n /* \"--CODEGEN--\":53:58 */\n mload\n /* \"--CODEGEN--\":48:51 */\n dup3\n /* \"--CODEGEN--\":41:47 */\n mstore\n /* \"--CODEGEN--\":93:95 */\n 0x20\n /* \"--CODEGEN--\":88:91 */\n dup4\n /* \"--CODEGEN--\":85:87 */\n gt\n /* \"--CODEGEN--\":78:84 */\n iszero\n /* \"--CODEGEN--\":73:76 */\n tag_7\n /* \"--CODEGEN--\":67:72 */\n jumpi\n not(0x1f)\n /* \"--CODEGEN--\":152:155 */\n swap1\n swap3\n add\n swap2\n /* \"--CODEGEN--\":117:119 */\n 0x20\n /* \"--CODEGEN--\":108:111 */\n swap2\n dup3\n add\n swap2\n /* \"--CODEGEN--\":130:133 */\n add\n /* \"--CODEGEN--\":172:177 */\n tag_8\n /* \"--CODEGEN--\":167:171 */\n jump\n /* \"--CODEGEN--\":181:184 */\n tag_7:\n /* \"--CODEGEN--\":3:189 */\n pop\n pop\n pop\n swap1\n pop\n swap1\n dup2\n add\n swap1\n 0x1f\n and\n dup1\n iszero\n tag_9\n jumpi\n dup1\n dup3\n sub\n dup1\n mload\n 0x1\n dup4\n 0x20\n sub\n 0x100\n exp\n sub\n not\n and\n dup2\n mstore\n 0x20\n add\n swap2\n pop\n tag_9:\n pop\n swap3\n pop\n pop\n pop\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"contracts/utils/DummyOldResolver.sol\":89:155 function test() public returns (bool) {... */\n tag_3:\n jumpi(tag_10, iszero(callvalue))\n invalid\n tag_10:\n tag_11\n jump(tag_12)\n tag_11:\n 0x40\n dup1\n mload\n swap2\n iszero\n iszero\n dup3\n mstore\n mload\n swap1\n dup2\n swap1\n sub\n 0x20\n add\n swap1\n return\n /* \"contracts/utils/DummyOldResolver.sol\":161:249 function name(bytes32) public returns (string memory) {... */\n tag_6:\n /* \"contracts/utils/DummyOldResolver.sol\":200:206 string */\n tag_13\n jump\t// in(tag_14)\n tag_13:\n pop\n /* \"contracts/utils/DummyOldResolver.sol\":225:242 return \"test.eth\" */\n 0x40\n dup1\n mload\n dup1\n dup3\n add\n swap1\n swap2\n mstore\n 0x8\n dup2\n mstore\n 0x746573742e657468000000000000000000000000000000000000000000000000\n 0x20\n dup3\n add\n mstore\n /* \"contracts/utils/DummyOldResolver.sol\":161:249 function name(bytes32) public returns (string memory) {... */\n tag_15:\n swap2\n swap1\n pop\n jump\t// out\n /* \"contracts/utils/DummyOldResolver.sol\":89:155 function test() public returns (bool) {... */\n tag_12:\n /* \"contracts/utils/DummyOldResolver.sol\":144:148 true */\n 0x1\n /* \"contracts/utils/DummyOldResolver.sol\":89:155 function test() public returns (bool) {... */\n tag_16:\n swap1\n jump\t// out\n /* \"contracts/utils/DummyOldResolver.sol\":57:251 contract DummyOldResolver {... */\n tag_14:\n 0x40\n dup1\n mload\n 0x20\n dup2\n add\n swap1\n swap2\n mstore\n 0x0\n dup2\n mstore\n swap1\n jump\t// out\n}\n","bytecode":{"linkReferences":{},"object":"6060604052341561000c57fe5b5b6101838061001c6000396000f300606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663691f34318114610045578063f8a8fd6d146100d8575bfe5b341561004d57fe5b6100586004356100fc565b60408051602080825283518183015283519192839290830191850190808383821561009e575b80518252602083111561009e57601f19909201916020918201910161007e565b505050905090810190601f1680156100ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100e057fe5b6100e861013f565b604080519115158252519081900360200190f35b610104610145565b5060408051808201909152600881527f746573742e65746800000000000000000000000000000000000000000000000060208201525b919050565b60015b90565b604080516020810190915260008152905600a165627a7a72305820fea291aa2adb9dec0dbff9e4e636835b441e2a9ebf6f771e2fae93c5373140c90029","opcodes":"PUSH1 0x60 PUSH1 0x40 MSTORE CALLVALUE ISZERO PUSH2 0xC JUMPI INVALID JUMPDEST JUMPDEST PUSH2 0x183 DUP1 PUSH2 0x1C PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN STOP PUSH1 0x60 PUSH1 0x40 MSTORE PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x691F3431 DUP2 EQ PUSH2 0x45 JUMPI DUP1 PUSH4 0xF8A8FD6D EQ PUSH2 0xD8 JUMPI JUMPDEST INVALID JUMPDEST CALLVALUE ISZERO PUSH2 0x4D JUMPI INVALID JUMPDEST PUSH2 0x58 PUSH1 0x4 CALLDATALOAD PUSH2 0xFC JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP3 MSTORE DUP4 MLOAD DUP2 DUP4 ADD MSTORE DUP4 MLOAD SWAP2 SWAP3 DUP4 SWAP3 SWAP1 DUP4 ADD SWAP2 DUP6 ADD SWAP1 DUP1 DUP4 DUP4 DUP3 ISZERO PUSH2 0x9E JUMPI JUMPDEST DUP1 MLOAD DUP3 MSTORE PUSH1 0x20 DUP4 GT ISZERO PUSH2 0x9E JUMPI PUSH1 0x1F NOT SWAP1 SWAP3 ADD SWAP2 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E JUMP JUMPDEST POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xCA JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE ISZERO PUSH2 0xE0 JUMPI INVALID JUMPDEST PUSH2 0xE8 PUSH2 0x13F JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x104 PUSH2 0x145 JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x8 DUP2 MSTORE PUSH32 0x746573742E657468000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP STOP LOG1 PUSH6 0x627A7A723058 SHA3 INVALID LOG2 SWAP2 0xaa 0x2a 0xdb SWAP14 0xec 0xd 0xbf 0xf9 0xe4 0xe6 CALLDATASIZE DUP4 JUMPDEST DIFFICULTY 0x1e 0x2a SWAP15 0xbf PUSH16 0x771E2FAE93C5373140C9002900000000 ","sourceMap":"57:194:0:-;;;;;;;;;;;;;;;;"},"deployedBytecode":{"linkReferences":{},"object":"606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663691f34318114610045578063f8a8fd6d146100d8575bfe5b341561004d57fe5b6100586004356100fc565b60408051602080825283518183015283519192839290830191850190808383821561009e575b80518252602083111561009e57601f19909201916020918201910161007e565b505050905090810190601f1680156100ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100e057fe5b6100e861013f565b604080519115158252519081900360200190f35b610104610145565b5060408051808201909152600881527f746573742e65746800000000000000000000000000000000000000000000000060208201525b919050565b60015b90565b604080516020810190915260008152905600a165627a7a72305820fea291aa2adb9dec0dbff9e4e636835b441e2a9ebf6f771e2fae93c5373140c90029","opcodes":"PUSH1 0x60 PUSH1 0x40 MSTORE PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x691F3431 DUP2 EQ PUSH2 0x45 JUMPI DUP1 PUSH4 0xF8A8FD6D EQ PUSH2 0xD8 JUMPI JUMPDEST INVALID JUMPDEST CALLVALUE ISZERO PUSH2 0x4D JUMPI INVALID JUMPDEST PUSH2 0x58 PUSH1 0x4 CALLDATALOAD PUSH2 0xFC JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP3 MSTORE DUP4 MLOAD DUP2 DUP4 ADD MSTORE DUP4 MLOAD SWAP2 SWAP3 DUP4 SWAP3 SWAP1 DUP4 ADD SWAP2 DUP6 ADD SWAP1 DUP1 DUP4 DUP4 DUP3 ISZERO PUSH2 0x9E JUMPI JUMPDEST DUP1 MLOAD DUP3 MSTORE PUSH1 0x20 DUP4 GT ISZERO PUSH2 0x9E JUMPI PUSH1 0x1F NOT SWAP1 SWAP3 ADD SWAP2 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E JUMP JUMPDEST POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xCA JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE ISZERO PUSH2 0xE0 JUMPI INVALID JUMPDEST PUSH2 0xE8 PUSH2 0x13F JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x104 PUSH2 0x145 JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x8 DUP2 MSTORE PUSH32 0x746573742E657468000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP STOP LOG1 PUSH6 0x627A7A723058 SHA3 INVALID LOG2 SWAP2 0xaa 0x2a 0xdb SWAP14 0xec 0xd 0xbf 0xf9 0xe4 0xe6 CALLDATASIZE DUP4 JUMPDEST DIFFICULTY 0x1e 0x2a SWAP15 0xbf PUSH16 0x771E2FAE93C5373140C9002900000000 ","sourceMap":"57:194:0:-;;;;;;;;;;;;;;;;;;;;;161:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18:2:-1;;13:3;7:5;32;59:3;53:5;48:3;41:6;93:2;88:3;85:2;78:6;73:3;67:5;-1:-1;;152:3;;;;117:2;108:3;;;;130;172:5;167:4;181:3;3:186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;161:88;200:6;;:::i;:::-;-1:-1:-1;225:17:0;;;;;;;;;;;;;;;;;161:88;;;;:::o;89:66::-;144:4;89:66;;:::o;57:194::-;;;;;;;;;;-1:-1:-1;57:194:0;;;:::o"},"gasEstimates":{"creation":{"codeDepositCost":"77400","executionCost":"125","totalCost":"77525"},"external":{"name(bytes32)":"592","test()":"184"}},"legacyAssembly":{".code":[{"begin":57,"end":251,"name":"PUSH","value":"60"},{"begin":57,"end":251,"name":"PUSH","value":"40"},{"begin":57,"end":251,"name":"MSTORE"},{"begin":57,"end":251,"name":"CALLVALUE"},{"begin":57,"end":251,"name":"ISZERO"},{"begin":57,"end":251,"name":"PUSH [tag]","value":"1"},{"begin":57,"end":251,"name":"JUMPI"},{"begin":57,"end":251,"name":"INVALID"},{"begin":57,"end":251,"name":"tag","value":"1"},{"begin":57,"end":251,"name":"JUMPDEST"},{"begin":57,"end":251,"name":"tag","value":"2"},{"begin":57,"end":251,"name":"JUMPDEST"},{"begin":57,"end":251,"name":"PUSH #[$]","value":"0000000000000000000000000000000000000000000000000000000000000000"},{"begin":57,"end":251,"name":"DUP1"},{"begin":57,"end":251,"name":"PUSH [$]","value":"0000000000000000000000000000000000000000000000000000000000000000"},{"begin":57,"end":251,"name":"PUSH","value":"0"},{"begin":57,"end":251,"name":"CODECOPY"},{"begin":57,"end":251,"name":"PUSH","value":"0"},{"begin":57,"end":251,"name":"RETURN"}],".data":{"0":{".code":[{"begin":57,"end":251,"name":"PUSH","value":"60"},{"begin":57,"end":251,"name":"PUSH","value":"40"},{"begin":57,"end":251,"name":"MSTORE"},{"begin":57,"end":251,"name":"PUSH","value":"FFFFFFFF"},{"begin":57,"end":251,"name":"PUSH","value":"100000000000000000000000000000000000000000000000000000000"},{"begin":57,"end":251,"name":"PUSH","value":"0"},{"begin":57,"end":251,"name":"CALLDATALOAD"},{"begin":57,"end":251,"name":"DIV"},{"begin":57,"end":251,"name":"AND"},{"begin":57,"end":251,"name":"PUSH","value":"691F3431"},{"begin":57,"end":251,"name":"DUP2"},{"begin":57,"end":251,"name":"EQ"},{"begin":57,"end":251,"name":"PUSH [tag]","value":"2"},{"begin":57,"end":251,"name":"JUMPI"},{"begin":57,"end":251,"name":"DUP1"},{"begin":57,"end":251,"name":"PUSH","value":"F8A8FD6D"},{"begin":57,"end":251,"name":"EQ"},{"begin":57,"end":251,"name":"PUSH [tag]","value":"3"},{"begin":57,"end":251,"name":"JUMPI"},{"begin":57,"end":251,"name":"tag","value":"1"},{"begin":57,"end":251,"name":"JUMPDEST"},{"begin":57,"end":251,"name":"INVALID"},{"begin":161,"end":249,"name":"tag","value":"2"},{"begin":161,"end":249,"name":"JUMPDEST"},{"begin":161,"end":249,"name":"CALLVALUE"},{"begin":161,"end":249,"name":"ISZERO"},{"begin":161,"end":249,"name":"PUSH [tag]","value":"4"},{"begin":161,"end":249,"name":"JUMPI"},{"begin":161,"end":249,"name":"INVALID"},{"begin":161,"end":249,"name":"tag","value":"4"},{"begin":161,"end":249,"name":"JUMPDEST"},{"begin":161,"end":249,"name":"PUSH [tag]","value":"5"},{"begin":161,"end":249,"name":"PUSH","value":"4"},{"begin":161,"end":249,"name":"CALLDATALOAD"},{"begin":161,"end":249,"name":"PUSH [tag]","value":"6"},{"begin":161,"end":249,"name":"JUMP"},{"begin":161,"end":249,"name":"tag","value":"5"},{"begin":161,"end":249,"name":"JUMPDEST"},{"begin":161,"end":249,"name":"PUSH","value":"40"},{"begin":161,"end":249,"name":"DUP1"},{"begin":161,"end":249,"name":"MLOAD"},{"begin":161,"end":249,"name":"PUSH","value":"20"},{"begin":161,"end":249,"name":"DUP1"},{"begin":161,"end":249,"name":"DUP3"},{"begin":161,"end":249,"name":"MSTORE"},{"begin":161,"end":249,"name":"DUP4"},{"begin":161,"end":249,"name":"MLOAD"},{"begin":161,"end":249,"name":"DUP2"},{"begin":161,"end":249,"name":"DUP4"},{"begin":161,"end":249,"name":"ADD"},{"begin":161,"end":249,"name":"MSTORE"},{"begin":161,"end":249,"name":"DUP4"},{"begin":161,"end":249,"name":"MLOAD"},{"begin":161,"end":249,"name":"SWAP2"},{"begin":161,"end":249,"name":"SWAP3"},{"begin":161,"end":249,"name":"DUP4"},{"begin":161,"end":249,"name":"SWAP3"},{"begin":161,"end":249,"name":"SWAP1"},{"begin":161,"end":249,"name":"DUP4"},{"begin":161,"end":249,"name":"ADD"},{"begin":161,"end":249,"name":"SWAP2"},{"begin":161,"end":249,"name":"DUP6"},{"begin":161,"end":249,"name":"ADD"},{"begin":161,"end":249,"name":"SWAP1"},{"begin":161,"end":249,"name":"DUP1"},{"begin":161,"end":249,"name":"DUP4"},{"begin":161,"end":249,"name":"DUP4"},{"begin":18,"end":20,"name":"DUP3"},{"begin":18,"end":20,"name":"ISZERO"},{"begin":13,"end":16,"name":"PUSH [tag]","value":"7"},{"begin":7,"end":12,"name":"JUMPI"},{"begin":32,"end":37,"name":"tag","value":"8"},{"begin":32,"end":37,"name":"JUMPDEST"},{"begin":59,"end":62,"name":"DUP1"},{"begin":53,"end":58,"name":"MLOAD"},{"begin":48,"end":51,"name":"DUP3"},{"begin":41,"end":47,"name":"MSTORE"},{"begin":93,"end":95,"name":"PUSH","value":"20"},{"begin":88,"end":91,"name":"DUP4"},{"begin":85,"end":87,"name":"GT"},{"begin":78,"end":84,"name":"ISZERO"},{"begin":73,"end":76,"name":"PUSH [tag]","value":"7"},{"begin":67,"end":72,"name":"JUMPI"},{"begin":-1,"end":-1,"name":"PUSH","value":"1F"},{"begin":-1,"end":-1,"name":"NOT"},{"begin":152,"end":155,"name":"SWAP1"},{"begin":152,"end":155,"name":"SWAP3"},{"begin":152,"end":155,"name":"ADD"},{"begin":152,"end":155,"name":"SWAP2"},{"begin":117,"end":119,"name":"PUSH","value":"20"},{"begin":108,"end":111,"name":"SWAP2"},{"begin":108,"end":111,"name":"DUP3"},{"begin":108,"end":111,"name":"ADD"},{"begin":108,"end":111,"name":"SWAP2"},{"begin":130,"end":133,"name":"ADD"},{"begin":172,"end":177,"name":"PUSH [tag]","value":"8"},{"begin":167,"end":171,"name":"JUMP"},{"begin":181,"end":184,"name":"tag","value":"7"},{"begin":181,"end":184,"name":"JUMPDEST"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"SWAP1"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"SWAP1"},{"begin":3,"end":189,"name":"DUP2"},{"begin":3,"end":189,"name":"ADD"},{"begin":3,"end":189,"name":"SWAP1"},{"begin":3,"end":189,"name":"PUSH","value":"1F"},{"begin":3,"end":189,"name":"AND"},{"begin":3,"end":189,"name":"DUP1"},{"begin":3,"end":189,"name":"ISZERO"},{"begin":3,"end":189,"name":"PUSH [tag]","value":"9"},{"begin":3,"end":189,"name":"JUMPI"},{"begin":3,"end":189,"name":"DUP1"},{"begin":3,"end":189,"name":"DUP3"},{"begin":3,"end":189,"name":"SUB"},{"begin":3,"end":189,"name":"DUP1"},{"begin":3,"end":189,"name":"MLOAD"},{"begin":3,"end":189,"name":"PUSH","value":"1"},{"begin":3,"end":189,"name":"DUP4"},{"begin":3,"end":189,"name":"PUSH","value":"20"},{"begin":3,"end":189,"name":"SUB"},{"begin":3,"end":189,"name":"PUSH","value":"100"},{"begin":3,"end":189,"name":"EXP"},{"begin":3,"end":189,"name":"SUB"},{"begin":3,"end":189,"name":"NOT"},{"begin":3,"end":189,"name":"AND"},{"begin":3,"end":189,"name":"DUP2"},{"begin":3,"end":189,"name":"MSTORE"},{"begin":3,"end":189,"name":"PUSH","value":"20"},{"begin":3,"end":189,"name":"ADD"},{"begin":3,"end":189,"name":"SWAP2"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"tag","value":"9"},{"begin":3,"end":189,"name":"JUMPDEST"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"SWAP3"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"POP"},{"begin":3,"end":189,"name":"PUSH","value":"40"},{"begin":3,"end":189,"name":"MLOAD"},{"begin":3,"end":189,"name":"DUP1"},{"begin":3,"end":189,"name":"SWAP2"},{"begin":3,"end":189,"name":"SUB"},{"begin":3,"end":189,"name":"SWAP1"},{"begin":3,"end":189,"name":"RETURN"},{"begin":89,"end":155,"name":"tag","value":"3"},{"begin":89,"end":155,"name":"JUMPDEST"},{"begin":89,"end":155,"name":"CALLVALUE"},{"begin":89,"end":155,"name":"ISZERO"},{"begin":89,"end":155,"name":"PUSH [tag]","value":"10"},{"begin":89,"end":155,"name":"JUMPI"},{"begin":89,"end":155,"name":"INVALID"},{"begin":89,"end":155,"name":"tag","value":"10"},{"begin":89,"end":155,"name":"JUMPDEST"},{"begin":89,"end":155,"name":"PUSH [tag]","value":"11"},{"begin":89,"end":155,"name":"PUSH [tag]","value":"12"},{"begin":89,"end":155,"name":"JUMP"},{"begin":89,"end":155,"name":"tag","value":"11"},{"begin":89,"end":155,"name":"JUMPDEST"},{"begin":89,"end":155,"name":"PUSH","value":"40"},{"begin":89,"end":155,"name":"DUP1"},{"begin":89,"end":155,"name":"MLOAD"},{"begin":89,"end":155,"name":"SWAP2"},{"begin":89,"end":155,"name":"ISZERO"},{"begin":89,"end":155,"name":"ISZERO"},{"begin":89,"end":155,"name":"DUP3"},{"begin":89,"end":155,"name":"MSTORE"},{"begin":89,"end":155,"name":"MLOAD"},{"begin":89,"end":155,"name":"SWAP1"},{"begin":89,"end":155,"name":"DUP2"},{"begin":89,"end":155,"name":"SWAP1"},{"begin":89,"end":155,"name":"SUB"},{"begin":89,"end":155,"name":"PUSH","value":"20"},{"begin":89,"end":155,"name":"ADD"},{"begin":89,"end":155,"name":"SWAP1"},{"begin":89,"end":155,"name":"RETURN"},{"begin":161,"end":249,"name":"tag","value":"6"},{"begin":161,"end":249,"name":"JUMPDEST"},{"begin":200,"end":206,"name":"PUSH [tag]","value":"13"},{"begin":200,"end":206,"name":"PUSH [tag]","value":"14"},{"begin":200,"end":206,"name":"JUMP","value":"[in]"},{"begin":200,"end":206,"name":"tag","value":"13"},{"begin":200,"end":206,"name":"JUMPDEST"},{"begin":-1,"end":-1,"name":"POP"},{"begin":225,"end":242,"name":"PUSH","value":"40"},{"begin":225,"end":242,"name":"DUP1"},{"begin":225,"end":242,"name":"MLOAD"},{"begin":225,"end":242,"name":"DUP1"},{"begin":225,"end":242,"name":"DUP3"},{"begin":225,"end":242,"name":"ADD"},{"begin":225,"end":242,"name":"SWAP1"},{"begin":225,"end":242,"name":"SWAP2"},{"begin":225,"end":242,"name":"MSTORE"},{"begin":225,"end":242,"name":"PUSH","value":"8"},{"begin":225,"end":242,"name":"DUP2"},{"begin":225,"end":242,"name":"MSTORE"},{"begin":225,"end":242,"name":"PUSH","value":"746573742E657468000000000000000000000000000000000000000000000000"},{"begin":225,"end":242,"name":"PUSH","value":"20"},{"begin":225,"end":242,"name":"DUP3"},{"begin":225,"end":242,"name":"ADD"},{"begin":225,"end":242,"name":"MSTORE"},{"begin":161,"end":249,"name":"tag","value":"15"},{"begin":161,"end":249,"name":"JUMPDEST"},{"begin":161,"end":249,"name":"SWAP2"},{"begin":161,"end":249,"name":"SWAP1"},{"begin":161,"end":249,"name":"POP"},{"begin":161,"end":249,"name":"JUMP","value":"[out]"},{"begin":89,"end":155,"name":"tag","value":"12"},{"begin":89,"end":155,"name":"JUMPDEST"},{"begin":144,"end":148,"name":"PUSH","value":"1"},{"begin":89,"end":155,"name":"tag","value":"16"},{"begin":89,"end":155,"name":"JUMPDEST"},{"begin":89,"end":155,"name":"SWAP1"},{"begin":89,"end":155,"name":"JUMP","value":"[out]"},{"begin":57,"end":251,"name":"tag","value":"14"},{"begin":57,"end":251,"name":"JUMPDEST"},{"begin":57,"end":251,"name":"PUSH","value":"40"},{"begin":57,"end":251,"name":"DUP1"},{"begin":57,"end":251,"name":"MLOAD"},{"begin":57,"end":251,"name":"PUSH","value":"20"},{"begin":57,"end":251,"name":"DUP2"},{"begin":57,"end":251,"name":"ADD"},{"begin":57,"end":251,"name":"SWAP1"},{"begin":57,"end":251,"name":"SWAP2"},{"begin":57,"end":251,"name":"MSTORE"},{"begin":-1,"end":-1,"name":"PUSH","value":"0"},{"begin":57,"end":251,"name":"DUP2"},{"begin":57,"end":251,"name":"MSTORE"},{"begin":57,"end":251,"name":"SWAP1"},{"begin":57,"end":251,"name":"JUMP","value":"[out]"}]}}},"methodIdentifiers":{"name(bytes32)":"691f3431","test()":"f8a8fd6d"}},"metadata":"{\"compiler\":{\"version\":\"0.4.11+commit.68ef5810\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"test\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"contracts/utils/DummyOldResolver.sol\":\"DummyOldResolver\"},\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/utils/DummyOldResolver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.4.11;\\n\\ncontract DummyOldResolver {\\n function test() public returns (bool) {\\n return true;\\n }\\n\\n function name(bytes32) public returns (string memory) {\\n return \\\"test.eth\\\";\\n }\\n}\\n\",\"keccak256\":\"0xe182e4804b594a062a65d25a0327ab0ed67f71cb13e6fb76d47a7c0ab90b660b\"}},\"version\":1}","userdoc":{"methods":{}}}}}}} \ No newline at end of file +{ + "id": "60cb75078016949112437b5ad4e67607", + "_format": "hh-sol-build-info-1", + "solcVersion": "0.4.11", + "solcLongVersion": "0.4.11+commit.68ef5810", + "input": { + "language": "Solidity", + "sources": { + "contracts/utils/DummyOldResolver.sol": { + "content": "// SPDX-License-Identifier: MIT\npragma solidity 0.4.11;\n\ncontract DummyOldResolver {\n function test() public returns (bool) {\n return true;\n }\n\n function name(bytes32) public returns (string memory) {\n return \"test.eth\";\n }\n}\n" + } + }, + "settings": { + "optimizer": { "enabled": true, "runs": 200 }, + "outputSelection": { + "*": { + "*": [ + "abi", + "evm.bytecode", + "evm.deployedBytecode", + "evm.methodIdentifiers", + "metadata", + "devdoc", + "userdoc", + "storageLayout", + "evm.gasEstimates" + ], + "": ["ast"] + } + }, + "metadata": { "useLiteralContent": true } + } + }, + "output": { + "sources": { + "contracts/utils/DummyOldResolver.sol": { + "id": 0, + "legacyAST": { + "children": [ + { + "attributes": { "literals": ["solidity", "0.4", ".11"] }, + "id": 1, + "name": "PragmaDirective", + "src": "32:23:0" + }, + { + "attributes": { + "fullyImplemented": true, + "isLibrary": false, + "linearizedBaseContracts": [20], + "name": "DummyOldResolver" + }, + "children": [ + { + "attributes": { "constant": false, "name": "test", "payable": false, "visibility": "public" }, + "children": [ + { "children": [], "id": 2, "name": "ParameterList", "src": "102:2:0" }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "storageLocation": "default", + "type": "bool", + "visibility": "internal" + }, + "children": [ + { + "attributes": { "name": "bool" }, + "id": 3, + "name": "ElementaryTypeName", + "src": "121:4:0" + } + ], + "id": 4, + "name": "VariableDeclaration", + "src": "121:4:0" + } + ], + "id": 5, + "name": "ParameterList", + "src": "120:6:0" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "hexvalue": "74727565", + "subdenomination": null, + "token": "true", + "type": "bool", + "value": "true" + }, + "id": 6, + "name": "Literal", + "src": "144:4:0" + } + ], + "id": 7, + "name": "Return", + "src": "137:11:0" + } + ], + "id": 8, + "name": "Block", + "src": "127:28:0" + } + ], + "id": 9, + "name": "FunctionDefinition", + "src": "89:66:0" + }, + { + "attributes": { "constant": false, "name": "name", "payable": false, "visibility": "public" }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "storageLocation": "default", + "type": "bytes32", + "visibility": "internal" + }, + "children": [ + { + "attributes": { "name": "bytes32" }, + "id": 10, + "name": "ElementaryTypeName", + "src": "175:7:0" + } + ], + "id": 11, + "name": "VariableDeclaration", + "src": "175:7:0" + } + ], + "id": 12, + "name": "ParameterList", + "src": "174:9:0" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "name": "", + "storageLocation": "memory", + "type": "string memory", + "visibility": "internal" + }, + "children": [ + { + "attributes": { "name": "string" }, + "id": 13, + "name": "ElementaryTypeName", + "src": "200:6:0" + } + ], + "id": 14, + "name": "VariableDeclaration", + "src": "200:6:0" + } + ], + "id": 15, + "name": "ParameterList", + "src": "199:15:0" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "hexvalue": "746573742e657468", + "subdenomination": null, + "token": null, + "type": "literal_string \"test.eth\"", + "value": "test.eth" + }, + "id": 16, + "name": "Literal", + "src": "232:10:0" + } + ], + "id": 17, + "name": "Return", + "src": "225:17:0" + } + ], + "id": 18, + "name": "Block", + "src": "215:34:0" + } + ], + "id": 19, + "name": "FunctionDefinition", + "src": "161:88:0" + } + ], + "id": 20, + "name": "ContractDefinition", + "src": "57:194:0" + } + ], + "name": "SourceUnit" + } + } + }, + "contracts": { + "contracts/utils/DummyOldResolver.sol": { + "DummyOldResolver": { + "abi": [ + { + "constant": false, + "inputs": [{ "name": "", "type": "bytes32" }], + "name": "name", + "outputs": [{ "name": "", "type": "string" }], + "payable": false, + "type": "function" + }, + { + "constant": false, + "inputs": [], + "name": "test", + "outputs": [{ "name": "", "type": "bool" }], + "payable": false, + "type": "function" + } + ], + "devdoc": { "methods": {} }, + "evm": { + "assembly": " /* \"contracts/utils/DummyOldResolver.sol\":57:251 contract DummyOldResolver {... */\n mstore(0x40, 0x60)\n jumpi(tag_1, iszero(callvalue))\n invalid\ntag_1:\ntag_2:\n dataSize(sub_0)\n dup1\n dataOffset(sub_0)\n 0x0\n codecopy\n 0x0\n return\nstop\n\nsub_0: assembly {\n /* \"contracts/utils/DummyOldResolver.sol\":57:251 contract DummyOldResolver {... */\n mstore(0x40, 0x60)\n and(div(calldataload(0x0), 0x100000000000000000000000000000000000000000000000000000000), 0xffffffff)\n 0x691f3431\n dup2\n eq\n tag_2\n jumpi\n dup1\n 0xf8a8fd6d\n eq\n tag_3\n jumpi\n tag_1:\n invalid\n /* \"contracts/utils/DummyOldResolver.sol\":161:249 function name(bytes32) public returns (string memory) {... */\n tag_2:\n jumpi(tag_4, iszero(callvalue))\n invalid\n tag_4:\n tag_5\n calldataload(0x4)\n jump(tag_6)\n tag_5:\n 0x40\n dup1\n mload\n 0x20\n dup1\n dup3\n mstore\n dup4\n mload\n dup2\n dup4\n add\n mstore\n dup4\n mload\n swap2\n swap3\n dup4\n swap3\n swap1\n dup4\n add\n swap2\n dup6\n add\n swap1\n dup1\n dup4\n dup4\n /* \"--CODEGEN--\":18:20 */\n dup3\n iszero\n /* \"--CODEGEN--\":13:16 */\n tag_7\n /* \"--CODEGEN--\":7:12 */\n jumpi\n /* \"--CODEGEN--\":32:37 */\n tag_8:\n /* \"--CODEGEN--\":59:62 */\n dup1\n /* \"--CODEGEN--\":53:58 */\n mload\n /* \"--CODEGEN--\":48:51 */\n dup3\n /* \"--CODEGEN--\":41:47 */\n mstore\n /* \"--CODEGEN--\":93:95 */\n 0x20\n /* \"--CODEGEN--\":88:91 */\n dup4\n /* \"--CODEGEN--\":85:87 */\n gt\n /* \"--CODEGEN--\":78:84 */\n iszero\n /* \"--CODEGEN--\":73:76 */\n tag_7\n /* \"--CODEGEN--\":67:72 */\n jumpi\n not(0x1f)\n /* \"--CODEGEN--\":152:155 */\n swap1\n swap3\n add\n swap2\n /* \"--CODEGEN--\":117:119 */\n 0x20\n /* \"--CODEGEN--\":108:111 */\n swap2\n dup3\n add\n swap2\n /* \"--CODEGEN--\":130:133 */\n add\n /* \"--CODEGEN--\":172:177 */\n tag_8\n /* \"--CODEGEN--\":167:171 */\n jump\n /* \"--CODEGEN--\":181:184 */\n tag_7:\n /* \"--CODEGEN--\":3:189 */\n pop\n pop\n pop\n swap1\n pop\n swap1\n dup2\n add\n swap1\n 0x1f\n and\n dup1\n iszero\n tag_9\n jumpi\n dup1\n dup3\n sub\n dup1\n mload\n 0x1\n dup4\n 0x20\n sub\n 0x100\n exp\n sub\n not\n and\n dup2\n mstore\n 0x20\n add\n swap2\n pop\n tag_9:\n pop\n swap3\n pop\n pop\n pop\n mload(0x40)\n dup1\n swap2\n sub\n swap1\n return\n /* \"contracts/utils/DummyOldResolver.sol\":89:155 function test() public returns (bool) {... */\n tag_3:\n jumpi(tag_10, iszero(callvalue))\n invalid\n tag_10:\n tag_11\n jump(tag_12)\n tag_11:\n 0x40\n dup1\n mload\n swap2\n iszero\n iszero\n dup3\n mstore\n mload\n swap1\n dup2\n swap1\n sub\n 0x20\n add\n swap1\n return\n /* \"contracts/utils/DummyOldResolver.sol\":161:249 function name(bytes32) public returns (string memory) {... */\n tag_6:\n /* \"contracts/utils/DummyOldResolver.sol\":200:206 string */\n tag_13\n jump\t// in(tag_14)\n tag_13:\n pop\n /* \"contracts/utils/DummyOldResolver.sol\":225:242 return \"test.eth\" */\n 0x40\n dup1\n mload\n dup1\n dup3\n add\n swap1\n swap2\n mstore\n 0x8\n dup2\n mstore\n 0x746573742e657468000000000000000000000000000000000000000000000000\n 0x20\n dup3\n add\n mstore\n /* \"contracts/utils/DummyOldResolver.sol\":161:249 function name(bytes32) public returns (string memory) {... */\n tag_15:\n swap2\n swap1\n pop\n jump\t// out\n /* \"contracts/utils/DummyOldResolver.sol\":89:155 function test() public returns (bool) {... */\n tag_12:\n /* \"contracts/utils/DummyOldResolver.sol\":144:148 true */\n 0x1\n /* \"contracts/utils/DummyOldResolver.sol\":89:155 function test() public returns (bool) {... */\n tag_16:\n swap1\n jump\t// out\n /* \"contracts/utils/DummyOldResolver.sol\":57:251 contract DummyOldResolver {... */\n tag_14:\n 0x40\n dup1\n mload\n 0x20\n dup2\n add\n swap1\n swap2\n mstore\n 0x0\n dup2\n mstore\n swap1\n jump\t// out\n}\n", + "bytecode": { + "linkReferences": {}, + "object": "6060604052341561000c57fe5b5b6101838061001c6000396000f300606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663691f34318114610045578063f8a8fd6d146100d8575bfe5b341561004d57fe5b6100586004356100fc565b60408051602080825283518183015283519192839290830191850190808383821561009e575b80518252602083111561009e57601f19909201916020918201910161007e565b505050905090810190601f1680156100ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100e057fe5b6100e861013f565b604080519115158252519081900360200190f35b610104610145565b5060408051808201909152600881527f746573742e65746800000000000000000000000000000000000000000000000060208201525b919050565b60015b90565b604080516020810190915260008152905600a165627a7a72305820fea291aa2adb9dec0dbff9e4e636835b441e2a9ebf6f771e2fae93c5373140c90029", + "opcodes": "PUSH1 0x60 PUSH1 0x40 MSTORE CALLVALUE ISZERO PUSH2 0xC JUMPI INVALID JUMPDEST JUMPDEST PUSH2 0x183 DUP1 PUSH2 0x1C PUSH1 0x0 CODECOPY PUSH1 0x0 RETURN STOP PUSH1 0x60 PUSH1 0x40 MSTORE PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x691F3431 DUP2 EQ PUSH2 0x45 JUMPI DUP1 PUSH4 0xF8A8FD6D EQ PUSH2 0xD8 JUMPI JUMPDEST INVALID JUMPDEST CALLVALUE ISZERO PUSH2 0x4D JUMPI INVALID JUMPDEST PUSH2 0x58 PUSH1 0x4 CALLDATALOAD PUSH2 0xFC JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP3 MSTORE DUP4 MLOAD DUP2 DUP4 ADD MSTORE DUP4 MLOAD SWAP2 SWAP3 DUP4 SWAP3 SWAP1 DUP4 ADD SWAP2 DUP6 ADD SWAP1 DUP1 DUP4 DUP4 DUP3 ISZERO PUSH2 0x9E JUMPI JUMPDEST DUP1 MLOAD DUP3 MSTORE PUSH1 0x20 DUP4 GT ISZERO PUSH2 0x9E JUMPI PUSH1 0x1F NOT SWAP1 SWAP3 ADD SWAP2 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E JUMP JUMPDEST POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xCA JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE ISZERO PUSH2 0xE0 JUMPI INVALID JUMPDEST PUSH2 0xE8 PUSH2 0x13F JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x104 PUSH2 0x145 JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x8 DUP2 MSTORE PUSH32 0x746573742E657468000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP STOP LOG1 PUSH6 0x627A7A723058 SHA3 INVALID LOG2 SWAP2 0xaa 0x2a 0xdb SWAP14 0xec 0xd 0xbf 0xf9 0xe4 0xe6 CALLDATASIZE DUP4 JUMPDEST DIFFICULTY 0x1e 0x2a SWAP15 0xbf PUSH16 0x771E2FAE93C5373140C9002900000000 ", + "sourceMap": "57:194:0:-;;;;;;;;;;;;;;;;" + }, + "deployedBytecode": { + "linkReferences": {}, + "object": "606060405263ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663691f34318114610045578063f8a8fd6d146100d8575bfe5b341561004d57fe5b6100586004356100fc565b60408051602080825283518183015283519192839290830191850190808383821561009e575b80518252602083111561009e57601f19909201916020918201910161007e565b505050905090810190601f1680156100ca5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34156100e057fe5b6100e861013f565b604080519115158252519081900360200190f35b610104610145565b5060408051808201909152600881527f746573742e65746800000000000000000000000000000000000000000000000060208201525b919050565b60015b90565b604080516020810190915260008152905600a165627a7a72305820fea291aa2adb9dec0dbff9e4e636835b441e2a9ebf6f771e2fae93c5373140c90029", + "opcodes": "PUSH1 0x60 PUSH1 0x40 MSTORE PUSH4 0xFFFFFFFF PUSH29 0x100000000000000000000000000000000000000000000000000000000 PUSH1 0x0 CALLDATALOAD DIV AND PUSH4 0x691F3431 DUP2 EQ PUSH2 0x45 JUMPI DUP1 PUSH4 0xF8A8FD6D EQ PUSH2 0xD8 JUMPI JUMPDEST INVALID JUMPDEST CALLVALUE ISZERO PUSH2 0x4D JUMPI INVALID JUMPDEST PUSH2 0x58 PUSH1 0x4 CALLDATALOAD PUSH2 0xFC JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP1 DUP3 MSTORE DUP4 MLOAD DUP2 DUP4 ADD MSTORE DUP4 MLOAD SWAP2 SWAP3 DUP4 SWAP3 SWAP1 DUP4 ADD SWAP2 DUP6 ADD SWAP1 DUP1 DUP4 DUP4 DUP3 ISZERO PUSH2 0x9E JUMPI JUMPDEST DUP1 MLOAD DUP3 MSTORE PUSH1 0x20 DUP4 GT ISZERO PUSH2 0x9E JUMPI PUSH1 0x1F NOT SWAP1 SWAP3 ADD SWAP2 PUSH1 0x20 SWAP2 DUP3 ADD SWAP2 ADD PUSH2 0x7E JUMP JUMPDEST POP POP POP SWAP1 POP SWAP1 DUP2 ADD SWAP1 PUSH1 0x1F AND DUP1 ISZERO PUSH2 0xCA JUMPI DUP1 DUP3 SUB DUP1 MLOAD PUSH1 0x1 DUP4 PUSH1 0x20 SUB PUSH2 0x100 EXP SUB NOT AND DUP2 MSTORE PUSH1 0x20 ADD SWAP2 POP JUMPDEST POP SWAP3 POP POP POP PUSH1 0x40 MLOAD DUP1 SWAP2 SUB SWAP1 RETURN JUMPDEST CALLVALUE ISZERO PUSH2 0xE0 JUMPI INVALID JUMPDEST PUSH2 0xE8 PUSH2 0x13F JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD SWAP2 ISZERO ISZERO DUP3 MSTORE MLOAD SWAP1 DUP2 SWAP1 SUB PUSH1 0x20 ADD SWAP1 RETURN JUMPDEST PUSH2 0x104 PUSH2 0x145 JUMP JUMPDEST POP PUSH1 0x40 DUP1 MLOAD DUP1 DUP3 ADD SWAP1 SWAP2 MSTORE PUSH1 0x8 DUP2 MSTORE PUSH32 0x746573742E657468000000000000000000000000000000000000000000000000 PUSH1 0x20 DUP3 ADD MSTORE JUMPDEST SWAP2 SWAP1 POP JUMP JUMPDEST PUSH1 0x1 JUMPDEST SWAP1 JUMP JUMPDEST PUSH1 0x40 DUP1 MLOAD PUSH1 0x20 DUP2 ADD SWAP1 SWAP2 MSTORE PUSH1 0x0 DUP2 MSTORE SWAP1 JUMP STOP LOG1 PUSH6 0x627A7A723058 SHA3 INVALID LOG2 SWAP2 0xaa 0x2a 0xdb SWAP14 0xec 0xd 0xbf 0xf9 0xe4 0xe6 CALLDATASIZE DUP4 JUMPDEST DIFFICULTY 0x1e 0x2a SWAP15 0xbf PUSH16 0x771E2FAE93C5373140C9002900000000 ", + "sourceMap": "57:194:0:-;;;;;;;;;;;;;;;;;;;;;161:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18:2:-1;;13:3;7:5;32;59:3;53:5;48:3;41:6;93:2;88:3;85:2;78:6;73:3;67:5;-1:-1;;152:3;;;;117:2;108:3;;;;130;172:5;167:4;181:3;3:186;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;161:88;200:6;;:::i;:::-;-1:-1:-1;225:17:0;;;;;;;;;;;;;;;;;161:88;;;;:::o;89:66::-;144:4;89:66;;:::o;57:194::-;;;;;;;;;;-1:-1:-1;57:194:0;;;:::o" + }, + "gasEstimates": { + "creation": { "codeDepositCost": "77400", "executionCost": "125", "totalCost": "77525" }, + "external": { "name(bytes32)": "592", "test()": "184" } + }, + "legacyAssembly": { + ".code": [ + { "begin": 57, "end": 251, "name": "PUSH", "value": "60" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "40" }, + { "begin": 57, "end": 251, "name": "MSTORE" }, + { "begin": 57, "end": 251, "name": "CALLVALUE" }, + { "begin": 57, "end": 251, "name": "ISZERO" }, + { "begin": 57, "end": 251, "name": "PUSH [tag]", "value": "1" }, + { "begin": 57, "end": 251, "name": "JUMPI" }, + { "begin": 57, "end": 251, "name": "INVALID" }, + { "begin": 57, "end": 251, "name": "tag", "value": "1" }, + { "begin": 57, "end": 251, "name": "JUMPDEST" }, + { "begin": 57, "end": 251, "name": "tag", "value": "2" }, + { "begin": 57, "end": 251, "name": "JUMPDEST" }, + { + "begin": 57, + "end": 251, + "name": "PUSH #[$]", + "value": "0000000000000000000000000000000000000000000000000000000000000000" + }, + { "begin": 57, "end": 251, "name": "DUP1" }, + { + "begin": 57, + "end": 251, + "name": "PUSH [$]", + "value": "0000000000000000000000000000000000000000000000000000000000000000" + }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "0" }, + { "begin": 57, "end": 251, "name": "CODECOPY" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "0" }, + { "begin": 57, "end": 251, "name": "RETURN" } + ], + ".data": { + "0": { + ".code": [ + { "begin": 57, "end": 251, "name": "PUSH", "value": "60" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "40" }, + { "begin": 57, "end": 251, "name": "MSTORE" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "FFFFFFFF" }, + { + "begin": 57, + "end": 251, + "name": "PUSH", + "value": "100000000000000000000000000000000000000000000000000000000" + }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "0" }, + { "begin": 57, "end": 251, "name": "CALLDATALOAD" }, + { "begin": 57, "end": 251, "name": "DIV" }, + { "begin": 57, "end": 251, "name": "AND" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "691F3431" }, + { "begin": 57, "end": 251, "name": "DUP2" }, + { "begin": 57, "end": 251, "name": "EQ" }, + { "begin": 57, "end": 251, "name": "PUSH [tag]", "value": "2" }, + { "begin": 57, "end": 251, "name": "JUMPI" }, + { "begin": 57, "end": 251, "name": "DUP1" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "F8A8FD6D" }, + { "begin": 57, "end": 251, "name": "EQ" }, + { "begin": 57, "end": 251, "name": "PUSH [tag]", "value": "3" }, + { "begin": 57, "end": 251, "name": "JUMPI" }, + { "begin": 57, "end": 251, "name": "tag", "value": "1" }, + { "begin": 57, "end": 251, "name": "JUMPDEST" }, + { "begin": 57, "end": 251, "name": "INVALID" }, + { "begin": 161, "end": 249, "name": "tag", "value": "2" }, + { "begin": 161, "end": 249, "name": "JUMPDEST" }, + { "begin": 161, "end": 249, "name": "CALLVALUE" }, + { "begin": 161, "end": 249, "name": "ISZERO" }, + { "begin": 161, "end": 249, "name": "PUSH [tag]", "value": "4" }, + { "begin": 161, "end": 249, "name": "JUMPI" }, + { "begin": 161, "end": 249, "name": "INVALID" }, + { "begin": 161, "end": 249, "name": "tag", "value": "4" }, + { "begin": 161, "end": 249, "name": "JUMPDEST" }, + { "begin": 161, "end": 249, "name": "PUSH [tag]", "value": "5" }, + { "begin": 161, "end": 249, "name": "PUSH", "value": "4" }, + { "begin": 161, "end": 249, "name": "CALLDATALOAD" }, + { "begin": 161, "end": 249, "name": "PUSH [tag]", "value": "6" }, + { "begin": 161, "end": 249, "name": "JUMP" }, + { "begin": 161, "end": 249, "name": "tag", "value": "5" }, + { "begin": 161, "end": 249, "name": "JUMPDEST" }, + { "begin": 161, "end": 249, "name": "PUSH", "value": "40" }, + { "begin": 161, "end": 249, "name": "DUP1" }, + { "begin": 161, "end": 249, "name": "MLOAD" }, + { "begin": 161, "end": 249, "name": "PUSH", "value": "20" }, + { "begin": 161, "end": 249, "name": "DUP1" }, + { "begin": 161, "end": 249, "name": "DUP3" }, + { "begin": 161, "end": 249, "name": "MSTORE" }, + { "begin": 161, "end": 249, "name": "DUP4" }, + { "begin": 161, "end": 249, "name": "MLOAD" }, + { "begin": 161, "end": 249, "name": "DUP2" }, + { "begin": 161, "end": 249, "name": "DUP4" }, + { "begin": 161, "end": 249, "name": "ADD" }, + { "begin": 161, "end": 249, "name": "MSTORE" }, + { "begin": 161, "end": 249, "name": "DUP4" }, + { "begin": 161, "end": 249, "name": "MLOAD" }, + { "begin": 161, "end": 249, "name": "SWAP2" }, + { "begin": 161, "end": 249, "name": "SWAP3" }, + { "begin": 161, "end": 249, "name": "DUP4" }, + { "begin": 161, "end": 249, "name": "SWAP3" }, + { "begin": 161, "end": 249, "name": "SWAP1" }, + { "begin": 161, "end": 249, "name": "DUP4" }, + { "begin": 161, "end": 249, "name": "ADD" }, + { "begin": 161, "end": 249, "name": "SWAP2" }, + { "begin": 161, "end": 249, "name": "DUP6" }, + { "begin": 161, "end": 249, "name": "ADD" }, + { "begin": 161, "end": 249, "name": "SWAP1" }, + { "begin": 161, "end": 249, "name": "DUP1" }, + { "begin": 161, "end": 249, "name": "DUP4" }, + { "begin": 161, "end": 249, "name": "DUP4" }, + { "begin": 18, "end": 20, "name": "DUP3" }, + { "begin": 18, "end": 20, "name": "ISZERO" }, + { "begin": 13, "end": 16, "name": "PUSH [tag]", "value": "7" }, + { "begin": 7, "end": 12, "name": "JUMPI" }, + { "begin": 32, "end": 37, "name": "tag", "value": "8" }, + { "begin": 32, "end": 37, "name": "JUMPDEST" }, + { "begin": 59, "end": 62, "name": "DUP1" }, + { "begin": 53, "end": 58, "name": "MLOAD" }, + { "begin": 48, "end": 51, "name": "DUP3" }, + { "begin": 41, "end": 47, "name": "MSTORE" }, + { "begin": 93, "end": 95, "name": "PUSH", "value": "20" }, + { "begin": 88, "end": 91, "name": "DUP4" }, + { "begin": 85, "end": 87, "name": "GT" }, + { "begin": 78, "end": 84, "name": "ISZERO" }, + { "begin": 73, "end": 76, "name": "PUSH [tag]", "value": "7" }, + { "begin": 67, "end": 72, "name": "JUMPI" }, + { "begin": -1, "end": -1, "name": "PUSH", "value": "1F" }, + { "begin": -1, "end": -1, "name": "NOT" }, + { "begin": 152, "end": 155, "name": "SWAP1" }, + { "begin": 152, "end": 155, "name": "SWAP3" }, + { "begin": 152, "end": 155, "name": "ADD" }, + { "begin": 152, "end": 155, "name": "SWAP2" }, + { "begin": 117, "end": 119, "name": "PUSH", "value": "20" }, + { "begin": 108, "end": 111, "name": "SWAP2" }, + { "begin": 108, "end": 111, "name": "DUP3" }, + { "begin": 108, "end": 111, "name": "ADD" }, + { "begin": 108, "end": 111, "name": "SWAP2" }, + { "begin": 130, "end": 133, "name": "ADD" }, + { "begin": 172, "end": 177, "name": "PUSH [tag]", "value": "8" }, + { "begin": 167, "end": 171, "name": "JUMP" }, + { "begin": 181, "end": 184, "name": "tag", "value": "7" }, + { "begin": 181, "end": 184, "name": "JUMPDEST" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "SWAP1" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "SWAP1" }, + { "begin": 3, "end": 189, "name": "DUP2" }, + { "begin": 3, "end": 189, "name": "ADD" }, + { "begin": 3, "end": 189, "name": "SWAP1" }, + { "begin": 3, "end": 189, "name": "PUSH", "value": "1F" }, + { "begin": 3, "end": 189, "name": "AND" }, + { "begin": 3, "end": 189, "name": "DUP1" }, + { "begin": 3, "end": 189, "name": "ISZERO" }, + { "begin": 3, "end": 189, "name": "PUSH [tag]", "value": "9" }, + { "begin": 3, "end": 189, "name": "JUMPI" }, + { "begin": 3, "end": 189, "name": "DUP1" }, + { "begin": 3, "end": 189, "name": "DUP3" }, + { "begin": 3, "end": 189, "name": "SUB" }, + { "begin": 3, "end": 189, "name": "DUP1" }, + { "begin": 3, "end": 189, "name": "MLOAD" }, + { "begin": 3, "end": 189, "name": "PUSH", "value": "1" }, + { "begin": 3, "end": 189, "name": "DUP4" }, + { "begin": 3, "end": 189, "name": "PUSH", "value": "20" }, + { "begin": 3, "end": 189, "name": "SUB" }, + { "begin": 3, "end": 189, "name": "PUSH", "value": "100" }, + { "begin": 3, "end": 189, "name": "EXP" }, + { "begin": 3, "end": 189, "name": "SUB" }, + { "begin": 3, "end": 189, "name": "NOT" }, + { "begin": 3, "end": 189, "name": "AND" }, + { "begin": 3, "end": 189, "name": "DUP2" }, + { "begin": 3, "end": 189, "name": "MSTORE" }, + { "begin": 3, "end": 189, "name": "PUSH", "value": "20" }, + { "begin": 3, "end": 189, "name": "ADD" }, + { "begin": 3, "end": 189, "name": "SWAP2" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "tag", "value": "9" }, + { "begin": 3, "end": 189, "name": "JUMPDEST" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "SWAP3" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "POP" }, + { "begin": 3, "end": 189, "name": "PUSH", "value": "40" }, + { "begin": 3, "end": 189, "name": "MLOAD" }, + { "begin": 3, "end": 189, "name": "DUP1" }, + { "begin": 3, "end": 189, "name": "SWAP2" }, + { "begin": 3, "end": 189, "name": "SUB" }, + { "begin": 3, "end": 189, "name": "SWAP1" }, + { "begin": 3, "end": 189, "name": "RETURN" }, + { "begin": 89, "end": 155, "name": "tag", "value": "3" }, + { "begin": 89, "end": 155, "name": "JUMPDEST" }, + { "begin": 89, "end": 155, "name": "CALLVALUE" }, + { "begin": 89, "end": 155, "name": "ISZERO" }, + { "begin": 89, "end": 155, "name": "PUSH [tag]", "value": "10" }, + { "begin": 89, "end": 155, "name": "JUMPI" }, + { "begin": 89, "end": 155, "name": "INVALID" }, + { "begin": 89, "end": 155, "name": "tag", "value": "10" }, + { "begin": 89, "end": 155, "name": "JUMPDEST" }, + { "begin": 89, "end": 155, "name": "PUSH [tag]", "value": "11" }, + { "begin": 89, "end": 155, "name": "PUSH [tag]", "value": "12" }, + { "begin": 89, "end": 155, "name": "JUMP" }, + { "begin": 89, "end": 155, "name": "tag", "value": "11" }, + { "begin": 89, "end": 155, "name": "JUMPDEST" }, + { "begin": 89, "end": 155, "name": "PUSH", "value": "40" }, + { "begin": 89, "end": 155, "name": "DUP1" }, + { "begin": 89, "end": 155, "name": "MLOAD" }, + { "begin": 89, "end": 155, "name": "SWAP2" }, + { "begin": 89, "end": 155, "name": "ISZERO" }, + { "begin": 89, "end": 155, "name": "ISZERO" }, + { "begin": 89, "end": 155, "name": "DUP3" }, + { "begin": 89, "end": 155, "name": "MSTORE" }, + { "begin": 89, "end": 155, "name": "MLOAD" }, + { "begin": 89, "end": 155, "name": "SWAP1" }, + { "begin": 89, "end": 155, "name": "DUP2" }, + { "begin": 89, "end": 155, "name": "SWAP1" }, + { "begin": 89, "end": 155, "name": "SUB" }, + { "begin": 89, "end": 155, "name": "PUSH", "value": "20" }, + { "begin": 89, "end": 155, "name": "ADD" }, + { "begin": 89, "end": 155, "name": "SWAP1" }, + { "begin": 89, "end": 155, "name": "RETURN" }, + { "begin": 161, "end": 249, "name": "tag", "value": "6" }, + { "begin": 161, "end": 249, "name": "JUMPDEST" }, + { "begin": 200, "end": 206, "name": "PUSH [tag]", "value": "13" }, + { "begin": 200, "end": 206, "name": "PUSH [tag]", "value": "14" }, + { "begin": 200, "end": 206, "name": "JUMP", "value": "[in]" }, + { "begin": 200, "end": 206, "name": "tag", "value": "13" }, + { "begin": 200, "end": 206, "name": "JUMPDEST" }, + { "begin": -1, "end": -1, "name": "POP" }, + { "begin": 225, "end": 242, "name": "PUSH", "value": "40" }, + { "begin": 225, "end": 242, "name": "DUP1" }, + { "begin": 225, "end": 242, "name": "MLOAD" }, + { "begin": 225, "end": 242, "name": "DUP1" }, + { "begin": 225, "end": 242, "name": "DUP3" }, + { "begin": 225, "end": 242, "name": "ADD" }, + { "begin": 225, "end": 242, "name": "SWAP1" }, + { "begin": 225, "end": 242, "name": "SWAP2" }, + { "begin": 225, "end": 242, "name": "MSTORE" }, + { "begin": 225, "end": 242, "name": "PUSH", "value": "8" }, + { "begin": 225, "end": 242, "name": "DUP2" }, + { "begin": 225, "end": 242, "name": "MSTORE" }, + { + "begin": 225, + "end": 242, + "name": "PUSH", + "value": "746573742E657468000000000000000000000000000000000000000000000000" + }, + { "begin": 225, "end": 242, "name": "PUSH", "value": "20" }, + { "begin": 225, "end": 242, "name": "DUP3" }, + { "begin": 225, "end": 242, "name": "ADD" }, + { "begin": 225, "end": 242, "name": "MSTORE" }, + { "begin": 161, "end": 249, "name": "tag", "value": "15" }, + { "begin": 161, "end": 249, "name": "JUMPDEST" }, + { "begin": 161, "end": 249, "name": "SWAP2" }, + { "begin": 161, "end": 249, "name": "SWAP1" }, + { "begin": 161, "end": 249, "name": "POP" }, + { "begin": 161, "end": 249, "name": "JUMP", "value": "[out]" }, + { "begin": 89, "end": 155, "name": "tag", "value": "12" }, + { "begin": 89, "end": 155, "name": "JUMPDEST" }, + { "begin": 144, "end": 148, "name": "PUSH", "value": "1" }, + { "begin": 89, "end": 155, "name": "tag", "value": "16" }, + { "begin": 89, "end": 155, "name": "JUMPDEST" }, + { "begin": 89, "end": 155, "name": "SWAP1" }, + { "begin": 89, "end": 155, "name": "JUMP", "value": "[out]" }, + { "begin": 57, "end": 251, "name": "tag", "value": "14" }, + { "begin": 57, "end": 251, "name": "JUMPDEST" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "40" }, + { "begin": 57, "end": 251, "name": "DUP1" }, + { "begin": 57, "end": 251, "name": "MLOAD" }, + { "begin": 57, "end": 251, "name": "PUSH", "value": "20" }, + { "begin": 57, "end": 251, "name": "DUP2" }, + { "begin": 57, "end": 251, "name": "ADD" }, + { "begin": 57, "end": 251, "name": "SWAP1" }, + { "begin": 57, "end": 251, "name": "SWAP2" }, + { "begin": 57, "end": 251, "name": "MSTORE" }, + { "begin": -1, "end": -1, "name": "PUSH", "value": "0" }, + { "begin": 57, "end": 251, "name": "DUP2" }, + { "begin": 57, "end": 251, "name": "MSTORE" }, + { "begin": 57, "end": 251, "name": "SWAP1" }, + { "begin": 57, "end": 251, "name": "JUMP", "value": "[out]" } + ] + } + } + }, + "methodIdentifiers": { "name(bytes32)": "691f3431", "test()": "f8a8fd6d" } + }, + "metadata": "{\"compiler\":{\"version\":\"0.4.11+commit.68ef5810\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"constant\":false,\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"name\",\"outputs\":[{\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"test\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"type\":\"function\"}],\"devdoc\":{\"methods\":{}},\"userdoc\":{\"methods\":{}}},\"settings\":{\"compilationTarget\":{\"contracts/utils/DummyOldResolver.sol\":\"DummyOldResolver\"},\"libraries\":{},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/utils/DummyOldResolver.sol\":{\"content\":\"// SPDX-License-Identifier: MIT\\npragma solidity 0.4.11;\\n\\ncontract DummyOldResolver {\\n function test() public returns (bool) {\\n return true;\\n }\\n\\n function name(bytes32) public returns (string memory) {\\n return \\\"test.eth\\\";\\n }\\n}\\n\",\"keccak256\":\"0xe182e4804b594a062a65d25a0327ab0ed67f71cb13e6fb76d47a7c0ab90b660b\"}},\"version\":1}", + "userdoc": { "methods": {} } + } + } + } + } +} diff --git a/pages/_app.tsx b/pages/_app.tsx index cafffc2c7..524f30224 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,10 +1,10 @@ import React from "react"; import type { AppProps } from "next/app"; +import QueryClientProviderWrapper from "../components/QueryClientProviderWrapper"; import "../styles/globals.css"; import { ApolloClient, ApolloProvider, InMemoryCache } from "@apollo/client"; import { WagmiConfig, createConfig, http } from "wagmi"; import { mainnet, sepolia } from "wagmi/chains"; -import QueryClientProviderWrapper from "../components/QueryClientProviderWrapper"; // Configure chains & providers const config = createConfig({ diff --git a/pages/api/mission-enrollment.ts b/pages/api/mission-enrollment.ts index 4b8aa86f9..039c0023a 100644 --- a/pages/api/mission-enrollment.ts +++ b/pages/api/mission-enrollment.ts @@ -12,39 +12,34 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse) const EASContractAddress = "0xC2679fBD37d54388Ce493F1DB75320D236e1815e"; // Sepolia v0.26 const missionEnrollmentSchemaUid = "0x40e5abe23a3378a9a43b7e874c5cb8dfd4d6b0823501d317acee41e08d3af4dd"; - const provider = new ethers.providers.AlchemyProvider("sepolia", process.env.NEXT_PUBLIC_ALCHEMY_API_KEY); + + const provider = new ethers.JsonRpcProvider( + `https://eth-sepolia.g.alchemy.com/v2/${process.env.NEXT_PUBLIC_ALCHEMY_API_KEY}`, + ); const signer = new ethers.Wallet(process.env.ETH_KEY as string, provider); const eas = new EAS(EASContractAddress); - eas.connect(signer as any); + await eas.connect(signer); const schemaEncoder = new SchemaEncoder("string missionProposal"); - const data = schemaEncoder.encodeData([ - { - type: "string", - value: missionProposal, - name: "missionProposal", - }, - ]); + const encodedData = schemaEncoder.encodeData([{ name: "missionProposal", value: missionProposal, type: "string" }]); const offchain = await eas.getOffchain(); const offchainAttestation = await offchain.signOffchainAttestation( { - recipient: ethers.constants.AddressZero, - data, - refUID: ethers.constants.HashZero, + recipient: ethers.ZeroAddress, + data: encodedData, + refUID: ethers.ZeroHash, revocable: true, expirationTime: BigInt(0), time: BigInt(Math.floor(Date.now() / 1000)), schema: missionEnrollmentSchemaUid, }, - signer as any, + signer, ); - const encodedOffchainAttestation = offchainAttestation; - - return res.status(200).json({ result: encodedOffchainAttestation }); + return res.status(200).json({ result: offchainAttestation }); } catch (error) { console.error("Error:", error); return res.status(500).json({ error: "Error creating mission enrollment attestation" }); diff --git a/utils/queryClient.ts b/utils/queryClient.ts index 6857d80e2..f92265f83 100644 --- a/utils/queryClient.ts +++ b/utils/queryClient.ts @@ -1,9 +1,9 @@ -import { QueryClient } from '@tanstack/react-query'; +import { QueryClient } from "@tanstack/react-query"; let queryClientInstance: QueryClient | null = null; const getQueryClient = () => { - if (typeof window === 'undefined') { + if (typeof window === "undefined") { // Server-side: Always create a new QueryClient return new QueryClient({ defaultOptions: { diff --git a/utils/wagmi-utils.ts b/utils/wagmi-utils.ts index 7fb61bdbe..331baeca1 100644 --- a/utils/wagmi-utils.ts +++ b/utils/wagmi-utils.ts @@ -1,12 +1,11 @@ -import { useEffect, useState } from "react"; -import { ethers } from "ethers"; +import { useCallback, useEffect, useState } from "react"; +import { BrowserProvider, Eip1193Provider, FallbackProvider, JsonRpcProvider, JsonRpcSigner, Provider } from "ethers"; import { type HttpTransport, PublicClient, WalletClient } from "viem"; import { usePublicClient, useWalletClient } from "wagmi"; -type JsonRpcProvider = ethers.providers.JsonRpcProvider; -type JsonRpcSigner = ethers.providers.JsonRpcSigner; +// Grouped imports and removed unnecessary comment -export function publicClientToProvider(publicClient: PublicClient) { +export function publicClientToProvider(publicClient: PublicClient): Provider { const { chain, transport } = publicClient; if (!chain) { @@ -20,66 +19,69 @@ export function publicClientToProvider(publicClient: PublicClient) { }; if (transport.type === "fallback") { const providers = (transport.transports as ReturnType[]).map( - ({ value }) => new ethers.providers.JsonRpcProvider(value?.url, network), + ({ value }) => new JsonRpcProvider(value?.url, network), ); if (providers.length === 1) return providers[0]; - return new ethers.providers.FallbackProvider(providers); + return new FallbackProvider(providers); } - return new ethers.providers.JsonRpcProvider(transport.url, network); + return new JsonRpcProvider(transport.url, network); } -export function walletClientToSigner(walletClient: WalletClient) { +export async function walletClientToSigner(walletClient: WalletClient): Promise { const { account, chain, transport } = walletClient; - if (!chain) { - throw new Error("Chain not found"); - } - - if (!account) { - throw new Error("Account not found"); - } + if (!chain) throw new Error("Chain not found"); + if (!account) throw new Error("Account not found"); const network = { chainId: chain.id, name: chain.name, ensAddress: chain.contracts?.ensRegistry?.address, }; - const provider = new ethers.providers.Web3Provider(transport as any, network); + const provider = new BrowserProvider(transport, network); return provider.getSigner(account.address); } export function useSigner() { const { data: walletClient } = useWalletClient(); - const [signer, setSigner] = useState(undefined); - useEffect(() => { - async function getSigner() { - if (!walletClient) return; - const tmpSigner = walletClientToSigner(walletClient); + const getSigner = useCallback(async () => { + if (!walletClient) { + setSigner(undefined); + return; + } - setSigner(tmpSigner); + try { + const newSigner = await walletClientToSigner(walletClient); + setSigner(newSigner); + } catch (error) { + console.error("Error getting signer:", error); + setSigner(undefined); } + }, [walletClient]); + useEffect(() => { getSigner(); - }, [walletClient]); + }, [getSigner]); + return signer; } export function useProvider() { const publicClient = usePublicClient(); + const [provider, setProvider] = useState(undefined); - const [provider, setProvider] = useState(undefined); - useEffect(() => { - async function getSigner() { - if (!publicClient) return; + const getProvider = useCallback(() => { + if (!publicClient) return; - const tmpProvider = publicClientToProvider(publicClient); + const tmpProvider = publicClientToProvider(publicClient); + setProvider(tmpProvider); + }, [publicClient]); - setProvider(tmpProvider as unknown as JsonRpcProvider); - } + useEffect(() => { + getProvider(); + }, [getProvider]); - getSigner(); - }, [publicClient]); return provider; } diff --git a/yarn.lock b/yarn.lock index 80406c8c7..790dcb77e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -161,7 +161,7 @@ lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.24.7", "@babel/helper-create-class-features-plugin@^7.25.0": +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.24.7", "@babel/helper-create-class-features-plugin@^7.25.0": version "7.25.0" resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.0.tgz#a109bf9c3d58dfed83aaf42e85633c89f43a6253" integrity sha512-GYM6BxeQsETc9mnct+nIIpf63SAyzvyYN7UB/IlTyd+MBg06afFGp0mIeUqGyWgS2mxad6vqbMrHVlaL3m70sQ== @@ -383,6 +383,14 @@ "@babel/helper-plugin-utils" "^7.24.8" "@babel/traverse" "^7.25.0" +"@babel/plugin-proposal-class-properties@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" + integrity sha512-cumfXOF0+nzZrrN8Rf0t7M+tF6sZc7vhQwYQck9q1/5w2OExlD+b4v4RpMJFaV1Z7WcDRgO6FqvxqxGlwo+RHQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + "@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2": version "7.21.0-placeholder-for-preset-env.2" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703" @@ -1646,7 +1654,7 @@ dependencies: hardhat "2.22.1" -"@ethereum-attestation-service/eas-sdk@^2.5.0": +"@ethereum-attestation-service/eas-sdk@2.5.0": version "2.5.0" resolved "https://registry.yarnpkg.com/@ethereum-attestation-service/eas-sdk/-/eas-sdk-2.5.0.tgz#58319c8ab15d522cef9eeaea0e1d2cf65659299b" integrity sha512-3Lt7mDmrIjJqfWcR2rMpwzOOcbcn39G02ziXJbkO9R9FNro4U9uZSyhh1iQsbXUgf0LLisd3LrcrmNg8Wo9rKA== @@ -1697,22 +1705,7 @@ ethereum-cryptography "^2.0.0" micro-ftch "^0.3.1" -"@ethersproject/abi@5.6.3": - version "5.6.3" - resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.6.3.tgz#2d643544abadf6e6b63150508af43475985c23db" - integrity sha512-CxKTdoZY4zDJLWXG6HzNH6znWK0M79WzzxHegDoecE3+K32pzfHOzuXg2/oGSTecZynFgpkjYXNPOqXVJlqClw== - dependencies: - "@ethersproject/address" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/constants" "^5.6.1" - "@ethersproject/hash" "^5.6.1" - "@ethersproject/keccak256" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/strings" "^5.6.1" - -"@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.6.3", "@ethersproject/abi@^5.7.0": +"@ethersproject/abi@^5.1.2", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" integrity sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA== @@ -1727,20 +1720,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/abstract-provider@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.6.1.tgz#02ddce150785caf0c77fe036a0ebfcee61878c59" - integrity sha512-BxlIgogYJtp1FS8Muvj8YfdClk3unZH0vRMVX791Z9INBNT/kuACZ9GzaY1Y4yFq+YSy6/w4gzj3HCRKrK9hsQ== - dependencies: - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/networks" "^5.6.3" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/transactions" "^5.6.2" - "@ethersproject/web" "^5.6.1" - -"@ethersproject/abstract-provider@^5.6.1", "@ethersproject/abstract-provider@^5.7.0": +"@ethersproject/abstract-provider@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz#b0a8550f88b6bf9d51f90e4795d48294630cb9ef" integrity sha512-R41c9UkchKCpAqStMYUpdunjo3pkEvZC3FAwZn5S5MGbXoMQOHIdHItezTETxAO5bevtMApSyEhn9+CHcDsWBw== @@ -1753,18 +1733,7 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/web" "^5.7.0" -"@ethersproject/abstract-signer@5.6.2": - version "5.6.2" - resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.6.2.tgz#491f07fc2cbd5da258f46ec539664713950b0b33" - integrity sha512-n1r6lttFBG0t2vNiI3HoWaS/KdOt8xyDjzlP2cuevlWLG6EX0OwcKLyG/Kp/cuwNxdy/ous+R/DEMdTUwWQIjQ== - dependencies: - "@ethersproject/abstract-provider" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - -"@ethersproject/abstract-signer@^5.6.2", "@ethersproject/abstract-signer@^5.7.0": +"@ethersproject/abstract-signer@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== @@ -1775,18 +1744,7 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/address@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.6.1.tgz#ab57818d9aefee919c5721d28cd31fd95eff413d" - integrity sha512-uOgF0kS5MJv9ZvCz7x6T2EXJSzotiybApn4XlOgoTX0xdtyVIJ7pF+6cGPxiEq/dpBiTfMiw7Yc81JcwhSYA0Q== - dependencies: - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/keccak256" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/rlp" "^5.6.1" - -"@ethersproject/address@^5.0.0", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.6.1", "@ethersproject/address@^5.7.0": +"@ethersproject/address@^5.0.0", "@ethersproject/address@^5.0.2", "@ethersproject/address@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.7.0.tgz#19b56c4d74a3b0a46bfdbb6cfcc0a153fc697f37" integrity sha512-9wYhYt7aghVGo758POM5nqcOMaE168Q6aRLJZwUmiqSrAungkG74gSSeKEIR7ukixesdRZGPgVqme6vmxs1fkA== @@ -1797,29 +1755,14 @@ "@ethersproject/logger" "^5.7.0" "@ethersproject/rlp" "^5.7.0" -"@ethersproject/base64@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.6.1.tgz#2c40d8a0310c9d1606c2c37ae3092634b41d87cb" - integrity sha512-qB76rjop6a0RIYYMiB4Eh/8n+Hxu2NIZm8S/Q7kNo5pmZfXhHGHmS4MinUainiBC54SCyRnwzL+KZjj8zbsSsw== - dependencies: - "@ethersproject/bytes" "^5.6.1" - -"@ethersproject/base64@^5.6.1", "@ethersproject/base64@^5.7.0": +"@ethersproject/base64@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.7.0.tgz#ac4ee92aa36c1628173e221d0d01f53692059e1c" integrity sha512-Dr8tcHt2mEbsZr/mwTPIQAf3Ai0Bks/7gTw9dSqk1mQvhW3XvRlmDJr/4n+wg1JmCl16NZue17CDh8xb/vZ0sQ== dependencies: "@ethersproject/bytes" "^5.7.0" -"@ethersproject/basex@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.6.1.tgz#badbb2f1d4a6f52ce41c9064f01eab19cc4c5305" - integrity sha512-a52MkVz4vuBXR06nvflPMotld1FJWSj2QT0985v7P/emPZO00PucFAkbcmq2vpVU7Ts7umKiSI6SppiLykVWsA== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/properties" "^5.6.0" - -"@ethersproject/basex@^5.6.1", "@ethersproject/basex@^5.7.0": +"@ethersproject/basex@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.7.0.tgz#97034dc7e8938a8ca943ab20f8a5e492ece4020b" integrity sha512-ywlh43GwZLv2Voc2gQVTKBoVQ1mti3d8HK5aMxsfu/nRDnMmNqaSJ3r3n85HBByT8OpoY96SXM1FogC533T4zw== @@ -1827,16 +1770,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/bignumber@5.6.2": - version "5.6.2" - resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.6.2.tgz#72a0717d6163fab44c47bcc82e0c550ac0315d66" - integrity sha512-v7+EEUbhGqT3XJ9LMPsKvXYHFc8eHxTowFCG/HgJErmq4XHJ2WR7aeyICg3uTOAQ7Icn0GFHAohXEhxQHq4Ubw== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - bn.js "^5.2.1" - -"@ethersproject/bignumber@^5.6.2", "@ethersproject/bignumber@^5.7.0": +"@ethersproject/bignumber@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== @@ -1845,50 +1779,20 @@ "@ethersproject/logger" "^5.7.0" bn.js "^5.2.1" -"@ethersproject/bytes@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.6.1.tgz#24f916e411f82a8a60412344bf4a813b917eefe7" - integrity sha512-NwQt7cKn5+ZE4uDn+X5RAXLp46E1chXoaMmrxAyA0rblpxz8t58lVkrHXoRIn0lz1joQElQ8410GqhTqMOwc6g== - dependencies: - "@ethersproject/logger" "^5.6.0" - -"@ethersproject/bytes@^5.6.1", "@ethersproject/bytes@^5.7.0": +"@ethersproject/bytes@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.7.0.tgz#a00f6ea8d7e7534d6d87f47188af1148d71f155d" integrity sha512-nsbxwgFXWh9NyYWo+U8atvmMsSdKJprTcICAkvbBffT75qDocbuggBU0SJiVK2MuTrp0q+xvLkTnGMPK1+uA9A== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/constants@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.6.1.tgz#e2e974cac160dd101cf79fdf879d7d18e8cb1370" - integrity sha512-QSq9WVnZbxXYFftrjSjZDUshp6/eKp6qrtdBtUCm0QxCV5z1fG/w3kdlcsjMCQuQHUnAclKoK7XpXMezhRDOLg== - dependencies: - "@ethersproject/bignumber" "^5.6.2" - -"@ethersproject/constants@^5.6.1", "@ethersproject/constants@^5.7.0": +"@ethersproject/constants@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== dependencies: "@ethersproject/bignumber" "^5.7.0" -"@ethersproject/contracts@5.6.2": - version "5.6.2" - resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.6.2.tgz#20b52e69ebc1b74274ff8e3d4e508de971c287bc" - integrity sha512-hguUA57BIKi6WY0kHvZp6PwPlWF87MCeB4B7Z7AbUpTxfFXFdn/3b0GmjZPagIHS+3yhcBJDnuEfU4Xz+Ks/8g== - dependencies: - "@ethersproject/abi" "^5.6.3" - "@ethersproject/abstract-provider" "^5.6.1" - "@ethersproject/abstract-signer" "^5.6.2" - "@ethersproject/address" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/constants" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/transactions" "^5.6.2" - "@ethersproject/contracts@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e" @@ -1905,21 +1809,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/transactions" "^5.7.0" -"@ethersproject/hash@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.6.1.tgz#224572ea4de257f05b4abf8ae58b03a67e99b0f4" - integrity sha512-L1xAHurbaxG8VVul4ankNX5HgQ8PNCTrnVXEiFnE9xoRnaUcgfD12tZINtDinSllxPLCtGwguQxJ5E6keE84pA== - dependencies: - "@ethersproject/abstract-signer" "^5.6.2" - "@ethersproject/address" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/keccak256" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/strings" "^5.6.1" - -"@ethersproject/hash@^5.6.1", "@ethersproject/hash@^5.7.0": +"@ethersproject/hash@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.7.0.tgz#eb7aca84a588508369562e16e514b539ba5240a7" integrity sha512-qX5WrQfnah1EFnO5zJv1v46a8HW0+E5xuBBDTwMFZLuVTx0tbU2kkx15NqdjxecrLGatQN9FGQKpb1FKdHCt+g== @@ -1934,89 +1824,7 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/hdnode@5.6.2": - version "5.6.2" - resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.6.2.tgz#26f3c83a3e8f1b7985c15d1db50dc2903418b2d2" - integrity sha512-tERxW8Ccf9CxW2db3WsN01Qao3wFeRsfYY9TCuhmG0xNpl2IO8wgXU3HtWIZ49gUWPggRy4Yg5axU0ACaEKf1Q== - dependencies: - "@ethersproject/abstract-signer" "^5.6.2" - "@ethersproject/basex" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/pbkdf2" "^5.6.1" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/sha2" "^5.6.1" - "@ethersproject/signing-key" "^5.6.2" - "@ethersproject/strings" "^5.6.1" - "@ethersproject/transactions" "^5.6.2" - "@ethersproject/wordlists" "^5.6.1" - -"@ethersproject/hdnode@^5.6.2", "@ethersproject/hdnode@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.7.0.tgz#e627ddc6b466bc77aebf1a6b9e47405ca5aef9cf" - integrity sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg== - dependencies: - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/basex" "^5.7.0" - "@ethersproject/bignumber" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/pbkdf2" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/sha2" "^5.7.0" - "@ethersproject/signing-key" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - "@ethersproject/wordlists" "^5.7.0" - -"@ethersproject/json-wallets@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.6.1.tgz#3f06ba555c9c0d7da46756a12ac53483fe18dd91" - integrity sha512-KfyJ6Zwz3kGeX25nLihPwZYlDqamO6pfGKNnVMWWfEVVp42lTfCZVXXy5Ie8IZTN0HKwAngpIPi7gk4IJzgmqQ== - dependencies: - "@ethersproject/abstract-signer" "^5.6.2" - "@ethersproject/address" "^5.6.1" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/hdnode" "^5.6.2" - "@ethersproject/keccak256" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/pbkdf2" "^5.6.1" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/random" "^5.6.1" - "@ethersproject/strings" "^5.6.1" - "@ethersproject/transactions" "^5.6.2" - aes-js "3.0.0" - scrypt-js "3.0.1" - -"@ethersproject/json-wallets@^5.6.1": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz#5e3355287b548c32b368d91014919ebebddd5360" - integrity sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g== - dependencies: - "@ethersproject/abstract-signer" "^5.7.0" - "@ethersproject/address" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/hdnode" "^5.7.0" - "@ethersproject/keccak256" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/pbkdf2" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/random" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - "@ethersproject/transactions" "^5.7.0" - aes-js "3.0.0" - scrypt-js "3.0.1" - -"@ethersproject/keccak256@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.6.1.tgz#b867167c9b50ba1b1a92bccdd4f2d6bd168a91cc" - integrity sha512-bB7DQHCTRDooZZdL3lk9wpL0+XuG3XLGHLh3cePnybsO3V0rdCAOQGpn/0R3aODmnTOOkCATJiD2hnL+5bwthA== - dependencies: - "@ethersproject/bytes" "^5.6.1" - js-sha3 "0.8.0" - -"@ethersproject/keccak256@^5.6.1", "@ethersproject/keccak256@^5.7.0": +"@ethersproject/keccak256@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.7.0.tgz#3186350c6e1cd6aba7940384ec7d6d9db01f335a" integrity sha512-2UcPboeL/iW+pSg6vZ6ydF8tCnv3Iu/8tUmLLzWWGzxWKFFqOBQFLo6uLUv6BDrLgCDfN28RJ/wtByx+jZ4KBg== @@ -2024,86 +1832,25 @@ "@ethersproject/bytes" "^5.7.0" js-sha3 "0.8.0" -"@ethersproject/logger@5.6.0": - version "5.6.0" - resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.6.0.tgz#d7db1bfcc22fd2e4ab574cba0bb6ad779a9a3e7a" - integrity sha512-BiBWllUROH9w+P21RzoxJKzqoqpkyM1pRnEKG69bulE9TSQD8SAIvTQqIMZmmCO8pUNkgLP1wndX1gKghSpBmg== - -"@ethersproject/logger@^5.6.0", "@ethersproject/logger@^5.7.0": +"@ethersproject/logger@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.7.0.tgz#6ce9ae168e74fecf287be17062b590852c311892" integrity sha512-0odtFdXu/XHtjQXJYA3u9G0G8btm0ND5Cu8M7i5vhEcE8/HmF4Lbdqanwyv4uQTr2tx6b7fQRmgLrsnpQlmnig== -"@ethersproject/networks@5.6.3": - version "5.6.3" - resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.6.3.tgz#3ee3ab08f315b433b50c99702eb32e0cf31f899f" - integrity sha512-QZxRH7cA5Ut9TbXwZFiCyuPchdWi87ZtVNHWZd0R6YFgYtes2jQ3+bsslJ0WdyDe0i6QumqtoYqvY3rrQFRZOQ== - dependencies: - "@ethersproject/logger" "^5.6.0" - -"@ethersproject/networks@^5.6.3", "@ethersproject/networks@^5.7.0": +"@ethersproject/networks@^5.7.0": version "5.7.1" resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.7.1.tgz#118e1a981d757d45ccea6bb58d9fd3d9db14ead6" integrity sha512-n/MufjFYv3yFcUyfhnXotyDlNdFb7onmkSy8aQERi2PjNcnWQ66xXxa3XlS8nCcA8aJKJjIIMNJTC7tu80GwpQ== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/pbkdf2@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.6.1.tgz#f462fe320b22c0d6b1d72a9920a3963b09eb82d1" - integrity sha512-k4gRQ+D93zDRPNUfmduNKq065uadC2YjMP/CqwwX5qG6R05f47boq6pLZtV/RnC4NZAYOPH1Cyo54q0c9sshRQ== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/sha2" "^5.6.1" - -"@ethersproject/pbkdf2@^5.6.1", "@ethersproject/pbkdf2@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz#d2267d0a1f6e123f3771007338c47cccd83d3102" - integrity sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/sha2" "^5.7.0" - -"@ethersproject/properties@5.6.0": - version "5.6.0" - resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.6.0.tgz#38904651713bc6bdd5bdd1b0a4287ecda920fa04" - integrity sha512-szoOkHskajKePTJSZ46uHUWWkbv7TzP2ypdEK6jGMqJaEt2sb0jCgfBo0gH0m2HBpRixMuJ6TBRaQCF7a9DoCg== - dependencies: - "@ethersproject/logger" "^5.6.0" - -"@ethersproject/properties@^5.6.0", "@ethersproject/properties@^5.7.0": +"@ethersproject/properties@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.7.0.tgz#a6e12cb0439b878aaf470f1902a176033067ed30" integrity sha512-J87jy8suntrAkIZtecpxEPxY//szqr1mlBaYlQ0r4RCaiD2hjheqF9s1LVE8vVuJCXisjIP+JgtK/Do54ej4Sw== dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/providers@5.6.8": - version "5.6.8" - resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.6.8.tgz#22e6c57be215ba5545d3a46cf759d265bb4e879d" - integrity sha512-Wf+CseT/iOJjrGtAOf3ck9zS7AgPmr2fZ3N97r4+YXN3mBePTG2/bJ8DApl9mVwYL+RpYbNxMEkEp4mPGdwG/w== - dependencies: - "@ethersproject/abstract-provider" "^5.6.1" - "@ethersproject/abstract-signer" "^5.6.2" - "@ethersproject/address" "^5.6.1" - "@ethersproject/base64" "^5.6.1" - "@ethersproject/basex" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/constants" "^5.6.1" - "@ethersproject/hash" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/networks" "^5.6.3" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/random" "^5.6.1" - "@ethersproject/rlp" "^5.6.1" - "@ethersproject/sha2" "^5.6.1" - "@ethersproject/strings" "^5.6.1" - "@ethersproject/transactions" "^5.6.2" - "@ethersproject/web" "^5.6.1" - bech32 "1.1.4" - ws "7.4.6" - "@ethersproject/providers@^5.7.0": version "5.7.2" resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb" @@ -2130,15 +1877,7 @@ bech32 "1.1.4" ws "7.4.6" -"@ethersproject/random@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.6.1.tgz#66915943981bcd3e11bbd43733f5c3ba5a790255" - integrity sha512-/wtPNHwbmng+5yi3fkipA8YBT59DdkGRoC2vWk09Dci/q5DlgnMkhIycjHlavrvrjJBkFjO/ueLyT+aUDfc4lA== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - -"@ethersproject/random@^5.6.1", "@ethersproject/random@^5.7.0": +"@ethersproject/random@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.7.0.tgz#af19dcbc2484aae078bb03656ec05df66253280c" integrity sha512-19WjScqRA8IIeWclFme75VMXSBvi4e6InrUNuaR4s5pTF2qNhcGdCUwdxUVGtDDqC00sDLCO93jPQoDUH4HVmQ== @@ -2146,15 +1885,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/rlp@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.6.1.tgz#df8311e6f9f24dcb03d59a2bac457a28a4fe2bd8" - integrity sha512-uYjmcZx+DKlFUk7a5/W9aQVaoEC7+1MOBgNtvNg13+RnuUwT4F0zTovC0tmay5SmRslb29V1B7Y5KCri46WhuQ== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - -"@ethersproject/rlp@^5.6.1", "@ethersproject/rlp@^5.7.0": +"@ethersproject/rlp@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.7.0.tgz#de39e4d5918b9d74d46de93af80b7685a9c21304" integrity sha512-rBxzX2vK8mVF7b0Tol44t5Tb8gomOHkj5guL+HhzQ1yBh/ydjGnpw6at+X6Iw0Kp3OzzzkcKp8N9r0W4kYSs9w== @@ -2162,16 +1893,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/sha2@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.6.1.tgz#211f14d3f5da5301c8972a8827770b6fd3e51656" - integrity sha512-5K2GyqcW7G4Yo3uenHegbXRPDgARpWUiXc6RiF7b6i/HXUoWlb7uCARh7BAHg7/qT/Q5ydofNwiZcim9qpjB6g== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - hash.js "1.1.7" - -"@ethersproject/sha2@^5.6.1", "@ethersproject/sha2@^5.7.0": +"@ethersproject/sha2@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.7.0.tgz#9a5f7a7824ef784f7f7680984e593a800480c9fb" integrity sha512-gKlH42riwb3KYp0reLsFTokByAKoJdgFCwI+CCiX/k+Jm2mbNs6oOaCjYQSlI1+XBVejwH2KrmCbMAT/GnRDQw== @@ -2180,19 +1902,7 @@ "@ethersproject/logger" "^5.7.0" hash.js "1.1.7" -"@ethersproject/signing-key@5.6.2": - version "5.6.2" - resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.6.2.tgz#8a51b111e4d62e5a62aee1da1e088d12de0614a3" - integrity sha512-jVbu0RuP7EFpw82vHcL+GP35+KaNruVAZM90GxgQnGqB6crhBqW/ozBfFvdeImtmb4qPko0uxXjn8l9jpn0cwQ== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - bn.js "^5.2.1" - elliptic "6.5.4" - hash.js "1.1.7" - -"@ethersproject/signing-key@^5.6.2", "@ethersproject/signing-key@^5.7.0": +"@ethersproject/signing-key@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.7.0.tgz#06b2df39411b00bc57c7c09b01d1e41cf1b16ab3" integrity sha512-MZdy2nL3wO0u7gkB4nA/pEf8lu1TlFswPNmy8AiYkfKTdO6eXBJyUdmHO/ehm/htHw9K/qF8ujnTyUAD+Ry54Q== @@ -2204,18 +1914,6 @@ elliptic "6.5.4" hash.js "1.1.7" -"@ethersproject/solidity@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.6.1.tgz#5845e71182c66d32e6ec5eefd041fca091a473e2" - integrity sha512-KWqVLkUUoLBfL1iwdzUVlkNqAUIFMpbbeH0rgCfKmJp0vFtY4AsaN91gHKo9ZZLkC4UOm3cI3BmMV4N53BOq4g== - dependencies: - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/keccak256" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/sha2" "^5.6.1" - "@ethersproject/strings" "^5.6.1" - "@ethersproject/solidity@^5.0.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.7.0.tgz#5e9c911d8a2acce2a5ebb48a5e2e0af20b631cb8" @@ -2228,16 +1926,7 @@ "@ethersproject/sha2" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/strings@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.6.1.tgz#dbc1b7f901db822b5cafd4ebf01ca93c373f8952" - integrity sha512-2X1Lgk6Jyfg26MUnsHiT456U9ijxKUybz8IM1Vih+NJxYtXhmvKBcHOmvGqpFSVJ0nQ4ZCoIViR8XlRw1v/+Cw== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/constants" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - -"@ethersproject/strings@^5.6.1", "@ethersproject/strings@^5.7.0": +"@ethersproject/strings@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.7.0.tgz#54c9d2a7c57ae8f1205c88a9d3a56471e14d5ed2" integrity sha512-/9nu+lj0YswRNSH0NXYqrh8775XNyEdUQAuf3f+SmOrnVewcJ5SBNAjF7lpgehKi4abvNNXyf+HX86czCdJ8Mg== @@ -2246,22 +1935,7 @@ "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/transactions@5.6.2": - version "5.6.2" - resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.6.2.tgz#793a774c01ced9fe7073985bb95a4b4e57a6370b" - integrity sha512-BuV63IRPHmJvthNkkt9G70Ullx6AcM+SDc+a8Aw/8Yew6YwT51TcBKEp1P4oOQ/bP25I18JJr7rcFRgFtU9B2Q== - dependencies: - "@ethersproject/address" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/constants" "^5.6.1" - "@ethersproject/keccak256" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/rlp" "^5.6.1" - "@ethersproject/signing-key" "^5.6.2" - -"@ethersproject/transactions@^5.6.2", "@ethersproject/transactions@^5.7.0": +"@ethersproject/transactions@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== @@ -2276,48 +1950,7 @@ "@ethersproject/rlp" "^5.7.0" "@ethersproject/signing-key" "^5.7.0" -"@ethersproject/units@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.6.1.tgz#ecc590d16d37c8f9ef4e89e2005bda7ddc6a4e6f" - integrity sha512-rEfSEvMQ7obcx3KWD5EWWx77gqv54K6BKiZzKxkQJqtpriVsICrktIQmKl8ReNToPeIYPnFHpXvKpi068YFZXw== - dependencies: - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/constants" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - -"@ethersproject/wallet@5.6.2": - version "5.6.2" - resolved "https://registry.yarnpkg.com/@ethersproject/wallet/-/wallet-5.6.2.tgz#cd61429d1e934681e413f4bc847a5f2f87e3a03c" - integrity sha512-lrgh0FDQPuOnHcF80Q3gHYsSUODp6aJLAdDmDV0xKCN/T7D99ta1jGVhulg3PY8wiXEngD0DfM0I2XKXlrqJfg== - dependencies: - "@ethersproject/abstract-provider" "^5.6.1" - "@ethersproject/abstract-signer" "^5.6.2" - "@ethersproject/address" "^5.6.1" - "@ethersproject/bignumber" "^5.6.2" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/hash" "^5.6.1" - "@ethersproject/hdnode" "^5.6.2" - "@ethersproject/json-wallets" "^5.6.1" - "@ethersproject/keccak256" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/random" "^5.6.1" - "@ethersproject/signing-key" "^5.6.2" - "@ethersproject/transactions" "^5.6.2" - "@ethersproject/wordlists" "^5.6.1" - -"@ethersproject/web@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.6.1.tgz#6e2bd3ebadd033e6fe57d072db2b69ad2c9bdf5d" - integrity sha512-/vSyzaQlNXkO1WV+RneYKqCJwualcUdx/Z3gseVovZP0wIlOFcCE1hkRhKBH8ImKbGQbMl9EAAyJFrJu7V0aqA== - dependencies: - "@ethersproject/base64" "^5.6.1" - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/strings" "^5.6.1" - -"@ethersproject/web@^5.6.1", "@ethersproject/web@^5.7.0": +"@ethersproject/web@^5.7.0": version "5.7.1" resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.7.1.tgz#de1f285b373149bee5928f4eb7bcb87ee5fbb4ae" integrity sha512-Gueu8lSvyjBWL4cYsWsjh6MtMwM0+H4HvqFPZfB6dV8ctbP9zFAO73VG1cMWae0FLPCtz0peKPpZY8/ugJJX2w== @@ -2328,28 +1961,6 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@ethersproject/wordlists@5.6.1": - version "5.6.1" - resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.6.1.tgz#1e78e2740a8a21e9e99947e47979d72e130aeda1" - integrity sha512-wiPRgBpNbNwCQFoCr8bcWO8o5I810cqO6mkdtKfLKFlLxeCWcnzDi4Alu8iyNzlhYuS9npCwivMbRWF19dyblw== - dependencies: - "@ethersproject/bytes" "^5.6.1" - "@ethersproject/hash" "^5.6.1" - "@ethersproject/logger" "^5.6.0" - "@ethersproject/properties" "^5.6.0" - "@ethersproject/strings" "^5.6.1" - -"@ethersproject/wordlists@^5.6.1", "@ethersproject/wordlists@^5.7.0": - version "5.7.0" - resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.7.0.tgz#8fb2c07185d68c3e09eb3bfd6e779ba2774627f5" - integrity sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA== - dependencies: - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/hash" "^5.7.0" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - "@ethersproject/strings" "^5.7.0" - "@fastify/busboy@^2.0.0": version "2.1.1" resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d" @@ -3885,7 +3496,7 @@ dependencies: "@tanstack/query-devtools" "5.51.16" -"@tanstack/react-query@^5.51.21": +"@tanstack/react-query@^5.51.23": version "5.51.23" resolved "https://registry.yarnpkg.com/@tanstack/react-query/-/react-query-5.51.23.tgz#83c223f4cb6054b206de8856b73ca7e41a63ba1f" integrity sha512-CfJCfX45nnVIZjQBRYYtvVMIsGgWLKLYC4xcUiYEey671n1alvTZoCBaU9B85O8mF/tx9LPyrI04A6Bs2THv4A== @@ -4109,7 +3720,7 @@ resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.34.tgz#10964ba0dee6ac4cd462e2795b6bebd407303433" integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== -"@types/node@*": +"@types/node@*", "@types/node@^22.2.0": version "22.2.0" resolved "https://registry.yarnpkg.com/@types/node/-/node-22.2.0.tgz#7cf046a99f0ba4d628ad3088cb21f790df9b0c5b" integrity sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ== @@ -4131,11 +3742,6 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== -"@types/node@^17.0.35": - version "17.0.45" - resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.45.tgz#2c0fafd78705e7a18b7906b5201a522719dc5190" - integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw== - "@types/nprogress@^0": version "0.2.3" resolved "https://registry.yarnpkg.com/@types/nprogress/-/nprogress-0.2.3.tgz#b2150b054a13622fabcba12cf6f0b54c48b14287" @@ -4998,11 +4604,6 @@ adm-zip@^0.4.16: resolved "https://registry.yarnpkg.com/adm-zip/-/adm-zip-0.4.16.tgz#cf4c508fdffab02c269cbc7f471a875f05570365" integrity sha512-TFi4HBKSGfIKsK5YCkKaaFG2m4PEDyViZmEwof3MTIgzimHLto6muaHVpbrljdIvIrFZzEq/p4nafOeLcYegrg== -aes-js@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-3.0.0.tgz#e21df10ad6c2053295bcbb8dab40b09dbea87e4d" - integrity sha512-H7wUZRn8WpTq9jocdxQ2c8x2sKo9ZVmzfRE13GiNJXfp7NcKYEdvl3vspKjXox6RIG2VtaRe4JFvxG4rqp2Zuw== - aes-js@4.0.0-beta.5: version "4.0.0-beta.5" resolved "https://registry.yarnpkg.com/aes-js/-/aes-js-4.0.0-beta.5.tgz#8d2452c52adedebc3a3e28465d858c11ca315873" @@ -7447,43 +7048,7 @@ ethereumjs-util@^7.0.3: ethereum-cryptography "^0.1.3" rlp "^2.2.4" -ethers@5.6.8: - version "5.6.8" - resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.6.8.tgz#d36b816b4896341a80a8bbd2a44e8cb6e9b98dd4" - integrity sha512-YxIGaltAOdvBFPZwIkyHnXbW40f1r8mHUgapW6dxkO+6t7H6wY8POUn0Kbxrd/N7I4hHxyi7YCddMAH/wmho2w== - dependencies: - "@ethersproject/abi" "5.6.3" - "@ethersproject/abstract-provider" "5.6.1" - "@ethersproject/abstract-signer" "5.6.2" - "@ethersproject/address" "5.6.1" - "@ethersproject/base64" "5.6.1" - "@ethersproject/basex" "5.6.1" - "@ethersproject/bignumber" "5.6.2" - "@ethersproject/bytes" "5.6.1" - "@ethersproject/constants" "5.6.1" - "@ethersproject/contracts" "5.6.2" - "@ethersproject/hash" "5.6.1" - "@ethersproject/hdnode" "5.6.2" - "@ethersproject/json-wallets" "5.6.1" - "@ethersproject/keccak256" "5.6.1" - "@ethersproject/logger" "5.6.0" - "@ethersproject/networks" "5.6.3" - "@ethersproject/pbkdf2" "5.6.1" - "@ethersproject/properties" "5.6.0" - "@ethersproject/providers" "5.6.8" - "@ethersproject/random" "5.6.1" - "@ethersproject/rlp" "5.6.1" - "@ethersproject/sha2" "5.6.1" - "@ethersproject/signing-key" "5.6.2" - "@ethersproject/solidity" "5.6.1" - "@ethersproject/strings" "5.6.1" - "@ethersproject/transactions" "5.6.2" - "@ethersproject/units" "5.6.1" - "@ethersproject/wallet" "5.6.2" - "@ethersproject/web" "5.6.1" - "@ethersproject/wordlists" "5.6.1" - -ethers@^6.11.1: +ethers@6.13.2, ethers@^6.11.1: version "6.13.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.13.2.tgz#4b67d4b49e69b59893931a032560999e5e4419fe" integrity sha512-9VkriTTed+/27BGuY1s0hf441kqwHJ1wtN2edksEtiRvXx+soxRX3iSXTfFqq2+YwrOqbDoTHjIhQnjJRlzKmg== @@ -11753,7 +11318,7 @@ scheduler@^0.23.2: dependencies: loose-envify "^1.1.0" -scrypt-js@3.0.1, scrypt-js@^3.0.0: +scrypt-js@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==