60806040526005805460ff1916600117905560146006819055603c6007555f60088190556009818155600a838155600b93909355600c839055600d91909155620000499162000348565b62000059906301312d006200035f565b600e556200006a6009600a62000348565b6200007a906301312d006200035f565b600f556200008b6009600a62000348565b6200009a90621e84806200035f565b601055620000ab6009600a62000348565b620000ba9062e4e1c06200035f565b6011556013805461ffff60a81b19169055348015620000d7575f80fd5b505f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060058054610100600160a81b03191661010033021790556200013d6009600a62000348565b6200014d90633b9aca006200035f565b335f908152600160208190526040822092909255600390620001765f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff1996871617905530815260039093528183208054851660019081179091556005546101009004909116835291208054909216179055620001d93390565b6001600160a01b03165f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef620002126009600a62000348565b6200022290633b9aca006200035f565b60405190815260200160405180910390a362000379565b634e487b7160e01b5f52601160045260245ffd5b600181815b808511156200028d57815f190482111562000271576200027162000239565b808516156200027f57918102915b93841c939080029062000252565b509250929050565b5f82620002a55750600162000342565b81620002b357505f62000342565b8160018114620002cc5760028114620002d757620002f7565b600191505062000342565b60ff841115620002eb57620002eb62000239565b50506001821b62000342565b5060208310610133831016604e8410600b84101617156200031c575081810a62000342565b6200032883836200024d565b805f19048211156200033e576200033e62000239565b0290505b92915050565b5f6200035860ff84168362000295565b9392505050565b808202811582820484141762000342576200034262000239565b61183080620003875f395ff3fe608060405260043610610113575f3560e01c80637d1db4a51161009d578063a9059cbb11610062578063a9059cbb146102f2578063bf474bed14610311578063c876d0b914610326578063c9567bf91461033f578063dd62ed3e14610353575f80fd5b80637d1db4a5146102625780638da5cb5b146102775780638f9a55c01461029d57806395d89b41146102b2578063a1780c18146102de575f80fd5b806323b872dd116100e357806323b872dd146101ca578063313ce567146101e957806356cd40e71461020457806370a082311461021a578063715018a61461024e575f80fd5b806306fdde031461011e578063095ea7b3146101645780630faee56f1461019357806318160ddd146101b6575f80fd5b3661011a57005b5f80fd5b348015610129575f80fd5b5060408051808201909152600c81526b43686f702054686520446f6760a01b60208201525b60405161015b9190611423565b60405180910390f35b34801561016f575f80fd5b5061018361017e366004611485565b610397565b604051901515815260200161015b565b34801561019e575f80fd5b506101a860115481565b60405190815260200161015b565b3480156101c1575f80fd5b506101a86103ad565b3480156101d5575f80fd5b506101836101e43660046114af565b6103cd565b3480156101f4575f80fd5b506040516009815260200161015b565b34801561020f575f80fd5b50610218610434565b005b348015610225575f80fd5b506101a86102343660046114ed565b6001600160a01b03165f9081526001602052604090205490565b348015610259575f80fd5b506102186104f8565b34801561026d575f80fd5b506101a8600e5481565b348015610282575f80fd5b505f546040516001600160a01b03909116815260200161015b565b3480156102a8575f80fd5b506101a8600f5481565b3480156102bd575f80fd5b50604080518082019091526004815263043484f560e41b602082015261014e565b3480156102e9575f80fd5b50610218610569565b3480156102fd575f80fd5b5061018361030c366004611485565b6105c9565b34801561031c575f80fd5b506101a860105481565b348015610331575f80fd5b506005546101839060ff1681565b34801561034a575f80fd5b506102186105d5565b34801561035e575f80fd5b506101a861036d366004611508565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f6103a333848461097e565b5060015b92915050565b5f6103ba6009600a611633565b6103c890633b9aca00611641565b905090565b5f6103d9848484610aa1565b61042a8433610425856040518060600160405280602881526020016117d3602891396001600160a01b038a165f908152600260209081526040808320338452909152902054919061109b565b61097e565b5060019392505050565b5f546001600160a01b031633146104665760405162461bcd60e51b815260040161045d90611658565b60405180910390fd5b6104726009600a611633565b61048090633b9aca00611641565b600e5561048f6009600a611633565b61049d90633b9aca00611641565b600f556005805460ff191690557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6104d76009600a611633565b6104e590633b9aca00611641565b60405190815260200160405180910390a1565b5f546001600160a01b031633146105215760405162461bcd60e51b815260040161045d90611658565b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b60055461010090046001600160a01b0316336001600160a01b03161461058d575f80fd5b305f9081526001602052604090205480156105ab576105ab816110d3565b476729a2241af62c00008111156105c5576105c581611243565b5050565b5f6103a3338484610aa1565b5f546001600160a01b031633146105fe5760405162461bcd60e51b815260040161045d90611658565b601354600160a01b900460ff16156106585760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e000000000000000000604482015260640161045d565b601280546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d9081179091556106a19030906106936009600a611633565b61042590633b9aca00611641565b60125f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106f1573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610715919061168d565b6001600160a01b031663c9c653963060125f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610774573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610798919061168d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156107e2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610806919061168d565b601380546001600160a01b039283166001600160a01b03199091161790556012541663f305d719473061084d816001600160a01b03165f9081526001602052604090205490565b5f806108605f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156108c6573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906108eb91906116a8565b505060135460125460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af1158015610940573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096491906116d3565b506013805462ff00ff60a01b19166201000160a01b179055565b6001600160a01b0383166109e05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b606482015260840161045d565b6001600160a01b038216610a415760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840161045d565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b055760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260840161045d565b6001600160a01b038216610b675760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b606482015260840161045d565b5f8111610bc85760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b606482015260840161045d565b5f80546001600160a01b03858116911614801590610bf357505f546001600160a01b03848116911614155b15610f5e57610c246064610c1e600a54600d5411610c1357600654610c17565b6008545b859061127e565b90611303565b60055490915060ff1615610d3057600c54600d5410610c4557600e54610c55565b600d54600e54610c5591906116f2565b600e556012546001600160a01b03848116911614801590610c8457506013546001600160a01b03848116911614155b15610d3057325f908152600460205260409020544311610d1e5760405162461bcd60e51b815260206004820152604960248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201527f65642e20204f6e6c79206f6e652070757263686173652070657220626c6f636b6064820152681030b63637bbb2b21760b91b608482015260a40161045d565b325f9081526004602052604090204390555b6013546001600160a01b038581169116148015610d5b57506012546001600160a01b03848116911614155b8015610d7f57506001600160a01b0383165f9081526003602052604090205460ff16155b15610e6557600e54821115610dd65760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e00000000000000604482015260640161045d565b600f5482610df8856001600160a01b03165f9081526001602052604090205490565b610e029190611705565b1115610e505760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e000000000000604482015260640161045d565b600d8054905f610e5f83611718565b91905055505b6013546001600160a01b038481169116148015610e8b57506001600160a01b0384163014155b15610eb857610eb56064610c1e600b54600d5411610eab57600754610c17565b600954859061127e565b90505b305f90815260016020526040902054601354600160a81b900460ff16158015610eee57506013546001600160a01b038581169116145b8015610f035750601354600160b01b900460ff165b8015610f10575060105481115b8015610f1f5750600c54600d54115b15610f5c57610f41610f3c84610f3784601154611344565b611344565b6110d3565b4766b1a2bc2ec50000811115610f5a57610f5a47611243565b505b505b8015610fd657305f90815260016020526040902054610f7d9082611358565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610fcd9085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610ff890836113b6565b6001600160a01b0385165f9081526001602052604090205561103b61101d83836113b6565b6001600160a01b0385165f9081526001602052604090205490611358565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef61108485856113b6565b60405190815260200160405180910390a350505050565b5f81848411156110be5760405162461bcd60e51b815260040161045d9190611423565b505f6110ca84866116f2565b95945050505050565b6013805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061111957611119611730565b6001600160a01b03928316602091820292909201810191909152601254604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611170573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611194919061168d565b816001815181106111a7576111a7611730565b6001600160a01b0392831660209182029290920101526012546111cd913091168461097e565b60125460405163791ac94760e01b81526001600160a01b039091169063791ac947906112059085905f90869030904290600401611744565b5f604051808303815f87803b15801561121c575f80fd5b505af115801561122e573d5f803e3d5ffd5b50506013805460ff60a81b1916905550505050565b6005546040516101009091046001600160a01b0316906108fc8315029083905f818181858888f193505050501580156105c5573d5f803e3d5ffd5b5f825f0361128d57505f6103a7565b5f6112988385611641565b9050826112a585836117b3565b146112fc5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161045d565b9392505050565b5f6112fc83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506113f7565b5f81831161135257826112fc565b50919050565b5f806113648385611705565b9050838110156112fc5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161045d565b5f6112fc83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061109b565b5f81836114175760405162461bcd60e51b815260040161045d9190611423565b505f6110ca84866117b3565b5f6020808352835180828501525f5b8181101561144e57858101830151858201604001528201611432565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114611482575f80fd5b50565b5f8060408385031215611496575f80fd5b82356114a18161146e565b946020939093013593505050565b5f805f606084860312156114c1575f80fd5b83356114cc8161146e565b925060208401356114dc8161146e565b929592945050506040919091013590565b5f602082840312156114fd575f80fd5b81356112fc8161146e565b5f8060408385031215611519575f80fd5b82356115248161146e565b915060208301356115348161146e565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561158d57815f19048211156115735761157361153f565b8085161561158057918102915b93841c9390800290611558565b509250929050565b5f826115a3575060016103a7565b816115af57505f6103a7565b81600181146115c557600281146115cf576115eb565b60019150506103a7565b60ff8411156115e0576115e061153f565b50506001821b6103a7565b5060208310610133831016604e8410600b841016171561160e575081810a6103a7565b6116188383611553565b805f190482111561162b5761162b61153f565b029392505050565b5f6112fc60ff841683611595565b80820281158282048414176103a7576103a761153f565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f6020828403121561169d575f80fd5b81516112fc8161146e565b5f805f606084860312156116ba575f80fd5b8351925060208401519150604084015190509250925092565b5f602082840312156116e3575f80fd5b815180151581146112fc575f80fd5b818103818111156103a7576103a761153f565b808201808211156103a7576103a761153f565b5f600182016117295761172961153f565b5060010190565b634e487b7160e01b5f52603260045260245ffd5b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b818110156117925784516001600160a01b03168352938301939183019160010161176d565b50506001600160a01b03969096166060850152505050608001529392505050565b5f826117cd57634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220dfe732223327e964a7c77eb71cdd4fab2e066fc4a73e8467715732df6fe676b564736f6c63430008150033