60806040526200001866038d7ea4c680005f196200034e565b62000025905f196200036e565b6007555f6009819055600a819055600b819055600c819055600d819055600e819055600f819055601055601280546001600160a01b0319908116739158f7aad09203a524b1ed43ec997c96e44484219081179092556013805490911690911790556015805462ffffff60a01b1916600160b01b1790556509184e72a000601681905560175565048c27395000601855348015620000c0575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600754335f9081526003602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200017a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001a0919062000394565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ec573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000212919062000394565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200025d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000283919062000394565b601580546001600160a01b0319166001600160a01b039283161790555f80548216815260066020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b03165f6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200033f91815260200190565b60405180910390a350620003c3565b5f826200036957634e487b7160e01b5f52601260045260245ffd5b500690565b818103818111156200038e57634e487b7160e01b5f52601160045260245ffd5b92915050565b5f60208284031215620003a5575f80fd5b81516001600160a01b0381168114620003bc575f80fd5b9392505050565b611ce580620003d15f395ff3fe6080604052600436106101c7575f3560e01c806374010ece116100f2578063a2a957bb11610092578063c492f04611610062578063c492f0461461051c578063dd62ed3e1461053b578063ea1644d51461057f578063f2fde38b1461059e575f80fd5b8063a2a957bb1461049c578063a9059cbb146104bb578063bfd79284146104da578063c3c8cd8014610508575f80fd5b80638da5cb5b116100cd5780638da5cb5b146104205780638f9a55c01461043c57806395d89b411461045157806398a5c3151461047d575f80fd5b806374010ece146103c15780637d1db4a5146103e05780637f2feddc146103f5575f80fd5b8063313ce567116101685780636d8aa8f8116101385780636d8aa8f81461035b5780636fc3eaec1461037a57806370a082311461038e578063715018a6146103ad575f80fd5b8063313ce567146102ee57806349bd5a5e146103095780634ff80492146103285780636b9990531461033c575f80fd5b80631694505e116101a35780631694505e1461026057806318160ddd1461029757806323b872dd146102ba5780632fd689e3146102d9575f80fd5b8062b8cf2a146101d257806306fdde03146101f3578063095ea7b314610231575f80fd5b366101ce57005b5f80fd5b3480156101dd575f80fd5b506101f16101ec366004611891565b6105bd565b005b3480156101fe575f80fd5b50604080518082019091526004815263466f6d6f60e01b60208201525b6040516102289190611951565b60405180910390f35b34801561023c575f80fd5b5061025061024b36600461199d565b61064e565b6040519015158152602001610228565b34801561026b575f80fd5b5060145461027f906001600160a01b031681565b6040516001600160a01b039091168152602001610228565b3480156102a2575f80fd5b5066038d7ea4c680005b604051908152602001610228565b3480156102c5575f80fd5b506102506102d43660046119c7565b610664565b3480156102e4575f80fd5b506102ac60185481565b3480156102f9575f80fd5b5060405160098152602001610228565b348015610314575f80fd5b5060155461027f906001600160a01b031681565b348015610333575f80fd5b506101f16106cb565b348015610347575f80fd5b506101f1610356366004611a05565b610709565b348015610366575f80fd5b506101f1610375366004611a2f565b610752565b348015610385575f80fd5b506101f1610799565b348015610399575f80fd5b506102ac6103a8366004611a05565b6107e3565b3480156103b8575f80fd5b506101f1610804565b3480156103cc575f80fd5b506101f16103db366004611a48565b610875565b3480156103eb575f80fd5b506102ac60165481565b348015610400575f80fd5b506102ac61040f366004611a05565b60116020525f908152604090205481565b34801561042b575f80fd5b505f546001600160a01b031661027f565b348015610447575f80fd5b506102ac60175481565b34801561045c575f80fd5b50604080518082019091526004815263464f4d4f60e01b602082015261021b565b348015610488575f80fd5b506101f1610497366004611a48565b6108a3565b3480156104a7575f80fd5b506101f16104b6366004611a5f565b6108d1565b3480156104c6575f80fd5b506102506104d536600461199d565b61090e565b3480156104e5575f80fd5b506102506104f4366004611a05565b60026020525f908152604090205460ff1681565b348015610513575f80fd5b506101f161091a565b348015610527575f80fd5b506101f1610536366004611a8e565b61096c565b348015610546575f80fd5b506102ac610555366004611b0b565b6001600160a01b039182165f90815260056020908152604080832093909416825291909152205490565b34801561058a575f80fd5b506101f1610599366004611a48565b6109ff565b3480156105a9575f80fd5b506101f16105b8366004611a05565b610a2d565b5f546001600160a01b031633146105ef5760405162461bcd60e51b81526004016105e690611b42565b60405180910390fd5b5f5b815181101561064a57600160025f84848151811061061157610611611b77565b6020908102919091018101516001600160a01b031682528101919091526040015f20805460ff19169115159190911790556001016105f1565b5050565b5f61065a338484610b14565b5060015b92915050565b5f610670848484610c37565b6106c184336106bc85604051806060016040528060288152602001611c88602891396001600160a01b038a165f9081526005602090815260408083203384529091529020549190611167565b610b14565b5060019392505050565b5f546001600160a01b031633146106f45760405162461bcd60e51b81526004016105e690611b42565b6015805460ff60a01b1916600160a01b179055565b5f546001600160a01b031633146107325760405162461bcd60e51b81526004016105e690611b42565b6001600160a01b03165f908152600260205260409020805460ff19169055565b5f546001600160a01b0316331461077b5760405162461bcd60e51b81526004016105e690611b42565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b031614806107ce57506013546001600160a01b0316336001600160a01b0316145b6107d6575f80fd5b476107e08161119f565b50565b6001600160a01b0381165f9081526003602052604081205461065e906111d6565b5f546001600160a01b0316331461082d5760405162461bcd60e51b81526004016105e690611b42565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461089e5760405162461bcd60e51b81526004016105e690611b42565b601655565b5f546001600160a01b031633146108cc5760405162461bcd60e51b81526004016105e690611b42565b601855565b5f546001600160a01b031633146108fa5760405162461bcd60e51b81526004016105e690611b42565b600993909355600b91909155600a55600c55565b5f61065a338484610c37565b6012546001600160a01b0316336001600160a01b0316148061094f57506013546001600160a01b0316336001600160a01b0316145b610957575f80fd5b5f610961306107e3565b90506107e081611258565b5f546001600160a01b031633146109955760405162461bcd60e51b81526004016105e690611b42565b5f5b828110156109f9578160065f8686858181106109b5576109b5611b77565b90506020020160208101906109ca9190611a05565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610997565b50505050565b5f546001600160a01b03163314610a285760405162461bcd60e51b81526004016105e690611b42565b601755565b5f546001600160a01b03163314610a565760405162461bcd60e51b81526004016105e690611b42565b6001600160a01b038116610abb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105e6565b5f80546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35f80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610b765760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e6565b6001600160a01b038216610bd75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e6565b6001600160a01b038381165f8181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c9b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e6565b6001600160a01b038216610cfd5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e6565b5f8111610d5e5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105e6565b5f546001600160a01b03848116911614801590610d8857505f546001600160a01b03838116911614155b1561106357601554600160a01b900460ff16610e20575f546001600160a01b03848116911614610e205760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105e6565b601654811115610e725760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105e6565b6001600160a01b0383165f9081526002602052604090205460ff16158015610eb257506001600160a01b0382165f9081526002602052604090205460ff16155b610f0a5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105e6565b6015546001600160a01b03838116911614610f8f5760175481610f2c846107e3565b610f369190611b9f565b10610f8f5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105e6565b5f610f99306107e3565b601854601654919250821015908210610fb25760165491505b808015610fc95750601554600160a81b900460ff16155b8015610fe357506015546001600160a01b03868116911614155b8015610ff85750601554600160b01b900460ff165b801561101c57506001600160a01b0385165f9081526006602052604090205460ff16155b801561104057506001600160a01b0384165f9081526006602052604090205460ff16155b156110605761104e82611258565b47801561105e5761105e4761119f565b505b50505b6001600160a01b0383165f9081526006602052604090205460019060ff16806110a357506001600160a01b0383165f9081526006602052604090205460ff165b806110d557506015546001600160a01b038581169116148015906110d557506015546001600160a01b03848116911614155b156110e157505f61115b565b6015546001600160a01b03858116911614801561110c57506014546001600160a01b03848116911614155b1561111e57600954600d55600a54600e555b6015546001600160a01b03848116911614801561114957506014546001600160a01b03858116911614155b1561115b57600b54600d55600c54600e555b6109f9848484846113c8565b5f818484111561118a5760405162461bcd60e51b81526004016105e69190611951565b505f6111968486611bb2565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083905f818181858888f1935050505015801561064a573d5f803e3d5ffd5b5f60075482111561123c5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105e6565b5f6112456113f6565b90506112518382611417565b9392505050565b6015805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061129e5761129e611b77565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156112f5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113199190611bc5565b8160018151811061132c5761132c611b77565b6001600160a01b0392831660209182029290920101526014546113529130911684610b14565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac9479061138a9085905f90869030904290600401611be0565b5f604051808303815f87803b1580156113a1575f80fd5b505af11580156113b3573d5f803e3d5ffd5b50506015805460ff60a81b1916905550505050565b806113d5576113d5611458565b6113e0848484611485565b806109f9576109f9600f54600d55601054600e55565b5f805f611401611576565b90925090506114108282611417565b9250505090565b5f61125183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506115b3565b600d541580156114685750600e54155b1561146f57565b600d8054600f55600e80546010555f9182905555565b5f805f805f80611494876115df565b6001600160a01b038f165f90815260036020526040902054959b509399509197509550935091506114c59087611634565b6001600160a01b03808b165f9081526003602052604080822093909355908a16815220546114f39086611675565b6001600160a01b0389165f90815260036020526040902055611514816116d3565b61151e8483611719565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161156391815260200190565b60405180910390a3505050505050505050565b6007545f90819066038d7ea4c6800061158f8282611417565b8210156115aa5750506007549266038d7ea4c6800092509050565b90939092509050565b5f81836115d35760405162461bcd60e51b81526004016105e69190611951565b505f6111968486611c51565b5f805f805f805f805f6115f78a600d54600e5461173d565b9250925092505f6116066113f6565b90505f805f6116178e87878761178f565b919e509c509a509598509396509194505050505091939550919395565b5f61125183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611167565b5f806116818385611b9f565b9050838110156112515760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105e6565b5f6116dc6113f6565b90505f6116e983836117db565b305f908152600360205260409020549091506117059082611675565b305f90815260036020526040902055505050565b6007546117269083611634565b6007556008546117369082611675565b6008555050565b5f808080611756606461175089896117db565b90611417565b90505f61176860646117508a896117db565b90505f61177f826117798b86611634565b90611634565b9992985090965090945050505050565b5f80808061179d88866117db565b90505f6117aa88876117db565b90505f6117b788886117db565b90505f6117c8826117798686611634565b939b939a50919850919650505050505050565b5f825f036117ea57505f61065e565b5f6117f58385611c70565b9050826118028583611c51565b146112515760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105e6565b634e487b7160e01b5f52604160045260245ffd5b6001600160a01b03811681146107e0575f80fd5b803561188c8161186d565b919050565b5f60208083850312156118a2575f80fd5b823567ffffffffffffffff808211156118b9575f80fd5b818501915085601f8301126118cc575f80fd5b8135818111156118de576118de611859565b8060051b604051601f19603f8301168101818110858211171561190357611903611859565b604052918252848201925083810185019188831115611920575f80fd5b938501935b828510156119455761193685611881565b84529385019392850192611925565b98975050505050505050565b5f602080835283518060208501525f5b8181101561197d57858101830151858201604001528201611961565b505f604082860101526040601f19601f8301168501019250505092915050565b5f80604083850312156119ae575f80fd5b82356119b98161186d565b946020939093013593505050565b5f805f606084860312156119d9575f80fd5b83356119e48161186d565b925060208401356119f48161186d565b929592945050506040919091013590565b5f60208284031215611a15575f80fd5b81356112518161186d565b8035801515811461188c575f80fd5b5f60208284031215611a3f575f80fd5b61125182611a20565b5f60208284031215611a58575f80fd5b5035919050565b5f805f8060808587031215611a72575f80fd5b5050823594602084013594506040840135936060013592509050565b5f805f60408486031215611aa0575f80fd5b833567ffffffffffffffff80821115611ab7575f80fd5b818601915086601f830112611aca575f80fd5b813581811115611ad8575f80fd5b8760208260051b8501011115611aec575f80fd5b602092830195509350611b029186019050611a20565b90509250925092565b5f8060408385031215611b1c575f80fd5b8235611b278161186d565b91506020830135611b378161186d565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561065e5761065e611b8b565b8181038181111561065e5761065e611b8b565b5f60208284031215611bd5575f80fd5b81516112518161186d565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611c305784516001600160a01b031683529383019391830191600101611c0b565b50506001600160a01b03969096166060850152505050608001529392505050565b5f82611c6b57634e487b7160e01b5f52601260045260245ffd5b500490565b808202811582820484141761065e5761065e611b8b56fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122041063cf77552354234fe809e31d9aac9144a60bb15f6077bdbda28ca973f97ac64736f6c63430008180033