From ba0a40cc5b6a47edb59b5662fcdc28cd8339cd3c Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Mon, 14 Oct 2024 17:42:16 +0100 Subject: [PATCH 1/2] chore: preparing for Mode deployment --- abis/0.8.27/OptimismMessenger.json | 301 ++++++++++++++++++ hardhat.config.js | 32 +- package.json | 2 +- .../optimistic/globals_mode_mainnet.json | 1 + .../optimistic/globals_mode_sepolia.json | 1 + yarn.lock | 186 +++++------ 6 files changed, 419 insertions(+), 104 deletions(-) create mode 100644 abis/0.8.27/OptimismMessenger.json create mode 100644 scripts/deployment/bridges/optimistic/globals_mode_mainnet.json create mode 100644 scripts/deployment/bridges/optimistic/globals_mode_sepolia.json diff --git a/abis/0.8.27/OptimismMessenger.json b/abis/0.8.27/OptimismMessenger.json new file mode 100644 index 0000000..196c9c4 --- /dev/null +++ b/abis/0.8.27/OptimismMessenger.json @@ -0,0 +1,301 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "OptimismMessenger", + "sourceName": "contracts/bridges/OptimismMessenger.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_CDMContractProxyHome", + "type": "address" + }, + { + "internalType": "address", + "name": "_sourceGovernor", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "deliveryHash", + "type": "bytes32" + } + ], + "name": "AlreadyDelivered", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "expected", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "provided", + "type": "uint256" + } + ], + "name": "IncorrectDataLength", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + } + ], + "name": "InsufficientBalance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "instance", + "type": "address" + } + ], + "name": "SelfCallOnly", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "sourceGovernor", + "type": "address" + } + ], + "name": "SourceGovernorOnly", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "sender", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "sourceGovernor", + "type": "bytes32" + } + ], + "name": "SourceGovernorOnly32", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "payload", + "type": "bytes" + } + ], + "name": "TargetExecFailed", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "address", + "name": "targetRelayer", + "type": "address" + } + ], + "name": "TargetRelayerOnly", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "received", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "required", + "type": "uint256" + } + ], + "name": "WrongSourceChainId", + "type": "error" + }, + { + "inputs": [], + "name": "ZeroAddress", + "type": "error" + }, + { + "inputs": [], + "name": "ZeroValue", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "FundsReceived", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sourceMessageSender", + "type": "address" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "MessageReceived", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sourceGovernor", + "type": "address" + } + ], + "name": "SourceGovernorUpdated", + "type": "event" + }, + { + "inputs": [], + "name": "CDMContractProxyHome", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "DEFAULT_DATA_LENGTH", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newSourceGovernor", + "type": "address" + } + ], + "name": "changeSourceGovernor", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "processMessageFromSource", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "sourceGovernor", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x60a060405234801561000f575f5ffd5b50604051610b60380380610b6083398101604081905261002e916100ab565b6001600160a01b038216158061004b57506001600160a01b038116155b156100695760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b039182166080525f80546001600160a01b031916919092161790556100dc565b80516001600160a01b03811681146100a6575f5ffd5b919050565b5f5f604083850312156100bc575f5ffd5b6100c583610090565b91506100d360208401610090565b90509250929050565b608051610a586101085f395f818160ac01528181610191015281816101f901526102730152610a585ff3fe60806040526004361061005b575f3560e01c8063e3b94a2311610041578063e3b94a231461010d578063f02fb77414610138578063f8b4870f1461015a575f5ffd5b8063c84043301461009b578063d3042d2b146100f8575f5ffd5b366100975760405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2005b5f5ffd5b3480156100a6575f5ffd5b506100ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010b6101063660046107a7565b610179565b005b348015610118575f5ffd5b505f546100ce9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610143575f5ffd5b5061014c602481565b6040519081526020016100ef565b348015610165575f5ffd5b5061010b6101743660046108bb565b6103c4565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461022b576040517f2f3111fa00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b5f8054604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff92831693927f00000000000000000000000000000000000000000000000000000000000000001691636e296e45916004808301926020929190829003018187875af11580156102bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906108dd565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610368576040517f978c830c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015283166024820152604401610222565b610371836104be565b8173ffffffffffffffffffffffffffffffffffffffff167f3c64b439784b3c09eba93acf868463aed0e339a92920e1d8822118261dfc1a7d846040516103b79190610944565b60405180910390a2505050565b333014610405576040517f0dbc9bfc000000000000000000000000000000000000000000000000000000008152336004820152306024820152604401610222565b73ffffffffffffffffffffffffffffffffffffffff8116610452576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fbbc9d5867fd60faf098cfaa8adb3402dd83501cc76385968ddbb6b2610800f8e91a250565b805160248110156105095781516040517f34c9027a00000000000000000000000000000000000000000000000000000000815261022291602491600401918252602082015260400190565b5f5b8181101561077557828101601481015160208201516024928301519290930192909173ffffffffffffffffffffffffffffffffffffffff831661057a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47826bffffffffffffffffffffffff1611156105d8576040517fcf4791810000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff83166004820152476024820152604401610222565b5f8163ffffffff1667ffffffffffffffff8111156105f8576105f861077a565b6040519080825280601f01601f191660200182016040528015610622576020820181803683370190505b5090505f5b8263ffffffff168110156106a357876106408288610956565b8151811061065057610650610994565b602001015160f81c60f81b82828151811061066d5761066d610994565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610627565b506106b463ffffffff831686610956565b94505f8473ffffffffffffffffffffffffffffffffffffffff16846bffffffffffffffffffffffff16836040516106eb91906109c1565b5f6040518083038185875af1925050503d805f8114610725576040519150601f19603f3d011682016040523d82523d5f602084013e61072a565b606091505b505090508061076b578484836040517f6cfc79a5000000000000000000000000000000000000000000000000000000008152600401610222939291906109d7565b505050505061050b565b505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f602082840312156107b7575f5ffd5b813567ffffffffffffffff8111156107cd575f5ffd5b8201601f810184136107dd575f5ffd5b803567ffffffffffffffff8111156107f7576107f761077a565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff821117156108635761086361077a565b60405281815282820160200186101561087a575f5ffd5b816020840160208301375f91810160200191909152949350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146108b8575f5ffd5b50565b5f602082840312156108cb575f5ffd5b81356108d681610897565b9392505050565b5f602082840312156108ed575f5ffd5b81516108d681610897565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6108d660208301846108f8565b8082018082111561098e577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82518060208501845e5f920191825250919050565b73ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff83166020820152606060408201525f610a1960608301846108f8565b9594505050505056fea264697066735822122098a2cac96263237c1787a1ca179bac0fe93ebf2f79e8b1e4b394d9ff3a2551b964736f6c634300081b0033", + "deployedBytecode": "0x60806040526004361061005b575f3560e01c8063e3b94a2311610041578063e3b94a231461010d578063f02fb77414610138578063f8b4870f1461015a575f5ffd5b8063c84043301461009b578063d3042d2b146100f8575f5ffd5b366100975760405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2005b5f5ffd5b3480156100a6575f5ffd5b506100ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010b6101063660046107a7565b610179565b005b348015610118575f5ffd5b505f546100ce9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610143575f5ffd5b5061014c602481565b6040519081526020016100ef565b348015610165575f5ffd5b5061010b6101743660046108bb565b6103c4565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461022b576040517f2f3111fa00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b5f8054604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff92831693927f00000000000000000000000000000000000000000000000000000000000000001691636e296e45916004808301926020929190829003018187875af11580156102bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906108dd565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610368576040517f978c830c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015283166024820152604401610222565b610371836104be565b8173ffffffffffffffffffffffffffffffffffffffff167f3c64b439784b3c09eba93acf868463aed0e339a92920e1d8822118261dfc1a7d846040516103b79190610944565b60405180910390a2505050565b333014610405576040517f0dbc9bfc000000000000000000000000000000000000000000000000000000008152336004820152306024820152604401610222565b73ffffffffffffffffffffffffffffffffffffffff8116610452576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fbbc9d5867fd60faf098cfaa8adb3402dd83501cc76385968ddbb6b2610800f8e91a250565b805160248110156105095781516040517f34c9027a00000000000000000000000000000000000000000000000000000000815261022291602491600401918252602082015260400190565b5f5b8181101561077557828101601481015160208201516024928301519290930192909173ffffffffffffffffffffffffffffffffffffffff831661057a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47826bffffffffffffffffffffffff1611156105d8576040517fcf4791810000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff83166004820152476024820152604401610222565b5f8163ffffffff1667ffffffffffffffff8111156105f8576105f861077a565b6040519080825280601f01601f191660200182016040528015610622576020820181803683370190505b5090505f5b8263ffffffff168110156106a357876106408288610956565b8151811061065057610650610994565b602001015160f81c60f81b82828151811061066d5761066d610994565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610627565b506106b463ffffffff831686610956565b94505f8473ffffffffffffffffffffffffffffffffffffffff16846bffffffffffffffffffffffff16836040516106eb91906109c1565b5f6040518083038185875af1925050503d805f8114610725576040519150601f19603f3d011682016040523d82523d5f602084013e61072a565b606091505b505090508061076b578484836040517f6cfc79a5000000000000000000000000000000000000000000000000000000008152600401610222939291906109d7565b505050505061050b565b505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f602082840312156107b7575f5ffd5b813567ffffffffffffffff8111156107cd575f5ffd5b8201601f810184136107dd575f5ffd5b803567ffffffffffffffff8111156107f7576107f761077a565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff821117156108635761086361077a565b60405281815282820160200186101561087a575f5ffd5b816020840160208301375f91810160200191909152949350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146108b8575f5ffd5b50565b5f602082840312156108cb575f5ffd5b81356108d681610897565b9392505050565b5f602082840312156108ed575f5ffd5b81516108d681610897565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6108d660208301846108f8565b8082018082111561098e577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82518060208501845e5f920191825250919050565b73ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff83166020820152606060408201525f610a1960608301846108f8565b9594505050505056fea264697066735822122098a2cac96263237c1787a1ca179bac0fe93ebf2f79e8b1e4b394d9ff3a2551b964736f6c634300081b0033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/hardhat.config.js b/hardhat.config.js index fdc6900..fc230f2 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -78,6 +78,11 @@ module.exports = { accounts: accounts, chainId: 42220, }, + mode: { + url: "https://mainnet.mode.network", + accounts: accounts, + chainId: 34443, + }, goerli: { url: "https://eth-goerli.g.alchemy.com/v2/" + ALCHEMY_API_KEY_GOERLI, chainId: 5, @@ -116,6 +121,11 @@ module.exports = { accounts: accounts, chainId: 44787, }, + modeSepolia: { + url: "https://sepolia.mode.network", + accounts: accounts, + chainId: 919, + }, hardhat: { allowUnlimitedContractSize: true }, @@ -202,6 +212,22 @@ module.exports = { browserURL: "https://alfajores-blockscout.celo-testnet.org/" }, }, + { + network: "mode", + chainId: 34443, + urls: { + apiURL: "https://explorer.mode.network/api", + browserURL: "https://explorer.mode.network" + }, + }, + { + network: "modeSepolia", + chainId: 919, + urls: { + apiURL: "https://sepolia.explorer.mode.network/api", + browserURL: "https://sepolia.explorer.mode.network" + }, + }, ], apiKey: { mainnet: ETHERSCAN_API_KEY, @@ -218,13 +244,15 @@ module.exports = { arbitrumSepolia: ARBISCAN_API_KEY, optimisticSepolia: OPSCAN_API_KEY, baseSepolia: OPSCAN_API_KEY, - celoAlfajores: CELOSCAN_API_KEY + celoAlfajores: CELOSCAN_API_KEY, + mode: OPSCAN_API_KEY, + modeSepolia: OPSCAN_API_KEY, } }, solidity: { compilers: [ { - version: "0.8.25", + version: "0.8.27", settings: { optimizer: { enabled: true, diff --git a/package.json b/package.json index 73561c9..b1b7fd4 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@nomicfoundation/hardhat-ethers": "^3.0.5", "@nomiclabs/hardhat-ethers": "^2.2.3", "@nomiclabs/hardhat-etherscan": "^3.1.7", - "hardhat": "^2.22.4", + "hardhat": "^2.22.13", "@typechain/hardhat": "^9.1.0", "ethers": "^5.7.2", "@typechain/ethers-v5": "^11.1.2", diff --git a/scripts/deployment/bridges/optimistic/globals_mode_mainnet.json b/scripts/deployment/bridges/optimistic/globals_mode_mainnet.json new file mode 100644 index 0000000..a3a0332 --- /dev/null +++ b/scripts/deployment/bridges/optimistic/globals_mode_mainnet.json @@ -0,0 +1 @@ +{"contractVerification":true,"useLedger":true,"derivationPath":"m/44'/60'/2'/0/0","providerName":"mode","gasPriceInGwei":"1","networkURL":"https://mainnet.mode.network","L1CrossDomainMessengerProxyAddress":"0x95bDCA6c8EdEB69C98Bd5bd17660BaCef1298A6f","timelockAddress":"0x3C1fF68f5aa342D296d4DEe4Bb1cACCA912D95fE","L2CrossDomainMessengerAddress":"0x4200000000000000000000000000000000000007","optimismMessengerAddress":""} \ No newline at end of file diff --git a/scripts/deployment/bridges/optimistic/globals_mode_sepolia.json b/scripts/deployment/bridges/optimistic/globals_mode_sepolia.json new file mode 100644 index 0000000..b45fa69 --- /dev/null +++ b/scripts/deployment/bridges/optimistic/globals_mode_sepolia.json @@ -0,0 +1 @@ +{"contractVerification":true,"useLedger":false,"derivationPath":"m/44'/60'/2'/0/0","providerName":"modeSepolia","gasPriceInGwei":"1","networkURL":"https://mainnet.mode.network","L1CrossDomainMessengerProxyAddress":"0xbC5C679879B2965296756CD959C3C739769995E2","timelockAddress":"0x04A0afD079F14D539B17253Ea93563934A024165","L2CrossDomainMessengerAddress":"0x4200000000000000000000000000000000000007","optimismMessengerAddress":""} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index de335ca..d9d817e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -666,53 +666,53 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@nomicfoundation/edr-darwin-arm64@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-arm64/-/edr-darwin-arm64-0.3.8.tgz#09de1f03c0336670fce959f376f0fe9137545836" - integrity sha512-eB0leCexS8sQEmfyD72cdvLj9djkBzQGP4wSQw6SNf2I4Sw4Cnzb3d45caG2FqFFjbvfqL0t+badUUIceqQuMw== - -"@nomicfoundation/edr-darwin-x64@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-x64/-/edr-darwin-x64-0.3.8.tgz#c3ca237c74ed3b6fb800fd7f1de7174f4ad24f72" - integrity sha512-JksVCS1N5ClwVF14EvO25HCQ+Laljh/KRfHERMVAC9ZwPbTuAd/9BtKvToCBi29uCHWqsXMI4lxCApYQv2nznw== - -"@nomicfoundation/edr-linux-arm64-gnu@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-gnu/-/edr-linux-arm64-gnu-0.3.8.tgz#08bd367789e745f4e78a8a87368fc470eea8a7de" - integrity sha512-raCE+fOeNXhVBLUo87cgsHSGvYYRB6arih4eG6B9KGACWK5Veebtm9xtKeiD8YCsdUlUfat6F7ibpeNm91fpsA== - -"@nomicfoundation/edr-linux-arm64-musl@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-musl/-/edr-linux-arm64-musl-0.3.8.tgz#9cab5cbec0052cb5812c6c66c463d28a756cd916" - integrity sha512-PwiDp4wBZWMCIy29eKkv8moTKRrpiSDlrc+GQMSZLhOAm8T33JKKXPwD/2EbplbhCygJDGXZdtEKl9x9PaH66A== - -"@nomicfoundation/edr-linux-x64-gnu@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-gnu/-/edr-linux-x64-gnu-0.3.8.tgz#d4a11b6ebcd1b29d7431d185c6df3e65a2cd4bde" - integrity sha512-6AcvA/XKoipGap5jJmQ9Y6yT7Uf39D9lu2hBcDCXnXbMcXaDGw4mn1/L4R63D+9VGZyu1PqlcJixCUZlGGIWlg== - -"@nomicfoundation/edr-linux-x64-musl@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-musl/-/edr-linux-x64-musl-0.3.8.tgz#b8eef960d06380a365866ddd1e97ecb7fbf6bd70" - integrity sha512-cxb0sEmZjlwhYWO28sPsV64VDx31ekskhC1IsDXU1p9ntjHSJRmW4KEIqJ2O3QwJap/kLKfMS6TckvY10gjc6w== - -"@nomicfoundation/edr-win32-x64-msvc@0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-win32-x64-msvc/-/edr-win32-x64-msvc-0.3.8.tgz#ac7061aeb07cc847c429513080b76bb05297a869" - integrity sha512-yVuVPqRRNLZk7TbBMkKw7lzCvI8XO8fNTPTYxymGadjr9rEGRuNTU1yBXjfJ59I1jJU/X2TSkRk1OFX0P5tpZQ== - -"@nomicfoundation/edr@^0.3.7": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@nomicfoundation/edr/-/edr-0.3.8.tgz#28fe7ae4f462ae74a16cd1a714ff7b1cd9c22b4c" - integrity sha512-u2UJ5QpznSHVkZRh6ePWoeVb6kmPrrqh08gCnZ9FHlJV9CITqlrTQHJkacd+INH31jx88pTAJnxePE4XAiH5qg== - dependencies: - "@nomicfoundation/edr-darwin-arm64" "0.3.8" - "@nomicfoundation/edr-darwin-x64" "0.3.8" - "@nomicfoundation/edr-linux-arm64-gnu" "0.3.8" - "@nomicfoundation/edr-linux-arm64-musl" "0.3.8" - "@nomicfoundation/edr-linux-x64-gnu" "0.3.8" - "@nomicfoundation/edr-linux-x64-musl" "0.3.8" - "@nomicfoundation/edr-win32-x64-msvc" "0.3.8" +"@nomicfoundation/edr-darwin-arm64@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-arm64/-/edr-darwin-arm64-0.6.3.tgz#7f94f80f25bbf8f15421aca0626b1e243c5b6fba" + integrity sha512-hqtI7tYDqKG5PDmZ//Z65EH5cgH8VL/SAAu50rpHP7WAVfJWkOCcYbecywwF6nhHdonJbRTDGAeG1/+VOy6zew== + +"@nomicfoundation/edr-darwin-x64@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-darwin-x64/-/edr-darwin-x64-0.6.3.tgz#57cbbe09c70480e7eb79273ba5a497327d72347b" + integrity sha512-4fGi79/lyOlRUORhCYsYb3sWqRHuHT7qqzyZfZuNOn8llaxmT1k36xNmvpyg37R8SzjnhT/DzoukSJrs23Ip9Q== + +"@nomicfoundation/edr-linux-arm64-gnu@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-gnu/-/edr-linux-arm64-gnu-0.6.3.tgz#122f5ec8b00297e9ed0111405c8779a3c3ba26f3" + integrity sha512-yFFTvGFMhfAvQ1Z2itUh1jpoUA+mVROyVELcaxjIq8fyg602lQmbS+NXkhQ+oaeDgJ+06mSENrHBg4fcfRf9cw== + +"@nomicfoundation/edr-linux-arm64-musl@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-arm64-musl/-/edr-linux-arm64-musl-0.6.3.tgz#2b0371371540373b10521ead4ffa70a2d9e6ac8e" + integrity sha512-pOKmd0Fa3a6BHg5qbjbl/jMRELVi9oazbfiuU7Bvgn/dpTK+ID3jwT0SXiuC2zxjmPByWgXL6G9XRf5BPAM2rQ== + +"@nomicfoundation/edr-linux-x64-gnu@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-gnu/-/edr-linux-x64-gnu-0.6.3.tgz#63849575eddbcd7a5da581d401fba6f5f9347644" + integrity sha512-3AUferhkLIXtLV63w5GjpHttzdxZ36i656XMy+pkBZbbiqnzIVeKWg6DJv1A94fQY16gB4gqj9CLq4CWvbNN6w== + +"@nomicfoundation/edr-linux-x64-musl@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-linux-x64-musl/-/edr-linux-x64-musl-0.6.3.tgz#3b5e6462f47b40cde81bafc6da003c58b2eb9839" + integrity sha512-fr6bD872WIBXe9YnTDi0CzYepMcYRgSnkVqn0yK4wRnIvKrloWhxXNVY45GVIl51aNZguBnvoA4WEt6HIazs3A== + +"@nomicfoundation/edr-win32-x64-msvc@0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr-win32-x64-msvc/-/edr-win32-x64-msvc-0.6.3.tgz#45be7ba94b950e78e862cb3af0c320e070e0e452" + integrity sha512-sn34MvN1ajw2Oq1+Drpxej78Z0HfIzI4p4WlolupAV9dOZKzp2JAIQeLVfZpjIFbF3zuyxLPP4dUBrQoFPEqhA== + +"@nomicfoundation/edr@^0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@nomicfoundation/edr/-/edr-0.6.3.tgz#47f1b217ce5eb09aef419d76a8488bb77cd88b94" + integrity sha512-hThe5ORR75WFYTXKL0K2AyLDxkTMrG+VQ1yL9BhQYsuh3OIH+3yNDxMz2LjfvrpOrMmJ4kk5NKdFewpqDojjXQ== + dependencies: + "@nomicfoundation/edr-darwin-arm64" "0.6.3" + "@nomicfoundation/edr-darwin-x64" "0.6.3" + "@nomicfoundation/edr-linux-arm64-gnu" "0.6.3" + "@nomicfoundation/edr-linux-arm64-musl" "0.6.3" + "@nomicfoundation/edr-linux-x64-gnu" "0.6.3" + "@nomicfoundation/edr-linux-x64-musl" "0.6.3" + "@nomicfoundation/edr-win32-x64-msvc" "0.6.3" "@nomicfoundation/ethereumjs-common@4.0.4": version "4.0.4" @@ -1748,7 +1748,7 @@ chokidar@3.3.0: optionalDependencies: fsevents "~2.1.1" -chokidar@3.5.3, chokidar@^3.4.0, chokidar@^3.5.2: +chokidar@3.5.3, chokidar@^3.5.2: version "3.5.3" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== @@ -1763,6 +1763,13 @@ chokidar@3.5.3, chokidar@^3.4.0, chokidar@^3.5.2: optionalDependencies: fsevents "~2.3.2" +chokidar@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-4.0.1.tgz#4a6dff66798fb0f72a94f616abbd7e1a19f31d41" + integrity sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA== + dependencies: + readdirp "^4.0.1" + chownr@^1.1.1: version "1.1.4" resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.4.tgz#6fc9d7b42d32a583596337666e7d08084da2cc6b" @@ -1869,16 +1876,16 @@ command-exists@^1.2.8: resolved "https://registry.yarnpkg.com/command-exists/-/command-exists-1.2.9.tgz#c50725af3808c8ab0260fd60b01fbfa25b954f69" integrity sha512-LTQ/SGc+s0Xc0Fu5WaKnR0YiygZkm9eKFvyS+fRsU7/ZWFF8ykFM6Pc9aCVf1+xasOOZpO3BAVgVrKvsqKHV7w== -commander@3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/commander/-/commander-3.0.2.tgz#6837c3fb677ad9933d1cfba42dd14d5117d6b39e" - integrity sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow== - commander@^10.0.0: version "10.0.1" resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== +commander@^8.1.0: + version "8.3.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + commander@^9.3.0: version "9.5.0" resolved "https://registry.yarnpkg.com/commander/-/commander-9.5.0.tgz#bc08d1eb5cedf7ccb797a96199d41c7bc3e60d30" @@ -2760,17 +2767,6 @@ fs-constants@^1.0.0: resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== -fs-extra@^0.30.0: - version "0.30.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.30.0.tgz#f233ffcc08d4da7d432daa449776989db1df93f0" - integrity sha512-UvSPKyhMn6LEd/WpUaV9C9t3zATuqoqfWc3QdPhPLb58prN9tqYPlPWi8Krxi44loBoUzlobqZ3+8tGpxxSzwA== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^2.1.0" - klaw "^1.0.0" - path-is-absolute "^1.0.0" - rimraf "^2.2.8" - fs-extra@^10.0.0, fs-extra@^10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.1.0.tgz#02873cfbc4084dde127eaa5f9905eef2325d1abf" @@ -3063,7 +3059,7 @@ graceful-fs@4.2.10: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== -graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0: +graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0: version "4.2.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== @@ -3165,14 +3161,14 @@ hardhat-tracer@^2.8.1: debug "^4.3.4" ethers "^5.6.1" -hardhat@^2.22.4: - version "2.22.4" - resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.22.4.tgz#766227b6cefca5dbf4fd15ab5b5a68138fa13baf" - integrity sha512-09qcXJFBHQUaraJkYNr7XlmwjOj27xBB0SL2rYS024hTj9tPMbp26AFjlf5quBMO9SR4AJFg+4qWahcYcvXBuQ== +hardhat@^2.22.13: + version "2.22.13" + resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.22.13.tgz#1d2c7c4b640d060ae0f5b04757322118a003955a" + integrity sha512-psVJX4FSXDpSXwsU8OcKTJN04pQEj9cFBMX5OPko+OFwbIoiOpvRmafa954/UaA1934npTj8sV3gaTSdx9bPbA== dependencies: "@ethersproject/abi" "^5.1.2" "@metamask/eth-sig-util" "^4.0.0" - "@nomicfoundation/edr" "^0.3.7" + "@nomicfoundation/edr" "^0.6.3" "@nomicfoundation/ethereumjs-common" "4.0.4" "@nomicfoundation/ethereumjs-tx" "5.0.4" "@nomicfoundation/ethereumjs-util" "9.0.4" @@ -3185,7 +3181,7 @@ hardhat@^2.22.4: ansi-escapes "^4.3.0" boxen "^5.1.2" chalk "^2.4.2" - chokidar "^3.4.0" + chokidar "^4.0.0" ci-info "^2.0.0" debug "^4.1.1" enquirer "^2.3.0" @@ -3198,6 +3194,7 @@ hardhat@^2.22.4: glob "7.2.0" immutable "^4.0.0-rc.12" io-ts "1.10.4" + json-stream-stringify "^3.1.4" keccak "^3.0.2" lodash "^4.17.11" mnemonist "^0.38.0" @@ -3206,7 +3203,7 @@ hardhat@^2.22.4: raw-body "^2.4.1" resolve "1.17.0" semver "^6.3.0" - solc "0.7.3" + solc "0.8.26" source-map-support "^0.5.13" stacktrace-parser "^0.1.10" tsort "0.0.1" @@ -3730,18 +3727,16 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== +json-stream-stringify@^3.1.4: + version "3.1.6" + resolved "https://registry.yarnpkg.com/json-stream-stringify/-/json-stream-stringify-3.1.6.tgz#ebe32193876fb99d4ec9f612389a8d8e2b5d54d4" + integrity sha512-x7fpwxOkbhFCaJDJ8vb1fBY3DdSa4AlITaz+HHILQJzdPMnHEFjxPwVUi1ALIbcIxDE0PNe/0i7frnY8QnBQog== + json-stringify-safe@~5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== -jsonfile@^2.1.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" - integrity sha512-PKllAqbgLgxHaj8TElYymKCAgrASebJrWpTnEkOaTowt23VKXXN0sUeriJ+eh7y6ufb/CC5ap11pz71/cM0hUw== - optionalDependencies: - graceful-fs "^4.1.6" - jsonfile@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" @@ -3794,13 +3789,6 @@ kind-of@^6.0.2: resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== -klaw@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" - integrity sha512-TED5xi9gGQjGpNnvRWknrwAB1eL5GciPfVFOt3Vk1OJCVDQbzuSfrF3hkUQKlsgKrG1F+0t5W0m+Fje1jIt8rw== - optionalDependencies: - graceful-fs "^4.1.9" - latest-version@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-7.0.0.tgz#843201591ea81a4d404932eeb61240fe04e9e5da" @@ -4709,6 +4697,11 @@ readable-stream@^3.1.1, readable-stream@^3.4.0, readable-stream@^3.6.0: string_decoder "^1.1.1" util-deprecate "^1.0.1" +readdirp@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.0.2.tgz#388fccb8b75665da3abffe2d8f8ed59fe74c230a" + integrity sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA== + readdirp@~3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.2.0.tgz#c30c33352b12c96dfb4b895421a49fd5a9593839" @@ -4831,7 +4824,7 @@ require-directory@^2.1.1: resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== -require-from-string@^2.0.0, require-from-string@^2.0.2: +require-from-string@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== @@ -4889,13 +4882,6 @@ reusify@^1.0.4: resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== -rimraf@^2.2.8: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w== - dependencies: - glob "^7.1.3" - rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" @@ -5138,18 +5124,16 @@ slice-ansi@^4.0.0: astral-regex "^2.0.0" is-fullwidth-code-point "^3.0.0" -solc@0.7.3: - version "0.7.3" - resolved "https://registry.yarnpkg.com/solc/-/solc-0.7.3.tgz#04646961bd867a744f63d2b4e3c0701ffdc7d78a" - integrity sha512-GAsWNAjGzIDg7VxzP6mPjdurby3IkGCjQcM8GFYZT6RyaoUZKmMU6Y7YwG+tFGhv7dwZ8rmR4iwFDrrD99JwqA== +solc@0.8.26: + version "0.8.26" + resolved "https://registry.yarnpkg.com/solc/-/solc-0.8.26.tgz#afc78078953f6ab3e727c338a2fefcd80dd5b01a" + integrity sha512-yiPQNVf5rBFHwN6SIf3TUUvVAFKcQqmSUFeq+fb6pNRCo0ZCgpYOZDi3BVoezCPIAcKrVYd/qXlBLUP9wVrZ9g== dependencies: command-exists "^1.2.8" - commander "3.0.2" + commander "^8.1.0" follow-redirects "^1.12.1" - fs-extra "^0.30.0" js-sha3 "0.8.0" memorystream "^0.3.1" - require-from-string "^2.0.0" semver "^5.5.0" tmp "0.0.33" From 425a6267cca8cfa35c8f780cc0a205b3ae450618 Mon Sep 17 00:00:00 2001 From: Aleksandr Kuperman Date: Mon, 14 Oct 2024 18:21:54 +0100 Subject: [PATCH 2/2] chore: move to 0.8.28 --- abis/{0.8.27 => 0.8.28}/OptimismMessenger.json | 4 ++-- hardhat.config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename abis/{0.8.27 => 0.8.28}/OptimismMessenger.json (98%) diff --git a/abis/0.8.27/OptimismMessenger.json b/abis/0.8.28/OptimismMessenger.json similarity index 98% rename from abis/0.8.27/OptimismMessenger.json rename to abis/0.8.28/OptimismMessenger.json index 196c9c4..291ac49 100644 --- a/abis/0.8.27/OptimismMessenger.json +++ b/abis/0.8.28/OptimismMessenger.json @@ -294,8 +294,8 @@ "type": "receive" } ], - "bytecode": "0x60a060405234801561000f575f5ffd5b50604051610b60380380610b6083398101604081905261002e916100ab565b6001600160a01b038216158061004b57506001600160a01b038116155b156100695760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b039182166080525f80546001600160a01b031916919092161790556100dc565b80516001600160a01b03811681146100a6575f5ffd5b919050565b5f5f604083850312156100bc575f5ffd5b6100c583610090565b91506100d360208401610090565b90509250929050565b608051610a586101085f395f818160ac01528181610191015281816101f901526102730152610a585ff3fe60806040526004361061005b575f3560e01c8063e3b94a2311610041578063e3b94a231461010d578063f02fb77414610138578063f8b4870f1461015a575f5ffd5b8063c84043301461009b578063d3042d2b146100f8575f5ffd5b366100975760405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2005b5f5ffd5b3480156100a6575f5ffd5b506100ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010b6101063660046107a7565b610179565b005b348015610118575f5ffd5b505f546100ce9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610143575f5ffd5b5061014c602481565b6040519081526020016100ef565b348015610165575f5ffd5b5061010b6101743660046108bb565b6103c4565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461022b576040517f2f3111fa00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b5f8054604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff92831693927f00000000000000000000000000000000000000000000000000000000000000001691636e296e45916004808301926020929190829003018187875af11580156102bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906108dd565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610368576040517f978c830c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015283166024820152604401610222565b610371836104be565b8173ffffffffffffffffffffffffffffffffffffffff167f3c64b439784b3c09eba93acf868463aed0e339a92920e1d8822118261dfc1a7d846040516103b79190610944565b60405180910390a2505050565b333014610405576040517f0dbc9bfc000000000000000000000000000000000000000000000000000000008152336004820152306024820152604401610222565b73ffffffffffffffffffffffffffffffffffffffff8116610452576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fbbc9d5867fd60faf098cfaa8adb3402dd83501cc76385968ddbb6b2610800f8e91a250565b805160248110156105095781516040517f34c9027a00000000000000000000000000000000000000000000000000000000815261022291602491600401918252602082015260400190565b5f5b8181101561077557828101601481015160208201516024928301519290930192909173ffffffffffffffffffffffffffffffffffffffff831661057a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47826bffffffffffffffffffffffff1611156105d8576040517fcf4791810000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff83166004820152476024820152604401610222565b5f8163ffffffff1667ffffffffffffffff8111156105f8576105f861077a565b6040519080825280601f01601f191660200182016040528015610622576020820181803683370190505b5090505f5b8263ffffffff168110156106a357876106408288610956565b8151811061065057610650610994565b602001015160f81c60f81b82828151811061066d5761066d610994565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610627565b506106b463ffffffff831686610956565b94505f8473ffffffffffffffffffffffffffffffffffffffff16846bffffffffffffffffffffffff16836040516106eb91906109c1565b5f6040518083038185875af1925050503d805f8114610725576040519150601f19603f3d011682016040523d82523d5f602084013e61072a565b606091505b505090508061076b578484836040517f6cfc79a5000000000000000000000000000000000000000000000000000000008152600401610222939291906109d7565b505050505061050b565b505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f602082840312156107b7575f5ffd5b813567ffffffffffffffff8111156107cd575f5ffd5b8201601f810184136107dd575f5ffd5b803567ffffffffffffffff8111156107f7576107f761077a565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff821117156108635761086361077a565b60405281815282820160200186101561087a575f5ffd5b816020840160208301375f91810160200191909152949350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146108b8575f5ffd5b50565b5f602082840312156108cb575f5ffd5b81356108d681610897565b9392505050565b5f602082840312156108ed575f5ffd5b81516108d681610897565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6108d660208301846108f8565b8082018082111561098e577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82518060208501845e5f920191825250919050565b73ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff83166020820152606060408201525f610a1960608301846108f8565b9594505050505056fea264697066735822122098a2cac96263237c1787a1ca179bac0fe93ebf2f79e8b1e4b394d9ff3a2551b964736f6c634300081b0033", - "deployedBytecode": "0x60806040526004361061005b575f3560e01c8063e3b94a2311610041578063e3b94a231461010d578063f02fb77414610138578063f8b4870f1461015a575f5ffd5b8063c84043301461009b578063d3042d2b146100f8575f5ffd5b366100975760405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2005b5f5ffd5b3480156100a6575f5ffd5b506100ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010b6101063660046107a7565b610179565b005b348015610118575f5ffd5b505f546100ce9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610143575f5ffd5b5061014c602481565b6040519081526020016100ef565b348015610165575f5ffd5b5061010b6101743660046108bb565b6103c4565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461022b576040517f2f3111fa00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b5f8054604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff92831693927f00000000000000000000000000000000000000000000000000000000000000001691636e296e45916004808301926020929190829003018187875af11580156102bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906108dd565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610368576040517f978c830c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015283166024820152604401610222565b610371836104be565b8173ffffffffffffffffffffffffffffffffffffffff167f3c64b439784b3c09eba93acf868463aed0e339a92920e1d8822118261dfc1a7d846040516103b79190610944565b60405180910390a2505050565b333014610405576040517f0dbc9bfc000000000000000000000000000000000000000000000000000000008152336004820152306024820152604401610222565b73ffffffffffffffffffffffffffffffffffffffff8116610452576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fbbc9d5867fd60faf098cfaa8adb3402dd83501cc76385968ddbb6b2610800f8e91a250565b805160248110156105095781516040517f34c9027a00000000000000000000000000000000000000000000000000000000815261022291602491600401918252602082015260400190565b5f5b8181101561077557828101601481015160208201516024928301519290930192909173ffffffffffffffffffffffffffffffffffffffff831661057a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47826bffffffffffffffffffffffff1611156105d8576040517fcf4791810000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff83166004820152476024820152604401610222565b5f8163ffffffff1667ffffffffffffffff8111156105f8576105f861077a565b6040519080825280601f01601f191660200182016040528015610622576020820181803683370190505b5090505f5b8263ffffffff168110156106a357876106408288610956565b8151811061065057610650610994565b602001015160f81c60f81b82828151811061066d5761066d610994565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610627565b506106b463ffffffff831686610956565b94505f8473ffffffffffffffffffffffffffffffffffffffff16846bffffffffffffffffffffffff16836040516106eb91906109c1565b5f6040518083038185875af1925050503d805f8114610725576040519150601f19603f3d011682016040523d82523d5f602084013e61072a565b606091505b505090508061076b578484836040517f6cfc79a5000000000000000000000000000000000000000000000000000000008152600401610222939291906109d7565b505050505061050b565b505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f602082840312156107b7575f5ffd5b813567ffffffffffffffff8111156107cd575f5ffd5b8201601f810184136107dd575f5ffd5b803567ffffffffffffffff8111156107f7576107f761077a565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff821117156108635761086361077a565b60405281815282820160200186101561087a575f5ffd5b816020840160208301375f91810160200191909152949350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146108b8575f5ffd5b50565b5f602082840312156108cb575f5ffd5b81356108d681610897565b9392505050565b5f602082840312156108ed575f5ffd5b81516108d681610897565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6108d660208301846108f8565b8082018082111561098e577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82518060208501845e5f920191825250919050565b73ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff83166020820152606060408201525f610a1960608301846108f8565b9594505050505056fea264697066735822122098a2cac96263237c1787a1ca179bac0fe93ebf2f79e8b1e4b394d9ff3a2551b964736f6c634300081b0033", + "bytecode": "0x60a060405234801561000f575f5ffd5b50604051610b60380380610b6083398101604081905261002e916100ab565b6001600160a01b038216158061004b57506001600160a01b038116155b156100695760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b039182166080525f80546001600160a01b031916919092161790556100dc565b80516001600160a01b03811681146100a6575f5ffd5b919050565b5f5f604083850312156100bc575f5ffd5b6100c583610090565b91506100d360208401610090565b90509250929050565b608051610a586101085f395f818160ac01528181610191015281816101f901526102730152610a585ff3fe60806040526004361061005b575f3560e01c8063e3b94a2311610041578063e3b94a231461010d578063f02fb77414610138578063f8b4870f1461015a575f5ffd5b8063c84043301461009b578063d3042d2b146100f8575f5ffd5b366100975760405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2005b5f5ffd5b3480156100a6575f5ffd5b506100ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010b6101063660046107a7565b610179565b005b348015610118575f5ffd5b505f546100ce9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610143575f5ffd5b5061014c602481565b6040519081526020016100ef565b348015610165575f5ffd5b5061010b6101743660046108bb565b6103c4565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461022b576040517f2f3111fa00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b5f8054604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff92831693927f00000000000000000000000000000000000000000000000000000000000000001691636e296e45916004808301926020929190829003018187875af11580156102bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906108dd565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610368576040517f978c830c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015283166024820152604401610222565b610371836104be565b8173ffffffffffffffffffffffffffffffffffffffff167f3c64b439784b3c09eba93acf868463aed0e339a92920e1d8822118261dfc1a7d846040516103b79190610944565b60405180910390a2505050565b333014610405576040517f0dbc9bfc000000000000000000000000000000000000000000000000000000008152336004820152306024820152604401610222565b73ffffffffffffffffffffffffffffffffffffffff8116610452576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fbbc9d5867fd60faf098cfaa8adb3402dd83501cc76385968ddbb6b2610800f8e91a250565b805160248110156105095781516040517f34c9027a00000000000000000000000000000000000000000000000000000000815261022291602491600401918252602082015260400190565b5f5b8181101561077557828101601481015160208201516024928301519290930192909173ffffffffffffffffffffffffffffffffffffffff831661057a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47826bffffffffffffffffffffffff1611156105d8576040517fcf4791810000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff83166004820152476024820152604401610222565b5f8163ffffffff1667ffffffffffffffff8111156105f8576105f861077a565b6040519080825280601f01601f191660200182016040528015610622576020820181803683370190505b5090505f5b8263ffffffff168110156106a357876106408288610956565b8151811061065057610650610994565b602001015160f81c60f81b82828151811061066d5761066d610994565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610627565b506106b463ffffffff831686610956565b94505f8473ffffffffffffffffffffffffffffffffffffffff16846bffffffffffffffffffffffff16836040516106eb91906109c1565b5f6040518083038185875af1925050503d805f8114610725576040519150601f19603f3d011682016040523d82523d5f602084013e61072a565b606091505b505090508061076b578484836040517f6cfc79a5000000000000000000000000000000000000000000000000000000008152600401610222939291906109d7565b505050505061050b565b505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f602082840312156107b7575f5ffd5b813567ffffffffffffffff8111156107cd575f5ffd5b8201601f810184136107dd575f5ffd5b803567ffffffffffffffff8111156107f7576107f761077a565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff821117156108635761086361077a565b60405281815282820160200186101561087a575f5ffd5b816020840160208301375f91810160200191909152949350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146108b8575f5ffd5b50565b5f602082840312156108cb575f5ffd5b81356108d681610897565b9392505050565b5f602082840312156108ed575f5ffd5b81516108d681610897565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6108d660208301846108f8565b8082018082111561098e577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82518060208501845e5f920191825250919050565b73ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff83166020820152606060408201525f610a1960608301846108f8565b9594505050505056fea26469706673582212209d12050ea35a6960a9a6298079b641c00335a704633799ff3870b47d081e597764736f6c634300081c0033", + "deployedBytecode": "0x60806040526004361061005b575f3560e01c8063e3b94a2311610041578063e3b94a231461010d578063f02fb77414610138578063f8b4870f1461015a575f5ffd5b8063c84043301461009b578063d3042d2b146100f8575f5ffd5b366100975760405134815233907f8e47b87b0ef542cdfa1659c551d88bad38aa7f452d2bbb349ab7530dfec8be8f9060200160405180910390a2005b5f5ffd5b3480156100a6575f5ffd5b506100ce7f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b61010b6101063660046107a7565b610179565b005b348015610118575f5ffd5b505f546100ce9073ffffffffffffffffffffffffffffffffffffffff1681565b348015610143575f5ffd5b5061014c602481565b6040519081526020016100ef565b348015610165575f5ffd5b5061010b6101743660046108bb565b6103c4565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161461022b576040517f2f3111fa00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001660248201526044015b60405180910390fd5b5f8054604080517f6e296e45000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff92831693927f00000000000000000000000000000000000000000000000000000000000000001691636e296e45916004808301926020929190829003018187875af11580156102bd573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102e191906108dd565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610368576040517f978c830c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff808316600483015283166024820152604401610222565b610371836104be565b8173ffffffffffffffffffffffffffffffffffffffff167f3c64b439784b3c09eba93acf868463aed0e339a92920e1d8822118261dfc1a7d846040516103b79190610944565b60405180910390a2505050565b333014610405576040517f0dbc9bfc000000000000000000000000000000000000000000000000000000008152336004820152306024820152604401610222565b73ffffffffffffffffffffffffffffffffffffffff8116610452576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff8316908117825560405190917fbbc9d5867fd60faf098cfaa8adb3402dd83501cc76385968ddbb6b2610800f8e91a250565b805160248110156105095781516040517f34c9027a00000000000000000000000000000000000000000000000000000000815261022291602491600401918252602082015260400190565b5f5b8181101561077557828101601481015160208201516024928301519290930192909173ffffffffffffffffffffffffffffffffffffffff831661057a576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47826bffffffffffffffffffffffff1611156105d8576040517fcf4791810000000000000000000000000000000000000000000000000000000081526bffffffffffffffffffffffff83166004820152476024820152604401610222565b5f8163ffffffff1667ffffffffffffffff8111156105f8576105f861077a565b6040519080825280601f01601f191660200182016040528015610622576020820181803683370190505b5090505f5b8263ffffffff168110156106a357876106408288610956565b8151811061065057610650610994565b602001015160f81c60f81b82828151811061066d5761066d610994565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600101610627565b506106b463ffffffff831686610956565b94505f8473ffffffffffffffffffffffffffffffffffffffff16846bffffffffffffffffffffffff16836040516106eb91906109c1565b5f6040518083038185875af1925050503d805f8114610725576040519150601f19603f3d011682016040523d82523d5f602084013e61072a565b606091505b505090508061076b578484836040517f6cfc79a5000000000000000000000000000000000000000000000000000000008152600401610222939291906109d7565b505050505061050b565b505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f602082840312156107b7575f5ffd5b813567ffffffffffffffff8111156107cd575f5ffd5b8201601f810184136107dd575f5ffd5b803567ffffffffffffffff8111156107f7576107f761077a565b6040517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0603f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8501160116810181811067ffffffffffffffff821117156108635761086361077a565b60405281815282820160200186101561087a575f5ffd5b816020840160208301375f91810160200191909152949350505050565b73ffffffffffffffffffffffffffffffffffffffff811681146108b8575f5ffd5b50565b5f602082840312156108cb575f5ffd5b81356108d681610897565b9392505050565b5f602082840312156108ed575f5ffd5b81516108d681610897565b5f81518084528060208401602086015e5f6020828601015260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f83011685010191505092915050565b602081525f6108d660208301846108f8565b8082018082111561098e577f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82518060208501845e5f920191825250919050565b73ffffffffffffffffffffffffffffffffffffffff841681526bffffffffffffffffffffffff83166020820152606060408201525f610a1960608301846108f8565b9594505050505056fea26469706673582212209d12050ea35a6960a9a6298079b641c00335a704633799ff3870b47d081e597764736f6c634300081c0033", "linkReferences": {}, "deployedLinkReferences": {} } diff --git a/hardhat.config.js b/hardhat.config.js index fc230f2..fc397cb 100644 --- a/hardhat.config.js +++ b/hardhat.config.js @@ -252,7 +252,7 @@ module.exports = { solidity: { compilers: [ { - version: "0.8.27", + version: "0.8.28", settings: { optimizer: { enabled: true,