6080604052600a600655600a6007555f6008555f600955600f600a55600a600b555f600c556009600a61003291906102e2565b61003f90621e84806102f7565b600d5561004e6009600a6102e2565b61005b90621e84806102f7565b600e5561006a6009600a6102e2565b61007790620f42406102f7565b600f556011805461ffff60a81b191690555f80546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600580546001600160a01b03199081163317909155600480549091167373532d120abd74818be3b9584cfaceb866930bcc1790556101086009600a6102e2565b610116906305f5e1006102f7565b305f90815260016020819052604082209290925560039061013e5f546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182015f908120805495151560ff199687161790553080825260039094528281208054861660019081179091556004549092168152918220805490941617909255907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6101c56009600a6102e2565b6101d3906305f5e1006102f7565b60405190815260200160405180910390a361030e565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156102385780850481111561021c5761021c6101e9565b600184161561022a57908102905b60019390931c928002610201565b935093915050565b5f8261024e575060016102dc565b8161025a57505f6102dc565b8160018114610270576002811461027a57610296565b60019150506102dc565b60ff84111561028b5761028b6101e9565b50506001821b6102dc565b5060208310610133831016604e8410600b84101617156102b9575081810a6102dc565b6102c55f1984846101fd565b805f19048211156102d8576102d86101e9565b0290505b92915050565b5f6102f060ff841683610240565b9392505050565b80820281158282048414176102dc576102dc6101e9565b6117588061031b5f395ff3fe608060405260043610610108575f3560e01c80637d1db4a51161009257806395d89b411161006257806395d89b41146102cc578063a9059cbb146102f8578063b3a12f2714610317578063cafc6ef114610336578063dd62ed3e1461034a575f5ffd5b80637d1db4a5146102685780638a8c523c1461027d5780638da5cb5b146102915780638f9a55c0146102b7575f5ffd5b806323b872dd116100d857806323b872dd146101d0578063313ce567146101ef57806370a082311461020a578063715018a61461023e578063751039fc14610254575f5ffd5b806306fdde0314610113578063095ea7b31461016a5780630faee56f1461019957806318160ddd146101bc575f5ffd5b3661010f57005b5f5ffd5b34801561011e575f5ffd5b5060408051808201909152601781527f4d616b652043727970746f20477265617420416761696e00000000000000000060208201525b604051610161919061135d565b60405180910390f35b348015610175575f5ffd5b506101896101843660046113a9565b61038e565b6040519015158152602001610161565b3480156101a4575f5ffd5b506101ae600f5481565b604051908152602001610161565b3480156101c7575f5ffd5b506101ae6103a4565b3480156101db575f5ffd5b506101896101ea3660046113d3565b6103c4565b3480156101fa575f5ffd5b5060405160098152602001610161565b348015610215575f5ffd5b506101ae610224366004611411565b6001600160a01b03165f9081526001602052604090205490565b348015610249575f5ffd5b50610252610468565b005b34801561025f575f5ffd5b506102526104e2565b348015610273575f5ffd5b506101ae600d5481565b348015610288575f5ffd5b50610252610593565b34801561029c575f5ffd5b505f546040516001600160a01b039091168152602001610161565b3480156102c2575f5ffd5b506101ae600e5481565b3480156102d7575f5ffd5b506040805180820190915260048152634d43474160e01b6020820152610154565b348015610303575f5ffd5b506101896103123660046113a9565b61093c565b348015610322575f5ffd5b50610252610331366004611411565b610948565b348015610341575f5ffd5b506102526109a8565b348015610355575f5ffd5b506101ae61036436600461142c565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b5f61039a3384846109f5565b5060015b92915050565b5f6103b16009600a61155a565b6103bf906305f5e100611568565b905090565b5f6103d0848484610b18565b6004546001600160a01b0316336001600160a01b03161415801561040857506005546001600160a01b0316336001600160a01b031614155b1561045e5761045e8433610459856040518060600160405280602881526020016116fb602891396001600160a01b038a165f9081526002602090815260408083203384529091529020549190610fd9565b6109f5565b5060019392505050565b5f546001600160a01b0316331461049a5760405162461bcd60e51b81526004016104919061157f565b60405180910390fd5b5f80546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a35f80546001600160a01b0319169055565b5f546001600160a01b0316331461050b5760405162461bcd60e51b81526004016104919061157f565b6105176009600a61155a565b610525906305f5e100611568565b600d556105346009600a61155a565b610542906305f5e100611568565b600e557f947f344d56e1e8c70dc492fb94c4ddddd490c016aab685f5e7e47b2e85cb44cf6105726009600a61155a565b610580906305f5e100611568565b60405190815260200160405180910390a1565b5f546001600160a01b031633146105bc5760405162461bcd60e51b81526004016104919061157f565b601154600160a01b900460ff16156106165760405162461bcd60e51b815260206004820152601760248201527f74726164696e6720697320616c7265616479206f70656e0000000000000000006044820152606401610491565b601080546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d90811790915561065f9030906106516009600a61155a565b610459906305f5e100611568565b60105f9054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106af573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106d391906115b4565b6001600160a01b031663c9c653963060105f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610732573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061075691906115b4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156107a0573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107c491906115b4565b601180546001600160a01b039283166001600160a01b03199091161790556010541663f305d719473061080b816001600160a01b03165f9081526001602052604090205490565b5f5f61081e5f546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610884573d5f5f3e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906108a991906115cf565b505060115460105460405163095ea7b360e01b81526001600160a01b0391821660048201525f1960248201529116915063095ea7b3906044016020604051808303815f875af11580156108fe573d5f5f3e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061092291906115fa565b506011805462ff00ff60a01b19166201000160a01b179055565b5f61039a338484610b18565b6005546001600160a01b0316331461095e575f5ffd5b600480546001600160a01b0383166001600160a01b031990911617905560405133904780156108fc02915f818181858888f193505050501580156109a4573d5f5f3e3d5ffd5b5050565b6004546001600160a01b0316336001600160a01b0316146109c7575f5ffd5b305f9081526001602052604090205480156109e5576109e581611011565b4780156109a4576109a481611181565b6001600160a01b038316610a575760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610491565b6001600160a01b038216610ab85760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610491565b6001600160a01b038381165f8181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610b7c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610491565b6001600160a01b038216610bde5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610491565b5f8111610c3f5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b6064820152608401610491565b5f6001600160a01b0384163014801590610c6257506001600160a01b0383163014155b15610e9c57610c936064610c8d600a54600c5411610c8257600654610c86565b6008545b85906111b8565b9061123d565b6011549091506001600160a01b038581169116148015610cc157506010546001600160a01b03848116911614155b8015610ce557506001600160a01b0383165f9081526003602052604090205460ff16155b15610dcb57600d54821115610d3c5760405162461bcd60e51b815260206004820152601960248201527f4578636565647320746865205f6d61785478416d6f756e742e000000000000006044820152606401610491565b600e5482610d5e856001600160a01b03165f9081526001602052604090205490565b610d689190611619565b1115610db65760405162461bcd60e51b815260206004820152601a60248201527f4578636565647320746865206d617857616c6c657453697a652e0000000000006044820152606401610491565b600c8054905f610dc58361162c565b91905055505b6011546001600160a01b038481169116148015610df157506001600160a01b0384163014155b15610e1e57610e1b6064610c8d600b54600c5411610e1157600754610c86565b60095485906111b8565b90505b305f90815260016020526040902054601154600160a81b900460ff16158015610e5457506011546001600160a01b038581169116145b8015610e695750601154600160b01b900460ff165b15610e9a578015610e9157610e91610e8c84610e8784600f5461127e565b61127e565b611011565b610e9a47611181565b505b8015610f1457305f90815260016020526040902054610ebb9082611292565b305f81815260016020526040908190209290925590516001600160a01b038616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610f0b9085815260200190565b60405180910390a35b6001600160a01b0384165f90815260016020526040902054610f3690836112f0565b6001600160a01b0385165f90815260016020526040902055610f79610f5b83836112f0565b6001600160a01b0385165f9081526001602052604090205490611292565b6001600160a01b038085165f8181526001602052604090209290925585167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef610fc285856112f0565b60405190815260200160405180910390a350505050565b5f8184841115610ffc5760405162461bcd60e51b8152600401610491919061135d565b505f6110088486611644565b95945050505050565b6011805460ff60a81b1916600160a81b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061105757611057611657565b6001600160a01b03928316602091820292909201810191909152601054604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa1580156110ae573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110d291906115b4565b816001815181106110e5576110e5611657565b6001600160a01b03928316602091820292909201015260105461110b91309116846109f5565b60105460405163791ac94760e01b81526001600160a01b039091169063791ac947906111439085905f9086903090429060040161166b565b5f604051808303815f87803b15801561115a575f5ffd5b505af115801561116c573d5f5f3e3d5ffd5b50506011805460ff60a81b1916905550505050565b6004546040516001600160a01b039091169082156108fc029083905f818181858888f193505050501580156109a4573d5f5f3e3d5ffd5b5f825f036111c757505f61039e565b5f6111d28385611568565b9050826111df85836116db565b146112365760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610491565b9392505050565b5f61123683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611331565b5f81831161128c5782611236565b50919050565b5f8061129e8385611619565b9050838110156112365760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610491565b5f61123683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fd9565b5f81836113515760405162461bcd60e51b8152600401610491919061135d565b505f61100884866116db565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146113a6575f5ffd5b50565b5f5f604083850312156113ba575f5ffd5b82356113c581611392565b946020939093013593505050565b5f5f5f606084860312156113e5575f5ffd5b83356113f081611392565b9250602084013561140081611392565b929592945050506040919091013590565b5f60208284031215611421575f5ffd5b813561123681611392565b5f5f6040838503121561143d575f5ffd5b823561144881611392565b9150602083013561145881611392565b809150509250929050565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156114b25780850481111561149657611496611463565b60018416156114a457908102905b60019390931c92800261147b565b935093915050565b5f826114c85750600161039e565b816114d457505f61039e565b81600181146114ea57600281146114f457611510565b600191505061039e565b60ff84111561150557611505611463565b50506001821b61039e565b5060208310610133831016604e8410600b8410161715611533575081810a61039e565b61153f5f198484611477565b805f190482111561155257611552611463565b029392505050565b5f61123660ff8416836114ba565b808202811582820484141761039e5761039e611463565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b5f602082840312156115c4575f5ffd5b815161123681611392565b5f5f5f606084860312156115e1575f5ffd5b5050815160208301516040909301519094929350919050565b5f6020828403121561160a575f5ffd5b81518015158114611236575f5ffd5b8082018082111561039e5761039e611463565b5f6001820161163d5761163d611463565b5060010190565b8181038181111561039e5761039e611463565b634e487b7160e01b5f52603260045260245ffd5b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156116bb5783516001600160a01b0316835260209384019390920191600101611694565b50506001600160a01b039590951660608401525050608001529392505050565b5f826116f557634e487b7160e01b5f52601260045260245ffd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a2646970667358221220d58bcba1b43bda1c75f4cdbd58e03edb78adc1a67554e023fb1657c088da7cbb64736f6c634300081c0033