diff --git a/node/miner/src/mine.rs b/node/miner/src/mine.rs index 397a143..4c192cc 100644 --- a/node/miner/src/mine.rs +++ b/node/miner/src/mine.rs @@ -1,4 +1,4 @@ -use contract_interface::zgs_flow::MineContext; +use contract_interface::pora_mine::MineContext; use ethereum_types::{H256, U256}; use rand::{self, Rng}; use std::time; @@ -35,16 +35,23 @@ pub struct PoraService { #[derive(Debug, Clone, PartialEq, Eq)] pub(super) struct PoraPuzzle { context: MineContext, - target_quality: U256, + pora_target: U256, max_shards: u64, + subtask_digest: H256, } impl PoraPuzzle { - pub fn new(context: MineContext, target_quality: U256, max_shards: u64) -> Self { + pub fn new( + context: MineContext, + pora_target: U256, + max_shards: u64, + subtask_digest: H256, + ) -> Self { Self { context, - target_quality, + pora_target, max_shards, + subtask_digest, } } @@ -255,7 +262,8 @@ impl PoraService { miner_id: &self.miner_id, mine_range_config: &self.mine_range, context: &puzzle.context, - target_quality: &puzzle.target_quality, + subtask_digest: &puzzle.subtask_digest, + pora_target: &puzzle.pora_target, loader: &*self.loader, }) } diff --git a/node/miner/src/pora.rs b/node/miner/src/pora.rs index a6032d8..966fa7e 100644 --- a/node/miner/src/pora.rs +++ b/node/miner/src/pora.rs @@ -2,7 +2,7 @@ use super::metrics::*; use crate::recall_range::RecallRange; use crate::{MineRangeConfig, PoraLoader}; use blake2::{Blake2b512, Digest}; -use contract_interface::zgs_flow::MineContext; +use contract_interface::pora_mine::MineContext; use ethereum_types::{H256, U256}; use ethers::utils::keccak256; use lighthouse_metrics::inc_counter; @@ -25,7 +25,8 @@ pub(crate) struct Miner<'a> { pub range: RecallRange, pub miner_id: &'a H256, pub context: &'a MineContext, - pub target_quality: &'a U256, + pub subtask_digest: &'a H256, + pub pora_target: &'a U256, pub loader: &'a dyn PoraLoader, pub mine_range_config: &'a MineRangeConfig, } @@ -107,11 +108,11 @@ impl<'a> Miner<'a> { .range .difficulty_scale_x64(self.context.flow_length.as_u64()); - if quality <= (self.target_quality / difficulty_scale_x64) << 64 { + if quality <= (self.pora_target / difficulty_scale_x64) << 64 { debug!( - "Find a PoRA valid answer, quality: {}, target_quality {}, scale {:.3}", + "Find a PoRA valid answer, quality: {}, pora_target {}, scale {:.3}", U256::MAX / quality, - U256::MAX / self.target_quality, + U256::MAX / self.pora_target, difficulty_scale_x64.as_u128() as f64 / u64::MAX as f64 ); inc_counter(&HIT_COUNT); @@ -139,7 +140,7 @@ impl<'a> Miner<'a> { let mut hasher = Blake2b512::new(); hasher.update(self.miner_id); hasher.update(nonce); - hasher.update(self.context.digest); + hasher.update(self.subtask_digest); hasher.update(self.range.digest()); hasher.finalize().into() }; diff --git a/node/miner/src/sealer.rs b/node/miner/src/sealer.rs index eb630d5..efad639 100644 --- a/node/miner/src/sealer.rs +++ b/node/miner/src/sealer.rs @@ -87,7 +87,7 @@ impl Sealer { async fn update_flow_length(&mut self) -> Result<()> { let recent_context = self.flow_contract.make_context_with_result().call().await?; - debug!(target: "seal", "Recent context is {:?}", recent_context); + debug!("Recent context is {:?}", recent_context); let recent_flow_length = recent_context.flow_length.as_u64(); if self.last_context_flow_length < recent_flow_length { diff --git a/node/miner/src/service.rs b/node/miner/src/service.rs index 145d222..e7c7f3b 100644 --- a/node/miner/src/service.rs +++ b/node/miner/src/service.rs @@ -46,6 +46,7 @@ impl MineService { msg_recv.resubscribe(), provider.clone(), &config, + miner_id, ); let mine_answer_receiver = PoraService::spawn( diff --git a/node/miner/src/watcher.rs b/node/miner/src/watcher.rs index dbfd66b..dcfded6 100644 --- a/node/miner/src/watcher.rs +++ b/node/miner/src/watcher.rs @@ -1,6 +1,6 @@ #![allow(unused)] -use contract_interface::{zgs_flow::MineContext, PoraMine, ZgsFlow}; +use contract_interface::{zgs_flow::MineContext, PoraMine, WorkerContext, ZgsFlow}; use ethereum_types::{Address, H256, U256}; use ethers::{ contract::Contract, @@ -36,6 +36,7 @@ pub struct MineContextWatcher { mine_context_sender: broadcast::Sender, last_report: MineContextMessage, query_interval: Duration, + miner_id: H256, msg_recv: broadcast::Receiver, } @@ -46,6 +47,7 @@ impl MineContextWatcher { msg_recv: broadcast::Receiver, provider: Arc>>, config: &MinerConfig, + miner_id: H256, ) -> broadcast::Receiver { let mine_contract = PoraMine::new(config.mine_address, provider.clone()); let flow_contract = ZgsFlow::new(config.flow_address, provider.clone()); @@ -60,6 +62,7 @@ impl MineContextWatcher { msg_recv, last_report: None, query_interval: config.context_query_interval, + miner_id, }; executor.spawn( async move { Box::pin(watcher.start()).await }, @@ -105,20 +108,26 @@ impl MineContextWatcher { } async fn query_recent_context(&mut self) -> Result<(), String> { - let context_call = self.flow_contract.make_context_with_result(); - let valid_call = self.mine_contract.can_submit(); - let quality_call = self.mine_contract.pora_target(); - let shards_call = self.mine_contract.max_shards(); + let miner_id = self.miner_id.0; + let WorkerContext { + context, + pora_target, + subtask_digest, + max_shards, + } = self + .mine_contract + .compute_worker_context(miner_id) + .call() + .await + .map_err(|e| format!("Failed to query mining context: {:?}", e))?; - let (context, can_submit, quality, max_shards) = try_join!( - context_call.call(), - valid_call.call(), - quality_call.call(), - shards_call.call() - ) - .map_err(|e| format!("Failed to query mining context: {:?}", e))?; - let report = if can_submit && context.digest != EMPTY_HASH.0 { - Some(PoraPuzzle::new(context, quality, max_shards)) + let report = if pora_target > U256::zero() && context.digest != EMPTY_HASH.0 { + Some(PoraPuzzle::new( + context, + pora_target, + max_shards, + H256(subtask_digest), + )) } else { None }; @@ -127,6 +136,8 @@ impl MineContextWatcher { return Ok(()); } + debug!("Update pora puzzle: {:?}", report); + self.mine_context_sender .send(report.clone()) .map_err(|e| format!("Failed to send out the most recent mine context: {:?}", e))?; diff --git a/storage-contracts-abis/0g-storage-contracts-rev b/storage-contracts-abis/0g-storage-contracts-rev index 846c257..664c944 100644 --- a/storage-contracts-abis/0g-storage-contracts-rev +++ b/storage-contracts-abis/0g-storage-contracts-rev @@ -1 +1 @@ -bc826a18642023401040cf6dd4f2b10b0748075f +1e931c7b168f9bc2b55f7b8fd96946e35b373048 diff --git a/storage-contracts-abis/PoraMine.json b/storage-contracts-abis/PoraMine.json index 8fe0a39..5a646b6 100644 --- a/storage-contracts-abis/PoraMine.json +++ b/storage-contracts-abis/PoraMine.json @@ -341,6 +341,79 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "minerId", + "type": "bytes32" + } + ], + "name": "computeWorkerContext", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "uint256", + "name": "epoch", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mineStart", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "flowRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "flowLength", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "blockDigest", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "internalType": "struct MineContext", + "name": "context", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "poraTarget", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "subtaskDigest", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "maxShards", + "type": "uint64" + } + ], + "internalType": "struct WorkerContext", + "name": "answer", + "type": "tuple" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [], "name": "currentSubmissions", @@ -468,6 +541,62 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "epoch", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mineStart", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "flowRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "flowLength", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "blockDigest", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "internalType": "struct MineContext", + "name": "context", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "minerId", + "type": "bytes32" + } + ], + "name": "getSubtaskDigest", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -585,6 +714,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "nSubtasks", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -660,6 +802,11 @@ "internalType": "struct MineLib.PoraAnswer", "name": "answer", "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "subtaskDigest", + "type": "bytes32" } ], "name": "pora", @@ -818,6 +965,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "nSubtasks_", + "type": "uint256" + } + ], + "name": "setNumSubtasks", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { @@ -1003,8 +1163,8 @@ "type": "function" } ], - "bytecode": "0x60e06040523480156200001157600080fd5b506040516200351438038062003514833981016040819052620000349162000052565b6001811615608052600281161560a052600416151560c0526200006c565b6000602082840312156200006557600080fd5b5051919050565b60805160a05160c05161345c620000b8600039600081816103f50152818161118c01526115280152600081816104250152610ebe0152600081816104960152610e81015261345c6000f3fe608060405234801561001057600080fd5b506004361061023d5760003560e01c80637eca56881161013b578063b0628ee0116100b8578063ca15c8731161007c578063ca15c8731461052b578063d547741f1461053e578063dddc61a814610551578063e282e27b1461055a578063ffbc9bd01461056157600080fd5b8063b0628ee0146104de578063b15d20da146104f1578063b4988fd014610506578063b4a9328314610519578063b776a5121461052257600080fd5b8063a8279182116100ff578063a827918214610475578063ad08fdfb1461047e578063adaa7a0f14610491578063ae722e82146104b8578063aed75224146104cb57600080fd5b80637eca56881461041757806382975fe7146104205780639010d07c1461044757806391d148541461045a578063a217fddf1461046d57600080fd5b806331223ba7116101c95780633baebb751161018d5780633baebb75146103ae57806348f61441146103c15780635bdca855146103ca578063704d3c96146103dd5780637bba7d61146103f057600080fd5b806331223ba71461034d578063331f3b9c14610356578063343aad821461035f57806336568abe1461037257806339cd53ee1461038557600080fd5b806316a4be6f1161021057806316a4be6f1461029f578063228cb733146102ca578063248a9ca3146102f55780632a02573b146103275780632f2ff15d1461033a57600080fd5b806301ffc9a714610242578063047c13f51461026a578063158ef93e1461027f5780631600c6241461028c575b600080fd5b610255610250366004612c49565b610569565b60405190151581526020015b60405180910390f35b61027d610278366004612ca1565b610594565b005b6000546102559060ff1681565b61027d61029a366004612cd4565b6106b0565b600a546102b2906001600160401b031681565b6040516001600160401b039091168152602001610261565b6004546102dd906001600160a01b031681565b6040516001600160a01b039091168152602001610261565b610319610303366004612cd4565b6000908152600160208190526040909120015490565b604051908152602001610261565b61027d610335366004612ced565b6106ce565b61027d610348366004612d08565b6107d4565b610319600b5481565b61031960065481565b6003546102dd906001600160a01b031681565b61027d610380366004612d08565b6107ff565b6102dd610393366004612cd4565b600e602052600090815260409020546001600160a01b031681565b61027d6103bc366004612fa8565b61087d565b610319600d5481565b61027d6103d8366004612cd4565b610b14565b61027d6103eb366004612cd4565b610b41565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b61031960085481565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b6102dd610455366004613040565b610baf565b610255610468366004612d08565b610bce565b610319600081565b610319600c5481565b61027d61048c366004612cd4565b610bf9565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b61027d6104c6366004613062565b610c33565b6103196104d9366004613062565b6111c0565b61027d6104ec36600461309e565b6113c3565b61031960008051602061340783398151915281565b61027d6105143660046130c8565b611483565b610319600f5481565b61031960075481565b610319610539366004612cd4565b6115aa565b61027d61054c366004612d08565b6115c1565b61031960095481565b60006102b2565b6102556115e7565b60006001600160e01b03198216635a05180f60e01b148061058e575061058e82611682565b92915050565b60006105a160014361311a565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b0316156106565760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b6000805160206134078339815191526106c8816116b7565b50600655565b6000805160206134078339815191526106e6816116b7565b6000826001600160401b03161161073f5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f00604482015260640161064d565b61074a60018361312d565b82166001600160401b03166000146107b05760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b606482015260840161064d565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b600082815260016020819052604090912001546107f0816116b7565b6107fa83836116c4565b505050565b6001600160a01b038116331461086f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161064d565b61087982826116e6565b5050565b815160a0820151146108d15760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e6720646967657374000000000000604482015260640161064d565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a00151036109445760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e6500000000000000604482015260640161064d565b600754600c54106109975760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e7300000000604482015260640161064d565b60006101006109a86104008261314d565b6109b29190613182565b6101006109c16104008261314d565b6109cb9190613182565b83606001516109da9190613182565b6109e4919061314d565b60608401519091506109f69082611708565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa158015610a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6991906131ad565b90506000610100610a7d610400600461314d565b610a879190613182565b8560800151610a969190613207565b90508082600001516001600160801b0316108015610ac157508082602001516001600160801b031610155b610b0d5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e7465787420646967657374000000604482015260640161064d565b5050505050565b600080516020613407833981519152610b2c816116b7565b6008829055600b546000036108795750600755565b600080516020613407833981519152610b59816116b7565b60008211610ba95760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f000000604482015260640161064d565b50600955565b6000828152600260205260408120610bc7908361194c565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613407833981519152610c11816116b7565b600f8290556000610c20611958565b905080600d5411156107fa57600d555050565b6040810151610c7d5760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b604482015260640161064d565b6040808201516000908152600e60205220546001600160a01b031680610ce55760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f7420726567697374657265640000000000604482015260640161064d565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015610d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d54919061321a565b9050600b5481600001511015610dba5760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b606482015260840161064d565b600b548151118015610dce57506000600b54115b15610df357600754600c541015610de757610de761197f565b6000600c556008546007555b610dfd838261087d565b600a5460608401516001600160401b0390911690610e1a90611991565b1115610e775760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b606482015260840161064d565b610e7f612bed565b7f000000000000000000000000000000000000000000000000000000000000000015610eb557610eae846119db565b9050610ebc565b5060e08301515b7f000000000000000000000000000000000000000000000000000000000000000015610f45576000610eee8583611a8a565b905082604001518114610f435760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f740000000000000000604482015260640161064d565b505b610f4d612bed565b90506000610f5a856111c0565b90506000610f7984606001518760600151611cfd90919063ffffffff16565b9050604081600d54610f8b9190613182565b901b821115610fdc5760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c6974790000000000604482015260640161064d565b60008281526005602052604090205460ff161561103b5760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d697474656400000000000000604482015260640161064d565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c6101006110746104008061314d565b6110809061040061314d565b61108b90600861314d565b6110959190613182565b88608001516110a49190613182565b6040808a015190516001600160e01b031960e085901b16815260048101929092526001600160a01b03891660248301526044820152606401600060405180830381600087803b1580156110f657600080fd5b505af115801561110a573d6000803e3d6000fd5b5050506040808801518651600c5460808b015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38351600b55600c805460019190600090611171908490613207565b9091555050600754600c54101561118a57505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006111b8576111b884611e3d565b505050505050565b60408101516000906112145760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d7074790000000000000000604482015260640161064d565b6000604051806080016040528084604001518152602001846020015181526020018460000151815260200161124c8560600151611e76565b90529050600061125b82611ede565b9050600061126c610400601061314d565b61127a61040061010061314d565b6112849190613182565b611291610400600461314d565b61129f61040061010061314d565b6112a99190613182565b6112b39190613182565b8560a001516112c29190613293565b90506112cc612bed565b6112d4612c0c565b6112e38760e001518486611f56565b925090506101006112f7610400600461314d565b6113019190613182565b8760a00151611310919061314d565b61134d8260405160200161132491906132a7565b6040516020818303038152906040528051906020012089606001516120d690919063ffffffff16565b6113579190613207565b8760800151146113a95760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e00000000000000604482015260640161064d565b6113b88760a0015185846121dc565b979650505050505050565b6000818152600e60205260409020546001600160a01b031633146114295760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e657249640000000000604482015260640161064d565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff16156114e25760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b606482015260840161064d565b6000805460ff191660011781556114ff906114fa3390565b6116c4565b611517600080516020613407833981519152336116c4565b61152383600019613182565b600d557f00000000000000000000000000000000000000000000000000000000000000001561155357600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff19166020179055565b600081815260026020526040812061058e9061234f565b600082815260016020819052604090912001546115dd816116b7565b6107fa83836116e6565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af115801561163f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611663919061321a565b9050600b548160000151118061167c5750600754600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061058e57506301ffc9a760e01b6001600160e01b031983161461058e565b6116c18133612359565b50565b6116ce82826123b2565b60008281526002602052604090206107fa908261241d565b6116f08282612432565b60008281526002602052604090206107fa9082612499565b6101006117176104008061314d565b6117239061040061314d565b61172e90600861314d565b6117389190613182565b82516117449190613293565b156117915760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e6564000000604482015260640161064d565b6020820151825182916117a391613207565b11156117e95760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b604482015260640161064d565b60006117f483611991565b6101006118036104008061314d565b61180f9061040061314d565b61181b9061040061314d565b61182690600861314d565b6118309190613182565b61183a919061314d565b905080836020015111156118885760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b604482015260640161064d565b600061189483836124ae565b905080846020015110156118e35760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b604482015260640161064d565b83606001518460400151166001600160401b03166000146119465760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f000000000000604482015260640161064d565b50505050565b6000610bc783836124c4565b6000600f5460000361196b575060001990565b600f5461197a90600019613182565b905090565b61198f6001600160f01b036124ee565b565b606081015160009019815b6001600160401b038216156119cc576119b660018361312d565b90911690806119c4816132d8565b91505061199c565b600160ff9091161b9392505050565b6119e3612bed565b60408083015160c084015160808501519251611a1393906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e0840180515190911883525190600090611a49610400600461314d565b611a539190613182565b905081836020600184030281015b80821015611a8057602080842093810180519094189201918252611a61565b5050505050919050565b6000805b6020611a9d610400600461314d565b611aa79190613182565b811015611af5576101006020820284012080848360808110611acb57611acb6132f7565b602002018181525050506020610100611ae49190613182565b611aee9082613207565b9050611a8e565b506000611b056020610100613182565b90505b6020611b17610400600461314d565b611b219190613182565b811015611bf45760005b6020611b3a610400600461314d565b611b449190613182565b811015611beb576000848260808110611b5f57611b5f6132f7565b60200201519050600085611b738585613207565b60808110611b8357611b836132f7565b602002015190508181604051602001611ba6929190918252602082015260400190565b60405160208183030381529060405280519060200120868460808110611bce57611bce6132f7565b602002015250611be49050600183901b82613207565b9050611b2b565b5060011b611b08565b508151611bff612bed565b92506000610100611c13610400600461314d565b611c1d9190613182565b8560800151611c2c9190613182565b905060005b85610100015151811015611cf357600080611c4d600285613293565b600003611c7d578491508761010001518381518110611c6e57611c6e6132f7565b60200260200101519050611ca2565b8761010001518381518110611c9457611c946132f7565b602002602001015191508490505b6040805160208101849052908101829052606001604051602081830303815290604052805190602001209450600284611cdb9190613182565b93505050600181611cec9190613207565b9050611c31565b5090949350505050565b600080610100611d0f6104008061314d565b611d1b9061040061314d565b611d279061040061314d565b611d3290600861314d565b611d3c9190613182565b8311611d485782611d84565b610100611d576104008061314d565b611d639061040061314d565b611d6f9061040061314d565b611d7a90600861314d565b611d849190613182565b90506000611d9185611991565b611d9b9085613182565b90506000610100611dae6104008061314d565b611dba9061040061314d565b611dc69061040061314d565b611dd190600861314d565b611ddb9190613182565b8211611de75781611e23565b610100611df66104008061314d565b611e029061040061314d565b611e0e9061040061314d565b611e1990600861314d565b611e239190613182565b9050611e3381604085901b613182565b9695505050505050565b6000816020015143611e4f919061311a565b905060006010600d54901c90506000611e6b82846006546125aa565b9050611946816124ee565b60008160000151826020015183604001518460600151604051602001611ec1949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b611ee6612c0c565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b6020808301919091528251908301516040840151606085015161058e9385939092909160806001612659565b611f5e612c0c565b611f66612bed565b6000611f7184612718565b9050611f9f816040611f86610400600461314d565b611f909190613182565b611f9a908861314d565b612734565b60005b608081101561202f576040808320835282206020830152868160808110611fcb57611fcb6132f7565b6020020151825118838260808110611fe557611fe56132f7565b6020020152866001820160808110611fff57611fff6132f7565b6020020151826001602002015118838260010160808110612022576120226132f7565b6020020152600201611fa2565b506120c2816040612043610400600461314d565b61204d9190613182565b60018861205d610400601061314d565b61206b61040061010061314d565b6120759190613182565b612082610400600461314d565b61209061040061010061314d565b61209a9190613182565b6120a49190613182565b6120ae919061311a565b6120b8919061311a565b611f9a919061314d565b6120cb81612718565b925050935093915050565b6000806101006120e86104008261314d565b6120f29190613182565b84602001516121019190613182565b61210b9084613293565b604085015160608601516020870151929350831617906101006121306104008261314d565b61213a9190613182565b61214d906001600160401b03841661314d565b111561219b5760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e6400000000604482015260640161064d565b6101006121aa6104008261314d565b6121b49190613182565b6121c7906001600160401b03831661314d565b85516121d39190613207565b95945050505050565b60006121e6612c0c565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b60208083019190915284519085015161224c9183918891906000608081612659565b9050612256612c2a565b608060006020612269610400600461314d565b6122739190613182565b61227e90602061314d565b612289906080613207565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a10156123235760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361230957600182535b60408660d58a6009600019fa61231e57600080fd5b6122bb565b50505050505050508260016008811061233e5761233e6132f7565b602002015198975050505050505050565b600061058e825490565b6123638282610bce565b6108795761237081612755565b61237b836020612767565b60405160200161238c929190613331565b60408051601f198184030181529082905262461bcd60e51b825261064d916004016133a6565b6123bc8282610bce565b6108795760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000610bc7836001600160a01b038416612902565b61243c8282610bce565b156108795760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610bc7836001600160a01b038416612951565b60008183106124bd5781610bc7565b5090919050565b60008260000182815481106124db576124db6132f7565b9060005260206000200154905092915050565b600d5460095460109190911c906000818461250a60018361311a565b612514908661314d565b61251e9190613207565b6125289190613182565b905061253583600261314d565b81111561254a5761254783600261314d565b90505b612555600284613182565b81101561256a57612567600284613182565b90505b6001600160f01b0381111561258357506001600160f01b035b601081901b600d556000612595611958565b905080600d541115610b0d57600d5550505050565b60008080600019858709858702925082811083820303915050806000036125e4578382816125da576125da61316c565b0492505050610bc7565b8084116125f057600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b612661612c0c565b600c600061266e85612a4b565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa61270a57600080fd5b505050979650505050505050565b612720612c0c565b815181526020918201519181019190915290565b60005b818110156107fa576040808420845283206020840152600101612737565b606061058e6001600160a01b03831660145b6060600061277683600261314d565b612781906002613207565b6001600160401b0381111561279857612798612d2b565b6040519080825280601f01601f1916602001820160405280156127c2576020820181803683370190505b509050600360fc1b816000815181106127dd576127dd6132f7565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061280c5761280c6132f7565b60200101906001600160f81b031916908160001a905350600061283084600261314d565b61283b906001613207565b90505b60018111156128b3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061286f5761286f6132f7565b1a60f81b828281518110612885576128856132f7565b60200101906001600160f81b031916908160001a90535060049490941c936128ac816133d9565b905061283e565b508315610bc75760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161064d565b60008181526001830160205260408120546129495750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561058e565b50600061058e565b60008181526001830160205260408120548015612a3a57600061297560018361311a565b85549091506000906129899060019061311a565b90508181146129ee5760008660000182815481106129a9576129a96132f7565b90600052602060002001549050808760000184815481106129cc576129cc6132f7565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806129ff576129ff6133f0565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061058e565b600091505061058e565b5092915050565b612a53612c0c565b62010000821015612a9757600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b640100000000821015612ad757600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b031916612a7f565b68010000000000000000821015612af157612a7f82612b87565b600160801b821015612b41576001600160401b038216604083901c612b1582612b87565b6001600160c01b0319168352612b2a81612b87565b6001600160c01b031916602084015250612b829050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b604482015260640161064d565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b600060208284031215612c5b57600080fd5b81356001600160e01b031981168114610bc757600080fd5b80356001600160a01b0381168114612b8257600080fd5b80356001600160401b0381168114612b8257600080fd5b60008060408385031215612cb457600080fd5b612cbd83612c73565b9150612ccb60208401612c8a565b90509250929050565b600060208284031215612ce657600080fd5b5035919050565b600060208284031215612cff57600080fd5b610bc782612c8a565b60008060408385031215612d1b57600080fd5b82359150612ccb60208401612c73565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715612d6457612d64612d2b565b60405290565b60405160c081016001600160401b0381118282101715612d6457612d64612d2b565b600060808284031215612d9e57600080fd5b604051608081018181106001600160401b0382111715612dc057612dc0612d2b565b80604052508091508235815260208301356020820152612de260408401612c8a565b6040820152612df360608401612c8a565b60608201525092915050565b600082601f830112612e1057600080fd5b6040516110008082018281106001600160401b0382111715612e3457612e34612d2b565b60405283018185821115612e4757600080fd5b845b82811015612e61578035825260209182019101612e49565b509195945050505050565b600082601f830112612e7d57600080fd5b813560206001600160401b0380831115612e9957612e99612d2b565b8260051b604051601f19603f83011681018181108482111715612ebe57612ebe612d2b565b604052938452858101830193838101925087851115612edc57600080fd5b83870191505b848210156113b857813583529183019190830190612ee2565b60006111608284031215612f0e57600080fd5b612f16612d41565b9050813581526020820135602082015260408201356040820152612f3d8360608401612d8c565b606082015260e082013560808201526101008083013560a083015261012083013560c0830152612f71846101408501612dff565b60e08301526111408301356001600160401b03811115612f9057600080fd5b612f9c85828601612e6c565b82840152505092915050565b60008082840360e0811215612fbc57600080fd5b83356001600160401b03811115612fd257600080fd5b612fde86828701612efb565b93505060c0601f1982011215612ff357600080fd5b50612ffc612d6a565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c084013560a0820152809150509250929050565b6000806040838503121561305357600080fd5b50508035926020909101359150565b60006020828403121561307457600080fd5b81356001600160401b0381111561308a57600080fd5b61309684828501612efb565b949350505050565b600080604083850312156130b157600080fd5b6130ba83612c73565b946020939093013593505050565b6000806000606084860312156130dd57600080fd5b833592506130ed60208501612c73565b91506130fb60408501612c73565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561058e5761058e613104565b6001600160401b03828116828216039080821115612a4457612a44613104565b600081600019048311821515161561316757613167613104565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826131915761319161316c565b500490565b80516001600160801b0381168114612b8257600080fd5b6000604082840312156131bf57600080fd5b604051604081018181106001600160401b03821117156131e1576131e1612d2b565b6040526131ed83613196565b81526131fb60208401613196565b60208201529392505050565b8082018082111561058e5761058e613104565b600060c0828403121561322c57600080fd5b60405160c081018181106001600160401b038211171561324e5761324e612d2b565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b6000826132a2576132a261316c565b500690565b60408101818360005b60028110156132cf5781518352602092830192909101906001016132b0565b50505092915050565b600060ff821660ff81036132ee576132ee613104565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b60005b83811015613328578181015183820152602001613310565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161336981601785016020880161330d565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161339a81602884016020880161330d565b01602801949350505050565b60208152600082518060208401526133c581604085016020870161330d565b601f01601f19169190910160400192915050565b6000816133e8576133e8613104565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212202503bf9188a9b6fe4cea53d3fe04cba02a3dac720893126a84f97012870195ea64736f6c63430008100033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061023d5760003560e01c80637eca56881161013b578063b0628ee0116100b8578063ca15c8731161007c578063ca15c8731461052b578063d547741f1461053e578063dddc61a814610551578063e282e27b1461055a578063ffbc9bd01461056157600080fd5b8063b0628ee0146104de578063b15d20da146104f1578063b4988fd014610506578063b4a9328314610519578063b776a5121461052257600080fd5b8063a8279182116100ff578063a827918214610475578063ad08fdfb1461047e578063adaa7a0f14610491578063ae722e82146104b8578063aed75224146104cb57600080fd5b80637eca56881461041757806382975fe7146104205780639010d07c1461044757806391d148541461045a578063a217fddf1461046d57600080fd5b806331223ba7116101c95780633baebb751161018d5780633baebb75146103ae57806348f61441146103c15780635bdca855146103ca578063704d3c96146103dd5780637bba7d61146103f057600080fd5b806331223ba71461034d578063331f3b9c14610356578063343aad821461035f57806336568abe1461037257806339cd53ee1461038557600080fd5b806316a4be6f1161021057806316a4be6f1461029f578063228cb733146102ca578063248a9ca3146102f55780632a02573b146103275780632f2ff15d1461033a57600080fd5b806301ffc9a714610242578063047c13f51461026a578063158ef93e1461027f5780631600c6241461028c575b600080fd5b610255610250366004612c49565b610569565b60405190151581526020015b60405180910390f35b61027d610278366004612ca1565b610594565b005b6000546102559060ff1681565b61027d61029a366004612cd4565b6106b0565b600a546102b2906001600160401b031681565b6040516001600160401b039091168152602001610261565b6004546102dd906001600160a01b031681565b6040516001600160a01b039091168152602001610261565b610319610303366004612cd4565b6000908152600160208190526040909120015490565b604051908152602001610261565b61027d610335366004612ced565b6106ce565b61027d610348366004612d08565b6107d4565b610319600b5481565b61031960065481565b6003546102dd906001600160a01b031681565b61027d610380366004612d08565b6107ff565b6102dd610393366004612cd4565b600e602052600090815260409020546001600160a01b031681565b61027d6103bc366004612fa8565b61087d565b610319600d5481565b61027d6103d8366004612cd4565b610b14565b61027d6103eb366004612cd4565b610b41565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b61031960085481565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b6102dd610455366004613040565b610baf565b610255610468366004612d08565b610bce565b610319600081565b610319600c5481565b61027d61048c366004612cd4565b610bf9565b6102557f000000000000000000000000000000000000000000000000000000000000000081565b61027d6104c6366004613062565b610c33565b6103196104d9366004613062565b6111c0565b61027d6104ec36600461309e565b6113c3565b61031960008051602061340783398151915281565b61027d6105143660046130c8565b611483565b610319600f5481565b61031960075481565b610319610539366004612cd4565b6115aa565b61027d61054c366004612d08565b6115c1565b61031960095481565b60006102b2565b6102556115e7565b60006001600160e01b03198216635a05180f60e01b148061058e575061058e82611682565b92915050565b60006105a160014361311a565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b0316156106565760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b6000805160206134078339815191526106c8816116b7565b50600655565b6000805160206134078339815191526106e6816116b7565b6000826001600160401b03161161073f5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f00604482015260640161064d565b61074a60018361312d565b82166001600160401b03166000146107b05760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b606482015260840161064d565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b600082815260016020819052604090912001546107f0816116b7565b6107fa83836116c4565b505050565b6001600160a01b038116331461086f5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161064d565b61087982826116e6565b5050565b815160a0820151146108d15760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e6720646967657374000000000000604482015260640161064d565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a00151036109445760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e6500000000000000604482015260640161064d565b600754600c54106109975760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e7300000000604482015260640161064d565b60006101006109a86104008261314d565b6109b29190613182565b6101006109c16104008261314d565b6109cb9190613182565b83606001516109da9190613182565b6109e4919061314d565b60608401519091506109f69082611708565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa158015610a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a6991906131ad565b90506000610100610a7d610400600461314d565b610a879190613182565b8560800151610a969190613207565b90508082600001516001600160801b0316108015610ac157508082602001516001600160801b031610155b610b0d5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e7465787420646967657374000000604482015260640161064d565b5050505050565b600080516020613407833981519152610b2c816116b7565b6008829055600b546000036108795750600755565b600080516020613407833981519152610b59816116b7565b60008211610ba95760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f000000604482015260640161064d565b50600955565b6000828152600260205260408120610bc7908361194c565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613407833981519152610c11816116b7565b600f8290556000610c20611958565b905080600d5411156107fa57600d555050565b6040810151610c7d5760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b604482015260640161064d565b6040808201516000908152600e60205220546001600160a01b031680610ce55760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f7420726567697374657265640000000000604482015260640161064d565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015610d30573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d54919061321a565b9050600b5481600001511015610dba5760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b606482015260840161064d565b600b548151118015610dce57506000600b54115b15610df357600754600c541015610de757610de761197f565b6000600c556008546007555b610dfd838261087d565b600a5460608401516001600160401b0390911690610e1a90611991565b1115610e775760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b606482015260840161064d565b610e7f612bed565b7f000000000000000000000000000000000000000000000000000000000000000015610eb557610eae846119db565b9050610ebc565b5060e08301515b7f000000000000000000000000000000000000000000000000000000000000000015610f45576000610eee8583611a8a565b905082604001518114610f435760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f740000000000000000604482015260640161064d565b505b610f4d612bed565b90506000610f5a856111c0565b90506000610f7984606001518760600151611cfd90919063ffffffff16565b9050604081600d54610f8b9190613182565b901b821115610fdc5760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c6974790000000000604482015260640161064d565b60008281526005602052604090205460ff161561103b5760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d697474656400000000000000604482015260640161064d565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c6101006110746104008061314d565b6110809061040061314d565b61108b90600861314d565b6110959190613182565b88608001516110a49190613182565b6040808a015190516001600160e01b031960e085901b16815260048101929092526001600160a01b03891660248301526044820152606401600060405180830381600087803b1580156110f657600080fd5b505af115801561110a573d6000803e3d6000fd5b5050506040808801518651600c5460808b015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38351600b55600c805460019190600090611171908490613207565b9091555050600754600c54101561118a57505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006111b8576111b884611e3d565b505050505050565b60408101516000906112145760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d7074790000000000000000604482015260640161064d565b6000604051806080016040528084604001518152602001846020015181526020018460000151815260200161124c8560600151611e76565b90529050600061125b82611ede565b9050600061126c610400601061314d565b61127a61040061010061314d565b6112849190613182565b611291610400600461314d565b61129f61040061010061314d565b6112a99190613182565b6112b39190613182565b8560a001516112c29190613293565b90506112cc612bed565b6112d4612c0c565b6112e38760e001518486611f56565b925090506101006112f7610400600461314d565b6113019190613182565b8760a00151611310919061314d565b61134d8260405160200161132491906132a7565b6040516020818303038152906040528051906020012089606001516120d690919063ffffffff16565b6113579190613207565b8760800151146113a95760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e00000000000000604482015260640161064d565b6113b88760a0015185846121dc565b979650505050505050565b6000818152600e60205260409020546001600160a01b031633146114295760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e657249640000000000604482015260640161064d565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff16156114e25760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b606482015260840161064d565b6000805460ff191660011781556114ff906114fa3390565b6116c4565b611517600080516020613407833981519152336116c4565b61152383600019613182565b600d557f00000000000000000000000000000000000000000000000000000000000000001561155357600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff19166020179055565b600081815260026020526040812061058e9061234f565b600082815260016020819052604090912001546115dd816116b7565b6107fa83836116e6565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af115801561163f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611663919061321a565b9050600b548160000151118061167c5750600754600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061058e57506301ffc9a760e01b6001600160e01b031983161461058e565b6116c18133612359565b50565b6116ce82826123b2565b60008281526002602052604090206107fa908261241d565b6116f08282612432565b60008281526002602052604090206107fa9082612499565b6101006117176104008061314d565b6117239061040061314d565b61172e90600861314d565b6117389190613182565b82516117449190613293565b156117915760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e6564000000604482015260640161064d565b6020820151825182916117a391613207565b11156117e95760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b604482015260640161064d565b60006117f483611991565b6101006118036104008061314d565b61180f9061040061314d565b61181b9061040061314d565b61182690600861314d565b6118309190613182565b61183a919061314d565b905080836020015111156118885760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b604482015260640161064d565b600061189483836124ae565b905080846020015110156118e35760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b604482015260640161064d565b83606001518460400151166001600160401b03166000146119465760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f000000000000604482015260640161064d565b50505050565b6000610bc783836124c4565b6000600f5460000361196b575060001990565b600f5461197a90600019613182565b905090565b61198f6001600160f01b036124ee565b565b606081015160009019815b6001600160401b038216156119cc576119b660018361312d565b90911690806119c4816132d8565b91505061199c565b600160ff9091161b9392505050565b6119e3612bed565b60408083015160c084015160808501519251611a1393906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e0840180515190911883525190600090611a49610400600461314d565b611a539190613182565b905081836020600184030281015b80821015611a8057602080842093810180519094189201918252611a61565b5050505050919050565b6000805b6020611a9d610400600461314d565b611aa79190613182565b811015611af5576101006020820284012080848360808110611acb57611acb6132f7565b602002018181525050506020610100611ae49190613182565b611aee9082613207565b9050611a8e565b506000611b056020610100613182565b90505b6020611b17610400600461314d565b611b219190613182565b811015611bf45760005b6020611b3a610400600461314d565b611b449190613182565b811015611beb576000848260808110611b5f57611b5f6132f7565b60200201519050600085611b738585613207565b60808110611b8357611b836132f7565b602002015190508181604051602001611ba6929190918252602082015260400190565b60405160208183030381529060405280519060200120868460808110611bce57611bce6132f7565b602002015250611be49050600183901b82613207565b9050611b2b565b5060011b611b08565b508151611bff612bed565b92506000610100611c13610400600461314d565b611c1d9190613182565b8560800151611c2c9190613182565b905060005b85610100015151811015611cf357600080611c4d600285613293565b600003611c7d578491508761010001518381518110611c6e57611c6e6132f7565b60200260200101519050611ca2565b8761010001518381518110611c9457611c946132f7565b602002602001015191508490505b6040805160208101849052908101829052606001604051602081830303815290604052805190602001209450600284611cdb9190613182565b93505050600181611cec9190613207565b9050611c31565b5090949350505050565b600080610100611d0f6104008061314d565b611d1b9061040061314d565b611d279061040061314d565b611d3290600861314d565b611d3c9190613182565b8311611d485782611d84565b610100611d576104008061314d565b611d639061040061314d565b611d6f9061040061314d565b611d7a90600861314d565b611d849190613182565b90506000611d9185611991565b611d9b9085613182565b90506000610100611dae6104008061314d565b611dba9061040061314d565b611dc69061040061314d565b611dd190600861314d565b611ddb9190613182565b8211611de75781611e23565b610100611df66104008061314d565b611e029061040061314d565b611e0e9061040061314d565b611e1990600861314d565b611e239190613182565b9050611e3381604085901b613182565b9695505050505050565b6000816020015143611e4f919061311a565b905060006010600d54901c90506000611e6b82846006546125aa565b9050611946816124ee565b60008160000151826020015183604001518460600151604051602001611ec1949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b611ee6612c0c565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b6020808301919091528251908301516040840151606085015161058e9385939092909160806001612659565b611f5e612c0c565b611f66612bed565b6000611f7184612718565b9050611f9f816040611f86610400600461314d565b611f909190613182565b611f9a908861314d565b612734565b60005b608081101561202f576040808320835282206020830152868160808110611fcb57611fcb6132f7565b6020020151825118838260808110611fe557611fe56132f7565b6020020152866001820160808110611fff57611fff6132f7565b6020020151826001602002015118838260010160808110612022576120226132f7565b6020020152600201611fa2565b506120c2816040612043610400600461314d565b61204d9190613182565b60018861205d610400601061314d565b61206b61040061010061314d565b6120759190613182565b612082610400600461314d565b61209061040061010061314d565b61209a9190613182565b6120a49190613182565b6120ae919061311a565b6120b8919061311a565b611f9a919061314d565b6120cb81612718565b925050935093915050565b6000806101006120e86104008261314d565b6120f29190613182565b84602001516121019190613182565b61210b9084613293565b604085015160608601516020870151929350831617906101006121306104008261314d565b61213a9190613182565b61214d906001600160401b03841661314d565b111561219b5760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e6400000000604482015260640161064d565b6101006121aa6104008261314d565b6121b49190613182565b6121c7906001600160401b03831661314d565b85516121d39190613207565b95945050505050565b60006121e6612c0c565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b60208083019190915284519085015161224c9183918891906000608081612659565b9050612256612c2a565b608060006020612269610400600461314d565b6122739190613182565b61227e90602061314d565b612289906080613207565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a10156123235760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361230957600182535b60408660d58a6009600019fa61231e57600080fd5b6122bb565b50505050505050508260016008811061233e5761233e6132f7565b602002015198975050505050505050565b600061058e825490565b6123638282610bce565b6108795761237081612755565b61237b836020612767565b60405160200161238c929190613331565b60408051601f198184030181529082905262461bcd60e51b825261064d916004016133a6565b6123bc8282610bce565b6108795760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000610bc7836001600160a01b038416612902565b61243c8282610bce565b156108795760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610bc7836001600160a01b038416612951565b60008183106124bd5781610bc7565b5090919050565b60008260000182815481106124db576124db6132f7565b9060005260206000200154905092915050565b600d5460095460109190911c906000818461250a60018361311a565b612514908661314d565b61251e9190613207565b6125289190613182565b905061253583600261314d565b81111561254a5761254783600261314d565b90505b612555600284613182565b81101561256a57612567600284613182565b90505b6001600160f01b0381111561258357506001600160f01b035b601081901b600d556000612595611958565b905080600d541115610b0d57600d5550505050565b60008080600019858709858702925082811083820303915050806000036125e4578382816125da576125da61316c565b0492505050610bc7565b8084116125f057600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b612661612c0c565b600c600061266e85612a4b565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa61270a57600080fd5b505050979650505050505050565b612720612c0c565b815181526020918201519181019190915290565b60005b818110156107fa576040808420845283206020840152600101612737565b606061058e6001600160a01b03831660145b6060600061277683600261314d565b612781906002613207565b6001600160401b0381111561279857612798612d2b565b6040519080825280601f01601f1916602001820160405280156127c2576020820181803683370190505b509050600360fc1b816000815181106127dd576127dd6132f7565b60200101906001600160f81b031916908160001a905350600f60fb1b8160018151811061280c5761280c6132f7565b60200101906001600160f81b031916908160001a905350600061283084600261314d565b61283b906001613207565b90505b60018111156128b3576f181899199a1a9b1b9c1cb0b131b232b360811b85600f166010811061286f5761286f6132f7565b1a60f81b828281518110612885576128856132f7565b60200101906001600160f81b031916908160001a90535060049490941c936128ac816133d9565b905061283e565b508315610bc75760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161064d565b60008181526001830160205260408120546129495750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561058e565b50600061058e565b60008181526001830160205260408120548015612a3a57600061297560018361311a565b85549091506000906129899060019061311a565b90508181146129ee5760008660000182815481106129a9576129a96132f7565b90600052602060002001549050808760000184815481106129cc576129cc6132f7565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806129ff576129ff6133f0565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061058e565b600091505061058e565b5092915050565b612a53612c0c565b62010000821015612a9757600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b640100000000821015612ad757600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b031916612a7f565b68010000000000000000821015612af157612a7f82612b87565b600160801b821015612b41576001600160401b038216604083901c612b1582612b87565b6001600160c01b0319168352612b2a81612b87565b6001600160c01b031916602084015250612b829050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b604482015260640161064d565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b600060208284031215612c5b57600080fd5b81356001600160e01b031981168114610bc757600080fd5b80356001600160a01b0381168114612b8257600080fd5b80356001600160401b0381168114612b8257600080fd5b60008060408385031215612cb457600080fd5b612cbd83612c73565b9150612ccb60208401612c8a565b90509250929050565b600060208284031215612ce657600080fd5b5035919050565b600060208284031215612cff57600080fd5b610bc782612c8a565b60008060408385031215612d1b57600080fd5b82359150612ccb60208401612c73565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715612d6457612d64612d2b565b60405290565b60405160c081016001600160401b0381118282101715612d6457612d64612d2b565b600060808284031215612d9e57600080fd5b604051608081018181106001600160401b0382111715612dc057612dc0612d2b565b80604052508091508235815260208301356020820152612de260408401612c8a565b6040820152612df360608401612c8a565b60608201525092915050565b600082601f830112612e1057600080fd5b6040516110008082018281106001600160401b0382111715612e3457612e34612d2b565b60405283018185821115612e4757600080fd5b845b82811015612e61578035825260209182019101612e49565b509195945050505050565b600082601f830112612e7d57600080fd5b813560206001600160401b0380831115612e9957612e99612d2b565b8260051b604051601f19603f83011681018181108482111715612ebe57612ebe612d2b565b604052938452858101830193838101925087851115612edc57600080fd5b83870191505b848210156113b857813583529183019190830190612ee2565b60006111608284031215612f0e57600080fd5b612f16612d41565b9050813581526020820135602082015260408201356040820152612f3d8360608401612d8c565b606082015260e082013560808201526101008083013560a083015261012083013560c0830152612f71846101408501612dff565b60e08301526111408301356001600160401b03811115612f9057600080fd5b612f9c85828601612e6c565b82840152505092915050565b60008082840360e0811215612fbc57600080fd5b83356001600160401b03811115612fd257600080fd5b612fde86828701612efb565b93505060c0601f1982011215612ff357600080fd5b50612ffc612d6a565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c084013560a0820152809150509250929050565b6000806040838503121561305357600080fd5b50508035926020909101359150565b60006020828403121561307457600080fd5b81356001600160401b0381111561308a57600080fd5b61309684828501612efb565b949350505050565b600080604083850312156130b157600080fd5b6130ba83612c73565b946020939093013593505050565b6000806000606084860312156130dd57600080fd5b833592506130ed60208501612c73565b91506130fb60408501612c73565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561058e5761058e613104565b6001600160401b03828116828216039080821115612a4457612a44613104565b600081600019048311821515161561316757613167613104565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826131915761319161316c565b500490565b80516001600160801b0381168114612b8257600080fd5b6000604082840312156131bf57600080fd5b604051604081018181106001600160401b03821117156131e1576131e1612d2b565b6040526131ed83613196565b81526131fb60208401613196565b60208201529392505050565b8082018082111561058e5761058e613104565b600060c0828403121561322c57600080fd5b60405160c081018181106001600160401b038211171561324e5761324e612d2b565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b6000826132a2576132a261316c565b500690565b60408101818360005b60028110156132cf5781518352602092830192909101906001016132b0565b50505092915050565b600060ff821660ff81036132ee576132ee613104565b60010192915050565b634e487b7160e01b600052603260045260246000fd5b60005b83811015613328578181015183820152602001613310565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e742000000000000000000081526000835161336981601785016020880161330d565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161339a81602884016020880161330d565b01602801949350505050565b60208152600082518060208401526133c581604085016020870161330d565b601f01601f19169190910160400192915050565b6000816133e8576133e8613104565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212202503bf9188a9b6fe4cea53d3fe04cba02a3dac720893126a84f97012870195ea64736f6c63430008100033", + "bytecode": "0x60e06040523480156200001157600080fd5b5060405162003bfd38038062003bfd833981016040819052620000349162000052565b6001811615608052600281161560a052600416151560c0526200006c565b6000602082840312156200006557600080fd5b5051919050565b60805160a05160c051613b45620000b8600039600081816104c301528181611abc0152612e710152600081816104f3015261169501526000818161058001526116580152613b456000f3fe608060405234801561001057600080fd5b50600436106102695760003560e01c80637bba7d6111610151578063ae722e82116100c3578063b776a51211610087578063b776a512146105f9578063ca15c87314610602578063d547741f14610615578063dddc61a814610628578063e282e27b14610631578063ffbc9bd01461063857600080fd5b8063ae722e82146105a2578063b0628ee0146105b5578063b15d20da146105c8578063b4988fd0146105dd578063b4a93283146105f057600080fd5b806391d148541161011557806391d148541461053b5780639dc787a21461054e578063a217fddf14610557578063a82791821461055f578063ad08fdfb14610568578063adaa7a0f1461057b57600080fd5b80637bba7d61146104be5780637eca5688146104e557806382975fe7146104ee5780638c0bca06146105155780639010d07c1461052857600080fd5b80632f2ff15d116101ea57806339cd53ee116101ae57806339cd53ee146104405780633baebb751461046957806348f614411461047c5780635bdca85514610485578063704d3c961461049857806378203ab6146104ab57600080fd5b80632f2ff15d146103f557806331223ba714610408578063331f3b9c14610411578063343aad821461041a57806336568abe1461042d57600080fd5b806316a4be6f1161023157806316a4be6f146102de578063228cb73314610309578063248a9ca314610334578063296beba7146103665780632a02573b146103e257600080fd5b806301ffc9a71461026e578063047c13f5146102965780630c655e1f146102ab578063158ef93e146102be5780631600c624146102cb575b600080fd5b61028161027c36600461329b565b610640565b60405190151581526020015b60405180910390f35b6102a96102a43660046132f3565b61066b565b005b6102a96102b9366004613326565b610787565b6000546102819060ff1681565b6102a96102d9366004613326565b6108e2565b600a546102f1906001600160401b031681565b6040516001600160401b03909116815260200161028d565b60045461031c906001600160a01b031681565b6040516001600160a01b03909116815260200161028d565b610358610342366004613326565b6000908152600160208190526040909120015490565b60405190815260200161028d565b610379610374366004613326565b610952565b60408051825180518252602080820151818401528184015183850152606080830151818501526080808401519085015260a0928301519284019290925284015160c08301529183015160e08201529101516001600160401b03166101008201526101200161028d565b6102a96103f036600461333f565b610bcf565b6102a961040336600461335a565b610cd5565b610358600b5481565b61035860065481565b60035461031c906001600160a01b031681565b6102a961043b36600461335a565b610d00565b61031c61044e366004613326565b600e602052600090815260409020546001600160a01b031681565b6102a961047736600461365c565b610d7e565b610358600d5481565b6102a9610493366004613326565b611020565b6102a96104a6366004613326565b61104d565b6103586104b93660046136a1565b6110bb565b6102817f000000000000000000000000000000000000000000000000000000000000000081565b61035860085481565b6102817f000000000000000000000000000000000000000000000000000000000000000081565b6103586105233660046136cc565b611208565b61031c610536366004613710565b611408565b61028161054936600461335a565b611427565b61035860105481565b610358600081565b610358600c5481565b6102a9610576366004613326565b611452565b6102817f000000000000000000000000000000000000000000000000000000000000000081565b6102a96105b0366004613732565b61148c565b6102a96105c336600461376e565b611957565b610358600080516020613af083398151915281565b6102a96105eb366004613798565b611a17565b610358600f5481565b61035860075481565b610358610610366004613326565b611b43565b6102a961062336600461335a565b611b5a565b61035860095481565b60016102f1565b610281611b80565b60006001600160e01b03198216635a05180f60e01b1480610665575061066582611c26565b92915050565b60006106786001436137ea565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b03161561072d5760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b600080516020613af083398151915261079f81611c5b565b600082116107f95760405162461bcd60e51b815260206004820152602160248201527f4e756d626572206f66207375627461736b732063616e6e6f74206265207a65726044820152606f60f81b6064820152608401610724565b600360009054906101000a90046001600160a01b03166001600160a01b031663f06820546040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087091906137fd565b82106108dc5760405162461bcd60e51b815260206004820152603560248201527f4e756d626572206f66207375627461736b73206d757374206265206c657373206044820152740e8d0c2dc40c4d8dec6d6e640e0cae440cae0dec6d605b1b6064820152608401610724565b50601055565b600080516020613af08339815191526108fa81611c5b565b61010082111561094c5760405162461bcd60e51b815260206004820152601d60248201527f746172676574206d696e6520626c6f636b206d757374203c3d203235360000006044820152606401610724565b50600655565b604080516101408101825260006080820181815260a0830182905260c0830182905260e08301829052610100830182905261012083018290528252602082018190529181018290526060810191909152816109e85760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b6044820152606401610724565b6000828152600e60205260409020546001600160a01b031680610a4d5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f74207265676973746572656400000000006044820152606401610724565b600a546001600160401b0316606083015260035460408051635a325a9f60e11b815290516001600160a01b039092169163b464b53e9160048082019260c09290919082900301816000875af1158015610aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ace9190613816565b80835260105460a09091015160405160009291610af8918790602001918252602082015260400190565b6040516020818303038152906040528051906020012060001c610b1b91906138a5565b9050600081846000015160200151610b3391906138b9565b90508043111580610b4e5750600654610b4c82436137ea565b115b15610b5b57505050919050565b835160a001516040805160208082019390935283408183015281518082038301815260609091018252805192019190912090850152600b548451511115610ba7578351610ba790611c68565b600754610bb59060026138cc565b600c541015610bc757600d5460208501525b505050919050565b600080516020613af0833981519152610be781611c5b565b6000826001600160401b031611610c405760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f006044820152606401610724565b610c4b6001836138eb565b82166001600160401b0316600014610cb15760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b6064820152608401610724565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b60008281526001602081905260409091200154610cf181611c5b565b610cfb8383611cf8565b505050565b6001600160a01b0381163314610d705760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610724565b610d7a8282611d1a565b5050565b815160a082015114610dd25760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e67206469676573740000000000006044820152606401610724565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a0015103610e455760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e65000000000000006044820152606401610724565b600754610e539060026138cc565b600c5410610ea35760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e73000000006044820152606401610724565b6000610100610eb4610400826138cc565b610ebe919061390b565b610100610ecd610400826138cc565b610ed7919061390b565b8360600151610ee6919061390b565b610ef091906138cc565b6060840151909150610f029082611d3c565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa158015610f51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f759190613936565b90506000610100610f8961040060046138cc565b610f93919061390b565b8560800151610fa291906138b9565b90508082600001516001600160801b0316108015610fcd57508082602001516001600160801b031610155b6110195760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e74657874206469676573740000006044820152606401610724565b5050505050565b600080516020613af083398151915261103881611c5b565b6008829055600b54600003610d7a5750600755565b600080516020613af083398151915261106581611c5b565b600082116110b55760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f0000006044820152606401610724565b50600955565b6000806010548460a00151846040516020016110e1929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61110491906138a5565b9050600081856020015161111891906138b9565b905080431161117c5760405162461bcd60e51b815260206004820152602a60248201527f4561726c696572207468616e206578706563746564207375627461736b20737460448201526930b93a10313637b1b59760b11b6064820152608401610724565b60065461118982436137ea565b11156111ce5760405162461bcd60e51b8152602060048201526014602482015273135a5b9948191958591b1a5b9948195e18d9595960621b6044820152606401610724565b60a0850151604080516020810192909252824090820152606001604051602081830303815290604052805190602001209250505092915050565b604082015160009061125c5760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d70747900000000000000006044820152606401610724565b6000604051806080016040528085604001518152602001856020015181526020018481526020016112908660600151611f80565b90529050600061129f82611fe8565b905060006112b061040060106138cc565b6112be6104006101006138cc565b6112c8919061390b565b6112d561040060046138cc565b6112e36104006101006138cc565b6112ed919061390b565b6112f7919061390b565b8660a0015161130691906138a5565b905061131061323f565b61131861325e565b6113278860e001518486612060565b9250905061010061133b61040060046138cc565b611345919061390b565b8860a0015161135491906138cc565b611391826040516020016113689190613990565b604051602081830303815290604052805190602001208a606001516121e090919063ffffffff16565b61139b91906138b9565b8860800151146113ed5760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e000000000000006044820152606401610724565b6113fc8860a0015185846122e6565b98975050505050505050565b60008281526002602052604081206114209083612459565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613af083398151915261146a81611c5b565b600f8290556000611479612465565b905080600d541115610cfb57600d555050565b60408101516114d65760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b6044820152606401610724565b6040808201516000908152600e60205220546001600160a01b03168061153e5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f74207265676973746572656400000000006044820152606401610724565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ad9190613816565b90506115b881611c68565b60006115c88285604001516110bb565b90506115d48483610d7e565b600a5460608501516001600160401b03909116906115f19061248c565b111561164e5760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b6064820152608401610724565b61165661323f565b7f00000000000000000000000000000000000000000000000000000000000000001561168c57611685856124d6565b9050611693565b5060e08401515b7f00000000000000000000000000000000000000000000000000000000000000001561171c5760006116c58683612585565b90508360400151811461171a5760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f7400000000000000006044820152606401610724565b505b61172461323f565b905060006117328684611208565b90506000611751856060015188606001516127f890919063ffffffff16565b9050604081600d54611763919061390b565b901b8211156117b45760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c69747900000000006044820152606401610724565b60008281526005602052604090205460ff16156118135760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d6974746564000000000000006044820152606401610724565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c61010061184c610400806138cc565b611858906104006138cc565b6118639060086138cc565b61186d919061390b565b896080015161187c919061390b565b6040808b015190516001600160e01b031960e085901b16815260048101929092526001600160a01b038a1660248301526044820152606401600060405180830381600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b5050506040808901518751600c5460808c015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38451600b55600c8054600191906000906119499084906138b9565b909155505050505050505050565b6000818152600e60205260409020546001600160a01b031633146119bd5760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e6572496400000000006044820152606401610724565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff1615611a765760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b6064820152608401610724565b6000805460ff19166001178155611a9390611a8e3390565b611cf8565b611aab600080516020613af083398151915233611cf8565b611ab78360001961390b565b600d557f000000000000000000000000000000000000000000000000000000000000000015611ae757600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff191660201790556001601055565b600081815260026020526040812061066590612938565b60008281526001602081905260409091200154611b7681611c5b565b610cfb8383611d1a565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af1158015611bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfc9190613816565b9050600b5481600001511180611c205750600754611c1b9060026138cc565b600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061066557506301ffc9a760e01b6001600160e01b0319831614610665565b611c658133612942565b50565b600b5481511015611cc95760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b6064820152608401610724565b600b548151118015611cdd57506000600b54115b15611c6557611cea61299b565b6000600c5560085460075550565b611d0282826129db565b6000828152600260205260409020610cfb9082612a46565b611d248282612a5b565b6000828152600260205260409020610cfb9082612ac2565b610100611d4b610400806138cc565b611d57906104006138cc565b611d629060086138cc565b611d6c919061390b565b8251611d7891906138a5565b15611dc55760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e65640000006044820152606401610724565b602082015182518291611dd7916138b9565b1115611e1d5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b6044820152606401610724565b6000611e288361248c565b610100611e37610400806138cc565b611e43906104006138cc565b611e4f906104006138cc565b611e5a9060086138cc565b611e64919061390b565b611e6e91906138cc565b90508083602001511115611ebc5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b6044820152606401610724565b6000611ec88383612ad7565b90508084602001511015611f175760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b6044820152606401610724565b83606001518460400151166001600160401b0316600014611f7a5760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f0000000000006044820152606401610724565b50505050565b60008160000151826020015183604001518460600151604051602001611fcb949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b611ff061325e565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b602080830191909152825190830151604084015160608501516106659385939092909160806001612aed565b61206861325e565b61207061323f565b600061207b84612bac565b90506120a981604061209061040060046138cc565b61209a919061390b565b6120a490886138cc565b612bc8565b60005b60808110156121395760408083208352822060208301528681608081106120d5576120d56139c1565b60200201518251188382608081106120ef576120ef6139c1565b6020020152866001820160808110612109576121096139c1565b602002015182600160200201511883826001016080811061212c5761212c6139c1565b60200201526002016120ac565b506121cc81604061214d61040060046138cc565b612157919061390b565b60018861216761040060106138cc565b6121756104006101006138cc565b61217f919061390b565b61218c61040060046138cc565b61219a6104006101006138cc565b6121a4919061390b565b6121ae919061390b565b6121b891906137ea565b6121c291906137ea565b6120a491906138cc565b6121d581612bac565b925050935093915050565b6000806101006121f2610400826138cc565b6121fc919061390b565b846020015161220b919061390b565b61221590846138a5565b6040850151606086015160208701519293508316179061010061223a610400826138cc565b612244919061390b565b612257906001600160401b0384166138cc565b11156122a55760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e64000000006044820152606401610724565b6101006122b4610400826138cc565b6122be919061390b565b6122d1906001600160401b0383166138cc565b85516122dd91906138b9565b95945050505050565b60006122f061325e565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b6020808301919091528451908501516123569183918891906000608081612aed565b905061236061327c565b60806000602061237361040060046138cc565b61237d919061390b565b6123889060206138cc565b6123939060806138b9565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a101561242d5760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361241357600182535b60408660d58a6009600019fa61242857600080fd5b6123c5565b505050505050505082600160088110612448576124486139c1565b602002015198975050505050505050565b60006114208383612be9565b6000600f54600003612478575060001990565b600f546124879060001961390b565b905090565b606081015160009019815b6001600160401b038216156124c7576124b16001836138eb565b90911690806124bf816139d7565b915050612497565b600160ff9091161b9392505050565b6124de61323f565b60408083015160c08401516080850151925161250e93906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e084018051519091188352519060009061254461040060046138cc565b61254e919061390b565b905081836020600184030281015b8082101561257b5760208084209381018051909418920191825261255c565b5050505050919050565b6000805b602061259861040060046138cc565b6125a2919061390b565b8110156125f05761010060208202840120808483608081106125c6576125c66139c1565b6020020181815250505060206101006125df919061390b565b6125e990826138b9565b9050612589565b506000612600602061010061390b565b90505b602061261261040060046138cc565b61261c919061390b565b8110156126ef5760005b602061263561040060046138cc565b61263f919061390b565b8110156126e657600084826080811061265a5761265a6139c1565b6020020151905060008561266e85856138b9565b6080811061267e5761267e6139c1565b6020020151905081816040516020016126a1929190918252602082015260400190565b604051602081830303815290604052805190602001208684608081106126c9576126c96139c1565b6020020152506126df9050600183901b826138b9565b9050612626565b5060011b612603565b5081516126fa61323f565b9250600061010061270e61040060046138cc565b612718919061390b565b8560800151612727919061390b565b905060005b856101000151518110156127ee576000806127486002856138a5565b600003612778578491508761010001518381518110612769576127696139c1565b6020026020010151905061279d565b876101000151838151811061278f5761278f6139c1565b602002602001015191508490505b60408051602081018490529081018290526060016040516020818303038152906040528051906020012094506002846127d6919061390b565b935050506001816127e791906138b9565b905061272c565b5090949350505050565b60008061010061280a610400806138cc565b612816906104006138cc565b612822906104006138cc565b61282d9060086138cc565b612837919061390b565b8311612843578261287f565b610100612852610400806138cc565b61285e906104006138cc565b61286a906104006138cc565b6128759060086138cc565b61287f919061390b565b9050600061288c8561248c565b612896908561390b565b905060006101006128a9610400806138cc565b6128b5906104006138cc565b6128c1906104006138cc565b6128cc9060086138cc565b6128d6919061390b565b82116128e2578161291e565b6101006128f1610400806138cc565b6128fd906104006138cc565b612909906104006138cc565b6129149060086138cc565b61291e919061390b565b905061292e81604085901b61390b565b9695505050505050565b6000610665825490565b61294c8282611427565b610d7a5761295981612c13565b612964836020612c25565b604051602001612975929190613a1a565b60408051601f198184030181529082905262461bcd60e51b825261072491600401613a8f565b600c54600090156129c85760006010600d54901c90506129c081600654600c54612dc0565b9150506129d2565b506001600160f01b035b611c6581612e6f565b6129e58282611427565b610d7a5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611420836001600160a01b038416612f54565b612a658282611427565b15610d7a5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611420836001600160a01b038416612fa3565b6000818310612ae65781611420565b5090919050565b612af561325e565b600c6000612b028561309d565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa612b9e57600080fd5b505050979650505050505050565b612bb461325e565b815181526020918201519181019190915290565b60005b81811015610cfb576040808420845283206020840152600101612bcb565b6000826000018281548110612c0057612c006139c1565b9060005260206000200154905092915050565b60606106656001600160a01b03831660145b60606000612c348360026138cc565b612c3f9060026138b9565b6001600160401b03811115612c5657612c5661337d565b6040519080825280601f01601f191660200182016040528015612c80576020820181803683370190505b509050600360fc1b81600081518110612c9b57612c9b6139c1565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612cca57612cca6139c1565b60200101906001600160f81b031916908160001a9053506000612cee8460026138cc565b612cf99060016138b9565b90505b6001811115612d71576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612d2d57612d2d6139c1565b1a60f81b828281518110612d4357612d436139c1565b60200101906001600160f81b031916908160001a90535060049490941c93612d6a81613ac2565b9050612cfc565b5083156114205760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610724565b6000808060001985870985870292508281108382030391505080600003612dfa57838281612df057612df061388f565b0492505050611420565b808411612e0657600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b7f000000000000000000000000000000000000000000000000000000000000000015612e985750565b600d5460095460109190911c9060008184612eb46001836137ea565b612ebe90866138cc565b612ec891906138b9565b612ed2919061390b565b9050612edf8360026138cc565b811115612ef457612ef18360026138cc565b90505b612eff60028461390b565b811015612f1457612f1160028461390b565b90505b6001600160f01b03811115612f2d57506001600160f01b035b601081901b600d556000612f3f612465565b905080600d54111561101957600d5550505050565b6000818152600183016020526040812054612f9b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610665565b506000610665565b6000818152600183016020526040812054801561308c576000612fc76001836137ea565b8554909150600090612fdb906001906137ea565b9050818114613040576000866000018281548110612ffb57612ffb6139c1565b906000526020600020015490508087600001848154811061301e5761301e6139c1565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061305157613051613ad9565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610665565b6000915050610665565b5092915050565b6130a561325e565b620100008210156130e957600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b64010000000082101561312957600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b0319166130d1565b68010000000000000000821015613143576130d1826131d9565b600160801b821015613193576001600160401b038216604083901c613167826131d9565b6001600160c01b031916835261317c816131d9565b6001600160c01b0319166020840152506131d49050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b6044820152606401610724565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b6000602082840312156132ad57600080fd5b81356001600160e01b03198116811461142057600080fd5b80356001600160a01b03811681146131d457600080fd5b80356001600160401b03811681146131d457600080fd5b6000806040838503121561330657600080fd5b61330f836132c5565b915061331d602084016132dc565b90509250929050565b60006020828403121561333857600080fd5b5035919050565b60006020828403121561335157600080fd5b611420826132dc565b6000806040838503121561336d57600080fd5b8235915061331d602084016132c5565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156133b6576133b661337d565b60405290565b6000608082840312156133ce57600080fd5b604051608081018181106001600160401b03821117156133f0576133f061337d565b80604052508091508235815260208301356020820152613412604084016132dc565b6040820152613423606084016132dc565b60608201525092915050565b600082601f83011261344057600080fd5b6040516110008082018281106001600160401b03821117156134645761346461337d565b6040528301818582111561347757600080fd5b845b82811015613491578035825260209182019101613479565b509195945050505050565b600082601f8301126134ad57600080fd5b813560206001600160401b03808311156134c9576134c961337d565b8260051b604051601f19603f830116810181811084821117156134ee576134ee61337d565b60405293845285810183019383810192508785111561350c57600080fd5b83870191505b8482101561352b57813583529183019190830190613512565b979650505050505050565b6000611160828403121561354957600080fd5b613551613393565b905081358152602082013560208201526040820135604082015261357883606084016133bc565b606082015260e082013560808201526101008083013560a083015261012083013560c08301526135ac84610140850161342f565b60e08301526111408301356001600160401b038111156135cb57600080fd5b6135d78582860161349c565b82840152505092915050565b600060c082840312156135f557600080fd5b60405160c081018181106001600160401b03821117156136175761361761337d565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201525092915050565b60008060e0838503121561366f57600080fd5b82356001600160401b0381111561368557600080fd5b61369185828601613536565b92505061331d84602085016135e3565b60008060e083850312156136b457600080fd5b6136be84846135e3565b9460c0939093013593505050565b600080604083850312156136df57600080fd5b82356001600160401b038111156136f557600080fd5b61370185828601613536565b95602094909401359450505050565b6000806040838503121561372357600080fd5b50508035926020909101359150565b60006020828403121561374457600080fd5b81356001600160401b0381111561375a57600080fd5b61376684828501613536565b949350505050565b6000806040838503121561378157600080fd5b61378a836132c5565b946020939093013593505050565b6000806000606084860312156137ad57600080fd5b833592506137bd602085016132c5565b91506137cb604085016132c5565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b81810381811115610665576106656137d4565b60006020828403121561380f57600080fd5b5051919050565b600060c0828403121561382857600080fd5b60405160c081018181106001600160401b038211171561384a5761384a61337d565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b634e487b7160e01b600052601260045260246000fd5b6000826138b4576138b461388f565b500690565b80820180821115610665576106656137d4565b60008160001904831182151516156138e6576138e66137d4565b500290565b6001600160401b03828116828216039080821115613096576130966137d4565b60008261391a5761391a61388f565b500490565b80516001600160801b03811681146131d457600080fd5b60006040828403121561394857600080fd5b604051604081018181106001600160401b038211171561396a5761396a61337d565b6040526139768361391f565b81526139846020840161391f565b60208201529392505050565b60408101818360005b60028110156139b8578151835260209283019290910190600101613999565b50505092915050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff81036139ed576139ed6137d4565b60010192915050565b60005b83811015613a115781810151838201526020016139f9565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613a528160178501602088016139f6565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613a838160288401602088016139f6565b01602801949350505050565b6020815260008251806020840152613aae8160408501602087016139f6565b601f01601f19169190910160400192915050565b600081613ad157613ad16137d4565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212200eb99e085c29b1fd1f8ec1725a5680d8c8c8831462612f4f61b5f0a1db14621464736f6c63430008100033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102695760003560e01c80637bba7d6111610151578063ae722e82116100c3578063b776a51211610087578063b776a512146105f9578063ca15c87314610602578063d547741f14610615578063dddc61a814610628578063e282e27b14610631578063ffbc9bd01461063857600080fd5b8063ae722e82146105a2578063b0628ee0146105b5578063b15d20da146105c8578063b4988fd0146105dd578063b4a93283146105f057600080fd5b806391d148541161011557806391d148541461053b5780639dc787a21461054e578063a217fddf14610557578063a82791821461055f578063ad08fdfb14610568578063adaa7a0f1461057b57600080fd5b80637bba7d61146104be5780637eca5688146104e557806382975fe7146104ee5780638c0bca06146105155780639010d07c1461052857600080fd5b80632f2ff15d116101ea57806339cd53ee116101ae57806339cd53ee146104405780633baebb751461046957806348f614411461047c5780635bdca85514610485578063704d3c961461049857806378203ab6146104ab57600080fd5b80632f2ff15d146103f557806331223ba714610408578063331f3b9c14610411578063343aad821461041a57806336568abe1461042d57600080fd5b806316a4be6f1161023157806316a4be6f146102de578063228cb73314610309578063248a9ca314610334578063296beba7146103665780632a02573b146103e257600080fd5b806301ffc9a71461026e578063047c13f5146102965780630c655e1f146102ab578063158ef93e146102be5780631600c624146102cb575b600080fd5b61028161027c36600461329b565b610640565b60405190151581526020015b60405180910390f35b6102a96102a43660046132f3565b61066b565b005b6102a96102b9366004613326565b610787565b6000546102819060ff1681565b6102a96102d9366004613326565b6108e2565b600a546102f1906001600160401b031681565b6040516001600160401b03909116815260200161028d565b60045461031c906001600160a01b031681565b6040516001600160a01b03909116815260200161028d565b610358610342366004613326565b6000908152600160208190526040909120015490565b60405190815260200161028d565b610379610374366004613326565b610952565b60408051825180518252602080820151818401528184015183850152606080830151818501526080808401519085015260a0928301519284019290925284015160c08301529183015160e08201529101516001600160401b03166101008201526101200161028d565b6102a96103f036600461333f565b610bcf565b6102a961040336600461335a565b610cd5565b610358600b5481565b61035860065481565b60035461031c906001600160a01b031681565b6102a961043b36600461335a565b610d00565b61031c61044e366004613326565b600e602052600090815260409020546001600160a01b031681565b6102a961047736600461365c565b610d7e565b610358600d5481565b6102a9610493366004613326565b611020565b6102a96104a6366004613326565b61104d565b6103586104b93660046136a1565b6110bb565b6102817f000000000000000000000000000000000000000000000000000000000000000081565b61035860085481565b6102817f000000000000000000000000000000000000000000000000000000000000000081565b6103586105233660046136cc565b611208565b61031c610536366004613710565b611408565b61028161054936600461335a565b611427565b61035860105481565b610358600081565b610358600c5481565b6102a9610576366004613326565b611452565b6102817f000000000000000000000000000000000000000000000000000000000000000081565b6102a96105b0366004613732565b61148c565b6102a96105c336600461376e565b611957565b610358600080516020613af083398151915281565b6102a96105eb366004613798565b611a17565b610358600f5481565b61035860075481565b610358610610366004613326565b611b43565b6102a961062336600461335a565b611b5a565b61035860095481565b60016102f1565b610281611b80565b60006001600160e01b03198216635a05180f60e01b1480610665575061066582611c26565b92915050565b60006106786001436137ea565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b03161561072d5760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b600080516020613af083398151915261079f81611c5b565b600082116107f95760405162461bcd60e51b815260206004820152602160248201527f4e756d626572206f66207375627461736b732063616e6e6f74206265207a65726044820152606f60f81b6064820152608401610724565b600360009054906101000a90046001600160a01b03166001600160a01b031663f06820546040518163ffffffff1660e01b8152600401602060405180830381865afa15801561084c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087091906137fd565b82106108dc5760405162461bcd60e51b815260206004820152603560248201527f4e756d626572206f66207375627461736b73206d757374206265206c657373206044820152740e8d0c2dc40c4d8dec6d6e640e0cae440cae0dec6d605b1b6064820152608401610724565b50601055565b600080516020613af08339815191526108fa81611c5b565b61010082111561094c5760405162461bcd60e51b815260206004820152601d60248201527f746172676574206d696e6520626c6f636b206d757374203c3d203235360000006044820152606401610724565b50600655565b604080516101408101825260006080820181815260a0830182905260c0830182905260e08301829052610100830182905261012083018290528252602082018190529181018290526060810191909152816109e85760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b6044820152606401610724565b6000828152600e60205260409020546001600160a01b031680610a4d5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f74207265676973746572656400000000006044820152606401610724565b600a546001600160401b0316606083015260035460408051635a325a9f60e11b815290516001600160a01b039092169163b464b53e9160048082019260c09290919082900301816000875af1158015610aaa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ace9190613816565b80835260105460a09091015160405160009291610af8918790602001918252602082015260400190565b6040516020818303038152906040528051906020012060001c610b1b91906138a5565b9050600081846000015160200151610b3391906138b9565b90508043111580610b4e5750600654610b4c82436137ea565b115b15610b5b57505050919050565b835160a001516040805160208082019390935283408183015281518082038301815260609091018252805192019190912090850152600b548451511115610ba7578351610ba790611c68565b600754610bb59060026138cc565b600c541015610bc757600d5460208501525b505050919050565b600080516020613af0833981519152610be781611c5b565b6000826001600160401b031611610c405760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f006044820152606401610724565b610c4b6001836138eb565b82166001600160401b0316600014610cb15760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b6064820152608401610724565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b60008281526001602081905260409091200154610cf181611c5b565b610cfb8383611cf8565b505050565b6001600160a01b0381163314610d705760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610724565b610d7a8282611d1a565b5050565b815160a082015114610dd25760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e67206469676573740000000000006044820152606401610724565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a0015103610e455760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e65000000000000006044820152606401610724565b600754610e539060026138cc565b600c5410610ea35760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e73000000006044820152606401610724565b6000610100610eb4610400826138cc565b610ebe919061390b565b610100610ecd610400826138cc565b610ed7919061390b565b8360600151610ee6919061390b565b610ef091906138cc565b6060840151909150610f029082611d3c565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa158015610f51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f759190613936565b90506000610100610f8961040060046138cc565b610f93919061390b565b8560800151610fa291906138b9565b90508082600001516001600160801b0316108015610fcd57508082602001516001600160801b031610155b6110195760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e74657874206469676573740000006044820152606401610724565b5050505050565b600080516020613af083398151915261103881611c5b565b6008829055600b54600003610d7a5750600755565b600080516020613af083398151915261106581611c5b565b600082116110b55760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f0000006044820152606401610724565b50600955565b6000806010548460a00151846040516020016110e1929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c61110491906138a5565b9050600081856020015161111891906138b9565b905080431161117c5760405162461bcd60e51b815260206004820152602a60248201527f4561726c696572207468616e206578706563746564207375627461736b20737460448201526930b93a10313637b1b59760b11b6064820152608401610724565b60065461118982436137ea565b11156111ce5760405162461bcd60e51b8152602060048201526014602482015273135a5b9948191958591b1a5b9948195e18d9595960621b6044820152606401610724565b60a0850151604080516020810192909252824090820152606001604051602081830303815290604052805190602001209250505092915050565b604082015160009061125c5760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d70747900000000000000006044820152606401610724565b6000604051806080016040528085604001518152602001856020015181526020018481526020016112908660600151611f80565b90529050600061129f82611fe8565b905060006112b061040060106138cc565b6112be6104006101006138cc565b6112c8919061390b565b6112d561040060046138cc565b6112e36104006101006138cc565b6112ed919061390b565b6112f7919061390b565b8660a0015161130691906138a5565b905061131061323f565b61131861325e565b6113278860e001518486612060565b9250905061010061133b61040060046138cc565b611345919061390b565b8860a0015161135491906138cc565b611391826040516020016113689190613990565b604051602081830303815290604052805190602001208a606001516121e090919063ffffffff16565b61139b91906138b9565b8860800151146113ed5760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e000000000000006044820152606401610724565b6113fc8860a0015185846122e6565b98975050505050505050565b60008281526002602052604081206114209083612459565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613af083398151915261146a81611c5b565b600f8290556000611479612465565b905080600d541115610cfb57600d555050565b60408101516114d65760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b6044820152606401610724565b6040808201516000908152600e60205220546001600160a01b03168061153e5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f74207265676973746572656400000000006044820152606401610724565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015611589573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115ad9190613816565b90506115b881611c68565b60006115c88285604001516110bb565b90506115d48483610d7e565b600a5460608501516001600160401b03909116906115f19061248c565b111561164e5760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b6064820152608401610724565b61165661323f565b7f00000000000000000000000000000000000000000000000000000000000000001561168c57611685856124d6565b9050611693565b5060e08401515b7f00000000000000000000000000000000000000000000000000000000000000001561171c5760006116c58683612585565b90508360400151811461171a5760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f7400000000000000006044820152606401610724565b505b61172461323f565b905060006117328684611208565b90506000611751856060015188606001516127f890919063ffffffff16565b9050604081600d54611763919061390b565b901b8211156117b45760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c69747900000000006044820152606401610724565b60008281526005602052604090205460ff16156118135760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d6974746564000000000000006044820152606401610724565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c61010061184c610400806138cc565b611858906104006138cc565b6118639060086138cc565b61186d919061390b565b896080015161187c919061390b565b6040808b015190516001600160e01b031960e085901b16815260048101929092526001600160a01b038a1660248301526044820152606401600060405180830381600087803b1580156118ce57600080fd5b505af11580156118e2573d6000803e3d6000fd5b5050506040808901518751600c5460808c015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38451600b55600c8054600191906000906119499084906138b9565b909155505050505050505050565b6000818152600e60205260409020546001600160a01b031633146119bd5760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e6572496400000000006044820152606401610724565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff1615611a765760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b6064820152608401610724565b6000805460ff19166001178155611a9390611a8e3390565b611cf8565b611aab600080516020613af083398151915233611cf8565b611ab78360001961390b565b600d557f000000000000000000000000000000000000000000000000000000000000000015611ae757600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff191660201790556001601055565b600081815260026020526040812061066590612938565b60008281526001602081905260409091200154611b7681611c5b565b610cfb8383611d1a565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af1158015611bd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bfc9190613816565b9050600b5481600001511180611c205750600754611c1b9060026138cc565b600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061066557506301ffc9a760e01b6001600160e01b0319831614610665565b611c658133612942565b50565b600b5481511015611cc95760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b6064820152608401610724565b600b548151118015611cdd57506000600b54115b15611c6557611cea61299b565b6000600c5560085460075550565b611d0282826129db565b6000828152600260205260409020610cfb9082612a46565b611d248282612a5b565b6000828152600260205260409020610cfb9082612ac2565b610100611d4b610400806138cc565b611d57906104006138cc565b611d629060086138cc565b611d6c919061390b565b8251611d7891906138a5565b15611dc55760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e65640000006044820152606401610724565b602082015182518291611dd7916138b9565b1115611e1d5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b6044820152606401610724565b6000611e288361248c565b610100611e37610400806138cc565b611e43906104006138cc565b611e4f906104006138cc565b611e5a9060086138cc565b611e64919061390b565b611e6e91906138cc565b90508083602001511115611ebc5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b6044820152606401610724565b6000611ec88383612ad7565b90508084602001511015611f175760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b6044820152606401610724565b83606001518460400151166001600160401b0316600014611f7a5760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f0000000000006044820152606401610724565b50505050565b60008160000151826020015183604001518460600151604051602001611fcb949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b611ff061325e565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b602080830191909152825190830151604084015160608501516106659385939092909160806001612aed565b61206861325e565b61207061323f565b600061207b84612bac565b90506120a981604061209061040060046138cc565b61209a919061390b565b6120a490886138cc565b612bc8565b60005b60808110156121395760408083208352822060208301528681608081106120d5576120d56139c1565b60200201518251188382608081106120ef576120ef6139c1565b6020020152866001820160808110612109576121096139c1565b602002015182600160200201511883826001016080811061212c5761212c6139c1565b60200201526002016120ac565b506121cc81604061214d61040060046138cc565b612157919061390b565b60018861216761040060106138cc565b6121756104006101006138cc565b61217f919061390b565b61218c61040060046138cc565b61219a6104006101006138cc565b6121a4919061390b565b6121ae919061390b565b6121b891906137ea565b6121c291906137ea565b6120a491906138cc565b6121d581612bac565b925050935093915050565b6000806101006121f2610400826138cc565b6121fc919061390b565b846020015161220b919061390b565b61221590846138a5565b6040850151606086015160208701519293508316179061010061223a610400826138cc565b612244919061390b565b612257906001600160401b0384166138cc565b11156122a55760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e64000000006044820152606401610724565b6101006122b4610400826138cc565b6122be919061390b565b6122d1906001600160401b0383166138cc565b85516122dd91906138b9565b95945050505050565b60006122f061325e565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b6020808301919091528451908501516123569183918891906000608081612aed565b905061236061327c565b60806000602061237361040060046138cc565b61237d919061390b565b6123889060206138cc565b6123939060806138b9565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a101561242d5760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361241357600182535b60408660d58a6009600019fa61242857600080fd5b6123c5565b505050505050505082600160088110612448576124486139c1565b602002015198975050505050505050565b60006114208383612be9565b6000600f54600003612478575060001990565b600f546124879060001961390b565b905090565b606081015160009019815b6001600160401b038216156124c7576124b16001836138eb565b90911690806124bf816139d7565b915050612497565b600160ff9091161b9392505050565b6124de61323f565b60408083015160c08401516080850151925161250e93906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e084018051519091188352519060009061254461040060046138cc565b61254e919061390b565b905081836020600184030281015b8082101561257b5760208084209381018051909418920191825261255c565b5050505050919050565b6000805b602061259861040060046138cc565b6125a2919061390b565b8110156125f05761010060208202840120808483608081106125c6576125c66139c1565b6020020181815250505060206101006125df919061390b565b6125e990826138b9565b9050612589565b506000612600602061010061390b565b90505b602061261261040060046138cc565b61261c919061390b565b8110156126ef5760005b602061263561040060046138cc565b61263f919061390b565b8110156126e657600084826080811061265a5761265a6139c1565b6020020151905060008561266e85856138b9565b6080811061267e5761267e6139c1565b6020020151905081816040516020016126a1929190918252602082015260400190565b604051602081830303815290604052805190602001208684608081106126c9576126c96139c1565b6020020152506126df9050600183901b826138b9565b9050612626565b5060011b612603565b5081516126fa61323f565b9250600061010061270e61040060046138cc565b612718919061390b565b8560800151612727919061390b565b905060005b856101000151518110156127ee576000806127486002856138a5565b600003612778578491508761010001518381518110612769576127696139c1565b6020026020010151905061279d565b876101000151838151811061278f5761278f6139c1565b602002602001015191508490505b60408051602081018490529081018290526060016040516020818303038152906040528051906020012094506002846127d6919061390b565b935050506001816127e791906138b9565b905061272c565b5090949350505050565b60008061010061280a610400806138cc565b612816906104006138cc565b612822906104006138cc565b61282d9060086138cc565b612837919061390b565b8311612843578261287f565b610100612852610400806138cc565b61285e906104006138cc565b61286a906104006138cc565b6128759060086138cc565b61287f919061390b565b9050600061288c8561248c565b612896908561390b565b905060006101006128a9610400806138cc565b6128b5906104006138cc565b6128c1906104006138cc565b6128cc9060086138cc565b6128d6919061390b565b82116128e2578161291e565b6101006128f1610400806138cc565b6128fd906104006138cc565b612909906104006138cc565b6129149060086138cc565b61291e919061390b565b905061292e81604085901b61390b565b9695505050505050565b6000610665825490565b61294c8282611427565b610d7a5761295981612c13565b612964836020612c25565b604051602001612975929190613a1a565b60408051601f198184030181529082905262461bcd60e51b825261072491600401613a8f565b600c54600090156129c85760006010600d54901c90506129c081600654600c54612dc0565b9150506129d2565b506001600160f01b035b611c6581612e6f565b6129e58282611427565b610d7a5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611420836001600160a01b038416612f54565b612a658282611427565b15610d7a5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611420836001600160a01b038416612fa3565b6000818310612ae65781611420565b5090919050565b612af561325e565b600c6000612b028561309d565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa612b9e57600080fd5b505050979650505050505050565b612bb461325e565b815181526020918201519181019190915290565b60005b81811015610cfb576040808420845283206020840152600101612bcb565b6000826000018281548110612c0057612c006139c1565b9060005260206000200154905092915050565b60606106656001600160a01b03831660145b60606000612c348360026138cc565b612c3f9060026138b9565b6001600160401b03811115612c5657612c5661337d565b6040519080825280601f01601f191660200182016040528015612c80576020820181803683370190505b509050600360fc1b81600081518110612c9b57612c9b6139c1565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612cca57612cca6139c1565b60200101906001600160f81b031916908160001a9053506000612cee8460026138cc565b612cf99060016138b9565b90505b6001811115612d71576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612d2d57612d2d6139c1565b1a60f81b828281518110612d4357612d436139c1565b60200101906001600160f81b031916908160001a90535060049490941c93612d6a81613ac2565b9050612cfc565b5083156114205760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610724565b6000808060001985870985870292508281108382030391505080600003612dfa57838281612df057612df061388f565b0492505050611420565b808411612e0657600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b7f000000000000000000000000000000000000000000000000000000000000000015612e985750565b600d5460095460109190911c9060008184612eb46001836137ea565b612ebe90866138cc565b612ec891906138b9565b612ed2919061390b565b9050612edf8360026138cc565b811115612ef457612ef18360026138cc565b90505b612eff60028461390b565b811015612f1457612f1160028461390b565b90505b6001600160f01b03811115612f2d57506001600160f01b035b601081901b600d556000612f3f612465565b905080600d54111561101957600d5550505050565b6000818152600183016020526040812054612f9b57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610665565b506000610665565b6000818152600183016020526040812054801561308c576000612fc76001836137ea565b8554909150600090612fdb906001906137ea565b9050818114613040576000866000018281548110612ffb57612ffb6139c1565b906000526020600020015490508087600001848154811061301e5761301e6139c1565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061305157613051613ad9565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610665565b6000915050610665565b5092915050565b6130a561325e565b620100008210156130e957600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b64010000000082101561312957600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b0319166130d1565b68010000000000000000821015613143576130d1826131d9565b600160801b821015613193576001600160401b038216604083901c613167826131d9565b6001600160c01b031916835261317c816131d9565b6001600160c01b0319166020840152506131d49050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b6044820152606401610724565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b6000602082840312156132ad57600080fd5b81356001600160e01b03198116811461142057600080fd5b80356001600160a01b03811681146131d457600080fd5b80356001600160401b03811681146131d457600080fd5b6000806040838503121561330657600080fd5b61330f836132c5565b915061331d602084016132dc565b90509250929050565b60006020828403121561333857600080fd5b5035919050565b60006020828403121561335157600080fd5b611420826132dc565b6000806040838503121561336d57600080fd5b8235915061331d602084016132c5565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156133b6576133b661337d565b60405290565b6000608082840312156133ce57600080fd5b604051608081018181106001600160401b03821117156133f0576133f061337d565b80604052508091508235815260208301356020820152613412604084016132dc565b6040820152613423606084016132dc565b60608201525092915050565b600082601f83011261344057600080fd5b6040516110008082018281106001600160401b03821117156134645761346461337d565b6040528301818582111561347757600080fd5b845b82811015613491578035825260209182019101613479565b509195945050505050565b600082601f8301126134ad57600080fd5b813560206001600160401b03808311156134c9576134c961337d565b8260051b604051601f19603f830116810181811084821117156134ee576134ee61337d565b60405293845285810183019383810192508785111561350c57600080fd5b83870191505b8482101561352b57813583529183019190830190613512565b979650505050505050565b6000611160828403121561354957600080fd5b613551613393565b905081358152602082013560208201526040820135604082015261357883606084016133bc565b606082015260e082013560808201526101008083013560a083015261012083013560c08301526135ac84610140850161342f565b60e08301526111408301356001600160401b038111156135cb57600080fd5b6135d78582860161349c565b82840152505092915050565b600060c082840312156135f557600080fd5b60405160c081018181106001600160401b03821117156136175761361761337d565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201525092915050565b60008060e0838503121561366f57600080fd5b82356001600160401b0381111561368557600080fd5b61369185828601613536565b92505061331d84602085016135e3565b60008060e083850312156136b457600080fd5b6136be84846135e3565b9460c0939093013593505050565b600080604083850312156136df57600080fd5b82356001600160401b038111156136f557600080fd5b61370185828601613536565b95602094909401359450505050565b6000806040838503121561372357600080fd5b50508035926020909101359150565b60006020828403121561374457600080fd5b81356001600160401b0381111561375a57600080fd5b61376684828501613536565b949350505050565b6000806040838503121561378157600080fd5b61378a836132c5565b946020939093013593505050565b6000806000606084860312156137ad57600080fd5b833592506137bd602085016132c5565b91506137cb604085016132c5565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b81810381811115610665576106656137d4565b60006020828403121561380f57600080fd5b5051919050565b600060c0828403121561382857600080fd5b60405160c081018181106001600160401b038211171561384a5761384a61337d565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b634e487b7160e01b600052601260045260246000fd5b6000826138b4576138b461388f565b500690565b80820180821115610665576106656137d4565b60008160001904831182151516156138e6576138e66137d4565b500290565b6001600160401b03828116828216039080821115613096576130966137d4565b60008261391a5761391a61388f565b500490565b80516001600160801b03811681146131d457600080fd5b60006040828403121561394857600080fd5b604051604081018181106001600160401b038211171561396a5761396a61337d565b6040526139768361391f565b81526139846020840161391f565b60208201529392505050565b60408101818360005b60028110156139b8578151835260209283019290910190600101613999565b50505092915050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff81036139ed576139ed6137d4565b60010192915050565b60005b83811015613a115781810151838201526020016139f9565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613a528160178501602088016139f6565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613a838160288401602088016139f6565b01602801949350505050565b6020815260008251806020840152613aae8160408501602087016139f6565b601f01601f19169190910160400192915050565b600081613ad157613ad16137d4565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212200eb99e085c29b1fd1f8ec1725a5680d8c8c8831462612f4f61b5f0a1db14621464736f6c63430008100033", "linkReferences": {}, "deployedLinkReferences": {} } diff --git a/storage-contracts-abis/PoraMineTest.json b/storage-contracts-abis/PoraMineTest.json index f0f4116..0c1fcd3 100644 --- a/storage-contracts-abis/PoraMineTest.json +++ b/storage-contracts-abis/PoraMineTest.json @@ -341,6 +341,79 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "bytes32", + "name": "minerId", + "type": "bytes32" + } + ], + "name": "computeWorkerContext", + "outputs": [ + { + "components": [ + { + "components": [ + { + "internalType": "uint256", + "name": "epoch", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mineStart", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "flowRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "flowLength", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "blockDigest", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "internalType": "struct MineContext", + "name": "context", + "type": "tuple" + }, + { + "internalType": "uint256", + "name": "poraTarget", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "subtaskDigest", + "type": "bytes32" + }, + { + "internalType": "uint64", + "name": "maxShards", + "type": "uint64" + } + ], + "internalType": "struct WorkerContext", + "name": "answer", + "type": "tuple" + } + ], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [], "name": "currentSubmissions", @@ -468,6 +541,62 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "components": [ + { + "internalType": "uint256", + "name": "epoch", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "mineStart", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "flowRoot", + "type": "bytes32" + }, + { + "internalType": "uint256", + "name": "flowLength", + "type": "uint256" + }, + { + "internalType": "bytes32", + "name": "blockDigest", + "type": "bytes32" + }, + { + "internalType": "bytes32", + "name": "digest", + "type": "bytes32" + } + ], + "internalType": "struct MineContext", + "name": "context", + "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "minerId", + "type": "bytes32" + } + ], + "name": "getSubtaskDigest", + "outputs": [ + { + "internalType": "bytes32", + "name": "", + "type": "bytes32" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -585,6 +714,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "nSubtasks", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -660,6 +802,11 @@ "internalType": "struct MineLib.PoraAnswer", "name": "answer", "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "subtaskDigest", + "type": "bytes32" } ], "name": "pora", @@ -924,6 +1071,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "nSubtasks_", + "type": "uint256" + } + ], + "name": "setNumSubtasks", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { @@ -1178,6 +1338,11 @@ "internalType": "struct MineLib.PoraAnswer", "name": "answer", "type": "tuple" + }, + { + "internalType": "bytes32", + "name": "subtaskDigest", + "type": "bytes32" } ], "name": "testAll", @@ -1292,8 +1457,8 @@ "type": "function" } ], - "bytecode": "0x60e06040523480156200001157600080fd5b506040516200368938038062003689833981016040819052620000349162000052565b60016004909117818116156080526002161560a05260c0526200006c565b6000602082840312156200006557600080fd5b5051919050565b60805160a05160c0516135d1620000b86000396000818161045f01528181611292015261162e01526000818161048f0152610fc40152600081816105130152610f8701526135d16000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c806382975fe711610151578063b15d20da116100c3578063ca15c87311610087578063ca15c873146105d6578063d547741f146105e9578063dddc61a8146105fc578063e1498cf914610605578063e282e27b14610618578063ffbc9bd01461061f57600080fd5b8063b15d20da1461056e578063b4988fd014610583578063b4a9328314610596578063b51e03971461059f578063b776a512146105cd57600080fd5b8063a827918211610115578063a8279182146104f2578063ad08fdfb146104fb578063adaa7a0f1461050e578063ae722e8214610535578063aed7522414610548578063b0628ee01461055b57600080fd5b806382975fe71461048a5780639010d07c146104b157806391d14854146104c4578063967e3cdd146104d7578063a217fddf146104ea57600080fd5b8063343aad82116101ea57806359e7b5be116101ae57806359e7b5be146104015780635bdca855146104215780636e9bb60b14610434578063704d3c96146104475780637bba7d611461045a5780637eca56881461048157600080fd5b8063343aad821461039657806336568abe146103a957806339cd53ee146103bc5780633baebb75146103e557806348f61441146103f857600080fd5b8063228cb7331161023c578063228cb73314610301578063248a9ca31461032c5780632a02573b1461035e5780632f2ff15d1461037157806331223ba714610384578063331f3b9c1461038d57600080fd5b806301ffc9a714610279578063047c13f5146102a1578063158ef93e146102b65780631600c624146102c357806316a4be6f146102d6575b600080fd5b61028c610287366004612d4f565b610627565b60405190151581526020015b60405180910390f35b6102b46102af366004612da7565b610652565b005b60005461028c9060ff1681565b6102b46102d1366004612dda565b61076e565b600a546102e9906001600160401b031681565b6040516001600160401b039091168152602001610298565b600454610314906001600160a01b031681565b6040516001600160a01b039091168152602001610298565b61035061033a366004612dda565b6000908152600160208190526040909120015490565b604051908152602001610298565b6102b461036c366004612df3565b61078c565b6102b461037f366004612e0e565b610892565b610350600b5481565b61035060065481565b600354610314906001600160a01b031681565b6102b46103b7366004612e0e565b6108bd565b6103146103ca366004612dda565b600e602052600090815260409020546001600160a01b031681565b6102b46103f33660046130ae565b61093b565b610350600d5481565b61041461040f366004613146565b610bd2565b6040516102989190613182565b6102b461042f366004612dda565b610be3565b6103506104423660046131b4565b610c10565b6102b4610455366004612dda565b610c23565b61028c7f000000000000000000000000000000000000000000000000000000000000000081565b61035060085481565b61028c7f000000000000000000000000000000000000000000000000000000000000000081565b6103146104bf3660046131fa565b610c91565b61028c6104d2366004612e0e565b610ca9565b6102b46104e5366004613146565b610cd4565b610350600081565b610350600c5481565b6102b4610509366004612dda565b610cff565b61028c7f000000000000000000000000000000000000000000000000000000000000000081565b6102b4610543366004613146565b610d39565b610350610556366004613146565b6112c6565b6102b461056936600461321c565b6114c9565b61035060008051602061357c83398151915281565b6102b4610591366004613246565b611589565b610350600f5481565b6102b46105ad366004612dda565b6000908152600e6020526040902080546001600160a01b03191633179055565b61035060075481565b6103506105e4366004612dda565b6116b0565b6102b46105f7366004612e0e565b6116c7565b61035060095481565b6102b4610613366004612dda565b600d55565b60006102e9565b61028c6116ed565b60006001600160e01b03198216635a05180f60e01b148061064c575061064c82611788565b92915050565b600061065f600143613298565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b0316156107145760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b60008051602061357c833981519152610786816117bd565b50600655565b60008051602061357c8339815191526107a4816117bd565b6000826001600160401b0316116107fd5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f00604482015260640161070b565b6108086001836132ab565b82166001600160401b031660001461086e5760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b606482015260840161070b565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b600082815260016020819052604090912001546108ae816117bd565b6108b883836117ca565b505050565b6001600160a01b038116331461092d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161070b565b61093782826117ec565b5050565b815160a08201511461098f5760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e6720646967657374000000000000604482015260640161070b565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a0015103610a025760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e6500000000000000604482015260640161070b565b600754600c5410610a555760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e7300000000604482015260640161070b565b6000610100610a66610400826132cb565b610a709190613300565b610100610a7f610400826132cb565b610a899190613300565b8360600151610a989190613300565b610aa291906132cb565b6060840151909150610ab4908261180e565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa158015610b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b27919061332b565b90506000610100610b3b61040060046132cb565b610b459190613300565b8560800151610b549190613385565b90508082600001516001600160801b0316108015610b7f57508082602001516001600160801b031610155b610bcb5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e7465787420646967657374000000604482015260640161070b565b5050505050565b610bda612cf3565b61064c82611a52565b60008051602061357c833981519152610bfb816117bd565b6008829055600b546000036109375750600755565b6000610c1c8383611b01565b9392505050565b60008051602061357c833981519152610c3b816117bd565b60008211610c8b5760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f000000604482015260640161070b565b50600955565b6000828152600260205260408120610c1c9083611d74565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000610cdf82611a52565b9050610ceb8282611b01565b50610cf4612cf3565b90506108b8826112c6565b60008051602061357c833981519152610d17816117bd565b600f8290556000610d26611d80565b905080600d5411156108b857600d555050565b6040810151610d835760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b604482015260640161070b565b6040808201516000908152600e60205220546001600160a01b031680610deb5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f7420726567697374657265640000000000604482015260640161070b565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a9190613398565b9050600b5481600001511015610ec05760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b606482015260840161070b565b600b548151118015610ed457506000600b54115b15610ef957600754600c541015610eed57610eed611da7565b6000600c556008546007555b610f03838261093b565b600a5460608401516001600160401b0390911690610f2090611db9565b1115610f7d5760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b606482015260840161070b565b610f85612cf3565b7f000000000000000000000000000000000000000000000000000000000000000015610fbb57610fb484611a52565b9050610fc2565b5060e08301515b7f00000000000000000000000000000000000000000000000000000000000000001561104b576000610ff48583611b01565b9050826040015181146110495760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f740000000000000000604482015260640161070b565b505b611053612cf3565b90506000611060856112c6565b9050600061107f84606001518760600151611e0390919063ffffffff16565b9050604081600d546110919190613300565b901b8211156110e25760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c6974790000000000604482015260640161070b565b60008281526005602052604090205460ff16156111415760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d697474656400000000000000604482015260640161070b565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c61010061117a610400806132cb565b611186906104006132cb565b6111919060086132cb565b61119b9190613300565b88608001516111aa9190613300565b6040808a015190516001600160e01b031960e085901b16815260048101929092526001600160a01b03891660248301526044820152606401600060405180830381600087803b1580156111fc57600080fd5b505af1158015611210573d6000803e3d6000fd5b5050506040808801518651600c5460808b015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38351600b55600c805460019190600090611277908490613385565b9091555050600754600c54101561129057505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006112be576112be84611f43565b505050505050565b604081015160009061131a5760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d7074790000000000000000604482015260640161070b565b600060405180608001604052808460400151815260200184602001518152602001846000015181526020016113528560600151611f7c565b90529050600061136182611fe4565b9050600061137261040060106132cb565b6113806104006101006132cb565b61138a9190613300565b61139761040060046132cb565b6113a56104006101006132cb565b6113af9190613300565b6113b99190613300565b8560a001516113c89190613411565b90506113d2612cf3565b6113da612d12565b6113e98760e00151848661205c565b925090506101006113fd61040060046132cb565b6114079190613300565b8760a0015161141691906132cb565b6114538260405160200161142a9190613425565b6040516020818303038152906040528051906020012089606001516121dc90919063ffffffff16565b61145d9190613385565b8760800151146114af5760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e00000000000000604482015260640161070b565b6114be8760a0015185846122e2565b979650505050505050565b6000818152600e60205260409020546001600160a01b0316331461152f5760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e657249640000000000604482015260640161070b565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff16156115e85760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b606482015260840161070b565b6000805460ff19166001178155611605906116003390565b6117ca565b61161d60008051602061357c833981519152336117ca565b61162983600019613300565b600d557f00000000000000000000000000000000000000000000000000000000000000001561165957600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff19166020179055565b600081815260026020526040812061064c90612455565b600082815260016020819052604090912001546116e3816117bd565b6108b883836117ec565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af1158015611745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117699190613398565b9050600b54816000015111806117825750600754600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061064c57506301ffc9a760e01b6001600160e01b031983161461064c565b6117c7813361245f565b50565b6117d482826124b8565b60008281526002602052604090206108b89082612523565b6117f68282612538565b60008281526002602052604090206108b8908261259f565b61010061181d610400806132cb565b611829906104006132cb565b6118349060086132cb565b61183e9190613300565b825161184a9190613411565b156118975760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e6564000000604482015260640161070b565b6020820151825182916118a991613385565b11156118ef5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b604482015260640161070b565b60006118fa83611db9565b610100611909610400806132cb565b611915906104006132cb565b611921906104006132cb565b61192c9060086132cb565b6119369190613300565b61194091906132cb565b9050808360200151111561198e5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b604482015260640161070b565b600061199a83836125b4565b905080846020015110156119e95760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b604482015260640161070b565b83606001518460400151166001600160401b0316600014611a4c5760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f000000000000604482015260640161070b565b50505050565b611a5a612cf3565b60408083015160c084015160808501519251611a8a93906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e0840180515190911883525190600090611ac061040060046132cb565b611aca9190613300565b905081836020600184030281015b80821015611af757602080842093810180519094189201918252611ad8565b5050505050919050565b6000805b6020611b1461040060046132cb565b611b1e9190613300565b811015611b6c576101006020820284012080848360808110611b4257611b4261344d565b602002018181525050506020610100611b5b9190613300565b611b659082613385565b9050611b05565b506000611b7c6020610100613300565b90505b6020611b8e61040060046132cb565b611b989190613300565b811015611c6b5760005b6020611bb161040060046132cb565b611bbb9190613300565b811015611c62576000848260808110611bd657611bd661344d565b60200201519050600085611bea8585613385565b60808110611bfa57611bfa61344d565b602002015190508181604051602001611c1d929190918252602082015260400190565b60405160208183030381529060405280519060200120868460808110611c4557611c4561344d565b602002015250611c5b9050600183901b82613385565b9050611ba2565b5060011b611b7f565b508151611c76612cf3565b92506000610100611c8a61040060046132cb565b611c949190613300565b8560800151611ca39190613300565b905060005b85610100015151811015611d6a57600080611cc4600285613411565b600003611cf4578491508761010001518381518110611ce557611ce561344d565b60200260200101519050611d19565b8761010001518381518110611d0b57611d0b61344d565b602002602001015191508490505b6040805160208101849052908101829052606001604051602081830303815290604052805190602001209450600284611d529190613300565b93505050600181611d639190613385565b9050611ca8565b5090949350505050565b6000610c1c83836125ca565b6000600f54600003611d93575060001990565b600f54611da290600019613300565b905090565b611db76001600160f01b036125f4565b565b606081015160009019815b6001600160401b03821615611df457611dde6001836132ab565b9091169080611dec81613463565b915050611dc4565b600160ff9091161b9392505050565b600080610100611e15610400806132cb565b611e21906104006132cb565b611e2d906104006132cb565b611e389060086132cb565b611e429190613300565b8311611e4e5782611e8a565b610100611e5d610400806132cb565b611e69906104006132cb565b611e75906104006132cb565b611e809060086132cb565b611e8a9190613300565b90506000611e9785611db9565b611ea19085613300565b90506000610100611eb4610400806132cb565b611ec0906104006132cb565b611ecc906104006132cb565b611ed79060086132cb565b611ee19190613300565b8211611eed5781611f29565b610100611efc610400806132cb565b611f08906104006132cb565b611f14906104006132cb565b611f1f9060086132cb565b611f299190613300565b9050611f3981604085901b613300565b9695505050505050565b6000816020015143611f559190613298565b905060006010600d54901c90506000611f7182846006546126b0565b9050611a4c816125f4565b60008160000151826020015183604001518460600151604051602001611fc7949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b611fec612d12565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b6020808301919091528251908301516040840151606085015161064c938593909290916080600161275f565b612064612d12565b61206c612cf3565b60006120778461281e565b90506120a581604061208c61040060046132cb565b6120969190613300565b6120a090886132cb565b61283a565b60005b60808110156121355760408083208352822060208301528681608081106120d1576120d161344d565b60200201518251188382608081106120eb576120eb61344d565b60200201528660018201608081106121055761210561344d565b60200201518260016020020151188382600101608081106121285761212861344d565b60200201526002016120a8565b506121c881604061214961040060046132cb565b6121539190613300565b60018861216361040060106132cb565b6121716104006101006132cb565b61217b9190613300565b61218861040060046132cb565b6121966104006101006132cb565b6121a09190613300565b6121aa9190613300565b6121b49190613298565b6121be9190613298565b6120a091906132cb565b6121d18161281e565b925050935093915050565b6000806101006121ee610400826132cb565b6121f89190613300565b84602001516122079190613300565b6122119084613411565b60408501516060860151602087015192935083161790610100612236610400826132cb565b6122409190613300565b612253906001600160401b0384166132cb565b11156122a15760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e6400000000604482015260640161070b565b6101006122b0610400826132cb565b6122ba9190613300565b6122cd906001600160401b0383166132cb565b85516122d99190613385565b95945050505050565b60006122ec612d12565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b602080830191909152845190850151612352918391889190600060808161275f565b905061235c612d30565b60806000602061236f61040060046132cb565b6123799190613300565b6123849060206132cb565b61238f906080613385565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a10156124295760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361240f57600182535b60408660d58a6009600019fa61242457600080fd5b6123c1565b5050505050505050826001600881106124445761244461344d565b602002015198975050505050505050565b600061064c825490565b6124698282610ca9565b610937576124768161285b565b61248183602061286d565b6040516020016124929291906134a6565b60408051601f198184030181529082905262461bcd60e51b825261070b9160040161351b565b6124c28282610ca9565b6109375760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000610c1c836001600160a01b038416612a08565b6125428282610ca9565b156109375760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610c1c836001600160a01b038416612a57565b60008183106125c35781610c1c565b5090919050565b60008260000182815481106125e1576125e161344d565b9060005260206000200154905092915050565b600d5460095460109190911c9060008184612610600183613298565b61261a90866132cb565b6126249190613385565b61262e9190613300565b905061263b8360026132cb565b8111156126505761264d8360026132cb565b90505b61265b600284613300565b8110156126705761266d600284613300565b90505b6001600160f01b0381111561268957506001600160f01b035b601081901b600d55600061269b611d80565b905080600d541115610bcb57600d5550505050565b60008080600019858709858702925082811083820303915050806000036126ea578382816126e0576126e06132ea565b0492505050610c1c565b8084116126f657600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b612767612d12565b600c600061277485612b51565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa61281057600080fd5b505050979650505050505050565b612826612d12565b815181526020918201519181019190915290565b60005b818110156108b857604080842084528320602084015260010161283d565b606061064c6001600160a01b03831660145b6060600061287c8360026132cb565b612887906002613385565b6001600160401b0381111561289e5761289e612e31565b6040519080825280601f01601f1916602001820160405280156128c8576020820181803683370190505b509050600360fc1b816000815181106128e3576128e361344d565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106129125761291261344d565b60200101906001600160f81b031916908160001a90535060006129368460026132cb565b612941906001613385565b90505b60018111156129b9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106129755761297561344d565b1a60f81b82828151811061298b5761298b61344d565b60200101906001600160f81b031916908160001a90535060049490941c936129b28161354e565b9050612944565b508315610c1c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161070b565b6000818152600183016020526040812054612a4f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561064c565b50600061064c565b60008181526001830160205260408120548015612b40576000612a7b600183613298565b8554909150600090612a8f90600190613298565b9050818114612af4576000866000018281548110612aaf57612aaf61344d565b9060005260206000200154905080876000018481548110612ad257612ad261344d565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612b0557612b05613565565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061064c565b600091505061064c565b5092915050565b612b59612d12565b62010000821015612b9d57600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b640100000000821015612bdd57600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b031916612b85565b68010000000000000000821015612bf757612b8582612c8d565b600160801b821015612c47576001600160401b038216604083901c612c1b82612c8d565b6001600160c01b0319168352612c3081612c8d565b6001600160c01b031916602084015250612c889050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b604482015260640161070b565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b600060208284031215612d6157600080fd5b81356001600160e01b031981168114610c1c57600080fd5b80356001600160a01b0381168114612c8857600080fd5b80356001600160401b0381168114612c8857600080fd5b60008060408385031215612dba57600080fd5b612dc383612d79565b9150612dd160208401612d90565b90509250929050565b600060208284031215612dec57600080fd5b5035919050565b600060208284031215612e0557600080fd5b610c1c82612d90565b60008060408385031215612e2157600080fd5b82359150612dd160208401612d79565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715612e6a57612e6a612e31565b60405290565b60405160c081016001600160401b0381118282101715612e6a57612e6a612e31565b600060808284031215612ea457600080fd5b604051608081018181106001600160401b0382111715612ec657612ec6612e31565b80604052508091508235815260208301356020820152612ee860408401612d90565b6040820152612ef960608401612d90565b60608201525092915050565b600082601f830112612f1657600080fd5b6040516110008082018281106001600160401b0382111715612f3a57612f3a612e31565b60405283018185821115612f4d57600080fd5b845b82811015612f67578035825260209182019101612f4f565b509195945050505050565b600082601f830112612f8357600080fd5b813560206001600160401b0380831115612f9f57612f9f612e31565b8260051b604051601f19603f83011681018181108482111715612fc457612fc4612e31565b604052938452858101830193838101925087851115612fe257600080fd5b83870191505b848210156114be57813583529183019190830190612fe8565b6000611160828403121561301457600080fd5b61301c612e47565b90508135815260208201356020820152604082013560408201526130438360608401612e92565b606082015260e082013560808201526101008083013560a083015261012083013560c0830152613077846101408501612f05565b60e08301526111408301356001600160401b0381111561309657600080fd5b6130a285828601612f72565b82840152505092915050565b60008082840360e08112156130c257600080fd5b83356001600160401b038111156130d857600080fd5b6130e486828701613001565b93505060c0601f19820112156130f957600080fd5b50613102612e70565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c084013560a0820152809150509250929050565b60006020828403121561315857600080fd5b81356001600160401b0381111561316e57600080fd5b61317a84828501613001565b949350505050565b6110008101818360005b60808110156131ab57815183526020928301929091019060010161318c565b50505092915050565b60008061102083850312156131c857600080fd5b82356001600160401b038111156131de57600080fd5b6131ea85828601613001565b925050612dd18460208501612f05565b6000806040838503121561320d57600080fd5b50508035926020909101359150565b6000806040838503121561322f57600080fd5b61323883612d79565b946020939093013593505050565b60008060006060848603121561325b57600080fd5b8335925061326b60208501612d79565b915061327960408501612d79565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561064c5761064c613282565b6001600160401b03828116828216039080821115612b4a57612b4a613282565b60008160001904831182151516156132e5576132e5613282565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261330f5761330f6132ea565b500490565b80516001600160801b0381168114612c8857600080fd5b60006040828403121561333d57600080fd5b604051604081018181106001600160401b038211171561335f5761335f612e31565b60405261336b83613314565b815261337960208401613314565b60208201529392505050565b8082018082111561064c5761064c613282565b600060c082840312156133aa57600080fd5b60405160c081018181106001600160401b03821117156133cc576133cc612e31565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b600082613420576134206132ea565b500690565b60408101818360005b60028110156131ab57815183526020928301929091019060010161342e565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff810361347957613479613282565b60010192915050565b60005b8381101561349d578181015183820152602001613485565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516134de816017850160208801613482565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161350f816028840160208801613482565b01602801949350505050565b602081526000825180602084015261353a816040850160208701613482565b601f01601f19169190910160400192915050565b60008161355d5761355d613282565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212207dfe6289fcd49d8a82e6fa3e2bcf5d9f45ab21398cf2040e4fc8f477572a0efe64736f6c63430008100033", - "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102745760003560e01c806382975fe711610151578063b15d20da116100c3578063ca15c87311610087578063ca15c873146105d6578063d547741f146105e9578063dddc61a8146105fc578063e1498cf914610605578063e282e27b14610618578063ffbc9bd01461061f57600080fd5b8063b15d20da1461056e578063b4988fd014610583578063b4a9328314610596578063b51e03971461059f578063b776a512146105cd57600080fd5b8063a827918211610115578063a8279182146104f2578063ad08fdfb146104fb578063adaa7a0f1461050e578063ae722e8214610535578063aed7522414610548578063b0628ee01461055b57600080fd5b806382975fe71461048a5780639010d07c146104b157806391d14854146104c4578063967e3cdd146104d7578063a217fddf146104ea57600080fd5b8063343aad82116101ea57806359e7b5be116101ae57806359e7b5be146104015780635bdca855146104215780636e9bb60b14610434578063704d3c96146104475780637bba7d611461045a5780637eca56881461048157600080fd5b8063343aad821461039657806336568abe146103a957806339cd53ee146103bc5780633baebb75146103e557806348f61441146103f857600080fd5b8063228cb7331161023c578063228cb73314610301578063248a9ca31461032c5780632a02573b1461035e5780632f2ff15d1461037157806331223ba714610384578063331f3b9c1461038d57600080fd5b806301ffc9a714610279578063047c13f5146102a1578063158ef93e146102b65780631600c624146102c357806316a4be6f146102d6575b600080fd5b61028c610287366004612d4f565b610627565b60405190151581526020015b60405180910390f35b6102b46102af366004612da7565b610652565b005b60005461028c9060ff1681565b6102b46102d1366004612dda565b61076e565b600a546102e9906001600160401b031681565b6040516001600160401b039091168152602001610298565b600454610314906001600160a01b031681565b6040516001600160a01b039091168152602001610298565b61035061033a366004612dda565b6000908152600160208190526040909120015490565b604051908152602001610298565b6102b461036c366004612df3565b61078c565b6102b461037f366004612e0e565b610892565b610350600b5481565b61035060065481565b600354610314906001600160a01b031681565b6102b46103b7366004612e0e565b6108bd565b6103146103ca366004612dda565b600e602052600090815260409020546001600160a01b031681565b6102b46103f33660046130ae565b61093b565b610350600d5481565b61041461040f366004613146565b610bd2565b6040516102989190613182565b6102b461042f366004612dda565b610be3565b6103506104423660046131b4565b610c10565b6102b4610455366004612dda565b610c23565b61028c7f000000000000000000000000000000000000000000000000000000000000000081565b61035060085481565b61028c7f000000000000000000000000000000000000000000000000000000000000000081565b6103146104bf3660046131fa565b610c91565b61028c6104d2366004612e0e565b610ca9565b6102b46104e5366004613146565b610cd4565b610350600081565b610350600c5481565b6102b4610509366004612dda565b610cff565b61028c7f000000000000000000000000000000000000000000000000000000000000000081565b6102b4610543366004613146565b610d39565b610350610556366004613146565b6112c6565b6102b461056936600461321c565b6114c9565b61035060008051602061357c83398151915281565b6102b4610591366004613246565b611589565b610350600f5481565b6102b46105ad366004612dda565b6000908152600e6020526040902080546001600160a01b03191633179055565b61035060075481565b6103506105e4366004612dda565b6116b0565b6102b46105f7366004612e0e565b6116c7565b61035060095481565b6102b4610613366004612dda565b600d55565b60006102e9565b61028c6116ed565b60006001600160e01b03198216635a05180f60e01b148061064c575061064c82611788565b92915050565b600061065f600143613298565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b0316156107145760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b60008051602061357c833981519152610786816117bd565b50600655565b60008051602061357c8339815191526107a4816117bd565b6000826001600160401b0316116107fd5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f00604482015260640161070b565b6108086001836132ab565b82166001600160401b031660001461086e5760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b606482015260840161070b565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b600082815260016020819052604090912001546108ae816117bd565b6108b883836117ca565b505050565b6001600160a01b038116331461092d5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b606482015260840161070b565b61093782826117ec565b5050565b815160a08201511461098f5760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e6720646967657374000000000000604482015260640161070b565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a0015103610a025760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e6500000000000000604482015260640161070b565b600754600c5410610a555760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e7300000000604482015260640161070b565b6000610100610a66610400826132cb565b610a709190613300565b610100610a7f610400826132cb565b610a899190613300565b8360600151610a989190613300565b610aa291906132cb565b6060840151909150610ab4908261180e565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa158015610b03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b27919061332b565b90506000610100610b3b61040060046132cb565b610b459190613300565b8560800151610b549190613385565b90508082600001516001600160801b0316108015610b7f57508082602001516001600160801b031610155b610bcb5760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e7465787420646967657374000000604482015260640161070b565b5050505050565b610bda612cf3565b61064c82611a52565b60008051602061357c833981519152610bfb816117bd565b6008829055600b546000036109375750600755565b6000610c1c8383611b01565b9392505050565b60008051602061357c833981519152610c3b816117bd565b60008211610c8b5760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f000000604482015260640161070b565b50600955565b6000828152600260205260408120610c1c9083611d74565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6000610cdf82611a52565b9050610ceb8282611b01565b50610cf4612cf3565b90506108b8826112c6565b60008051602061357c833981519152610d17816117bd565b600f8290556000610d26611d80565b905080600d5411156108b857600d555050565b6040810151610d835760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b604482015260640161070b565b6040808201516000908152600e60205220546001600160a01b031680610deb5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f7420726567697374657265640000000000604482015260640161070b565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015610e36573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e5a9190613398565b9050600b5481600001511015610ec05760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b606482015260840161070b565b600b548151118015610ed457506000600b54115b15610ef957600754600c541015610eed57610eed611da7565b6000600c556008546007555b610f03838261093b565b600a5460608401516001600160401b0390911690610f2090611db9565b1115610f7d5760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b606482015260840161070b565b610f85612cf3565b7f000000000000000000000000000000000000000000000000000000000000000015610fbb57610fb484611a52565b9050610fc2565b5060e08301515b7f00000000000000000000000000000000000000000000000000000000000000001561104b576000610ff48583611b01565b9050826040015181146110495760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f740000000000000000604482015260640161070b565b505b611053612cf3565b90506000611060856112c6565b9050600061107f84606001518760600151611e0390919063ffffffff16565b9050604081600d546110919190613300565b901b8211156110e25760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c6974790000000000604482015260640161070b565b60008281526005602052604090205460ff16156111415760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d697474656400000000000000604482015260640161070b565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c61010061117a610400806132cb565b611186906104006132cb565b6111919060086132cb565b61119b9190613300565b88608001516111aa9190613300565b6040808a015190516001600160e01b031960e085901b16815260048101929092526001600160a01b03891660248301526044820152606401600060405180830381600087803b1580156111fc57600080fd5b505af1158015611210573d6000803e3d6000fd5b5050506040808801518651600c5460808b015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38351600b55600c805460019190600090611277908490613385565b9091555050600754600c54101561129057505050505050565b7f00000000000000000000000000000000000000000000000000000000000000006112be576112be84611f43565b505050505050565b604081015160009061131a5760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d7074790000000000000000604482015260640161070b565b600060405180608001604052808460400151815260200184602001518152602001846000015181526020016113528560600151611f7c565b90529050600061136182611fe4565b9050600061137261040060106132cb565b6113806104006101006132cb565b61138a9190613300565b61139761040060046132cb565b6113a56104006101006132cb565b6113af9190613300565b6113b99190613300565b8560a001516113c89190613411565b90506113d2612cf3565b6113da612d12565b6113e98760e00151848661205c565b925090506101006113fd61040060046132cb565b6114079190613300565b8760a0015161141691906132cb565b6114538260405160200161142a9190613425565b6040516020818303038152906040528051906020012089606001516121dc90919063ffffffff16565b61145d9190613385565b8760800151146114af5760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e00000000000000604482015260640161070b565b6114be8760a0015185846122e2565b979650505050505050565b6000818152600e60205260409020546001600160a01b0316331461152f5760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e657249640000000000604482015260640161070b565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff16156115e85760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b606482015260840161070b565b6000805460ff19166001178155611605906116003390565b6117ca565b61161d60008051602061357c833981519152336117ca565b61162983600019613300565b600d557f00000000000000000000000000000000000000000000000000000000000000001561165957600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff19166020179055565b600081815260026020526040812061064c90612455565b600082815260016020819052604090912001546116e3816117bd565b6108b883836117ec565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af1158015611745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117699190613398565b9050600b54816000015111806117825750600754600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061064c57506301ffc9a760e01b6001600160e01b031983161461064c565b6117c7813361245f565b50565b6117d482826124b8565b60008281526002602052604090206108b89082612523565b6117f68282612538565b60008281526002602052604090206108b8908261259f565b61010061181d610400806132cb565b611829906104006132cb565b6118349060086132cb565b61183e9190613300565b825161184a9190613411565b156118975760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e6564000000604482015260640161070b565b6020820151825182916118a991613385565b11156118ef5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b604482015260640161070b565b60006118fa83611db9565b610100611909610400806132cb565b611915906104006132cb565b611921906104006132cb565b61192c9060086132cb565b6119369190613300565b61194091906132cb565b9050808360200151111561198e5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b604482015260640161070b565b600061199a83836125b4565b905080846020015110156119e95760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b604482015260640161070b565b83606001518460400151166001600160401b0316600014611a4c5760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f000000000000604482015260640161070b565b50505050565b611a5a612cf3565b60408083015160c084015160808501519251611a8a93906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e0840180515190911883525190600090611ac061040060046132cb565b611aca9190613300565b905081836020600184030281015b80821015611af757602080842093810180519094189201918252611ad8565b5050505050919050565b6000805b6020611b1461040060046132cb565b611b1e9190613300565b811015611b6c576101006020820284012080848360808110611b4257611b4261344d565b602002018181525050506020610100611b5b9190613300565b611b659082613385565b9050611b05565b506000611b7c6020610100613300565b90505b6020611b8e61040060046132cb565b611b989190613300565b811015611c6b5760005b6020611bb161040060046132cb565b611bbb9190613300565b811015611c62576000848260808110611bd657611bd661344d565b60200201519050600085611bea8585613385565b60808110611bfa57611bfa61344d565b602002015190508181604051602001611c1d929190918252602082015260400190565b60405160208183030381529060405280519060200120868460808110611c4557611c4561344d565b602002015250611c5b9050600183901b82613385565b9050611ba2565b5060011b611b7f565b508151611c76612cf3565b92506000610100611c8a61040060046132cb565b611c949190613300565b8560800151611ca39190613300565b905060005b85610100015151811015611d6a57600080611cc4600285613411565b600003611cf4578491508761010001518381518110611ce557611ce561344d565b60200260200101519050611d19565b8761010001518381518110611d0b57611d0b61344d565b602002602001015191508490505b6040805160208101849052908101829052606001604051602081830303815290604052805190602001209450600284611d529190613300565b93505050600181611d639190613385565b9050611ca8565b5090949350505050565b6000610c1c83836125ca565b6000600f54600003611d93575060001990565b600f54611da290600019613300565b905090565b611db76001600160f01b036125f4565b565b606081015160009019815b6001600160401b03821615611df457611dde6001836132ab565b9091169080611dec81613463565b915050611dc4565b600160ff9091161b9392505050565b600080610100611e15610400806132cb565b611e21906104006132cb565b611e2d906104006132cb565b611e389060086132cb565b611e429190613300565b8311611e4e5782611e8a565b610100611e5d610400806132cb565b611e69906104006132cb565b611e75906104006132cb565b611e809060086132cb565b611e8a9190613300565b90506000611e9785611db9565b611ea19085613300565b90506000610100611eb4610400806132cb565b611ec0906104006132cb565b611ecc906104006132cb565b611ed79060086132cb565b611ee19190613300565b8211611eed5781611f29565b610100611efc610400806132cb565b611f08906104006132cb565b611f14906104006132cb565b611f1f9060086132cb565b611f299190613300565b9050611f3981604085901b613300565b9695505050505050565b6000816020015143611f559190613298565b905060006010600d54901c90506000611f7182846006546126b0565b9050611a4c816125f4565b60008160000151826020015183604001518460600151604051602001611fc7949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b611fec612d12565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b6020808301919091528251908301516040840151606085015161064c938593909290916080600161275f565b612064612d12565b61206c612cf3565b60006120778461281e565b90506120a581604061208c61040060046132cb565b6120969190613300565b6120a090886132cb565b61283a565b60005b60808110156121355760408083208352822060208301528681608081106120d1576120d161344d565b60200201518251188382608081106120eb576120eb61344d565b60200201528660018201608081106121055761210561344d565b60200201518260016020020151188382600101608081106121285761212861344d565b60200201526002016120a8565b506121c881604061214961040060046132cb565b6121539190613300565b60018861216361040060106132cb565b6121716104006101006132cb565b61217b9190613300565b61218861040060046132cb565b6121966104006101006132cb565b6121a09190613300565b6121aa9190613300565b6121b49190613298565b6121be9190613298565b6120a091906132cb565b6121d18161281e565b925050935093915050565b6000806101006121ee610400826132cb565b6121f89190613300565b84602001516122079190613300565b6122119084613411565b60408501516060860151602087015192935083161790610100612236610400826132cb565b6122409190613300565b612253906001600160401b0384166132cb565b11156122a15760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e6400000000604482015260640161070b565b6101006122b0610400826132cb565b6122ba9190613300565b6122cd906001600160401b0383166132cb565b85516122d99190613385565b95945050505050565b60006122ec612d12565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b602080830191909152845190850151612352918391889190600060808161275f565b905061235c612d30565b60806000602061236f61040060046132cb565b6123799190613300565b6123849060206132cb565b61238f906080613385565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a10156124295760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361240f57600182535b60408660d58a6009600019fa61242457600080fd5b6123c1565b5050505050505050826001600881106124445761244461344d565b602002015198975050505050505050565b600061064c825490565b6124698282610ca9565b610937576124768161285b565b61248183602061286d565b6040516020016124929291906134a6565b60408051601f198184030181529082905262461bcd60e51b825261070b9160040161351b565b6124c28282610ca9565b6109375760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000610c1c836001600160a01b038416612a08565b6125428282610ca9565b156109375760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000610c1c836001600160a01b038416612a57565b60008183106125c35781610c1c565b5090919050565b60008260000182815481106125e1576125e161344d565b9060005260206000200154905092915050565b600d5460095460109190911c9060008184612610600183613298565b61261a90866132cb565b6126249190613385565b61262e9190613300565b905061263b8360026132cb565b8111156126505761264d8360026132cb565b90505b61265b600284613300565b8110156126705761266d600284613300565b90505b6001600160f01b0381111561268957506001600160f01b035b601081901b600d55600061269b611d80565b905080600d541115610bcb57600d5550505050565b60008080600019858709858702925082811083820303915050806000036126ea578382816126e0576126e06132ea565b0492505050610c1c565b8084116126f657600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b612767612d12565b600c600061277485612b51565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa61281057600080fd5b505050979650505050505050565b612826612d12565b815181526020918201519181019190915290565b60005b818110156108b857604080842084528320602084015260010161283d565b606061064c6001600160a01b03831660145b6060600061287c8360026132cb565b612887906002613385565b6001600160401b0381111561289e5761289e612e31565b6040519080825280601f01601f1916602001820160405280156128c8576020820181803683370190505b509050600360fc1b816000815181106128e3576128e361344d565b60200101906001600160f81b031916908160001a905350600f60fb1b816001815181106129125761291261344d565b60200101906001600160f81b031916908160001a90535060006129368460026132cb565b612941906001613385565b90505b60018111156129b9576f181899199a1a9b1b9c1cb0b131b232b360811b85600f16601081106129755761297561344d565b1a60f81b82828151811061298b5761298b61344d565b60200101906001600160f81b031916908160001a90535060049490941c936129b28161354e565b9050612944565b508315610c1c5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604482015260640161070b565b6000818152600183016020526040812054612a4f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561064c565b50600061064c565b60008181526001830160205260408120548015612b40576000612a7b600183613298565b8554909150600090612a8f90600190613298565b9050818114612af4576000866000018281548110612aaf57612aaf61344d565b9060005260206000200154905080876000018481548110612ad257612ad261344d565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080612b0557612b05613565565b60019003818190600052602060002001600090559055856001016000868152602001908152602001600020600090556001935050505061064c565b600091505061064c565b5092915050565b612b59612d12565b62010000821015612b9d57600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b640100000000821015612bdd57600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b031916612b85565b68010000000000000000821015612bf757612b8582612c8d565b600160801b821015612c47576001600160401b038216604083901c612c1b82612c8d565b6001600160c01b0319168352612c3081612c8d565b6001600160c01b031916602084015250612c889050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b604482015260640161070b565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b600060208284031215612d6157600080fd5b81356001600160e01b031981168114610c1c57600080fd5b80356001600160a01b0381168114612c8857600080fd5b80356001600160401b0381168114612c8857600080fd5b60008060408385031215612dba57600080fd5b612dc383612d79565b9150612dd160208401612d90565b90509250929050565b600060208284031215612dec57600080fd5b5035919050565b600060208284031215612e0557600080fd5b610c1c82612d90565b60008060408385031215612e2157600080fd5b82359150612dd160208401612d79565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b0381118282101715612e6a57612e6a612e31565b60405290565b60405160c081016001600160401b0381118282101715612e6a57612e6a612e31565b600060808284031215612ea457600080fd5b604051608081018181106001600160401b0382111715612ec657612ec6612e31565b80604052508091508235815260208301356020820152612ee860408401612d90565b6040820152612ef960608401612d90565b60608201525092915050565b600082601f830112612f1657600080fd5b6040516110008082018281106001600160401b0382111715612f3a57612f3a612e31565b60405283018185821115612f4d57600080fd5b845b82811015612f67578035825260209182019101612f4f565b509195945050505050565b600082601f830112612f8357600080fd5b813560206001600160401b0380831115612f9f57612f9f612e31565b8260051b604051601f19603f83011681018181108482111715612fc457612fc4612e31565b604052938452858101830193838101925087851115612fe257600080fd5b83870191505b848210156114be57813583529183019190830190612fe8565b6000611160828403121561301457600080fd5b61301c612e47565b90508135815260208201356020820152604082013560408201526130438360608401612e92565b606082015260e082013560808201526101008083013560a083015261012083013560c0830152613077846101408501612f05565b60e08301526111408301356001600160401b0381111561309657600080fd5b6130a285828601612f72565b82840152505092915050565b60008082840360e08112156130c257600080fd5b83356001600160401b038111156130d857600080fd5b6130e486828701613001565b93505060c0601f19820112156130f957600080fd5b50613102612e70565b6020840135815260408401356020820152606084013560408201526080840135606082015260a0840135608082015260c084013560a0820152809150509250929050565b60006020828403121561315857600080fd5b81356001600160401b0381111561316e57600080fd5b61317a84828501613001565b949350505050565b6110008101818360005b60808110156131ab57815183526020928301929091019060010161318c565b50505092915050565b60008061102083850312156131c857600080fd5b82356001600160401b038111156131de57600080fd5b6131ea85828601613001565b925050612dd18460208501612f05565b6000806040838503121561320d57600080fd5b50508035926020909101359150565b6000806040838503121561322f57600080fd5b61323883612d79565b946020939093013593505050565b60008060006060848603121561325b57600080fd5b8335925061326b60208501612d79565b915061327960408501612d79565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561064c5761064c613282565b6001600160401b03828116828216039080821115612b4a57612b4a613282565b60008160001904831182151516156132e5576132e5613282565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261330f5761330f6132ea565b500490565b80516001600160801b0381168114612c8857600080fd5b60006040828403121561333d57600080fd5b604051604081018181106001600160401b038211171561335f5761335f612e31565b60405261336b83613314565b815261337960208401613314565b60208201529392505050565b8082018082111561064c5761064c613282565b600060c082840312156133aa57600080fd5b60405160c081018181106001600160401b03821117156133cc576133cc612e31565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b600082613420576134206132ea565b500690565b60408101818360005b60028110156131ab57815183526020928301929091019060010161342e565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff810361347957613479613282565b60010192915050565b60005b8381101561349d578181015183820152602001613485565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008152600083516134de816017850160208801613482565b7001034b99036b4b9b9b4b733903937b6329607d1b601791840191820152835161350f816028840160208801613482565b01602801949350505050565b602081526000825180602084015261353a816040850160208701613482565b601f01601f19169190910160400192915050565b60008161355d5761355d613282565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212207dfe6289fcd49d8a82e6fa3e2bcf5d9f45ab21398cf2040e4fc8f477572a0efe64736f6c63430008100033", + "bytecode": "0x60e06040523480156200001157600080fd5b5060405162003d7338038062003d73833981016040819052620000349162000052565b60016004909117818116156080526002161560a05260c0526200006c565b6000602082840312156200006557600080fd5b5051919050565b60805160a05160c051613cbb620000b86000396000818161052d01528181611bc90152612f7801526000818161055d01526117700152600081816105ea01526117330152613cbb6000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c80637eca568811610167578063b0628ee0116100ce578063ca15c87311610087578063ca15c873146106ad578063d547741f146106c0578063dddc61a8146106d3578063e1498cf9146106dc578063e282e27b146106ef578063ffbc9bd0146106f657600080fd5b8063b0628ee014610632578063b15d20da14610645578063b4988fd01461065a578063b4a932831461066d578063b51e039714610676578063b776a512146106a457600080fd5b8063a217fddf11610120578063a217fddf146105c1578063a8279182146105c9578063ad08fdfb146105d2578063adaa7a0f146105e5578063ae722e821461060c578063af31f9141461061f57600080fd5b80637eca56881461054f57806382975fe7146105585780638c0bca061461057f5780639010d07c1461059257806391d14854146105a55780639dc787a2146105b857600080fd5b8063331f3b9c1161020b57806359e7b5be116101c457806359e7b5be146104bc5780635bdca855146104dc5780636e9bb60b146104ef578063704d3c961461050257806378203ab6146105155780637bba7d611461052857600080fd5b8063331f3b9c14610448578063343aad821461045157806336568abe1461046457806339cd53ee146104775780633baebb75146104a057806348f61441146104b357600080fd5b8063228cb7331161025d578063228cb73314610340578063248a9ca31461036b578063296beba71461039d5780632a02573b146104195780632f2ff15d1461042c57806331223ba71461043f57600080fd5b806301ffc9a7146102a5578063047c13f5146102cd5780630c655e1f146102e2578063158ef93e146102f55780631600c6241461030257806316a4be6f14610315575b600080fd5b6102b86102b33660046133a2565b6106fe565b60405190151581526020015b60405180910390f35b6102e06102db3660046133fa565b610729565b005b6102e06102f036600461342d565b610845565b6000546102b89060ff1681565b6102e061031036600461342d565b6109a0565b600a54610328906001600160401b031681565b6040516001600160401b0390911681526020016102c4565b600454610353906001600160a01b031681565b6040516001600160a01b0390911681526020016102c4565b61038f61037936600461342d565b6000908152600160208190526040909120015490565b6040519081526020016102c4565b6103b06103ab36600461342d565b610a10565b60408051825180518252602080820151818401528184015183850152606080830151818501526080808401519085015260a0928301519284019290925284015160c08301529183015160e08201529101516001600160401b0316610100820152610120016102c4565b6102e0610427366004613446565b610c8d565b6102e061043a366004613461565b610d93565b61038f600b5481565b61038f60065481565b600354610353906001600160a01b031681565b6102e0610472366004613461565b610dbe565b61035361048536600461342d565b600e602052600090815260409020546001600160a01b031681565b6102e06104ae366004613763565b610e3c565b61038f600d5481565b6104cf6104ca3660046137a8565b6110de565b6040516102c491906137e4565b6102e06104ea36600461342d565b6110ef565b61038f6104fd366004613816565b61111c565b6102e061051036600461342d565b61112f565b61038f61052336600461385c565b61119d565b6102b87f000000000000000000000000000000000000000000000000000000000000000081565b61038f60085481565b6102b87f000000000000000000000000000000000000000000000000000000000000000081565b61038f61058d366004613887565b6112ea565b6103536105a03660046138cb565b6114ea565b6102b86105b3366004613461565b611502565b61038f60105481565b61038f600081565b61038f600c5481565b6102e06105e036600461342d565b61152d565b6102b87f000000000000000000000000000000000000000000000000000000000000000081565b6102e061061a3660046137a8565b611567565b6102e061062d366004613887565b611a32565b6102e06106403660046138ed565b611a64565b61038f600080516020613c6683398151915281565b6102e0610668366004613917565b611b24565b61038f600f5481565b6102e061068436600461342d565b6000908152600e6020526040902080546001600160a01b03191633179055565b61038f60075481565b61038f6106bb36600461342d565b611c50565b6102e06106ce366004613461565b611c67565b61038f60095481565b6102e06106ea36600461342d565b600d55565b6001610328565b6102b8611c8d565b60006001600160e01b03198216635a05180f60e01b1480610723575061072382611d33565b92915050565b6000610736600143613969565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b0316156107eb5760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b600080516020613c6683398151915261085d81611d68565b600082116108b75760405162461bcd60e51b815260206004820152602160248201527f4e756d626572206f66207375627461736b732063616e6e6f74206265207a65726044820152606f60f81b60648201526084016107e2565b600360009054906101000a90046001600160a01b03166001600160a01b031663f06820546040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e919061397c565b821061099a5760405162461bcd60e51b815260206004820152603560248201527f4e756d626572206f66207375627461736b73206d757374206265206c657373206044820152740e8d0c2dc40c4d8dec6d6e640e0cae440cae0dec6d605b1b60648201526084016107e2565b50601055565b600080516020613c668339815191526109b881611d68565b610100821115610a0a5760405162461bcd60e51b815260206004820152601d60248201527f746172676574206d696e6520626c6f636b206d757374203c3d2032353600000060448201526064016107e2565b50600655565b604080516101408101825260006080820181815260a0830182905260c0830182905260e0830182905261010083018290526101208301829052825260208201819052918101829052606081019190915281610aa65760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b60448201526064016107e2565b6000828152600e60205260409020546001600160a01b031680610b0b5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f742072656769737465726564000000000060448201526064016107e2565b600a546001600160401b0316606083015260035460408051635a325a9f60e11b815290516001600160a01b039092169163b464b53e9160048082019260c09290919082900301816000875af1158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c9190613995565b80835260105460a09091015160405160009291610bb6918790602001918252602082015260400190565b6040516020818303038152906040528051906020012060001c610bd99190613a24565b9050600081846000015160200151610bf19190613a38565b90508043111580610c0c5750600654610c0a8243613969565b115b15610c1957505050919050565b835160a001516040805160208082019390935283408183015281518082038301815260609091018252805192019190912090850152600b548451511115610c65578351610c6590611d75565b600754610c73906002613a4b565b600c541015610c8557600d5460208501525b505050919050565b600080516020613c66833981519152610ca581611d68565b6000826001600160401b031611610cfe5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f0060448201526064016107e2565b610d09600183613a6a565b82166001600160401b0316600014610d6f5760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b60648201526084016107e2565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b60008281526001602081905260409091200154610daf81611d68565b610db98383611e05565b505050565b6001600160a01b0381163314610e2e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107e2565b610e388282611e27565b5050565b815160a082015114610e905760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e672064696765737400000000000060448201526064016107e2565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a0015103610f035760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e650000000000000060448201526064016107e2565b600754610f11906002613a4b565b600c5410610f615760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e730000000060448201526064016107e2565b6000610100610f7261040082613a4b565b610f7c9190613a8a565b610100610f8b61040082613a4b565b610f959190613a8a565b8360600151610fa49190613a8a565b610fae9190613a4b565b6060840151909150610fc09082611e49565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa15801561100f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190613ab5565b905060006101006110476104006004613a4b565b6110519190613a8a565b85608001516110609190613a38565b90508082600001516001600160801b031610801561108b57508082602001516001600160801b031610155b6110d75760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e746578742064696765737400000060448201526064016107e2565b5050505050565b6110e6613346565b61072382612087565b600080516020613c6683398151915261110781611d68565b6008829055600b54600003610e385750600755565b60006111288383612136565b9392505050565b600080516020613c6683398151915261114781611d68565b600082116111975760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f00000060448201526064016107e2565b50600955565b6000806010548460a00151846040516020016111c3929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c6111e69190613a24565b905060008185602001516111fa9190613a38565b905080431161125e5760405162461bcd60e51b815260206004820152602a60248201527f4561726c696572207468616e206578706563746564207375627461736b20737460448201526930b93a10313637b1b59760b11b60648201526084016107e2565b60065461126b8243613969565b11156112b05760405162461bcd60e51b8152602060048201526014602482015273135a5b9948191958591b1a5b9948195e18d9595960621b60448201526064016107e2565b60a0850151604080516020810192909252824090820152606001604051602081830303815290604052805190602001209250505092915050565b604082015160009061133e5760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d707479000000000000000060448201526064016107e2565b60006040518060800160405280856040015181526020018560200151815260200184815260200161137286606001516123a9565b90529050600061138182612411565b905060006113926104006010613a4b565b6113a0610400610100613a4b565b6113aa9190613a8a565b6113b76104006004613a4b565b6113c5610400610100613a4b565b6113cf9190613a8a565b6113d99190613a8a565b8660a001516113e89190613a24565b90506113f2613346565b6113fa613365565b6114098860e001518486612489565b9250905061010061141d6104006004613a4b565b6114279190613a8a565b8860a001516114369190613a4b565b6114738260405160200161144a9190613b0f565b604051602081830303815290604052805190602001208a6060015161260990919063ffffffff16565b61147d9190613a38565b8860800151146114cf5760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e0000000000000060448201526064016107e2565b6114de8860a00151858461270f565b98975050505050505050565b60008281526002602052604081206111289083612882565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613c6683398151915261154581611d68565b600f829055600061155461288e565b905080600d541115610db957600d555050565b60408101516115b15760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b60448201526064016107e2565b6040808201516000908152600e60205220546001600160a01b0316806116195760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f742072656769737465726564000000000060448201526064016107e2565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015611664573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116889190613995565b905061169381611d75565b60006116a382856040015161119d565b90506116af8483610e3c565b600a5460608501516001600160401b03909116906116cc906128b5565b11156117295760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b60648201526084016107e2565b611731613346565b7f0000000000000000000000000000000000000000000000000000000000000000156117675761176085612087565b905061176e565b5060e08401515b7f0000000000000000000000000000000000000000000000000000000000000000156117f75760006117a08683612136565b9050836040015181146117f55760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f74000000000000000060448201526064016107e2565b505b6117ff613346565b9050600061180d86846112ea565b9050600061182c856060015188606001516128ff90919063ffffffff16565b9050604081600d5461183e9190613a8a565b901b82111561188f5760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c697479000000000060448201526064016107e2565b60008281526005602052604090205460ff16156118ee5760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d69747465640000000000000060448201526064016107e2565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c61010061192761040080613a4b565b61193390610400613a4b565b61193e906008613a4b565b6119489190613a8a565b89608001516119579190613a8a565b6040808b015190516001600160e01b031960e085901b16815260048101929092526001600160a01b038a1660248301526044820152606401600060405180830381600087803b1580156119a957600080fd5b505af11580156119bd573d6000803e3d6000fd5b5050506040808901518751600c5460808c015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38451600b55600c805460019190600090611a24908490613a38565b909155505050505050505050565b6000611a3d83612087565b9050611a498382612136565b50611a52613346565b9050611a5e83836112ea565b50505050565b6000818152600e60205260409020546001600160a01b03163314611aca5760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e65724964000000000060448201526064016107e2565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff1615611b835760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b60648201526084016107e2565b6000805460ff19166001178155611ba090611b9b3390565b611e05565b611bb8600080516020613c6683398151915233611e05565b611bc483600019613a8a565b600d557f000000000000000000000000000000000000000000000000000000000000000015611bf457600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff191660201790556001601055565b600081815260026020526040812061072390612a3f565b60008281526001602081905260409091200154611c8381611d68565b610db98383611e27565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af1158015611ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d099190613995565b9050600b5481600001511180611d2d5750600754611d28906002613a4b565b600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061072357506301ffc9a760e01b6001600160e01b0319831614610723565b611d728133612a49565b50565b600b5481511015611dd65760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b60648201526084016107e2565b600b548151118015611dea57506000600b54115b15611d7257611df7612aa2565b6000600c5560085460075550565b611e0f8282612ae2565b6000828152600260205260409020610db99082612b4d565b611e318282612b62565b6000828152600260205260409020610db99082612bc9565b610100611e5861040080613a4b565b611e6490610400613a4b565b611e6f906008613a4b565b611e799190613a8a565b8251611e859190613a24565b15611ed25760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e656400000060448201526064016107e2565b602082015182518291611ee491613a38565b1115611f2a5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b60448201526064016107e2565b6000611f35836128b5565b610100611f4461040080613a4b565b611f5090610400613a4b565b611f5c90610400613a4b565b611f67906008613a4b565b611f719190613a8a565b611f7b9190613a4b565b90508083602001511115611fc95760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b60448201526064016107e2565b6000611fd58383612bde565b905080846020015110156120245760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b60448201526064016107e2565b83606001518460400151166001600160401b0316600014611a5e5760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f00000000000060448201526064016107e2565b61208f613346565b60408083015160c0840151608085015192516120bf93906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e08401805151909118835251906000906120f56104006004613a4b565b6120ff9190613a8a565b905081836020600184030281015b8082101561212c5760208084209381018051909418920191825261210d565b5050505050919050565b6000805b60206121496104006004613a4b565b6121539190613a8a565b8110156121a157610100602082028401208084836080811061217757612177613b37565b6020020181815250505060206101006121909190613a8a565b61219a9082613a38565b905061213a565b5060006121b16020610100613a8a565b90505b60206121c36104006004613a4b565b6121cd9190613a8a565b8110156122a05760005b60206121e66104006004613a4b565b6121f09190613a8a565b81101561229757600084826080811061220b5761220b613b37565b6020020151905060008561221f8585613a38565b6080811061222f5761222f613b37565b602002015190508181604051602001612252929190918252602082015260400190565b6040516020818303038152906040528051906020012086846080811061227a5761227a613b37565b6020020152506122909050600183901b82613a38565b90506121d7565b5060011b6121b4565b5081516122ab613346565b925060006101006122bf6104006004613a4b565b6122c99190613a8a565b85608001516122d89190613a8a565b905060005b8561010001515181101561239f576000806122f9600285613a24565b60000361232957849150876101000151838151811061231a5761231a613b37565b6020026020010151905061234e565b876101000151838151811061234057612340613b37565b602002602001015191508490505b60408051602081018490529081018290526060016040516020818303038152906040528051906020012094506002846123879190613a8a565b935050506001816123989190613a38565b90506122dd565b5090949350505050565b600081600001518260200151836040015184606001516040516020016123f4949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b612419613365565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b602080830191909152825190830151604084015160608501516107239385939092909160806001612bf4565b612491613365565b612499613346565b60006124a484612cb3565b90506124d28160406124b96104006004613a4b565b6124c39190613a8a565b6124cd9088613a4b565b612ccf565b60005b60808110156125625760408083208352822060208301528681608081106124fe576124fe613b37565b602002015182511883826080811061251857612518613b37565b602002015286600182016080811061253257612532613b37565b602002015182600160200201511883826001016080811061255557612555613b37565b60200201526002016124d5565b506125f58160406125766104006004613a4b565b6125809190613a8a565b6001886125906104006010613a4b565b61259e610400610100613a4b565b6125a89190613a8a565b6125b56104006004613a4b565b6125c3610400610100613a4b565b6125cd9190613a8a565b6125d79190613a8a565b6125e19190613969565b6125eb9190613969565b6124cd9190613a4b565b6125fe81612cb3565b925050935093915050565b60008061010061261b61040082613a4b565b6126259190613a8a565b84602001516126349190613a8a565b61263e9084613a24565b6040850151606086015160208701519293508316179061010061266361040082613a4b565b61266d9190613a8a565b612680906001600160401b038416613a4b565b11156126ce5760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e640000000060448201526064016107e2565b6101006126dd61040082613a4b565b6126e79190613a8a565b6126fa906001600160401b038316613a4b565b85516127069190613a38565b95945050505050565b6000612719613365565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b60208083019190915284519085015161277f9183918891906000608081612bf4565b9050612789613383565b60806000602061279c6104006004613a4b565b6127a69190613a8a565b6127b1906020613a4b565b6127bc906080613a38565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a10156128565760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361283c57600182535b60408660d58a6009600019fa61285157600080fd5b6127ee565b50505050505050508260016008811061287157612871613b37565b602002015198975050505050505050565b60006111288383612cf0565b6000600f546000036128a1575060001990565b600f546128b090600019613a8a565b905090565b606081015160009019815b6001600160401b038216156128f0576128da600183613a6a565b90911690806128e881613b4d565b9150506128c0565b600160ff9091161b9392505050565b60008061010061291161040080613a4b565b61291d90610400613a4b565b61292990610400613a4b565b612934906008613a4b565b61293e9190613a8a565b831161294a5782612986565b61010061295961040080613a4b565b61296590610400613a4b565b61297190610400613a4b565b61297c906008613a4b565b6129869190613a8a565b90506000612993856128b5565b61299d9085613a8a565b905060006101006129b061040080613a4b565b6129bc90610400613a4b565b6129c890610400613a4b565b6129d3906008613a4b565b6129dd9190613a8a565b82116129e95781612a25565b6101006129f861040080613a4b565b612a0490610400613a4b565b612a1090610400613a4b565b612a1b906008613a4b565b612a259190613a8a565b9050612a3581604085901b613a8a565b9695505050505050565b6000610723825490565b612a538282611502565b610e3857612a6081612d1a565b612a6b836020612d2c565b604051602001612a7c929190613b90565b60408051601f198184030181529082905262461bcd60e51b82526107e291600401613c05565b600c5460009015612acf5760006010600d54901c9050612ac781600654600c54612ec7565b915050612ad9565b506001600160f01b035b611d7281612f76565b612aec8282611502565b610e385760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611128836001600160a01b03841661305b565b612b6c8282611502565b15610e385760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611128836001600160a01b0384166130aa565b6000818310612bed5781611128565b5090919050565b612bfc613365565b600c6000612c09856131a4565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa612ca557600080fd5b505050979650505050505050565b612cbb613365565b815181526020918201519181019190915290565b60005b81811015610db9576040808420845283206020840152600101612cd2565b6000826000018281548110612d0757612d07613b37565b9060005260206000200154905092915050565b60606107236001600160a01b03831660145b60606000612d3b836002613a4b565b612d46906002613a38565b6001600160401b03811115612d5d57612d5d613484565b6040519080825280601f01601f191660200182016040528015612d87576020820181803683370190505b509050600360fc1b81600081518110612da257612da2613b37565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612dd157612dd1613b37565b60200101906001600160f81b031916908160001a9053506000612df5846002613a4b565b612e00906001613a38565b90505b6001811115612e78576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612e3457612e34613b37565b1a60f81b828281518110612e4a57612e4a613b37565b60200101906001600160f81b031916908160001a90535060049490941c93612e7181613c38565b9050612e03565b5083156111285760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107e2565b6000808060001985870985870292508281108382030391505080600003612f0157838281612ef757612ef7613a0e565b0492505050611128565b808411612f0d57600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b7f000000000000000000000000000000000000000000000000000000000000000015612f9f5750565b600d5460095460109190911c9060008184612fbb600183613969565b612fc59086613a4b565b612fcf9190613a38565b612fd99190613a8a565b9050612fe6836002613a4b565b811115612ffb57612ff8836002613a4b565b90505b613006600284613a8a565b81101561301b57613018600284613a8a565b90505b6001600160f01b0381111561303457506001600160f01b035b601081901b600d55600061304661288e565b905080600d5411156110d757600d5550505050565b60008181526001830160205260408120546130a257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610723565b506000610723565b600081815260018301602052604081205480156131935760006130ce600183613969565b85549091506000906130e290600190613969565b905081811461314757600086600001828154811061310257613102613b37565b906000526020600020015490508087600001848154811061312557613125613b37565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061315857613158613c4f565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610723565b6000915050610723565b5092915050565b6131ac613365565b620100008210156131f057600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b64010000000082101561323057600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b0319166131d8565b6801000000000000000082101561324a576131d8826132e0565b600160801b82101561329a576001600160401b038216604083901c61326e826132e0565b6001600160c01b0319168352613283816132e0565b6001600160c01b0319166020840152506132db9050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b60448201526064016107e2565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b6000602082840312156133b457600080fd5b81356001600160e01b03198116811461112857600080fd5b80356001600160a01b03811681146132db57600080fd5b80356001600160401b03811681146132db57600080fd5b6000806040838503121561340d57600080fd5b613416836133cc565b9150613424602084016133e3565b90509250929050565b60006020828403121561343f57600080fd5b5035919050565b60006020828403121561345857600080fd5b611128826133e3565b6000806040838503121561347457600080fd5b82359150613424602084016133cc565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156134bd576134bd613484565b60405290565b6000608082840312156134d557600080fd5b604051608081018181106001600160401b03821117156134f7576134f7613484565b80604052508091508235815260208301356020820152613519604084016133e3565b604082015261352a606084016133e3565b60608201525092915050565b600082601f83011261354757600080fd5b6040516110008082018281106001600160401b038211171561356b5761356b613484565b6040528301818582111561357e57600080fd5b845b82811015613598578035825260209182019101613580565b509195945050505050565b600082601f8301126135b457600080fd5b813560206001600160401b03808311156135d0576135d0613484565b8260051b604051601f19603f830116810181811084821117156135f5576135f5613484565b60405293845285810183019383810192508785111561361357600080fd5b83870191505b8482101561363257813583529183019190830190613619565b979650505050505050565b6000611160828403121561365057600080fd5b61365861349a565b905081358152602082013560208201526040820135604082015261367f83606084016134c3565b606082015260e082013560808201526101008083013560a083015261012083013560c08301526136b3846101408501613536565b60e08301526111408301356001600160401b038111156136d257600080fd5b6136de858286016135a3565b82840152505092915050565b600060c082840312156136fc57600080fd5b60405160c081018181106001600160401b038211171561371e5761371e613484565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201525092915050565b60008060e0838503121561377657600080fd5b82356001600160401b0381111561378c57600080fd5b6137988582860161363d565b92505061342484602085016136ea565b6000602082840312156137ba57600080fd5b81356001600160401b038111156137d057600080fd5b6137dc8482850161363d565b949350505050565b6110008101818360005b608081101561380d5781518352602092830192909101906001016137ee565b50505092915050565b600080611020838503121561382a57600080fd5b82356001600160401b0381111561384057600080fd5b61384c8582860161363d565b9250506134248460208501613536565b60008060e0838503121561386f57600080fd5b61387984846136ea565b9460c0939093013593505050565b6000806040838503121561389a57600080fd5b82356001600160401b038111156138b057600080fd5b6138bc8582860161363d565b95602094909401359450505050565b600080604083850312156138de57600080fd5b50508035926020909101359150565b6000806040838503121561390057600080fd5b613909836133cc565b946020939093013593505050565b60008060006060848603121561392c57600080fd5b8335925061393c602085016133cc565b915061394a604085016133cc565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561072357610723613953565b60006020828403121561398e57600080fd5b5051919050565b600060c082840312156139a757600080fd5b60405160c081018181106001600160401b03821117156139c9576139c9613484565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b634e487b7160e01b600052601260045260246000fd5b600082613a3357613a33613a0e565b500690565b8082018082111561072357610723613953565b6000816000190483118215151615613a6557613a65613953565b500290565b6001600160401b0382811682821603908082111561319d5761319d613953565b600082613a9957613a99613a0e565b500490565b80516001600160801b03811681146132db57600080fd5b600060408284031215613ac757600080fd5b604051604081018181106001600160401b0382111715613ae957613ae9613484565b604052613af583613a9e565b8152613b0360208401613a9e565b60208201529392505050565b60408101818360005b600281101561380d578151835260209283019290910190600101613b18565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff8103613b6357613b63613953565b60010192915050565b60005b83811015613b87578181015183820152602001613b6f565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613bc8816017850160208801613b6c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613bf9816028840160208801613b6c565b01602801949350505050565b6020815260008251806020840152613c24816040850160208701613b6c565b601f01601f19169190910160400192915050565b600081613c4757613c47613953565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212209e7b45c6005ba730de2bb6917b784583631b858f9a102a7b227290bd7ac5a00564736f6c63430008100033", + "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106102a05760003560e01c80637eca568811610167578063b0628ee0116100ce578063ca15c87311610087578063ca15c873146106ad578063d547741f146106c0578063dddc61a8146106d3578063e1498cf9146106dc578063e282e27b146106ef578063ffbc9bd0146106f657600080fd5b8063b0628ee014610632578063b15d20da14610645578063b4988fd01461065a578063b4a932831461066d578063b51e039714610676578063b776a512146106a457600080fd5b8063a217fddf11610120578063a217fddf146105c1578063a8279182146105c9578063ad08fdfb146105d2578063adaa7a0f146105e5578063ae722e821461060c578063af31f9141461061f57600080fd5b80637eca56881461054f57806382975fe7146105585780638c0bca061461057f5780639010d07c1461059257806391d14854146105a55780639dc787a2146105b857600080fd5b8063331f3b9c1161020b57806359e7b5be116101c457806359e7b5be146104bc5780635bdca855146104dc5780636e9bb60b146104ef578063704d3c961461050257806378203ab6146105155780637bba7d611461052857600080fd5b8063331f3b9c14610448578063343aad821461045157806336568abe1461046457806339cd53ee146104775780633baebb75146104a057806348f61441146104b357600080fd5b8063228cb7331161025d578063228cb73314610340578063248a9ca31461036b578063296beba71461039d5780632a02573b146104195780632f2ff15d1461042c57806331223ba71461043f57600080fd5b806301ffc9a7146102a5578063047c13f5146102cd5780630c655e1f146102e2578063158ef93e146102f55780631600c6241461030257806316a4be6f14610315575b600080fd5b6102b86102b33660046133a2565b6106fe565b60405190151581526020015b60405180910390f35b6102e06102db3660046133fa565b610729565b005b6102e06102f036600461342d565b610845565b6000546102b89060ff1681565b6102e061031036600461342d565b6109a0565b600a54610328906001600160401b031681565b6040516001600160401b0390911681526020016102c4565b600454610353906001600160a01b031681565b6040516001600160a01b0390911681526020016102c4565b61038f61037936600461342d565b6000908152600160208190526040909120015490565b6040519081526020016102c4565b6103b06103ab36600461342d565b610a10565b60408051825180518252602080820151818401528184015183850152606080830151818501526080808401519085015260a0928301519284019290925284015160c08301529183015160e08201529101516001600160401b0316610100820152610120016102c4565b6102e0610427366004613446565b610c8d565b6102e061043a366004613461565b610d93565b61038f600b5481565b61038f60065481565b600354610353906001600160a01b031681565b6102e0610472366004613461565b610dbe565b61035361048536600461342d565b600e602052600090815260409020546001600160a01b031681565b6102e06104ae366004613763565b610e3c565b61038f600d5481565b6104cf6104ca3660046137a8565b6110de565b6040516102c491906137e4565b6102e06104ea36600461342d565b6110ef565b61038f6104fd366004613816565b61111c565b6102e061051036600461342d565b61112f565b61038f61052336600461385c565b61119d565b6102b87f000000000000000000000000000000000000000000000000000000000000000081565b61038f60085481565b6102b87f000000000000000000000000000000000000000000000000000000000000000081565b61038f61058d366004613887565b6112ea565b6103536105a03660046138cb565b6114ea565b6102b86105b3366004613461565b611502565b61038f60105481565b61038f600081565b61038f600c5481565b6102e06105e036600461342d565b61152d565b6102b87f000000000000000000000000000000000000000000000000000000000000000081565b6102e061061a3660046137a8565b611567565b6102e061062d366004613887565b611a32565b6102e06106403660046138ed565b611a64565b61038f600080516020613c6683398151915281565b6102e0610668366004613917565b611b24565b61038f600f5481565b6102e061068436600461342d565b6000908152600e6020526040902080546001600160a01b03191633179055565b61038f60075481565b61038f6106bb36600461342d565b611c50565b6102e06106ce366004613461565b611c67565b61038f60095481565b6102e06106ea36600461342d565b600d55565b6001610328565b6102b8611c8d565b60006001600160e01b03198216635a05180f60e01b1480610723575061072382611d33565b92915050565b6000610736600143613969565b60408051914060208301526bffffffffffffffffffffffff193360601b16908201526001600160c01b031960c084901b166054820152605c0160408051601f1981840301815291815281516020928301206000818152600e9093529120549091506001600160a01b0316156107eb5760405162461bcd60e51b8152602060048201526016602482015275135a5b995c9259081a185cc81c9959da5cdd195c995960521b60448201526064015b60405180910390fd5b6000818152600e602052604080822080546001600160a01b0319166001600160a01b0387169081179091559051909183917fbfeb006f16aca8eb3d9953cf44db6b11b6f3041a313875dfa18f2e9d71bd309e9190a3505050565b600080516020613c6683398151915261085d81611d68565b600082116108b75760405162461bcd60e51b815260206004820152602160248201527f4e756d626572206f66207375627461736b732063616e6e6f74206265207a65726044820152606f60f81b60648201526084016107e2565b600360009054906101000a90046001600160a01b03166001600160a01b031663f06820546040518163ffffffff1660e01b8152600401602060405180830381865afa15801561090a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061092e919061397c565b821061099a5760405162461bcd60e51b815260206004820152603560248201527f4e756d626572206f66207375627461736b73206d757374206265206c657373206044820152740e8d0c2dc40c4d8dec6d6e640e0cae440cae0dec6d605b1b60648201526084016107e2565b50601055565b600080516020613c668339815191526109b881611d68565b610100821115610a0a5760405162461bcd60e51b815260206004820152601d60248201527f746172676574206d696e6520626c6f636b206d757374203c3d2032353600000060448201526064016107e2565b50600655565b604080516101408101825260006080820181815260a0830182905260c0830182905260e0830182905261010083018290526101208301829052825260208201819052918101829052606081019190915281610aa65760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b60448201526064016107e2565b6000828152600e60205260409020546001600160a01b031680610b0b5760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f742072656769737465726564000000000060448201526064016107e2565b600a546001600160401b0316606083015260035460408051635a325a9f60e11b815290516001600160a01b039092169163b464b53e9160048082019260c09290919082900301816000875af1158015610b68573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b8c9190613995565b80835260105460a09091015160405160009291610bb6918790602001918252602082015260400190565b6040516020818303038152906040528051906020012060001c610bd99190613a24565b9050600081846000015160200151610bf19190613a38565b90508043111580610c0c5750600654610c0a8243613969565b115b15610c1957505050919050565b835160a001516040805160208082019390935283408183015281518082038301815260609091018252805192019190912090850152600b548451511115610c65578351610c6590611d75565b600754610c73906002613a4b565b600c541015610c8557600d5460208501525b505050919050565b600080516020613c66833981519152610ca581611d68565b6000826001600160401b031611610cfe5760405162461bcd60e51b815260206004820152601f60248201527f4d6178207368617264206e756d6265722063616e6e6f74206265207a65726f0060448201526064016107e2565b610d09600183613a6a565b82166001600160401b0316600014610d6f5760405162461bcd60e51b815260206004820152602360248201527f4d6178207368617264206e756d626572206d75737420626520706f776572206f60448201526233101960e91b60648201526084016107e2565b50600a805467ffffffffffffffff19166001600160401b0392909216919091179055565b60008281526001602081905260409091200154610daf81611d68565b610db98383611e05565b505050565b6001600160a01b0381163314610e2e5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b60648201526084016107e2565b610e388282611e27565b5050565b815160a082015114610e905760405162461bcd60e51b815260206004820152601a60248201527f496e636f6e73697374656e74206d696e696e672064696765737400000000000060448201526064016107e2565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708160a0015103610f035760405162461bcd60e51b815260206004820152601960248201527f456d707479206469676573742063616e206e6f74206d696e650000000000000060448201526064016107e2565b600754610f11906002613a4b565b600c5410610f615760405162461bcd60e51b815260206004820152601c60248201527f45706f63682068617320656e6f756768207375626d697373696f6e730000000060448201526064016107e2565b6000610100610f7261040082613a4b565b610f7c9190613a8a565b610100610f8b61040082613a4b565b610f959190613a8a565b8360600151610fa49190613a8a565b610fae9190613a4b565b6060840151909150610fc09082611e49565b60035460c0840151604051630fab20e160e31b815260048101919091526000916001600160a01b031690637d590708906024016040805180830381865afa15801561100f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110339190613ab5565b905060006101006110476104006004613a4b565b6110519190613a8a565b85608001516110609190613a38565b90508082600001516001600160801b031610801561108b57508082602001516001600160801b031610155b6110d75760405162461bcd60e51b815260206004820152601d60248201527f496e76616c6964207365616c656420636f6e746578742064696765737400000060448201526064016107e2565b5050505050565b6110e6613346565b61072382612087565b600080516020613c6683398151915261110781611d68565b6008829055600b54600003610e385750600755565b60006111288383612136565b9392505050565b600080516020613c6683398151915261114781611d68565b600082116111975760405162461bcd60e51b815260206004820152601d60248201527f41646a75737420726174696f206d757374206265206e6f6e2d7a65726f00000060448201526064016107e2565b50600955565b6000806010548460a00151846040516020016111c3929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c6111e69190613a24565b905060008185602001516111fa9190613a38565b905080431161125e5760405162461bcd60e51b815260206004820152602a60248201527f4561726c696572207468616e206578706563746564207375627461736b20737460448201526930b93a10313637b1b59760b11b60648201526084016107e2565b60065461126b8243613969565b11156112b05760405162461bcd60e51b8152602060048201526014602482015273135a5b9948191958591b1a5b9948195e18d9595960621b60448201526064016107e2565b60a0850151604080516020810192909252824090820152606001604051602081830303815290604052805190602001209250505092915050565b604082015160009061133e5760405162461bcd60e51b815260206004820152601860248201527f4d696e65722049442063616e6e6f7420626520656d707479000000000000000060448201526064016107e2565b60006040518060800160405280856040015181526020018560200151815260200184815260200161137286606001516123a9565b90529050600061138182612411565b905060006113926104006010613a4b565b6113a0610400610100613a4b565b6113aa9190613a8a565b6113b76104006004613a4b565b6113c5610400610100613a4b565b6113cf9190613a8a565b6113d99190613a8a565b8660a001516113e89190613a24565b90506113f2613346565b6113fa613365565b6114098860e001518486612489565b9250905061010061141d6104006004613a4b565b6114279190613a8a565b8860a001516114369190613a4b565b6114738260405160200161144a9190613b0f565b604051602081830303815290604052805190602001208a6060015161260990919063ffffffff16565b61147d9190613a38565b8860800151146114cf5760405162461bcd60e51b815260206004820152601960248201527f496e636f727265637420726563616c6c20706f736974696f6e0000000000000060448201526064016107e2565b6114de8860a00151858461270f565b98975050505050505050565b60008281526002602052604081206111289083612882565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020613c6683398151915261154581611d68565b600f829055600061155461288e565b905080600d541115610db957600d555050565b60408101516115b15760405162461bcd60e51b81526020600482015260166024820152754d696e657249642063616e6e6f74206265207a65726f60501b60448201526064016107e2565b6040808201516000908152600e60205220546001600160a01b0316806116195760405162461bcd60e51b815260206004820152601b60248201527f4d696e6572496420646f6573206e6f742072656769737465726564000000000060448201526064016107e2565b60035460408051635a325a9f60e11b815290516000926001600160a01b03169163b464b53e9160048083019260c0929190829003018187875af1158015611664573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116889190613995565b905061169381611d75565b60006116a382856040015161119d565b90506116af8483610e3c565b600a5460608501516001600160401b03909116906116cc906128b5565b11156117295760405162461bcd60e51b815260206004820152602660248201527f457863656564696e672074686520616c6c6f776564206e756d626572206f662060448201526573686172647360d01b60648201526084016107e2565b611731613346565b7f0000000000000000000000000000000000000000000000000000000000000000156117675761176085612087565b905061176e565b5060e08401515b7f0000000000000000000000000000000000000000000000000000000000000000156117f75760006117a08683612136565b9050836040015181146117f55760405162461bcd60e51b815260206004820152601860248201527f496e636f6e73697374656e74206d65726b6c6520726f6f74000000000000000060448201526064016107e2565b505b6117ff613346565b9050600061180d86846112ea565b9050600061182c856060015188606001516128ff90919063ffffffff16565b9050604081600d5461183e9190613a8a565b901b82111561188f5760405162461bcd60e51b815260206004820152601b60248201527f446f206e6f7420726561636820746172676574207175616c697479000000000060448201526064016107e2565b60008281526005602052604090205460ff16156118ee5760405162461bcd60e51b815260206004820152601960248201527f416e7377657220686173206265656e207375626d69747465640000000000000060448201526064016107e2565b6000828152600560205260409020805460ff191660011790556004546001600160a01b031663b7a3c04c61010061192761040080613a4b565b61193390610400613a4b565b61193e906008613a4b565b6119489190613a8a565b89608001516119579190613a8a565b6040808b015190516001600160e01b031960e085901b16815260048101929092526001600160a01b038a1660248301526044820152606401600060405180830381600087803b1580156119a957600080fd5b505af11580156119bd573d6000803e3d6000fd5b5050506040808901518751600c5460808c015184519182526020820152919350917ffedd8f58059af8fd54b4394c01ea8d07cac041988be3b5a822fb779f9c8de3a4910160405180910390a38451600b55600c805460019190600090611a24908490613a38565b909155505050505050505050565b6000611a3d83612087565b9050611a498382612136565b50611a52613346565b9050611a5e83836112ea565b50505050565b6000818152600e60205260409020546001600160a01b03163314611aca5760405162461bcd60e51b815260206004820152601b60248201527f53656e64657220646f6573206e6f74206f776e206d696e65724964000000000060448201526064016107e2565b6000818152600e602052604080822080546001600160a01b0319166001600160a01b03861690811790915590519091339184917f9a26a8e7fd42c501b452c02016def8048e3ea28c2bf15127a9b5e2029d989bf191a45050565b60005460ff1615611b835760405162461bcd60e51b8152602060048201526024808201527f5a67496e697469616c697a61626c653a20616c726561647920696e697469616c6044820152631a5e995960e21b60648201526084016107e2565b6000805460ff19166001178155611ba090611b9b3390565b611e05565b611bb8600080516020613c6683398151915233611e05565b611bc483600019613a8a565b600d557f000000000000000000000000000000000000000000000000000000000000000015611bf457600019600d555b600380546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055506064600655600a600781905560088190556014600955805467ffffffffffffffff191660201790556001601055565b600081815260026020526040812061072390612a3f565b60008281526001602081905260409091200154611c8381611d68565b610db98383611e27565b600080600360009054906101000a90046001600160a01b03166001600160a01b031663b464b53e6040518163ffffffff1660e01b815260040160c0604051808303816000875af1158015611ce5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d099190613995565b9050600b5481600001511180611d2d5750600754611d28906002613a4b565b600c54105b91505090565b60006001600160e01b03198216637965db0b60e01b148061072357506301ffc9a760e01b6001600160e01b0319831614610723565b611d728133612a49565b50565b600b5481511015611dd65760405162461bcd60e51b815260206004820152602560248201527f496e7465726e616c206572726f723a2065706f6368206e756d62657220646563604482015264726561736560d81b60648201526084016107e2565b600b548151118015611dea57506000600b54115b15611d7257611df7612aa2565b6000600c5560085460075550565b611e0f8282612ae2565b6000828152600260205260409020610db99082612b4d565b611e318282612b62565b6000828152600260205260409020610db99082612bc9565b610100611e5861040080613a4b565b611e6490610400613a4b565b611e6f906008613a4b565b611e799190613a8a565b8251611e859190613a24565b15611ed25760405162461bcd60e51b815260206004820152601d60248201527f537461727420706f736974696f6e206973206e6f7420616c69676e656400000060448201526064016107e2565b602082015182518291611ee491613a38565b1115611f2a5760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e6765206f766572666c6f7760581b60448201526064016107e2565b6000611f35836128b5565b610100611f4461040080613a4b565b611f5090610400613a4b565b611f5c90610400613a4b565b611f67906008613a4b565b611f719190613a8a565b611f7b9190613a4b565b90508083602001511115611fc95760405162461bcd60e51b81526020600482015260156024820152744d696e696e672072616e676520746f6f206c6f6e6760581b60448201526064016107e2565b6000611fd58383612bde565b905080846020015110156120245760405162461bcd60e51b8152602060048201526016602482015275135a5b9a5b99c81c985b99d9481d1bdbc81cda1bdc9d60521b60448201526064016107e2565b83606001518460400151166001600160401b0316600014611a5e5760405162461bcd60e51b815260206004820152601a60248201527f4d61736b656420626974732073686f756c64206265207a65726f00000000000060448201526064016107e2565b61208f613346565b60408083015160c0840151608085015192516120bf93906020019283526020830191909152604082015260600190565b60408051808303601f19018152919052805160209182012060e08401805151909118835251906000906120f56104006004613a4b565b6120ff9190613a8a565b905081836020600184030281015b8082101561212c5760208084209381018051909418920191825261210d565b5050505050919050565b6000805b60206121496104006004613a4b565b6121539190613a8a565b8110156121a157610100602082028401208084836080811061217757612177613b37565b6020020181815250505060206101006121909190613a8a565b61219a9082613a38565b905061213a565b5060006121b16020610100613a8a565b90505b60206121c36104006004613a4b565b6121cd9190613a8a565b8110156122a05760005b60206121e66104006004613a4b565b6121f09190613a8a565b81101561229757600084826080811061220b5761220b613b37565b6020020151905060008561221f8585613a38565b6080811061222f5761222f613b37565b602002015190508181604051602001612252929190918252602082015260400190565b6040516020818303038152906040528051906020012086846080811061227a5761227a613b37565b6020020152506122909050600183901b82613a38565b90506121d7565b5060011b6121b4565b5081516122ab613346565b925060006101006122bf6104006004613a4b565b6122c99190613a8a565b85608001516122d89190613a8a565b905060005b8561010001515181101561239f576000806122f9600285613a24565b60000361232957849150876101000151838151811061231a5761231a613b37565b6020026020010151905061234e565b876101000151838151811061234057612340613b37565b602002602001015191508490505b60408051602081018490529081018290526060016040516020818303038152906040528051906020012094506002846123879190613a8a565b935050506001816123989190613a38565b90506122dd565b5090949350505050565b600081600001518260200151836040015184606001516040516020016123f4949392919093845260208401929092526001600160401b03908116604084015216606082015260800190565b604051602081830303815290604052805190602001209050919050565b612419613365565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b602080830191909152825190830151604084015160608501516107239385939092909160806001612bf4565b612491613365565b612499613346565b60006124a484612cb3565b90506124d28160406124b96104006004613a4b565b6124c39190613a8a565b6124cd9088613a4b565b612ccf565b60005b60808110156125625760408083208352822060208301528681608081106124fe576124fe613b37565b602002015182511883826080811061251857612518613b37565b602002015286600182016080811061253257612532613b37565b602002015182600160200201511883826001016080811061255557612555613b37565b60200201526002016124d5565b506125f58160406125766104006004613a4b565b6125809190613a8a565b6001886125906104006010613a4b565b61259e610400610100613a4b565b6125a89190613a8a565b6125b56104006004613a4b565b6125c3610400610100613a4b565b6125cd9190613a8a565b6125d79190613a8a565b6125e19190613969565b6125eb9190613969565b6124cd9190613a4b565b6125fe81612cb3565b925050935093915050565b60008061010061261b61040082613a4b565b6126259190613a8a565b84602001516126349190613a8a565b61263e9084613a24565b6040850151606086015160208701519293508316179061010061266361040082613a4b565b61266d9190613a8a565b612680906001600160401b038416613a4b565b11156126ce5760405162461bcd60e51b815260206004820152601c60248201527f526563616c6c20706f736974696f6e206f7574206f6620626f756e640000000060448201526064016107e2565b6101006126dd61040082613a4b565b6126e79190613a8a565b6126fa906001600160401b038316613a4b565b85516127069190613a38565b95945050505050565b6000612719613365565b7f48c9bdf267e6096a3ba7ca8485ae67bb2bf894fe72f36e3cf1361d5f3af54fa581527fd182e6ad7f520e511f6c3e2b8c68059b6bbd41fbabd9831f79217e1319cde05b60208083019190915284519085015161277f9183918891906000608081612bf4565b9050612789613383565b60806000602061279c6104006004613a4b565b6127a69190613a8a565b6127b1906020613a4b565b6127bc906080613a38565b9050601c8301601f8401602085016060860160e0870160e1880160f089018c600c87538b51865260208c015160208701525b888a10156128565760808a01995060ff8a1684538960081c835380518552602081015160208601526040810151604086015260608101516060860152608081019050888a0361283c57600182535b60408660d58a6009600019fa61285157600080fd5b6127ee565b50505050505050508260016008811061287157612871613b37565b602002015198975050505050505050565b60006111288383612cf0565b6000600f546000036128a1575060001990565b600f546128b090600019613a8a565b905090565b606081015160009019815b6001600160401b038216156128f0576128da600183613a6a565b90911690806128e881613b4d565b9150506128c0565b600160ff9091161b9392505050565b60008061010061291161040080613a4b565b61291d90610400613a4b565b61292990610400613a4b565b612934906008613a4b565b61293e9190613a8a565b831161294a5782612986565b61010061295961040080613a4b565b61296590610400613a4b565b61297190610400613a4b565b61297c906008613a4b565b6129869190613a8a565b90506000612993856128b5565b61299d9085613a8a565b905060006101006129b061040080613a4b565b6129bc90610400613a4b565b6129c890610400613a4b565b6129d3906008613a4b565b6129dd9190613a8a565b82116129e95781612a25565b6101006129f861040080613a4b565b612a0490610400613a4b565b612a1090610400613a4b565b612a1b906008613a4b565b612a259190613a8a565b9050612a3581604085901b613a8a565b9695505050505050565b6000610723825490565b612a538282611502565b610e3857612a6081612d1a565b612a6b836020612d2c565b604051602001612a7c929190613b90565b60408051601f198184030181529082905262461bcd60e51b82526107e291600401613c05565b600c5460009015612acf5760006010600d54901c9050612ac781600654600c54612ec7565b915050612ad9565b506001600160f01b035b611d7281612f76565b612aec8282611502565b610e385760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b6000611128836001600160a01b03841661305b565b612b6c8282611502565b15610e385760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611128836001600160a01b0384166130aa565b6000818310612bed5781611128565b5090919050565b612bfc613365565b600c6000612c09856131a4565b8a516020808d0151835184830151604080516001600160e01b031960e08b901b168187015260248101969096526044860193909352606485018f9052608485018e905260a485018d905260c485018c90526001600160c01b031991821660e48601521660ec84015287151560f81b60f4840152805160d58185038101825260f5909401825293945091869184016009600019fa612ca557600080fd5b505050979650505050505050565b612cbb613365565b815181526020918201519181019190915290565b60005b81811015610db9576040808420845283206020840152600101612cd2565b6000826000018281548110612d0757612d07613b37565b9060005260206000200154905092915050565b60606107236001600160a01b03831660145b60606000612d3b836002613a4b565b612d46906002613a38565b6001600160401b03811115612d5d57612d5d613484565b6040519080825280601f01601f191660200182016040528015612d87576020820181803683370190505b509050600360fc1b81600081518110612da257612da2613b37565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612dd157612dd1613b37565b60200101906001600160f81b031916908160001a9053506000612df5846002613a4b565b612e00906001613a38565b90505b6001811115612e78576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612e3457612e34613b37565b1a60f81b828281518110612e4a57612e4a613b37565b60200101906001600160f81b031916908160001a90535060049490941c93612e7181613c38565b9050612e03565b5083156111285760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016107e2565b6000808060001985870985870292508281108382030391505080600003612f0157838281612ef757612ef7613a0e565b0492505050611128565b808411612f0d57600080fd5b60008486880960026001871981018816978890046003810283188082028403028082028403028082028403028082028403028082028403029081029092039091026000889003889004909101858311909403939093029303949094049190911702949350505050565b7f000000000000000000000000000000000000000000000000000000000000000015612f9f5750565b600d5460095460109190911c9060008184612fbb600183613969565b612fc59086613a4b565b612fcf9190613a38565b612fd99190613a8a565b9050612fe6836002613a4b565b811115612ffb57612ff8836002613a4b565b90505b613006600284613a8a565b81101561301b57613018600284613a8a565b90505b6001600160f01b0381111561303457506001600160f01b035b601081901b600d55600061304661288e565b905080600d5411156110d757600d5550505050565b60008181526001830160205260408120546130a257508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610723565b506000610723565b600081815260018301602052604081205480156131935760006130ce600183613969565b85549091506000906130e290600190613969565b905081811461314757600086600001828154811061310257613102613b37565b906000526020600020015490508087600001848154811061312557613125613b37565b6000918252602080832090910192909255918252600188019052604090208390555b855486908061315857613158613c4f565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610723565b6000915050610723565b5092915050565b6131ac613365565b620100008210156131f057600882811c66ffffffffffffff169083901b67ffffffffffffff00161760f01b5b6001600160c01b031916815260006020820152919050565b64010000000082101561323057600882811b63ff00ff001662ff00ff9184901c9190911617601081811b91901c1760e01b6001600160e01b0319166131d8565b6801000000000000000082101561324a576131d8826132e0565b600160801b82101561329a576001600160401b038216604083901c61326e826132e0565b6001600160c01b0319168352613283816132e0565b6001600160c01b0319166020840152506132db9050565b60405162461bcd60e51b8152602060048201526016602482015275626c616b65326220696e70757420746f6f206c6f6e6760501b60448201526064016107e2565b919050565b65ff000000ff00600882811b91821664ff000000ff9390911c92831617601090811b67ff000000ff0000009290921666ff000000ff0000939093169290921790911c17602081811b6bffffffffffffffff000000001691901c63ffffffff161760c01b90565b6040518061100001604052806080906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b6040518061010001604052806008906020820280368337509192915050565b6000602082840312156133b457600080fd5b81356001600160e01b03198116811461112857600080fd5b80356001600160a01b03811681146132db57600080fd5b80356001600160401b03811681146132db57600080fd5b6000806040838503121561340d57600080fd5b613416836133cc565b9150613424602084016133e3565b90509250929050565b60006020828403121561343f57600080fd5b5035919050565b60006020828403121561345857600080fd5b611128826133e3565b6000806040838503121561347457600080fd5b82359150613424602084016133cc565b634e487b7160e01b600052604160045260246000fd5b60405161012081016001600160401b03811182821017156134bd576134bd613484565b60405290565b6000608082840312156134d557600080fd5b604051608081018181106001600160401b03821117156134f7576134f7613484565b80604052508091508235815260208301356020820152613519604084016133e3565b604082015261352a606084016133e3565b60608201525092915050565b600082601f83011261354757600080fd5b6040516110008082018281106001600160401b038211171561356b5761356b613484565b6040528301818582111561357e57600080fd5b845b82811015613598578035825260209182019101613580565b509195945050505050565b600082601f8301126135b457600080fd5b813560206001600160401b03808311156135d0576135d0613484565b8260051b604051601f19603f830116810181811084821117156135f5576135f5613484565b60405293845285810183019383810192508785111561361357600080fd5b83870191505b8482101561363257813583529183019190830190613619565b979650505050505050565b6000611160828403121561365057600080fd5b61365861349a565b905081358152602082013560208201526040820135604082015261367f83606084016134c3565b606082015260e082013560808201526101008083013560a083015261012083013560c08301526136b3846101408501613536565b60e08301526111408301356001600160401b038111156136d257600080fd5b6136de858286016135a3565b82840152505092915050565b600060c082840312156136fc57600080fd5b60405160c081018181106001600160401b038211171561371e5761371e613484565b8060405250809150823581526020830135602082015260408301356040820152606083013560608201526080830135608082015260a083013560a08201525092915050565b60008060e0838503121561377657600080fd5b82356001600160401b0381111561378c57600080fd5b6137988582860161363d565b92505061342484602085016136ea565b6000602082840312156137ba57600080fd5b81356001600160401b038111156137d057600080fd5b6137dc8482850161363d565b949350505050565b6110008101818360005b608081101561380d5781518352602092830192909101906001016137ee565b50505092915050565b600080611020838503121561382a57600080fd5b82356001600160401b0381111561384057600080fd5b61384c8582860161363d565b9250506134248460208501613536565b60008060e0838503121561386f57600080fd5b61387984846136ea565b9460c0939093013593505050565b6000806040838503121561389a57600080fd5b82356001600160401b038111156138b057600080fd5b6138bc8582860161363d565b95602094909401359450505050565b600080604083850312156138de57600080fd5b50508035926020909101359150565b6000806040838503121561390057600080fd5b613909836133cc565b946020939093013593505050565b60008060006060848603121561392c57600080fd5b8335925061393c602085016133cc565b915061394a604085016133cc565b90509250925092565b634e487b7160e01b600052601160045260246000fd5b8181038181111561072357610723613953565b60006020828403121561398e57600080fd5b5051919050565b600060c082840312156139a757600080fd5b60405160c081018181106001600160401b03821117156139c9576139c9613484565b8060405250825181526020830151602082015260408301516040820152606083015160608201526080830151608082015260a083015160a08201528091505092915050565b634e487b7160e01b600052601260045260246000fd5b600082613a3357613a33613a0e565b500690565b8082018082111561072357610723613953565b6000816000190483118215151615613a6557613a65613953565b500290565b6001600160401b0382811682821603908082111561319d5761319d613953565b600082613a9957613a99613a0e565b500490565b80516001600160801b03811681146132db57600080fd5b600060408284031215613ac757600080fd5b604051604081018181106001600160401b0382111715613ae957613ae9613484565b604052613af583613a9e565b8152613b0360208401613a9e565b60208201529392505050565b60408101818360005b600281101561380d578151835260209283019290910190600101613b18565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff8103613b6357613b63613953565b60010192915050565b60005b83811015613b87578181015183820152602001613b6f565b50506000910152565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613bc8816017850160208801613b6c565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613bf9816028840160208801613b6c565b01602801949350505050565b6020815260008251806020840152613c24816040850160208701613b6c565b601f01601f19169190910160400192915050565b600081613c4757613c47613953565b506000190190565b634e487b7160e01b600052603160045260246000fdfeb9d69e0ca90be54a40811e436234a7f7908b87ff2bec27e64f878b166da8e8e5a26469706673582212209e7b45c6005ba730de2bb6917b784583631b858f9a102a7b227290bd7ac5a00564736f6c63430008100033", "linkReferences": {}, "deployedLinkReferences": {} } diff --git a/tests/mine_with_market_test.py b/tests/mine_with_market_test.py index 11acf53..a0e8ced 100755 --- a/tests/mine_with_market_test.py +++ b/tests/mine_with_market_test.py @@ -75,7 +75,7 @@ class MineTest(TestFramework): wait_until(lambda: self.mine_contract.last_mined_epoch() == start_epoch + 1 and not self.mine_contract.can_submit(), timeout=120) rewards = self.reward_contract.reward_distributes() - assert_equal(len(rewards), 2) + assert_equal(len(rewards), 4) firstReward = rewards[0].args.amount self.log.info("Received reward %d Gwei", firstReward / (10**9)) @@ -96,8 +96,8 @@ class MineTest(TestFramework): assert_equal(self.contract.epoch(), start_epoch + 2) rewards = self.reward_contract.reward_distributes() - assert_equal(len(rewards), 4) - secondReward = rewards[2].args.amount + assert_equal(len(rewards), 8) + secondReward = rewards[4].args.amount self.log.info("Received reward %d Gwei", secondReward / (10**9)) assert_greater_than(secondReward, 100 * firstReward / (start_epoch + 1)) diff --git a/tests/test_framework/contract_proxy.py b/tests/test_framework/contract_proxy.py index 5f11dd8..7f2d156 100644 --- a/tests/test_framework/contract_proxy.py +++ b/tests/test_framework/contract_proxy.py @@ -104,6 +104,9 @@ class MineContractProxy(ContractProxy): def can_submit(self, node_idx=0): return self._call("canSubmit", node_idx) + + def current_submissions(self, node_idx=0): + return self._call("currentSubmissions", node_idx) def set_quality(self, quality, node_idx=0): return self._send("setQuality", node_idx, _targetQuality=quality)