608060405234801561001057600080fd5b506120df806100206000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806370a082311161010f578063a9059cbb116100a2578063f889794511610071578063f889794514610423578063f8ce31641461042c578063f9a0be6814610435578063fc0c546a1461044857600080fd5b8063a9059cbb146103bb578063ab033ea9146103ce578063d49d5181146103e1578063dd62ed3e146103ea57600080fd5b80638d32df32116100de5780638d32df321461037a57806395d89b411461038d57806398dfca7f14610395578063a457c2d7146103a857600080fd5b806370a082311461032d578063853828b6146103565780638b6e80841461035e5780638bc7e8c41461037157600080fd5b806338b183141161018757806345dc3dd81161015657806345dc3dd8146102ec57806346a518e4146102ff57806348a0d754146103125780635aa6e6751461031a57600080fd5b806338b183141461029257806339509351146102bd5780633edd1128146102d0578063422ede42146102e357600080fd5b806318160ddd116101c357806318160ddd1461024057806323b872dd146102525780632e1a7d4d14610265578063313ce5671461027857600080fd5b8063048bf085146101ea57806306fdde03146101ff578063095ea7b31461021d575b600080fd5b6101fd6101f8366004611c61565b61045b565b005b6102076104d6565b6040516102149190611e92565b60405180910390f35b61023061022b366004611cf8565b610568565b6040519015158152602001610214565b6035545b604051908152602001610214565b610230610260366004611cb7565b61057e565b6101fd610273366004611e21565b61062a565b61028061091f565b60405160ff9091168152602001610214565b606b546102a5906001600160a01b031681565b6040516001600160a01b039091168152602001610214565b6102306102cb366004611cf8565b6109a1565b6101fd6102de366004611d24565b6109dd565b61024460685481565b6101fd6102fa366004611e21565b610bf1565b6101fd61030d366004611c61565b610c42565b610244610d1a565b6066546102a5906001600160a01b031681565b61024461033b366004611c61565b6001600160a01b031660009081526033602052604090205490565b6101fd610dc4565b6101fd61036c366004611e21565b610ddf565b61024460675481565b6101fd610388366004611d83565b610e30565b610207610f40565b6101fd6103a3366004611e21565b610f4f565b6102306103b6366004611cf8565b610fa0565b6102306103c9366004611cf8565b611039565b6101fd6103dc366004611c61565b611046565b61024461271081565b6102446103f8366004611c7e565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b610244606c5481565b610244606a5481565b6069546102a5906001600160a01b031681565b6065546102a5906001600160a01b031681565b6066546001600160a01b0316331461048e5760405162461bcd60e51b815260040161048590611ec5565b60405180910390fd5b6001600160a01b0381166104b45760405162461bcd60e51b815260040161048590611eea565b606980546001600160a01b0319166001600160a01b0392909216919091179055565b6060603680546104e59061201f565b80601f01602080910402602001604051908101604052809291908181526020018280546105119061201f565b801561055e5780601f106105335761010080835404028352916020019161055e565b820191906000526020600020905b81548152906001019060200180831161054157829003601f168201915b5050505050905090565b60006105753384846110b8565b50600192915050565b600061058b8484846111dd565b6001600160a01b0384166000908152603460209081526040808320338452909152902054828110156106105760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610485565b61061d85338584036110b8565b60019150505b9392505050565b6069546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381600087803b15801561067057600080fd5b505af1158015610684573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106a89190611e3a565b9050808211156106ee5760405162461bcd60e51b8152602060048201526011602482015270139bdd08195b9bdd59da081cdd185ad959607a1b6044820152606401610485565b60695460405162ebf5dd60e01b815260048101849052336024820152600160448201526001600160a01b039091169062ebf5dd90606401600060405180830381600087803b15801561073f57600080fd5b505af1158015610753573d6000803e3d6000fd5b5050505061076130836113ad565b606a546065546040516370a0823160e01b8152306004820152600092916001600160a01b0316906370a082319060240160206040518083038186803b1580156107a957600080fd5b505afa1580156107bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107e19190611e3a565b6107eb9190611fdc565b90506000818411156108aa5760006108038386611fdc565b606b5460655460405163f3fef3a360e01b81526001600160a01b03918216600482015260248101849052929350169063f3fef3a390604401600060405180830381600087803b15801561085557600080fd5b505af1158015610869573d6000803e3d6000fd5b505050506127106067548261087e9190611fbd565b6108889190611f9b565b6066546065549193506108a8916001600160a01b039081169116846114f8565b505b6108cb336108b88387611fdc565b6065546001600160a01b031691906114f8565b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364336108f78387611fdc565b604080516001600160a01b03909316835260208301919091520160405180910390a150505050565b6065546040805163313ce56760e01b815290516000926001600160a01b03169163313ce567916004808301926020929190829003018186803b15801561096457600080fd5b505afa158015610978573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099c9190611e53565b905090565b3360008181526034602090815260408083206001600160a01b038716845290915281205490916105759185906109d8908690611f83565b6110b8565b6069546001600160a01b0316610a355760405162461bcd60e51b815260206004820152601960248201527f4761756765206e6f742079657420696e697469616c697a6564000000000000006044820152606401610485565b606554610a4d906001600160a01b031633308561155b565b80610a9b57600061271060685484610a659190611fbd565b610a6f9190611f9b565b9050610a7b8184611fdc565b925080606a6000828254610a8f9190611f83565b90915550610ab0915050565b606a54610aa89083611f83565b6000606a5591505b610aba3083611593565b60695460405163095ea7b360e01b81526001600160a01b03909116600482015260248101839052309063095ea7b390604401602060405180830381600087803b158015610b0657600080fd5b505af1158015610b1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3e9190611d66565b50606954604051636e553f6560e01b8152600481018490526001600160a01b03858116602483015290911690636e553f6590604401600060405180830381600087803b158015610b8d57600080fd5b505af1158015610ba1573d6000803e3d6000fd5b505050508015610bb357610bb3611673565b60408051338152602081018490527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c910160405180910390a1505050565b6066546001600160a01b03163314610c1b5760405162461bcd60e51b815260040161048590611ec5565b612710811115610c3d5760405162461bcd60e51b815260040161048590611f10565b606c55565b6066546001600160a01b03163314610c6c5760405162461bcd60e51b815260040161048590611ec5565b6001600160a01b038116610c925760405162461bcd60e51b815260040161048590611eea565b606b5460655460405163bef1babd60e01b81526001600160a01b03918216600482015291169063bef1babd90602401600060405180830381600087803b158015610cdb57600080fd5b505af1158015610cef573d6000803e3d6000fd5b5050606b80546001600160a01b0319166001600160a01b03851617905550610d179050611673565b50565b606c54606a546065546040516370a0823160e01b815230600482015260009361271093909290916001600160a01b03909116906370a082319060240160206040518083038186803b158015610d6e57600080fd5b505afa158015610d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610da69190611e3a565b610db09190611fdc565b610dba9190611fbd565b61099c9190611f9b565b33600090815260336020526040902054610ddd9061062a565b565b6066546001600160a01b03163314610e095760405162461bcd60e51b815260040161048590611ec5565b612710811115610e2b5760405162461bcd60e51b815260040161048590611f10565b606755565b600054610100900460ff16610e4b5760005460ff1615610e4f565b303b155b610eb25760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610485565b600054610100900460ff16158015610ed4576000805461ffff19166101011790555b610ede8484611843565b606580546001600160a01b038089166001600160a01b03199283161790925560668054888416908316179055612710606c55600a606855606b8054928516929091169190911790558015610f38576000805461ff00191690555b505050505050565b6060603780546104e59061201f565b6066546001600160a01b03163314610f795760405162461bcd60e51b815260040161048590611ec5565b612710811115610f9b5760405162461bcd60e51b815260040161048590611f10565b606855565b3360009081526034602090815260408083206001600160a01b0386168452909152812054828110156110225760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610485565b61102f33858584036110b8565b5060019392505050565b60006105753384846111dd565b6066546001600160a01b031633146110705760405162461bcd60e51b815260040161048590611ec5565b6001600160a01b0381166110965760405162461bcd60e51b815260040161048590611eea565b606680546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831661111a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610485565b6001600160a01b03821661117b5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610485565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166112415760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610485565b6001600160a01b0382166112a35760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610485565b6001600160a01b0383166000908152603360205260409020548181101561131b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610485565b6001600160a01b03808516600090815260336020526040808220858503905591851681529081208054849290611352908490611f83565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405161139e91815260200190565b60405180910390a35b50505050565b6001600160a01b03821661140d5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610485565b6001600160a01b038216600090815260336020526040902054818110156114815760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610485565b6001600160a01b03831660009081526033602052604081208383039055603580548492906114b0908490611fdc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016111d0565b505050565b6040516001600160a01b0383166024820152604481018290526114f390849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261187c565b6040516001600160a01b03808516602483015283166044820152606481018290526113a79085906323b872dd60e01b90608401611524565b6001600160a01b0382166115e95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610485565b80603560008282546115fb9190611f83565b90915550506001600160a01b03821660009081526033602052604081208054839290611628908490611f83565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35b5050565b600061167d610d1a565b606554606b5460405163095ea7b360e01b81526001600160a01b03918216600482015260006024820152929350169063095ea7b390604401602060405180830381600087803b1580156116cf57600080fd5b505af11580156116e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117079190611d66565b50606554606b5460405163095ea7b360e01b81526001600160a01b0391821660048201526024810184905291169063095ea7b390604401602060405180830381600087803b15801561175857600080fd5b505af115801561176c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117909190611d66565b50606b546065546040516311f9fbc960e21b81526001600160a01b039182166004820152602481018490529116906347e7ef2490604401600060405180830381600087803b1580156117e157600080fd5b505af11580156117f5573d6000803e3d6000fd5b5050606554604080516001600160a01b039092168252602082018590527f9b883692663cf2cc636d9eda0392f2c7ff1a3163a5cef27fa1f8bb438ec73ab5935001905060405180910390a150565b600054610100900460ff1661186a5760405162461bcd60e51b815260040161048590611f38565b61187261194e565b61166f8282611975565b60006118d1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166119c39092919063ffffffff16565b8051909150156114f357808060200190518101906118ef9190611d66565b6114f35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610485565b600054610100900460ff16610ddd5760405162461bcd60e51b815260040161048590611f38565b600054610100900460ff1661199c5760405162461bcd60e51b815260040161048590611f38565b81516119af906036906020850190611b3b565b5080516114f3906037906020840190611b3b565b60606119d284846000856119da565b949350505050565b606082471015611a3b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610485565b843b611a895760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610485565b600080866001600160a01b03168587604051611aa59190611e76565b60006040518083038185875af1925050503d8060008114611ae2576040519150601f19603f3d011682016040523d82523d6000602084013e611ae7565b606091505b5091509150611af7828286611b02565b979650505050505050565b60608315611b11575081610623565b825115611b215782518084602001fd5b8160405162461bcd60e51b81526004016104859190611e92565b828054611b479061201f565b90600052602060002090601f016020900481019282611b695760008555611baf565b82601f10611b8257805160ff1916838001178555611baf565b82800160010185558215611baf579182015b82811115611baf578251825591602001919060010190611b94565b50611bbb929150611bbf565b5090565b5b80821115611bbb5760008155600101611bc0565b600082601f830112611be557600080fd5b813567ffffffffffffffff80821115611c0057611c00612070565b604051601f8301601f19908116603f01168101908282118183101715611c2857611c28612070565b81604052838152866020858801011115611c4157600080fd5b836020870160208301376000602085830101528094505050505092915050565b600060208284031215611c7357600080fd5b813561062381612086565b60008060408385031215611c9157600080fd5b8235611c9c81612086565b91506020830135611cac81612086565b809150509250929050565b600080600060608486031215611ccc57600080fd5b8335611cd781612086565b92506020840135611ce781612086565b929592945050506040919091013590565b60008060408385031215611d0b57600080fd5b8235611d1681612086565b946020939093013593505050565b600080600060608486031215611d3957600080fd5b8335611d4481612086565b9250602084013591506040840135611d5b8161209b565b809150509250925092565b600060208284031215611d7857600080fd5b81516106238161209b565b600080600080600060a08688031215611d9b57600080fd5b8535611da681612086565b94506020860135611db681612086565b9350604086013567ffffffffffffffff80821115611dd357600080fd5b611ddf89838a01611bd4565b94506060880135915080821115611df557600080fd5b50611e0288828901611bd4565b9250506080860135611e1381612086565b809150509295509295909350565b600060208284031215611e3357600080fd5b5035919050565b600060208284031215611e4c57600080fd5b5051919050565b600060208284031215611e6557600080fd5b815160ff8116811461062357600080fd5b60008251611e88818460208701611ff3565b9190910192915050565b6020815260008251806020840152611eb1816040850160208701611ff3565b601f01601f19169190910160400192915050565b6020808252600b908201526a21676f7665726e616e636560a81b604082015260600190565b6020808252600c908201526b7a65726f206164647265737360a01b604082015260600190565b6020808252600e908201526d6d6f7265207468616e203130302560901b604082015260600190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60008219821115611f9657611f9661205a565b500190565b600082611fb857634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611fd757611fd761205a565b500290565b600082821015611fee57611fee61205a565b500390565b60005b8381101561200e578181015183820152602001611ff6565b838111156113a75750506000910152565b600181811c9082168061203357607f821691505b6020821081141561205457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d1757600080fd5b8015158114610d1757600080fdfea26469706673582212206fdd994141ce84b2280b5e11f6d83f4a8984692da616ef09219ecc41073a7a9764736f6c63430008070033