text: const contract={"abi":[{"constant":true,"inputs":[],"name":"parentAddress","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"creator","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"canConfirm","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"countVersionHashes","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"kill","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"confirmCommit","outputs":[{"name":"","type":"bool"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingHash","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newCreator","type":"address"}],"name":"transferCreatorship","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"canCommit","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"versionTimestamp","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"versionHashes","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_objectHash","type":"string"}],"name":"commit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"contentSpace","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"updateRequest","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"objectHash","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_versionHash","type":"string"}],"name":"deleteVersion","outputs":[{"name":"","type":"int256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"spaceAddress","type":"address"},{"indexed":false,"name":"parentAddress","type":"address"},{"indexed":false,"name":"objectHash","type":"string"}],"name":"CommitPending","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"objectHash","type":"string"}],"name":"UpdateRequest","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"spaceAddress","type":"address"},{"indexed":false,"name":"objectHash","type":"string"}],"name":"VersionConfirm","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"spaceAddress","type":"address"},{"indexed":false,"name":"versionHash","type":"string"},{"indexed":false,"name":"index","type":"int256"}],"name":"VersionDelete","type":"event"}],"bytecode":"60806040527f4f776e61626c6532303139303532383139333830304d4c0000000000000000006000557f4564697461626c6532303139303830313133353530304d4c000000000000000060045560018054600160a060020a0319908116329081179092556002805490911690911790556112198061007e6000396000f3006080604052600436106101055763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041662821de3811461010757806302d05d3f1461013857806314cfabb31461014d578063331b86c01461017657806341c0e1b51461019d578063446e8826146101b257806354fd4d50146101ba578063628449fd146101cf5780636d2e4b1b146102595780636e3754271461027a5780637886f7471461028f5780637ca8f618146102a75780638da5cb5b146102bf5780639867db74146102d4578063af570c041461032d578063c287e0ed14610342578063e02dd9c214610357578063e1a707171461036c578063f2fde38b146103c5575b005b34801561011357600080fd5b5061011c6103e6565b60408051600160a060020a039092168252519081900360200190f35b34801561014457600080fd5b5061011c6103f6565b34801561015957600080fd5b50610162610405565b604080519115158252519081900360200190f35b34801561018257600080fd5b5061018b61040a565b60408051918252519081900360200190f35b3480156101a957600080fd5b50610105610410565b61016261044c565b3480156101c657600080fd5b5061018b610621565b3480156101db57600080fd5b506101e4610627565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561021e578181015183820152602001610206565b50505050905090810190601f16801561024b5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561026557600080fd5b50610105600160a060020a03600435166106b5565b34801561028657600080fd5b50610162610710565b34801561029b57600080fd5b5061018b600435610721565b3480156102b357600080fd5b506101e4600435610740565b3480156102cb57600080fd5b5061011c6107b4565b3480156102e057600080fd5b506040805160206004803580820135601f81018490048402850184019095528484526101059436949293602493928401919081908401838280828437509497506107c39650505050505050565b34801561033957600080fd5b5061011c6108d3565b34801561034e57600080fd5b506101056108e2565b34801561036357600080fd5b506101e46109b8565b34801561037857600080fd5b506040805160206004803580820135601f810184900484028501840190955284845261018b943694929360249392840191908190840183828082843750949750610a139650505050505050565b3480156103d157600080fd5b50610105600160a060020a0360043516610fbb565b600354600160a060020a03165b90565b600154600160a060020a031681565b600090565b60075490565b600254600160a060020a03163214806104335750600254600160a060020a031633145b151561043e57600080fd5b600254600160a060020a0316ff5b6000610456610405565b151561046157600080fd5b60006005805460018160011615610100020316600290049050111561051057600780546001818101808455600093909352600580546104d7937fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c688019260026101009183161591909102600019019091160461102d565b5050600654600880546001810182556000919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee301555b60098054610533916005916002600019610100600184161502019091160461102d565b5042600655604080516020810191829052600090819052610556916009916110b2565b5060035460408051600160a060020a039092168083526020830182815260058054600260001960018316156101000201909116049385018490527f482875da75e6d9f93f74a5c1a61f14cf08822057c01232f44cb92ae998e30d8e9492939092919060608301908490801561060c5780601f106105e15761010080835404028352916020019161060c565b820191906000526020600020905b8154815290600101906020018083116105ef57829003601f168201915b5050935050505060405180910390a150600190565b60045481565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ad5780601f10610682576101008083540402835291602001916106ad565b820191906000526020600020905b81548152906001019060200180831161069057829003601f168201915b505050505081565b600154600160a060020a031632146106cc57600080fd5b600160a060020a03811615156106e157600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600254600160a060020a0316321490565b600880548290811061072f57fe5b600091825260209091200154905081565b600780548290811061074e57fe5b600091825260209182902001805460408051601f60026000196101006001871615020190941693909304928301859004850281018501909152818152935090918301828280156106ad5780601f10610682576101008083540402835291602001916106ad565b600254600160a060020a031681565b6107cb610710565b15156107d657600080fd5b80516080116107e457600080fd5b80516107f79060099060208401906110b2565b506003547fb3ac059d88af6016aca1aebb7b3e796f2e7420435c59c563687814e9b85daa7590600160a060020a031661082e6103e6565b60408051600160a060020a0380851682528316602082015260609181018281526009805460026000196101006001841615020190911604938301849052926080830190849080156108c05780601f10610895576101008083540402835291602001916108c0565b820191906000526020600020905b8154815290600101906020018083116108a357829003601f168201915b505094505050505060405180910390a150565b600354600160a060020a031681565b600254600160a060020a03163314806108fe57506108fe610405565b151561090957600080fd5b60408051602080825260058054600260001961010060018416150201909116049183018290527f403f30aa5f4f2f89331a7b50054f64a00ce206f4d0a37f566ff344bbe46f8b65939092918291820190849080156109a85780601f1061097d576101008083540402835291602001916109a8565b820191906000526020600020905b81548152906001019060200180831161098b57829003601f168201915b50509250505060405180910390a1565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106ad5780601f10610682576101008083540402835291602001916106ad565b600080600080600080610a24610710565b1515610a2f57600080fd5b866040516020018082805190602001908083835b60208310610a625780518252601f199092019160209182019101610a43565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b60208310610ac55780518252601f199092019160209182019101610aa6565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040518091039020945060056040516020018082805460018160011615610100020316600290048015610b545780601f10610b32576101008083540402835291820191610b54565b820191906000526020600020905b815481529060010190602001808311610b40575b50509150506040516020818303038152906040526040518082805190602001908083835b60208310610b975780518252601f199092019160209182019101610b78565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120965050505084841415610cb857604080516020810191829052600090819052610beb916005916110b2565b506000600681905560035460408051600160a060020a03909216808352908201839052606060208084018281528c51928501929092528b517f238d74c13cda9ba51e904772d41a616a1b9b30d09802484df6279fe1c3c07f519593948d9493909290916080840191860190808383885b83811015610c73578181015183820152602001610c5b565b50505050905090810190601f168015610ca05780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160009550610fb1565b6000199250600091505b600754821015610ece576007805483908110610cda57fe5b906000526020600020016040516020018082805460018160011615610100020316600290048015610d425780601f10610d20576101008083540402835291820191610d42565b820191906000526020600020905b815481529060010190602001808311610d2e575b50509150506040516020818303038152906040526040518082805190602001908083835b60208310610d855780518252601f199092019160209182019101610d66565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120935050505084811415610ec3576007805483908110610dc957fe5b906000526020600020016000610ddf9190611120565b6008805483908110610ded57fe5b6000918252602082200155600754600019018214610e9357600780546000198101908110610e1757fe5b90600052602060002001600783815481101515610e3057fe5b906000526020600020019080546001816001161561010002031660029004610e5992919061102d565b50600880546000198101908110610e6c57fe5b9060005260206000200154600883815481101515610e8657fe5b6000918252602090912001555b6007805490610ea6906000198301611167565b506008805490610eba906000198301611190565b50819250610ece565b600190910190610cc2565b600019831415610edd57600080fd5b7f238d74c13cda9ba51e904772d41a616a1b9b30d09802484df6279fe1c3c07f51600360009054906101000a9004600160a060020a031688856040518084600160a060020a0316600160a060020a0316815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b83811015610f71578181015183820152602001610f59565b50505050905090810190601f168015610f9e5780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a18295505b5050505050919050565b600254600160a060020a0316321480610fde5750600254600160a060020a031633145b1515610fe957600080fd5b600160a060020a0381161515610ffe57600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061106657805485556110a2565b828001600101855582156110a257600052602060002091601f016020900482015b828111156110a2578254825591600101919060010190611087565b506110ae9291506111b0565b5090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106110f357805160ff19168380011785556110a2565b828001600101855582156110a2579182015b828111156110a2578251825591602001919060010190611105565b50805460018160011615610100020316600290046000825580601f106111465750611164565b601f01602090049060005260206000209081019061116491906111b0565b50565b81548183558181111561118b5760008381526020902061118b9181019083016111ca565b505050565b81548183558181111561118b5760008381526020902061118b9181019083015b6103f391905b808211156110ae57600081556001016111b6565b6103f391905b808211156110ae5760006111e48282611120565b506001016111d05600a165627a7a723058208ab445cf6e8e8956cce5565ee61dd3147170fd4864418fd1e48d8fac95f6f0d40029"}; module.exports=contract;