@eth-optimism/contracts-periphery
Version:
[Optimism] External (out-of-protocol) L1 and L2 smart contracts for Optimism
68 lines (67 loc) • 2.59 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "SimpleStorage",
"sourceName": "contracts/testing/helpers/SimpleStorage.sol",
"abi": [
{
"inputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"name": "db",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
}
],
"name": "get",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes32",
"name": "_key",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "_value",
"type": "bytes32"
}
],
"name": "set",
"outputs": [],
"stateMutability": "payable",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b50610127806100206000396000f3fe60806040526004361060305760003560e01c80638eaa6ac0146035578063ecf265bc146070578063f71f7a25146099575b600080fd5b348015604057600080fd5b50605e604c36600460b8565b60009081526020819052604090205490565b60405190815260200160405180910390f35b348015607b57600080fd5b50605e608736600460b8565b60006020819052908152604090205481565b60b660a436600460d0565b60009182526020829052604090912055565b005b60006020828403121560c957600080fd5b5035919050565b6000806040838503121560e257600080fd5b5050803592602090910135915056fea2646970667358221220ad79c6c40dc0c10da9d76894ce6f1955c557a680f2d39fbc2c98a35c8e4379fc64736f6c63430008100033",
"deployedBytecode": "0x60806040526004361060305760003560e01c80638eaa6ac0146035578063ecf265bc146070578063f71f7a25146099575b600080fd5b348015604057600080fd5b50605e604c36600460b8565b60009081526020819052604090205490565b60405190815260200160405180910390f35b348015607b57600080fd5b50605e608736600460b8565b60006020819052908152604090205481565b60b660a436600460d0565b60009182526020829052604090912055565b005b60006020828403121560c957600080fd5b5035919050565b6000806040838503121560e257600080fd5b5050803592602090910135915056fea2646970667358221220ad79c6c40dc0c10da9d76894ce6f1955c557a680f2d39fbc2c98a35c8e4379fc64736f6c63430008100033",
"linkReferences": {},
"deployedLinkReferences": {}
}