Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 14922123 | 901 days ago | IN | 0 ETH | 0.28805418 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ServiceV22
Compiler Version
v0.6.12+commit.27d51765
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "../lib/openzeppelin/contracts/3.4.1/token/ERC20/IERC20.sol"; import "./lib/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/INodePackV3.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/rewards.sol"; contract ServiceV22 { event Requested(address indexed miner); event Claimed(address indexed miner, uint256 reward); using SafeMath for uint256; bool public initDone; address public admin; address public pendingAdmin; address public superAdmin; address public pendingSuperAdmin; address public serviceAdmin; address public parameterAdmin; address payable public feeCollector; IERC20 public strongToken; StrongPoolInterface public strongPool; uint256 public rewardPerBlockNumerator; uint256 public rewardPerBlockDenominator; uint256 public naasRewardPerBlockNumerator; uint256 public naasRewardPerBlockDenominator; uint256 public claimingFeeNumerator; uint256 public claimingFeeDenominator; uint256 public requestingFeeInWei; uint256 public strongFeeInWei; uint256 public recurringFeeInWei; uint256 public recurringNaaSFeeInWei; uint256 public recurringPaymentCycleInBlocks; uint256 public rewardBalance; mapping(address => uint256) public entityBlockLastClaimedOn; address[] public entities; mapping(address => uint256) public entityIndex; mapping(address => bool) public entityActive; mapping(address => bool) public requestPending; mapping(address => bool) public entityIsNaaS; mapping(address => uint256) public paidOnBlock; uint256 public activeEntities; string public desciption; uint256 public claimingFeeInWei; uint256 public naasRequestingFeeInWei; uint256 public naasStrongFeeInWei; bool public removedTokens; mapping(address => uint256) public traunch; uint256 public currentTraunch; mapping(bytes => bool) public entityNodeIsActive; mapping(bytes => bool) public entityNodeIsBYON; mapping(bytes => uint256) public entityNodeTraunch; mapping(bytes => uint256) public entityNodePaidOnBlock; mapping(bytes => uint256) public entityNodeClaimedOnBlock; mapping(address => uint128) public entityNodeCount; event Paid(address indexed entity, uint128 nodeId, bool isBYON, bool isRenewal, uint256 upToBlockNumber); event Migrated(address indexed from, address indexed to, uint128 fromNodeId, uint128 toNodeId, bool isBYON); uint256 public rewardPerBlockNumeratorNew; uint256 public rewardPerBlockDenominatorNew; uint256 public naasRewardPerBlockNumeratorNew; uint256 public naasRewardPerBlockDenominatorNew; uint256 public rewardPerBlockNewEffectiveBlock; StrongNFTBonusInterface public strongNFTBonus; uint256 public gracePeriodInBlocks; uint128 public maxNodes; uint256 public maxPaymentPeriods; event Deactivated(address indexed entity, uint128 nodeId, bool isBYON, uint256 atBlockNumber); event MigratedToNodePack(address indexed entity, uint128 fromNodeId, uint toPackId); uint256 public secondsPerBlock; uint256 public nodeLifetimeReward; mapping(bytes => uint256) public entityNodeClaimedTotal; mapping(address => uint128) public entityNodeDeactivatedCount; function init( address strongTokenAddress, address strongPoolAddress, address adminAddress, address superAdminAddress, uint256 rewardPerBlockNumeratorValue, uint256 rewardPerBlockDenominatorValue, uint256 naasRewardPerBlockNumeratorValue, uint256 naasRewardPerBlockDenominatorValue, uint256 requestingFeeInWeiValue, uint256 strongFeeInWeiValue, uint256 recurringFeeInWeiValue, uint256 recurringNaaSFeeInWeiValue, uint256 recurringPaymentCycleInBlocksValue, uint256 claimingFeeNumeratorValue, uint256 claimingFeeDenominatorValue, string memory desc ) external { require(!initDone, "init done"); strongToken = IERC20(strongTokenAddress); strongPool = StrongPoolInterface(strongPoolAddress); admin = adminAddress; superAdmin = superAdminAddress; rewardPerBlockNumerator = rewardPerBlockNumeratorValue; rewardPerBlockDenominator = rewardPerBlockDenominatorValue; naasRewardPerBlockNumerator = naasRewardPerBlockNumeratorValue; naasRewardPerBlockDenominator = naasRewardPerBlockDenominatorValue; requestingFeeInWei = requestingFeeInWeiValue; strongFeeInWei = strongFeeInWeiValue; recurringFeeInWei = recurringFeeInWeiValue; recurringNaaSFeeInWei = recurringNaaSFeeInWeiValue; claimingFeeNumerator = claimingFeeNumeratorValue; claimingFeeDenominator = claimingFeeDenominatorValue; recurringPaymentCycleInBlocks = recurringPaymentCycleInBlocksValue; desciption = desc; initDone = true; } function updateServiceAdmin(address newServiceAdmin) external { require(msg.sender == superAdmin); serviceAdmin = newServiceAdmin; } function updateParameterAdmin(address newParameterAdmin) external { require(newParameterAdmin != address(0)); require(msg.sender == superAdmin); parameterAdmin = newParameterAdmin; } function updateFeeCollector(address payable newFeeCollector) external { require(newFeeCollector != address(0)); require(msg.sender == superAdmin); feeCollector = newFeeCollector; } function setPendingAdmin(address newPendingAdmin) external { require(msg.sender == admin); pendingAdmin = newPendingAdmin; } function acceptAdmin() external { require(msg.sender == pendingAdmin && msg.sender != address(0), "not pendingAdmin"); admin = pendingAdmin; pendingAdmin = address(0); } function setPendingSuperAdmin(address newPendingSuperAdmin) external { require(msg.sender == superAdmin, "not superAdmin"); pendingSuperAdmin = newPendingSuperAdmin; } function acceptSuperAdmin() external { require(msg.sender == pendingSuperAdmin && msg.sender != address(0), "not pendingSuperAdmin"); superAdmin = pendingSuperAdmin; pendingSuperAdmin = address(0); } function isEntityActive(address entity) external view returns (bool) { return entityActive[entity] || (doesNodeExist(entity, 1) && !hasNodeExpired(entity, 1)); } function updateRewardPerBlock(uint256 numerator, uint256 denominator) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(denominator != 0); rewardPerBlockNumerator = numerator; rewardPerBlockDenominator = denominator; } function updateNaaSRewardPerBlock(uint256 numerator, uint256 denominator) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(denominator != 0); naasRewardPerBlockNumerator = numerator; naasRewardPerBlockDenominator = denominator; } function updateRewardPerBlockNew( uint256 numerator, uint256 denominator, uint256 numeratorNass, uint256 denominatorNass, uint256 effectiveBlock ) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); rewardPerBlockNumeratorNew = numerator; rewardPerBlockDenominatorNew = denominator; naasRewardPerBlockNumeratorNew = numeratorNass; naasRewardPerBlockDenominatorNew = denominatorNass; rewardPerBlockNewEffectiveBlock = effectiveBlock != 0 ? effectiveBlock : block.number; } function deposit(uint256 amount) external { require(msg.sender == superAdmin); require(amount > 0); rewardBalance = rewardBalance.add(amount); require(strongToken.transferFrom(msg.sender, address(this), amount), "transfer failed"); } function withdraw(address destination, uint256 amount) external { require(msg.sender == superAdmin); require(amount > 0); require(rewardBalance >= amount, "not enough"); rewardBalance = rewardBalance.sub(amount); require(strongToken.transfer(destination, amount), "transfer failed"); } function updateRequestingFee(uint256 feeInWei) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); requestingFeeInWei = feeInWei; } function updateStrongFee(uint256 feeInWei) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); strongFeeInWei = feeInWei; } function updateNaasRequestingFee(uint256 feeInWei) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); naasRequestingFeeInWei = feeInWei; } function updateNaasStrongFee(uint256 feeInWei) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); naasStrongFeeInWei = feeInWei; } function updateClaimingFee(uint256 numerator, uint256 denominator) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(denominator != 0); claimingFeeNumerator = numerator; claimingFeeDenominator = denominator; } function updateRecurringFee(uint256 feeInWei) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); recurringFeeInWei = feeInWei; } function updateRecurringNaaSFee(uint256 feeInWei) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); recurringNaaSFeeInWei = feeInWei; } function updateRecurringPaymentCycleInBlocks(uint256 blocks) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(blocks > 0); recurringPaymentCycleInBlocks = blocks; } function updateGracePeriodInBlocks(uint256 blocks) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(blocks > 0); gracePeriodInBlocks = blocks; } function requestAccess(bool isNaaS) external payable { require(entityNodeCount[msg.sender] < maxNodes, "limit reached"); uint256 rFee; uint256 sFee; uint128 nodeId = entityNodeCount[msg.sender] + 1; bytes memory id = getNodeId(msg.sender, nodeId); if (isNaaS) { rFee = naasRequestingFeeInWei; sFee = naasStrongFeeInWei; activeEntities = activeEntities.add(1); } else { rFee = requestingFeeInWei; sFee = strongFeeInWei; entityNodeIsBYON[id] = true; } require(msg.value == rFee, "invalid fee"); entityNodePaidOnBlock[id] = block.number; entityNodeClaimedOnBlock[id] = block.number; entityNodeCount[msg.sender] = entityNodeCount[msg.sender] + 1; emit Paid(msg.sender, nodeId, entityNodeIsBYON[id], false, entityNodePaidOnBlock[id].add(recurringPaymentCycleInBlocks)); require(strongToken.transferFrom(msg.sender, address(this), sFee), "transfer failed"); require(strongToken.transfer(feeCollector, sFee), "transfer failed"); sendValue(feeCollector, msg.value); } function setEntityActiveStatus(address entity, bool status) external { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); uint256 index = entityIndex[entity]; require(entities[index] == entity, "invalid entity"); require(entityActive[entity] != status, "already set"); entityActive[entity] = status; if (status) { activeEntities = activeEntities.add(1); entityBlockLastClaimedOn[entity] = block.number; } else { activeEntities = activeEntities.sub(1); entityBlockLastClaimedOn[entity] = 0; } } function payFee(uint128 nodeId, uint256 claimedTotal, bytes calldata signature) public payable { address sender = msg.sender == address(this) ? tx.origin : msg.sender; bytes memory id = getNodeId(sender, nodeId); updateNodeClaimedTotal(sender, nodeId, claimedTotal, signature); require(doesNodeExist(sender, nodeId), "doesnt exist"); require(!hasNodeExpired(sender, nodeId), "too late"); require(!hasMaxPayments(sender, nodeId), "too soon"); if (entityNodeIsBYON[id]) { require(msg.value == recurringFeeInWei, "invalid fee"); } else { require(msg.value == recurringNaaSFeeInWei, "invalid fee"); } entityNodePaidOnBlock[id] = entityNodePaidOnBlock[id].add(recurringPaymentCycleInBlocks); emit Paid(sender, nodeId, entityNodeIsBYON[id], true, entityNodePaidOnBlock[id]); sendValue(feeCollector, msg.value); } function getReward(address entity, uint128 nodeId) external view returns (uint256) { return getRewardByBlock(entity, nodeId, block.number); } function getRewardByBlock(address entity, uint128 nodeId, uint256 blockNumber) public view returns (uint256) { bytes memory id = getNodeId(entity, nodeId); uint256 blockLastClaimedOn = entityNodeClaimedOnBlock[id] != 0 ? entityNodeClaimedOnBlock[id] : entityNodePaidOnBlock[id]; if (hasNodeExpired(entity, nodeId)) return 0; if (blockNumber > block.number) return 0; if (blockLastClaimedOn == 0) return 0; if (blockNumber < blockLastClaimedOn) return 0; if (activeEntities == 0) return 0; if (entityNodeIsBYON[id] && !entityNodeIsActive[id]) return 0; uint256 rewardNumerator = entityNodeIsBYON[id] ? rewardPerBlockNumerator : naasRewardPerBlockNumerator; uint256 rewardDenominator = entityNodeIsBYON[id] ? rewardPerBlockDenominator : naasRewardPerBlockDenominator; uint256 newRewardNumerator = entityNodeIsBYON[id] ? rewardPerBlockNumeratorNew : naasRewardPerBlockNumeratorNew; uint256 newRewardDenominator = entityNodeIsBYON[id] ? rewardPerBlockDenominatorNew : naasRewardPerBlockDenominatorNew; uint256 bonus = address(strongNFTBonus) != address(0) ? strongNFTBonus.getBonus(entity, nodeId, blockLastClaimedOn, blockNumber) : 0; uint256[2] memory rewardBlocks = rewards.blocks(blockLastClaimedOn, rewardPerBlockNewEffectiveBlock, blockNumber); uint256 rewardOld = rewardDenominator > 0 ? rewardBlocks[0].mul(rewardNumerator).div(rewardDenominator) : 0; uint256 rewardNew = newRewardDenominator > 0 ? rewardBlocks[1].mul(newRewardNumerator).div(newRewardDenominator) : 0; uint256 rewardTotal = rewardOld.add(rewardNew).add(bonus); if (nodeLifetimeReward > 0) { if (entityNodeClaimedTotal[id] >= nodeLifetimeReward) { return 0; } else if (entityNodeClaimedTotal[id].add(rewardTotal) > nodeLifetimeReward) { return nodeLifetimeReward.sub(entityNodeClaimedTotal[id]); } } return rewardTotal; } function claim(uint128 nodeId, uint256 blockNumber, bool toStrongPool, uint256 claimedTotal, bytes memory signature) public payable returns (uint256) { address sender = msg.sender == address(this) || msg.sender == address(strongNFTBonus) ? tx.origin : msg.sender; bytes memory id = getNodeId(sender, nodeId); uint256 blockLastClaimedOn = entityNodeClaimedOnBlock[id] != 0 ? entityNodeClaimedOnBlock[id] : entityNodePaidOnBlock[id]; uint256 blockLastPaidOn = entityNodePaidOnBlock[id]; require(blockLastClaimedOn != 0, "never claimed"); require(blockNumber <= block.number, "invalid block"); require(blockNumber > blockLastClaimedOn, "too soon"); require(!entityNodeIsBYON[id] || entityNodeIsActive[id], "not active"); if ( (!entityNodeIsBYON[id] && recurringNaaSFeeInWei != 0) || (entityNodeIsBYON[id] && recurringFeeInWei != 0) ) { require(blockNumber < blockLastPaidOn.add(recurringPaymentCycleInBlocks), "pay fee"); } uint256 reward = getRewardByBlock(sender, nodeId, blockNumber); if (msg.sender == address(strongNFTBonus) && reward == 0) { return 0; } require(reward > 0, "no reward"); uint256 fee = reward.mul(claimingFeeNumerator).div(claimingFeeDenominator); require(msg.value >= fee, "invalid fee"); if (msg.sender != address(this)) { updateNodeClaimedTotal(sender, nodeId, claimedTotal, signature); } rewardBalance = rewardBalance.sub(reward); entityNodeClaimedOnBlock[id] = blockNumber; entityNodeClaimedTotal[id] = entityNodeClaimedTotal[id].add(reward); emit Claimed(sender, reward); if (toStrongPool) { require(strongToken.approve(address(strongPool), reward), "approve failed"); strongPool.mineFor(sender, reward); } else { require(strongToken.transfer(sender, reward), "transfer failed"); } sendValue(feeCollector, fee); return fee; } function getRewardAll(address entity, uint256 blockNumber) public view returns (uint256) { uint256 rewardsAll = 0; for (uint128 i = 1; i <= entityNodeCount[entity]; i++) { rewardsAll = rewardsAll.add(getRewardByBlock(entity, i, blockNumber > 0 ? blockNumber : block.number)); } return rewardsAll; } function canBePaid(address entity, uint128 nodeId) public view returns (bool) { return !isNodeBYON(entity, nodeId) && !hasNodeExpired(entity, nodeId) && !hasMaxPayments(entity, nodeId); } function doesNodeExist(address entity, uint128 nodeId) public view returns (bool) { bytes memory id = getNodeId(entity, nodeId); return entityNodePaidOnBlock[id] > 0; } function hasNodeExpired(address entity, uint128 nodeId) public view returns (bool) { bytes memory id = getNodeId(entity, nodeId); uint256 blockLastPaidOn = entityNodePaidOnBlock[id]; if (entityNodeIsBYON[id]) return !entityNodeIsActive[id]; if (!doesNodeExist(entity, nodeId)) return true; return block.number > blockLastPaidOn.add(recurringPaymentCycleInBlocks).add(gracePeriodInBlocks); } function isNodeOverDue(address entity, uint128 nodeId) public view returns (bool) { return block.number > entityNodePaidOnBlock[getNodeId(entity, nodeId)].add(recurringPaymentCycleInBlocks); } function hasMaxPayments(address entity, uint128 nodeId) public view returns (bool) { bytes memory id = getNodeId(entity, nodeId); uint256 blockLastPaidOn = entityNodePaidOnBlock[id]; uint256 limit = block.number.add(recurringPaymentCycleInBlocks.mul(maxPaymentPeriods)); return blockLastPaidOn.add(recurringPaymentCycleInBlocks) >= limit; } function getNodeId(address entity, uint128 nodeId) public view returns (bytes memory) { uint128 id = nodeId != 0 ? nodeId : entityNodeCount[entity] + 1; return abi.encodePacked(entity, id); } function getNodePaidOn(address entity, uint128 nodeId) external view returns (uint256) { bytes memory id = getNodeId(entity, nodeId); return entityNodePaidOnBlock[id]; } function getEntityNodeCount(address entity) external view returns (uint256) { return entityNodeCount[entity] - entityNodeDeactivatedCount[entity]; } function getEntityNodeClaimedTotal(address entity, uint128 nodeId) public view returns (uint256) { return entityNodeClaimedTotal[getNodeId(entity, nodeId)]; } function isNodeActive(address entity, uint128 nodeId) external view returns (bool) { bytes memory id = getNodeId(entity, nodeId); return entityNodeIsActive[id] || !entityNodeIsBYON[id]; } function isNodeBYON(address entity, uint128 nodeId) public view returns (bool) { bytes memory id = getNodeId(entity, nodeId); return entityNodeIsBYON[id]; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success,) = recipient.call{value : amount}(""); require(success, "send failed"); } function addNFTBonusContract(address _contract) external { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); strongNFTBonus = StrongNFTBonusInterface(_contract); } function disableNodeAdmin(address entity, uint128 nodeId) external { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); bytes memory id = getNodeId(entity, nodeId); entityNodePaidOnBlock[id] = 0; entityNodeClaimedOnBlock[id] = 0; emit Deactivated(entity, nodeId, entityNodeIsBYON[id], block.number); } function updateLimits(uint128 _maxNodes, uint256 _maxPaymentPeriods) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); maxNodes = _maxNodes; maxPaymentPeriods = _maxPaymentPeriods; } function setTokenContract(IERC20 tokenAddress) external { require(msg.sender == superAdmin); strongToken = tokenAddress; } function withdrawToken(IERC20 token, address recipient, uint256 amount) external { require(msg.sender == superAdmin); require(token.transfer(recipient, amount)); } function updateNodeLifetimeReward(uint256 _nodeLifetimeReward) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); nodeLifetimeReward = _nodeLifetimeReward; } function updateNodeClaimedTotal(address entity, uint128 nodeId, uint256 claimedTotal, bytes memory signature) internal { bytes memory id = getNodeId(entity, nodeId); if (entityNodeClaimedTotal[id] != 0) { return; } bytes32 hash = prefixed(keccak256(abi.encodePacked(entity, nodeId, claimedTotal))); address signer = recoverSigner(hash, signature); require(signer == admin || signer == parameterAdmin || signer == superAdmin, "wrong signer"); entityNodeClaimedTotal[id] = claimedTotal; } function updateSecondsPerBlock(uint256 _secondsPerBlock) external { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); secondsPerBlock = _secondsPerBlock; } function migrateAll(address _contract, uint256 _blockNumber, uint256 _totalClaimed, bytes memory signature) external payable { bytes32 hash = prefixed(keccak256(abi.encodePacked(msg.sender, _totalClaimed))); address signer = recoverSigner(hash, signature); require(entityNodeCount[msg.sender] > 0, "0 nodes"); require(signer == admin || signer == parameterAdmin || signer == superAdmin, "wrong signer"); uint valueLeft = msg.value; uint nodeCount = 0; uint totalSeconds = 0; uint totalClaimed = _totalClaimed + getRewardAll(msg.sender, _blockNumber); for (uint128 nodeId = 1; nodeId <= entityNodeCount[msg.sender]; nodeId++) { require(valueLeft > 0, "not enough"); uint paid = migrate(nodeId, _blockNumber); if (paid > 0) { nodeCount++; valueLeft = valueLeft.sub(paid); totalSeconds = totalSeconds.add(block.timestamp - ((block.number - entityNodePaidOnBlock[getNodeId(msg.sender, nodeId)]) * secondsPerBlock)); } } if (nodeCount == 0) revert("expired"); entityNodeDeactivatedCount[msg.sender] = entityNodeCount[msg.sender]; INodePackV3(_contract).migrateNode(msg.sender, 1, nodeCount, totalSeconds / nodeCount, totalClaimed); if (valueLeft > 0) sendValue(payable(msg.sender), valueLeft); } function migrate(uint128 _nodeId, uint256 _blockNumber) internal returns (uint256) { address sender = msg.sender == address(this) ? tx.origin : msg.sender; bytes memory id = getNodeId(sender, _nodeId); uint256 paid = 0; if (!hasNodeExpired(sender, _nodeId) && !isNodeBYON(sender, _nodeId)) { uint256 fee = getRewardByBlock(sender, _nodeId, _blockNumber).mul(claimingFeeNumerator).div(claimingFeeDenominator); paid = this.claim{value : fee}(_nodeId, _blockNumber, false, 0, "0x0"); strongNFTBonus.unstakeNFT(sender, _nodeId, address(this)); } emit MigratedToNodePack(sender, _nodeId, 1); entityNodePaidOnBlock[id] = 0; entityNodeClaimedOnBlock[id] = 0; return paid; } // Signatures function recoverSigner(bytes32 _hash, bytes memory _sig) public pure returns (address) { (uint8 v, bytes32 r, bytes32 s) = splitSignature(_sig); return ecrecover(_hash, v, r, s); } function prefixed(bytes32 _hash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _hash)); } function splitSignature(bytes memory _sig) internal pure returns (uint8 v, bytes32 r, bytes32 s) { require(_sig.length == 65); assembly { r := mload(add(_sig, 32)) s := mload(add(_sig, 64)) v := byte(0, mload(add(_sig, 96))) } return (v, r, s); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.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, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT //pragma solidity ^0.6.12; pragma solidity >=0.6.0; interface StrongPoolInterface { function mineFor(address miner, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; interface INodePackV3 { function doesPackExist(address entity, uint packId) external view returns (bool); function hasPackExpired(address entity, uint packId) external view returns (bool); function claim(uint packId, uint timestamp, address toStrongPool) external payable returns (uint); function getPackId(address _entity, uint _packType) external pure returns (bytes memory); function getEntityPackTotalNodeCount(address _entity, uint _packType) external view returns (uint); function getEntityPackActiveNodeCount(address _entity, uint _packType) external view returns (uint); function migrateNode(address _entity, uint _nodeType, uint _nodeCount, uint _lastPaidAt, uint _totalClaimed) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155Preset { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external; /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); /** * @dev Creates `amount` new tokens for `to`, of token type `id`. * * See {ERC1155-_mint}. * * Requirements: * * - the caller must have the `MINTER_ROLE`. */ function mint(address to, uint256 id, uint256 amount, bytes memory data) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}. */ function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) external; function getOwnerIdByIndex(address owner, uint256 index) external view returns (uint256); function getOwnerIdIndex(address owner, uint256 id) external view returns (uint256); }
// SPDX-License-Identifier: MIT //pragma solidity ^0.6.12; pragma solidity >=0.6.0; interface StrongNFTBonusInterface { function getBonus(address _entity, uint128 _nodeId, uint256 _from, uint256 _to) external view returns (uint256); function getBonusValue(address _entity, uint128 _nodeId, uint256 _from, uint256 _to, uint256 _bonusValue) external view returns (uint256); function getStakedNftBonusName(address _entity, uint128 _nodeId, address _serviceContract) external view returns (string memory); function migrateNFT(address _entity, uint128 _fromNodeId, uint128 _toNodeId, address _toServiceContract) external; function unstakeNFT(address _entity, uint128 _nodeId, address _serviceContract) external; }
// SPDX-License-Identifier: MIT //pragma solidity 0.6.12; pragma solidity >=0.6.0; import "./SafeMath.sol"; library rewards { using SafeMath for uint256; function blocks(uint256 lastClaimedOnBlock, uint256 newRewardBlock, uint256 blockNumber) internal pure returns (uint256[2] memory) { if (lastClaimedOnBlock >= blockNumber) return [uint256(0), uint256(0)]; if (blockNumber <= newRewardBlock || newRewardBlock == 0) { return [blockNumber.sub(lastClaimedOnBlock), uint256(0)]; } else if (lastClaimedOnBlock >= newRewardBlock) { return [uint256(0), blockNumber.sub(lastClaimedOnBlock)]; } else { return [newRewardBlock.sub(lastClaimedOnBlock), blockNumber.sub(newRewardBlock)]; } } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"miner","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"entity","type":"address"},{"indexed":false,"internalType":"uint128","name":"nodeId","type":"uint128"},{"indexed":false,"internalType":"bool","name":"isBYON","type":"bool"},{"indexed":false,"internalType":"uint256","name":"atBlockNumber","type":"uint256"}],"name":"Deactivated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint128","name":"fromNodeId","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"toNodeId","type":"uint128"},{"indexed":false,"internalType":"bool","name":"isBYON","type":"bool"}],"name":"Migrated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"entity","type":"address"},{"indexed":false,"internalType":"uint128","name":"fromNodeId","type":"uint128"},{"indexed":false,"internalType":"uint256","name":"toPackId","type":"uint256"}],"name":"MigratedToNodePack","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"entity","type":"address"},{"indexed":false,"internalType":"uint128","name":"nodeId","type":"uint128"},{"indexed":false,"internalType":"bool","name":"isBYON","type":"bool"},{"indexed":false,"internalType":"bool","name":"isRenewal","type":"bool"},{"indexed":false,"internalType":"uint256","name":"upToBlockNumber","type":"uint256"}],"name":"Paid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"miner","type":"address"}],"name":"Requested","type":"event"},{"inputs":[],"name":"acceptAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptSuperAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"activeEntities","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"addNFTBonusContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"canBePaid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"nodeId","type":"uint128"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bool","name":"toStrongPool","type":"bool"},{"internalType":"uint256","name":"claimedTotal","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"claimingFeeDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimingFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimingFeeNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentTraunch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"desciption","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"disableNodeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"doesNodeExist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"entities","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entityActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entityBlockLastClaimedOn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entityIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entityIsNaaS","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"entityNodeClaimedOnBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"entityNodeClaimedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entityNodeCount","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"entityNodeDeactivatedCount","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"entityNodeIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"entityNodeIsBYON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"entityNodePaidOnBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"entityNodeTraunch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"getEntityNodeClaimedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"}],"name":"getEntityNodeCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"getNodeId","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"getNodePaidOn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"getReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getRewardAll","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getRewardByBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gracePeriodInBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"hasMaxPayments","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"hasNodeExpired","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"strongTokenAddress","type":"address"},{"internalType":"address","name":"strongPoolAddress","type":"address"},{"internalType":"address","name":"adminAddress","type":"address"},{"internalType":"address","name":"superAdminAddress","type":"address"},{"internalType":"uint256","name":"rewardPerBlockNumeratorValue","type":"uint256"},{"internalType":"uint256","name":"rewardPerBlockDenominatorValue","type":"uint256"},{"internalType":"uint256","name":"naasRewardPerBlockNumeratorValue","type":"uint256"},{"internalType":"uint256","name":"naasRewardPerBlockDenominatorValue","type":"uint256"},{"internalType":"uint256","name":"requestingFeeInWeiValue","type":"uint256"},{"internalType":"uint256","name":"strongFeeInWeiValue","type":"uint256"},{"internalType":"uint256","name":"recurringFeeInWeiValue","type":"uint256"},{"internalType":"uint256","name":"recurringNaaSFeeInWeiValue","type":"uint256"},{"internalType":"uint256","name":"recurringPaymentCycleInBlocksValue","type":"uint256"},{"internalType":"uint256","name":"claimingFeeNumeratorValue","type":"uint256"},{"internalType":"uint256","name":"claimingFeeDenominatorValue","type":"uint256"},{"internalType":"string","name":"desc","type":"string"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"}],"name":"isEntityActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"isNodeActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"isNodeBYON","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"isNodeOverDue","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxNodes","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPaymentPeriods","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"},{"internalType":"uint256","name":"_blockNumber","type":"uint256"},{"internalType":"uint256","name":"_totalClaimed","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"migrateAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"naasRequestingFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"naasRewardPerBlockDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"naasRewardPerBlockDenominatorNew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"naasRewardPerBlockNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"naasRewardPerBlockNumeratorNew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"naasStrongFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nodeLifetimeReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"paidOnBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"parameterAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"nodeId","type":"uint128"},{"internalType":"uint256","name":"claimedTotal","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"payFee","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"pendingAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingSuperAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hash","type":"bytes32"},{"internalType":"bytes","name":"_sig","type":"bytes"}],"name":"recoverSigner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"recurringFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recurringNaaSFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recurringPaymentCycleInBlocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"isNaaS","type":"bool"}],"name":"requestAccess","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"requestPending","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"requestingFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlockDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlockDenominatorNew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlockNewEffectiveBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlockNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlockNumeratorNew","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"secondsPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"serviceAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setEntityActiveStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPendingAdmin","type":"address"}],"name":"setPendingAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPendingSuperAdmin","type":"address"}],"name":"setPendingSuperAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"tokenAddress","type":"address"}],"name":"setTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strongFeeInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strongNFTBonus","outputs":[{"internalType":"contract StrongNFTBonusInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strongPool","outputs":[{"internalType":"contract StrongPoolInterface","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strongToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"superAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"traunch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"updateClaimingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"newFeeCollector","type":"address"}],"name":"updateFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocks","type":"uint256"}],"name":"updateGracePeriodInBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_maxNodes","type":"uint128"},{"internalType":"uint256","name":"_maxPaymentPeriods","type":"uint256"}],"name":"updateLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"updateNaaSRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeInWei","type":"uint256"}],"name":"updateNaasRequestingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeInWei","type":"uint256"}],"name":"updateNaasStrongFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nodeLifetimeReward","type":"uint256"}],"name":"updateNodeLifetimeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newParameterAdmin","type":"address"}],"name":"updateParameterAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeInWei","type":"uint256"}],"name":"updateRecurringFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeInWei","type":"uint256"}],"name":"updateRecurringNaaSFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blocks","type":"uint256"}],"name":"updateRecurringPaymentCycleInBlocks","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeInWei","type":"uint256"}],"name":"updateRequestingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"updateRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"},{"internalType":"uint256","name":"numeratorNass","type":"uint256"},{"internalType":"uint256","name":"denominatorNass","type":"uint256"},{"internalType":"uint256","name":"effectiveBlock","type":"uint256"}],"name":"updateRewardPerBlockNew","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_secondsPerBlock","type":"uint256"}],"name":"updateSecondsPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newServiceAdmin","type":"address"}],"name":"updateServiceAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"feeInWei","type":"uint256"}],"name":"updateStrongFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50615efa80620000216000396000f3fe6080604052600436106106315760003560e01c80638ac2f9dd11610329578063c8b81e15116101b6578063e195232e11610102578063f28b039e116100a0578063f851a4401161007a578063f851a44014611d01578063f9fa926814611d16578063fed0a20e14611d49578063ffbb698914611d5e57610631565b8063f28b039e14611c89578063f3368f9014611c9e578063f3fef3a314611cc857610631565b8063e7f9cefd116100dc578063e7f9cefd14611bf3578063e877db1a14611c08578063ed5998da14611c32578063f1febd0714611c4757610631565b8063e195232e14611b9f578063e4ae0c8a14611bb4578063e603c27014611bde57610631565b8063d48ba4861161016f578063da7169b311610149578063da7169b314611b27578063da998dca14611b60578063dc0bbf0814611b75578063ddf0185f14611b8a57610631565b8063d48ba48614611a4c578063d95210d014611afd578063d9df77de14611b1257610631565b8063c8b81e151461191d578063cc7b326a14611965578063cff6e51f1461198f578063d2c35ce8146119a4578063d38f887e146119d7578063d39ca7de14611a1957610631565b8063ad0279a711610275578063c0f0622d1161022e578063c415b95c11610208578063c415b95c1461179c578063c4ac59b2146117b1578063c5a2928b146117c6578063c723143f146117f957610631565b8063c0f0622d1461175d578063c2b2fdca14611772578063c3d5864f1461178757610631565b8063ad0279a7146115bf578063ad553eef14611670578063ae749c42146116a3578063b021465f146116cd578063b6b55f2514611700578063bbcd5bbe1461172a57610631565b806398b40442116102e25780639edb4fb7116102bc5780639edb4fb7146114fe578063a77e282514611528578063a978dab714611577578063aa5c3ab4146115aa57610631565b806398b40442146113f657806399e6f700146114a75780639b8ddee9146114bc57610631565b80638ac2f9dd146112af5780638d0c479b146112ea5780639162c594146112ff5780639548f1e614611314578063965d61b91461132957806397aba7f91461133e57610631565b80633bb58b67116104c257806368acd0421161040e5780637a7d4937116103ac5780638123fdbb116103865780638123fdbb1461119e578063857d49d51461125557806387f48f4e1461126a5780638aa9a37f1461127f57610631565b80637a7d4937146110ae5780637ba90928146110c35780637c05d6d8146110ed57610631565b80636f300155116103e85780636f300155146110125780636f36c10c14611027578063778824a5146110575780637a5d5cf41461109957610631565b806368acd04214610efb578063696eddbe14610f105780636c52ec1014610fd057610631565b80634eba71cd1161047b578063623ef91011610455578063623ef91014610e6857806362fc3bc214610e925780636331883b14610ebc57806367cb652614610ee657610631565b80634eba71cd14610d605780635213f27e14610d755780635c4f18fa14610e2657610631565b80633bb58b6714610c3d57806340b584b414610c7f57806348028d6314610cb25780634c359aeb14610cc75780634c8024cc14610cfa5780634dd18bf514610d2d57610631565b8063255ebc8d116105815780632b6b66bb1161053a57806334dce6b31161051457806334dce6b314610b2a57806334ecc1a214610b5d5780633761cf4a14610b905780633839239514610c1357610631565b80632b6b66bb14610a7c578063326f107314610aaf57806332fc530e14610ae857610631565b8063255ebc8d1461092e578063266655621461097057806326782247146109b2578063268e5e4f146109e3578063272dff7314610a2557806329575f6a14610a6757610631565b80630fe48b36116105ee57806319885898116105c8578063198858981461083e57806319a1f5ae146108535780631caa1f81146109045780631d851bbd1461091957610631565b80630fe48b36146107cd5780631585dc28146107e257806316f28a2a146107f757610631565b806301e336671461063657806303a9ea6d1461067b57806305eec2891461075457806309a07fd2146107735780630a8d1be2146107885780630e18b681146107b8575b600080fd5b34801561064257600080fd5b506106796004803603606081101561065957600080fd5b506001600160a01b03813581169160208101359091169060400135611d91565b005b610742600480360360a081101561069157600080fd5b6001600160801b0382351691602081013591604082013515159160608101359181019060a081016080820135600160201b8111156106ce57600080fd5b8201836020820111156106e057600080fd5b803590602001918460018302840111600160201b8311171561070157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e39945050505050565b60408051918252519081900360200190f35b6106796004803603602081101561076a57600080fd5b503515156127bb565b34801561077f57600080fd5b50610742612ccf565b34801561079457600080fd5b50610679600480360360408110156107ab57600080fd5b5080359060200135612cd5565b3480156107c457600080fd5b50610679612d30565b3480156107d957600080fd5b50610742612dbf565b3480156107ee57600080fd5b50610742612dc5565b34801561080357600080fd5b5061082a6004803603602081101561081a57600080fd5b50356001600160a01b0316612dcb565b604080519115158252519081900360200190f35b34801561084a57600080fd5b50610742612de0565b34801561085f57600080fd5b506107426004803603602081101561087657600080fd5b810190602081018135600160201b81111561089057600080fd5b8201836020820111156108a257600080fd5b803590602001918460018302840111600160201b831117156108c357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612de6945050505050565b34801561091057600080fd5b50610742612e03565b34801561092557600080fd5b50610742612e09565b34801561093a57600080fd5b5061082a6004803603604081101561095157600080fd5b5080356001600160a01b031690602001356001600160801b0316612e0f565b34801561097c57600080fd5b5061082a6004803603604081101561099357600080fd5b5080356001600160a01b031690602001356001600160801b0316612ec8565b3480156109be57600080fd5b506109c7612f46565b604080516001600160a01b039092168252519081900360200190f35b3480156109ef57600080fd5b5061074260048036036040811015610a0657600080fd5b5080356001600160a01b031690602001356001600160801b0316612f55565b348015610a3157600080fd5b5061082a60048036036040811015610a4857600080fd5b5080356001600160a01b031690602001356001600160801b0316612fcd565b348015610a7357600080fd5b506109c7613048565b348015610a8857600080fd5b5061074260048036036020811015610a9f57600080fd5b50356001600160a01b0316613057565b348015610abb57600080fd5b5061067960048036036040811015610ad257600080fd5b506001600160801b038135169060200135613069565b348015610af457600080fd5b5061067960048036036040811015610b0b57600080fd5b5080356001600160a01b031690602001356001600160801b03166130d5565b348015610b3657600080fd5b5061082a60048036036020811015610b4d57600080fd5b50356001600160a01b03166132b1565b348015610b6957600080fd5b5061074260048036036020811015610b8057600080fd5b50356001600160a01b03166132f7565b61067960048036036060811015610ba657600080fd5b6001600160801b0382351691602081013591810190606081016040820135600160201b811115610bd557600080fd5b820183602082011115610be757600080fd5b803590602001918460018302840111600160201b83111715610c0857600080fd5b50909250905061332e565b348015610c1f57600080fd5b5061067960048036036020811015610c3657600080fd5b503561373d565b348015610c4957600080fd5b5061074260048036036040811015610c6057600080fd5b5080356001600160a01b031690602001356001600160801b0316613788565b348015610c8b57600080fd5b5061067960048036036020811015610ca257600080fd5b50356001600160a01b031661379c565b348015610cbe57600080fd5b506109c76137e8565b348015610cd357600080fd5b5061074260048036036020811015610cea57600080fd5b50356001600160a01b03166137f7565b348015610d0657600080fd5b5061074260048036036020811015610d1d57600080fd5b50356001600160a01b0316613809565b348015610d3957600080fd5b5061067960048036036020811015610d5057600080fd5b50356001600160a01b031661381b565b348015610d6c57600080fd5b50610742613859565b348015610d8157600080fd5b5061074260048036036020811015610d9857600080fd5b810190602081018135600160201b811115610db257600080fd5b820183602082011115610dc457600080fd5b803590602001918460018302840111600160201b83111715610de557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061385f945050505050565b348015610e3257600080fd5b5061082a60048036036040811015610e4957600080fd5b5080356001600160a01b031690602001356001600160801b031661387c565b348015610e7457600080fd5b5061067960048036036020811015610e8b57600080fd5b50356138b5565b348015610e9e57600080fd5b5061067960048036036020811015610eb557600080fd5b5035613900565b348015610ec857600080fd5b506109c760048036036020811015610edf57600080fd5b503561394b565b348015610ef257600080fd5b50610742613972565b348015610f0757600080fd5b50610742613978565b61067960048036036080811015610f2657600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b811115610f5c57600080fd5b820183602082011115610f6e57600080fd5b803590602001918460018302840111600160201b83111715610f8f57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061397e945050505050565b348015610fdc57600080fd5b5061082a60048036036040811015610ff357600080fd5b5080356001600160a01b031690602001356001600160801b0316613d12565b34801561101e57600080fd5b50610742613ea2565b34801561103357600080fd5b506106796004803603604081101561104a57600080fd5b5080359060200135613ea8565b34801561106357600080fd5b5061082a6004803603604081101561107a57600080fd5b5080356001600160a01b031690602001356001600160801b0316613f03565b3480156110a557600080fd5b50610742613fec565b3480156110ba57600080fd5b50610742613ff2565b3480156110cf57600080fd5b50610679600480360360208110156110e657600080fd5b5035613ff8565b3480156110f957600080fd5b506107426004803603602081101561111057600080fd5b810190602081018135600160201b81111561112a57600080fd5b82018360208201111561113c57600080fd5b803590602001918460018302840111600160201b8311171561115d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550614050945050505050565b3480156111aa57600080fd5b506111e0600480360360408110156111c157600080fd5b5080356001600160a01b031690602001356001600160801b031661406d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561121a578181015183820152602001611202565b50505050905090810190601f1680156112475780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561126157600080fd5b506109c76140f7565b34801561127657600080fd5b50610742614106565b34801561128b57600080fd5b50610679600480360360408110156112a257600080fd5b508035906020013561410c565b3480156112bb57600080fd5b50610679600480360360408110156112d257600080fd5b506001600160a01b0381351690602001351515614167565b3480156112f657600080fd5b5061074261431c565b34801561130b57600080fd5b50610742614322565b34801561132057600080fd5b506109c7614328565b34801561133557600080fd5b506109c7614337565b34801561134a57600080fd5b506109c76004803603604081101561136157600080fd5b81359190810190604081016020820135600160201b81111561138257600080fd5b82018360208201111561139457600080fd5b803590602001918460018302840111600160201b831117156113b557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550614346945050505050565b34801561140257600080fd5b5061082a6004803603602081101561141957600080fd5b810190602081018135600160201b81111561143357600080fd5b82018360208201111561144557600080fd5b803590602001918460018302840111600160201b8311171561146657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506143ca945050505050565b3480156114b357600080fd5b506107426143ea565b3480156114c857600080fd5b50610742600480360360408110156114df57600080fd5b5080356001600160a01b031690602001356001600160801b03166143f0565b34801561150a57600080fd5b506106796004803603602081101561152157600080fd5b5035614462565b34801561153457600080fd5b5061155b6004803603602081101561154b57600080fd5b50356001600160a01b03166144ad565b604080516001600160801b039092168252519081900360200190f35b34801561158357600080fd5b506107426004803603602081101561159a57600080fd5b50356001600160a01b03166144c8565b3480156115b657600080fd5b506107426144da565b3480156115cb57600080fd5b5061082a600480360360208110156115e257600080fd5b810190602081018135600160201b8111156115fc57600080fd5b82018360208201111561160e57600080fd5b803590602001918460018302840111600160201b8311171561162f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506144e0945050505050565b34801561167c57600080fd5b506106796004803603602081101561169357600080fd5b50356001600160a01b0316614500565b3480156116af57600080fd5b50610679600480360360208110156116c657600080fd5b5035614539565b3480156116d957600080fd5b5061082a600480360360208110156116f057600080fd5b50356001600160a01b0316614584565b34801561170c57600080fd5b506106796004803603602081101561172357600080fd5b5035614599565b34801561173657600080fd5b506106796004803603602081101561174d57600080fd5b50356001600160a01b0316614699565b34801561176957600080fd5b5061082a6146d2565b34801561177e57600080fd5b506107426146db565b34801561179357600080fd5b506107426146e1565b3480156117a857600080fd5b506109c76146e7565b3480156117bd57600080fd5b506107426146f6565b3480156117d257600080fd5b50610679600480360360208110156117e957600080fd5b50356001600160a01b03166146fc565b34801561180557600080fd5b50610679600480360361020081101561181d57600080fd5b6001600160a01b038235811692602081013582169260408201358316926060830135169160808101359160a08201359160c08101359160e08201359161010081013591610120820135916101408101359161016082013591610180810135916101a0820135916101c08101359181019061020081016101e0820135600160201b8111156118a957600080fd5b8201836020820111156118bb57600080fd5b803590602001918460018302840111600160201b831117156118dc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550614764945050505050565b34801561192957600080fd5b506107426004803603606081101561194057600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001356148c7565b34801561197157600080fd5b506106796004803603602081101561198857600080fd5b5035614fb5565b34801561199b57600080fd5b50610742615000565b3480156119b057600080fd5b50610679600480360360208110156119c757600080fd5b50356001600160a01b0316615006565b3480156119e357600080fd5b50610679600480360360a08110156119fa57600080fd5b5080359060208101359060408101359060608101359060800135615052565b348015611a2557600080fd5b5061067960048036036020811015611a3c57600080fd5b50356001600160a01b03166150c3565b348015611a5857600080fd5b5061074260048036036020811015611a6f57600080fd5b810190602081018135600160201b811115611a8957600080fd5b820183602082011115611a9b57600080fd5b803590602001918460018302840111600160201b83111715611abc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550615135945050505050565b348015611b0957600080fd5b50610742615152565b348015611b1e57600080fd5b50610742615158565b348015611b3357600080fd5b5061074260048036036040811015611b4a57600080fd5b506001600160a01b03813516906020013561515e565b348015611b6c57600080fd5b506109c76151c6565b348015611b8157600080fd5b506107426151d5565b348015611b9657600080fd5b5061155b6151db565b348015611bab57600080fd5b506109c76151ea565b348015611bc057600080fd5b5061067960048036036020811015611bd757600080fd5b50356151f9565b348015611bea57600080fd5b506111e0615244565b348015611bff57600080fd5b506106796152d2565b348015611c1457600080fd5b5061067960048036036020811015611c2b57600080fd5b503561535b565b348015611c3e57600080fd5b506107426153b3565b348015611c5357600080fd5b5061082a60048036036040811015611c6a57600080fd5b5080356001600160a01b031690602001356001600160801b03166153b9565b348015611c9557600080fd5b50610742615404565b348015611caa57600080fd5b5061067960048036036020811015611cc157600080fd5b503561540a565b348015611cd457600080fd5b5061067960048036036040811015611ceb57600080fd5b506001600160a01b038135169060200135615455565b348015611d0d57600080fd5b506109c7615596565b348015611d2257600080fd5b5061155b60048036036020811015611d3957600080fd5b50356001600160a01b03166155aa565b348015611d5557600080fd5b5061082a6155c5565b348015611d6a57600080fd5b5061082a60048036036020811015611d8157600080fd5b50356001600160a01b03166155ce565b6002546001600160a01b03163314611da857600080fd5b826001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611dff57600080fd5b505af1158015611e13573d6000803e3d6000fd5b505050506040513d6020811015611e2957600080fd5b5051611e3457600080fd5b505050565b60008033301480611e545750602f546001600160a01b031633145b611e5e5733611e60565b325b90506060611e6e828961406d565b905060006028826040518082805190602001908083835b60208310611ea45780518252601f199092019160209182019101611e85565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205415159150611f419050576027826040518082805190602001908083835b60208310611f0c5780518252601f199092019160209182019101611eed565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150611fa39050565b6028826040518082805190602001908083835b60208310611f735780518252601f199092019160209182019101611f54565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b905060006027836040518082805190602001908083835b60208310611fd95780518252601f199092019160209182019101611fba565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490030190922054925050508161204d576040805162461bcd60e51b815260206004820152600d60248201526c1b995d995c8818db185a5b5959609a1b604482015290519081900360640190fd5b43891115612092576040805162461bcd60e51b815260206004820152600d60248201526c696e76616c696420626c6f636b60981b604482015290519081900360640190fd5b8189116120d1576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025836040518082805190602001908083835b602083106121035780518252601f1990920191602091820191016120e4565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff161591508190506121a257506024836040518082805190602001908083835b6020831061216f5780518252601f199092019160209182019101612150565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150505b6121e0576040805162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b604482015290519081900360640190fd5b6025836040518082805190602001908083835b602083106122125780518252601f1990920191602091820191016121f3565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150508015612252575060125415155b806122c957506025836040518082805190602001908083835b6020831061228a5780518252601f19909201916020918201910161226b565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691505080156122c9575060115415155b15612319576013546122dc9082906155e3565b8910612319576040805162461bcd60e51b81526020600482015260076024820152667061792066656560c81b604482015290519081900360640190fd5b6000612326858c8c6148c7565b602f549091506001600160a01b031633148015612341575080155b15612354576000955050505050506127b2565b60008111612395576040805162461bcd60e51b81526020600482015260096024820152681b9bc81c995dd85c9960ba1b604482015290519081900360640190fd5b60006123b8600e546123b2600d548561563d90919063ffffffff16565b90615696565b9050803410156123fd576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b33301461241057612410868d8b8b6156fd565b60145461241d90836158d6565b6014819055508a6028866040518082805190602001908083835b602083106124565780518252601f199092019160209182019101612437565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505086516124f39285926035928a928291908401908083835b602083106124bd5780518252601f19909201916020918201910161249e565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549291506155e39050565b6035866040518082805190602001908083835b602083106125255780518252601f199092019160209182019101612506565b51815160209384036101000a60001901801990921691161790529201948552506040805194859003820185209590955586845293516001600160a01b038b16947fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a948290030192509050a289156126cf576007546008546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b1580156125ef57600080fd5b505af1158015612603573d6000803e3d6000fd5b505050506040513d602081101561261957600080fd5b505161265d576040805162461bcd60e51b815260206004820152600e60248201526d185c1c1c9bdd994819985a5b195960921b604482015290519081900360640190fd5b600854604080516330d6a97560e01b81526001600160a01b03898116600483015260248201869052915191909216916330d6a97591604480830192600092919082900301818387803b1580156126b257600080fd5b505af11580156126c6573d6000803e3d6000fd5b50505050612794565b6007546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561272557600080fd5b505af1158015612739573d6000803e3d6000fd5b505050506040513d602081101561274f57600080fd5b5051612794576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b6006546127aa906001600160a01b031682615933565b955050505050505b95945050505050565b603154336000908152602960205260409020546001600160801b0391821691161061281d576040805162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b604482015290519081900360640190fd5b33600081815260296020526040812054909182916001600160801b03166001019060609061284b908361406d565b9050841561287457601f54602054601c54919550935061286c9060016155e3565b601c556128f0565b600f549350601054925060016025826040518082805190602001908083835b602083106128b25780518252601f199092019160209182019101612893565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505b833414612932576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b436027826040518082805190602001908083835b602083106129655780518252601f199092019160209182019101612946565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082514392602892859290918291908401908083835b602083106129ca5780518252601f1990920191602091820191016129ab565b51815160209384036101000a600019018019909216911617905292019485525060408051948590038201852095909555336000818152602983529590952080546001600160801b0319811660016001600160801b039283160190911617905585517f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd094889450602593508792909182918401908083835b60208310612a805780518252601f199092019160209182019101612a61565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490038101842054601354895160ff9092169560009550612af2945090926027928b9291829190840190808383602083106124bd5780518252601f19909201916020918201910161249e565b604080516001600160801b0390951685529215156020850152901515838301526060830152519081900360800190a2600754604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b158015612b7b57600080fd5b505af1158015612b8f573d6000803e3d6000fd5b505050506040513d6020811015612ba557600080fd5b5051612bea576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b6007546006546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018790529051919092169163a9059cbb9160448083019260209291908290030181600087803b158015612c4357600080fd5b505af1158015612c57573d6000803e3d6000fd5b505050506040513d6020811015612c6d57600080fd5b5051612cb2576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b600654612cc8906001600160a01b031634615933565b5050505050565b600d5481565b60005461010090046001600160a01b0316331480612cfd57506005546001600160a01b031633145b80612d1257506002546001600160a01b031633145b612d1b57600080fd5b80612d2557600080fd5b600991909155600a55565b6001546001600160a01b031633148015612d4957503315155b612d8d576040805162461bcd60e51b815260206004820152601060248201526f3737ba103832b73234b733a0b236b4b760811b604482015290519081900360640190fd5b6001805460008054610100600160a81b0319166101006001600160a01b038416021790556001600160a01b0319169055565b60135481565b601f5481565b60186020526000908152604090205460ff1681565b600a5481565b805160208183018101805160288252928201919093012091525481565b60345481565b602e5481565b60006060612e1d848461406d565b905060006027826040518082805190602001908083835b60208310612e535780518252601f199092019160209182019101612e34565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460325460135491945060009350612ea29250612e9b919061563d565b43906155e3565b905080612eba601354846155e390919063ffffffff16565b101593505050505b92915050565b60006060612ed6848461406d565b905060006027826040518082805190602001908083835b60208310612f0c5780518252601f199092019160209182019101612eed565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054929092119695505050505050565b6001546001600160a01b031681565b60006060612f63848461406d565b90506027816040518082805190602001908083835b60208310612f975780518252601f199092019160209182019101612f78565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549695505050505050565b60006060612fdb848461406d565b90506025816040518082805190602001908083835b6020831061300f5780518252601f199092019160209182019101612ff0565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169695505050505050565b6002546001600160a01b031681565b60226020526000908152604090205481565b60005461010090046001600160a01b031633148061309157506005546001600160a01b031633145b806130a657506002546001600160a01b031633145b6130af57600080fd5b603180546001600160801b0319166001600160801b039390931692909217909155603255565b60005461010090046001600160a01b03163314806130fd57506004546001600160a01b031633145b8061311257506002546001600160a01b031633145b61311b57600080fd5b6060613127838361406d565b905060006027826040518082805190602001908083835b6020831061315d5780518252601f19909201916020918201910161313e565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810184209490945550508251600092602892859290918291908401908083835b602083106131c35780518252601f1990920191602091820191016131a4565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038616927f8f09ef60eb932f902f4199ddb720f587b53565a6a490484db1a653e85b799dc492869260259287929182918401908083835b602083106132535780518252601f199092019160209182019101613234565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b03909616855260ff9095161515908401525050438183015290519081900360600190a2505050565b6001600160a01b03811660009081526018602052604081205460ff1680612ec257506132de826001612ec8565b8015612ec257506132f0826001613d12565b1592915050565b6001600160a01b03166000908152603660209081526040808320546029909252909120546001600160801b03918216908216031690565b600033301461333d573361333f565b325b9050606061334d828761406d565b905061339182878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506156fd92505050565b61339b8287612ec8565b6133db576040805162461bcd60e51b815260206004820152600c60248201526b191bd95cdb9d08195e1a5cdd60a21b604482015290519081900360640190fd5b6133e58287613d12565b15613422576040805162461bcd60e51b8152602060048201526008602482015267746f6f206c61746560c01b604482015290519081900360640190fd5b61342c8287612e0f565b15613469576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025816040518082805190602001908083835b6020831061349b5780518252601f19909201916020918201910161347c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1615915061351c9050576011543414613517576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b613560565b6012543414613560576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b613597601354602783604051808280519060200190808383602083106124bd5780518252601f19909201916020918201910161249e565b6027826040518082805190602001908083835b602083106135c95780518252601f1990920191602091820191016135aa565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038516927f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd0928a9260259287929182918401908083835b602083106136595780518252601f19909201916020918201910161363a565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054885160ff9091169460019450602793508992909182918401908083835b602083106136c15780518252601f1990920191602091820191016136a2565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b039098168552951515908401525050901515818301526060810192909252519081900360800190a2600654613735906001600160a01b031634615933565b505050505050565b60005461010090046001600160a01b031633148061376557506005546001600160a01b031633145b8061377a57506002546001600160a01b031633145b61378357600080fd5b601255565b60006137958383436148c7565b9392505050565b6001600160a01b0381166137af57600080fd5b6002546001600160a01b031633146137c657600080fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b60156020526000908152604090205481565b60176020526000908152604090205481565b60005461010090046001600160a01b0316331461383757600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b602c5481565b805160208183018101805160358252928201919093012091525481565b60006138888383612fcd565b15801561389c575061389a8383613d12565b155b801561379557506138ad8383612e0f565b159392505050565b60005461010090046001600160a01b03163314806138dd57506005546001600160a01b031633145b806138f257506002546001600160a01b031633145b6138fb57600080fd5b601055565b60005461010090046001600160a01b031633148061392857506005546001600160a01b031633145b8061393d57506002546001600160a01b031633145b61394657600080fd5b603455565b6016818154811061395857fe5b6000918252602090912001546001600160a01b0316905081565b60125481565b60235481565b60006139c3338460405160200180836001600160a01b031660601b81526014018281526020019250505060405160208183030381529060405280519060200120615a13565b905060006139d18284614346565b336000908152602960205260409020549091506001600160801b0316613a28576040805162461bcd60e51b815260206004820152600760248201526630206e6f64657360c81b604482015290519081900360640190fd5b6000546001600160a01b03828116610100909204161480613a5657506005546001600160a01b038281169116145b80613a6e57506002546001600160a01b038281169116145b613aae576040805162461bcd60e51b815260206004820152600c60248201526b3bb937b7339039b4b3b732b960a11b604482015290519081900360640190fd5b3460008080613abd338a61515e565b8801905060015b336000908152602960205260409020546001600160801b0390811690821611613bdb5760008511613b29576040805162461bcd60e51b815260206004820152600a6024820152690dcdee840cadcdeeaced60b31b604482015290519081900360640190fd5b6000613b35828c615a64565b90508015613bd257600190940193613b4d86826158d6565b9550613bcf6033546027613b61338661406d565b6040518082805190602001908083835b60208310613b905780518252601f199092019160209182019101613b71565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220548893439190910302420391506155e39050565b93505b50600101613ac4565b5082613c18576040805162461bcd60e51b8152602060048201526007602482015266195e1c1a5c995960ca1b604482015290519081900360640190fd5b33600081815260296020908152604080832054603690925290912080546001600160801b0319166001600160801b039092169190911790556001600160a01b038b1690636bd7de0390600186808781613c6d57fe5b04866040518663ffffffff1660e01b815260040180866001600160a01b0316815260200185815260200184815260200183815260200182815260200195505050505050602060405180830381600087803b158015613cca57600080fd5b505af1158015613cde573d6000803e3d6000fd5b505050506040513d6020811015613cf457600080fd5b50508315613d0657613d063385615933565b50505050505050505050565b60006060613d20848461406d565b905060006027826040518082805190602001908083835b60208310613d565780518252601f199092019160209182019101613d37565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420548651909550602594879450925082918401908083835b60208310613db75780518252601f199092019160209182019101613d98565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150613e5d9050576024826040518082805190602001908083835b60208310613e215780518252601f199092019160209182019101613e02565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159450612ec29350505050565b613e678585612ec8565b613e7657600192505050612ec2565b613e97603054613e91601354846155e390919063ffffffff16565b906155e3565b431195945050505050565b600f5481565b60005461010090046001600160a01b0316331480613ed057506005546001600160a01b031633145b80613ee557506002546001600160a01b031633145b613eee57600080fd5b80613ef857600080fd5b600b91909155600c55565b60006060613f11848461406d565b90506024816040518082805190602001908083835b60208310613f455780518252601f199092019160209182019101613f26565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150819050613fe457506025816040518082805190602001908083835b60208310613fb05780518252601f199092019160209182019101613f91565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b949350505050565b602a5481565b60335481565b60005461010090046001600160a01b031633148061402057506005546001600160a01b031633145b8061403557506002546001600160a01b031633145b61403e57600080fd5b6000811161404b57600080fd5b603055565b805160208183018101805160268252928201919093012091525481565b606060006001600160801b0383166140a9576001600160a01b0384166000908152602960205260409020546001600160801b03166001016140ab565b825b6040805160609690961b6bffffffffffffffffffffffff1916602087015260809190911b6001600160801b03191660348601528051808603602401815260449095019052509192915050565b6005546001600160a01b031681565b600e5481565b60005461010090046001600160a01b031633148061413457506005546001600160a01b031633145b8061414957506002546001600160a01b031633145b61415257600080fd5b8061415c57600080fd5b600d91909155600e55565b60005461010090046001600160a01b031633148061418f57506004546001600160a01b031633145b806141a457506002546001600160a01b031633145b6141ad57600080fd5b6001600160a01b03821660008181526017602052604090205460168054919291839081106141d757fe5b6000918252602090912001546001600160a01b03161461422f576040805162461bcd60e51b815260206004820152600e60248201526d696e76616c696420656e7469747960901b604482015290519081900360640190fd5b6001600160a01b03831660009081526018602052604090205460ff1615158215151415614291576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b604482015290519081900360640190fd5b6001600160a01b0383166000908152601860205260409020805460ff191683158015919091179091556142ef57601c546142cc9060016155e3565b601c556001600160a01b0383166000908152601560205260409020439055611e34565b601c546142fd9060016158d6565b601c5550506001600160a01b0316600090815260156020526040812055565b60205481565b60115481565b602f546001600160a01b031681565b6007546001600160a01b031681565b60008060008061435585615d12565b92509250925060018684848460405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa1580156143b5573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b805160208183018101805160258252928201919093012091525460ff1681565b60095481565b600060356143fe848461406d565b6040518082805190602001908083835b6020831061442d5780518252601f19909201916020918201910161440e565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205495945050505050565b60005461010090046001600160a01b031633148061448a57506005546001600160a01b031633145b8061449f57506002546001600160a01b031633145b6144a857600080fd5b601f55565b6029602052600090815260409020546001600160801b031681565b601b6020526000908152604090205481565b60145481565b805160208183018101805160248252928201919093012091525460ff1681565b6002546001600160a01b0316331461451757600080fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061456157506005546001600160a01b031633145b8061457657506002546001600160a01b031633145b61457f57600080fd5b600f55565b601a6020526000908152604090205460ff1681565b6002546001600160a01b031633146145b057600080fd5b600081116145bd57600080fd5b6014546145ca90826155e3565b601455600754604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b15801561462757600080fd5b505af115801561463b573d6000803e3d6000fd5b505050506040513d602081101561465157600080fd5b5051614696576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b50565b6002546001600160a01b031633146146b057600080fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60215460ff1681565b601e5481565b60305481565b6006546001600160a01b031681565b600c5481565b60005461010090046001600160a01b031633148061472457506004546001600160a01b031633145b8061473957506002546001600160a01b031633145b61474257600080fd5b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b60005460ff16156147a8576040805162461bcd60e51b8152602060048201526009602482015268696e697420646f6e6560b81b604482015290519081900360640190fd5b8f600760006101000a8154816001600160a01b0302191690836001600160a01b031602179055508e600860006101000a8154816001600160a01b0302191690836001600160a01b031602179055508d600060016101000a8154816001600160a01b0302191690836001600160a01b031602179055508c600260006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b6009819055508a600a8190555089600b8190555088600c8190555087600f8190555086601081905550856011819055508460128190555082600d8190555081600e819055508360138190555080601d90805190602001906148a7929190615df2565b50506000805460ff19166001179055505050505050505050505050505050565b600060606148d5858561406d565b905060006028826040518082805190602001908083835b6020831061490b5780518252601f1990920191602091820191016148ec565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054151591506149a89050576027826040518082805190602001908083835b602083106149735780518252601f199092019160209182019101614954565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150614a0a9050565b6028826040518082805190602001908083835b602083106149da5780518252601f1990920191602091820191016149bb565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b9050614a168686613d12565b15614a2657600092505050613795565b43841115614a3957600092505050613795565b80614a4957600092505050613795565b80841015614a5c57600092505050613795565b601c54614a6e57600092505050613795565b6025826040518082805190602001908083835b60208310614aa05780518252601f199092019160209182019101614a81565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150508015614b3f57506024826040518082805190602001908083835b60208310614b0b5780518252601f199092019160209182019101614aec565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b15614b4f57600092505050613795565b60006025836040518082805190602001908083835b60208310614b835780518252601f199092019160209182019101614b64565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614bc2905057600b54614bc6565b6009545b905060006025846040518082805190602001908083835b60208310614bfc5780518252601f199092019160209182019101614bdd565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614c3b905057600c54614c3f565b600a545b905060006025856040518082805190602001908083835b60208310614c755780518252601f199092019160209182019101614c56565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614cb4905057602c54614cb8565b602a545b905060006025866040518082805190602001908083835b60208310614cee5780518252601f199092019160209182019101614ccf565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614d2d905057602d54614d31565b602b545b602f549091506000906001600160a01b0316614d4e576000614de5565b602f546040805163b07d9cbb60e01b81526001600160a01b038e811660048301526001600160801b038e166024830152604482018a9052606482018d90529151919092169163b07d9cbb916084808301926020929190829003018186803b158015614db857600080fd5b505afa158015614dcc573d6000803e3d6000fd5b505050506040513d6020811015614de257600080fd5b50515b9050614def615e70565b614dfc87602e548c615d41565b90506000808611614e0e576000614e25565b614e25866123b2898560005b60200201519061563d565b90506000808511614e37576000614e47565b614e47856123b288866001614e1a565b90506000614e5985613e9185856155e3565b60345490915015614fa35760345460358c6040518082805190602001908083835b60208310614e995780518252601f199092019160209182019101614e7a565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405180910390205410614ee65760009b505050505050505050505050613795565b603454614f1e8260358e604051808280519060200190808383602083106124bd5780518252601f19909201916020918201910161249e565b1115614fa357614f9160358c6040518082805190602001908083835b60208310614f595780518252601f199092019160209182019101614f3a565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054603454925090506158d6565b9b505050505050505050505050613795565b9e9d5050505050505050505050505050565b60005461010090046001600160a01b0316331480614fdd57506005546001600160a01b031633145b80614ff257506002546001600160a01b031633145b614ffb57600080fd5b603355565b602d5481565b6001600160a01b03811661501957600080fd5b6002546001600160a01b0316331461503057600080fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061507a57506005546001600160a01b031633145b8061508f57506002546001600160a01b031633145b61509857600080fd5b602a859055602b849055602c839055602d829055806150b757436150b9565b805b602e555050505050565b6002546001600160a01b03163314615113576040805162461bcd60e51b815260206004820152600e60248201526d3737ba1039bab832b920b236b4b760911b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160278252928201919093012091525481565b600b5481565b60105481565b60008060015b6001600160a01b0385166000908152602960205260409020546001600160801b03908116908216116151be576151b46151ad8683600088116151a657436151a8565b875b6148c7565b83906155e3565b9150600101615164565b509392505050565b6004546001600160a01b031681565b601c5481565b6031546001600160801b031681565b6008546001600160a01b031681565b60005461010090046001600160a01b031633148061522157506005546001600160a01b031633145b8061523657506002546001600160a01b031633145b61523f57600080fd5b602055565b601d805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156152ca5780601f1061529f576101008083540402835291602001916152ca565b820191906000526020600020905b8154815290600101906020018083116152ad57829003601f168201915b505050505081565b6003546001600160a01b0316331480156152eb57503315155b615334576040805162461bcd60e51b81526020600482015260156024820152743737ba103832b73234b733a9bab832b920b236b4b760591b604482015290519081900360640190fd5b60038054600280546001600160a01b03199081166001600160a01b03841617909155169055565b60005461010090046001600160a01b031633148061538357506005546001600160a01b031633145b8061539857506002546001600160a01b031633145b6153a157600080fd5b600081116153ae57600080fd5b601355565b602b5481565b60006153fb60135460276153cd868661406d565b604051808280519060200190808383602083106124bd5780518252601f19909201916020918201910161249e565b43119392505050565b60325481565b60005461010090046001600160a01b031633148061543257506005546001600160a01b031633145b8061544757506002546001600160a01b031633145b61545057600080fd5b601155565b6002546001600160a01b0316331461546c57600080fd5b6000811161547957600080fd5b8060145410156154bd576040805162461bcd60e51b815260206004820152600a6024820152690dcdee840cadcdeeaced60b31b604482015290519081900360640190fd5b6014546154ca90826158d6565b6014556007546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561552357600080fd5b505af1158015615537573d6000803e3d6000fd5b505050506040513d602081101561554d57600080fd5b5051615592576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b5050565b60005461010090046001600160a01b031681565b6036602052600090815260409020546001600160801b031681565b60005460ff1681565b60196020526000908152604090205460ff1681565b600082820183811015613795576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261564c57506000612ec2565b8282028284828161565957fe5b04146137955760405162461bcd60e51b8152600401808060200182810382526021815260200180615ea46021913960400191505060405180910390fd5b60008082116156ec576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816156f557fe5b049392505050565b6060615709858561406d565b90506035816040518082805190602001908083835b6020831061573d5780518252601f19909201916020918201910161571e565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054159150615778905057506158d0565b60006157d186868660405160200180846001600160a01b031660601b8152601401836001600160801b031660801b8152601001828152602001935050505060405160208183030381529060405280519060200120615a13565b905060006157df8285614346565b6000549091506001600160a01b0380831661010090920416148061581057506005546001600160a01b038281169116145b8061582857506002546001600160a01b038281169116145b615868576040805162461bcd60e51b815260206004820152600c60248201526b3bb937b7339039b4b3b732b960a11b604482015290519081900360640190fd5b846035846040518082805190602001908083835b6020831061589b5780518252601f19909201916020918201910161587c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550505050505b50505050565b60008282111561592d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b8047101561597f576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d80600081146159ca576040519150601f19603f3d011682016040523d82523d6000602084013e6159cf565b606091505b5050905080611e34576040805162461bcd60e51b815260206004820152600b60248201526a1cd95b990819985a5b195960aa1b604482015290519081900360640190fd5b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b600080333014615a745733615a76565b325b90506060615a84828661406d565b90506000615a928387613d12565b158015615aa65750615aa48387612fcd565b155b15615bf1576000615aca600e546123b2600d54615ac4888c8c6148c7565b9061563d565b604080516303a9ea6d60e01b81526001600160801b038a16600482015260248101899052600060448201819052606482015260a06084820152600360a48201526203078360ec1b60c4820152905191925030916303a9ea6d91849160e480830192602092919082900301818588803b158015615b4557600080fd5b505af1158015615b59573d6000803e3d6000fd5b50505050506040513d6020811015615b7057600080fd5b5051602f54604080516324bb0ea360e21b81526001600160a01b0388811660048301526001600160801b038c16602483015230604483015291519395509116916392ec3a8c9160648082019260009290919082900301818387803b158015615bd757600080fd5b505af1158015615beb573d6000803e3d6000fd5b50505050505b604080516001600160801b03881681526001602082015281516001600160a01b038616927f390abd1e199a3250f7e2b739ddde05005ee352555c4865667432651e07162056928290030190a260006027836040518082805190602001908083835b60208310615c715780518252601f199092019160209182019101615c52565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810184209490945550508351600092602892869290918291908401908083835b60208310615cd75780518252601f199092019160209182019101615cb8565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550909695505050505050565b60008060008351604114615d2557600080fd5b5050506020810151604082015160609092015160001a92909190565b615d49615e70565b818410615d6a57506040805180820190915260008082526020820152613795565b8282111580615d77575082155b15615da2576040805180820190915280615d9184876158d6565b815260200160008152509050613795565b828410615dce57604080518082019091526000815260208101615dc584876158d6565b90529050613795565b6040805180820190915280615de385876158d6565b8152602001615dc584866158d6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615e3357805160ff1916838001178555615e60565b82800160010185558215615e60579182015b82811115615e60578251825591602001919060010190615e45565b50615e6c929150615e8e565b5090565b60405180604001604052806002906020820280368337509192915050565b5b80821115615e6c5760008155600101615e8f56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122008b7b2a14c53de9996965382c037ba6de1925426db928bb74ace7a6e014b776964736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106106315760003560e01c80638ac2f9dd11610329578063c8b81e15116101b6578063e195232e11610102578063f28b039e116100a0578063f851a4401161007a578063f851a44014611d01578063f9fa926814611d16578063fed0a20e14611d49578063ffbb698914611d5e57610631565b8063f28b039e14611c89578063f3368f9014611c9e578063f3fef3a314611cc857610631565b8063e7f9cefd116100dc578063e7f9cefd14611bf3578063e877db1a14611c08578063ed5998da14611c32578063f1febd0714611c4757610631565b8063e195232e14611b9f578063e4ae0c8a14611bb4578063e603c27014611bde57610631565b8063d48ba4861161016f578063da7169b311610149578063da7169b314611b27578063da998dca14611b60578063dc0bbf0814611b75578063ddf0185f14611b8a57610631565b8063d48ba48614611a4c578063d95210d014611afd578063d9df77de14611b1257610631565b8063c8b81e151461191d578063cc7b326a14611965578063cff6e51f1461198f578063d2c35ce8146119a4578063d38f887e146119d7578063d39ca7de14611a1957610631565b8063ad0279a711610275578063c0f0622d1161022e578063c415b95c11610208578063c415b95c1461179c578063c4ac59b2146117b1578063c5a2928b146117c6578063c723143f146117f957610631565b8063c0f0622d1461175d578063c2b2fdca14611772578063c3d5864f1461178757610631565b8063ad0279a7146115bf578063ad553eef14611670578063ae749c42146116a3578063b021465f146116cd578063b6b55f2514611700578063bbcd5bbe1461172a57610631565b806398b40442116102e25780639edb4fb7116102bc5780639edb4fb7146114fe578063a77e282514611528578063a978dab714611577578063aa5c3ab4146115aa57610631565b806398b40442146113f657806399e6f700146114a75780639b8ddee9146114bc57610631565b80638ac2f9dd146112af5780638d0c479b146112ea5780639162c594146112ff5780639548f1e614611314578063965d61b91461132957806397aba7f91461133e57610631565b80633bb58b67116104c257806368acd0421161040e5780637a7d4937116103ac5780638123fdbb116103865780638123fdbb1461119e578063857d49d51461125557806387f48f4e1461126a5780638aa9a37f1461127f57610631565b80637a7d4937146110ae5780637ba90928146110c35780637c05d6d8146110ed57610631565b80636f300155116103e85780636f300155146110125780636f36c10c14611027578063778824a5146110575780637a5d5cf41461109957610631565b806368acd04214610efb578063696eddbe14610f105780636c52ec1014610fd057610631565b80634eba71cd1161047b578063623ef91011610455578063623ef91014610e6857806362fc3bc214610e925780636331883b14610ebc57806367cb652614610ee657610631565b80634eba71cd14610d605780635213f27e14610d755780635c4f18fa14610e2657610631565b80633bb58b6714610c3d57806340b584b414610c7f57806348028d6314610cb25780634c359aeb14610cc75780634c8024cc14610cfa5780634dd18bf514610d2d57610631565b8063255ebc8d116105815780632b6b66bb1161053a57806334dce6b31161051457806334dce6b314610b2a57806334ecc1a214610b5d5780633761cf4a14610b905780633839239514610c1357610631565b80632b6b66bb14610a7c578063326f107314610aaf57806332fc530e14610ae857610631565b8063255ebc8d1461092e578063266655621461097057806326782247146109b2578063268e5e4f146109e3578063272dff7314610a2557806329575f6a14610a6757610631565b80630fe48b36116105ee57806319885898116105c8578063198858981461083e57806319a1f5ae146108535780631caa1f81146109045780631d851bbd1461091957610631565b80630fe48b36146107cd5780631585dc28146107e257806316f28a2a146107f757610631565b806301e336671461063657806303a9ea6d1461067b57806305eec2891461075457806309a07fd2146107735780630a8d1be2146107885780630e18b681146107b8575b600080fd5b34801561064257600080fd5b506106796004803603606081101561065957600080fd5b506001600160a01b03813581169160208101359091169060400135611d91565b005b610742600480360360a081101561069157600080fd5b6001600160801b0382351691602081013591604082013515159160608101359181019060a081016080820135600160201b8111156106ce57600080fd5b8201836020820111156106e057600080fd5b803590602001918460018302840111600160201b8311171561070157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e39945050505050565b60408051918252519081900360200190f35b6106796004803603602081101561076a57600080fd5b503515156127bb565b34801561077f57600080fd5b50610742612ccf565b34801561079457600080fd5b50610679600480360360408110156107ab57600080fd5b5080359060200135612cd5565b3480156107c457600080fd5b50610679612d30565b3480156107d957600080fd5b50610742612dbf565b3480156107ee57600080fd5b50610742612dc5565b34801561080357600080fd5b5061082a6004803603602081101561081a57600080fd5b50356001600160a01b0316612dcb565b604080519115158252519081900360200190f35b34801561084a57600080fd5b50610742612de0565b34801561085f57600080fd5b506107426004803603602081101561087657600080fd5b810190602081018135600160201b81111561089057600080fd5b8201836020820111156108a257600080fd5b803590602001918460018302840111600160201b831117156108c357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612de6945050505050565b34801561091057600080fd5b50610742612e03565b34801561092557600080fd5b50610742612e09565b34801561093a57600080fd5b5061082a6004803603604081101561095157600080fd5b5080356001600160a01b031690602001356001600160801b0316612e0f565b34801561097c57600080fd5b5061082a6004803603604081101561099357600080fd5b5080356001600160a01b031690602001356001600160801b0316612ec8565b3480156109be57600080fd5b506109c7612f46565b604080516001600160a01b039092168252519081900360200190f35b3480156109ef57600080fd5b5061074260048036036040811015610a0657600080fd5b5080356001600160a01b031690602001356001600160801b0316612f55565b348015610a3157600080fd5b5061082a60048036036040811015610a4857600080fd5b5080356001600160a01b031690602001356001600160801b0316612fcd565b348015610a7357600080fd5b506109c7613048565b348015610a8857600080fd5b5061074260048036036020811015610a9f57600080fd5b50356001600160a01b0316613057565b348015610abb57600080fd5b5061067960048036036040811015610ad257600080fd5b506001600160801b038135169060200135613069565b348015610af457600080fd5b5061067960048036036040811015610b0b57600080fd5b5080356001600160a01b031690602001356001600160801b03166130d5565b348015610b3657600080fd5b5061082a60048036036020811015610b4d57600080fd5b50356001600160a01b03166132b1565b348015610b6957600080fd5b5061074260048036036020811015610b8057600080fd5b50356001600160a01b03166132f7565b61067960048036036060811015610ba657600080fd5b6001600160801b0382351691602081013591810190606081016040820135600160201b811115610bd557600080fd5b820183602082011115610be757600080fd5b803590602001918460018302840111600160201b83111715610c0857600080fd5b50909250905061332e565b348015610c1f57600080fd5b5061067960048036036020811015610c3657600080fd5b503561373d565b348015610c4957600080fd5b5061074260048036036040811015610c6057600080fd5b5080356001600160a01b031690602001356001600160801b0316613788565b348015610c8b57600080fd5b5061067960048036036020811015610ca257600080fd5b50356001600160a01b031661379c565b348015610cbe57600080fd5b506109c76137e8565b348015610cd357600080fd5b5061074260048036036020811015610cea57600080fd5b50356001600160a01b03166137f7565b348015610d0657600080fd5b5061074260048036036020811015610d1d57600080fd5b50356001600160a01b0316613809565b348015610d3957600080fd5b5061067960048036036020811015610d5057600080fd5b50356001600160a01b031661381b565b348015610d6c57600080fd5b50610742613859565b348015610d8157600080fd5b5061074260048036036020811015610d9857600080fd5b810190602081018135600160201b811115610db257600080fd5b820183602082011115610dc457600080fd5b803590602001918460018302840111600160201b83111715610de557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061385f945050505050565b348015610e3257600080fd5b5061082a60048036036040811015610e4957600080fd5b5080356001600160a01b031690602001356001600160801b031661387c565b348015610e7457600080fd5b5061067960048036036020811015610e8b57600080fd5b50356138b5565b348015610e9e57600080fd5b5061067960048036036020811015610eb557600080fd5b5035613900565b348015610ec857600080fd5b506109c760048036036020811015610edf57600080fd5b503561394b565b348015610ef257600080fd5b50610742613972565b348015610f0757600080fd5b50610742613978565b61067960048036036080811015610f2657600080fd5b6001600160a01b038235169160208101359160408201359190810190608081016060820135600160201b811115610f5c57600080fd5b820183602082011115610f6e57600080fd5b803590602001918460018302840111600160201b83111715610f8f57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061397e945050505050565b348015610fdc57600080fd5b5061082a60048036036040811015610ff357600080fd5b5080356001600160a01b031690602001356001600160801b0316613d12565b34801561101e57600080fd5b50610742613ea2565b34801561103357600080fd5b506106796004803603604081101561104a57600080fd5b5080359060200135613ea8565b34801561106357600080fd5b5061082a6004803603604081101561107a57600080fd5b5080356001600160a01b031690602001356001600160801b0316613f03565b3480156110a557600080fd5b50610742613fec565b3480156110ba57600080fd5b50610742613ff2565b3480156110cf57600080fd5b50610679600480360360208110156110e657600080fd5b5035613ff8565b3480156110f957600080fd5b506107426004803603602081101561111057600080fd5b810190602081018135600160201b81111561112a57600080fd5b82018360208201111561113c57600080fd5b803590602001918460018302840111600160201b8311171561115d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550614050945050505050565b3480156111aa57600080fd5b506111e0600480360360408110156111c157600080fd5b5080356001600160a01b031690602001356001600160801b031661406d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561121a578181015183820152602001611202565b50505050905090810190601f1680156112475780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561126157600080fd5b506109c76140f7565b34801561127657600080fd5b50610742614106565b34801561128b57600080fd5b50610679600480360360408110156112a257600080fd5b508035906020013561410c565b3480156112bb57600080fd5b50610679600480360360408110156112d257600080fd5b506001600160a01b0381351690602001351515614167565b3480156112f657600080fd5b5061074261431c565b34801561130b57600080fd5b50610742614322565b34801561132057600080fd5b506109c7614328565b34801561133557600080fd5b506109c7614337565b34801561134a57600080fd5b506109c76004803603604081101561136157600080fd5b81359190810190604081016020820135600160201b81111561138257600080fd5b82018360208201111561139457600080fd5b803590602001918460018302840111600160201b831117156113b557600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550614346945050505050565b34801561140257600080fd5b5061082a6004803603602081101561141957600080fd5b810190602081018135600160201b81111561143357600080fd5b82018360208201111561144557600080fd5b803590602001918460018302840111600160201b8311171561146657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506143ca945050505050565b3480156114b357600080fd5b506107426143ea565b3480156114c857600080fd5b50610742600480360360408110156114df57600080fd5b5080356001600160a01b031690602001356001600160801b03166143f0565b34801561150a57600080fd5b506106796004803603602081101561152157600080fd5b5035614462565b34801561153457600080fd5b5061155b6004803603602081101561154b57600080fd5b50356001600160a01b03166144ad565b604080516001600160801b039092168252519081900360200190f35b34801561158357600080fd5b506107426004803603602081101561159a57600080fd5b50356001600160a01b03166144c8565b3480156115b657600080fd5b506107426144da565b3480156115cb57600080fd5b5061082a600480360360208110156115e257600080fd5b810190602081018135600160201b8111156115fc57600080fd5b82018360208201111561160e57600080fd5b803590602001918460018302840111600160201b8311171561162f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506144e0945050505050565b34801561167c57600080fd5b506106796004803603602081101561169357600080fd5b50356001600160a01b0316614500565b3480156116af57600080fd5b50610679600480360360208110156116c657600080fd5b5035614539565b3480156116d957600080fd5b5061082a600480360360208110156116f057600080fd5b50356001600160a01b0316614584565b34801561170c57600080fd5b506106796004803603602081101561172357600080fd5b5035614599565b34801561173657600080fd5b506106796004803603602081101561174d57600080fd5b50356001600160a01b0316614699565b34801561176957600080fd5b5061082a6146d2565b34801561177e57600080fd5b506107426146db565b34801561179357600080fd5b506107426146e1565b3480156117a857600080fd5b506109c76146e7565b3480156117bd57600080fd5b506107426146f6565b3480156117d257600080fd5b50610679600480360360208110156117e957600080fd5b50356001600160a01b03166146fc565b34801561180557600080fd5b50610679600480360361020081101561181d57600080fd5b6001600160a01b038235811692602081013582169260408201358316926060830135169160808101359160a08201359160c08101359160e08201359161010081013591610120820135916101408101359161016082013591610180810135916101a0820135916101c08101359181019061020081016101e0820135600160201b8111156118a957600080fd5b8201836020820111156118bb57600080fd5b803590602001918460018302840111600160201b831117156118dc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550614764945050505050565b34801561192957600080fd5b506107426004803603606081101561194057600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001356148c7565b34801561197157600080fd5b506106796004803603602081101561198857600080fd5b5035614fb5565b34801561199b57600080fd5b50610742615000565b3480156119b057600080fd5b50610679600480360360208110156119c757600080fd5b50356001600160a01b0316615006565b3480156119e357600080fd5b50610679600480360360a08110156119fa57600080fd5b5080359060208101359060408101359060608101359060800135615052565b348015611a2557600080fd5b5061067960048036036020811015611a3c57600080fd5b50356001600160a01b03166150c3565b348015611a5857600080fd5b5061074260048036036020811015611a6f57600080fd5b810190602081018135600160201b811115611a8957600080fd5b820183602082011115611a9b57600080fd5b803590602001918460018302840111600160201b83111715611abc57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550615135945050505050565b348015611b0957600080fd5b50610742615152565b348015611b1e57600080fd5b50610742615158565b348015611b3357600080fd5b5061074260048036036040811015611b4a57600080fd5b506001600160a01b03813516906020013561515e565b348015611b6c57600080fd5b506109c76151c6565b348015611b8157600080fd5b506107426151d5565b348015611b9657600080fd5b5061155b6151db565b348015611bab57600080fd5b506109c76151ea565b348015611bc057600080fd5b5061067960048036036020811015611bd757600080fd5b50356151f9565b348015611bea57600080fd5b506111e0615244565b348015611bff57600080fd5b506106796152d2565b348015611c1457600080fd5b5061067960048036036020811015611c2b57600080fd5b503561535b565b348015611c3e57600080fd5b506107426153b3565b348015611c5357600080fd5b5061082a60048036036040811015611c6a57600080fd5b5080356001600160a01b031690602001356001600160801b03166153b9565b348015611c9557600080fd5b50610742615404565b348015611caa57600080fd5b5061067960048036036020811015611cc157600080fd5b503561540a565b348015611cd457600080fd5b5061067960048036036040811015611ceb57600080fd5b506001600160a01b038135169060200135615455565b348015611d0d57600080fd5b506109c7615596565b348015611d2257600080fd5b5061155b60048036036020811015611d3957600080fd5b50356001600160a01b03166155aa565b348015611d5557600080fd5b5061082a6155c5565b348015611d6a57600080fd5b5061082a60048036036020811015611d8157600080fd5b50356001600160a01b03166155ce565b6002546001600160a01b03163314611da857600080fd5b826001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015611dff57600080fd5b505af1158015611e13573d6000803e3d6000fd5b505050506040513d6020811015611e2957600080fd5b5051611e3457600080fd5b505050565b60008033301480611e545750602f546001600160a01b031633145b611e5e5733611e60565b325b90506060611e6e828961406d565b905060006028826040518082805190602001908083835b60208310611ea45780518252601f199092019160209182019101611e85565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205415159150611f419050576027826040518082805190602001908083835b60208310611f0c5780518252601f199092019160209182019101611eed565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150611fa39050565b6028826040518082805190602001908083835b60208310611f735780518252601f199092019160209182019101611f54565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b905060006027836040518082805190602001908083835b60208310611fd95780518252601f199092019160209182019101611fba565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490030190922054925050508161204d576040805162461bcd60e51b815260206004820152600d60248201526c1b995d995c8818db185a5b5959609a1b604482015290519081900360640190fd5b43891115612092576040805162461bcd60e51b815260206004820152600d60248201526c696e76616c696420626c6f636b60981b604482015290519081900360640190fd5b8189116120d1576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025836040518082805190602001908083835b602083106121035780518252601f1990920191602091820191016120e4565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff161591508190506121a257506024836040518082805190602001908083835b6020831061216f5780518252601f199092019160209182019101612150565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150505b6121e0576040805162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b604482015290519081900360640190fd5b6025836040518082805190602001908083835b602083106122125780518252601f1990920191602091820191016121f3565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150508015612252575060125415155b806122c957506025836040518082805190602001908083835b6020831061228a5780518252601f19909201916020918201910161226b565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691505080156122c9575060115415155b15612319576013546122dc9082906155e3565b8910612319576040805162461bcd60e51b81526020600482015260076024820152667061792066656560c81b604482015290519081900360640190fd5b6000612326858c8c6148c7565b602f549091506001600160a01b031633148015612341575080155b15612354576000955050505050506127b2565b60008111612395576040805162461bcd60e51b81526020600482015260096024820152681b9bc81c995dd85c9960ba1b604482015290519081900360640190fd5b60006123b8600e546123b2600d548561563d90919063ffffffff16565b90615696565b9050803410156123fd576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b33301461241057612410868d8b8b6156fd565b60145461241d90836158d6565b6014819055508a6028866040518082805190602001908083835b602083106124565780518252601f199092019160209182019101612437565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505086516124f39285926035928a928291908401908083835b602083106124bd5780518252601f19909201916020918201910161249e565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549291506155e39050565b6035866040518082805190602001908083835b602083106125255780518252601f199092019160209182019101612506565b51815160209384036101000a60001901801990921691161790529201948552506040805194859003820185209590955586845293516001600160a01b038b16947fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a948290030192509050a289156126cf576007546008546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b1580156125ef57600080fd5b505af1158015612603573d6000803e3d6000fd5b505050506040513d602081101561261957600080fd5b505161265d576040805162461bcd60e51b815260206004820152600e60248201526d185c1c1c9bdd994819985a5b195960921b604482015290519081900360640190fd5b600854604080516330d6a97560e01b81526001600160a01b03898116600483015260248201869052915191909216916330d6a97591604480830192600092919082900301818387803b1580156126b257600080fd5b505af11580156126c6573d6000803e3d6000fd5b50505050612794565b6007546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561272557600080fd5b505af1158015612739573d6000803e3d6000fd5b505050506040513d602081101561274f57600080fd5b5051612794576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b6006546127aa906001600160a01b031682615933565b955050505050505b95945050505050565b603154336000908152602960205260409020546001600160801b0391821691161061281d576040805162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b604482015290519081900360640190fd5b33600081815260296020526040812054909182916001600160801b03166001019060609061284b908361406d565b9050841561287457601f54602054601c54919550935061286c9060016155e3565b601c556128f0565b600f549350601054925060016025826040518082805190602001908083835b602083106128b25780518252601f199092019160209182019101612893565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505b833414612932576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b436027826040518082805190602001908083835b602083106129655780518252601f199092019160209182019101612946565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082514392602892859290918291908401908083835b602083106129ca5780518252601f1990920191602091820191016129ab565b51815160209384036101000a600019018019909216911617905292019485525060408051948590038201852095909555336000818152602983529590952080546001600160801b0319811660016001600160801b039283160190911617905585517f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd094889450602593508792909182918401908083835b60208310612a805780518252601f199092019160209182019101612a61565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490038101842054601354895160ff9092169560009550612af2945090926027928b9291829190840190808383602083106124bd5780518252601f19909201916020918201910161249e565b604080516001600160801b0390951685529215156020850152901515838301526060830152519081900360800190a2600754604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b158015612b7b57600080fd5b505af1158015612b8f573d6000803e3d6000fd5b505050506040513d6020811015612ba557600080fd5b5051612bea576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b6007546006546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018790529051919092169163a9059cbb9160448083019260209291908290030181600087803b158015612c4357600080fd5b505af1158015612c57573d6000803e3d6000fd5b505050506040513d6020811015612c6d57600080fd5b5051612cb2576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b600654612cc8906001600160a01b031634615933565b5050505050565b600d5481565b60005461010090046001600160a01b0316331480612cfd57506005546001600160a01b031633145b80612d1257506002546001600160a01b031633145b612d1b57600080fd5b80612d2557600080fd5b600991909155600a55565b6001546001600160a01b031633148015612d4957503315155b612d8d576040805162461bcd60e51b815260206004820152601060248201526f3737ba103832b73234b733a0b236b4b760811b604482015290519081900360640190fd5b6001805460008054610100600160a81b0319166101006001600160a01b038416021790556001600160a01b0319169055565b60135481565b601f5481565b60186020526000908152604090205460ff1681565b600a5481565b805160208183018101805160288252928201919093012091525481565b60345481565b602e5481565b60006060612e1d848461406d565b905060006027826040518082805190602001908083835b60208310612e535780518252601f199092019160209182019101612e34565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460325460135491945060009350612ea29250612e9b919061563d565b43906155e3565b905080612eba601354846155e390919063ffffffff16565b101593505050505b92915050565b60006060612ed6848461406d565b905060006027826040518082805190602001908083835b60208310612f0c5780518252601f199092019160209182019101612eed565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054929092119695505050505050565b6001546001600160a01b031681565b60006060612f63848461406d565b90506027816040518082805190602001908083835b60208310612f975780518252601f199092019160209182019101612f78565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549695505050505050565b60006060612fdb848461406d565b90506025816040518082805190602001908083835b6020831061300f5780518252601f199092019160209182019101612ff0565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169695505050505050565b6002546001600160a01b031681565b60226020526000908152604090205481565b60005461010090046001600160a01b031633148061309157506005546001600160a01b031633145b806130a657506002546001600160a01b031633145b6130af57600080fd5b603180546001600160801b0319166001600160801b039390931692909217909155603255565b60005461010090046001600160a01b03163314806130fd57506004546001600160a01b031633145b8061311257506002546001600160a01b031633145b61311b57600080fd5b6060613127838361406d565b905060006027826040518082805190602001908083835b6020831061315d5780518252601f19909201916020918201910161313e565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810184209490945550508251600092602892859290918291908401908083835b602083106131c35780518252601f1990920191602091820191016131a4565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038616927f8f09ef60eb932f902f4199ddb720f587b53565a6a490484db1a653e85b799dc492869260259287929182918401908083835b602083106132535780518252601f199092019160209182019101613234565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b03909616855260ff9095161515908401525050438183015290519081900360600190a2505050565b6001600160a01b03811660009081526018602052604081205460ff1680612ec257506132de826001612ec8565b8015612ec257506132f0826001613d12565b1592915050565b6001600160a01b03166000908152603660209081526040808320546029909252909120546001600160801b03918216908216031690565b600033301461333d573361333f565b325b9050606061334d828761406d565b905061339182878787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506156fd92505050565b61339b8287612ec8565b6133db576040805162461bcd60e51b815260206004820152600c60248201526b191bd95cdb9d08195e1a5cdd60a21b604482015290519081900360640190fd5b6133e58287613d12565b15613422576040805162461bcd60e51b8152602060048201526008602482015267746f6f206c61746560c01b604482015290519081900360640190fd5b61342c8287612e0f565b15613469576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025816040518082805190602001908083835b6020831061349b5780518252601f19909201916020918201910161347c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1615915061351c9050576011543414613517576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b613560565b6012543414613560576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b613597601354602783604051808280519060200190808383602083106124bd5780518252601f19909201916020918201910161249e565b6027826040518082805190602001908083835b602083106135c95780518252601f1990920191602091820191016135aa565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038516927f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd0928a9260259287929182918401908083835b602083106136595780518252601f19909201916020918201910161363a565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054885160ff9091169460019450602793508992909182918401908083835b602083106136c15780518252601f1990920191602091820191016136a2565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b039098168552951515908401525050901515818301526060810192909252519081900360800190a2600654613735906001600160a01b031634615933565b505050505050565b60005461010090046001600160a01b031633148061376557506005546001600160a01b031633145b8061377a57506002546001600160a01b031633145b61378357600080fd5b601255565b60006137958383436148c7565b9392505050565b6001600160a01b0381166137af57600080fd5b6002546001600160a01b031633146137c657600080fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b60156020526000908152604090205481565b60176020526000908152604090205481565b60005461010090046001600160a01b0316331461383757600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b602c5481565b805160208183018101805160358252928201919093012091525481565b60006138888383612fcd565b15801561389c575061389a8383613d12565b155b801561379557506138ad8383612e0f565b159392505050565b60005461010090046001600160a01b03163314806138dd57506005546001600160a01b031633145b806138f257506002546001600160a01b031633145b6138fb57600080fd5b601055565b60005461010090046001600160a01b031633148061392857506005546001600160a01b031633145b8061393d57506002546001600160a01b031633145b61394657600080fd5b603455565b6016818154811061395857fe5b6000918252602090912001546001600160a01b0316905081565b60125481565b60235481565b60006139c3338460405160200180836001600160a01b031660601b81526014018281526020019250505060405160208183030381529060405280519060200120615a13565b905060006139d18284614346565b336000908152602960205260409020549091506001600160801b0316613a28576040805162461bcd60e51b815260206004820152600760248201526630206e6f64657360c81b604482015290519081900360640190fd5b6000546001600160a01b03828116610100909204161480613a5657506005546001600160a01b038281169116145b80613a6e57506002546001600160a01b038281169116145b613aae576040805162461bcd60e51b815260206004820152600c60248201526b3bb937b7339039b4b3b732b960a11b604482015290519081900360640190fd5b3460008080613abd338a61515e565b8801905060015b336000908152602960205260409020546001600160801b0390811690821611613bdb5760008511613b29576040805162461bcd60e51b815260206004820152600a6024820152690dcdee840cadcdeeaced60b31b604482015290519081900360640190fd5b6000613b35828c615a64565b90508015613bd257600190940193613b4d86826158d6565b9550613bcf6033546027613b61338661406d565b6040518082805190602001908083835b60208310613b905780518252601f199092019160209182019101613b71565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220548893439190910302420391506155e39050565b93505b50600101613ac4565b5082613c18576040805162461bcd60e51b8152602060048201526007602482015266195e1c1a5c995960ca1b604482015290519081900360640190fd5b33600081815260296020908152604080832054603690925290912080546001600160801b0319166001600160801b039092169190911790556001600160a01b038b1690636bd7de0390600186808781613c6d57fe5b04866040518663ffffffff1660e01b815260040180866001600160a01b0316815260200185815260200184815260200183815260200182815260200195505050505050602060405180830381600087803b158015613cca57600080fd5b505af1158015613cde573d6000803e3d6000fd5b505050506040513d6020811015613cf457600080fd5b50508315613d0657613d063385615933565b50505050505050505050565b60006060613d20848461406d565b905060006027826040518082805190602001908083835b60208310613d565780518252601f199092019160209182019101613d37565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420548651909550602594879450925082918401908083835b60208310613db75780518252601f199092019160209182019101613d98565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150613e5d9050576024826040518082805190602001908083835b60208310613e215780518252601f199092019160209182019101613e02565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159450612ec29350505050565b613e678585612ec8565b613e7657600192505050612ec2565b613e97603054613e91601354846155e390919063ffffffff16565b906155e3565b431195945050505050565b600f5481565b60005461010090046001600160a01b0316331480613ed057506005546001600160a01b031633145b80613ee557506002546001600160a01b031633145b613eee57600080fd5b80613ef857600080fd5b600b91909155600c55565b60006060613f11848461406d565b90506024816040518082805190602001908083835b60208310613f455780518252601f199092019160209182019101613f26565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150819050613fe457506025816040518082805190602001908083835b60208310613fb05780518252601f199092019160209182019101613f91565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b949350505050565b602a5481565b60335481565b60005461010090046001600160a01b031633148061402057506005546001600160a01b031633145b8061403557506002546001600160a01b031633145b61403e57600080fd5b6000811161404b57600080fd5b603055565b805160208183018101805160268252928201919093012091525481565b606060006001600160801b0383166140a9576001600160a01b0384166000908152602960205260409020546001600160801b03166001016140ab565b825b6040805160609690961b6bffffffffffffffffffffffff1916602087015260809190911b6001600160801b03191660348601528051808603602401815260449095019052509192915050565b6005546001600160a01b031681565b600e5481565b60005461010090046001600160a01b031633148061413457506005546001600160a01b031633145b8061414957506002546001600160a01b031633145b61415257600080fd5b8061415c57600080fd5b600d91909155600e55565b60005461010090046001600160a01b031633148061418f57506004546001600160a01b031633145b806141a457506002546001600160a01b031633145b6141ad57600080fd5b6001600160a01b03821660008181526017602052604090205460168054919291839081106141d757fe5b6000918252602090912001546001600160a01b03161461422f576040805162461bcd60e51b815260206004820152600e60248201526d696e76616c696420656e7469747960901b604482015290519081900360640190fd5b6001600160a01b03831660009081526018602052604090205460ff1615158215151415614291576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b604482015290519081900360640190fd5b6001600160a01b0383166000908152601860205260409020805460ff191683158015919091179091556142ef57601c546142cc9060016155e3565b601c556001600160a01b0383166000908152601560205260409020439055611e34565b601c546142fd9060016158d6565b601c5550506001600160a01b0316600090815260156020526040812055565b60205481565b60115481565b602f546001600160a01b031681565b6007546001600160a01b031681565b60008060008061435585615d12565b92509250925060018684848460405160008152602001604052604051808581526020018460ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa1580156143b5573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b805160208183018101805160258252928201919093012091525460ff1681565b60095481565b600060356143fe848461406d565b6040518082805190602001908083835b6020831061442d5780518252601f19909201916020918201910161440e565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205495945050505050565b60005461010090046001600160a01b031633148061448a57506005546001600160a01b031633145b8061449f57506002546001600160a01b031633145b6144a857600080fd5b601f55565b6029602052600090815260409020546001600160801b031681565b601b6020526000908152604090205481565b60145481565b805160208183018101805160248252928201919093012091525460ff1681565b6002546001600160a01b0316331461451757600080fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061456157506005546001600160a01b031633145b8061457657506002546001600160a01b031633145b61457f57600080fd5b600f55565b601a6020526000908152604090205460ff1681565b6002546001600160a01b031633146145b057600080fd5b600081116145bd57600080fd5b6014546145ca90826155e3565b601455600754604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b15801561462757600080fd5b505af115801561463b573d6000803e3d6000fd5b505050506040513d602081101561465157600080fd5b5051614696576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b50565b6002546001600160a01b031633146146b057600080fd5b600780546001600160a01b0319166001600160a01b0392909216919091179055565b60215460ff1681565b601e5481565b60305481565b6006546001600160a01b031681565b600c5481565b60005461010090046001600160a01b031633148061472457506004546001600160a01b031633145b8061473957506002546001600160a01b031633145b61474257600080fd5b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b60005460ff16156147a8576040805162461bcd60e51b8152602060048201526009602482015268696e697420646f6e6560b81b604482015290519081900360640190fd5b8f600760006101000a8154816001600160a01b0302191690836001600160a01b031602179055508e600860006101000a8154816001600160a01b0302191690836001600160a01b031602179055508d600060016101000a8154816001600160a01b0302191690836001600160a01b031602179055508c600260006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b6009819055508a600a8190555089600b8190555088600c8190555087600f8190555086601081905550856011819055508460128190555082600d8190555081600e819055508360138190555080601d90805190602001906148a7929190615df2565b50506000805460ff19166001179055505050505050505050505050505050565b600060606148d5858561406d565b905060006028826040518082805190602001908083835b6020831061490b5780518252601f1990920191602091820191016148ec565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054151591506149a89050576027826040518082805190602001908083835b602083106149735780518252601f199092019160209182019101614954565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150614a0a9050565b6028826040518082805190602001908083835b602083106149da5780518252601f1990920191602091820191016149bb565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b9050614a168686613d12565b15614a2657600092505050613795565b43841115614a3957600092505050613795565b80614a4957600092505050613795565b80841015614a5c57600092505050613795565b601c54614a6e57600092505050613795565b6025826040518082805190602001908083835b60208310614aa05780518252601f199092019160209182019101614a81565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150508015614b3f57506024826040518082805190602001908083835b60208310614b0b5780518252601f199092019160209182019101614aec565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b15614b4f57600092505050613795565b60006025836040518082805190602001908083835b60208310614b835780518252601f199092019160209182019101614b64565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614bc2905057600b54614bc6565b6009545b905060006025846040518082805190602001908083835b60208310614bfc5780518252601f199092019160209182019101614bdd565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614c3b905057600c54614c3f565b600a545b905060006025856040518082805190602001908083835b60208310614c755780518252601f199092019160209182019101614c56565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614cb4905057602c54614cb8565b602a545b905060006025866040518082805190602001908083835b60208310614cee5780518252601f199092019160209182019101614ccf565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614d2d905057602d54614d31565b602b545b602f549091506000906001600160a01b0316614d4e576000614de5565b602f546040805163b07d9cbb60e01b81526001600160a01b038e811660048301526001600160801b038e166024830152604482018a9052606482018d90529151919092169163b07d9cbb916084808301926020929190829003018186803b158015614db857600080fd5b505afa158015614dcc573d6000803e3d6000fd5b505050506040513d6020811015614de257600080fd5b50515b9050614def615e70565b614dfc87602e548c615d41565b90506000808611614e0e576000614e25565b614e25866123b2898560005b60200201519061563d565b90506000808511614e37576000614e47565b614e47856123b288866001614e1a565b90506000614e5985613e9185856155e3565b60345490915015614fa35760345460358c6040518082805190602001908083835b60208310614e995780518252601f199092019160209182019101614e7a565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405180910390205410614ee65760009b505050505050505050505050613795565b603454614f1e8260358e604051808280519060200190808383602083106124bd5780518252601f19909201916020918201910161249e565b1115614fa357614f9160358c6040518082805190602001908083835b60208310614f595780518252601f199092019160209182019101614f3a565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054603454925090506158d6565b9b505050505050505050505050613795565b9e9d5050505050505050505050505050565b60005461010090046001600160a01b0316331480614fdd57506005546001600160a01b031633145b80614ff257506002546001600160a01b031633145b614ffb57600080fd5b603355565b602d5481565b6001600160a01b03811661501957600080fd5b6002546001600160a01b0316331461503057600080fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061507a57506005546001600160a01b031633145b8061508f57506002546001600160a01b031633145b61509857600080fd5b602a859055602b849055602c839055602d829055806150b757436150b9565b805b602e555050505050565b6002546001600160a01b03163314615113576040805162461bcd60e51b815260206004820152600e60248201526d3737ba1039bab832b920b236b4b760911b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160278252928201919093012091525481565b600b5481565b60105481565b60008060015b6001600160a01b0385166000908152602960205260409020546001600160801b03908116908216116151be576151b46151ad8683600088116151a657436151a8565b875b6148c7565b83906155e3565b9150600101615164565b509392505050565b6004546001600160a01b031681565b601c5481565b6031546001600160801b031681565b6008546001600160a01b031681565b60005461010090046001600160a01b031633148061522157506005546001600160a01b031633145b8061523657506002546001600160a01b031633145b61523f57600080fd5b602055565b601d805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156152ca5780601f1061529f576101008083540402835291602001916152ca565b820191906000526020600020905b8154815290600101906020018083116152ad57829003601f168201915b505050505081565b6003546001600160a01b0316331480156152eb57503315155b615334576040805162461bcd60e51b81526020600482015260156024820152743737ba103832b73234b733a9bab832b920b236b4b760591b604482015290519081900360640190fd5b60038054600280546001600160a01b03199081166001600160a01b03841617909155169055565b60005461010090046001600160a01b031633148061538357506005546001600160a01b031633145b8061539857506002546001600160a01b031633145b6153a157600080fd5b600081116153ae57600080fd5b601355565b602b5481565b60006153fb60135460276153cd868661406d565b604051808280519060200190808383602083106124bd5780518252601f19909201916020918201910161249e565b43119392505050565b60325481565b60005461010090046001600160a01b031633148061543257506005546001600160a01b031633145b8061544757506002546001600160a01b031633145b61545057600080fd5b601155565b6002546001600160a01b0316331461546c57600080fd5b6000811161547957600080fd5b8060145410156154bd576040805162461bcd60e51b815260206004820152600a6024820152690dcdee840cadcdeeaced60b31b604482015290519081900360640190fd5b6014546154ca90826158d6565b6014556007546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561552357600080fd5b505af1158015615537573d6000803e3d6000fd5b505050506040513d602081101561554d57600080fd5b5051615592576040805162461bcd60e51b815260206004820152600f60248201526e1d1c985b9cd9995c8819985a5b1959608a1b604482015290519081900360640190fd5b5050565b60005461010090046001600160a01b031681565b6036602052600090815260409020546001600160801b031681565b60005460ff1681565b60196020526000908152604090205460ff1681565b600082820183811015613795576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b60008261564c57506000612ec2565b8282028284828161565957fe5b04146137955760405162461bcd60e51b8152600401808060200182810382526021815260200180615ea46021913960400191505060405180910390fd5b60008082116156ec576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b8183816156f557fe5b049392505050565b6060615709858561406d565b90506035816040518082805190602001908083835b6020831061573d5780518252601f19909201916020918201910161571e565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054159150615778905057506158d0565b60006157d186868660405160200180846001600160a01b031660601b8152601401836001600160801b031660801b8152601001828152602001935050505060405160208183030381529060405280519060200120615a13565b905060006157df8285614346565b6000549091506001600160a01b0380831661010090920416148061581057506005546001600160a01b038281169116145b8061582857506002546001600160a01b038281169116145b615868576040805162461bcd60e51b815260206004820152600c60248201526b3bb937b7339039b4b3b732b960a11b604482015290519081900360640190fd5b846035846040518082805190602001908083835b6020831061589b5780518252601f19909201916020918201910161587c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550505050505b50505050565b60008282111561592d576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b8047101561597f576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b6040516000906001600160a01b0384169083908381818185875af1925050503d80600081146159ca576040519150601f19603f3d011682016040523d82523d6000602084013e6159cf565b606091505b5050905080611e34576040805162461bcd60e51b815260206004820152600b60248201526a1cd95b990819985a5b195960aa1b604482015290519081900360640190fd5b604080517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602080830191909152603c8083019490945282518083039094018452605c909101909152815191012090565b600080333014615a745733615a76565b325b90506060615a84828661406d565b90506000615a928387613d12565b158015615aa65750615aa48387612fcd565b155b15615bf1576000615aca600e546123b2600d54615ac4888c8c6148c7565b9061563d565b604080516303a9ea6d60e01b81526001600160801b038a16600482015260248101899052600060448201819052606482015260a06084820152600360a48201526203078360ec1b60c4820152905191925030916303a9ea6d91849160e480830192602092919082900301818588803b158015615b4557600080fd5b505af1158015615b59573d6000803e3d6000fd5b50505050506040513d6020811015615b7057600080fd5b5051602f54604080516324bb0ea360e21b81526001600160a01b0388811660048301526001600160801b038c16602483015230604483015291519395509116916392ec3a8c9160648082019260009290919082900301818387803b158015615bd757600080fd5b505af1158015615beb573d6000803e3d6000fd5b50505050505b604080516001600160801b03881681526001602082015281516001600160a01b038616927f390abd1e199a3250f7e2b739ddde05005ee352555c4865667432651e07162056928290030190a260006027836040518082805190602001908083835b60208310615c715780518252601f199092019160209182019101615c52565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810184209490945550508351600092602892869290918291908401908083835b60208310615cd75780518252601f199092019160209182019101615cb8565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550909695505050505050565b60008060008351604114615d2557600080fd5b5050506020810151604082015160609092015160001a92909190565b615d49615e70565b818410615d6a57506040805180820190915260008082526020820152613795565b8282111580615d77575082155b15615da2576040805180820190915280615d9184876158d6565b815260200160008152509050613795565b828410615dce57604080518082019091526000815260208101615dc584876158d6565b90529050613795565b6040805180820190915280615de385876158d6565b8152602001615dc584866158d6565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615e3357805160ff1916838001178555615e60565b82800160010185558215615e60579182015b82811115615e60578251825591602001919060010190615e45565b50615e6c929150615e8e565b5090565b60405180604001604052806002906020820280368337509192915050565b5b80821115615e6c5760008155600101615e8f56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122008b7b2a14c53de9996965382c037ba6de1925426db928bb74ace7a6e014b776964736f6c634300060c0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.