60806040526200001b683635c9adc5dea0000060001962000347565b620000299060001962000323565b60095567016345785d8a0000600b556000600c55600b600d556801a055690d9db800006012556801a055690d9db800006013553480156200006957600080fd5b50604051620022ad380380620022ad8339810160408190526200008c91620002ec565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600e80546001600160a01b038085166001600160a01b031992831617909255600f805492841692909116919091179055600954600260006200010c3390565b6001600160a01b03166001600160a01b031681526020019081526020016000208190555060016005600062000146620002c060201b60201c565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790553081526005909352818320805485166001908117909155600e54821684528284208054861682179055600f54909116835290822080549093168117909255600690620001c86000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260069093528183208054851660019081179091557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e228054861682179055600e54821684528284208054861682179055600f54909116835291208054909216179055620002623390565b6001600160a01b0316306001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef683635c9adc5dea00000604051620002b091815260200190565b60405180910390a3505062000368565b6000546001600160a01b031690565b80516001600160a01b0381168114620002e757600080fd5b919050565b60008060408385031215620002ff578182fd5b6200030a83620002cf565b91506200031a60208401620002cf565b90509250929050565b6000828210156200034257634e487b7160e01b81526011600452602481fd5b500390565b6000826200036357634e487b7160e01b81526012600452602481fd5b500690565b611f3580620003786000396000f3fe6080604052600436106101855760003560e01c8063715018a6116100d1578063b515566a1161008a578063c9567bf911610064578063c9567bf9146104a1578063d94160e0146104b6578063dd62ed3e146104e6578063f42938901461052c57600080fd5b8063b515566a14610441578063c024666814610461578063c0a904a21461048157600080fd5b8063715018a61461038057806381bfdcca1461039557806389f425e7146103b55780638da5cb5b146103d557806395d89b41146103f3578063a9059cbb1461042157600080fd5b8063313ce5671161013e5780635342acb4116101185780635342acb4146102f05780635932ead114610320578063677daa571461034057806370a082311461036057600080fd5b8063313ce5671461028757806349bd5a5e146102a357806351bc3c85146102db57600080fd5b80630445b6671461019157806306fdde03146101ba578063095ea7b3146101f957806318160ddd1461022957806323b872dd14610245578063273123b71461026557600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b506101a7600b5481565b6040519081526020015b60405180910390f35b3480156101c657600080fd5b5060408051808201909152600d81526c5072696e63657373417a756c6160981b60208201525b6040516101b19190611d07565b34801561020557600080fd5b50610219610214366004611b98565b610541565b60405190151581526020016101b1565b34801561023557600080fd5b50683635c9adc5dea000006101a7565b34801561025157600080fd5b50610219610260366004611b2b565b610558565b34801561027157600080fd5b50610285610280366004611abb565b6105c1565b005b34801561029357600080fd5b50604051600981526020016101b1565b3480156102af57600080fd5b506011546102c3906001600160a01b031681565b6040516001600160a01b0390911681526020016101b1565b3480156102e757600080fd5b50610285610615565b3480156102fc57600080fd5b5061021961030b366004611abb565b60056020526000908152604090205460ff1681565b34801561032c57600080fd5b5061028561033b366004611c8a565b61064e565b34801561034c57600080fd5b5061028561035b366004611cc2565b610696565b34801561036c57600080fd5b506101a761037b366004611abb565b6106c5565b34801561038c57600080fd5b506102856106e7565b3480156103a157600080fd5b506102856103b0366004611cc2565b61075b565b3480156103c157600080fd5b506102856103d0366004611cc2565b61078a565b3480156103e157600080fd5b506000546001600160a01b03166102c3565b3480156103ff57600080fd5b50604080518082019091526005815264415a554c4160d81b60208201526101ec565b34801561042d57600080fd5b5061021961043c366004611b98565b6107b9565b34801561044d57600080fd5b5061028561045c366004611bc3565b6107c6565b34801561046d57600080fd5b5061028561047c366004611b6b565b61086a565b34801561048d57600080fd5b5061028561049c366004611b6b565b6108bf565b3480156104ad57600080fd5b50610285610914565b3480156104c257600080fd5b506102196104d1366004611abb565b60066020526000908152604090205460ff1681565b3480156104f257600080fd5b506101a7610501366004611af3565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561053857600080fd5b50610285610cff565b600061054e338484610d29565b5060015b92915050565b6000610565848484610e4d565b6105b784336105b285604051806060016040528060288152602001611ed8602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611293565b610d29565b5060019392505050565b6000546001600160a01b031633146105f45760405162461bcd60e51b81526004016105eb90611d5a565b60405180910390fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b600e546001600160a01b0316336001600160a01b03161461063557600080fd5b6000610640306106c5565b905061064b816112cd565b50565b6000546001600160a01b031633146106785760405162461bcd60e51b81526004016105eb90611d5a565b60118054911515600160b81b0260ff60b81b19909216919091179055565b6000546001600160a01b031633146106c05760405162461bcd60e51b81526004016105eb90611d5a565b601255565b6001600160a01b03811660009081526002602052604081205461055290611472565b6000546001600160a01b031633146107115760405162461bcd60e51b81526004016105eb90611d5a565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107855760405162461bcd60e51b81526004016105eb90611d5a565b601355565b6000546001600160a01b031633146107b45760405162461bcd60e51b81526004016105eb90611d5a565b600b55565b600061054e338484610e4d565b6000546001600160a01b031633146107f05760405162461bcd60e51b81526004016105eb90611d5a565b60005b81518110156108665760016007600084848151811061082257634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061085e81611e6d565b9150506107f3565b5050565b6000546001600160a01b031633146108945760405162461bcd60e51b81526004016105eb90611d5a565b6001600160a01b03919091166000908152600560205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146108e95760405162461bcd60e51b81526004016105eb90611d5a565b6001600160a01b03919091166000908152600660205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331461093e5760405162461bcd60e51b81526004016105eb90611d5a565b601154600160a01b900460ff16156109985760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e00000000000000000060448201526064016105eb565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556109d53082683635c9adc5dea00000610d29565b806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015610a0e57600080fd5b505afa158015610a22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a469190611ad7565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b158015610a8e57600080fd5b505afa158015610aa2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac69190611ad7565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015610b0e57600080fd5b505af1158015610b22573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b469190611ad7565b601180546001600160a01b0319166001600160a01b03928316178155601080548316600090815260066020526040808220805460ff1990811660019081179092559454861683529120805490931617909155541663f305d7194730610baa816106c5565b600080610bbf6000546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b158015610c2257600080fd5b505af1158015610c36573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610c5b9190611cda565b50506011805463ffff00ff60a01b198116630101000160a01b1790915560105460405163095ea7b360e01b81526001600160a01b03918216600482015260001960248201529116915063095ea7b390604401602060405180830381600087803b158015610cc757600080fd5b505af1158015610cdb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108669190611ca6565b600e546001600160a01b0316336001600160a01b031614610d1f57600080fd5b4761064b816114f6565b6001600160a01b038316610d8b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105eb565b6001600160a01b038216610dec5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105eb565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610eb15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105eb565b6001600160a01b038216610f135760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105eb565b80610f1d846106c5565b1015610f7a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105eb565b6000546001600160a01b03848116911614801590610fa657506000546001600160a01b03838116911614155b15611283576001600160a01b03831660009081526007602052604090205460ff16158015610fed57506001600160a01b03821660009081526007602052604090205460ff16155b610ff657600080fd5b6001600160a01b03831660009081526006602052604090205460ff16158061104f57506011546001600160a01b03848116911614801561104f57506001600160a01b03821660009081526006602052604090205460ff16155b156110bc576012548111156110bc5760405162461bcd60e51b815260206004820152602d60248201527f416e74692d7768616c653a205472616e7366657220616d6f756e74206578636560448201526c19591cc81b585e081b1a5b5a5d609a1b60648201526084016105eb565b6001600160a01b03821660009081526006602052604090205460ff1661115557601354816110e9846106c5565b6110f39190611dff565b11156111555760405162461bcd60e51b815260206004820152602b60248201527f416e74692d7768616c653a2057616c6c657420616d6f756e742065786365656460448201526a1cc81b585e081b1a5b5a5d60aa1b60648201526084016105eb565b6011546001600160a01b03848116911614801561118057506010546001600160a01b03838116911614155b80156111a557506001600160a01b03821660009081526005602052604090205460ff16155b80156111ba5750601154600160b81b900460ff165b15611208576001600160a01b03821660009081526008602052604090205442116111e357600080fd5b6111ee42603c611dff565b6001600160a01b0383166000908152600860205260409020555b6000611213306106c5565b601154909150600160a81b900460ff1615801561123e57506011546001600160a01b03858116911614155b80156112535750601154600160b01b900460ff165b80156112615750600b548110155b156112815761126f816112cd565b47801561127f5761127f476114f6565b505b505b61128e83838361157b565b505050565b600081848411156112b75760405162461bcd60e51b81526004016105eb9190611d07565b5060006112c48486611e56565b95945050505050565b6011805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061132357634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561137757600080fd5b505afa15801561138b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113af9190611ad7565b816001815181106113d057634e487b7160e01b600052603260045260246000fd5b6001600160a01b0392831660209182029290920101526010546113f69130911684610d29565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac9479061142f908590600090869030904290600401611d8f565b600060405180830381600087803b15801561144957600080fd5b505af115801561145d573d6000803e3d6000fd5b50506011805460ff60a81b1916905550505050565b60006009548211156114d95760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105eb565b60006114e3611586565b90506114ef83826115a9565b9392505050565b600e546001600160a01b03166108fc6115108360026115a9565b6040518115909202916000818181858888f19350505050158015611538573d6000803e3d6000fd5b50600f546001600160a01b03166108fc6115538360026115a9565b6040518115909202916000818181858888f19350505050158015610866573d6000803e3d6000fd5b61128e8383836115eb565b60008060006115936117ab565b90925090506115a282826115a9565b9250505090565b60006114ef83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117ed565b6000806000806000806115fd8761181b565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061162f9087611878565b6001600160a01b038a1660009081526002602090815260408083209390935560059052205460ff168061167a57506001600160a01b03881660009081526005602052604090205460ff165b15611703576001600160a01b0388166000908152600260205260409020546116a290876118ba565b6001600160a01b03808a1660008181526002602052604090819020939093559151908b16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906116f6908b815260200190565b60405180910390a36117a0565b6001600160a01b03881660009081526002602052604090205461172690866118ba565b6001600160a01b03891660009081526002602052604090205561174881611919565b6117528483611963565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161179791815260200190565b60405180910390a35b505050505050505050565b6009546000908190683635c9adc5dea000006117c782826115a9565b8210156117e457505060095492683635c9adc5dea0000092509050565b90939092509050565b6000818361180e5760405162461bcd60e51b81526004016105eb9190611d07565b5060006112c48486611e17565b60008060008060008060008060006118388a600c54600d54611987565b9250925092506000611848611586565b9050600080600061185b8e8787876119dc565b919e509c509a509598509396509194505050505091939550919395565b60006114ef83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611293565b6000806118c78385611dff565b9050838110156114ef5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105eb565b6000611923611586565b905060006119318383611a2c565b3060009081526002602052604090205490915061194e90826118ba565b30600090815260026020526040902055505050565b6009546119709083611878565b600955600a5461198090826118ba565b600a555050565b60008080806119a1606461199b8989611a2c565b906115a9565b905060006119b4606461199b8a89611a2c565b905060006119cc826119c68b86611878565b90611878565b9992985090965090945050505050565b60008080806119eb8886611a2c565b905060006119f98887611a2c565b90506000611a078888611a2c565b90506000611a19826119c68686611878565b939b939a50919850919650505050505050565b600082611a3b57506000610552565b6000611a478385611e37565b905082611a548583611e17565b146114ef5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105eb565b8035611ab681611eb4565b919050565b600060208284031215611acc578081fd5b81356114ef81611eb4565b600060208284031215611ae8578081fd5b81516114ef81611eb4565b60008060408385031215611b05578081fd5b8235611b1081611eb4565b91506020830135611b2081611eb4565b809150509250929050565b600080600060608486031215611b3f578081fd5b8335611b4a81611eb4565b92506020840135611b5a81611eb4565b929592945050506040919091013590565b60008060408385031215611b7d578182fd5b8235611b8881611eb4565b91506020830135611b2081611ec9565b60008060408385031215611baa578182fd5b8235611bb581611eb4565b946020939093013593505050565b60006020808385031215611bd5578182fd5b823567ffffffffffffffff80821115611bec578384fd5b818501915085601f830112611bff578384fd5b813581811115611c1157611c11611e9e565b8060051b604051601f19603f83011681018181108582111715611c3657611c36611e9e565b604052828152858101935084860182860187018a1015611c54578788fd5b8795505b83861015611c7d57611c6981611aab565b855260019590950194938601938601611c58565b5098975050505050505050565b600060208284031215611c9b578081fd5b81356114ef81611ec9565b600060208284031215611cb7578081fd5b81516114ef81611ec9565b600060208284031215611cd3578081fd5b5035919050565b600080600060608486031215611cee578283fd5b8351925060208401519150604084015190509250925092565b6000602080835283518082850152825b81811015611d3357858101830151858201604001528201611d17565b81811115611d445783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b81811015611dde5784516001600160a01b031683529383019391830191600101611db9565b50506001600160a01b03969096166060850152505050608001529392505050565b60008219821115611e1257611e12611e88565b500190565b600082611e3257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611e5157611e51611e88565b500290565b600082821015611e6857611e68611e88565b500390565b6000600019821415611e8157611e81611e88565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461064b57600080fd5b801515811461064b57600080fdfe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220cfb2bda285570953ab811d8462802b9f26fe6fd6e2d2b7c1ffbfe839e40f7d1064736f6c63430008040033000000000000000000000000f8fa096b3815243ff34d89e0126e9e510a30cbbc000000000000000000000000caef15ffbe9f42740e9f64f22d0358f67ed602ec