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 | 13263849 | 1161 days ago | IN | 0 ETH | 0.74833746 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ServiceV15
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 "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./interfaces/StrongPoolInterface.sol"; import "./interfaces/IERC1155Preset.sol"; import "./interfaces/StrongNFTBonusInterface.sol"; import "./lib/rewards.sol"; contract ServiceV15 { 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); 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 ) public { 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) public { require(msg.sender == superAdmin); serviceAdmin = newServiceAdmin; } function updateParameterAdmin(address newParameterAdmin) public { require(newParameterAdmin != address(0)); require(msg.sender == superAdmin); parameterAdmin = newParameterAdmin; } function updateFeeCollector(address payable newFeeCollector) public { require(newFeeCollector != address(0)); require(msg.sender == superAdmin); feeCollector = newFeeCollector; } function setPendingAdmin(address newPendingAdmin) public { require(msg.sender == admin); pendingAdmin = newPendingAdmin; } function acceptAdmin() public { require(msg.sender == pendingAdmin && msg.sender != address(0), "not pendingAdmin"); admin = pendingAdmin; pendingAdmin = address(0); } function setPendingSuperAdmin(address newPendingSuperAdmin) public { require(msg.sender == superAdmin, "not superAdmin"); pendingSuperAdmin = newPendingSuperAdmin; } function acceptSuperAdmin() public { require(msg.sender == pendingSuperAdmin && msg.sender != address(0), "not pendingSuperAdmin"); superAdmin = pendingSuperAdmin; pendingSuperAdmin = address(0); } function isEntityActive(address entity) public view returns (bool) { return entityActive[entity] || (doesNodeExist(entity, 1) && !hasNodeExpired(entity, 1)); } function updateRewardPerBlock(uint256 numerator, uint256 denominator) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(denominator != 0); rewardPerBlockNumerator = numerator; rewardPerBlockDenominator = denominator; } function updateNaaSRewardPerBlock(uint256 numerator, uint256 denominator) public { 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 ) public { 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) public { require(msg.sender == superAdmin); require(amount > 0); strongToken.transferFrom(msg.sender, address(this), amount); rewardBalance = rewardBalance.add(amount); } function withdraw(address destination, uint256 amount) public { require(msg.sender == superAdmin); require(amount > 0); require(rewardBalance >= amount, "not enough"); strongToken.transfer(destination, amount); rewardBalance = rewardBalance.sub(amount); } function updateRequestingFee(uint256 feeInWei) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); requestingFeeInWei = feeInWei; } function updateStrongFee(uint256 feeInWei) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); strongFeeInWei = feeInWei; } function updateNaasRequestingFee(uint256 feeInWei) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); naasRequestingFeeInWei = feeInWei; } function updateNaasStrongFee(uint256 feeInWei) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); naasStrongFeeInWei = feeInWei; } function updateClaimingFee(uint256 numerator, uint256 denominator) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(denominator != 0); claimingFeeNumerator = numerator; claimingFeeDenominator = denominator; } function updateRecurringFee(uint256 feeInWei) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); recurringFeeInWei = feeInWei; } function updateRecurringNaaSFee(uint256 feeInWei) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); recurringNaaSFeeInWei = feeInWei; } function updateRecurringPaymentCycleInBlocks(uint256 blocks) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(blocks > 0); recurringPaymentCycleInBlocks = blocks; } function updateGracePeriodInBlocks(uint256 blocks) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); require(blocks > 0); gracePeriodInBlocks = blocks; } function requestAccess(bool isNaaS) public payable { require(entityNodeCount[msg.sender] < maxNodes, "limit reached"); uint256 rFee; uint256 sFee; if (hasLegacyNode(msg.sender)) { migrateLegacyNode(msg.sender); } 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; feeCollector.transfer(msg.value); strongToken.transferFrom(msg.sender, address(this), sFee); strongToken.transfer(feeCollector, sFee); emit Paid(msg.sender, nodeId, entityNodeIsBYON[id], false, entityNodePaidOnBlock[id].add(recurringPaymentCycleInBlocks)); } function setEntityActiveStatus(address entity, bool status) public { 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) public payable { address sender = msg.sender == address(this) ? tx.origin : msg.sender; bytes memory id = getNodeId(sender, nodeId); if (hasLegacyNode(sender)) { migrateLegacyNode(sender); } require(doesNodeExist(sender, nodeId), "doesnt exist"); require(hasNodeExpired(sender, nodeId) == false, "too late"); require(hasMaxPayments(sender, nodeId) == false, "too soon"); if (entityNodeIsBYON[id]) { require(msg.value == recurringFeeInWei, "invalid fee"); } else { require(msg.value == recurringNaaSFeeInWei, "invalid fee"); } feeCollector.transfer(msg.value); entityNodePaidOnBlock[id] = entityNodePaidOnBlock[id].add(recurringPaymentCycleInBlocks); emit Paid(sender, nodeId, entityNodeIsBYON[id], true, entityNodePaidOnBlock[id]); } function getReward(address entity, uint128 nodeId) public 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); if (hasLegacyNode(entity)) { return getRewardByBlockLegacy(entity, blockNumber); } uint256 blockLastClaimedOn = entityNodeClaimedOnBlock[id] != 0 ? entityNodeClaimedOnBlock[id] : entityNodePaidOnBlock[id]; 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; return rewardOld.add(rewardNew).add(bonus); } function getRewardByBlockLegacy(address entity, uint256 blockNumber) public view returns (uint256) { if (blockNumber > block.number) return 0; if (entityBlockLastClaimedOn[entity] == 0) return 0; if (blockNumber < entityBlockLastClaimedOn[entity]) return 0; if (activeEntities == 0) return 0; uint256 blockResult = blockNumber.sub(entityBlockLastClaimedOn[entity]); uint256 rewardNumerator; uint256 rewardDenominator; if (entityIsNaaS[entity]) { rewardNumerator = naasRewardPerBlockNumerator; rewardDenominator = naasRewardPerBlockDenominator; } else { rewardNumerator = rewardPerBlockNumerator; rewardDenominator = rewardPerBlockDenominator; } uint256 rewardPerBlockResult = blockResult.mul(rewardNumerator).div(rewardDenominator); return rewardPerBlockResult; } function claim(uint128 nodeId, uint256 blockNumber, bool toStrongPool) public payable returns (bool) { address sender = msg.sender == address(this) || msg.sender == address(strongNFTBonus) ? tx.origin : msg.sender; bytes memory id = getNodeId(sender, nodeId); if (hasLegacyNode(sender)) { migrateLegacyNode(sender); } 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); require(reward > 0, "no reward"); uint256 fee = reward.mul(claimingFeeNumerator).div(claimingFeeDenominator); require(msg.value >= fee, "invalid fee"); feeCollector.transfer(msg.value); if (toStrongPool) { strongToken.approve(address(strongPool), reward); strongPool.mineFor(sender, reward); } else { strongToken.transfer(sender, reward); } rewardBalance = rewardBalance.sub(reward); entityNodeClaimedOnBlock[id] = blockNumber; emit Claimed(sender, reward); return true; } 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]; return block.number > blockLastPaidOn.add(recurringPaymentCycleInBlocks).add(gracePeriodInBlocks); } 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) public view returns (uint256) { bytes memory id = getNodeId(entity, nodeId); return entityNodePaidOnBlock[id]; } function isNodeActive(address entity, uint128 nodeId) public 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 hasLegacyNode(address entity) public view returns (bool) { return entityActive[entity] && entityNodeCount[entity] == 0; } function approveBYONNode(address entity, uint128 nodeId) public { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); bytes memory id = getNodeId(entity, nodeId); entityNodeIsActive[id] = true; entityNodeClaimedOnBlock[id] = block.number; activeEntities = activeEntities.add(1); } function suspendBYONNode(address entity, uint128 nodeId) public { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); bytes memory id = getNodeId(entity, nodeId); entityNodeIsActive[id] = false; activeEntities = activeEntities.sub(1); } function setNodeIsActive(address entity, uint128 nodeId, bool isActive) public { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); bytes memory id = getNodeId(entity, nodeId); if (isActive && !entityNodeIsActive[id]) { activeEntities = activeEntities.add(1); entityNodeClaimedOnBlock[id] = block.number; } if (!isActive && entityNodeIsActive[id]) { activeEntities = activeEntities.sub(1); } entityNodeIsActive[id] = isActive; } function setNodeIsNaaS(address entity, uint128 nodeId, bool isNaaS) public { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); bytes memory id = getNodeId(entity, nodeId); entityNodeIsBYON[id] = !isNaaS; } function migrateLegacyNode(address entity) private { bytes memory id = getNodeId(entity, 1); entityNodeClaimedOnBlock[id] = entityBlockLastClaimedOn[entity]; entityNodePaidOnBlock[id] = paidOnBlock[entity]; entityNodeIsBYON[id] = !entityIsNaaS[entity]; if (entityNodeIsBYON[id]) { entityNodeIsActive[id] = true; } entityNodeCount[msg.sender] = 1; } function migrateNode(uint128 nodeId, address to) public { if (hasLegacyNode(msg.sender)) { migrateLegacyNode(msg.sender); } if (hasLegacyNode(to)) { migrateLegacyNode(to); } require(doesNodeExist(msg.sender, nodeId), "doesnt exist"); uint128 toNodeId = entityNodeCount[to] + 1; bytes memory fromId = getNodeId(msg.sender, nodeId); bytes memory toId = getNodeId(to, toNodeId); // move node to another address entityNodeIsActive[toId] = entityNodeIsActive[fromId]; entityNodeIsBYON[toId] = entityNodeIsBYON[fromId]; entityNodePaidOnBlock[toId] = entityNodePaidOnBlock[fromId]; entityNodeClaimedOnBlock[toId] = entityNodeClaimedOnBlock[fromId]; entityNodeCount[to] = entityNodeCount[to] + 1; // deactivate node entityNodeIsActive[fromId] = false; entityNodePaidOnBlock[fromId] = 0; entityNodeClaimedOnBlock[fromId] = 0; entityNodeCount[msg.sender] = entityNodeCount[msg.sender] - 1; emit Migrated(msg.sender, to, nodeId, toNodeId, entityNodeIsBYON[fromId]); } function claimAll(uint256 blockNumber, bool toStrongPool) public payable { uint256 value = msg.value; for (uint16 i = 1; i <= entityNodeCount[msg.sender]; i++) { uint256 reward = getRewardByBlock(msg.sender, i, blockNumber); uint256 fee = reward.mul(claimingFeeNumerator).div(claimingFeeDenominator); require(value >= fee, "invalid fee"); require(this.claim{value : fee}(i, blockNumber, toStrongPool), "claim failed"); value = value.sub(fee); } } function payAll(uint256 nodeCount) public payable { require(nodeCount > 0, "invalid value"); require(msg.value == recurringNaaSFeeInWei.mul(nodeCount), "invalid fee"); for (uint16 nodeId = 1; nodeId <= entityNodeCount[msg.sender]; nodeId++) { if (!canBePaid(msg.sender, nodeId)) { continue; } this.payFee{value : recurringNaaSFeeInWei}(nodeId); nodeCount = nodeCount.sub(1); } require(nodeCount == 0, "invalid count"); } function addNFTBonusContract(address _contract) public { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); strongNFTBonus = StrongNFTBonusInterface(_contract); } function disableNodeAdmin(address entity, uint128 nodeId) public { require(msg.sender == admin || msg.sender == serviceAdmin || msg.sender == superAdmin); bytes memory id = getNodeId(entity, nodeId); entityNodePaidOnBlock[id] = 0; emit Deactivated(entity, nodeId, entityNodeIsBYON[id], block.number); } function updateLimits(uint128 _maxNodes, uint256 _maxPaymentPeriods) public { require(msg.sender == admin || msg.sender == parameterAdmin || msg.sender == superAdmin); maxNodes = _maxNodes; maxPaymentPeriods = _maxPaymentPeriods; } }
// 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 <0.8.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; interface StrongPoolInterface { function mineFor(address miner, uint256 amount) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.6.2; /** * @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; interface StrongNFTBonusInterface { function getBonus(address _entity, uint128 _nodeId, uint256 _fromBlock, uint256 _toBlock) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.6.12; import "@openzeppelin/contracts/math/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", "abi" ] } }, "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":"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":"approveBYONNode","outputs":[],"stateMutability":"nonpayable","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"}],"name":"claim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bool","name":"toStrongPool","type":"bool"}],"name":"claimAll","outputs":[],"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":"address","name":"","type":"address"}],"name":"entityNodeCount","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":"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":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getRewardByBlockLegacy","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"}],"name":"hasLegacyNode","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"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":"uint128","name":"nodeId","type":"uint128"},{"internalType":"address","name":"to","type":"address"}],"name":"migrateNode","outputs":[],"stateMutability":"nonpayable","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":[{"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":"uint256","name":"nodeCount","type":"uint256"}],"name":"payAll","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint128","name":"nodeId","type":"uint128"}],"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":[],"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":"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":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"},{"internalType":"bool","name":"isActive","type":"bool"}],"name":"setNodeIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"},{"internalType":"bool","name":"isNaaS","type":"bool"}],"name":"setNodeIsNaaS","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":[],"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":"entity","type":"address"},{"internalType":"uint128","name":"nodeId","type":"uint128"}],"name":"suspendBYONNode","outputs":[],"stateMutability":"nonpayable","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":"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":"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"}]
Contract Creation Code
608060405234801561001057600080fd5b50615c6580620000216000396000f3fe6080604052600436106105c45760003560e01c80638aa9a37f116102f3578063cff6e51f1161019b578063e195232e116100e7578063f28b039e116100a0578063f851a4401161007a578063f851a44014611996578063fc6ccdb5146119ab578063fed0a20e146119ed578063ffbb698914611a02576105c4565b8063f28b039e1461191e578063f3368f9014611933578063f3fef3a31461195d576105c4565b8063e195232e14611876578063e4ae0c8a1461188b578063e603c270146118b5578063e7f9cefd146118ca578063e877db1a146118df578063ed5998da14611909576105c4565b8063d4bd894711610154578063da7169b31161012e578063da7169b3146117fe578063da998dca14611837578063dc0bbf081461184c578063ddf0185f14611861576105c4565b8063d4bd894714611792578063d95210d0146117d4578063d9df77de146117e9576105c4565b8063cff6e51f14611607578063d2c35ce81461161c578063d38f887e1461164f578063d39ca7de14611691578063d48ba486146116c4578063d4aadbc614611775576105c4565b8063ad0279a71161025a578063c2b2fdca11610213578063c4ac59b2116101ed578063c4ac59b214611453578063c5a2928b14611468578063c723143f1461149b578063c8b81e15146115bf576105c4565b8063c2b2fdca14611414578063c3d5864f14611429578063c415b95c1461143e576105c4565b8063ad0279a714611294578063ad553eef14611345578063ae749c4214611378578063b021465f146113a2578063b6b55f25146113d5578063c0f0622d146113ff576105c4565b806398b40442116102ac57806398b404421461110d57806399e6f700146111be5780639edb4fb7146111d3578063a77e2825146111fd578063a978dab71461124c578063aa5c3ab41461127f576105c4565b80638aa9a37f1461104e5780638ac2f9dd1461107e5780638d0c479b146110b95780639162c594146110ce5780639548f1e6146110e3578063965d61b9146110f8576105c4565b806334dce6b31161047157806367cb6526116103bd578063798f991c116103765780637c05d6d8116103505780637c05d6d814610ebc5780638123fdbb14610f6d578063857d49d51461102457806387f48f4e14611039576105c4565b8063798f991c14610e335780637a5d5cf414610e7d5780637ba9092814610e92576105c4565b806367cb652614610d4057806368acd04214610d555780636c52ec1014610d6a5780636f30015514610dac5780636f36c10c14610dc1578063778824a514610df1576105c4565b80634c359aeb1161042a5780634eba71cd116104045780634eba71cd14610c955780635c4f18fa14610caa578063623ef91014610cec5780636331883b14610d16576105c4565b80634c359aeb14610bfc5780634c8024cc14610c2f5780634dd18bf514610c62576105c4565b806334dce6b314610ae15780633839239514610b1457806339941fa414610b3e5780633bb58b6714610b7257806340b584b414610bb457806348028d6314610be7576105c4565b80631d851bbd1161053057806328333d15116104e95780632fc29e0e116104c35780632fc29e0e146109eb57806330fd63b614610a2d578063326f107314610a6657806332fc530e14610a9f576105c4565b806328333d151461095957806329575f6a146109a35780632b6b66bb146109b8576105c4565b80631d851bbd1461080b578063255ebc8d14610820578063266655621461086257806326782247146108a4578063268e5e4f146108d5578063272dff7314610917576105c4565b80630f694584116105825780630f694584146106c25780630fe48b36146106e85780631585dc28146106fd57806316f28a2a14610712578063198858981461074557806319a1f5ae1461075a576105c4565b8062a46917146105c957806301c0775c146105f057806305eec2891461063757806309a07fd2146106565780630a8d1be21461067d5780630e18b681146106ad575b600080fd5b6105ee600480360360408110156105df57600080fd5b50803590602001351515611a35565b005b3480156105fc57600080fd5b506106236004803603602081101561061357600080fd5b50356001600160a01b0316611bb4565b604080519115158252519081900360200190f35b6105ee6004803603602081101561064d57600080fd5b50351515611c01565b34801561066257600080fd5b5061066b612100565b60408051918252519081900360200190f35b34801561068957600080fd5b506105ee600480360360408110156106a057600080fd5b5080359060200135612106565b3480156106b957600080fd5b506105ee612161565b6105ee600480360360208110156106d857600080fd5b50356001600160801b03166121f0565b3480156106f457600080fd5b5061066b6125f5565b34801561070957600080fd5b5061066b6125fb565b34801561071e57600080fd5b506106236004803603602081101561073557600080fd5b50356001600160a01b0316612601565b34801561075157600080fd5b5061066b612616565b34801561076657600080fd5b5061066b6004803603602081101561077d57600080fd5b810190602081018135600160201b81111561079757600080fd5b8201836020820111156107a957600080fd5b803590602001918460018302840111600160201b831117156107ca57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061261c945050505050565b34801561081757600080fd5b5061066b612639565b34801561082c57600080fd5b506106236004803603604081101561084357600080fd5b5080356001600160a01b031690602001356001600160801b031661263f565b34801561086e57600080fd5b506106236004803603604081101561088557600080fd5b5080356001600160a01b031690602001356001600160801b03166126f6565b3480156108b057600080fd5b506108b9612774565b604080516001600160a01b039092168252519081900360200190f35b3480156108e157600080fd5b5061066b600480360360408110156108f857600080fd5b5080356001600160a01b031690602001356001600160801b0316612783565b34801561092357600080fd5b506106236004803603604081101561093a57600080fd5b5080356001600160a01b031690602001356001600160801b03166127fb565b34801561096557600080fd5b506105ee6004803603606081101561097c57600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001351515612876565b3480156109af57600080fd5b506108b9612ab1565b3480156109c457600080fd5b5061066b600480360360208110156109db57600080fd5b50356001600160a01b0316612ac0565b3480156109f757600080fd5b506105ee60048036036040811015610a0e57600080fd5b5080356001600160a01b031690602001356001600160801b0316612ad2565b348015610a3957600080fd5b5061066b60048036036040811015610a5057600080fd5b506001600160a01b038135169060200135612c12565b348015610a7257600080fd5b506105ee60048036036040811015610a8957600080fd5b506001600160801b038135169060200135612cfc565b348015610aab57600080fd5b506105ee60048036036040811015610ac257600080fd5b5080356001600160a01b031690602001356001600160801b0316612d68565b348015610aed57600080fd5b5061062360048036036020811015610b0457600080fd5b50356001600160a01b0316612ede565b348015610b2057600080fd5b506105ee60048036036020811015610b3757600080fd5b5035612f24565b61062360048036036060811015610b5457600080fd5b506001600160801b0381351690602081013590604001351515612f6f565b348015610b7e57600080fd5b5061066b60048036036040811015610b9557600080fd5b5080356001600160a01b031690602001356001600160801b0316613795565b348015610bc057600080fd5b506105ee60048036036020811015610bd757600080fd5b50356001600160a01b03166137a2565b348015610bf357600080fd5b506108b96137ee565b348015610c0857600080fd5b5061066b60048036036020811015610c1f57600080fd5b50356001600160a01b03166137fd565b348015610c3b57600080fd5b5061066b60048036036020811015610c5257600080fd5b50356001600160a01b031661380f565b348015610c6e57600080fd5b506105ee60048036036020811015610c8557600080fd5b50356001600160a01b0316613821565b348015610ca157600080fd5b5061066b61385f565b348015610cb657600080fd5b5061062360048036036040811015610ccd57600080fd5b5080356001600160a01b031690602001356001600160801b0316613865565b348015610cf857600080fd5b506105ee60048036036020811015610d0f57600080fd5b503561389e565b348015610d2257600080fd5b506108b960048036036020811015610d3957600080fd5b50356138e9565b348015610d4c57600080fd5b5061066b613910565b348015610d6157600080fd5b5061066b613916565b348015610d7657600080fd5b5061062360048036036040811015610d8d57600080fd5b5080356001600160a01b031690602001356001600160801b031661391c565b348015610db857600080fd5b5061066b6139b8565b348015610dcd57600080fd5b506105ee60048036036040811015610de457600080fd5b50803590602001356139be565b348015610dfd57600080fd5b5061062360048036036040811015610e1457600080fd5b5080356001600160a01b031690602001356001600160801b0316613a19565b348015610e3f57600080fd5b506105ee60048036036060811015610e5657600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001351515613b02565b348015610e8957600080fd5b5061066b613b89565b348015610e9e57600080fd5b506105ee60048036036020811015610eb557600080fd5b5035613b8f565b348015610ec857600080fd5b5061066b60048036036020811015610edf57600080fd5b810190602081018135600160201b811115610ef957600080fd5b820183602082011115610f0b57600080fd5b803590602001918460018302840111600160201b83111715610f2c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613be7945050505050565b348015610f7957600080fd5b50610faf60048036036040811015610f9057600080fd5b5080356001600160a01b031690602001356001600160801b0316613c04565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610fe9578181015183820152602001610fd1565b50505050905090810190601f1680156110165780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561103057600080fd5b506108b9613c8e565b34801561104557600080fd5b5061066b613c9d565b34801561105a57600080fd5b506105ee6004803603604081101561107157600080fd5b5080359060200135613ca3565b34801561108a57600080fd5b506105ee600480360360408110156110a157600080fd5b506001600160a01b0381351690602001351515613cfe565b3480156110c557600080fd5b5061066b613eb6565b3480156110da57600080fd5b5061066b613ebc565b3480156110ef57600080fd5b506108b9613ec2565b34801561110457600080fd5b506108b9613ed1565b34801561111957600080fd5b506106236004803603602081101561113057600080fd5b810190602081018135600160201b81111561114a57600080fd5b82018360208201111561115c57600080fd5b803590602001918460018302840111600160201b8311171561117d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613ee0945050505050565b3480156111ca57600080fd5b5061066b613f00565b3480156111df57600080fd5b506105ee600480360360208110156111f657600080fd5b5035613f06565b34801561120957600080fd5b506112306004803603602081101561122057600080fd5b50356001600160a01b0316613f51565b604080516001600160801b039092168252519081900360200190f35b34801561125857600080fd5b5061066b6004803603602081101561126f57600080fd5b50356001600160a01b0316613f6c565b34801561128b57600080fd5b5061066b613f7e565b3480156112a057600080fd5b50610623600480360360208110156112b757600080fd5b810190602081018135600160201b8111156112d157600080fd5b8201836020820111156112e357600080fd5b803590602001918460018302840111600160201b8311171561130457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613f84945050505050565b34801561135157600080fd5b506105ee6004803603602081101561136857600080fd5b50356001600160a01b0316613fa4565b34801561138457600080fd5b506105ee6004803603602081101561139b57600080fd5b5035613fdd565b3480156113ae57600080fd5b50610623600480360360208110156113c557600080fd5b50356001600160a01b0316614028565b3480156113e157600080fd5b506105ee600480360360208110156113f857600080fd5b503561403d565b34801561140b57600080fd5b506106236140fa565b34801561142057600080fd5b5061066b614103565b34801561143557600080fd5b5061066b614109565b34801561144a57600080fd5b506108b961410f565b34801561145f57600080fd5b5061066b61411e565b34801561147457600080fd5b506105ee6004803603602081101561148b57600080fd5b50356001600160a01b0316614124565b3480156114a757600080fd5b506105ee60048036036102008110156114bf57600080fd5b6001600160a01b038235811692602081013582169260408201358316926060830135169160808101359160a08201359160c08101359160e08201359161010081013591610120820135916101408101359161016082013591610180810135916101a0820135916101c08101359181019061020081016101e0820135600160201b81111561154b57600080fd5b82018360208201111561155d57600080fd5b803590602001918460018302840111600160201b8311171561157e57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061418c945050505050565b3480156115cb57600080fd5b5061066b600480360360608110156115e257600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001356142ef565b34801561161357600080fd5b5061066b614897565b34801561162857600080fd5b506105ee6004803603602081101561163f57600080fd5b50356001600160a01b031661489d565b34801561165b57600080fd5b506105ee600480360360a081101561167257600080fd5b50803590602081013590604081013590606081013590608001356148e9565b34801561169d57600080fd5b506105ee600480360360208110156116b457600080fd5b50356001600160a01b031661495a565b3480156116d057600080fd5b5061066b600480360360208110156116e757600080fd5b810190602081018135600160201b81111561170157600080fd5b82018360208201111561171357600080fd5b803590602001918460018302840111600160201b8311171561173457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506149cc945050505050565b6105ee6004803603602081101561178b57600080fd5b50356149e9565b34801561179e57600080fd5b506105ee600480360360408110156117b557600080fd5b5080356001600160801b031690602001356001600160a01b0316614b84565b3480156117e057600080fd5b5061066b6151d9565b3480156117f557600080fd5b5061066b6151df565b34801561180a57600080fd5b5061066b6004803603604081101561182157600080fd5b506001600160a01b0381351690602001356151e5565b34801561184357600080fd5b506108b961524d565b34801561185857600080fd5b5061066b61525c565b34801561186d57600080fd5b50611230615262565b34801561188257600080fd5b506108b9615271565b34801561189757600080fd5b506105ee600480360360208110156118ae57600080fd5b5035615280565b3480156118c157600080fd5b50610faf6152cb565b3480156118d657600080fd5b506105ee615359565b3480156118eb57600080fd5b506105ee6004803603602081101561190257600080fd5b50356153e2565b34801561191557600080fd5b5061066b61543a565b34801561192a57600080fd5b5061066b615440565b34801561193f57600080fd5b506105ee6004803603602081101561195657600080fd5b5035615446565b34801561196957600080fd5b506105ee6004803603604081101561198057600080fd5b506001600160a01b038135169060200135615491565b3480156119a257600080fd5b506108b961558f565b3480156119b757600080fd5b506105ee600480360360408110156119ce57600080fd5b5080356001600160a01b031690602001356001600160801b03166155a3565b3480156119f957600080fd5b50610623615676565b348015611a0e57600080fd5b5061062360048036036020811015611a2557600080fd5b50356001600160a01b031661567f565b3460015b336000908152602960205260409020546001600160801b031661ffff821611611bae576000611a6d338361ffff16876142ef565b90506000611a92600e54611a8c600d548561569490919063ffffffff16565b906156ed565b905080841015611ad7576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b60408051630e6507e960e21b815261ffff85166004820152602481018890528615156044820152905130916339941fa491849160648082019260209290919082900301818588803b158015611b2b57600080fd5b505af1158015611b3f573d6000803e3d6000fd5b50505050506040513d6020811015611b5657600080fd5b5051611b98576040805162461bcd60e51b815260206004820152600c60248201526b18db185a5b4819985a5b195960a21b604482015290519081900360640190fd5b611ba28482615754565b93505050600101611a39565b50505050565b6001600160a01b03811660009081526018602052604081205460ff168015611bfb57506001600160a01b0382166000908152602960205260409020546001600160801b0316155b92915050565b603154336000908152602960205260409020546001600160801b03918216911610611c63576040805162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b604482015290519081900360640190fd5b600080611c6f33611bb4565b15611c7d57611c7d336157b1565b336000818152602960205260409020546001600160801b031660010190606090611ca79083613c04565b90508415611cd057601f54602054601c549195509350611cc8906001615a52565b601c55611d4c565b600f549350601054925060016025826040518082805190602001908083835b60208310611d0e5780518252601f199092019160209182019101611cef565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505b833414611d8e576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b436027826040518082805190602001908083835b60208310611dc15780518252601f199092019160209182019101611da2565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082514392602892859290918291908401908083835b60208310611e265780518252601f199092019160209182019101611e07565b51815160001960209485036101000a0190811690199190911617905292019485525060408051948590038201852095909555336000908152602990915293842080546001600160801b03808216600101166001600160801b031990911617905550506006546001600160a01b0316913480156108fc02929091818181858888f19350505050158015611ebc573d6000803e3d6000fd5b50600754604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b158015611f1757600080fd5b505af1158015611f2b573d6000803e3d6000fd5b505050506040513d6020811015611f4157600080fd5b50506007546006546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018790529051919092169163a9059cbb9160448083019260209291908290030181600087803b158015611f9c57600080fd5b505af1158015611fb0573d6000803e3d6000fd5b505050506040513d6020811015611fc657600080fd5b5050604051815133917f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd0918591602591869190819060208401908083835b602083106120235780518252601f199092019160209182019101612004565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054601354895160ff90921695600095506120ca945090926027928b92918291908401908083835b602083106120945780518252601f199092019160209182019101612075565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054929150615a529050565b604080516001600160801b0390951685529215156020850152901515838301526060830152519081900360800190a25050505050565b600d5481565b60005461010090046001600160a01b031633148061212e57506005546001600160a01b031633145b8061214357506002546001600160a01b031633145b61214c57600080fd5b8061215657600080fd5b600991909155600a55565b6001546001600160a01b03163314801561217a57503315155b6121be576040805162461bcd60e51b815260206004820152601060248201526f3737ba103832b73234b733a0b236b4b760811b604482015290519081900360640190fd5b6001805460008054610100600160a81b0319166101006001600160a01b038416021790556001600160a01b0319169055565b60003330146121ff5733612201565b325b9050606061220f8284613c04565b905061221a82611bb4565b1561222857612228826157b1565b61223282846126f6565b612272576040805162461bcd60e51b815260206004820152600c60248201526b191bd95cdb9d08195e1a5cdd60a21b604482015290519081900360640190fd5b61227c828461391c565b156122b9576040805162461bcd60e51b8152602060048201526008602482015267746f6f206c61746560c01b604482015290519081900360640190fd5b6122c3828461263f565b15612300576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025816040518082805190602001908083835b602083106123325780518252601f199092019160209182019101612313565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff161591506123b390505760115434146123ae576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b6123f7565b60125434146123f7576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b6006546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015612430573d6000803e3d6000fd5b50612468601354602783604051808280519060200190808383602083106120945780518252601f199092019160209182019101612075565b6027826040518082805190602001908083835b6020831061249a5780518252601f19909201916020918201910161247b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038516927f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd092879260259287929182918401908083835b6020831061252a5780518252601f19909201916020918201910161250b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054885160ff9091169460019450602793508992909182918401908083835b602083106125925780518252601f199092019160209182019101612573565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b039098168552951515908401525050901515818301526060810192909252519081900360800190a2505050565b60135481565b601f5481565b60186020526000908152604090205460ff1681565b600a5481565b805160208183018101805160288252928201919093012091525481565b602e5481565b6000606061264d8484613c04565b905060006027826040518082805190602001908083835b602083106126835780518252601f199092019160209182019101612664565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054603254601354919450600093506126d292506126cb9190615694565b4390615a52565b9050806126ea60135484615a5290919063ffffffff16565b10159695505050505050565b600060606127048484613c04565b905060006027826040518082805190602001908083835b6020831061273a5780518252601f19909201916020918201910161271b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054929092119695505050505050565b6001546001600160a01b031681565b600060606127918484613c04565b90506027816040518082805190602001908083835b602083106127c55780518252601f1990920191602091820191016127a6565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549695505050505050565b600060606128098484613c04565b90506025816040518082805190602001908083835b6020831061283d5780518252601f19909201916020918201910161281e565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169695505050505050565b60005461010090046001600160a01b031633148061289e57506004546001600160a01b031633145b806128b357506002546001600160a01b031633145b6128bc57600080fd5b60606128c88484613c04565b905081801561293857506024816040518082805190602001908083835b602083106129045780518252601f1990920191602091820191016128e5565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b156129b657601c5461294b906001615a52565b601c81905550436028826040518082805190602001908083835b602083106129845780518252601f199092019160209182019101612965565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550505b81158015612a2457506024816040518082805190602001908083835b602083106129f15780518252601f1990920191602091820191016129d2565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150505b15612a3b57601c54612a37906001615754565b601c555b816024826040518082805190602001908083835b60208310612a6e5780518252601f199092019160209182019101612a4f565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff191693151593909317909255505050505050565b6002546001600160a01b031681565b60226020526000908152604090205481565b60005461010090046001600160a01b0316331480612afa57506004546001600160a01b031633145b80612b0f57506002546001600160a01b031633145b612b1857600080fd5b6060612b248383613c04565b905060016024826040518082805190602001908083835b60208310612b5a5780518252601f199092019160209182019101612b3b565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff191695151595909517909455505082514392602892859290918291908401908083835b60208310612bcb5780518252601f199092019160209182019101612bac565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929092555050601c54612c0a906001615a52565b601c55505050565b600043821115612c2457506000611bfb565b6001600160a01b038316600090815260156020526040902054612c4957506000611bfb565b6001600160a01b038316600090815260156020526040902054821015612c7157506000611bfb565b601c54612c8057506000611bfb565b6001600160a01b038316600090815260156020526040812054612ca4908490615754565b6001600160a01b0385166000908152601a602052604081205491925090819060ff1615612cd8575050600b54600c54612ce1565b5050600954600a545b6000612cf182611a8c8686615694565b979650505050505050565b60005461010090046001600160a01b0316331480612d2457506005546001600160a01b031633145b80612d3957506002546001600160a01b031633145b612d4257600080fd5b603180546001600160801b0319166001600160801b039390931692909217909155603255565b60005461010090046001600160a01b0316331480612d9057506004546001600160a01b031633145b80612da557506002546001600160a01b031633145b612dae57600080fd5b6060612dba8383613c04565b905060006027826040518082805190602001908083835b60208310612df05780518252601f199092019160209182019101612dd1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038616927f8f09ef60eb932f902f4199ddb720f587b53565a6a490484db1a653e85b799dc492869260259287929182918401908083835b60208310612e805780518252601f199092019160209182019101612e61565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b03909616855260ff9095161515908401525050438183015290519081900360600190a2505050565b6001600160a01b03811660009081526018602052604081205460ff1680611bfb5750612f0b8260016126f6565b8015611bfb5750612f1d82600161391c565b1592915050565b60005461010090046001600160a01b0316331480612f4c57506005546001600160a01b031633145b80612f6157506002546001600160a01b031633145b612f6a57600080fd5b601255565b60008033301480612f8a5750602f546001600160a01b031633145b612f945733612f96565b325b90506060612fa48287613c04565b9050612faf82611bb4565b15612fbd57612fbd826157b1565b60006028826040518082805190602001908083835b60208310612ff15780518252601f199092019160209182019101612fd2565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220541515915061308e9050576027826040518082805190602001908083835b602083106130595780518252601f19909201916020918201910161303a565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205491506130f09050565b6028826040518082805190602001908083835b602083106130c05780518252601f1990920191602091820191016130a1565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b905060006027836040518082805190602001908083835b602083106131265780518252601f199092019160209182019101613107565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490030190922054925050508161319a576040805162461bcd60e51b815260206004820152600d60248201526c1b995d995c8818db185a5b5959609a1b604482015290519081900360640190fd5b438711156131df576040805162461bcd60e51b815260206004820152600d60248201526c696e76616c696420626c6f636b60981b604482015290519081900360640190fd5b81871161321e576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025836040518082805190602001908083835b602083106132505780518252601f199092019160209182019101613231565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff161591508190506132ef57506024836040518082805190602001908083835b602083106132bc5780518252601f19909201916020918201910161329d565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150505b61332d576040805162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b604482015290519081900360640190fd5b6025836040518082805190602001908083835b6020831061335f5780518252601f199092019160209182019101613340565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1615915050801561339f575060125415155b8061341657506025836040518082805190602001908083835b602083106133d75780518252601f1990920191602091820191016133b8565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150508015613416575060115415155b1561346657601354613429908290615a52565b8710613466576040805162461bcd60e51b81526020600482015260076024820152667061792066656560c81b604482015290519081900360640190fd5b6000613473858a8a6142ef565b9050600081116134b6576040805162461bcd60e51b81526020600482015260096024820152681b9bc81c995dd85c9960ba1b604482015290519081900360640190fd5b60006134d3600e54611a8c600d548561569490919063ffffffff16565b905080341015613518576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b6006546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015613551573d6000803e3d6000fd5b50871561364f576007546008546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b1580156135b157600080fd5b505af11580156135c5573d6000803e3d6000fd5b505050506040513d60208110156135db57600080fd5b5050600854604080516330d6a97560e01b81526001600160a01b03898116600483015260248201869052915191909216916330d6a97591604480830192600092919082900301818387803b15801561363257600080fd5b505af1158015613646573d6000803e3d6000fd5b505050506136d2565b6007546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156136a557600080fd5b505af11580156136b9573d6000803e3d6000fd5b505050506040513d60208110156136cf57600080fd5b50505b6014546136df9083615754565b601481905550886028866040518082805190602001908083835b602083106137185780518252601f1990920191602091820191016136f9565b51815160209384036101000a60001901801990921691161790529201948552506040805194859003820185209590955586845293516001600160a01b038b16947fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a948290030192509050a2600196505050505050505b9392505050565b600061378e8383436142ef565b6001600160a01b0381166137b557600080fd5b6002546001600160a01b031633146137cc57600080fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b60156020526000908152604090205481565b60176020526000908152604090205481565b60005461010090046001600160a01b0316331461383d57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b602c5481565b600061387183836127fb565b1580156138855750613883838361391c565b155b801561378e5750613896838361263f565b159392505050565b60005461010090046001600160a01b03163314806138c657506005546001600160a01b031633145b806138db57506002546001600160a01b031633145b6138e457600080fd5b601055565b601681815481106138f657fe5b6000918252602090912001546001600160a01b0316905081565b60125481565b60235481565b6000606061392a8484613c04565b905060006027826040518082805190602001908083835b602083106139605780518252601f199092019160209182019101613941565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220546030546013549194506139ad935091506139a7908490615a52565b90615a52565b431195945050505050565b600f5481565b60005461010090046001600160a01b03163314806139e657506005546001600160a01b031633145b806139fb57506002546001600160a01b031633145b613a0457600080fd5b80613a0e57600080fd5b600b91909155600c55565b60006060613a278484613c04565b90506024816040518082805190602001908083835b60208310613a5b5780518252601f199092019160209182019101613a3c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150819050613afa57506025816040518082805190602001908083835b60208310613ac65780518252601f199092019160209182019101613aa7565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b949350505050565b60005461010090046001600160a01b0316331480613b2a57506004546001600160a01b031633145b80613b3f57506002546001600160a01b031633145b613b4857600080fd5b6060613b548484613c04565b9050811560258260405180828051906020019080838360208310612a6e5780518252601f199092019160209182019101612a4f565b602a5481565b60005461010090046001600160a01b0316331480613bb757506005546001600160a01b031633145b80613bcc57506002546001600160a01b031633145b613bd557600080fd5b60008111613be257600080fd5b603055565b805160208183018101805160268252928201919093012091525481565b606060006001600160801b038316613c40576001600160a01b0384166000908152602960205260409020546001600160801b0316600101613c42565b825b6040805160609690961b6bffffffffffffffffffffffff1916602087015260809190911b6001600160801b03191660348601528051808603602401815260449095019052509192915050565b6005546001600160a01b031681565b600e5481565b60005461010090046001600160a01b0316331480613ccb57506005546001600160a01b031633145b80613ce057506002546001600160a01b031633145b613ce957600080fd5b80613cf357600080fd5b600d91909155600e55565b60005461010090046001600160a01b0316331480613d2657506004546001600160a01b031633145b80613d3b57506002546001600160a01b031633145b613d4457600080fd5b6001600160a01b0382166000818152601760205260409020546016805491929183908110613d6e57fe5b6000918252602090912001546001600160a01b031614613dc6576040805162461bcd60e51b815260206004820152600e60248201526d696e76616c696420656e7469747960901b604482015290519081900360640190fd5b6001600160a01b03831660009081526018602052604090205460ff1615158215151415613e28576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b604482015290519081900360640190fd5b6001600160a01b0383166000908152601860205260409020805460ff19168315801591909117909155613e8657601c54613e63906001615a52565b601c556001600160a01b0383166000908152601560205260409020439055613eb1565b601c54613e94906001615754565b601c556001600160a01b0383166000908152601560205260408120555b505050565b60205481565b60115481565b602f546001600160a01b031681565b6007546001600160a01b031681565b805160208183018101805160258252928201919093012091525460ff1681565b60095481565b60005461010090046001600160a01b0316331480613f2e57506005546001600160a01b031633145b80613f4357506002546001600160a01b031633145b613f4c57600080fd5b601f55565b6029602052600090815260409020546001600160801b031681565b601b6020526000908152604090205481565b60145481565b805160208183018101805160248252928201919093012091525460ff1681565b6002546001600160a01b03163314613fbb57600080fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061400557506005546001600160a01b031633145b8061401a57506002546001600160a01b031633145b61402357600080fd5b600f55565b601a6020526000908152604090205460ff1681565b6002546001600160a01b0316331461405457600080fd5b6000811161406157600080fd5b600754604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b1580156140bb57600080fd5b505af11580156140cf573d6000803e3d6000fd5b505050506040513d60208110156140e557600080fd5b50506014546140f49082615a52565b60145550565b60215460ff1681565b601e5481565b60305481565b6006546001600160a01b031681565b600c5481565b60005461010090046001600160a01b031633148061414c57506004546001600160a01b031633145b8061416157506002546001600160a01b031633145b61416a57600080fd5b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b60005460ff16156141d0576040805162461bcd60e51b8152602060048201526009602482015268696e697420646f6e6560b81b604482015290519081900360640190fd5b8f600760006101000a8154816001600160a01b0302191690836001600160a01b031602179055508e600860006101000a8154816001600160a01b0302191690836001600160a01b031602179055508d600060016101000a8154816001600160a01b0302191690836001600160a01b031602179055508c600260006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b6009819055508a600a8190555089600b8190555088600c8190555087600f8190555086601081905550856011819055508460128190555082600d8190555081600e819055508360138190555080601d90805190602001906142cf929190615b5d565b50506000805460ff19166001179055505050505050505050505050505050565b600060606142fd8585613c04565b905061430885611bb4565b1561431f576143178584612c12565b91505061378e565b60006028826040518082805190602001908083835b602083106143535780518252601f199092019160209182019101614334565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054151591506143f09050576027826040518082805190602001908083835b602083106143bb5780518252601f19909201916020918201910161439c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205491506144529050565b6028826040518082805190602001908083835b602083106144225780518252601f199092019160209182019101614403565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b9050438411156144675760009250505061378e565b806144775760009250505061378e565b8084101561448a5760009250505061378e565b601c5461449c5760009250505061378e565b6025826040518082805190602001908083835b602083106144ce5780518252601f1990920191602091820191016144af565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16915050801561456d57506024826040518082805190602001908083835b602083106145395780518252601f19909201916020918201910161451a565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b1561457d5760009250505061378e565b60006025836040518082805190602001908083835b602083106145b15780518252601f199092019160209182019101614592565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506145f0905057600b546145f4565b6009545b905060006025846040518082805190602001908083835b6020831061462a5780518252601f19909201916020918201910161460b565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614669905057600c5461466d565b600a545b905060006025856040518082805190602001908083835b602083106146a35780518252601f199092019160209182019101614684565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506146e2905057602c546146e6565b602a545b905060006025866040518082805190602001908083835b6020831061471c5780518252601f1990920191602091820191016146fd565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16915061475b905057602d5461475f565b602b545b602f549091506000906001600160a01b031661477c576000614813565b602f546040805163b07d9cbb60e01b81526001600160a01b038e811660048301526001600160801b038e166024830152604482018a9052606482018d90529151919092169163b07d9cbb916084808301926020929190829003018186803b1580156147e657600080fd5b505afa1580156147fa573d6000803e3d6000fd5b505050506040513d602081101561481057600080fd5b50515b905061481d615bdb565b61482a87602e548c615aac565b9050600080861161483c576000614853565b61485386611a8c898560005b602002015190615694565b90506000808511614865576000614875565b61487585611a8c88866001614848565b9050614885846139a78484615a52565b9e9d5050505050505050505050505050565b602d5481565b6001600160a01b0381166148b057600080fd5b6002546001600160a01b031633146148c757600080fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061491157506005546001600160a01b031633145b8061492657506002546001600160a01b031633145b61492f57600080fd5b602a859055602b849055602c839055602d8290558061494e5743614950565b805b602e555050505050565b6002546001600160a01b031633146149aa576040805162461bcd60e51b815260206004820152600e60248201526d3737ba1039bab832b920b236b4b760911b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160278252928201919093012091525481565b60008111614a2e576040805162461bcd60e51b815260206004820152600d60248201526c696e76616c69642076616c756560981b604482015290519081900360640190fd5b601254614a3b9082615694565b3414614a7c576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b60015b336000908152602960205260409020546001600160801b031661ffff821611614b3d57614ab0338261ffff16613865565b614ab957614b35565b306001600160a01b0316630f694584601254836040518363ffffffff1660e01b8152600401808261ffff1681526020019150506000604051808303818588803b158015614b0557600080fd5b505af1158015614b19573d6000803e3d6000fd5b5050505050614b3260018361575490919063ffffffff16565b91505b600101614a7f565b508015614b81576040805162461bcd60e51b815260206004820152600d60248201526c1a5b9d985b1a590818dbdd5b9d609a1b604482015290519081900360640190fd5b50565b614b8d33611bb4565b15614b9b57614b9b336157b1565b614ba481611bb4565b15614bb257614bb2816157b1565b614bbc33836126f6565b614bfc576040805162461bcd60e51b815260206004820152600c60248201526b191bd95cdb9d08195e1a5cdd60a21b604482015290519081900360640190fd5b6001600160a01b0381166000908152602960205260409020546001600160801b03166001016060614c2d3385613c04565b90506060614c3b8484613c04565b90506024826040518082805190602001908083835b60208310614c6f5780518252601f199092019160209182019101614c50565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054855160ff9091169460249450869350918291908401908083835b60208310614cd45780518252601f199092019160209182019101614cb5565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff1916951515959095179094555050835160259285929182918401908083835b60208310614d415780518252601f199092019160209182019101614d22565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054855160ff9091169460259450869350918291908401908083835b60208310614da65780518252601f199092019160209182019101614d87565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff1916951515959095179094555050835160279285929182918401908083835b60208310614e135780518252601f199092019160209182019101614df4565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420548551909460279450869350918291908401908083835b60208310614e745780518252601f199092019160209182019101614e55565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420949094555050835160289285929182918401908083835b60208310614ed55780518252601f199092019160209182019101614eb6565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420548551909460289450869350918291908401908083835b60208310614f365780518252601f199092019160209182019101614f17565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160a01b03891660009081526029825294852080546001600160801b0319811660016001600160801b03928316019091161790558651602494889450925082918401908083835b60208310614fcf5780518252601f199092019160209182019101614fb0565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff19169515159590951790945550508351600092602792869290918291908401908083835b602083106150415780518252601f199092019160209182019101615022565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810184209490945550508351600092602892869290918291908401908083835b602083106150a75780518252601f199092019160209182019101615088565b51815160001960209485036101000a8101918216911992909216179091529390910195865260408051968790038201872097909755336000818152602983529790972080546001600160801b038082169095019094166001600160801b0319909416939093179092555086516001600160a01b038a1695947f5ba846403c17c6c23ab5f5acb4601b016614564f82bb9def90aa1d3893d4a54594508b935089926025928a92918291908401908083835b602083106151765780518252601f199092019160209182019101615157565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b0397881686529590961690840152505060ff90911615158183015290519081900360600190a35050505050565b600b5481565b60105481565b60008060015b6001600160a01b0385166000908152602960205260409020546001600160801b03908116908216116152455761523b61523486836000881161522d574361522f565b875b6142ef565b8390615a52565b91506001016151eb565b509392505050565b6004546001600160a01b031681565b601c5481565b6031546001600160801b031681565b6008546001600160a01b031681565b60005461010090046001600160a01b03163314806152a857506005546001600160a01b031633145b806152bd57506002546001600160a01b031633145b6152c657600080fd5b602055565b601d805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156153515780601f1061532657610100808354040283529160200191615351565b820191906000526020600020905b81548152906001019060200180831161533457829003601f168201915b505050505081565b6003546001600160a01b03163314801561537257503315155b6153bb576040805162461bcd60e51b81526020600482015260156024820152743737ba103832b73234b733a9bab832b920b236b4b760591b604482015290519081900360640190fd5b60038054600280546001600160a01b03199081166001600160a01b03841617909155169055565b60005461010090046001600160a01b031633148061540a57506005546001600160a01b031633145b8061541f57506002546001600160a01b031633145b61542857600080fd5b6000811161543557600080fd5b601355565b602b5481565b60325481565b60005461010090046001600160a01b031633148061546e57506005546001600160a01b031633145b8061548357506002546001600160a01b031633145b61548c57600080fd5b601155565b6002546001600160a01b031633146154a857600080fd5b600081116154b557600080fd5b8060145410156154f9576040805162461bcd60e51b815260206004820152600a6024820152690dcdee840cadcdeeaced60b31b604482015290519081900360640190fd5b6007546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561554f57600080fd5b505af1158015615563573d6000803e3d6000fd5b505050506040513d602081101561557957600080fd5b50506014546155889082615754565b6014555050565b60005461010090046001600160a01b031681565b60005461010090046001600160a01b03163314806155cb57506004546001600160a01b031633145b806155e057506002546001600160a01b031633145b6155e957600080fd5b60606155f58383613c04565b905060006024826040518082805190602001908083835b6020831061562b5780518252601f19909201916020918201910161560c565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff1916931515939093179092555050601c54612c0a906001615754565b60005460ff1681565b60196020526000908152604090205460ff1681565b6000826156a357506000611bfb565b828202828482816156b057fe5b041461378e5760405162461bcd60e51b8152600401808060200182810382526021815260200180615c0f6021913960400191505060405180910390fd5b6000808211615743576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161574c57fe5b049392505050565b6000828211156157ab576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606157be826001613c04565b905060156000836001600160a01b03166001600160a01b03168152602001908152602001600020546028826040518082805190602001908083835b602083106158185780518252601f1990920191602091820191016157f9565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160a01b0387166000908152601b825294909420548551909460279487945092508291908401908083835b602083106158955780518252601f199092019160209182019101615876565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160a01b0387166000908152601a82529490942054855160ff909116159460259487945092508291908401908083835b602083106159175780518252601f1990920191602091820191016158f8565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff1916951515959095179094555050825160259284929182918401908083835b602083106159845780518252601f199092019160209182019101615965565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150615a2e90505760016024826040518082805190602001908083835b602083106159f05780518252601f1990920191602091820191016159d1565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505b505033600090815260296020526040902080546001600160801b0319166001179055565b60008282018381101561378e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b615ab4615bdb565b818410615ad55750604080518082019091526000808252602082015261378e565b8282111580615ae2575082155b15615b0d576040805180820190915280615afc8487615754565b81526020016000815250905061378e565b828410615b3957604080518082019091526000815260208101615b308487615754565b9052905061378e565b6040805180820190915280615b4e8587615754565b8152602001615b308486615754565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615b9e57805160ff1916838001178555615bcb565b82800160010185558215615bcb579182015b82811115615bcb578251825591602001919060010190615bb0565b50615bd7929150615bf9565b5090565b60405180604001604052806002906020820280368337509192915050565b5b80821115615bd75760008155600101615bfa56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220ce81e57e96eed3bb85765a19bf954f89293b800146d88946ad2ceb63e133228364736f6c634300060c0033
Deployed Bytecode
0x6080604052600436106105c45760003560e01c80638aa9a37f116102f3578063cff6e51f1161019b578063e195232e116100e7578063f28b039e116100a0578063f851a4401161007a578063f851a44014611996578063fc6ccdb5146119ab578063fed0a20e146119ed578063ffbb698914611a02576105c4565b8063f28b039e1461191e578063f3368f9014611933578063f3fef3a31461195d576105c4565b8063e195232e14611876578063e4ae0c8a1461188b578063e603c270146118b5578063e7f9cefd146118ca578063e877db1a146118df578063ed5998da14611909576105c4565b8063d4bd894711610154578063da7169b31161012e578063da7169b3146117fe578063da998dca14611837578063dc0bbf081461184c578063ddf0185f14611861576105c4565b8063d4bd894714611792578063d95210d0146117d4578063d9df77de146117e9576105c4565b8063cff6e51f14611607578063d2c35ce81461161c578063d38f887e1461164f578063d39ca7de14611691578063d48ba486146116c4578063d4aadbc614611775576105c4565b8063ad0279a71161025a578063c2b2fdca11610213578063c4ac59b2116101ed578063c4ac59b214611453578063c5a2928b14611468578063c723143f1461149b578063c8b81e15146115bf576105c4565b8063c2b2fdca14611414578063c3d5864f14611429578063c415b95c1461143e576105c4565b8063ad0279a714611294578063ad553eef14611345578063ae749c4214611378578063b021465f146113a2578063b6b55f25146113d5578063c0f0622d146113ff576105c4565b806398b40442116102ac57806398b404421461110d57806399e6f700146111be5780639edb4fb7146111d3578063a77e2825146111fd578063a978dab71461124c578063aa5c3ab41461127f576105c4565b80638aa9a37f1461104e5780638ac2f9dd1461107e5780638d0c479b146110b95780639162c594146110ce5780639548f1e6146110e3578063965d61b9146110f8576105c4565b806334dce6b31161047157806367cb6526116103bd578063798f991c116103765780637c05d6d8116103505780637c05d6d814610ebc5780638123fdbb14610f6d578063857d49d51461102457806387f48f4e14611039576105c4565b8063798f991c14610e335780637a5d5cf414610e7d5780637ba9092814610e92576105c4565b806367cb652614610d4057806368acd04214610d555780636c52ec1014610d6a5780636f30015514610dac5780636f36c10c14610dc1578063778824a514610df1576105c4565b80634c359aeb1161042a5780634eba71cd116104045780634eba71cd14610c955780635c4f18fa14610caa578063623ef91014610cec5780636331883b14610d16576105c4565b80634c359aeb14610bfc5780634c8024cc14610c2f5780634dd18bf514610c62576105c4565b806334dce6b314610ae15780633839239514610b1457806339941fa414610b3e5780633bb58b6714610b7257806340b584b414610bb457806348028d6314610be7576105c4565b80631d851bbd1161053057806328333d15116104e95780632fc29e0e116104c35780632fc29e0e146109eb57806330fd63b614610a2d578063326f107314610a6657806332fc530e14610a9f576105c4565b806328333d151461095957806329575f6a146109a35780632b6b66bb146109b8576105c4565b80631d851bbd1461080b578063255ebc8d14610820578063266655621461086257806326782247146108a4578063268e5e4f146108d5578063272dff7314610917576105c4565b80630f694584116105825780630f694584146106c25780630fe48b36146106e85780631585dc28146106fd57806316f28a2a14610712578063198858981461074557806319a1f5ae1461075a576105c4565b8062a46917146105c957806301c0775c146105f057806305eec2891461063757806309a07fd2146106565780630a8d1be21461067d5780630e18b681146106ad575b600080fd5b6105ee600480360360408110156105df57600080fd5b50803590602001351515611a35565b005b3480156105fc57600080fd5b506106236004803603602081101561061357600080fd5b50356001600160a01b0316611bb4565b604080519115158252519081900360200190f35b6105ee6004803603602081101561064d57600080fd5b50351515611c01565b34801561066257600080fd5b5061066b612100565b60408051918252519081900360200190f35b34801561068957600080fd5b506105ee600480360360408110156106a057600080fd5b5080359060200135612106565b3480156106b957600080fd5b506105ee612161565b6105ee600480360360208110156106d857600080fd5b50356001600160801b03166121f0565b3480156106f457600080fd5b5061066b6125f5565b34801561070957600080fd5b5061066b6125fb565b34801561071e57600080fd5b506106236004803603602081101561073557600080fd5b50356001600160a01b0316612601565b34801561075157600080fd5b5061066b612616565b34801561076657600080fd5b5061066b6004803603602081101561077d57600080fd5b810190602081018135600160201b81111561079757600080fd5b8201836020820111156107a957600080fd5b803590602001918460018302840111600160201b831117156107ca57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061261c945050505050565b34801561081757600080fd5b5061066b612639565b34801561082c57600080fd5b506106236004803603604081101561084357600080fd5b5080356001600160a01b031690602001356001600160801b031661263f565b34801561086e57600080fd5b506106236004803603604081101561088557600080fd5b5080356001600160a01b031690602001356001600160801b03166126f6565b3480156108b057600080fd5b506108b9612774565b604080516001600160a01b039092168252519081900360200190f35b3480156108e157600080fd5b5061066b600480360360408110156108f857600080fd5b5080356001600160a01b031690602001356001600160801b0316612783565b34801561092357600080fd5b506106236004803603604081101561093a57600080fd5b5080356001600160a01b031690602001356001600160801b03166127fb565b34801561096557600080fd5b506105ee6004803603606081101561097c57600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001351515612876565b3480156109af57600080fd5b506108b9612ab1565b3480156109c457600080fd5b5061066b600480360360208110156109db57600080fd5b50356001600160a01b0316612ac0565b3480156109f757600080fd5b506105ee60048036036040811015610a0e57600080fd5b5080356001600160a01b031690602001356001600160801b0316612ad2565b348015610a3957600080fd5b5061066b60048036036040811015610a5057600080fd5b506001600160a01b038135169060200135612c12565b348015610a7257600080fd5b506105ee60048036036040811015610a8957600080fd5b506001600160801b038135169060200135612cfc565b348015610aab57600080fd5b506105ee60048036036040811015610ac257600080fd5b5080356001600160a01b031690602001356001600160801b0316612d68565b348015610aed57600080fd5b5061062360048036036020811015610b0457600080fd5b50356001600160a01b0316612ede565b348015610b2057600080fd5b506105ee60048036036020811015610b3757600080fd5b5035612f24565b61062360048036036060811015610b5457600080fd5b506001600160801b0381351690602081013590604001351515612f6f565b348015610b7e57600080fd5b5061066b60048036036040811015610b9557600080fd5b5080356001600160a01b031690602001356001600160801b0316613795565b348015610bc057600080fd5b506105ee60048036036020811015610bd757600080fd5b50356001600160a01b03166137a2565b348015610bf357600080fd5b506108b96137ee565b348015610c0857600080fd5b5061066b60048036036020811015610c1f57600080fd5b50356001600160a01b03166137fd565b348015610c3b57600080fd5b5061066b60048036036020811015610c5257600080fd5b50356001600160a01b031661380f565b348015610c6e57600080fd5b506105ee60048036036020811015610c8557600080fd5b50356001600160a01b0316613821565b348015610ca157600080fd5b5061066b61385f565b348015610cb657600080fd5b5061062360048036036040811015610ccd57600080fd5b5080356001600160a01b031690602001356001600160801b0316613865565b348015610cf857600080fd5b506105ee60048036036020811015610d0f57600080fd5b503561389e565b348015610d2257600080fd5b506108b960048036036020811015610d3957600080fd5b50356138e9565b348015610d4c57600080fd5b5061066b613910565b348015610d6157600080fd5b5061066b613916565b348015610d7657600080fd5b5061062360048036036040811015610d8d57600080fd5b5080356001600160a01b031690602001356001600160801b031661391c565b348015610db857600080fd5b5061066b6139b8565b348015610dcd57600080fd5b506105ee60048036036040811015610de457600080fd5b50803590602001356139be565b348015610dfd57600080fd5b5061062360048036036040811015610e1457600080fd5b5080356001600160a01b031690602001356001600160801b0316613a19565b348015610e3f57600080fd5b506105ee60048036036060811015610e5657600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001351515613b02565b348015610e8957600080fd5b5061066b613b89565b348015610e9e57600080fd5b506105ee60048036036020811015610eb557600080fd5b5035613b8f565b348015610ec857600080fd5b5061066b60048036036020811015610edf57600080fd5b810190602081018135600160201b811115610ef957600080fd5b820183602082011115610f0b57600080fd5b803590602001918460018302840111600160201b83111715610f2c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613be7945050505050565b348015610f7957600080fd5b50610faf60048036036040811015610f9057600080fd5b5080356001600160a01b031690602001356001600160801b0316613c04565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610fe9578181015183820152602001610fd1565b50505050905090810190601f1680156110165780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561103057600080fd5b506108b9613c8e565b34801561104557600080fd5b5061066b613c9d565b34801561105a57600080fd5b506105ee6004803603604081101561107157600080fd5b5080359060200135613ca3565b34801561108a57600080fd5b506105ee600480360360408110156110a157600080fd5b506001600160a01b0381351690602001351515613cfe565b3480156110c557600080fd5b5061066b613eb6565b3480156110da57600080fd5b5061066b613ebc565b3480156110ef57600080fd5b506108b9613ec2565b34801561110457600080fd5b506108b9613ed1565b34801561111957600080fd5b506106236004803603602081101561113057600080fd5b810190602081018135600160201b81111561114a57600080fd5b82018360208201111561115c57600080fd5b803590602001918460018302840111600160201b8311171561117d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613ee0945050505050565b3480156111ca57600080fd5b5061066b613f00565b3480156111df57600080fd5b506105ee600480360360208110156111f657600080fd5b5035613f06565b34801561120957600080fd5b506112306004803603602081101561122057600080fd5b50356001600160a01b0316613f51565b604080516001600160801b039092168252519081900360200190f35b34801561125857600080fd5b5061066b6004803603602081101561126f57600080fd5b50356001600160a01b0316613f6c565b34801561128b57600080fd5b5061066b613f7e565b3480156112a057600080fd5b50610623600480360360208110156112b757600080fd5b810190602081018135600160201b8111156112d157600080fd5b8201836020820111156112e357600080fd5b803590602001918460018302840111600160201b8311171561130457600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613f84945050505050565b34801561135157600080fd5b506105ee6004803603602081101561136857600080fd5b50356001600160a01b0316613fa4565b34801561138457600080fd5b506105ee6004803603602081101561139b57600080fd5b5035613fdd565b3480156113ae57600080fd5b50610623600480360360208110156113c557600080fd5b50356001600160a01b0316614028565b3480156113e157600080fd5b506105ee600480360360208110156113f857600080fd5b503561403d565b34801561140b57600080fd5b506106236140fa565b34801561142057600080fd5b5061066b614103565b34801561143557600080fd5b5061066b614109565b34801561144a57600080fd5b506108b961410f565b34801561145f57600080fd5b5061066b61411e565b34801561147457600080fd5b506105ee6004803603602081101561148b57600080fd5b50356001600160a01b0316614124565b3480156114a757600080fd5b506105ee60048036036102008110156114bf57600080fd5b6001600160a01b038235811692602081013582169260408201358316926060830135169160808101359160a08201359160c08101359160e08201359161010081013591610120820135916101408101359161016082013591610180810135916101a0820135916101c08101359181019061020081016101e0820135600160201b81111561154b57600080fd5b82018360208201111561155d57600080fd5b803590602001918460018302840111600160201b8311171561157e57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061418c945050505050565b3480156115cb57600080fd5b5061066b600480360360608110156115e257600080fd5b506001600160a01b03813516906001600160801b0360208201351690604001356142ef565b34801561161357600080fd5b5061066b614897565b34801561162857600080fd5b506105ee6004803603602081101561163f57600080fd5b50356001600160a01b031661489d565b34801561165b57600080fd5b506105ee600480360360a081101561167257600080fd5b50803590602081013590604081013590606081013590608001356148e9565b34801561169d57600080fd5b506105ee600480360360208110156116b457600080fd5b50356001600160a01b031661495a565b3480156116d057600080fd5b5061066b600480360360208110156116e757600080fd5b810190602081018135600160201b81111561170157600080fd5b82018360208201111561171357600080fd5b803590602001918460018302840111600160201b8311171561173457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506149cc945050505050565b6105ee6004803603602081101561178b57600080fd5b50356149e9565b34801561179e57600080fd5b506105ee600480360360408110156117b557600080fd5b5080356001600160801b031690602001356001600160a01b0316614b84565b3480156117e057600080fd5b5061066b6151d9565b3480156117f557600080fd5b5061066b6151df565b34801561180a57600080fd5b5061066b6004803603604081101561182157600080fd5b506001600160a01b0381351690602001356151e5565b34801561184357600080fd5b506108b961524d565b34801561185857600080fd5b5061066b61525c565b34801561186d57600080fd5b50611230615262565b34801561188257600080fd5b506108b9615271565b34801561189757600080fd5b506105ee600480360360208110156118ae57600080fd5b5035615280565b3480156118c157600080fd5b50610faf6152cb565b3480156118d657600080fd5b506105ee615359565b3480156118eb57600080fd5b506105ee6004803603602081101561190257600080fd5b50356153e2565b34801561191557600080fd5b5061066b61543a565b34801561192a57600080fd5b5061066b615440565b34801561193f57600080fd5b506105ee6004803603602081101561195657600080fd5b5035615446565b34801561196957600080fd5b506105ee6004803603604081101561198057600080fd5b506001600160a01b038135169060200135615491565b3480156119a257600080fd5b506108b961558f565b3480156119b757600080fd5b506105ee600480360360408110156119ce57600080fd5b5080356001600160a01b031690602001356001600160801b03166155a3565b3480156119f957600080fd5b50610623615676565b348015611a0e57600080fd5b5061062360048036036020811015611a2557600080fd5b50356001600160a01b031661567f565b3460015b336000908152602960205260409020546001600160801b031661ffff821611611bae576000611a6d338361ffff16876142ef565b90506000611a92600e54611a8c600d548561569490919063ffffffff16565b906156ed565b905080841015611ad7576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b60408051630e6507e960e21b815261ffff85166004820152602481018890528615156044820152905130916339941fa491849160648082019260209290919082900301818588803b158015611b2b57600080fd5b505af1158015611b3f573d6000803e3d6000fd5b50505050506040513d6020811015611b5657600080fd5b5051611b98576040805162461bcd60e51b815260206004820152600c60248201526b18db185a5b4819985a5b195960a21b604482015290519081900360640190fd5b611ba28482615754565b93505050600101611a39565b50505050565b6001600160a01b03811660009081526018602052604081205460ff168015611bfb57506001600160a01b0382166000908152602960205260409020546001600160801b0316155b92915050565b603154336000908152602960205260409020546001600160801b03918216911610611c63576040805162461bcd60e51b815260206004820152600d60248201526c1b1a5b5a5d081c995858da1959609a1b604482015290519081900360640190fd5b600080611c6f33611bb4565b15611c7d57611c7d336157b1565b336000818152602960205260409020546001600160801b031660010190606090611ca79083613c04565b90508415611cd057601f54602054601c549195509350611cc8906001615a52565b601c55611d4c565b600f549350601054925060016025826040518082805190602001908083835b60208310611d0e5780518252601f199092019160209182019101611cef565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505b833414611d8e576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b436027826040518082805190602001908083835b60208310611dc15780518252601f199092019160209182019101611da2565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082514392602892859290918291908401908083835b60208310611e265780518252601f199092019160209182019101611e07565b51815160001960209485036101000a0190811690199190911617905292019485525060408051948590038201852095909555336000908152602990915293842080546001600160801b03808216600101166001600160801b031990911617905550506006546001600160a01b0316913480156108fc02929091818181858888f19350505050158015611ebc573d6000803e3d6000fd5b50600754604080516323b872dd60e01b81523360048201523060248201526044810186905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b158015611f1757600080fd5b505af1158015611f2b573d6000803e3d6000fd5b505050506040513d6020811015611f4157600080fd5b50506007546006546040805163a9059cbb60e01b81526001600160a01b039283166004820152602481018790529051919092169163a9059cbb9160448083019260209291908290030181600087803b158015611f9c57600080fd5b505af1158015611fb0573d6000803e3d6000fd5b505050506040513d6020811015611fc657600080fd5b5050604051815133917f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd0918591602591869190819060208401908083835b602083106120235780518252601f199092019160209182019101612004565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054601354895160ff90921695600095506120ca945090926027928b92918291908401908083835b602083106120945780518252601f199092019160209182019101612075565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054929150615a529050565b604080516001600160801b0390951685529215156020850152901515838301526060830152519081900360800190a25050505050565b600d5481565b60005461010090046001600160a01b031633148061212e57506005546001600160a01b031633145b8061214357506002546001600160a01b031633145b61214c57600080fd5b8061215657600080fd5b600991909155600a55565b6001546001600160a01b03163314801561217a57503315155b6121be576040805162461bcd60e51b815260206004820152601060248201526f3737ba103832b73234b733a0b236b4b760811b604482015290519081900360640190fd5b6001805460008054610100600160a81b0319166101006001600160a01b038416021790556001600160a01b0319169055565b60003330146121ff5733612201565b325b9050606061220f8284613c04565b905061221a82611bb4565b1561222857612228826157b1565b61223282846126f6565b612272576040805162461bcd60e51b815260206004820152600c60248201526b191bd95cdb9d08195e1a5cdd60a21b604482015290519081900360640190fd5b61227c828461391c565b156122b9576040805162461bcd60e51b8152602060048201526008602482015267746f6f206c61746560c01b604482015290519081900360640190fd5b6122c3828461263f565b15612300576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025816040518082805190602001908083835b602083106123325780518252601f199092019160209182019101612313565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff161591506123b390505760115434146123ae576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b6123f7565b60125434146123f7576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b6006546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015612430573d6000803e3d6000fd5b50612468601354602783604051808280519060200190808383602083106120945780518252601f199092019160209182019101612075565b6027826040518082805190602001908083835b6020831061249a5780518252601f19909201916020918201910161247b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038516927f39b0a0620bb668047ab7248973ddfd93d53dff1d4952bd2d56bbf5934edc1fd092879260259287929182918401908083835b6020831061252a5780518252601f19909201916020918201910161250b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054885160ff9091169460019450602793508992909182918401908083835b602083106125925780518252601f199092019160209182019101612573565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b039098168552951515908401525050901515818301526060810192909252519081900360800190a2505050565b60135481565b601f5481565b60186020526000908152604090205460ff1681565b600a5481565b805160208183018101805160288252928201919093012091525481565b602e5481565b6000606061264d8484613c04565b905060006027826040518082805190602001908083835b602083106126835780518252601f199092019160209182019101612664565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054603254601354919450600093506126d292506126cb9190615694565b4390615a52565b9050806126ea60135484615a5290919063ffffffff16565b10159695505050505050565b600060606127048484613c04565b905060006027826040518082805190602001908083835b6020831061273a5780518252601f19909201916020918201910161271b565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054929092119695505050505050565b6001546001600160a01b031681565b600060606127918484613c04565b90506027816040518082805190602001908083835b602083106127c55780518252601f1990920191602091820191016127a6565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549695505050505050565b600060606128098484613c04565b90506025816040518082805190602001908083835b6020831061283d5780518252601f19909201916020918201910161281e565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169695505050505050565b60005461010090046001600160a01b031633148061289e57506004546001600160a01b031633145b806128b357506002546001600160a01b031633145b6128bc57600080fd5b60606128c88484613c04565b905081801561293857506024816040518082805190602001908083835b602083106129045780518252601f1990920191602091820191016128e5565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b156129b657601c5461294b906001615a52565b601c81905550436028826040518082805190602001908083835b602083106129845780518252601f199092019160209182019101612965565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550505b81158015612a2457506024816040518082805190602001908083835b602083106129f15780518252601f1990920191602091820191016129d2565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150505b15612a3b57601c54612a37906001615754565b601c555b816024826040518082805190602001908083835b60208310612a6e5780518252601f199092019160209182019101612a4f565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff191693151593909317909255505050505050565b6002546001600160a01b031681565b60226020526000908152604090205481565b60005461010090046001600160a01b0316331480612afa57506004546001600160a01b031633145b80612b0f57506002546001600160a01b031633145b612b1857600080fd5b6060612b248383613c04565b905060016024826040518082805190602001908083835b60208310612b5a5780518252601f199092019160209182019101612b3b565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff191695151595909517909455505082514392602892859290918291908401908083835b60208310612bcb5780518252601f199092019160209182019101612bac565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220929092555050601c54612c0a906001615a52565b601c55505050565b600043821115612c2457506000611bfb565b6001600160a01b038316600090815260156020526040902054612c4957506000611bfb565b6001600160a01b038316600090815260156020526040902054821015612c7157506000611bfb565b601c54612c8057506000611bfb565b6001600160a01b038316600090815260156020526040812054612ca4908490615754565b6001600160a01b0385166000908152601a602052604081205491925090819060ff1615612cd8575050600b54600c54612ce1565b5050600954600a545b6000612cf182611a8c8686615694565b979650505050505050565b60005461010090046001600160a01b0316331480612d2457506005546001600160a01b031633145b80612d3957506002546001600160a01b031633145b612d4257600080fd5b603180546001600160801b0319166001600160801b039390931692909217909155603255565b60005461010090046001600160a01b0316331480612d9057506004546001600160a01b031633145b80612da557506002546001600160a01b031633145b612dae57600080fd5b6060612dba8383613c04565b905060006027826040518082805190602001908083835b60208310612df05780518252601f199092019160209182019101612dd1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505082516001600160a01b038616927f8f09ef60eb932f902f4199ddb720f587b53565a6a490484db1a653e85b799dc492869260259287929182918401908083835b60208310612e805780518252601f199092019160209182019101612e61565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b03909616855260ff9095161515908401525050438183015290519081900360600190a2505050565b6001600160a01b03811660009081526018602052604081205460ff1680611bfb5750612f0b8260016126f6565b8015611bfb5750612f1d82600161391c565b1592915050565b60005461010090046001600160a01b0316331480612f4c57506005546001600160a01b031633145b80612f6157506002546001600160a01b031633145b612f6a57600080fd5b601255565b60008033301480612f8a5750602f546001600160a01b031633145b612f945733612f96565b325b90506060612fa48287613c04565b9050612faf82611bb4565b15612fbd57612fbd826157b1565b60006028826040518082805190602001908083835b60208310612ff15780518252601f199092019160209182019101612fd2565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220541515915061308e9050576027826040518082805190602001908083835b602083106130595780518252601f19909201916020918201910161303a565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205491506130f09050565b6028826040518082805190602001908083835b602083106130c05780518252601f1990920191602091820191016130a1565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b905060006027836040518082805190602001908083835b602083106131265780518252601f199092019160209182019101613107565b51815160001960209485036101000a01908116901991909116179052920194855250604051938490030190922054925050508161319a576040805162461bcd60e51b815260206004820152600d60248201526c1b995d995c8818db185a5b5959609a1b604482015290519081900360640190fd5b438711156131df576040805162461bcd60e51b815260206004820152600d60248201526c696e76616c696420626c6f636b60981b604482015290519081900360640190fd5b81871161321e576040805162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b604482015290519081900360640190fd5b6025836040518082805190602001908083835b602083106132505780518252601f199092019160209182019101613231565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff161591508190506132ef57506024836040518082805190602001908083835b602083106132bc5780518252601f19909201916020918201910161329d565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150505b61332d576040805162461bcd60e51b815260206004820152600a6024820152696e6f742061637469766560b01b604482015290519081900360640190fd5b6025836040518082805190602001908083835b6020831061335f5780518252601f199092019160209182019101613340565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1615915050801561339f575060125415155b8061341657506025836040518082805190602001908083835b602083106133d75780518252601f1990920191602091820191016133b8565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150508015613416575060115415155b1561346657601354613429908290615a52565b8710613466576040805162461bcd60e51b81526020600482015260076024820152667061792066656560c81b604482015290519081900360640190fd5b6000613473858a8a6142ef565b9050600081116134b6576040805162461bcd60e51b81526020600482015260096024820152681b9bc81c995dd85c9960ba1b604482015290519081900360640190fd5b60006134d3600e54611a8c600d548561569490919063ffffffff16565b905080341015613518576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b6006546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015613551573d6000803e3d6000fd5b50871561364f576007546008546040805163095ea7b360e01b81526001600160a01b039283166004820152602481018690529051919092169163095ea7b39160448083019260209291908290030181600087803b1580156135b157600080fd5b505af11580156135c5573d6000803e3d6000fd5b505050506040513d60208110156135db57600080fd5b5050600854604080516330d6a97560e01b81526001600160a01b03898116600483015260248201869052915191909216916330d6a97591604480830192600092919082900301818387803b15801561363257600080fd5b505af1158015613646573d6000803e3d6000fd5b505050506136d2565b6007546040805163a9059cbb60e01b81526001600160a01b038981166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156136a557600080fd5b505af11580156136b9573d6000803e3d6000fd5b505050506040513d60208110156136cf57600080fd5b50505b6014546136df9083615754565b601481905550886028866040518082805190602001908083835b602083106137185780518252601f1990920191602091820191016136f9565b51815160209384036101000a60001901801990921691161790529201948552506040805194859003820185209590955586845293516001600160a01b038b16947fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a948290030192509050a2600196505050505050505b9392505050565b600061378e8383436142ef565b6001600160a01b0381166137b557600080fd5b6002546001600160a01b031633146137cc57600080fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b6003546001600160a01b031681565b60156020526000908152604090205481565b60176020526000908152604090205481565b60005461010090046001600160a01b0316331461383d57600080fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b602c5481565b600061387183836127fb565b1580156138855750613883838361391c565b155b801561378e5750613896838361263f565b159392505050565b60005461010090046001600160a01b03163314806138c657506005546001600160a01b031633145b806138db57506002546001600160a01b031633145b6138e457600080fd5b601055565b601681815481106138f657fe5b6000918252602090912001546001600160a01b0316905081565b60125481565b60235481565b6000606061392a8484613c04565b905060006027826040518082805190602001908083835b602083106139605780518252601f199092019160209182019101613941565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220546030546013549194506139ad935091506139a7908490615a52565b90615a52565b431195945050505050565b600f5481565b60005461010090046001600160a01b03163314806139e657506005546001600160a01b031633145b806139fb57506002546001600160a01b031633145b613a0457600080fd5b80613a0e57600080fd5b600b91909155600c55565b60006060613a278484613c04565b90506024816040518082805190602001908083835b60208310613a5b5780518252601f199092019160209182019101613a3c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150819050613afa57506025816040518082805190602001908083835b60208310613ac65780518252601f199092019160209182019101613aa7565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b949350505050565b60005461010090046001600160a01b0316331480613b2a57506004546001600160a01b031633145b80613b3f57506002546001600160a01b031633145b613b4857600080fd5b6060613b548484613c04565b9050811560258260405180828051906020019080838360208310612a6e5780518252601f199092019160209182019101612a4f565b602a5481565b60005461010090046001600160a01b0316331480613bb757506005546001600160a01b031633145b80613bcc57506002546001600160a01b031633145b613bd557600080fd5b60008111613be257600080fd5b603055565b805160208183018101805160268252928201919093012091525481565b606060006001600160801b038316613c40576001600160a01b0384166000908152602960205260409020546001600160801b0316600101613c42565b825b6040805160609690961b6bffffffffffffffffffffffff1916602087015260809190911b6001600160801b03191660348601528051808603602401815260449095019052509192915050565b6005546001600160a01b031681565b600e5481565b60005461010090046001600160a01b0316331480613ccb57506005546001600160a01b031633145b80613ce057506002546001600160a01b031633145b613ce957600080fd5b80613cf357600080fd5b600d91909155600e55565b60005461010090046001600160a01b0316331480613d2657506004546001600160a01b031633145b80613d3b57506002546001600160a01b031633145b613d4457600080fd5b6001600160a01b0382166000818152601760205260409020546016805491929183908110613d6e57fe5b6000918252602090912001546001600160a01b031614613dc6576040805162461bcd60e51b815260206004820152600e60248201526d696e76616c696420656e7469747960901b604482015290519081900360640190fd5b6001600160a01b03831660009081526018602052604090205460ff1615158215151415613e28576040805162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b604482015290519081900360640190fd5b6001600160a01b0383166000908152601860205260409020805460ff19168315801591909117909155613e8657601c54613e63906001615a52565b601c556001600160a01b0383166000908152601560205260409020439055613eb1565b601c54613e94906001615754565b601c556001600160a01b0383166000908152601560205260408120555b505050565b60205481565b60115481565b602f546001600160a01b031681565b6007546001600160a01b031681565b805160208183018101805160258252928201919093012091525460ff1681565b60095481565b60005461010090046001600160a01b0316331480613f2e57506005546001600160a01b031633145b80613f4357506002546001600160a01b031633145b613f4c57600080fd5b601f55565b6029602052600090815260409020546001600160801b031681565b601b6020526000908152604090205481565b60145481565b805160208183018101805160248252928201919093012091525460ff1681565b6002546001600160a01b03163314613fbb57600080fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061400557506005546001600160a01b031633145b8061401a57506002546001600160a01b031633145b61402357600080fd5b600f55565b601a6020526000908152604090205460ff1681565b6002546001600160a01b0316331461405457600080fd5b6000811161406157600080fd5b600754604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b03909216916323b872dd916064808201926020929091908290030181600087803b1580156140bb57600080fd5b505af11580156140cf573d6000803e3d6000fd5b505050506040513d60208110156140e557600080fd5b50506014546140f49082615a52565b60145550565b60215460ff1681565b601e5481565b60305481565b6006546001600160a01b031681565b600c5481565b60005461010090046001600160a01b031633148061414c57506004546001600160a01b031633145b8061416157506002546001600160a01b031633145b61416a57600080fd5b602f80546001600160a01b0319166001600160a01b0392909216919091179055565b60005460ff16156141d0576040805162461bcd60e51b8152602060048201526009602482015268696e697420646f6e6560b81b604482015290519081900360640190fd5b8f600760006101000a8154816001600160a01b0302191690836001600160a01b031602179055508e600860006101000a8154816001600160a01b0302191690836001600160a01b031602179055508d600060016101000a8154816001600160a01b0302191690836001600160a01b031602179055508c600260006101000a8154816001600160a01b0302191690836001600160a01b031602179055508b6009819055508a600a8190555089600b8190555088600c8190555087600f8190555086601081905550856011819055508460128190555082600d8190555081600e819055508360138190555080601d90805190602001906142cf929190615b5d565b50506000805460ff19166001179055505050505050505050505050505050565b600060606142fd8585613c04565b905061430885611bb4565b1561431f576143178584612c12565b91505061378e565b60006028826040518082805190602001908083835b602083106143535780518252601f199092019160209182019101614334565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054151591506143f09050576027826040518082805190602001908083835b602083106143bb5780518252601f19909201916020918201910161439c565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205491506144529050565b6028826040518082805190602001908083835b602083106144225780518252601f199092019160209182019101614403565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b9050438411156144675760009250505061378e565b806144775760009250505061378e565b8084101561448a5760009250505061378e565b601c5461449c5760009250505061378e565b6025826040518082805190602001908083835b602083106144ce5780518252601f1990920191602091820191016144af565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16915050801561456d57506024826040518082805190602001908083835b602083106145395780518252601f19909201916020918201910161451a565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150505b1561457d5760009250505061378e565b60006025836040518082805190602001908083835b602083106145b15780518252601f199092019160209182019101614592565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506145f0905057600b546145f4565b6009545b905060006025846040518082805190602001908083835b6020831061462a5780518252601f19909201916020918201910161460b565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff169150614669905057600c5461466d565b600a545b905060006025856040518082805190602001908083835b602083106146a35780518252601f199092019160209182019101614684565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff1691506146e2905057602c546146e6565b602a545b905060006025866040518082805190602001908083835b6020831061471c5780518252601f1990920191602091820191016146fd565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16915061475b905057602d5461475f565b602b545b602f549091506000906001600160a01b031661477c576000614813565b602f546040805163b07d9cbb60e01b81526001600160a01b038e811660048301526001600160801b038e166024830152604482018a9052606482018d90529151919092169163b07d9cbb916084808301926020929190829003018186803b1580156147e657600080fd5b505afa1580156147fa573d6000803e3d6000fd5b505050506040513d602081101561481057600080fd5b50515b905061481d615bdb565b61482a87602e548c615aac565b9050600080861161483c576000614853565b61485386611a8c898560005b602002015190615694565b90506000808511614865576000614875565b61487585611a8c88866001614848565b9050614885846139a78484615a52565b9e9d5050505050505050505050505050565b602d5481565b6001600160a01b0381166148b057600080fd5b6002546001600160a01b031633146148c757600080fd5b600680546001600160a01b0319166001600160a01b0392909216919091179055565b60005461010090046001600160a01b031633148061491157506005546001600160a01b031633145b8061492657506002546001600160a01b031633145b61492f57600080fd5b602a859055602b849055602c839055602d8290558061494e5743614950565b805b602e555050505050565b6002546001600160a01b031633146149aa576040805162461bcd60e51b815260206004820152600e60248201526d3737ba1039bab832b920b236b4b760911b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160278252928201919093012091525481565b60008111614a2e576040805162461bcd60e51b815260206004820152600d60248201526c696e76616c69642076616c756560981b604482015290519081900360640190fd5b601254614a3b9082615694565b3414614a7c576040805162461bcd60e51b815260206004820152600b60248201526a696e76616c69642066656560a81b604482015290519081900360640190fd5b60015b336000908152602960205260409020546001600160801b031661ffff821611614b3d57614ab0338261ffff16613865565b614ab957614b35565b306001600160a01b0316630f694584601254836040518363ffffffff1660e01b8152600401808261ffff1681526020019150506000604051808303818588803b158015614b0557600080fd5b505af1158015614b19573d6000803e3d6000fd5b5050505050614b3260018361575490919063ffffffff16565b91505b600101614a7f565b508015614b81576040805162461bcd60e51b815260206004820152600d60248201526c1a5b9d985b1a590818dbdd5b9d609a1b604482015290519081900360640190fd5b50565b614b8d33611bb4565b15614b9b57614b9b336157b1565b614ba481611bb4565b15614bb257614bb2816157b1565b614bbc33836126f6565b614bfc576040805162461bcd60e51b815260206004820152600c60248201526b191bd95cdb9d08195e1a5cdd60a21b604482015290519081900360640190fd5b6001600160a01b0381166000908152602960205260409020546001600160801b03166001016060614c2d3385613c04565b90506060614c3b8484613c04565b90506024826040518082805190602001908083835b60208310614c6f5780518252601f199092019160209182019101614c50565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054855160ff9091169460249450869350918291908401908083835b60208310614cd45780518252601f199092019160209182019101614cb5565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff1916951515959095179094555050835160259285929182918401908083835b60208310614d415780518252601f199092019160209182019101614d22565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842054855160ff9091169460259450869350918291908401908083835b60208310614da65780518252601f199092019160209182019101614d87565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff1916951515959095179094555050835160279285929182918401908083835b60208310614e135780518252601f199092019160209182019101614df4565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420548551909460279450869350918291908401908083835b60208310614e745780518252601f199092019160209182019101614e55565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420949094555050835160289285929182918401908083835b60208310614ed55780518252601f199092019160209182019101614eb6565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420548551909460289450869350918291908401908083835b60208310614f365780518252601f199092019160209182019101614f17565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160a01b03891660009081526029825294852080546001600160801b0319811660016001600160801b03928316019091161790558651602494889450925082918401908083835b60208310614fcf5780518252601f199092019160209182019101614fb0565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff19169515159590951790945550508351600092602792869290918291908401908083835b602083106150415780518252601f199092019160209182019101615022565b51815160209384036101000a600019018019909216911617905292019485525060405193849003810184209490945550508351600092602892869290918291908401908083835b602083106150a75780518252601f199092019160209182019101615088565b51815160001960209485036101000a8101918216911992909216179091529390910195865260408051968790038201872097909755336000818152602983529790972080546001600160801b038082169095019094166001600160801b0319909416939093179092555086516001600160a01b038a1695947f5ba846403c17c6c23ab5f5acb4601b016614564f82bb9def90aa1d3893d4a54594508b935089926025928a92918291908401908083835b602083106151765780518252601f199092019160209182019101615157565b51815160001960209485036101000a01908116901991909116179052920194855250604080519485900382018520546001600160801b0397881686529590961690840152505060ff90911615158183015290519081900360600190a35050505050565b600b5481565b60105481565b60008060015b6001600160a01b0385166000908152602960205260409020546001600160801b03908116908216116152455761523b61523486836000881161522d574361522f565b875b6142ef565b8390615a52565b91506001016151eb565b509392505050565b6004546001600160a01b031681565b601c5481565b6031546001600160801b031681565b6008546001600160a01b031681565b60005461010090046001600160a01b03163314806152a857506005546001600160a01b031633145b806152bd57506002546001600160a01b031633145b6152c657600080fd5b602055565b601d805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156153515780601f1061532657610100808354040283529160200191615351565b820191906000526020600020905b81548152906001019060200180831161533457829003601f168201915b505050505081565b6003546001600160a01b03163314801561537257503315155b6153bb576040805162461bcd60e51b81526020600482015260156024820152743737ba103832b73234b733a9bab832b920b236b4b760591b604482015290519081900360640190fd5b60038054600280546001600160a01b03199081166001600160a01b03841617909155169055565b60005461010090046001600160a01b031633148061540a57506005546001600160a01b031633145b8061541f57506002546001600160a01b031633145b61542857600080fd5b6000811161543557600080fd5b601355565b602b5481565b60325481565b60005461010090046001600160a01b031633148061546e57506005546001600160a01b031633145b8061548357506002546001600160a01b031633145b61548c57600080fd5b601155565b6002546001600160a01b031633146154a857600080fd5b600081116154b557600080fd5b8060145410156154f9576040805162461bcd60e51b815260206004820152600a6024820152690dcdee840cadcdeeaced60b31b604482015290519081900360640190fd5b6007546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561554f57600080fd5b505af1158015615563573d6000803e3d6000fd5b505050506040513d602081101561557957600080fd5b50506014546155889082615754565b6014555050565b60005461010090046001600160a01b031681565b60005461010090046001600160a01b03163314806155cb57506004546001600160a01b031633145b806155e057506002546001600160a01b031633145b6155e957600080fd5b60606155f58383613c04565b905060006024826040518082805190602001908083835b6020831061562b5780518252601f19909201916020918201910161560c565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff1916931515939093179092555050601c54612c0a906001615754565b60005460ff1681565b60196020526000908152604090205460ff1681565b6000826156a357506000611bfb565b828202828482816156b057fe5b041461378e5760405162461bcd60e51b8152600401808060200182810382526021815260200180615c0f6021913960400191505060405180910390fd5b6000808211615743576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161574c57fe5b049392505050565b6000828211156157ab576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60606157be826001613c04565b905060156000836001600160a01b03166001600160a01b03168152602001908152602001600020546028826040518082805190602001908083835b602083106158185780518252601f1990920191602091820191016157f9565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160a01b0387166000908152601b825294909420548551909460279487945092508291908401908083835b602083106158955780518252601f199092019160209182019101615876565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160a01b0387166000908152601a82529490942054855160ff909116159460259487945092508291908401908083835b602083106159175780518252601f1990920191602091820191016158f8565b51815160209384036101000a60001901801990921691161790529201948552506040519384900381018420805460ff1916951515959095179094555050825160259284929182918401908083835b602083106159845780518252601f199092019160209182019101615965565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205460ff16159150615a2e90505760016024826040518082805190602001908083835b602083106159f05780518252601f1990920191602091820191016159d1565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220805460ff19169315159390931790925550505b505033600090815260296020526040902080546001600160801b0319166001179055565b60008282018381101561378e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b615ab4615bdb565b818410615ad55750604080518082019091526000808252602082015261378e565b8282111580615ae2575082155b15615b0d576040805180820190915280615afc8487615754565b81526020016000815250905061378e565b828410615b3957604080518082019091526000815260208101615b308487615754565b9052905061378e565b6040805180820190915280615b4e8587615754565b8152602001615b308486615754565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10615b9e57805160ff1916838001178555615bcb565b82800160010185558215615bcb579182015b82811115615bcb578251825591602001919060010190615bb0565b50615bd7929150615bf9565b5090565b60405180604001604052806002906020820280368337509192915050565b5b80821115615bd75760008155600101615bfa56fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a2646970667358221220ce81e57e96eed3bb85765a19bf954f89293b800146d88946ad2ceb63e133228364736f6c634300060c0033
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.