[
{
"inputs": [],
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [],
"name": "TemplateDeployed",
"type": "event"
},
{
"inputs": [],
"name": "template721Bytecode",
"outputs": [
{
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "pure",
"type": "function"
}
]
608060405234801561001057600080fd5b506040517fc66b8902f3c66484991bfac785f8ede0e4a787229514ff4a68fdcaa8c49881ed90600090a1611f4b806100496000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c8063cb35689f14610030575b600080fd5b61003861004e565b6040516100459190610071565b60405180910390f35b606060405180611e800160405280611e5581526020016100c1611e559139905090565b60006020808352835180602085015260005b8181101561009f57858101830151858201604001528201610083565b506000604082860101526040601f19601f830116850101925050509291505056fe60a060405260016000553480156200001657600080fd5b5060405162001e5538038062001e55833981016040819052620000399162000114565b6040518060400160405280600781526020016614da1a599d195960ca1b8152506040518060400160405280600781526020016614d2125195115160ca1b815250828083836200008f8282620000a860201b60201c565b50506001600160a01b031660805250620002e192505050565b6001620000b4620000f4565b1015620000cd57620000cd63fed8210f60e01b6200010a565b6002620000db8382620001ed565b506003620000ea8282620001ed565b5060016000555050565b6000620001056001600019620002b9565b905090565b8060005260046000fd5b6000602082840312156200012757600080fd5b81516001600160a01b03811681146200013f57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200017157607f821691505b6020821081036200019257634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001e8576000816000526020600020601f850160051c81016020861015620001c35750805b601f850160051c820191505b81811015620001e457828155600101620001cf565b5050505b505050565b81516001600160401b0381111562000209576200020962000146565b62000221816200021a84546200015c565b8462000198565b602080601f831160018114620002595760008415620002405750858301515b600019600386901b1c1916600185901b178555620001e4565b600085815260208120601f198616915b828110156200028a5788860151825594840194600190910190840162000269565b5085821015620002a95787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b81810381811115620002db57634e487b7160e01b600052601160045260246000fd5b92915050565b608051611b35620003206000396000818161025f01528181610474015281816105e9015281816108d501528181610af80152610bae0152611b356000f3fe6080604052600436106101355760003560e01c806323b872dd116100ab57806395d89b411161006f57806395d89b411461033c578063a22cb46514610351578063b88d4fde14610371578063c21b16e514610384578063c87b56dd146103a4578063e985e9c5146103c457600080fd5b806323b872dd146102b657806342842e0e146102c95780636352211e146102dc578063678d15ae146102fc57806370a082311461031c57600080fd5b80630871e785116100fd5780630871e785146101f8578063095ea7b3146102265780630e68803014610239578063116191b61461024d57806318160ddd146102815780631cdfecd11461029657600080fd5b806301ffc9a71461013a57806305e102541461016f57806306fdde031461018457806307003bb4146101a6578063081812fc146101c0575b600080fd5b34801561014657600080fd5b5061015a61015536600461121e565b6103e4565b60405190151581526020015b60405180910390f35b61018261017d3660046112c3565b610436565b005b34801561019057600080fd5b506101996104f1565b60405161016691906113f8565b3480156101b257600080fd5b5060095461015a9060ff1681565b3480156101cc57600080fd5b506101e06101db36600461140b565b610583565b6040516001600160a01b039091168152602001610166565b34801561020457600080fd5b50610218610213366004611424565b6105be565b604051908152602001610166565b610182610234366004611477565b610664565b34801561024557600080fd5b50600161015a565b34801561025957600080fd5b506101e07f000000000000000000000000000000000000000000000000000000000000000081565b34801561028d57600080fd5b50610218610674565b3480156102a257600080fd5b506101826102b13660046114ea565b610699565b6101826102c4366004611556565b61071a565b6101826102d7366004611556565b61089f565b3480156102e857600080fd5b506101e06102f736600461140b565b6108bf565b34801561030857600080fd5b50610182610317366004611592565b6108ca565b34801561032857600080fd5b50610218610337366004611618565b6109f1565b34801561034857600080fd5b50610199610a37565b34801561035d57600080fd5b5061018261036c366004611633565b610a46565b61018261037f36600461168e565b610ab2565b34801561039057600080fd5b5061018261039f366004611592565b610aed565b3480156103b057600080fd5b506101996103bf36600461140b565b610b8f565b3480156103d057600080fd5b5061015a6103df366004611739565b610c25565b60006301ffc9a760e01b6001600160e01b03198316148061041557506380ac58cd60e01b6001600160e01b03198316145b806104305750635b5e139f60e01b6001600160e01b03198316145b92915050565b6000604051806040016040528061044b6104f1565b8152602001610458610a37565b9052604051632ebc316360e21b81529091506001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063baf0c58c9034906104b7908a9033908b9088908c908c908c906004016117e6565b6000604051808303818588803b1580156104d057600080fd5b505af11580156104e4573d6000803e3d6000fd5b5050505050505050505050565b60606002805461050090611884565b80601f016020809104026020016040519081016040528092919081815260200182805461052c90611884565b80156105795780601f1061054e57610100808354040283529160200191610579565b820191906000526020600020905b81548152906001019060200180831161055c57829003601f168201915b5050505050905090565b600061058e82610c53565b6105a2576105a26333d1c03960e21b610cc8565b506000908152600660205260409020546001600160a01b031690565b604051638d8ec69560e01b815261ffff841660048201526024810183905281151560448201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690638d8ec69590606401602060405180830381865afa158015610638573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065c91906118b8565b949350505050565b61067082826001610cd2565b5050565b6000600180546000540303905060001961068c610d75565b1461069657600854015b90565b6106a1610d89565b61071484848080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f88018190048102820181019092528681529250869150859081908401838280828437600092019190915250610deb92505050565b50505050565b600061072582610e2e565b6001600160a01b03948516949091508116841461074b5761074b62a1148160e81b610cc8565b600082815260066020526040902080546107778187335b6001600160a01b039081169116811491141790565b610799576107858633610c25565b61079957610799632ce44b5f60e11b610cc8565b80156107a457600082555b6001600160a01b0386811660009081526005602052604080822080546000190190559187168152908120805460010190556107f79086905b600160e11b174260a01b176001600160a01b03919091161790565b600085815260046020526040812091909155600160e11b8416900361084c5760018401600081815260046020526040812054900361084a57600054811461084a5760008181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a48060000361089657610896633a954ecd60e21b610cc8565b50505050505050565b6108ba83838360405180602001604052806000815250610ab2565b505050565b600061043082610e2e565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461093c5760405162461bcd60e51b815260206004820152601260248201527153686966742067617465776179206f6e6c7960701b60448201526064015b60405180910390fd5b60005b8181101561071457836001600160a01b0316610972848484818110610966576109666118d1565b905060200201356108bf565b6001600160a01b0316146109c85760405162461bcd60e51b815260206004820152601860248201527f4275726e2063616c6c2066726f6d206e6f6e2d6f776e657200000000000000006044820152606401610933565b6109e98383838181106109dd576109dd6118d1565b90506020020135610f01565b60010161093f565b60006001600160a01b038216610a1157610a116323d3ad8160e21b610cc8565b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b60606003805461050090611884565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610abd84848461071a565b6001600160a01b0383163b1561071457610ad984848484610f0f565b610714576107146368d2bf6b60e11b610cc8565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610b5a5760405162461bcd60e51b815260206004820152601260248201527153686966742067617465776179206f6e6c7960701b6044820152606401610933565b60005b8181101561071457610b8784848484818110610b7b57610b7b6118d1565b90506020020135610ff1565b600101610b5d565b604051630d37591360e21b8152306004820152602481018290526060907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906334dd644c90604401600060405180830381865afa158015610bfd573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261043091908101906118e7565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b600081600111610cc357610c65610d75565b821115610c845760008281526004602052604090205461043090610ffb565b600054821015610cc35760005b5060008281526004602052604081205490819003610cb957610cb28361196b565b9250610c91565b600160e01b161590505b919050565b8060005260046000fd5b6000610cdd836108bf565b9050818015610cf55750336001600160a01b03821614155b15610d1857610d048133610c25565b610d1857610d186367d9dca160e11b610cc8565b60008381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b6000610d846001600019611982565b905090565b60095460ff1615610ddc5760405162461bcd60e51b815260206004820152601860248201527f43616e206f6e6c7920696e697469616c697365206f6e636500000000000000006044820152606401610933565b6009805460ff19166001179055565b6001610df5610d75565b1015610e0b57610e0b63fed8210f60e01b610cc8565b6002610e1783826119e5565b506003610e2482826119e5565b5060016000555050565b600081600111610ef15750600081815260046020526040902054610e50610d75565b821115610e7a57610e6081610ffb565b15610e6a57919050565b610e7a636f96cda160e11b610cc8565b80600003610ede576000548210610e9b57610e9b636f96cda160e11b610cc8565b5b50600019016000818152600460205260409020548015610e9c57600160e01b8116600003610ec957919050565b610ed9636f96cda160e11b610cc8565b610e9c565b600160e01b8116600003610ef157919050565b610cc3636f96cda160e11b610cc8565b610f0c816000611011565b50565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610f44903390899088908890600401611aa5565b6020604051808303816000875af1925050508015610f7f575060408051601f3d908101601f19168201909252610f7c91810190611ae2565b60015b610fd4573d808015610fad576040519150601f19603f3d011682016040523d82523d6000602084013e610fb2565b606091505b508051600003610fcc57610fcc6368d2bf6b60e11b610cc8565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6106708282611149565b600160e01b81166001600160a01b039091161190565b600061101c83610e2e565b90508060008061103a86600090815260066020526040902080549091565b9150915084156110715761104f818433610762565b6110715761105d8333610c25565b61107157611071632ce44b5f60e11b610cc8565b801561107c57600082555b6001600160a01b038316600081815260056020526040902080546001600160801b030190554260a01b17600360e01b17600087815260046020526040812091909155600160e11b85169003611101576001860160008181526004602052604081205490036110ff5760005481146110ff5760008181526004602052604090208590555b505b60405186906000906001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050600180548101905550505050565b60008181526004602052604090205461116181610ffb565b156111765761117663c991cbb160e01b610cc8565b6111818360006107dc565b6000838152600460209081526040808320939093556001600160a01b03861680835260059091529181208054680100000000000000010190558190036111d0576111d0622e076360e81b610cc8565b828160007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a450600880546001019055505050565b6001600160e01b031981168114610f0c57600080fd5b60006020828403121561123057600080fd5b813561123b81611208565b9392505050565b803561ffff81168114610cc357600080fd5b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561129357611293611254565b604052919050565b6000604082840312156112ad57600080fd5b50919050565b80358015158114610cc357600080fd5b600080600080600060c086880312156112db57600080fd5b6112e486611242565b945060208087013567ffffffffffffffff8082111561130257600080fd5b818901915089601f83011261131657600080fd5b81358181111561132857611328611254565b8060051b915061133984830161126a565b818152918301840191848101908c84111561135357600080fd5b938501935b8385101561137157843582529385019390850190611358565b809950505050505050611387876040880161129b565b92506080860135915061139c60a087016112b3565b90509295509295909350565b60005b838110156113c35781810151838201526020016113ab565b50506000910152565b600081518084526113e48160208601602086016113a8565b601f01601f19169290920160200192915050565b60208152600061123b60208301846113cc565b60006020828403121561141d57600080fd5b5035919050565b60008060006060848603121561143957600080fd5b61144284611242565b925060208401359150611457604085016112b3565b90509250925092565b80356001600160a01b0381168114610cc357600080fd5b6000806040838503121561148a57600080fd5b61149383611460565b946020939093013593505050565b60008083601f8401126114b357600080fd5b50813567ffffffffffffffff8111156114cb57600080fd5b6020830191508360208285010111156114e357600080fd5b9250929050565b6000806000806040858703121561150057600080fd5b843567ffffffffffffffff8082111561151857600080fd5b611524888389016114a1565b9096509450602087013591508082111561153d57600080fd5b5061154a878288016114a1565b95989497509550505050565b60008060006060848603121561156b57600080fd5b61157484611460565b925061158260208501611460565b9150604084013590509250925092565b6000806000604084860312156115a757600080fd5b6115b084611460565b9250602084013567ffffffffffffffff808211156115cd57600080fd5b818601915086601f8301126115e157600080fd5b8135818111156115f057600080fd5b8760208260051b850101111561160557600080fd5b6020830194508093505050509250925092565b60006020828403121561162a57600080fd5b61123b82611460565b6000806040838503121561164657600080fd5b61164f83611460565b915061165d602084016112b3565b90509250929050565b600067ffffffffffffffff82111561168057611680611254565b50601f01601f191660200190565b600080600080608085870312156116a457600080fd5b6116ad85611460565b93506116bb60208601611460565b925060408501359150606085013567ffffffffffffffff8111156116de57600080fd5b8501601f810187136116ef57600080fd5b80356117026116fd82611666565b61126a565b81815288602083850101111561171757600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561174c57600080fd5b61175583611460565b915061165d60208401611460565b600081516040845261177860408501826113cc565b90506020830151848203602086015261179182826113cc565b95945050505050565b80356001600160801b0381168082146117b257600080fd5b83525060208101356fffffffffffffffffffffffffffffffff1981168082146117da57600080fd5b80602085015250505050565b61ffff881681526001600160a01b0387166020808301919091526101006040830181905287519083018190526000916101208401918982019190845b8181101561183e57835185529382019392820192600101611822565b5050505082810360608401526118548188611763565b915050611864608083018661179a565b8360c083015261187860e083018415159052565b98975050505050505050565b600181811c9082168061189857607f821691505b6020821081036112ad57634e487b7160e01b600052602260045260246000fd5b6000602082840312156118ca57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000602082840312156118f957600080fd5b815167ffffffffffffffff81111561191057600080fd5b8201601f8101841361192157600080fd5b805161192f6116fd82611666565b81815285602083850101111561194457600080fd5b6117918260208301602086016113a8565b634e487b7160e01b600052601160045260246000fd5b60008161197a5761197a611955565b506000190190565b8181038181111561043057610430611955565b601f8211156108ba576000816000526020600020601f850160051c810160208610156119be5750805b601f850160051c820191505b818110156119dd578281556001016119ca565b505050505050565b815167ffffffffffffffff8111156119ff576119ff611254565b611a1381611a0d8454611884565b84611995565b602080601f831160018114611a485760008415611a305750858301515b600019600386901b1c1916600185901b1785556119dd565b600085815260208120601f198616915b82811015611a7757888601518255948401946001909101908401611a58565b5085821015611a955787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ad8908301846113cc565b9695505050505050565b600060208284031215611af457600080fd5b815161123b8161120856fea2646970667358221220bc3f96035b7d02f853515acf01c7fd76374f13f62798a1b10d6c025ac3167f5864736f6c63430008180033a2646970667358221220ec8e4ae4c9250e2f923da6bd89ea2e41417258ef1cedb0dc107930e9b9d2e5ba64736f6c63430008180033