Contract

0x8A2F748c4F1FDf5948F3627d9eEF8e115B96ef59

Overview
0.0000 Trust Bitcoin
$0.0000
More Info
 
Contract Source Code (Solidity Standard Json-Input format)

File 1 of 6 : Address.sol

// SPDX-License-Identifier: MIT pragma solidity ^0.8.1; library Address { function isContract(address account) internal view returns (bool) { return account.code.length > 0; } function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } function functionCallWithValue(address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { if (returndata.length > 0) { assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }

File 2 of 6 : Context.sol

// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }

File 3 of 6 : IERC20.sol

// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IERC20 { event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address to, uint256 amount) external returns (bool); function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom(address from, address to, uint256 amount) external returns (bool); }

File 4 of 6 : InvestmentPlan.sol

// SPDX-License-Identifier: MIT pragma solidity 0.8.2; import "./SafeERC20.sol"; interface IReferrals { function addMember(address member, address parent) external; function getSponsor(address account) external view returns (address); function getTeam(address sponsor, uint256 level) external view returns (uint256); } contract InvestmentPlan { using SafeERC20 for IERC20; address public TUSD; address public FundWallet; address public ownerWallet; IReferrals public Referrals; struct UserInfo { uint256 investedAmount; uint256 levelIncome; uint256 foreignTour; uint256 monthlyReward; uint256 workingBonus; uint256 royaltyBonus; uint256 claimedAmount; uint256 claimedTBC; bool royalty; } struct Earning{ uint256 levelEarning; } uint256 public communityIncentives; uint256 public extraIncentives; uint256 public royaltyIncentive; uint256 public nextRewardDrain; bool[6] public statusPerStage; bool public saleEnable; uint256[5] public indexPerStage; uint256[5] public pricePerStage; uint256[6] public TBCPerStage; uint256[6] public usersTBCPerStage; uint256[6] public investmentPackages; uint256[10] public referrerBonus; uint256[10] public teamRequiredForBonus; uint256[] public stage2UserTBC; uint256[] public stage3UserTBC; uint256[] public stage4UserTBC; uint256[] public stage5UserTBC; uint256[] public stage6UserTBC; address[] public stage2UserWallet; address[] public stage3UserWallet; address[] public stage4UserWallet; address[] public stage5UserWallet; address[] public stage6UserWallet; mapping(address => UserInfo) public mapUserInfo; mapping(address => Earning[10]) public mapLevelEarning; mapping(address => uint256) public totalBusiness; mapping(address => uint256) public workingBonus; mapping(address => mapping(uint256 => uint256)) public monthlySale; mapping(address => mapping(uint256 => bool)) public monthlySaleClaimed; mapping(address => mapping(uint256 => uint256)) public stageWiseTBC; mapping(address => mapping(uint256 => uint256)) public stageWiseTBCSold; event Deposit(address user, uint256 amount); event Withdraw(address user, uint256 amount); event PoolUpdated(uint256 amount); event StageStatusUpdated(bool stage1Status, bool stage2Status, bool stage3Status, bool stage4Status, bool stage5Status, bool stage6Status); constructor() { investmentPackages[0] = 100 * 10**18; investmentPackages[1] = 500 * 10**18; investmentPackages[2] = 1000 * 10**18; investmentPackages[3] = 2500 * 10**18; investmentPackages[4] = 5000 * 10**18; investmentPackages[5] = 10000 * 10**18; referrerBonus[0] = 500; referrerBonus[1] = 300; referrerBonus[2] = 200; referrerBonus[3] = 100; referrerBonus[4] = 100; referrerBonus[5] = 50; referrerBonus[6] = 50; referrerBonus[7] = 50; referrerBonus[8] = 50; referrerBonus[9] = 50; teamRequiredForBonus[0] = 0; teamRequiredForBonus[1] = 3; teamRequiredForBonus[2] = 3; teamRequiredForBonus[3] = 3; teamRequiredForBonus[4] = 3; teamRequiredForBonus[5] = 3; teamRequiredForBonus[6] = 3; teamRequiredForBonus[7] = 3; teamRequiredForBonus[8] = 3; teamRequiredForBonus[9] = 3; pricePerStage[0] = 1 * 10**18; pricePerStage[1] = 10 * 10**18; pricePerStage[2] = 100 * 10**18; pricePerStage[3] = 1000 * 10**18; pricePerStage[4] = 10000 * 10**18; TBCPerStage[0] = 2000000 * 10**18; TBCPerStage[1] = 2000000 * 10**18; TBCPerStage[2] = 2000000 * 10**18; TBCPerStage[3] = 2000000 * 10**18; TBCPerStage[4] = 2000000 * 10**18; usersTBCPerStage[0] = 0; usersTBCPerStage[1] = 0; usersTBCPerStage[2] = 0; usersTBCPerStage[3] = 0; usersTBCPerStage[4] = 0; statusPerStage[0] = true; statusPerStage[1] = false; statusPerStage[2] = false; statusPerStage[3] = false; statusPerStage[4] = false; statusPerStage[5] = false; communityIncentives = 4000; extraIncentives = 1000; royaltyIncentive = 1000; nextRewardDrain = block.timestamp + 30 days; Referrals = IReferrals(0xA02251bF35e53ea86bAc1aDbEc728F4419CA4961); TUSD = address(0x63F74F1329Fe12E1E1dbad20Ebabb06DC53f2330); FundWallet = address(0x760c5A41b67BE0b8E208Da61c9654d5aad1e92f2); ownerWallet = address(0x760c5A41b67BE0b8E208Da61c9654d5aad1e92f2); } function buy(uint256 packages, uint256 stage, address investor, address sponsor, uint256 stage2Share, uint256 stage3Share, uint256 stage4Share, uint256 stage5Share, uint256 stage6Share) external { require(packages < investmentPackages.length, "Staking packages not found"); require(IERC20(TUSD).balanceOf(msg.sender) >= investmentPackages[packages], "balance not available for staking"); require(sponsor != address(0), 'zero address'); require(sponsor != msg.sender, "ERR: referrer different required"); if(!saleEnable) { saleEnable = true; } uint256 TUSDAmount = investmentPackages[packages]; IERC20(TUSD).safeTransferFrom(address(msg.sender), address(this), TUSDAmount); if(Referrals.getSponsor(investor) == address(0)) { Referrals.addMember(investor, sponsor); } else { sponsor = Referrals.getSponsor(investor); } if(stage == 0) { uint256 totalTBC = TUSDAmount * 10**18 / pricePerStage[0]; require(TBCPerStage[0] >= totalTBC, "TBC not available for sale"); require(stage2Share + stage3Share + stage4Share + stage5Share + stage6Share == totalTBC, "Stagewise coin distrubation is not correct"); require(statusPerStage[0], "Stage is closed"); if(stage2Share > 0) { stage2UserTBC.push(stage2Share); stage2UserWallet.push(investor); TBCPerStage[1] += stage2Share; usersTBCPerStage[1] += stage2Share; stageWiseTBC[address(msg.sender)][1] += stage2Share; } if(stage3Share > 0) { stage3UserTBC.push(stage3Share); stage3UserWallet.push(investor); TBCPerStage[2] += stage3Share; usersTBCPerStage[2] += stage3Share; stageWiseTBC[address(msg.sender)][2] += stage3Share; } if(stage4Share > 0) { stage4UserTBC.push(stage4Share); stage4UserWallet.push(investor); TBCPerStage[3] += stage4Share; usersTBCPerStage[3] += stage4Share; stageWiseTBC[address(msg.sender)][3] += stage4Share; } if(stage5Share > 0) { stage5UserTBC.push(stage5Share); stage5UserWallet.push(investor); TBCPerStage[4] += stage5Share; usersTBCPerStage[4] += stage5Share; stageWiseTBC[address(msg.sender)][4] += stage5Share; } if(stage6Share > 0) { stage6UserTBC.push(stage6Share); stage6UserWallet.push(investor); TBCPerStage[5] += stage6Share; usersTBCPerStage[5] += stage6Share; stageWiseTBC[address(msg.sender)][5] += stage6Share; } TBCPerStage[0] -= totalTBC; if(TBCPerStage[0] == 0) { statusPerStage[0] = false; statusPerStage[1] = true; } } else if(stage == 1) { uint256 totalTBC = TUSDAmount * 10**18 / pricePerStage[1]; require(TBCPerStage[1] >= totalTBC, "TBC not available for sale"); require(stage3Share + stage4Share + stage5Share + stage6Share == totalTBC, "Stagewise coin distrubation is not correct"); require(statusPerStage[1], "Stage is closed"); uint256 sponsorShare = totalTBC * 20 / 100; uint256 userShare = totalTBC * 40 / 100; uint256 start = indexPerStage[1]; for(uint256 i=start; i < stage2UserTBC.length; i++) { uint256 indexTBC = stage2UserTBC[i]; if(indexTBC >= userShare) { stage2UserTBC[i] -= userShare; uint256 userFund = totalTBC * pricePerStage[1] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage2UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage2UserTBC[i] * pricePerStage[1] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage2UserWallet[i]), userFund - communityFee); userShare -= stage2UserTBC[i]; stage2UserTBC[i] = 0; indexPerStage[1] = i; } } start = indexPerStage[1]; for(uint256 i=start; i < stage2UserTBC.length; i++) { if(stage2UserWallet[i] == address(sponsor)) { uint256 indexTBC = stage2UserTBC[i]; if(indexTBC >= sponsorShare) { stage2UserTBC[i] -= sponsorShare; uint256 userFund = totalTBC * pricePerStage[1] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage2UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage2UserTBC[i] * pricePerStage[1] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage2UserWallet[i]), userFund - communityFee); sponsorShare -= stage2UserTBC[i]; stage2UserTBC[i] = 0; } } } if(stage3Share > 0) { stage3UserTBC.push(stage3Share); stage3UserWallet.push(investor); TBCPerStage[2] += stage3Share; usersTBCPerStage[2] += stage3Share; stageWiseTBC[address(msg.sender)][2] += stage3Share; } if(stage4Share > 0) { stage4UserTBC.push(stage4Share); stage4UserWallet.push(investor); TBCPerStage[3] += stage4Share; usersTBCPerStage[3] += stage4Share; stageWiseTBC[address(msg.sender)][3] += stage4Share; } if(stage5Share > 0) { stage5UserTBC.push(stage5Share); stage5UserWallet.push(investor); TBCPerStage[4] += stage5Share; usersTBCPerStage[4] += stage5Share; stageWiseTBC[address(msg.sender)][4] += stage5Share; } if(stage6Share > 0) { stage6UserTBC.push(stage6Share); stage6UserWallet.push(investor); TBCPerStage[5] += stage6Share; usersTBCPerStage[5] += stage6Share; stageWiseTBC[address(msg.sender)][5] += stage6Share; } TBCPerStage[1] -= totalTBC; if(TBCPerStage[1] == 0) { statusPerStage[1] = false; statusPerStage[2] = true; } } else if(stage == 2) { uint256 totalTBC = TUSDAmount * 10**18 / pricePerStage[2]; require(TBCPerStage[2] >= totalTBC, "TBC not available for sale"); require(stage4Share + stage5Share + stage6Share == totalTBC, "Stagewise coin distrubation is not correct"); require(statusPerStage[2], "Stage is closed"); uint256 sponsorShare = totalTBC * 20 / 100; uint256 userShare = totalTBC * 40 / 100; uint256 start = indexPerStage[2]; for(uint256 i=start; i < stage3UserTBC.length; i++) { uint256 indexTBC = stage3UserTBC[i]; if(indexTBC >= userShare) { stage3UserTBC[i] -= userShare; uint256 userFund = totalTBC * pricePerStage[2] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage3UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage3UserTBC[i] * pricePerStage[2] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage3UserWallet[i]), userFund - communityFee); userShare -= stage3UserTBC[i]; stage3UserTBC[i] = 0; indexPerStage[1] = i; } } start = indexPerStage[2]; for(uint256 i=start; i < stage3UserTBC.length; i++) { if(stage3UserWallet[i] == address(sponsor)) { uint256 indexTBC = stage3UserTBC[i]; if(indexTBC >= sponsorShare) { stage3UserTBC[i] -= sponsorShare; uint256 userFund = totalTBC * pricePerStage[1] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage3UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage3UserTBC[i] * pricePerStage[1] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage3UserWallet[i]), userFund - communityFee); sponsorShare -= stage3UserTBC[i]; stage3UserTBC[i] = 0; } } } if(stage4Share > 0) { stage4UserTBC.push(stage4Share); stage4UserWallet.push(investor); TBCPerStage[3] += stage4Share; usersTBCPerStage[3] += stage4Share; stageWiseTBC[address(msg.sender)][3] += stage4Share; } if(stage5Share > 0) { stage5UserTBC.push(stage5Share); stage5UserWallet.push(investor); TBCPerStage[4] += stage5Share; usersTBCPerStage[4] += stage5Share; stageWiseTBC[address(msg.sender)][4] += stage5Share; } if(stage6Share > 0) { stage6UserTBC.push(stage6Share); stage6UserWallet.push(investor); TBCPerStage[5] += stage6Share; usersTBCPerStage[5] += stage6Share; stageWiseTBC[address(msg.sender)][5] += stage6Share; } TBCPerStage[2] -= totalTBC; if(TBCPerStage[2] == 0) { statusPerStage[2] = false; statusPerStage[3] = true; } } else if(stage == 3) { uint256 totalTBC = TUSDAmount * 10**18 / pricePerStage[3]; require(TBCPerStage[3] >= totalTBC, "TBC not available for sale"); require(stage5Share + stage6Share == totalTBC, "Stagewise coin distrubation is not correct"); require(statusPerStage[3], "Stage is closed"); uint256 sponsorShare = totalTBC * 20 / 100; uint256 userShare = totalTBC * 40 / 100; uint256 start = indexPerStage[3]; for(uint256 i=start; i < stage4UserTBC.length; i++) { uint256 indexTBC = stage4UserTBC[i]; if(indexTBC >= userShare) { stage4UserTBC[i] -= userShare; uint256 userFund = totalTBC * pricePerStage[3] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage4UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage4UserTBC[i] * pricePerStage[3] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage4UserWallet[i]), userFund - communityFee); userShare -= stage4UserTBC[i]; stage4UserTBC[i] = 0; indexPerStage[1] = i; } } start = indexPerStage[3]; for(uint256 i=start; i < stage4UserTBC.length; i++) { if(stage4UserWallet[i] == address(sponsor)) { uint256 indexTBC = stage4UserTBC[i]; if(indexTBC >= sponsorShare) { stage4UserTBC[i] -= sponsorShare; uint256 userFund = totalTBC * pricePerStage[3] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage4UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage4UserTBC[i] * pricePerStage[3] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage4UserWallet[i]), userFund - communityFee); sponsorShare -= stage4UserTBC[i]; stage4UserTBC[i] = 0; } } } if(stage5Share > 0) { stage5UserTBC.push(stage5Share); stage5UserWallet.push(investor); TBCPerStage[4] += stage5Share; usersTBCPerStage[4] += stage5Share; stageWiseTBC[address(msg.sender)][4] += stage5Share; } if(stage6Share > 0) { stage6UserTBC.push(stage6Share); stage6UserWallet.push(investor); TBCPerStage[5] += stage6Share; usersTBCPerStage[5] += stage6Share; stageWiseTBC[address(msg.sender)][5] += stage6Share; } TBCPerStage[3] -= totalTBC; if(TBCPerStage[3] == 0) { statusPerStage[3] = false; statusPerStage[4] = true; } } else if(stage == 4) { uint256 totalTBC = TUSDAmount * 10**18 / pricePerStage[4]; require(TBCPerStage[4] >= totalTBC, "TBC not available for sale"); require(stage6Share == totalTBC, "Stagewise coin distrubation is not correct"); require(statusPerStage[4], "Stage is closed"); uint256 sponsorShare = totalTBC * 20 / 100; uint256 userShare = totalTBC * 40 / 100; uint256 start = indexPerStage[4]; for(uint256 i=start; i < stage5UserTBC.length; i++) { uint256 indexTBC = stage5UserTBC[i]; if(indexTBC >= userShare) { stage5UserTBC[i] -= userShare; uint256 userFund = totalTBC * pricePerStage[4] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage5UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage5UserTBC[i] * pricePerStage[4] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage5UserWallet[i]), userFund - communityFee); userShare -= stage5UserTBC[i]; stage5UserTBC[i] = 0; indexPerStage[1] = i; } } start = indexPerStage[4]; for(uint256 i=start; i < stage5UserTBC.length; i++) { if(stage5UserWallet[i] == address(sponsor)) { uint256 indexTBC = stage5UserTBC[i]; if(indexTBC >= sponsorShare) { stage5UserTBC[i] -= sponsorShare; uint256 userFund = totalTBC * pricePerStage[4] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage5UserWallet[i]), userFund - communityFee); break; } else { uint256 userFund = stage5UserTBC[i] * pricePerStage[4] / 10**18; uint256 communityFee = userFund * communityIncentives / 10000; IERC20(TUSD).safeTransfer(address(stage5UserWallet[i]), userFund - communityFee); sponsorShare -= stage5UserTBC[i]; stage5UserTBC[i] = 0; } } } if(stage6Share > 0) { stage6UserTBC.push(stage6Share); stage6UserWallet.push(investor); TBCPerStage[5] += stage6Share; usersTBCPerStage[5] += stage6Share; stageWiseTBC[address(msg.sender)][5] += stage6Share; } TBCPerStage[4] -= totalTBC; if(TBCPerStage[4] == 0) { statusPerStage[4] = false; statusPerStage[5] = true; } } if(block.timestamp >= nextRewardDrain) { nextRewardDrain += 30 days; } mapUserInfo[msg.sender].investedAmount += TUSDAmount; totalBusiness[sponsor] += TUSDAmount; uint256 myDirect = Referrals.getTeam(address(sponsor), 0); if(myDirect >= 3 && totalBusiness[sponsor] >= 1500 * 10**18 && !mapUserInfo[sponsor].royalty) { mapUserInfo[sponsor].royalty = true; } referralBonusDistribution(investor, TUSDAmount); workingBonusDistribution(investor, TUSDAmount); foreignTourBonusDistribution(sponsor, totalBusiness[sponsor]); monthlyBonusDistribution(investor, TUSDAmount); IERC20(TUSD).safeTransfer(address(ownerWallet), IERC20(TUSD).balanceOf(address(this))); } function monthlyBonusDistribution(address sponsor, uint256 amount) private { address nextReferrer = Referrals.getSponsor(sponsor); for(uint256 i=0; i < 512; i++) { if(nextReferrer != address(0)) { monthlySale[nextReferrer][nextRewardDrain] += amount; } else { break; } nextReferrer = Referrals.getSponsor(nextReferrer); } } function foreignTourBonusDistribution(address sponsor, uint256 amount) private { uint256 incentiveAmount = (amount / 3000 * 10**18) * (300 * 10**18); if(incentiveAmount > mapUserInfo[sponsor].foreignTour) { uint256 payableAmount = incentiveAmount - mapUserInfo[sponsor].foreignTour; if(mapUserInfo[Referrals.getSponsor(sponsor)].royalty) { royaltyBonusDistribution(Referrals.getSponsor(sponsor), ((payableAmount * royaltyIncentive) / 10000)); } if(IERC20(TUSD).balanceOf(address(this)) >= payableAmount) { mapUserInfo[sponsor].foreignTour += payableAmount; mapUserInfo[sponsor].claimedAmount += payableAmount; IERC20(TUSD).safeTransfer(address(sponsor), payableAmount); } else if(IERC20(TUSD).allowance(address(FundWallet), address(this)) >= payableAmount && IERC20(TUSD).balanceOf(address(FundWallet)) >= payableAmount) { mapUserInfo[sponsor].foreignTour += payableAmount; mapUserInfo[sponsor].claimedAmount += payableAmount; IERC20(TUSD).safeTransferFrom(address(FundWallet), address(sponsor), payableAmount); } else { mapUserInfo[sponsor].foreignTour += payableAmount; } } } function workingBonusDistribution(address sponsor, uint256 amount) private { address nextReferrer = Referrals.getSponsor(sponsor); for(uint256 i=0; i < 512; i++) { if(nextReferrer != address(0)) { if(workingBonus[nextReferrer] > 0) { uint256 payableAmount = amount * (workingBonus[nextReferrer]) / 10000; if(IERC20(TUSD).balanceOf(address(this)) >= payableAmount) { mapUserInfo[nextReferrer].workingBonus += payableAmount; mapUserInfo[sponsor].claimedAmount += payableAmount; IERC20(TUSD).safeTransfer(address(sponsor), payableAmount); break; } else if(IERC20(TUSD).allowance(address(FundWallet), address(this)) >= payableAmount && IERC20(TUSD).balanceOf(address(FundWallet)) >= payableAmount) { mapUserInfo[nextReferrer].workingBonus += payableAmount; mapUserInfo[sponsor].claimedAmount += payableAmount; IERC20(TUSD).safeTransferFrom(address(FundWallet), address(nextReferrer), payableAmount); break; } else { mapUserInfo[nextReferrer].workingBonus += payableAmount; break; } } } else { break; } nextReferrer = Referrals.getSponsor(nextReferrer); } } function referralBonusDistribution(address sponsor, uint256 amount) private { address nextReferrer = Referrals.getSponsor(sponsor); for(uint256 i=0; i < 10; i++) { if(nextReferrer != address(0)) { uint256 myDirect = Referrals.getTeam(address(nextReferrer), 0); if(myDirect >= teamRequiredForBonus[i]) { address sponsorWallet = Referrals.getSponsor(nextReferrer); if(i==0 && myDirect >= 5) { uint256 reward = amount * referrerBonus[i] * 2 / 10000; if(mapUserInfo[sponsorWallet].royalty) { royaltyBonusDistribution(sponsorWallet, ((reward * royaltyIncentive) / 10000)); } mapLevelEarning[nextReferrer][i].levelEarning += reward; mapUserInfo[nextReferrer].levelIncome += reward; mapUserInfo[nextReferrer].claimedAmount += reward; IERC20(TUSD).safeTransfer(address(nextReferrer), reward); } else { if(i==0) { uint256 reward = amount * referrerBonus[i] / 10000; if(mapUserInfo[sponsorWallet].royalty) { royaltyBonusDistribution(sponsorWallet, ((reward * royaltyIncentive) / 10000)); } mapLevelEarning[nextReferrer][i].levelEarning += reward; mapUserInfo[nextReferrer].levelIncome += reward; mapUserInfo[nextReferrer].claimedAmount += reward; IERC20(TUSD).safeTransfer(address(nextReferrer), reward); } else if(totalBusiness[address(nextReferrer)] >= 1500 * 10**18) { uint256 reward = amount * referrerBonus[i] / 10000; if(mapUserInfo[sponsorWallet].royalty) { royaltyBonusDistribution(sponsorWallet, ((reward * royaltyIncentive) / 10000)); } mapLevelEarning[nextReferrer][i].levelEarning += reward; mapUserInfo[nextReferrer].levelIncome += reward; mapUserInfo[nextReferrer].claimedAmount += reward; IERC20(TUSD).safeTransfer(address(nextReferrer), reward); } } } } else { break; } nextReferrer = Referrals.getSponsor(nextReferrer); } } function royaltyBonusDistribution(address sponsor, uint256 payableAmount) private { if(IERC20(TUSD).balanceOf(address(this)) >= payableAmount) { mapUserInfo[sponsor].royaltyBonus += payableAmount; mapUserInfo[sponsor].claimedAmount += payableAmount; IERC20(TUSD).safeTransfer(address(sponsor), payableAmount); } else if(IERC20(TUSD).allowance(address(FundWallet), address(this)) >= payableAmount && IERC20(TUSD).balanceOf(address(FundWallet)) >= payableAmount) { mapUserInfo[sponsor].royaltyBonus += payableAmount; mapUserInfo[sponsor].claimedAmount += payableAmount; IERC20(TUSD).safeTransferFrom(address(FundWallet), address(sponsor), payableAmount); } else { mapUserInfo[sponsor].royaltyBonus += payableAmount; } } function claimMonthlyReward(address topSponsor, uint256 month) external { require(monthlySaleClaimed[address(msg.sender)][month] == false, "Already claimed"); require(Referrals.getSponsor(topSponsor) == address(msg.sender), "Incorrect top sponsor"); uint256 topSponsorSale = monthlySale[address(topSponsor)][month]; uint256 allSale = monthlySale[address(msg.sender)][month]; uint256 remainingTeamSale = allSale - topSponsorSale; uint256 payableAmount = 0; if(topSponsorSale >= 10000000 * 10**18 && remainingTeamSale >=10000000 * 10**18) { payableAmount = 1000000 * 10**18; } else if(topSponsorSale >= 5000000 * 10**18 && remainingTeamSale >=5000000 * 10**18) { payableAmount = 400000 * 10**18; } else if(topSponsorSale >= 2000000 * 10**18 && remainingTeamSale >=2000000 * 10**18) { payableAmount = 150000 * 10**18; } else if(topSponsorSale >= 500000 * 10**18 && remainingTeamSale >=500000 * 10**18) { payableAmount = 35000 * 10**18; } else if(topSponsorSale >= 125000 * 10**18 && remainingTeamSale >=125000 * 10**18) { payableAmount = 8500 * 10**18; } else if(topSponsorSale >= 50000 * 10**18 && remainingTeamSale >=50000 * 10**18) { payableAmount = 3000 * 10**18; } else if(topSponsorSale >= 15000 * 10**18 && remainingTeamSale >=15000 * 10**18) { payableAmount = 800 * 10**18; } else if(topSponsorSale >=5000 * 10**18 && remainingTeamSale >=5000 * 10**18) { payableAmount = 250 * 10**18; } else { payableAmount = 0; } if(payableAmount > 0 && IERC20(TUSD).allowance(address(FundWallet), address(this)) >= payableAmount && IERC20(TUSD).balanceOf(address(FundWallet)) >= payableAmount) { monthlySaleClaimed[address(msg.sender)][month] = true; address sponsor = Referrals.getSponsor(address(msg.sender)); if(mapUserInfo[sponsor].royalty) { royaltyBonusDistribution(sponsor, ((payableAmount * royaltyIncentive) / 10000)); } IERC20(TUSD).safeTransferFrom(address(FundWallet), address(msg.sender), payableAmount); } } function withdrawEarning() external { require(mapUserInfo[address(msg.sender)].investedAmount > 0, "Incorrect request"); uint256 payableAmount = pendingReward(address(msg.sender)); if(payableAmount > 0 && IERC20(TUSD).allowance(address(FundWallet), address(this)) >= payableAmount && IERC20(TUSD).balanceOf(address(FundWallet)) >= payableAmount) { mapUserInfo[address(msg.sender)].claimedAmount += payableAmount; IERC20(TUSD).safeTransferFrom(address(FundWallet), address(msg.sender), payableAmount); } } function pendingReward(address user) public view returns (uint256) { if(mapUserInfo[address(user)].investedAmount > 0) { uint256 pending = (mapUserInfo[user].levelIncome + mapUserInfo[user].foreignTour + mapUserInfo[user].workingBonus + mapUserInfo[user].royaltyBonus) - (mapUserInfo[user].claimedAmount); return pending; } else { return 0; } } function setWorkingBonus(address user, uint256 bonus) external { require(msg.sender == address(FundWallet), "Incorrect request"); require(bonus <= 500, "Working bonus can't be more than 30%"); workingBonus[address(user)] = bonus; } function setTeam(uint256[8] memory userStats, bool royalty, address investor, address sponsor, uint256 stage2Share, uint256 stage3Share, uint256 stage4Share, uint256 stage5Share, uint256 stage6Share) external { require(msg.sender == address(FundWallet), "Incorrect request"); require(!saleEnable, "Sale already enable"); if(Referrals.getSponsor(investor) == address(0)) { Referrals.addMember(investor, address(sponsor)); } uint256 totalTBC = stage2Share + stage3Share + stage4Share + stage5Share + stage6Share; if(stage2Share > 0) { stage2UserTBC.push(stage2Share); stage2UserWallet.push(investor); TBCPerStage[1] += stage2Share; usersTBCPerStage[1] += stage2Share; stageWiseTBC[address(investor)][1] += stage2Share; } if(stage3Share > 0) { stage3UserTBC.push(stage3Share); stage3UserWallet.push(investor); TBCPerStage[2] += stage3Share; usersTBCPerStage[2] += stage3Share; stageWiseTBC[address(investor)][2] += stage3Share; } if(stage4Share > 0) { stage4UserTBC.push(stage4Share); stage4UserWallet.push(investor); TBCPerStage[3] += stage4Share; usersTBCPerStage[3] += stage4Share; stageWiseTBC[address(investor)][3] += stage4Share; } if(stage5Share > 0) { stage5UserTBC.push(stage5Share); stage5UserWallet.push(investor); TBCPerStage[4] += stage5Share; usersTBCPerStage[4] += stage5Share; stageWiseTBC[address(investor)][4] += stage5Share; } if(stage6Share > 0) { stage6UserTBC.push(stage6Share); stage6UserWallet.push(investor); TBCPerStage[5] += stage6Share; usersTBCPerStage[5] += stage6Share; stageWiseTBC[address(investor)][5] += stage6Share; } TBCPerStage[0] -= totalTBC; mapUserInfo[address(investor)].investedAmount = userStats[0]; mapUserInfo[address(investor)].levelIncome = userStats[1]; mapUserInfo[address(investor)].foreignTour = userStats[2]; mapUserInfo[address(investor)].monthlyReward = userStats[3]; mapUserInfo[address(investor)].workingBonus = userStats[4]; mapUserInfo[address(investor)].royaltyBonus = userStats[5]; mapUserInfo[address(investor)].claimedAmount = userStats[6]; monthlySale[address(investor)][nextRewardDrain] = userStats[7]; mapUserInfo[address(investor)].royalty = royalty; } function claimTBC() external { require(statusPerStage[5], "Exchange stage is not start yet"); uint256 claimableTBC = stageWiseTBC[address(msg.sender)][5] - mapUserInfo[address(msg.sender)].claimedTBC; if(claimableTBC > 0) { payable(msg.sender).transfer(claimableTBC); mapUserInfo[address(msg.sender)].claimedTBC += claimableTBC; } } }

