60806040526200001b683635c9adc5dea0000060001962000368565b62000029906000196200038b565b600655600060098190556008600a55600b8190556019600c819055600d829055600e819055600f919091556010819055601380546001600160a01b031990811673cac1d509229928cb21d764c126481736357480959081179092556014805490911690911790556016805461ffff60a81b1916600160b01b17905568022b1c8c1227a000006017819055601855662386f26fc100009055348015620000cd57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200018b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b19190620003b3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001ff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002259190620003b3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000273573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002999190620003b3565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef683635c9adc5dea000006040516200035991815260200190565b60405180910390a350620003e5565b6000826200038657634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003ad57634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003c657600080fd5b81516001600160a01b0381168114620003de57600080fd5b9392505050565b611e2c80620003f56000396000f3fe6080604052600436106101d05760003560e01c806374010ece116100f7578063a9059cbb11610095578063d00efb2f11610064578063d00efb2f1461054c578063dd62ed3e14610562578063ea1644d5146105a8578063f2fde38b146105c857600080fd5b8063a9059cbb146104c7578063bfd79284146104e7578063c3c8cd8014610517578063c492f0461461052c57600080fd5b80638f70ccf7116100d15780638f70ccf7146104415780638f9a55c01461046157806395d89b411461047757806398a5c315146104a757600080fd5b806374010ece146103ed5780637d1db4a51461040d5780638da5cb5b1461042357600080fd5b8063313ce5671161016f5780636d8aa8f81161013e5780636d8aa8f8146103835780636fc3eaec146103a357806370a08231146103b8578063715018a6146103d857600080fd5b8063313ce5671461030757806349bd5a5e146103235780634b106590146103435780636b9990531461036357600080fd5b80631694505e116101ab5780631694505e1461027357806318160ddd146102ab57806323b872dd146102d15780632fd689e3146102f157600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461024357600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611997565b6105e8565b005b34801561020a57600080fd5b5060408051808201909152600a815269474e4f4d455320494e5560b01b60208201525b60405161023a9190611a5c565b60405180910390f35b34801561024f57600080fd5b5061026361025e366004611aaa565b610687565b604051901515815260200161023a565b34801561027f57600080fd5b50601554610293906001600160a01b031681565b6040516001600160a01b03909116815260200161023a565b3480156102b757600080fd5b50683635c9adc5dea000005b60405190815260200161023a565b3480156102dd57600080fd5b506102636102ec366004611ad6565b61069e565b3480156102fd57600080fd5b506102c360195481565b34801561031357600080fd5b506040516009815260200161023a565b34801561032f57600080fd5b50601654610293906001600160a01b031681565b34801561034f57600080fd5b506101fc61035e366004611b17565b610707565b34801561036f57600080fd5b506101fc61037e366004611b49565b610745565b34801561038f57600080fd5b506101fc61039e366004611b76565b610790565b3480156103af57600080fd5b506101fc6107d8565b3480156103c457600080fd5b506102c36103d3366004611b49565b610823565b3480156103e457600080fd5b506101fc610845565b3480156103f957600080fd5b506101fc610408366004611b91565b6108b9565b34801561041957600080fd5b506102c360175481565b34801561042f57600080fd5b506000546001600160a01b0316610293565b34801561044d57600080fd5b506101fc61045c366004611b76565b6108e8565b34801561046d57600080fd5b506102c360185481565b34801561048357600080fd5b5060408051808201909152600781526624474e4f4d455360c81b602082015261022d565b3480156104b357600080fd5b506101fc6104c2366004611b91565b610930565b3480156104d357600080fd5b506102636104e2366004611aaa565b61095f565b3480156104f357600080fd5b50610263610502366004611b49565b60116020526000908152604090205460ff1681565b34801561052357600080fd5b506101fc61096c565b34801561053857600080fd5b506101fc610547366004611baa565b6109c0565b34801561055857600080fd5b506102c360085481565b34801561056e57600080fd5b506102c361057d366004611c2e565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105b457600080fd5b506101fc6105c3366004611b91565b610a61565b3480156105d457600080fd5b506101fc6105e3366004611b49565b610a90565b6000546001600160a01b0316331461061b5760405162461bcd60e51b815260040161061290611c67565b60405180910390fd5b60005b81518110156106835760016011600084848151811061063f5761063f611c9c565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061067b81611cc8565b91505061061e565b5050565b6000610694338484610b7a565b5060015b92915050565b60006106ab848484610c9e565b6106fd84336106f885604051806060016040528060288152602001611dcf602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111da565b610b7a565b5060019392505050565b6000546001600160a01b031633146107315760405162461bcd60e51b815260040161061290611c67565b600993909355600b91909155600a55600c55565b6000546001600160a01b0316331461076f5760405162461bcd60e51b815260040161061290611c67565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6000546001600160a01b031633146107ba5760405162461bcd60e51b815260040161061290611c67565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6013546001600160a01b0316336001600160a01b0316148061080d57506014546001600160a01b0316336001600160a01b0316145b61081657600080fd5b4761082081611214565b50565b6001600160a01b038116600090815260026020526040812054610698906112a9565b6000546001600160a01b0316331461086f5760405162461bcd60e51b815260040161061290611c67565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108e35760405162461bcd60e51b815260040161061290611c67565b601755565b6000546001600160a01b031633146109125760405162461bcd60e51b815260040161061290611c67565b60168054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461095a5760405162461bcd60e51b815260040161061290611c67565b601955565b6000610694338484610c9e565b6013546001600160a01b0316336001600160a01b031614806109a157506014546001600160a01b0316336001600160a01b0316145b6109aa57600080fd5b60006109b530610823565b90506108208161132d565b6000546001600160a01b031633146109ea5760405162461bcd60e51b815260040161061290611c67565b60005b82811015610a5b578160056000868685818110610a0c57610a0c611c9c565b9050602002016020810190610a219190611b49565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a5381611cc8565b9150506109ed565b50505050565b6000546001600160a01b03163314610a8b5760405162461bcd60e51b815260040161061290611c67565b601855565b6000546001600160a01b03163314610aba5760405162461bcd60e51b815260040161061290611c67565b6001600160a01b038116610b1f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610612565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bdc5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610612565b6001600160a01b038216610c3d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610612565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d025760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610612565b6001600160a01b038216610d645760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610612565b60008111610dc65760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610612565b6000546001600160a01b03848116911614801590610df257506000546001600160a01b03838116911614155b156110d357601654600160a01b900460ff16610e8b576000546001600160a01b03848116911614610e8b5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610612565b601754811115610edd5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610612565b6001600160a01b03831660009081526011602052604090205460ff16158015610f1f57506001600160a01b03821660009081526011602052604090205460ff16155b610f775760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610612565b6016546001600160a01b03838116911614610ffc5760185481610f9984610823565b610fa39190611ce1565b10610ffc5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610612565b600061100730610823565b6019546017549192508210159082106110205760175491505b8080156110375750601654600160a81b900460ff16155b801561105157506016546001600160a01b03868116911614155b80156110665750601654600160b01b900460ff165b801561108b57506001600160a01b03851660009081526005602052604090205460ff16155b80156110b057506001600160a01b03841660009081526005602052604090205460ff16155b156110d0576110be8261132d565b4780156110ce576110ce47611214565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061111557506001600160a01b03831660009081526005602052604090205460ff165b8061114757506016546001600160a01b0385811691161480159061114757506016546001600160a01b03848116911614155b15611154575060006111ce565b6016546001600160a01b03858116911614801561117f57506015546001600160a01b03848116911614155b1561119157600954600d55600a54600e555b6016546001600160a01b0384811691161480156111bc57506015546001600160a01b03858116911614155b156111ce57600b54600d55600c54600e555b610a5b848484846114a7565b600081848411156111fe5760405162461bcd60e51b81526004016106129190611a5c565b50600061120b8486611cf4565b95945050505050565b6013546001600160a01b03166108fc61123960646112338560326114d5565b90611557565b6040518115909202916000818181858888f19350505050158015611261573d6000803e3d6000fd5b506014546001600160a01b03166108fc61128160646112338560326114d5565b6040518115909202916000818181858888f19350505050158015610683573d6000803e3d6000fd5b60006006548211156113105760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610612565b600061131a611599565b90506113268382611557565b9392505050565b6016805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061137557611375611c9c565b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156113ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113f29190611d07565b8160018151811061140557611405611c9c565b6001600160a01b03928316602091820292909201015260155461142b9130911684610b7a565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac94790611464908590600090869030904290600401611d24565b600060405180830381600087803b15801561147e57600080fd5b505af1158015611492573d6000803e3d6000fd5b50506016805460ff60a81b1916905550505050565b806114b4576114b46115bc565b6114bf8484846115ea565b80610a5b57610a5b600f54600d55601054600e55565b6000826000036114e757506000610698565b60006114f38385611d95565b9050826115008583611dac565b146113265760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610612565b600061132683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506116e1565b60008060006115a661170f565b90925090506115b58282611557565b9250505090565b600d541580156115cc5750600e54155b156115d357565b600d8054600f55600e805460105560009182905555565b6000806000806000806115fc87611751565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061162e90876117ae565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461165d90866117f0565b6001600160a01b03891660009081526002602052604090205561167f8161184f565b6116898483611899565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef856040516116ce91815260200190565b60405180910390a3505050505050505050565b600081836117025760405162461bcd60e51b81526004016106129190611a5c565b50600061120b8486611dac565b6006546000908190683635c9adc5dea0000061172b8282611557565b82101561174857505060065492683635c9adc5dea0000092509050565b90939092509050565b600080600080600080600080600061176e8a600d54600e546118bd565b925092509250600061177e611599565b905060008060006117918e87878761190c565b919e509c509a509598509396509194505050505091939550919395565b600061132683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111da565b6000806117fd8385611ce1565b9050838110156113265760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610612565b6000611859611599565b9050600061186783836114d5565b3060009081526002602052604090205490915061188490826117f0565b30600090815260026020526040902055505050565b6006546118a690836117ae565b6006556007546118b690826117f0565b6007555050565b60008080806118d1606461123389896114d5565b905060006118e460646112338a896114d5565b905060006118fc826118f68b866117ae565b906117ae565b9992985090965090945050505050565b600080808061191b88866114d5565b9050600061192988876114d5565b9050600061193788886114d5565b90506000611949826118f686866117ae565b939b939a50919850919650505050505050565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461082057600080fd5b803561199281611972565b919050565b600060208083850312156119aa57600080fd5b823567ffffffffffffffff808211156119c257600080fd5b818501915085601f8301126119d657600080fd5b8135818111156119e8576119e861195c565b8060051b604051601f19603f83011681018181108582111715611a0d57611a0d61195c565b604052918252848201925083810185019188831115611a2b57600080fd5b938501935b82851015611a5057611a4185611987565b84529385019392850192611a30565b98975050505050505050565b600060208083528351808285015260005b81811015611a8957858101830151858201604001528201611a6d565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611abd57600080fd5b8235611ac881611972565b946020939093013593505050565b600080600060608486031215611aeb57600080fd5b8335611af681611972565b92506020840135611b0681611972565b929592945050506040919091013590565b60008060008060808587031215611b2d57600080fd5b5050823594602084013594506040840135936060013592509050565b600060208284031215611b5b57600080fd5b813561132681611972565b8035801515811461199257600080fd5b600060208284031215611b8857600080fd5b61132682611b66565b600060208284031215611ba357600080fd5b5035919050565b600080600060408486031215611bbf57600080fd5b833567ffffffffffffffff80821115611bd757600080fd5b818601915086601f830112611beb57600080fd5b813581811115611bfa57600080fd5b8760208260051b8501011115611c0f57600080fd5b602092830195509350611c259186019050611b66565b90509250925092565b60008060408385031215611c4157600080fd5b8235611c4c81611972565b91506020830135611c5c81611972565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611cda57611cda611cb2565b5060010190565b8082018082111561069857610698611cb2565b8181038181111561069857610698611cb2565b600060208284031215611d1957600080fd5b815161132681611972565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d745784516001600160a01b031683529383019391830191600101611d4f565b50506001600160a01b03969096166060850152505050608001529392505050565b808202811582820484141761069857610698611cb2565b600082611dc957634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212203c363b6b8da2fb675e94a6b182deeae24cd4567af7363fc429211fb24ed485f264736f6c63430008110033