221 lines
46 KiB
JSON
221 lines
46 KiB
JSON
{
|
|
"contract_name": "IdentityFactory",
|
|
"code": "608060405234801561001057600080fd5b50604051613d60380380613d608339810160405280510161002f610297565b604051809103906000f08015801561004b573d6000803e3d6000fd5b5060008054600160a060020a03191633600160a060020a031617905561007981640100000000610080810204565b50506102a7565b600454600090600160a060020a038381169116141561009e57600080fd5b6100b082640100000000610202810204565b60028054600160a060020a038086166000818152600160208181526040808420879055805160808101825243815242818401818152828401888152606084018d8152968b018c559a909652905160049889027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace81019190915594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf86015597517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad08501805491909716600160a060020a03199182161790965591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad190930192909255600395909555835490921681179092558251918252810183905281519293507f1f6d323e0f0d100bbeff07e00af23eca57fcb99f3efdef25cba223d7a34d0f31929081900390910190a15050565b60006060823b82811161021457600080fd5b60408051603f8301601f19168101909152818152915080600060208401863c816040518082805190602001908083835b602083106102635780518252601f199092019160209182019101610244565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120979650505050505050565b604051612fd780610d8983390190565b610ad3806102b66000396000f30060806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633cebb823811461009257806359d21ad9146100b55780635b2ab06c146100e657806381ea440814610107578063b88da7591461013a578063be537a7914610180578063cc81203c146101b5578063f77c4791146101d6575b600080fd5b34801561009e57600080fd5b506100b3600160a060020a03600435166101eb565b005b3480156100c157600080fd5b506100ca610235565b60408051600160a060020a039092168252519081900360200190f35b3480156100f257600080fd5b506100ca600160a060020a0360043516610245565b34801561011357600080fd5b50610128600160a060020a036004351661035d565b60408051918252519081900360200190f35b34801561014657600080fd5b506101526004356103f2565b604080519485526020850193909352600160a060020a03909116838301526060830152519081900360800190f35b34801561018c57600080fd5b506101a1600160a060020a0360043516610498565b604080519115158252519081900360200190f35b3480156101c157600080fd5b506100b3600160a060020a03600435166104b4565b3480156101e257600080fd5b506100ca6104db565b60005433600160a060020a0390811691161461020657600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600061024033610245565b905090565b6004546000908190600160a060020a031661025e610670565b600160a060020a03909116815260405190819003602001906000f08015801561028b573d6000803e3d6000fd5b50905080600160a060020a031663230818b2846040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050600060405180830381600087803b15801561030257600080fd5b505af1158015610316573d6000803e3d6000fd5b505060408051600160a060020a038516815290517fac993fde3b9423ff59e4a23cded8e89074c9c8740920d1d870f586ba7c5c8cf09350908190036020019150a192915050565b60006060823b82811161036f57600080fd5b60408051603f8301601f19168101909152818152915080600060208401863c816040518082805190602001908083835b602083106103be5780518252601f19909201916020918201910161039f565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120979650505050505050565b60008060008060028581548110151561040757fe5b90600052602060002090600402016000015460028681548110151561042857fe5b90600052602060002090600402016001015460028781548110151561044957fe5b6000918252602090912060026004909202018101548154600160a060020a0390911691908990811061047757fe5b90600052602060002090600402016003015493509350935093509193509193565b600160a060020a03166000908152600160205260408120541190565b60005433600160a060020a039081169116146104cf57600080fd5b6104d8816104ea565b50565b600054600160a060020a031681565b600454600090600160a060020a038381169116141561050857600080fd5b6105118261035d565b60028054600160a060020a038086166000818152600160208181526040808420879055805160808101825243815242818401818152828401888152606084018d8152968b018c559a909652905160049889027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace81019190915594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf86015597517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0850180549190971673ffffffffffffffffffffffffffffffffffffffff199182161790965591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad190930192909255600395909555835490921681179092558251918252810183905281519293507f1f6d323e0f0d100bbeff07e00af23eca57fcb99f3efdef25cba223d7a34d0f31929081900390910190a15050565b60405161042780610681833901905600608060405234801561001057600080fd5b50604051602080610427833981016040525160008054600160a060020a03909216600160a060020a03199092169190911790556103d5806100526000396000f30060806040526004361061006c5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663579cf8a781146100c957806387f11a97146100ea578063a2e620451461010b578063d4aae0c414610143578063efcba0ee14610174575b34801561007857600080fd5b50610081610189565b600160a060020a031660003660405180838380828437820191505092505050600060405180830381855af491505015156100ba57600080fd5b3d604051816000823e8181f35b005b3480156100d557600080fd5b506100c7600160a060020a0360043516610198565b3480156100f657600080fd5b506100c7600160a060020a0360043516610283565b34801561011757600080fd5b5061012061032a565b60408051600160a060020a03909316835260208301919091528051918290030190f35b34801561014f57600080fd5b5061015861033f565b60408051600160a060020a039092168252519081900360200190f35b34801561018057600080fd5b506100c761034e565b600054600160a060020a031690565b6101a0610392565b30600160a060020a031633600160a060020a03161415156101c057600080fd5b5060408051808201909152600154600160a060020a039081168083526002546020840152908316146101f157600080fd5b6020810151421161020157600080fd5b805160008054600160a060020a0392831673ffffffffffffffffffffffffffffffffffffffff1991821681178084556001805490931690925560029290925560408051919093168152602081019190915281517f76f448bcf536e847a3d291a3d796bf16666666929cbba9d0c05f55cce22d3f2c929181900390910190a15050565b600030600160a060020a031633600160a060020a03161415156102a557600080fd5b50604080518082018252600160a060020a03831680825262278d00420160209283018190526001805473ffffffffffffffffffffffffffffffffffffffff19168317905560028190558351918252918101829052825191927f2047fd222390b778ab7c70c9e0dc552444839f68191ceef9323e784e09b75b1e92918290030190a15050565b600154600254600160a060020a039091169082565b600054600160a060020a031681565b30600160a060020a031633600160a060020a031614151561036e57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff191690556000600255565b6040805180820190915260008082526020820152905600a165627a7a7230582058e4d159ae1b9fef74e4d5589a0b205ff333ca02a6da1481467328929e56f1fd0029a165627a7a7230582086ee84fbf17e634ce8a5796041fc622e7fe2b06d64d0a623192d14759ff64abb0029608060408190526c01000000000000000000000000600160a060020a0333160281526014902062000039906401000000006200003f810204565b62000213565b600160005260046020527fabd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0554156200007657600080fd5b6001600052600960205260008051602062002fb783398151915254156200009c57600080fd5b620000b4816001600064010000000062000110810204565b620000cc816002600064010000000062000110810204565b506009602052600160008051602062002fb783398151915281905560026000527f6cde3cea4b3a3fb2488b2808bae7556f4a405e50f65e1794383bc026131b13c355565b60408051848152602080820185905282519182900383019091206000818152600390925291902054156200014357600080fd5b6001831480620001535750600283145b806200015f5750600383145b806200016b5750600483145b15156200017757600080fd5b604080516060810182528481526020808201858152828401888152600086815260038452858120945185559151600180860191909155905160029094019390935586815260048252838120805493840181558152818120830188905584815260079091528281209190915590518391859187917f480000bb1edad8ca1470381cc334b1917fbd51c6531f3a623ea8e0ec7e38a6e991a450505050565b612d9480620002236000396000f3006080604052600436106101275763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663032c1a8a811461012957806307aef43b1461019157806313fb4b8f146101ac5780631d381240146101e5578063230818b214610217578063262b54f5146102385780632c883f3c146102505780634eee424a1461026857806353d413c5146102805780635a3df7911461029b578063640c5173146102b6578063747442d3146102d457806383b5d133146102f15780639010f72614610312578063a2e620451461032a578063b1a34e0d14610362578063b61d27f61461045c578063c9100bcb146104c5578063d4aae0c414610648578063d84c7c9f14610679578063da2c9ae214610691578063e574809a146106bd575b005b34801561013557600080fd5b50610141600435610740565b60408051602080825283518183015283519192839290830191858101910280838360005b8381101561017d578181015183820152602001610165565b505050509050019250505060405180910390f35b34801561019d57600080fd5b506101276004356024356108ca565b3480156101b857600080fd5b506101c76004356024356109ca565b60408051938452602084019290925282820152519081900360600190f35b3480156101f157600080fd5b50610203600435602435604435610a01565b604080519115158252519081900360200190f35b34801561022357600080fd5b50610127600160a060020a0360043516610ad9565b34801561024457600080fd5b50610141600435610b06565b34801561025c57600080fd5b50610127600435610b69565b34801561027457600080fd5b50610203600435610c8a565b34801561028c57600080fd5b50610203600435602435610fc2565b3480156102a757600080fd5b50610203600435602435611097565b3480156102c257600080fd5b506102036004356024356044356110c3565b3480156102e057600080fd5b5061020360043560243515156111c7565b3480156102fd57600080fd5b50610127600160a060020a03600435166111f6565b34801561031e57600080fd5b506101416004356112fe565b34801561033657600080fd5b5061033f61135f565b60408051600160a060020a03909316835260208301919091528051918290030190f35b34801561036e57600080fd5b50604080516020601f60643560048181013592830184900484028501840190955281845261044a948035946024803595600160a060020a0360443516953695608494930191819084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a99988101979196509182019450925082915084018382808284375050604080516020601f89358b018035918201839004830284018301909452808352979a9998810197919650918201945092508291508401838280828437509497506113749650505050505050565b60408051918252519081900360200190f35b34801561046857600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261044a948235600160a060020a03169460248035953695946064949201919081908401838280828437509497506115e99650505050505050565b3480156104d157600080fd5b506104dd6004356117a8565b6040518087815260200186815260200185600160a060020a0316600160a060020a03168152602001806020018060200180602001848103845287818151815260200191508051906020019080838360005b8381101561054657818101518382015260200161052e565b50505050905090810190601f1680156105735780820380516001836020036101000a031916815260200191505b50848103835286518152865160209182019188019080838360005b838110156105a657818101518382015260200161058e565b50505050905090810190601f1680156105d35780820380516001836020036101000a031916815260200191505b50848103825285518152855160209182019187019080838360005b838110156106065781810151838201526020016105ee565b50505050905090810190601f1680156106335780820380516001836020036101000a031916815260200191505b50995050505050505050505060405180910390f35b34801561065457600080fd5b5061065d6119e4565b60408051600160a060020a039092168252519081900360200190f35b34801561068557600080fd5b506101276004356119f3565b34801561069d57600080fd5b50610203600435602435151560443560ff6064351660843560a435611a77565b3480156106c957600080fd5b50604080516020600460443581810135601f810184900484028501840190955284845261044a948235600160a060020a03169460248035953695946064949201919081908401838280828437509497505084359550505060208301359260ff60408201351692506060810135915060800135611c44565b60408051600480825260a08201909252606091829160009183918391602082016080803883390190505093506000925061077b866001611097565b156107a4576001848460ff1681518110151561079357fe5b602090810290910101526001909201915b6107af866002611097565b156107d8576002848460ff168151811015156107c757fe5b602090810290910101526001909201915b6107e3866003611097565b1561080c576003848460ff168151811015156107fb57fe5b602090810290910101526001909201915b610817866004611097565b15610840576004848460ff1681518110151561082f57fe5b602090810290910101526001909201915b8260ff1660405190808252806020026020018201604052801561086d578160200160208202803883390190505b509150600090505b8260ff168160ff1610156108c157838160ff1681518110151561089457fe5b90602001906020020151828260ff168151811015156108af57fe5b60209081029091010152600101610875565b50949350505050565b30600160a060020a031633600160a060020a0316141561092257600081116108f157600080fd5b60008281526004602052604090205481111561090c57600080fd5b60008281526009602052604090208190556109c6565b60408051606060020a600160a060020a033316028152905190819003601401902061094e906001611097565b151561095957600080fd5b600160008190526009602052600080516020612d4983398151915254141561098857600081116108f157600080fd5b6109c430600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437506115e9945050505050565b505b5050565b6040805192835260208084019290925280519283900381019092206000908152600390915220805460018201546002909201549092565b600030600160a060020a031633600160a060020a03161415610a3057610a28848484611e9b565b506001610ad2565b60408051606060020a600160a060020a0333160281529051908190036014019020610a5c906001611097565b1515610a6757600080fd5b600160008190526009602052600080516020612d49833981519152541415610a9457610a28848484611e9b565b610ad030600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437506115e9945050505050565b505b9392505050565b60408051606060020a600160a060020a0384160281529051908190036014019020610b0390611f99565b50565b600081815260066020908152604091829020805483518184028101840190945280845260609392830182828015610b5d57602002820191906000526020600020905b81548152600190910190602001808311610b48575b50505050509050919050565b600c5460009081906060908290819081901515610b8557600080fd5b600c54600160005260046020908152600080516020612d29833981519152805460408051828502810185019091528181528b9a509398509091830182828015610bee57602002820191906000526020600020905b81548152600190910190602001808311610bd9575b50505050509350835192508560001415610c06578295505b600160008181526009602052878503909101600080516020612d498339815191525591505b85821015610c72578382815181101515610c4157fe5b602090810290910101519050848114610c6757610c5f81600161203e565b600019909201915b600190910190610c2b565b8260011415610c81576000600c555b50505050505050565b6000610c94612b83565b6000838152600560209081526040808320815160c0810183528154815260018083015482860152600280840154600160a060020a0316838601526003840180548651601f948216156101000260001901909116929092049283018790048702820187019095528181528695869593949360608601939091830182828015610d5c5780601f10610d3157610100808354040283529160200191610d5c565b820191906000526020600020905b815481529060010190602001808311610d3f57829003601f168201915b505050918352505060048201805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152938201939291830182828015610df05780601f10610dc557610100808354040283529160200191610df0565b820191906000526020600020905b815481529060010190602001808311610dd357829003601f168201915b505050918352505060058201805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152938201939291830182828015610e845780601f10610e5957610100808354040283529160200191610e84565b820191906000526020600020905b815481529060010190602001808311610e6757829003601f168201915b50505050508152505093508360400151600160a060020a031633600160a060020a03161480610ec4575030600160a060020a031633600160a060020a0316145b1515610ecf57600080fd5b60008681526007602090815260408083208054908490558751845260069092529091208054919450925082906000198101908110610f0957fe5b90600052602060002001549050808284815481101515610f2557fe5b600091825260208083209091019290925582815260078252604080822086905588825260059092529081208181556001810182905560028101805473ffffffffffffffffffffffffffffffffffffffff1916905590610f876003830182612bc3565b610f95600483016000612bc3565b610fa3600583016000612bc3565b50508154610fb5836000198301612c07565b5060019695505050505050565b600030600160a060020a031633600160a060020a03161415610ff057610fe8838361203e565b506001611091565b60408051606060020a600160a060020a033316028152905190819003601401902061101c906001611097565b151561102757600080fd5b600160008190526009602052600080516020612d4983398151915254141561105357610fe8838361203e565b61108f30600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437506115e9945050505050565b505b92915050565b604080519283526020808401839052815193849003820190932060009081526003909352909120541490565b60008030600160a060020a031633600160a060020a0316141561110e57506000848152600360205260409020546110fb848285611e9b565b611105858261203e565b60019150610ad0565b60408051606060020a600160a060020a033316028152905190819003601401902061113a906001611097565b151561114557600080fd5b600160008190526009602052600080516020612d4983398151915254141561118257506000848152600360205260409020546110fb848285611e9b565b6111be30600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437506115e9945050505050565b50509392505050565b60408051606060020a600160a060020a0333160281529051908190036014019020600090610ad29084846121dd565b30600160a060020a031633600160a060020a0316141561125357600b54600160a060020a03161561122657600080fd5b600b805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a038316179055610b03565b60408051606060020a600160a060020a033316028152905190819003601401902061127f906001611097565b151561128a57600080fd5b600160008190526009602052600080516020612d498339815191525414156112c257600b54600160a060020a03161561122657600080fd5b6109c630600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437506115e9945050505050565b600081815260046020908152604091829020805483518184028101840190945280845260609392830182828015610b5d576020028201919060005260206000209081548152600190910190602001808311610b485750505050509050919050565b600154600254600160a060020a039091169082565b60408051606060020a600160a060020a03808816919091028252601482018990529151908190036034019020903381163090911614156113eb5760008181526005602052604081205411156113d7576113d281888888888888612619565b6113e6565b6113e68188888888888861288c565b6115df565b60408051606060020a600160a060020a0333160281529051908190036014019020611417906003611097565b151561142257600080fd5b61145e30600080368080601f01602080910402602001604051908101604052809392919081815260200183838082843750612a0e945050505050565b5084600160a060020a03168782600019167f0bba1524c2d62fbb2754ba3749ad428ffa9c1a573c0b0e59b72d63ea56baf7818988888860405180858152602001806020018060200180602001848103845287818151815260200191508051906020019080838360005b838110156114df5781810151838201526020016114c7565b50505050905090810190601f16801561150c5780820380516001836020036101000a031916815260200191505b50848103835286518152865160209182019188019080838360005b8381101561153f578181015183820152602001611527565b50505050905090810190601f16801561156c5780820380516001836020036101000a031916815260200191505b50848103825285518152855160209182019187019080838360005b8381101561159f578181015183820152602001611587565b50505050905090810190601f1680156115cc5780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390a45b9695505050505050565b60008030600160a060020a031685600160a060020a03161461160c57600261160f565b60015b6000818152600960205260409020549091506001141561179057600a80546001810190915560408051606060020a600160a060020a03331602815290519081900360140190209092506116629082611097565b151561166d57600080fd5b84600160a060020a0316848460405180828051906020019080838360005b838110156116a357818101518382015260200161168b565b50505050905090810190601f1680156116d05780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af192505050508385600160a060020a0316837f1f920dbda597d7bf95035464170fa58d0a4b57f13a1c315ace6793b9f63688b8866040518080602001828103825283818151815260200191508051906020019080838360005b83811015611751578181015183820152602001611739565b50505050905090810190601f16801561177e5780820380516001836020036101000a031916815260200191505b509250505060405180910390a4610ad0565b61179b858585612a0e565b91506111be8260016111c7565b600080600060608060606117ba612b83565b600088815260056020908152604091829020825160c0810184528154815260018083015482850152600280840154600160a060020a0316838701526003840180548751601f9482161561010002600019019091169290920492830186900486028201860190965281815291949293606086019391908301828280156118805780601f1061185557610100808354040283529160200191611880565b820191906000526020600020905b81548152906001019060200180831161186357829003601f168201915b505050918352505060048201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156119145780601f106118e957610100808354040283529160200191611914565b820191906000526020600020905b8154815290600101906020018083116118f757829003601f168201915b505050918352505060058201805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529382019392918301828280156119a85780601f1061197d576101008083540402835291602001916119a8565b820191906000526020600020905b81548152906001019060200180831161198b57829003601f168201915b5050509190925250508151602083015160408401516060850151608086015160a090960151939e929d50909b5099509297509550909350505050565b600054600160a060020a031681565b600b54600160a060020a031615801590611a1b5750600b5433600160a060020a039081169116145b1515611a2657600080fd5b600c819055604080518281529051908190036020019020611a4a9060016000611e9b565b506001600052600080516020612d29833981519152546009602052600080516020612d4983398151915255565b604080517f617070726f76652875696e743235362c626f6f6c29000000000000000000000081528151908190036015018120606060020a600160a060020a0330160282527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166014820152601881018890527f010000000000000000000000000000000000000000000000000000000000000087151502603882015281519081900360390181207f19457468657265756d205369676e6564204d6573736167653a0a3332000000008252601c8201819052825191829003603c018220600080845260208481018087529290925260ff88168486015260608401879052608084018690529351889388928892889260019260a0808301939192601f1983019290819003909101908b865af1158015611baf573d6000803e3d6000fd5b505060408051601f19810151606060020a600160a060020a03909116028152905190819003601401902086149050611be657600080fd5b6000858152600360205260409020541515611c0057600080fd5b89611c0c816001611097565b80611c1d5750611c1d816002611097565b1515611c2857600080fd5b611c338b8e8e6121dd565b9d9c50505050505050505050505050565b604080517f6578656375746528616464726573732c75696e743235362c62797465732900008152905190819003601e018120606060020a600160a060020a0330818116830285527bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1984166014860152908c169091026018840152602c83018a905288516000938893918d918d918d918d91604c82019060208501908083835b60208310611cff5780518252601f199092019160209182019101611ce0565b6001836020036101000a0380198251168184511680821785525050505050509050018281526020019650505050505050604051809103902085858560018460405180807f19457468657265756d205369676e6564204d6573736167653a0a333200000000815250601c0182600019166000191681526020019150506040518091039020848484604051600081526020016040526040518085600019166000191681526020018460ff1660ff1681526020018360001916600019168152602001826000191660001916815260200194505050505060206040516020810390808403906000865af1158015611df6573d6000803e3d6000fd5b505060408051601f19810151606060020a600160a060020a03909116028152905190819003601401902086149050611e2d57600080fd5b6000858152600360205260409020541515611e4757600080fd5b89611e53816001611097565b80611e645750611e64816002611097565b1515611e6f57600080fd5b611e7a8f8f8f612a0e565b9650611e888b8860016121dd565b5050505050505098975050505050505050565b6040805184815260208082018590528251918290038301909120600081815260039092529190205415611ecd57600080fd5b6001831480611edc5750600283145b80611ee75750600383145b80611ef25750600483145b1515611efd57600080fd5b604080516060810182528481526020808201858152828401888152600086815260038452858120945185559151600180860191909155905160029094019390935586815260048252838120805493840181558152818120830188905584815260079091528281209190915590518391859187917f480000bb1edad8ca1470381cc334b1917fbd51c6531f3a623ea8e0ec7e38a6e991a450505050565b60016000526004602052600080516020612d298339815191525415611fbd57600080fd5b60016000526009602052600080516020612d498339815191525415611fe157600080fd5b611fee8160016000611e9b565b611ffb8160026000611e9b565b5060096020526001600080516020612d4983398151915281905560026000527f6cde3cea4b3a3fb2488b2808bae7556f4a405e50f65e1794383bc026131b13c355565b6000612048612c2b565b6000806001851415612088576001600052600080516020612d49833981519152546004602052600080516020612d29833981519152541161208857600080fd5b6040805187815260208082018890528251918290038301822060008181526003835284812060608501865280548552600181015485850152600201548486015281815260078352848120548a8252600490935293909320805493975091955093509060001981019081106120f857fe5b9060005260206000200154905080600460008781526020019081526020016000208381548110151561212657fe5b60009182526020808320909101929092556040805184815280840189905281519081900382019020825260078352808220859055878252600490925220805490612174906000198301612c07565b506000848152600760209081526040808320839055600382528083208381556001810184905560020183905590850151855186830151925191939092917f585a4aef50f8267a92b32412b331b20f7f8b96f2245b253b9cc50dcc621d33979190a4505050505050565b60006121e7612c4b565b6000848152600860209081526040808320815160c081018352815460ff81161515825261010090819004600160a060020a03168286015260018084015483860152600280850180548751938116159094026000190190931604601f81018790048702820187019095528481528695929460608601939192918301828280156122b05780601f10612285576101008083540402835291602001916122b0565b820191906000526020600020905b81548152906001019060200180831161229357829003601f168201915b50505050508152602001600382015481526020016004820154815250509250826000015115156122df57600080fd5b30600160a060020a03168360200151600160a060020a031614612303576002612306565b60015b91506123128783611097565b151561231d57600080fd5b5060408051878152602080820184905282519182900383019091206000888152600883528381208282526005019092529190205460ff161515851515141561236457600080fd5b841561237a5760a0830180516001019052612387565b60a0830180516000190190525b604080518615158152905187917fb3932da477fe5d6c8ff2eafef050c0f3a1af18fc07121001482600f36f3715d8919081900360200190a260008281526009602052604090205460a0840151101561248657600086815260086020818152604080842085855260058101835281852080548b151560ff1991821617909155948b90529282528651835488840151600160a060020a03166101000274ffffffffffffffffffffffffffffffffffffffff001992151591909616171693909317825591850151600182015560608501518051869361246a926002850192910190612c8d565b506080820151600382015560a09091015160049091015561260f565b6000868152600860205260408120805474ffffffffffffffffffffffffffffffffffffffffff1916815560018101829055906124c56002830182612bc3565b6003820160009055600482016000905550508260200151600160a060020a03168360400151846060015160405180828051906020019080838360005b83811015612519578181015183820152602001612501565b50505050905090810190601f1680156125465780820380516001836020036101000a031916815260200191505b5091505060006040518083038185875af192505050935082604001518360200151600160a060020a0316877f1f920dbda597d7bf95035464170fa58d0a4b57f13a1c315ace6793b9f63688b886606001516040518080602001828103825283818151815260200191508051906020019080838360005b838110156125d45781810151838201526020016125bc565b50505050905090810190601f1680156126015780820380516001836020036101000a031916815260200191505b509250505060405180910390a45b5050509392505050565b83600160a060020a031633600160a060020a031614151561263957600080fd5b6040805160c0810182528781526020808201888152600160a060020a03888116848601908152606085018981526080860189905260a0860188905260008e8152600586529690962085518155925160018401555160028301805473ffffffffffffffffffffffffffffffffffffffff191691909216179055925180519293926126c89260038501920190612c8d565b50608082015180516126e4916004840191602090910190612c8d565b5060a08201518051612700916005840191602090910190612c8d565b5090505083600160a060020a03168688600019167f3bab293fc00db832d7619a9299914251b8747c036867ec056cbd506f60135b138887878760405180858152602001806020018060200180602001848103845287818151815260200191508051906020019080838360005b8381101561278457818101518382015260200161276c565b50505050905090810190601f1680156127b15780820380516001836020036101000a031916815260200191505b50848103835286518152865160209182019188019080838360005b838110156127e45781810151838201526020016127cc565b50505050905090810190601f1680156128115780820380516001836020036101000a031916815260200191505b50848103825285518152855160209182019187019080838360005b8381101561284457818101518382015260200161282c565b50505050905090810190601f1680156128715780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390a450505050505050565b6040805160c0810182528781526020808201888152600160a060020a03888116848601908152606085018981526080860189905260a0860188905260008e8152600586529690962085518155925160018401555160028301805473ffffffffffffffffffffffffffffffffffffffff1916919092161790559251805192939261291b9260038501920190612c8d565b5060808201518051612937916004840191602090910190612c8d565b5060a08201518051612953916005840191602090910190612c8d565b505050600086815260066020818152604080842080548c86526007845282862081905593835260018401815584528184209092018a9055815188815260808183018181528851918301919091528751600160a060020a038a16958c958e957f46149b18aa084502c3f12bc75e19eda8bda8d102b82cce8474677a6d0d5f43c5958e958d958d958d9593949293850192606086019260a0870192918a01918190849084908381101561278457818101518382015260200161276c565b600a80546001808201928390556040805160c081018252828152600160a060020a0380891660208084019182528385018a8152606085018a81526080860199909952600060a0860181905288815260088352959095208451815493519094166101000274ffffffffffffffffffffffffffffffffffffffff001994151560ff19909416939093179390931691909117825592519381019390935593518051939493612abf9260028501920190612c8d565b506080820151816003015560a082015181600401559050508284600160a060020a0316827f8afcfabcb00e47a53a8fc3e9f23ff47ee1926194bb1350dd007c50b412a6cee8856040518080602001828103825283818151815260200191508051906020019080838360005b83811015612b42578181015183820152602001612b2a565b50505050905090810190601f168015612b6f5780820380516001836020036101000a031916815260200191505b509250505060405180910390a49392505050565b60c06040519081016040528060008152602001600081526020016000600160a060020a031681526020016060815260200160608152602001606081525090565b50805460018160011615610100020316600290046000825580601f10612be95750610b03565b601f016020900490600052602060002090810190610b039190612d0b565b8154818355818111156109c4576000838152602090206109c4918101908301612d0b565b604080516060810182526000808252602082018190529181019190915290565b60c0604051908101604052806000151581526020016000600160a060020a03168152602001600081526020016060815260200160008152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612cce57805160ff1916838001178555612cfb565b82800160010185558215612cfb579182015b82811115612cfb578251825591602001919060010190612ce0565b50612d07929150612d0b565b5090565b612d2591905b80821115612d075760008155600101612d11565b905600abd6e7cb50984ff9c2f3e18a2660c3353dadf4e3291deeb275dae2cd1e44fe0592e85d02570a8092d09a6e3a57665bc3815a2699a4074001bf1ccabf660f5a36a165627a7a7230582012457d7d1ec5cbf7cf285469bd4315159a16f4346d51368a183dac7ae7bc6cdb002992e85d02570a8092d09a6e3a57665bc3815a2699a4074001bf1ccabf660f5a36",
|
|
"runtime_bytecode": "60806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633cebb823811461009257806359d21ad9146100b55780635b2ab06c146100e657806381ea440814610107578063b88da7591461013a578063be537a7914610180578063cc81203c146101b5578063f77c4791146101d6575b600080fd5b34801561009e57600080fd5b506100b3600160a060020a03600435166101eb565b005b3480156100c157600080fd5b506100ca610235565b60408051600160a060020a039092168252519081900360200190f35b3480156100f257600080fd5b506100ca600160a060020a0360043516610245565b34801561011357600080fd5b50610128600160a060020a036004351661035d565b60408051918252519081900360200190f35b34801561014657600080fd5b506101526004356103f2565b604080519485526020850193909352600160a060020a03909116838301526060830152519081900360800190f35b34801561018c57600080fd5b506101a1600160a060020a0360043516610498565b604080519115158252519081900360200190f35b3480156101c157600080fd5b506100b3600160a060020a03600435166104b4565b3480156101e257600080fd5b506100ca6104db565b60005433600160a060020a0390811691161461020657600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600061024033610245565b905090565b6004546000908190600160a060020a031661025e610670565b600160a060020a03909116815260405190819003602001906000f08015801561028b573d6000803e3d6000fd5b50905080600160a060020a031663230818b2846040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050600060405180830381600087803b15801561030257600080fd5b505af1158015610316573d6000803e3d6000fd5b505060408051600160a060020a038516815290517fac993fde3b9423ff59e4a23cded8e89074c9c8740920d1d870f586ba7c5c8cf09350908190036020019150a192915050565b60006060823b82811161036f57600080fd5b60408051603f8301601f19168101909152818152915080600060208401863c816040518082805190602001908083835b602083106103be5780518252601f19909201916020918201910161039f565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120979650505050505050565b60008060008060028581548110151561040757fe5b90600052602060002090600402016000015460028681548110151561042857fe5b90600052602060002090600402016001015460028781548110151561044957fe5b6000918252602090912060026004909202018101548154600160a060020a0390911691908990811061047757fe5b90600052602060002090600402016003015493509350935093509193509193565b600160a060020a03166000908152600160205260408120541190565b60005433600160a060020a039081169116146104cf57600080fd5b6104d8816104ea565b50565b600054600160a060020a031681565b600454600090600160a060020a038381169116141561050857600080fd5b6105118261035d565b60028054600160a060020a038086166000818152600160208181526040808420879055805160808101825243815242818401818152828401888152606084018d8152968b018c559a909652905160049889027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace81019190915594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf86015597517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0850180549190971673ffffffffffffffffffffffffffffffffffffffff199182161790965591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad190930192909255600395909555835490921681179092558251918252810183905281519293507f1f6d323e0f0d100bbeff07e00af23eca57fcb99f3efdef25cba223d7a34d0f31929081900390910190a15050565b60405161042780610681833901905600608060405234801561001057600080fd5b50604051602080610427833981016040525160008054600160a060020a03909216600160a060020a03199092169190911790556103d5806100526000396000f30060806040526004361061006c5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663579cf8a781146100c957806387f11a97146100ea578063a2e620451461010b578063d4aae0c414610143578063efcba0ee14610174575b34801561007857600080fd5b50610081610189565b600160a060020a031660003660405180838380828437820191505092505050600060405180830381855af491505015156100ba57600080fd5b3d604051816000823e8181f35b005b3480156100d557600080fd5b506100c7600160a060020a0360043516610198565b3480156100f657600080fd5b506100c7600160a060020a0360043516610283565b34801561011757600080fd5b5061012061032a565b60408051600160a060020a03909316835260208301919091528051918290030190f35b34801561014f57600080fd5b5061015861033f565b60408051600160a060020a039092168252519081900360200190f35b34801561018057600080fd5b506100c761034e565b600054600160a060020a031690565b6101a0610392565b30600160a060020a031633600160a060020a03161415156101c057600080fd5b5060408051808201909152600154600160a060020a039081168083526002546020840152908316146101f157600080fd5b6020810151421161020157600080fd5b805160008054600160a060020a0392831673ffffffffffffffffffffffffffffffffffffffff1991821681178084556001805490931690925560029290925560408051919093168152602081019190915281517f76f448bcf536e847a3d291a3d796bf16666666929cbba9d0c05f55cce22d3f2c929181900390910190a15050565b600030600160a060020a031633600160a060020a03161415156102a557600080fd5b50604080518082018252600160a060020a03831680825262278d00420160209283018190526001805473ffffffffffffffffffffffffffffffffffffffff19168317905560028190558351918252918101829052825191927f2047fd222390b778ab7c70c9e0dc552444839f68191ceef9323e784e09b75b1e92918290030190a15050565b600154600254600160a060020a039091169082565b600054600160a060020a031681565b30600160a060020a031633600160a060020a031614151561036e57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff191690556000600255565b6040805180820190915260008082526020820152905600a165627a7a7230582058e4d159ae1b9fef74e4d5589a0b205ff333ca02a6da1481467328929e56f1fd0029a165627a7a7230582086ee84fbf17e634ce8a5796041fc622e7fe2b06d64d0a623192d14759ff64abb0029",
|
|
"real_runtime_bytecode": "60806040526004361061008d5763ffffffff7c01000000000000000000000000000000000000000000000000000000006000350416633cebb823811461009257806359d21ad9146100b55780635b2ab06c146100e657806381ea440814610107578063b88da7591461013a578063be537a7914610180578063cc81203c146101b5578063f77c4791146101d6575b600080fd5b34801561009e57600080fd5b506100b3600160a060020a03600435166101eb565b005b3480156100c157600080fd5b506100ca610235565b60408051600160a060020a039092168252519081900360200190f35b3480156100f257600080fd5b506100ca600160a060020a0360043516610245565b34801561011357600080fd5b50610128600160a060020a036004351661035d565b60408051918252519081900360200190f35b34801561014657600080fd5b506101526004356103f2565b604080519485526020850193909352600160a060020a03909116838301526060830152519081900360800190f35b34801561018c57600080fd5b506101a1600160a060020a0360043516610498565b604080519115158252519081900360200190f35b3480156101c157600080fd5b506100b3600160a060020a03600435166104b4565b3480156101e257600080fd5b506100ca6104db565b60005433600160a060020a0390811691161461020657600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600061024033610245565b905090565b6004546000908190600160a060020a031661025e610670565b600160a060020a03909116815260405190819003602001906000f08015801561028b573d6000803e3d6000fd5b50905080600160a060020a031663230818b2846040518263ffffffff167c01000000000000000000000000000000000000000000000000000000000281526004018082600160a060020a0316600160a060020a03168152602001915050600060405180830381600087803b15801561030257600080fd5b505af1158015610316573d6000803e3d6000fd5b505060408051600160a060020a038516815290517fac993fde3b9423ff59e4a23cded8e89074c9c8740920d1d870f586ba7c5c8cf09350908190036020019150a192915050565b60006060823b82811161036f57600080fd5b60408051603f8301601f19168101909152818152915080600060208401863c816040518082805190602001908083835b602083106103be5780518252601f19909201916020918201910161039f565b5181516020939093036101000a60001901801990911692169190911790526040519201829003909120979650505050505050565b60008060008060028581548110151561040757fe5b90600052602060002090600402016000015460028681548110151561042857fe5b90600052602060002090600402016001015460028781548110151561044957fe5b6000918252602090912060026004909202018101548154600160a060020a0390911691908990811061047757fe5b90600052602060002090600402016003015493509350935093509193509193565b600160a060020a03166000908152600160205260408120541190565b60005433600160a060020a039081169116146104cf57600080fd5b6104d8816104ea565b50565b600054600160a060020a031681565b600454600090600160a060020a038381169116141561050857600080fd5b6105118261035d565b60028054600160a060020a038086166000818152600160208181526040808420879055805160808101825243815242818401818152828401888152606084018d8152968b018c559a909652905160049889027f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace81019190915594517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf86015597517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad0850180549190971673ffffffffffffffffffffffffffffffffffffffff199182161790965591517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ad190930192909255600395909555835490921681179092558251918252810183905281519293507f1f6d323e0f0d100bbeff07e00af23eca57fcb99f3efdef25cba223d7a34d0f31929081900390910190a15050565b60405161042780610681833901905600608060405234801561001057600080fd5b50604051602080610427833981016040525160008054600160a060020a03909216600160a060020a03199092169190911790556103d5806100526000396000f30060806040526004361061006c5763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663579cf8a781146100c957806387f11a97146100ea578063a2e620451461010b578063d4aae0c414610143578063efcba0ee14610174575b34801561007857600080fd5b50610081610189565b600160a060020a031660003660405180838380828437820191505092505050600060405180830381855af491505015156100ba57600080fd5b3d604051816000823e8181f35b005b3480156100d557600080fd5b506100c7600160a060020a0360043516610198565b3480156100f657600080fd5b506100c7600160a060020a0360043516610283565b34801561011757600080fd5b5061012061032a565b60408051600160a060020a03909316835260208301919091528051918290030190f35b34801561014f57600080fd5b5061015861033f565b60408051600160a060020a039092168252519081900360200190f35b34801561018057600080fd5b506100c761034e565b600054600160a060020a031690565b6101a0610392565b30600160a060020a031633600160a060020a03161415156101c057600080fd5b5060408051808201909152600154600160a060020a039081168083526002546020840152908316146101f157600080fd5b6020810151421161020157600080fd5b805160008054600160a060020a0392831673ffffffffffffffffffffffffffffffffffffffff1991821681178084556001805490931690925560029290925560408051919093168152602081019190915281517f76f448bcf536e847a3d291a3d796bf16666666929cbba9d0c05f55cce22d3f2c929181900390910190a15050565b600030600160a060020a031633600160a060020a03161415156102a557600080fd5b50604080518082018252600160a060020a03831680825262278d00420160209283018190526001805473ffffffffffffffffffffffffffffffffffffffff19168317905560028190558351918252918101829052825191927f2047fd222390b778ab7c70c9e0dc552444839f68191ceef9323e784e09b75b1e92918290030190a15050565b600154600254600160a060020a039091169082565b600054600160a060020a031681565b30600160a060020a031633600160a060020a031614151561036e57600080fd5b6001805473ffffffffffffffffffffffffffffffffffffffff191690556000600255565b6040805180820190915260008082526020820152905600a165627a7a7230582058e4d159ae1b9fef74e4d5589a0b205ff333ca02a6da1481467328929e56f1fd0029a165627a7a7230582086ee84fbf17e634ce8a5796041fc622e7fe2b06d64d0a623192d14759ff64abb0029",
|
|
"swarm_hash": "86ee84fbf17e634ce8a5796041fc622e7fe2b06d64d0a623192d14759ff64abb",
|
|
"gas_estimates": {
|
|
"creation": {
|
|
"codeDepositCost": "554200",
|
|
"executionCost": "infinite",
|
|
"totalCost": "infinite"
|
|
},
|
|
"external": {
|
|
"changeController(address)": "20834",
|
|
"controller()": "691",
|
|
"createIdentity()": "infinite",
|
|
"createIdentity(address)": "infinite",
|
|
"getCodeHash(address)": "infinite",
|
|
"getVersion(uint256)": "2570",
|
|
"isKernel(address)": "725",
|
|
"setKernel(address)": "infinite"
|
|
}
|
|
},
|
|
"function_hashes": {
|
|
"changeController(address)": "3cebb823",
|
|
"controller()": "f77c4791",
|
|
"createIdentity()": "59d21ad9",
|
|
"createIdentity(address)": "5b2ab06c",
|
|
"getCodeHash(address)": "81ea4408",
|
|
"getVersion(uint256)": "b88da759",
|
|
"isKernel(address)": "be537a79",
|
|
"setKernel(address)": "cc81203c"
|
|
},
|
|
"abi": [
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_newController",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "changeController",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [],
|
|
"name": "createIdentity",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_idOwner",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "createIdentity",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "_addr",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "getCodeHash",
|
|
"outputs": [
|
|
{
|
|
"name": "codeHash",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [
|
|
{
|
|
"name": "index",
|
|
"type": "uint256"
|
|
}
|
|
],
|
|
"name": "getVersion",
|
|
"outputs": [
|
|
{
|
|
"name": "blockNumber",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "timestamp",
|
|
"type": "uint256"
|
|
},
|
|
{
|
|
"name": "kernel",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"name": "codeHash",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_addr",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "isKernel",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": false,
|
|
"inputs": [
|
|
{
|
|
"name": "_kernel",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "setKernel",
|
|
"outputs": [],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"constant": true,
|
|
"inputs": [],
|
|
"name": "controller",
|
|
"outputs": [
|
|
{
|
|
"name": "",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "view",
|
|
"type": "function"
|
|
},
|
|
{
|
|
"inputs": [
|
|
{
|
|
"name": "_infohash",
|
|
"type": "bytes"
|
|
}
|
|
],
|
|
"payable": false,
|
|
"stateMutability": "nonpayable",
|
|
"type": "constructor"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"name": "instance",
|
|
"type": "address"
|
|
}
|
|
],
|
|
"name": "IdentityCreated",
|
|
"type": "event"
|
|
},
|
|
{
|
|
"anonymous": false,
|
|
"inputs": [
|
|
{
|
|
"indexed": false,
|
|
"name": "newKernel",
|
|
"type": "address"
|
|
},
|
|
{
|
|
"indexed": false,
|
|
"name": "codeHash",
|
|
"type": "bytes32"
|
|
}
|
|
],
|
|
"name": "NewKernel",
|
|
"type": "event"
|
|
}
|
|
]
|
|
}
|