60806040525f600a55600b805461ffff1916905534801561001e575f80fd5b506040518060400160405280600b81526020016a2932ba34b9329021b7b4b760a91b8152506040518060400160405280600681526020016552657469726560d01b81525081600390816100719190610629565b50600461007e8282610629565b5050505f61009061035260201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250905f905f80516020612408833981519152908290a350600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b8152905173ffbf91fb1d94b86a83b86cb1ab8f1f05e252a3359291829163c45a0155916004808201926020929091908290030181865afa158015610145573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061016991906106e3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101d891906106e3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610222573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061024691906106e3565b600780546001600160a01b0319166001600160a01b03929092169182179055610270906001610356565b6a3913517ebd3c0c6500000061271061028a826005610724565b6102949190610741565b6008556001600d819055600c819055600f819055600e8190556001600160a01b0384165f90815260116020526040808220805460ff199081168517909155308352908220805482168417905561dead9091527f97847ee99463795296047093514439c3127772df3715e628aa85601cf854171680549091169091179055600980546001600160a01b03191673445237a55322c0b4def89a1bde12f134028419b317905561034183826103a9565b61034a8361048a565b505050610773565b3390565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0382166104045760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060025f8282546104159190610760565b90915550506001600160a01b0382165f9081526020819052604081208054839290610441908490610760565b90915550506040518181526001600160a01b038316905f907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6005546001600160a01b031633146104e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103fb565b6001600160a01b0381166105495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103fb565b6005546040516001600160a01b038084169216905f80516020612408833981519152905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806105b957607f821691505b6020821081036105d757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561062457805f5260205f20601f840160051c810160208510156106025750805b601f840160051c820191505b81811015610621575f815560010161060e565b50505b505050565b81516001600160401b0381111561064257610642610591565b6106568161065084546105a5565b846105dd565b6020601f821160018114610688575f83156106715750848201515b5f19600385901b1c1916600184901b178455610621565b5f84815260208120601f198516915b828110156106b75787850151825560209485019460019092019101610697565b50848210156106d457868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f602082840312156106f3575f80fd5b81516001600160a01b0381168114610709575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761073b5761073b610710565b92915050565b5f8261075b57634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561073b5761073b610710565b611c88806107805f395ff3fe6080604052600436106101de575f3560e01c80638a8c523c116100fd578063d257b34f11610092578063ee40166e11610062578063ee40166e1461055f578063f2fde38b14610574578063f5648a4f14610593578063fb002c97146105a7575f80fd5b8063d257b34f146104d2578063d85ba063146104f1578063dd62ed3e14610506578063e2f456051461054a575f80fd5b8063a457c2d7116100cd578063a457c2d71461044d578063a9059cbb1461046c578063b62496f51461048b578063bbc0c742146104b9575f80fd5b80638a8c523c146103e95780638da5cb5b146103fd57806395d89b411461041a5780639a7a23d61461042e575f80fd5b8063452ed4f1116101735780636a486a8e116101435780636a486a8e1461036e5780636ddd17131461038357806370a08231146103a1578063715018a6146103d5575f80fd5b8063452ed4f1146103115780634f77f6c01461033057806351f205e4146103455780635a139dd414610359575f80fd5b80632307b441116101ae5780632307b4411461029757806323b872dd146102b8578063313ce567146102d757806339509351146102f2575f80fd5b806306fdde03146101e95780630758d92414610213578063095ea7b31461024a57806318160ddd14610279575f80fd5b366101e557005b5f80fd5b3480156101f4575f80fd5b506101fd6105bc565b60405161020a9190611763565b60405180910390f35b34801561021e575f80fd5b50600654610232906001600160a01b031681565b6040516001600160a01b03909116815260200161020a565b348015610255575f80fd5b506102696102643660046117af565b61064c565b604051901515815260200161020a565b348015610284575f80fd5b506002545b60405190815260200161020a565b3480156102a2575f80fd5b506102b66102b13660046118ab565b610662565b005b3480156102c3575f80fd5b506102696102d2366004611970565b6107b6565b3480156102e2575f80fd5b506040516012815260200161020a565b3480156102fd575f80fd5b5061026961030c3660046117af565b61085e565b34801561031c575f80fd5b50600754610232906001600160a01b031681565b34801561033b575f80fd5b50610289600f5481565b348015610350575f80fd5b506102b6610899565b348015610364575f80fd5b50610289600d5481565b348015610379575f80fd5b50610289600e5481565b34801561038e575f80fd5b50600b5461026990610100900460ff1681565b3480156103ac575f80fd5b506102896103bb3660046119ae565b6001600160a01b03165f9081526020819052604090205490565b3480156103e0575f80fd5b506102b66109a8565b3480156103f4575f80fd5b506102b6610a1b565b348015610408575f80fd5b506005546001600160a01b0316610232565b348015610425575f80fd5b506101fd610ad5565b348015610439575f80fd5b506102b66104483660046119d0565b610ae4565b348015610458575f80fd5b506102696104673660046117af565b610bd7565b348015610477575f80fd5b506102696104863660046117af565b610c6f565b348015610496575f80fd5b506102696104a53660046119ae565b60126020525f908152604090205460ff1681565b3480156104c4575f80fd5b50600b546102699060ff1681565b3480156104dd575f80fd5b506102b66104ec366004611a0b565b610c7b565b3480156104fc575f80fd5b50610289600c5481565b348015610511575f80fd5b50610289610520366004611a22565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610555575f80fd5b5061028960085481565b34801561056a575f80fd5b50610289600a5481565b34801561057f575f80fd5b506102b661058e3660046119ae565b610dc6565b34801561059e575f80fd5b506102b6610eb0565b3480156105b2575f80fd5b5061028960105481565b6060600380546105cb90611a4e565b80601f01602080910402602001604051908101604052809291908181526020018280546105f790611a4e565b80156106425780601f1061061957610100808354040283529160200191610642565b820191905f5260205f20905b81548152906001019060200180831161062557829003601f168201915b5050505050905090565b5f610658338484610f24565b5060015b92915050565b6005546001600160a01b031633146106955760405162461bcd60e51b815260040161068c90611a86565b60405180910390fd5b80518251146106e65760405162461bcd60e51b815260206004820152601e60248201527f617272617973206d757374206265207468652073616d65206c656e6774680000604482015260640161068c565b6102588251106107575760405162461bcd60e51b815260206004820152603660248201527f43616e206f6e6c792061697264726f70203630302077616c6c657473207065726044820152752074786e2064756520746f20676173206c696d69747360501b606482015260840161068c565b5f5b82518110156107b1575f83828151811061077557610775611abb565b602002602001015190505f83838151811061079257610792611abb565b602002602001015190506107a7338383611047565b5050600101610759565b505050565b5f6107c284848461119a565b6001600160a01b0384165f908152600160209081526040808320338452909152902054828110156108465760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b606482015260840161068c565b6108538533858403610f24565b506001949350505050565b335f8181526001602090815260408083206001600160a01b03871684529091528120549091610658918590610894908690611ae3565b610f24565b6005546001600160a01b031633146108c35760405162461bcd60e51b815260040161068c90611a86565b600854305f90815260208190526040902054101561094b576040805162461bcd60e51b81526020600482015260248101919091527f43616e206f6e6c792073776170207768656e20746f6b656e20616d6f756e742060448201527f6973206174206f7220686967686572207468616e207265737472696374696f6e606482015260840161068c565b6007805460ff60a01b1916600160a01b179055610966611515565b6007805460ff60a01b191690556040514281527f1b56c383f4f48fc992e45667ea4eabae777b9cca68b516a9562d8cda78f1bb329060200160405180910390a1565b6005546001600160a01b031633146109d25760405162461bcd60e51b815260040161068c90611a86565b6005546040515f916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b03163314610a455760405162461bcd60e51b815260040161068c90611a86565b600b5460ff1615610a985760405162461bcd60e51b815260206004820152601760248201527f43616e6e6f74207265656e61626c652074726164696e67000000000000000000604482015260640161068c565b600b805461ffff191661010117905543600a556040517fa56feb2d31b9a7424db0be063fd450863979c9e2382cf5110f869bd1ad361bb7905f90a1565b6060600480546105cb90611a4e565b6005546001600160a01b03163314610b0e5760405162461bcd60e51b815260040161068c90611a86565b6007546001600160a01b0390811690831603610b925760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b6572506169727300000000000000606482015260840161068c565b610b9c82826115c8565b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab905f90a35050565b335f9081526001602090815260408083206001600160a01b038616845290915281205482811015610c585760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b606482015260840161068c565b610c653385858403610f24565b5060019392505050565b5f61065833848461119a565b6005546001600160a01b03163314610ca55760405162461bcd60e51b815260040161068c90611a86565b620186a0610cb260025490565b610cbd906001611af6565b610cc79190611b0d565b811015610d345760405162461bcd60e51b815260206004820152603560248201527f5377617020616d6f756e742063616e6e6f74206265206c6f776572207468616e60448201527410181718181892903a37ba30b61039bab838363c9760591b606482015260840161068c565b6103e8610d4060025490565b610d4b906001611af6565b610d559190611b0d565b811115610dc15760405162461bcd60e51b815260206004820152603460248201527f5377617020616d6f756e742063616e6e6f742062652068696768657220746861604482015273371018171892903a37ba30b61039bab838363c9760611b606482015260840161068c565b600855565b6005546001600160a01b03163314610df05760405162461bcd60e51b815260040161068c90611a86565b6001600160a01b038116610e555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161068c565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314610eda5760405162461bcd60e51b815260040161068c90611a86565b6040515f90339047908381818185875af1925050503d805f8114610f19576040519150601f19603f3d011682016040523d82523d5f602084013e610f1e565b606091505b50505050565b6001600160a01b038316610f865760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161068c565b6001600160a01b038216610fe75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161068c565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661106d5760405162461bcd60e51b815260040161068c90611b2c565b6001600160a01b0382166110935760405162461bcd60e51b815260040161068c90611b71565b6001600160a01b0383165f908152602081905260409020548181101561110a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b606482015260840161068c565b6001600160a01b038085165f90815260208190526040808220858503905591851681529081208054849290611140908490611ae3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161118c91815260200190565b60405180910390a350505050565b6001600160a01b0383166111c05760405162461bcd60e51b815260040161068c90611b2c565b6001600160a01b0382166111e65760405162461bcd60e51b815260040161068c90611b71565b5f81116112355760405162461bcd60e51b815260206004820152601d60248201527f616d6f756e74206d7573742062652067726561746572207468616e2030000000604482015260640161068c565b600b5460ff166112c1576001600160a01b0383165f9081526011602052604090205460ff168061127c57506001600160a01b0382165f9081526011602052604090205460ff165b6112c15760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b604482015260640161068c565b305f90815260208190526040902054600854811080159081906112eb5750600b54610100900460ff165b80156113015750600754600160a01b900460ff16155b801561132557506001600160a01b0385165f9081526012602052604090205460ff16155b801561134957506001600160a01b0385165f9081526011602052604090205460ff16155b801561136d57506001600160a01b0384165f9081526011602052604090205460ff16155b1561139b576007805460ff60a01b1916600160a01b17905561138d611515565b6007805460ff60a01b191690555b6001600160a01b0385165f9081526011602052604090205460019060ff16806113db57506001600160a01b0385165f9081526011602052604090205460ff165b156113e357505f5b5f8115611501576001600160a01b0386165f9081526012602052604090205460ff16801561141257505f600e54115b15611469576064600e54866114279190611af6565b6114319190611b0d565b9050600e54600f54826114449190611af6565b61144e9190611b0d565b60105f82825461145e9190611ae3565b909155506114e39050565b6001600160a01b0387165f9081526012602052604090205460ff16801561149157505f600c54115b156114e3576064600c54866114a69190611af6565b6114b09190611b0d565b9050600c54600d54826114c39190611af6565b6114cd9190611b0d565b60105f8282546114dd9190611ae3565b90915550505b80156114f4576114f4873083611047565b6114fe8186611bb4565b94505b61150c878787611047565b50505050505050565b305f90815260208190526040902054601054811580611532575080155b1561153b575050565b600854611549906014611af6565b8211156115615760085461155e906014611af6565b91505b5f61156b8361161b565b5f60108190556009546040516001600160a01b039091169147919081818185875af1925050503d805f81146115bb576040519150601f19603f3d011682016040523d82523d5f602084013e6115c0565b606091505b505050505050565b6001600160a01b0382165f81815260126020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061164e5761164e611abb565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156116a5573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116c99190611bc7565b816001815181106116dc576116dc611abb565b6001600160a01b0392831660209182029290920101526006546117029130911684610f24565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479061173a9085905f90869030904290600401611be2565b5f604051808303815f87803b158015611751575f80fd5b505af11580156115c0573d5f803e3d5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146117ac575f80fd5b50565b5f80604083850312156117c0575f80fd5b82356117cb81611798565b946020939093013593505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff81118282101715611816576118166117d9565b604052919050565b5f67ffffffffffffffff821115611837576118376117d9565b5060051b60200190565b5f82601f830112611850575f80fd5b813561186361185e8261181e565b6117ed565b8082825260208201915060208360051b860101925085831115611884575f80fd5b602085015b838110156118a1578035835260209283019201611889565b5095945050505050565b5f80604083850312156118bc575f80fd5b823567ffffffffffffffff8111156118d2575f80fd5b8301601f810185136118e2575f80fd5b80356118f061185e8261181e565b8082825260208201915060208360051b850101925087831115611911575f80fd5b6020840193505b8284101561193c57833561192b81611798565b825260209384019390910190611918565b9450505050602083013567ffffffffffffffff81111561195a575f80fd5b61196685828601611841565b9150509250929050565b5f805f60608486031215611982575f80fd5b833561198d81611798565b9250602084013561199d81611798565b929592945050506040919091013590565b5f602082840312156119be575f80fd5b81356119c981611798565b9392505050565b5f80604083850312156119e1575f80fd5b82356119ec81611798565b915060208301358015158114611a00575f80fd5b809150509250929050565b5f60208284031215611a1b575f80fd5b5035919050565b5f8060408385031215611a33575f80fd5b8235611a3e81611798565b91506020830135611a0081611798565b600181811c90821680611a6257607f821691505b602082108103611a8057634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b8082018082111561065c5761065c611acf565b808202811582820484141761065c5761065c611acf565b5f82611b2757634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561065c5761065c611acf565b5f60208284031215611bd7575f80fd5b81516119c981611798565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b81811015611c325783516001600160a01b0316835260209384019390920191600101611c0b565b50506001600160a01b03959095166060840152505060800152939250505056fea264697066735822122022f575a7f391c9e8f0de6f91d6d77483fad74a3f26e4269e99c64a11dcef6bb164736f6c634300081a00338be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0