Polygon Sponsored slots available. Book your slot here!
My Name Tag:
Not Available, login to update
Txn Hash |
Method
|
Block
|
From
|
To
|
Value | [Txn Fee] | |||
---|---|---|---|---|---|---|---|---|---|
0xb18f689c898a3c4a94c43715afd3c1127d41854f7750299eaf0874a45871ba49 | 0x60c06040 | 39688256 | 101 days 20 hrs ago | AIMX Deployer | IN | Create: TeamTokenLocker | 0 MATIC | 0.192212685633 |
[ Download CSV Export ]
OVERVIEW
AIMX Team Token LockerContract Name:
TeamTokenLocker
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Time Locker contract pragma solidity 0.8.16; /** * @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); } /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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://diligence.consensys.net/posts/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.5.11/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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @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; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @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)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } /** * @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"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } 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 () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } contract TeamTokenLocker is Ownable { using SafeERC20 for IERC20; // ERC20 basic token contract being held IERC20 public _token; uint256 public immutable lockPeriodDuration; mapping (address => bool) public isAuthorizedWallet; uint256 public numberOfLocks; uint256 public lastUnlockDate; uint256 public immutable unlockAllTimestamp; constructor(address tokenToLock) { uint256 _lockPeriodDuration = 30 days; numberOfLocks = 10; _token = IERC20(tokenToLock); lockPeriodDuration = _lockPeriodDuration; numberOfLocks = numberOfLocks; lastUnlockDate = block.timestamp; unlockAllTimestamp = (numberOfLocks * _lockPeriodDuration) + block.timestamp; isAuthorizedWallet[owner()] = true; } /** * @return the token being held. */ function token() public view returns (IERC20) { return _token; } function setToken(address tokenToLock) external onlyOwner { _token = IERC20(tokenToLock); } /** * @return the time when the tokens are released. */ function nextUnlockTime() public view returns (uint256) { return lastUnlockDate + lockPeriodDuration; } function getTokensPerUnlock() public view returns (uint256) { return token().balanceOf(address(this))/numberOfLocks; } function unlockedTokens() public view returns (uint256){ if(block.timestamp >= nextUnlockTime()){ return getTokensPerUnlock() * ((block.timestamp - nextUnlockTime())/lockPeriodDuration); // can return all unlocked tokens } return 0; } function updateAuthorizedWallet(address wallet, bool isAuthorized) public onlyOwner { isAuthorizedWallet[wallet] = isAuthorized; } /** * @notice NOTE: Only returns one lock worth of tokens each call. */ function withdrawUnlockedTokens() public { require(block.timestamp >= nextUnlockTime(), "TokenTimelock: current time is before release time"); require(isAuthorizedWallet[msg.sender], "Must be authorized to use Token Locker"); lastUnlockDate += lockPeriodDuration; // only add lock duration so unlocks are evenly distributed uint256 balance = token().balanceOf(address(this)); if(block.timestamp > unlockAllTimestamp){ token().safeTransfer(msg.sender, balance); // after entire duration is up, allow owner to withdraw all remaining tokens } else { require(balance >= getTokensPerUnlock(), "TokenTimelock: not enough tokens to release"); token().safeTransfer(msg.sender, getTokensPerUnlock()); // only release tokens per unlock. } if(numberOfLocks >= 1){ // reduce number of locks so deposit will be evenly distributed numberOfLocks -= 1; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"tokenToLock","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"_token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokensPerUnlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isAuthorizedWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUnlockDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockPeriodDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextUnlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numberOfLocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenToLock","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockAllTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlockedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"isAuthorized","type":"bool"}],"name":"updateAuthorizedWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawUnlockedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b5060405162001cd638038062001cd683398181016040528101906200003791906200027e565b600062000049620001e360201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600062278d009050600a60038190555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060808181525050600354600381905550426004819055504281600354620001619190620002e9565b6200016d91906200034a565b60a081815250506001600260006200018a620001eb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550505062000385565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620002468262000219565b9050919050565b620002588162000239565b81146200026457600080fd5b50565b60008151905062000278816200024d565b92915050565b60006020828403121562000297576200029662000214565b5b6000620002a78482850162000267565b91505092915050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620002f682620002b0565b91506200030383620002b0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156200033f576200033e620002ba565b5b828202905092915050565b60006200035782620002b0565b91506200036483620002b0565b92508282019050808211156200037f576200037e620002ba565b5b92915050565b60805160a05161190f620003c760003960008181610764015261091c0152600081816103b0015281816107050152818161085e0152610c10015261190f6000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063ecd0c0c311610066578063ecd0c0c314610253578063f2fde38b14610271578063f8737bc01461028d578063fc0c546a146102ab57610100565b80638da5cb5b146101ef578063abc88bda1461020d578063bc3e0f3e1461022b578063c17ccc6c1461024957610100565b80636223353f116100d35780636223353f1461017b5780636713113814610197578063715018a6146101b55780638d41569d146101bf57610100565b80631351f97214610105578063144fa6d7146101235780631fab0f541461013f57806337f5c1361461015d575b600080fd5b61010d6102c9565b60405161011a9190610f7f565b60405180910390f35b61013d60048036038101906101389190610ffd565b6102cf565b005b6101476103a8565b6040516101549190610f7f565b60405180910390f35b6101656103ae565b6040516101729190610f7f565b60405180910390f35b61019560048036038101906101909190611062565b6103d2565b005b61019f6104c2565b6040516101ac9190610f7f565b60405180910390f35b6101bd610557565b005b6101d960048036038101906101d49190610ffd565b6106aa565b6040516101e691906110b1565b60405180910390f35b6101f76106ca565b60405161020491906110db565b60405180910390f35b6102156106f3565b6040516102229190610f7f565b60405180910390f35b610233610762565b6040516102409190610f7f565b60405180910390f35b610251610786565b005b61025b610a25565b6040516102689190611155565b60405180910390f35b61028b60048036038101906102869190610ffd565b610a4b565b005b610295610c0c565b6040516102a29190610f7f565b60405180910390f35b6102b3610c41565b6040516102c09190611155565b60405180910390f35b60035481565b6102d7610c6b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161035b906111cd565b60405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60045481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6103da610c6b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610467576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161045e906111cd565b60405180910390fd5b80600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b60006003546104cf610c41565b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161050791906110db565b602060405180830381865afa158015610524573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105489190611219565b61055291906112a4565b905090565b61055f610c6b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105e3906111cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60026020528060005260406000206000915054906101000a900460ff1681565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60006106fd610c0c565b421061075a577f000000000000000000000000000000000000000000000000000000000000000061072c610c0c565b4261073791906112d5565b61074191906112a4565b6107496104c2565b6107539190611309565b905061075f565b600090505b90565b7f000000000000000000000000000000000000000000000000000000000000000081565b61078e610c0c565b4210156107d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c7906113d5565b60405180910390fd5b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661085c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085390611467565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006004600082825461088e9190611487565b92505081905550600061089f610c41565b73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016108d791906110db565b602060405180830381865afa1580156108f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109189190611219565b90507f000000000000000000000000000000000000000000000000000000000000000042111561097957610974338261094f610c41565b73ffffffffffffffffffffffffffffffffffffffff16610c739092919063ffffffff16565b6109fd565b6109816104c2565b8110156109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba9061152d565b60405180910390fd5b6109fc336109cf6104c2565b6109d7610c41565b73ffffffffffffffffffffffffffffffffffffffff16610c739092919063ffffffff16565b5b600160035410610a2257600160036000828254610a1a91906112d5565b925050819055505b50565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610a53610c6b565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ae0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad7906111cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610b4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b46906115bf565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f0000000000000000000000000000000000000000000000000000000000000000600454610c3c9190611487565b905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600033905090565b610cf48363a9059cbb60e01b8484604051602401610c929291906115df565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610cf9565b505050565b6000610d5b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610dc09092919063ffffffff16565b9050600081511115610dbb5780806020019051810190610d7b919061161d565b610dba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db1906116bc565b60405180910390fd5b5b505050565b6060610dcf8484600085610dd8565b90509392505050565b606082471015610e1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e149061174e565b60405180910390fd5b610e2685610eec565b610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c906117ba565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610e8e919061184b565b60006040518083038185875af1925050503d8060008114610ecb576040519150601f19603f3d011682016040523d82523d6000602084013e610ed0565b606091505b5091509150610ee0828286610eff565b92505050949350505050565b600080823b905060008111915050919050565b60608315610f0f57829050610f5f565b600083511115610f225782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5691906118b7565b60405180910390fd5b9392505050565b6000819050919050565b610f7981610f66565b82525050565b6000602082019050610f946000830184610f70565b92915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610fca82610f9f565b9050919050565b610fda81610fbf565b8114610fe557600080fd5b50565b600081359050610ff781610fd1565b92915050565b60006020828403121561101357611012610f9a565b5b600061102184828501610fe8565b91505092915050565b60008115159050919050565b61103f8161102a565b811461104a57600080fd5b50565b60008135905061105c81611036565b92915050565b6000806040838503121561107957611078610f9a565b5b600061108785828601610fe8565b92505060206110988582860161104d565b9150509250929050565b6110ab8161102a565b82525050565b60006020820190506110c660008301846110a2565b92915050565b6110d581610fbf565b82525050565b60006020820190506110f060008301846110cc565b92915050565b6000819050919050565b600061111b61111661111184610f9f565b6110f6565b610f9f565b9050919050565b600061112d82611100565b9050919050565b600061113f82611122565b9050919050565b61114f81611134565b82525050565b600060208201905061116a6000830184611146565b92915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006111b7602083611170565b91506111c282611181565b602082019050919050565b600060208201905081810360008301526111e6816111aa565b9050919050565b6111f681610f66565b811461120157600080fd5b50565b600081519050611213816111ed565b92915050565b60006020828403121561122f5761122e610f9a565b5b600061123d84828501611204565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006112af82610f66565b91506112ba83610f66565b9250826112ca576112c9611246565b5b828204905092915050565b60006112e082610f66565b91506112eb83610f66565b925082820390508181111561130357611302611275565b5b92915050565b600061131482610f66565b915061131f83610f66565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561135857611357611275565b5b828202905092915050565b7f546f6b656e54696d656c6f636b3a2063757272656e742074696d65206973206260008201527f65666f72652072656c656173652074696d650000000000000000000000000000602082015250565b60006113bf603283611170565b91506113ca82611363565b604082019050919050565b600060208201905081810360008301526113ee816113b2565b9050919050565b7f4d75737420626520617574686f72697a656420746f2075736520546f6b656e2060008201527f4c6f636b65720000000000000000000000000000000000000000000000000000602082015250565b6000611451602683611170565b915061145c826113f5565b604082019050919050565b6000602082019050818103600083015261148081611444565b9050919050565b600061149282610f66565b915061149d83610f66565b92508282019050808211156114b5576114b4611275565b5b92915050565b7f546f6b656e54696d656c6f636b3a206e6f7420656e6f75676820746f6b656e7360008201527f20746f2072656c65617365000000000000000000000000000000000000000000602082015250565b6000611517602b83611170565b9150611522826114bb565b604082019050919050565b600060208201905081810360008301526115468161150a565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006115a9602683611170565b91506115b48261154d565b604082019050919050565b600060208201905081810360008301526115d88161159c565b9050919050565b60006040820190506115f460008301856110cc565b6116016020830184610f70565b9392505050565b60008151905061161781611036565b92915050565b60006020828403121561163357611632610f9a565b5b600061164184828501611608565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b60006116a6602a83611170565b91506116b18261164a565b604082019050919050565b600060208201905081810360008301526116d581611699565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000611738602683611170565b9150611743826116dc565b604082019050919050565b600060208201905081810360008301526117678161172b565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b60006117a4601d83611170565b91506117af8261176e565b602082019050919050565b600060208201905081810360008301526117d381611797565b9050919050565b600081519050919050565b600081905092915050565b60005b8381101561180e5780820151818401526020810190506117f3565b60008484015250505050565b6000611825826117da565b61182f81856117e5565b935061183f8185602086016117f0565b80840191505092915050565b6000611857828461181a565b915081905092915050565b600081519050919050565b6000601f19601f8301169050919050565b600061188982611862565b6118938185611170565b93506118a38185602086016117f0565b6118ac8161186d565b840191505092915050565b600060208201905081810360008301526118d1818461187e565b90509291505056fea264697066735822122030d35a6be226a0d6b2ed20aeb8e305193719169e967b3243a4cc010e5f1ef66c64736f6c6343000810003300000000000000000000000033b6d77c607ea499ab5db7e2201c5a516a78a5db
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000033b6d77c607ea499ab5db7e2201c5a516a78a5db
-----Decoded View---------------
Arg [0] : tokenToLock (address): 0x33b6d77c607ea499ab5db7e2201c5a516a78a5db
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000033b6d77c607ea499ab5db7e2201c5a516a78a5db
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.