60806040526200001966038d7ea4c68000600019620003e1565b6200002790600019620003bd565b600655600060098190556014600a819055600b829055605a600c819055600d839055600e819055600f92909255601091909155601380546001600160a01b031990811673e438a91069e67b118bc5677bc5bae0007bf9eb9c9081179092558254161790556016805461ffff60a81b1916600160b01b1790556512309ce5400060178190556018556402540be400601955348015620000c457600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b1580156200017d57600080fd5b505afa15801562000192573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b891906200038d565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020157600080fd5b505afa15801562000216573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200023c91906200038d565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028557600080fd5b505af11580156200029a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c091906200038d565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef66038d7ea4c680006040516200037e91815260200190565b60405180910390a35062000402565b6000602082840312156200039f578081fd5b81516001600160a01b0381168114620003b6578182fd5b9392505050565b600082821015620003dc57634e487b7160e01b81526011600452602481fd5b500390565b600082620003fd57634e487b7160e01b81526012600452602481fd5b500690565b611e5b80620004126000396000f3fe6080604052600436106101d05760003560e01c80637d1db4a5116100f7578063a9059cbb11610095578063d00efb2f11610064578063d00efb2f14610547578063dd62ed3e1461055d578063ea1644d5146105a3578063f2fde38b146105c357600080fd5b8063a9059cbb146104c2578063bfd79284146104e2578063c3c8cd8014610512578063c492f0461461052757600080fd5b80638f9a55c0116100d15780638f9a55c01461043e57806395d89b411461045457806398a5c31514610482578063a2a957bb146104a257600080fd5b80637d1db4a5146103ea5780638da5cb5b146104005780638f70ccf71461041e57600080fd5b8063313ce5671161016f5780636fc3eaec1161013e5780636fc3eaec1461038057806370a0823114610395578063715018a6146103b557806374010ece146103ca57600080fd5b8063313ce5671461030457806349bd5a5e146103205780636b999053146103405780636d8aa8f81461036057600080fd5b80631694505e116101ab5780631694505e1461027257806318160ddd146102aa57806323b872dd146102ce5780632fd689e3146102ee57600080fd5b8062b8cf2a146101dc57806306fdde03146101fe578063095ea7b31461024257600080fd5b366101d757005b600080fd5b3480156101e857600080fd5b506101fc6101f7366004611b11565b6105e3565b005b34801561020a57600080fd5b50604080518082019091526009815268446567656e7561727960b81b60208201525b6040516102399190611c3b565b60405180910390f35b34801561024e57600080fd5b5061026261025d366004611a67565b610690565b6040519015158152602001610239565b34801561027e57600080fd5b50601554610292906001600160a01b031681565b6040516001600160a01b039091168152602001610239565b3480156102b657600080fd5b5066038d7ea4c680005b604051908152602001610239565b3480156102da57600080fd5b506102626102e9366004611a27565b6106a7565b3480156102fa57600080fd5b506102c060195481565b34801561031057600080fd5b5060405160098152602001610239565b34801561032c57600080fd5b50601654610292906001600160a01b031681565b34801561034c57600080fd5b506101fc61035b3660046119b7565b610710565b34801561036c57600080fd5b506101fc61037b366004611bd8565b61075b565b34801561038c57600080fd5b506101fc6107a3565b3480156103a157600080fd5b506102c06103b03660046119b7565b6107ee565b3480156103c157600080fd5b506101fc610810565b3480156103d657600080fd5b506101fc6103e5366004611bf2565b610884565b3480156103f657600080fd5b506102c060175481565b34801561040c57600080fd5b506000546001600160a01b0316610292565b34801561042a57600080fd5b506101fc610439366004611bd8565b6108b3565b34801561044a57600080fd5b506102c060185481565b34801561046057600080fd5b506040805180820190915260058152642222a520a760d91b602082015261022c565b34801561048e57600080fd5b506101fc61049d366004611bf2565b6108fb565b3480156104ae57600080fd5b506101fc6104bd366004611c0a565b61092a565b3480156104ce57600080fd5b506102626104dd366004611a67565b610968565b3480156104ee57600080fd5b506102626104fd3660046119b7565b60116020526000908152604090205460ff1681565b34801561051e57600080fd5b506101fc610975565b34801561053357600080fd5b506101fc610542366004611a92565b6109c9565b34801561055357600080fd5b506102c060085481565b34801561056957600080fd5b506102c06105783660046119ef565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105af57600080fd5b506101fc6105be366004611bf2565b610a78565b3480156105cf57600080fd5b506101fc6105de3660046119b7565b610aa7565b6000546001600160a01b031633146106165760405162461bcd60e51b815260040161060d90611c8e565b60405180910390fd5b60005b815181101561068c5760016011600084848151811061064857634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061068481611da1565b915050610619565b5050565b600061069d338484610b91565b5060015b92915050565b60006106b4848484610cb5565b610706843361070185604051806060016040528060288152602001611dfe602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906111f1565b610b91565b5060019392505050565b6000546001600160a01b0316331461073a5760405162461bcd60e51b815260040161060d90611c8e565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6000546001600160a01b031633146107855760405162461bcd60e51b815260040161060d90611c8e565b60168054911515600160b01b0260ff60b01b19909216919091179055565b6013546001600160a01b0316336001600160a01b031614806107d857506014546001600160a01b0316336001600160a01b0316145b6107e157600080fd5b476107eb8161122b565b50565b6001600160a01b0381166000908152600260205260408120546106a1906112c0565b6000546001600160a01b0316331461083a5760405162461bcd60e51b815260040161060d90611c8e565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146108ae5760405162461bcd60e51b815260040161060d90611c8e565b601755565b6000546001600160a01b031633146108dd5760405162461bcd60e51b815260040161060d90611c8e565b60168054911515600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146109255760405162461bcd60e51b815260040161060d90611c8e565b601955565b6000546001600160a01b031633146109545760405162461bcd60e51b815260040161060d90611c8e565b600993909355600b91909155600a55600c55565b600061069d338484610cb5565b6013546001600160a01b0316336001600160a01b031614806109aa57506014546001600160a01b0316336001600160a01b0316145b6109b357600080fd5b60006109be306107ee565b90506107eb81611344565b6000546001600160a01b031633146109f35760405162461bcd60e51b815260040161060d90611c8e565b60005b82811015610a72578160056000868685818110610a2357634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610a3891906119b7565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610a6a81611da1565b9150506109f6565b50505050565b6000546001600160a01b03163314610aa25760405162461bcd60e51b815260040161060d90611c8e565b601855565b6000546001600160a01b03163314610ad15760405162461bcd60e51b815260040161060d90611c8e565b6001600160a01b038116610b365760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161060d565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610bf35760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161060d565b6001600160a01b038216610c545760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161060d565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610d195760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161060d565b6001600160a01b038216610d7b5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161060d565b60008111610ddd5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161060d565b6000546001600160a01b03848116911614801590610e0957506000546001600160a01b03838116911614155b156110ea57601654600160a01b900460ff16610ea2576000546001600160a01b03848116911614610ea25760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c656400606482015260840161060d565b601754811115610ef45760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d697400000000604482015260640161060d565b6001600160a01b03831660009081526011602052604090205460ff16158015610f3657506001600160a01b03821660009081526011602052604090205460ff16155b610f8e5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b606482015260840161060d565b6016546001600160a01b038381169116146110135760185481610fb0846107ee565b610fba9190611d33565b106110135760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b606482015260840161060d565b600061101e306107ee565b6019546017549192508210159082106110375760175491505b80801561104e5750601654600160a81b900460ff16155b801561106857506016546001600160a01b03868116911614155b801561107d5750601654600160b01b900460ff165b80156110a257506001600160a01b03851660009081526005602052604090205460ff16155b80156110c757506001600160a01b03841660009081526005602052604090205460ff16155b156110e7576110d582611344565b4780156110e5576110e54761122b565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061112c57506001600160a01b03831660009081526005602052604090205460ff165b8061115e57506016546001600160a01b0385811691161480159061115e57506016546001600160a01b03848116911614155b1561116b575060006111e5565b6016546001600160a01b03858116911614801561119657506015546001600160a01b03848116911614155b156111a857600954600d55600a54600e555b6016546001600160a01b0384811691161480156111d357506015546001600160a01b03858116911614155b156111e557600b54600d55600c54600e555b610a72848484846114e9565b600081848411156112155760405162461bcd60e51b815260040161060d9190611c3b565b5060006112228486611d8a565b95945050505050565b6013546001600160a01b03166108fc611250606461124a856032611517565b90611596565b6040518115909202916000818181858888f19350505050158015611278573d6000803e3d6000fd5b506014546001600160a01b03166108fc611298606461124a856032611517565b6040518115909202916000818181858888f1935050505015801561068c573d6000803e3d6000fd5b60006006548211156113275760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b606482015260840161060d565b60006113316115d8565b905061133d8382611596565b9392505050565b6016805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061139a57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601554604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156113ee57600080fd5b505afa158015611402573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061142691906119d3565b8160018151811061144757634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201015260155461146d9130911684610b91565b60155460405163791ac94760e01b81526001600160a01b039091169063791ac947906114a6908590600090869030904290600401611cc3565b600060405180830381600087803b1580156114c057600080fd5b505af11580156114d4573d6000803e3d6000fd5b50506016805460ff60a81b1916905550505050565b806114f6576114f66115fb565b611501848484611629565b80610a7257610a72600f54600d55601054600e55565b600082611526575060006106a1565b60006115328385611d6b565b90508261153f8583611d4b565b1461133d5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161060d565b600061133d83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611720565b60008060006115e561174e565b90925090506115f48282611596565b9250505090565b600d5415801561160b5750600e54155b1561161257565b600d8054600f55600e805460105560009182905555565b60008060008060008061163b8761178c565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061166d90876117e9565b6001600160a01b03808b1660009081526002602052604080822093909355908a168152205461169c908661182b565b6001600160a01b0389166000908152600260205260409020556116be8161188a565b6116c884836118d4565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161170d91815260200190565b60405180910390a3505050505050505050565b600081836117415760405162461bcd60e51b815260040161060d9190611c3b565b5060006112228486611d4b565b600654600090819066038d7ea4c680006117688282611596565b8210156117835750506006549266038d7ea4c6800092509050565b90939092509050565b60008060008060008060008060006117a98a600d54600e546118f8565b92509250925060006117b96115d8565b905060008060006117cc8e878787611947565b919e509c509a509598509396509194505050505091939550919395565b600061133d83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506111f1565b6000806118388385611d33565b90508381101561133d5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161060d565b60006118946115d8565b905060006118a28383611517565b306000908152600260205260409020549091506118bf908261182b565b30600090815260026020526040902055505050565b6006546118e190836117e9565b6006556007546118f1908261182b565b6007555050565b600080808061190c606461124a8989611517565b9050600061191f606461124a8a89611517565b90506000611937826119318b866117e9565b906117e9565b9992985090965090945050505050565b60008080806119568886611517565b905060006119648887611517565b905060006119728888611517565b905060006119848261193186866117e9565b939b939a50919850919650505050505050565b80356119a281611de8565b919050565b803580151581146119a257600080fd5b6000602082840312156119c8578081fd5b813561133d81611de8565b6000602082840312156119e4578081fd5b815161133d81611de8565b60008060408385031215611a01578081fd5b8235611a0c81611de8565b91506020830135611a1c81611de8565b809150509250929050565b600080600060608486031215611a3b578081fd5b8335611a4681611de8565b92506020840135611a5681611de8565b929592945050506040919091013590565b60008060408385031215611a79578182fd5b8235611a8481611de8565b946020939093013593505050565b600080600060408486031215611aa6578283fd5b833567ffffffffffffffff80821115611abd578485fd5b818601915086601f830112611ad0578485fd5b813581811115611ade578586fd5b8760208260051b8501011115611af2578586fd5b602092830195509350611b0891860190506119a7565b90509250925092565b60006020808385031215611b23578182fd5b823567ffffffffffffffff80821115611b3a578384fd5b818501915085601f830112611b4d578384fd5b813581811115611b5f57611b5f611dd2565b8060051b604051601f19603f83011681018181108582111715611b8457611b84611dd2565b604052828152858101935084860182860187018a1015611ba2578788fd5b8795505b83861015611bcb57611bb781611997565b855260019590950194938601938601611ba6565b5098975050505050505050565b600060208284031215611be9578081fd5b61133d826119a7565b600060208284031215611c03578081fd5b5035919050565b60008060008060808587031215611c1f578081fd5b5050823594602084013594506040840135936060013592509050565b6000602080835283518082850152825b81811015611c6757858101830151858201604001528201611c4b565b81811115611c785783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611d125784516001600160a01b031683529383019391830191600101611ced565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611d4657611d46611dbc565b500190565b600082611d6657634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611d8557611d85611dbc565b500290565b600082821015611d9c57611d9c611dbc565b500390565b6000600019821415611db557611db5611dbc565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146107eb57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122034efdca1cf0c1ee035e4fd54302ce3910ba9e02f8f0222f72b6add6fb7abb27464736f6c63430008040033