More Info
Private Name Tags
ContractCreator
Multichain Info
No addresses found
Latest 25 from a total of 5,020 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim Vested Tok... | 68471294 | 25 days ago | IN | 0 POL | 0.00668282 | ||||
Claim Vested Tok... | 67284303 | 55 days ago | IN | 0 POL | 0.00313589 | ||||
Claim Vested Tok... | 66104872 | 85 days ago | IN | 0 POL | 0.07105317 | ||||
Approve Remove A... | 64924917 | 114 days ago | IN | 0 POL | 0.00258762 | ||||
Remove Admin Pro... | 64924895 | 114 days ago | IN | 0 POL | 0.00339615 | ||||
Approve Add Admi... | 64924446 | 114 days ago | IN | 0 POL | 0.00279283 | ||||
Add Admin Propos... | 64924427 | 114 days ago | IN | 0 POL | 0.00275487 | ||||
Claim Vested Tok... | 64864114 | 116 days ago | IN | 0 POL | 0.00309434 | ||||
Claim Vested Tok... | 62531652 | 174 days ago | IN | 0 POL | 0.00309423 | ||||
Claim Vested Tok... | 61793396 | 192 days ago | IN | 0 POL | 0.00130716 | ||||
Claim Vested Tok... | 61793396 | 192 days ago | IN | 0 POL | 0.00306412 | ||||
Claim Vested Tok... | 61367792 | 203 days ago | IN | 0 POL | 0.00309423 | ||||
Claim Vested Tok... | 60095837 | 235 days ago | IN | 0 POL | 0.00483087 | ||||
Claim Vested Tok... | 59638417 | 246 days ago | IN | 0 POL | 0.00361437 | ||||
Shedule The Vest... | 59638388 | 246 days ago | IN | 0 POL | 0.00717807 | ||||
Set Round | 59638353 | 246 days ago | IN | 0 POL | 0.0008883 | ||||
Claim Vested Tok... | 58921670 | 264 days ago | IN | 0 POL | 0.00309423 | ||||
Claim Vested Tok... | 57735199 | 294 days ago | IN | 0 POL | 0.00309423 | ||||
Claim Vested Tok... | 56636355 | 323 days ago | IN | 0 POL | 0.00309423 | ||||
Claim Vested Tok... | 56490499 | 327 days ago | IN | 0 POL | 0.00428383 | ||||
Shedule The Vest... | 56490490 | 327 days ago | IN | 0 POL | 0.00840166 | ||||
Set Round | 56490443 | 327 days ago | IN | 0 POL | 0.00094375 | ||||
Claim Vested Tok... | 56488525 | 327 days ago | IN | 0 POL | 0.00747861 | ||||
Shedule The Vest... | 56488449 | 327 days ago | IN | 0 POL | 0.01118875 | ||||
Claim Vested Tok... | 54288234 | 385 days ago | IN | 0 POL | 0.02462527 |
Loading...
Loading
Contract Name:
FloyxTokenVesting
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity 0.8.18; import "./IFloyx.sol"; import "./AdminAccess.sol"; import "./utils/SafeMath.sol"; // Custom error for indicating that all tokens have been released for a beneficiary error AllTokensAreReleleased(address _beneficiary); error ZeroAddress(); error Zero_amount(); error VestingScheduleExists(); error VestingNotStarted(); error NoTokensToRelease(); error TokenMintingFailed(); error TokenCanNotBeMintedToAdmins(); error ReceiverShouldNotBeAddressZero(); error ownerShipCouldNotBeTransferred(); error InvalidRound(); error VestingSheduleIsPausedByAdmins(); error AirdropSheduleExists(); /** * @title FloyxTokenVesting * @dev A token vesting contract that allows the controlled release of tokens over a specified period of time. */ contract FloyxTokenVesting is AdminAccess { using SafeMath for uint256; IFloyx private immutable token; uint256 private totalReleasedAmount; uint256 private totalVestedAmount; uint256 private seedStartTime; uint256 private _startTime; uint256 private _slicePeriod; uint256 private _cliffPeriod; uint256 private _releasedPercent; uint256 private _tgePercent; uint256 private _duration; uint8 private VestingRoundNo; struct VestingSchedule { bool initialized; uint256 startTime; uint256 duration; uint256 slicePeriod; uint256 cliff; uint256 amountTotal; uint256 released; uint256 releasedPercent; uint256 tgePercent; } enum VestingRound { Seed, //0 PrivateSale, //1 PublicSale, //2 StakingReward, //3 Liquidity, //4 PartnerShips, //5 Ecosystem, //6 Team, //7 Marketing, //8 Development, //9 Advisors, //10 Airdrop //11 } mapping(address => mapping(uint8 => VestingSchedule)) public vestingSchedules; mapping(uint8 => uint256) public vestedAmountInRounds; // mapping(address => VestingSchedule) public vestingSchedules; /** * @dev Constructor function * @param _token The address of the token contract */ constructor(address _token) { token = IFloyx(_token); } // Events event addVesting( address indexed beneficiary, uint256 startTime, uint256 duration, uint256 slicePeriod, uint256 cliff, uint256 amountTotal, uint256 releasedPercent, uint256 tgePercent ); event addAirdrop( address indexed beneficiary, uint256 startTime, uint256 duration, uint256 slicePeriod, uint256 cliff, uint256 amountTotal, uint256 releasedPercent, uint256 tgePercent ); event withdraw(address indexed beneficiary, uint256 amount); event ModifyVesting(address indexed beneficiary, uint256 amount); modifier onlyIfVestingScheduleInitialized( address _beneficiary, uint8 _round ) { if (!vestingSchedules[_beneficiary][_round].initialized) { revert VestingScheduleExists(); } _; } /** * @dev Adds a private sale vesting schedule for a beneficiary * @param _beneficiary The address of the beneficiary * @param _amount The total amount of tokens to be vested */ function sheduleTheVesting( address _beneficiary, uint256 _amount ) external onlyAdmin nonReentrant { _sheduleTheVesting(_beneficiary, _amount); } function _sheduleTheVesting( address _beneficiary, uint256 _amount ) internal { if (_beneficiary == address(0)) { revert ZeroAddress(); } if (isAdmin(_beneficiary)) { revert TokenCanNotBeMintedToAdmins(); } if (paused) { revert VestingSheduleIsPausedByAdmins(); } if (_amount <= 0) { revert Zero_amount(); } if (vestingSchedules[_beneficiary][VestingRoundNo].initialized) { revert VestingScheduleExists(); } VestingSchedule memory vestingSchedule = VestingSchedule({ initialized: true, startTime: _startTime, duration: _duration + _startTime, slicePeriod: _slicePeriod, cliff: _cliffPeriod, amountTotal: _amount, released: 0, releasedPercent: _releasedPercent, tgePercent: _tgePercent }); vestingSchedules[_beneficiary][VestingRoundNo] = vestingSchedule; vestedAmountInRounds[VestingRoundNo] = vestedAmountInRounds[ VestingRoundNo ].add(_amount); totalVestedAmount = totalVestedAmount.add(_amount); emit addVesting( _beneficiary, _startTime, _duration, _slicePeriod, _cliffPeriod, _amount, _releasedPercent, _tgePercent ); } /** * @dev Schedules airdrops for a group of beneficiaries. * @param _beneficiaries List of beneficiary addresses. * @param _amount Amount of tokens to distribute to each beneficiary. */ function scheduleAirdropForGroup( address[] calldata _beneficiaries, uint256 _amount ) external onlyAdmin nonReentrant { if (_amount == 0) { revert Zero_amount(); } for (uint256 i = 0; i < _beneficiaries.length; i++) { address beneficiary = _beneficiaries[i]; if (isAdmin(beneficiary)) { revert TokenCanNotBeMintedToAdmins(); } if (paused) { revert VestingSheduleIsPausedByAdmins(); } if (beneficiary == address(0)) { revert ReceiverShouldNotBeAddressZero(); } if (vestingSchedules[beneficiary][11].initialized) { revert AirdropSheduleExists(); } VestingSchedule memory vestingSchedule = VestingSchedule({ initialized: true, startTime: _startTime, duration: _duration + _startTime, slicePeriod: _slicePeriod, cliff: _cliffPeriod, amountTotal: _amount, released: 0, releasedPercent: _releasedPercent, tgePercent: _tgePercent }); vestingSchedules[beneficiary][11] = vestingSchedule; vestedAmountInRounds[11] = vestedAmountInRounds[11].add(_amount); totalVestedAmount = totalVestedAmount.add(_amount); emit addAirdrop( beneficiary, _startTime, _duration, _slicePeriod, _cliffPeriod, _amount, _releasedPercent, _tgePercent ); } } /** * @dev Retrieves the amount of tokens claimable by a beneficiary based on their vesting schedule * @return The amount of tokens claimable by the beneficiary */ function getClaimableAmount( address _beneficiary, uint8 _round ) external view returns (uint256) { VestingSchedule storage vestingSchedule = vestingSchedules[ _beneficiary ][_round]; isValidRound(_round); uint256 currentTime = getCurrentTime(); if (currentTime < vestingSchedule.startTime) { return 0; } if (vestingSchedule.released == vestingSchedule.amountTotal) { return 0; } uint256 releaseAmount = _getClaimableAmount(_beneficiary, _round); if ( releaseAmount.add(vestingSchedule.released) > vestingSchedule.amountTotal ) { releaseAmount = vestingSchedule.amountTotal.sub( vestingSchedule.released ); } return releaseAmount; } /** * @dev Retrieves the total amount of tokens to be vested * @return The total amount of tokens to be vested */ function getTotalVestingAmount() public view returns (uint256) { return totalVestedAmount; } /** * @dev Retrieves the total amount of tokens released from the vesting contract * @return The total amount of tokens released */ function getTotalReleasedAmount() external view returns (uint256) { return totalReleasedAmount; } /** * @dev Retrieves the total amount of tokens that have been released to a specific beneficiary * @param _beneficiary The address of the beneficiary * @return The total amount of tokens released to the beneficiary */ function getReleasedAmount( address _beneficiary, uint8 _round ) external view returns (uint256) { VestingSchedule storage vestingSchedule = vestingSchedules[ _beneficiary ][_round]; isValidRound(_round); return vestingSchedule.released; } /** * @dev Retrieves the slice period duration for a specific beneficiary's vesting schedule * @param _beneficiary The address of the beneficiary * @return The duration of a slice period for the beneficiary's vesting schedule */ function getSlicePeriod( address _beneficiary, uint8 _round ) external view returns (uint256) { VestingSchedule storage vestingSchedule = vestingSchedules[ _beneficiary ][_round]; isValidRound(_round); uint256 _getSheduleAmount = vestingSchedule.amountTotal; uint256 _totalReleaseAmount = vestingSchedule.released; if (_getSheduleAmount == _totalReleaseAmount) { return 0; } else { return vestingSchedule.slicePeriod; } } /** * @dev Retrieves the start time of the vesting period for a specific beneficiary * @param _beneficiary The address of the beneficiary * @return The start time of the vesting period for the beneficiary */ function getStartTimePeriod( address _beneficiary, uint8 _round ) external view returns (uint256) { VestingSchedule storage vestingSchedule = vestingSchedules[ _beneficiary ][_round]; isValidRound(_round); uint256 _getSheduleAmount = vestingSchedule.amountTotal; uint256 _totalReleaseAmount = vestingSchedule.released; if (_getSheduleAmount == _totalReleaseAmount) { return 0; } else { return vestingSchedule.cliff; } } /** * @dev Retrieves the total amount of tokens scheduled to be vested for a specific beneficiary * @param _beneficiary The address of the beneficiary * @return The total amount of tokens scheduled for vesting for the beneficiary */ function getTototalSheduleAmount( address _beneficiary, uint8 _round ) external view returns (uint256) { VestingSchedule storage vestingSchedule = vestingSchedules[ _beneficiary ][_round]; isValidRound(_round); return vestingSchedule.amountTotal; } /** * @dev Retrieves the address of the token contract * @return The address of the token contract */ function getToken() external view returns (address) { return address(token); } /** * @dev Claims the vested tokens for a beneficiary */ function claimVestedToken( address _beneficiary, uint8 _round ) external nonReentrant onlyIfVestingScheduleInitialized(_beneficiary, _round) { _claimVestedToken(_beneficiary, _round); } function _claimVestedToken(address _to, uint8 _round) internal { isValidRound(_round); VestingSchedule storage vestingSchedule = vestingSchedules[_to][_round]; uint256 currentTime = getCurrentTime(); if (currentTime < vestingSchedule.startTime) { revert VestingNotStarted(); } if (vestingSchedule.amountTotal == vestingSchedule.released) { revert AllTokensAreReleleased(_to); } uint256 releaseAmount = _getClaimableAmount(_to, _round); if (releaseAmount == 0) { revert NoTokensToRelease(); } if ( releaseAmount.add(vestingSchedule.released) > vestingSchedule.amountTotal ) { releaseAmount = vestingSchedule.amountTotal.sub( vestingSchedule.released ); } vestingSchedule.released = vestingSchedule.released.add(releaseAmount); totalVestedAmount = totalVestedAmount.sub(releaseAmount); totalReleasedAmount = totalReleasedAmount.add(releaseAmount); bool success = token.mint(_to, releaseAmount); if (!success) { revert TokenMintingFailed(); } emit withdraw(msg.sender, releaseAmount); } /** * @dev Sets the start time of the vesting period for all beneficiaries * @param __startTime The new start time for the vesting period */ function setStartTimeOfVesting(uint256 __startTime) external onlyAdmin { _startTime = __startTime; } /** * @dev Sets the duration of a slice period for all beneficiaries' vesting schedules * @param __slicePeriod The new duration of a slice period in seconds */ function setSlicePeriod(uint256 __slicePeriod) external onlyAdmin { _slicePeriod = __slicePeriod; } /** * @dev Sets the cliff period of the vesting period for all beneficiaries * @param _cliff The new start time for the vesting period */ function setCliffPeriod(uint256 _cliff) external onlyAdmin { _cliffPeriod = _cliff; } /** * @dev Sets the released percentage for all beneficiaries' vesting schedules * @param __releasePercentinMultipleof100 The new released percentage (in multiple of 100) */ function setReleasePercent( uint256 __releasePercentinMultipleof100 ) external onlyAdmin { _releasedPercent = __releasePercentinMultipleof100; } /** * @dev Sets the TGE (Token Generation Event) percentage for all beneficiaries' vesting schedules * @param __tgePercentinMuptipleof100 The new TGE percentage (in multiple of 100) */ function setTgePercent( uint256 __tgePercentinMuptipleof100 ) external onlyAdmin { _tgePercent = __tgePercentinMuptipleof100; } /** * @dev Sets the duration of the vesting period for all beneficiaries' vesting schedules * @param __durationinMonth The new duration of the vesting period in months */ function setDuration(uint256 __durationinMonth) external onlyAdmin { _duration = __durationinMonth * 30 days; } function setRound(uint8 _round) external onlyAdmin { isValidRound(_round); VestingRoundNo = _round; } /** * @dev Calculates the amount of tokens that are claimable by a beneficiary at the current time * @param _beneficiary The address of the beneficiary * @return The amount of claimable tokens for the beneficiary */ function _getClaimableAmount( address _beneficiary, uint8 _round ) internal view returns (uint256) { VestingSchedule storage vestingSchedule = vestingSchedules[ _beneficiary ][_round]; // If all tokens have already been released, revert with an error if (vestingSchedule.released >= vestingSchedule.amountTotal) { revert AllTokensAreReleleased(_beneficiary); } // Calculate the TGE (Token Generation Event) amount and vested amount uint256 tgeAmount = _getTgeAmount(vestingSchedule); uint256 vestedAmount = _computeReleasableAmount(vestingSchedule); // Calculate the total amount that can be released now uint256 releaseableAmount = tgeAmount.add(vestedAmount); // Subtract the previously released amount to get the claimable amount return releaseableAmount.sub(vestingSchedule.released); } /** * @dev Computes the amount of tokens that have vested based on the current time * @param vestingSchedule The beneficiary's vesting schedule * @return The amount of tokens that have vested */ function _computeReleasableAmount( VestingSchedule memory vestingSchedule ) internal view returns (uint256) { uint256 currentTime = getCurrentTime(); uint256 calculateTime = vestingSchedule.cliff.sub( vestingSchedule.slicePeriod ); // If the current time is before the vesting start time, no tokens have vested if (currentTime < vestingSchedule.cliff) { return 0; } // If the current time is after or equal to the vesting end time, all remaining tokens are vested else if ( currentTime >= vestingSchedule.duration.add(vestingSchedule.startTime) ) { return vestingSchedule.amountTotal.sub(vestingSchedule.released); } // Calculate the vested amount as per slice period else { uint256 timeFromStart = currentTime.sub(calculateTime); uint256 secondsPerSlice = vestingSchedule.slicePeriod; uint256 vestedSlicePeriods = timeFromStart.div(secondsPerSlice); uint256 vestedAmountPerSlice = _calculateReleasableAmount( vestingSchedule ); uint256 vestedAmount = vestedAmountPerSlice.mul(vestedSlicePeriods); return vestedAmount; } } /** * @dev Calculates the amount of tokens that have vested in a single slice period * @param vestingSchedule The beneficiary's vesting schedule * @return The amount of tokens that have vested in a slice period */ function _calculateReleasableAmount( VestingSchedule memory vestingSchedule ) internal pure returns (uint256) { uint256 totalAmount = vestingSchedule.amountTotal; uint256 releasedPercent = uint256(vestingSchedule.releasedPercent); return totalAmount.mul(releasedPercent).div(10000); } /** * @dev Calculates the amount of tokens that will be released at the Token Generation Event (TGE) * @param vestingSchedule The beneficiary's vesting schedule * @return The amount of tokens released at the TGE */ function _getTgeAmount( VestingSchedule memory vestingSchedule ) internal pure returns (uint256) { uint256 totalAmount = vestingSchedule.amountTotal; uint256 tgePercent_ = uint256(vestingSchedule.tgePercent); return ((totalAmount.mul(tgePercent_)).div(10000)); } /** * @dev Returns the current timestamp * @return The current timestamp */ function getCurrentTime() internal view returns (uint256) { return block.timestamp; } function isValidRound(uint8 _round) internal pure { if ( !(_round == uint8(VestingRound.Seed) || _round == uint8(VestingRound.PrivateSale) || _round == uint8(VestingRound.PublicSale) || _round == uint8(VestingRound.StakingReward) || _round == uint8(VestingRound.Liquidity) || _round == uint8(VestingRound.PartnerShips) || _round == uint8(VestingRound.Ecosystem) || _round == uint8(VestingRound.Team) || _round == uint8(VestingRound.Marketing) || _round == uint8(VestingRound.Development) || _round == uint8(VestingRound.Advisors) || _round == uint8(VestingRound.Airdrop)) ) { revert InvalidRound(); } } function transferTokenOwnership(address _newOwner) external onlyAdmin { if (_newOwner == address(0)) { revert ZeroAddress(); } if (!isAdmin(_newOwner)) { revert ownerShipCouldNotBeTransferred(); } if (msg.sender == _newOwner) { revert ownerShipCouldNotBeTransferred(); } token.transferOwnership(_newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.18; import "./utils/Ownable.sol"; import "./utils/ReentrancyGuard.sol"; error VotingEnded(); error AlreadyVoted(); error AdminAlreadyExists(); error AdminDoesNotExists(); error canNotRemoveContractOwnerFromAdmin(); error AdminCanNotRemoveHimself(); error propsalAlreadySent(); error propsalNotInitialized(); contract AdminAccess is Ownable, ReentrancyGuard { struct AddAdminRequest { address Admin; mapping(address => bool) approvals; uint256 approvalCount; bool executed; bool initialized; } struct RemoveAdminRequest { address Admin; mapping(address => bool) approvals; uint256 approvalCount; bool executed; bool initialized; } struct PauseVesting { mapping(address => bool) approvals; uint256 approvalCount; bool executed; bool initialized; } struct StartVesting { mapping(address => bool) approvals; uint256 approvalCount; bool executed; bool initialized; } mapping(address => bool) private admins; mapping(address => AddAdminRequest) private addingAdminRequestNo; mapping(address => RemoveAdminRequest) private RemovingAdminRequestNo; mapping(uint256 => PauseVesting) private PauseVestings; mapping(uint256 => StartVesting) private StartVestings; address[] private _adminAddresses; bool public paused = false; uint256 public pauseProposalNo; uint256 public StartVestingProposalNo; event AdminAdded(address _admin); event AdminRemoved(address _admin); constructor() { admins[owner()] = true; _adminAddresses.push(owner()); } function _addAdmin(address _admin) internal { admins[_admin] = true; _adminAddresses.push(_admin); emit AdminAdded(_admin); } function addAdminProposal( address _newAdmin ) external onlyAdmin nonReentrant { AddAdminRequest storage proposal = addingAdminRequestNo[_newAdmin]; if (admins[_newAdmin]) { revert AdminAlreadyExists(); } if (proposal.Admin == _newAdmin) { revert propsalAlreadySent(); } proposal.Admin = _newAdmin; proposal.approvals[msg.sender] = false; proposal.approvalCount = 0; proposal.executed = false; proposal.initialized = true; } function approveAddAdmin( address _newAdmin ) external onlyAdmin nonReentrant { AddAdminRequest storage proposal = addingAdminRequestNo[_newAdmin]; if (!proposal.initialized) { revert propsalNotInitialized(); } if (admins[_newAdmin]) { revert AdminAlreadyExists(); } if (proposal.executed) { revert VotingEnded(); } if (proposal.approvals[msg.sender]) { revert AlreadyVoted(); } proposal.approvals[msg.sender] = true; proposal.approvalCount++; if (proposal.approvalCount >= getAdminCount()) { proposal.executed = true; _addAdmin(_newAdmin); delete addingAdminRequestNo[_newAdmin]; } } function _removeAdmin(address _admin) internal { admins[_admin] = false; _adminAddresses.pop(); emit AdminRemoved(_admin); } function removeAdminProposal( address _admin ) external onlyAdmin nonReentrant { RemoveAdminRequest storage proposal = RemovingAdminRequestNo[_admin]; if (!admins[_admin]) { revert AdminDoesNotExists(); } if (msg.sender == _admin) { revert AdminCanNotRemoveHimself(); } if (proposal.Admin == _admin) { revert propsalAlreadySent(); } proposal.Admin = _admin; proposal.approvals[msg.sender] = false; proposal.approvalCount = 1; proposal.executed = false; proposal.initialized = true; } function approveRemoveAdmin( address _admin ) external onlyAdmin nonReentrant { RemoveAdminRequest storage proposal = RemovingAdminRequestNo[_admin]; if (!proposal.initialized) { revert propsalNotInitialized(); } if (msg.sender == _admin) { revert AdminCanNotRemoveHimself(); } if (proposal.executed) { revert VotingEnded(); } if (proposal.approvals[msg.sender]) { revert AlreadyVoted(); } proposal.approvals[msg.sender] = true; proposal.approvalCount++; if (proposal.approvalCount >= getAdminCount()) { proposal.executed = true; _removeAdmin(_admin); delete RemovingAdminRequestNo[_admin]; } } function createPauseVestingProposal() external onlyAdmin nonReentrant { uint256 proposalId = pauseProposalNo++; PauseVesting storage proposal = PauseVestings[proposalId]; proposal.approvals[msg.sender] = false; proposal.approvalCount = 0; proposal.executed = false; proposal.initialized = true; } function approvePauseVestingProposal( uint256 _ProposalId ) external onlyAdmin nonReentrant { PauseVesting storage proposal = PauseVestings[_ProposalId]; if (!proposal.initialized) { revert propsalNotInitialized(); } if (proposal.executed) { revert VotingEnded(); } if (proposal.approvals[msg.sender]) { revert AlreadyVoted(); } proposal.approvals[msg.sender] = true; proposal.approvalCount++; if (proposal.approvalCount >= getAdminCount()) { proposal.executed = true; paused = true; delete PauseVestings[_ProposalId]; } } function createStartVestingProposal() external onlyAdmin nonReentrant { uint256 proposalId = StartVestingProposalNo++; StartVesting storage proposal = StartVestings[proposalId]; proposal.approvals[msg.sender] = false; proposal.approvalCount = 0; proposal.executed = false; proposal.initialized = true; } function approveStartVestingProposal( uint256 _ProposalId ) external onlyAdmin nonReentrant { StartVesting storage proposal = StartVestings[_ProposalId]; if (!proposal.initialized) { revert propsalNotInitialized(); } if (proposal.executed) { revert VotingEnded(); } if (proposal.approvals[msg.sender]) { revert AlreadyVoted(); } proposal.approvals[msg.sender] = true; proposal.approvalCount++; if (proposal.approvalCount >= getAdminCount()) { proposal.executed = true; paused = false; delete StartVestings[_ProposalId]; } } function isAdmin(address admin) public view returns (bool) { return admins[admin]; } function getAdminCount() public view returns (uint256) { return _adminAddresses.length; } modifier onlyAdmin() { require( admins[_msgSender()] || _msgSender() == owner(), "Caller does not have Admin Access" ); _; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity 0.8.18; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IFloyx { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance( address owner, address spender ) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); function mint(address to, uint256 amount) external returns (bool); function transferOwnership(address newOwner) external; function burn(uint256 amount) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity 0.8.18; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) pragma solidity 0.8.18; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) pragma solidity 0.8.18; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod( uint256 a, uint256 b ) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AdminAlreadyExists","type":"error"},{"inputs":[],"name":"AdminCanNotRemoveHimself","type":"error"},{"inputs":[],"name":"AdminDoesNotExists","type":"error"},{"inputs":[],"name":"AirdropSheduleExists","type":"error"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"}],"name":"AllTokensAreReleleased","type":"error"},{"inputs":[],"name":"AlreadyVoted","type":"error"},{"inputs":[],"name":"InvalidRound","type":"error"},{"inputs":[],"name":"NoTokensToRelease","type":"error"},{"inputs":[],"name":"ReceiverShouldNotBeAddressZero","type":"error"},{"inputs":[],"name":"TokenCanNotBeMintedToAdmins","type":"error"},{"inputs":[],"name":"TokenMintingFailed","type":"error"},{"inputs":[],"name":"VestingNotStarted","type":"error"},{"inputs":[],"name":"VestingScheduleExists","type":"error"},{"inputs":[],"name":"VestingSheduleIsPausedByAdmins","type":"error"},{"inputs":[],"name":"VotingEnded","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"inputs":[],"name":"Zero_amount","type":"error"},{"inputs":[],"name":"ownerShipCouldNotBeTransferred","type":"error"},{"inputs":[],"name":"propsalAlreadySent","type":"error"},{"inputs":[],"name":"propsalNotInitialized","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_admin","type":"address"}],"name":"AdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_admin","type":"address"}],"name":"AdminRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ModifyVesting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"slicePeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cliff","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTotal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"releasedPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tgePercent","type":"uint256"}],"name":"addAirdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"slicePeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cliff","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountTotal","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"releasedPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tgePercent","type":"uint256"}],"name":"addVesting","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","type":"event"},{"inputs":[],"name":"StartVestingProposalNo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"addAdminProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"approveAddAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ProposalId","type":"uint256"}],"name":"approvePauseVestingProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"approveRemoveAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ProposalId","type":"uint256"}],"name":"approveStartVestingProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"claimVestedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createPauseVestingProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createStartVestingProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdminCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"getClaimableAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"getReleasedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"getSlicePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"getStartTimePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalReleasedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalVestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"getTototalSheduleAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"isAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauseProposalNo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_admin","type":"address"}],"name":"removeAdminProposal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_beneficiaries","type":"address[]"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"scheduleAirdropForGroup","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cliff","type":"uint256"}],"name":"setCliffPeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__durationinMonth","type":"uint256"}],"name":"setDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__releasePercentinMultipleof100","type":"uint256"}],"name":"setReleasePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_round","type":"uint8"}],"name":"setRound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__slicePeriod","type":"uint256"}],"name":"setSlicePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__startTime","type":"uint256"}],"name":"setStartTimeOfVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__tgePercentinMuptipleof100","type":"uint256"}],"name":"setTgePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"sheduleTheVesting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferTokenOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"","type":"uint8"}],"name":"vestedAmountInRounds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint8","name":"","type":"uint8"}],"name":"vestingSchedules","outputs":[{"internalType":"bool","name":"initialized","type":"bool"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"duration","type":"uint256"},{"internalType":"uint256","name":"slicePeriod","type":"uint256"},{"internalType":"uint256","name":"cliff","type":"uint256"},{"internalType":"uint256","name":"amountTotal","type":"uint256"},{"internalType":"uint256","name":"released","type":"uint256"},{"internalType":"uint256","name":"releasedPercent","type":"uint256"},{"internalType":"uint256","name":"tgePercent","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60a06040526000600860006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162004fcc38038062004fcc8339818101604052810190620000529190620002ec565b62000072620000666200018d60201b60201c565b6200019560201b60201c565b600180819055506001600260006200008f6200025960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506007620000f26200025960201b60201c565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050506200031e565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002b48262000287565b9050919050565b620002c681620002a7565b8114620002d257600080fd5b50565b600081519050620002e681620002bb565b92915050565b60006020828403121562000305576200030462000282565b5b60006200031584828501620002d5565b91505092915050565b608051614c8462000348600039600081816113df015281816115e6015261395c0152614c846000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80635c975abb1161013057806395a06547116100b8578063e87145171161007c578063e871451714610606578063f016196814610636578063f2fde38b14610666578063f6be71d114610682578063fdc009b31461069e57610227565b806395a0654714610562578063964892f114610592578063caab5d88146105b0578063cbd5bb2b146105ce578063da917632146105ea57610227565b806377881d52116100ff57806377881d52146104e45780637bb0cfa61461050057806382ca85131461050a5780638b7bf3eb146105265780638da5cb5b1461054457610227565b80635c975abb14610484578063659f7cb9146104a2578063708167ad146104be578063715018a6146104da57610227565b806321df0da7116101b35780633cd5a708116101825780633cd5a708146103d05780633f4add0e146103ec5780634c73acf91461041c5780634e8dade21461044c57806352f779161461046857610227565b806321df0da71461035c57806321e6b53d1461037a57806324d7806c14610396578063327bd36d146103c657610227565b80630cb9f6c5116101fa5780630cb9f6c5146102b257806317a76955146102ce5780631bcf8d63146102ec5780631c15cb62146103245780631cbfaed21461034057610227565b8063024f909b1461022c578063044bfd7f1461025c57806306c8e2391461027a5780630961a70414610296575b600080fd5b61024660048036038101906102419190614429565b6106ba565b6040516102539190614482565b60405180910390f35b610264610754565b6040516102719190614482565b60405180910390f35b610294600480360381019061028f919061449d565b61075a565b005b6102b060048036038101906102ab91906144f6565b610b69565b005b6102cc60048036038101906102c791906144f6565b610c4a565b005b6102d6610f69565b6040516102e39190614482565b60405180910390f35b61030660048036038101906103019190614429565b610f73565b60405161031b9998979695949392919061453e565b60405180910390f35b61033e600480360381019061033991906144f6565b610fdb565b005b61035a600480360381019061035591906144f6565b6110bc565b005b6103646113db565b60405161037191906145da565b60405180910390f35b610394600480360381019061038f919061449d565b611403565b005b6103b060048036038101906103ab919061449d565b611672565b6040516103bd91906145f5565b60405180910390f35b6103ce6116c8565b005b6103ea60048036038101906103e591906144f6565b611883565b005b61040660048036038101906104019190614429565b611964565b6040516104139190614482565b60405180910390f35b61043660048036038101906104319190614429565b6119d6565b6040516104439190614482565b60405180910390f35b610466600480360381019061046191906144f6565b611a48565b005b610482600480360381019061047d91906144f6565b611b29565b005b61048c611c0a565b60405161049991906145f5565b60405180910390f35b6104bc60048036038101906104b7919061449d565b611c1d565b005b6104d860048036038101906104d39190614429565b61200d565b005b6104e26120cc565b005b6104fe60048036038101906104f99190614675565b6120e0565b005b6105086125cf565b005b610524600480360381019061051f91906146d5565b61278a565b005b61052e61287f565b60405161053b9190614482565b60405180910390f35b61054c61288c565b60405161055991906145da565b60405180910390f35b61057c60048036038101906105779190614429565b6128b5565b6040516105899190614482565b60405180910390f35b61059a6129b1565b6040516105a79190614482565b60405180910390f35b6105b86129b7565b6040516105c59190614482565b60405180910390f35b6105e860048036038101906105e39190614715565b6129c1565b005b61060460048036038101906105ff919061449d565b612abf565b005b610620600480360381019061061b9190614715565b612ddb565b60405161062d9190614482565b60405180910390f35b610650600480360381019061064b9190614429565b612df3565b60405161065d9190614482565b60405180910390f35b610680600480360381019061067b919061449d565b612e8d565b005b61069c600480360381019061069791906144f6565b612f10565b005b6106b860048036038101906106b3919061449d565b612fff565b005b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff168152602001908152602001600020905061071e8361337f565b600081600501549050600082600601549050808203610743576000935050505061074e565b826004015493505050505b92915050565b600a5481565b60026000610766613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806107f257506107bc61288c565b73ffffffffffffffffffffffffffffffffffffffff166107da613554565b73ffffffffffffffffffffffffffffffffffffffff16145b610831576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610828906147c5565b60405180910390fd5b61083961355c565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060030160019054906101000a900460ff166108c4576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610948576040517f8a07bb9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615610991576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a17576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550806002016000815480929190610a8690614814565b9190505550610a9361287f565b816002015410610b5d5760018160030160006101000a81548160ff021916908315150217905550610ac3826135ab565b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160006101000a81549060ff02191690556003820160016101000a81549060ff021916905550505b50610b666136a0565b50565b60026000610b75613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610c015750610bcb61288c565b73ffffffffffffffffffffffffffffffffffffffff16610be9613554565b73ffffffffffffffffffffffffffffffffffffffff16145b610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c37906147c5565b60405180910390fd5b80600e8190555050565b60026000610c56613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610ce25750610cac61288c565b73ffffffffffffffffffffffffffffffffffffffff16610cca613554565b73ffffffffffffffffffffffffffffffffffffffff16145b610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d18906147c5565b60405180910390fd5b610d2961355c565b60006005600083815260200190815260200160002090508060020160019054906101000a900460ff16610d88576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060020160009054906101000a900460ff1615610dd1576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e57576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550806001016000815480929190610ec690614814565b9190505550610ed361287f565b816001015410610f5d5760018160020160006101000a81548160ff0219169083151502179055506001600860006101000a81548160ff02191690831515021790555060056000838152602001908152602001600020600060018201600090556002820160006101000a81549060ff02191690556002820160016101000a81549060ff021916905550505b50610f666136a0565b50565b6000600c54905090565b6015602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154908060050154908060060154908060070154908060080154905089565b60026000610fe7613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611073575061103d61288c565b73ffffffffffffffffffffffffffffffffffffffff1661105b613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a9906147c5565b60405180910390fd5b80600f8190555050565b600260006110c8613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611154575061111e61288c565b73ffffffffffffffffffffffffffffffffffffffff1661113c613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118a906147c5565b60405180910390fd5b61119b61355c565b60006006600083815260200190815260200160002090508060020160019054906101000a900460ff166111fa576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060020160009054906101000a900460ff1615611243576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112c9576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600101600081548092919061133890614814565b919050555061134561287f565b8160010154106113cf5760018160020160006101000a81548160ff0219169083151502179055506000600860006101000a81548160ff02191690831515021790555060066000838152602001908152602001600020600060018201600090556002820160006101000a81549060ff02191690556002820160016101000a81549060ff021916905550505b506113d86136a0565b50565b60007f0000000000000000000000000000000000000000000000000000000000000000905090565b6002600061140f613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061149b575061146561288c565b73ffffffffffffffffffffffffffffffffffffffff16611483613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d1906147c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611540576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61154981611672565b61157f576040517f1fff86d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036115e4576040517f1fff86d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161163d91906145da565b600060405180830381600087803b15801561165757600080fd5b505af115801561166b573d6000803e3d6000fd5b5050505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600260006116d4613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611760575061172a61288c565b73ffffffffffffffffffffffffffffffffffffffff16611748613554565b73ffffffffffffffffffffffffffffffffffffffff16145b61179f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611796906147c5565b60405180910390fd5b6117a761355c565b6000600960008154809291906117bc90614814565b919050559050600060056000838152602001908152602001600020905060008160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000816001018190555060008160020160006101000a81548160ff02191690831515021790555060018160020160016101000a81548160ff02191690831515021790555050506118816136a0565b565b6002600061188f613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061191b57506118e561288c565b73ffffffffffffffffffffffffffffffffffffffff16611903613554565b73ffffffffffffffffffffffffffffffffffffffff16145b61195a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611951906147c5565b60405180910390fd5b8060128190555050565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002090506119c88361337f565b806005015491505092915050565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff1681526020019081526020016000209050611a3a8361337f565b806006015491505092915050565b60026000611a54613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611ae05750611aaa61288c565b73ffffffffffffffffffffffffffffffffffffffff16611ac8613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b16906147c5565b60405180910390fd5b8060118190555050565b60026000611b35613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611bc15750611b8b61288c565b73ffffffffffffffffffffffffffffffffffffffff16611ba9613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf7906147c5565b60405180910390fd5b8060108190555050565b600860009054906101000a900460ff1681565b60026000611c29613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611cb55750611c7f61288c565b73ffffffffffffffffffffffffffffffffffffffff16611c9d613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb906147c5565b60405180910390fd5b611cfc61355c565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060030160019054906101000a900460ff16611d87576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603611dec576040517f3477a3c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615611e35576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ebb576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550806002016000815480929190611f2a90614814565b9190505550611f3761287f565b8160020154106120015760018160030160006101000a81548160ff021916908315150217905550611f67826136a9565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160006101000a81549060ff02191690556003820160016101000a81549060ff021916905550505b5061200a6136a0565b50565b61201561355c565b8181601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008260ff1660ff16815260200190815260200160002060000160009054906101000a900460ff166120b4576040517fc1c77e6200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120be8484613782565b50506120c86136a0565b5050565b6120d4613a87565b6120de6000613b05565b565b600260006120ec613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612178575061214261288c565b73ffffffffffffffffffffffffffffffffffffffff16612160613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae906147c5565b60405180910390fd5b6121bf61355c565b600081036121f9576040517fa0688c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b838390508110156125c157600084848381811061221c5761221b61485c565b5b9050602002016020810190612231919061449d565b905061223c81611672565b15612273576040517fe1da31f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860009054906101000a900460ff16156122ba576040517f6b4babb900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612320576040517fca1651f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600b60ff16815260200190815260200160002060000160009054906101000a900460ff16156123bc576040517f69eb012f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604051806101200160405280600115158152602001600e548152602001600e546013546123eb919061488b565b8152602001600f5481526020016010548152602001858152602001600081526020016011548152602001601254815250905080601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600b60ff16815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e0820151816007015561010082015181600801559050506125108460166000600b60ff16815260200190815260200160002054613bc990919063ffffffff16565b60166000600b60ff1681526020019081526020016000208190555061254084600c54613bc990919063ffffffff16565b600c819055508173ffffffffffffffffffffffffffffffffffffffff167f939601dce11af3c4b88f311271097f9515ab78de2711684fd610db8436074ac3600e54601354600f54601054896011546012546040516125a497969594939291906148bf565b60405180910390a2505080806125b990614814565b9150506121fc565b506125ca6136a0565b505050565b600260006125db613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612667575061263161288c565b73ffffffffffffffffffffffffffffffffffffffff1661264f613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d906147c5565b60405180910390fd5b6126ae61355c565b6000600a60008154809291906126c390614814565b919050559050600060066000838152602001908152602001600020905060008160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000816001018190555060008160020160006101000a81548160ff02191690831515021790555060018160020160016101000a81548160ff02191690831515021790555050506127886136a0565b565b60026000612796613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061282257506127ec61288c565b73ffffffffffffffffffffffffffffffffffffffff1661280a613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612861576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612858906147c5565b60405180910390fd5b61286961355c565b6128738282613bdf565b61287b6136a0565b5050565b6000600780549050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002090506129198361337f565b6000612923613fdb565b9050816001015481101561293c576000925050506129ab565b8160050154826006015403612956576000925050506129ab565b60006129628686613fe3565b90508260050154612980846006015483613bc990919063ffffffff16565b11156129a4576129a1836006015484600501546141cc90919063ffffffff16565b90505b8093505050505b92915050565b60095481565b6000600b54905090565b600260006129cd613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612a595750612a2361288c565b73ffffffffffffffffffffffffffffffffffffffff16612a41613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8f906147c5565b60405180910390fd5b612aa18161337f565b80601460006101000a81548160ff021916908360ff16021790555050565b60026000612acb613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612b575750612b2161288c565b73ffffffffffffffffffffffffffffffffffffffff16612b3f613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8d906147c5565b60405180910390fd5b612b9e61355c565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612c65576040517f8a07bb9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612cee576040517f2a98b5e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000816002018190555060008160030160006101000a81548160ff02191690831515021790555060018160030160016101000a81548160ff02191690831515021790555050612dd86136a0565b50565b60166020528060005260406000206000915090505481565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff1681526020019081526020016000209050612e578361337f565b600081600501549050600082600601549050808203612e7c5760009350505050612e87565b826003015493505050505b92915050565b612e95613a87565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efb906149a0565b60405180910390fd5b612f0d81613b05565b50565b60026000612f1c613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612fa85750612f7261288c565b73ffffffffffffffffffffffffffffffffffffffff16612f90613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fde906147c5565b60405180910390fd5b62278d0081612ff691906149c0565b60138190555050565b6002600061300b613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680613097575061306161288c565b73ffffffffffffffffffffffffffffffffffffffff1661307f613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd906147c5565b60405180910390fd5b6130de61355c565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166131a4576040517fb760490800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603613209576040517f3477a3c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603613292576040517f2a98b5e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001816002018190555060008160030160006101000a81548160ff02191690831515021790555060018160030160016101000a81548160ff0219169083151502179055505061337c6136a0565b50565b6000600b81111561339357613392614a02565b5b60ff168160ff1614806133be57506001600b8111156133b5576133b4614a02565b5b60ff168160ff16145b806133e157506002600b8111156133d8576133d7614a02565b5b60ff168160ff16145b8061340457506003600b8111156133fb576133fa614a02565b5b60ff168160ff16145b8061342757506004600b81111561341e5761341d614a02565b5b60ff168160ff16145b8061344a57506005600b81111561344157613440614a02565b5b60ff168160ff16145b8061346d57506006600b81111561346457613463614a02565b5b60ff168160ff16145b8061349057506007600b81111561348757613486614a02565b5b60ff168160ff16145b806134b357506008600b8111156134aa576134a9614a02565b5b60ff168160ff16145b806134d657506009600b8111156134cd576134cc614a02565b5b60ff168160ff16145b806134f95750600a600b8111156134f0576134ef614a02565b5b60ff168160ff16145b8061351b5750600b8081111561351257613511614a02565b5b60ff168160ff16145b613551576040517fa2b52a5400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b600033905090565b6002600154036135a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359890614a7d565b60405180910390fd5b6002600181905550565b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506007819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e3398160405161369591906145da565b60405180910390a150565b60018081905550565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600780548061371357613712614a9d565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590557fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f8160405161377791906145da565b60405180910390a150565b61378b8161337f565b6000601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008360ff1660ff168152602001908152602001600020905060006137ef613fdb565b9050816001015481101561382f576040517f35549be800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816006015482600501540361387b57836040517fc698915f00000000000000000000000000000000000000000000000000000000815260040161387291906145da565b60405180910390fd5b60006138878585613fe3565b9050600081036138c3576040517f94b911b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600501546138df846006015483613bc990919063ffffffff16565b111561390357613900836006015484600501546141cc90919063ffffffff16565b90505b61391a818460060154613bc990919063ffffffff16565b836006018190555061393781600c546141cc90919063ffffffff16565b600c8190555061395281600b54613bc990919063ffffffff16565b600b8190555060007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166340c10f1987846040518363ffffffff1660e01b81526004016139b5929190614acc565b6020604051808303816000875af11580156139d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139f89190614b21565b905080613a31576040517f520febbe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167ff3fef3a3f44f9c277339b67d54f015748bd8d6b77a985b0ab6e71126b018c34a83604051613a779190614482565b60405180910390a2505050505050565b613a8f613554565b73ffffffffffffffffffffffffffffffffffffffff16613aad61288c565b73ffffffffffffffffffffffffffffffffffffffff1614613b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613afa90614b9a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183613bd7919061488b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613c45576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c4e82611672565b15613c85576040517fe1da31f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860009054906101000a900460ff1615613ccc576040517f6b4babb900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008111613d06576040517fa0688c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002060000160009054906101000a900460ff1615613db3576040517fc1c77e6200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604051806101200160405280600115158152602001600e548152602001600e54601354613de2919061488b565b8152602001600f5481526020016010548152602001838152602001600081526020016011548152602001601254815250905080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155905050613f298260166000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002054613bc990919063ffffffff16565b60166000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002081905550613f6a82600c54613bc990919063ffffffff16565b600c819055508273ffffffffffffffffffffffffffffffffffffffff167f94505e341d05257c2256a66f9319f006bbb0e4e91460b507cec94775c7bd7b93600e54601354600f5460105487601154601254604051613fce97969594939291906148bf565b60405180910390a2505050565b600042905090565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff1681526020019081526020016000209050806005015481600601541061408a57836040517fc698915f00000000000000000000000000000000000000000000000000000000815260040161408191906145da565b60405180910390fd5b600061410c82604051806101200160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815250506141e2565b9050600061419083604051806101200160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815260200160078201548152602001600882015481525050614226565b905060006141a78284613bc990919063ffffffff16565b90506141c08460060154826141cc90919063ffffffff16565b94505050505092915050565b600081836141da9190614bba565b905092915050565b6000808260a0015190506000836101000151905061421d61271061420f838561431990919063ffffffff16565b61432f90919063ffffffff16565b92505050919050565b600080614231613fdb565b90506000614250846060015185608001516141cc90919063ffffffff16565b9050836080015182101561426957600092505050614314565b61428484602001518560400151613bc990919063ffffffff16565b82106142ae576142a58460c001518560a001516141cc90919063ffffffff16565b92505050614314565b60006142c382846141cc90919063ffffffff16565b905060008560600151905060006142e3828461432f90919063ffffffff16565b905060006142f088614345565b90506000614307838361431990919063ffffffff16565b9050809750505050505050505b919050565b6000818361432791906149c0565b905092915050565b6000818361433d9190614c1d565b905092915050565b6000808260a00151905060008360e00151905061437f612710614371838561431990919063ffffffff16565b61432f90919063ffffffff16565b92505050919050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143bd82614392565b9050919050565b6143cd816143b2565b81146143d857600080fd5b50565b6000813590506143ea816143c4565b92915050565b600060ff82169050919050565b614406816143f0565b811461441157600080fd5b50565b600081359050614423816143fd565b92915050565b600080604083850312156144405761443f614388565b5b600061444e858286016143db565b925050602061445f85828601614414565b9150509250929050565b6000819050919050565b61447c81614469565b82525050565b60006020820190506144976000830184614473565b92915050565b6000602082840312156144b3576144b2614388565b5b60006144c1848285016143db565b91505092915050565b6144d381614469565b81146144de57600080fd5b50565b6000813590506144f0816144ca565b92915050565b60006020828403121561450c5761450b614388565b5b600061451a848285016144e1565b91505092915050565b60008115159050919050565b61453881614523565b82525050565b600061012082019050614554600083018c61452f565b614561602083018b614473565b61456e604083018a614473565b61457b6060830189614473565b6145886080830188614473565b61459560a0830187614473565b6145a260c0830186614473565b6145af60e0830185614473565b6145bd610100830184614473565b9a9950505050505050505050565b6145d4816143b2565b82525050565b60006020820190506145ef60008301846145cb565b92915050565b600060208201905061460a600083018461452f565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261463557614634614610565b5b8235905067ffffffffffffffff81111561465257614651614615565b5b60208301915083602082028301111561466e5761466d61461a565b5b9250929050565b60008060006040848603121561468e5761468d614388565b5b600084013567ffffffffffffffff8111156146ac576146ab61438d565b5b6146b88682870161461f565b935093505060206146cb868287016144e1565b9150509250925092565b600080604083850312156146ec576146eb614388565b5b60006146fa858286016143db565b925050602061470b858286016144e1565b9150509250929050565b60006020828403121561472b5761472a614388565b5b600061473984828501614414565b91505092915050565b600082825260208201905092915050565b7f43616c6c657220646f6573206e6f7420686176652041646d696e20416363657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147af602183614742565b91506147ba82614753565b604082019050919050565b600060208201905081810360008301526147de816147a2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061481f82614469565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614851576148506147e5565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061489682614469565b91506148a183614469565b92508282019050808211156148b9576148b86147e5565b5b92915050565b600060e0820190506148d4600083018a614473565b6148e16020830189614473565b6148ee6040830188614473565b6148fb6060830187614473565b6149086080830186614473565b61491560a0830185614473565b61492260c0830184614473565b98975050505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061498a602683614742565b91506149958261492e565b604082019050919050565b600060208201905081810360008301526149b98161497d565b9050919050565b60006149cb82614469565b91506149d683614469565b92508282026149e481614469565b915082820484148315176149fb576149fa6147e5565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614a67601f83614742565b9150614a7282614a31565b602082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000604082019050614ae160008301856145cb565b614aee6020830184614473565b9392505050565b614afe81614523565b8114614b0957600080fd5b50565b600081519050614b1b81614af5565b92915050565b600060208284031215614b3757614b36614388565b5b6000614b4584828501614b0c565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b84602083614742565b9150614b8f82614b4e565b602082019050919050565b60006020820190508181036000830152614bb381614b77565b9050919050565b6000614bc582614469565b9150614bd083614469565b9250828203905081811115614be857614be76147e5565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c2882614469565b9150614c3383614469565b925082614c4357614c42614bee565b5b82820490509291505056fea26469706673582212204006933b3aa5a52db0006610bc7d8ddd03c00c63570b2f34ade75b80d6790ff364736f6c634300081200330000000000000000000000007067bebfa1720132dfb9373d65b522afbe3a201e
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102275760003560e01c80635c975abb1161013057806395a06547116100b8578063e87145171161007c578063e871451714610606578063f016196814610636578063f2fde38b14610666578063f6be71d114610682578063fdc009b31461069e57610227565b806395a0654714610562578063964892f114610592578063caab5d88146105b0578063cbd5bb2b146105ce578063da917632146105ea57610227565b806377881d52116100ff57806377881d52146104e45780637bb0cfa61461050057806382ca85131461050a5780638b7bf3eb146105265780638da5cb5b1461054457610227565b80635c975abb14610484578063659f7cb9146104a2578063708167ad146104be578063715018a6146104da57610227565b806321df0da7116101b35780633cd5a708116101825780633cd5a708146103d05780633f4add0e146103ec5780634c73acf91461041c5780634e8dade21461044c57806352f779161461046857610227565b806321df0da71461035c57806321e6b53d1461037a57806324d7806c14610396578063327bd36d146103c657610227565b80630cb9f6c5116101fa5780630cb9f6c5146102b257806317a76955146102ce5780631bcf8d63146102ec5780631c15cb62146103245780631cbfaed21461034057610227565b8063024f909b1461022c578063044bfd7f1461025c57806306c8e2391461027a5780630961a70414610296575b600080fd5b61024660048036038101906102419190614429565b6106ba565b6040516102539190614482565b60405180910390f35b610264610754565b6040516102719190614482565b60405180910390f35b610294600480360381019061028f919061449d565b61075a565b005b6102b060048036038101906102ab91906144f6565b610b69565b005b6102cc60048036038101906102c791906144f6565b610c4a565b005b6102d6610f69565b6040516102e39190614482565b60405180910390f35b61030660048036038101906103019190614429565b610f73565b60405161031b9998979695949392919061453e565b60405180910390f35b61033e600480360381019061033991906144f6565b610fdb565b005b61035a600480360381019061035591906144f6565b6110bc565b005b6103646113db565b60405161037191906145da565b60405180910390f35b610394600480360381019061038f919061449d565b611403565b005b6103b060048036038101906103ab919061449d565b611672565b6040516103bd91906145f5565b60405180910390f35b6103ce6116c8565b005b6103ea60048036038101906103e591906144f6565b611883565b005b61040660048036038101906104019190614429565b611964565b6040516104139190614482565b60405180910390f35b61043660048036038101906104319190614429565b6119d6565b6040516104439190614482565b60405180910390f35b610466600480360381019061046191906144f6565b611a48565b005b610482600480360381019061047d91906144f6565b611b29565b005b61048c611c0a565b60405161049991906145f5565b60405180910390f35b6104bc60048036038101906104b7919061449d565b611c1d565b005b6104d860048036038101906104d39190614429565b61200d565b005b6104e26120cc565b005b6104fe60048036038101906104f99190614675565b6120e0565b005b6105086125cf565b005b610524600480360381019061051f91906146d5565b61278a565b005b61052e61287f565b60405161053b9190614482565b60405180910390f35b61054c61288c565b60405161055991906145da565b60405180910390f35b61057c60048036038101906105779190614429565b6128b5565b6040516105899190614482565b60405180910390f35b61059a6129b1565b6040516105a79190614482565b60405180910390f35b6105b86129b7565b6040516105c59190614482565b60405180910390f35b6105e860048036038101906105e39190614715565b6129c1565b005b61060460048036038101906105ff919061449d565b612abf565b005b610620600480360381019061061b9190614715565b612ddb565b60405161062d9190614482565b60405180910390f35b610650600480360381019061064b9190614429565b612df3565b60405161065d9190614482565b60405180910390f35b610680600480360381019061067b919061449d565b612e8d565b005b61069c600480360381019061069791906144f6565b612f10565b005b6106b860048036038101906106b3919061449d565b612fff565b005b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff168152602001908152602001600020905061071e8361337f565b600081600501549050600082600601549050808203610743576000935050505061074e565b826004015493505050505b92915050565b600a5481565b60026000610766613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806107f257506107bc61288c565b73ffffffffffffffffffffffffffffffffffffffff166107da613554565b73ffffffffffffffffffffffffffffffffffffffff16145b610831576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610828906147c5565b60405180910390fd5b61083961355c565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060030160019054906101000a900460ff166108c4576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610948576040517f8a07bb9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615610991576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610a17576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550806002016000815480929190610a8690614814565b9190505550610a9361287f565b816002015410610b5d5760018160030160006101000a81548160ff021916908315150217905550610ac3826135ab565b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160006101000a81549060ff02191690556003820160016101000a81549060ff021916905550505b50610b666136a0565b50565b60026000610b75613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610c015750610bcb61288c565b73ffffffffffffffffffffffffffffffffffffffff16610be9613554565b73ffffffffffffffffffffffffffffffffffffffff16145b610c40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c37906147c5565b60405180910390fd5b80600e8190555050565b60026000610c56613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680610ce25750610cac61288c565b73ffffffffffffffffffffffffffffffffffffffff16610cca613554565b73ffffffffffffffffffffffffffffffffffffffff16145b610d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d18906147c5565b60405180910390fd5b610d2961355c565b60006005600083815260200190815260200160002090508060020160019054906101000a900460ff16610d88576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060020160009054906101000a900460ff1615610dd1576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610e57576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550806001016000815480929190610ec690614814565b9190505550610ed361287f565b816001015410610f5d5760018160020160006101000a81548160ff0219169083151502179055506001600860006101000a81548160ff02191690831515021790555060056000838152602001908152602001600020600060018201600090556002820160006101000a81549060ff02191690556002820160016101000a81549060ff021916905550505b50610f666136a0565b50565b6000600c54905090565b6015602052816000526040600020602052806000526040600020600091509150508060000160009054906101000a900460ff16908060010154908060020154908060030154908060040154908060050154908060060154908060070154908060080154905089565b60026000610fe7613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611073575061103d61288c565b73ffffffffffffffffffffffffffffffffffffffff1661105b613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a9906147c5565b60405180910390fd5b80600f8190555050565b600260006110c8613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611154575061111e61288c565b73ffffffffffffffffffffffffffffffffffffffff1661113c613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118a906147c5565b60405180910390fd5b61119b61355c565b60006006600083815260200190815260200160002090508060020160019054906101000a900460ff166111fa576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060020160009054906101000a900460ff1615611243576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156112c9576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080600101600081548092919061133890614814565b919050555061134561287f565b8160010154106113cf5760018160020160006101000a81548160ff0219169083151502179055506000600860006101000a81548160ff02191690831515021790555060066000838152602001908152602001600020600060018201600090556002820160006101000a81549060ff02191690556002820160016101000a81549060ff021916905550505b506113d86136a0565b50565b60007f0000000000000000000000007067bebfa1720132dfb9373d65b522afbe3a201e905090565b6002600061140f613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061149b575061146561288c565b73ffffffffffffffffffffffffffffffffffffffff16611483613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6114da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d1906147c5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611540576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61154981611672565b61157f576040517f1fff86d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036115e4576040517f1fff86d000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000007067bebfa1720132dfb9373d65b522afbe3a201e73ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161163d91906145da565b600060405180830381600087803b15801561165757600080fd5b505af115801561166b573d6000803e3d6000fd5b5050505050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b600260006116d4613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611760575061172a61288c565b73ffffffffffffffffffffffffffffffffffffffff16611748613554565b73ffffffffffffffffffffffffffffffffffffffff16145b61179f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611796906147c5565b60405180910390fd5b6117a761355c565b6000600960008154809291906117bc90614814565b919050559050600060056000838152602001908152602001600020905060008160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000816001018190555060008160020160006101000a81548160ff02191690831515021790555060018160020160016101000a81548160ff02191690831515021790555050506118816136a0565b565b6002600061188f613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061191b57506118e561288c565b73ffffffffffffffffffffffffffffffffffffffff16611903613554565b73ffffffffffffffffffffffffffffffffffffffff16145b61195a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611951906147c5565b60405180910390fd5b8060128190555050565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002090506119c88361337f565b806005015491505092915050565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff1681526020019081526020016000209050611a3a8361337f565b806006015491505092915050565b60026000611a54613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611ae05750611aaa61288c565b73ffffffffffffffffffffffffffffffffffffffff16611ac8613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b16906147c5565b60405180910390fd5b8060118190555050565b60026000611b35613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611bc15750611b8b61288c565b73ffffffffffffffffffffffffffffffffffffffff16611ba9613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611c00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf7906147c5565b60405180910390fd5b8060108190555050565b600860009054906101000a900460ff1681565b60026000611c29613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611cb55750611c7f61288c565b73ffffffffffffffffffffffffffffffffffffffff16611c9d613554565b73ffffffffffffffffffffffffffffffffffffffff16145b611cf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ceb906147c5565b60405180910390fd5b611cfc61355c565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508060030160019054906101000a900460ff16611d87576040517fb11db2b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603611dec576040517f3477a3c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060030160009054906101000a900460ff1615611e35576040517f7a19ed0500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611ebb576040517f7c9a1cf900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60018160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550806002016000815480929190611f2a90614814565b9190505550611f3761287f565b8160020154106120015760018160030160006101000a81548160ff021916908315150217905550611f67826136a9565b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028201600090556003820160006101000a81549060ff02191690556003820160016101000a81549060ff021916905550505b5061200a6136a0565b50565b61201561355c565b8181601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008260ff1660ff16815260200190815260200160002060000160009054906101000a900460ff166120b4576040517fc1c77e6200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120be8484613782565b50506120c86136a0565b5050565b6120d4613a87565b6120de6000613b05565b565b600260006120ec613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612178575061214261288c565b73ffffffffffffffffffffffffffffffffffffffff16612160613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6121b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ae906147c5565b60405180910390fd5b6121bf61355c565b600081036121f9576040517fa0688c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b838390508110156125c157600084848381811061221c5761221b61485c565b5b9050602002016020810190612231919061449d565b905061223c81611672565b15612273576040517fe1da31f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860009054906101000a900460ff16156122ba576040517f6b4babb900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612320576040517fca1651f100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601560008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600b60ff16815260200190815260200160002060000160009054906101000a900460ff16156123bc576040517f69eb012f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604051806101200160405280600115158152602001600e548152602001600e546013546123eb919061488b565b8152602001600f5481526020016010548152602001858152602001600081526020016011548152602001601254815250905080601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600b60ff16815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e0820151816007015561010082015181600801559050506125108460166000600b60ff16815260200190815260200160002054613bc990919063ffffffff16565b60166000600b60ff1681526020019081526020016000208190555061254084600c54613bc990919063ffffffff16565b600c819055508173ffffffffffffffffffffffffffffffffffffffff167f939601dce11af3c4b88f311271097f9515ab78de2711684fd610db8436074ac3600e54601354600f54601054896011546012546040516125a497969594939291906148bf565b60405180910390a2505080806125b990614814565b9150506121fc565b506125ca6136a0565b505050565b600260006125db613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612667575061263161288c565b73ffffffffffffffffffffffffffffffffffffffff1661264f613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6126a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161269d906147c5565b60405180910390fd5b6126ae61355c565b6000600a60008154809291906126c390614814565b919050559050600060066000838152602001908152602001600020905060008160000160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000816001018190555060008160020160006101000a81548160ff02191690831515021790555060018160020160016101000a81548160ff02191690831515021790555050506127886136a0565b565b60026000612796613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff168061282257506127ec61288c565b73ffffffffffffffffffffffffffffffffffffffff1661280a613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612861576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612858906147c5565b60405180910390fd5b61286961355c565b6128738282613bdf565b61287b6136a0565b5050565b6000600780549050905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff16815260200190815260200160002090506129198361337f565b6000612923613fdb565b9050816001015481101561293c576000925050506129ab565b8160050154826006015403612956576000925050506129ab565b60006129628686613fe3565b90508260050154612980846006015483613bc990919063ffffffff16565b11156129a4576129a1836006015484600501546141cc90919063ffffffff16565b90505b8093505050505b92915050565b60095481565b6000600b54905090565b600260006129cd613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612a595750612a2361288c565b73ffffffffffffffffffffffffffffffffffffffff16612a41613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612a98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8f906147c5565b60405180910390fd5b612aa18161337f565b80601460006101000a81548160ff021916908360ff16021790555050565b60026000612acb613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612b575750612b2161288c565b73ffffffffffffffffffffffffffffffffffffffff16612b3f613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8d906147c5565b60405180910390fd5b612b9e61355c565b6000600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615612c65576040517f8a07bb9000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612cee576040517f2a98b5e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000816002018190555060008160030160006101000a81548160ff02191690831515021790555060018160030160016101000a81548160ff02191690831515021790555050612dd86136a0565b50565b60166020528060005260406000206000915090505481565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff1681526020019081526020016000209050612e578361337f565b600081600501549050600082600601549050808203612e7c5760009350505050612e87565b826003015493505050505b92915050565b612e95613a87565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612efb906149a0565b60405180910390fd5b612f0d81613b05565b50565b60026000612f1c613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680612fa85750612f7261288c565b73ffffffffffffffffffffffffffffffffffffffff16612f90613554565b73ffffffffffffffffffffffffffffffffffffffff16145b612fe7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fde906147c5565b60405180910390fd5b62278d0081612ff691906149c0565b60138190555050565b6002600061300b613554565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680613097575061306161288c565b73ffffffffffffffffffffffffffffffffffffffff1661307f613554565b73ffffffffffffffffffffffffffffffffffffffff16145b6130d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130cd906147c5565b60405180910390fd5b6130de61355c565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166131a4576040517fb760490800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1603613209576040517f3477a3c300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603613292576040517f2a98b5e900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b818160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060008160010160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506001816002018190555060008160030160006101000a81548160ff02191690831515021790555060018160030160016101000a81548160ff0219169083151502179055505061337c6136a0565b50565b6000600b81111561339357613392614a02565b5b60ff168160ff1614806133be57506001600b8111156133b5576133b4614a02565b5b60ff168160ff16145b806133e157506002600b8111156133d8576133d7614a02565b5b60ff168160ff16145b8061340457506003600b8111156133fb576133fa614a02565b5b60ff168160ff16145b8061342757506004600b81111561341e5761341d614a02565b5b60ff168160ff16145b8061344a57506005600b81111561344157613440614a02565b5b60ff168160ff16145b8061346d57506006600b81111561346457613463614a02565b5b60ff168160ff16145b8061349057506007600b81111561348757613486614a02565b5b60ff168160ff16145b806134b357506008600b8111156134aa576134a9614a02565b5b60ff168160ff16145b806134d657506009600b8111156134cd576134cc614a02565b5b60ff168160ff16145b806134f95750600a600b8111156134f0576134ef614a02565b5b60ff168160ff16145b8061351b5750600b8081111561351257613511614a02565b5b60ff168160ff16145b613551576040517fa2b52a5400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50565b600033905090565b6002600154036135a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161359890614a7d565b60405180910390fd5b6002600181905550565b6001600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506007819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e3398160405161369591906145da565b60405180910390a150565b60018081905550565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600780548061371357613712614a9d565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905590557fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f8160405161377791906145da565b60405180910390a150565b61378b8161337f565b6000601560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008360ff1660ff168152602001908152602001600020905060006137ef613fdb565b9050816001015481101561382f576040517f35549be800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816006015482600501540361387b57836040517fc698915f00000000000000000000000000000000000000000000000000000000815260040161387291906145da565b60405180910390fd5b60006138878585613fe3565b9050600081036138c3576040517f94b911b000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600501546138df846006015483613bc990919063ffffffff16565b111561390357613900836006015484600501546141cc90919063ffffffff16565b90505b61391a818460060154613bc990919063ffffffff16565b836006018190555061393781600c546141cc90919063ffffffff16565b600c8190555061395281600b54613bc990919063ffffffff16565b600b8190555060007f0000000000000000000000007067bebfa1720132dfb9373d65b522afbe3a201e73ffffffffffffffffffffffffffffffffffffffff166340c10f1987846040518363ffffffff1660e01b81526004016139b5929190614acc565b6020604051808303816000875af11580156139d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139f89190614b21565b905080613a31576040517f520febbe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167ff3fef3a3f44f9c277339b67d54f015748bd8d6b77a985b0ab6e71126b018c34a83604051613a779190614482565b60405180910390a2505050505050565b613a8f613554565b73ffffffffffffffffffffffffffffffffffffffff16613aad61288c565b73ffffffffffffffffffffffffffffffffffffffff1614613b03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613afa90614b9a565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183613bd7919061488b565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613c45576040517fd92e233d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613c4e82611672565b15613c85576040517fe1da31f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600860009054906101000a900460ff1615613ccc576040517f6b4babb900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008111613d06576040517fa0688c3500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002060000160009054906101000a900460ff1615613db3576040517fc1c77e6200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000604051806101200160405280600115158152602001600e548152602001600e54601354613de2919061488b565b8152602001600f5481526020016010548152602001838152602001600081526020016011548152602001601254815250905080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002060008201518160000160006101000a81548160ff0219169083151502179055506020820151816001015560408201518160020155606082015181600301556080820151816004015560a0820151816005015560c0820151816006015560e082015181600701556101008201518160080155905050613f298260166000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002054613bc990919063ffffffff16565b60166000601460009054906101000a900460ff1660ff1660ff16815260200190815260200160002081905550613f6a82600c54613bc990919063ffffffff16565b600c819055508273ffffffffffffffffffffffffffffffffffffffff167f94505e341d05257c2256a66f9319f006bbb0e4e91460b507cec94775c7bd7b93600e54601354600f5460105487601154601254604051613fce97969594939291906148bf565b60405180910390a2505050565b600042905090565b600080601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008460ff1660ff1681526020019081526020016000209050806005015481600601541061408a57836040517fc698915f00000000000000000000000000000000000000000000000000000000815260040161408191906145da565b60405180910390fd5b600061410c82604051806101200160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152602001600482015481526020016005820154815260200160068201548152602001600782015481526020016008820154815250506141e2565b9050600061419083604051806101200160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815260200160078201548152602001600882015481525050614226565b905060006141a78284613bc990919063ffffffff16565b90506141c08460060154826141cc90919063ffffffff16565b94505050505092915050565b600081836141da9190614bba565b905092915050565b6000808260a0015190506000836101000151905061421d61271061420f838561431990919063ffffffff16565b61432f90919063ffffffff16565b92505050919050565b600080614231613fdb565b90506000614250846060015185608001516141cc90919063ffffffff16565b9050836080015182101561426957600092505050614314565b61428484602001518560400151613bc990919063ffffffff16565b82106142ae576142a58460c001518560a001516141cc90919063ffffffff16565b92505050614314565b60006142c382846141cc90919063ffffffff16565b905060008560600151905060006142e3828461432f90919063ffffffff16565b905060006142f088614345565b90506000614307838361431990919063ffffffff16565b9050809750505050505050505b919050565b6000818361432791906149c0565b905092915050565b6000818361433d9190614c1d565b905092915050565b6000808260a00151905060008360e00151905061437f612710614371838561431990919063ffffffff16565b61432f90919063ffffffff16565b92505050919050565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006143bd82614392565b9050919050565b6143cd816143b2565b81146143d857600080fd5b50565b6000813590506143ea816143c4565b92915050565b600060ff82169050919050565b614406816143f0565b811461441157600080fd5b50565b600081359050614423816143fd565b92915050565b600080604083850312156144405761443f614388565b5b600061444e858286016143db565b925050602061445f85828601614414565b9150509250929050565b6000819050919050565b61447c81614469565b82525050565b60006020820190506144976000830184614473565b92915050565b6000602082840312156144b3576144b2614388565b5b60006144c1848285016143db565b91505092915050565b6144d381614469565b81146144de57600080fd5b50565b6000813590506144f0816144ca565b92915050565b60006020828403121561450c5761450b614388565b5b600061451a848285016144e1565b91505092915050565b60008115159050919050565b61453881614523565b82525050565b600061012082019050614554600083018c61452f565b614561602083018b614473565b61456e604083018a614473565b61457b6060830189614473565b6145886080830188614473565b61459560a0830187614473565b6145a260c0830186614473565b6145af60e0830185614473565b6145bd610100830184614473565b9a9950505050505050505050565b6145d4816143b2565b82525050565b60006020820190506145ef60008301846145cb565b92915050565b600060208201905061460a600083018461452f565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261463557614634614610565b5b8235905067ffffffffffffffff81111561465257614651614615565b5b60208301915083602082028301111561466e5761466d61461a565b5b9250929050565b60008060006040848603121561468e5761468d614388565b5b600084013567ffffffffffffffff8111156146ac576146ab61438d565b5b6146b88682870161461f565b935093505060206146cb868287016144e1565b9150509250925092565b600080604083850312156146ec576146eb614388565b5b60006146fa858286016143db565b925050602061470b858286016144e1565b9150509250929050565b60006020828403121561472b5761472a614388565b5b600061473984828501614414565b91505092915050565b600082825260208201905092915050565b7f43616c6c657220646f6573206e6f7420686176652041646d696e20416363657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147af602183614742565b91506147ba82614753565b604082019050919050565b600060208201905081810360008301526147de816147a2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061481f82614469565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614851576148506147e5565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061489682614469565b91506148a183614469565b92508282019050808211156148b9576148b86147e5565b5b92915050565b600060e0820190506148d4600083018a614473565b6148e16020830189614473565b6148ee6040830188614473565b6148fb6060830187614473565b6149086080830186614473565b61491560a0830185614473565b61492260c0830184614473565b98975050505050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061498a602683614742565b91506149958261492e565b604082019050919050565b600060208201905081810360008301526149b98161497d565b9050919050565b60006149cb82614469565b91506149d683614469565b92508282026149e481614469565b915082820484148315176149fb576149fa6147e5565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614a67601f83614742565b9150614a7282614a31565b602082019050919050565b60006020820190508181036000830152614a9681614a5a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6000604082019050614ae160008301856145cb565b614aee6020830184614473565b9392505050565b614afe81614523565b8114614b0957600080fd5b50565b600081519050614b1b81614af5565b92915050565b600060208284031215614b3757614b36614388565b5b6000614b4584828501614b0c565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614b84602083614742565b9150614b8f82614b4e565b602082019050919050565b60006020820190508181036000830152614bb381614b77565b9050919050565b6000614bc582614469565b9150614bd083614469565b9250828203905081811115614be857614be76147e5565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c2882614469565b9150614c3383614469565b925082614c4357614c42614bee565b5b82820490509291505056fea26469706673582212204006933b3aa5a52db0006610bc7d8ddd03c00c63570b2f34ade75b80d6790ff364736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007067bebfa1720132dfb9373d65b522afbe3a201e
-----Decoded View---------------
Arg [0] : _token (address): 0x7067BeBfA1720132DFb9373d65B522AfBe3A201e
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007067bebfa1720132dfb9373d65b522afbe3a201e
Loading...
Loading
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.