60806040526005805460ff1916600117905560166006819055600755600460088190556009908155600a808055600b8190556019600c555f600d5562000046919062000345565b62000056906301312d006200035c565b600e55620000676009600a62000345565b62000077906301312d006200035c565b600f55620000886009600a62000345565b6200009790629896816200035c565b601055620000a86009600a62000345565b620000b79062970fe06200035c565b6011556013805461ffff60a81b19169055348015620000d4575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060058054610100600160a81b03191661010033021790556200013a6009600a62000345565b6200014a90633b9aca006200035c565b335f908152600160208190526040822092909255600390620001735f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556005546101009004909116835291208054909216179055620001d63390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6200020f6009600a62000345565b6200021f90633b9aca006200035c565b60405190815260200160405180910390a362000376565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200028a57815f19048211156200026e576200026e62000236565b808516156200027c57918102915b93841c93908002906200024f565b509250929050565b5f82620002a2575060016200033f565b81620002b057505f6200033f565b8160018114620002c95760028114620002d457620002f4565b60019150506200033f565b60ff841115620002e857620002e862000236565b50506001821b6200033f565b5060208310610133831016604e8410600b841016171562000319575081810a6200033f565b6200032583836200024a565b805f19048211156200033b576200033b62000236565b0290505b92915050565b5f6200035560ff84168362000292565b9392505050565b80820281158282048414176200033f576200033f62000236565b6118bb80620003845f395ff3fe608060405260043610610129575f3560e01c8063751039fc116100a8578063a9059cbb1161006d578063a9059cbb1461031d578063bf474bed1461033c578063c876d0b914610351578063c9567bf91461036a578063dd62ed3e1461037e578063ec1f3f63146103c2575f80fd5b8063751039fc1461028c5780637d1db4a5146102a05780638da5cb5b146102b55780638f9a55c0146102db57806395d89b41146102f0575f80fd5b8063313ce567116100ee578063313ce567146101ff57806351bc3c851461021a5780636fc3eaec1461023057806370a0823114610244578063715018a614610278575f80fd5b806306fdde0314610134578063095ea7b31461017a5780630faee56f146101a957806318160ddd146101cc57806323b872dd146101e0575f80fd5b3661013057005b5f80fd5b34801561013f575f80fd5b5060408051808201909152600c81526b427269616e6b6e6f7773414960a01b60208201525b604051610171919061149a565b60405180910390f35b348015610185575f80fd5b506101996101943660046114f9565b6103e1565b6040519015158152602001610171565b3480156101b4575f80fd5b506101be60115481565b604051908152602001610171565b3480156101d7575f80fd5b506101be6103f7565b3480156101eb575f80fd5b506101996101fa366004611523565b610417565b34801561020a575f80fd5b5060405160098152602001610171565b348015610225575f80fd5b5061022e61047e565b005b34801561023b575f80fd5b5061022e6104d4565b34801561024f575f80fd5b506101be61025e366004611561565b6001600160a01b03165f9081526001602052604090205490565b348015610283575f80fd5b5061022e6104e7565b348015610297575f80fd5b5061022e610561565b3480156102ab575f80fd5b506101be600e5481565b3480156102c0575f80fd5b505f546040516001600160a01b039091168152602001610171565b3480156102e6575f80fd5b506101be600f5481565b3480156102fb575f80fd5b50604080518082019091526005815264212924a0a760d91b6020820152610164565b348015610328575f80fd5b506101996103373660046114f9565b61061c565b348015610347575f80fd5b506101be60105481565b34801561035c575f80fd5b506005546101999060ff1681565b348015610375575f80fd5b5061022e610628565b348015610389575f80fd5b506101be61039836600461157c565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b3480156103cd575f80fd5b5061022e6103dc3660046115b3565b6109d1565b5f6103ed338484610a1b565b5060015b92915050565b5f6104046009600a6116be565b61041290633b9aca006116cc565b905090565b5f610423848484610b3e565b610474843361046f8560405180606001604052806028815260200161185e602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190611112565b610a1b565b5060019392505050565b60055461010090046001600160a01b0316336001600160a01b0316146104a2575f80fd5b305f9081526001602052604090205480156104c0576104c08161114a565b4780156104d0576104d0816112ba565b5050565b4780156104e4576104e4816112ba565b50565b5f546001600160a01b031633146105195760405162461bcd60e51b8152600401610510906116e3565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461058a5760405162461bcd60e51b8152600401610510906116e3565b6105966009600a6116be565b6105a490633b9aca006116cc565b600e556105b36009600a6116be565b6105c190633b9aca006116cc565b600f556005805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105fb6009600a6116be565b61060990633b9aca006116cc565b60405190815260200160405180910390a1565b5f6103ed338484610b3e565b5f546001600160a01b031633146106515760405162461bcd60e51b8152600401610510906116e3565b601354600160a01b900460ff16156106ab5760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610510565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106f49030906106e66009600a6116be565b61046f90633b9aca006116cc565b60125f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610744573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107689190611718565b6001600160a01b031663c9c653963060125f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156107c7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107eb9190611718565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610835573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108599190611718565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d71947306108a0816001600160a01b03165f9081526001602052604090205490565b5f806108b35f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610919573d5f803e3d5ffd5b50505050506040513d601f19601f8201168201806040525081019061093e9190611733565b505060135460125460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610993573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b7919061175e565b506013805462ff00ff60a01b19166201000160a01b179055565b60055461010090046001600160a01b0316336001600160a01b0316146109f5575f80fd5b6008548111158015610a0957506009548111155b610a11575f80fd5b6008819055600955565b6001600160a01b038316610a7d5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610510565b6001600160a01b038216610ade5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610510565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610ba25760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610510565b6001600160a01b038216610c045760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610510565b5f8111610c655760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610510565b5f80546001600160a01b03858116911614801590610c9057505f546001600160a01b03848116911614155b15610fd557610cc16064610cbb600a54600d5411610cb057600654610cb4565b6008545b85906112f5565b9061137a565b60055490915060ff1615610da7576012546001600160a01b03848116911614801590610cfb57506013546001600160a01b03848116911614155b15610da757325f908152600460205260409020544311610d955760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a401610510565b325f9081526004602052604090204390555b6013546001600160a01b038581169116148015610dd257506012546001600160a01b03848116911614155b8015610df657506001600160a01b0383165f9081526003602052604090205460ff16155b15610edc57600e54821115610e4d5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610510565b600f5482610e6f856001600160a01b03165f9081526001602052604090205490565b610e79919061177d565b1115610ec75760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610510565b600d8054905f610ed683611790565b91905055505b6013546001600160a01b038481169116148015610f0257506001600160a01b0384163014155b15610f2f57610f2c6064610cbb600b54600d5411610f2257600754610cb4565b60095485906112f5565b90505b305f90815260016020526040902054601354600160a81b900460ff16158015610f6557506013546001600160a01b038581169116145b8015610f7a5750601354600160b01b900460ff165b8015610f87575060105481115b8015610f965750600c54600d54115b15610fd357610fb8610fb384610fae846011546113bb565b6113bb565b61114a565b4766b1a2bc2ec50000811115610fd157610fd1476112ba565b505b505b801561104d57305f90815260016020526040902054610ff490826113cf565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906110449085815260200190565b60405180910390a35b6001600160a01b0384165f9081526001602052604090205461106f908361142d565b6001600160a01b0385165f908152600160205260409020556110b2611094838361142d565b6001600160a01b0385165f90815260016020526040902054906113cf565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6110fb858561142d565b60405190815260200160405180910390a350505050565b5f81848411156111355760405162461bcd60e51b8152600401610510919061149a565b505f61114184866117a8565b95945050505050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f81518110611190576111906117bb565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156111e7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061120b9190611718565b8160018151811061121e5761121e6117bb565b6001600160a01b0392831660209182029290920101526012546112449130911684610a1b565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac9479061127c9085905f908690309042906004016117cf565b5f604051808303815f87803b158015611293575f80fd5b505af11580156112a5573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6005546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f193505050501580156104d0573d5f803e3d5ffd5b5f825f0361130457505f6103f1565b5f61130f83856116cc565b90508261131c858361183e565b146113735760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610510565b9392505050565b5f61137383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061146e565b5f8183116113c95782611373565b50919050565b5f806113db838561177d565b9050838110156113735760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610510565b5f61137383836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611112565b5f818361148e5760405162461bcd60e51b8152600401610510919061149a565b505f611141848661183e565b5f6020808352835180828501525f5b818110156114c5578581018301518582016040015282016114a9565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146104e4575f80fd5b5f806040838503121561150a575f80fd5b8235611515816114e5565b946020939093013593505050565b5f805f60608486031215611535575f80fd5b8335611540816114e5565b92506020840135611550816114e5565b929592945050506040919091013590565b5f60208284031215611571575f80fd5b8135611373816114e5565b5f806040838503121561158d575f80fd5b8235611598816114e5565b915060208301356115a8816114e5565b809150509250929050565b5f602082840312156115c3575f80fd5b5035919050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561161857815f19048211156115fe576115fe6115ca565b8085161561160b57918102915b93841c93908002906115e3565b509250929050565b5f8261162e575060016103f1565b8161163a57505f6103f1565b8160018114611650576002811461165a57611676565b60019150506103f1565b60ff84111561166b5761166b6115ca565b50506001821b6103f1565b5060208310610133831016604e8410600b8410161715611699575081810a6103f1565b6116a383836115de565b805f19048211156116b6576116b66115ca565b029392505050565b5f61137360ff841683611620565b80820281158282048414176103f1576103f16115ca565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f60208284031215611728575f80fd5b8151611373816114e5565b5f805f60608486031215611745575f80fd5b8351925060208401519150604084015190509250925092565b5f6020828403121561176e575f80fd5b81518015158114611373575f80fd5b808201808211156103f1576103f16115ca565b5f600182016117a1576117a16115ca565b5060010190565b818103818111156103f1576103f16115ca565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561181d5784516001600160a01b0316835293830193918301916001016117f8565b50506001600160a01b03969096166060850152505050608001529392505050565b5f8261185857634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122006461569080d4f1fdec70fff6bc73c1a4b4df6659c34c5df8cf4fc4da186dbc964736f6c63430008140033