60806040526200001966038d7ea4c6800060001962000393565b6200002790600019620003b6565b6006556000600881905560196009819055600a829055600b819055600c829055600d819055600e91909155600f55601280546001600160a01b031990811673a789e06695773631a8361199b9894778758f17fd9081179092556013805490911690911790556015805461ffff60a81b1916600160b01b1790556509184e72a0006016556512309ce5400060175564e8d4a51000601855348015620000ca57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b1580156200018357600080fd5b505afa15801562000198573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001be9190620003dc565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020757600080fd5b505afa1580156200021c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002429190620003dc565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028b57600080fd5b505af1158015620002a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c69190620003dc565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200038491815260200190565b60405180910390a3506200040e565b600082620003b157634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003d757634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003ef57600080fd5b81516001600160a01b03811681146200040757600080fd5b9392505050565b611e1a806200041e6000396000f3fe6080604052600436106101d05760003560e01c8063715018a6116100f7578063a2a957bb11610095578063c492f04611610064578063c492f04614610563578063dd62ed3e14610583578063ea1644d5146105c9578063f2fde38b146105e957600080fd5b8063a2a957bb146104de578063a9059cbb146104fe578063bfd792841461051e578063c3c8cd801461054e57600080fd5b80638f70ccf7116100d15780638f70ccf7146104585780638f9a55c01461047857806395d89b411461048e57806398a5c315146104be57600080fd5b8063715018a6146103f85780637f2feddc1461040d5780638da5cb5b1461043a57600080fd5b806323b872dd1161016f5780636b9990531161013e5780636b999053146103835780636d8aa8f8146103a35780636fc3eaec146103c357806370a08231146103d857600080fd5b806323b872dd146103115780632fd689e314610331578063313ce5671461034757806349bd5a5e1461036357600080fd5b8063100b88ce116101ab578063100b88ce1461027b5780631694505e1461029f57806318160ddd146102d75780631e784e75146102f157600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461024b57600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f736600461196b565b610609565b005b34801561020a57600080fd5b50604080518082019091526012815271c6acd0af495050cea3d0af2050cea350cea360701b60208201525b6040516102429190611a30565b60405180910390f35b34801561025757600080fd5b5061026b610266366004611a85565b6106a8565b6040519015158152602001610242565b34801561028757600080fd5b5061029160165481565b604051908152602001610242565b3480156102ab57600080fd5b506014546102bf906001600160a01b031681565b6040516001600160a01b039091168152602001610242565b3480156102e357600080fd5b5066038d7ea4c68000610291565b3480156102fd57600080fd5b506101fc61030c366004611ab1565b6106bf565b34801561031d57600080fd5b5061026b61032c366004611aca565b6106ee565b34801561033d57600080fd5b5061029160185481565b34801561035357600080fd5b5060405160098152602001610242565b34801561036f57600080fd5b506015546102bf906001600160a01b031681565b34801561038f57600080fd5b506101fc61039e366004611b0b565b610757565b3480156103af57600080fd5b506101fc6103be366004611b38565b6107a2565b3480156103cf57600080fd5b506101fc6107ea565b3480156103e457600080fd5b506102916103f3366004611b0b565b610835565b34801561040457600080fd5b506101fc610857565b34801561041957600080fd5b50610291610428366004611b0b565b60116020526000908152604090205481565b34801561044657600080fd5b506000546001600160a01b03166102bf565b34801561046457600080fd5b506101fc610473366004611b38565b6108cb565b34801561048457600080fd5b5061029160175481565b34801561049a57600080fd5b5060408051808201909152600781526654524950504c4560c81b6020820152610235565b3480156104ca57600080fd5b506101fc6104d9366004611ab1565b610913565b3480156104ea57600080fd5b506101fc6104f9366004611b53565b610942565b34801561050a57600080fd5b5061026b610519366004611a85565b610980565b34801561052a57600080fd5b5061026b610539366004611b0b565b60106020526000908152604090205460ff1681565b34801561055a57600080fd5b506101fc61098d565b34801561056f57600080fd5b506101fc61057e366004611b85565b6109e1565b34801561058f57600080fd5b5061029161059e366004611c09565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105d557600080fd5b506101fc6105e4366004611ab1565b610a82565b3480156105f557600080fd5b506101fc610604366004611b0b565b610ab1565b6000546001600160a01b0316331461063c5760405162461bcd60e51b815260040161063390611c42565b60405180910390fd5b60005b81518110156106a45760016010600084848151811061066057610660611c77565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061069c81611ca3565b91505061063f565b5050565b60006106b5338484610b9b565b5060015b92915050565b6000546001600160a01b031633146106e95760405162461bcd60e51b815260040161063390611c42565b601655565b60006106fb848484610cbf565b61074d843361074885604051806060016040528060288152602001611dbd602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111fb565b610b9b565b5060019392505050565b6000546001600160a01b031633146107815760405162461bcd60e51b815260040161063390611c42565b6001600160a01b03166000908152601060205260409020805460ff19169055565b6000546001600160a01b031633146107cc5760405162461bcd60e51b815260040161063390611c42565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061081f57506013546001600160a01b0316336001600160a01b0316145b61082857600080fd5b4761083281611235565b50565b6001600160a01b0381166000908152600260205260408120546106b99061126f565b6000546001600160a01b031633146108815760405162461bcd60e51b815260040161063390611c42565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108f55760405162461bcd60e51b815260040161063390611c42565b60158054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461093d5760405162461bcd60e51b815260040161063390611c42565b601855565b6000546001600160a01b0316331461096c5760405162461bcd60e51b815260040161063390611c42565b600893909355600a91909155600955600b55565b60006106b5338484610cbf565b6012546001600160a01b0316336001600160a01b031614806109c257506013546001600160a01b0316336001600160a01b0316145b6109cb57600080fd5b60006109d630610835565b9050610832816112f3565b6000546001600160a01b03163314610a0b5760405162461bcd60e51b815260040161063390611c42565b60005b82811015610a7c578160056000868685818110610a2d57610a2d611c77565b9050602002016020810190610a429190611b0b565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a7481611ca3565b915050610a0e565b50505050565b6000546001600160a01b03163314610aac5760405162461bcd60e51b815260040161063390611c42565b601755565b6000546001600160a01b03163314610adb5760405162461bcd60e51b815260040161063390611c42565b6001600160a01b038116610b405760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610633565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bfd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610633565b6001600160a01b038216610c5e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610633565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d235760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610633565b6001600160a01b038216610d855760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610633565b60008111610de75760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610633565b6000546001600160a01b03848116911614801590610e1357506000546001600160a01b03838116911614155b156110f457601554600160a01b900460ff16610eac576000546001600160a01b03848116911614610eac5760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610633565b601654811115610efe5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610633565b6001600160a01b03831660009081526010602052604090205460ff16158015610f4057506001600160a01b03821660009081526010602052604090205460ff16155b610f985760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610633565b6015546001600160a01b0383811691161461101d5760175481610fba84610835565b610fc49190611cbe565b1061101d5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610633565b600061102830610835565b6018546016549192508210159082106110415760165491505b8080156110585750601554600160a81b900460ff16155b801561107257506015546001600160a01b03868116911614155b80156110875750601554600160b01b900460ff165b80156110ac57506001600160a01b03851660009081526005602052604090205460ff16155b80156110d157506001600160a01b03841660009081526005602052604090205460ff16155b156110f1576110df826112f3565b4780156110ef576110ef47611235565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061113657506001600160a01b03831660009081526005602052604090205460ff165b8061116857506015546001600160a01b0385811691161480159061116857506015546001600160a01b03848116911614155b15611175575060006111ef565b6015546001600160a01b0385811691161480156111a057506014546001600160a01b03848116911614155b156111b257600854600c55600954600d555b6015546001600160a01b0384811691161480156111dd57506014546001600160a01b03858116911614155b156111ef57600a54600c55600b54600d555b610a7c8484848461147c565b6000818484111561121f5760405162461bcd60e51b81526004016106339190611a30565b50600061122c8486611cd6565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156106a4573d6000803e3d6000fd5b60006006548211156112d65760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610633565b60006112e06114aa565b90506112ec83826114cd565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061133b5761133b611c77565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561138f57600080fd5b505afa1580156113a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113c79190611ced565b816001815181106113da576113da611c77565b6001600160a01b0392831660209182029290920101526014546114009130911684610b9b565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611439908590600090869030904290600401611d0a565b600060405180830381600087803b15801561145357600080fd5b505af1158015611467573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b806114895761148961150f565b61149484848461153d565b80610a7c57610a7c600e54600c55600f54600d55565b60008060006114b7611634565b90925090506114c682826114cd565b9250505090565b60006112ec83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611672565b600c5415801561151f5750600d54155b1561152657565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061154f876116a0565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061158190876116fd565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546115b0908661173f565b6001600160a01b0389166000908152600260205260409020556115d28161179e565b6115dc84836117e8565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161162191815260200190565b60405180910390a3505050505050505050565b600654600090819066038d7ea4c6800061164e82826114cd565b8210156116695750506006549266038d7ea4c6800092509050565b90939092509050565b600081836116935760405162461bcd60e51b81526004016106339190611a30565b50600061122c8486611d7b565b60008060008060008060008060006116bd8a600c54600d5461180c565b92509250925060006116cd6114aa565b905060008060006116e08e878787611861565b919e509c509a509598509396509194505050505091939550919395565b60006112ec83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111fb565b60008061174c8385611cbe565b9050838110156112ec5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610633565b60006117a86114aa565b905060006117b683836118b1565b306000908152600260205260409020549091506117d3908261173f565b30600090815260026020526040902055505050565b6006546117f590836116fd565b600655600754611805908261173f565b6007555050565b6000808080611826606461182089896118b1565b906114cd565b9050600061183960646118208a896118b1565b905060006118518261184b8b866116fd565b906116fd565b9992985090965090945050505050565b600080808061187088866118b1565b9050600061187e88876118b1565b9050600061188c88886118b1565b9050600061189e8261184b86866116fd565b939b939a50919850919650505050505050565b6000826118c0575060006106b9565b60006118cc8385611d9d565b9050826118d98583611d7b565b146112ec5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610633565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461083257600080fd5b803561196681611946565b919050565b6000602080838503121561197e57600080fd5b823567ffffffffffffffff8082111561199657600080fd5b818501915085601f8301126119aa57600080fd5b8135818111156119bc576119bc611930565b8060051b604051601f19603f830116810181811085821117156119e1576119e1611930565b6040529182528482019250838101850191888311156119ff57600080fd5b938501935b82851015611a2457611a158561195b565b84529385019392850192611a04565b98975050505050505050565b600060208083528351808285015260005b81811015611a5d57858101830151858201604001528201611a41565b81811115611a6f576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215611a9857600080fd5b8235611aa381611946565b946020939093013593505050565b600060208284031215611ac357600080fd5b5035919050565b600080600060608486031215611adf57600080fd5b8335611aea81611946565b92506020840135611afa81611946565b929592945050506040919091013590565b600060208284031215611b1d57600080fd5b81356112ec81611946565b8035801515811461196657600080fd5b600060208284031215611b4a57600080fd5b6112ec82611b28565b60008060008060808587031215611b6957600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611b9a57600080fd5b833567ffffffffffffffff80821115611bb257600080fd5b818601915086601f830112611bc657600080fd5b813581811115611bd557600080fd5b8760208260051b8501011115611bea57600080fd5b602092830195509350611c009186019050611b28565b90509250925092565b60008060408385031215611c1c57600080fd5b8235611c2781611946565b91506020830135611c3781611946565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611cb757611cb7611c8d565b5060010190565b60008219821115611cd157611cd1611c8d565b500190565b600082821015611ce857611ce8611c8d565b500390565b600060208284031215611cff57600080fd5b81516112ec81611946565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611d5a5784516001600160a01b031683529383019391830191600101611d35565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611d9857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611db757611db7611c8d565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220a1b4d189287a738557ad3d35dc021571ca4bd2cb4f47375f830676c26780931564736f6c63430008090033