More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,080 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 17483111 | 441 days ago | IN | 0 ETH | 0.00143853 | ||||
Withdraw | 17445542 | 447 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 17445529 | 447 days ago | IN | 0 ETH | 0.00055401 | ||||
Withdraw | 16699323 | 552 days ago | IN | 0 ETH | 0.0056472 | ||||
Withdraw | 16655224 | 558 days ago | IN | 0 ETH | 0.00170372 | ||||
Withdraw | 15799680 | 678 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 15614887 | 703 days ago | IN | 0 ETH | 0.00170372 | ||||
Withdraw | 15536087 | 714 days ago | IN | 0 ETH | 0.00170372 | ||||
Withdraw | 15494197 | 721 days ago | IN | 0 ETH | 0.00170372 | ||||
Withdraw | 15461032 | 727 days ago | IN | 0 ETH | 0.00092056 | ||||
Withdraw | 15461032 | 727 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 15432602 | 731 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 15357640 | 743 days ago | IN | 0 ETH | 0.00170372 | ||||
Withdraw | 15339333 | 746 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 15327848 | 748 days ago | IN | 0 ETH | 0.00306387 | ||||
Withdraw | 15208479 | 767 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 15129029 | 779 days ago | IN | 0 ETH | 0.00371208 | ||||
Withdraw | 15113687 | 781 days ago | IN | 0 ETH | 0.00170372 | ||||
Withdraw | 15077805 | 787 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 15071865 | 788 days ago | IN | 0 ETH | 0.00170372 | ||||
Withdraw | 15043059 | 792 days ago | IN | 0 ETH | 0.00136172 | ||||
Withdraw | 15031271 | 795 days ago | IN | 0 ETH | 0.00321093 | ||||
Withdraw | 14994349 | 801 days ago | IN | 0 ETH | 0.00157306 | ||||
Withdraw | 14993896 | 801 days ago | IN | 0 ETH | 0.00122554 | ||||
Withdraw | 14989474 | 802 days ago | IN | 0 ETH | 0.00133088 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12653714 | 1169 days ago | Contract Creation | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x4a8Fe69d...b79145308 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TokenVesting
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract TokenVesting is Pausable, Ownable { using SafeMath for uint256; struct VestingSchedule { uint256 totalAmount; // Total amount of tokens to be vested. uint256 amountWithdrawn; // The amount that has been withdrawn. } mapping(address => VestingSchedule) public recipients; uint256 public startTime; bool public isStartTimeSet; bool public isPaused; uint256 public withdrawInterval; // Amount of time in seconds between withdrawal periods. uint256 public releaseRate; // Release percent in each withdrawing interval uint256 public totalAmount; // Total amount of tokens to be vested. uint256 public unallocatedAmount; // The amount of tokens that are not allocated yet. uint256 public initialUnlock; // Percent of tokens initially unlocked uint256 public lockPeriod; // Number of periods before start release. IERC20 public formToken; event VestingScheduleRegistered( address registeredAddress, uint256 totalAmount ); event VestingSchedulesRegistered( address[] registeredAddresses, uint256[] totalAmounts ); event Withdraw(address registeredAddress, uint256 amountWithdrawn); event StartTimeSet(uint256 startTime); constructor( address _formToken, uint256 _totalAmount, uint256 _initialUnlock, uint256 _withdrawInterval, uint256 _releaseRate, uint256 _lockPeriod ) public { formToken = IERC20(_formToken); totalAmount = _totalAmount; initialUnlock = _initialUnlock; unallocatedAmount = _totalAmount; withdrawInterval = _withdrawInterval; releaseRate = _releaseRate; lockPeriod = _lockPeriod; } function addRecipient(address _newRecipient, uint256 _totalAmount) external onlyOwner { // Only allow to add recipient before the counting starts require(!isStartTimeSet || startTime > block.timestamp); require(_newRecipient != address(0)); require(recipients[_newRecipient].totalAmount == 0); unallocatedAmount = unallocatedAmount.add( recipients[_newRecipient].totalAmount ); require(_totalAmount > 0 && _totalAmount <= unallocatedAmount); recipients[_newRecipient] = VestingSchedule({ totalAmount: _totalAmount, amountWithdrawn: 0 }); unallocatedAmount = unallocatedAmount.sub(_totalAmount); emit VestingScheduleRegistered(_newRecipient, _totalAmount); } function addRecipients( address[] memory _newRecipients, uint256[] memory _totalAmounts ) external onlyOwner { // Only allow to add recipient before the counting starts require(!isStartTimeSet || startTime > block.timestamp); for (uint256 i = 0; i < _newRecipients.length; i++) { address _newRecipient = _newRecipients[i]; uint256 _totalAmount = _totalAmounts[i]; require(_newRecipient != address(0)); require(recipients[_newRecipient].totalAmount == 0); unallocatedAmount = unallocatedAmount.add( recipients[_newRecipient].totalAmount ); require(_totalAmount > 0 && _totalAmount <= unallocatedAmount); recipients[_newRecipient] = VestingSchedule({ totalAmount: _totalAmount, amountWithdrawn: 0 }); unallocatedAmount = unallocatedAmount.sub(_totalAmount); } emit VestingSchedulesRegistered(_newRecipients, _totalAmounts); } function setStartTime(uint256 _newStartTime) external onlyOwner { // Only allow to change start time before the counting starts require(!isStartTimeSet || startTime > block.timestamp); require(_newStartTime > block.timestamp); startTime = _newStartTime; isStartTimeSet = true; emit StartTimeSet(_newStartTime); } // Returns the amount of tokens you can withdraw function vested(address beneficiary) public view virtual returns (uint256 _amountVested) { VestingSchedule memory _vestingSchedule = recipients[beneficiary]; if ( !isStartTimeSet || (_vestingSchedule.totalAmount == 0) || (block.timestamp < startTime) || (block.timestamp < startTime.add(lockPeriod)) ) { return 0; } uint256 initialUnlockAmount = _vestingSchedule.totalAmount.mul(initialUnlock).div(1e6); uint256 unlockRate = _vestingSchedule.totalAmount.mul(releaseRate).div(1e6).div( withdrawInterval ); uint256 vestedAmount = unlockRate.mul(block.timestamp.sub(startTime).sub(lockPeriod)).add( initialUnlockAmount ); if (vestedAmount > _vestingSchedule.totalAmount) { return _vestingSchedule.totalAmount; } return vestedAmount; } function locked(address beneficiary) public view returns (uint256) { return recipients[beneficiary].totalAmount.sub(vested(beneficiary)); } function withdrawable(address beneficiary) public view returns (uint256 amount) { return vested(beneficiary).sub(recipients[beneficiary].amountWithdrawn); } function emergencyWithdraw(uint256 _amount) external onlyOwner { require(_amount > 0, "Nothing to withdraw"); require(_amount <= formToken.balanceOf(address(this)), "Amount to withdraw exceeds balance"); require(formToken.transfer(_msgSender(), _amount)); emit Withdraw(_msgSender(), _amount); } function withdraw() external whenNotPaused { VestingSchedule storage vestingSchedule = recipients[_msgSender()]; if (vestingSchedule.totalAmount == 0) return; uint256 _vested = vested(_msgSender()); uint256 _withdrawable = withdrawable(_msgSender()); vestingSchedule.amountWithdrawn = _vested; require(_withdrawable > 0, "Nothing to withdraw"); require(formToken.transfer(_msgSender(), _withdrawable)); emit Withdraw(_msgSender(), _withdrawable); } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * 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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
{ "evmVersion": "istanbul", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_formToken","type":"address"},{"internalType":"uint256","name":"_totalAmount","type":"uint256"},{"internalType":"uint256","name":"_initialUnlock","type":"uint256"},{"internalType":"uint256","name":"_withdrawInterval","type":"uint256"},{"internalType":"uint256","name":"_releaseRate","type":"uint256"},{"internalType":"uint256","name":"_lockPeriod","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"startTime","type":"uint256"}],"name":"StartTimeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registeredAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalAmount","type":"uint256"}],"name":"VestingScheduleRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"registeredAddresses","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"totalAmounts","type":"uint256[]"}],"name":"VestingSchedulesRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registeredAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountWithdrawn","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"address","name":"_newRecipient","type":"address"},{"internalType":"uint256","name":"_totalAmount","type":"uint256"}],"name":"addRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_newRecipients","type":"address[]"},{"internalType":"uint256[]","name":"_totalAmounts","type":"uint256[]"}],"name":"addRecipients","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"formToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialUnlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isStartTimeSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"locked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"recipients","outputs":[{"internalType":"uint256","name":"totalAmount","type":"uint256"},{"internalType":"uint256","name":"amountWithdrawn","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newStartTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unallocatedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"vested","outputs":[{"internalType":"uint256","name":"_amountVested","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"withdrawable","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c806378e97925116100de578063c3f368af11610097578063eb82031211610071578063eb820312146105ca578063f2fde38b14610629578063f361c59b1461066d578063f79822431461068d57610173565b8063c3f368af146104fc578063cbf9fe5f1461051a578063ce513b6f1461057257610173565b806378e97925146103165780638456cb59146103345780638da5cb5b1461033e5780639dd509cb14610372578063a7032998146104be578063b187bd26146104dc57610173565b80633fd8b02f116101305780633fd8b02f1461022a5780634afe5bf3146102485780635312ea8e146102665780635c975abb146102945780637102b728146102b4578063715018a61461030c57610173565b80630d17b90114610178578063162075d8146101ac5780631a39d8ef146101ca5780633ccfd60b146101e85780633e0a322d146101f25780633f4ba83a14610220575b600080fd5b6101806106db565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6101b4610701565b6040518082815260200191505060405180910390f35b6101d2610707565b6040518082815260200191505060405180910390f35b6101f061070d565b005b61021e6004803603602081101561020857600080fd5b81019080803590602001909291905050506109cc565b005b610228610b09565b005b610232610bc2565b6040518082815260200191505060405180910390f35b610250610bc8565b6040518082815260200191505060405180910390f35b6102926004803603602081101561027c57600080fd5b8101908080359060200190929190505050610bce565b005b61029c610f4c565b60405180821515815260200191505060405180910390f35b6102f6600480360360208110156102ca57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f62565b6040518082815260200191505060405180910390f35b610314611112565b005b61031e611281565b6040518082815260200191505060405180910390f35b61033c611287565b005b610346611340565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104bc6004803603604081101561038857600080fd5b81019080803590602001906401000000008111156103a557600080fd5b8201836020820111156103b757600080fd5b803590602001918460208302840111640100000000831117156103d957600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561043957600080fd5b82018360208201111561044b57600080fd5b8035906020019184602083028401116401000000008311171561046d57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611369565b005b6104c66116d7565b6040518082815260200191505060405180910390f35b6104e46116dd565b60405180821515815260200191505060405180910390f35b6105046116f0565b6040518082815260200191505060405180910390f35b61055c6004803603602081101561053057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116f6565b6040518082815260200191505060405180910390f35b6105b46004803603602081101561058857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061175c565b6040518082815260200191505060405180910390f35b61060c600480360360208110156105e057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117c2565b604051808381526020018281526020019250505060405180910390f35b61066b6004803603602081101561063f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506117e6565b005b6106756119db565b60405180821515815260200191505060405180910390f35b6106d9600480360360408110156106a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506119ee565b005b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60045481565b60065481565b610715610f4c565b15610788576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b600060016000610796611ca4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000816000015414156107e557506109ca565b60006107f76107f2611ca4565b610f62565b9050600061080b610806611ca4565b61175c565b90508183600101819055506000811161088c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f7468696e6720746f2077697468647261770000000000000000000000000081525060200191505060405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6108d2611ca4565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561092657600080fd5b505af115801561093a573d6000803e3d6000fd5b505050506040513d602081101561095057600080fd5b810190808051906020019092919050505061096a57600080fd5b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364610993611ca4565b82604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050505b565b6109d4611ca4565b73ffffffffffffffffffffffffffffffffffffffff166109f2611340565b73ffffffffffffffffffffffffffffffffffffffff1614610a7b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff161580610a98575042600254115b610aa157600080fd5b428111610aad57600080fd5b806002819055506001600360006101000a81548160ff0219169083151502179055507faad53c4362ef2fe5a5390cc046e71fd8423a0a8dceebc156ac9bbcd15997eec2816040518082815260200191505060405180910390a150565b610b11611ca4565b73ffffffffffffffffffffffffffffffffffffffff16610b2f611340565b73ffffffffffffffffffffffffffffffffffffffff1614610bb8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610bc0611cac565b565b60095481565b60075481565b610bd6611ca4565b73ffffffffffffffffffffffffffffffffffffffff16610bf4611340565b73ffffffffffffffffffffffffffffffffffffffff1614610c7d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111610cf3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f7468696e6720746f2077697468647261770000000000000000000000000081525060200191505060405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610d7c57600080fd5b505afa158015610d90573d6000803e3d6000fd5b505050506040513d6020811015610da657600080fd5b8101908080519060200190929190505050811115610e0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061209c6022913960400191505060405180910390fd5b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb610e55611ca4565b836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610ea957600080fd5b505af1158015610ebd573d6000803e3d6000fd5b505050506040513d6020811015610ed357600080fd5b8101908080519060200190929190505050610eed57600080fd5b7f884edad9ce6fa2440d8a54cc123490eb96d2768479d49ff9c7366125a9424364610f16611ca4565b82604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a150565b60008060009054906101000a900460ff16905090565b600080600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020604051806040016040529081600082015481526020016001820154815250509050600360009054906101000a900460ff161580610fe5575060008160000151145b80610ff1575060025442105b80611011575061100e600954600254611d9690919063ffffffff16565b42105b1561102057600091505061110d565b6000611050620f42406110426008548560000151611e1e90919063ffffffff16565b611ea490919063ffffffff16565b90506000611096600454611088620f424061107a6005548860000151611e1e90919063ffffffff16565b611ea490919063ffffffff16565b611ea490919063ffffffff16565b905060006110e7836110d96110ca6009546110bc60025442611f2d90919063ffffffff16565b611f2d90919063ffffffff16565b85611e1e90919063ffffffff16565b611d9690919063ffffffff16565b9050836000015181111561110557836000015194505050505061110d565b809450505050505b919050565b61111a611ca4565b73ffffffffffffffffffffffffffffffffffffffff16611138611340565b73ffffffffffffffffffffffffffffffffffffffff16146111c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60025481565b61128f611ca4565b73ffffffffffffffffffffffffffffffffffffffff166112ad611340565b73ffffffffffffffffffffffffffffffffffffffff1614611336576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61133e611fb0565b565b60008060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611371611ca4565b73ffffffffffffffffffffffffffffffffffffffff1661138f611340565b73ffffffffffffffffffffffffffffffffffffffff1614611418576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff161580611435575042600254115b61143e57600080fd5b60005b825181101561161157600083828151811061145857fe5b60200260200101519050600083838151811061147057fe5b60200260200101519050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114b457600080fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001541461150357600080fd5b61155a600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154600754611d9690919063ffffffff16565b60078190555060008111801561157257506007548111155b61157b57600080fd5b60405180604001604052808281526020016000815250600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000155602082015181600101559050506115fc81600754611f2d90919063ffffffff16565b60078190555050508080600101915050611441565b507fd86cc02df033df90aca405f9a77d690309b54434249b4404efae1775a1ee40cc8282604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561167c578082015181840152602081019050611661565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156116be5780820151818401526020810190506116a3565b5050505090500194505050505060405180910390a15050565b60055481565b600360019054906101000a900460ff1681565b60085481565b600061175561170483610f62565b600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611f2d90919063ffffffff16565b9050919050565b60006117bb600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600101546117ad84610f62565b611f2d90919063ffffffff16565b9050919050565b60016020528060005260406000206000915090508060000154908060010154905082565b6117ee611ca4565b73ffffffffffffffffffffffffffffffffffffffff1661180c611340565b73ffffffffffffffffffffffffffffffffffffffff1614611895576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561191b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806120be6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600060019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600060016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900460ff1681565b6119f6611ca4565b73ffffffffffffffffffffffffffffffffffffffff16611a14611340565b73ffffffffffffffffffffffffffffffffffffffff1614611a9d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff161580611aba575042600254115b611ac357600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611afd57600080fd5b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000015414611b4c57600080fd5b611ba3600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154600754611d9690919063ffffffff16565b600781905550600081118015611bbb57506007548111155b611bc457600080fd5b60405180604001604052808281526020016000815250600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000820151816000015560208201518160010155905050611c4581600754611f2d90919063ffffffff16565b6007819055507f16e42921daee38136dc17f8420c371163ec8299e5299fb480d7aeff85cfac3eb8282604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b600033905090565b611cb4610f4c565b611d26576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260148152602001807f5061757361626c653a206e6f742070617573656400000000000000000000000081525060200191505060405180910390fd5b60008060006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611d69611ca4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a1565b600080828401905083811015611e14576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611e315760009050611e9e565b6000828402905082848281611e4257fe5b0414611e99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806120e46021913960400191505060405180910390fd5b809150505b92915050565b6000808211611f1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611f2457fe5b04905092915050565b600082821115611fa5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b611fb8610f4c565b1561202b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f5061757361626c653a207061757365640000000000000000000000000000000081525060200191505060405180910390fd5b60016000806101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861206e611ca4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a156fe416d6f756e7420746f20776974686472617720657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a26469706673582212208fb28f592f0bd078b2c26825c1978b3e8b2e5d79a514e95bb8f37e0a2c52f70664736f6c63430007060033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.0001 | 24,806,579.1198 | $2,480.97 |
Loading...
Loading
[ Download: CSV Export ]
[ 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.