{"sources":{"DocumentRegistry.sol":{"content":"// Recovered by EthereumHistory (ethereumhistory.com) -sw\ncontract DocumentRegistry {\n    struct Document {\n        string name;\n        bytes data;\n    }\n\n    mapping (string => Document) documents;\n    uint public count;\n\n    function isCodeUsed(string code) returns (bool) {\n        Document d = documents[code];\n        return bytes(d.data).length > 0;\n    }\n\n    function newDocument(string code, string name, bytes data) returns (bool) {\n        if (isCodeUsed(code) || data.length == 0) return false;\n        documents[code] = Document(name, data);\n        count += 1;\n        return true;\n    }\n\n    function getDocument(string code) returns (string name, bytes data) {\n        Document d = documents[code];\n        name = d.name;\n        data = d.data;\n    }\n}\n"}},"abi":[{"name":"count","type":"function","inputs":[],"outputs":[{"name":"","type":"uint256"}],"constant":true},{"name":"isCodeUsed","type":"function","inputs":[{"name":"code","type":"string"}],"outputs":[{"name":"","type":"bool"}],"constant":false},{"name":"getDocument","type":"function","inputs":[{"name":"code","type":"string"}],"outputs":[{"name":"name","type":"string"},{"name":"data","type":"bytes"}],"constant":false},{"name":"newDocument","type":"function","inputs":[{"name":"code","type":"string"},{"name":"name","type":"string"},{"name":"data","type":"bytes"}],"outputs":[{"name":"","type":"bool"}],"constant":false}],"runtimeBytecode":{"onchainBytecode":"0x606060405260e060020a600035046306661abd811461003c5780635498453d146100455780637ccb6a64146100f45780639e3db5d3146101fc575b005b6102cf60015481565b6102cf6004808035906020019082018035906020019191908080601f016020809104026020016040519081016040528093929190818152602001838380828437509496505050505050505b60006000600060005083604051808280519060200190808383829060006004602084601f0104600302600f01f15090910193845250506040519182900360200190912060019081015460029181161561010002600019011604919091119392505050565b6102e16004808035906020019082018035906020019191908080601f01602080910402602001604051908101604052809392919081815260200183838082843750949650505050505050602060405190810160405280600081526020015060206040519081016040528060008152602001506000600060005084604051808280519060200190808383829060006004602084601f0104600302600f01f1509091019384525050604080519283900360209081018420805460026001821615610100026000190190911604601f810183900483028601830190935282855294508492508301828280156105925780601f1061056757610100808354040283529160200191610592565b6102cf6004808035906020019082018035906020019191908080601f01602080910402602001604051908101604052809392919081815260200183838082843750506040805160208835808b0135601f8101839004830284018301909452838352979998604498929750919091019450909250829150840183828082843750506040805160209735808a0135601f81018a90048a0283018a01909352828252969897606497919650602491909101945090925082915084018382808284375094965050505050505060006103c484610090565b60408051918252519081900360200190f35b6040518080602001806020018381038352858181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f1680156103455780820380516001836020036101000a031916815260200191505b508381038252848181518152602001915080519060200190808383829060006004602084601f0104600302600f01f150905090810190601f16801561039e5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390f35b50506001805481018155925050505b9392505050565b806103d0575081516000145b156103dd575060006103bd565b60406040519081016040528084815260200183815260200150600060005085604051808280519060200190808383829060006004602084601f0104600302600f01f15090500191505090815260200160405180910390206000506000820151816000016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106104a457805160ff19168380011785555b506104d49291505b808211156105335760008155600101610490565b82800160010185558215610488579182015b828111156104885782518260005055916020019190600101906104b6565b50506020820151816001016000509080519060200190828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061053757805160ff19168380011785555b506103ae929150610490565b5090565b82800160010185558215610527579182015b82811115610527578251826000505591602001919060010190610549565b820191906000526020600020905b81548152906001019060200180831161057557829003601f168201915b5050505060018381018054604080516020600295841615610100026000190190931694909404601f81018390048302850183019091528084529497509193909250908301828280156106255780601f106105fa57610100808354040283529160200191610625565b820191906000526020600020905b81548152906001019060200180831161060857829003601f168201915b50939550505050505091509156"},"matchId":"58467874","creationMatch":"match","runtimeMatch":"match","verifiedAt":"2026-11-05T07:11:40Z","match":"match","chainId":"1","address":"0x92F9c5992c7A6141836E624DC02fC958B1cA187D"}