{ "address": "0x40b7584F6f94d720CCaaD8C6d6ACaD5fE929D564", "abi": [ { "inputs": [ { "internalType": "string", "name": "initialPrefix", "type": "string" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "user", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "message", "type": "string" }, { "indexed": false, "internalType": "uint24", "name": "dayTimeInSeconds", "type": "uint24" } ], "name": "MessageChanged", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "lastGreetingOf", "outputs": [ { "internalType": "string", "name": "greeting", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "user", "type": "address" } ], "name": "messages", "outputs": [ { "components": [ { "internalType": "string", "name": "content", "type": "string" }, { "internalType": "uint256", "name": "timestamp", "type": "uint256" }, { "internalType": "uint24", "name": "dayTimeInSeconds", "type": "uint24" } ], "internalType": "struct GreetingsRegistry.Message", "name": "userMsg", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "initialPrefix", "type": "string" } ], "name": "postUpgrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "prefix", "outputs": [ { "internalType": "string", "name": "value", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "message", "type": "string" }, { "internalType": "uint24", "name": "dayTimeInSeconds", "type": "uint24" } ], "name": "setMessage", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x60806040523480156200001157600080fd5b5060405162000be638038062000be68339810160408190526200003491620000cf565b6200003f8162000046565b50620002fe565b60006200006060008051602062000bc68339815191525490565b90506001600160a01b03811662000090576001600160a01b0360008051602062000bc683398151915255620000a6565b336001600160a01b03821614620000a657600080fd5b6001620000b4838262000232565b505050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620000e357600080fd5b82516001600160401b0380821115620000fb57600080fd5b818501915085601f8301126200011057600080fd5b815181811115620001255762000125620000b9565b604051601f8201601f19908116603f01168101908382118183101715620001505762000150620000b9565b8160405282815288868487010111156200016957600080fd5b600093505b828410156200018d57848401860151818501870152928501926200016e565b600086848301015280965050505050505092915050565b600181811c90821680620001b957607f821691505b602082108103620001da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620000b457600081815260208120601f850160051c81016020861015620002095750805b601f850160051c820191505b818110156200022a5782815560010162000215565b505050505050565b81516001600160401b038111156200024e576200024e620000b9565b62000266816200025f8454620001a4565b84620001e0565b602080601f8311600181146200029e5760008415620002855750858301515b600019600386901b1c1916600185901b1785556200022a565b600085815260208120601f198616915b82811015620002cf57888601518255948401946001909101908401620002ae565b5085821015620002ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6108b8806200030e6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806303433b8e1461005c5780634c2dd808146100855780635fdd59f81461009a57806375dadb32146100ba578063b1441ce6146100c2575b600080fd5b61006f61006a36600461046e565b6100d5565b60405161007c91906104e4565b60405180910390f35b6100986100933660046104f7565b610181565b005b6100ad6100a836600461046e565b610250565b60405161007c9190610582565b61006f61034d565b6100986100d03660046105d9565b6103df565b6001600160a01b03811660009081526020819052604090208054606091906100fc9061068a565b80601f01602080910402602001604051908101604052809291908181526020018280546101289061068a565b80156101755780601f1061014a57610100808354040283529160200191610175565b820191906000526020600020905b81548152906001019060200180831161015857829003601f168201915b50505050509050919050565b600060018484604051602001610199939291906106c4565b60408051601f198184030181526060830182528083524260208481019190915262ffffff861684840152336000908152908190529190912082519193509081906101e39082610794565b50602082015160018201556040918201516002909101805462ffffff191662ffffff9092169190911790555133907f4650083cdd22f274f233c0ae8b1e5a23037ced29923011d703349cdeeface1af9061024290429085908790610854565b60405180910390a250505050565b61027960405180606001604052806060815260200160008152602001600062ffffff1681525090565b6001600160a01b038216600090815260208190526040908190208151606081019092528054829082906102ab9061068a565b80601f01602080910402602001604051908101604052809291908181526020018280546102d79061068a565b80156103245780601f106102f957610100808354040283529160200191610324565b820191906000526020600020905b81548152906001019060200180831161030757829003601f168201915b50505091835250506001820154602082015260029091015462ffffff1660409091015292915050565b60606001805461035c9061068a565b80601f01602080910402602001604051908101604052809291908181526020018280546103889061068a565b80156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b60006104097fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b90506001600160a01b038116610448576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035561045d565b336001600160a01b0382161461045d57600080fd5b60016104698382610794565b505050565b60006020828403121561048057600080fd5b81356001600160a01b038116811461049757600080fd5b9392505050565b6000815180845260005b818110156104c4576020818501810151868301820152016104a8565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610497602083018461049e565b60008060006040848603121561050c57600080fd5b833567ffffffffffffffff8082111561052457600080fd5b818601915086601f83011261053857600080fd5b81358181111561054757600080fd5b87602082850101111561055957600080fd5b6020928301955093505084013562ffffff8116811461057757600080fd5b809150509250925092565b60208152600082516060602084015261059e608084018261049e565b90506020840151604084015262ffffff60408501511660608401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156105eb57600080fd5b813567ffffffffffffffff8082111561060357600080fd5b818401915084601f83011261061757600080fd5b813581811115610629576106296105c3565b604051601f8201601f19908116603f01168101908382118183101715610651576106516105c3565b8160405282815287602084870101111561066a57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600181811c9082168061069e57607f821691505b6020821081036106be57634e487b7160e01b600052602260045260246000fd5b50919050565b60008085546106d28161068a565b600182811680156106ea57600181146106ff5761072e565b60ff198416875282151583028701945061072e565b8960005260208060002060005b858110156107255781548a82015290840190820161070c565b50505082870194505b50505050838582376000930192835250909392505050565b601f82111561046957600081815260208120601f850160051c8101602086101561076d5750805b601f850160051c820191505b8181101561078c57828155600101610779565b505050505050565b815167ffffffffffffffff8111156107ae576107ae6105c3565b6107c2816107bc845461068a565b84610746565b602080601f8311600181146107f757600084156107df5750858301515b600019600386901b1c1916600185901b17855561078c565b600085815260208120601f198616915b8281101561082657888601518255948401946001909101908401610807565b50858210156108445787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b83815260606020820152600061086d606083018561049e565b905062ffffff8316604083015294935050505056fea264697066735822122003bf6e95d9d181a8e7f218b36f663eb48d6f1610d310157bc0172370ee8ef69464736f6c63430008130033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103", "args_data": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002a30783030303030303030303030303030303030303030303030303030303030303030303030303030303000000000000000000000000000000000000000000000", "tx_hash": "0x69fb3f49968662060ed13d35e6bcafe26cf6586f3c58ddd6181e81eab151fc7d", "args": [ "0x0000000000000000000000000000000000000000" ], "data": "0x60806040523480156200001157600080fd5b5060405162000be638038062000be68339810160408190526200003491620000cf565b6200003f8162000046565b50620002fe565b60006200006060008051602062000bc68339815191525490565b90506001600160a01b03811662000090576001600160a01b0360008051602062000bc683398151915255620000a6565b336001600160a01b03821614620000a657600080fd5b6001620000b4838262000232565b505050565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215620000e357600080fd5b82516001600160401b0380821115620000fb57600080fd5b818501915085601f8301126200011057600080fd5b815181811115620001255762000125620000b9565b604051601f8201601f19908116603f01168101908382118183101715620001505762000150620000b9565b8160405282815288868487010111156200016957600080fd5b600093505b828410156200018d57848401860151818501870152928501926200016e565b600086848301015280965050505050505092915050565b600181811c90821680620001b957607f821691505b602082108103620001da57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620000b457600081815260208120601f850160051c81016020861015620002095750805b601f850160051c820191505b818110156200022a5782815560010162000215565b505050505050565b81516001600160401b038111156200024e576200024e620000b9565b62000266816200025f8454620001a4565b84620001e0565b602080601f8311600181146200029e5760008415620002855750858301515b600019600386901b1c1916600185901b1785556200022a565b600085815260208120601f198616915b82811015620002cf57888601518255948401946001909101908401620002ae565b5085821015620002ee5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6108b8806200030e6000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806303433b8e1461005c5780634c2dd808146100855780635fdd59f81461009a57806375dadb32146100ba578063b1441ce6146100c2575b600080fd5b61006f61006a36600461046e565b6100d5565b60405161007c91906104e4565b60405180910390f35b6100986100933660046104f7565b610181565b005b6100ad6100a836600461046e565b610250565b60405161007c9190610582565b61006f61034d565b6100986100d03660046105d9565b6103df565b6001600160a01b03811660009081526020819052604090208054606091906100fc9061068a565b80601f01602080910402602001604051908101604052809291908181526020018280546101289061068a565b80156101755780601f1061014a57610100808354040283529160200191610175565b820191906000526020600020905b81548152906001019060200180831161015857829003601f168201915b50505050509050919050565b600060018484604051602001610199939291906106c4565b60408051601f198184030181526060830182528083524260208481019190915262ffffff861684840152336000908152908190529190912082519193509081906101e39082610794565b50602082015160018201556040918201516002909101805462ffffff191662ffffff9092169190911790555133907f4650083cdd22f274f233c0ae8b1e5a23037ced29923011d703349cdeeface1af9061024290429085908790610854565b60405180910390a250505050565b61027960405180606001604052806060815260200160008152602001600062ffffff1681525090565b6001600160a01b038216600090815260208190526040908190208151606081019092528054829082906102ab9061068a565b80601f01602080910402602001604051908101604052809291908181526020018280546102d79061068a565b80156103245780601f106102f957610100808354040283529160200191610324565b820191906000526020600020905b81548152906001019060200180831161030757829003601f168201915b50505091835250506001820154602082015260029091015462ffffff1660409091015292915050565b60606001805461035c9061068a565b80601f01602080910402602001604051908101604052809291908181526020018280546103889061068a565b80156103d55780601f106103aa576101008083540402835291602001916103d5565b820191906000526020600020905b8154815290600101906020018083116103b857829003601f168201915b5050505050905090565b60006104097fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b90506001600160a01b038116610448576001600160a01b037fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035561045d565b336001600160a01b0382161461045d57600080fd5b60016104698382610794565b505050565b60006020828403121561048057600080fd5b81356001600160a01b038116811461049757600080fd5b9392505050565b6000815180845260005b818110156104c4576020818501810151868301820152016104a8565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610497602083018461049e565b60008060006040848603121561050c57600080fd5b833567ffffffffffffffff8082111561052457600080fd5b818601915086601f83011261053857600080fd5b81358181111561054757600080fd5b87602082850101111561055957600080fd5b6020928301955093505084013562ffffff8116811461057757600080fd5b809150509250925092565b60208152600082516060602084015261059e608084018261049e565b90506020840151604084015262ffffff60408501511660608401528091505092915050565b634e487b7160e01b600052604160045260246000fd5b6000602082840312156105eb57600080fd5b813567ffffffffffffffff8082111561060357600080fd5b818401915084601f83011261061757600080fd5b813581811115610629576106296105c3565b604051601f8201601f19908116603f01168101908382118183101715610651576106516105c3565b8160405282815287602084870101111561066a57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600181811c9082168061069e57607f821691505b6020821081036106be57634e487b7160e01b600052602260045260246000fd5b50919050565b60008085546106d28161068a565b600182811680156106ea57600181146106ff5761072e565b60ff198416875282151583028701945061072e565b8960005260208060002060005b858110156107255781548a82015290840190820161070c565b50505082870194505b50505050838582376000930192835250909392505050565b601f82111561046957600081815260208120601f850160051c8101602086101561076d5750805b601f850160051c820191505b8181101561078c57828155600101610779565b505050505050565b815167ffffffffffffffff8111156107ae576107ae6105c3565b6107c2816107bc845461068a565b84610746565b602080601f8311600181146107f757600084156107df5750858301515b600019600386901b1c1916600185901b17855561078c565b600085815260208120601f198616915b8281101561082657888601518255948401946001909101908401610807565b50858210156108445787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b83815260606020820152600061086d606083018561049e565b905062ffffff8316604083015294935050505056fea264697066735822122003bf6e95d9d181a8e7f218b36f663eb48d6f1610d310157bc0172370ee8ef69464736f6c63430008130033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61030000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002a30783030303030303030303030303030303030303030303030303030303030303030303030303030303000000000000000000000000000000000000000000000" }