6080604052610017662386f26fc10000600019610162565b61002390600019610184565b600655600060088190556009819055600a818155600b819055600c829055600d819055600e91909155600f556012805473e0a0c30f4979aa8aee01426c93284e7863b9d97c6001600160a01b031991821681179092556013805490911690911790556015805462ffffff60a01b19166201000160a01b17905566071afd498d0000601655662386f26fc1000060175564e8d4a510006018553480156100c757600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600654336000818152600260209081526040808320949094559251662386f26fc100008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36101ab565b60008261017f57634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156101a557634e487b7160e01b600052601160045260246000fd5b92915050565b611c0d80620001bb6000396000f3fe6080604052600436106101855760003560e01c80637d1db4a5116100d1578063a9e282b81161008a578063d2a09c7111610064578063d2a09c7114610492578063dd62ed3e146104b2578063ea1644d5146104f8578063fc588c041461051857600080fd5b8063a9e282b81461042d578063bfd792841461044d578063c3c8cd801461047d57600080fd5b80637d1db4a5146103695780637f2feddc1461037f5780638da5cb5b146103ac5780638f9a55c0146103ca57806395d89b41146103e0578063a9059cbb1461040d57600080fd5b8063313ce5671161013e5780636c580801116101185780636c580801146102ff5780636fc3eaec1461031457806370a0823114610329578063789dfefe1461034957600080fd5b8063313ce567146102a157806340eed21d146102bd57806349bd5a5e146102df57600080fd5b806306fdde0314610191578063095ea7b3146101df5780631694505e1461020f57806318160ddd1461024757806323b872dd1461026b5780632fd689e31461028b57600080fd5b3661018c57005b600080fd5b34801561019d57600080fd5b50604080518082019091526013815272526f626f7465726120476f7665726e616e636560681b60208201525b6040516101d69190611823565b60405180910390f35b3480156101eb57600080fd5b506101ff6101fa366004611886565b610538565b60405190151581526020016101d6565b34801561021b57600080fd5b5060145461022f906001600160a01b031681565b6040516001600160a01b0390911681526020016101d6565b34801561025357600080fd5b50662386f26fc100005b6040519081526020016101d6565b34801561027757600080fd5b506101ff6102863660046118b2565b61054f565b34801561029757600080fd5b5061025d60185481565b3480156102ad57600080fd5b50604051600981526020016101d6565b3480156102c957600080fd5b506102dd6102d83660046118f3565b6105b8565b005b3480156102eb57600080fd5b5060155461022f906001600160a01b031681565b34801561030b57600080fd5b506102dd6105ff565b34801561032057600080fd5b506102dd610807565b34801561033557600080fd5b5061025d610344366004611925565b610852565b34801561035557600080fd5b506102dd610364366004611957565b610874565b34801561037557600080fd5b5061025d60165481565b34801561038b57600080fd5b5061025d61039a366004611925565b60116020526000908152604090205481565b3480156103b857600080fd5b506000546001600160a01b031661022f565b3480156103d657600080fd5b5061025d60175481565b3480156103ec57600080fd5b506040805180820190915260048152635441524f60e01b60208201526101c9565b34801561041957600080fd5b506101ff610428366004611886565b610915565b34801561043957600080fd5b506102dd6104483660046119db565b610922565b34801561045957600080fd5b506101ff610468366004611925565b60106020526000908152604090205460ff1681565b34801561048957600080fd5b506102dd610951565b34801561049e57600080fd5b506102dd6104ad3660046119f4565b6109a5565b3480156104be57600080fd5b5061025d6104cd366004611a0f565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b34801561050457600080fd5b506102dd6105133660046119db565b6109ed565b34801561052457600080fd5b506102dd6105333660046119db565b610a1c565b6000610545338484610a4b565b5060015b92915050565b600061055c848484610b6f565b6105ae84336105a985604051806060016040528060288152602001611bb0602891396001600160a01b038a16600090815260046020908152604080832033845290915290205491906110f6565b610a4b565b5060019392505050565b6000546001600160a01b031633146105eb5760405162461bcd60e51b81526004016105e290611a48565b60405180910390fd5b600893909355600a91909155600955600b55565b6000546001600160a01b031633146106295760405162461bcd60e51b81526004016105e290611a48565b601480546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556040805163c45a015560e01b81529051829163c45a01559160048083019260209291908290030181865afa15801561068e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b29190611a7d565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106ff573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107239190611a7d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107949190611a7d565b601580546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff199081166001908117909255308452828420805482168317905560125485168452828420805482168317905560135490941683529120805490921617905550565b6012546001600160a01b0316336001600160a01b0316148061083c57506013546001600160a01b0316336001600160a01b0316145b61084557600080fd5b4761084f81611130565b50565b6001600160a01b0381166000908152600260205260408120546105499061116e565b6000546001600160a01b0316331461089e5760405162461bcd60e51b81526004016105e290611a48565b60005b8281101561090f5781600560008686858181106108c0576108c0611a9a565b90506020020160208101906108d59190611925565b6001600160a01b031681526020810191909152604001600020805460ff19169115159190911790558061090781611ac6565b9150506108a1565b50505050565b6000610545338484610b6f565b6000546001600160a01b0316331461094c5760405162461bcd60e51b81526004016105e290611a48565b601855565b6012546001600160a01b0316336001600160a01b0316148061098657506013546001600160a01b0316336001600160a01b0316145b61098f57600080fd5b600061099a30610852565b905061084f816111f2565b6000546001600160a01b031633146109cf5760405162461bcd60e51b81526004016105e290611a48565b60158054911515600160b01b0260ff60b01b19909216919091179055565b6000546001600160a01b03163314610a175760405162461bcd60e51b81526004016105e290611a48565b601755565b6000546001600160a01b03163314610a465760405162461bcd60e51b81526004016105e290611a48565b601655565b6001600160a01b038316610aad5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105e2565b6001600160a01b038216610b0e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105e2565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610bd35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105e2565b6001600160a01b038216610c355760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105e2565b60008111610c975760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016105e2565b6001600160a01b03831660009081526010602052604090205460ff16158015610cd957506001600160a01b03821660009081526010602052604090205460ff16155b610ce257600080fd5b6000546001600160a01b03848116911614801590610d0e57506000546001600160a01b03838116911614155b15610fef57601554600160a01b900460ff16610da7576000546001600160a01b03848116911614610da75760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016105e2565b601654811115610df95760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d69740000000060448201526064016105e2565b6001600160a01b03831660009081526010602052604090205460ff16158015610e3b57506001600160a01b03821660009081526010602052604090205460ff16155b610e935760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201526265642160e81b60648201526084016105e2565b6015546001600160a01b03838116911614610f185760175481610eb584610852565b610ebf9190611adf565b10610f185760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c65742073696044820152627a652160e81b60648201526084016105e2565b6000610f2330610852565b601854601654919250821015908210610f3c5760165491505b808015610f535750601554600160a81b900460ff16155b8015610f6d57506015546001600160a01b03868116911614155b8015610f825750601554600160b01b900460ff165b8015610fa757506001600160a01b03851660009081526005602052604090205460ff16155b8015610fcc57506001600160a01b03841660009081526005602052604090205460ff16155b15610fec57610fda826111f2565b478015610fea57610fea47611130565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061103157506001600160a01b03831660009081526005602052604090205460ff165b8061106357506015546001600160a01b0385811691161480159061106357506015546001600160a01b03848116911614155b15611070575060006110ea565b6015546001600160a01b03858116911614801561109b57506014546001600160a01b03848116911614155b156110ad57600854600c55600954600d555b6015546001600160a01b0384811691161480156110d857506014546001600160a01b03858116911614155b156110ea57600a54600c55600b54600d555b61090f8484848461136c565b6000818484111561111a5760405162461bcd60e51b81526004016105e29190611823565b5060006111278486611af2565b95945050505050565b6013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561116a573d6000803e3d6000fd5b5050565b60006006548211156111d55760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201526965666c656374696f6e7360b01b60648201526084016105e2565b60006111df61139a565b90506111eb83826113bd565b9392505050565b6015805460ff60a81b1916600160a81b179055604080516002808252606082018352600092602083019080368337019050509050308160008151811061123a5761123a611a9a565b6001600160a01b03928316602091820292909201810191909152601454604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112b79190611a7d565b816001815181106112ca576112ca611a9a565b6001600160a01b0392831660209182029290920101526014546112f09130911684610a4b565b60145460405163791ac94760e01b81526001600160a01b039091169063791ac94790611329908590600090869030904290600401611b05565b600060405180830381600087803b15801561134357600080fd5b505af1158015611357573d6000803e3d6000fd5b50506015805460ff60a81b1916905550505050565b80611379576113796113ff565b61138484848461142d565b8061090f5761090f600e54600c55600f54600d55565b60008060006113a7611524565b90925090506113b682826113bd565b9250505090565b60006111eb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611562565b600c5415801561140f5750600d54155b1561141657565b600c8054600e55600d8054600f5560009182905555565b60008060008060008061143f87611590565b6001600160a01b038f16600090815260026020526040902054959b5093995091975095509350915061147190876115ed565b6001600160a01b03808b1660009081526002602052604080822093909355908a16815220546114a0908661162f565b6001600160a01b0389166000908152600260205260409020556114c28161168e565b6114cc84836116d8565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8560405161151191815260200190565b60405180910390a3505050505050505050565b6006546000908190662386f26fc1000061153e82826113bd565b82101561155957505060065492662386f26fc1000092509050565b90939092509050565b600081836115835760405162461bcd60e51b81526004016105e29190611823565b5060006111278486611b76565b60008060008060008060008060006115ad8a600c54600d546116fc565b92509250925060006115bd61139a565b905060008060006115d08e878787611751565b919e509c509a509598509396509194505050505091939550919395565b60006111eb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506110f6565b60008061163c8385611adf565b9050838110156111eb5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105e2565b600061169861139a565b905060006116a683836117a1565b306000908152600260205260409020549091506116c3908261162f565b30600090815260026020526040902055505050565b6006546116e590836115ed565b6006556007546116f5908261162f565b6007555050565b6000808080611716606461171089896117a1565b906113bd565b9050600061172960646117108a896117a1565b905060006117418261173b8b866115ed565b906115ed565b9992985090965090945050505050565b600080808061176088866117a1565b9050600061176e88876117a1565b9050600061177c88886117a1565b9050600061178e8261173b86866115ed565b939b939a50919850919650505050505050565b6000826000036117b357506000610549565b60006117bf8385611b98565b9050826117cc8583611b76565b146111eb5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105e2565b600060208083528351808285015260005b8181101561185057858101830151858201604001528201611834565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461084f57600080fd5b6000806040838503121561189957600080fd5b82356118a481611871565b946020939093013593505050565b6000806000606084860312156118c757600080fd5b83356118d281611871565b925060208401356118e281611871565b929592945050506040919091013590565b6000806000806080858703121561190957600080fd5b5050823594602084013594506040840135936060013592509050565b60006020828403121561193757600080fd5b81356111eb81611871565b8035801515811461195257600080fd5b919050565b60008060006040848603121561196c57600080fd5b833567ffffffffffffffff8082111561198457600080fd5b818601915086601f83011261199857600080fd5b8135818111156119a757600080fd5b8760208260051b85010111156119bc57600080fd5b6020928301955093506119d29186019050611942565b90509250925092565b6000602082840312156119ed57600080fd5b5035919050565b600060208284031215611a0657600080fd5b6111eb82611942565b60008060408385031215611a2257600080fd5b8235611a2d81611871565b91506020830135611a3d81611871565b809150509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215611a8f57600080fd5b81516111eb81611871565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201611ad857611ad8611ab0565b5060010190565b8082018082111561054957610549611ab0565b8181038181111561054957610549611ab0565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015611b555784516001600160a01b031683529383019391830191600101611b30565b50506001600160a01b03969096166060850152505050608001529392505050565b600082611b9357634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761054957610549611ab056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a26469706673582212206f0605d121c73a4f67b256fe35bc332d07f654abb4854edc6bf205062be7209464736f6c63430008110033