Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 163 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Deliver | 16219623 | 748 days ago | IN | 0 ETH | 0.00160782 | ||||
Deliver | 16107954 | 764 days ago | IN | 0 ETH | 0.00096938 | ||||
Deliver | 16107865 | 764 days ago | IN | 0 ETH | 0.00114635 | ||||
Deliver | 15544074 | 842 days ago | IN | 0 ETH | 0.00048952 | ||||
Deliver | 15519749 | 846 days ago | IN | 0 ETH | 0.00060434 | ||||
Deliver | 15436593 | 860 days ago | IN | 0 ETH | 0.00219958 | ||||
Deliver | 15294276 | 882 days ago | IN | 0 ETH | 0.00065282 | ||||
Deliver | 15230629 | 892 days ago | IN | 0 ETH | 0.00111674 | ||||
Deliver | 15110275 | 911 days ago | IN | 0 ETH | 0.00141093 | ||||
Deliver | 15021529 | 926 days ago | IN | 0 ETH | 0.00210461 | ||||
Deliver | 14991866 | 931 days ago | IN | 0 ETH | 0.00218579 | ||||
Deliver | 14981237 | 933 days ago | IN | 0 ETH | 0.00265316 | ||||
Deliver | 14961565 | 936 days ago | IN | 0 ETH | 0.00410386 | ||||
Deliver | 14949251 | 938 days ago | IN | 0 ETH | 0.00194112 | ||||
Deliver | 14862979 | 953 days ago | IN | 0 ETH | 0.00118568 | ||||
Deliver | 14823128 | 959 days ago | IN | 0 ETH | 0.00107566 | ||||
Deliver | 14591015 | 996 days ago | IN | 0 ETH | 0.005758 | ||||
Deliver | 14573167 | 999 days ago | IN | 0 ETH | 0.00522239 | ||||
Deliver | 14515767 | 1008 days ago | IN | 0 ETH | 0.00618489 | ||||
Deliver | 14512685 | 1008 days ago | IN | 0 ETH | 0.00346647 | ||||
Deliver | 14512600 | 1008 days ago | IN | 0 ETH | 0.00456423 | ||||
Deliver | 14495529 | 1011 days ago | IN | 0 ETH | 0.00745878 | ||||
Deliver | 14487058 | 1012 days ago | IN | 0 ETH | 0.00358672 | ||||
Deliver | 14474569 | 1014 days ago | IN | 0 ETH | 0.00516078 | ||||
Deliver | 14460031 | 1016 days ago | IN | 0 ETH | 0.00121488 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xF070C1E7...8c3dCFdD3 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TokenCustodian
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 999999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Pausable.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; import "./libraries/TransferHelper.sol"; contract TokenCustodian is Pausable, Ownable { using SafeMath for uint256; address public futureToken; address public deliveryToken; address public deliveryTokenHolder; uint256 public startDate; uint256 public endDate; uint256 public delivered; bool private locked; modifier blockReentrancy { require(!locked, "Reentrancy is blocked"); locked = true; _; locked = false; } event SetStartDate(uint256 oldStartDate, uint256 newStartDate); event SetEndDate(uint256 oldEndDate, uint256 newEndDate); event SetDeliveryTokenHolder(address oldDeliveryTokenHolder, address newDeliveryTokenHolder); event SetFutureToken(address oldFutureToken, address newFutureToken); event SetDeliveryToken(address oldDeliveryToken, address newDeliveryToken); event Delivered(address indexed owner, uint256 amount, uint256 timestamp); modifier onlyActive() { require( block.timestamp >= startDate && block.timestamp < endDate, "TokenCustodian: Delivery not active" ); _; } constructor(address _futureToken, address _deliveryToken, uint256 _startDate, uint256 _endDate){ require(block.timestamp < _endDate, "TokenCustodian: End Date should be further than current date"); require(block.timestamp < _startDate, "TokenCustodian: Start Date should be further than current date"); require(_startDate < _endDate, "TokenCustodian: End Date higher than Start Date"); require(_futureToken != address(0), "TokenCustodian: FutureToken Address has to be not ZERO"); require(_deliveryToken != address(0), "TokenCustodian: DeliveryToken Address has to be not ZERO"); futureToken = _futureToken; deliveryToken = _deliveryToken; startDate = _startDate; endDate = _endDate; } function pause() external onlyOwner { _pause(); } function setDeliveryTokenHolder(address _deliveryTokenHolder) external onlyOwner { require(_deliveryTokenHolder != address(0), "TokenCustodian: DeliveryToken Holder Address has to be not ZERO"); address oldDeliveryTokenHolder = deliveryTokenHolder; deliveryTokenHolder = _deliveryTokenHolder; emit SetDeliveryTokenHolder(oldDeliveryTokenHolder, deliveryTokenHolder); } function setStartDate(uint256 _startDate) external onlyOwner { require(block.timestamp < _startDate, "TokenCustodian: Start Date should be further than current date"); require(_startDate < endDate, "TokenCustodian: Start Date higher than End Date"); uint256 oldStartDate = startDate; startDate = _startDate; emit SetStartDate(oldStartDate, startDate); } function setEndDate(uint256 _endDate) external onlyOwner { require(block.timestamp < _endDate, "TokenCustodian: End Date should be further than current date"); require(startDate < _endDate, "TokenCustodian: Start Date higher than End Date"); uint256 oldEndDate = endDate; endDate = _endDate; emit SetEndDate(oldEndDate, endDate); } function setFutureToken(address _futureToken) external onlyOwner { require(_futureToken != address(0), "TokenCustodian: FutureToken Address has to be not ZERO"); address oldFutureToken = futureToken; futureToken = _futureToken; emit SetFutureToken(oldFutureToken, futureToken); } function setDeliveryToken(address _deliveryToken) external onlyOwner { require(_deliveryToken != address(0), "TokenCustodian: DeliveryToken Address has to be not ZERO"); address oldDeliveryToken = deliveryToken; deliveryToken = _deliveryToken; emit SetDeliveryToken(oldDeliveryToken, deliveryToken); } function deliver(uint256 amount) external blockReentrancy whenNotPaused onlyActive { require(deliveryTokenHolder != address(0), "TokenCustodian: DeliveryToken Holder Address has to be set"); require(amount > 0, "TokenCustodian: Future token amount has to not ZERO"); require(amount <= IERC20(futureToken).balanceOf(msg.sender), "TokenCustodian: not enough future token"); require(amount <= IERC20(deliveryToken).balanceOf(deliveryTokenHolder), "TokenCustodian: Delivery Token Holder not enough amount"); delivered = delivered.add(amount); TransferHelper.safeTransferFrom(futureToken, msg.sender, deliveryTokenHolder, amount); TransferHelper.safeTransferFrom(deliveryToken, deliveryTokenHolder, msg.sender, amount); emit Delivered(msg.sender, amount, block.timestamp); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.6; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove(address token, address to, uint value) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED'); } function safeTransfer(address token, address to, uint value) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED'); } function safeTransferETH(address to, uint value) internal { (bool success,) = to.call{value:value}(new bytes(0)); require(success, 'TransferHelper: ETH_TRANSFER_FAILED'); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 999999 }, "evmVersion": "istanbul", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_futureToken","type":"address"},{"internalType":"address","name":"_deliveryToken","type":"address"},{"internalType":"uint256","name":"_startDate","type":"uint256"},{"internalType":"uint256","name":"_endDate","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"Delivered","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldDeliveryToken","type":"address"},{"indexed":false,"internalType":"address","name":"newDeliveryToken","type":"address"}],"name":"SetDeliveryToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldDeliveryTokenHolder","type":"address"},{"indexed":false,"internalType":"address","name":"newDeliveryTokenHolder","type":"address"}],"name":"SetDeliveryTokenHolder","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldEndDate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newEndDate","type":"uint256"}],"name":"SetEndDate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldFutureToken","type":"address"},{"indexed":false,"internalType":"address","name":"newFutureToken","type":"address"}],"name":"SetFutureToken","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldStartDate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newStartDate","type":"uint256"}],"name":"SetStartDate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"delivered","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deliveryToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deliveryTokenHolder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"futureToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_deliveryToken","type":"address"}],"name":"setDeliveryToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_deliveryTokenHolder","type":"address"}],"name":"setDeliveryTokenHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endDate","type":"uint256"}],"name":"setEndDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_futureToken","type":"address"}],"name":"setFutureToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startDate","type":"uint256"}],"name":"setStartDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061011b5760003560e01c806382d95df5116100b2578063b5fe39f911610081578063c24a0f8b11610066578063c24a0f8b146102a1578063edf670e1146102a9578063f2fde38b146102b15761011b565b8063b5fe39f914610266578063bbdfbfba146102995761011b565b806382d95df5146102065780638456cb59146102235780638da5cb5b1461022b57806394331217146102335761011b565b80633aa4327c116100ee5780633aa4327c146101bd5780633bd5d173146101c55780635c975abb146101e2578063715018a6146101fe5761011b565b80630b97bc8614610120578063156055641461013a5780631eac2d441461016b5780633784f000146101a0575b600080fd5b6101286102e4565b60408051918252519081900360200190f35b6101426102ea565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b61019e6004803603602081101561018157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610306565b005b61019e600480360360208110156101b657600080fd5b50356104a1565b610142610642565b61019e600480360360208110156101db57600080fd5b503561065e565b6101ea610b58565b604080519115158252519081900360200190f35b61019e610b61565b61019e6004803603602081101561021c57600080fd5b5035610c7c565b61019e610e1d565b610142610ecf565b61019e6004803603602081101561024957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610ef0565b61019e6004803603602081101561027c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661108b565b610128611226565b61012861122c565b610142611232565b61019e600480360360208110156102c757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661124e565b60045481565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b61030e6113f9565b73ffffffffffffffffffffffffffffffffffffffff1661032c610ecf565b73ffffffffffffffffffffffffffffffffffffffff16146103ae57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661041a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806118b06038913960400191505060405180910390fd5b6002805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831617928390556040805192821680845293909116602083015280517f3c2392bf505dff7b9be78641480d768d729b916da1b105af118ba5a2fea1a5a79281900390910190a15050565b6104a96113f9565b73ffffffffffffffffffffffffffffffffffffffff166104c7610ecf565b73ffffffffffffffffffffffffffffffffffffffff161461054957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8042106105a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180611796603c913960400191505060405180910390fd5b80600454106105fb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806117d2602f913960400191505060405180910390fd5b6005805490829055604080518281526020810184905281517fe51d19f37a4d03e6f28e181f23bdda22fd0593c18e82698f6eb69719b6229ddc929181900390910190a15050565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b60075460ff16156106d057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f5265656e7472616e637920697320626c6f636b65640000000000000000000000604482015290519081900360640190fd5b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055610703610b58565b1561076f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6004544210158015610782575060055442105b6107d7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806119a56023913960400191505060405180910390fd5b60035473ffffffffffffffffffffffffffffffffffffffff16610845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a81526020018061183f603a913960400191505060405180910390fd5b6000811161089e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260338152602001806119276033913960400191505060405180910390fd5b600154604080517f70a08231000000000000000000000000000000000000000000000000000000008152336004820152905173ffffffffffffffffffffffffffffffffffffffff909216916370a0823191602480820192602092909190829003018186803b15801561090f57600080fd5b505afa158015610923573d6000803e3d6000fd5b505050506040513d602081101561093957600080fd5b5051811115610993576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061195a6027913960400191505060405180910390fd5b600254600354604080517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9283166004820152905191909216916370a08231916024808301926020929190829003018186803b158015610a0957600080fd5b505afa158015610a1d573d6000803e3d6000fd5b505050506040513d6020811015610a3357600080fd5b5051811115610a8d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806118796037913960400191505060405180910390fd5b600654610a9a90826113fd565b600655600154600354610ac99173ffffffffffffffffffffffffffffffffffffffff9081169133911684611478565b600254600354610af49173ffffffffffffffffffffffffffffffffffffffff90811691163384611478565b60408051828152426020820152815133927f47357acf7cd02d7a69ba4d681fead1ba8015768d36e56cdd2340d1cc0a148d64928290030190a250600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b60005460ff1690565b610b696113f9565b73ffffffffffffffffffffffffffffffffffffffff16610b87610ecf565b73ffffffffffffffffffffffffffffffffffffffff1614610c0957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405161010090910473ffffffffffffffffffffffffffffffffffffffff16907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffff0000000000000000000000000000000000000000ff169055565b610c846113f9565b73ffffffffffffffffffffffffffffffffffffffff16610ca2610ecf565b73ffffffffffffffffffffffffffffffffffffffff1614610d2457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b804210610d7c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603e815260200180611801603e913960400191505060405180910390fd5b6005548110610dd6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806117d2602f913960400191505060405180910390fd5b6004805490829055604080518281526020810184905281517f824581b08ad6a1354243e0f555f37f15da2fba47412361819ad092273e497294929181900390910190a15050565b610e256113f9565b73ffffffffffffffffffffffffffffffffffffffff16610e43610ecf565b73ffffffffffffffffffffffffffffffffffffffff1614610ec557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610ecd611647565b565b600054610100900473ffffffffffffffffffffffffffffffffffffffff1690565b610ef86113f9565b73ffffffffffffffffffffffffffffffffffffffff16610f16610ecf565b73ffffffffffffffffffffffffffffffffffffffff1614610f9857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611004576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603f8152602001806118e8603f913960400191505060405180910390fd5b6003805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831617928390556040805192821680845293909116602083015280517f752ba42446eae8291b60a05d9e9c486e2050336f162fc007adb62298fb187bcb9281900390910190a15050565b6110936113f9565b73ffffffffffffffffffffffffffffffffffffffff166110b1610ecf565b73ffffffffffffffffffffffffffffffffffffffff161461113357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff811661119f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603681526020018061173a6036913960400191505060405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831617928390556040805192821680845293909116602083015280517f8a03a0b727b96b077426cf2a7fac9331d44483e8c147d96bc03d0189a32120aa9281900390910190a15050565b60065481565b60055481565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b6112566113f9565b73ffffffffffffffffffffffffffffffffffffffff16611274610ecf565b73ffffffffffffffffffffffffffffffffffffffff16146112f657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116611362576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806117706026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff8085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b3390565b60008282018381101561147157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528481166044830152606480830185905283518084039091018152608490920183526020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000178152925182516000948594938a169392918291908083835b6020831061155557805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611518565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115b7576040519150601f19603f3d011682016040523d82523d6000602084013e6115bc565b606091505b50915091508180156115ea5750805115806115ea57508080602001905160208110156115e757600080fd5b50515b61163f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806119816024913960400191505060405180910390fd5b505050505050565b61164f610b58565b156116bb57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861170f6113f9565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190a156fe546f6b656e437573746f6469616e3a20467574757265546f6b656e20416464726573732068617320746f206265206e6f74205a45524f4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373546f6b656e437573746f6469616e3a20456e6420446174652073686f756c642062652066757274686572207468616e2063757272656e742064617465546f6b656e437573746f6469616e3a205374617274204461746520686967686572207468616e20456e642044617465546f6b656e437573746f6469616e3a20537461727420446174652073686f756c642062652066757274686572207468616e2063757272656e742064617465546f6b656e437573746f6469616e3a2044656c6976657279546f6b656e20486f6c64657220416464726573732068617320746f20626520736574546f6b656e437573746f6469616e3a2044656c697665727920546f6b656e20486f6c646572206e6f7420656e6f75676820616d6f756e74546f6b656e437573746f6469616e3a2044656c6976657279546f6b656e20416464726573732068617320746f206265206e6f74205a45524f546f6b656e437573746f6469616e3a2044656c6976657279546f6b656e20486f6c64657220416464726573732068617320746f206265206e6f74205a45524f546f6b656e437573746f6469616e3a2046757475726520746f6b656e20616d6f756e742068617320746f206e6f74205a45524f546f6b656e437573746f6469616e3a206e6f7420656e6f7567682066757475726520746f6b656e5472616e7366657248656c7065723a205452414e534645525f46524f4d5f4641494c4544546f6b656e437573746f6469616e3a2044656c6976657279206e6f7420616374697665a2646970667358221220201c53445ad3ab736a40ae81a0f8d0738f2d1f357a758270a9ce05597658812b64736f6c63430007060033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.