File 5 of 6 : SafeERC20.sol

// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; import "./draft-IERC20Permit.sol"; import "./Address.sol"; library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } function _callOptionalReturn(IERC20 token, bytes memory data) private { bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }

File 6 of 6 : draft-IERC20Permit.sol

// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IERC20Permit { function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; function nonces(address owner) external view returns (uint256); function DOMAIN_SEPARATOR() external view returns (bytes32); }
ABI Code (Solidity Standard Json-Input format)

File 1 of 1 : ABI.json

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PoolUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"stage1Status","type":"bool"},{"indexed":false,"internalType":"bool","name":"stage2Status","type":"bool"},{"indexed":false,"internalType":"bool","name":"stage3Status","type":"bool"},{"indexed":false,"internalType":"bool","name":"stage4Status","type":"bool"},{"indexed":false,"internalType":"bool","name":"stage5Status","type":"bool"},{"indexed":false,"internalType":"bool","name":"stage6Status","type":"bool"}],"name":"StageStatusUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"FundWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Referrals","outputs":[{"internalType":"contract IReferrals","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"TBCPerStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TUSD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"packages","type":"uint256"},{"internalType":"uint256","name":"stage","type":"uint256"},{"internalType":"address","name":"investor","type":"address"},{"internalType":"address","name":"sponsor","type":"address"},{"internalType":"uint256","name":"stage2Share","type":"uint256"},{"internalType":"uint256","name":"stage3Share","type":"uint256"},{"internalType":"uint256","name":"stage4Share","type":"uint256"},{"internalType":"uint256","name":"stage5Share","type":"uint256"},{"internalType":"uint256","name":"stage6Share","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"topSponsor","type":"address"},{"internalType":"uint256","name":"month","type":"uint256"}],"name":"claimMonthlyReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTBC","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityIncentives","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"extraIncentives","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"indexPerStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"investmentPackages","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mapLevelEarning","outputs":[{"internalType":"uint256","name":"levelEarning","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mapUserInfo","outputs":[{"internalType":"uint256","name":"investedAmount","type":"uint256"},{"internalType":"uint256","name":"levelIncome","type":"uint256"},{"internalType":"uint256","name":"foreignTour","type":"uint256"},{"internalType":"uint256","name":"monthlyReward","type":"uint256"},{"internalType":"uint256","name":"workingBonus","type":"uint256"},{"internalType":"uint256","name":"royaltyBonus","type":"uint256"},{"internalType":"uint256","name":"claimedAmount","type":"uint256"},{"internalType":"uint256","name":"claimedTBC","type":"uint256"},{"internalType":"bool","name":"royalty","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"monthlySale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"monthlySaleClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextRewardDrain","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownerWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"pendingReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pricePerStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"referrerBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyIncentive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[8]","name":"userStats","type":"uint256[8]"},{"internalType":"bool","name":"royalty","type":"bool"},{"internalType":"address","name":"investor","type":"address"},{"internalType":"address","name":"sponsor","type":"address"},{"internalType":"uint256","name":"stage2Share","type":"uint256"},{"internalType":"uint256","name":"stage3Share","type":"uint256"},{"internalType":"uint256","name":"stage4Share","type":"uint256"},{"internalType":"uint256","name":"stage5Share","type":"uint256"},{"internalType":"uint256","name":"stage6Share","type":"uint256"}],"name":"setTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"bonus","type":"uint256"}],"name":"setWorkingBonus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage2UserTBC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage2UserWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage3UserTBC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage3UserWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage4UserTBC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage4UserWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage5UserTBC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage5UserWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage6UserTBC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stage6UserWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stageWiseTBC","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stageWiseTBCSold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"statusPerStage","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"teamRequiredForBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalBusiness","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usersTBCPerStage","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEarning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"workingBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
0x608060405234801561001057600080fd5b50600436106102685760003560e01c806375b9497711610151578063d9282dc6116100c3578063ea74ce1d11610087578063ea74ce1d1461062a578063f16cc4db1461063d578063f40f0f5214610650578063fcb1112414610663578063fe4ca8471461066b578063ffbdbe5e1461067857610268565b8063d9282dc6146105d5578063dd164ef1146105e8578063ddf30a1b146105fb578063de216f661461060e578063e8aca46a1461061757610268565b806399b008ce1161011557806399b008ce1461055f5780639f45b38c14610568578063a6776d9f1461057b578063abe257cc1461058e578063cddc3552146105a1578063d21d35dc146105aa57610268565b806375b94977146104fe5780637cb936e7146105115780638323550b1461052457806384cd550514610537578063899161a01461055757610268565b8063303256fb116101ea57806358bdd4a2116101ae57806358bdd4a21461047e57806359d7bd71146104915780635bf5658b1461049a57806361b49fdc146104ad57806366f150e7146104c05780636f20befd146104eb57610268565b8063303256fb14610412578063357ec6e2146104255780634412224414610445578063471332c8146104585780634c7cdb821461046b57610268565b8063156129331161023157806315612933146102e157806318af7611146103835780631d63a0a8146103ae57806324f97835146103c157806326745f2d146103ff57610268565b80624a98e81461026d57806307f5e8ac146102935780630a8c0e4c146102a657806312c8b348146102b957806313c5897e146102cc575b600080fd5b61028061027b366004615883565b6106a3565b6040519081526020015b60405180910390f35b6102806102a1366004615883565b6106ba565b6102806102b4366004615754565b6106ca565b6102806102c7366004615883565b6106ef565b6102df6102da3660046158b3565b610710565b005b61033d6102ef36600461571c565b60446020526000908152604090208054600182015460028301546003840154600485015460058601546006870154600788015460089098015496979596949593949293919290919060ff1689565b60408051998a5260208a0198909852968801959095526060870193909352608086019190915260a085015260c084015260e083015215156101008201526101200161028a565b600254610396906001600160a01b031681565b6040516001600160a01b03909116815260200161028a565b6102df6103bc366004615754565b61302d565b6103ef6103cf366004615754565b604960209081526000928352604080842090915290825290205460ff1681565b604051901515815260200161028a565b6103ef61040d366004615883565b6135b2565b610280610420366004615883565b6135dc565b61028061043336600461571c565b60476020526000908152604090205481565b610280610453366004615883565b6135ec565b610396610466366004615883565b6135fc565b600154610396906001600160a01b031681565b61039661048c366004615883565b613626565b61028060045481565b6102806104a8366004615883565b613636565b6103966104bb366004615883565b613646565b6102806104ce366004615754565b604860209081526000928352604080842090915290825290205481565b600354610396906001600160a01b031681565b61039661050c366004615883565b613656565b6102df61051f366004615754565b613666565b600054610396906001600160a01b031681565b61028061054536600461571c565b60466020526000908152604090205481565b6102df61370a565b61028060075481565b610280610576366004615883565b6138b4565b610280610589366004615883565b6138c4565b6102df61059c36600461577f565b6138d4565b61028060055481565b6102806105b8366004615754565b604a60209081526000928352604080842090915290825290205481565b6103966105e3366004615883565b613f57565b6102806105f6366004615883565b613f67565b610280610609366004615883565b613f77565b61028060065481565b6102df61062536600461571c565b613f87565b610280610638366004615883565b613ffc565b61028061064b366004615883565b61400c565b61028061065e36600461571c565b61401c565b6102df6140ab565b6009546103ef9060ff1681565b610280610686366004615754565b604b60209081526000928352604080842090915290825290205481565b602081600681106106b357600080fd5b0154905081565b601481600681106106b357600080fd5b604560205281600052604060002081600a81106106e657600080fd5b01549150829050565b603c81815481106106ff57600080fd5b600091825260209091200154905081565b6003546001600160a01b03166107415760405162461bcd60e51b815260040161073890615a23565b60405180910390fd5b600689106107915760405162461bcd60e51b815260206004820152601a60248201527f5374616b696e67207061636b61676573206e6f7420666f756e640000000000006044820152606401610738565b602089600681106107b257634e487b7160e01b600052603260045260246000fd5b01546000546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b1580156107f757600080fd5b505afa15801561080b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061082f919061589b565b10156108875760405162461bcd60e51b815260206004820152602160248201527f62616c616e6365206e6f7420617661696c61626c6520666f72207374616b696e6044820152606760f81b6064820152608401610738565b6001600160a01b0386166108cc5760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610738565b6001600160a01b0386163314156109255760405162461bcd60e51b815260206004820181905260248201527f4552523a20726566657272657220646966666572656e742072657175697265646044820152606401610738565b60095460ff1661093d576009805460ff191660011790555b600060208a6006811061096057634e487b7160e01b600052603260045260246000fd5b015460005490915061097d906001600160a01b0316333084614197565b60035460405163743fc74560e01b81526001600160a01b038a81166004830152600092169063743fc7459060240160206040518083038186803b1580156109c357600080fd5b505afa1580156109d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109fb9190615738565b6001600160a01b03161415610a7657600354604051639d58b15d60e01b81526001600160a01b038a81166004830152898116602483015290911690639d58b15d90604401600060405180830381600087803b158015610a5957600080fd5b505af1158015610a6d573d6000803e3d6000fd5b50505050610af6565b60035460405163743fc74560e01b81526001600160a01b038a811660048301529091169063743fc7459060240160206040518083038186803b158015610abb57600080fd5b505afa158015610acf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af39190615738565b96505b88610ff057600f54600090610b1383670de0b6b3a7640000615a86565b610b1d9190615a66565b9050806014600001541015610b445760405162461bcd60e51b8152600401610738906159c3565b80838587610b528a8c615a4e565b610b5c9190615a4e565b610b669190615a4e565b610b709190615a4e565b14610b8d5760405162461bcd60e51b815260040161073890615979565b60085460ff16610baf5760405162461bcd60e51b8152600401610738906159fa565b8615610c9557603a805460018082019092557fa2999d817b6757290b50e8ecf3fa939673403dd35c97de392fdb343b4015ce9e01889055603f805480830182556000919091527fc03004e3ce0784bf68186394306849f9b7b1200073105cd9aeb554a1802b58fd0180546001600160a01b0319166001600160a01b038c1617905587906014016000828254610c449190615a4e565b90915550879050601a6001016000828254610c5f9190615a4e565b9091555050336000908152604a602090815260408083206001845290915281208054899290610c8f908490615a4e565b90915550505b8515610d7957603b805460018082019092557fbbe3212124853f8b0084a66a2d057c2966e251e132af3691db153ab65f0d1a4d018790556040805491820181556000527f352feee0eea125f11f791c1b77524172e9bc20f1b719b6cef0fc24f64db8e15e0180546001600160a01b0319166001600160a01b038b161790558560146002016000828254610d289190615a4e565b90915550869050601a6002016000828254610d439190615a4e565b9091555050336000908152604a602090815260408083206002845290915281208054889290610d73908490615a4e565b90915550505b8415610e3957603c80546001808201909255600080516020615b7383398151915201869055604180549182018155600052600080516020615b938339815191520180546001600160a01b0319166001600160a01b038b161790558460146003016000828254610de89190615a4e565b90915550859050601a6003016000828254610e039190615a4e565b9091555050336000908152604a602090815260408083206003845290915281208054879290610e33908490615a4e565b90915550505b8315610ef957603d80546001808201909255600080516020615bf383398151915201859055604280549182018155600052600080516020615b538339815191520180546001600160a01b0319166001600160a01b038b161790558360146004016000828254610ea89190615a4e565b90915550849050601a6004016000828254610ec39190615a4e565b9091555050336000908152604a602090815260408083206004845290915281208054869290610ef3908490615a4e565b90915550505b8215610fb957603e80546001808201909255600080516020615bd383398151915201849055604380549182018155600052600080516020615bb38339815191520180546001600160a01b0319166001600160a01b038b161790558260146005016000828254610f689190615a4e565b90915550839050601a6005016000828254610f839190615a4e565b9091555050336000908152604a602090815260408083206005845290915281208054859290610fb3908490615a4e565b90915550505b8060146000016000828254610fce9190615aa5565b9091555050601454610fea576008805461ffff19166101001790555b50612dd8565b88600114156118f25760105460009061101183670de0b6b3a7640000615a86565b61101b9190615a66565b90508060146001015410156110425760405162461bcd60e51b8152600401610738906159c3565b80838561104f888a615a4e565b6110599190615a4e565b6110639190615a4e565b146110805760405162461bcd60e51b815260040161073890615979565b600854610100900460ff166110a75760405162461bcd60e51b8152600401610738906159fa565b600060646110b6836014615a86565b6110c09190615a66565b9050600060646110d1846028615a86565b6110db9190615a66565b600b54909150805b603a5481101561131f576000603a828154811061111057634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508381106112075783603a838154811061114657634e487b7160e01b600052603260045260246000fd5b90600052602060002001600082825461115f9190615aa5565b9091555050601054600090670de0b6b3a76400009061117e9089615a86565b6111889190615a66565b905060006127106004548361119d9190615a86565b6111a79190615a66565b90506111ff603f85815481106111cd57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03166111ec8385615aa5565b6000546001600160a01b03169190614208565b50505061131f565b6000670de0b6b3a7640000600f60010154603a858154811061123957634e487b7160e01b600052603260045260246000fd5b906000526020600020015461124e9190615a86565b6112589190615a66565b905060006127106004548361126d9190615a86565b6112779190615a66565b905061129d603f85815481106111cd57634e487b7160e01b600052603260045260246000fd5b603a84815481106112be57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154866112d49190615aa5565b95506000603a85815481106112f957634e487b7160e01b600052603260045260246000fd5b600091825260209091200155505050600b8190558061131781615ae8565b9150506110e3565b5050600b54805b603a54811015611572578b6001600160a01b0316603f828154811061135b57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415611560576000603a828154811061139957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905084811061145e5784603a83815481106113cf57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160008282546113e89190615aa5565b9091555050601054600090670de0b6b3a7640000906114079089615a86565b6114119190615a66565b90506000612710600454836114269190615a86565b6114309190615a66565b9050611456603f85815481106111cd57634e487b7160e01b600052603260045260246000fd5b505050611572565b6000670de0b6b3a7640000600f60010154603a858154811061149057634e487b7160e01b600052603260045260246000fd5b90600052602060002001546114a59190615a86565b6114af9190615a66565b90506000612710600454836114c49190615a86565b6114ce9190615a66565b90506114f4603f85815481106111cd57634e487b7160e01b600052603260045260246000fd5b603a848154811061151557634e487b7160e01b600052603260045260246000fd5b90600052602060002001548761152b9190615aa5565b96506000603a858154811061155057634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555050505b8061156a81615ae8565b915050611326565b50881561165757603b805460018082019092557fbbe3212124853f8b0084a66a2d057c2966e251e132af3691db153ab65f0d1a4d018a90556040805491820181556000527f352feee0eea125f11f791c1b77524172e9bc20f1b719b6cef0fc24f64db8e15e0180546001600160a01b0319166001600160a01b038e1617905588601460020160008282546116069190615a4e565b90915550899050601a60020160008282546116219190615a4e565b9091555050336000908152604a6020908152604080832060028452909152812080548b9290611651908490615a4e565b90915550505b871561171757603c80546001808201909255600080516020615b7383398151915201899055604180549182018155600052600080516020615b938339815191520180546001600160a01b0319166001600160a01b038e1617905587601460030160008282546116c69190615a4e565b90915550889050601a60030160008282546116e19190615a4e565b9091555050336000908152604a6020908152604080832060038452909152812080548a9290611711908490615a4e565b90915550505b86156117d757603d80546001808201909255600080516020615bf383398151915201889055604280549182018155600052600080516020615b538339815191520180546001600160a01b0319166001600160a01b038e1617905586601460040160008282546117869190615a4e565b90915550879050601a60040160008282546117a19190615a4e565b9091555050336000908152604a6020908152604080832060048452909152812080548992906117d1908490615a4e565b90915550505b851561189757603e80546001808201909255600080516020615bd383398151915201879055604380549182018155600052600080516020615bb38339815191520180546001600160a01b0319166001600160a01b038e1617905585601460050160008282546118469190615a4e565b90915550869050601a60050160008282546118619190615a4e565b9091555050336000908152604a602090815260408083206005845290915281208054889290611891908490615a4e565b90915550505b83601460010160008282546118ac9190615aa5565b90915550506015546118e9576008805461ff001916815560019060025b602091828204019190066101000a81548160ff0219169083151502179055505b50505050612dd8565b88600214156120b05760115460009061191383670de0b6b3a7640000615a86565b61191d9190615a66565b90508060146002015410156119445760405162461bcd60e51b8152600401610738906159c3565b80836119508688615a4e565b61195a9190615a4e565b146119775760405162461bcd60e51b815260040161073890615979565b60085462010000900460ff1661199f5760405162461bcd60e51b8152600401610738906159fa565b600060646119ae836014615a86565b6119b89190615a66565b9050600060646119c9846028615a86565b6119d39190615a66565b600c54909150805b603b54811015611be5576000603b8281548110611a0857634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050838110611acd5783603b8381548110611a3e57634e487b7160e01b600052603260045260246000fd5b906000526020600020016000828254611a579190615aa5565b9091555050601154600090670de0b6b3a764000090611a769089615a86565b611a809190615a66565b9050600061271060045483611a959190615a86565b611a9f9190615a66565b9050611ac5604085815481106111cd57634e487b7160e01b600052603260045260246000fd5b505050611be5565b6000670de0b6b3a7640000600f60020154603b8581548110611aff57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611b149190615a86565b611b1e9190615a66565b9050600061271060045483611b339190615a86565b611b3d9190615a66565b9050611b63604085815481106111cd57634e487b7160e01b600052603260045260246000fd5b603b8481548110611b8457634e487b7160e01b600052603260045260246000fd5b906000526020600020015486611b9a9190615aa5565b95506000603b8581548110611bbf57634e487b7160e01b600052603260045260246000fd5b600091825260209091200155505050600b81905580611bdd81615ae8565b9150506119db565b5050600c54805b603b54811015611e38578b6001600160a01b031660408281548110611c2157634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415611e26576000603b8281548110611c5f57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050848110611d245784603b8381548110611c9557634e487b7160e01b600052603260045260246000fd5b906000526020600020016000828254611cae9190615aa5565b9091555050601054600090670de0b6b3a764000090611ccd9089615a86565b611cd79190615a66565b9050600061271060045483611cec9190615a86565b611cf69190615a66565b9050611d1c604085815481106111cd57634e487b7160e01b600052603260045260246000fd5b505050611e38565b6000670de0b6b3a7640000600f60010154603b8581548110611d5657634e487b7160e01b600052603260045260246000fd5b9060005260206000200154611d6b9190615a86565b611d759190615a66565b9050600061271060045483611d8a9190615a86565b611d949190615a66565b9050611dba604085815481106111cd57634e487b7160e01b600052603260045260246000fd5b603b8481548110611ddb57634e487b7160e01b600052603260045260246000fd5b906000526020600020015487611df19190615aa5565b96506000603b8581548110611e1657634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555050505b80611e3081615ae8565b915050611bec565b508715611ef957603c80546001808201909255600080516020615b7383398151915201899055604180549182018155600052600080516020615b938339815191520180546001600160a01b0319166001600160a01b038e161790558760146003016000828254611ea89190615a4e565b90915550889050601a6003016000828254611ec39190615a4e565b9091555050336000908152604a6020908152604080832060038452909152812080548a9290611ef3908490615a4e565b90915550505b8615611fb957603d80546001808201909255600080516020615bf383398151915201889055604280549182018155600052600080516020615b538339815191520180546001600160a01b0319166001600160a01b038e161790558660146004016000828254611f689190615a4e565b90915550879050601a6004016000828254611f839190615a4e565b9091555050336000908152604a602090815260408083206004845290915281208054899290611fb3908490615a4e565b90915550505b851561207957603e80546001808201909255600080516020615bd383398151915201879055604380549182018155600052600080516020615bb38339815191520180546001600160a01b0319166001600160a01b038e1617905585601460050160008282546120289190615a4e565b90915550869050601a60050160008282546120439190615a4e565b9091555050336000908152604a602090815260408083206005845290915281208054889290612073908490615a4e565b90915550505b836014600201600082825461208e9190615aa5565b90915550506016546118e9576008805462ff00001916815560019060036118c9565b88600314156127a5576012546000906120d183670de0b6b3a7640000615a86565b6120db9190615a66565b90508060146003015410156121025760405162461bcd60e51b8152600401610738906159c3565b8061210d8486615a4e565b1461212a5760405162461bcd60e51b815260040161073890615979565b6008546301000000900460ff166121535760405162461bcd60e51b8152600401610738906159fa565b60006064612162836014615a86565b61216c9190615a66565b90506000606461217d846028615a86565b6121879190615a66565b600d54909150805b603c54811015612399576000603c82815481106121bc57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508381106122815783603c83815481106121f257634e487b7160e01b600052603260045260246000fd5b90600052602060002001600082825461220b9190615aa5565b9091555050601254600090670de0b6b3a76400009061222a9089615a86565b6122349190615a66565b90506000612710600454836122499190615a86565b6122539190615a66565b9050612279604185815481106111cd57634e487b7160e01b600052603260045260246000fd5b505050612399565b6000670de0b6b3a7640000600f60030154603c85815481106122b357634e487b7160e01b600052603260045260246000fd5b90600052602060002001546122c89190615a86565b6122d29190615a66565b90506000612710600454836122e79190615a86565b6122f19190615a66565b9050612317604185815481106111cd57634e487b7160e01b600052603260045260246000fd5b603c848154811061233857634e487b7160e01b600052603260045260246000fd5b90600052602060002001548661234e9190615aa5565b95506000603c858154811061237357634e487b7160e01b600052603260045260246000fd5b600091825260209091200155505050600b8190558061239181615ae8565b91505061218f565b5050600d54805b603c548110156125ec578b6001600160a01b0316604182815481106123d557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031614156125da576000603c828154811061241357634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508481106124d85784603c838154811061244957634e487b7160e01b600052603260045260246000fd5b9060005260206000200160008282546124629190615aa5565b9091555050601254600090670de0b6b3a7640000906124819089615a86565b61248b9190615a66565b90506000612710600454836124a09190615a86565b6124aa9190615a66565b90506124d0604185815481106111cd57634e487b7160e01b600052603260045260246000fd5b5050506125ec565b6000670de0b6b3a7640000600f60030154603c858154811061250a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015461251f9190615a86565b6125299190615a66565b905060006127106004548361253e9190615a86565b6125489190615a66565b905061256e604185815481106111cd57634e487b7160e01b600052603260045260246000fd5b603c848154811061258f57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154876125a59190615aa5565b96506000603c85815481106125ca57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555050505b806125e481615ae8565b9150506123a0565b5086156126ad57603d80546001808201909255600080516020615bf383398151915201889055604280549182018155600052600080516020615b538339815191520180546001600160a01b0319166001600160a01b038e16179055866014600401600082825461265c9190615a4e565b90915550879050601a60040160008282546126779190615a4e565b9091555050336000908152604a6020908152604080832060048452909152812080548992906126a7908490615a4e565b90915550505b851561276d57603e80546001808201909255600080516020615bd383398151915201879055604380549182018155600052600080516020615bb38339815191520180546001600160a01b0319166001600160a01b038e16179055856014600501600082825461271c9190615a4e565b90915550869050601a60050160008282546127379190615a4e565b9091555050336000908152604a602090815260408083206005845290915281208054889290612767908490615a4e565b90915550505b83601460030160008282546127829190615aa5565b90915550506017546118e9576008805463ff0000001916815560019060046118c9565b8860041415612dd8576013546000906127c683670de0b6b3a7640000615a86565b6127d09190615a66565b90508060146004015410156127f75760405162461bcd60e51b8152600401610738906159c3565b8083146128165760405162461bcd60e51b815260040161073890615979565b600854640100000000900460ff166128405760405162461bcd60e51b8152600401610738906159fa565b6000606461284f836014615a86565b6128599190615a66565b90506000606461286a846028615a86565b6128749190615a66565b600e54909150805b603d54811015612a86576000603d82815481106128a957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905083811061296e5783603d83815481106128df57634e487b7160e01b600052603260045260246000fd5b9060005260206000200160008282546128f89190615aa5565b9091555050601354600090670de0b6b3a7640000906129179089615a86565b6129219190615a66565b90506000612710600454836129369190615a86565b6129409190615a66565b9050612966604285815481106111cd57634e487b7160e01b600052603260045260246000fd5b505050612a86565b6000670de0b6b3a7640000600f60040154603d85815481106129a057634e487b7160e01b600052603260045260246000fd5b90600052602060002001546129b59190615a86565b6129bf9190615a66565b90506000612710600454836129d49190615a86565b6129de9190615a66565b9050612a04604285815481106111cd57634e487b7160e01b600052603260045260246000fd5b603d8481548110612a2557634e487b7160e01b600052603260045260246000fd5b906000526020600020015486612a3b9190615aa5565b95506000603d8581548110612a6057634e487b7160e01b600052603260045260246000fd5b600091825260209091200155505050600b81905580612a7e81615ae8565b91505061287c565b5050600e54805b603d54811015612cd9578b6001600160a01b031660428281548110612ac257634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03161415612cc7576000603d8281548110612b0057634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050848110612bc55784603d8381548110612b3657634e487b7160e01b600052603260045260246000fd5b906000526020600020016000828254612b4f9190615aa5565b9091555050601354600090670de0b6b3a764000090612b6e9089615a86565b612b789190615a66565b9050600061271060045483612b8d9190615a86565b612b979190615a66565b9050612bbd604285815481106111cd57634e487b7160e01b600052603260045260246000fd5b505050612cd9565b6000670de0b6b3a7640000600f60040154603d8581548110612bf757634e487b7160e01b600052603260045260246000fd5b9060005260206000200154612c0c9190615a86565b612c169190615a66565b9050600061271060045483612c2b9190615a86565b612c359190615a66565b9050612c5b604285815481106111cd57634e487b7160e01b600052603260045260246000fd5b603d8481548110612c7c57634e487b7160e01b600052603260045260246000fd5b906000526020600020015487612c929190615aa5565b96506000603d8581548110612cb757634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555050505b80612cd181615ae8565b915050612a8d565b508515612d9a57603e80546001808201909255600080516020615bd383398151915201879055604380549182018155600052600080516020615bb38339815191520180546001600160a01b0319166001600160a01b038e161790558560146005016000828254612d499190615a4e565b90915550869050601a6005016000828254612d649190615a4e565b9091555050336000908152604a602090815260408083206005845290915281208054889290612d94908490615a4e565b90915550505b8360146004016000828254612daf9190615aa5565b9091555050601854612dd3576008805465ffff000000001916650100000000001790555b505050505b6007544210612dfc5762278d0060076000828254612df69190615a4e565b90915550505b3360009081526044602052604081208054839290612e1b908490615a4e565b90915550506001600160a01b03871660009081526046602052604081208054839290612e48908490615a4e565b90915550506003546040516380f78b3f60e01b81526001600160a01b0389811660048301526000602483018190529216906380f78b3f9060440160206040518083038186803b158015612e9a57600080fd5b505afa158015612eae573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612ed2919061589b565b905060038110158015612f0657506001600160a01b038816600090815260466020526040902054685150ae84a8cdf0000011155b8015612f2e57506001600160a01b03881660009081526044602052604090206008015460ff16155b15612f5a576001600160a01b0388166000908152604460205260409020600801805460ff191660011790555b612f64898361423d565b612f6e89836147a8565b6001600160a01b038816600090815260466020526040902054612f92908990614bf8565b612f9c8983615078565b6002546000546040516370a0823160e01b8152306004820152613020926001600160a01b039081169216906370a082319060240160206040518083038186803b158015612fe857600080fd5b505afa158015612ffc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111ec919061589b565b5050505050505050505050565b33600090815260496020908152604080832084845290915290205460ff161561308a5760405162461bcd60e51b815260206004820152600f60248201526e105b1c9958591e4818db185a5b5959608a1b6044820152606401610738565b60035460405163743fc74560e01b81526001600160a01b0384811660048301523392169063743fc7459060240160206040518083038186803b1580156130cf57600080fd5b505afa1580156130e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131079190615738565b6001600160a01b0316146131555760405162461bcd60e51b815260206004820152601560248201527424b731b7b93932b1ba103a37b81039b837b739b7b960591b6044820152606401610738565b6001600160a01b038216600090815260486020818152604080842085855282528084205433855292825280842085855290915282205490916131978383615aa5565b905060006a084595161401484a00000084101580156131c157506a084595161401484a0000008210155b156131d7575069d3c21bcecceda1000000613372565b6a0422ca8b0a00a42500000084101580156131fd57506a0422ca8b0a00a4250000008210155b1561321357506954b40b1f852bda000000613372565b6a01a784379d99db42000000841015801561323957506a01a784379d99db420000008210155b1561324f5750691fc3842bd1f071c00000613372565b6969e10de76676d0800000841015801561327357506969e10de76676d08000008210155b1561328957506907695a92c20d6fe00000613372565b691a784379d99db420000084101580156132ad5750691a784379d99db42000008210155b156132c357506901ccc9324511e4500000613372565b690a968163f0a57b40000084101580156132e75750690a968163f0a57b4000008210155b156132fc575068a2a15d09519be00000613372565b69032d26d12e980b6000008410158015613320575069032d26d12e980b6000008210155b156133355750682b5e3af16b18800000613372565b69010f0cf064dd592000008410158015613359575069010f0cf064dd592000008210155b1561336e5750680d8d726b7177a80000613372565b5060005b6000811180156134095750600054600154604051636eb1769f60e11b81526001600160a01b0391821660048201523060248201528392919091169063dd62ed3e9060440160206040518083038186803b1580156133ce57600080fd5b505afa1580156133e2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613406919061589b565b10155b801561349657506000546001546040516370a0823160e01b81526001600160a01b039182166004820152839291909116906370a082319060240160206040518083038186803b15801561345b57600080fd5b505afa15801561346f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613493919061589b565b10155b156135aa57336000818152604960209081526040808320898452909152808220805460ff19166001179055600354905163743fc74560e01b8152600481019390935290916001600160a01b039091169063743fc7459060240160206040518083038186803b15801561350757600080fd5b505afa15801561351b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061353f9190615738565b6001600160a01b03811660009081526044602052604090206008015490915060ff161561358a5761358a816127106006548561357b9190615a86565b6135859190615a66565b6151e5565b6001546000546135a8916001600160a01b0391821691163385614197565b505b505050505050565b600881600681106135c257600080fd5b60209182820401919006915054906101000a900460ff1681565b603081600a81106106b357600080fd5b600f81600581106106b357600080fd5b603f818154811061360c57600080fd5b6000918252602090912001546001600160a01b0316905081565b6042818154811061360c57600080fd5b603b81815481106106ff57600080fd5b6041818154811061360c57600080fd5b6043818154811061360c57600080fd5b6001546001600160a01b031633146136905760405162461bcd60e51b815260040161073890615a23565b6101f48111156136ee5760405162461bcd60e51b8152602060048201526024808201527f576f726b696e6720626f6e75732063616e2774206265206d6f7265207468616e6044820152632033302560e01b6064820152608401610738565b6001600160a01b03909116600090815260476020526040902055565b336000908152604460205260409020546137365760405162461bcd60e51b815260040161073890615a23565b60006137413361401c565b90506000811180156137da5750600054600154604051636eb1769f60e11b81526001600160a01b0391821660048201523060248201528392919091169063dd62ed3e9060440160206040518083038186803b15801561379f57600080fd5b505afa1580156137b3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d7919061589b565b10155b801561386757506000546001546040516370a0823160e01b81526001600160a01b039182166004820152839291909116906370a082319060240160206040518083038186803b15801561382c57600080fd5b505afa158015613840573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613864919061589b565b10155b156138b157336000908152604460205260408120600601805483929061388e908490615a4e565b90915550506001546000546138b1916001600160a01b0391821691163384614197565b50565b602681600a81106106b357600080fd5b600a81600581106106b357600080fd5b6001546001600160a01b031633146138fe5760405162461bcd60e51b815260040161073890615a23565b60095460ff16156139475760405162461bcd60e51b815260206004820152601360248201527253616c6520616c726561647920656e61626c6560681b6044820152606401610738565b60035460405163743fc74560e01b81526001600160a01b038981166004830152600092169063743fc7459060240160206040518083038186803b15801561398d57600080fd5b505afa1580156139a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139c59190615738565b6001600160a01b03161415613a3c57600354604051639d58b15d60e01b81526001600160a01b038981166004830152888116602483015290911690639d58b15d90604401600060405180830381600087803b158015613a2357600080fd5b505af1158015613a37573d6000803e3d6000fd5b505050505b6000818385613a4b888a615a4e565b613a559190615a4e565b613a5f9190615a4e565b613a699190615a4e565b90508515613b5a57603a805460018082019092557fa2999d817b6757290b50e8ecf3fa939673403dd35c97de392fdb343b4015ce9e01879055603f805480830182556000919091527fc03004e3ce0784bf68186394306849f9b7b1200073105cd9aeb554a1802b58fd0180546001600160a01b0319166001600160a01b038b1617905586906014016000828254613b009190615a4e565b90915550869050601a6001016000828254613b1b9190615a4e565b90915550506001600160a01b0388166000908152604a602090815260408083206001845290915281208054889290613b54908490615a4e565b90915550505b8415613c4757603b805460018082019092557fbbe3212124853f8b0084a66a2d057c2966e251e132af3691db153ab65f0d1a4d018690556040805491820181556000527f352feee0eea125f11f791c1b77524172e9bc20f1b719b6cef0fc24f64db8e15e0180546001600160a01b0319166001600160a01b038a161790558460146002016000828254613bed9190615a4e565b90915550859050601a6002016000828254613c089190615a4e565b90915550506001600160a01b0388166000908152604a602090815260408083206002845290915281208054879290613c41908490615a4e565b90915550505b8315613d1057603c80546001808201909255600080516020615b7383398151915201859055604180549182018155600052600080516020615b938339815191520180546001600160a01b0319166001600160a01b038a161790558360146003016000828254613cb69190615a4e565b90915550849050601a6003016000828254613cd19190615a4e565b90915550506001600160a01b0388166000908152604a602090815260408083206003845290915281208054869290613d0a908490615a4e565b90915550505b8215613dd957603d80546001808201909255600080516020615bf383398151915201849055604280549182018155600052600080516020615b538339815191520180546001600160a01b0319166001600160a01b038a161790558260146004016000828254613d7f9190615a4e565b90915550839050601a6004016000828254613d9a9190615a4e565b90915550506001600160a01b0388166000908152604a602090815260408083206004845290915281208054859290613dd3908490615a4e565b90915550505b8115613ea257603e80546001808201909255600080516020615bd383398151915201839055604380549182018155600052600080516020615bb38339815191520180546001600160a01b0319166001600160a01b038a161790558160146005016000828254613e489190615a4e565b90915550829050601a6005016000828254613e639190615a4e565b90915550506001600160a01b0388166000908152604a602090815260408083206005845290915281208054849290613e9c908490615a4e565b90915550505b8060146000016000828254613eb79190615aa5565b909155505089516001600160a01b039890981660008181526044602081815260408084209c8d55818f015160018e0155808f015160028e015560608f015160038e015560808f015160048e015560a08f015160058e015560c08f015160068e015560e0909e0151604882528e8420600754855282529d83209d909d559190529099525050506008909301805460ff19169415159490941790935550505050565b6040818154811061360c57600080fd5b603e81815481106106ff57600080fd5b603d81815481106106ff57600080fd5b6003546001600160a01b031615613fb05760405162461bcd60e51b815260040161073890615a23565b6001546001600160a01b03163314613fda5760405162461bcd60e51b815260040161073890615a23565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b603a81815481106106ff57600080fd5b601a81600681106106b357600080fd5b6001600160a01b038116600090815260446020526040812054156140a2576001600160a01b0382166000908152604460205260408120600681015460058201546004830154600284015460019094015492939192909161407b91615a4e565b6140859190615a4e565b61408f9190615a4e565b6140999190615aa5565b91506140a69050565b5060005b919050565b60085465010000000000900460ff166141065760405162461bcd60e51b815260206004820152601f60248201527f45786368616e6765207374616765206973206e6f7420737461727420796574006044820152606401610738565b33600090815260446020908152604080832060070154604a8352818420600585529092528220546141379190615aa5565b905080156138b157604051339082156108fc029083906000818181858888f1935050505015801561416c573d6000803e3d6000fd5b50336000908152604460205260408120600701805483929061418f908490615a4e565b909155505050565b6040516001600160a01b03808516602483015283166044820152606481018290526142029085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526154b1565b50505050565b6040516001600160a01b03831660248201526044810182905261423890849063a9059cbb60e01b906064016141cb565b505050565b60035460405163743fc74560e01b81526001600160a01b038481166004830152600092169063743fc7459060240160206040518083038186803b15801561428357600080fd5b505afa158015614297573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906142bb9190615738565b905060005b600a811015614202576001600160a01b03821615614712576003546040516380f78b3f60e01b81526001600160a01b0384811660048301526000602483018190529216906380f78b3f9060440160206040518083038186803b15801561432557600080fd5b505afa158015614339573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061435d919061589b565b9050603082600a811061438057634e487b7160e01b600052603260045260246000fd5b0154811061470c5760035460405163743fc74560e01b81526001600160a01b038581166004830152600092169063743fc7459060240160206040518083038186803b1580156143ce57600080fd5b505afa1580156143e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144069190615738565b905082158015614417575060058210155b1561456b576000612710602685600a811061444257634e487b7160e01b600052603260045260246000fd5b015461444e9088615a86565b614459906002615a86565b6144639190615a66565b6001600160a01b03831660009081526044602052604090206008015490915060ff161561449f5761449f826127106006548461357b9190615a86565b6001600160a01b0385166000908152604560205260409020819085600a81106144d857634e487b7160e01b600052603260045260246000fd5b0180546000906144e9908490615a4e565b90915550506001600160a01b03851660009081526044602052604081206001018054839290614519908490615a4e565b90915550506001600160a01b03851660009081526044602052604081206006018054839290614549908490615a4e565b9091555050600054614565906001600160a01b03168683614208565b5061470a565b826145a2576000612710602685600a811061459657634e487b7160e01b600052603260045260246000fd5b01546144599088615a86565b6001600160a01b038416600090815260466020526040902054685150ae84a8cdf000001161470a576000612710602685600a81106145f057634e487b7160e01b600052603260045260246000fd5b01546145fc9088615a86565b6146069190615a66565b6001600160a01b03831660009081526044602052604090206008015490915060ff161561464257614642826127106006548461357b9190615a86565b6001600160a01b0385166000908152604560205260409020819085600a811061467b57634e487b7160e01b600052603260045260246000fd5b01805460009061468c908490615a4e565b90915550506001600160a01b038516600090815260446020526040812060010180548392906146bc908490615a4e565b90915550506001600160a01b038516600090815260446020526040812060060180548392906146ec908490615a4e565b9091555050600054614708906001600160a01b03168683614208565b505b505b50614717565b614202565b60035460405163743fc74560e01b81526001600160a01b0384811660048301529091169063743fc7459060240160206040518083038186803b15801561475c57600080fd5b505afa158015614770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147949190615738565b9150806147a081615ae8565b9150506142c0565b60035460405163743fc74560e01b81526001600160a01b038481166004830152600092169063743fc7459060240160206040518083038186803b1580156147ee57600080fd5b505afa158015614802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906148269190615738565b905060005b610200811015614202576001600160a01b03821615614712576001600160a01b03821660009081526047602052604090205415614b67576001600160a01b038216600090815260476020526040812054612710906148899086615a86565b6148939190615a66565b6000546040516370a0823160e01b815230600482015291925082916001600160a01b03909116906370a082319060240160206040518083038186803b1580156148db57600080fd5b505afa1580156148ef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614913919061589b565b10614995576001600160a01b03831660009081526044602052604081206004018054839290614943908490615a4e565b90915550506001600160a01b03851660009081526044602052604081206006018054839290614973908490615a4e565b909155505060005461498f906001600160a01b03168683614208565b50614202565b600054600154604051636eb1769f60e11b81526001600160a01b0391821660048201523060248201528392919091169063dd62ed3e9060440160206040518083038186803b1580156149e657600080fd5b505afa1580156149fa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a1e919061589b565b10158015614aad57506000546001546040516370a0823160e01b81526001600160a01b039182166004820152839291909116906370a082319060240160206040518083038186803b158015614a7257600080fd5b505afa158015614a86573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614aaa919061589b565b10155b15614b30576001600160a01b03831660009081526044602052604081206004018054839290614add908490615a4e565b90915550506001600160a01b03851660009081526044602052604081206006018054839290614b0d908490615a4e565b909155505060015460005461498f916001600160a01b0391821691168584614197565b6001600160a01b03831660009081526044602052604081206004018054839290614b5b908490615a4e565b90915550614202915050565b60035460405163743fc74560e01b81526001600160a01b0384811660048301529091169063743fc7459060240160206040518083038186803b158015614bac57600080fd5b505afa158015614bc0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614be49190615738565b915080614bf081615ae8565b91505061482b565b6000614c06610bb883615a66565b614c1890670de0b6b3a7640000615a86565b614c2b90681043561a8829300000615a86565b6001600160a01b038416600090815260446020526040902060020154909150811115614238576001600160a01b038316600090815260446020526040812060020154614c779083615aa5565b60035460405163743fc74560e01b81526001600160a01b038781166004830152929350604492600092169063743fc7459060240160206040518083038186803b158015614cc357600080fd5b505afa158015614cd7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614cfb9190615738565b6001600160a01b0316815260208101919091526040016000206008015460ff1615614db05760035460405163743fc74560e01b81526001600160a01b038681166004830152614db092169063743fc7459060240160206040518083038186803b158015614d6757600080fd5b505afa158015614d7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d9f9190615738565b6127106006548461357b9190615a86565b6000546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b158015614df357600080fd5b505afa158015614e07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e2b919061589b565b10614ea7576001600160a01b03841660009081526044602052604081206002018054839290614e5b908490615a4e565b90915550506001600160a01b03841660009081526044602052604081206006018054839290614e8b908490615a4e565b9091555050600054614712906001600160a01b03168583614208565b600054600154604051636eb1769f60e11b81526001600160a01b0391821660048201523060248201528392919091169063dd62ed3e9060440160206040518083038186803b158015614ef857600080fd5b505afa158015614f0c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614f30919061589b565b10158015614fbf57506000546001546040516370a0823160e01b81526001600160a01b039182166004820152839291909116906370a082319060240160206040518083038186803b158015614f8457600080fd5b505afa158015614f98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614fbc919061589b565b10155b15615042576001600160a01b03841660009081526044602052604081206002018054839290614fef908490615a4e565b90915550506001600160a01b0384166000908152604460205260408120600601805483929061501f908490615a4e565b9091555050600154600054614712916001600160a01b0391821691168684614197565b6001600160a01b0384166000908152604460205260408120600201805483929061506d908490615a4e565b909155505050505050565b60035460405163743fc74560e01b81526001600160a01b038481166004830152600092169063743fc7459060240160206040518083038186803b1580156150be57600080fd5b505afa1580156150d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906150f69190615738565b905060005b610200811015614202576001600160a01b03821615614712576001600160a01b0382166000908152604860209081526040808320600754845290915281208054859290615149908490615a4e565b909155506151549050565b60035460405163743fc74560e01b81526001600160a01b0384811660048301529091169063743fc7459060240160206040518083038186803b15801561519957600080fd5b505afa1580156151ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906151d19190615738565b9150806151dd81615ae8565b9150506150fb565b6000546040516370a0823160e01b815230600482015282916001600160a01b0316906370a082319060240160206040518083038186803b15801561522857600080fd5b505afa15801561523c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190615260919061589b565b106152e1576001600160a01b03821660009081526044602052604081206005018054839290615290908490615a4e565b90915550506001600160a01b038216600090815260446020526040812060060180548392906152c0908490615a4e565b90915550506000546152dc906001600160a01b03168383614208565b6154ad565b600054600154604051636eb1769f60e11b81526001600160a01b0391821660048201523060248201528392919091169063dd62ed3e9060440160206040518083038186803b15801561533257600080fd5b505afa158015615346573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061536a919061589b565b101580156153f957506000546001546040516370a0823160e01b81526001600160a01b039182166004820152839291909116906370a082319060240160206040518083038186803b1580156153be57600080fd5b505afa1580156153d2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906153f6919061589b565b10155b1561547c576001600160a01b03821660009081526044602052604081206005018054839290615429908490615a4e565b90915550506001600160a01b03821660009081526044602052604081206006018054839290615459908490615a4e565b90915550506001546000546152dc916001600160a01b0391821691168484614197565b6001600160a01b038216600090815260446020526040812060050180548392906154a7908490615a4e565b90915550505b5050565b6000615506826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166155839092919063ffffffff16565b80519091501561423857808060200190518101906155249190615867565b6142385760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610738565b6060615592848460008561559c565b90505b9392505050565b6060824710156155fd5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610738565b6001600160a01b0385163b6156545760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610738565b600080866001600160a01b03168587604051615670919061592a565b60006040518083038185875af1925050503d80600081146156ad576040519150601f19603f3d011682016040523d82523d6000602084013e6156b2565b606091505b50915091506156c28282866156cd565b979650505050505050565b606083156156dc575081615595565b8251156156ec5782518084602001fd5b8160405162461bcd60e51b81526004016107389190615946565b80356140a681615b2f565b80356140a681615b44565b60006020828403121561572d578081fd5b813561559581615b2f565b600060208284031215615749578081fd5b815161559581615b2f565b60008060408385031215615766578081fd5b823561577181615b2f565b946020939093013593505050565b60008060008060008060008060006102008a8c03121561579d578485fd5b8a601f8b01126157ab578485fd5b60405161010080820182811067ffffffffffffffff821117156157d0576157d0615b19565b6040528b01818c8e8311156157e3578889fd5b885b60088110156158045781358352602092830192909101906001016157e5565b505050819a5061581381615711565b995050506158246101208b01615706565b96506158336101408b01615706565b989b979a5095986101608101359761018082013597506101a082013596506101c082013595506101e0909101359350915050565b600060208284031215615878578081fd5b815161559581615b44565b600060208284031215615894578081fd5b5035919050565b6000602082840312156158ac578081fd5b5051919050565b60008060008060008060008060006101208a8c0312156158d1578485fd5b8935985060208a0135975060408a01356158ea81615b2f565b965060608a01356158fa81615b2f565b989b979a50959860808101359760a0820135975060c0820135965060e08201359550610100909101359350915050565b6000825161593c818460208701615abc565b9190910192915050565b6000602082528251806020840152615965816040850160208701615abc565b601f01601f19169190910160400192915050565b6020808252602a908201527f53746167657769736520636f696e20646973747275626174696f6e206973206e6040820152691bdd0818dbdc9c9958dd60b21b606082015260800190565b6020808252601a908201527f544243206e6f7420617661696c61626c6520666f722073616c65000000000000604082015260600190565b6020808252600f908201526e14dd1859d9481a5cc818db1bdcd959608a1b604082015260600190565b602080825260119082015270125b98dbdc9c9958dd081c995c5d595cdd607a1b604082015260600190565b60008219821115615a6157615a61615b03565b500190565b600082615a8157634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615615aa057615aa0615b03565b500290565b600082821015615ab757615ab7615b03565b500390565b60005b83811015615ad7578181015183820152602001615abf565b838111156142025750506000910152565b6000600019821415615afc57615afc615b03565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b03811681146138b157600080fd5b80151581146138b157600080fdfe38dfe4635b27babeca8be38d3b448cb5161a639b899a14825ba9c8d7892eb8c3c6bb06cb7f92603de181bf256cd16846b93b752a170ff24824098b31aa008a7e7c9785e8241615bc80415d89775984a1337d15dc1bf4ce50f41988b2a2b336a79690ad99d6ce244efa8a0f6c2d04036d3b33a9474db32a71b71135c6951027938d800d6614d35eed73733ee453164a3b48076eb3138f466adeeb9dec7bb31f70ece66cfdbd22e3f37d348a3d8e19074452862cd65fd4b9a11f0336d1ac6d1dc3a26469706673582212205a2f816cb9c7a0e5c561e9de47b53bad3f924e2c5f725547ee3e0c558b6bc42964736f6c63430008020033
1. FundWallet

2. Referrals

3. TBCPerStage

4. TUSD

5. communityIncentives

6. extraIncentives

7. indexPerStage

8. investmentPackages

9. mapLevelEarning

10. mapUserInfo

11. monthlySale

12. monthlySaleClaimed

13. nextRewardDrain

14. ownerWallet

15. pendingReward

16. pricePerStage

17. referrerBonus

18. royaltyIncentive

19. saleEnable

20. stage2UserTBC

21. stage2UserWallet

22. stage3UserTBC

23. stage3UserWallet

24. stage4UserTBC

25. stage4UserWallet

26. stage5UserTBC

27. stage5UserWallet

28. stage6UserTBC

29. stage6UserWallet

30. stageWiseTBC

31. stageWiseTBCSold

32. statusPerStage

33. teamRequiredForBonus

34. totalBusiness

35. usersTBCPerStage

36. workingBonus

1. buy
2. claimMonthlyReward
3. claimTBC
4. setTeam
5. setWorkingBonus
6. withdrawEarning

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met.