Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 318 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Claim | 21573100 | 43 hrs ago | IN | 0 ETH | 0.00045151 | ||||
Claim | 21568991 | 2 days ago | IN | 0 ETH | 0.00067274 | ||||
Claim | 21555839 | 4 days ago | IN | 0 ETH | 0.0004318 | ||||
Claim | 21540828 | 6 days ago | IN | 0 ETH | 0.00062051 | ||||
Claim | 21520928 | 9 days ago | IN | 0 ETH | 0.00199201 | ||||
Claim | 21495786 | 12 days ago | IN | 0 ETH | 0.0007701 | ||||
Claim | 21490275 | 13 days ago | IN | 0 ETH | 0.0002516 | ||||
Claim | 21441873 | 20 days ago | IN | 0 ETH | 0.00053614 | ||||
Claim | 21427664 | 22 days ago | IN | 0 ETH | 0.00077184 | ||||
Claim | 21405153 | 25 days ago | IN | 0 ETH | 0.000508 | ||||
Claim | 21384254 | 28 days ago | IN | 0 ETH | 0.00109204 | ||||
Claim | 21375073 | 29 days ago | IN | 0 ETH | 0.00126633 | ||||
Claim | 21361847 | 31 days ago | IN | 0 ETH | 0.00101766 | ||||
Claim | 21348022 | 33 days ago | IN | 0 ETH | 0.00066433 | ||||
Claim | 21348020 | 33 days ago | IN | 0 ETH | 0.00088711 | ||||
Claim | 21344515 | 33 days ago | IN | 0 ETH | 0.00353593 | ||||
Claim | 21324725 | 36 days ago | IN | 0 ETH | 0.00232119 | ||||
Claim | 21312153 | 38 days ago | IN | 0 ETH | 0.00112755 | ||||
Claim | 21299022 | 40 days ago | IN | 0 ETH | 0.00042008 | ||||
Claim | 21298543 | 40 days ago | IN | 0 ETH | 0.00049741 | ||||
Claim | 21294303 | 40 days ago | IN | 0 ETH | 0.00210828 | ||||
Claim | 21282866 | 42 days ago | IN | 0 ETH | 0.00107836 | ||||
Claim | 21281368 | 42 days ago | IN | 0 ETH | 0.00107943 | ||||
Claim | 21258043 | 45 days ago | IN | 0 ETH | 0.00066086 | ||||
Claim | 21245854 | 47 days ago | IN | 0 ETH | 0.00131264 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TokenLock
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; /** * @dev Time-locks tokens according to an unlock schedule. */ contract TokenLock { ERC20 public immutable token; uint256 public immutable unlockBegin; uint256 public immutable unlockCliff; uint256 public immutable unlockEnd; mapping(address=>uint256) public lockedAmounts; mapping(address=>uint256) public claimedAmounts; event Locked(address indexed sender, address indexed recipient, uint256 amount); event Claimed(address indexed owner, address indexed recipient, uint256 amount); /** * @dev Constructor. * @param _token The token this contract will lock.l * @param _unlockBegin The time at which unlocking of tokens will be gin. * @param _unlockCliff The first time at which tokens are claimable. * @param _unlockEnd The time at which the last token will unlock. */ constructor(ERC20 _token, uint256 _unlockBegin, uint256 _unlockCliff, uint256 _unlockEnd) { require(_unlockCliff >= _unlockBegin, "ERC20Locked: Unlock cliff must not be before unlock begin"); require(_unlockEnd >= _unlockCliff, "ERC20Locked: Unlock end must not be before unlock cliff"); token = _token; unlockBegin = _unlockBegin; unlockCliff = _unlockCliff; unlockEnd = _unlockEnd; } /** * @dev Returns the maximum number of tokens currently claimable by `owner`. * @param owner The account to check the claimable balance of. * @return The number of tokens currently claimable. */ function claimableBalance(address owner) public view returns(uint256) { if(block.timestamp < unlockCliff) { return 0; } uint256 locked = lockedAmounts[owner]; uint256 claimed = claimedAmounts[owner]; if(block.timestamp >= unlockEnd) { return locked - claimed; } return (locked * (block.timestamp - unlockBegin)) / (unlockEnd - unlockBegin) - claimed; } /** * @dev Transfers tokens from the caller to the token lock contract and locks them for benefit of `recipient`. * Requires that the caller has authorised this contract with the token contract. * @param recipient The account the tokens will be claimable by. * @param amount The number of tokens to transfer and lock. */ function lock(address recipient, uint256 amount) external { require(block.timestamp < unlockEnd, "TokenLock: Unlock period already complete"); lockedAmounts[recipient] += amount; require(token.transferFrom(msg.sender, address(this), amount), "TokenLock: Transfer failed"); emit Locked(msg.sender, recipient, amount); } /** * @dev Claims the caller's tokens that have been unlocked, sending them to `recipient`. * @param recipient The account to transfer unlocked tokens to. * @param amount The amount to transfer. If greater than the claimable amount, the maximum is transferred. */ function claim(address recipient, uint256 amount) external { uint256 claimable = claimableBalance(msg.sender); if(amount > claimable) { amount = claimable; } claimedAmounts[msg.sender] += amount; require(token.transfer(recipient, amount), "TokenLock: Transfer failed"); emit Claimed(msg.sender, recipient, amount); } }
// SPDX-License-Identifier: MIT 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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * 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}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * 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 value {ERC20} uses, unless this function is * 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: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, 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}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), 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}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { _transfer(sender, recipient, amount); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - 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) { _approve(_msgSender(), spender, _allowances[_msgSender()][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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * 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: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer( address sender, address recipient, uint256 amount ) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(sender, recipient, 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; _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; } _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 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 pragma solidity ^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.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 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; } }
{ "evmVersion": "london", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": false, "runs": 200 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract ERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_unlockBegin","type":"uint256"},{"internalType":"uint256","name":"_unlockCliff","type":"uint256"},{"internalType":"uint256","name":"_unlockEnd","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Locked","type":"event"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"claimableBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lockedAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockBegin","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockCliff","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101006040523480156200001257600080fd5b506040516200111d3803806200111d83398181016040528101906200003891906200014b565b828210156200007e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000075906200022d565b60405180910390fd5b81811015620000c4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620000bb906200020b565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250508260a081815250508160c081815250508060e081815250505050505062000389565b6000815190506200012e8162000355565b92915050565b60008151905062000145816200036f565b92915050565b60008060008060808587031215620001685762000167620002b2565b5b600062000178878288016200011d565b94505060206200018b8782880162000134565b93505060406200019e8782880162000134565b9250506060620001b18782880162000134565b91505092959194509250565b6000620001cc6037836200024f565b9150620001d982620002b7565b604082019050919050565b6000620001f36039836200024f565b9150620002008262000306565b604082019050919050565b600060208201905081810360008301526200022681620001bd565b9050919050565b600060208201905081810360008301526200024881620001e4565b9050919050565b600082825260208201905092915050565b60006200026d8262000288565b9050919050565b6000620002818262000260565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600080fd5b7f45524332304c6f636b65643a20556e6c6f636b20656e64206d757374206e6f7460008201527f206265206265666f726520756e6c6f636b20636c696666000000000000000000602082015250565b7f45524332304c6f636b65643a20556e6c6f636b20636c696666206d757374206e60008201527f6f74206265206265666f726520756e6c6f636b20626567696e00000000000000602082015250565b620003608162000274565b81146200036c57600080fd5b50565b6200037a81620002a8565b81146200038657600080fd5b50565b60805160601c60a05160c05160e051610d1f620003fe600039600081816101fe015281816104c60152818161052401526107bd01526000818161040e01526105bc0152600081816101da01528181610503015261054f0152600081816102b50152818161066701526107e10152610d1f6000f3fe608060405234801561001057600080fd5b50600436106100935760003560e01c8063904c66ec11610066578063904c66ec14610132578063a8c7a08a14610150578063aad3ec9614610180578063e6e25d101461019c578063fc0c546a146101ba57610093565b8063239fd61114610098578063282d3fdf146100b657806360f3309b146100d257806371417b3214610102575b600080fd5b6100a06101d8565b6040516100ad9190610a0a565b60405180910390f35b6100d060048036038101906100cb919061086f565b6101fc565b005b6100ec60048036038101906100e79190610842565b61040a565b6040516100f99190610a0a565b60405180910390f35b61011c60048036038101906101179190610842565b6105a2565b6040516101299190610a0a565b60405180910390f35b61013a6105ba565b6040516101479190610a0a565b60405180910390f35b61016a60048036038101906101659190610842565b6105de565b6040516101779190610a0a565b60405180910390f35b61019a6004803603810190610195919061086f565b6105f6565b005b6101a46107bb565b6040516101b19190610a0a565b60405180910390f35b6101c26107df565b6040516101cf91906109af565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b7f0000000000000000000000000000000000000000000000000000000000000000421061025e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610255906109ca565b60405180910390fd5b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546102ac9190610a36565b925050819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016103109392919061094f565b602060405180830381600087803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036291906108af565b6103a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610398906109ea565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f989eaa915cbb416ea3d6f9a63b1a3de51770c7674b11fe21ecdf76b4e1d13910836040516103fe9190610a0a565b60405180910390a35050565b60007f000000000000000000000000000000000000000000000000000000000000000042101561043d576000905061059d565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507f000000000000000000000000000000000000000000000000000000000000000042106105005780826104f79190610b17565b9250505061059d565b807f00000000000000000000000000000000000000000000000000000000000000007f000000000000000000000000000000000000000000000000000000000000000061054d9190610b17565b7f0000000000000000000000000000000000000000000000000000000000000000426105799190610b17565b846105849190610abd565b61058e9190610a8c565b6105989190610b17565b925050505b919050565b60016020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006020528060005260406000206000915090505481565b60006106013361040a565b90508082111561060f578091505b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461065e9190610a36565b925050819055507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b81526004016106c0929190610986565b602060405180830381600087803b1580156106da57600080fd5b505af11580156106ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071291906108af565b610751576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610748906109ea565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd3992683846040516107ae9190610a0a565b60405180910390a3505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008135905061081281610ca4565b92915050565b60008151905061082781610cbb565b92915050565b60008135905061083c81610cd2565b92915050565b60006020828403121561085857610857610c27565b5b600061086684828501610803565b91505092915050565b6000806040838503121561088657610885610c27565b5b600061089485828601610803565b92505060206108a58582860161082d565b9150509250929050565b6000602082840312156108c5576108c4610c27565b5b60006108d384828501610818565b91505092915050565b6108e581610b4b565b82525050565b6108f481610b93565b82525050565b6000610907602983610a25565b915061091282610c2c565b604082019050919050565b600061092a601a83610a25565b915061093582610c7b565b602082019050919050565b61094981610b89565b82525050565b600060608201905061096460008301866108dc565b61097160208301856108dc565b61097e6040830184610940565b949350505050565b600060408201905061099b60008301856108dc565b6109a86020830184610940565b9392505050565b60006020820190506109c460008301846108eb565b92915050565b600060208201905081810360008301526109e3816108fa565b9050919050565b60006020820190508181036000830152610a038161091d565b9050919050565b6000602082019050610a1f6000830184610940565b92915050565b600082825260208201905092915050565b6000610a4182610b89565b9150610a4c83610b89565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610a8157610a80610bc9565b5b828201905092915050565b6000610a9782610b89565b9150610aa283610b89565b925082610ab257610ab1610bf8565b5b828204905092915050565b6000610ac882610b89565b9150610ad383610b89565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610b0c57610b0b610bc9565b5b828202905092915050565b6000610b2282610b89565b9150610b2d83610b89565b925082821015610b4057610b3f610bc9565b5b828203905092915050565b6000610b5682610b69565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610b9e82610ba5565b9050919050565b6000610bb082610bb7565b9050919050565b6000610bc282610b69565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f546f6b656e4c6f636b3a20556e6c6f636b20706572696f6420616c726561647960008201527f20636f6d706c6574650000000000000000000000000000000000000000000000602082015250565b7f546f6b656e4c6f636b3a205472616e73666572206661696c6564000000000000600082015250565b610cad81610b4b565b8114610cb857600080fd5b50565b610cc481610b5d565b8114610ccf57600080fd5b50565b610cdb81610b89565b8114610ce657600080fd5b5056fea26469706673582212202e966fc63dd1e9f2534cbcfed6906b70e38e97256d27ebf82b4d102e6228a51764736f6c63430008070033000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000000000061832280000000000000000000000000000000000000000000000000000000006271c2000000000000000000000000000000000000000000000000000000000069094200
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100935760003560e01c8063904c66ec11610066578063904c66ec14610132578063a8c7a08a14610150578063aad3ec9614610180578063e6e25d101461019c578063fc0c546a146101ba57610093565b8063239fd61114610098578063282d3fdf146100b657806360f3309b146100d257806371417b3214610102575b600080fd5b6100a06101d8565b6040516100ad9190610a0a565b60405180910390f35b6100d060048036038101906100cb919061086f565b6101fc565b005b6100ec60048036038101906100e79190610842565b61040a565b6040516100f99190610a0a565b60405180910390f35b61011c60048036038101906101179190610842565b6105a2565b6040516101299190610a0a565b60405180910390f35b61013a6105ba565b6040516101479190610a0a565b60405180910390f35b61016a60048036038101906101659190610842565b6105de565b6040516101779190610a0a565b60405180910390f35b61019a6004803603810190610195919061086f565b6105f6565b005b6101a46107bb565b6040516101b19190610a0a565b60405180910390f35b6101c26107df565b6040516101cf91906109af565b60405180910390f35b7f000000000000000000000000000000000000000000000000000000006183228081565b7f0000000000000000000000000000000000000000000000000000000069094200421061025e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610255906109ca565b60405180910390fd5b806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546102ac9190610a36565b925050819055507f000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d7273ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b81526004016103109392919061094f565b602060405180830381600087803b15801561032a57600080fd5b505af115801561033e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036291906108af565b6103a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610398906109ea565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f989eaa915cbb416ea3d6f9a63b1a3de51770c7674b11fe21ecdf76b4e1d13910836040516103fe9190610a0a565b60405180910390a35050565b60007f000000000000000000000000000000000000000000000000000000006271c20042101561043d576000905061059d565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490507f000000000000000000000000000000000000000000000000000000006909420042106105005780826104f79190610b17565b9250505061059d565b807f00000000000000000000000000000000000000000000000000000000618322807f000000000000000000000000000000000000000000000000000000006909420061054d9190610b17565b7f0000000000000000000000000000000000000000000000000000000061832280426105799190610b17565b846105849190610abd565b61058e9190610a8c565b6105989190610b17565b925050505b919050565b60016020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000006271c20081565b60006020528060005260406000206000915090505481565b60006106013361040a565b90508082111561060f578091505b81600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461065e9190610a36565b925050819055507f000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d7273ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b81526004016106c0929190610986565b602060405180830381600087803b1580156106da57600080fd5b505af11580156106ee573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061071291906108af565b610751576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610748906109ea565b60405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167ff7a40077ff7a04c7e61f6f26fb13774259ddf1b6bce9ecf26a8276cdd3992683846040516107ae9190610a0a565b60405180910390a3505050565b7f000000000000000000000000000000000000000000000000000000006909420081565b7f000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d7281565b60008135905061081281610ca4565b92915050565b60008151905061082781610cbb565b92915050565b60008135905061083c81610cd2565b92915050565b60006020828403121561085857610857610c27565b5b600061086684828501610803565b91505092915050565b6000806040838503121561088657610885610c27565b5b600061089485828601610803565b92505060206108a58582860161082d565b9150509250929050565b6000602082840312156108c5576108c4610c27565b5b60006108d384828501610818565b91505092915050565b6108e581610b4b565b82525050565b6108f481610b93565b82525050565b6000610907602983610a25565b915061091282610c2c565b604082019050919050565b600061092a601a83610a25565b915061093582610c7b565b602082019050919050565b61094981610b89565b82525050565b600060608201905061096460008301866108dc565b61097160208301856108dc565b61097e6040830184610940565b949350505050565b600060408201905061099b60008301856108dc565b6109a86020830184610940565b9392505050565b60006020820190506109c460008301846108eb565b92915050565b600060208201905081810360008301526109e3816108fa565b9050919050565b60006020820190508181036000830152610a038161091d565b9050919050565b6000602082019050610a1f6000830184610940565b92915050565b600082825260208201905092915050565b6000610a4182610b89565b9150610a4c83610b89565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610a8157610a80610bc9565b5b828201905092915050565b6000610a9782610b89565b9150610aa283610b89565b925082610ab257610ab1610bf8565b5b828204905092915050565b6000610ac882610b89565b9150610ad383610b89565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610b0c57610b0b610bc9565b5b828202905092915050565b6000610b2282610b89565b9150610b2d83610b89565b925082821015610b4057610b3f610bc9565b5b828203905092915050565b6000610b5682610b69565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610b9e82610ba5565b9050919050565b6000610bb082610bb7565b9050919050565b6000610bc282610b69565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b7f546f6b656e4c6f636b3a20556e6c6f636b20706572696f6420616c726561647960008201527f20636f6d706c6574650000000000000000000000000000000000000000000000602082015250565b7f546f6b656e4c6f636b3a205472616e73666572206661696c6564000000000000600082015250565b610cad81610b4b565b8114610cb857600080fd5b50565b610cc481610b5d565b8114610ccf57600080fd5b50565b610cdb81610b89565b8114610ce657600080fd5b5056fea26469706673582212202e966fc63dd1e9f2534cbcfed6906b70e38e97256d27ebf82b4d102e6228a51764736f6c63430008070033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d720000000000000000000000000000000000000000000000000000000061832280000000000000000000000000000000000000000000000000000000006271c2000000000000000000000000000000000000000000000000000000000069094200
-----Decoded View---------------
Arg [0] : _token (address): 0xC18360217D8F7Ab5e7c516566761Ea12Ce7F9D72
Arg [1] : _unlockBegin (uint256): 1635984000
Arg [2] : _unlockCliff (uint256): 1651622400
Arg [3] : _unlockEnd (uint256): 1762214400
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000c18360217d8f7ab5e7c516566761ea12ce7f9d72
Arg [1] : 0000000000000000000000000000000000000000000000000000000061832280
Arg [2] : 000000000000000000000000000000000000000000000000000000006271c200
Arg [3] : 0000000000000000000000000000000000000000000000000000000069094200
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.