60806040526200001a67016345785d8a000060001962000392565b6200002890600019620003b5565b600655600060088190556019600955600a8190556023600b819055600c829055600d819055600e91909155600f556012805473cc97ec10cd569bbc4ad6a5767fb1d022e75092d56001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b191661010160a81b17905566071afd498d0000601681905560175564174876e800601855348015620000c857600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a01559260048083019392829003018186803b1580156200018157600080fd5b505afa15801562000196573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001bc9190620003db565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200020557600080fd5b505afa1580156200021a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002409190620003db565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200028957600080fd5b505af11580156200029e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002c49190620003db565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601254851684528284208054821683179055601354909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef67016345785d8a00006040516200038391815260200190565b60405180910390a3506200040d565b600082620003b057634e487b7160e01b600052601260045260246000fd5b500690565b600082821015620003d657634e487b7160e01b600052601160045260246000fd5b500390565b600060208284031215620003ee57600080fd5b81516001600160a01b03811681146200040657600080fd5b9392505050565b611c4f806200041d6000396000f3fe6080604052600436106101c65760003560e01c80637830b072116100f7578063a9059cbb11610095578063dd62ed3e11610064578063dd62ed3e1461052a578063ea1644d514610570578063f2fde38b14610590578063fbcaa8ed146105b057600080fd5b8063a9059cbb146104a5578063bfd79284146104c5578063c3c8cd80146104f5578063c492f0461461050a57600080fd5b80638da5cb5b116100d15780638da5cb5b1461041a5780638f70ccf71461043857806395d89b411461045857806398a5c3151461048557600080fd5b80637830b072146103c15780637f2feddc146103d757806382247ec01461040457600080fd5b8063313ce567116101645780636fc3eaec1161013e5780636fc3eaec1461035757806370a082311461036c578063715018a61461038c57806374010ece146103a157600080fd5b8063313ce567146102fb57806349bd5a5e146103175780636d8aa8f81461033757600080fd5b806318160ddd116101a057806318160ddd1461027e57806320c09a49146102a357806323b872dd146102c55780632fd689e3146102e557600080fd5b806306fdde03146101d2578063095ea7b3146102165780631694505e1461024657600080fd5b366101cd57005b600080fd5b3480156101de57600080fd5b50604080518082019091526009815268282aa6a82a27a122a960b91b60208201525b60405161020d919061184b565b60405180910390f35b34801561022257600080fd5b506102366102313660046118b5565b6105c5565b604051901515815260200161020d565b34801561025257600080fd5b50601454610266906001600160a01b031681565b6040516001600160a01b03909116815260200161020d565b34801561028a57600080fd5b5067016345785d8a00005b60405190815260200161020d565b3480156102af57600080fd5b506102c36102be3660046118e1565b6105dc565b005b3480156102d157600080fd5b506102366102e0366004611913565b610623565b3480156102f157600080fd5b5061029560185481565b34801561030757600080fd5b506040516009815260200161020d565b34801561032357600080fd5b50601554610266906001600160a01b031681565b34801561034357600080fd5b506102c3610352366004611969565b61068c565b34801561036357600080fd5b506102c36106d4565b34801561037857600080fd5b50610295610387366004611984565b61071f565b34801561039857600080fd5b506102c3610741565b3480156103ad57600080fd5b506102c36103bc3660046119a1565b6107b5565b3480156103cd57600080fd5b5061029560165481565b3480156103e357600080fd5b506102956103f2366004611984565b60116020526000908152604090205481565b34801561041057600080fd5b5061029560175481565b34801561042657600080fd5b506000546001600160a01b0316610266565b34801561044457600080fd5b506102c3610453366004611969565b6107e4565b34801561046457600080fd5b50604080518082019091526004815263050554d560e41b6020820152610200565b34801561049157600080fd5b506102c36104a03660046119a1565b61082c565b3480156104b157600080fd5b506102366104c03660046118b5565b61085b565b3480156104d157600080fd5b506102366104e0366004611984565b60106020526000908152604090205460ff1681565b34801561050157600080fd5b506102c3610868565b34801561051657600080fd5b506102c36105253660046119ba565b6108bc565b34801561053657600080fd5b50610295610545366004611a3e565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561057c57600080fd5b506102c361058b3660046119a1565b61095d565b34801561059c57600080fd5b506102c36105ab366004611984565b61098c565b3480156105bc57600080fd5b506102c3610a76565b60006105d2338484610ab6565b5060015b92915050565b6000546001600160a01b0316331461060f5760405162461bcd60e51b815260040161060690611a77565b60405180910390fd5b600893909355600a91909155600955600b55565b6000610630848484610bda565b610682843361067d85604051806060016040528060288152602001611bf2602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611116565b610ab6565b5060019392505050565b6000546001600160a01b031633146106b65760405162461bcd60e51b815260040161060690611a77565b60158054911515600160a81b0260ff60a81b19909216919091179055565b6012546001600160a01b0316336001600160a01b0316148061070957506013546001600160a01b0316336001600160a01b0316145b61071257600080fd5b4761071c81611150565b50565b6001600160a01b0381166000908152600260205260408120546105d69061118e565b6000546001600160a01b0316331461076b5760405162461bcd60e51b815260040161060690611a77565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146107df5760405162461bcd60e51b815260040161060690611a77565b601655565b6000546001600160a01b0316331461080e5760405162461bcd60e51b815260040161060690611a77565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6000546001600160a01b031633146108565760405162461bcd60e51b815260040161060690611a77565b601855565b60006105d2338484610bda565b6012546001600160a01b0316336001600160a01b0316148061089d57506013546001600160a01b0316336001600160a01b0316145b6108a657600080fd5b60006108b13061071f565b905061071c81611212565b6000546001600160a01b031633146108e65760405162461bcd60e51b815260040161060690611a77565b60005b8281101561095757816005600086868581811061090857610908611aac565b905060200201602081019061091d9190611984565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061094f81611ad8565b9150506108e9565b50505050565b6000546001600160a01b031633146109875760405162461bcd60e51b815260040161060690611a77565b601755565b6000546001600160a01b031633146109b65760405162461bcd60e51b815260040161060690611a77565b6001600160a01b038116610a1b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610606565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b03163314610aa05760405162461bcd60e51b815260040161060690611a77565b6a52b7d2dcc80cd2e40000006017819055601655565b6001600160a01b038316610b185760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610606565b6001600160a01b038216610b795760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610606565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610c3e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610606565b6001600160a01b038216610ca05760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610606565b60008111610d025760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610606565b6000546001600160a01b03848116911614801590610d2e57506000546001600160a01b03838116911614155b1561100f57601554600160b01b900460ff16610dc7576000546001600160a01b03848116911614610dc75760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610606565b601654811115610e195760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610606565b6001600160a01b03831660009081526010602052604090205460ff16158015610e5b57506001600160a01b03821660009081526010602052604090205460ff16155b610eb35760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b6064820152608401610606565b6015546001600160a01b03838116911614610f385760175481610ed58461071f565b610edf9190611af3565b10610f385760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b6064820152608401610606565b6000610f433061071f565b601854601654919250821015908210610f5c5760165491505b808015610f735750601554600160a01b900460ff16155b8015610f8d57506015546001600160a01b03868116911614155b8015610fa25750601554600160a81b900460ff165b8015610fc757506001600160a01b03851660009081526005602052604090205460ff16155b8015610fec57506001600160a01b03841660009081526005602052604090205460ff16155b1561100c57610ffa82611212565b47801561100a5761100a47611150565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061105157506001600160a01b03831660009081526005602052604090205460ff165b8061108357506015546001600160a01b0385811691161480159061108357506015546001600160a01b03848116911614155b156110905750600061110a565b6015546001600160a01b0385811691161480156110bb57506014546001600160a01b03848116911614155b156110cd57600854600c55600954600d555b6015546001600160a01b0384811691161480156110f857506014546001600160a01b03858116911614155b1561110a57600a54600c55600b54600d555b61095784848484611395565b6000818484111561113a5760405162461bcd60e51b8152600401610606919061184b565b5060006111478486611b0b565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561118a573d6000803e3d6000fd5b5050565b60006006548211156111f55760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b6064820152608401610606565b60006111ff6113c3565b905061120b83826113e6565b9392505050565b6015805460ff60a01b19169055604080516002808252606082018352600092602083019080368337019050509050308160008151811061125457611254611aac565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b1580156112a857600080fd5b505afa1580156112bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112e09190611b22565b816001815181106112f3576112f3611aac565b6001600160a01b0392831660209182029290920101526014546113199130911684610ab6565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611352908590600090869030904290600401611b3f565b600060405180830381600087803b15801561136c57600080fd5b505af1158015611380573d6000803e3d6000fd5b50506015805460ff60a01b1916905550505050565b806113a2576113a2611428565b6113ad848484611456565b8061095757610957600e54600c55600f54600d55565b60008060006113d061154d565b90925090506113df82826113e6565b9250505090565b600061120b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061158d565b600c541580156114385750600d54155b1561143f57565b600c8054600e55600d8054600f5560009182905555565b600080600080600080611468876115bb565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061149a9087611618565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546114c9908661165a565b6001600160a01b0389166000908152600260205260409020556114eb816116b9565b6114f58483611703565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161153a91815260200190565b60405180910390a3505050505050505050565b600654600090819067016345785d8a000061156882826113e6565b8210156115845750506006549267016345785d8a000092509050565b90939092509050565b600081836115ae5760405162461bcd60e51b8152600401610606919061184b565b5060006111478486611bb0565b60008060008060008060008060006115d88a600c54600d54611727565b92509250925060006115e86113c3565b905060008060006115fb8e87878761177c565b919e509c509a509598509396509194505050505091939550919395565b600061120b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611116565b6000806116678385611af3565b90508381101561120b5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610606565b60006116c36113c3565b905060006116d183836117cc565b306000908152600260205260409020549091506116ee908261165a565b30600090815260026020526040902055505050565b6006546117109083611618565b600655600754611720908261165a565b6007555050565b6000808080611741606461173b89896117cc565b906113e6565b90506000611754606461173b8a896117cc565b9050600061176c826117668b86611618565b90611618565b9992985090965090945050505050565b600080808061178b88866117cc565b9050600061179988876117cc565b905060006117a788886117cc565b905060006117b9826117668686611618565b939b939a50919850919650505050505050565b6000826117db575060006105d6565b60006117e78385611bd2565b9050826117f48583611bb0565b1461120b5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610606565b600060208083528351808285015260005b818110156118785785810183015185820160400152820161185c565b8181111561188a576000604083870101525b50601f01601f1916929092016040019392505050565b6001600160a01b038116811461071c57600080fd5b600080604083850312156118c857600080fd5b82356118d3816118a0565b946020939093013593505050565b600080600080608085870312156118f757600080fd5b5050823594602084013594506040840135936060013592509050565b60008060006060848603121561192857600080fd5b8335611933816118a0565b92506020840135611943816118a0565b929592945050506040919091013590565b8035801515811461196457600080fd5b919050565b60006020828403121561197b57600080fd5b61120b82611954565b60006020828403121561199657600080fd5b813561120b816118a0565b6000602082840312156119b357600080fd5b5035919050565b6000806000604084860312156119cf57600080fd5b833567ffffffffffffffff808211156119e757600080fd5b818601915086601f8301126119fb57600080fd5b813581811115611a0a57600080fd5b8760208260051b8501011115611a1f57600080fd5b602092830195509350611a359186019050611954565b90509250925092565b60008060408385031215611a5157600080fd5b8235611a5c816118a0565b91506020830135611a6c816118a0565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b6000600019821415611aec57611aec611ac2565b5060010190565b60008219821115611b0657611b06611ac2565b500190565b600082821015611b1d57611b1d611ac2565b500390565b600060208284031215611b3457600080fd5b815161120b816118a0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b8f5784516001600160a01b031683529383019391830191600101611b6a565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611bcd57634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611bec57611bec611ac2565b50029056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220dc5418c134915172b05099f2aaf79a717987979519956a2b9146dac8436b4c6e64736f6c63430008090033