60806040526200001a6705d423c655aa000060001962000368565b62000028906000196200038b565b600655600060098190556004600a819055600b829055600c819055600d829055600e819055600f91909155601055601380546001600160a01b031990811673d1e8a6ee6d45ba784d7393b8320cac32f3643ac59081179092556014805490911690911790556016805461ffff60a81b1916600160b01b179055660eebe0b40e8000601755662cc3a21c2b8000601855655af3107a4000601955348015620000ce57600080fd5b50600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506006543360009081526002602090815260409182902092909255601580546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155815163c45a015560e01b815291519092839263c45a015592600480830193928290030181865afa1580156200018c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001b29190620003b3565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000200573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002269190620003b3565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000274573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200029a9190620003b3565b601680546001600160a01b0319166001600160a01b03928316179055600080548216815260056020526040808220805460ff1990811660019081179092553084528284208054821683179055601354851684528284208054821683179055601454909416835291208054909216179055336001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6705d423c655aa00006040516200035991815260200190565b60405180910390a350620003e5565b6000826200038657634e487b7160e01b600052601260045260246000fd5b500690565b81810381811115620003ad57634e487b7160e01b600052601160045260246000fd5b92915050565b600060208284031215620003c657600080fd5b81516001600160a01b0381168114620003de57600080fd5b9392505050565b6121de80620003f56000396000f3fe6080604052600436106101c55760003560e01c8063751039fc116100f7578063a2a957bb11610095578063c492f04611610064578063c492f0461461053e578063d00efb2f1461055e578063dd62ed3e14610574578063f2fde38b146105ba57600080fd5b8063a2a957bb146104b9578063a9059cbb146104d9578063bfd79284146104f9578063c3c8cd801461052957600080fd5b80638f70ccf7116100d15780638f70ccf71461041d5780638f9a55c01461043d57806395d89b411461045357806398a5c3151461049957600080fd5b8063751039fc146103d45780637d1db4a5146103e95780638da5cb5b146103ff57600080fd5b8063313ce567116101645780636d8aa8f81161013e5780636d8aa8f81461036a5780636fc3eaec1461038a57806370a082311461039f578063715018a6146103bf57600080fd5b8063313ce5671461030e57806349bd5a5e1461032a5780636b9990531461034a57600080fd5b80631694505e116101a05780631694505e1461027b57806318160ddd146102b357806323b872dd146102d85780632fd689e3146102f857600080fd5b8062b8cf2a146101d157806306fdde03146101f3578063095ea7b31461024b57600080fd5b366101cc57005b600080fd5b3480156101dd57600080fd5b506101f16101ec366004611d75565b6105da565b005b3480156101ff57600080fd5b5060408051808201909152600f81527f44616e6b73476976696e6720496e75000000000000000000000000000000000060208201525b6040516102429190611e3a565b60405180910390f35b34801561025757600080fd5b5061026b610266366004611e88565b6106a5565b6040519015158152602001610242565b34801561028757600080fd5b5060155461029b906001600160a01b031681565b6040516001600160a01b039091168152602001610242565b3480156102bf57600080fd5b506705d423c655aa00005b604051908152602001610242565b3480156102e457600080fd5b5061026b6102f3366004611eb4565b6106bc565b34801561030457600080fd5b506102ca60195481565b34801561031a57600080fd5b5060405160098152602001610242565b34801561033657600080fd5b5060165461029b906001600160a01b031681565b34801561035657600080fd5b506101f1610365366004611ef5565b610725565b34801561037657600080fd5b506101f1610385366004611f22565b6107a0565b34801561039657600080fd5b506101f1610846565b3480156103ab57600080fd5b506102ca6103ba366004611ef5565b610891565b3480156103cb57600080fd5b506101f16108b3565b3480156103e057600080fd5b506101f161096f565b3480156103f557600080fd5b506102ca60175481565b34801561040b57600080fd5b506000546001600160a01b031661029b565b34801561042957600080fd5b506101f1610438366004611f22565b6109dc565b34801561044957600080fd5b506102ca60185481565b34801561045f57600080fd5b5060408051808201909152600381527f44474900000000000000000000000000000000000000000000000000000000006020820152610235565b3480156104a557600080fd5b506101f16104b4366004611f3d565b610a85565b3480156104c557600080fd5b506101f16104d4366004611f56565b610ae4565b3480156104e557600080fd5b5061026b6104f4366004611e88565b610b52565b34801561050557600080fd5b5061026b610514366004611ef5565b60116020526000908152604090205460ff1681565b34801561053557600080fd5b506101f1610b5f565b34801561054a57600080fd5b506101f1610559366004611f88565b610bb3565b34801561056a57600080fd5b506102ca60085481565b34801561058057600080fd5b506102ca61058f36600461200c565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205490565b3480156105c657600080fd5b506101f16105d5366004611ef5565b610c84565b6000546001600160a01b031633146106395760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60005b81518110156106a15760016011600084848151811061065d5761065d612045565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061069981612071565b91505061063c565b5050565b60006106b2338484610dcd565b5060015b92915050565b60006106c9848484610f25565b61071b843361071685604051806060016040528060288152602001612181602891396001600160a01b038a1660009081526004602090815260408083203384529091529020549190611511565b610dcd565b5060019392505050565b6000546001600160a01b0316331461077f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b6001600160a01b03166000908152601160205260409020805460ff19169055565b6000546001600160a01b031633146107fa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b60168054911515760100000000000000000000000000000000000000000000027fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6013546001600160a01b0316336001600160a01b0316148061087b57506014546001600160a01b0316336001600160a01b0316145b61088457600080fd5b4761088e8161154b565b50565b6001600160a01b0381166000908152600260205260408120546106b6906115e0565b6000546001600160a01b0316331461090d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000546001600160a01b031633146109c95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b6705d423c655aa00006017819055601855565b6000546001600160a01b03163314610a365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b6063600a556016805491151574010000000000000000000000000000000000000000027fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff909216919091179055565b6000546001600160a01b03163314610adf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b601955565b6000546001600160a01b03163314610b3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b600993909355600b91909155600a55600c55565b60006106b2338484610f25565b6013546001600160a01b0316336001600160a01b03161480610b9457506014546001600160a01b0316336001600160a01b0316145b610b9d57600080fd5b6000610ba830610891565b905061088e81611677565b6000546001600160a01b03163314610c0d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b60005b82811015610c7e578160056000868685818110610c2f57610c2f612045565b9050602002016020810190610c449190611ef5565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580610c7681612071565b915050610c10565b50505050565b6000546001600160a01b03163314610cde5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610630565b6001600160a01b038116610d5a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610630565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001600160a01b038316610e485760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610630565b6001600160a01b038216610ec45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f73730000000000000000000000000000000000000000000000000000000000006064820152608401610630565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316610fa15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610630565b6001600160a01b03821661101d5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f65737300000000000000000000000000000000000000000000000000000000006064820152608401610630565b600081116110935760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f00000000000000000000000000000000000000000000006064820152608401610630565b6000546001600160a01b038481169116148015906110bf57506000546001600160a01b03838116911614155b1561140a5760165474010000000000000000000000000000000000000000900460ff16611169576000546001600160a01b038481169116146111695760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c6564006064820152608401610630565b6017548111156111bb5760405162461bcd60e51b815260206004820152601c60248201527f544f4b454e3a204d6178205472616e73616374696f6e204c696d6974000000006044820152606401610630565b6001600160a01b03831660009081526011602052604090205460ff161580156111fd57506001600160a01b03821660009081526011602052604090205460ff16155b61126f5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a20596f7572206163636f756e7420697320626c61636b6c69737460448201527f65642100000000000000000000000000000000000000000000000000000000006064820152608401610630565b6016546001600160a01b0383811691161461130e576018548161129184610891565b61129b919061208b565b1061130e5760405162461bcd60e51b815260206004820152602360248201527f544f4b454e3a2042616c616e636520657863656564732077616c6c657420736960448201527f7a652100000000000000000000000000000000000000000000000000000000006064820152608401610630565b600061131930610891565b6019546017549192508210159082106113325760175491505b80801561135b57506016547501000000000000000000000000000000000000000000900460ff16155b801561137557506016546001600160a01b03868116911614155b801561139d5750601654760100000000000000000000000000000000000000000000900460ff165b80156113c257506001600160a01b03851660009081526005602052604090205460ff16155b80156113e757506001600160a01b03841660009081526005602052604090205460ff16155b15611407576113f582611677565b478015611405576114054761154b565b505b50505b6001600160a01b03831660009081526005602052604090205460019060ff168061144c57506001600160a01b03831660009081526005602052604090205460ff165b8061147e57506016546001600160a01b0385811691161480159061147e57506016546001600160a01b03848116911614155b1561148b57506000611505565b6016546001600160a01b0385811691161480156114b657506015546001600160a01b03848116911614155b156114c857600954600d55600a54600e555b6016546001600160a01b0384811691161480156114f357506015546001600160a01b03858116911614155b1561150557600b54600d55600c54600e555b610c7e8484848461186b565b600081848411156115355760405162461bcd60e51b81526004016106309190611e3a565b506000611542848661209e565b95945050505050565b6013546001600160a01b03166108fc611570606461156a856032611899565b90611937565b6040518115909202916000818181858888f19350505050158015611598573d6000803e3d6000fd5b506014546001600160a01b03166108fc6115b8606461156a856032611899565b6040518115909202916000818181858888f193505050501580156106a1573d6000803e3d6000fd5b600060065482111561165a5760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e73000000000000000000000000000000000000000000006064820152608401610630565b6000611664611979565b90506116708382611937565b9392505050565b601680547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16750100000000000000000000000000000000000000000017905560408051600280825260608201835260009260208301908036833701905050905030816000815181106116ec576116ec612045565b6001600160a01b03928316602091820292909201810191909152601554604080517fad5c46480000000000000000000000000000000000000000000000000000000081529051919093169263ad5c46489260048083019391928290030181865afa15801561175e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061178291906120b1565b8160018151811061179557611795612045565b6001600160a01b0392831660209182029290920101526015546117bb9130911684610dcd565b6015546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac9479061180d9085906000908690309042906004016120ce565b600060405180830381600087803b15801561182757600080fd5b505af115801561183b573d6000803e3d6000fd5b5050601680547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff16905550505050565b806118785761187861199c565b6118838484846119ca565b80610c7e57610c7e600f54600d55601054600e55565b6000826000036118ab575060006106b6565b60006118b7838561213f565b9050826118c4858361215e565b146116705760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60448201527f77000000000000000000000000000000000000000000000000000000000000006064820152608401610630565b600061167083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611ac1565b6000806000611986611aef565b90925090506119958282611937565b9250505090565b600d541580156119ac5750600e54155b156119b357565b600d8054600f55600e805460105560009182905555565b6000806000806000806119dc87611b2f565b6001600160a01b038f16600090815260026020526040902054959b50939950919750955093509150611a0e9087611b8c565b6001600160a01b03808b1660009081526002602052604080822093909355908a1681522054611a3d9086611bce565b6001600160a01b038916600090815260026020526040902055611a5f81611c2d565b611a698483611c77565b876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef85604051611aae91815260200190565b60405180910390a3505050505050505050565b60008183611ae25760405162461bcd60e51b81526004016106309190611e3a565b506000611542848661215e565b60065460009081906705d423c655aa0000611b0a8282611937565b821015611b26575050600654926705d423c655aa000092509050565b90939092509050565b6000806000806000806000806000611b4c8a600d54600e54611c9b565b9250925092506000611b5c611979565b90506000806000611b6f8e878787611cea565b919e509c509a509598509396509194505050505091939550919395565b600061167083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611511565b600080611bdb838561208b565b9050838110156116705760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610630565b6000611c37611979565b90506000611c458383611899565b30600090815260026020526040902054909150611c629082611bce565b30600090815260026020526040902055505050565b600654611c849083611b8c565b600655600754611c949082611bce565b6007555050565b6000808080611caf606461156a8989611899565b90506000611cc2606461156a8a89611899565b90506000611cda82611cd48b86611b8c565b90611b8c565b9992985090965090945050505050565b6000808080611cf98886611899565b90506000611d078887611899565b90506000611d158888611899565b90506000611d2782611cd48686611b8c565b939b939a50919850919650505050505050565b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461088e57600080fd5b8035611d7081611d50565b919050565b60006020808385031215611d8857600080fd5b823567ffffffffffffffff80821115611da057600080fd5b818501915085601f830112611db457600080fd5b813581811115611dc657611dc6611d3a565b8060051b604051601f19603f83011681018181108582111715611deb57611deb611d3a565b604052918252848201925083810185019188831115611e0957600080fd5b938501935b82851015611e2e57611e1f85611d65565b84529385019392850192611e0e565b98975050505050505050565b600060208083528351808285015260005b81811015611e6757858101830151858201604001528201611e4b565b506000604082860101526040601f19601f8301168501019250505092915050565b60008060408385031215611e9b57600080fd5b8235611ea681611d50565b946020939093013593505050565b600080600060608486031215611ec957600080fd5b8335611ed481611d50565b92506020840135611ee481611d50565b929592945050506040919091013590565b600060208284031215611f0757600080fd5b813561167081611d50565b80358015158114611d7057600080fd5b600060208284031215611f3457600080fd5b61167082611f12565b600060208284031215611f4f57600080fd5b5035919050565b60008060008060808587031215611f6c57600080fd5b5050823594602084013594506040840135936060013592509050565b600080600060408486031215611f9d57600080fd5b833567ffffffffffffffff80821115611fb557600080fd5b818601915086601f830112611fc957600080fd5b813581811115611fd857600080fd5b8760208260051b8501011115611fed57600080fd5b6020928301955093506120039186019050611f12565b90509250925092565b6000806040838503121561201f57600080fd5b823561202a81611d50565b9150602083013561203a81611d50565b809150509250929050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060001982036120845761208461205b565b5060010190565b808201808211156106b6576106b661205b565b818103818111156106b6576106b661205b565b6000602082840312156120c357600080fd5b815161167081611d50565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561211e5784516001600160a01b0316835293830193918301916001016120f9565b50506001600160a01b03969096166060850152505050608001529392505050565b60008160001904831182151516156121595761215961205b565b500290565b60008261217b57634e487b7160e01b600052601260045260246000fd5b50049056fe45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e6365a264697066735822122067941cb2f36dbd6054a8f38bc177a961f5b7abd6dfe07296f930c789c2c0974d64736f6c63430008100033