Address Details
contract
0xbc4c0e92ac0a588DF2712E3425723fe22361966f
- Contract Name
- BlockchainParameters
- Creator
- 0x456f41–3584da at 0x4b3561–352eff
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 0 Transactions
- Transfers
- 0 Transfers
- Gas Used
- Fetching gas used...
- Last Balance Update
- 11143972
This contract has been partially verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- BlockchainParameters
- Optimization enabled
- false
- Compiler version
- v0.5.13+commit.5b0b510c
- EVM Version
- istanbul
- Verified at
- 2021-10-19T09:31:23.124642Z
Contract source code
pragma solidity ^0.5.13; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; import "../common/Initializable.sol"; import "../common/UsingPrecompiles.sol"; /** * @title Contract for storing blockchain parameters that can be set by governance. */ contract BlockchainParameters is Ownable, Initializable, UsingPrecompiles { using SafeMath for uint256; struct ClientVersion { uint256 major; uint256 minor; uint256 patch; } struct LookbackWindow { // Value for lookbackWindow before `nextValueActivationBlock` uint256 oldValue; // Value for lookbackWindow after `nextValueActivationBlock` uint256 nextValue; // Epoch where next value is activated uint256 nextValueActivationEpoch; } ClientVersion private minimumClientVersion; uint256 public blockGasLimit; uint256 public intrinsicGasForAlternativeFeeCurrency; LookbackWindow public uptimeLookbackWindow; event MinimumClientVersionSet(uint256 major, uint256 minor, uint256 patch); event IntrinsicGasForAlternativeFeeCurrencySet(uint256 gas); event BlockGasLimitSet(uint256 limit); event UptimeLookbackWindowSet(uint256 window, uint256 activationEpoch); /** * @notice Sets initialized == true on implementation contracts * @param test Set to true to skip implementation initialization */ constructor(bool test) public Initializable(test) {} /** * @notice Used in place of the constructor to allow the contract to be upgradable via proxy. * @param major Minimum client version that can be used in the chain, major version. * @param minor Minimum client version that can be used in the chain, minor version. * @param patch Minimum client version that can be used in the chain, patch level. * @param _gasForNonGoldCurrencies Intrinsic gas for non-gold gas currencies. * @param gasLimit Block gas limit. * @param lookbackWindow Lookback window for measuring validator uptime. */ function initialize( uint256 major, uint256 minor, uint256 patch, uint256 _gasForNonGoldCurrencies, uint256 gasLimit, uint256 lookbackWindow ) external initializer { _transferOwnership(msg.sender); setMinimumClientVersion(major, minor, patch); setBlockGasLimit(gasLimit); setIntrinsicGasForAlternativeFeeCurrency(_gasForNonGoldCurrencies); setUptimeLookbackWindow(lookbackWindow); } /** * @notice Returns the storage, major, minor, and patch version of the contract. * @return The storage, major, minor, and patch version of the contract. */ function getVersionNumber() external pure returns (uint256, uint256, uint256, uint256) { return (1, 2, 0, 0); } /** * @notice Sets the minimum client version. * @param major Major version. * @param minor Minor version. * @param patch Patch version. * @dev For example if the version is 1.9.2, 1 is the major version, 9 is minor, * and 2 is the patch level. */ function setMinimumClientVersion(uint256 major, uint256 minor, uint256 patch) public onlyOwner { minimumClientVersion.major = major; minimumClientVersion.minor = minor; minimumClientVersion.patch = patch; emit MinimumClientVersionSet(major, minor, patch); } /** * @notice Sets the block gas limit. * @param gasLimit New block gas limit. */ function setBlockGasLimit(uint256 gasLimit) public onlyOwner { blockGasLimit = gasLimit; emit BlockGasLimitSet(gasLimit); } /** * @notice Sets the intrinsic gas for non-gold gas currencies. * @param gas Intrinsic gas for non-gold gas currencies. */ function setIntrinsicGasForAlternativeFeeCurrency(uint256 gas) public onlyOwner { intrinsicGasForAlternativeFeeCurrency = gas; emit IntrinsicGasForAlternativeFeeCurrencySet(gas); } /** * @notice Sets the uptime lookback window. * @param window New window. */ function setUptimeLookbackWindow(uint256 window) public onlyOwner { require(window >= 3 && window <= 720, "UptimeLookbackWindow must be within safe range"); require( window <= getEpochSize().sub(2), "UptimeLookbackWindow must be smaller or equal to epochSize - 2" ); uptimeLookbackWindow.oldValue = _getUptimeLookbackWindow(); // changes only take place on the next epoch uptimeLookbackWindow.nextValueActivationEpoch = getEpochNumber().add(1); uptimeLookbackWindow.nextValue = window; emit UptimeLookbackWindowSet(window, uptimeLookbackWindow.nextValueActivationEpoch); } /** * @notice Gets the uptime lookback window. */ function getUptimeLookbackWindow() public view returns (uint256 lookbackWindow) { lookbackWindow = _getUptimeLookbackWindow(); require(lookbackWindow != 0, "UptimeLookbackWindow is not initialized"); } /** * @notice Gets the uptime lookback window. */ function _getUptimeLookbackWindow() internal view returns (uint256 lookbackWindow) { if (getEpochNumber() >= uptimeLookbackWindow.nextValueActivationEpoch) { return uptimeLookbackWindow.nextValue; } else { return uptimeLookbackWindow.oldValue; } } /** * @notice Query minimum client version. * @return Returns major, minor, and patch version numbers. */ function getMinimumClientVersion() external view returns (uint256 major, uint256 minor, uint256 patch) { return (minimumClientVersion.major, minimumClientVersion.minor, minimumClientVersion.patch); } }
Initializable.sol
pragma solidity ^0.5.13; contract Initializable { bool public initialized; constructor(bool testingDeployment) public { if (!testingDeployment) { initialized = true; } } modifier initializer() { require(!initialized, "contract already initialized"); initialized = true; _; } }
UsingPrecompiles.sol
pragma solidity ^0.5.13; import "openzeppelin-solidity/contracts/math/SafeMath.sol"; import "../common/interfaces/ICeloVersionedContract.sol"; contract UsingPrecompiles { using SafeMath for uint256; address constant TRANSFER = address(0xff - 2); address constant FRACTION_MUL = address(0xff - 3); address constant PROOF_OF_POSSESSION = address(0xff - 4); address constant GET_VALIDATOR = address(0xff - 5); address constant NUMBER_VALIDATORS = address(0xff - 6); address constant EPOCH_SIZE = address(0xff - 7); address constant BLOCK_NUMBER_FROM_HEADER = address(0xff - 8); address constant HASH_HEADER = address(0xff - 9); address constant GET_PARENT_SEAL_BITMAP = address(0xff - 10); address constant GET_VERIFIED_SEAL_BITMAP = address(0xff - 11); /** * @notice calculate a * b^x for fractions a, b to `decimals` precision * @param aNumerator Numerator of first fraction * @param aDenominator Denominator of first fraction * @param bNumerator Numerator of exponentiated fraction * @param bDenominator Denominator of exponentiated fraction * @param exponent exponent to raise b to * @param _decimals precision * @return numerator/denominator of the computed quantity (not reduced). */ function fractionMulExp( uint256 aNumerator, uint256 aDenominator, uint256 bNumerator, uint256 bDenominator, uint256 exponent, uint256 _decimals ) public view returns (uint256, uint256) { require(aDenominator != 0 && bDenominator != 0, "a denominator is zero"); uint256 returnNumerator; uint256 returnDenominator; bool success; bytes memory out; (success, out) = FRACTION_MUL.staticcall( abi.encodePacked(aNumerator, aDenominator, bNumerator, bDenominator, exponent, _decimals) ); require(success, "error calling fractionMulExp precompile"); returnNumerator = getUint256FromBytes(out, 0); returnDenominator = getUint256FromBytes(out, 32); return (returnNumerator, returnDenominator); } /** * @notice Returns the current epoch size in blocks. * @return The current epoch size in blocks. */ function getEpochSize() public view returns (uint256) { bytes memory out; bool success; (success, out) = EPOCH_SIZE.staticcall(abi.encodePacked()); require(success, "error calling getEpochSize precompile"); return getUint256FromBytes(out, 0); } /** * @notice Returns the epoch number at a block. * @param blockNumber Block number where epoch number is calculated. * @return Epoch number. */ function getEpochNumberOfBlock(uint256 blockNumber) public view returns (uint256) { return epochNumberOfBlock(blockNumber, getEpochSize()); } /** * @notice Returns the epoch number at a block. * @return Current epoch number. */ function getEpochNumber() public view returns (uint256) { return getEpochNumberOfBlock(block.number); } /** * @notice Returns the epoch number at a block. * @param blockNumber Block number where epoch number is calculated. * @param epochSize The epoch size in blocks. * @return Epoch number. */ function epochNumberOfBlock(uint256 blockNumber, uint256 epochSize) internal pure returns (uint256) { // Follows GetEpochNumber from celo-blockchain/blob/master/consensus/istanbul/utils.go uint256 epochNumber = blockNumber / epochSize; if (blockNumber % epochSize == 0) { return epochNumber; } else { return epochNumber.add(1); } } /** * @notice Gets a validator address from the current validator set. * @param index Index of requested validator in the validator set. * @return Address of validator at the requested index. */ function validatorSignerAddressFromCurrentSet(uint256 index) public view returns (address) { bytes memory out; bool success; (success, out) = GET_VALIDATOR.staticcall(abi.encodePacked(index, uint256(block.number))); require(success, "error calling validatorSignerAddressFromCurrentSet precompile"); return address(getUint256FromBytes(out, 0)); } /** * @notice Gets a validator address from the validator set at the given block number. * @param index Index of requested validator in the validator set. * @param blockNumber Block number to retrieve the validator set from. * @return Address of validator at the requested index. */ function validatorSignerAddressFromSet(uint256 index, uint256 blockNumber) public view returns (address) { bytes memory out; bool success; (success, out) = GET_VALIDATOR.staticcall(abi.encodePacked(index, blockNumber)); require(success, "error calling validatorSignerAddressFromSet precompile"); return address(getUint256FromBytes(out, 0)); } /** * @notice Gets the size of the current elected validator set. * @return Size of the current elected validator set. */ function numberValidatorsInCurrentSet() public view returns (uint256) { bytes memory out; bool success; (success, out) = NUMBER_VALIDATORS.staticcall(abi.encodePacked(uint256(block.number))); require(success, "error calling numberValidatorsInCurrentSet precompile"); return getUint256FromBytes(out, 0); } /** * @notice Gets the size of the validator set that must sign the given block number. * @param blockNumber Block number to retrieve the validator set from. * @return Size of the validator set. */ function numberValidatorsInSet(uint256 blockNumber) public view returns (uint256) { bytes memory out; bool success; (success, out) = NUMBER_VALIDATORS.staticcall(abi.encodePacked(blockNumber)); require(success, "error calling numberValidatorsInSet precompile"); return getUint256FromBytes(out, 0); } /** * @notice Checks a BLS proof of possession. * @param sender The address signed by the BLS key to generate the proof of possession. * @param blsKey The BLS public key that the validator is using for consensus, should pass proof * of possession. 48 bytes. * @param blsPop The BLS public key proof-of-possession, which consists of a signature on the * account address. 96 bytes. * @return True upon success. */ function checkProofOfPossession(address sender, bytes memory blsKey, bytes memory blsPop) public view returns (bool) { bool success; (success, ) = PROOF_OF_POSSESSION.staticcall(abi.encodePacked(sender, blsKey, blsPop)); return success; } /** * @notice Parses block number out of header. * @param header RLP encoded header * @return Block number. */ function getBlockNumberFromHeader(bytes memory header) public view returns (uint256) { bytes memory out; bool success; (success, out) = BLOCK_NUMBER_FROM_HEADER.staticcall(abi.encodePacked(header)); require(success, "error calling getBlockNumberFromHeader precompile"); return getUint256FromBytes(out, 0); } /** * @notice Computes hash of header. * @param header RLP encoded header * @return Header hash. */ function hashHeader(bytes memory header) public view returns (bytes32) { bytes memory out; bool success; (success, out) = HASH_HEADER.staticcall(abi.encodePacked(header)); require(success, "error calling hashHeader precompile"); return getBytes32FromBytes(out, 0); } /** * @notice Gets the parent seal bitmap from the header at the given block number. * @param blockNumber Block number to retrieve. Must be within 4 epochs of the current number. * @return Bitmap parent seal with set bits at indices corresponding to signing validators. */ function getParentSealBitmap(uint256 blockNumber) public view returns (bytes32) { bytes memory out; bool success; (success, out) = GET_PARENT_SEAL_BITMAP.staticcall(abi.encodePacked(blockNumber)); require(success, "error calling getParentSealBitmap precompile"); return getBytes32FromBytes(out, 0); } /** * @notice Verifies the BLS signature on the header and returns the seal bitmap. * The validator set used for verification is retrieved based on the parent hash field of the * header. If the parent hash is not in the blockchain, verification fails. * @param header RLP encoded header * @return Bitmap parent seal with set bits at indices correspoinding to signing validators. */ function getVerifiedSealBitmapFromHeader(bytes memory header) public view returns (bytes32) { bytes memory out; bool success; (success, out) = GET_VERIFIED_SEAL_BITMAP.staticcall(abi.encodePacked(header)); require(success, "error calling getVerifiedSealBitmapFromHeader precompile"); return getBytes32FromBytes(out, 0); } /** * @notice Converts bytes to uint256. * @param bs byte[] data * @param start offset into byte data to convert * @return uint256 data */ function getUint256FromBytes(bytes memory bs, uint256 start) internal pure returns (uint256) { return uint256(getBytes32FromBytes(bs, start)); } /** * @notice Converts bytes to bytes32. * @param bs byte[] data * @param start offset into byte data to convert * @return bytes32 data */ function getBytes32FromBytes(bytes memory bs, uint256 start) internal pure returns (bytes32) { require(bs.length >= start.add(32), "slicing out of range"); bytes32 x; assembly { x := mload(add(bs, add(start, 32))) } return x; } /** * @notice Returns the minimum number of required signers for a given block number. * @dev Computed in celo-blockchain as int(math.Ceil(float64(2*valSet.Size()) / 3)) */ function minQuorumSize(uint256 blockNumber) public view returns (uint256) { return numberValidatorsInSet(blockNumber).mul(2).add(2).div(3); } /** * @notice Computes byzantine quorum from current validator set size * @return Byzantine quorum of validators. */ function minQuorumSizeInCurrentSet() public view returns (uint256) { return minQuorumSize(block.number); } }
ICeloVersionedContract.sol
pragma solidity ^0.5.13; interface ICeloVersionedContract { /** * @notice Returns the storage, major, minor, and patch version of the contract. * @return The storage, major, minor, and patch version of the contract. */ function getVersionNumber() external pure returns (uint256, uint256, uint256, uint256); }
Context.sol
pragma solidity ^0.5.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
SafeMath.sol
pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
Ownable.sol
pragma solidity ^0.5.0; import "../GSN/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","payable":false,"inputs":[{"type":"bool","name":"test","internalType":"bool"}]},{"type":"event","name":"BlockGasLimitSet","inputs":[{"type":"uint256","name":"limit","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"IntrinsicGasForAlternativeFeeCurrencySet","inputs":[{"type":"uint256","name":"gas","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MinimumClientVersionSet","inputs":[{"type":"uint256","name":"major","internalType":"uint256","indexed":false},{"type":"uint256","name":"minor","internalType":"uint256","indexed":false},{"type":"uint256","name":"patch","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"UptimeLookbackWindowSet","inputs":[{"type":"uint256","name":"window","internalType":"uint256","indexed":false},{"type":"uint256","name":"activationEpoch","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"blockGasLimit","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"checkProofOfPossession","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"bytes","name":"blsKey","internalType":"bytes"},{"type":"bytes","name":"blsPop","internalType":"bytes"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"fractionMulExp","inputs":[{"type":"uint256","name":"aNumerator","internalType":"uint256"},{"type":"uint256","name":"aDenominator","internalType":"uint256"},{"type":"uint256","name":"bNumerator","internalType":"uint256"},{"type":"uint256","name":"bDenominator","internalType":"uint256"},{"type":"uint256","name":"exponent","internalType":"uint256"},{"type":"uint256","name":"_decimals","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getBlockNumberFromHeader","inputs":[{"type":"bytes","name":"header","internalType":"bytes"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getEpochNumber","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getEpochNumberOfBlock","inputs":[{"type":"uint256","name":"blockNumber","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"getEpochSize","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"major","internalType":"uint256"},{"type":"uint256","name":"minor","internalType":"uint256"},{"type":"uint256","name":"patch","internalType":"uint256"}],"name":"getMinimumClientVersion","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getParentSealBitmap","inputs":[{"type":"uint256","name":"blockNumber","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"lookbackWindow","internalType":"uint256"}],"name":"getUptimeLookbackWindow","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"getVerifiedSealBitmapFromHeader","inputs":[{"type":"bytes","name":"header","internalType":"bytes"}],"constant":true},{"type":"function","stateMutability":"pure","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getVersionNumber","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bytes32","name":"","internalType":"bytes32"}],"name":"hashHeader","inputs":[{"type":"bytes","name":"header","internalType":"bytes"}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"initialize","inputs":[{"type":"uint256","name":"major","internalType":"uint256"},{"type":"uint256","name":"minor","internalType":"uint256"},{"type":"uint256","name":"patch","internalType":"uint256"},{"type":"uint256","name":"_gasForNonGoldCurrencies","internalType":"uint256"},{"type":"uint256","name":"gasLimit","internalType":"uint256"},{"type":"uint256","name":"lookbackWindow","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"initialized","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"intrinsicGasForAlternativeFeeCurrency","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isOwner","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minQuorumSize","inputs":[{"type":"uint256","name":"blockNumber","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"minQuorumSizeInCurrentSet","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"numberValidatorsInCurrentSet","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"numberValidatorsInSet","inputs":[{"type":"uint256","name":"blockNumber","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"renounceOwnership","inputs":[],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setBlockGasLimit","inputs":[{"type":"uint256","name":"gasLimit","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setIntrinsicGasForAlternativeFeeCurrency","inputs":[{"type":"uint256","name":"gas","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setMinimumClientVersion","inputs":[{"type":"uint256","name":"major","internalType":"uint256"},{"type":"uint256","name":"minor","internalType":"uint256"},{"type":"uint256","name":"patch","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setUptimeLookbackWindow","inputs":[{"type":"uint256","name":"window","internalType":"uint256"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"oldValue","internalType":"uint256"},{"type":"uint256","name":"nextValue","internalType":"uint256"},{"type":"uint256","name":"nextValueActivationEpoch","internalType":"uint256"}],"name":"uptimeLookbackWindow","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"","internalType":"address"}],"name":"validatorSignerAddressFromCurrentSet","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":"","internalType":"address"}],"name":"validatorSignerAddressFromSet","inputs":[{"type":"uint256","name":"index","internalType":"uint256"},{"type":"uint256","name":"blockNumber","internalType":"uint256"}],"constant":true}]
Contract Creation Code
0x608060405260006100146100b760201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506100bf565b600033905090565b612d37806100ce6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063808474f11161010f578063bb3ff745116100a2578063e94fd10911610071578063e94fd10914610a80578063ec68307214610aae578063f2fde38b14610b29578063fae8db0a14610b6d576101e5565b8063bb3ff745146109b0578063cb0ec628146109f2578063df4da46114610a20578063e50e652d14610a3e576101e5565b80638f32d59b116100de5780638f32d59b146109005780639a7b3be7146109225780639b2b592f14610940578063a69257f314610982576101e5565b8063808474f1146107ab57806387ee8a0f146107c95780638a883626146107e75780638da5cb5b146108b6576101e5565b806352bed4d71161018757806367960e911161015657806367960e9114610696578063715018a6146107655780637385e5da1461076f5780637877a7971461078d576101e5565b806352bed4d7146105a157806354255be0146105bf5780635d180adb146105f2578063615688281461066a576101e5565b806325eb315d116101c357806325eb315d146104045780632d7aa82b146104305780633b1eb4bf146104905780634b2c2f44146104d2576101e5565b8063123633ea146101ea578063158ef93e1461025857806323f0ab651461027a575b600080fd5b6102166004803603602081101561020057600080fd5b8101908080359060200190929190505050610baf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610260610d00565b604051808215151515815260200191505060405180910390f35b6103ea6004803603606081101561029057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156102cd57600080fd5b8201836020820111156102df57600080fd5b8035906020019184600183028401116401000000008311171561030157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561036457600080fd5b82018360208201111561037657600080fd5b8035906020019184600183028401116401000000008311171561039857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610d13565b604051808215151515815260200191505060405180910390f35b61040c610ecc565b60405180848152602001838152602001828152602001935050505060405180910390f35b61048e600480360360c081101561044657600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190505050610eed565b005b6104bc600480360360208110156104a657600080fd5b8101908080359060200190929190505050610fc2565b6040518082815260200191505060405180910390f35b61058b600480360360208110156104e857600080fd5b810190808035906020019064010000000081111561050557600080fd5b82018360208201111561051757600080fd5b8035906020019184600183028401116401000000008311171561053957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610fdc565b6040518082815260200191505060405180910390f35b6105a9611170565b6040518082815260200191505060405180910390f35b6105c76111d9565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b6106286004803603604081101561060857600080fd5b810190808035906020019092919080359060200190929190505050611200565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610672611352565b60405180848152602001838152602001828152602001935050505060405180910390f35b61074f600480360360208110156106ac57600080fd5b81019080803590602001906401000000008111156106c957600080fd5b8201836020820111156106db57600080fd5b803590602001918460018302840111640100000000831117156106fd57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061136a565b6040518082815260200191505060405180910390f35b61076d6114fe565b005b610777611637565b6040518082815260200191505060405180910390f35b610795611647565b6040518082815260200191505060405180910390f35b6107b361164d565b6040518082815260200191505060405180910390f35b6107d1611653565b6040518082815260200191505060405180910390f35b6108a0600480360360208110156107fd57600080fd5b810190808035906020019064010000000081111561081a57600080fd5b82018360208201111561082c57600080fd5b8035906020019184600183028401116401000000008311171561084e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061179a565b6040518082815260200191505060405180910390f35b6108be61192e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610908611957565b604051808215151515815260200191505060405180910390f35b61092a6119b5565b6040518082815260200191505060405180910390f35b61096c6004803603602081101561095657600080fd5b81019080803590602001909291905050506119c5565b6040518082815260200191505060405180910390f35b6109ae6004803603602081101561099857600080fd5b8101908080359060200190929190505050611b0e565b005b6109f0600480360360608110156109c657600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050611bc9565b005b610a1e60048036036020811015610a0857600080fd5b8101908080359060200190929190505050611cac565b005b610a28611d67565b6040518082815260200191505060405180910390f35b610a6a60048036036020811015610a5457600080fd5b8101908080359060200190929190505050611ea3565b6040518082815260200191505060405180910390f35b610aac60048036036020811015610a9657600080fd5b8101908080359060200190929190505050611eee565b005b610b0c600480360360c0811015610ac457600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506120c9565b604051808381526020018281526020019250505060405180910390f35b610b6b60048036036020811015610b3f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122dd565b005b610b9960048036036020811015610b8357600080fd5b8101908080359060200190929190505050612363565b6040518082815260200191505060405180910390f35b60006060600060fa73ffffffffffffffffffffffffffffffffffffffff16844360405160200180838152602001828152602001925050506040516020818303038152906040526040518082805190602001908083835b60208310610c285780518252602082019150602081019050602083039250610c05565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610c88576040519150601f19603f3d011682016040523d82523d6000602084013e610c8d565b606091505b50809350819250505080610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180612adb603d913960400191505060405180910390fd5b610cf78260006124ac565b92505050919050565b600060149054906101000a900460ff1681565b60008060fb73ffffffffffffffffffffffffffffffffffffffff16858585604051602001808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140183805190602001908083835b60208310610d9c5780518252602082019150602081019050602083039250610d79565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310610ded5780518252602082019150602081019050602083039250610dca565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040526040518082805190602001908083835b60208310610e565780518252602082019150602081019050602083039250610e33565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610eb6576040519150601f19603f3d011682016040523d82523d6000602084013e610ebb565b606091505b505080915050809150509392505050565b60008060006001600001546001800154600160020154925092509250909192565b600060149054906101000a900460ff1615610f70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f636f6e747261637420616c726561647920696e697469616c697a65640000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff021916908315150217905550610f94336124c3565b610f9f868686611bc9565b610fa882611b0e565b610fb183611cac565b610fba81611eee565b505050505050565b6000610fd582610fd0611d67565b612607565b9050919050565b60006060600060f473ffffffffffffffffffffffffffffffffffffffff16846040516020018082805190602001908083835b60208310611031578051825260208201915060208101905060208303925061100e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b602083106110985780518252602082019150602081019050602083039250611075565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146110f8576040519150601f19603f3d011682016040523d82523d6000602084013e6110fd565b606091505b5080935081925050508061115c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180612aa36038913960400191505060405180910390fd5b61116782600061264f565b92505050919050565b600061117a6126f0565b905060008114156111d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612c2e6027913960400191505060405180910390fd5b90565b60008060008060016002600080839350829250819150809050935093509350935090919293565b60006060600060fa73ffffffffffffffffffffffffffffffffffffffff16858560405160200180838152602001828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106112795780518252602082019150602081019050602083039250611256565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146112d9576040519150601f19603f3d011682016040523d82523d6000602084013e6112de565b606091505b5080935081925050508061133d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180612b4d6036913960400191505060405180910390fd5b6113488260006124ac565b9250505092915050565b60068060000154908060010154908060020154905083565b60006060600060f673ffffffffffffffffffffffffffffffffffffffff16846040516020018082805190602001908083835b602083106113bf578051825260208201915060208101905060208303925061139c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b602083106114265780518252602082019150602081019050602083039250611403565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611486576040519150601f19603f3d011682016040523d82523d6000602084013e61148b565b606091505b508093508192505050806114ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612ce06023913960400191505060405180910390fd5b6114f582600061264f565b92505050919050565b611506611957565b611578576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600061164243611ea3565b905090565b60045481565b60055481565b60006060600060f973ffffffffffffffffffffffffffffffffffffffff1643604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b602083106116c457805182526020820191506020810190506020830392506116a1565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611724576040519150601f19603f3d011682016040523d82523d6000602084013e611729565b606091505b50809350819250505080611788576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526035815260200180612b186035913960400191505060405180910390fd5b6117938260006124ac565b9250505090565b60006060600060f773ffffffffffffffffffffffffffffffffffffffff16846040516020018082805190602001908083835b602083106117ef57805182526020820191506020810190506020830392506117cc565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b602083106118565780518252602082019150602081019050602083039250611833565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146118b6576040519150601f19603f3d011682016040523d82523d6000602084013e6118bb565b606091505b5080935081925050508061191a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180612c816031913960400191505060405180910390fd5b6119258260006124ac565b92505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661199961271e565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60006119c043610fc2565b905090565b60006060600060f973ffffffffffffffffffffffffffffffffffffffff1684604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b60208310611a365780518252602082019150602081019050602083039250611a13565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611a96576040519150601f19603f3d011682016040523d82523d6000602084013e611a9b565b606091505b50809350819250505080611afa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612a4f602e913960400191505060405180910390fd5b611b058260006124ac565b92505050919050565b611b16611957565b611b88576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806004819055507f55311ae9c14427b0863f38ed97a2a5944c50d824bbf692836246512e6822c3cf816040518082815260200191505060405180910390a150565b611bd1611957565b611c43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b82600160000181905550816001800181905550806001600201819055507f809db05bd174a70ede53d18fc046c5ceb86ebffbb7746a0c8605772c97ef0d5283838360405180848152602001838152602001828152602001935050505060405180910390a1505050565b611cb4611957565b611d26576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806005819055507fba9c6f28c7d9990745a5b5282dbee04706c28cae24a44736c3ba99b57c021f3e816040518082815260200191505060405180910390a150565b60006060600060f873ffffffffffffffffffffffffffffffffffffffff166040516020016040516020818303038152906040526040518082805190602001908083835b60208310611dcd5780518252602082019150602081019050602083039250611daa565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611e2d576040519150601f19603f3d011682016040523d82523d6000602084013e611e32565b606091505b50809350819250505080611e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612c096025913960400191505060405180910390fd5b611e9c8260006124ac565b9250505090565b6000611ee76003611ed96002611ecb6002611ebd886119c5565b61272690919063ffffffff16565b6127ac90919063ffffffff16565b61283490919063ffffffff16565b9050919050565b611ef6611957565b611f68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60038110158015611f7b57506102d08111155b611fd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612cb2602e913960400191505060405180910390fd5b611feb6002611fdd611d67565b61287e90919063ffffffff16565b811115612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603e815260200180612b83603e913960400191505060405180910390fd5b61204b6126f0565b60066000018190555061206f60016120616119b5565b6127ac90919063ffffffff16565b600660020181905550806006600101819055507f484a24d7faca8c4330aaf9ba5f131e6bd474ed6877a555511f39d16a1d71d15a81600660020154604051808381526020018281526020019250505060405180910390a150565b600080600087141580156120de575060008514155b612150576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f612064656e6f6d696e61746f72206973207a65726f000000000000000000000081525060200191505060405180910390fd5b6000806000606060fc73ffffffffffffffffffffffffffffffffffffffff168c8c8c8c8c8c6040516020018087815260200186815260200185815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040526040518082805190602001908083835b602083106121ea57805182526020820191506020810190506020830392506121c7565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461224a576040519150601f19603f3d011682016040523d82523d6000602084013e61224f565b606091505b508092508193505050816122ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612be26027913960400191505060405180910390fd5b6122b98160006124ac565b93506122c68160206124ac565b925083839550955050505050965096945050505050565b6122e5611957565b612357576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b612360816124c3565b50565b60006060600060f573ffffffffffffffffffffffffffffffffffffffff1684604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b602083106123d457805182526020820191506020810190506020830392506123b1565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114612434576040519150601f19603f3d011682016040523d82523d6000602084013e612439565b606091505b50809350819250505080612498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612c55602c913960400191505060405180910390fd5b6124a382600061264f565b92505050919050565b60006124b8838361264f565b60001c905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612549576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a7d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082848161261357fe5b049050600083858161262157fe5b0614156126315780915050612649565b6126456001826127ac90919063ffffffff16565b9150505b92915050565b60006126656020836127ac90919063ffffffff16565b835110156126db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f736c6963696e67206f7574206f662072616e676500000000000000000000000081525060200191505060405180910390fd5b60006020830184015190508091505092915050565b60006006600201546127006119b5565b1061271257600660010154905061271b565b60066000015490505b90565b600033905090565b60008083141561273957600090506127a6565b600082840290508284828161274a57fe5b04146127a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612bc16021913960400191505060405180910390fd5b809150505b92915050565b60008082840190508381101561282a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061287683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128c8565b905092915050565b60006128c083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061298e565b905092915050565b60008083118290612974576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561293957808201518184015260208101905061291e565b50505050905090810190601f1680156129665780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161298057fe5b049050809150509392505050565b6000838311158290612a3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a005780820151818401526020810190506129e5565b50505050905090810190601f168015612a2d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838503905080915050939250505056fe6572726f722063616c6c696e67206e756d62657256616c696461746f7273496e53657420707265636f6d70696c654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736572726f722063616c6c696e672067657456657269666965645365616c4269746d617046726f6d48656164657220707265636f6d70696c656572726f722063616c6c696e672076616c696461746f725369676e65724164647265737346726f6d43757272656e7453657420707265636f6d70696c656572726f722063616c6c696e67206e756d62657256616c696461746f7273496e43757272656e7453657420707265636f6d70696c656572726f722063616c6c696e672076616c696461746f725369676e65724164647265737346726f6d53657420707265636f6d70696c65557074696d654c6f6f6b6261636b57696e646f77206d75737420626520736d616c6c6572206f7220657175616c20746f2065706f636853697a65202d2032536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776572726f722063616c6c696e67206672616374696f6e4d756c45787020707265636f6d70696c656572726f722063616c6c696e672067657445706f636853697a6520707265636f6d70696c65557074696d654c6f6f6b6261636b57696e646f77206973206e6f7420696e697469616c697a65646572726f722063616c6c696e6720676574506172656e745365616c4269746d617020707265636f6d70696c656572726f722063616c6c696e6720676574426c6f636b4e756d62657246726f6d48656164657220707265636f6d70696c65557074696d654c6f6f6b6261636b57696e646f77206d7573742062652077697468696e20736166652072616e67656572726f722063616c6c696e67206861736848656164657220707265636f6d70696c65a265627a7a723158203586483eb2a201570c70c46ce168ada2fd77da77ca6293bfc70013b48450f4ee64736f6c634300050d0032
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063808474f11161010f578063bb3ff745116100a2578063e94fd10911610071578063e94fd10914610a80578063ec68307214610aae578063f2fde38b14610b29578063fae8db0a14610b6d576101e5565b8063bb3ff745146109b0578063cb0ec628146109f2578063df4da46114610a20578063e50e652d14610a3e576101e5565b80638f32d59b116100de5780638f32d59b146109005780639a7b3be7146109225780639b2b592f14610940578063a69257f314610982576101e5565b8063808474f1146107ab57806387ee8a0f146107c95780638a883626146107e75780638da5cb5b146108b6576101e5565b806352bed4d71161018757806367960e911161015657806367960e9114610696578063715018a6146107655780637385e5da1461076f5780637877a7971461078d576101e5565b806352bed4d7146105a157806354255be0146105bf5780635d180adb146105f2578063615688281461066a576101e5565b806325eb315d116101c357806325eb315d146104045780632d7aa82b146104305780633b1eb4bf146104905780634b2c2f44146104d2576101e5565b8063123633ea146101ea578063158ef93e1461025857806323f0ab651461027a575b600080fd5b6102166004803603602081101561020057600080fd5b8101908080359060200190929190505050610baf565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610260610d00565b604051808215151515815260200191505060405180910390f35b6103ea6004803603606081101561029057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156102cd57600080fd5b8201836020820111156102df57600080fd5b8035906020019184600183028401116401000000008311171561030157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561036457600080fd5b82018360208201111561037657600080fd5b8035906020019184600183028401116401000000008311171561039857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610d13565b604051808215151515815260200191505060405180910390f35b61040c610ecc565b60405180848152602001838152602001828152602001935050505060405180910390f35b61048e600480360360c081101561044657600080fd5b81019080803590602001909291908035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190505050610eed565b005b6104bc600480360360208110156104a657600080fd5b8101908080359060200190929190505050610fc2565b6040518082815260200191505060405180910390f35b61058b600480360360208110156104e857600080fd5b810190808035906020019064010000000081111561050557600080fd5b82018360208201111561051757600080fd5b8035906020019184600183028401116401000000008311171561053957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610fdc565b6040518082815260200191505060405180910390f35b6105a9611170565b6040518082815260200191505060405180910390f35b6105c76111d9565b6040518085815260200184815260200183815260200182815260200194505050505060405180910390f35b6106286004803603604081101561060857600080fd5b810190808035906020019092919080359060200190929190505050611200565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610672611352565b60405180848152602001838152602001828152602001935050505060405180910390f35b61074f600480360360208110156106ac57600080fd5b81019080803590602001906401000000008111156106c957600080fd5b8201836020820111156106db57600080fd5b803590602001918460018302840111640100000000831117156106fd57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061136a565b6040518082815260200191505060405180910390f35b61076d6114fe565b005b610777611637565b6040518082815260200191505060405180910390f35b610795611647565b6040518082815260200191505060405180910390f35b6107b361164d565b6040518082815260200191505060405180910390f35b6107d1611653565b6040518082815260200191505060405180910390f35b6108a0600480360360208110156107fd57600080fd5b810190808035906020019064010000000081111561081a57600080fd5b82018360208201111561082c57600080fd5b8035906020019184600183028401116401000000008311171561084e57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050919291929050505061179a565b6040518082815260200191505060405180910390f35b6108be61192e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610908611957565b604051808215151515815260200191505060405180910390f35b61092a6119b5565b6040518082815260200191505060405180910390f35b61096c6004803603602081101561095657600080fd5b81019080803590602001909291905050506119c5565b6040518082815260200191505060405180910390f35b6109ae6004803603602081101561099857600080fd5b8101908080359060200190929190505050611b0e565b005b6109f0600480360360608110156109c657600080fd5b81019080803590602001909291908035906020019092919080359060200190929190505050611bc9565b005b610a1e60048036036020811015610a0857600080fd5b8101908080359060200190929190505050611cac565b005b610a28611d67565b6040518082815260200191505060405180910390f35b610a6a60048036036020811015610a5457600080fd5b8101908080359060200190929190505050611ea3565b6040518082815260200191505060405180910390f35b610aac60048036036020811015610a9657600080fd5b8101908080359060200190929190505050611eee565b005b610b0c600480360360c0811015610ac457600080fd5b810190808035906020019092919080359060200190929190803590602001909291908035906020019092919080359060200190929190803590602001909291905050506120c9565b604051808381526020018281526020019250505060405180910390f35b610b6b60048036036020811015610b3f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506122dd565b005b610b9960048036036020811015610b8357600080fd5b8101908080359060200190929190505050612363565b6040518082815260200191505060405180910390f35b60006060600060fa73ffffffffffffffffffffffffffffffffffffffff16844360405160200180838152602001828152602001925050506040516020818303038152906040526040518082805190602001908083835b60208310610c285780518252602082019150602081019050602083039250610c05565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610c88576040519150601f19603f3d011682016040523d82523d6000602084013e610c8d565b606091505b50809350819250505080610cec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603d815260200180612adb603d913960400191505060405180910390fd5b610cf78260006124ac565b92505050919050565b600060149054906101000a900460ff1681565b60008060fb73ffffffffffffffffffffffffffffffffffffffff16858585604051602001808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1660601b815260140183805190602001908083835b60208310610d9c5780518252602082019150602081019050602083039250610d79565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310610ded5780518252602082019150602081019050602083039250610dca565b6001836020036101000a03801982511681845116808217855250505050505090500193505050506040516020818303038152906040526040518082805190602001908083835b60208310610e565780518252602082019150602081019050602083039250610e33565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610eb6576040519150601f19603f3d011682016040523d82523d6000602084013e610ebb565b606091505b505080915050809150509392505050565b60008060006001600001546001800154600160020154925092509250909192565b600060149054906101000a900460ff1615610f70576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f636f6e747261637420616c726561647920696e697469616c697a65640000000081525060200191505060405180910390fd5b6001600060146101000a81548160ff021916908315150217905550610f94336124c3565b610f9f868686611bc9565b610fa882611b0e565b610fb183611cac565b610fba81611eee565b505050505050565b6000610fd582610fd0611d67565b612607565b9050919050565b60006060600060f473ffffffffffffffffffffffffffffffffffffffff16846040516020018082805190602001908083835b60208310611031578051825260208201915060208101905060208303925061100e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b602083106110985780518252602082019150602081019050602083039250611075565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146110f8576040519150601f19603f3d011682016040523d82523d6000602084013e6110fd565b606091505b5080935081925050508061115c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526038815260200180612aa36038913960400191505060405180910390fd5b61116782600061264f565b92505050919050565b600061117a6126f0565b905060008114156111d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612c2e6027913960400191505060405180910390fd5b90565b60008060008060016002600080839350829250819150809050935093509350935090919293565b60006060600060fa73ffffffffffffffffffffffffffffffffffffffff16858560405160200180838152602001828152602001925050506040516020818303038152906040526040518082805190602001908083835b602083106112795780518252602082019150602081019050602083039250611256565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146112d9576040519150601f19603f3d011682016040523d82523d6000602084013e6112de565b606091505b5080935081925050508061133d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526036815260200180612b4d6036913960400191505060405180910390fd5b6113488260006124ac565b9250505092915050565b60068060000154908060010154908060020154905083565b60006060600060f673ffffffffffffffffffffffffffffffffffffffff16846040516020018082805190602001908083835b602083106113bf578051825260208201915060208101905060208303925061139c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b602083106114265780518252602082019150602081019050602083039250611403565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611486576040519150601f19603f3d011682016040523d82523d6000602084013e61148b565b606091505b508093508192505050806114ea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526023815260200180612ce06023913960400191505060405180910390fd5b6114f582600061264f565b92505050919050565b611506611957565b611578576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600061164243611ea3565b905090565b60045481565b60055481565b60006060600060f973ffffffffffffffffffffffffffffffffffffffff1643604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b602083106116c457805182526020820191506020810190506020830392506116a1565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611724576040519150601f19603f3d011682016040523d82523d6000602084013e611729565b606091505b50809350819250505080611788576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526035815260200180612b186035913960400191505060405180910390fd5b6117938260006124ac565b9250505090565b60006060600060f773ffffffffffffffffffffffffffffffffffffffff16846040516020018082805190602001908083835b602083106117ef57805182526020820191506020810190506020830392506117cc565b6001836020036101000a0380198251168184511680821785525050505050509050019150506040516020818303038152906040526040518082805190602001908083835b602083106118565780518252602082019150602081019050602083039250611833565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146118b6576040519150601f19603f3d011682016040523d82523d6000602084013e6118bb565b606091505b5080935081925050508061191a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180612c816031913960400191505060405180910390fd5b6119258260006124ac565b92505050919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661199961271e565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60006119c043610fc2565b905090565b60006060600060f973ffffffffffffffffffffffffffffffffffffffff1684604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b60208310611a365780518252602082019150602081019050602083039250611a13565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611a96576040519150601f19603f3d011682016040523d82523d6000602084013e611a9b565b606091505b50809350819250505080611afa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612a4f602e913960400191505060405180910390fd5b611b058260006124ac565b92505050919050565b611b16611957565b611b88576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806004819055507f55311ae9c14427b0863f38ed97a2a5944c50d824bbf692836246512e6822c3cf816040518082815260200191505060405180910390a150565b611bd1611957565b611c43576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b82600160000181905550816001800181905550806001600201819055507f809db05bd174a70ede53d18fc046c5ceb86ebffbb7746a0c8605772c97ef0d5283838360405180848152602001838152602001828152602001935050505060405180910390a1505050565b611cb4611957565b611d26576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806005819055507fba9c6f28c7d9990745a5b5282dbee04706c28cae24a44736c3ba99b57c021f3e816040518082815260200191505060405180910390a150565b60006060600060f873ffffffffffffffffffffffffffffffffffffffff166040516020016040516020818303038152906040526040518082805190602001908083835b60208310611dcd5780518252602082019150602081019050602083039250611daa565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611e2d576040519150601f19603f3d011682016040523d82523d6000602084013e611e32565b606091505b50809350819250505080611e91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612c096025913960400191505060405180910390fd5b611e9c8260006124ac565b9250505090565b6000611ee76003611ed96002611ecb6002611ebd886119c5565b61272690919063ffffffff16565b6127ac90919063ffffffff16565b61283490919063ffffffff16565b9050919050565b611ef6611957565b611f68576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60038110158015611f7b57506102d08111155b611fd0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602e815260200180612cb2602e913960400191505060405180910390fd5b611feb6002611fdd611d67565b61287e90919063ffffffff16565b811115612043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603e815260200180612b83603e913960400191505060405180910390fd5b61204b6126f0565b60066000018190555061206f60016120616119b5565b6127ac90919063ffffffff16565b600660020181905550806006600101819055507f484a24d7faca8c4330aaf9ba5f131e6bd474ed6877a555511f39d16a1d71d15a81600660020154604051808381526020018281526020019250505060405180910390a150565b600080600087141580156120de575060008514155b612150576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f612064656e6f6d696e61746f72206973207a65726f000000000000000000000081525060200191505060405180910390fd5b6000806000606060fc73ffffffffffffffffffffffffffffffffffffffff168c8c8c8c8c8c6040516020018087815260200186815260200185815260200184815260200183815260200182815260200196505050505050506040516020818303038152906040526040518082805190602001908083835b602083106121ea57805182526020820191506020810190506020830392506121c7565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d806000811461224a576040519150601f19603f3d011682016040523d82523d6000602084013e61224f565b606091505b508092508193505050816122ae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612be26027913960400191505060405180910390fd5b6122b98160006124ac565b93506122c68160206124ac565b925083839550955050505050965096945050505050565b6122e5611957565b612357576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b612360816124c3565b50565b60006060600060f573ffffffffffffffffffffffffffffffffffffffff1684604051602001808281526020019150506040516020818303038152906040526040518082805190602001908083835b602083106123d457805182526020820191506020810190506020830392506123b1565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114612434576040519150601f19603f3d011682016040523d82523d6000602084013e612439565b606091505b50809350819250505080612498576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612c55602c913960400191505060405180910390fd5b6124a382600061264f565b92505050919050565b60006124b8838361264f565b60001c905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612549576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612a7d6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008082848161261357fe5b049050600083858161262157fe5b0614156126315780915050612649565b6126456001826127ac90919063ffffffff16565b9150505b92915050565b60006126656020836127ac90919063ffffffff16565b835110156126db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f736c6963696e67206f7574206f662072616e676500000000000000000000000081525060200191505060405180910390fd5b60006020830184015190508091505092915050565b60006006600201546127006119b5565b1061271257600660010154905061271b565b60066000015490505b90565b600033905090565b60008083141561273957600090506127a6565b600082840290508284828161274a57fe5b04146127a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612bc16021913960400191505060405180910390fd5b809150505b92915050565b60008082840190508381101561282a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600061287683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128c8565b905092915050565b60006128c083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061298e565b905092915050565b60008083118290612974576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561293957808201518184015260208101905061291e565b50505050905090810190601f1680156129665780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161298057fe5b049050809150509392505050565b6000838311158290612a3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612a005780820151818401526020810190506129e5565b50505050905090810190601f168015612a2d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838503905080915050939250505056fe6572726f722063616c6c696e67206e756d62657256616c696461746f7273496e53657420707265636f6d70696c654f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573736572726f722063616c6c696e672067657456657269666965645365616c4269746d617046726f6d48656164657220707265636f6d70696c656572726f722063616c6c696e672076616c696461746f725369676e65724164647265737346726f6d43757272656e7453657420707265636f6d70696c656572726f722063616c6c696e67206e756d62657256616c696461746f7273496e43757272656e7453657420707265636f6d70696c656572726f722063616c6c696e672076616c696461746f725369676e65724164647265737346726f6d53657420707265636f6d70696c65557074696d654c6f6f6b6261636b57696e646f77206d75737420626520736d616c6c6572206f7220657175616c20746f2065706f636853697a65202d2032536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776572726f722063616c6c696e67206672616374696f6e4d756c45787020707265636f6d70696c656572726f722063616c6c696e672067657445706f636853697a6520707265636f6d70696c65557074696d654c6f6f6b6261636b57696e646f77206973206e6f7420696e697469616c697a65646572726f722063616c6c696e6720676574506172656e745365616c4269746d617020707265636f6d70696c656572726f722063616c6c696e6720676574426c6f636b4e756d62657246726f6d48656164657220707265636f6d70696c65557074696d654c6f6f6b6261636b57696e646f77206d7573742062652077697468696e20736166652072616e67656572726f722063616c6c696e67206861736848656164657220707265636f6d70696c65a265627a7a723158203586483eb2a201570c70c46ce168ada2fd77da77ca6293bfc70013b48450f4ee64736f6c634300050d0032