diff --git a/.gitignore b/.gitignore index 158569df6..914bb815b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,8 +5,6 @@ cache # ignore non repo contract related aritifacts artifacts/@openzeppelin artifacts/build-info -artifacts/contracts -artifacts/ .openzeppelin/unknown-298.json .env test-results.* diff --git a/artifacts/contracts/base/NoDelegateCall.sol/NoDelegateCall.dbg.json b/artifacts/contracts/base/NoDelegateCall.sol/NoDelegateCall.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/base/NoDelegateCall.sol/NoDelegateCall.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/base/NoDelegateCall.sol/NoDelegateCall.json b/artifacts/contracts/base/NoDelegateCall.sol/NoDelegateCall.json new file mode 100644 index 000000000..ad2b79612 --- /dev/null +++ b/artifacts/contracts/base/NoDelegateCall.sol/NoDelegateCall.json @@ -0,0 +1,10 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "NoDelegateCall", + "sourceName": "contracts/base/NoDelegateCall.sol", + "abi": [], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/diamond-pattern/Diamond.sol/Diamond.dbg.json b/artifacts/contracts/diamond-pattern/Diamond.sol/Diamond.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/diamond-pattern/Diamond.sol/Diamond.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/DiamondInit.sol/DiamondInit.dbg.json b/artifacts/contracts/diamond-pattern/DiamondInit.sol/DiamondInit.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/diamond-pattern/DiamondInit.sol/DiamondInit.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/facets/DiamondCutFacet.sol/DiamondCutFacet.dbg.json b/artifacts/contracts/diamond-pattern/facets/DiamondCutFacet.sol/DiamondCutFacet.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/facets/DiamondCutFacet.sol/DiamondCutFacet.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/facets/DiamondLoupeFacet.sol/DiamondLoupeFacet.dbg.json b/artifacts/contracts/diamond-pattern/facets/DiamondLoupeFacet.sol/DiamondLoupeFacet.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/facets/DiamondLoupeFacet.sol/DiamondLoupeFacet.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/facets/OwnershipFacet.sol/OwnershipFacet.dbg.json b/artifacts/contracts/diamond-pattern/facets/OwnershipFacet.sol/OwnershipFacet.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/facets/OwnershipFacet.sol/OwnershipFacet.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/facets/Test1Facet.sol/Test1Facet.dbg.json b/artifacts/contracts/diamond-pattern/facets/Test1Facet.sol/Test1Facet.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/facets/Test1Facet.sol/Test1Facet.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/facets/Test2Facet.sol/Test2Facet.dbg.json b/artifacts/contracts/diamond-pattern/facets/Test2Facet.sol/Test2Facet.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/facets/Test2Facet.sol/Test2Facet.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json b/artifacts/contracts/diamond-pattern/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/interfaces/IDiamondCut.sol/IDiamondCut.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json b/artifacts/contracts/diamond-pattern/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/interfaces/IDiamondLoupe.sol/IDiamondLoupe.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/interfaces/IERC165.sol/IERC165.dbg.json b/artifacts/contracts/diamond-pattern/interfaces/IERC165.sol/IERC165.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/interfaces/IERC165.sol/IERC165.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/interfaces/IERC173.sol/IERC173.dbg.json b/artifacts/contracts/diamond-pattern/interfaces/IERC173.sol/IERC173.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/interfaces/IERC173.sol/IERC173.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/diamond-pattern/libraries/LibDiamond.sol/LibDiamond.dbg.json b/artifacts/contracts/diamond-pattern/libraries/LibDiamond.sol/LibDiamond.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/diamond-pattern/libraries/LibDiamond.sol/LibDiamond.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/erc-1155/ERC1155Mock.sol/ERC1155Mock.dbg.json b/artifacts/contracts/erc-1155/ERC1155Mock.sol/ERC1155Mock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/erc-1155/ERC1155Mock.sol/ERC1155Mock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20BurnableMock.dbg.json b/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20BurnableMock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20BurnableMock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20CappedMock.dbg.json b/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20CappedMock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20CappedMock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20PausableMock.dbg.json b/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20PausableMock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/erc-20-extensions/ERC20Extensions.sol/ERC20PausableMock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/erc-20/ERC20Mock.sol/ERC20Mock.dbg.json b/artifacts/contracts/erc-20/ERC20Mock.sol/ERC20Mock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/erc-20/ERC20Mock.sol/ERC20Mock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/erc-721/ERC721Mock.sol/ERC721Mock.dbg.json b/artifacts/contracts/erc-721/ERC721Mock.sol/ERC721Mock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/erc-721/ERC721Mock.sol/ERC721Mock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/evm/Precompiles.sol/Precompiles.dbg.json b/artifacts/contracts/evm/Precompiles.sol/Precompiles.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/evm/Precompiles.sol/Precompiles.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/evm/Precompiles.sol/Precompiles.json b/artifacts/contracts/evm/Precompiles.sol/Precompiles.json new file mode 100644 index 000000000..2fede3fae --- /dev/null +++ b/artifacts/contracts/evm/Precompiles.sol/Precompiles.json @@ -0,0 +1,312 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Precompiles", + "sourceName": "contracts/evm/Precompiles.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "DebugBytes", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "DebugUint256", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint32", + "name": "rounds", + "type": "uint32" + }, + { + "internalType": "bytes32[2]", + "name": "h", + "type": "bytes32[2]" + }, + { + "internalType": "bytes32[4]", + "name": "m", + "type": "bytes32[4]" + }, + { + "internalType": "bytes8[2]", + "name": "t", + "type": "bytes8[2]" + }, + { + "internalType": "bool", + "name": "f", + "type": "bool" + } + ], + "name": "blake2", + "outputs": [ + { + "internalType": "bytes32[2]", + "name": "", + "type": "bytes32[2]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "input", + "type": "string" + } + ], + "name": "computeRipemd160Hash", + "outputs": [ + { + "internalType": "bytes20", + "name": "", + "type": "bytes20" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "input", + "type": "string" + } + ], + "name": "computeSha256Hash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[2]", + "name": "point1", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2]", + "name": "point2", + "type": "uint256[2]" + } + ], + "name": "ecAdd", + "outputs": [ + { + "internalType": "uint256[2]", + "name": "result", + "type": "uint256[2]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[2]", + "name": "point", + "type": "uint256[2]" + }, + { + "internalType": "uint256", + "name": "k", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "prime", + "type": "uint256" + } + ], + "name": "ecMul", + "outputs": [ + { + "internalType": "uint256[2]", + "name": "result", + "type": "uint256[2]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[2]", + "name": "_pA", + "type": "uint256[2]" + }, + { + "internalType": "uint256[2][2]", + "name": "_pB", + "type": "uint256[2][2]" + }, + { + "internalType": "uint256[2]", + "name": "_pC", + "type": "uint256[2]" + }, + { + "internalType": "uint256[1]", + "name": "_pubSignals", + "type": "uint256[1]" + } + ], + "name": "ecPairing", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "input", + "type": "uint256" + } + ], + "name": "getIdentity", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256[2]", + "name": "point", + "type": "uint256[2]" + }, + { + "internalType": "uint256", + "name": "prime", + "type": "uint256" + } + ], + "name": "isOnCurve", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "base", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "exponent", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "modulus", + "type": "uint256" + } + ], + "name": "modExp", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "hashedMessage", + "type": "bytes32" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + }, + { + "internalType": "address", + "name": "expectedSigner", + "type": "address" + } + ], + "name": "verifySignature", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611142806100206000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806385e3f0581161006657806385e3f05814610132578063882beca414610147578063a044ed911461015a578063a867d0ca1461016d578063ec00e0ce1461018057600080fd5b806320d083be146100a357806329bcb04d146100cb5780633148f14f146100ec5780635b053f20146100ff5780636f7dad291461011f575b600080fd5b6100b66100b1366004610c11565b6101b1565b60405190151581526020015b60405180910390f35b6100de6100d9366004610c3c565b610214565b6040519081526020016100c2565b6100de6100fa366004610ced565b610283565b61011261010d366004610d19565b61040d565b6040516100c29190610d4d565b61011261012d366004610e07565b6104a5565b6100de610140366004610eed565b5060043590565b6100b6610155366004610f17565b6105b4565b6100b6610168366004610f7d565b610a15565b61011261017b366004610ff2565b610a9e565b61019361018e366004610c3c565b610aea565b6040516bffffffffffffffffffffffff1990911681526020016100c2565b81516020830151600091908284806101cb576101cb611027565b8283099050600085806101e0576101e0611027565b600387806101f0576101f0611027565b8689806101ff576101ff611027565b88890909089190911493505050505b92915050565b60006002826040516020016102299190611061565b60408051601f198184030181529082905261024391611061565b602060405180830381855afa158015610260573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061020e919061107d565b6040518381526000906020907f43d4b4706539f9e22baf8767ebea21ad24f723f14b6981664ac4d0af596dddbe90820160405180910390a16040518481527f43d4b4706539f9e22baf8767ebea21ad24f723f14b6981664ac4d0af596dddbe9060200160405180910390a16040518381527f43d4b4706539f9e22baf8767ebea21ad24f723f14b6981664ac4d0af596dddbe9060200160405180910390a17faf5a5af90a78ece430d7df503b54fc4070844db69884a9a4afb00710a4816e538560405160200161035591815260200190565b60408051601f1981840301815282825260208301889052910160408051601f1981840301815282825260208301889052910160408051601f19818403018152908290526103a6939291602001611096565b60408051601f19818403018152908290526103c0916110d9565b60405180910390a16040518181528160208201528160408201528560608201528460808201528360a082015260208160c08360006005600019f161040357600080fd5b5195945050505050565b610415610b46565b61041f84836101b1565b61046f5760405162461bcd60e51b815260206004820152601960248201527f506f696e74206973206e6f74206f6e2074686520637572766500000000000000604482015260640160405180910390fd5b604051845181526020850151602082015283604082015260408160608360006007600019f161049d57600080fd5b949350505050565b6104ad610b46565b6104b5610b46565b600087878260200201518860016020020151886000602002015189600160200201518a600260200201518b600360200201518b600060200201518c6001602090810291909101516040517fffffffff0000000000000000000000000000000000000000000000000000000060e09b909b1b9a909a16918a0191909152602489019790975260448801959095526064870193909352608486019190915260a485015260c48401526001600160c01b031990811660e48401521660ec82015284151560f81b60f482015260f501604051602081830303815290604052905060408260d5602084016009600019fa6105a957600080fd5b509695505050505050565b60006109d7565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4781106105ec576000805260206000f35b50565b600060405183815284602082015285604082015260408160608360076107d05a03fa915081610622576000805260206000f35b825160408201526020830151606082015260408360808360066107d05a03fa91505080610653576000805260206000f35b5050505050565b7f13bf597436e86b6a6cb22056689a0939d14f28a4e4b45c840c7cc16c3515b72385527f124d0e025bf1c4c1d8e689b45c7337aecb6d9fc454f1da47efc4ff310efad0f16020860152600060808601866106f787357f29f868ed2d8391d33354210603033fab4cdfc1b49d742fb8e55f71b7dded7ed77f1772c761cecc02547d68d90699d888775f490d41f2745c5cf21033a012f92ab5846105ef565b50823581527f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208401357f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4703066020820152833560408201526020840135606082015260408401356080820152606084013560a08201527f04678aa097c41849346c22e2c6ba468610cd7f96fc57a558cab4cb289948688660c08201527f2637c0b3c7ccb58e7810bab221dcc6cf104bff744082d6407e0cd8a6471f4e7d60e08201527f1a73912db196f1079d62c53b574f73e5e00fcc5f278e9aafec4e611cfda25a656101008201527f1b1f63d56234497ccf10d4e118e6de33f84ec5aa33774bf91533c624f29b8fca6101208201527f2f09bc71b4dad92a1edbc06fe348240b7690094f50211f85b796d24612017e006101408201527f19b433129fb924cc4b84374b8f560ded19d548f4cfd8522fb07271dc46a27e68610160820152600087015161018082015260206000018701516101a08201527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c26101c08201527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed6101e08201527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b6102008201527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa610220820152843561024082015260208501356102608201527f04717af06bf4db421d548efd0a7ea57997677fd5a91fbf72cbd67dd2c14baab06102808201527f052062f5cc1bc3e4f88479a2e483d650e3c7d393c0b87c214b6266c53520e21f6102a08201527f1668f5d4ce00503fa7def4138f9f62b45ac62a4128658eff32008872768eb14e6102c08201527f16a66275ba6bf32278578785503bc6ca8d776da1ae142eca87a98b3d9868c64e6102e08201526020816103008360086107d05a03fa9051169695505050505050565b60405161038081016040526109ef60008401356105bb565b6109fc60208401356105bb565b610a09818486888a61065a565b90508060005260206000f35b6040805160008082526020820180845288905260ff8716928201929092526060810185905260808101849052819060019060a0016020604051602081039080840390855afa158015610a6b573d6000803e3d6000fd5b5050604051601f19015173ffffffffffffffffffffffffffffffffffffffff908116908516149250505095945050505050565b610aa6610b46565b610aae610b64565b83518152602080850151828201528351604080840191909152908401516060830152826080836006600019fa610ae357600080fd5b5092915050565b6000600382604051602001610aff9190611061565b60408051601f1981840301815290829052610b1991611061565b602060405180830381855afa158015610b36573d6000803e3d6000fd5b50506040515160601b9392505050565b60405180604001604052806002906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610bbb57610bbb610b82565b60405290565b600082601f830112610bd257600080fd5b610bda610b98565b806040840185811115610bec57600080fd5b845b81811015610c06578035845260209384019301610bee565b509095945050505050565b60008060608385031215610c2457600080fd5b610c2e8484610bc1565b946040939093013593505050565b600060208284031215610c4e57600080fd5b813567ffffffffffffffff80821115610c6657600080fd5b818401915084601f830112610c7a57600080fd5b813581811115610c8c57610c8c610b82565b604051601f8201601f19908116603f01168101908382118183101715610cb457610cb4610b82565b81604052828152876020848701011115610ccd57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080600060608486031215610d0257600080fd5b505081359360208301359350604090920135919050565b600080600060808486031215610d2e57600080fd5b610d388585610bc1565b95604085013595506060909401359392505050565b60408101818360005b6002811015610d75578151835260209283019290910190600101610d56565b50505092915050565b6000610d88610b98565b9050806040830184811115610d9c57600080fd5b835b81811015610d75578035835260209283019201610d9e565b60006040516080810181811067ffffffffffffffff82111715610ddb57610ddb610b82565b6040529050806080830184811115610d9c57600080fd5b80358015158114610e0257600080fd5b919050565b60008060008060006101408688031215610e2057600080fd5b853563ffffffff81168114610e3457600080fd5b94506020603f87018813610e4757600080fd5b610e5388828901610d7e565b945087607f880112610e6457600080fd5b610e718860608901610db6565b93508760ff880112610e8257600080fd5b610e8a610b98565b8061012089018a811115610e9d57600080fd5b60e08a015b81811015610ed05780356001600160c01b031981168114610ec35760008081fd5b8452928401928401610ea2565b50819550610edd81610df2565b9450505050509295509295909350565b600060208284031215610eff57600080fd5b5035919050565b806040810183101561020e57600080fd5b600080600080610120808688031215610f2f57600080fd5b610f398787610f06565b945060c0860187811115610f4c57600080fd5b604087019450610f5c8882610f06565b935050868187011115610f6e57600080fd5b50929591945092610100019150565b600080600080600060a08688031215610f9557600080fd5b85359450602086013560ff81168114610fad57600080fd5b93506040860135925060608601359150608086013573ffffffffffffffffffffffffffffffffffffffff81168114610fe457600080fd5b809150509295509295909350565b6000806080838503121561100557600080fd5b61100f8484610bc1565b915061101e8460408501610bc1565b90509250929050565b634e487b7160e01b600052601260045260246000fd5b60005b83811015611058578181015183820152602001611040565b50506000910152565b6000825161107381846020870161103d565b9190910192915050565b60006020828403121561108f57600080fd5b5051919050565b600084516110a881846020890161103d565b8451908301906110bc81836020890161103d565b84519101906110cf81836020880161103d565b0195945050505050565b60208152600082518060208401526110f881604085016020870161103d565b601f01601f1916919091016040019291505056fea2646970667358221220342e625ede5ee045c927cc8e11ca1c4c18c3fd4f6a890262186e2f2d13d19f6f64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c806385e3f0581161006657806385e3f05814610132578063882beca414610147578063a044ed911461015a578063a867d0ca1461016d578063ec00e0ce1461018057600080fd5b806320d083be146100a357806329bcb04d146100cb5780633148f14f146100ec5780635b053f20146100ff5780636f7dad291461011f575b600080fd5b6100b66100b1366004610c11565b6101b1565b60405190151581526020015b60405180910390f35b6100de6100d9366004610c3c565b610214565b6040519081526020016100c2565b6100de6100fa366004610ced565b610283565b61011261010d366004610d19565b61040d565b6040516100c29190610d4d565b61011261012d366004610e07565b6104a5565b6100de610140366004610eed565b5060043590565b6100b6610155366004610f17565b6105b4565b6100b6610168366004610f7d565b610a15565b61011261017b366004610ff2565b610a9e565b61019361018e366004610c3c565b610aea565b6040516bffffffffffffffffffffffff1990911681526020016100c2565b81516020830151600091908284806101cb576101cb611027565b8283099050600085806101e0576101e0611027565b600387806101f0576101f0611027565b8689806101ff576101ff611027565b88890909089190911493505050505b92915050565b60006002826040516020016102299190611061565b60408051601f198184030181529082905261024391611061565b602060405180830381855afa158015610260573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061020e919061107d565b6040518381526000906020907f43d4b4706539f9e22baf8767ebea21ad24f723f14b6981664ac4d0af596dddbe90820160405180910390a16040518481527f43d4b4706539f9e22baf8767ebea21ad24f723f14b6981664ac4d0af596dddbe9060200160405180910390a16040518381527f43d4b4706539f9e22baf8767ebea21ad24f723f14b6981664ac4d0af596dddbe9060200160405180910390a17faf5a5af90a78ece430d7df503b54fc4070844db69884a9a4afb00710a4816e538560405160200161035591815260200190565b60408051601f1981840301815282825260208301889052910160408051601f1981840301815282825260208301889052910160408051601f19818403018152908290526103a6939291602001611096565b60408051601f19818403018152908290526103c0916110d9565b60405180910390a16040518181528160208201528160408201528560608201528460808201528360a082015260208160c08360006005600019f161040357600080fd5b5195945050505050565b610415610b46565b61041f84836101b1565b61046f5760405162461bcd60e51b815260206004820152601960248201527f506f696e74206973206e6f74206f6e2074686520637572766500000000000000604482015260640160405180910390fd5b604051845181526020850151602082015283604082015260408160608360006007600019f161049d57600080fd5b949350505050565b6104ad610b46565b6104b5610b46565b600087878260200201518860016020020151886000602002015189600160200201518a600260200201518b600360200201518b600060200201518c6001602090810291909101516040517fffffffff0000000000000000000000000000000000000000000000000000000060e09b909b1b9a909a16918a0191909152602489019790975260448801959095526064870193909352608486019190915260a485015260c48401526001600160c01b031990811660e48401521660ec82015284151560f81b60f482015260f501604051602081830303815290604052905060408260d5602084016009600019fa6105a957600080fd5b509695505050505050565b60006109d7565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4781106105ec576000805260206000f35b50565b600060405183815284602082015285604082015260408160608360076107d05a03fa915081610622576000805260206000f35b825160408201526020830151606082015260408360808360066107d05a03fa91505080610653576000805260206000f35b5050505050565b7f13bf597436e86b6a6cb22056689a0939d14f28a4e4b45c840c7cc16c3515b72385527f124d0e025bf1c4c1d8e689b45c7337aecb6d9fc454f1da47efc4ff310efad0f16020860152600060808601866106f787357f29f868ed2d8391d33354210603033fab4cdfc1b49d742fb8e55f71b7dded7ed77f1772c761cecc02547d68d90699d888775f490d41f2745c5cf21033a012f92ab5846105ef565b50823581527f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208401357f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4703066020820152833560408201526020840135606082015260408401356080820152606084013560a08201527f04678aa097c41849346c22e2c6ba468610cd7f96fc57a558cab4cb289948688660c08201527f2637c0b3c7ccb58e7810bab221dcc6cf104bff744082d6407e0cd8a6471f4e7d60e08201527f1a73912db196f1079d62c53b574f73e5e00fcc5f278e9aafec4e611cfda25a656101008201527f1b1f63d56234497ccf10d4e118e6de33f84ec5aa33774bf91533c624f29b8fca6101208201527f2f09bc71b4dad92a1edbc06fe348240b7690094f50211f85b796d24612017e006101408201527f19b433129fb924cc4b84374b8f560ded19d548f4cfd8522fb07271dc46a27e68610160820152600087015161018082015260206000018701516101a08201527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c26101c08201527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed6101e08201527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b6102008201527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa610220820152843561024082015260208501356102608201527f04717af06bf4db421d548efd0a7ea57997677fd5a91fbf72cbd67dd2c14baab06102808201527f052062f5cc1bc3e4f88479a2e483d650e3c7d393c0b87c214b6266c53520e21f6102a08201527f1668f5d4ce00503fa7def4138f9f62b45ac62a4128658eff32008872768eb14e6102c08201527f16a66275ba6bf32278578785503bc6ca8d776da1ae142eca87a98b3d9868c64e6102e08201526020816103008360086107d05a03fa9051169695505050505050565b60405161038081016040526109ef60008401356105bb565b6109fc60208401356105bb565b610a09818486888a61065a565b90508060005260206000f35b6040805160008082526020820180845288905260ff8716928201929092526060810185905260808101849052819060019060a0016020604051602081039080840390855afa158015610a6b573d6000803e3d6000fd5b5050604051601f19015173ffffffffffffffffffffffffffffffffffffffff908116908516149250505095945050505050565b610aa6610b46565b610aae610b64565b83518152602080850151828201528351604080840191909152908401516060830152826080836006600019fa610ae357600080fd5b5092915050565b6000600382604051602001610aff9190611061565b60408051601f1981840301815290829052610b1991611061565b602060405180830381855afa158015610b36573d6000803e3d6000fd5b50506040515160601b9392505050565b60405180604001604052806002906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715610bbb57610bbb610b82565b60405290565b600082601f830112610bd257600080fd5b610bda610b98565b806040840185811115610bec57600080fd5b845b81811015610c06578035845260209384019301610bee565b509095945050505050565b60008060608385031215610c2457600080fd5b610c2e8484610bc1565b946040939093013593505050565b600060208284031215610c4e57600080fd5b813567ffffffffffffffff80821115610c6657600080fd5b818401915084601f830112610c7a57600080fd5b813581811115610c8c57610c8c610b82565b604051601f8201601f19908116603f01168101908382118183101715610cb457610cb4610b82565b81604052828152876020848701011115610ccd57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600080600060608486031215610d0257600080fd5b505081359360208301359350604090920135919050565b600080600060808486031215610d2e57600080fd5b610d388585610bc1565b95604085013595506060909401359392505050565b60408101818360005b6002811015610d75578151835260209283019290910190600101610d56565b50505092915050565b6000610d88610b98565b9050806040830184811115610d9c57600080fd5b835b81811015610d75578035835260209283019201610d9e565b60006040516080810181811067ffffffffffffffff82111715610ddb57610ddb610b82565b6040529050806080830184811115610d9c57600080fd5b80358015158114610e0257600080fd5b919050565b60008060008060006101408688031215610e2057600080fd5b853563ffffffff81168114610e3457600080fd5b94506020603f87018813610e4757600080fd5b610e5388828901610d7e565b945087607f880112610e6457600080fd5b610e718860608901610db6565b93508760ff880112610e8257600080fd5b610e8a610b98565b8061012089018a811115610e9d57600080fd5b60e08a015b81811015610ed05780356001600160c01b031981168114610ec35760008081fd5b8452928401928401610ea2565b50819550610edd81610df2565b9450505050509295509295909350565b600060208284031215610eff57600080fd5b5035919050565b806040810183101561020e57600080fd5b600080600080610120808688031215610f2f57600080fd5b610f398787610f06565b945060c0860187811115610f4c57600080fd5b604087019450610f5c8882610f06565b935050868187011115610f6e57600080fd5b50929591945092610100019150565b600080600080600060a08688031215610f9557600080fd5b85359450602086013560ff81168114610fad57600080fd5b93506040860135925060608601359150608086013573ffffffffffffffffffffffffffffffffffffffff81168114610fe457600080fd5b809150509295509295909350565b6000806080838503121561100557600080fd5b61100f8484610bc1565b915061101e8460408501610bc1565b90509250929050565b634e487b7160e01b600052601260045260246000fd5b60005b83811015611058578181015183820152602001611040565b50506000910152565b6000825161107381846020870161103d565b9190910192915050565b60006020828403121561108f57600080fd5b5051919050565b600084516110a881846020890161103d565b8451908301906110bc81836020890161103d565b84519101906110cf81836020880161103d565b0195945050505050565b60208152600082518060208401526110f881604085016020870161103d565b601f01601f1916919091016040019291505056fea2646970667358221220342e625ede5ee045c927cc8e11ca1c4c18c3fd4f6a890262186e2f2d13d19f6f64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/exchange-rate-precompile/ExchangeRateMock.sol/ExchangeRateMock.dbg.json b/artifacts/contracts/exchange-rate-precompile/ExchangeRateMock.sol/ExchangeRateMock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/exchange-rate-precompile/ExchangeRateMock.sol/ExchangeRateMock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/exchange-rate-precompile/ExchangeRatePrecompile.sol/ExchangeRatePrecompile.dbg.json b/artifacts/contracts/exchange-rate-precompile/ExchangeRatePrecompile.sol/ExchangeRatePrecompile.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/exchange-rate-precompile/ExchangeRatePrecompile.sol/ExchangeRatePrecompile.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/exchange-rate-precompile/IExchangeRate.sol/IExchangeRate.dbg.json b/artifacts/contracts/exchange-rate-precompile/IExchangeRate.sol/IExchangeRate.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/exchange-rate-precompile/IExchangeRate.sol/IExchangeRate.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/exchange-rate-precompile/SelfFunding.sol/SelfFunding.dbg.json b/artifacts/contracts/exchange-rate-precompile/SelfFunding.sol/SelfFunding.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/exchange-rate-precompile/SelfFunding.sol/SelfFunding.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hip-583/ContractTransferTx.sol/ContractTransferTx.dbg.json b/artifacts/contracts/hip-583/ContractTransferTx.sol/ContractTransferTx.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hip-583/ContractTransferTx.sol/ContractTransferTx.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hip-583/ERC20Mock.sol/ERC20Mock.dbg.json b/artifacts/contracts/hip-583/ERC20Mock.sol/ERC20Mock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hip-583/ERC20Mock.sol/ERC20Mock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hip-583/ERC721Mock.sol/ERC721Mock.dbg.json b/artifacts/contracts/hip-583/ERC721Mock.sol/ERC721Mock.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hip-583/ERC721Mock.sol/ERC721Mock.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/ExpiryHelper.sol/ExpiryHelper.dbg.json b/artifacts/contracts/hts-precompile/ExpiryHelper.sol/ExpiryHelper.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/ExpiryHelper.sol/ExpiryHelper.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/FeeHelper.sol/FeeHelper.dbg.json b/artifacts/contracts/hts-precompile/FeeHelper.sol/FeeHelper.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/FeeHelper.sol/FeeHelper.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/HederaResponseCodes.sol/HederaResponseCodes.dbg.json b/artifacts/contracts/hts-precompile/HederaResponseCodes.sol/HederaResponseCodes.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/HederaResponseCodes.sol/HederaResponseCodes.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/HederaTokenService.sol/HederaTokenService.dbg.json b/artifacts/contracts/hts-precompile/HederaTokenService.sol/HederaTokenService.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/HederaTokenService.sol/HederaTokenService.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/IHRC.sol/IHRC.dbg.json b/artifacts/contracts/hts-precompile/IHRC.sol/IHRC.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/IHRC.sol/IHRC.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/IHederaTokenService.sol/IHederaTokenService.dbg.json b/artifacts/contracts/hts-precompile/IHederaTokenService.sol/IHederaTokenService.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/IHederaTokenService.sol/IHederaTokenService.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/KeyHelper.sol/Bits.dbg.json b/artifacts/contracts/hts-precompile/KeyHelper.sol/Bits.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/KeyHelper.sol/Bits.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/KeyHelper.sol/KeyHelper.dbg.json b/artifacts/contracts/hts-precompile/KeyHelper.sol/KeyHelper.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/hts-precompile/KeyHelper.sol/KeyHelper.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/erc-20/ERC20Contract.sol/ERC20Contract.dbg.json b/artifacts/contracts/hts-precompile/examples/erc-20/ERC20Contract.sol/ERC20Contract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/erc-20/ERC20Contract.sol/ERC20Contract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/erc-721/ERC721Contract.sol/ERC721Contract.dbg.json b/artifacts/contracts/hts-precompile/examples/erc-721/ERC721Contract.sol/ERC721Contract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/erc-721/ERC721Contract.sol/ERC721Contract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/hrc/HRCContract.sol/HRCContract.dbg.json b/artifacts/contracts/hts-precompile/examples/hrc/HRCContract.sol/HRCContract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/hrc/HRCContract.sol/HRCContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/token-create/TokenCreateContract.sol/TokenCreateContract.dbg.json b/artifacts/contracts/hts-precompile/examples/token-create/TokenCreateContract.sol/TokenCreateContract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/token-create/TokenCreateContract.sol/TokenCreateContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/token-create/TokenCreateCustom.sol/TokenCreateCustomContract.dbg.json b/artifacts/contracts/hts-precompile/examples/token-create/TokenCreateCustom.sol/TokenCreateCustomContract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/token-create/TokenCreateCustom.sol/TokenCreateCustomContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/token-manage/TokenManagementContract.sol/TokenManagementContract.dbg.json b/artifacts/contracts/hts-precompile/examples/token-manage/TokenManagementContract.sol/TokenManagementContract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/token-manage/TokenManagementContract.sol/TokenManagementContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/token-query/TokenQueryContract.sol/TokenQueryContract.dbg.json b/artifacts/contracts/hts-precompile/examples/token-query/TokenQueryContract.sol/TokenQueryContract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/token-query/TokenQueryContract.sol/TokenQueryContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/hts-precompile/examples/token-transfer/TokenTransferContract.sol/TokenTransferContract.dbg.json b/artifacts/contracts/hts-precompile/examples/token-transfer/TokenTransferContract.sol/TokenTransferContract.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/hts-precompile/examples/token-transfer/TokenTransferContract.sol/TokenTransferContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/libraries/Constants.sol/Constants.dbg.json b/artifacts/contracts/libraries/Constants.sol/Constants.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/libraries/Constants.sol/Constants.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/libraries/Constants.sol/Constants.json b/artifacts/contracts/libraries/Constants.sol/Constants.json new file mode 100644 index 000000000..018d28993 --- /dev/null +++ b/artifacts/contracts/libraries/Constants.sol/Constants.json @@ -0,0 +1,10 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Constants", + "sourceName": "contracts/libraries/Constants.sol", + "abi": [], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/multicaller/Multicall3.sol/Multicall3.dbg.json b/artifacts/contracts/multicaller/Multicall3.sol/Multicall3.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/multicaller/Multicall3.sol/Multicall3.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/multicaller/Receiver.sol/Receiver.dbg.json b/artifacts/contracts/multicaller/Receiver.sol/Receiver.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/multicaller/Receiver.sol/Receiver.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/multicaller/Reverter.sol/Reverter.dbg.json b/artifacts/contracts/multicaller/Reverter.sol/Reverter.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/multicaller/Reverter.sol/Reverter.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/native-precompiles/EcrecoverCaller.sol/EcrecoverCaller.dbg.json b/artifacts/contracts/native-precompiles/EcrecoverCaller.sol/EcrecoverCaller.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/native-precompiles/EcrecoverCaller.sol/EcrecoverCaller.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/proxy-upgrade/counter/Counter.sol/Counter.dbg.json b/artifacts/contracts/proxy-upgrade/counter/Counter.sol/Counter.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/proxy-upgrade/counter/Counter.sol/Counter.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/proxy-upgrade/counter/CounterV2.sol/CounterV2.dbg.json b/artifacts/contracts/proxy-upgrade/counter/CounterV2.sol/CounterV2.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/proxy-upgrade/counter/CounterV2.sol/CounterV2.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/proxy-upgrade/exchange/Exchange.sol/Exchange.dbg.json b/artifacts/contracts/proxy-upgrade/exchange/Exchange.sol/Exchange.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/proxy-upgrade/exchange/Exchange.sol/Exchange.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/proxy-upgrade/exchange/ExchangeV2.sol/ExchangeV2.dbg.json b/artifacts/contracts/proxy-upgrade/exchange/ExchangeV2.sol/ExchangeV2.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/proxy-upgrade/exchange/ExchangeV2.sol/ExchangeV2.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/proxy-upgrade/exchange/OZUUPSUpgradeableV4.sol/OZUUPSUpgradeableV4.dbg.json b/artifacts/contracts/proxy-upgrade/exchange/OZUUPSUpgradeableV4.sol/OZUUPSUpgradeableV4.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/proxy-upgrade/exchange/OZUUPSUpgradeableV4.sol/OZUUPSUpgradeableV4.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/proxy-upgrade/exchange/OZUUPSUpgradeableV4.sol/OZUUPSUpgradeableV4.json b/artifacts/contracts/proxy-upgrade/exchange/OZUUPSUpgradeableV4.sol/OZUUPSUpgradeableV4.json new file mode 100644 index 000000000..53c3fb703 --- /dev/null +++ b/artifacts/contracts/proxy-upgrade/exchange/OZUUPSUpgradeableV4.sol/OZUUPSUpgradeableV4.json @@ -0,0 +1,152 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "OZUUPSUpgradeableV4", + "sourceName": "contracts/proxy-upgrade/exchange/OZUUPSUpgradeableV4.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "ERC1967InvalidImplementation", + "type": "error" + }, + { + "inputs": [], + "name": "ERC1967NonPayable", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidInitialization", + "type": "error" + }, + { + "inputs": [], + "name": "NotInitializing", + "type": "error" + }, + { + "inputs": [], + "name": "UUPSUnauthorizedCallContext", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "slot", + "type": "bytes32" + } + ], + "name": "UUPSUnsupportedProxiableUUID", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint64", + "name": "version", + "type": "uint64" + } + ], + "name": "Initialized", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "implementation", + "type": "address" + } + ], + "name": "Upgraded", + "type": "event" + }, + { + "inputs": [], + "name": "UPGRADE_INTERFACE_VERSION", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "proxiableUUID", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + } + ], + "name": "upgradeTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newImplementation", + "type": "address" + }, + { + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "upgradeToAndCall", + "outputs": [], + "stateMutability": "payable", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/safe-hts-precompile/HederaResponseCodes.sol/HederaResponseCodes.dbg.json b/artifacts/contracts/safe-hts-precompile/HederaResponseCodes.sol/HederaResponseCodes.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/safe-hts-precompile/HederaResponseCodes.sol/HederaResponseCodes.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/safe-hts-precompile/SafeHTS.sol/SafeHTS.dbg.json b/artifacts/contracts/safe-hts-precompile/SafeHTS.sol/SafeHTS.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/safe-hts-precompile/SafeHTS.sol/SafeHTS.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/safe-hts-precompile/SafeOperations.sol/SafeOperations.dbg.json b/artifacts/contracts/safe-hts-precompile/SafeOperations.sol/SafeOperations.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/safe-hts-precompile/SafeOperations.sol/SafeOperations.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/safe-hts-precompile/SafeViewHTS.sol/SafeViewHTS.dbg.json b/artifacts/contracts/safe-hts-precompile/SafeViewHTS.sol/SafeViewHTS.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/safe-hts-precompile/SafeViewHTS.sol/SafeViewHTS.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/safe-hts-precompile/SafeViewOperations.sol/SafeViewOperations.dbg.json b/artifacts/contracts/safe-hts-precompile/SafeViewOperations.sol/SafeViewOperations.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/safe-hts-precompile/SafeViewOperations.sol/SafeViewOperations.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/shanghai-opcodes/ShanghaiOpcodes.sol/ShanghaiOpcodes.dbg.json b/artifacts/contracts/shanghai-opcodes/ShanghaiOpcodes.sol/ShanghaiOpcodes.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/shanghai-opcodes/ShanghaiOpcodes.sol/ShanghaiOpcodes.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/account/NonExisting.sol/NonExisting.dbg.json b/artifacts/contracts/solidity/account/NonExisting.sol/NonExisting.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/account/NonExisting.sol/NonExisting.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/account/NonExisting.sol/NonExisting.json b/artifacts/contracts/solidity/account/NonExisting.sol/NonExisting.json new file mode 100644 index 000000000..196df2fa5 --- /dev/null +++ b/artifacts/contracts/solidity/account/NonExisting.sol/NonExisting.json @@ -0,0 +1,80 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "NonExisting", + "sourceName": "contracts/solidity/account/NonExisting.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "nonExistingAddr", + "type": "address" + } + ], + "name": "balanceNoneExistingAddr", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "nonExistingAddr", + "type": "address" + } + ], + "name": "callOnNonExistingAccount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "nonExistingAddr", + "type": "address" + } + ], + "name": "delegatecallOnNoneExistingAccount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "nonExistingAddr", + "type": "address" + } + ], + "name": "staticcallOnNoneExistingAccount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060405161035938038061035983398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6102c6806100936000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806304fa55251461005157806338750ce41461006657806394f6a1a014610093578063fb6641ba146100a6575b600080fd5b61006461005f366004610231565b6100b9565b005b610081610074366004610231565b6001600160a01b03163190565b60405190815260200160405180910390f35b6100646100a1366004610231565b61013f565b6100646100b4366004610231565b6101b8565b60408051600481526024810182526020810180516001600160e01b0316630ee642d760e11b17905290516001600160a01b038316916100f791610261565b6000604051808303816000865af19150503d8060008114610134576040519150601f19603f3d011682016040523d82523d6000602084013e610139565b606091505b50505050565b60408051600481526024810182526020810180516001600160e01b0316630ee642d760e11b17905290516001600160a01b0383169161017d91610261565b600060405180830381855af49150503d8060008114610134576040519150601f19603f3d011682016040523d82523d6000602084013e610139565b60408051600481526024810182526020810180516001600160e01b0316630ee642d760e11b17905290516001600160a01b038316916101f691610261565b600060405180830381855afa9150503d8060008114610134576040519150601f19603f3d011682016040523d82523d6000602084013e610139565b60006020828403121561024357600080fd5b81356001600160a01b038116811461025a57600080fd5b9392505050565b6000825160005b818110156102825760208186018101518583015201610268565b50600092019182525091905056fea2646970667358221220c539e1085c966e863961ef07d8a42268332aaf16430c350a1f4ff16a87fcdbfb64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806304fa55251461005157806338750ce41461006657806394f6a1a014610093578063fb6641ba146100a6575b600080fd5b61006461005f366004610231565b6100b9565b005b610081610074366004610231565b6001600160a01b03163190565b60405190815260200160405180910390f35b6100646100a1366004610231565b61013f565b6100646100b4366004610231565b6101b8565b60408051600481526024810182526020810180516001600160e01b0316630ee642d760e11b17905290516001600160a01b038316916100f791610261565b6000604051808303816000865af19150503d8060008114610134576040519150601f19603f3d011682016040523d82523d6000602084013e610139565b606091505b50505050565b60408051600481526024810182526020810180516001600160e01b0316630ee642d760e11b17905290516001600160a01b0383169161017d91610261565b600060405180830381855af49150503d8060008114610134576040519150601f19603f3d011682016040523d82523d6000602084013e610139565b60408051600481526024810182526020810180516001600160e01b0316630ee642d760e11b17905290516001600160a01b038316916101f691610261565b600060405180830381855afa9150503d8060008114610134576040519150601f19603f3d011682016040523d82523d6000602084013e610139565b60006020828403121561024357600080fd5b81356001600160a01b038116811461025a57600080fd5b9392505050565b6000825160005b818110156102825760208186018101518583015201610268565b50600092019182525091905056fea2646970667358221220c539e1085c966e863961ef07d8a42268332aaf16430c350a1f4ff16a87fcdbfb64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/account/NonExtDup.sol/NonExtDup.dbg.json b/artifacts/contracts/solidity/account/NonExtDup.sol/NonExtDup.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/account/NonExtDup.sol/NonExtDup.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/account/NonExtDup.sol/NonExtDup.json b/artifacts/contracts/solidity/account/NonExtDup.sol/NonExtDup.json new file mode 100644 index 000000000..74c4023df --- /dev/null +++ b/artifacts/contracts/solidity/account/NonExtDup.sol/NonExtDup.json @@ -0,0 +1,24 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "NonExtDup", + "sourceName": "contracts/solidity/account/NonExtDup.sol", + "abi": [ + { + "inputs": [], + "name": "ping", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060dc8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80635c36b18614602d575b600080fd5b6040805180820182526004815263706f6e6760e01b6020820152905160519190605a565b60405180910390f35b600060208083528351808285015260005b81811015608557858101830151858201604001528201606b565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212209170bad8eb2986442fd7abdd91b169668766051195e6c44ad70c6347578fbcde64736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c80635c36b18614602d575b600080fd5b6040805180820182526004815263706f6e6760e01b6020820152905160519190605a565b60405180910390f35b600060208083528351808285015260005b81811015608557858101830151858201604001528201606b565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212209170bad8eb2986442fd7abdd91b169668766051195e6c44ad70c6347578fbcde64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/address/Address.sol/AddressContract.dbg.json b/artifacts/contracts/solidity/address/Address.sol/AddressContract.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/address/Address.sol/AddressContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/address/Address.sol/AddressContract.json b/artifacts/contracts/solidity/address/Address.sol/AddressContract.json new file mode 100644 index 000000000..9ec0735ea --- /dev/null +++ b/artifacts/contracts/solidity/address/Address.sol/AddressContract.json @@ -0,0 +1,264 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "AddressContract", + "sourceName": "contracts/solidity/address/Address.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "a", + "type": "string" + } + ], + "name": "emitMessage", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "answer", + "type": "bool" + }, + { + "indexed": false, + "internalType": "bytes", + "name": "data", + "type": "bytes" + } + ], + "name": "res", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addressToQuery", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "callAddr", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addressToQuery", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "string", + "name": "functionSig", + "type": "string" + } + ], + "name": "callAddrWithSig", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addressToQuery", + "type": "address" + }, + { + "internalType": "string", + "name": "functionSig", + "type": "string" + } + ], + "name": "delegate", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addressToQuery", + "type": "address" + } + ], + "name": "getAddressBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addressToQuery", + "type": "address" + } + ], + "name": "getAddressCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addressToQuery", + "type": "address" + } + ], + "name": "getAddressCodeHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addressToQuery", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "sendTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addressToQuery", + "type": "address" + }, + { + "internalType": "string", + "name": "functionSig", + "type": "string" + } + ], + "name": "staticCall", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addressToQuery", + "type": "address" + }, + { + "internalType": "string", + "name": "functionSig", + "type": "string" + }, + { + "internalType": "uint256", + "name": "number", + "type": "uint256" + } + ], + "name": "staticCallSet", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "addressToQuery", + "type": "address" + }, + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "transferTo", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x60e06040526021608081815290610b8460a03960009061001f90826100d1565b5034801561002c57600080fd5b50610190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061005c57607f821691505b60208210810361007c57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100cc57600081815260208120601f850160051c810160208610156100a95750805b601f850160051c820191505b818110156100c8578281556001016100b5565b5050505b505050565b81516001600160401b038111156100ea576100ea610032565b6100fe816100f88454610048565b84610082565b602080601f831160018114610133576000841561011b5750858301515b600019600386901b1c1916600185901b1785556100c8565b600085815260208120601f198616915b8281101561016257888601518255948401946001909101908401610143565b50858210156101805787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6109e58061019f6000396000f3fe6080604052600436106100955760003560e01c80637f07ebf4116100595780637f07ebf4146101485780639e1a00aa14610170578063c295428514610190578063d5f45b7e146101a3578063dc8e8914146101c357600080fd5b80630effde2a146100a15780632ccb1b30146100ca57806335046722146100ec5780635e129679146101225780637c9b42221461013557600080fd5b3661009c57005b600080fd5b6100b46100af3660046107bb565b6101e3565b6040516100c1919061085b565b60405180910390f35b3480156100d657600080fd5b506100ea6100e5366004610875565b610311565b005b3480156100f857600080fd5b506101146101073660046108a1565b6001600160a01b03163190565b6040519081526020016100c1565b6100b46101303660046107bb565b61034c565b6100b46101433660046108be565b6103f3565b34801561015457600080fd5b506101146101633660046108a1565b6001600160a01b03163f90565b34801561017c57600080fd5b506100ea61018b366004610875565b610529565b6100b461019e366004610917565b61058f565b3480156101af57600080fd5b506100b46101be3660046108a1565b61063f565b3480156101cf57600080fd5b506100ea6101de366004610875565b61066d565b6040805160048152602481019182905260609160009182916001600160a01b0387169190610212908790610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516102499190610970565b600060405180830381855afa9150503d8060008114610284576040519150601f19603f3d011682016040523d82523d6000602084013e610289565b606091505b5091509150816102d05760405162461bcd60e51b815260206004820152600d60248201526c4572726f722063616c6c696e6760981b60448201526064015b60405180910390fd5b7fe7074f0c502697e04ca45ddd313cdd2fba43f4190584801a390520d6d45a2b4b828260405161030192919061098c565b60405180910390a1949350505050565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610347573d6000803e3d6000fd5b505050565b6040805160048152602481019182905260609160009182916001600160a01b0387169163055d4a8091610380908890610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516103b79190610970565b6000604051808303818686f4925050503d8060008114610284576040519150601f19603f3d011682016040523d82523d6000602084013e610289565b6060600080856001600160a01b0316620dbba086866040516024016040516020818303038152906040529060405161042b9190610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516104629190610970565b600060405180830381858888f193505050503d80600081146104a0576040519150601f19603f3d011682016040523d82523d6000602084013e6104a5565b606091505b5091509150816104e75760405162461bcd60e51b815260206004820152600d60248201526c4572726f722063616c6c696e6760981b60448201526064016102c7565b7fe7074f0c502697e04ca45ddd313cdd2fba43f4190584801a390520d6d45a2b4b828260405161051892919061098c565b60405180910390a195945050505050565b6040516000906001600160a01b0384169083156108fc0290849084818181858888f193505050509050806103475760405162461bcd60e51b815260206004820152600d60248201526c4572726f722073656e64696e6760981b60448201526064016102c7565b6060600080856001600160a01b031685856040516024016105b291815260200190565b60408051601f1981840301815290829052916105cd91610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516106049190610970565b600060405180830381855afa9150503d80600081146104a0576040519150601f19603f3d011682016040523d82523d6000602084013e6104a5565b6060816001600160a01b0316803b806020016040519081016040528181526000908060200190933c92915050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146106ba576040519150601f19603f3d011682016040523d82523d6000602084013e6106bf565b606091505b50509050806103475760405162461bcd60e51b815260206004820152600d60248201526c4572726f722063616c6c696e6760981b60448201526064016102c7565b6001600160a01b038116811461071557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261073f57600080fd5b813567ffffffffffffffff8082111561075a5761075a610718565b604051601f8301601f19908116603f0116810190828211818310171561078257610782610718565b8160405283815286602085880101111561079b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156107ce57600080fd5b82356107d981610700565b9150602083013567ffffffffffffffff8111156107f557600080fd5b6108018582860161072e565b9150509250929050565b60005b8381101561082657818101518382015260200161080e565b50506000910152565b6000815180845261084781602086016020860161080b565b601f01601f19169290920160200192915050565b60208152600061086e602083018461082f565b9392505050565b6000806040838503121561088857600080fd5b823561089381610700565b946020939093013593505050565b6000602082840312156108b357600080fd5b813561086e81610700565b6000806000606084860312156108d357600080fd5b83356108de81610700565b925060208401359150604084013567ffffffffffffffff81111561090157600080fd5b61090d8682870161072e565b9150509250925092565b60008060006060848603121561092c57600080fd5b833561093781610700565b9250602084013567ffffffffffffffff81111561095357600080fd5b61095f8682870161072e565b925050604084013590509250925092565b6000825161098281846020870161080b565b9190910192915050565b82151581526040602082015260006109a7604083018461082f565b94935050505056fea2646970667358221220f61d2cbda2b2f7b1ca10b20314a10d4493bdd966fb9ef4daadae74c0be90e6f764736f6c6343000814003348656c6c6f20576f726c642066726f6d2041646472657373436f6e747261637421", + "deployedBytecode": "0x6080604052600436106100955760003560e01c80637f07ebf4116100595780637f07ebf4146101485780639e1a00aa14610170578063c295428514610190578063d5f45b7e146101a3578063dc8e8914146101c357600080fd5b80630effde2a146100a15780632ccb1b30146100ca57806335046722146100ec5780635e129679146101225780637c9b42221461013557600080fd5b3661009c57005b600080fd5b6100b46100af3660046107bb565b6101e3565b6040516100c1919061085b565b60405180910390f35b3480156100d657600080fd5b506100ea6100e5366004610875565b610311565b005b3480156100f857600080fd5b506101146101073660046108a1565b6001600160a01b03163190565b6040519081526020016100c1565b6100b46101303660046107bb565b61034c565b6100b46101433660046108be565b6103f3565b34801561015457600080fd5b506101146101633660046108a1565b6001600160a01b03163f90565b34801561017c57600080fd5b506100ea61018b366004610875565b610529565b6100b461019e366004610917565b61058f565b3480156101af57600080fd5b506100b46101be3660046108a1565b61063f565b3480156101cf57600080fd5b506100ea6101de366004610875565b61066d565b6040805160048152602481019182905260609160009182916001600160a01b0387169190610212908790610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516102499190610970565b600060405180830381855afa9150503d8060008114610284576040519150601f19603f3d011682016040523d82523d6000602084013e610289565b606091505b5091509150816102d05760405162461bcd60e51b815260206004820152600d60248201526c4572726f722063616c6c696e6760981b60448201526064015b60405180910390fd5b7fe7074f0c502697e04ca45ddd313cdd2fba43f4190584801a390520d6d45a2b4b828260405161030192919061098c565b60405180910390a1949350505050565b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610347573d6000803e3d6000fd5b505050565b6040805160048152602481019182905260609160009182916001600160a01b0387169163055d4a8091610380908890610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516103b79190610970565b6000604051808303818686f4925050503d8060008114610284576040519150601f19603f3d011682016040523d82523d6000602084013e610289565b6060600080856001600160a01b0316620dbba086866040516024016040516020818303038152906040529060405161042b9190610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516104629190610970565b600060405180830381858888f193505050503d80600081146104a0576040519150601f19603f3d011682016040523d82523d6000602084013e6104a5565b606091505b5091509150816104e75760405162461bcd60e51b815260206004820152600d60248201526c4572726f722063616c6c696e6760981b60448201526064016102c7565b7fe7074f0c502697e04ca45ddd313cdd2fba43f4190584801a390520d6d45a2b4b828260405161051892919061098c565b60405180910390a195945050505050565b6040516000906001600160a01b0384169083156108fc0290849084818181858888f193505050509050806103475760405162461bcd60e51b815260206004820152600d60248201526c4572726f722073656e64696e6760981b60448201526064016102c7565b6060600080856001600160a01b031685856040516024016105b291815260200190565b60408051601f1981840301815290829052916105cd91610970565b60408051918290039091206020830180516001600160e01b03166001600160e01b0319909216919091179052516106049190610970565b600060405180830381855afa9150503d80600081146104a0576040519150601f19603f3d011682016040523d82523d6000602084013e6104a5565b6060816001600160a01b0316803b806020016040519081016040528181526000908060200190933c92915050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146106ba576040519150601f19603f3d011682016040523d82523d6000602084013e6106bf565b606091505b50509050806103475760405162461bcd60e51b815260206004820152600d60248201526c4572726f722063616c6c696e6760981b60448201526064016102c7565b6001600160a01b038116811461071557600080fd5b50565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261073f57600080fd5b813567ffffffffffffffff8082111561075a5761075a610718565b604051601f8301601f19908116603f0116810190828211818310171561078257610782610718565b8160405283815286602085880101111561079b57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156107ce57600080fd5b82356107d981610700565b9150602083013567ffffffffffffffff8111156107f557600080fd5b6108018582860161072e565b9150509250929050565b60005b8381101561082657818101518382015260200161080e565b50506000910152565b6000815180845261084781602086016020860161080b565b601f01601f19169290920160200192915050565b60208152600061086e602083018461082f565b9392505050565b6000806040838503121561088857600080fd5b823561089381610700565b946020939093013593505050565b6000602082840312156108b357600080fd5b813561086e81610700565b6000806000606084860312156108d357600080fd5b83356108de81610700565b925060208401359150604084013567ffffffffffffffff81111561090157600080fd5b61090d8682870161072e565b9150509250925092565b60008060006060848603121561092c57600080fd5b833561093781610700565b9250602084013567ffffffffffffffff81111561095357600080fd5b61095f8682870161072e565b925050604084013590509250925092565b6000825161098281846020870161080b565b9190910192915050565b82151581526040602082015260006109a7604083018461082f565b94935050505056fea2646970667358221220f61d2cbda2b2f7b1ca10b20314a10d4493bdd966fb9ef4daadae74c0be90e6f764736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/address/AssemblyAddress.sol/AssemblyAddress.dbg.json b/artifacts/contracts/solidity/address/AssemblyAddress.sol/AssemblyAddress.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/address/AssemblyAddress.sol/AssemblyAddress.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/address/AssemblyAddress.sol/AssemblyAddress.json b/artifacts/contracts/solidity/address/AssemblyAddress.sol/AssemblyAddress.json new file mode 100644 index 000000000..554c867fd --- /dev/null +++ b/artifacts/contracts/solidity/address/AssemblyAddress.sol/AssemblyAddress.json @@ -0,0 +1,68 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "AssemblyAddress", + "sourceName": "contracts/solidity/address/AssemblyAddress.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "codecopyat", + "outputs": [ + { + "internalType": "bytes", + "name": "code", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "codehashat", + "outputs": [ + { + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "name": "codesizeat", + "outputs": [ + { + "internalType": "uint256", + "name": "size", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610185806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80631c0a72e3146100465780633bd57db61461006b5780638b080dc11461008b575b600080fd5b6100586100543660046100c4565b3f90565b6040519081526020015b60405180910390f35b61007e6100793660046100c4565b61009d565b6040516100629190610101565b6100586100993660046100c4565b3b90565b60408051603f833b908101601f191682019092528181529080600060208401853c50919050565b6000602082840312156100d657600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146100fa57600080fd5b9392505050565b600060208083528351808285015260005b8181101561012e57858101830151858201604001528201610112565b506000604082860101526040601f19601f830116850101925050509291505056fea264697066735822122048da08b1646b0f6c68680dbeab28b5a963f273f04e2066779f85492a37925e4b64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80631c0a72e3146100465780633bd57db61461006b5780638b080dc11461008b575b600080fd5b6100586100543660046100c4565b3f90565b6040519081526020015b60405180910390f35b61007e6100793660046100c4565b61009d565b6040516100629190610101565b6100586100993660046100c4565b3b90565b60408051603f833b908101601f191682019092528181529080600060208401853c50919050565b6000602082840312156100d657600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146100fa57600080fd5b9392505050565b600060208083528351808285015260005b8181101561012e57858101830151858201604001528201610112565b506000604082860101526040601f19601f830116850101925050509291505056fea264697066735822122048da08b1646b0f6c68680dbeab28b5a963f273f04e2066779f85492a37925e4b64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/address/Recipient.sol/Recipient.dbg.json b/artifacts/contracts/solidity/address/Recipient.sol/Recipient.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/address/Recipient.sol/Recipient.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/address/Recipient.sol/Recipient.json b/artifacts/contracts/solidity/address/Recipient.sol/Recipient.json new file mode 100644 index 000000000..a4048e3cd --- /dev/null +++ b/artifacts/contracts/solidity/address/Recipient.sol/Recipient.json @@ -0,0 +1,91 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Recipient", + "sourceName": "contracts/solidity/address/Recipient.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "emitMessage", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "msgValue", + "type": "event" + }, + { + "stateMutability": "payable", + "type": "fallback" + }, + { + "inputs": [], + "name": "getMessageValue", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "helloWorldMessage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "number", + "type": "uint256" + } + ], + "name": "setNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x60e060405260246080818152906103b960a03960009061001f90826100d6565b50600560015534801561003157600080fd5b50610195565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061006157607f821691505b60208210810361008157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100d157600081815260208120601f850160051c810160208610156100ae5750805b601f850160051c820191505b818110156100cd578281556001016100ba565b5050505b505050565b81516001600160401b038111156100ef576100ef610037565b610103816100fd845461004d565b84610087565b602080601f83116001811461013857600084156101205750858301515b600019600386901b1c1916600185901b1785556100cd565b600085815260208120601f198616915b8281101561016757888601518255948401946001909101908401610148565b50858210156101855787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610215806101a46000396000f3fe6080604052600436106100405760003560e01c80630d4338c5146100495780633fb5c1cb1461005e57806347d52d8614610093578063f2c9ecd81461009b57005b3661004757005b005b34801561005557600080fd5b506100476100b0565b34801561006a57600080fd5b5061008161007936600461011a565b600181905590565b60405190815260200160405180910390f35b6100476100ea565b3480156100a757600080fd5b50600154610081565b7f2ac0df268fee898104e78f20fc0b367a6e70bb768abe66416d8abe610a4db4fa60006040516100e09190610133565b60405180910390a1565b6040513481527fd2a4a115e44d827cc90973a0da436ad43ba8327115362b19ab8667db236c1e20906020016100e0565b60006020828403121561012c57600080fd5b5035919050565b600060208083526000845481600182811c91508083168061015557607f831692505b858310810361017257634e487b7160e01b85526022600452602485fd5b87860183815260200181801561018f57600181146101a5576101d0565b60ff198616825284151560051b820196506101d0565b60008b81526020902060005b868110156101ca578154848201529085019089016101b1565b83019750505b5094999850505050505050505056fea26469706673582212203b38b7b6cd9b272a6dc2ca932309f84bc99f621b9aff8eda608c9ba352d68ab264736f6c6343000814003348656c6c6f20576f726c642066726f6d20526563697069656e7420636f6e747261637421", + "deployedBytecode": "0x6080604052600436106100405760003560e01c80630d4338c5146100495780633fb5c1cb1461005e57806347d52d8614610093578063f2c9ecd81461009b57005b3661004757005b005b34801561005557600080fd5b506100476100b0565b34801561006a57600080fd5b5061008161007936600461011a565b600181905590565b60405190815260200160405180910390f35b6100476100ea565b3480156100a757600080fd5b50600154610081565b7f2ac0df268fee898104e78f20fc0b367a6e70bb768abe66416d8abe610a4db4fa60006040516100e09190610133565b60405180910390a1565b6040513481527fd2a4a115e44d827cc90973a0da436ad43ba8327115362b19ab8667db236c1e20906020016100e0565b60006020828403121561012c57600080fd5b5035919050565b600060208083526000845481600182811c91508083168061015557607f831692505b858310810361017257634e487b7160e01b85526022600452602485fd5b87860183815260200181801561018f57600181146101a5576101d0565b60ff198616825284151560051b820196506101d0565b60008b81526020902060005b868110156101ca578154848201529085019089016101b1565b83019750505b5094999850505050505050505056fea26469706673582212203b38b7b6cd9b272a6dc2ca932309f84bc99f621b9aff8eda608c9ba352d68ab264736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/assignments/AssignmentReferenceTypes.sol/AssignmentReferenceTypes.dbg.json b/artifacts/contracts/solidity/assignments/AssignmentReferenceTypes.sol/AssignmentReferenceTypes.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/assignments/AssignmentReferenceTypes.sol/AssignmentReferenceTypes.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/assignments/AssignmentReferenceTypes.sol/AssignmentReferenceTypes.json b/artifacts/contracts/solidity/assignments/AssignmentReferenceTypes.sol/AssignmentReferenceTypes.json new file mode 100644 index 000000000..2672e31fe --- /dev/null +++ b/artifacts/contracts/solidity/assignments/AssignmentReferenceTypes.sol/AssignmentReferenceTypes.json @@ -0,0 +1,31 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "AssignmentReferenceTypes", + "sourceName": "contracts/solidity/assignments/AssignmentReferenceTypes.sol", + "abi": [ + { + "inputs": [], + "name": "getSomeArray", + "outputs": [ + { + "internalType": "uint256[5]", + "name": "", + "type": "uint256[5]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "testAssignmentOfReferenceTypes", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x61012060405260016080908152600260a052600360c052600460e052600561010081905261002f91600091610042565b5034801561003c57600080fd5b5061009a565b8260058101928215610075579160200282015b82811115610075578251829060ff16905591602001919060010190610055565b50610081929150610085565b5090565b5b808211156100815760008155600101610086565b610165806100a96000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063364b5fdf1461003b57806375bd8cff14610059575b600080fd5b610043610063565b60405161005091906100fe565b60405180910390f35b61006161009e565b005b61006b6100e0565b6040805160a08101918290529060009060059082845b815481526020019060010190808311610081575050505050905090565b6040805160a08101918290526100d99160009060059082845b8154815260200190600101908083116100b75750505050506008604090910152565b600a600355565b6040518060a001604052806005906020820280368337509192915050565b60a08101818360005b6005811015610126578151835260209283019290910190600101610107565b5050509291505056fea26469706673582212200794690f4bb0dad329c747f76021e23086032bdf9ecc3778516d1fb8b76a6d3664736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063364b5fdf1461003b57806375bd8cff14610059575b600080fd5b610043610063565b60405161005091906100fe565b60405180910390f35b61006161009e565b005b61006b6100e0565b6040805160a08101918290529060009060059082845b815481526020019060010190808311610081575050505050905090565b6040805160a08101918290526100d99160009060059082845b8154815260200190600101908083116100b75750505050506008604090910152565b600a600355565b6040518060a001604052806005906020820280368337509192915050565b60a08101818360005b6005811015610126578151835260209283019290910190600101610107565b5050509291505056fea26469706673582212200794690f4bb0dad329c747f76021e23086032bdf9ecc3778516d1fb8b76a6d3664736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/assignments/DestructuringReturns.sol/DestructuringReturns.dbg.json b/artifacts/contracts/solidity/assignments/DestructuringReturns.sol/DestructuringReturns.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/assignments/DestructuringReturns.sol/DestructuringReturns.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/assignments/DestructuringReturns.sol/DestructuringReturns.json b/artifacts/contracts/solidity/assignments/DestructuringReturns.sol/DestructuringReturns.json new file mode 100644 index 000000000..fbed421ab --- /dev/null +++ b/artifacts/contracts/solidity/assignments/DestructuringReturns.sol/DestructuringReturns.json @@ -0,0 +1,57 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "DestructuringReturns", + "sourceName": "contracts/solidity/assignments/DestructuringReturns.sol", + "abi": [ + { + "inputs": [], + "name": "f", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "testDestructuredReturnParams", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "", + "type": "bool" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x6080604052348015600f57600080fd5b50609d8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806326121ff01460375780639670083414605d575b600080fd5b6007600160025b6040805193845291151560208401529082015260600160405180910390f35b600760016002603e56fea26469706673582212203d734195bcb8f2f900fb90edb515385ace179ba92f3d4f816234690a8bdc0eae64736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c806326121ff01460375780639670083414605d575b600080fd5b6007600160025b6040805193845291151560208401529082015260600160405180910390f35b600760016002603e56fea26469706673582212203d734195bcb8f2f900fb90edb515385ace179ba92f3d4f816234690a8bdc0eae64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/block/BlockInfo.sol/BlockInfo.dbg.json b/artifacts/contracts/solidity/block/BlockInfo.sol/BlockInfo.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/block/BlockInfo.sol/BlockInfo.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/block/BlockInfo.sol/BlockInfo.json b/artifacts/contracts/solidity/block/BlockInfo.sol/BlockInfo.json new file mode 100644 index 000000000..c4006f5bd --- /dev/null +++ b/artifacts/contracts/solidity/block/BlockInfo.sol/BlockInfo.json @@ -0,0 +1,115 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "BlockInfo", + "sourceName": "contracts/solidity/block/BlockInfo.sol", + "abi": [ + { + "inputs": [], + "name": "getBlockBaseFee", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBlockDifficulty", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBlockGasLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBlockHash", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBlockPrevrando", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBlockTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMinerAddress", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061012b806100206000396000f3fe6080604052348015600f57600080fd5b5060043610607d5760003560e01c806343169b0611605457806343169b06146082578063796b89b91460ae5780639663f88f1460b3578063b13f272b1460b957600080fd5b806312e05dd114608257806322faa3601460975780632cc8377d1460a457806342cbb15c1460a9575b600080fd5b445b6040519081526020015b60405180910390f35b604051418152602001608e565b456084565b436084565b426084565b608460be565b486084565b600060c960014360cf565b40905090565b8181038181111560ef57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220b18f9bc804009bf87a3247015e16d7ed41dbf5dcaf57cf379455e9b0d1993db464736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b5060043610607d5760003560e01c806343169b0611605457806343169b06146082578063796b89b91460ae5780639663f88f1460b3578063b13f272b1460b957600080fd5b806312e05dd114608257806322faa3601460975780632cc8377d1460a457806342cbb15c1460a9575b600080fd5b445b6040519081526020015b60405180910390f35b604051418152602001608e565b456084565b436084565b426084565b608460be565b486084565b600060c960014360cf565b40905090565b8181038181111560ef57634e487b7160e01b600052601160045260246000fd5b9291505056fea2646970667358221220b18f9bc804009bf87a3247015e16d7ed41dbf5dcaf57cf379455e9b0d1993db464736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/concatenation/Concatenation.sol/Concatenation.dbg.json b/artifacts/contracts/solidity/concatenation/Concatenation.sol/Concatenation.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/concatenation/Concatenation.sol/Concatenation.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/concatenation/Concatenation.sol/Concatenation.json b/artifacts/contracts/solidity/concatenation/Concatenation.sol/Concatenation.json new file mode 100644 index 000000000..74fcc34a0 --- /dev/null +++ b/artifacts/contracts/solidity/concatenation/Concatenation.sol/Concatenation.json @@ -0,0 +1,95 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Concatenation", + "sourceName": "contracts/solidity/concatenation/Concatenation.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes", + "name": "first", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "second", + "type": "bytes" + }, + { + "internalType": "bytes", + "name": "third", + "type": "bytes" + } + ], + "name": "byteConcatenation", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "byteConcatenationEmpty", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "first", + "type": "string" + }, + { + "internalType": "string", + "name": "second", + "type": "string" + }, + { + "internalType": "string", + "name": "third", + "type": "string" + } + ], + "name": "stringConcatenation", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "stringConcatenationEmpty", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610432806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80634e8e02af1461005157806364dff3eb14610077578063abca73ac14610094578063b9ec8c2d14610077575b600080fd5b61006461005f36600461015a565b6100a7565b6040519081526020015b60405180910390f35b6040805160008152602081019091525b60405161006e9190610244565b6100876100a2366004610301565b6100e2565b6000808787878787876040516020016100c596959493929190610389565b60408051808303601f190181529190525198975050505050505050565b60608383836040516020016100f9939291906103b9565b60405160208183030381529060405290509392505050565b60008083601f84011261012357600080fd5b50813567ffffffffffffffff81111561013b57600080fd5b60208301915083602082850101111561015357600080fd5b9250929050565b6000806000806000806060878903121561017357600080fd5b863567ffffffffffffffff8082111561018b57600080fd5b6101978a838b01610111565b909850965060208901359150808211156101b057600080fd5b6101bc8a838b01610111565b909650945060408901359150808211156101d557600080fd5b506101e289828a01610111565b979a9699509497509295939492505050565b60005b8381101561020f5781810151838201526020016101f7565b50506000910152565b600081518084526102308160208601602086016101f4565b601f01601f19169290920160200192915050565b6020815260006102576020830184610218565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261028557600080fd5b813567ffffffffffffffff808211156102a0576102a061025e565b604051601f8301601f19908116603f011681019082821181831017156102c8576102c861025e565b816040528381528660208588010111156102e157600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561031657600080fd5b833567ffffffffffffffff8082111561032e57600080fd5b61033a87838801610274565b9450602086013591508082111561035057600080fd5b61035c87838801610274565b9350604086013591508082111561037257600080fd5b5061037f86828701610274565b9150509250925092565b85878237600086820160008152858782376000908601908152838582376000930192835250909695505050505050565b600084516103cb8184602089016101f4565b8451908301906103df8183602089016101f4565b84519101906103f28183602088016101f4565b019594505050505056fea26469706673582212209df28f154fad90e389499ad7ff31e7a75d4d3ff2a416752ad04a67c566d8b10c64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80634e8e02af1461005157806364dff3eb14610077578063abca73ac14610094578063b9ec8c2d14610077575b600080fd5b61006461005f36600461015a565b6100a7565b6040519081526020015b60405180910390f35b6040805160008152602081019091525b60405161006e9190610244565b6100876100a2366004610301565b6100e2565b6000808787878787876040516020016100c596959493929190610389565b60408051808303601f190181529190525198975050505050505050565b60608383836040516020016100f9939291906103b9565b60405160208183030381529060405290509392505050565b60008083601f84011261012357600080fd5b50813567ffffffffffffffff81111561013b57600080fd5b60208301915083602082850101111561015357600080fd5b9250929050565b6000806000806000806060878903121561017357600080fd5b863567ffffffffffffffff8082111561018b57600080fd5b6101978a838b01610111565b909850965060208901359150808211156101b057600080fd5b6101bc8a838b01610111565b909650945060408901359150808211156101d557600080fd5b506101e289828a01610111565b979a9699509497509295939492505050565b60005b8381101561020f5781810151838201526020016101f7565b50506000910152565b600081518084526102308160208601602086016101f4565b601f01601f19169290920160200192915050565b6020815260006102576020830184610218565b9392505050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261028557600080fd5b813567ffffffffffffffff808211156102a0576102a061025e565b604051601f8301601f19908116603f011681019082821181831017156102c8576102c861025e565b816040528381528660208588010111156102e157600080fd5b836020870160208301376000602085830101528094505050505092915050565b60008060006060848603121561031657600080fd5b833567ffffffffffffffff8082111561032e57600080fd5b61033a87838801610274565b9450602086013591508082111561035057600080fd5b61035c87838801610274565b9350604086013591508082111561037257600080fd5b5061037f86828701610274565b9150509250925092565b85878237600086820160008152858782376000908601908152838582376000930192835250909695505050505050565b600084516103cb8184602089016101f4565b8451908301906103df8183602089016101f4565b84519101906103f28183602088016101f4565b019594505050505056fea26469706673582212209df28f154fad90e389499ad7ff31e7a75d4d3ff2a416752ad04a67c566d8b10c64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/control/ControlStructures.sol/ControlStructures.dbg.json b/artifacts/contracts/solidity/control/ControlStructures.sol/ControlStructures.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/control/ControlStructures.sol/ControlStructures.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/control/ControlStructures.sol/ControlStructures.json b/artifacts/contracts/solidity/control/ControlStructures.sol/ControlStructures.json new file mode 100644 index 000000000..593c56f88 --- /dev/null +++ b/artifacts/contracts/solidity/control/ControlStructures.sol/ControlStructures.json @@ -0,0 +1,159 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ControlStructures", + "sourceName": "contracts/solidity/control/ControlStructures.sol", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "total", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "interception", + "type": "uint256" + } + ], + "name": "evaluateBreak", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "total", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "interception", + "type": "uint256" + } + ], + "name": "evaluateContinue", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "total", + "type": "uint256" + } + ], + "name": "evaluateDoWhile", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "total", + "type": "uint256" + } + ], + "name": "evaluateFor", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "condition", + "type": "bool" + } + ], + "name": "evaluateIfElse", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "condition", + "type": "uint256" + } + ], + "name": "evaluateTryCatch", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "total", + "type": "uint256" + } + ], + "name": "evaluateWhile", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060405161001d9061005f565b604051809103906000f080158015610039573d6000803e3d6000fd5b50600080546001600160a01b0319166001600160a01b039290921691909117905561006c565b6101a58061059b83390190565b6105208061007b6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80637c833d3a1161005b5780637c833d3a146100de578063b45694dc146100f1578063c6efc9be14610104578063fdf3a4091461011757600080fd5b80634a8fbaa7146100825780635a7fc2fb146100a857806364f0ac05146100cb575b600080fd5b610095610090366004610342565b61012a565b6040519081526020015b60405180910390f35b6100bb6100b6366004610364565b61017a565b604051901515815260200161009f565b6100bb6100d9366004610386565b610192565b6100956100ec366004610386565b61021f565b6100956100ff366004610386565b610269565b610095610112366004610386565b6102a6565b610095610125366004610342565b6102e5565b6000606483106101555760405162461bcd60e51b815260040161014c9061039f565b60405180910390fd5b60005b8381610163816103e3565b9250101561017357808303610158575b9392505050565b6000811561018a57506001919050565b506000919050565b6000805460405163a9bf563360e01b81526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063a9bf563390602401600060405180830381865afa92505050801561020a57506040513d6000823e601f3d908101601f191682016040526102079190810190610420565b60015b61021657506000919050565b50600192915050565b6000606482106102415760405162461bcd60e51b815260040161014c9061039f565b6000805b83811015610262579050808061025a816103e3565b915050610245565b5092915050565b60006064821061028b5760405162461bcd60e51b815260040161014c9061039f565b60005b82610298826103e3565b9150811061028e5792915050565b6000606482106102c85760405162461bcd60e51b815260040161014c9061039f565b60005b806102d5816103e3565b9150508281106102cb5792915050565b6000606483106103075760405162461bcd60e51b815260040161014c9061039f565b6000805b8481101561033a578084106103285781610324816103e3565b9250505b80610332816103e3565b91505061030b565b509392505050565b6000806040838503121561035557600080fd5b50508035926020909101359150565b60006020828403121561037657600080fd5b8135801515811461017357600080fd5b60006020828403121561039857600080fd5b5035919050565b60208082526024908201527f43616e6e6f742068617665206d6f7265207468616e2031303020697465726174604082015263696f6e7360e01b606082015260800190565b60006001820161040357634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561043357600080fd5b825167ffffffffffffffff8082111561044b57600080fd5b818501915085601f83011261045f57600080fd5b8151818111156104715761047161040a565b604051601f8201601f19908116603f011681019083821181831017156104995761049961040a565b8160405282815288868487010111156104b157600080fd5b600093505b828410156104d357848401860151818501870152928501926104b6565b60008684830101528096505050505050509291505056fea26469706673582212208145d6a0c48650b01e3fb31ab83a174895ee476cbbfa0b84a0f80afad3e9816f64736f6c63430008140033608060405234801561001057600080fd5b50610185806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a9bf563314610030575b600080fd5b61004361003e3660046100e8565b610059565b6040516100509190610101565b60405180910390f35b6060816000036100af5760405162461bcd60e51b815260206004820152600e60248201527f72657175697265206661696c6564000000000000000000000000000000000000604482015260640160405180910390fd5b505060408051808201909152601281527f6d792066756e63207761732063616c6c65640000000000000000000000000000602082015290565b6000602082840312156100fa57600080fd5b5035919050565b600060208083528351808285015260005b8181101561012e57858101830151858201604001528201610112565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212206a18f7cc1dfc32b2195c257afe64cd040e5305f51e4d2958957a7d30053e37f264736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80637c833d3a1161005b5780637c833d3a146100de578063b45694dc146100f1578063c6efc9be14610104578063fdf3a4091461011757600080fd5b80634a8fbaa7146100825780635a7fc2fb146100a857806364f0ac05146100cb575b600080fd5b610095610090366004610342565b61012a565b6040519081526020015b60405180910390f35b6100bb6100b6366004610364565b61017a565b604051901515815260200161009f565b6100bb6100d9366004610386565b610192565b6100956100ec366004610386565b61021f565b6100956100ff366004610386565b610269565b610095610112366004610386565b6102a6565b610095610125366004610342565b6102e5565b6000606483106101555760405162461bcd60e51b815260040161014c9061039f565b60405180910390fd5b60005b8381610163816103e3565b9250101561017357808303610158575b9392505050565b6000811561018a57506001919050565b506000919050565b6000805460405163a9bf563360e01b81526004810184905273ffffffffffffffffffffffffffffffffffffffff9091169063a9bf563390602401600060405180830381865afa92505050801561020a57506040513d6000823e601f3d908101601f191682016040526102079190810190610420565b60015b61021657506000919050565b50600192915050565b6000606482106102415760405162461bcd60e51b815260040161014c9061039f565b6000805b83811015610262579050808061025a816103e3565b915050610245565b5092915050565b60006064821061028b5760405162461bcd60e51b815260040161014c9061039f565b60005b82610298826103e3565b9150811061028e5792915050565b6000606482106102c85760405162461bcd60e51b815260040161014c9061039f565b60005b806102d5816103e3565b9150508281106102cb5792915050565b6000606483106103075760405162461bcd60e51b815260040161014c9061039f565b6000805b8481101561033a578084106103285781610324816103e3565b9250505b80610332816103e3565b91505061030b565b509392505050565b6000806040838503121561035557600080fd5b50508035926020909101359150565b60006020828403121561037657600080fd5b8135801515811461017357600080fd5b60006020828403121561039857600080fd5b5035919050565b60208082526024908201527f43616e6e6f742068617665206d6f7265207468616e2031303020697465726174604082015263696f6e7360e01b606082015260800190565b60006001820161040357634e487b7160e01b600052601160045260246000fd5b5060010190565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561043357600080fd5b825167ffffffffffffffff8082111561044b57600080fd5b818501915085601f83011261045f57600080fd5b8151818111156104715761047161040a565b604051601f8201601f19908116603f011681019083821181831017156104995761049961040a565b8160405282815288868487010111156104b157600080fd5b600093505b828410156104d357848401860151818501870152928501926104b6565b60008684830101528096505050505050509291505056fea26469706673582212208145d6a0c48650b01e3fb31ab83a174895ee476cbbfa0b84a0f80afad3e9816f64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/control/ControlStructures.sol/TestTryCatchContract.dbg.json b/artifacts/contracts/solidity/control/ControlStructures.sol/TestTryCatchContract.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/control/ControlStructures.sol/TestTryCatchContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/control/ControlStructures.sol/TestTryCatchContract.json b/artifacts/contracts/solidity/control/ControlStructures.sol/TestTryCatchContract.json new file mode 100644 index 000000000..aff19c610 --- /dev/null +++ b/artifacts/contracts/solidity/control/ControlStructures.sol/TestTryCatchContract.json @@ -0,0 +1,30 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "TestTryCatchContract", + "sourceName": "contracts/solidity/control/ControlStructures.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + } + ], + "name": "myFunc", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610185806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a9bf563314610030575b600080fd5b61004361003e3660046100e8565b610059565b6040516100509190610101565b60405180910390f35b6060816000036100af5760405162461bcd60e51b815260206004820152600e60248201527f72657175697265206661696c6564000000000000000000000000000000000000604482015260640160405180910390fd5b505060408051808201909152601281527f6d792066756e63207761732063616c6c65640000000000000000000000000000602082015290565b6000602082840312156100fa57600080fd5b5035919050565b600060208083528351808285015260005b8181101561012e57858101830151858201604001528201610112565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212206a18f7cc1dfc32b2195c257afe64cd040e5305f51e4d2958957a7d30053e37f264736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063a9bf563314610030575b600080fd5b61004361003e3660046100e8565b610059565b6040516100509190610101565b60405180910390f35b6060816000036100af5760405162461bcd60e51b815260206004820152600e60248201527f72657175697265206661696c6564000000000000000000000000000000000000604482015260640160405180910390fd5b505060408051808201909152601281527f6d792066756e63207761732063616c6c65640000000000000000000000000000602082015290565b6000602082840312156100fa57600080fd5b5035919050565b600060208083528351808285015260005b8181101561012e57858101830151858201604001528201610112565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212206a18f7cc1dfc32b2195c257afe64cd040e5305f51e4d2958957a7d30053e37f264736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/cryptomath/Arithmetic.sol/Arithmetic.dbg.json b/artifacts/contracts/solidity/cryptomath/Arithmetic.sol/Arithmetic.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/cryptomath/Arithmetic.sol/Arithmetic.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/cryptomath/Arithmetic.sol/Arithmetic.json b/artifacts/contracts/solidity/cryptomath/Arithmetic.sol/Arithmetic.json new file mode 100644 index 000000000..5242a5f4a --- /dev/null +++ b/artifacts/contracts/solidity/cryptomath/Arithmetic.sol/Arithmetic.json @@ -0,0 +1,105 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Arithmetic", + "sourceName": "contracts/solidity/cryptomath/Arithmetic.sol", + "abi": [ + { + "inputs": [], + "name": "add", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "add2", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "checkName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "dec", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "mul", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "negativeHasMoreValues", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "sub", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "uncheckedAdd", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "uncheckedSub", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x60c0604052600a60809081526941726974686d6574696360b01b60a05260009061002990826100e6565b50600019600155600060025534801561004157600080fd5b506101a5565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061007157607f821691505b60208210810361009157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100e157600081815260208120601f850160051c810160208610156100be5750805b601f850160051c820191505b818110156100dd578281556001016100ca565b5050505b505050565b81516001600160401b038111156100ff576100ff610047565b6101138161010d845461005d565b84610097565b602080601f83116001811461014857600084156101305750858301515b600019600386901b1c1916600185901b1785556100dd565b600085815260208120601f198616915b8281101561017757888601518255948401946001909101908401610158565b50858210156101955787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6106a3806101b46000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638b2cc2bb116100665780638b2cc2bb146100db5780638b6eb52f146100ea578063aae1cc70146100f2578063b3bcfa82146100fa578063c54124be1461010257600080fd5b806306fdde03146100a35780634f2be91f146100c157806358931c46146100cb5780636c1f222f146100d35780637921d822146100db575b600080fd5b6100ab61010a565b6040516100b89190610429565b60405180910390f35b6100c9610198565b005b6100c96101ef565b6100c9610243565b604051600181526020016100b8565b6100c9610293565b6100ab6102eb565b6100c961037d565b6100c96103d9565b6000805461011790610477565b80601f016020809104026020016040519081016040528092919081815260200182805461014390610477565b80156101905780601f1061016557610100808354040283529160200191610190565b820191906000526020600020905b81548152906001019060200180831161017357829003601f168201915b505050505081565b6040518060400160405280602081526020017f41726974686d6574696320636865636b206966204e4f54207265766572746564815250600090816101dc9190610515565b50600180546101ea916105eb565b600155565b6040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f542072657665727465649082015260ff906000906102339082610515565b5061023f816002610604565b5050565b6001546040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f54207265766572746564908201526000906102879082610515565b5061023f6064826105eb565b6040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f5420726576657274656490820152600090600160ff1b9082906102dc9082610515565b506102e681610627565b505050565b6060600080546102fa90610477565b80601f016020809104026020016040519081016040528092919081815260200182805461032690610477565b80156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b5050505050905090565b6040518060400160405280602081526020017f41726974686d6574696320636865636b206966204e4f54207265766572746564815250600090816103c19190610515565b50600280549060006103d283610643565b9190505550565b6002546040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f542072657665727465649082015260009061041d9082610515565b5061023f60018261065a565b600060208083528351808285015260005b818110156104565785810183015185820160400152820161043a565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061048b57607f821691505b6020821081036104ab57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b601f8211156102e657600081815260208120601f850160051c810160208610156104ee5750805b601f850160051c820191505b8181101561050d578281556001016104fa565b505050505050565b815167ffffffffffffffff81111561052f5761052f6104b1565b6105438161053d8454610477565b846104c7565b602080601f83116001811461057857600084156105605750858301515b600019600386901b1c1916600185901b17855561050d565b600085815260208120601f198616915b828110156105a757888601518255948401946001909101908401610588565b50858210156105c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808201808211156105fe576105fe6105d5565b92915050565b60ff8181168382160290811690818114610620576106206105d5565b5092915050565b6000600160ff1b820161063c5761063c6105d5565b5060000390565b600081610652576106526105d5565b506000190190565b818103818111156105fe576105fe6105d556fea2646970667358221220f92634de5982e1ba34d3f92edfcb662f8b693f4d05b25fa9b1d0fe6ff40a790d64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638b2cc2bb116100665780638b2cc2bb146100db5780638b6eb52f146100ea578063aae1cc70146100f2578063b3bcfa82146100fa578063c54124be1461010257600080fd5b806306fdde03146100a35780634f2be91f146100c157806358931c46146100cb5780636c1f222f146100d35780637921d822146100db575b600080fd5b6100ab61010a565b6040516100b89190610429565b60405180910390f35b6100c9610198565b005b6100c96101ef565b6100c9610243565b604051600181526020016100b8565b6100c9610293565b6100ab6102eb565b6100c961037d565b6100c96103d9565b6000805461011790610477565b80601f016020809104026020016040519081016040528092919081815260200182805461014390610477565b80156101905780601f1061016557610100808354040283529160200191610190565b820191906000526020600020905b81548152906001019060200180831161017357829003601f168201915b505050505081565b6040518060400160405280602081526020017f41726974686d6574696320636865636b206966204e4f54207265766572746564815250600090816101dc9190610515565b50600180546101ea916105eb565b600155565b6040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f542072657665727465649082015260ff906000906102339082610515565b5061023f816002610604565b5050565b6001546040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f54207265766572746564908201526000906102879082610515565b5061023f6064826105eb565b6040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f5420726576657274656490820152600090600160ff1b9082906102dc9082610515565b506102e681610627565b505050565b6060600080546102fa90610477565b80601f016020809104026020016040519081016040528092919081815260200182805461032690610477565b80156103735780601f1061034857610100808354040283529160200191610373565b820191906000526020600020905b81548152906001019060200180831161035657829003601f168201915b5050505050905090565b6040518060400160405280602081526020017f41726974686d6574696320636865636b206966204e4f54207265766572746564815250600090816103c19190610515565b50600280549060006103d283610643565b9190505550565b6002546040805180820190915260208082527f41726974686d6574696320636865636b206966204e4f542072657665727465649082015260009061041d9082610515565b5061023f60018261065a565b600060208083528351808285015260005b818110156104565785810183015185820160400152820161043a565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061048b57607f821691505b6020821081036104ab57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b601f8211156102e657600081815260208120601f850160051c810160208610156104ee5750805b601f850160051c820191505b8181101561050d578281556001016104fa565b505050505050565b815167ffffffffffffffff81111561052f5761052f6104b1565b6105438161053d8454610477565b846104c7565b602080601f83116001811461057857600084156105605750858301515b600019600386901b1c1916600185901b17855561050d565b600085815260208120601f198616915b828110156105a757888601518255948401946001909101908401610588565b50858210156105c55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b808201808211156105fe576105fe6105d5565b92915050565b60ff8181168382160290811690818114610620576106206105d5565b5092915050565b6000600160ff1b820161063c5761063c6105d5565b5060000390565b600081610652576106526105d5565b506000190190565b818103818111156105fe576105fe6105d556fea2646970667358221220f92634de5982e1ba34d3f92edfcb662f8b693f4d05b25fa9b1d0fe6ff40a790d64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/cryptomath/CryptoMath.sol/CryptoMath.dbg.json b/artifacts/contracts/solidity/cryptomath/CryptoMath.sol/CryptoMath.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/cryptomath/CryptoMath.sol/CryptoMath.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/cryptomath/CryptoMath.sol/CryptoMath.json b/artifacts/contracts/solidity/cryptomath/CryptoMath.sol/CryptoMath.json new file mode 100644 index 000000000..84d799ea9 --- /dev/null +++ b/artifacts/contracts/solidity/cryptomath/CryptoMath.sol/CryptoMath.json @@ -0,0 +1,160 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "CryptoMath", + "sourceName": "contracts/solidity/cryptomath/CryptoMath.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "k", + "type": "uint256" + } + ], + "name": "callAddMod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "hash", + "type": "bytes32" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "callEcrecover", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "callKeccak256", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "k", + "type": "uint256" + } + ], + "name": "callMulMod", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "callRipemd160", + "outputs": [ + { + "internalType": "bytes20", + "name": "", + "type": "bytes20" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "callSha256", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610444806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80634f9305c0116100505780634f9305c0146100e85780638af606d414610101578063dd0678f11461013257600080fd5b806301f56b7814610077578063062ddbb8146100b4578063224df9db146100d5575b600080fd5b61008a61008536600461027a565b610145565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100c76100c23660046102bd565b6101ad565b6040519081526020016100ab565b6100c76100e33660046102bd565b6101c8565b6100c76100f63660046102ff565b805160209091012090565b61011461010f3660046102ff565b6101e3565b6040516bffffffffffffffffffffffff1990911681526020016100ab565b6100c76101403660046102ff565b610222565b6040805160008082526020820180845287905260ff861692820192909252606081018490526080810183905260019060a0016020604051602081039080840390855afa158015610199573d6000803e3d6000fd5b5050604051601f1901519695505050505050565b600081806101bd576101bd6103b0565b838509949350505050565b600081806101d8576101d86103b0565b838508949350505050565b60006003826040516101f591906103c6565b602060405180830381855afa158015610212573d6000803e3d6000fd5b50506040515160601b9392505050565b600060028260405161023491906103c6565b602060405180830381855afa158015610251573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061027491906103f5565b92915050565b6000806000806080858703121561029057600080fd5b84359350602085013560ff811681146102a857600080fd5b93969395505050506040820135916060013590565b6000806000606084860312156102d257600080fd5b505081359360208301359350604090920135919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561031157600080fd5b813567ffffffffffffffff8082111561032957600080fd5b818401915084601f83011261033d57600080fd5b81358181111561034f5761034f6102e9565b604051601f8201601f19908116603f01168101908382118183101715610377576103776102e9565b8160405282815287602084870101111561039057600080fd5b826020860160208301376000928101602001929092525095945050505050565b634e487b7160e01b600052601260045260246000fd5b6000825160005b818110156103e757602081860181015185830152016103cd565b506000920191825250919050565b60006020828403121561040757600080fd5b505191905056fea2646970667358221220502b57f56455edf260289ca7a2111dfca7b3a31c336a1c267dea28cb36aa10ce64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100725760003560e01c80634f9305c0116100505780634f9305c0146100e85780638af606d414610101578063dd0678f11461013257600080fd5b806301f56b7814610077578063062ddbb8146100b4578063224df9db146100d5575b600080fd5b61008a61008536600461027a565b610145565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6100c76100c23660046102bd565b6101ad565b6040519081526020016100ab565b6100c76100e33660046102bd565b6101c8565b6100c76100f63660046102ff565b805160209091012090565b61011461010f3660046102ff565b6101e3565b6040516bffffffffffffffffffffffff1990911681526020016100ab565b6100c76101403660046102ff565b610222565b6040805160008082526020820180845287905260ff861692820192909252606081018490526080810183905260019060a0016020604051602081039080840390855afa158015610199573d6000803e3d6000fd5b5050604051601f1901519695505050505050565b600081806101bd576101bd6103b0565b838509949350505050565b600081806101d8576101d86103b0565b838508949350505050565b60006003826040516101f591906103c6565b602060405180830381855afa158015610212573d6000803e3d6000fd5b50506040515160601b9392505050565b600060028260405161023491906103c6565b602060405180830381855afa158015610251573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061027491906103f5565b92915050565b6000806000806080858703121561029057600080fd5b84359350602085013560ff811681146102a857600080fd5b93969395505050506040820135916060013590565b6000806000606084860312156102d257600080fd5b505081359360208301359350604090920135919050565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561031157600080fd5b813567ffffffffffffffff8082111561032957600080fd5b818401915084601f83011261033d57600080fd5b81358181111561034f5761034f6102e9565b604051601f8201601f19908116603f01168101908382118183101715610377576103776102e9565b8160405282815287602084870101111561039057600080fd5b826020860160208301376000928101602001929092525095945050505050565b634e487b7160e01b600052601260045260246000fd5b6000825160005b818110156103e757602081860181015185830152016103cd565b506000920191825250919050565b60006020828403121561040757600080fd5b505191905056fea2646970667358221220502b57f56455edf260289ca7a2111dfca7b3a31c336a1c267dea28cb36aa10ce64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/defaults/Defaults.sol/Defaults.dbg.json b/artifacts/contracts/solidity/defaults/Defaults.sol/Defaults.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/defaults/Defaults.sol/Defaults.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/defaults/Defaults.sol/Defaults.json b/artifacts/contracts/solidity/defaults/Defaults.sol/Defaults.json new file mode 100644 index 000000000..1708f1a95 --- /dev/null +++ b/artifacts/contracts/solidity/defaults/Defaults.sol/Defaults.json @@ -0,0 +1,279 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Defaults", + "sourceName": "contracts/solidity/defaults/Defaults.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "addrBoolMap", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "name": "bytesBytesMap", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getAddressDefaults", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getArrayDefaults", + "outputs": [ + { + "components": [ + { + "internalType": "string[]", + "name": "strArr", + "type": "string[]" + }, + { + "internalType": "uint256[]", + "name": "uintArr", + "type": "uint256[]" + }, + { + "internalType": "bool[]", + "name": "boolArr", + "type": "bool[]" + }, + { + "internalType": "bytes[]", + "name": "bytesArr", + "type": "bytes[]" + } + ], + "internalType": "struct Defaults.ArrayDefaults", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getBytesDefaults", + "outputs": [ + { + "components": [ + { + "internalType": "bytes3", + "name": "bytesDef3", + "type": "bytes3" + }, + { + "internalType": "bytes10", + "name": "bytesDef10", + "type": "bytes10" + }, + { + "internalType": "bytes15", + "name": "bytesDef15", + "type": "bytes15" + }, + { + "internalType": "bytes20", + "name": "bytesDef20", + "type": "bytes20" + }, + { + "internalType": "bytes25", + "name": "bytesDef25", + "type": "bytes25" + }, + { + "internalType": "bytes30", + "name": "bytesDef30", + "type": "bytes30" + }, + { + "internalType": "bytes32", + "name": "bytesDef32", + "type": "bytes32" + } + ], + "internalType": "struct Defaults.BytesDefaults", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getIntDefaults", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "uInt", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "uInt8", + "type": "uint8" + }, + { + "internalType": "uint16", + "name": "uInt16", + "type": "uint16" + }, + { + "internalType": "uint32", + "name": "uInt32", + "type": "uint32" + }, + { + "internalType": "uint64", + "name": "uInt64", + "type": "uint64" + }, + { + "internalType": "uint128", + "name": "uInt128", + "type": "uint128" + }, + { + "internalType": "uint256", + "name": "uInt256", + "type": "uint256" + } + ], + "internalType": "struct Defaults.UintDefaults", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getStringDefaults", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getUintDefaults", + "outputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "uInt", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "uInt8", + "type": "uint8" + }, + { + "internalType": "uint16", + "name": "uInt16", + "type": "uint16" + }, + { + "internalType": "uint32", + "name": "uInt32", + "type": "uint32" + }, + { + "internalType": "uint64", + "name": "uInt64", + "type": "uint64" + }, + { + "internalType": "uint128", + "name": "uInt128", + "type": "uint128" + }, + { + "internalType": "uint256", + "name": "uInt256", + "type": "uint256" + } + ], + "internalType": "struct Defaults.UintDefaults", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "strUintMap", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506107e9806100206000396000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c80639037fb8e116100665780639037fb8e1461020e578063ac22d85714610306578063ec82fe4a1461031b578063f33510021461020e578063fa9117391461035457600080fd5b806338a53e98146100985780634a1f49b5146100c157806352403b19146100c857806379144f46146101ff575b600080fd5b6100ab6100a636600461047c565b610387565b6040516100b891906104db565b60405180910390f35b60606100ab565b6101416040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6040516100b8919081517fffffff000000000000000000000000000000000000000000000000000000000016815260208083015175ffffffffffffffffffffffffffffffffffffffffffff19169082015260408083015170ffffffffffffffffffffffffffffffffff1916908201526060808301516bffffffffffffffffffffffff19169082015260808083015166ffffffffffffff19169082015260a08083015161ffff19169082015260c0918201519181019190915260e00190565b604051600081526020016100b8565b6102876040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6040516100b89190600060e0820190508251825260ff602084015116602083015261ffff604084015116604083015263ffffffff606084015116606083015267ffffffffffffffff60808401511660808301526fffffffffffffffffffffffffffffffff60a08401511660a083015260c083015160c083015292915050565b61030e610426565b6040516100b891906105b7565b610346610329366004610692565b805160208183018101805160008252928201919093012091525481565b6040519081526020016100b8565b610377610362366004610743565b60016020526000908152604090205460ff1681565b60405190151581526020016100b8565b600260205260009081526040902080546103a090610779565b80601f01602080910402602001604051908101604052809291908181526020018280546103cc90610779565b80156104195780601f106103ee57610100808354040283529160200191610419565b820191906000526020600020905b8154815290600101906020018083116103fc57829003601f168201915b505050505081565b919050565b6104516040518060800160405280606081526020016060815260200160608152602001606081525090565b6104216040518060800160405280606081526020016060815260200160608152602001606081525090565b60006020828403121561048e57600080fd5b5035919050565b6000815180845260005b818110156104bb5760208185018101518683018201520161049f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006104ee6020830184610495565b9392505050565b600081518084526020808501945080840160005b8381101561052557815187529582019590820190600101610509565b509495945050505050565b600081518084526020808501945080840160005b83811015610525578151151587529582019590820190600101610544565b600081518084526020808501808196508360051b8101915082860160005b858110156105aa578284038952610598848351610495565b98850198935090840190600101610580565b5091979650505050505050565b6000602080835260a08301845160808386015281815180845260c08701915060c08160051b8801019350848301925060005b818110156106175760bf19888603018352610605858551610495565b945092850192918501916001016105e9565b50505050818501519150601f198085830301604086015261063882846104f5565b925060408601519150808584030160608601526106558383610530565b92506060860151915080858403016080860152506106738282610562565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156106a457600080fd5b813567ffffffffffffffff808211156106bc57600080fd5b818401915084601f8301126106d057600080fd5b8135818111156106e2576106e261067c565b604051601f8201601f19908116603f0116810190838211818310171561070a5761070a61067c565b8160405282815287602084870101111561072357600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561075557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146104ee57600080fd5b600181811c9082168061078d57607f821691505b6020821081036107ad57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220f00e5e7ab10780d938ce18cb668bce21cce94b84fee595fbfadafcc388822cf364736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100935760003560e01c80639037fb8e116100665780639037fb8e1461020e578063ac22d85714610306578063ec82fe4a1461031b578063f33510021461020e578063fa9117391461035457600080fd5b806338a53e98146100985780634a1f49b5146100c157806352403b19146100c857806379144f46146101ff575b600080fd5b6100ab6100a636600461047c565b610387565b6040516100b891906104db565b60405180910390f35b60606100ab565b6101416040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6040516100b8919081517fffffff000000000000000000000000000000000000000000000000000000000016815260208083015175ffffffffffffffffffffffffffffffffffffffffffff19169082015260408083015170ffffffffffffffffffffffffffffffffff1916908201526060808301516bffffffffffffffffffffffff19169082015260808083015166ffffffffffffff19169082015260a08083015161ffff19169082015260c0918201519181019190915260e00190565b604051600081526020016100b8565b6102876040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810191909152506040805160e081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c081019190915290565b6040516100b89190600060e0820190508251825260ff602084015116602083015261ffff604084015116604083015263ffffffff606084015116606083015267ffffffffffffffff60808401511660808301526fffffffffffffffffffffffffffffffff60a08401511660a083015260c083015160c083015292915050565b61030e610426565b6040516100b891906105b7565b610346610329366004610692565b805160208183018101805160008252928201919093012091525481565b6040519081526020016100b8565b610377610362366004610743565b60016020526000908152604090205460ff1681565b60405190151581526020016100b8565b600260205260009081526040902080546103a090610779565b80601f01602080910402602001604051908101604052809291908181526020018280546103cc90610779565b80156104195780601f106103ee57610100808354040283529160200191610419565b820191906000526020600020905b8154815290600101906020018083116103fc57829003601f168201915b505050505081565b919050565b6104516040518060800160405280606081526020016060815260200160608152602001606081525090565b6104216040518060800160405280606081526020016060815260200160608152602001606081525090565b60006020828403121561048e57600080fd5b5035919050565b6000815180845260005b818110156104bb5760208185018101518683018201520161049f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006104ee6020830184610495565b9392505050565b600081518084526020808501945080840160005b8381101561052557815187529582019590820190600101610509565b509495945050505050565b600081518084526020808501945080840160005b83811015610525578151151587529582019590820190600101610544565b600081518084526020808501808196508360051b8101915082860160005b858110156105aa578284038952610598848351610495565b98850198935090840190600101610580565b5091979650505050505050565b6000602080835260a08301845160808386015281815180845260c08701915060c08160051b8801019350848301925060005b818110156106175760bf19888603018352610605858551610495565b945092850192918501916001016105e9565b50505050818501519150601f198085830301604086015261063882846104f5565b925060408601519150808584030160608601526106558383610530565b92506060860151915080858403016080860152506106738282610562565b95945050505050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156106a457600080fd5b813567ffffffffffffffff808211156106bc57600080fd5b818401915084601f8301126106d057600080fd5b8135818111156106e2576106e261067c565b604051601f8201601f19908116603f0116810190838211818310171561070a5761070a61067c565b8160405282815287602084870101111561072357600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561075557600080fd5b813573ffffffffffffffffffffffffffffffffffffffff811681146104ee57600080fd5b600181811c9082168061078d57607f821691505b6020821081036107ad57634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220f00e5e7ab10780d938ce18cb668bce21cce94b84fee595fbfadafcc388822cf364736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/encoding/Encoding.sol/Encoding.dbg.json b/artifacts/contracts/solidity/encoding/Encoding.sol/Encoding.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/encoding/Encoding.sol/Encoding.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/encoding/Encoding.sol/Encoding.json b/artifacts/contracts/solidity/encoding/Encoding.sol/Encoding.json new file mode 100644 index 000000000..74f14edf7 --- /dev/null +++ b/artifacts/contracts/solidity/encoding/Encoding.sol/Encoding.json @@ -0,0 +1,167 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Encoding", + "sourceName": "contracts/solidity/encoding/Encoding.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "name": "Added", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "add", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "encodedData", + "type": "bytes" + } + ], + "name": "decodeData", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "encodeAddFunction", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_address", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_uint", + "type": "uint256" + } + ], + "name": "encodeData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "executeAddFunction", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_addr", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_amount", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_data", + "type": "string" + } + ], + "name": "getPackedData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506105e4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c8063771602f711610050578063771602f7146100f157806390a5b0fb14610112578063a4adeeb21461014f57600080fd5b806301f4f69d14610077578063091fb9a9146100a0578063447a06f5146100b5575b600080fd5b61008a6100853660046103ba565b6101a1565b6040516100979190610449565b60405180910390f35b6100b36100ae36600461047c565b6101d0565b005b6100d26100c336600461049e565b60208101516040909101519091565b604080516001600160a01b039093168352602083019190915201610097565b6101046100ff36600461047c565b6102fd565b604051908152602001610097565b61008a6101203660046104ef565b604080516001600160a01b03939093166020840152828101919091528051808303820181526060909201905290565b61008a61015d36600461047c565b6040805160248101939093526044808401929092528051808403909201825260649092019091526020810180516001600160e01b031663771602f760e01b17905290565b60608383836040516020016101b893929190610519565b60405160208183030381529060405290509392505050565b604080516024810184905260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663771602f760e01b179052600080306001600160a01b03168360405161022a9190610558565b6000604051808303816000865af19150503d8060008114610267576040519150601f19603f3d011682016040523d82523d6000602084013e61026c565b606091505b5091509150816102b05760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b604482015260640160405180910390fd5b7f64a55044d1f2eddebe1b90e8e2853e8e96931cefadbfa0b2ceb34bee36061941818060200190518101906102e59190610574565b60405190815260200160405180910390a15050505050565b6000610309828461058d565b90505b92915050565b80356001600160a01b038116811461032957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561035f5761035f61032e565b604051601f8501601f19908116603f011681019082821181831017156103875761038761032e565b816040528093508581528686860111156103a057600080fd5b858560208301376000602087830101525050509392505050565b6000806000606084860312156103cf57600080fd5b6103d884610312565b925060208401359150604084013567ffffffffffffffff8111156103fb57600080fd5b8401601f8101861361040c57600080fd5b61041b86823560208401610344565b9150509250925092565b60005b83811015610440578181015183820152602001610428565b50506000910152565b6020815260008251806020840152610468816040850160208701610425565b601f01601f19169190910160400192915050565b6000806040838503121561048f57600080fd5b50508035926020909101359150565b6000602082840312156104b057600080fd5b813567ffffffffffffffff8111156104c757600080fd5b8201601f810184136104d857600080fd5b6104e784823560208401610344565b949350505050565b6000806040838503121561050257600080fd5b61050b83610312565b946020939093013593505050565b6bffffffffffffffffffffffff198460601b16815282601482015260008251610549816034850160208701610425565b91909101603401949350505050565b6000825161056a818460208701610425565b9190910192915050565b60006020828403121561058657600080fd5b5051919050565b8082018082111561030c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220da6d9dbfd70755288f21646f47ab84cdbe722d78b190a9707d974e7f8caa517e64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100725760003560e01c8063771602f711610050578063771602f7146100f157806390a5b0fb14610112578063a4adeeb21461014f57600080fd5b806301f4f69d14610077578063091fb9a9146100a0578063447a06f5146100b5575b600080fd5b61008a6100853660046103ba565b6101a1565b6040516100979190610449565b60405180910390f35b6100b36100ae36600461047c565b6101d0565b005b6100d26100c336600461049e565b60208101516040909101519091565b604080516001600160a01b039093168352602083019190915201610097565b6101046100ff36600461047c565b6102fd565b604051908152602001610097565b61008a6101203660046104ef565b604080516001600160a01b03939093166020840152828101919091528051808303820181526060909201905290565b61008a61015d36600461047c565b6040805160248101939093526044808401929092528051808403909201825260649092019091526020810180516001600160e01b031663771602f760e01b17905290565b60608383836040516020016101b893929190610519565b60405160208183030381529060405290509392505050565b604080516024810184905260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663771602f760e01b179052600080306001600160a01b03168360405161022a9190610558565b6000604051808303816000865af19150503d8060008114610267576040519150601f19603f3d011682016040523d82523d6000602084013e61026c565b606091505b5091509150816102b05760405162461bcd60e51b815260206004820152600b60248201526a10d85b1b0819985a5b195960aa1b604482015260640160405180910390fd5b7f64a55044d1f2eddebe1b90e8e2853e8e96931cefadbfa0b2ceb34bee36061941818060200190518101906102e59190610574565b60405190815260200160405180910390a15050505050565b6000610309828461058d565b90505b92915050565b80356001600160a01b038116811461032957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561035f5761035f61032e565b604051601f8501601f19908116603f011681019082821181831017156103875761038761032e565b816040528093508581528686860111156103a057600080fd5b858560208301376000602087830101525050509392505050565b6000806000606084860312156103cf57600080fd5b6103d884610312565b925060208401359150604084013567ffffffffffffffff8111156103fb57600080fd5b8401601f8101861361040c57600080fd5b61041b86823560208401610344565b9150509250925092565b60005b83811015610440578181015183820152602001610428565b50506000910152565b6020815260008251806020840152610468816040850160208701610425565b601f01601f19169190910160400192915050565b6000806040838503121561048f57600080fd5b50508035926020909101359150565b6000602082840312156104b057600080fd5b813567ffffffffffffffff8111156104c757600080fd5b8201601f810184136104d857600080fd5b6104e784823560208401610344565b949350505050565b6000806040838503121561050257600080fd5b61050b83610312565b946020939093013593505050565b6bffffffffffffffffffffffff198460601b16815282601482015260008251610549816034850160208701610425565b91909101603401949350505050565b6000825161056a818460208701610425565b9190910192915050565b60006020828403121561058657600080fd5b5051919050565b8082018082111561030c57634e487b7160e01b600052601160045260246000fdfea2646970667358221220da6d9dbfd70755288f21646f47ab84cdbe722d78b190a9707d974e7f8caa517e64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/encoding/Receiver.sol/Receiver.dbg.json b/artifacts/contracts/solidity/encoding/Receiver.sol/Receiver.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/encoding/Receiver.sol/Receiver.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/encoding/Receiver.sol/Receiver.json b/artifacts/contracts/solidity/encoding/Receiver.sol/Receiver.json new file mode 100644 index 000000000..b931846fc --- /dev/null +++ b/artifacts/contracts/solidity/encoding/Receiver.sol/Receiver.json @@ -0,0 +1,37 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Receiver", + "sourceName": "contracts/solidity/encoding/Receiver.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "data", + "type": "uint256" + } + ], + "name": "ReceivedData", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "data", + "type": "uint256" + } + ], + "name": "receiveData", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060c28061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063de947c8514602d575b600080fd5b603c60383660046074565b603e565b005b6040518181527fe2bb324fa67410a9554929c8822a194d56941327668b8c7ceb61e7b3b2e016f49060200160405180910390a150565b600060208284031215608557600080fd5b503591905056fea2646970667358221220325e84d0b42d1c16a9c3866172fb2d2b856bacf2b35303b4fe17a2db8e35d53c64736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c8063de947c8514602d575b600080fd5b603c60383660046074565b603e565b005b6040518181527fe2bb324fa67410a9554929c8822a194d56941327668b8c7ceb61e7b3b2e016f49060200160405180910390a150565b600060208284031215608557600080fd5b503591905056fea2646970667358221220325e84d0b42d1c16a9c3866172fb2d2b856bacf2b35303b4fe17a2db8e35d53c64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/encoding/Sender.sol/Sender.dbg.json b/artifacts/contracts/solidity/encoding/Sender.sol/Sender.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/encoding/Sender.sol/Sender.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/encoding/Sender.sol/Sender.json b/artifacts/contracts/solidity/encoding/Sender.sol/Sender.json new file mode 100644 index 000000000..886f11159 --- /dev/null +++ b/artifacts/contracts/solidity/encoding/Sender.sol/Sender.json @@ -0,0 +1,61 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Sender", + "sourceName": "contracts/solidity/encoding/Sender.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "_receiver", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "receiver", + "outputs": [ + { + "internalType": "contract Receiver", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "data", + "type": "uint256" + } + ], + "name": "sendDataEncodeCall", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "data", + "type": "uint256" + } + ], + "name": "sendDataEncodeWithSignature", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506040516103cb3803806103cb83398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610338806100936000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80631cf2bc5014610046578063ad365da41461005b578063f7260d3e1461006e575b600080fd5b6100596100543660046102ba565b61009d565b005b6100596100693660046102ba565b6101c0565b600054610081906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6000816040516024016100b291815260200190565b60408051601f198184030181529181526020820180516001600160e01b031663de947c8560e01b179052600080549151929350916001600160a01b03909116906100fd9084906102d3565b6000604051808303816000865af19150503d806000811461013a576040519150601f19603f3d011682016040523d82523d6000602084013e61013f565b606091505b50509050806101bb5760405162461bcd60e51b815260206004820152603260248201527f45787465726e616c2063616c6c207573696e67206162692e656e636f6465576960448201527f74685369676e6174757265206661696c6564000000000000000000000000000060648201526084015b60405180910390fd5b505050565b6000805460408051602480820186905282518083039091018152604490910182526020810180516001600160e01b031663de947c8560e01b17905290519092916001600160a01b0316906102159084906102d3565b6000604051808303816000865af19150503d8060008114610252576040519150601f19603f3d011682016040523d82523d6000602084013e610257565b606091505b50509050806101bb5760405162461bcd60e51b815260206004820152602960248201527f45787465726e616c2063616c6c207573696e67206162692e656e636f646543616044820152681b1b0819985a5b195960ba1b60648201526084016101b2565b6000602082840312156102cc57600080fd5b5035919050565b6000825160005b818110156102f457602081860181015185830152016102da565b50600092019182525091905056fea2646970667358221220a03f74b35eccb11f3a4a1475ae431971fa3ada278cb90f8200217071bff190a964736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c80631cf2bc5014610046578063ad365da41461005b578063f7260d3e1461006e575b600080fd5b6100596100543660046102ba565b61009d565b005b6100596100693660046102ba565b6101c0565b600054610081906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6000816040516024016100b291815260200190565b60408051601f198184030181529181526020820180516001600160e01b031663de947c8560e01b179052600080549151929350916001600160a01b03909116906100fd9084906102d3565b6000604051808303816000865af19150503d806000811461013a576040519150601f19603f3d011682016040523d82523d6000602084013e61013f565b606091505b50509050806101bb5760405162461bcd60e51b815260206004820152603260248201527f45787465726e616c2063616c6c207573696e67206162692e656e636f6465576960448201527f74685369676e6174757265206661696c6564000000000000000000000000000060648201526084015b60405180910390fd5b505050565b6000805460408051602480820186905282518083039091018152604490910182526020810180516001600160e01b031663de947c8560e01b17905290519092916001600160a01b0316906102159084906102d3565b6000604051808303816000865af19150503d8060008114610252576040519150601f19603f3d011682016040523d82523d6000602084013e610257565b606091505b50509050806101bb5760405162461bcd60e51b815260206004820152602960248201527f45787465726e616c2063616c6c207573696e67206162692e656e636f646543616044820152681b1b0819985a5b195960ba1b60648201526084016101b2565b6000602082840312156102cc57600080fd5b5035919050565b6000825160005b818110156102f457602081860181015185830152016102da565b50600092019182525091905056fea2646970667358221220a03f74b35eccb11f3a4a1475ae431971fa3ada278cb90f8200217071bff190a964736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/errors/Errors.sol/Errors.dbg.json b/artifacts/contracts/solidity/errors/Errors.sol/Errors.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/errors/Errors.sol/Errors.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/errors/Errors.sol/Errors.json b/artifacts/contracts/solidity/errors/Errors.sol/Errors.json new file mode 100644 index 000000000..6645189e2 --- /dev/null +++ b/artifacts/contracts/solidity/errors/Errors.sol/Errors.json @@ -0,0 +1,200 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Errors", + "sourceName": "contracts/solidity/errors/Errors.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "errorsExternalAddr", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "available", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "required", + "type": "uint256" + } + ], + "name": "InsufficientBalance", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "code", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "Result", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "condition", + "type": "bool" + } + ], + "name": "assertCheck", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bool", + "name": "shouldRevert", + "type": "bool" + } + ], + "name": "requireCheck", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "revertCheck", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "revertWithCustomError", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "revertWithMessageCheck", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "tryCatchWithErrorMessageRevert", + "outputs": [ + { + "internalType": "int256", + "name": "value", + "type": "int256" + }, + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "tryCatchWithPanic", + "outputs": [ + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "tryCatchWithSimpleRevert", + "outputs": [ + { + "internalType": "int256", + "name": "value", + "type": "int256" + }, + { + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060405161087938038061087983398101604081905261002f91610054565b600080546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b6107e6806100936000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c806351a645651161005b57806351a64565146100d757806368b2d264146100ea578063b519719e146100fd578063efa12a761461011057600080fd5b80630135b7d01461008d5780632632dfbf146100af5780633c45fa44146100c757806346fc4bb1146100cf575b600080fd5b610095610123565b604080519283529015156020830152015b60405180910390f35b6100b7600080fd5b60405190151581526020016100a6565b610095610224565b6100b761031e565b6100956100e53660046104b8565b610349565b6100b76100f8366004610551565b610434565b6100b761010b3660046105d4565b610452565b6100b761011e3660046105d4565b610469565b6000805460408051634700d30560e01b8152905183926001600160a01b031691634700d3059160048083019260209291908290030181865afa925050508015610189575060408051601f3d908101601f19168201909252610186918101906105f8565b60015b61021757610195610611565b634e487b710361020d576101a761062d565b906101b2575061020d565b7f0b0757697195159b9153065c6009e143c818510c8596fb3f2c42f6c4a5e9366c816040516102009181526040602082018190526005908201526470616e696360d81b606082015260800190565b60405180910390a1509091565b3d6000803e3d6000fd5b92600092509050565b9091565b60008054604080516338ff7c2760e21b8152905183926001600160a01b03169163e3fdf09c9160048083019260209291908290030181865afa92505050801561028a575060408051601f3d908101601f191682019092526102879181019061064a565b60015b610314573d8080156102b8576040519150601f19603f3d011682016040523d82523d6000602084013e6102bd565b606091505b507f0b0757697195159b9153065c6009e143c818510c8596fb3f2c42f6c4a5e9366c6000604051610200918152604060208201819052600c908201526b72657665727453696d706c6560a01b606082015260800190565b6001939092509050565b60405163cf47918160e01b815260016004820152606460248201526000906044015b60405180910390fd5b60008054604051630d97e21f60e11b815282916001600160a01b031690631b2fc43e9061037a9086906004016106ad565b602060405180830381865afa9250505080156103b3575060408051601f3d908101601f191682019092526103b09181019061064a565b60015b610429576103bf610611565b806308c379a00361041e57506103d36106c0565b806103de575061020d565b7f0b0757697195159b9153065c6009e143c818510c8596fb3f2c42f6c4a5e9366c60008260405161041092919061074a565b60405180910390a150915091565b503d6000803e3d6000fd5b600194909350915050565b6000828260405162461bcd60e51b815260040161034092919061076b565b6000816104615761046161079a565b506001919050565b60008161046157600080fd5b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156104b1576104b1610475565b6040525050565b600060208083850312156104cb57600080fd5b823567ffffffffffffffff808211156104e357600080fd5b818501915085601f8301126104f757600080fd5b81358181111561050957610509610475565b6040519150610521601f8201601f191685018361048b565b808252868482850101111561053557600080fd5b8084840185840137600090820190930192909252509392505050565b6000806020838503121561056457600080fd5b823567ffffffffffffffff8082111561057c57600080fd5b818501915085601f83011261059057600080fd5b81358181111561059f57600080fd5b8660208285010111156105b157600080fd5b60209290920196919550909350505050565b80151581146105d157600080fd5b50565b6000602082840312156105e657600080fd5b81356105f1816105c3565b9392505050565b60006020828403121561060a57600080fd5b5051919050565b600060033d111561062a5760046000803e5060005160e01c5b90565b60008060233d1115610220576020600460003e5050600051600191565b60006020828403121561065c57600080fd5b81516105f1816105c3565b6000815180845260005b8181101561068d57602081850181015186830182015201610671565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006105f16020830184610667565b600060443d10156106ce5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156106fe57505050505090565b82850191508151818111156107165750505050505090565b843d87010160208285010111156107305750505050505090565b61073f6020828601018761048b565b509095945050505050565b8281526040602082015260006107636040830184610667565b949350505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052600160045260246000fdfea26469706673582212204d363b83850e8cd521aae1c40c56364e4e7a79d21c8a927e1485471dfffccc8764736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c806351a645651161005b57806351a64565146100d757806368b2d264146100ea578063b519719e146100fd578063efa12a761461011057600080fd5b80630135b7d01461008d5780632632dfbf146100af5780633c45fa44146100c757806346fc4bb1146100cf575b600080fd5b610095610123565b604080519283529015156020830152015b60405180910390f35b6100b7600080fd5b60405190151581526020016100a6565b610095610224565b6100b761031e565b6100956100e53660046104b8565b610349565b6100b76100f8366004610551565b610434565b6100b761010b3660046105d4565b610452565b6100b761011e3660046105d4565b610469565b6000805460408051634700d30560e01b8152905183926001600160a01b031691634700d3059160048083019260209291908290030181865afa925050508015610189575060408051601f3d908101601f19168201909252610186918101906105f8565b60015b61021757610195610611565b634e487b710361020d576101a761062d565b906101b2575061020d565b7f0b0757697195159b9153065c6009e143c818510c8596fb3f2c42f6c4a5e9366c816040516102009181526040602082018190526005908201526470616e696360d81b606082015260800190565b60405180910390a1509091565b3d6000803e3d6000fd5b92600092509050565b9091565b60008054604080516338ff7c2760e21b8152905183926001600160a01b03169163e3fdf09c9160048083019260209291908290030181865afa92505050801561028a575060408051601f3d908101601f191682019092526102879181019061064a565b60015b610314573d8080156102b8576040519150601f19603f3d011682016040523d82523d6000602084013e6102bd565b606091505b507f0b0757697195159b9153065c6009e143c818510c8596fb3f2c42f6c4a5e9366c6000604051610200918152604060208201819052600c908201526b72657665727453696d706c6560a01b606082015260800190565b6001939092509050565b60405163cf47918160e01b815260016004820152606460248201526000906044015b60405180910390fd5b60008054604051630d97e21f60e11b815282916001600160a01b031690631b2fc43e9061037a9086906004016106ad565b602060405180830381865afa9250505080156103b3575060408051601f3d908101601f191682019092526103b09181019061064a565b60015b610429576103bf610611565b806308c379a00361041e57506103d36106c0565b806103de575061020d565b7f0b0757697195159b9153065c6009e143c818510c8596fb3f2c42f6c4a5e9366c60008260405161041092919061074a565b60405180910390a150915091565b503d6000803e3d6000fd5b600194909350915050565b6000828260405162461bcd60e51b815260040161034092919061076b565b6000816104615761046161079a565b506001919050565b60008161046157600080fd5b634e487b7160e01b600052604160045260246000fd5b601f8201601f1916810167ffffffffffffffff811182821017156104b1576104b1610475565b6040525050565b600060208083850312156104cb57600080fd5b823567ffffffffffffffff808211156104e357600080fd5b818501915085601f8301126104f757600080fd5b81358181111561050957610509610475565b6040519150610521601f8201601f191685018361048b565b808252868482850101111561053557600080fd5b8084840185840137600090820190930192909252509392505050565b6000806020838503121561056457600080fd5b823567ffffffffffffffff8082111561057c57600080fd5b818501915085601f83011261059057600080fd5b81358181111561059f57600080fd5b8660208285010111156105b157600080fd5b60209290920196919550909350505050565b80151581146105d157600080fd5b50565b6000602082840312156105e657600080fd5b81356105f1816105c3565b9392505050565b60006020828403121561060a57600080fd5b5051919050565b600060033d111561062a5760046000803e5060005160e01c5b90565b60008060233d1115610220576020600460003e5050600051600191565b60006020828403121561065c57600080fd5b81516105f1816105c3565b6000815180845260005b8181101561068d57602081850181015186830182015201610671565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006105f16020830184610667565b600060443d10156106ce5790565b6040516003193d81016004833e81513d67ffffffffffffffff81602484011181841117156106fe57505050505090565b82850191508151818111156107165750505050505090565b843d87010160208285010111156107305750505050505090565b61073f6020828601018761048b565b509095945050505050565b8281526040602082015260006107636040830184610667565b949350505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b634e487b7160e01b600052600160045260246000fdfea26469706673582212204d363b83850e8cd521aae1c40c56364e4e7a79d21c8a927e1485471dfffccc8764736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/errors/ErrorsExternal.sol/ErrorsExternal.dbg.json b/artifacts/contracts/solidity/errors/ErrorsExternal.sol/ErrorsExternal.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/errors/ErrorsExternal.sol/ErrorsExternal.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/errors/ErrorsExternal.sol/ErrorsExternal.json b/artifacts/contracts/solidity/errors/ErrorsExternal.sol/ErrorsExternal.json new file mode 100644 index 000000000..f4ef8a5bc --- /dev/null +++ b/artifacts/contracts/solidity/errors/ErrorsExternal.sol/ErrorsExternal.json @@ -0,0 +1,85 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ErrorsExternal", + "sourceName": "contracts/solidity/errors/ErrorsExternal.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "available", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "required", + "type": "uint256" + } + ], + "name": "InsufficientBalance", + "type": "error" + }, + { + "inputs": [], + "name": "panic", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "revertSimple", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "revertWithCustomError", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "revertWithErrorMessage", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610269806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80631b2fc43e1461005157806346fc4bb1146100795780634700d30514610081578063e3fdf09c14610097575b600080fd5b61006461005f366004610112565b61009f565b60405190151581526020015b60405180910390f35b6100646100c4565b6100896100ea565b604051908152602001610070565b610064600080fd5b60008160405162461bcd60e51b81526004016100bb91906101c3565b60405180910390fd5b60405163cf47918160e01b815260016004820152606460248201526000906044016100bb565b60006100f7816004610211565b905090565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561012457600080fd5b813567ffffffffffffffff8082111561013c57600080fd5b818401915084601f83011261015057600080fd5b813581811115610162576101626100fc565b604051601f8201601f19908116603f0116810190838211818310171561018a5761018a6100fc565b816040528281528760208487010111156101a357600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156101f0578581018301518582016040015282016101d4565b506000604082860101526040601f19601f8301168501019250505092915050565b60008261022e57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212209eef0d6cc195b561b7d20effbb82d0e600bf1c4a130c3e29815ac49eecb3180d64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80631b2fc43e1461005157806346fc4bb1146100795780634700d30514610081578063e3fdf09c14610097575b600080fd5b61006461005f366004610112565b61009f565b60405190151581526020015b60405180910390f35b6100646100c4565b6100896100ea565b604051908152602001610070565b610064600080fd5b60008160405162461bcd60e51b81526004016100bb91906101c3565b60405180910390fd5b60405163cf47918160e01b815260016004820152606460248201526000906044016100bb565b60006100f7816004610211565b905090565b634e487b7160e01b600052604160045260246000fd5b60006020828403121561012457600080fd5b813567ffffffffffffffff8082111561013c57600080fd5b818401915084601f83011261015057600080fd5b813581811115610162576101626100fc565b604051601f8201601f19908116603f0116810190838211818310171561018a5761018a6100fc565b816040528281528760208487010111156101a357600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b818110156101f0578581018301518582016040015282016101d4565b506000604082860101526040601f19601f8301168501019250505092915050565b60008261022e57634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212209eef0d6cc195b561b7d20effbb82d0e600bf1c4a130c3e29815ac49eecb3180d64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/errors/Panic.sol/Panic.dbg.json b/artifacts/contracts/solidity/errors/Panic.sol/Panic.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/errors/Panic.sol/Panic.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/errors/Panic.sol/Panic.json b/artifacts/contracts/solidity/errors/Panic.sol/Panic.json new file mode 100644 index 000000000..be1c8a83e --- /dev/null +++ b/artifacts/contracts/solidity/errors/Panic.sol/Panic.json @@ -0,0 +1,128 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Panic", + "sourceName": "contracts/solidity/errors/Panic.sol", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "getSomeArray", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x01", + "outputs": [], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x11", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x12", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x21", + "outputs": [], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x22", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x31", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x32", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x41", + "outputs": [ + { + "internalType": "uint256[]", + "name": "", + "type": "uint256[]" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "testPanicError0x51", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x60e060405260016080818152600260a052600360c0819052610022929190610035565b5034801561002f57600080fd5b5061009a565b828054828255906000526020600020908101928215610075579160200282015b82811115610075578251829060ff16905591602001919060010190610055565b50610081929150610085565b5090565b5b808211156100815760008155600101610086565b6103d8806100a96000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c8063862c90ec11610066578063862c90ec146100f1578063897c6ac7146100f9578063e03dd0de14610113578063eb84b4841461011b578063f56e98ff1461012257600080fd5b80632b95d7a4146100a35780632e88512c146100ad578063364b5fdf146100b557806347f27952146100d357806372a5984c146100e9575b600080fd5b6100ab61012a565b005b6100ab61013d565b6100bd610147565b6040516100ca919061027d565b60405180910390f35b6100db61019f565b6040519081526020016100ca565b6100db6101ba565b6100bd6101e0565b610101610226565b60405160ff90911681526020016100ca565b6100ab61023d565b6000610101565b610101610266565b6000196000816101386102c1565b505050565b6101456102d7565b565b6060600080548060200260200160405190810160405280929190818152602001828054801561019557602002820191906000526020600020905b815481526020019060010190808311610181575b5050505050905090565b60006102756101b4600560068363ffffffff16565b91505090565b600060016005815481106101d0576101d06102ed565b9060005260206000200154905090565b60606000680100000000000000006101f6610303565b60405190808252806020026020018201604052801561021f578160200160208202803683370190505b5090505090565b600060ff60016102368183610319565b9250505090565b600080548061024e5761024e610346565b60019003818190600052602060002001600090559055565b6000600581610236818361035c565b61014561038c565b6020808252825182820181905260009190848201906040850190845b818110156102b557835183529284019291840191600101610299565b50909695505050505050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60ff818116838216019081111561034057634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603160045260246000fd5b600060ff83168061037d57634e487b7160e01b600052601260045260246000fd5b8060ff84160491505092915050565b634e487b7160e01b600052605160045260246000fdfea26469706673582212201c88b42647fedf957cc4b93b3d6fb8fb478ae6c61d12355996664c166b49631164736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061009e5760003560e01c8063862c90ec11610066578063862c90ec146100f1578063897c6ac7146100f9578063e03dd0de14610113578063eb84b4841461011b578063f56e98ff1461012257600080fd5b80632b95d7a4146100a35780632e88512c146100ad578063364b5fdf146100b557806347f27952146100d357806372a5984c146100e9575b600080fd5b6100ab61012a565b005b6100ab61013d565b6100bd610147565b6040516100ca919061027d565b60405180910390f35b6100db61019f565b6040519081526020016100ca565b6100db6101ba565b6100bd6101e0565b610101610226565b60405160ff90911681526020016100ca565b6100ab61023d565b6000610101565b610101610266565b6000196000816101386102c1565b505050565b6101456102d7565b565b6060600080548060200260200160405190810160405280929190818152602001828054801561019557602002820191906000526020600020905b815481526020019060010190808311610181575b5050505050905090565b60006102756101b4600560068363ffffffff16565b91505090565b600060016005815481106101d0576101d06102ed565b9060005260206000200154905090565b60606000680100000000000000006101f6610303565b60405190808252806020026020018201604052801561021f578160200160208202803683370190505b5090505090565b600060ff60016102368183610319565b9250505090565b600080548061024e5761024e610346565b60019003818190600052602060002001600090559055565b6000600581610236818361035c565b61014561038c565b6020808252825182820181905260009190848201906040850190845b818110156102b557835183529284019291840191600101610299565b50909695505050505050565b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60ff818116838216019081111561034057634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603160045260246000fd5b600060ff83168061037d57634e487b7160e01b600052601260045260246000fd5b8060ff84160491505092915050565b634e487b7160e01b600052605160045260246000fdfea26469706673582212201c88b42647fedf957cc4b93b3d6fb8fb478ae6c61d12355996664c166b49631164736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/functions/Functions.sol/ContractInterface.dbg.json b/artifacts/contracts/solidity/functions/Functions.sol/ContractInterface.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/functions/Functions.sol/ContractInterface.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/functions/Functions.sol/ContractInterface.json b/artifacts/contracts/solidity/functions/Functions.sol/ContractInterface.json new file mode 100644 index 000000000..8c1a719cb --- /dev/null +++ b/artifacts/contracts/solidity/functions/Functions.sol/ContractInterface.json @@ -0,0 +1,35 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ContractInterface", + "sourceName": "contracts/solidity/functions/Functions.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "sumThemUp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/functions/Functions.sol/Functions.dbg.json b/artifacts/contracts/solidity/functions/Functions.sol/Functions.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/functions/Functions.sol/Functions.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/functions/Functions.sol/Functions.json b/artifacts/contracts/solidity/functions/Functions.sol/Functions.json new file mode 100644 index 000000000..3c700f032 --- /dev/null +++ b/artifacts/contracts/solidity/functions/Functions.sol/Functions.json @@ -0,0 +1,114 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Functions", + "sourceName": "contracts/solidity/functions/Functions.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "MsgValue", + "type": "event" + }, + { + "inputs": [], + "name": "checkGasleft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "checkGasleftFromExternalCall", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "manyInputsProxyCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "notPayable", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "sumThemUp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506103df806100206000396000f3fe6080604052600436106100705760003560e01c8063890dd9991161004e578063890dd999146100c85780638b5a76e4146100dd578063d0e30db0146100c6578063fae3cfa9146100f257600080fd5b8063078ac6f41461007557806312065fe0146100a7578063273884bd146100ba575b600080fd5b34801561008157600080fd5b5061009461009036600461020f565b5090565b6040519081526020015b60405180910390f35b3480156100b357600080fd5b5047610094565b3480156100c657600080fd5b005b3480156100d457600080fd5b50610094610117565b3480156100e957600080fd5b5061009461018d565b3480156100fe57600080fd5b50610107610195565b604051901515815260200161009e565b60003073ffffffffffffffffffffffffffffffffffffffff16638b5a76e46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101889190610231565b905090565b60005a905090565b6000610188600c3060405180604001604052806006815260200165737472696e6760d01b81525060048390556002805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff84161790556000600361020483826102e9565b506001949350505050565b6000806040838503121561022257600080fd5b50508035926020909101359150565b60006020828403121561024357600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061027457607f821691505b60208210810361029457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156102e457600081815260208120601f850160051c810160208610156102c15750805b601f850160051c820191505b818110156102e0578281556001016102cd565b5050505b505050565b815167ffffffffffffffff8111156103035761030361024a565b610317816103118454610260565b8461029a565b602080601f83116001811461034c57600084156103345750858301515b600019600386901b1c1916600185901b1785556102e0565b600085815260208120601f198616915b8281101561037b5788860151825594840194600190910190840161035c565b50858210156103995787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212205bb2f843606e4adf39d870e0b9151282f15a9a0be08d142771e088a8147d40e064736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100705760003560e01c8063890dd9991161004e578063890dd999146100c85780638b5a76e4146100dd578063d0e30db0146100c6578063fae3cfa9146100f257600080fd5b8063078ac6f41461007557806312065fe0146100a7578063273884bd146100ba575b600080fd5b34801561008157600080fd5b5061009461009036600461020f565b5090565b6040519081526020015b60405180910390f35b3480156100b357600080fd5b5047610094565b3480156100c657600080fd5b005b3480156100d457600080fd5b50610094610117565b3480156100e957600080fd5b5061009461018d565b3480156100fe57600080fd5b50610107610195565b604051901515815260200161009e565b60003073ffffffffffffffffffffffffffffffffffffffff16638b5a76e46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610164573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101889190610231565b905090565b60005a905090565b6000610188600c3060405180604001604052806006815260200165737472696e6760d01b81525060048390556002805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff84161790556000600361020483826102e9565b506001949350505050565b6000806040838503121561022257600080fd5b50508035926020909101359150565b60006020828403121561024357600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061027457607f821691505b60208210810361029457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156102e457600081815260208120601f850160051c810160208610156102c15750805b601f850160051c820191505b818110156102e0578281556001016102cd565b5050505b505050565b815167ffffffffffffffff8111156103035761030361024a565b610317816103118454610260565b8461029a565b602080601f83116001811461034c57600084156103345750858301515b600019600386901b1c1916600185901b1785556102e0565b600085815260208120601f198616915b8281101561037b5788860151825594840194600190910190840161035c565b50858210156103995787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212205bb2f843606e4adf39d870e0b9151282f15a9a0be08d142771e088a8147d40e064736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/functions/FunctionsChild.sol/FunctionsChild.dbg.json b/artifacts/contracts/solidity/functions/FunctionsChild.sol/FunctionsChild.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/functions/FunctionsChild.sol/FunctionsChild.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/functions/FunctionsChild.sol/FunctionsChild.json b/artifacts/contracts/solidity/functions/FunctionsChild.sol/FunctionsChild.json new file mode 100644 index 000000000..4e8d60284 --- /dev/null +++ b/artifacts/contracts/solidity/functions/FunctionsChild.sol/FunctionsChild.json @@ -0,0 +1,145 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "FunctionsChild", + "sourceName": "contracts/solidity/functions/FunctionsChild.sol", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "MsgValue", + "type": "event" + }, + { + "inputs": [], + "name": "checkGasleft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "checkGasleftFromExternalCall", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "deposit", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMessageString", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "manyInputsProxyCall", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "message", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "notPayable", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "sumThemUp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060408051808201909152600b81526a12195b1b1bc815dbdc9b1960aa1b602082015260059061004090826100e5565b506101a4565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061007057607f821691505b60208210810361009057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100e057600081815260208120601f850160051c810160208610156100bd5750805b601f850160051c820191505b818110156100dc578281556001016100c9565b5050505b505050565b81516001600160401b038111156100fe576100fe610046565b6101128161010c845461005c565b84610096565b602080601f831160018114610147576000841561012f5750858301515b600019600386901b1c1916600185901b1785556100dc565b600085815260208120601f198616915b8281101561017657888601518255948401946001909101908401610157565b50858210156101945787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61059a806101b36000396000f3fe6080604052600436106100865760003560e01c8063890dd99911610059578063890dd999146101005780638b5a76e414610115578063d0e30db0146100dc578063e21f37ce1461012a578063fae3cfa91461013f57600080fd5b8063078ac6f41461008b57806312065fe0146100bd578063273884bd146100d05780635146c096146100de575b600080fd5b34801561009757600080fd5b506100aa6100a636600461037c565b5090565b6040519081526020015b60405180910390f35b3480156100c957600080fd5b50476100aa565b3480156100dc57600080fd5b005b3480156100ea57600080fd5b506100f3610164565b6040516100b4919061039e565b34801561010c57600080fd5b506100aa6101f6565b34801561012157600080fd5b506100aa61026c565b34801561013657600080fd5b506100f3610274565b34801561014b57600080fd5b50610154610302565b60405190151581526020016100b4565b606060058054610173906103ec565b80601f016020809104026020016040519081016040528092919081815260200182805461019f906103ec565b80156101ec5780601f106101c1576101008083540402835291602001916101ec565b820191906000526020600020905b8154815290600101906020018083116101cf57829003601f168201915b5050505050905090565b60003073ffffffffffffffffffffffffffffffffffffffff16638b5a76e46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102679190610426565b905090565b60005a905090565b60058054610281906103ec565b80601f01602080910402602001604051908101604052809291908181526020018280546102ad906103ec565b80156102fa5780601f106102cf576101008083540402835291602001916102fa565b820191906000526020600020905b8154815290600101906020018083116102dd57829003601f168201915b505050505081565b6000610267600c3060405180604001604052806006815260200165737472696e6760d01b81525060048390556002805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff84161790556000600361037183826104a4565b506001949350505050565b6000806040838503121561038f57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156103cb578581018301518582016040015282016103af565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061040057607f821691505b60208210810361042057634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561043857600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b601f82111561049f57600081815260208120601f850160051c8101602086101561047c5750805b601f850160051c820191505b8181101561049b57828155600101610488565b5050505b505050565b815167ffffffffffffffff8111156104be576104be61043f565b6104d2816104cc84546103ec565b84610455565b602080601f83116001811461050757600084156104ef5750858301515b600019600386901b1c1916600185901b17855561049b565b600085815260208120601f198616915b8281101561053657888601518255948401946001909101908401610517565b50858210156105545787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212202bf25e22e610d980bdb4802a44dc486d414bd16fd809d3c907cada0f20e4809864736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100865760003560e01c8063890dd99911610059578063890dd999146101005780638b5a76e414610115578063d0e30db0146100dc578063e21f37ce1461012a578063fae3cfa91461013f57600080fd5b8063078ac6f41461008b57806312065fe0146100bd578063273884bd146100d05780635146c096146100de575b600080fd5b34801561009757600080fd5b506100aa6100a636600461037c565b5090565b6040519081526020015b60405180910390f35b3480156100c957600080fd5b50476100aa565b3480156100dc57600080fd5b005b3480156100ea57600080fd5b506100f3610164565b6040516100b4919061039e565b34801561010c57600080fd5b506100aa6101f6565b34801561012157600080fd5b506100aa61026c565b34801561013657600080fd5b506100f3610274565b34801561014b57600080fd5b50610154610302565b60405190151581526020016100b4565b606060058054610173906103ec565b80601f016020809104026020016040519081016040528092919081815260200182805461019f906103ec565b80156101ec5780601f106101c1576101008083540402835291602001916101ec565b820191906000526020600020905b8154815290600101906020018083116101cf57829003601f168201915b5050505050905090565b60003073ffffffffffffffffffffffffffffffffffffffff16638b5a76e46040518163ffffffff1660e01b8152600401602060405180830381865afa158015610243573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102679190610426565b905090565b60005a905090565b60058054610281906103ec565b80601f01602080910402602001604051908101604052809291908181526020018280546102ad906103ec565b80156102fa5780601f106102cf576101008083540402835291602001916102fa565b820191906000526020600020905b8154815290600101906020018083116102dd57829003601f168201915b505050505081565b6000610267600c3060405180604001604052806006815260200165737472696e6760d01b81525060048390556002805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff84161790556000600361037183826104a4565b506001949350505050565b6000806040838503121561038f57600080fd5b50508035926020909101359150565b600060208083528351808285015260005b818110156103cb578581018301518582016040015282016103af565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061040057607f821691505b60208210810361042057634e487b7160e01b600052602260045260246000fd5b50919050565b60006020828403121561043857600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b601f82111561049f57600081815260208120601f850160051c8101602086101561047c5750805b601f850160051c820191505b8181101561049b57828155600101610488565b5050505b505050565b815167ffffffffffffffff8111156104be576104be61043f565b6104d2816104cc84546103ec565b84610455565b602080601f83116001811461050757600084156104ef5750858301515b600019600386901b1c1916600185901b17855561049b565b600085815260208120601f198616915b8281101561053657888601518255948401946001909101908401610517565b50858210156105545787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212202bf25e22e610d980bdb4802a44dc486d414bd16fd809d3c907cada0f20e4809864736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/functions/FunctionsParent.sol/FunctionsParent.dbg.json b/artifacts/contracts/solidity/functions/FunctionsParent.sol/FunctionsParent.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/functions/FunctionsParent.sol/FunctionsParent.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/functions/FunctionsParent.sol/FunctionsParent.json b/artifacts/contracts/solidity/functions/FunctionsParent.sol/FunctionsParent.json new file mode 100644 index 000000000..f11542718 --- /dev/null +++ b/artifacts/contracts/solidity/functions/FunctionsParent.sol/FunctionsParent.json @@ -0,0 +1,48 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "FunctionsParent", + "sourceName": "contracts/solidity/functions/FunctionsParent.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "functionsContractAddr", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "message", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "testExternal", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506040516102e33803806102e383398101604081905261002f91610054565b600180546001600160a01b0319166001600160a01b0392909216919091179055610084565b60006020828403121561006657600080fd5b81516001600160a01b038116811461007d57600080fd5b9392505050565b610250806100936000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c806342e8051c1461003b578063e21f37ce14610056575b600080fd5b61004361006b565b6040519081526020015b60405180910390f35b61005e6100eb565b60405161004d9190610179565b600154604080516322d69db960e21b8152905160009273ffffffffffffffffffffffffffffffffffffffff1691638b5a76e49160048083019260209291908290030181865afa1580156100c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e691906101c7565b905090565b600080546100f8906101e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610124906101e0565b80156101715780601f1061014657610100808354040283529160200191610171565b820191906000526020600020905b81548152906001019060200180831161015457829003601f168201915b505050505081565b600060208083528351808285015260005b818110156101a65785810183015185820160400152820161018a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156101d957600080fd5b5051919050565b600181811c908216806101f457607f821691505b60208210810361021457634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220d5f6fca264ae93e9141742dd180ddcb5c7419e70421ac5434c7eb3a97d9d6fa764736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c806342e8051c1461003b578063e21f37ce14610056575b600080fd5b61004361006b565b6040519081526020015b60405180910390f35b61005e6100eb565b60405161004d9190610179565b600154604080516322d69db960e21b8152905160009273ffffffffffffffffffffffffffffffffffffffff1691638b5a76e49160048083019260209291908290030181865afa1580156100c2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100e691906101c7565b905090565b600080546100f8906101e0565b80601f0160208091040260200160405190810160405280929190818152602001828054610124906101e0565b80156101715780601f1061014657610100808354040283529160200191610171565b820191906000526020600020905b81548152906001019060200180831161015457829003601f168201915b505050505081565b600060208083528351808285015260005b818110156101a65785810183015185820160400152820161018a565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156101d957600080fd5b5051919050565b600181811c908216806101f457607f821691505b60208210810361021457634e487b7160e01b600052602260045260246000fd5b5091905056fea2646970667358221220d5f6fca264ae93e9141742dd180ddcb5c7419e70421ac5434c7eb3a97d9d6fa764736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/inhetitance/Base.sol/Base.dbg.json b/artifacts/contracts/solidity/inhetitance/Base.sol/Base.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/inhetitance/Base.sol/Base.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/inhetitance/Base.sol/Base.json b/artifacts/contracts/solidity/inhetitance/Base.sol/Base.json new file mode 100644 index 000000000..771356cde --- /dev/null +++ b/artifacts/contracts/solidity/inhetitance/Base.sol/Base.json @@ -0,0 +1,41 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Base", + "sourceName": "contracts/solidity/inhetitance/Base.sol", + "abi": [ + { + "inputs": [], + "name": "classIdentifier", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610104806100206000396000f3fe608060405260043610602a5760003560e01c806312065fe01460355780638e2a04a514605457600080fd5b36603057005b600080fd5b348015604057600080fd5b506040514781526020015b60405180910390f35b348015605f57600080fd5b506040805180820190915260048152634261736560e01b6020820152604051604b9190600060208083528351808285015260005b8181101560ad578581018301518582016040015282016093565b506000604082860101526040601f19601f830116850101925050509291505056fea264697066735822122001e15192a443defbc85d8f92c7abfa463a2375a507529219832893c110f6386264736f6c63430008140033", + "deployedBytecode": "0x608060405260043610602a5760003560e01c806312065fe01460355780638e2a04a514605457600080fd5b36603057005b600080fd5b348015604057600080fd5b506040514781526020015b60405180910390f35b348015605f57600080fd5b506040805180820190915260048152634261736560e01b6020820152604051604b9190600060208083528351808285015260005b8181101560ad578581018301518582016040015282016093565b506000604082860101526040601f19601f830116850101925050509291505056fea264697066735822122001e15192a443defbc85d8f92c7abfa463a2375a507529219832893c110f6386264736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/inhetitance/Main.sol/Main.dbg.json b/artifacts/contracts/solidity/inhetitance/Main.sol/Main.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/inhetitance/Main.sol/Main.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/inhetitance/Main.sol/Main.json b/artifacts/contracts/solidity/inhetitance/Main.sol/Main.json new file mode 100644 index 000000000..878ea5331 --- /dev/null +++ b/artifacts/contracts/solidity/inhetitance/Main.sol/Main.json @@ -0,0 +1,80 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Main", + "sourceName": "contracts/solidity/inhetitance/Main.sol", + "abi": [ + { + "inputs": [], + "name": "classIdentifier", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "recipient", + "type": "address" + } + ], + "name": "destroyContract", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "returnSuper", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "returnThis", + "outputs": [ + { + "internalType": "contract Main", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061020c806100206000396000f3fe60806040526004361061004e5760003560e01c8063016a37381461005a5780630ab257b41461007c5780630b7113fc146100a757806312065fe0146100c25780638e2a04a5146100dd57600080fd5b3661005557005b600080fd5b34801561006657600080fd5b5061007a61007536600461014b565b61010a565b005b34801561008857600080fd5b50610091610123565b60405161009e9190610188565b60405180910390f35b3480156100b357600080fd5b5060405130815260200161009e565b3480156100ce57600080fd5b5060405147815260200161009e565b3480156100e957600080fd5b5060408051808201909152600481526326b0b4b760e11b6020820152610091565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b60606101466040805180820190915260048152634261736560e01b602082015290565b905090565b60006020828403121561015d57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461018157600080fd5b9392505050565b600060208083528351808285015260005b818110156101b557858101830151858201604001528201610199565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220f75b0ae26e3a7eeaa0c383a31814b04e7db8e8b2f8ba786a9c0e1e663bf3bfa064736f6c63430008140033", + "deployedBytecode": "0x60806040526004361061004e5760003560e01c8063016a37381461005a5780630ab257b41461007c5780630b7113fc146100a757806312065fe0146100c25780638e2a04a5146100dd57600080fd5b3661005557005b600080fd5b34801561006657600080fd5b5061007a61007536600461014b565b61010a565b005b34801561008857600080fd5b50610091610123565b60405161009e9190610188565b60405180910390f35b3480156100b357600080fd5b5060405130815260200161009e565b3480156100ce57600080fd5b5060405147815260200161009e565b3480156100e957600080fd5b5060408051808201909152600481526326b0b4b760e11b6020820152610091565b8073ffffffffffffffffffffffffffffffffffffffff16ff5b60606101466040805180820190915260048152634261736560e01b602082015290565b905090565b60006020828403121561015d57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461018157600080fd5b9392505050565b600060208083528351808285015260005b818110156101b557858101830151858201604001528201610199565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220f75b0ae26e3a7eeaa0c383a31814b04e7db8e8b2f8ba786a9c0e1e663bf3bfa064736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/modifiers/A.sol/A.dbg.json b/artifacts/contracts/solidity/modifiers/A.sol/A.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/A.sol/A.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/modifiers/A.sol/A.json b/artifacts/contracts/solidity/modifiers/A.sol/A.json new file mode 100644 index 000000000..6de69e21f --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/A.sol/A.json @@ -0,0 +1,24 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "A", + "sourceName": "contracts/solidity/modifiers/A.sol", + "abi": [ + { + "inputs": [], + "name": "show", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060f58061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c8063cc80f6f314602d575b600080fd5b604080518082018252601281527f5468697320697320636f6e74726163742041000000000000000000000000000060208201529051606a91906073565b60405180910390f35b600060208083528351808285015260005b81811015609e578581018301518582016040015282016084565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212202725eefc6754709da94177a023d5e28ce5d1073ffaf733215c48fe40eb85d1f364736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060285760003560e01c8063cc80f6f314602d575b600080fd5b604080518082018252601281527f5468697320697320636f6e74726163742041000000000000000000000000000060208201529051606a91906073565b60405180910390f35b600060208083528351808285015260005b81811015609e578581018301518582016040015282016084565b506000604082860101526040601f19601f830116850101925050509291505056fea26469706673582212202725eefc6754709da94177a023d5e28ce5d1073ffaf733215c48fe40eb85d1f364736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/modifiers/B.sol/B.dbg.json b/artifacts/contracts/solidity/modifiers/B.sol/B.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/B.sol/B.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/modifiers/B.sol/B.json b/artifacts/contracts/solidity/modifiers/B.sol/B.json new file mode 100644 index 000000000..5f7390b27 --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/B.sol/B.json @@ -0,0 +1,230 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "B", + "sourceName": "contracts/solidity/modifiers/B.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "_baseValue", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": true, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "AnonymousEvent", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "RegularEvent", + "type": "event" + }, + { + "inputs": [], + "name": "MAX_SUPPLY", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "addPure", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "data", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "deploymentTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "makePayment", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "show", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "triggerAnonymousEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_message", + "type": "string" + } + ], + "name": "triggerRegularEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60a060405234801561001057600080fd5b506040516105ad3803806105ad83398101604081905261002f9161004d565b600055600180546001600160a01b0319163317905542608052610066565b60006020828403121561005f57600080fd5b5051919050565b60805161052c61008160003960006101c1015261052c6000f3fe6080604052600436106100ac5760003560e01c806373d4a13a11610074578063bfc12c051161004e578063bfc12c05146101af578063cc80f6f3146101e3578063d8d797001461020557600080fd5b806373d4a13a146101415780638da5cb5b14610157578063bc69a5311461018f57600080fd5b806312065fe0146100b157806332cb6b0c146100d3578063368cc017146100ea5780633bc5de301461010c578063459dc56c14610121575b600080fd5b3480156100bd57600080fd5b50475b6040519081526020015b60405180910390f35b3480156100df57600080fd5b506100c0620f424081565b3480156100f657600080fd5b5061010a610105366004610326565b61020d565b005b34801561011857600080fd5b506000546100c0565b34801561012d57600080fd5b506100c061013c3660046103ff565b61025f565b34801561014d57600080fd5b506100c060005481565b34801561016357600080fd5b50600154610177906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b34801561019b57600080fd5b5061010a6101aa366004610421565b610274565b3480156101bb57600080fd5b506100c07f000000000000000000000000000000000000000000000000000000000000000081565b3480156101ef57600080fd5b506101f861028a565b6040516100ca9190610480565b61010a6102aa565b826001600160a01b0316336001600160a01b03167f8c60167d897b78b9b14f6c3d117a0084825fb576f33802e8bf4c7dc632c0b7428484604051610252929190610493565b60405180910390a3505050565b600061026b82846104b4565b90505b92915050565b604051818152339060200160405180910390a150565b60606040518060600160405280602181526020016104d660219139905090565b6000341161030e5760405162461bcd60e51b815260206004820152602760248201527f5061796d656e7420616d6f756e742073686f756c6420626520677265617465726044820152660207468616e20360cc1b606482015260840160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561033b57600080fd5b83356001600160a01b038116811461035257600080fd5b925060208401359150604084013567ffffffffffffffff8082111561037657600080fd5b818601915086601f83011261038a57600080fd5b81358181111561039c5761039c610310565b604051601f8201601f19908116603f011681019083821181831017156103c4576103c4610310565b816040528281528960208487010111156103dd57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000806040838503121561041257600080fd5b50508035926020909101359150565b60006020828403121561043357600080fd5b5035919050565b6000815180845260005b8181101561046057602081850181015186830182015201610444565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061026b602083018461043a565b8281526040602082015260006104ac604083018461043a565b949350505050565b8082018082111561026e57634e487b7160e01b600052601160045260246000fdfe5468697320697320746865206f766572726964696e6720636f6e74726163742042a2646970667358221220afe62e0c817348ef382aa4d286f281986b162b9f316745d737450e786e98a0b664736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100ac5760003560e01c806373d4a13a11610074578063bfc12c051161004e578063bfc12c05146101af578063cc80f6f3146101e3578063d8d797001461020557600080fd5b806373d4a13a146101415780638da5cb5b14610157578063bc69a5311461018f57600080fd5b806312065fe0146100b157806332cb6b0c146100d3578063368cc017146100ea5780633bc5de301461010c578063459dc56c14610121575b600080fd5b3480156100bd57600080fd5b50475b6040519081526020015b60405180910390f35b3480156100df57600080fd5b506100c0620f424081565b3480156100f657600080fd5b5061010a610105366004610326565b61020d565b005b34801561011857600080fd5b506000546100c0565b34801561012d57600080fd5b506100c061013c3660046103ff565b61025f565b34801561014d57600080fd5b506100c060005481565b34801561016357600080fd5b50600154610177906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b34801561019b57600080fd5b5061010a6101aa366004610421565b610274565b3480156101bb57600080fd5b506100c07f000000000000000000000000000000000000000000000000000000000000000081565b3480156101ef57600080fd5b506101f861028a565b6040516100ca9190610480565b61010a6102aa565b826001600160a01b0316336001600160a01b03167f8c60167d897b78b9b14f6c3d117a0084825fb576f33802e8bf4c7dc632c0b7428484604051610252929190610493565b60405180910390a3505050565b600061026b82846104b4565b90505b92915050565b604051818152339060200160405180910390a150565b60606040518060600160405280602181526020016104d660219139905090565b6000341161030e5760405162461bcd60e51b815260206004820152602760248201527f5061796d656e7420616d6f756e742073686f756c6420626520677265617465726044820152660207468616e20360cc1b606482015260840160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561033b57600080fd5b83356001600160a01b038116811461035257600080fd5b925060208401359150604084013567ffffffffffffffff8082111561037657600080fd5b818601915086601f83011261038a57600080fd5b81358181111561039c5761039c610310565b604051601f8201601f19908116603f011681019083821181831017156103c4576103c4610310565b816040528281528960208487010111156103dd57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000806040838503121561041257600080fd5b50508035926020909101359150565b60006020828403121561043357600080fd5b5035919050565b6000815180845260005b8181101561046057602081850181015186830182015201610444565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061026b602083018461043a565b8281526040602082015260006104ac604083018461043a565b949350505050565b8082018082111561026e57634e487b7160e01b600052601160045260246000fdfe5468697320697320746865206f766572726964696e6720636f6e74726163742042a2646970667358221220afe62e0c817348ef382aa4d286f281986b162b9f316745d737450e786e98a0b664736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/modifiers/DerivedContract.sol/DerivedContract.dbg.json b/artifacts/contracts/solidity/modifiers/DerivedContract.sol/DerivedContract.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/DerivedContract.sol/DerivedContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/modifiers/DerivedContract.sol/DerivedContract.json b/artifacts/contracts/solidity/modifiers/DerivedContract.sol/DerivedContract.json new file mode 100644 index 000000000..6a3775760 --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/DerivedContract.sol/DerivedContract.json @@ -0,0 +1,230 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "DerivedContract", + "sourceName": "contracts/solidity/modifiers/DerivedContract.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "_baseValue", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": true, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "AnonymousEvent", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "RegularEvent", + "type": "event" + }, + { + "inputs": [], + "name": "MAX_SUPPLY", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "addPure", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "data", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "deploymentTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "makePayment", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "show", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "triggerAnonymousEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_message", + "type": "string" + } + ], + "name": "triggerRegularEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60a060405234801561001057600080fd5b5060405161059638038061059683398101604081905261002f9161004d565b600055600180546001600160a01b0319163317905542608052610066565b60006020828403121561005f57600080fd5b5051919050565b60805161051561008160003960006101c101526105156000f3fe6080604052600436106100ac5760003560e01c806373d4a13a11610074578063bfc12c051161004e578063bfc12c05146101af578063cc80f6f3146101e3578063d8d797001461022f57600080fd5b806373d4a13a146101415780638da5cb5b14610157578063bc69a5311461018f57600080fd5b806312065fe0146100b157806332cb6b0c146100d3578063368cc017146100ea5780633bc5de301461010c578063459dc56c14610121575b600080fd5b3480156100bd57600080fd5b50475b6040519081526020015b60405180910390f35b3480156100df57600080fd5b506100c0620f424081565b3480156100f657600080fd5b5061010a610105366004610330565b610237565b005b34801561011857600080fd5b506000546100c0565b34801561012d57600080fd5b506100c061013c366004610409565b610289565b34801561014d57600080fd5b506100c060005481565b34801561016357600080fd5b50600154610177906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b34801561019b57600080fd5b5061010a6101aa36600461042b565b61029e565b3480156101bb57600080fd5b506100c07f000000000000000000000000000000000000000000000000000000000000000081565b3480156101ef57600080fd5b50604080518082018252601c81527f5468697320697320746865206465726976656420636f6e747261637400000000602082015290516100ca919061048a565b61010a6102b4565b826001600160a01b0316336001600160a01b03167f8c60167d897b78b9b14f6c3d117a0084825fb576f33802e8bf4c7dc632c0b742848460405161027c92919061049d565b60405180910390a3505050565b600061029582846104be565b90505b92915050565b604051818152339060200160405180910390a150565b600034116103185760405162461bcd60e51b815260206004820152602760248201527f5061796d656e7420616d6f756e742073686f756c6420626520677265617465726044820152660207468616e20360cc1b606482015260840160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561034557600080fd5b83356001600160a01b038116811461035c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561038057600080fd5b818601915086601f83011261039457600080fd5b8135818111156103a6576103a661031a565b604051601f8201601f19908116603f011681019083821181831017156103ce576103ce61031a565b816040528281528960208487010111156103e757600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000806040838503121561041c57600080fd5b50508035926020909101359150565b60006020828403121561043d57600080fd5b5035919050565b6000815180845260005b8181101561046a5760208185018101518683018201520161044e565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006102956020830184610444565b8281526040602082015260006104b66040830184610444565b949350505050565b8082018082111561029857634e487b7160e01b600052601160045260246000fdfea264697066735822122018d2476f3112164cce7d67ff55642cccdcdc569c3a9a114532934032fe6774f464736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100ac5760003560e01c806373d4a13a11610074578063bfc12c051161004e578063bfc12c05146101af578063cc80f6f3146101e3578063d8d797001461022f57600080fd5b806373d4a13a146101415780638da5cb5b14610157578063bc69a5311461018f57600080fd5b806312065fe0146100b157806332cb6b0c146100d3578063368cc017146100ea5780633bc5de301461010c578063459dc56c14610121575b600080fd5b3480156100bd57600080fd5b50475b6040519081526020015b60405180910390f35b3480156100df57600080fd5b506100c0620f424081565b3480156100f657600080fd5b5061010a610105366004610330565b610237565b005b34801561011857600080fd5b506000546100c0565b34801561012d57600080fd5b506100c061013c366004610409565b610289565b34801561014d57600080fd5b506100c060005481565b34801561016357600080fd5b50600154610177906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b34801561019b57600080fd5b5061010a6101aa36600461042b565b61029e565b3480156101bb57600080fd5b506100c07f000000000000000000000000000000000000000000000000000000000000000081565b3480156101ef57600080fd5b50604080518082018252601c81527f5468697320697320746865206465726976656420636f6e747261637400000000602082015290516100ca919061048a565b61010a6102b4565b826001600160a01b0316336001600160a01b03167f8c60167d897b78b9b14f6c3d117a0084825fb576f33802e8bf4c7dc632c0b742848460405161027c92919061049d565b60405180910390a3505050565b600061029582846104be565b90505b92915050565b604051818152339060200160405180910390a150565b600034116103185760405162461bcd60e51b815260206004820152602760248201527f5061796d656e7420616d6f756e742073686f756c6420626520677265617465726044820152660207468616e20360cc1b606482015260840160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561034557600080fd5b83356001600160a01b038116811461035c57600080fd5b925060208401359150604084013567ffffffffffffffff8082111561038057600080fd5b818601915086601f83011261039457600080fd5b8135818111156103a6576103a661031a565b604051601f8201601f19908116603f011681019083821181831017156103ce576103ce61031a565b816040528281528960208487010111156103e757600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000806040838503121561041c57600080fd5b50508035926020909101359150565b60006020828403121561043d57600080fd5b5035919050565b6000815180845260005b8181101561046a5760208185018101518683018201520161044e565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006102956020830184610444565b8281526040602082015260006104b66040830184610444565b949350505050565b8082018082111561029857634e487b7160e01b600052601160045260246000fdfea264697066735822122018d2476f3112164cce7d67ff55642cccdcdc569c3a9a114532934032fe6774f464736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/modifiers/Modifiers.sol/Modifiers.dbg.json b/artifacts/contracts/solidity/modifiers/Modifiers.sol/Modifiers.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/Modifiers.sol/Modifiers.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/modifiers/Modifiers.sol/Modifiers.json b/artifacts/contracts/solidity/modifiers/Modifiers.sol/Modifiers.json new file mode 100644 index 000000000..2acd08cfa --- /dev/null +++ b/artifacts/contracts/solidity/modifiers/Modifiers.sol/Modifiers.json @@ -0,0 +1,230 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Modifiers", + "sourceName": "contracts/solidity/modifiers/Modifiers.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "_initialData", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": true, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "AnonymousEvent", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "RegularEvent", + "type": "event" + }, + { + "inputs": [], + "name": "MAX_SUPPLY", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "a", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "b", + "type": "uint256" + } + ], + "name": "addPure", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "data", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "deploymentTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getData", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "makePayment", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "show", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + } + ], + "name": "triggerAnonymousEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "_value", + "type": "uint256" + }, + { + "internalType": "string", + "name": "_message", + "type": "string" + } + ], + "name": "triggerRegularEvent", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x60a060405234801561001057600080fd5b506040516105af3803806105af83398101604081905261002f9161004d565b600055600180546001600160a01b0319163317905542608052610066565b60006020828403121561005f57600080fd5b5051919050565b60805161052e61008160003960006101c1015261052e6000f3fe6080604052600436106100ac5760003560e01c806373d4a13a11610074578063bfc12c051161004e578063bfc12c05146101af578063cc80f6f3146101e3578063d8d797001461020557600080fd5b806373d4a13a146101415780638da5cb5b14610157578063bc69a5311461018f57600080fd5b806312065fe0146100b157806332cb6b0c146100d3578063368cc017146100ea5780633bc5de301461010c578063459dc56c14610121575b600080fd5b3480156100bd57600080fd5b50475b6040519081526020015b60405180910390f35b3480156100df57600080fd5b506100c0620f424081565b3480156100f657600080fd5b5061010a610105366004610326565b61020d565b005b34801561011857600080fd5b506000546100c0565b34801561012d57600080fd5b506100c061013c3660046103ff565b61025f565b34801561014d57600080fd5b506100c060005481565b34801561016357600080fd5b50600154610177906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b34801561019b57600080fd5b5061010a6101aa366004610421565b610274565b3480156101bb57600080fd5b506100c07f000000000000000000000000000000000000000000000000000000000000000081565b3480156101ef57600080fd5b506101f861028a565b6040516100ca9190610480565b61010a6102aa565b826001600160a01b0316336001600160a01b03167f8c60167d897b78b9b14f6c3d117a0084825fb576f33802e8bf4c7dc632c0b7428484604051610252929190610493565b60405180910390a3505050565b600061026b82846104b4565b90505b92915050565b604051818152339060200160405180910390a150565b60606040518060600160405280602381526020016104d660239139905090565b6000341161030e5760405162461bcd60e51b815260206004820152602760248201527f5061796d656e7420616d6f756e742073686f756c6420626520677265617465726044820152660207468616e20360cc1b606482015260840160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561033b57600080fd5b83356001600160a01b038116811461035257600080fd5b925060208401359150604084013567ffffffffffffffff8082111561037657600080fd5b818601915086601f83011261038a57600080fd5b81358181111561039c5761039c610310565b604051601f8201601f19908116603f011681019083821181831017156103c4576103c4610310565b816040528281528960208487010111156103dd57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000806040838503121561041257600080fd5b50508035926020909101359150565b60006020828403121561043357600080fd5b5035919050565b6000815180845260005b8181101561046057602081850181015186830182015201610444565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061026b602083018461043a565b8281526040602082015260006104ac604083018461043a565b949350505050565b8082018082111561026e57634e487b7160e01b600052601160045260246000fdfe54686973206973207468652062617365204d6f6469666965727320636f6e7472616374a2646970667358221220f015325bbf98a1627f97dc0dce48ce19b4ea1610b89b231111ef88241838525864736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100ac5760003560e01c806373d4a13a11610074578063bfc12c051161004e578063bfc12c05146101af578063cc80f6f3146101e3578063d8d797001461020557600080fd5b806373d4a13a146101415780638da5cb5b14610157578063bc69a5311461018f57600080fd5b806312065fe0146100b157806332cb6b0c146100d3578063368cc017146100ea5780633bc5de301461010c578063459dc56c14610121575b600080fd5b3480156100bd57600080fd5b50475b6040519081526020015b60405180910390f35b3480156100df57600080fd5b506100c0620f424081565b3480156100f657600080fd5b5061010a610105366004610326565b61020d565b005b34801561011857600080fd5b506000546100c0565b34801561012d57600080fd5b506100c061013c3660046103ff565b61025f565b34801561014d57600080fd5b506100c060005481565b34801561016357600080fd5b50600154610177906001600160a01b031681565b6040516001600160a01b0390911681526020016100ca565b34801561019b57600080fd5b5061010a6101aa366004610421565b610274565b3480156101bb57600080fd5b506100c07f000000000000000000000000000000000000000000000000000000000000000081565b3480156101ef57600080fd5b506101f861028a565b6040516100ca9190610480565b61010a6102aa565b826001600160a01b0316336001600160a01b03167f8c60167d897b78b9b14f6c3d117a0084825fb576f33802e8bf4c7dc632c0b7428484604051610252929190610493565b60405180910390a3505050565b600061026b82846104b4565b90505b92915050565b604051818152339060200160405180910390a150565b60606040518060600160405280602381526020016104d660239139905090565b6000341161030e5760405162461bcd60e51b815260206004820152602760248201527f5061796d656e7420616d6f756e742073686f756c6420626520677265617465726044820152660207468616e20360cc1b606482015260840160405180910390fd5b565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561033b57600080fd5b83356001600160a01b038116811461035257600080fd5b925060208401359150604084013567ffffffffffffffff8082111561037657600080fd5b818601915086601f83011261038a57600080fd5b81358181111561039c5761039c610310565b604051601f8201601f19908116603f011681019083821181831017156103c4576103c4610310565b816040528281528960208487010111156103dd57600080fd5b8260208601602083013760006020848301015280955050505050509250925092565b6000806040838503121561041257600080fd5b50508035926020909101359150565b60006020828403121561043357600080fd5b5035919050565b6000815180845260005b8181101561046057602081850181015186830182015201610444565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061026b602083018461043a565b8281526040602082015260006104ac604083018461043a565b949350505050565b8082018082111561026e57634e487b7160e01b600052601160045260246000fdfe54686973206973207468652062617365204d6f6469666965727320636f6e7472616374a2646970667358221220f015325bbf98a1627f97dc0dce48ce19b4ea1610b89b231111ef88241838525864736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/modular/Token.sol/Balances.dbg.json b/artifacts/contracts/solidity/modular/Token.sol/Balances.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/modular/Token.sol/Balances.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/modular/Token.sol/Balances.json b/artifacts/contracts/solidity/modular/Token.sol/Balances.json new file mode 100644 index 000000000..023c6b9ea --- /dev/null +++ b/artifacts/contracts/solidity/modular/Token.sol/Balances.json @@ -0,0 +1,10 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Balances", + "sourceName": "contracts/solidity/modular/Token.sol", + "abi": [], + "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201d5cc6d42ff94accdc9d6cddc69f6d8660ebb53d538c68277e883938c29fc9f864736f6c63430008140033", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212201d5cc6d42ff94accdc9d6cddc69f6d8660ebb53d538c68277e883938c29fc9f864736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/modular/Token.sol/Token.dbg.json b/artifacts/contracts/solidity/modular/Token.sol/Token.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/modular/Token.sol/Token.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/modular/Token.sol/Token.json b/artifacts/contracts/solidity/modular/Token.sol/Token.json new file mode 100644 index 000000000..7aa8c113a --- /dev/null +++ b/artifacts/contracts/solidity/modular/Token.sol/Token.json @@ -0,0 +1,192 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Token", + "sourceName": "contracts/solidity/modular/Token.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": false, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "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": "balance", + "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": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "tokenOwner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "balance", + "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": "success", + "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": "success", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060405161056238038061056283398101604081905261002f91610044565b3360009081526020819052604090205561005d565b60006020828403121561005657600080fd5b5051919050565b6104f68061006c6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063095ea7b31461005c57806323b872dd1461008457806370a0823114610097578063a9059cbb146100ce578063dd62ed3e146100e1575b600080fd5b61006f61006a3660046103c9565b61011a565b60405190151581526020015b60405180910390f35b61006f6100923660046103f3565b6101db565b6100c06100a536600461042f565b6001600160a01b031660009081526020819052604090205490565b60405190815260200161007b565b61006f6100dc3660046103c9565b6102a6565b6100c06100ef366004610451565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3360009081526001602090815260408083206001600160a01b0386168452909152812054156101695760405162461bcd60e51b8152602060048201526000602482015260440160405180910390fd5b3360008181526001602090815260408083206001600160a01b0388168085529083529281902086905580519384529083019190915281018390527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906060015b60405180910390a15060015b92915050565b6001600160a01b038316600090815260016020908152604080832033845290915281205482111561020b57600080fd5b6001600160a01b03841660009081526001602090815260408083203384529091528120805484929061023e90849061049a565b90915550610251905060008585856102fa565b604080516001600160a01b038087168252851660208201529081018390527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060600160405180910390a15060019392505050565b60006102b4813385856102fa565b604080513381526001600160a01b03851660208201529081018390527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906060016101c9565b6001600160a01b03831660009081526020859052604090205481111561031f57600080fd5b6001600160a01b03821660009081526020859052604090205461034282826104ad565b101561034d57600080fd5b6001600160a01b0383166000908152602085905260408120805483929061037590849061049a565b90915550506001600160a01b038216600090815260208590526040812080548392906103a29084906104ad565b909155505050505050565b80356001600160a01b03811681146103c457600080fd5b919050565b600080604083850312156103dc57600080fd5b6103e5836103ad565b946020939093013593505050565b60008060006060848603121561040857600080fd5b610411846103ad565b925061041f602085016103ad565b9150604084013590509250925092565b60006020828403121561044157600080fd5b61044a826103ad565b9392505050565b6000806040838503121561046457600080fd5b61046d836103ad565b915061047b602084016103ad565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156101d5576101d5610484565b808201808211156101d5576101d561048456fea2646970667358221220a2d0a37d2116467a5a6145dd466e0bfc757f5ab86ba155ec3118e8115a8531ff64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063095ea7b31461005c57806323b872dd1461008457806370a0823114610097578063a9059cbb146100ce578063dd62ed3e146100e1575b600080fd5b61006f61006a3660046103c9565b61011a565b60405190151581526020015b60405180910390f35b61006f6100923660046103f3565b6101db565b6100c06100a536600461042f565b6001600160a01b031660009081526020819052604090205490565b60405190815260200161007b565b61006f6100dc3660046103c9565b6102a6565b6100c06100ef366004610451565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3360009081526001602090815260408083206001600160a01b0386168452909152812054156101695760405162461bcd60e51b8152602060048201526000602482015260440160405180910390fd5b3360008181526001602090815260408083206001600160a01b0388168085529083529281902086905580519384529083019190915281018390527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906060015b60405180910390a15060015b92915050565b6001600160a01b038316600090815260016020908152604080832033845290915281205482111561020b57600080fd5b6001600160a01b03841660009081526001602090815260408083203384529091528120805484929061023e90849061049a565b90915550610251905060008585856102fa565b604080516001600160a01b038087168252851660208201529081018390527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060600160405180910390a15060019392505050565b60006102b4813385856102fa565b604080513381526001600160a01b03851660208201529081018390527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906060016101c9565b6001600160a01b03831660009081526020859052604090205481111561031f57600080fd5b6001600160a01b03821660009081526020859052604090205461034282826104ad565b101561034d57600080fd5b6001600160a01b0383166000908152602085905260408120805483929061037590849061049a565b90915550506001600160a01b038216600090815260208590526040812080548392906103a29084906104ad565b909155505050505050565b80356001600160a01b03811681146103c457600080fd5b919050565b600080604083850312156103dc57600080fd5b6103e5836103ad565b946020939093013593505050565b60008060006060848603121561040857600080fd5b610411846103ad565b925061041f602085016103ad565b9150604084013590509250925092565b60006020828403121561044157600080fd5b61044a826103ad565b9392505050565b6000806040838503121561046457600080fd5b61046d836103ad565b915061047b602084016103ad565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b818103818111156101d5576101d5610484565b808201808211156101d5576101d561048456fea2646970667358221220a2d0a37d2116467a5a6145dd466e0bfc757f5ab86ba155ec3118e8115a8531ff64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/new/New.sol/New.dbg.json b/artifacts/contracts/solidity/new/New.sol/New.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/new/New.sol/New.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/new/New.sol/New.json b/artifacts/contracts/solidity/new/New.sol/New.json new file mode 100644 index 000000000..0dea1cf6f --- /dev/null +++ b/artifacts/contracts/solidity/new/New.sol/New.json @@ -0,0 +1,94 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "New", + "sourceName": "contracts/solidity/new/New.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "contractName", + "type": "string" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "createContract", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "contractName", + "type": "string" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "createContractWithData", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "contractName", + "type": "string" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "name": "createContractWithSalt", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "newContractsInfo", + "outputs": [ + { + "internalType": "address", + "name": "contractAddr", + "type": "address" + }, + { + "internalType": "string", + "name": "message", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50611190806100206000396000f3fe60806040523480156200001157600080fd5b5060043610620000525760003560e01c806336cea35614620000575780634d4be89c1462000070578063631a42311462000087578063872a45de146200009e575b600080fd5b6200006e620000683660046200054e565b620000ce565b005b6200006e62000081366004620005c1565b620001ff565b6200006e620000983660046200054e565b62000336565b620000b5620000af366004620006b7565b62000424565b604051620000c592919062000765565b60405180910390f35b60008282604051620000e090620004e6565b620000ed929190620007aa565b604051809103906000f0801580156200010a573d6000803e3d6000fd5b5090506040518060400160405280826001600160a01b03168152602001826001600160a01b031663e21f37ce6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000166573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001909190810190620007d9565b81525060008686604051620001a792919062000859565b908152604051602091819003820190208251815473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909116178155908201516001820190620001f59082620008f8565b5050505050505050565b60008583836040516200021290620004e6565b6200021f929190620007aa565b8190604051809103906000f590508015801562000240573d6000803e3d6000fd5b5090506040518060400160405280826001600160a01b03168152602001826001600160a01b031663e21f37ce6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200029c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620002c69190810190620007d9565b81525060008686604051620002dd92919062000859565b908152604051602091819003820190208251815473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039091161781559082015160018201906200032b9082620008f8565b505050505050505050565b60006040516200034690620004f4565b604051809103906000f08015801562000363573d6000803e3d6000fd5b50604051631b45c3b960e11b81529091506001600160a01b0382169063368b877290620003979086908690600401620007aa565b600060405180830381600087803b158015620003b257600080fd5b505af1158015620003c7573d6000803e3d6000fd5b505050506040518060400160405280826001600160a01b03168152602001826001600160a01b031663e21f37ce6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000166573d6000803e3d6000fd5b8051602081830181018051600082529282019190930120915280546001820180546001600160a01b0390921692916200045d9062000869565b80601f01602080910402602001604051908101604052809291908181526020018280546200048b9062000869565b8015620004dc5780601f10620004b057610100808354040283529160200191620004dc565b820191906000526020600020905b815481529060010190602001808311620004be57829003601f168201915b5050505050905082565b61041280620009c683390190565b6103838062000dd883390190565b60008083601f8401126200051557600080fd5b50813567ffffffffffffffff8111156200052e57600080fd5b6020830191508360208285010111156200054757600080fd5b9250929050565b600080600080604085870312156200056557600080fd5b843567ffffffffffffffff808211156200057e57600080fd5b6200058c8883890162000502565b90965094506020870135915080821115620005a657600080fd5b50620005b58782880162000502565b95989497509550505050565b600080600080600060608688031215620005da57600080fd5b85359450602086013567ffffffffffffffff80821115620005fa57600080fd5b6200060889838a0162000502565b909650945060408801359150808211156200062257600080fd5b50620006318882890162000502565b969995985093965092949392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171562000684576200068462000642565b604052919050565b600067ffffffffffffffff821115620006a957620006a962000642565b50601f01601f191660200190565b600060208284031215620006ca57600080fd5b813567ffffffffffffffff811115620006e257600080fd5b8201601f81018413620006f457600080fd5b80356200070b62000705826200068c565b62000658565b8181528560208385010111156200072157600080fd5b81602084016020830137600091810160200191909152949350505050565b60005b838110156200075c57818101518382015260200162000742565b50506000910152565b6001600160a01b03831681526040602082015260008251806040840152620007958160608501602087016200073f565b601f01601f1916919091016060019392505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215620007ec57600080fd5b815167ffffffffffffffff8111156200080457600080fd5b8201601f810184136200081657600080fd5b80516200082762000705826200068c565b8181528560208385010111156200083d57600080fd5b620008508260208301602086016200073f565b95945050505050565b8183823760009101908152919050565b600181811c908216806200087e57607f821691505b6020821081036200089f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008f357600081815260208120601f850160051c81016020861015620008ce5750805b601f850160051c820191505b81811015620008ef57828155600101620008da565b5050505b505050565b815167ffffffffffffffff81111562000915576200091562000642565b6200092d8162000926845462000869565b84620008a5565b602080601f8311600181146200096557600084156200094c5750858301515b600019600386901b1c1916600185901b178555620008ef565b600085815260208120601f198616915b82811015620009965788860151825594840194600190910190840162000975565b5085821015620009b55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fe608060405234801561001057600080fd5b5060405161041238038061041283398101604081905261002f91610058565b600061003b82826101aa565b5050610269565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561006b57600080fd5b82516001600160401b038082111561008257600080fd5b818501915085601f83011261009657600080fd5b8151818111156100a8576100a8610042565b604051601f8201601f19908116603f011681019083821181831017156100d0576100d0610042565b8160405282815288868487010111156100e857600080fd5b600093505b8284101561010a57848401860151818501870152928501926100ed565b600086848301015280965050505050505092915050565b600181811c9082168061013557607f821691505b60208210810361015557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101a557600081815260208120601f850160051c810160208610156101825750805b601f850160051c820191505b818110156101a15782815560010161018e565b5050505b505050565b81516001600160401b038111156101c3576101c3610042565b6101d7816101d18454610121565b8461015b565b602080601f83116001811461020c57600084156101f45750858301515b600019600386901b1c1916600185901b1785556101a1565b600085815260208120601f198616915b8281101561023b5788860151825594840194600190910190840161021c565b50858210156102595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61019a806102786000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e21f37ce14610030575b600080fd5b61003861004e565b60405161004591906100dc565b60405180910390f35b6000805461005b9061012a565b80601f01602080910402602001604051908101604052809291908181526020018280546100879061012a565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b600060208083528351808285015260005b81811015610109578581018301518582016040015282016100ed565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061013e57607f821691505b60208210810361015e57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212203c50db5c7cd97c6aac57cd532701557e5c317c0ab058c55b1e3ae22dd580c4bb64736f6c63430008140033608060405234801561001057600080fd5b50610363806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063368b87721461003b578063e21f37ce14610050575b600080fd5b61004e61004936600461010e565b61006e565b005b610058610080565b6040516100659190610180565b60405180910390f35b600061007b82848361026c565b505050565b6000805461008d906101e4565b80601f01602080910402602001604051908101604052809291908181526020018280546100b9906101e4565b80156101065780601f106100db57610100808354040283529160200191610106565b820191906000526020600020905b8154815290600101906020018083116100e957829003601f168201915b505050505081565b6000806020838503121561012157600080fd5b823567ffffffffffffffff8082111561013957600080fd5b818501915085601f83011261014d57600080fd5b81358181111561015c57600080fd5b86602082850101111561016e57600080fd5b60209290920196919550909350505050565b600060208083528351808285015260005b818110156101ad57858101830151858201604001528201610191565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806101f857607f821691505b60208210810361021857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561007b57600081815260208120601f850160051c810160208610156102455750805b601f850160051c820191505b8181101561026457828155600101610251565b505050505050565b67ffffffffffffffff831115610284576102846101ce565b6102988361029283546101e4565b8361021e565b6000601f8411600181146102cc57600085156102b45750838201355b600019600387901b1c1916600186901b178355610326565b600083815260209020601f19861690835b828110156102fd57868501358255602094850194600190920191016102dd565b508682101561031a5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea264697066735822122042c74e3aceaff40eadf0d1f73082b825c2b3bd82c5d2e474c827891227c6822f64736f6c63430008140033a2646970667358221220c56ea419484fce6fbda7a1b0e6505847c3353d3e6fdbaa7abe15d249e41a67f164736f6c63430008140033", + "deployedBytecode": "0x60806040523480156200001157600080fd5b5060043610620000525760003560e01c806336cea35614620000575780634d4be89c1462000070578063631a42311462000087578063872a45de146200009e575b600080fd5b6200006e620000683660046200054e565b620000ce565b005b6200006e62000081366004620005c1565b620001ff565b6200006e620000983660046200054e565b62000336565b620000b5620000af366004620006b7565b62000424565b604051620000c592919062000765565b60405180910390f35b60008282604051620000e090620004e6565b620000ed929190620007aa565b604051809103906000f0801580156200010a573d6000803e3d6000fd5b5090506040518060400160405280826001600160a01b03168152602001826001600160a01b031663e21f37ce6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000166573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001909190810190620007d9565b81525060008686604051620001a792919062000859565b908152604051602091819003820190208251815473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03909116178155908201516001820190620001f59082620008f8565b5050505050505050565b60008583836040516200021290620004e6565b6200021f929190620007aa565b8190604051809103906000f590508015801562000240573d6000803e3d6000fd5b5090506040518060400160405280826001600160a01b03168152602001826001600160a01b031663e21f37ce6040518163ffffffff1660e01b8152600401600060405180830381865afa1580156200029c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620002c69190810190620007d9565b81525060008686604051620002dd92919062000859565b908152604051602091819003820190208251815473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b039091161781559082015160018201906200032b9082620008f8565b505050505050505050565b60006040516200034690620004f4565b604051809103906000f08015801562000363573d6000803e3d6000fd5b50604051631b45c3b960e11b81529091506001600160a01b0382169063368b877290620003979086908690600401620007aa565b600060405180830381600087803b158015620003b257600080fd5b505af1158015620003c7573d6000803e3d6000fd5b505050506040518060400160405280826001600160a01b03168152602001826001600160a01b031663e21f37ce6040518163ffffffff1660e01b8152600401600060405180830381865afa15801562000166573d6000803e3d6000fd5b8051602081830181018051600082529282019190930120915280546001820180546001600160a01b0390921692916200045d9062000869565b80601f01602080910402602001604051908101604052809291908181526020018280546200048b9062000869565b8015620004dc5780601f10620004b057610100808354040283529160200191620004dc565b820191906000526020600020905b815481529060010190602001808311620004be57829003601f168201915b5050505050905082565b61041280620009c683390190565b6103838062000dd883390190565b60008083601f8401126200051557600080fd5b50813567ffffffffffffffff8111156200052e57600080fd5b6020830191508360208285010111156200054757600080fd5b9250929050565b600080600080604085870312156200056557600080fd5b843567ffffffffffffffff808211156200057e57600080fd5b6200058c8883890162000502565b90965094506020870135915080821115620005a657600080fd5b50620005b58782880162000502565b95989497509550505050565b600080600080600060608688031215620005da57600080fd5b85359450602086013567ffffffffffffffff80821115620005fa57600080fd5b6200060889838a0162000502565b909650945060408801359150808211156200062257600080fd5b50620006318882890162000502565b969995985093965092949392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171562000684576200068462000642565b604052919050565b600067ffffffffffffffff821115620006a957620006a962000642565b50601f01601f191660200190565b600060208284031215620006ca57600080fd5b813567ffffffffffffffff811115620006e257600080fd5b8201601f81018413620006f457600080fd5b80356200070b62000705826200068c565b62000658565b8181528560208385010111156200072157600080fd5b81602084016020830137600091810160200191909152949350505050565b60005b838110156200075c57818101518382015260200162000742565b50506000910152565b6001600160a01b03831681526040602082015260008251806040840152620007958160608501602087016200073f565b601f01601f1916919091016060019392505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b600060208284031215620007ec57600080fd5b815167ffffffffffffffff8111156200080457600080fd5b8201601f810184136200081657600080fd5b80516200082762000705826200068c565b8181528560208385010111156200083d57600080fd5b620008508260208301602086016200073f565b95945050505050565b8183823760009101908152919050565b600181811c908216806200087e57607f821691505b6020821081036200089f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620008f357600081815260208120601f850160051c81016020861015620008ce5750805b601f850160051c820191505b81811015620008ef57828155600101620008da565b5050505b505050565b815167ffffffffffffffff81111562000915576200091562000642565b6200092d8162000926845462000869565b84620008a5565b602080601f8311600181146200096557600084156200094c5750858301515b600019600386901b1c1916600185901b178555620008ef565b600085815260208120601f198616915b82811015620009965788860151825594840194600190910190840162000975565b5085821015620009b55787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fe608060405234801561001057600080fd5b5060405161041238038061041283398101604081905261002f91610058565b600061003b82826101aa565b5050610269565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561006b57600080fd5b82516001600160401b038082111561008257600080fd5b818501915085601f83011261009657600080fd5b8151818111156100a8576100a8610042565b604051601f8201601f19908116603f011681019083821181831017156100d0576100d0610042565b8160405282815288868487010111156100e857600080fd5b600093505b8284101561010a57848401860151818501870152928501926100ed565b600086848301015280965050505050505092915050565b600181811c9082168061013557607f821691505b60208210810361015557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101a557600081815260208120601f850160051c810160208610156101825750805b601f850160051c820191505b818110156101a15782815560010161018e565b5050505b505050565b81516001600160401b038111156101c3576101c3610042565b6101d7816101d18454610121565b8461015b565b602080601f83116001811461020c57600084156101f45750858301515b600019600386901b1c1916600185901b1785556101a1565b600085815260208120601f198616915b8281101561023b5788860151825594840194600190910190840161021c565b50858210156102595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61019a806102786000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e21f37ce14610030575b600080fd5b61003861004e565b60405161004591906100dc565b60405180910390f35b6000805461005b9061012a565b80601f01602080910402602001604051908101604052809291908181526020018280546100879061012a565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b600060208083528351808285015260005b81811015610109578581018301518582016040015282016100ed565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061013e57607f821691505b60208210810361015e57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212203c50db5c7cd97c6aac57cd532701557e5c317c0ab058c55b1e3ae22dd580c4bb64736f6c63430008140033608060405234801561001057600080fd5b50610363806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063368b87721461003b578063e21f37ce14610050575b600080fd5b61004e61004936600461010e565b61006e565b005b610058610080565b6040516100659190610180565b60405180910390f35b600061007b82848361026c565b505050565b6000805461008d906101e4565b80601f01602080910402602001604051908101604052809291908181526020018280546100b9906101e4565b80156101065780601f106100db57610100808354040283529160200191610106565b820191906000526020600020905b8154815290600101906020018083116100e957829003601f168201915b505050505081565b6000806020838503121561012157600080fd5b823567ffffffffffffffff8082111561013957600080fd5b818501915085601f83011261014d57600080fd5b81358181111561015c57600080fd5b86602082850101111561016e57600080fd5b60209290920196919550909350505050565b600060208083528351808285015260005b818110156101ad57858101830151858201604001528201610191565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806101f857607f821691505b60208210810361021857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561007b57600081815260208120601f850160051c810160208610156102455750805b601f850160051c820191505b8181101561026457828155600101610251565b505050505050565b67ffffffffffffffff831115610284576102846101ce565b6102988361029283546101e4565b8361021e565b6000601f8411600181146102cc57600085156102b45750838201355b600019600387901b1c1916600186901b178355610326565b600083815260209020601f19861690835b828110156102fd57868501358255602094850194600190920191016102dd565b508682101561031a5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea264697066735822122042c74e3aceaff40eadf0d1f73082b825c2b3bd82c5d2e474c827891227c6822f64736f6c63430008140033a2646970667358221220c56ea419484fce6fbda7a1b0e6505847c3353d3e6fdbaa7abe15d249e41a67f164736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/new/New.sol/Target.dbg.json b/artifacts/contracts/solidity/new/New.sol/Target.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/new/New.sol/Target.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/new/New.sol/Target.json b/artifacts/contracts/solidity/new/New.sol/Target.json new file mode 100644 index 000000000..28fd98975 --- /dev/null +++ b/artifacts/contracts/solidity/new/New.sol/Target.json @@ -0,0 +1,37 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Target", + "sourceName": "contracts/solidity/new/New.sol", + "abi": [ + { + "inputs": [], + "name": "message", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_message", + "type": "string" + } + ], + "name": "setMessage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610363806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063368b87721461003b578063e21f37ce14610050575b600080fd5b61004e61004936600461010e565b61006e565b005b610058610080565b6040516100659190610180565b60405180910390f35b600061007b82848361026c565b505050565b6000805461008d906101e4565b80601f01602080910402602001604051908101604052809291908181526020018280546100b9906101e4565b80156101065780601f106100db57610100808354040283529160200191610106565b820191906000526020600020905b8154815290600101906020018083116100e957829003601f168201915b505050505081565b6000806020838503121561012157600080fd5b823567ffffffffffffffff8082111561013957600080fd5b818501915085601f83011261014d57600080fd5b81358181111561015c57600080fd5b86602082850101111561016e57600080fd5b60209290920196919550909350505050565b600060208083528351808285015260005b818110156101ad57858101830151858201604001528201610191565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806101f857607f821691505b60208210810361021857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561007b57600081815260208120601f850160051c810160208610156102455750805b601f850160051c820191505b8181101561026457828155600101610251565b505050505050565b67ffffffffffffffff831115610284576102846101ce565b6102988361029283546101e4565b8361021e565b6000601f8411600181146102cc57600085156102b45750838201355b600019600387901b1c1916600186901b178355610326565b600083815260209020601f19861690835b828110156102fd57868501358255602094850194600190920191016102dd565b508682101561031a5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea264697066735822122042c74e3aceaff40eadf0d1f73082b825c2b3bd82c5d2e474c827891227c6822f64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100365760003560e01c8063368b87721461003b578063e21f37ce14610050575b600080fd5b61004e61004936600461010e565b61006e565b005b610058610080565b6040516100659190610180565b60405180910390f35b600061007b82848361026c565b505050565b6000805461008d906101e4565b80601f01602080910402602001604051908101604052809291908181526020018280546100b9906101e4565b80156101065780601f106100db57610100808354040283529160200191610106565b820191906000526020600020905b8154815290600101906020018083116100e957829003601f168201915b505050505081565b6000806020838503121561012157600080fd5b823567ffffffffffffffff8082111561013957600080fd5b818501915085601f83011261014d57600080fd5b81358181111561015c57600080fd5b86602082850101111561016e57600080fd5b60209290920196919550909350505050565b600060208083528351808285015260005b818110156101ad57858101830151858201604001528201610191565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806101f857607f821691505b60208210810361021857634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561007b57600081815260208120601f850160051c810160208610156102455750805b601f850160051c820191505b8181101561026457828155600101610251565b505050505050565b67ffffffffffffffff831115610284576102846101ce565b6102988361029283546101e4565b8361021e565b6000601f8411600181146102cc57600085156102b45750838201355b600019600387901b1c1916600186901b178355610326565b600083815260209020601f19861690835b828110156102fd57868501358255602094850194600190920191016102dd565b508682101561031a5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea264697066735822122042c74e3aceaff40eadf0d1f73082b825c2b3bd82c5d2e474c827891227c6822f64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/new/New.sol/TargetWithConstructor.dbg.json b/artifacts/contracts/solidity/new/New.sol/TargetWithConstructor.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/new/New.sol/TargetWithConstructor.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/new/New.sol/TargetWithConstructor.json b/artifacts/contracts/solidity/new/New.sol/TargetWithConstructor.json new file mode 100644 index 000000000..d2032ed54 --- /dev/null +++ b/artifacts/contracts/solidity/new/New.sol/TargetWithConstructor.json @@ -0,0 +1,35 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "TargetWithConstructor", + "sourceName": "contracts/solidity/new/New.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "string", + "name": "_message", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "message", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060405161041238038061041283398101604081905261002f91610058565b600061003b82826101aa565b5050610269565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561006b57600080fd5b82516001600160401b038082111561008257600080fd5b818501915085601f83011261009657600080fd5b8151818111156100a8576100a8610042565b604051601f8201601f19908116603f011681019083821181831017156100d0576100d0610042565b8160405282815288868487010111156100e857600080fd5b600093505b8284101561010a57848401860151818501870152928501926100ed565b600086848301015280965050505050505092915050565b600181811c9082168061013557607f821691505b60208210810361015557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156101a557600081815260208120601f850160051c810160208610156101825750805b601f850160051c820191505b818110156101a15782815560010161018e565b5050505b505050565b81516001600160401b038111156101c3576101c3610042565b6101d7816101d18454610121565b8461015b565b602080601f83116001811461020c57600084156101f45750858301515b600019600386901b1c1916600185901b1785556101a1565b600085815260208120601f198616915b8281101561023b5788860151825594840194600190910190840161021c565b50858210156102595787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61019a806102786000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e21f37ce14610030575b600080fd5b61003861004e565b60405161004591906100dc565b60405180910390f35b6000805461005b9061012a565b80601f01602080910402602001604051908101604052809291908181526020018280546100879061012a565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b600060208083528351808285015260005b81811015610109578581018301518582016040015282016100ed565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061013e57607f821691505b60208210810361015e57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212203c50db5c7cd97c6aac57cd532701557e5c317c0ab058c55b1e3ae22dd580c4bb64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061002b5760003560e01c8063e21f37ce14610030575b600080fd5b61003861004e565b60405161004591906100dc565b60405180910390f35b6000805461005b9061012a565b80601f01602080910402602001604051908101604052809291908181526020018280546100879061012a565b80156100d45780601f106100a9576101008083540402835291602001916100d4565b820191906000526020600020905b8154815290600101906020018083116100b757829003601f168201915b505050505081565b600060208083528351808285015260005b81811015610109578581018301518582016040015282016100ed565b506000604082860101526040601f19601f8301168501019250505092915050565b600181811c9082168061013e57607f821691505b60208210810361015e57634e487b7160e01b600052602260045260246000fd5b5091905056fea26469706673582212203c50db5c7cd97c6aac57cd532701557e5c317c0ab058c55b1e3ae22dd580c4bb64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/ERC-165/ClimberSelector.sol/ClimberSelector.dbg.json b/artifacts/contracts/solidity/oz/ERC-165/ClimberSelector.sol/ClimberSelector.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-165/ClimberSelector.sol/ClimberSelector.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/ERC-165/ClimberSelector.sol/ClimberSelector.json b/artifacts/contracts/solidity/oz/ERC-165/ClimberSelector.sol/ClimberSelector.json new file mode 100644 index 000000000..c8d63639c --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-165/ClimberSelector.sol/ClimberSelector.json @@ -0,0 +1,37 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ClimberSelector", + "sourceName": "contracts/solidity/oz/ERC-165/ClimberSelector.sol", + "abi": [ + { + "inputs": [], + "name": "calculateSelector", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "calculateSelectorNotSupported", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060b78061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063467f51d4146037578063bb71eb3b146075575b600080fd5b63f6cef59760e01b5b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200160405180910390f35b639eda8ec960e01b604056fea2646970667358221220e1b60d085d8351d573737bfdbb2883715d4cbd9322edbe83a2e18f337f66f55164736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c8063467f51d4146037578063bb71eb3b146075575b600080fd5b63f6cef59760e01b5b6040517fffffffff00000000000000000000000000000000000000000000000000000000909116815260200160405180910390f35b639eda8ec960e01b604056fea2646970667358221220e1b60d085d8351d573737bfdbb2883715d4cbd9322edbe83a2e18f337f66f55164736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/ERC-165/IClimber.sol/Climber.dbg.json b/artifacts/contracts/solidity/oz/ERC-165/IClimber.sol/Climber.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-165/IClimber.sol/Climber.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/ERC-165/IClimber.sol/Climber.json b/artifacts/contracts/solidity/oz/ERC-165/IClimber.sol/Climber.json new file mode 100644 index 000000000..4103a177a --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-165/IClimber.sol/Climber.json @@ -0,0 +1,50 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Climber", + "sourceName": "contracts/solidity/oz/ERC-165/IClimber.sol", + "abi": [ + { + "inputs": [], + "name": "hasChalk", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "hasClimbingShoes", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "hasHarness", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/ERC-165/Test_ERC165.sol/Test_ERC165.dbg.json b/artifacts/contracts/solidity/oz/ERC-165/Test_ERC165.sol/Test_ERC165.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-165/Test_ERC165.sol/Test_ERC165.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/ERC-165/Test_ERC165.sol/Test_ERC165.json b/artifacts/contracts/solidity/oz/ERC-165/Test_ERC165.sol/Test_ERC165.json new file mode 100644 index 000000000..8e5d40702 --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-165/Test_ERC165.sol/Test_ERC165.json @@ -0,0 +1,69 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Test_ERC165", + "sourceName": "contracts/solidity/oz/ERC-165/Test_ERC165.sol", + "abi": [ + { + "inputs": [], + "name": "hasChalk", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "hasClimbingShoes", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "hasHarness", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610191806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806301ffc9a71461005157806364e10bf81461007957806368147b5e14610079578063922ffe6f1461009e575b600080fd5b61006461005f3660046100dc565b6100a5565b60405190151581526020015b60405180910390f35b604080518082018252600381526279657360e81b60208201529051610070919061010d565b6001610064565b60006001600160e01b03198216639eda8ec960e01b14806100d657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000602082840312156100ee57600080fd5b81356001600160e01b03198116811461010657600080fd5b9392505050565b600060208083528351808285015260005b8181101561013a5785810183015185820160400152820161011e565b506000604082860101526040601f19601f830116850101925050509291505056fea264697066735822122012a9bfc337d800fe63182a92ec696111f488d7aecba44546f67b5fdb25ac840264736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c806301ffc9a71461005157806364e10bf81461007957806368147b5e14610079578063922ffe6f1461009e575b600080fd5b61006461005f3660046100dc565b6100a5565b60405190151581526020015b60405180910390f35b604080518082018252600381526279657360e81b60208201529051610070919061010d565b6001610064565b60006001600160e01b03198216639eda8ec960e01b14806100d657506301ffc9a760e01b6001600160e01b03198316145b92915050565b6000602082840312156100ee57600080fd5b81356001600160e01b03198116811461010657600080fd5b9392505050565b600060208083528351808285015260005b8181101561013a5785810183015185820160400152820161011e565b506000604082860101526040601f19601f830116850101925050509291505056fea264697066735822122012a9bfc337d800fe63182a92ec696111f488d7aecba44546f67b5fdb25ac840264736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/ERC-20-votes/erc20VotesTest.sol/ERC20VotesTest.dbg.json b/artifacts/contracts/solidity/oz/ERC-20-votes/erc20VotesTest.sol/ERC20VotesTest.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-20-votes/erc20VotesTest.sol/ERC20VotesTest.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/ERC-20-votes/erc20VotesTest.sol/ERC20VotesTest.json b/artifacts/contracts/solidity/oz/ERC-20-votes/erc20VotesTest.sol/ERC20VotesTest.json new file mode 100644 index 000000000..dc91f4966 --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-20-votes/erc20VotesTest.sol/ERC20VotesTest.json @@ -0,0 +1,872 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ERC20VotesTest", + "sourceName": "contracts/solidity/oz/ERC-20-votes/erc20VotesTest.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "initialMintAmmount", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "CheckpointUnorderedInsertion", + "type": "error" + }, + { + "inputs": [], + "name": "ECDSAInvalidSignature", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "length", + "type": "uint256" + } + ], + "name": "ECDSAInvalidSignatureLength", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "ECDSAInvalidSignatureS", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "increasedSupply", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "cap", + "type": "uint256" + } + ], + "name": "ERC20ExceededSafeSupply", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "allowance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "needed", + "type": "uint256" + } + ], + "name": "ERC20InsufficientAllowance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "balance", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "needed", + "type": "uint256" + } + ], + "name": "ERC20InsufficientBalance", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "approver", + "type": "address" + } + ], + "name": "ERC20InvalidApprover", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "ERC20InvalidReceiver", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "sender", + "type": "address" + } + ], + "name": "ERC20InvalidSender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "spender", + "type": "address" + } + ], + "name": "ERC20InvalidSpender", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + } + ], + "name": "ERC2612ExpiredSignature", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "signer", + "type": "address" + }, + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "ERC2612InvalidSigner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + }, + { + "internalType": "uint48", + "name": "clock", + "type": "uint48" + } + ], + "name": "ERC5805FutureLookup", + "type": "error" + }, + { + "inputs": [], + "name": "ERC6372InconsistentClock", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "currentNonce", + "type": "uint256" + } + ], + "name": "InvalidAccountNonce", + "type": "error" + }, + { + "inputs": [], + "name": "InvalidShortString", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint8", + "name": "bits", + "type": "uint8" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "SafeCastOverflowedUintDowncast", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "str", + "type": "string" + } + ], + "name": "StringTooLong", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + } + ], + "name": "VotesExpiredSignature", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Approval", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "delegator", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "fromDelegate", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "toDelegate", + "type": "address" + } + ], + "name": "DelegateChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "delegate", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "previousVotes", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "newVotes", + "type": "uint256" + } + ], + "name": "DelegateVotesChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [], + "name": "EIP712DomainChanged", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "from", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "value", + "type": "uint256" + } + ], + "name": "Transfer", + "type": "event" + }, + { + "inputs": [], + "name": "CLOCK_MODE", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "DOMAIN_SEPARATOR", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "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": "value", + "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" + }, + { + "internalType": "uint32", + "name": "pos", + "type": "uint32" + } + ], + "name": "checkpoints", + "outputs": [ + { + "components": [ + { + "internalType": "uint48", + "name": "_key", + "type": "uint48" + }, + { + "internalType": "uint208", + "name": "_value", + "type": "uint208" + } + ], + "internalType": "struct Checkpoints.Checkpoint208", + "name": "", + "type": "tuple" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "clock", + "outputs": [ + { + "internalType": "uint48", + "name": "", + "type": "uint48" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "decimals", + "outputs": [ + { + "internalType": "uint8", + "name": "", + "type": "uint8" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "delegatee", + "type": "address" + } + ], + "name": "delegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "delegatee", + "type": "address" + }, + { + "internalType": "uint256", + "name": "nonce", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "expiry", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "delegateBySig", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "delegates", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "eip712Domain", + "outputs": [ + { + "internalType": "bytes1", + "name": "fields", + "type": "bytes1" + }, + { + "internalType": "string", + "name": "name", + "type": "string" + }, + { + "internalType": "string", + "name": "version", + "type": "string" + }, + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "verifyingContract", + "type": "address" + }, + { + "internalType": "bytes32", + "name": "salt", + "type": "bytes32" + }, + { + "internalType": "uint256[]", + "name": "extensions", + "type": "uint256[]" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + } + ], + "name": "getPastTotalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + }, + { + "internalType": "uint256", + "name": "timepoint", + "type": "uint256" + } + ], + "name": "getPastVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "getVotes", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "nonces", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "numCheckpoints", + "outputs": [ + { + "internalType": "uint32", + "name": "", + "type": "uint32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "spender", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "deadline", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + }, + { + "internalType": "bytes32", + "name": "r", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "s", + "type": "bytes32" + } + ], + "name": "permit", + "outputs": [], + "stateMutability": "nonpayable", + "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": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "value", + "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": "value", + "type": "uint256" + } + ], + "name": "transferFrom", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x6101606040523480156200001257600080fd5b5060405162002a5938038062002a598339810160408190526200003591620008e9565b6040518060400160405280600781526020016626bcaa37b5b2b760c91b81525080604051806040016040528060018152602001603160f81b8152506040518060400160405280600781526020016626bcaa37b5b2b760c91b815250604051806040016040528060038152602001624d544b60e81b8152508160039081620000bd9190620009a7565b506004620000cc8282620009a7565b50620000de915083905060056200019a565b61012052620000ef8160066200019a565b61014052815160208084019190912060e052815190820120610100524660a0526200017d60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250620001933382620001d3565b5062000b77565b6000602083511015620001ba57620001b28362000215565b9050620001cd565b81620001c78482620009a7565b5060ff90505b92915050565b6001600160a01b038216620002035760405163ec442f0560e01b8152600060048201526024015b60405180910390fd5b620002116000838362000258565b5050565b600080829050601f8151111562000243578260405163305a27a960e01b8152600401620001fa919062000a73565b8051620002508262000ac3565b179392505050565b620002658383836200026a565b505050565b62000277838383620002d9565b6001600160a01b038316620002cc5760006200029260025490565b90506001600160d01b0380821115620002c957604051630e58ae9360e11b81526004810183905260248101829052604401620001fa565b50505b620002658383836200040c565b6001600160a01b03831662000308578060026000828254620002fc919062000afe565b909155506200037c9050565b6001600160a01b038316600090815260208190526040902054818110156200035d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620001fa565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b0382166200039a57600280548290039055620003b9565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620003ff91815260200190565b60405180910390a3505050565b6001600160a01b03831662000441576200043e600a62000915620004a460201b176200043884620004b9565b620004f3565b50505b6001600160a01b03821662000470576200046d600a620009216200053060201b176200043884620004b9565b50505b6001600160a01b0383811660009081526008602052604080822054858416835291205462000265929182169116836200053e565b6000620004b2828462000b14565b9392505050565b60006001600160d01b03821115620004ef576040516306dfcc6560e41b815260d0600482015260248101839052604401620001fa565b5090565b6000806200052362000504620006a5565b6200051a6200051388620006b6565b868860201c565b87919062000705565b915091505b935093915050565b6000620004b2828462000b3e565b816001600160a01b0316836001600160a01b031614158015620005615750600081115b1562000265576001600160a01b0383161562000604576001600160a01b038316600090815260096020908152604082208291620005af919062000530901b62000921176200043886620004b9565b6001600160d01b031691506001600160d01b03169150846001600160a01b031660008051602062002a398339815191528383604051620005f9929190918252602082015260400190565b60405180910390a250505b6001600160a01b0382161562000265576001600160a01b0382166000908152600960209081526040822082916200064c9190620004a4901b62000915176200043886620004b9565b6001600160d01b031691506001600160d01b03169150836001600160a01b031660008051602062002a39833981519152838360405162000696929190918252602082015260400190565b60405180910390a25050505050565b6000620006b162000715565b905090565b80546000908015620006fc57620006e283620006d460018462000b61565b600091825260209091200190565b54660100000000000090046001600160d01b0316620004b2565b60009392505050565b6000806200052385858562000722565b6000620006b143620008b4565b825460009081908015620008555760006200074487620006d460018562000b61565b60408051808201909152905465ffffffffffff80821680845266010000000000009092046001600160d01b0316602084015291925090871610156200079c57604051632520601d60e01b815260040160405180910390fd5b805165ffffffffffff808816911603620007f05784620007c388620006d460018662000b61565b80546001600160d01b039290921666010000000000000265ffffffffffff90921691909117905562000844565b6040805180820190915265ffffffffffff80881682526001600160d01b0380881660208085019182528b54600181018d5560008d815291909120945191519092166601000000000000029216919091179101555b602001519250839150620005289050565b50506040805180820190915265ffffffffffff80851682526001600160d01b0380851660208085019182528854600181018a5560008a815291822095519251909316660100000000000002919093161792019190915590508162000528565b600065ffffffffffff821115620004ef576040516306dfcc6560e41b81526030600482015260248101839052604401620001fa565b600060208284031215620008fc57600080fd5b5051919050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200092e57607f821691505b6020821081036200094f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026557600081815260208120601f850160051c810160208610156200097e5750805b601f850160051c820191505b818110156200099f578281556001016200098a565b505050505050565b81516001600160401b03811115620009c357620009c362000903565b620009db81620009d4845462000919565b8462000955565b602080601f83116001811462000a135760008415620009fa5750858301515b600019600386901b1c1916600185901b1785556200099f565b600085815260208120601f198616915b8281101562000a445788860151825594840194600190910190840162000a23565b508582101562000a635787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b8181101562000aa25785810183015185820160400152820162000a84565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200094f5760001960209190910360031b1b16919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115620001cd57620001cd62000ae8565b6001600160d01b0381811683821601908082111562000b375762000b3762000ae8565b5092915050565b6001600160d01b0382811682821603908082111562000b375762000b3762000ae8565b81810381811115620001cd57620001cd62000ae8565b60805160a05160c05160e051610100516101205161014051611e6762000bd26000396000610d3201526000610d0501526000610af601526000610ace01526000610a2901526000610a5301526000610a7d0152611e676000f3fe608060405234801561001057600080fd5b506004361061017d5760003560e01c806370a08231116100e35780639ab24eb01161008c578063d505accf11610066578063d505accf14610365578063dd62ed3e14610378578063f1127ed8146103b157600080fd5b80639ab24eb01461032c578063a9059cbb1461033f578063c3cda5201461035257600080fd5b80638e539e8c116100bd5780638e539e8c146102f257806391ddadf41461030557806395d89b411461032457600080fd5b806370a082311461029b5780637ecebe00146102c457806384b0196e146102d757600080fd5b80633644e51511610145578063587cde1e1161011f578063587cde1e1461021a5780635c19a95c1461025e5780636fcfff451461027357600080fd5b80633644e515146101f75780633a46b1a8146101ff5780634bf5d7e91461021257600080fd5b806306fdde0314610182578063095ea7b3146101a057806318160ddd146101c357806323b872dd146101d5578063313ce567146101e8575b600080fd5b61018a6103f0565b6040516101979190611a6b565b60405180910390f35b6101b36101ae366004611a9a565b610482565b6040519015158152602001610197565b6002545b604051908152602001610197565b6101b36101e3366004611ac4565b61049c565b60405160128152602001610197565b6101c76104c0565b6101c761020d366004611a9a565b6104cf565b61018a610555565b610246610228366004611b00565b6001600160a01b039081166000908152600860205260409020541690565b6040516001600160a01b039091168152602001610197565b61027161026c366004611b00565b6105cd565b005b610286610281366004611b00565b6105dc565b60405163ffffffff9091168152602001610197565b6101c76102a9366004611b00565b6001600160a01b031660009081526020819052604090205490565b6101c76102d2366004611b00565b6105e7565b6102df6105f2565b6040516101979796959493929190611b1b565b6101c7610300366004611bb1565b610638565b61030d6106a2565b60405165ffffffffffff9091168152602001610197565b61018a6106ac565b6101c761033a366004611b00565b6106bb565b6101b361034d366004611a9a565b6106eb565b610271610360366004611bdb565b6106f9565b610271610373366004611c33565b6107b6565b6101c7610386366004611c9d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103c46103bf366004611cd0565b6108f0565b60408051825165ffffffffffff1681526020928301516001600160d01b03169281019290925201610197565b6060600380546103ff90611d10565b80601f016020809104026020016040519081016040528092919081815260200182805461042b90611d10565b80156104785780601f1061044d57610100808354040283529160200191610478565b820191906000526020600020905b81548152906001019060200180831161045b57829003601f168201915b5050505050905090565b60003361049081858561092d565b60019150505b92915050565b6000336104aa85828561093f565b6104b58585856109bd565b506001949350505050565b60006104ca610a1c565b905090565b6000806104da6106a2565b90508065ffffffffffff16831061051a57604051637669fc0f60e11b81526004810184905265ffffffffffff821660248201526044015b60405180910390fd5b61054461052684610b47565b6001600160a01b038616600090815260096020526040902090610b7e565b6001600160d01b0316949350505050565b606061055f610c34565b65ffffffffffff1661056f6106a2565b65ffffffffffff1614610595576040516301bfc1c560e61b815260040160405180910390fd5b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b336105d88183610c3f565b5050565b600061049682610cbe565b600061049682610ce0565b600060608060008060006060610606610cfe565b61060e610d2b565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000806106436106a2565b90508065ffffffffffff16831061067e57604051637669fc0f60e11b81526004810184905265ffffffffffff82166024820152604401610511565b61069261068a84610b47565b600a90610b7e565b6001600160d01b03169392505050565b60006104ca610c34565b6060600480546103ff90611d10565b6001600160a01b03811660009081526009602052604081206106dc90610d58565b6001600160d01b031692915050565b6000336104908185856109bd565b8342111561071d57604051632341d78760e11b815260048101859052602401610511565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906107979061078f9060a00160405160208183030381529060405280519060200120610d91565b858585610dbe565b90506107a38187610dec565b6107ad8188610c3f565b50505050505050565b834211156107da5760405163313c898160e11b815260048101859052602401610511565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886108278c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061088282610d91565b9050600061089282878787610dbe565b9050896001600160a01b0316816001600160a01b0316146108d9576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610511565b6108e48a8a8a61092d565b50505050505050505050565b604080518082019091526000808252602082015261090e8383610e3f565b9392505050565b600061090e8284611d60565b600061090e8284611d87565b61093a8383836001610e75565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109b757818110156109a857604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610511565b6109b784848484036000610e75565b50505050565b6001600160a01b0383166109e757604051634b637e8f60e11b815260006004820152602401610511565b6001600160a01b038216610a115760405163ec442f0560e01b815260006004820152602401610511565b61093a838383610f4a565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610a7557507f000000000000000000000000000000000000000000000000000000000000000046145b15610a9f57507f000000000000000000000000000000000000000000000000000000000000000090565b6104ca604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600065ffffffffffff821115610b7a576040516306dfcc6560e41b81526030600482015260248101839052604401610511565b5090565b815460009081816005811115610bdd576000610b9984610f55565b610ba39085611da7565b60008881526020902090915081015465ffffffffffff9081169087161015610bcd57809150610bdb565b610bd8816001611dba565b92505b505b6000610beb8787858561103d565b90508015610c2657610c1087610c02600184611da7565b600091825260209091200190565b54600160301b90046001600160d01b0316610c29565b60005b979650505050505050565b60006104ca43610b47565b6001600160a01b03828116600081815260086020526040808220805486861673ffffffffffffffffffffffffffffffffffffffff19821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461093a8183610cb98661109f565b6110bd565b6001600160a01b03811660009081526009602052604081205461049690611229565b6001600160a01b038116600090815260076020526040812054610496565b60606104ca7f0000000000000000000000000000000000000000000000000000000000000000600561125a565b60606104ca7f0000000000000000000000000000000000000000000000000000000000000000600661125a565b80546000908015610d8857610d7283610c02600184611da7565b54600160301b90046001600160d01b031661090e565b60009392505050565b6000610496610d9e610a1c565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600080610dd088888888611305565b925092509250610de082826113d4565b50909695505050505050565b6001600160a01b038216600090815260076020526040902080546001810190915581811461093a576040516301d4b62360e61b81526001600160a01b038416600482015260248101829052604401610511565b60408051808201909152600080825260208201526001600160a01b038316600090815260096020526040902061090e908361148d565b6001600160a01b038416610e9f5760405163e602df0560e01b815260006004820152602401610511565b6001600160a01b038316610ec957604051634a1406b160e11b815260006004820152602401610511565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156109b757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f3c91815260200190565b60405180910390a350505050565b61093a8383836114fd565b600081600003610f6757506000919050565b60006001610f7484611564565b901c6001901b90506001818481610f8d57610f8d611dcd565b048201901c90506001818481610fa557610fa5611dcd565b048201901c90506001818481610fbd57610fbd611dcd565b048201901c90506001818481610fd557610fd5611dcd565b048201901c90506001818481610fed57610fed611dcd565b048201901c9050600181848161100557611005611dcd565b048201901c9050600181848161101d5761101d611dcd565b048201901c905061090e8182858161103757611037611dcd565b046115f8565b60005b81831015611097576000611054848461160e565b60008781526020902090915065ffffffffffff86169082015465ffffffffffff16111561108357809250611091565b61108e816001611dba565b93505b50611040565b509392505050565b6001600160a01b038116600090815260208190526040812054610496565b816001600160a01b0316836001600160a01b0316141580156110df5750600081115b1561093a576001600160a01b03831615611187576001600160a01b038316600090815260096020526040812081906111229061092161111d86611629565b61165d565b6001600160d01b031691506001600160d01b03169150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161117c929190918252602082015260400190565b60405180910390a250505b6001600160a01b0382161561093a576001600160a01b038216600090815260096020526040812081906111c09061091561111d86611629565b6001600160d01b031691506001600160d01b03169150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161121a929190918252602082015260400190565b60405180910390a25050505050565b600063ffffffff821115610b7a576040516306dfcc6560e41b81526020600482015260248101839052604401610511565b606060ff83146112745761126d83611696565b9050610496565b81805461128090611d10565b80601f01602080910402602001604051908101604052809291908181526020018280546112ac90611d10565b80156112f95780601f106112ce576101008083540402835291602001916112f9565b820191906000526020600020905b8154815290600101906020018083116112dc57829003601f168201915b50505050509050610496565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561134057506000915060039050826113ca565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611394573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113c0575060009250600191508290506113ca565b9250600091508190505b9450945094915050565b60008260038111156113e8576113e8611de3565b036113f1575050565b600182600381111561140557611405611de3565b036114235760405163f645eedf60e01b815260040160405180910390fd5b600282600381111561143757611437611de3565b036114585760405163fce698f760e01b815260048101829052602401610511565b600382600381111561146c5761146c611de3565b036105d8576040516335e2f38360e21b815260048101829052602401610511565b6040805180820190915260008082526020820152826000018263ffffffff16815481106114bc576114bc611df9565b60009182526020918290206040805180820190915291015465ffffffffffff81168252600160301b90046001600160d01b0316918101919091529392505050565b6115088383836116d5565b6001600160a01b03831661155957600061152160025490565b90506001600160d01b038082111561155657604051630e58ae9360e11b81526004810183905260248101829052604401610511565b50505b61093a8383836117ff565b600080608083901c1561157957608092831c92015b604083901c1561158b57604092831c92015b602083901c1561159d57602092831c92015b601083901c156115af57601092831c92015b600883901c156115c157600892831c92015b600483901c156115d357600492831c92015b600283901c156115e557600292831c92015b600183901c156104965760010192915050565b6000818310611607578161090e565b5090919050565b600061161d6002848418611e0f565b61090e90848416611dba565b60006001600160d01b03821115610b7a576040516306dfcc6560e41b815260d0600482015260248101839052604401610511565b60008061168961166b6106a2565b61168161167788610d58565b868863ffffffff16565b879190611875565b915091505b935093915050565b606060006116a383611883565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6001600160a01b0383166117005780600260008282546116f59190611dba565b909155506117729050565b6001600160a01b038316600090815260208190526040902054818110156117535760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610511565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661178e576002805482900390556117ad565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117f291815260200190565b60405180910390a3505050565b6001600160a01b0383166118215761181e600a61091561111d84611629565b50505b6001600160a01b03821661184357611840600a61092161111d84611629565b50505b6001600160a01b0383811660009081526008602052604080822054858416835291205461093a929182169116836110bd565b6000806116898585856118ab565b600060ff8216601f81111561049657604051632cd44ac360e21b815260040160405180910390fd5b8254600090819080156119ca5760006118c987610c02600185611da7565b60408051808201909152905465ffffffffffff808216808452600160301b9092046001600160d01b03166020840152919250908716101561191d57604051632520601d60e01b815260040160405180910390fd5b805165ffffffffffff808816911603611969578461194088610c02600186611da7565b80546001600160d01b0392909216600160301b0265ffffffffffff9092169190911790556119ba565b6040805180820190915265ffffffffffff80881682526001600160d01b0380881660208085019182528b54600181018d5560008d81529190912094519151909216600160301b029216919091179101555b60200151925083915061168e9050565b50506040805180820190915265ffffffffffff80851682526001600160d01b0380851660208085019182528854600181018a5560008a815291822095519251909316600160301b02919093161792019190915590508161168e565b6000815180845260005b81811015611a4b57602081850181015186830182015201611a2f565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061090e6020830184611a25565b80356001600160a01b0381168114611a9557600080fd5b919050565b60008060408385031215611aad57600080fd5b611ab683611a7e565b946020939093013593505050565b600080600060608486031215611ad957600080fd5b611ae284611a7e565b9250611af060208501611a7e565b9150604084013590509250925092565b600060208284031215611b1257600080fd5b61090e82611a7e565b60ff60f81b881681526000602060e081840152611b3b60e084018a611a25565b8381036040850152611b4d818a611a25565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611b9f57835183529284019291840191600101611b83565b50909c9b505050505050505050505050565b600060208284031215611bc357600080fd5b5035919050565b803560ff81168114611a9557600080fd5b60008060008060008060c08789031215611bf457600080fd5b611bfd87611a7e565b95506020870135945060408701359350611c1960608801611bca565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a031215611c4e57600080fd5b611c5788611a7e565b9650611c6560208901611a7e565b95506040880135945060608801359350611c8160808901611bca565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611cb057600080fd5b611cb983611a7e565b9150611cc760208401611a7e565b90509250929050565b60008060408385031215611ce357600080fd5b611cec83611a7e565b9150602083013563ffffffff81168114611d0557600080fd5b809150509250929050565b600181811c90821680611d2457607f821691505b602082108103611d4457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160d01b03818116838216019080821115611d8057611d80611d4a565b5092915050565b6001600160d01b03828116828216039080821115611d8057611d80611d4a565b8181038181111561049657610496611d4a565b8082018082111561049657610496611d4a565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600082611e2c57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220aa51dab9e3a0a24e2ffc75f1a45a8cf2e80af4cb1628702210a4cefcc8fe0de264736f6c63430008140033dec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061017d5760003560e01c806370a08231116100e35780639ab24eb01161008c578063d505accf11610066578063d505accf14610365578063dd62ed3e14610378578063f1127ed8146103b157600080fd5b80639ab24eb01461032c578063a9059cbb1461033f578063c3cda5201461035257600080fd5b80638e539e8c116100bd5780638e539e8c146102f257806391ddadf41461030557806395d89b411461032457600080fd5b806370a082311461029b5780637ecebe00146102c457806384b0196e146102d757600080fd5b80633644e51511610145578063587cde1e1161011f578063587cde1e1461021a5780635c19a95c1461025e5780636fcfff451461027357600080fd5b80633644e515146101f75780633a46b1a8146101ff5780634bf5d7e91461021257600080fd5b806306fdde0314610182578063095ea7b3146101a057806318160ddd146101c357806323b872dd146101d5578063313ce567146101e8575b600080fd5b61018a6103f0565b6040516101979190611a6b565b60405180910390f35b6101b36101ae366004611a9a565b610482565b6040519015158152602001610197565b6002545b604051908152602001610197565b6101b36101e3366004611ac4565b61049c565b60405160128152602001610197565b6101c76104c0565b6101c761020d366004611a9a565b6104cf565b61018a610555565b610246610228366004611b00565b6001600160a01b039081166000908152600860205260409020541690565b6040516001600160a01b039091168152602001610197565b61027161026c366004611b00565b6105cd565b005b610286610281366004611b00565b6105dc565b60405163ffffffff9091168152602001610197565b6101c76102a9366004611b00565b6001600160a01b031660009081526020819052604090205490565b6101c76102d2366004611b00565b6105e7565b6102df6105f2565b6040516101979796959493929190611b1b565b6101c7610300366004611bb1565b610638565b61030d6106a2565b60405165ffffffffffff9091168152602001610197565b61018a6106ac565b6101c761033a366004611b00565b6106bb565b6101b361034d366004611a9a565b6106eb565b610271610360366004611bdb565b6106f9565b610271610373366004611c33565b6107b6565b6101c7610386366004611c9d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6103c46103bf366004611cd0565b6108f0565b60408051825165ffffffffffff1681526020928301516001600160d01b03169281019290925201610197565b6060600380546103ff90611d10565b80601f016020809104026020016040519081016040528092919081815260200182805461042b90611d10565b80156104785780601f1061044d57610100808354040283529160200191610478565b820191906000526020600020905b81548152906001019060200180831161045b57829003601f168201915b5050505050905090565b60003361049081858561092d565b60019150505b92915050565b6000336104aa85828561093f565b6104b58585856109bd565b506001949350505050565b60006104ca610a1c565b905090565b6000806104da6106a2565b90508065ffffffffffff16831061051a57604051637669fc0f60e11b81526004810184905265ffffffffffff821660248201526044015b60405180910390fd5b61054461052684610b47565b6001600160a01b038616600090815260096020526040902090610b7e565b6001600160d01b0316949350505050565b606061055f610c34565b65ffffffffffff1661056f6106a2565b65ffffffffffff1614610595576040516301bfc1c560e61b815260040160405180910390fd5b5060408051808201909152601d81527f6d6f64653d626c6f636b6e756d6265722666726f6d3d64656661756c74000000602082015290565b336105d88183610c3f565b5050565b600061049682610cbe565b600061049682610ce0565b600060608060008060006060610606610cfe565b61060e610d2b565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000806106436106a2565b90508065ffffffffffff16831061067e57604051637669fc0f60e11b81526004810184905265ffffffffffff82166024820152604401610511565b61069261068a84610b47565b600a90610b7e565b6001600160d01b03169392505050565b60006104ca610c34565b6060600480546103ff90611d10565b6001600160a01b03811660009081526009602052604081206106dc90610d58565b6001600160d01b031692915050565b6000336104908185856109bd565b8342111561071d57604051632341d78760e11b815260048101859052602401610511565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b0388169181019190915260608101869052608081018590526000906107979061078f9060a00160405160208183030381529060405280519060200120610d91565b858585610dbe565b90506107a38187610dec565b6107ad8188610c3f565b50505050505050565b834211156107da5760405163313c898160e11b815260048101859052602401610511565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886108278c6001600160a01b0316600090815260076020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061088282610d91565b9050600061089282878787610dbe565b9050896001600160a01b0316816001600160a01b0316146108d9576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610511565b6108e48a8a8a61092d565b50505050505050505050565b604080518082019091526000808252602082015261090e8383610e3f565b9392505050565b600061090e8284611d60565b600061090e8284611d87565b61093a8383836001610e75565b505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146109b757818110156109a857604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610511565b6109b784848484036000610e75565b50505050565b6001600160a01b0383166109e757604051634b637e8f60e11b815260006004820152602401610511565b6001600160a01b038216610a115760405163ec442f0560e01b815260006004820152602401610511565b61093a838383610f4a565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015610a7557507f000000000000000000000000000000000000000000000000000000000000000046145b15610a9f57507f000000000000000000000000000000000000000000000000000000000000000090565b6104ca604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b600065ffffffffffff821115610b7a576040516306dfcc6560e41b81526030600482015260248101839052604401610511565b5090565b815460009081816005811115610bdd576000610b9984610f55565b610ba39085611da7565b60008881526020902090915081015465ffffffffffff9081169087161015610bcd57809150610bdb565b610bd8816001611dba565b92505b505b6000610beb8787858561103d565b90508015610c2657610c1087610c02600184611da7565b600091825260209091200190565b54600160301b90046001600160d01b0316610c29565b60005b979650505050505050565b60006104ca43610b47565b6001600160a01b03828116600081815260086020526040808220805486861673ffffffffffffffffffffffffffffffffffffffff19821681179092559151919094169392849290917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a461093a8183610cb98661109f565b6110bd565b6001600160a01b03811660009081526009602052604081205461049690611229565b6001600160a01b038116600090815260076020526040812054610496565b60606104ca7f0000000000000000000000000000000000000000000000000000000000000000600561125a565b60606104ca7f0000000000000000000000000000000000000000000000000000000000000000600661125a565b80546000908015610d8857610d7283610c02600184611da7565b54600160301b90046001600160d01b031661090e565b60009392505050565b6000610496610d9e610a1c565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600080610dd088888888611305565b925092509250610de082826113d4565b50909695505050505050565b6001600160a01b038216600090815260076020526040902080546001810190915581811461093a576040516301d4b62360e61b81526001600160a01b038416600482015260248101829052604401610511565b60408051808201909152600080825260208201526001600160a01b038316600090815260096020526040902061090e908361148d565b6001600160a01b038416610e9f5760405163e602df0560e01b815260006004820152602401610511565b6001600160a01b038316610ec957604051634a1406b160e11b815260006004820152602401610511565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156109b757826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610f3c91815260200190565b60405180910390a350505050565b61093a8383836114fd565b600081600003610f6757506000919050565b60006001610f7484611564565b901c6001901b90506001818481610f8d57610f8d611dcd565b048201901c90506001818481610fa557610fa5611dcd565b048201901c90506001818481610fbd57610fbd611dcd565b048201901c90506001818481610fd557610fd5611dcd565b048201901c90506001818481610fed57610fed611dcd565b048201901c9050600181848161100557611005611dcd565b048201901c9050600181848161101d5761101d611dcd565b048201901c905061090e8182858161103757611037611dcd565b046115f8565b60005b81831015611097576000611054848461160e565b60008781526020902090915065ffffffffffff86169082015465ffffffffffff16111561108357809250611091565b61108e816001611dba565b93505b50611040565b509392505050565b6001600160a01b038116600090815260208190526040812054610496565b816001600160a01b0316836001600160a01b0316141580156110df5750600081115b1561093a576001600160a01b03831615611187576001600160a01b038316600090815260096020526040812081906111229061092161111d86611629565b61165d565b6001600160d01b031691506001600160d01b03169150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161117c929190918252602082015260400190565b60405180910390a250505b6001600160a01b0382161561093a576001600160a01b038216600090815260096020526040812081906111c09061091561111d86611629565b6001600160d01b031691506001600160d01b03169150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724838360405161121a929190918252602082015260400190565b60405180910390a25050505050565b600063ffffffff821115610b7a576040516306dfcc6560e41b81526020600482015260248101839052604401610511565b606060ff83146112745761126d83611696565b9050610496565b81805461128090611d10565b80601f01602080910402602001604051908101604052809291908181526020018280546112ac90611d10565b80156112f95780601f106112ce576101008083540402835291602001916112f9565b820191906000526020600020905b8154815290600101906020018083116112dc57829003601f168201915b50505050509050610496565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084111561134057506000915060039050826113ca565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015611394573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166113c0575060009250600191508290506113ca565b9250600091508190505b9450945094915050565b60008260038111156113e8576113e8611de3565b036113f1575050565b600182600381111561140557611405611de3565b036114235760405163f645eedf60e01b815260040160405180910390fd5b600282600381111561143757611437611de3565b036114585760405163fce698f760e01b815260048101829052602401610511565b600382600381111561146c5761146c611de3565b036105d8576040516335e2f38360e21b815260048101829052602401610511565b6040805180820190915260008082526020820152826000018263ffffffff16815481106114bc576114bc611df9565b60009182526020918290206040805180820190915291015465ffffffffffff81168252600160301b90046001600160d01b0316918101919091529392505050565b6115088383836116d5565b6001600160a01b03831661155957600061152160025490565b90506001600160d01b038082111561155657604051630e58ae9360e11b81526004810183905260248101829052604401610511565b50505b61093a8383836117ff565b600080608083901c1561157957608092831c92015b604083901c1561158b57604092831c92015b602083901c1561159d57602092831c92015b601083901c156115af57601092831c92015b600883901c156115c157600892831c92015b600483901c156115d357600492831c92015b600283901c156115e557600292831c92015b600183901c156104965760010192915050565b6000818310611607578161090e565b5090919050565b600061161d6002848418611e0f565b61090e90848416611dba565b60006001600160d01b03821115610b7a576040516306dfcc6560e41b815260d0600482015260248101839052604401610511565b60008061168961166b6106a2565b61168161167788610d58565b868863ffffffff16565b879190611875565b915091505b935093915050565b606060006116a383611883565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b6001600160a01b0383166117005780600260008282546116f59190611dba565b909155506117729050565b6001600160a01b038316600090815260208190526040902054818110156117535760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610511565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661178e576002805482900390556117ad565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117f291815260200190565b60405180910390a3505050565b6001600160a01b0383166118215761181e600a61091561111d84611629565b50505b6001600160a01b03821661184357611840600a61092161111d84611629565b50505b6001600160a01b0383811660009081526008602052604080822054858416835291205461093a929182169116836110bd565b6000806116898585856118ab565b600060ff8216601f81111561049657604051632cd44ac360e21b815260040160405180910390fd5b8254600090819080156119ca5760006118c987610c02600185611da7565b60408051808201909152905465ffffffffffff808216808452600160301b9092046001600160d01b03166020840152919250908716101561191d57604051632520601d60e01b815260040160405180910390fd5b805165ffffffffffff808816911603611969578461194088610c02600186611da7565b80546001600160d01b0392909216600160301b0265ffffffffffff9092169190911790556119ba565b6040805180820190915265ffffffffffff80881682526001600160d01b0380881660208085019182528b54600181018d5560008d81529190912094519151909216600160301b029216919091179101555b60200151925083915061168e9050565b50506040805180820190915265ffffffffffff80851682526001600160d01b0380851660208085019182528854600181018a5560008a815291822095519251909316600160301b02919093161792019190915590508161168e565b6000815180845260005b81811015611a4b57602081850181015186830182015201611a2f565b506000602082860101526020601f19601f83011685010191505092915050565b60208152600061090e6020830184611a25565b80356001600160a01b0381168114611a9557600080fd5b919050565b60008060408385031215611aad57600080fd5b611ab683611a7e565b946020939093013593505050565b600080600060608486031215611ad957600080fd5b611ae284611a7e565b9250611af060208501611a7e565b9150604084013590509250925092565b600060208284031215611b1257600080fd5b61090e82611a7e565b60ff60f81b881681526000602060e081840152611b3b60e084018a611a25565b8381036040850152611b4d818a611a25565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015611b9f57835183529284019291840191600101611b83565b50909c9b505050505050505050505050565b600060208284031215611bc357600080fd5b5035919050565b803560ff81168114611a9557600080fd5b60008060008060008060c08789031215611bf457600080fd5b611bfd87611a7e565b95506020870135945060408701359350611c1960608801611bca565b92506080870135915060a087013590509295509295509295565b600080600080600080600060e0888a031215611c4e57600080fd5b611c5788611a7e565b9650611c6560208901611a7e565b95506040880135945060608801359350611c8160808901611bca565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611cb057600080fd5b611cb983611a7e565b9150611cc760208401611a7e565b90509250929050565b60008060408385031215611ce357600080fd5b611cec83611a7e565b9150602083013563ffffffff81168114611d0557600080fd5b809150509250929050565b600181811c90821680611d2457607f821691505b602082108103611d4457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160d01b03818116838216019080821115611d8057611d80611d4a565b5092915050565b6001600160d01b03828116828216039080821115611d8057611d80611d4a565b8181038181111561049657610496611d4a565b8082018082111561049657610496611d4a565b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600082611e2c57634e487b7160e01b600052601260045260246000fd5b50049056fea2646970667358221220aa51dab9e3a0a24e2ffc75f1a45a8cf2e80af4cb1628702210a4cefcc8fe0de264736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/ERC-2771/ERC2771Context.sol/ERC2771ContextTest.dbg.json b/artifacts/contracts/solidity/oz/ERC-2771/ERC2771Context.sol/ERC2771ContextTest.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-2771/ERC2771Context.sol/ERC2771ContextTest.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/ERC-2771/ERC2771Context.sol/ERC2771ContextTest.json b/artifacts/contracts/solidity/oz/ERC-2771/ERC2771Context.sol/ERC2771ContextTest.json new file mode 100644 index 000000000..122d25e56 --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-2771/ERC2771Context.sol/ERC2771ContextTest.json @@ -0,0 +1,119 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ERC2771ContextTest", + "sourceName": "contracts/solidity/oz/ERC-2771/ERC2771Context.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "trustedForward", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "forwarder", + "type": "address" + } + ], + "name": "isTrustedForwarder", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "message", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "msgData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "msgDataTest", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "msgSenderTest", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "sender", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "trustedForwarder", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x60a060405234801561001057600080fd5b5060405161066138038061066183398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516105c261009f6000396000818160b00152818161011d01528181610298015261030401526105c26000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80637da0a8771161005b5780637da0a8771461011b5780638afa462e14610141578063c4c2bfdc14610149578063e21f37ce1461015157600080fd5b80632c8cf4fc14610082578063572b6c05146100a057806367e404ce146100f0575b600080fd5b61008a610159565b6040516100979190610398565b60405180910390f35b6100e06100ae3660046103b2565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6040519015158152602001610097565b600154610103906001600160a01b031681565b6040516001600160a01b039091168152602001610097565b7f0000000000000000000000000000000000000000000000000000000000000000610103565b6101036101b4565b61008a6101f8565b61008a610286565b6060610163610293565b60029161017191908361047a565b5061017a610293565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092949350505050565b60006101be610300565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03929092169190911790556101f3610300565b905090565b60028054610205906103f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610231906103f1565b801561027e5780601f106102535761010080835404028352916020019161027e565b820191906000526020600020905b81548152906001019060200180831161026157829003601f168201915b505050505081565b60008054610205906103f1565b3660007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331480156102cf575060143610155b156102f857600080366102e360148261053b565b926102f093929190610562565b915091509091565b6000366102f0565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314801561033b575060143610155b1561034d575060131936013560601c90565b503390565b6000815180845260005b818110156103785760208185018101518683018201520161035c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103ab6020830184610352565b9392505050565b6000602082840312156103c457600080fd5b81356001600160a01b03811681146103ab57600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061040557607f821691505b60208210810361042557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561047557600081815260208120601f850160051c810160208610156104525750805b601f850160051c820191505b818110156104715782815560010161045e565b5050505b505050565b67ffffffffffffffff831115610492576104926103db565b6104a6836104a083546103f1565b8361042b565b6000601f8411600181146104da57600085156104c25750838201355b600019600387901b1c1916600186901b178355610534565b600083815260209020601f19861690835b8281101561050b57868501358255602094850194600190920191016104eb565b50868210156105285760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b8181038181111561055c57634e487b7160e01b600052601160045260246000fd5b92915050565b6000808585111561057257600080fd5b8386111561057f57600080fd5b505082019391909203915056fea2646970667358221220c863d64187f5b1eb7fbd87e0af899a23f7a2e7214493d64b4cdb33c7d6df096a64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80637da0a8771161005b5780637da0a8771461011b5780638afa462e14610141578063c4c2bfdc14610149578063e21f37ce1461015157600080fd5b80632c8cf4fc14610082578063572b6c05146100a057806367e404ce146100f0575b600080fd5b61008a610159565b6040516100979190610398565b60405180910390f35b6100e06100ae3660046103b2565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6040519015158152602001610097565b600154610103906001600160a01b031681565b6040516001600160a01b039091168152602001610097565b7f0000000000000000000000000000000000000000000000000000000000000000610103565b6101036101b4565b61008a6101f8565b61008a610286565b6060610163610293565b60029161017191908361047a565b5061017a610293565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092949350505050565b60006101be610300565b6001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03929092169190911790556101f3610300565b905090565b60028054610205906103f1565b80601f0160208091040260200160405190810160405280929190818152602001828054610231906103f1565b801561027e5780601f106102535761010080835404028352916020019161027e565b820191906000526020600020905b81548152906001019060200180831161026157829003601f168201915b505050505081565b60008054610205906103f1565b3660007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316331480156102cf575060143610155b156102f857600080366102e360148261053b565b926102f093929190610562565b915091509091565b6000366102f0565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314801561033b575060143610155b1561034d575060131936013560601c90565b503390565b6000815180845260005b818110156103785760208185018101518683018201520161035c565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006103ab6020830184610352565b9392505050565b6000602082840312156103c457600080fd5b81356001600160a01b03811681146103ab57600080fd5b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061040557607f821691505b60208210810361042557634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561047557600081815260208120601f850160051c810160208610156104525750805b601f850160051c820191505b818110156104715782815560010161045e565b5050505b505050565b67ffffffffffffffff831115610492576104926103db565b6104a6836104a083546103f1565b8361042b565b6000601f8411600181146104da57600085156104c25750838201355b600019600387901b1c1916600186901b178355610534565b600083815260209020601f19861690835b8281101561050b57868501358255602094850194600190920191016104eb565b50868210156105285760001960f88860031b161c19848701351681555b505060018560011b0183555b5050505050565b8181038181111561055c57634e487b7160e01b600052601160045260246000fd5b92915050565b6000808585111561057257600080fd5b8386111561057f57600080fd5b505082019391909203915056fea2646970667358221220c863d64187f5b1eb7fbd87e0af899a23f7a2e7214493d64b4cdb33c7d6df096a64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/ERC-2981/ERC2981.sol/ERC2981Test.dbg.json b/artifacts/contracts/solidity/oz/ERC-2981/ERC2981.sol/ERC2981Test.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-2981/ERC2981.sol/ERC2981Test.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/ERC-2981/ERC2981.sol/ERC2981Test.json b/artifacts/contracts/solidity/oz/ERC-2981/ERC2981.sol/ERC2981Test.json new file mode 100644 index 000000000..696c4bc3d --- /dev/null +++ b/artifacts/contracts/solidity/oz/ERC-2981/ERC2981.sol/ERC2981Test.json @@ -0,0 +1,195 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ERC2981Test", + "sourceName": "contracts/solidity/oz/ERC-2981/ERC2981.sol", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "numerator", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "denominator", + "type": "uint256" + } + ], + "name": "ERC2981InvalidDefaultRoyalty", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "ERC2981InvalidDefaultRoyaltyReceiver", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "numerator", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "denominator", + "type": "uint256" + } + ], + "name": "ERC2981InvalidTokenRoyalty", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiver", + "type": "address" + } + ], + "name": "ERC2981InvalidTokenRoyaltyReceiver", + "type": "error" + }, + { + "inputs": [], + "name": "feeDenominator", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "resetTokenRoyalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "salePrice", + "type": "uint256" + } + ], + "name": "royaltyInfo", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + }, + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint96", + "name": "feeNumerator", + "type": "uint96" + } + ], + "name": "setDefaultRoyalty", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "internalType": "uint96", + "name": "feeNumerator", + "type": "uint96" + } + ], + "name": "setTokenRoyalty", + "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": "0x608060405234801561001057600080fd5b5061051e806100206000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80632a55205a116100505780632a55205a146100c45780635944c753146100f65780638a616bc01461010957600080fd5b806301ffc9a71461007757806304634d8d1461009f578063180b0d7e146100b4575b600080fd5b61008a610085366004610393565b610128565b60405190151581526020015b60405180910390f35b6100b26100ad3660046103f7565b61015f565b005b6040516127108152602001610096565b6100d76100d236600461042a565b61016d565b604080516001600160a01b039093168352602083019190915201610096565b6100b261010436600461044c565b610219565b6100b2610117366004610488565b600090815260016020526040812055565b60006001600160e01b0319821663152a902d60e11b148061015957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6101698282610229565b5050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916101e25750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610201906001600160601b0316876104a1565b61020b91906104c6565b915196919550909350505050565b6102248383836102d1565b505050565b6127106001600160601b03821681101561026d57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044015b60405180910390fd5b6001600160a01b03831661029757604051635b6cc80560e11b815260006004820152602401610264565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6127106001600160601b0382168110156103175760405163dfd1fc1b60e01b8152600481018590526001600160601b038316602482015260448101829052606401610264565b6001600160a01b03831661034857604051634b4f842960e11b81526004810185905260006024820152604401610264565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b6000602082840312156103a557600080fd5b81356001600160e01b0319811681146103bd57600080fd5b9392505050565b80356001600160a01b03811681146103db57600080fd5b919050565b80356001600160601b03811681146103db57600080fd5b6000806040838503121561040a57600080fd5b610413836103c4565b9150610421602084016103e0565b90509250929050565b6000806040838503121561043d57600080fd5b50508035926020909101359150565b60008060006060848603121561046157600080fd5b83359250610471602085016103c4565b915061047f604085016103e0565b90509250925092565b60006020828403121561049a57600080fd5b5035919050565b808202811582820484141761015957634e487b7160e01b600052601160045260246000fd5b6000826104e357634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212200537c1fbb0ab756b828d052b290a4f7691fb6281e42b5d060840511c9119e80964736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100725760003560e01c80632a55205a116100505780632a55205a146100c45780635944c753146100f65780638a616bc01461010957600080fd5b806301ffc9a71461007757806304634d8d1461009f578063180b0d7e146100b4575b600080fd5b61008a610085366004610393565b610128565b60405190151581526020015b60405180910390f35b6100b26100ad3660046103f7565b61015f565b005b6040516127108152602001610096565b6100d76100d236600461042a565b61016d565b604080516001600160a01b039093168352602083019190915201610096565b6100b261010436600461044c565b610219565b6100b2610117366004610488565b600090815260016020526040812055565b60006001600160e01b0319821663152a902d60e11b148061015957506301ffc9a760e01b6001600160e01b03198316145b92915050565b6101698282610229565b5050565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916101e25750604080518082019091526000546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610201906001600160601b0316876104a1565b61020b91906104c6565b915196919550909350505050565b6102248383836102d1565b505050565b6127106001600160601b03821681101561026d57604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044015b60405180910390fd5b6001600160a01b03831661029757604051635b6cc80560e11b815260006004820152602401610264565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600055565b6127106001600160601b0382168110156103175760405163dfd1fc1b60e01b8152600481018590526001600160601b038316602482015260448101829052606401610264565b6001600160a01b03831661034857604051634b4f842960e11b81526004810185905260006024820152604401610264565b506040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600190529190942093519051909116600160a01b029116179055565b6000602082840312156103a557600080fd5b81356001600160e01b0319811681146103bd57600080fd5b9392505050565b80356001600160a01b03811681146103db57600080fd5b919050565b80356001600160601b03811681146103db57600080fd5b6000806040838503121561040a57600080fd5b610413836103c4565b9150610421602084016103e0565b90509250929050565b6000806040838503121561043d57600080fd5b50508035926020909101359150565b60008060006060848603121561046157600080fd5b83359250610471602085016103c4565b915061047f604085016103e0565b90509250925092565b60006020828403121561049a57600080fd5b5035919050565b808202811582820484141761015957634e487b7160e01b600052601160045260246000fd5b6000826104e357634e487b7160e01b600052601260045260246000fd5b50049056fea26469706673582212200537c1fbb0ab756b828d052b290a4f7691fb6281e42b5d060840511c9119e80964736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/Pausable/Pausable.sol/PausableTest.dbg.json b/artifacts/contracts/solidity/oz/Pausable/Pausable.sol/PausableTest.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/Pausable/Pausable.sol/PausableTest.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/Pausable/Pausable.sol/PausableTest.json b/artifacts/contracts/solidity/oz/Pausable/Pausable.sol/PausableTest.json new file mode 100644 index 000000000..7a896ff2b --- /dev/null +++ b/artifacts/contracts/solidity/oz/Pausable/Pausable.sol/PausableTest.json @@ -0,0 +1,113 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "PausableTest", + "sourceName": "contracts/solidity/oz/Pausable/Pausable.sol", + "abi": [ + { + "inputs": [], + "name": "EnforcedPause", + "type": "error" + }, + { + "inputs": [], + "name": "ExpectedPause", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Paused", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "Unpaused", + "type": "event" + }, + { + "inputs": [], + "name": "getPausedMessage", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "message", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "pause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "paused", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_message", + "type": "string" + } + ], + "name": "setPausedMessage", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "unpause", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506000805460ff191690556105648061002a6000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80635c975abb116100505780635c975abb146100b25780638456cb59146100c8578063e21f37ce146100d057600080fd5b80630b29b52d146100775780633f4ba83a1461008c578063424cc42014610094575b600080fd5b61008a61008536600461030f565b6100d8565b005b61008a6100f2565b61009c6100fc565b6040516100a99190610381565b60405180910390f35b60005460ff1660405190151581526020016100a9565b61008a610196565b61009c61019e565b6100e061022c565b60016100ed82848361046d565b505050565b6100fa610250565b565b60606101066102af565b60018054610113906103e5565b80601f016020809104026020016040519081016040528092919081815260200182805461013f906103e5565b801561018c5780601f106101615761010080835404028352916020019161018c565b820191906000526020600020905b81548152906001019060200180831161016f57829003601f168201915b5050505050905090565b6100fa6102d2565b600180546101ab906103e5565b80601f01602080910402602001604051908101604052809291908181526020018280546101d7906103e5565b80156102245780601f106101f957610100808354040283529160200191610224565b820191906000526020600020905b81548152906001019060200180831161020757829003601f168201915b505050505081565b60005460ff16156100fa5760405163d93c066560e01b815260040160405180910390fd5b6102586102af565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60005460ff166100fa57604051638dfc202b60e01b815260040160405180910390fd5b6102da61022c565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586102853390565b6000806020838503121561032257600080fd5b823567ffffffffffffffff8082111561033a57600080fd5b818501915085601f83011261034e57600080fd5b81358181111561035d57600080fd5b86602082850101111561036f57600080fd5b60209290920196919550909350505050565b600060208083528351808285015260005b818110156103ae57858101830151858201604001528201610392565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806103f957607f821691505b60208210810361041957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100ed57600081815260208120601f850160051c810160208610156104465750805b601f850160051c820191505b8181101561046557828155600101610452565b505050505050565b67ffffffffffffffff831115610485576104856103cf565b6104998361049383546103e5565b8361041f565b6000601f8411600181146104cd57600085156104b55750838201355b600019600387901b1c1916600186901b178355610527565b600083815260209020601f19861690835b828110156104fe57868501358255602094850194600190920191016104de565b508682101561051b5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea264697066735822122059e3882e66c37e9611fc42699ee72b4a0db2fb8eb619d73db6603e1cef47aa9864736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100725760003560e01c80635c975abb116100505780635c975abb146100b25780638456cb59146100c8578063e21f37ce146100d057600080fd5b80630b29b52d146100775780633f4ba83a1461008c578063424cc42014610094575b600080fd5b61008a61008536600461030f565b6100d8565b005b61008a6100f2565b61009c6100fc565b6040516100a99190610381565b60405180910390f35b60005460ff1660405190151581526020016100a9565b61008a610196565b61009c61019e565b6100e061022c565b60016100ed82848361046d565b505050565b6100fa610250565b565b60606101066102af565b60018054610113906103e5565b80601f016020809104026020016040519081016040528092919081815260200182805461013f906103e5565b801561018c5780601f106101615761010080835404028352916020019161018c565b820191906000526020600020905b81548152906001019060200180831161016f57829003601f168201915b5050505050905090565b6100fa6102d2565b600180546101ab906103e5565b80601f01602080910402602001604051908101604052809291908181526020018280546101d7906103e5565b80156102245780601f106101f957610100808354040283529160200191610224565b820191906000526020600020905b81548152906001019060200180831161020757829003601f168201915b505050505081565b60005460ff16156100fa5760405163d93c066560e01b815260040160405180910390fd5b6102586102af565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60005460ff166100fa57604051638dfc202b60e01b815260040160405180910390fd5b6102da61022c565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586102853390565b6000806020838503121561032257600080fd5b823567ffffffffffffffff8082111561033a57600080fd5b818501915085601f83011261034e57600080fd5b81358181111561035d57600080fd5b86602082850101111561036f57600080fd5b60209290920196919550909350505050565b600060208083528351808285015260005b818110156103ae57858101830151858201604001528201610392565b506000604082860101526040601f19601f8301168501019250505092915050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806103f957607f821691505b60208210810361041957634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156100ed57600081815260208120601f850160051c810160208610156104465750805b601f850160051c820191505b8181101561046557828155600101610452565b505050505050565b67ffffffffffffffff831115610485576104856103cf565b6104998361049383546103e5565b8361041f565b6000601f8411600181146104cd57600085156104b55750838201355b600019600387901b1c1916600186901b178355610527565b600083815260209020601f19861690835b828110156104fe57868501358255602094850194600190920191016104de565b508682101561051b5760001960f88860031b161c19848701351681555b505060018560011b0183555b505050505056fea264697066735822122059e3882e66c37e9611fc42699ee72b4a0db2fb8eb619d73db6603e1cef47aa9864736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/finance/VestingWallet.sol/VestingWallet.dbg.json b/artifacts/contracts/solidity/oz/finance/VestingWallet.sol/VestingWallet.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/finance/VestingWallet.sol/VestingWallet.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/finance/VestingWallet.sol/VestingWallet.json b/artifacts/contracts/solidity/oz/finance/VestingWallet.sol/VestingWallet.json new file mode 100644 index 000000000..7498be8bf --- /dev/null +++ b/artifacts/contracts/solidity/oz/finance/VestingWallet.sol/VestingWallet.json @@ -0,0 +1,371 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "VestingWallet", + "sourceName": "contracts/solidity/oz/finance/VestingWallet.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + }, + { + "internalType": "uint64", + "name": "startTimestamp", + "type": "uint64" + }, + { + "internalType": "uint64", + "name": "durationSeconds", + "type": "uint64" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "AddressInsufficientBalance", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "OwnableInvalidOwner", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "account", + "type": "address" + } + ], + "name": "OwnableUnauthorizedAccount", + "type": "error" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "SafeERC20FailedOperation", + "type": "error" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "ERC20Released", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "receiver", + "type": "address" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "amount", + "type": "uint256" + } + ], + "name": "HbarReleased", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": true, + "internalType": "address", + "name": "previousOwner", + "type": "address" + }, + { + "indexed": true, + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "OwnershipTransferred", + "type": "event" + }, + { + "inputs": [], + "name": "duration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "end", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "timestamp", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "releasable", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "releasable", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "release", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "release", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "released", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + } + ], + "name": "released", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "start", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + } + ], + "name": "vestedAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "token", + "type": "address" + }, + { + "internalType": "uint64", + "name": "timestamp", + "type": "uint64" + } + ], + "name": "vestedAmount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "stateMutability": "payable", + "type": "receive" + } + ], + "bytecode": "0x60c0604052604051610d0e380380610d0e833981016040819052610022916100df565b826001600160a01b03811661005157604051631e4fbdf760e01b81526000600482015260240160405180910390fd5b61005a81610073565b506001600160401b039182166080521660a05250610130565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160401b03811681146100da57600080fd5b919050565b6000806000606084860312156100f457600080fd5b83516001600160a01b038116811461010b57600080fd5b9250610119602085016100c3565b9150610127604085016100c3565b90509250925092565b60805160a051610b966101786000396000818161013a01528181610557015261066a0152600081816102890152818161057b0152818161060701526106950152610b966000f3fe6080604052600436106100ec5760003560e01c80638da5cb5b1161008a578063be9a655511610059578063be9a65551461027a578063efbe1c1c146102b7578063f2fde38b146102cc578063fbccedae146102ec57600080fd5b80638da5cb5b146101e7578063961325211461020f5780639852595c14610224578063a3f8eace1461025a57600080fd5b80636c9230db116100c65780636c9230db1461018a578063715018a61461019d578063810ec23b146101b257806386d1a69f146101d257600080fd5b80630a17b06b146100f85780630fb5a6b41461012b578063191655871461016857600080fd5b366100f357005b600080fd5b34801561010457600080fd5b50610118610113366004610a01565b610301565b6040519081526020015b60405180910390f35b34801561013757600080fd5b507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16610118565b34801561017457600080fd5b50610188610183366004610a33565b610325565b005b34801561019657600080fd5b5042610118565b3480156101a957600080fd5b506101886103e0565b3480156101be57600080fd5b506101186101cd366004610a4e565b6103f4565b3480156101de57600080fd5b5061018861048a565b3480156101f357600080fd5b506000546040516001600160a01b039091168152602001610122565b34801561021b57600080fd5b50600154610118565b34801561023057600080fd5b5061011861023f366004610a33565b6001600160a01b031660009081526002602052604090205490565b34801561026657600080fd5b50610118610275366004610a33565b61051a565b34801561028657600080fd5b507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16610118565b3480156102c357600080fd5b50610118610547565b3480156102d857600080fd5b506101886102e7366004610a33565b6105a5565b3480156102f857600080fd5b506101186105e5565b600061031f61030f60015490565b6103199047610a97565b83610603565b92915050565b60006103308261051a565b6001600160a01b03831660009081526002602052604081208054929350839290919061035d908490610a97565b90915550506001600160a01b0382167f1998e30db89daf293a52c4fc4c4470cd506aafc3f9683e8e5daddad80cd6f4a461039f6000546001600160a01b031690565b604080516001600160a01b039092168252602082018590520160405180910390a26103dc826103d66000546001600160a01b031690565b836106ed565b5050565b6103e8610759565b6103f26000610786565b565b6001600160a01b038216600090815260026020526040812054610483906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015610455573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104799190610aaa565b6103199190610a97565b9392505050565b60006104946105e5565b905080600160008282546104a89190610a97565b90915550506000547f26108200f61670a2e7156b9fd3e5e20126840586ad1d994b06f4ed80ef2a1d04906001600160a01b0316604080516001600160a01b039092168252602082018490520160405180910390a16105176105116000546001600160a01b031690565b826107e3565b50565b6001600160a01b03811660009081526002602052604081205461053d83426103f4565b61031f9190610ac3565b60006105a067ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116907f000000000000000000000000000000000000000000000000000000000000000016610a97565b905090565b6105ad610759565b6001600160a01b0381166105dc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61051781610786565b60006105f060015490565b6105f942610301565b6105a09190610ac3565b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff168267ffffffffffffffff1610156106495750600061031f565b610651610547565b8267ffffffffffffffff161061066857508161031f565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff166106d29067ffffffffffffffff8516610ac3565b6106dc9085610ad6565b6106e69190610aed565b905061031f565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b17905261075490849061087a565b505050565b6000546001600160a01b031633146103f25760405163118cdaa760e01b81523360048201526024016105d3565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b804710156108065760405163cd78605960e01b81523060048201526024016105d3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610853576040519150601f19603f3d011682016040523d82523d6000602084013e610858565b606091505b505090508061075457604051630a12f52160e11b815260040160405180910390fd5b600061088f6001600160a01b038416836108dd565b905080516000141580156108b45750808060200190518101906108b29190610b0f565b155b1561075457604051635274afe760e01b81526001600160a01b03841660048201526024016105d3565b60606104838383600084600080856001600160a01b031684866040516109039190610b31565b60006040518083038185875af1925050503d8060008114610940576040519150601f19603f3d011682016040523d82523d6000602084013e610945565b606091505b509150915061095586838361095f565b9695505050505050565b6060826109745761096f826109bb565b610483565b815115801561098b57506001600160a01b0384163b155b156109b457604051639996b31560e01b81526001600160a01b03851660048201526024016105d3565b5080610483565b8051156109cb5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b803567ffffffffffffffff811681146109fc57600080fd5b919050565b600060208284031215610a1357600080fd5b610483826109e4565b80356001600160a01b03811681146109fc57600080fd5b600060208284031215610a4557600080fd5b61048382610a1c565b60008060408385031215610a6157600080fd5b610a6a83610a1c565b9150610a78602084016109e4565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561031f5761031f610a81565b600060208284031215610abc57600080fd5b5051919050565b8181038181111561031f5761031f610a81565b808202811582820484141761031f5761031f610a81565b600082610b0a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610b2157600080fd5b8151801515811461048357600080fd5b6000825160005b81811015610b525760208186018101518583015201610b38565b50600092019182525091905056fea264697066735822122004b0b5d0107bf73a63b7ba8a585e9592a4be688b6467f62438b2fdaf246621b664736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100ec5760003560e01c80638da5cb5b1161008a578063be9a655511610059578063be9a65551461027a578063efbe1c1c146102b7578063f2fde38b146102cc578063fbccedae146102ec57600080fd5b80638da5cb5b146101e7578063961325211461020f5780639852595c14610224578063a3f8eace1461025a57600080fd5b80636c9230db116100c65780636c9230db1461018a578063715018a61461019d578063810ec23b146101b257806386d1a69f146101d257600080fd5b80630a17b06b146100f85780630fb5a6b41461012b578063191655871461016857600080fd5b366100f357005b600080fd5b34801561010457600080fd5b50610118610113366004610a01565b610301565b6040519081526020015b60405180910390f35b34801561013757600080fd5b507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16610118565b34801561017457600080fd5b50610188610183366004610a33565b610325565b005b34801561019657600080fd5b5042610118565b3480156101a957600080fd5b506101886103e0565b3480156101be57600080fd5b506101186101cd366004610a4e565b6103f4565b3480156101de57600080fd5b5061018861048a565b3480156101f357600080fd5b506000546040516001600160a01b039091168152602001610122565b34801561021b57600080fd5b50600154610118565b34801561023057600080fd5b5061011861023f366004610a33565b6001600160a01b031660009081526002602052604090205490565b34801561026657600080fd5b50610118610275366004610a33565b61051a565b34801561028657600080fd5b507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16610118565b3480156102c357600080fd5b50610118610547565b3480156102d857600080fd5b506101886102e7366004610a33565b6105a5565b3480156102f857600080fd5b506101186105e5565b600061031f61030f60015490565b6103199047610a97565b83610603565b92915050565b60006103308261051a565b6001600160a01b03831660009081526002602052604081208054929350839290919061035d908490610a97565b90915550506001600160a01b0382167f1998e30db89daf293a52c4fc4c4470cd506aafc3f9683e8e5daddad80cd6f4a461039f6000546001600160a01b031690565b604080516001600160a01b039092168252602082018590520160405180910390a26103dc826103d66000546001600160a01b031690565b836106ed565b5050565b6103e8610759565b6103f26000610786565b565b6001600160a01b038216600090815260026020526040812054610483906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015610455573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104799190610aaa565b6103199190610a97565b9392505050565b60006104946105e5565b905080600160008282546104a89190610a97565b90915550506000547f26108200f61670a2e7156b9fd3e5e20126840586ad1d994b06f4ed80ef2a1d04906001600160a01b0316604080516001600160a01b039092168252602082018490520160405180910390a16105176105116000546001600160a01b031690565b826107e3565b50565b6001600160a01b03811660009081526002602052604081205461053d83426103f4565b61031f9190610ac3565b60006105a067ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000008116907f000000000000000000000000000000000000000000000000000000000000000016610a97565b905090565b6105ad610759565b6001600160a01b0381166105dc57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61051781610786565b60006105f060015490565b6105f942610301565b6105a09190610ac3565b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff168267ffffffffffffffff1610156106495750600061031f565b610651610547565b8267ffffffffffffffff161061066857508161031f565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff166106d29067ffffffffffffffff8516610ac3565b6106dc9085610ad6565b6106e69190610aed565b905061031f565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b17905261075490849061087a565b505050565b6000546001600160a01b031633146103f25760405163118cdaa760e01b81523360048201526024016105d3565b600080546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b804710156108065760405163cd78605960e01b81523060048201526024016105d3565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114610853576040519150601f19603f3d011682016040523d82523d6000602084013e610858565b606091505b505090508061075457604051630a12f52160e11b815260040160405180910390fd5b600061088f6001600160a01b038416836108dd565b905080516000141580156108b45750808060200190518101906108b29190610b0f565b155b1561075457604051635274afe760e01b81526001600160a01b03841660048201526024016105d3565b60606104838383600084600080856001600160a01b031684866040516109039190610b31565b60006040518083038185875af1925050503d8060008114610940576040519150601f19603f3d011682016040523d82523d6000602084013e610945565b606091505b509150915061095586838361095f565b9695505050505050565b6060826109745761096f826109bb565b610483565b815115801561098b57506001600160a01b0384163b155b156109b457604051639996b31560e01b81526001600160a01b03851660048201526024016105d3565b5080610483565b8051156109cb5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b803567ffffffffffffffff811681146109fc57600080fd5b919050565b600060208284031215610a1357600080fd5b610483826109e4565b80356001600160a01b03811681146109fc57600080fd5b600060208284031215610a4557600080fd5b61048382610a1c565b60008060408385031215610a6157600080fd5b610a6a83610a1c565b9150610a78602084016109e4565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561031f5761031f610a81565b600060208284031215610abc57600080fd5b5051919050565b8181038181111561031f5761031f610a81565b808202811582820484141761031f5761031f610a81565b600082610b0a57634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215610b2157600080fd5b8151801515811461048357600080fd5b6000825160005b81811015610b525760208186018101518583015201610b38565b50600092019182525091905056fea264697066735822122004b0b5d0107bf73a63b7ba8a585e9592a4be688b6467f62438b2fdaf246621b664736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/oz/multicall/MulticallTest.sol/MulticallTest.dbg.json b/artifacts/contracts/solidity/oz/multicall/MulticallTest.sol/MulticallTest.dbg.json new file mode 100644 index 000000000..e27ccab6c --- /dev/null +++ b/artifacts/contracts/solidity/oz/multicall/MulticallTest.sol/MulticallTest.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/oz/multicall/MulticallTest.sol/MulticallTest.json b/artifacts/contracts/solidity/oz/multicall/MulticallTest.sol/MulticallTest.json new file mode 100644 index 000000000..c221dedc7 --- /dev/null +++ b/artifacts/contracts/solidity/oz/multicall/MulticallTest.sol/MulticallTest.json @@ -0,0 +1,72 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "MulticallTest", + "sourceName": "contracts/solidity/oz/multicall/MulticallTest.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "target", + "type": "address" + } + ], + "name": "AddressEmptyCode", + "type": "error" + }, + { + "inputs": [], + "name": "FailedInnerCall", + "type": "error" + }, + { + "inputs": [], + "name": "bar", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "foo", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes[]", + "name": "data", + "type": "bytes[]" + } + ], + "name": "multicall", + "outputs": [ + { + "internalType": "bytes[]", + "name": "results", + "type": "bytes[]" + } + ], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610485806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063ac9650d814610046578063c29855781461006f578063febb0f7e14610080575b600080fd5b61005961005436600461027f565b610088565b6040516100669190610318565b60405180910390f35b607b5b604051908152602001610066565b6101c8610072565b60608167ffffffffffffffff8111156100a3576100a3610392565b6040519080825280602002602001820160405280156100d657816020015b60608152602001906001900390816100c15790505b50905060005b8281101561017657610146308585848181106100fa576100fa6103a8565b905060200281019061010c91906103be565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061017d92505050565b828281518110610158576101586103a8565b6020026020010181905250808061016e9061040c565b9150506100dc565b5092915050565b6060600080846001600160a01b03168460405161019a9190610433565b600060405180830381855af49150503d80600081146101d5576040519150601f19603f3d011682016040523d82523d6000602084013e6101da565b606091505b50915091506101ea8583836101f3565b95945050505050565b6060826102085761020382610256565b61024f565b815115801561021f57506001600160a01b0384163b155b1561024c57604051639996b31560e01b81526001600160a01b038516600482015260240160405180910390fd5b50805b9392505050565b8051156102665780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000806020838503121561029257600080fd5b823567ffffffffffffffff808211156102aa57600080fd5b818501915085601f8301126102be57600080fd5b8135818111156102cd57600080fd5b8660208260051b85010111156102e257600080fd5b60209290920196919550909350505050565b60005b8381101561030f5781810151838201526020016102f7565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561038557878503603f1901845281518051808752610366818989018a85016102f4565b601f01601f19169590950186019450928501929085019060010161033f565b5092979650505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126103d557600080fd5b83018035915067ffffffffffffffff8211156103f057600080fd5b60200191503681900382131561040557600080fd5b9250929050565b60006001820161042c57634e487b7160e01b600052601160045260246000fd5b5060010190565b600082516104458184602087016102f4565b919091019291505056fea2646970667358221220e43f82350a4ebf3f26c0c9ee357870a284b890dd6fdca19354530678077dd09b64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100415760003560e01c8063ac9650d814610046578063c29855781461006f578063febb0f7e14610080575b600080fd5b61005961005436600461027f565b610088565b6040516100669190610318565b60405180910390f35b607b5b604051908152602001610066565b6101c8610072565b60608167ffffffffffffffff8111156100a3576100a3610392565b6040519080825280602002602001820160405280156100d657816020015b60608152602001906001900390816100c15790505b50905060005b8281101561017657610146308585848181106100fa576100fa6103a8565b905060200281019061010c91906103be565b8080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061017d92505050565b828281518110610158576101586103a8565b6020026020010181905250808061016e9061040c565b9150506100dc565b5092915050565b6060600080846001600160a01b03168460405161019a9190610433565b600060405180830381855af49150503d80600081146101d5576040519150601f19603f3d011682016040523d82523d6000602084013e6101da565b606091505b50915091506101ea8583836101f3565b95945050505050565b6060826102085761020382610256565b61024f565b815115801561021f57506001600160a01b0384163b155b1561024c57604051639996b31560e01b81526001600160a01b038516600482015260240160405180910390fd5b50805b9392505050565b8051156102665780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6000806020838503121561029257600080fd5b823567ffffffffffffffff808211156102aa57600080fd5b818501915085601f8301126102be57600080fd5b8135818111156102cd57600080fd5b8660208260051b85010111156102e257600080fd5b60209290920196919550909350505050565b60005b8381101561030f5781810151838201526020016102f7565b50506000910152565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561038557878503603f1901845281518051808752610366818989018a85016102f4565b601f01601f19169590950186019450928501929085019060010161033f565b5092979650505050505050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000808335601e198436030181126103d557600080fd5b83018035915067ffffffffffffffff8211156103f057600080fd5b60200191503681900382131561040557600080fd5b9250929050565b60006001820161042c57634e487b7160e01b600052601160045260246000fd5b5060010190565b600082516104458184602087016102f4565b919091019291505056fea2646970667358221220e43f82350a4ebf3f26c0c9ee357870a284b890dd6fdca19354530678077dd09b64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/payment-channel/PaymentChannel.sol/PaymentChannel.dbg.json b/artifacts/contracts/solidity/payment-channel/PaymentChannel.sol/PaymentChannel.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/payment-channel/PaymentChannel.sol/PaymentChannel.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/payment-channel/PaymentChannel.sol/PaymentChannel.json b/artifacts/contracts/solidity/payment-channel/PaymentChannel.sol/PaymentChannel.json new file mode 100644 index 000000000..eaafd09cb --- /dev/null +++ b/artifacts/contracts/solidity/payment-channel/PaymentChannel.sol/PaymentChannel.json @@ -0,0 +1,129 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "PaymentChannel", + "sourceName": "contracts/solidity/payment-channel/PaymentChannel.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address payable", + "name": "recipientAddress", + "type": "address" + }, + { + "internalType": "uint256", + "name": "duration", + "type": "uint256" + } + ], + "stateMutability": "payable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "contractBalance", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "senderBalance", + "type": "uint256" + }, + { + "indexed": false, + "internalType": "uint256", + "name": "recipientBalance", + "type": "uint256" + } + ], + "name": "AccountBalances", + "type": "event" + }, + { + "inputs": [], + "name": "claimTimeout", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "amount", + "type": "uint256" + }, + { + "internalType": "bytes", + "name": "signature", + "type": "bytes" + } + ], + "name": "close", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "expiration", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "newExpiration", + "type": "uint256" + } + ], + "name": "extend", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "recipient", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "sender", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405260405161061f38038061061f83398101604081905261002291610060565b60008054336001600160a01b031991821617909155600180549091166001600160a01b038416179055610055814261009a565b600255506100c19050565b6000806040838503121561007357600080fd5b82516001600160a01b038116811461008a57600080fd5b6020939093015192949293505050565b808201808211156100bb57634e487b7160e01b600052601160045260246000fd5b92915050565b61054f806100d06000396000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c806366d003ac1161005057806366d003ac146100b057806367e404ce146100db5780639714378c146100ee57600080fd5b80630e1da6c314610077578063415ffba7146100815780634665096d14610094575b600080fd5b61007f610101565b005b61007f61008f366004610445565b61014d565b61009d60025481565b6040519081526020015b60405180910390f35b6001546100c3906001600160a01b031681565b6040516001600160a01b0390911681526020016100a7565b6000546100c3906001600160a01b031681565b61007f6100fc366004610500565b610295565b60025442101561011057600080fd5b600080546040516001600160a01b03909116914780156108fc02929091818181858888f1935050505015801561014a573d6000803e3d6000fd5b50565b6001546001600160a01b0316331461016457600080fd5b61016e82826102bf565b61017757600080fd5b600054600154604080514781526001600160a01b03938416316020820152929091163182820152517f65492bec4194183744a254e3c04830d526449fdc4886f167f48573c68a8920019181900360600190a16001546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610203573d6000803e3d6000fd5b50600080546040516001600160a01b03909116914780156108fc02929091818181858888f1935050505015801561023e573d6000803e3d6000fd5b50600054600154604080514781526001600160a01b03938416316020820152929091163182820152517f65492bec4194183744a254e3c04830d526449fdc4886f167f48573c68a8920019181900360600190a15050565b6000546001600160a01b031633146102ac57600080fd5b60025481116102ba57600080fd5b600255565b6040516bffffffffffffffffffffffff193060601b16602082015260348101839052600090819061035690605401604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000549091506001600160a01b031661036f8285610381565b6001600160a01b031614949350505050565b60008060008061039085610400565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa1580156103eb573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6000806000835160411461041357600080fd5b5050506020810151604082015160609092015160001a92909190565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561045857600080fd5b82359150602083013567ffffffffffffffff8082111561047757600080fd5b818501915085601f83011261048b57600080fd5b81358181111561049d5761049d61042f565b604051601f8201601f19908116603f011681019083821181831017156104c5576104c561042f565b816040528281528860208487010111156104de57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561051257600080fd5b503591905056fea2646970667358221220656877dde322000cc35b721f4cbc1b81d8a569008f67686b27330b1cf5f30a0c64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100725760003560e01c806366d003ac1161005057806366d003ac146100b057806367e404ce146100db5780639714378c146100ee57600080fd5b80630e1da6c314610077578063415ffba7146100815780634665096d14610094575b600080fd5b61007f610101565b005b61007f61008f366004610445565b61014d565b61009d60025481565b6040519081526020015b60405180910390f35b6001546100c3906001600160a01b031681565b6040516001600160a01b0390911681526020016100a7565b6000546100c3906001600160a01b031681565b61007f6100fc366004610500565b610295565b60025442101561011057600080fd5b600080546040516001600160a01b03909116914780156108fc02929091818181858888f1935050505015801561014a573d6000803e3d6000fd5b50565b6001546001600160a01b0316331461016457600080fd5b61016e82826102bf565b61017757600080fd5b600054600154604080514781526001600160a01b03938416316020820152929091163182820152517f65492bec4194183744a254e3c04830d526449fdc4886f167f48573c68a8920019181900360600190a16001546040516001600160a01b039091169083156108fc029084906000818181858888f19350505050158015610203573d6000803e3d6000fd5b50600080546040516001600160a01b03909116914780156108fc02929091818181858888f1935050505015801561023e573d6000803e3d6000fd5b50600054600154604080514781526001600160a01b03938416316020820152929091163182820152517f65492bec4194183744a254e3c04830d526449fdc4886f167f48573c68a8920019181900360600190a15050565b6000546001600160a01b031633146102ac57600080fd5b60025481116102ba57600080fd5b600255565b6040516bffffffffffffffffffffffff193060601b16602082015260348101839052600090819061035690605401604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6000549091506001600160a01b031661036f8285610381565b6001600160a01b031614949350505050565b60008060008061039085610400565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa1580156103eb573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6000806000835160411461041357600080fd5b5050506020810151604082015160609092015160001a92909190565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561045857600080fd5b82359150602083013567ffffffffffffffff8082111561047757600080fd5b818501915085601f83011261048b57600080fd5b81358181111561049d5761049d61042f565b604051601f8201601f19908116603f011681019083821181831017156104c5576104c561042f565b816040528281528860208487010111156104de57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60006020828403121561051257600080fd5b503591905056fea2646970667358221220656877dde322000cc35b721f4cbc1b81d8a569008f67686b27330b1cf5f30a0c64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/scoping/Scoping.sol/Scoping.dbg.json b/artifacts/contracts/solidity/scoping/Scoping.sol/Scoping.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/scoping/Scoping.sol/Scoping.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/scoping/Scoping.sol/Scoping.json b/artifacts/contracts/solidity/scoping/Scoping.sol/Scoping.json new file mode 100644 index 000000000..6b97fea6c --- /dev/null +++ b/artifacts/contracts/solidity/scoping/Scoping.sol/Scoping.json @@ -0,0 +1,31 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Scoping", + "sourceName": "contracts/solidity/scoping/Scoping.sol", + "abi": [ + { + "inputs": [], + "name": "minimalScoping", + "outputs": [], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "reassign", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x6080604052348015600f57600080fd5b5060838061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80635288d07f146037578063d1332e12146039575b600080fd5b005b600260405190815260200160405180910390f3fea26469706673582212203052181c0aa94007e543f950033552d6572ad7d99f059b62fc677373812f0db164736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c80635288d07f146037578063d1332e12146039575b600080fd5b005b600260405190815260200160405180910390f3fea26469706673582212203052181c0aa94007e543f950033552d6572ad7d99f059b62fc677373812f0db164736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/transaction/MessageFrameAddresses.sol/MessageFrameAddresses.dbg.json b/artifacts/contracts/solidity/transaction/MessageFrameAddresses.sol/MessageFrameAddresses.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/transaction/MessageFrameAddresses.sol/MessageFrameAddresses.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/transaction/MessageFrameAddresses.sol/MessageFrameAddresses.json b/artifacts/contracts/solidity/transaction/MessageFrameAddresses.sol/MessageFrameAddresses.json new file mode 100644 index 000000000..38bc6920f --- /dev/null +++ b/artifacts/contracts/solidity/transaction/MessageFrameAddresses.sol/MessageFrameAddresses.json @@ -0,0 +1,37 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "MessageFrameAddresses", + "sourceName": "contracts/solidity/transaction/MessageFrameAddresses.sol", + "abi": [ + { + "inputs": [], + "name": "getMsgSender", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTxOrigin", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x6080604052348015600f57600080fd5b50609d8061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c80637a6ce2e1146037578063b8077e28146062575b600080fd5b335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b32603956fea26469706673582212202626361dd84ee3b576edf17af2c5aa6cb2dbe07f0cb616e9eb024863e2f694e764736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c80637a6ce2e1146037578063b8077e28146062575b600080fd5b335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b32603956fea26469706673582212202626361dd84ee3b576edf17af2c5aa6cb2dbe07f0cb616e9eb024863e2f694e764736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/transaction/Transaction.sol/Transaction.dbg.json b/artifacts/contracts/solidity/transaction/Transaction.sol/Transaction.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/transaction/Transaction.sol/Transaction.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/transaction/Transaction.sol/Transaction.json b/artifacts/contracts/solidity/transaction/Transaction.sol/Transaction.json new file mode 100644 index 000000000..c7ff7ef19 --- /dev/null +++ b/artifacts/contracts/solidity/transaction/Transaction.sol/Transaction.json @@ -0,0 +1,157 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Transaction", + "sourceName": "contracts/solidity/transaction/Transaction.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "MsgValue", + "type": "event" + }, + { + "inputs": [], + "name": "checkGasleft", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGasPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "integer", + "type": "uint256" + }, + { + "internalType": "string", + "name": "inputMessage", + "type": "string" + } + ], + "name": "getMessageData", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [], + "name": "getMessageSender", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMessageSignature", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getMessageValue", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getMsgSenderFromSecondary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTxOriginFromSecondary", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "message", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506040516106f53803806106f583398101604081905261002f9161005e565b600280546001600160a01b039092166001600160a01b031992831681179091556003805490921617905561008e565b60006020828403121561007057600080fd5b81516001600160a01b038116811461008757600080fd5b9392505050565b6106588061009d6000396000f3fe6080604052600436106100865760003560e01c806373c95a2f1161005957806373c95a2f146100f957806376167a89146101385780638b5a76e41461014b578063ddb6e87a14610160578063e21f37ce1461018d57600080fd5b8063025a2f651461008b5780632892c2c2146100bd578063455259cb146100d257806347d52d86146100ef575b600080fd5b34801561009757600080fd5b506100a06101a2565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100c957600080fd5b506100a0610215565b3480156100de57600080fd5b503a5b6040519081526020016100b4565b6100f761025f565b005b34801561010557600080fd5b506040517fffffffff000000000000000000000000000000000000000000000000000000006000351681526020016100b4565b34801561014457600080fd5b50336100a0565b34801561015757600080fd5b506100e1610294565b34801561016c57600080fd5b5061018061017b366004610395565b61029c565b6040516100b49190610496565b34801561019957600080fd5b506101806102f1565b60035460408051637a6ce2e160e01b815290516000926001600160a01b031691637a6ce2e19160048083019260209291908290030181865afa1580156101ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021091906104b0565b905090565b60035460408051631700efc560e31b815290516000926001600160a01b03169163b8077e289160048083019260209291908290030181865afa1580156101ec573d6000803e3d6000fd5b6040513481527fa143729f1e064742494ee223fd9347d2eb1ea559fcad61e62d2568b526a7a6869060200160405180910390a1565b60005a905090565b606060006102aa8382610562565b50826001819055506000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929695505050505050565b600080546102fe906104d9565b80601f016020809104026020016040519081016040528092919081815260200182805461032a906104d9565b80156103775780601f1061034c57610100808354040283529160200191610377565b820191906000526020600020905b81548152906001019060200180831161035a57829003601f168201915b505050505081565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103a857600080fd5b82359150602083013567ffffffffffffffff808211156103c757600080fd5b818501915085601f8301126103db57600080fd5b8135818111156103ed576103ed61037f565b604051601f8201601f19908116603f011681019083821181831017156104155761041561037f565b8160405282815288602084870101111561042e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000815180845260005b818110156104765760208185018101518683018201520161045a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006104a96020830184610450565b9392505050565b6000602082840312156104c257600080fd5b81516001600160a01b03811681146104a957600080fd5b600181811c908216806104ed57607f821691505b60208210810361050d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561055d57600081815260208120601f850160051c8101602086101561053a5750805b601f850160051c820191505b8181101561055957828155600101610546565b5050505b505050565b815167ffffffffffffffff81111561057c5761057c61037f565b6105908161058a84546104d9565b84610513565b602080601f8311600181146105c557600084156105ad5750858301515b600019600386901b1c1916600185901b178555610559565b600085815260208120601f198616915b828110156105f4578886015182559484019460019091019084016105d5565b50858210156106125787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212205e44028a72713c91ed2da203862975d4ce6c09a29f821305eb4522960e1b05c664736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100865760003560e01c806373c95a2f1161005957806373c95a2f146100f957806376167a89146101385780638b5a76e41461014b578063ddb6e87a14610160578063e21f37ce1461018d57600080fd5b8063025a2f651461008b5780632892c2c2146100bd578063455259cb146100d257806347d52d86146100ef575b600080fd5b34801561009757600080fd5b506100a06101a2565b6040516001600160a01b0390911681526020015b60405180910390f35b3480156100c957600080fd5b506100a0610215565b3480156100de57600080fd5b503a5b6040519081526020016100b4565b6100f761025f565b005b34801561010557600080fd5b506040517fffffffff000000000000000000000000000000000000000000000000000000006000351681526020016100b4565b34801561014457600080fd5b50336100a0565b34801561015757600080fd5b506100e1610294565b34801561016c57600080fd5b5061018061017b366004610395565b61029c565b6040516100b49190610496565b34801561019957600080fd5b506101806102f1565b60035460408051637a6ce2e160e01b815290516000926001600160a01b031691637a6ce2e19160048083019260209291908290030181865afa1580156101ec573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061021091906104b0565b905090565b60035460408051631700efc560e31b815290516000926001600160a01b03169163b8077e289160048083019260209291908290030181865afa1580156101ec573d6000803e3d6000fd5b6040513481527fa143729f1e064742494ee223fd9347d2eb1ea559fcad61e62d2568b526a7a6869060200160405180910390a1565b60005a905090565b606060006102aa8382610562565b50826001819055506000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929695505050505050565b600080546102fe906104d9565b80601f016020809104026020016040519081016040528092919081815260200182805461032a906104d9565b80156103775780601f1061034c57610100808354040283529160200191610377565b820191906000526020600020905b81548152906001019060200180831161035a57829003601f168201915b505050505081565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156103a857600080fd5b82359150602083013567ffffffffffffffff808211156103c757600080fd5b818501915085601f8301126103db57600080fd5b8135818111156103ed576103ed61037f565b604051601f8201601f19908116603f011681019083821181831017156104155761041561037f565b8160405282815288602084870101111561042e57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000815180845260005b818110156104765760208185018101518683018201520161045a565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006104a96020830184610450565b9392505050565b6000602082840312156104c257600080fd5b81516001600160a01b03811681146104a957600080fd5b600181811c908216806104ed57607f821691505b60208210810361050d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561055d57600081815260208120601f850160051c8101602086101561053a5750805b601f850160051c820191505b8181101561055957828155600101610546565b5050505b505050565b815167ffffffffffffffff81111561057c5761057c61037f565b6105908161058a84546104d9565b84610513565b602080601f8311600181146105c557600084156105ad5750858301515b600019600386901b1c1916600185901b178555610559565b600085815260208120601f198616915b828110156105f4578886015182559484019460019091019084016105d5565b50858210156106125787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea26469706673582212205e44028a72713c91ed2da203862975d4ce6c09a29f821305eb4522960e1b05c664736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/typeops/AnotherContract.sol/AnotherContract.dbg.json b/artifacts/contracts/solidity/typeops/AnotherContract.sol/AnotherContract.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/typeops/AnotherContract.sol/AnotherContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/typeops/AnotherContract.sol/AnotherContract.json b/artifacts/contracts/solidity/typeops/AnotherContract.sol/AnotherContract.json new file mode 100644 index 000000000..e279f1919 --- /dev/null +++ b/artifacts/contracts/solidity/typeops/AnotherContract.sol/AnotherContract.json @@ -0,0 +1,37 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "AnotherContract", + "sourceName": "contracts/solidity/typeops/AnotherContract.sol", + "abi": [ + { + "inputs": [], + "name": "myFunction", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "sayHelloWorld", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060fb8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b600060208083528351808285015260005b8181101560a457858101830151858201604001528201608a565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220359d0640d327182f5005289b502c694c49e709adf4e5e14b8786b21054b7282d64736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b600060208083528351808285015260005b8181101560a457858101830151858201604001528201608a565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220359d0640d327182f5005289b502c694c49e709adf4e5e14b8786b21054b7282d64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/typeops/MyInterface.sol/MyInterface.dbg.json b/artifacts/contracts/solidity/typeops/MyInterface.sol/MyInterface.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/typeops/MyInterface.sol/MyInterface.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/typeops/MyInterface.sol/MyInterface.json b/artifacts/contracts/solidity/typeops/MyInterface.sol/MyInterface.json new file mode 100644 index 000000000..4dfbe71f4 --- /dev/null +++ b/artifacts/contracts/solidity/typeops/MyInterface.sol/MyInterface.json @@ -0,0 +1,24 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "MyInterface", + "sourceName": "contracts/solidity/typeops/MyInterface.sol", + "abi": [ + { + "inputs": [], + "name": "myFunction", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/typeops/TypeOps.sol/TypeOps.dbg.json b/artifacts/contracts/solidity/typeops/TypeOps.sol/TypeOps.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/typeops/TypeOps.sol/TypeOps.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/typeops/TypeOps.sol/TypeOps.json b/artifacts/contracts/solidity/typeops/TypeOps.sol/TypeOps.json new file mode 100644 index 000000000..24ca8e5d5 --- /dev/null +++ b/artifacts/contracts/solidity/typeops/TypeOps.sol/TypeOps.json @@ -0,0 +1,115 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "TypeOps", + "sourceName": "contracts/solidity/typeops/TypeOps.sol", + "abi": [ + { + "inputs": [], + "name": "typeContractCreationCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "typeContractName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "typeContractRuntimeCode", + "outputs": [ + { + "internalType": "bytes", + "name": "", + "type": "bytes" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "typeIntegerMax", + "outputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "typeIntegerMin", + "outputs": [ + { + "internalType": "int256", + "name": "", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "typeInterfaceId", + "outputs": [ + { + "internalType": "bytes4", + "name": "", + "type": "bytes4" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "typeUintMax", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "typeUintMin", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610430806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063703a27841161005b578063703a27841461010157806380266dbd1461010b578063cfa3b0c814610120578063e5d851af1461012857600080fd5b806305ab6dd21461008d5780630a6d4804146100c25780631111035b146100d4578063668a0579146100db575b600080fd5b604080518082019091526007815266547970654f707360c81b60208201525b6040516100b991906101cb565b60405180910390f35b6000195b6040519081526020016100b9565b60006100c6565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6100c6565b600160ff1b6100c6565b6040516361bc051d60e11b81526020016100b9565b6100ac610130565b6100ac61015a565b6060604051806020016101429061016c565b601f1982820381018352601f90910116604052919050565b60606040518060200161014290610178565b60fb806101e683390190565b61011a806102e183390190565b6000815180845260005b818110156101ab5760208185018101518683018201520161018f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006101de6020830184610185565b939250505056fe6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b600060208083528351808285015260005b8181101560a457858101830151858201604001528201608a565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220359d0640d327182f5005289b502c694c49e709adf4e5e14b8786b21054b7282d64736f6c63430008140033608060405234801561001057600080fd5b5060fb8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b600060208083528351808285015260005b8181101560a457858101830151858201604001528201608a565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220359d0640d327182f5005289b502c694c49e709adf4e5e14b8786b21054b7282d64736f6c63430008140033a2646970667358221220ec45a1bb96b069916dfd10ad98fdafe0dfd9dc7a632bf91d0fdc387e82b7491d64736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063703a27841161005b578063703a27841461010157806380266dbd1461010b578063cfa3b0c814610120578063e5d851af1461012857600080fd5b806305ab6dd21461008d5780630a6d4804146100c25780631111035b146100d4578063668a0579146100db575b600080fd5b604080518082019091526007815266547970654f707360c81b60208201525b6040516100b991906101cb565b60405180910390f35b6000195b6040519081526020016100b9565b60006100c6565b7f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6100c6565b600160ff1b6100c6565b6040516361bc051d60e11b81526020016100b9565b6100ac610130565b6100ac61015a565b6060604051806020016101429061016c565b601f1982820381018352601f90910116604052919050565b60606040518060200161014290610178565b60fb806101e683390190565b61011a806102e183390190565b6000815180845260005b818110156101ab5760208185018101518683018201520161018f565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006101de6020830184610185565b939250505056fe6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b600060208083528351808285015260005b8181101560a457858101830151858201604001528201608a565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220359d0640d327182f5005289b502c694c49e709adf4e5e14b8786b21054b7282d64736f6c63430008140033608060405234801561001057600080fd5b5060fb8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806345773e4e146037578063c3780a3a14606b575b600080fd5b604080518082018252600b81526a12195b1b1bc815dbdc9b1960aa1b60208201529051606291906079565b60405180910390f35b604051607b81526020016062565b600060208083528351808285015260005b8181101560a457858101830151858201604001528201608a565b506000604082860101526040601f19601f830116850101925050509291505056fea2646970667358221220359d0640d327182f5005289b502c694c49e709adf4e5e14b8786b21054b7282d64736f6c63430008140033a2646970667358221220ec45a1bb96b069916dfd10ad98fdafe0dfd9dc7a632bf91d0fdc387e82b7491d64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/units/cryptoUnits.sol/CryptoUnits.dbg.json b/artifacts/contracts/solidity/units/cryptoUnits.sol/CryptoUnits.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/units/cryptoUnits.sol/CryptoUnits.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/units/cryptoUnits.sol/CryptoUnits.json b/artifacts/contracts/solidity/units/cryptoUnits.sol/CryptoUnits.json new file mode 100644 index 000000000..c3df757ab --- /dev/null +++ b/artifacts/contracts/solidity/units/cryptoUnits.sol/CryptoUnits.json @@ -0,0 +1,55 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "CryptoUnits", + "sourceName": "contracts/solidity/units/cryptoUnits.sol", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "get1Eth", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "get1GWei", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "get1Wei", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x6080604052348015600f57600080fd5b5060a28061001e6000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c806303774f801460415780633424a559146056578063fdccc16b14605f575b600080fd5b60015b60405190815260200160405180910390f35b633b9aca006044565b670de0b6b3a7640000604456fea2646970667358221220a77ccf2104c24f92122b991d68a3de607ac88731d980bb19eb476b816776b05564736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b5060043610603c5760003560e01c806303774f801460415780633424a559146056578063fdccc16b14605f575b600080fd5b60015b60405190815260200160405180910390f35b633b9aca006044565b670de0b6b3a7640000604456fea2646970667358221220a77ccf2104c24f92122b991d68a3de607ac88731d980bb19eb476b816776b05564736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/units/timeUnits.sol/TimeUnits.dbg.json b/artifacts/contracts/solidity/units/timeUnits.sol/TimeUnits.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/units/timeUnits.sol/TimeUnits.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/units/timeUnits.sol/TimeUnits.json b/artifacts/contracts/solidity/units/timeUnits.sol/TimeUnits.json new file mode 100644 index 000000000..488de795e --- /dev/null +++ b/artifacts/contracts/solidity/units/timeUnits.sol/TimeUnits.json @@ -0,0 +1,81 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "TimeUnits", + "sourceName": "contracts/solidity/units/timeUnits.sol", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "get1Day", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "get1Hour", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "get1Minute", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "get1Second", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "get1Week", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060bd8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060505760003560e01c806306e5f85f1460555780635a5ec77b14606c578063756c55c1146072578063a0e38b02146079578063a8463aa514607f575b600080fd5b620151805b60405190815260200160405180910390f35b6001605a565b610e10605a565b603c605a565b62093a80605a56fea264697066735822122071fdb620109c0f6ea877c0c2c83951a30c3413c0ac59c3ccae6a946255b316e964736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060505760003560e01c806306e5f85f1460555780635a5ec77b14606c578063756c55c1146072578063a0e38b02146079578063a8463aa514607f575b600080fd5b620151805b60405190815260200160405180910390f35b6001605a565b610e10605a565b603c605a565b62093a80605a56fea264697066735822122071fdb620109c0f6ea877c0c2c83951a30c3413c0ac59c3ccae6a946255b316e964736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/solidity/voting/Ballot.sol/Ballot.dbg.json b/artifacts/contracts/solidity/voting/Ballot.sol/Ballot.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/solidity/voting/Ballot.sol/Ballot.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/solidity/voting/Ballot.sol/Ballot.json b/artifacts/contracts/solidity/voting/Ballot.sol/Ballot.json new file mode 100644 index 000000000..09c23b4ec --- /dev/null +++ b/artifacts/contracts/solidity/voting/Ballot.sol/Ballot.json @@ -0,0 +1,158 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Ballot", + "sourceName": "contracts/solidity/voting/Ballot.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "bytes32[]", + "name": "proposalNames", + "type": "bytes32[]" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "chairperson", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + } + ], + "name": "delegate", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "voter", + "type": "address" + } + ], + "name": "giveRightToVote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "proposals", + "outputs": [ + { + "internalType": "bytes32", + "name": "name", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "voteCount", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "proposal", + "type": "uint256" + } + ], + "name": "vote", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "name": "voters", + "outputs": [ + { + "internalType": "uint256", + "name": "weight", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "voted", + "type": "bool" + }, + { + "internalType": "address", + "name": "delegate", + "type": "address" + }, + { + "internalType": "uint256", + "name": "vote", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "winnerName", + "outputs": [ + { + "internalType": "bytes32", + "name": "winnerName_", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "winningProposal", + "outputs": [ + { + "internalType": "uint256", + "name": "winningProposal_", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506040516109f93803806109f983398101604081905261002f916100e2565b600080546001600160a01b03191633908117825581526001602081905260408220555b81518110156100c5576002604051806040016040528084848151811061007a5761007a61019f565b602090810291909101810151825260009181018290528354600181810186559483529181902083516002909302019182559190910151910155806100bd816101b5565b915050610052565b50506101dc565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156100f557600080fd5b82516001600160401b038082111561010c57600080fd5b818501915085601f83011261012057600080fd5b815181811115610132576101326100cc565b8060051b604051601f19603f83011681018181108582111715610157576101576100cc565b60405291825284820192508381018501918883111561017557600080fd5b938501935b828510156101935784518452938501939285019261017a565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016101d557634e487b7160e01b600052601160045260246000fd5b5060010190565b61080e806101eb6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063609ff1bd1161005b578063609ff1bd1461010d5780639e7b8d6114610123578063a3ec138d14610136578063e2ba53f0146101a757600080fd5b80630121b93f1461008d578063013cf08b146100a25780632e4176cf146100cf5780635c19a95c146100fa575b600080fd5b6100a061009b366004610731565b6101af565b005b6100b56100b0366004610731565b6102c1565b604080519283526020830191909152015b60405180910390f35b6000546100e2906001600160a01b031681565b6040516001600160a01b0390911681526020016100c6565b6100a061010836600461074a565b6102ef565b610115610569565b6040519081526020016100c6565b6100a061013136600461074a565b6105e6565b61017861014436600461074a565b600160208190526000918252604090912080549181015460029091015460ff82169161010090046001600160a01b03169084565b6040516100c6949392919093845291151560208401526001600160a01b03166040830152606082015260800190565b6101156106fe565b33600090815260016020526040812080549091036102145760405162461bcd60e51b815260206004820152601460248201527f486173206e6f20726967687420746f20766f746500000000000000000000000060448201526064015b60405180910390fd5b600181015460ff16156102695760405162461bcd60e51b815260206004820152600e60248201527f416c726561647920766f7465642e000000000000000000000000000000000000604482015260640161020b565b6001818101805460ff19169091179055600280820183905581548154909190849081106102985761029861077a565b906000526020600020906002020160010160008282546102b891906107a6565b90915550505050565b600281815481106102d157600080fd5b60009182526020909120600290910201805460019091015490915082565b336000908152600160205260408120805490910361034f5760405162461bcd60e51b815260206004820152601960248201527f596f752068617665206e6f20726967687420746f20766f746500000000000000604482015260640161020b565b600181015460ff16156103a45760405162461bcd60e51b815260206004820152601260248201527f596f7520616c726561647920766f7465642e0000000000000000000000000000604482015260640161020b565b336001600160a01b038316036103fc5760405162461bcd60e51b815260206004820152601e60248201527f53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e0000604482015260640161020b565b6001600160a01b0382811660009081526001602081905260409091200154610100900416156104a0576001600160a01b039182166000908152600160208190526040909120015461010090049091169033820361049b5760405162461bcd60e51b815260206004820152601960248201527f466f756e64206c6f6f7020696e2064656c65676174696f6e2e00000000000000604482015260640161020b565b6103fc565b6001600160a01b03821660009081526001602081905260409091208054909111156104ca57600080fd5b6001828101805474ffffffffffffffffffffffffffffffffffffffffff19166101006001600160a01b03871602178217905581015460ff161561054a5781546002828101548154811061051f5761051f61077a565b9060005260206000209060020201600101600082825461053f91906107a6565b909155506105649050565b81548154829060009061055e9084906107a6565b90915550505b505050565b600080805b6002548110156105e157816002828154811061058c5761058c61077a565b90600052602060002090600202016001015411156105cf57600281815481106105b7576105b761077a565b90600052602060002090600202016001015491508092505b806105d9816107bf565b91505061056e565b505090565b6000546001600160a01b031633146106515760405162461bcd60e51b815260206004820152602860248201527f4f6e6c79206368616972706572736f6e2063616e2067697665207269676874206044820152673a37903b37ba329760c11b606482015260840161020b565b6001600160a01b0381166000908152600160208190526040909120015460ff16156106be5760405162461bcd60e51b815260206004820152601860248201527f54686520766f74657220616c726561647920766f7465642e0000000000000000604482015260640161020b565b6001600160a01b038116600090815260016020526040902054156106e157600080fd5b6001600160a01b0316600090815260016020819052604090912055565b6000600261070a610569565b8154811061071a5761071a61077a565b906000526020600020906002020160000154905090565b60006020828403121561074357600080fd5b5035919050565b60006020828403121561075c57600080fd5b81356001600160a01b038116811461077357600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107b9576107b9610790565b92915050565b6000600182016107d1576107d1610790565b506001019056fea26469706673582212200716246c08c4d7c6b3ea5b84121b5a8cb57b5139fff0cf89a70d192c59dfe00464736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063609ff1bd1161005b578063609ff1bd1461010d5780639e7b8d6114610123578063a3ec138d14610136578063e2ba53f0146101a757600080fd5b80630121b93f1461008d578063013cf08b146100a25780632e4176cf146100cf5780635c19a95c146100fa575b600080fd5b6100a061009b366004610731565b6101af565b005b6100b56100b0366004610731565b6102c1565b604080519283526020830191909152015b60405180910390f35b6000546100e2906001600160a01b031681565b6040516001600160a01b0390911681526020016100c6565b6100a061010836600461074a565b6102ef565b610115610569565b6040519081526020016100c6565b6100a061013136600461074a565b6105e6565b61017861014436600461074a565b600160208190526000918252604090912080549181015460029091015460ff82169161010090046001600160a01b03169084565b6040516100c6949392919093845291151560208401526001600160a01b03166040830152606082015260800190565b6101156106fe565b33600090815260016020526040812080549091036102145760405162461bcd60e51b815260206004820152601460248201527f486173206e6f20726967687420746f20766f746500000000000000000000000060448201526064015b60405180910390fd5b600181015460ff16156102695760405162461bcd60e51b815260206004820152600e60248201527f416c726561647920766f7465642e000000000000000000000000000000000000604482015260640161020b565b6001818101805460ff19169091179055600280820183905581548154909190849081106102985761029861077a565b906000526020600020906002020160010160008282546102b891906107a6565b90915550505050565b600281815481106102d157600080fd5b60009182526020909120600290910201805460019091015490915082565b336000908152600160205260408120805490910361034f5760405162461bcd60e51b815260206004820152601960248201527f596f752068617665206e6f20726967687420746f20766f746500000000000000604482015260640161020b565b600181015460ff16156103a45760405162461bcd60e51b815260206004820152601260248201527f596f7520616c726561647920766f7465642e0000000000000000000000000000604482015260640161020b565b336001600160a01b038316036103fc5760405162461bcd60e51b815260206004820152601e60248201527f53656c662d64656c65676174696f6e20697320646973616c6c6f7765642e0000604482015260640161020b565b6001600160a01b0382811660009081526001602081905260409091200154610100900416156104a0576001600160a01b039182166000908152600160208190526040909120015461010090049091169033820361049b5760405162461bcd60e51b815260206004820152601960248201527f466f756e64206c6f6f7020696e2064656c65676174696f6e2e00000000000000604482015260640161020b565b6103fc565b6001600160a01b03821660009081526001602081905260409091208054909111156104ca57600080fd5b6001828101805474ffffffffffffffffffffffffffffffffffffffffff19166101006001600160a01b03871602178217905581015460ff161561054a5781546002828101548154811061051f5761051f61077a565b9060005260206000209060020201600101600082825461053f91906107a6565b909155506105649050565b81548154829060009061055e9084906107a6565b90915550505b505050565b600080805b6002548110156105e157816002828154811061058c5761058c61077a565b90600052602060002090600202016001015411156105cf57600281815481106105b7576105b761077a565b90600052602060002090600202016001015491508092505b806105d9816107bf565b91505061056e565b505090565b6000546001600160a01b031633146106515760405162461bcd60e51b815260206004820152602860248201527f4f6e6c79206368616972706572736f6e2063616e2067697665207269676874206044820152673a37903b37ba329760c11b606482015260840161020b565b6001600160a01b0381166000908152600160208190526040909120015460ff16156106be5760405162461bcd60e51b815260206004820152601860248201527f54686520766f74657220616c726561647920766f7465642e0000000000000000604482015260640161020b565b6001600160a01b038116600090815260016020526040902054156106e157600080fd5b6001600160a01b0316600090815260016020819052604090912055565b6000600261070a610569565b8154811061071a5761071a61077a565b906000526020600020906002020160000154905090565b60006020828403121561074357600080fd5b5035919050565b60006020828403121561075c57600080fd5b81356001600160a01b038116811461077357600080fd5b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b808201808211156107b9576107b9610790565b92915050565b6000600182016107d1576107d1610790565b506001019056fea26469706673582212200716246c08c4d7c6b3ea5b84121b5a8cb57b5139fff0cf89a70d192c59dfe00464736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/util-precompile/IPrngSystemContract.sol/IPrngSystemContract.dbg.json b/artifacts/contracts/util-precompile/IPrngSystemContract.sol/IPrngSystemContract.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/util-precompile/IPrngSystemContract.sol/IPrngSystemContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/util-precompile/PrngSystemContract.sol/PrngSystemContract.dbg.json b/artifacts/contracts/util-precompile/PrngSystemContract.sol/PrngSystemContract.dbg.json new file mode 100644 index 000000000..9d47c411a --- /dev/null +++ b/artifacts/contracts/util-precompile/PrngSystemContract.sol/PrngSystemContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/bitwise-coverage/Bitwise.sol/Bitwise.dbg.json b/artifacts/contracts/yul/bitwise-coverage/Bitwise.sol/Bitwise.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/bitwise-coverage/Bitwise.sol/Bitwise.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/bitwise-coverage/Bitwise.sol/Bitwise.json b/artifacts/contracts/yul/bitwise-coverage/Bitwise.sol/Bitwise.json new file mode 100644 index 000000000..4cfb29546 --- /dev/null +++ b/artifacts/contracts/yul/bitwise-coverage/Bitwise.sol/Bitwise.json @@ -0,0 +1,198 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "Bitwise", + "sourceName": "contracts/yul/bitwise-coverage/Bitwise.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "and", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "n", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + } + ], + "name": "extractbyteat", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + } + ], + "name": "not", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "or", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "sar", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "shl", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + } + ], + "name": "shr", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "xor", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506101a4806100206000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063a22fcaa61161005b578063a22fcaa6146100ea578063a4c82e02146100fc578063b0d1adf11461010e578063f1388b6f1461012157600080fd5b80631eaae2ac1461008d578063726e2bdf146100b257806375f4479a146100c4578063764a51db146100d7575b600080fd5b6100a061009b366004610133565b901a90565b60405190815260200160405180910390f35b6100a06100c0366004610133565b1690565b6100a06100d2366004610133565b901c90565b6100a06100e5366004610133565b901b90565b6100a06100f8366004610133565b1790565b6100a061010a366004610155565b1990565b6100a061011c366004610133565b901d90565b6100a061012f366004610133565b1890565b6000806040838503121561014657600080fd5b50508035926020909101359150565b60006020828403121561016757600080fd5b503591905056fea26469706673582212209621859dec81532cfee65a8b81b9f8fa68741eaf09cc24badb8e33949612ebc764736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100885760003560e01c8063a22fcaa61161005b578063a22fcaa6146100ea578063a4c82e02146100fc578063b0d1adf11461010e578063f1388b6f1461012157600080fd5b80631eaae2ac1461008d578063726e2bdf146100b257806375f4479a146100c4578063764a51db146100d7575b600080fd5b6100a061009b366004610133565b901a90565b60405190815260200160405180910390f35b6100a06100c0366004610133565b1690565b6100a06100d2366004610133565b901c90565b6100a06100e5366004610133565b901b90565b6100a06100f8366004610133565b1790565b6100a061010a366004610155565b1990565b6100a061011c366004610133565b901d90565b6100a061012f366004610133565b1890565b6000806040838503121561014657600080fd5b50508035926020909101359150565b60006020828403121561016757600080fd5b503591905056fea26469706673582212209621859dec81532cfee65a8b81b9f8fa68741eaf09cc24badb8e33949612ebc764736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/yul/contract-caller/ContractCaller.sol/ContractCaller.dbg.json b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/ContractCaller.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/ContractCaller.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/contract-caller/ContractCaller.sol/ContractCaller.json b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/ContractCaller.json new file mode 100644 index 000000000..5ed4e84fb --- /dev/null +++ b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/ContractCaller.json @@ -0,0 +1,142 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ContractCaller", + "sourceName": "contracts/yul/contract-caller/ContractCaller.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "bool", + "name": "success", + "type": "bool" + } + ], + "name": "CallResult", + "type": "event" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "count", + "type": "uint256" + } + ], + "name": "CallReturnedData", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_targetContractAddress", + "type": "address" + }, + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "call", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_targetContractAddress", + "type": "address" + }, + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "callCode", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "count", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_targetContractAddress", + "type": "address" + }, + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "delegateCall", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_targetContractAddress", + "type": "address" + }, + { + "internalType": "bytes", + "name": "input", + "type": "bytes" + } + ], + "name": "staticcall", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5061037b806100206000396000f3fe60806040526004361061004a5760003560e01c806306661abd1461004f578063087f108b146100775780630e21a7f0146100995780631a723a67146100b95780636ba3300c146100cc575b600080fd5b34801561005b57600080fd5b5061006560005481565b60405190815260200160405180910390f35b34801561008357600080fd5b5061009761009236600461025f565b6100df565b005b3480156100a557600080fd5b506100976100b436600461025f565b610168565b6100976100c736600461025f565b6101b9565b6100976100da36600461025f565b6101fd565b600080604051602081855160208701888afa9051604051821515815291935091507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa906020015b60405180910390a16040518181527fbbf40723f7e1e1ff16bed7c6b540029cfb01451aef5687656c570e5ecf57d0b89060200160405180910390a15050505050565b60008060008351602085018688f490507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa816040516101ab911515815260200190565b60405180910390a150505050565b6000806000835160208501348789f290507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa816040516101ab911515815260200190565b60008060405160208185516020870134898bf19051604051821515815291935091507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa90602001610126565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561027457600080fd5b83359250602084013573ffffffffffffffffffffffffffffffffffffffff8116811461029f57600080fd5b9150604084013567ffffffffffffffff808211156102bc57600080fd5b818601915086601f8301126102d057600080fd5b8135818111156102e2576102e2610249565b604051601f8201601f19908116603f0116810190838211818310171561030a5761030a610249565b8160405282815289602084870101111561032357600080fd5b826020860160208301376000602084830101528095505050505050925092509256fea2646970667358221220528776e87e34d9b9f4c9221b2e9f06d6ac961f6cb55e323ce51ce43ba3fa86c264736f6c63430008140033", + "deployedBytecode": "0x60806040526004361061004a5760003560e01c806306661abd1461004f578063087f108b146100775780630e21a7f0146100995780631a723a67146100b95780636ba3300c146100cc575b600080fd5b34801561005b57600080fd5b5061006560005481565b60405190815260200160405180910390f35b34801561008357600080fd5b5061009761009236600461025f565b6100df565b005b3480156100a557600080fd5b506100976100b436600461025f565b610168565b6100976100c736600461025f565b6101b9565b6100976100da36600461025f565b6101fd565b600080604051602081855160208701888afa9051604051821515815291935091507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa906020015b60405180910390a16040518181527fbbf40723f7e1e1ff16bed7c6b540029cfb01451aef5687656c570e5ecf57d0b89060200160405180910390a15050505050565b60008060008351602085018688f490507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa816040516101ab911515815260200190565b60405180910390a150505050565b6000806000835160208501348789f290507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa816040516101ab911515815260200190565b60008060405160208185516020870134898bf19051604051821515815291935091507f9686a96220179cf6714c44293405f4ea5d8bef104774b6590164b7084e5732fa90602001610126565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121561027457600080fd5b83359250602084013573ffffffffffffffffffffffffffffffffffffffff8116811461029f57600080fd5b9150604084013567ffffffffffffffff808211156102bc57600080fd5b818601915086601f8301126102d057600080fd5b8135818111156102e2576102e2610249565b604051601f8201601f19908116603f0116810190838211818310171561030a5761030a610249565b8160405282815289602084870101111561032357600080fd5b826020860160208301376000602084830101528095505050505050925092509256fea2646970667358221220528776e87e34d9b9f4c9221b2e9f06d6ac961f6cb55e323ce51ce43ba3fa86c264736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/yul/contract-caller/ContractCaller.sol/TargetContract.dbg.json b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/TargetContract.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/TargetContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/contract-caller/ContractCaller.sol/TargetContract.json b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/TargetContract.json new file mode 100644 index 000000000..400e2ce2f --- /dev/null +++ b/artifacts/contracts/yul/contract-caller/ContractCaller.sol/TargetContract.json @@ -0,0 +1,48 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "TargetContract", + "sourceName": "contracts/yul/contract-caller/ContractCaller.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "_count", + "type": "uint256" + } + ], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "inputs": [], + "name": "getCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_count", + "type": "uint256" + } + ], + "name": "setCount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b5060405161010a38038061010a83398101604081905261002f91610037565b600055610050565b60006020828403121561004957600080fd5b5051919050565b60ac8061005e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c8063a87d942c146037578063d14e62b814604c575b600080fd5b60005460405190815260200160405180910390f35b605c6057366004605e565b600055565b005b600060208284031215606f57600080fd5b503591905056fea26469706673582212201be2faf1731f9f1b968872de650db6f916b964364ae9a35dce6b23fa1b9b153364736f6c63430008140033", + "deployedBytecode": "0x6080604052348015600f57600080fd5b506004361060325760003560e01c8063a87d942c146037578063d14e62b814604c575b600080fd5b60005460405190815260200160405180910390f35b605c6057366004605e565b600055565b005b600060208284031215606f57600080fd5b503591905056fea26469706673582212201be2faf1731f9f1b968872de650db6f916b964364ae9a35dce6b23fa1b9b153364736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ContractCreator.dbg.json b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ContractCreator.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ContractCreator.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ContractCreator.json b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ContractCreator.json new file mode 100644 index 000000000..7fb955e5e --- /dev/null +++ b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ContractCreator.json @@ -0,0 +1,55 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ContractCreator", + "sourceName": "contracts/yul/contract-creator/ContractCreator.sol", + "abi": [ + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "address", + "name": "contractAddress", + "type": "address" + } + ], + "name": "NewContractCreated", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "bytecode", + "type": "bytes" + }, + { + "internalType": "uint256", + "name": "salt", + "type": "uint256" + } + ], + "name": "create2NewContract", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes", + "name": "bytecode", + "type": "bytes" + } + ], + "name": "createNewContract", + "outputs": [], + "stateMutability": "payable", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b50610287806100206000396000f3fe6080604052600436106100295760003560e01c8063669bd3361461002e578063e04d19ac14610043575b600080fd5b61004161003c3660046101cf565b610056565b005b610041610051366004610214565b6100c2565b60003483516020850184828285f59350505050803b61007457600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff821681527fda8571e58c4cf9dcae24580090e9dcfc82718f76bc81df86f8f18cfd0d6ad2609060200160405180910390a1505050565b600034825160208401818184f09350505050803b6100df57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff821681527fda8571e58c4cf9dcae24580090e9dcfc82718f76bc81df86f8f18cfd0d6ad2609060200160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261015357600080fd5b813567ffffffffffffffff8082111561016e5761016e61012c565b604051601f8301601f19908116603f011681019082821181831017156101965761019661012c565b816040528381528660208588010111156101af57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156101e257600080fd5b823567ffffffffffffffff8111156101f957600080fd5b61020585828601610142565b95602094909401359450505050565b60006020828403121561022657600080fd5b813567ffffffffffffffff81111561023d57600080fd5b61024984828501610142565b94935050505056fea26469706673582212206935ee496fa0e7f1db0b9193b33be406a39e1b4e60ba9749573173bf2aaf151e64736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100295760003560e01c8063669bd3361461002e578063e04d19ac14610043575b600080fd5b61004161003c3660046101cf565b610056565b005b610041610051366004610214565b6100c2565b60003483516020850184828285f59350505050803b61007457600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff821681527fda8571e58c4cf9dcae24580090e9dcfc82718f76bc81df86f8f18cfd0d6ad2609060200160405180910390a1505050565b600034825160208401818184f09350505050803b6100df57600080fd5b60405173ffffffffffffffffffffffffffffffffffffffff821681527fda8571e58c4cf9dcae24580090e9dcfc82718f76bc81df86f8f18cfd0d6ad2609060200160405180910390a15050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261015357600080fd5b813567ffffffffffffffff8082111561016e5761016e61012c565b604051601f8301601f19908116603f011681019082821181831017156101965761019661012c565b816040528381528660208588010111156101af57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156101e257600080fd5b823567ffffffffffffffff8111156101f957600080fd5b61020585828601610142565b95602094909401359450505050565b60006020828403121561022657600080fd5b813567ffffffffffffffff81111561023d57600080fd5b61024984828501610142565b94935050505056fea26469706673582212206935ee496fa0e7f1db0b9193b33be406a39e1b4e60ba9749573173bf2aaf151e64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ITargetContract.dbg.json b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ITargetContract.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ITargetContract.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ITargetContract.json b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ITargetContract.json new file mode 100644 index 000000000..ff8255d92 --- /dev/null +++ b/artifacts/contracts/yul/contract-creator/ContractCreator.sol/ITargetContract.json @@ -0,0 +1,37 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "ITargetContract", + "sourceName": "contracts/yul/contract-creator/ContractCreator.sol", + "abi": [ + { + "inputs": [], + "name": "getCount", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_number", + "type": "uint256" + } + ], + "name": "setCount", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x", + "deployedBytecode": "0x", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/yul/data-allocation/DataAllocation.sol/DataAllocation.dbg.json b/artifacts/contracts/yul/data-allocation/DataAllocation.sol/DataAllocation.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/data-allocation/DataAllocation.sol/DataAllocation.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/data-allocation/DataAllocation.sol/DataAllocation.json b/artifacts/contracts/yul/data-allocation/DataAllocation.sol/DataAllocation.json new file mode 100644 index 000000000..6ca75acc2 --- /dev/null +++ b/artifacts/contracts/yul/data-allocation/DataAllocation.sol/DataAllocation.json @@ -0,0 +1,96 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "DataAllocation", + "sourceName": "contracts/yul/data-allocation/DataAllocation.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "uint256", + "name": "p", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "v", + "type": "uint256" + } + ], + "name": "allocateMemory", + "outputs": [ + { + "internalType": "uint256", + "name": "n", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "p", + "type": "uint256" + }, + { + "internalType": "uint8", + "name": "v", + "type": "uint8" + } + ], + "name": "allocateMemory8", + "outputs": [ + { + "internalType": "uint8", + "name": "n", + "type": "uint8" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "p", + "type": "uint256" + } + ], + "name": "sload", + "outputs": [ + { + "internalType": "uint256", + "name": "n", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "p", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "v", + "type": "uint256" + } + ], + "name": "sstore", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "bytecode": "0x608060405260008055600c60015534801561001957600080fd5b5061017d806100296000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80639824000414610051578063bf0db86514610076578063e00f38671461009b578063ee2c983a146100af575b600080fd5b61006361005f3660046100d6565b5490565b6040519081526020015b60405180910390f35b6100896100843660046100ef565b6100c4565b60405160ff909116815260200161006d565b6100ad6100a9366004610125565b9055565b005b6100636100bd366004610125565b9081905290565b6000808284535050905160f81c919050565b6000602082840312156100e857600080fd5b5035919050565b6000806040838503121561010257600080fd5b82359150602083013560ff8116811461011a57600080fd5b809150509250929050565b6000806040838503121561013857600080fd5b5050803592602090910135915056fea264697066735822122087866f9f3429b8d84930cab7a0e1c8b25aa3d6800e86164aec42eee7f1915e4464736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80639824000414610051578063bf0db86514610076578063e00f38671461009b578063ee2c983a146100af575b600080fd5b61006361005f3660046100d6565b5490565b6040519081526020015b60405180910390f35b6100896100843660046100ef565b6100c4565b60405160ff909116815260200161006d565b6100ad6100a9366004610125565b9055565b005b6100636100bd366004610125565b9081905290565b6000808284535050905160f81c919050565b6000602082840312156100e857600080fd5b5035919050565b6000806040838503121561010257600080fd5b82359150602083013560ff8116811461011a57600080fd5b809150509250929050565b6000806040838503121561013857600080fd5b5050803592602090910135915056fea264697066735822122087866f9f3429b8d84930cab7a0e1c8b25aa3d6800e86164aec42eee7f1915e4464736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/yul/math-coverage/MatchCoverage.sol/MathCoverage.dbg.json b/artifacts/contracts/yul/math-coverage/MatchCoverage.sol/MathCoverage.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/math-coverage/MatchCoverage.sol/MathCoverage.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/math-coverage/MatchCoverage.sol/MathCoverage.json b/artifacts/contracts/yul/math-coverage/MatchCoverage.sol/MathCoverage.json new file mode 100644 index 000000000..a40911420 --- /dev/null +++ b/artifacts/contracts/yul/math-coverage/MatchCoverage.sol/MathCoverage.json @@ -0,0 +1,400 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "MathCoverage", + "sourceName": "contracts/yul/math-coverage/MatchCoverage.sol", + "abi": [ + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "add", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + }, + { + "internalType": "int256", + "name": "m", + "type": "int256" + } + ], + "name": "addMod", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + } + ], + "name": "div", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "eq", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "exp", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + } + ], + "name": "gt", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + } + ], + "name": "iszero", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + } + ], + "name": "lt", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "x", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "y", + "type": "uint256" + } + ], + "name": "mod", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "mul", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + }, + { + "internalType": "int256", + "name": "m", + "type": "int256" + } + ], + "name": "mulMod", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "sdiv", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "sgt", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "slt", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "smod", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "int256", + "name": "x", + "type": "int256" + }, + { + "internalType": "int256", + "name": "y", + "type": "int256" + } + ], + "name": "sub", + "outputs": [ + { + "internalType": "int256", + "name": "result", + "type": "int256" + } + ], + "stateMutability": "pure", + "type": "function" + } + ], + "bytecode": "0x608060405234801561001057600080fd5b506102f8806100206000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806375df4bb911610097578063aa2c45bf11610066578063aa2c45bf146101f5578063adefc37b14610207578063bbe93d911461021a578063f43f523a1461022c57600080fd5b806375df4bb9146101aa578063957884ab146101bd578063a391c15b146101d0578063a5f3c23b146101e357600080fd5b8063319d5414116100d3578063319d541414610160578063397b3a49146101725780633daa08a51461018557806342a08c381461019857600080fd5b8063118fc88c1461010557806321e5749b14610129578063289b860c1461013b5780632912581c1461014e575b600080fd5b61011761011336600461025b565b1190565b60405190815260200160405180910390f35b61011761013736600461025b565b1090565b61011761014936600461027d565b61023f565b61011761015c36600461025b565b1290565b61011761016e3660046102a9565b1590565b61011761018036600461025b565b900590565b61011761019336600461027d565b61024d565b6101176101a636600461025b565b1390565b6101176101b836600461025b565b900790565b6101176101cb36600461025b565b900a90565b6101176101de36600461025b565b900490565b6101176101f136600461025b565b0190565b61011761020336600461025b565b1490565b61011761021536600461025b565b900390565b61011761022836600461025b565b0290565b61011761023a36600461025b565b900690565b600081838508949350505050565b600081838509949350505050565b6000806040838503121561026e57600080fd5b50508035926020909101359150565b60008060006060848603121561029257600080fd5b505081359360208301359350604090920135919050565b6000602082840312156102bb57600080fd5b503591905056fea2646970667358221220aeaad4edef72aa6ae41ed71d4e2f2e9b46ebd7403d79de07716956aa5524d58764736f6c63430008140033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106101005760003560e01c806375df4bb911610097578063aa2c45bf11610066578063aa2c45bf146101f5578063adefc37b14610207578063bbe93d911461021a578063f43f523a1461022c57600080fd5b806375df4bb9146101aa578063957884ab146101bd578063a391c15b146101d0578063a5f3c23b146101e357600080fd5b8063319d5414116100d3578063319d541414610160578063397b3a49146101725780633daa08a51461018557806342a08c381461019857600080fd5b8063118fc88c1461010557806321e5749b14610129578063289b860c1461013b5780632912581c1461014e575b600080fd5b61011761011336600461025b565b1190565b60405190815260200160405180910390f35b61011761013736600461025b565b1090565b61011761014936600461027d565b61023f565b61011761015c36600461025b565b1290565b61011761016e3660046102a9565b1590565b61011761018036600461025b565b900590565b61011761019336600461027d565b61024d565b6101176101a636600461025b565b1390565b6101176101b836600461025b565b900790565b6101176101cb36600461025b565b900a90565b6101176101de36600461025b565b900490565b6101176101f136600461025b565b0190565b61011761020336600461025b565b1490565b61011761021536600461025b565b900390565b61011761022836600461025b565b0290565b61011761023a36600461025b565b900690565b600081838508949350505050565b600081838509949350505050565b6000806040838503121561026e57600080fd5b50508035926020909101359150565b60008060006060848603121561029257600080fd5b505081359360208301359350604090920135919050565b6000602082840312156102bb57600080fd5b503591905056fea2646970667358221220aeaad4edef72aa6ae41ed71d4e2f2e9b46ebd7403d79de07716956aa5524d58764736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +} diff --git a/artifacts/contracts/yul/transaction-information/TransactionInfo.sol/TransactionInfo.dbg.json b/artifacts/contracts/yul/transaction-information/TransactionInfo.sol/TransactionInfo.dbg.json new file mode 100644 index 000000000..340967111 --- /dev/null +++ b/artifacts/contracts/yul/transaction-information/TransactionInfo.sol/TransactionInfo.dbg.json @@ -0,0 +1,4 @@ +{ + "_format": "hh-sol-dbg-1", + "buildInfo": "../../../../build-info/dec15a2c1d17d204bdfcc03ceac1e4ca.json" +} diff --git a/artifacts/contracts/yul/transaction-information/TransactionInfo.sol/TransactionInfo.json b/artifacts/contracts/yul/transaction-information/TransactionInfo.sol/TransactionInfo.json new file mode 100644 index 000000000..07ddb6107 --- /dev/null +++ b/artifacts/contracts/yul/transaction-information/TransactionInfo.sol/TransactionInfo.json @@ -0,0 +1,259 @@ +{ + "_format": "hh-sol-artifact-1", + "contractName": "TransactionInfo", + "sourceName": "contracts/yul/transaction-information/TransactionInfo.sol", + "abi": [ + { + "inputs": [], + "stateMutability": "payable", + "type": "constructor" + }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint256", + "name": "callBalance", + "type": "uint256" + } + ], + "name": "CallValue", + "type": "event" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "t", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "f", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "s", + "type": "uint256" + } + ], + "name": "callDataCopier", + "outputs": [ + { + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "a", + "type": "address" + } + ], + "name": "getBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "bal", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "p", + "type": "uint256" + } + ], + "name": "getCallDataLoad", + "outputs": [ + { + "internalType": "bytes32", + "name": "data", + "type": "bytes32" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getCallDataSize", + "outputs": [ + { + "internalType": "uint256", + "name": "datasize", + "type": "uint256" + } + ], + "stateMutability": "pure", + "type": "function" + }, + { + "inputs": [], + "name": "getCallValue", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [], + "name": "getChainId", + "outputs": [ + { + "internalType": "uint256", + "name": "chainId", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCoinbase", + "outputs": [ + { + "internalType": "address", + "name": "beneficiary", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getContractAddress", + "outputs": [ + { + "internalType": "address", + "name": "addr", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getCurrentBlockNumber", + "outputs": [ + { + "internalType": "uint256", + "name": "blockNumber", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGasLeft", + "outputs": [ + { + "internalType": "uint256", + "name": "result", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGasLimit", + "outputs": [ + { + "internalType": "uint256", + "name": "gasLimit", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getGasPrice", + "outputs": [ + { + "internalType": "uint256", + "name": "gasPrice", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getMsgCaller", + "outputs": [ + { + "internalType": "address", + "name": "msgCaller", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getOrigin", + "outputs": [ + { + "internalType": "address", + "name": "originSender", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getSelfBalance", + "outputs": [ + { + "internalType": "uint256", + "name": "bal", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getTimestamp", + "outputs": [ + { + "internalType": "uint256", + "name": "currentTimestamp", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + } + ], + "bytecode": "0x608060405261037d806100136000396000f3fe6080604052600436106100f35760003560e01c806351be4eaa1161008a578063c6c01dd211610059578063c6c01dd214610227578063d1a82a9d14610231578063df1f29ee14610244578063f8b2cb4f1461025757600080fd5b806351be4eaa146101c057806369a0f746146101d55780636fd902e1146101f5578063b051314f1461020857600080fd5b806331018e41116100c657806331018e411461017457806332a2c5d0146101875780633408e4701461019a578063455259cb146101ad57600080fd5b8063048a5fed146100f8578063113b81a31461011a578063188ec3561461014e5780631a93d1c314610161575b600080fd5b34801561010457600080fd5b50475b6040519081526020015b60405180910390f35b34801561012657600080fd5b50335b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610111565b34801561015a57600080fd5b5042610107565b34801561016d57600080fd5b5045610107565b34801561018057600080fd5b5036610107565b34801561019357600080fd5b5030610129565b3480156101a657600080fd5b5046610107565b3480156101b957600080fd5b503a610107565b3480156101cc57600080fd5b50610107610276565b3480156101e157600080fd5b506101076101f03660046102c5565b61027e565b34801561020157600080fd5b5043610107565b34801561021457600080fd5b506101076102233660046102f1565b3590565b61022f61028d565b005b34801561023d57600080fd5b5041610129565b34801561025057600080fd5b5032610129565b34801561026357600080fd5b5061010761027236600461030a565b3190565b60005a905090565b60008183853750509051919050565b60405134808252907f7995d1b40b617cdcad9d43226f11e9cce4341b7ada6ab8aa0233115776bd47d09060200160405180910390a150565b6000806000606084860312156102da57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561030357600080fd5b5035919050565b60006020828403121561031c57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461034057600080fd5b939250505056fea264697066735822122085eeee6fe09ba516527827344000819df34faa12199821772962bc2a35f7630e64736f6c63430008140033", + "deployedBytecode": "0x6080604052600436106100f35760003560e01c806351be4eaa1161008a578063c6c01dd211610059578063c6c01dd214610227578063d1a82a9d14610231578063df1f29ee14610244578063f8b2cb4f1461025757600080fd5b806351be4eaa146101c057806369a0f746146101d55780636fd902e1146101f5578063b051314f1461020857600080fd5b806331018e41116100c657806331018e411461017457806332a2c5d0146101875780633408e4701461019a578063455259cb146101ad57600080fd5b8063048a5fed146100f8578063113b81a31461011a578063188ec3561461014e5780631a93d1c314610161575b600080fd5b34801561010457600080fd5b50475b6040519081526020015b60405180910390f35b34801561012657600080fd5b50335b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610111565b34801561015a57600080fd5b5042610107565b34801561016d57600080fd5b5045610107565b34801561018057600080fd5b5036610107565b34801561019357600080fd5b5030610129565b3480156101a657600080fd5b5046610107565b3480156101b957600080fd5b503a610107565b3480156101cc57600080fd5b50610107610276565b3480156101e157600080fd5b506101076101f03660046102c5565b61027e565b34801561020157600080fd5b5043610107565b34801561021457600080fd5b506101076102233660046102f1565b3590565b61022f61028d565b005b34801561023d57600080fd5b5041610129565b34801561025057600080fd5b5032610129565b34801561026357600080fd5b5061010761027236600461030a565b3190565b60005a905090565b60008183853750509051919050565b60405134808252907f7995d1b40b617cdcad9d43226f11e9cce4341b7ada6ab8aa0233115776bd47d09060200160405180910390a150565b6000806000606084860312156102da57600080fd5b505081359360208301359350604090920135919050565b60006020828403121561030357600080fd5b5035919050565b60006020828403121561031c57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461034057600080fd5b939250505056fea264697066735822122085eeee6fe09ba516527827344000819df34faa12199821772962bc2a35f7630e64736f6c63430008140033", + "linkReferences": {}, + "deployedLinkReferences": {} +}