More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,331 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 328671061 | 2 days ago | IN | 0 ETH | 0.00000072 | ||||
Claim | 327560966 | 5 days ago | IN | 0 ETH | 0.0000011 | ||||
Claim | 327342199 | 5 days ago | IN | 0 ETH | 0.00000358 | ||||
Claim | 326218467 | 9 days ago | IN | 0 ETH | 0.00000071 | ||||
Claim | 322270430 | 20 days ago | IN | 0 ETH | 0.00000398 | ||||
Claim | 322009067 | 21 days ago | IN | 0 ETH | 0.00000071 | ||||
Claim | 320444134 | 26 days ago | IN | 0 ETH | 0.00000086 | ||||
Claim | 319396577 | 29 days ago | IN | 0 ETH | 0.00000072 | ||||
Claim | 311995917 | 50 days ago | IN | 0 ETH | 0.0000015 | ||||
Claim | 308730451 | 60 days ago | IN | 0 ETH | 0.00000137 | ||||
Claim | 308425605 | 60 days ago | IN | 0 ETH | 0.00004529 | ||||
Claim | 304252773 | 73 days ago | IN | 0 ETH | 0.00000056 | ||||
Claim | 302153154 | 79 days ago | IN | 0 ETH | 0.0000028 | ||||
Claim | 301994509 | 79 days ago | IN | 0 ETH | 0.00000232 | ||||
Claim | 299227204 | 87 days ago | IN | 0 ETH | 0.00000114 | ||||
Claim | 297337696 | 93 days ago | IN | 0 ETH | 0.00000631 | ||||
Claim | 294674041 | 100 days ago | IN | 0 ETH | 0.00000064 | ||||
Claim | 289375127 | 116 days ago | IN | 0 ETH | 0.0000009 | ||||
Claim | 288626641 | 118 days ago | IN | 0 ETH | 0.00000095 | ||||
Claim | 288409819 | 119 days ago | IN | 0 ETH | 0.00000086 | ||||
Claim | 287326371 | 122 days ago | IN | 0 ETH | 0.00000092 | ||||
Claim | 285341869 | 128 days ago | IN | 0 ETH | 0.00000191 | ||||
Claim | 284665957 | 130 days ago | IN | 0 ETH | 0.00000152 | ||||
Claim | 284536644 | 130 days ago | IN | 0 ETH | 0.00000155 | ||||
Claim | 282502057 | 136 days ago | IN | 0 ETH | 0.0000016 |
Loading...
Loading
Contract Name:
Vester3Months
Compiler Version
v0.8.18+commit.87f61d96
Optimization Enabled:
Yes with 99 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.18; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { ERC20Burnable } from "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; contract Vester3Months is IERC20, ReentrancyGuard, Ownable { using SafeERC20 for IERC20; string public name; string public symbol; uint8 public decimals = 18; uint256 public constant VESTING_DURATION = 90 days; address public esToken; address public claimableToken; uint256 public totalSupply; address public vester12Months; mapping(address => uint256) public balances; mapping(address => uint256) public cumulativeClaimAmounts; mapping(address => uint256) public claimedAmounts; mapping(address => uint256) public lastVestingTimes; mapping(address => uint256) public vestingEndTimes; //timestamp of the end of vesting mapping(address => bool) public isHandler; event Claim(address indexed receiver, uint256 amount); event Deposit(address indexed account, uint256 amount); event Withdraw(address indexed account, uint256 claimedAmount, uint256 balance); event SetVester12Months(address indexed vester12Months); constructor(string memory _name, string memory _symbol, address _esToken, address _claimableToken) { //Implement zero address checks require(_esToken != address(0), "Vaultka: Invalid address"); require(_claimableToken != address(0), "Vaultka: Invalid address"); name = _name; symbol = _symbol; setHandler(msg.sender, true); esToken = _esToken; claimableToken = _claimableToken; } function setVester12Months(address _vester12Months) external onlyOwner { //Implement zero address checks require(_vester12Months != address(0), "Vaultka: Invalid address"); vester12Months = _vester12Months; emit SetVester12Months(_vester12Months); } function deposit(uint256 _amount) external nonReentrant { _deposit(msg.sender, _amount); } function depositForAccount(address _account, uint256 _amount) external nonReentrant { //Implement zero address checks require(_account != address(0), "Vaultka: Invalid address"); _validateHandler(); _deposit(_account, _amount); } function claim() external nonReentrant returns (uint256) { return _claim(msg.sender, msg.sender); } // to help users who accidentally send their tokens to this contract function recoverToken(address _token, address _account, uint256 _amount) external onlyOwner { require( _token != address(this) && _token != esToken && _token != claimableToken, "Vester: cannot withdraw this token" ); IERC20(_token).safeTransfer(_account, _amount); } function withdraw() external nonReentrant { address account = msg.sender; address _receiver = account; _claim(account, _receiver); uint256 claimedAmount = cumulativeClaimAmounts[account]; uint256 balance = balances[account]; uint256 totalVested = balance + claimedAmount; require(totalVested > 0, "Vester: vested amount is zero"); _burn(account, balance); delete cumulativeClaimAmounts[account]; delete claimedAmounts[account]; delete lastVestingTimes[account]; delete vestingEndTimes[account]; IERC20(esToken).safeTransfer(_receiver, balance); emit Withdraw(account, claimedAmount, balance); } function approve(address /* spender */, uint256 /* amount */) external virtual returns (bool) { revert("Vester: non-transferrable"); } // empty implementation, tokens are non-transferrable function transferFrom( address /* sender */, address /* recipient */, uint256 /* amount */ ) external virtual returns (bool) { revert("Vester: non-transferrable"); } function getTotalVested(address _account) public view returns (uint256) { return balances[_account] + cumulativeClaimAmounts[_account]; } function balanceOf(address _account) external view returns (uint256) { return balances[_account]; } // empty implementation, tokens are non-transferrable function allowance(address /* owner */, address /* spender */) external view virtual returns (uint256) { return 0; } // empty implementation, tokens are non-transferrable function transfer(address /* recipient */, uint256 /* amount */) external pure returns (bool) { revert("Vester: non-transferrable"); } function setHandler(address _handler, bool _isActive) public onlyOwner { //Implement zero address checks require(_handler != address(0), "Vaultka: Invalid address"); isHandler[_handler] = _isActive; } function remainingVestingAmount(address _account) public view returns (uint256) { uint256 balance = balances[_account]; return balance - claimable(_account) * 2; } function remainingTimeForVesting(address _account) external view returns (uint256) { require(_account != address(0), "Vester: Invalid address"); if (vestingEndTimes[_account] < block.timestamp) { return 0; } uint256 timeDiff = vestingEndTimes[_account] - block.timestamp; return timeDiff; } function claimable(address _account) public view returns (uint256) { //Implement zero address checks require(_account != address(0), "Vaultka: Invalid address"); uint256 amount = cumulativeClaimAmounts[_account] - claimedAmounts[_account]; uint256 nextClaimable = _getNextClaimableAmount(_account); return amount + nextClaimable; } function _mint(address _account, uint256 _amount) private { // require(_account != address(0), "Vester: mint to the zero address"); totalSupply = totalSupply + _amount; balances[_account] = balances[_account] + _amount; emit Transfer(address(0), _account, _amount); } function _burn(address _account, uint256 _amount) private { // require(_account != address(0), "Vester: burn from the zero address"); balances[_account] -= _amount; totalSupply -= _amount; emit Transfer(_account, address(0), _amount); } function _deposit(address _account, uint256 _amount) private { // 1. Checks require(_amount > 0, "Vester: invalid _amount"); // 2. Effects _claim(_account, _account); vestingEndTimes[_account] = block.timestamp + VESTING_DURATION; uint256 amountToMint = _amount; // 3. Interactions IERC20(esToken).safeTransferFrom(_account, address(this), _amount); _mint(_account, amountToMint); emit Deposit(_account, _amount); } function _updateVesting(address _account) private { uint256 amount = _getNextClaimableAmount(_account); lastVestingTimes[_account] = block.timestamp; if (amount == 0) { return; } // transfer claimableAmount from balances to cumulativeClaimAmounts _burn(_account, amount * 2); cumulativeClaimAmounts[_account] = cumulativeClaimAmounts[_account] + amount; // ERC20Burnable(esToken).burn(amount * 2); ERC20Burnable(claimableToken).burn(amount * 2); } function _getNextClaimableAmount(address _account) private view returns (uint256) { uint256 balance = balances[_account]; if (balance == 0) { return 0; } uint256 timeDiff = block.timestamp - lastVestingTimes[_account]; if (timeDiff > VESTING_DURATION) { timeDiff = VESTING_DURATION; } uint256 vestedAmount = getTotalVested(_account); uint256 claimableAmount = (vestedAmount * timeDiff) / VESTING_DURATION / 2; if (claimableAmount < balance / 2) { return claimableAmount; } return balance / 2; } function _claim(address _account, address _receiver) private returns (uint256) { _updateVesting(_account); uint256 amount = claimable(_account); claimedAmounts[_account] += amount; IERC20(claimableToken).safeTransfer(_receiver, amount); emit Claim(_account, amount); return amount; } function _validateHandler() private view { require(isHandler[msg.sender], "Vester: forbidden"); } function transferVKAtoVester12Months(uint256 _amount) external onlyOwner { require(vester12Months != address(0), "Vester: Invalid address"); IERC20(claimableToken).safeTransfer(vester12Months, _amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^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() { _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.0; /** * @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) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^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 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; } }
{ "optimizer": { "enabled": true, "runs": 99 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_esToken","type":"address"},{"internalType":"address","name":"_claimableToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","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":"vester12Months","type":"address"}],"name":"SetVester12Months","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"claimedAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"VESTING_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"claimable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimableToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimedAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cumulativeClaimAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositForAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"esToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getTotalVested","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isHandler","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastVestingTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"remainingTimeForVesting","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"remainingVestingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_handler","type":"address"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setHandler","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vester12Months","type":"address"}],"name":"setVester12Months","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"transferVKAtoVester12Months","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vester12Months","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vestingEndTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526004805460ff191660121790553480156200001e57600080fd5b5060405162001c6b38038062001c6b83398101604081905262000041916200035b565b600160005562000051336200014d565b6001600160a01b0382166200009c5760405162461bcd60e51b8152602060048201526018602482015260008051602062001c4b83398151915260448201526064015b60405180910390fd5b6001600160a01b038116620000e35760405162461bcd60e51b8152602060048201526018602482015260008051602062001c4b833981519152604482015260640162000093565b6002620000f1858262000479565b50600362000100848262000479565b506200010e3360016200019f565b60048054610100600160a81b0319166101006001600160a01b0394851602179055600580546001600160a01b0319169190921617905550620005459050565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620001a96200021b565b6001600160a01b038216620001f05760405162461bcd60e51b8152602060048201526018602482015260008051602062001c4b833981519152604482015260640162000093565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6001546001600160a01b03163314620002775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000093565b565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002a157600080fd5b81516001600160401b0380821115620002be57620002be62000279565b604051601f8301601f19908116603f01168101908282118183101715620002e957620002e962000279565b816040528381526020925086838588010111156200030657600080fd5b600091505b838210156200032a57858201830151818301840152908201906200030b565b600093810190920192909252949350505050565b80516001600160a01b03811681146200035657600080fd5b919050565b600080600080608085870312156200037257600080fd5b84516001600160401b03808211156200038a57600080fd5b62000398888389016200028f565b95506020870151915080821115620003af57600080fd5b50620003be878288016200028f565b935050620003cf604086016200033e565b9150620003df606086016200033e565b905092959194509250565b600181811c90821680620003ff57607f821691505b6020821081036200042057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200047457600081815260208120601f850160051c810160208610156200044f5750805b601f850160051c820191505b8181101562000470578281556001016200045b565b5050505b505050565b81516001600160401b0381111562000495576200049562000279565b620004ad81620004a68454620003ea565b8462000426565b602080601f831160018114620004e55760008415620004cc5750858301515b600019600386901b1c1916600185901b17855562000470565b600085815260208120601f198616915b828110156200051657888601518255948401946001909101908401620004f5565b5085821015620005355787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116f680620005556000396000f3fe608060405234801561001057600080fd5b50600436106101c65760003560e01c806371417b32116100fa578063a6b2fc071161009d578063a6b2fc0714610401578063a7229fd914610421578063a9059cbb146101e9578063b5ff136d14610434578063b6b55f2514610454578063c1808a0114610467578063dd62ed3e1461047a578063f2fde38b14610490578063f6d6d5aa146104a357600080fd5b806371417b3214610374578063715018a6146103945780638c0485481461039c5780638da5cb5b146103af5780638ebc4b5e146103c057806393035473146103d357806395d89b41146103e65780639cb7de4b146103ee57600080fd5b8063342fcda91161016d578063342fcda9146102c05780633ccfd60b146102d5578063402914f5146102dd57806346ea87af146102f05780634cfc4d30146103135780634e71d92d1461031d5780634e913ce5146103255780636a47df441461033857806370a082311461034b57600080fd5b806306fdde03146101cb578063095ea7b3146101e95780630db9ea4a1461020c57806316ca05c51461023a57806318160ddd1461026a57806323b872dd1461027357806327e235e314610281578063313ce567146102a1575b600080fd5b6101d36104b6565b6040516101e09190611414565b60405180910390f35b6101fc6101f7366004611463565b610544565b60405190151581526020016101e0565b61022c61021a36600461148d565b600b6020526000908152604090205481565b6040519081526020016101e0565b6004546102529061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101e0565b61022c60065481565b6101fc6101f73660046114a8565b61022c61028f36600461148d565b60086020526000908152604090205481565b6004546102ae9060ff1681565b60405160ff90911681526020016101e0565b6102d36102ce366004611463565b610590565b005b6102d36105de565b61022c6102eb36600461148d565b610724565b6101fc6102fe36600461148d565b600d6020526000908152604090205460ff1681565b61022c6276a70081565b61022c61079b565b61022c61033336600461148d565b6107be565b6102d36103463660046114e4565b610839565b61022c61035936600461148d565b6001600160a01b031660009081526008602052604090205490565b61022c61038236600461148d565b600a6020526000908152604090205481565b6102d3610889565b600754610252906001600160a01b031681565b6001546001600160a01b0316610252565b61022c6103ce36600461148d565b61089b565b61022c6103e136600461148d565b6108d2565b6101d3610906565b6102d36103fc36600461150b565b610913565b61022c61040f36600461148d565b600c6020526000908152604090205481565b6102d361042f3660046114a8565b61096c565b61022c61044236600461148d565b60096020526000908152604090205481565b6102d36104623660046114e4565b610a2a565b6102d361047536600461148d565b610a46565b61022c610488366004611542565b600092915050565b6102d361049e36600461148d565b610abe565b600554610252906001600160a01b031681565b600280546104c390611575565b80601f01602080910402602001604051908101604052809291908181526020018280546104ef90611575565b801561053c5780601f106105115761010080835404028352916020019161053c565b820191906000526020600020905b81548152906001019060200180831161051f57829003601f168201915b505050505081565b60405162461bcd60e51b81526020600482015260196024820152785665737465723a206e6f6e2d7472616e736665727261626c6560381b60448201526000906064015b60405180910390fd5b610598610b34565b6001600160a01b0382166105be5760405162461bcd60e51b8152600401610587906115af565b6105c6610b8d565b6105d08282610be0565b6105da6001600055565b5050565b6105e6610b34565b33806105f28180610cc8565b506001600160a01b0382166000908152600960209081526040808320546008909252822054909161062383836115f7565b9050600081116106755760405162461bcd60e51b815260206004820152601d60248201527f5665737465723a2076657374656420616d6f756e74206973207a65726f0000006044820152606401610587565b61067f8583610d71565b6001600160a01b038086166000908152600960209081526040808320839055600a8252808320839055600b8252808320839055600c9091528120556004546106cf91610100909104168584610dfd565b60408051848152602081018490526001600160a01b038716917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568910160405180910390a250505050506107226001600055565b565b60006001600160a01b03821661074c5760405162461bcd60e51b8152600401610587906115af565b6001600160a01b0382166000908152600a6020908152604080832054600990925282205461077a919061160a565b9050600061078784610e60565b905061079381836115f7565b949350505050565b60006107a5610b34565b6107af3333610cc8565b90506107bb6001600055565b90565b60006001600160a01b0382166107e65760405162461bcd60e51b81526004016105879061161d565b6001600160a01b0382166000908152600c602052604090205442111561080e57506000919050565b6001600160a01b0382166000908152600c602052604081205461083290429061160a565b9392505050565b610841610f24565b6007546001600160a01b03166108695760405162461bcd60e51b81526004016105879061161d565b600754600554610886916001600160a01b03918216911683610dfd565b50565b610891610f24565b6107226000610f7e565b6001600160a01b0381166000908152600860205260408120546108bd83610724565b6108c890600261164e565b610832908261160a565b6001600160a01b038116600090815260096020908152604080832054600890925282205461090091906115f7565b92915050565b600380546104c390611575565b61091b610f24565b6001600160a01b0382166109415760405162461bcd60e51b8152600401610587906115af565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b610974610f24565b6001600160a01b03831630148015906109a057506004546001600160a01b038481166101009092041614155b80156109ba57506005546001600160a01b03848116911614155b610a115760405162461bcd60e51b815260206004820152602260248201527f5665737465723a2063616e6e6f74207769746864726177207468697320746f6b60448201526132b760f11b6064820152608401610587565b610a256001600160a01b0384168383610dfd565b505050565b610a32610b34565b610a3c3382610be0565b6108866001600055565b610a4e610f24565b6001600160a01b038116610a745760405162461bcd60e51b8152600401610587906115af565b600780546001600160a01b0319166001600160a01b0383169081179091556040517f36302c653f15cae7a8100dff5b2f4f02cef1b982837eb7631f4ea44da1d45b5f90600090a250565b610ac6610f24565b6001600160a01b038116610b2b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610587565b61088681610f7e565b600260005403610b865760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610587565b6002600055565b336000908152600d602052604090205460ff166107225760405162461bcd60e51b81526020600482015260116024820152702b32b9ba32b91d103337b93134b23232b760791b6044820152606401610587565b60008111610c2a5760405162461bcd60e51b815260206004820152601760248201527615995cdd195c8e881a5b9d985b1a590817d85b5bdd5b9d604a1b6044820152606401610587565b610c348283610cc8565b50610c426276a700426115f7565b6001600160a01b038084166000908152600c60205260409020919091556004548291610c7691610100900416843084610fd0565b610c80838261100e565b826001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c83604051610cbb91815260200190565b60405180910390a2505050565b6000610cd383611094565b6000610cde84610724565b6001600160a01b0385166000908152600a6020526040812080549293508392909190610d0b9084906115f7565b9091555050600554610d27906001600160a01b03168483610dfd565b836001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610d6291815260200190565b60405180910390a29392505050565b6001600160a01b03821660009081526008602052604081208054839290610d9990849061160a565b925050819055508060066000828254610db2919061160a565b90915550506040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b6040516001600160a01b038316602482015260448101829052610a2590849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526111f8565b6001600160a01b038116600090815260086020526040812054808203610e895750600092915050565b6001600160a01b0383166000908152600b6020526040812054610eac904261160a565b90506276a700811115610ebf57506276a7005b6000610eca856108d2565b9050600060026276a700610ede858561164e565b610ee89190611665565b610ef29190611665565b9050610eff600285611665565b811015610f0f5795945050505050565b610f1a600285611665565b9695505050505050565b6001546001600160a01b031633146107225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610587565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526110089085906323b872dd60e01b90608401610e29565b50505050565b8060065461101c91906115f7565b6006556001600160a01b0382166000908152600860205260409020546110439082906115f7565b6001600160a01b0383166000818152600860205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610df19085815260200190565b600061109f82610e60565b6001600160a01b0383166000908152600b602052604081204290559091508190036110c8575050565b6110dc826110d783600261164e565b610d71565b6001600160a01b0382166000908152600960205260409020546111009082906115f7565b6001600160a01b038084166000908152600960205260409020919091556004546101009004166342966c6861113683600261164e565b6040518263ffffffff1660e01b815260040161115491815260200190565b600060405180830381600087803b15801561116e57600080fd5b505af1158015611182573d6000803e3d6000fd5b50506005546001600160a01b031691506342966c6890506111a483600261164e565b6040518263ffffffff1660e01b81526004016111c291815260200190565b600060405180830381600087803b1580156111dc57600080fd5b505af11580156111f0573d6000803e3d6000fd5b505050505050565b600061124d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112cd9092919063ffffffff16565b905080516000148061126e57508080602001905181019061126e9190611687565b610a255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610587565b6060610793848460008585600080866001600160a01b031685876040516112f491906116a4565b60006040518083038185875af1925050503d8060008114611331576040519150601f19603f3d011682016040523d82523d6000602084013e611336565b606091505b509150915061134787838387611352565b979650505050505050565b606083156113c15782516000036113ba576001600160a01b0385163b6113ba5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610587565b5081610793565b61079383838151156113d65781518083602001fd5b8060405162461bcd60e51b81526004016105879190611414565b60005b8381101561140b5781810151838201526020016113f3565b50506000910152565b60208152600082518060208401526114338160408501602087016113f0565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461145e57600080fd5b919050565b6000806040838503121561147657600080fd5b61147f83611447565b946020939093013593505050565b60006020828403121561149f57600080fd5b61083282611447565b6000806000606084860312156114bd57600080fd5b6114c684611447565b92506114d460208501611447565b9150604084013590509250925092565b6000602082840312156114f657600080fd5b5035919050565b801515811461088657600080fd5b6000806040838503121561151e57600080fd5b61152783611447565b91506020830135611537816114fd565b809150509250929050565b6000806040838503121561155557600080fd5b61155e83611447565b915061156c60208401611447565b90509250929050565b600181811c9082168061158957607f821691505b6020821081036115a957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601890820152775661756c746b613a20496e76616c6964206164647265737360401b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610900576109006115e1565b81810381811115610900576109006115e1565b6020808252601790820152765665737465723a20496e76616c6964206164647265737360481b604082015260600190565b8082028115828204841417610900576109006115e1565b60008261168257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561169957600080fd5b8151610832816114fd565b600082516116b68184602087016113f0565b919091019291505056fea26469706673582212205104c5a5de1ca1c696437b4e380c0017d6913d59edc3401c2efff7dba101929964736f6c634300081200335661756c746b613a20496e76616c696420616464726573730000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000095b3f9797077ddca971ab8524b439553a220eb2a000000000000000000000000afccb724e3aec1657fc9514e3e53a0e71e80622d000000000000000000000000000000000000000000000000000000000000000a334d2d56455354494e47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003334d560000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c65760003560e01c806371417b32116100fa578063a6b2fc071161009d578063a6b2fc0714610401578063a7229fd914610421578063a9059cbb146101e9578063b5ff136d14610434578063b6b55f2514610454578063c1808a0114610467578063dd62ed3e1461047a578063f2fde38b14610490578063f6d6d5aa146104a357600080fd5b806371417b3214610374578063715018a6146103945780638c0485481461039c5780638da5cb5b146103af5780638ebc4b5e146103c057806393035473146103d357806395d89b41146103e65780639cb7de4b146103ee57600080fd5b8063342fcda91161016d578063342fcda9146102c05780633ccfd60b146102d5578063402914f5146102dd57806346ea87af146102f05780634cfc4d30146103135780634e71d92d1461031d5780634e913ce5146103255780636a47df441461033857806370a082311461034b57600080fd5b806306fdde03146101cb578063095ea7b3146101e95780630db9ea4a1461020c57806316ca05c51461023a57806318160ddd1461026a57806323b872dd1461027357806327e235e314610281578063313ce567146102a1575b600080fd5b6101d36104b6565b6040516101e09190611414565b60405180910390f35b6101fc6101f7366004611463565b610544565b60405190151581526020016101e0565b61022c61021a36600461148d565b600b6020526000908152604090205481565b6040519081526020016101e0565b6004546102529061010090046001600160a01b031681565b6040516001600160a01b0390911681526020016101e0565b61022c60065481565b6101fc6101f73660046114a8565b61022c61028f36600461148d565b60086020526000908152604090205481565b6004546102ae9060ff1681565b60405160ff90911681526020016101e0565b6102d36102ce366004611463565b610590565b005b6102d36105de565b61022c6102eb36600461148d565b610724565b6101fc6102fe36600461148d565b600d6020526000908152604090205460ff1681565b61022c6276a70081565b61022c61079b565b61022c61033336600461148d565b6107be565b6102d36103463660046114e4565b610839565b61022c61035936600461148d565b6001600160a01b031660009081526008602052604090205490565b61022c61038236600461148d565b600a6020526000908152604090205481565b6102d3610889565b600754610252906001600160a01b031681565b6001546001600160a01b0316610252565b61022c6103ce36600461148d565b61089b565b61022c6103e136600461148d565b6108d2565b6101d3610906565b6102d36103fc36600461150b565b610913565b61022c61040f36600461148d565b600c6020526000908152604090205481565b6102d361042f3660046114a8565b61096c565b61022c61044236600461148d565b60096020526000908152604090205481565b6102d36104623660046114e4565b610a2a565b6102d361047536600461148d565b610a46565b61022c610488366004611542565b600092915050565b6102d361049e36600461148d565b610abe565b600554610252906001600160a01b031681565b600280546104c390611575565b80601f01602080910402602001604051908101604052809291908181526020018280546104ef90611575565b801561053c5780601f106105115761010080835404028352916020019161053c565b820191906000526020600020905b81548152906001019060200180831161051f57829003601f168201915b505050505081565b60405162461bcd60e51b81526020600482015260196024820152785665737465723a206e6f6e2d7472616e736665727261626c6560381b60448201526000906064015b60405180910390fd5b610598610b34565b6001600160a01b0382166105be5760405162461bcd60e51b8152600401610587906115af565b6105c6610b8d565b6105d08282610be0565b6105da6001600055565b5050565b6105e6610b34565b33806105f28180610cc8565b506001600160a01b0382166000908152600960209081526040808320546008909252822054909161062383836115f7565b9050600081116106755760405162461bcd60e51b815260206004820152601d60248201527f5665737465723a2076657374656420616d6f756e74206973207a65726f0000006044820152606401610587565b61067f8583610d71565b6001600160a01b038086166000908152600960209081526040808320839055600a8252808320839055600b8252808320839055600c9091528120556004546106cf91610100909104168584610dfd565b60408051848152602081018490526001600160a01b038716917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568910160405180910390a250505050506107226001600055565b565b60006001600160a01b03821661074c5760405162461bcd60e51b8152600401610587906115af565b6001600160a01b0382166000908152600a6020908152604080832054600990925282205461077a919061160a565b9050600061078784610e60565b905061079381836115f7565b949350505050565b60006107a5610b34565b6107af3333610cc8565b90506107bb6001600055565b90565b60006001600160a01b0382166107e65760405162461bcd60e51b81526004016105879061161d565b6001600160a01b0382166000908152600c602052604090205442111561080e57506000919050565b6001600160a01b0382166000908152600c602052604081205461083290429061160a565b9392505050565b610841610f24565b6007546001600160a01b03166108695760405162461bcd60e51b81526004016105879061161d565b600754600554610886916001600160a01b03918216911683610dfd565b50565b610891610f24565b6107226000610f7e565b6001600160a01b0381166000908152600860205260408120546108bd83610724565b6108c890600261164e565b610832908261160a565b6001600160a01b038116600090815260096020908152604080832054600890925282205461090091906115f7565b92915050565b600380546104c390611575565b61091b610f24565b6001600160a01b0382166109415760405162461bcd60e51b8152600401610587906115af565b6001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b610974610f24565b6001600160a01b03831630148015906109a057506004546001600160a01b038481166101009092041614155b80156109ba57506005546001600160a01b03848116911614155b610a115760405162461bcd60e51b815260206004820152602260248201527f5665737465723a2063616e6e6f74207769746864726177207468697320746f6b60448201526132b760f11b6064820152608401610587565b610a256001600160a01b0384168383610dfd565b505050565b610a32610b34565b610a3c3382610be0565b6108866001600055565b610a4e610f24565b6001600160a01b038116610a745760405162461bcd60e51b8152600401610587906115af565b600780546001600160a01b0319166001600160a01b0383169081179091556040517f36302c653f15cae7a8100dff5b2f4f02cef1b982837eb7631f4ea44da1d45b5f90600090a250565b610ac6610f24565b6001600160a01b038116610b2b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610587565b61088681610f7e565b600260005403610b865760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610587565b6002600055565b336000908152600d602052604090205460ff166107225760405162461bcd60e51b81526020600482015260116024820152702b32b9ba32b91d103337b93134b23232b760791b6044820152606401610587565b60008111610c2a5760405162461bcd60e51b815260206004820152601760248201527615995cdd195c8e881a5b9d985b1a590817d85b5bdd5b9d604a1b6044820152606401610587565b610c348283610cc8565b50610c426276a700426115f7565b6001600160a01b038084166000908152600c60205260409020919091556004548291610c7691610100900416843084610fd0565b610c80838261100e565b826001600160a01b03167fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c83604051610cbb91815260200190565b60405180910390a2505050565b6000610cd383611094565b6000610cde84610724565b6001600160a01b0385166000908152600a6020526040812080549293508392909190610d0b9084906115f7565b9091555050600554610d27906001600160a01b03168483610dfd565b836001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610d6291815260200190565b60405180910390a29392505050565b6001600160a01b03821660009081526008602052604081208054839290610d9990849061160a565b925050819055508060066000828254610db2919061160a565b90915550506040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020015b60405180910390a35050565b6040516001600160a01b038316602482015260448101829052610a2590849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526111f8565b6001600160a01b038116600090815260086020526040812054808203610e895750600092915050565b6001600160a01b0383166000908152600b6020526040812054610eac904261160a565b90506276a700811115610ebf57506276a7005b6000610eca856108d2565b9050600060026276a700610ede858561164e565b610ee89190611665565b610ef29190611665565b9050610eff600285611665565b811015610f0f5795945050505050565b610f1a600285611665565b9695505050505050565b6001546001600160a01b031633146107225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610587565b600180546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040516001600160a01b03808516602483015283166044820152606481018290526110089085906323b872dd60e01b90608401610e29565b50505050565b8060065461101c91906115f7565b6006556001600160a01b0382166000908152600860205260409020546110439082906115f7565b6001600160a01b0383166000818152600860205260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610df19085815260200190565b600061109f82610e60565b6001600160a01b0383166000908152600b602052604081204290559091508190036110c8575050565b6110dc826110d783600261164e565b610d71565b6001600160a01b0382166000908152600960205260409020546111009082906115f7565b6001600160a01b038084166000908152600960205260409020919091556004546101009004166342966c6861113683600261164e565b6040518263ffffffff1660e01b815260040161115491815260200190565b600060405180830381600087803b15801561116e57600080fd5b505af1158015611182573d6000803e3d6000fd5b50506005546001600160a01b031691506342966c6890506111a483600261164e565b6040518263ffffffff1660e01b81526004016111c291815260200190565b600060405180830381600087803b1580156111dc57600080fd5b505af11580156111f0573d6000803e3d6000fd5b505050505050565b600061124d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112cd9092919063ffffffff16565b905080516000148061126e57508080602001905181019061126e9190611687565b610a255760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610587565b6060610793848460008585600080866001600160a01b031685876040516112f491906116a4565b60006040518083038185875af1925050503d8060008114611331576040519150601f19603f3d011682016040523d82523d6000602084013e611336565b606091505b509150915061134787838387611352565b979650505050505050565b606083156113c15782516000036113ba576001600160a01b0385163b6113ba5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610587565b5081610793565b61079383838151156113d65781518083602001fd5b8060405162461bcd60e51b81526004016105879190611414565b60005b8381101561140b5781810151838201526020016113f3565b50506000910152565b60208152600082518060208401526114338160408501602087016113f0565b601f01601f19169190910160400192915050565b80356001600160a01b038116811461145e57600080fd5b919050565b6000806040838503121561147657600080fd5b61147f83611447565b946020939093013593505050565b60006020828403121561149f57600080fd5b61083282611447565b6000806000606084860312156114bd57600080fd5b6114c684611447565b92506114d460208501611447565b9150604084013590509250925092565b6000602082840312156114f657600080fd5b5035919050565b801515811461088657600080fd5b6000806040838503121561151e57600080fd5b61152783611447565b91506020830135611537816114fd565b809150509250929050565b6000806040838503121561155557600080fd5b61155e83611447565b915061156c60208401611447565b90509250929050565b600181811c9082168061158957607f821691505b6020821081036115a957634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252601890820152775661756c746b613a20496e76616c6964206164647265737360401b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610900576109006115e1565b81810381811115610900576109006115e1565b6020808252601790820152765665737465723a20496e76616c6964206164647265737360481b604082015260600190565b8082028115828204841417610900576109006115e1565b60008261168257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561169957600080fd5b8151610832816114fd565b600082516116b68184602087016113f0565b919091019291505056fea26469706673582212205104c5a5de1ca1c696437b4e380c0017d6913d59edc3401c2efff7dba101929964736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000095b3f9797077ddca971ab8524b439553a220eb2a000000000000000000000000afccb724e3aec1657fc9514e3e53a0e71e80622d000000000000000000000000000000000000000000000000000000000000000a334d2d56455354494e47000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003334d560000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): 3M-VESTING
Arg [1] : _symbol (string): 3MV
Arg [2] : _esToken (address): 0x95b3F9797077DDCa971aB8524b439553a220EB2A
Arg [3] : _claimableToken (address): 0xAFccb724e3aec1657fC9514E3e53A0E71e80622D
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000095b3f9797077ddca971ab8524b439553a220eb2a
Arg [3] : 000000000000000000000000afccb724e3aec1657fc9514e3e53a0e71e80622d
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 334d2d56455354494e4700000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 334d560000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
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.