Overview
Max Total Supply
5,170,000 ARV
Holders
1,674 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Artemis
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)Audit Report
/** *Submitted for verification at Etherscan.io on 2021-04-08 */ // File: @openzeppelin/contracts/token/ERC20/IERC20.sol // 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); } // File: @openzeppelin/contracts/utils/Context.sol 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; } } // File: @openzeppelin/contracts/math/SafeMath.sol 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; } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @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 guidelines: functions revert instead * of 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 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual 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 {_setupDecimals} is * called. * * 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 returns (uint8) { return _decimals; } /** * @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); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); 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].add(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) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is 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); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(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: * * - `to` 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 = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(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); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @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 to 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 { } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @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; } } // File: contracts/Token.sol pragma solidity ^0.6.0; // ---------------------------------------------------------------------------- // BokkyPooBah's DateTime Library v1.01 // // A gas-efficient Solidity date and time library // // https://github.com/bokkypoobah/BokkyPooBahsDateTimeLibrary // // Tested date range 1970/01/01 to 2345/12/31 // // Conventions: // Unit | Range | Notes // :-------- |:-------------:|:----- // timestamp | >= 0 | Unix timestamp, number of seconds since 1970/01/01 00:00:00 UTC // year | 1970 ... 2345 | // month | 1 ... 12 | // day | 1 ... 31 | // hour | 0 ... 23 | // minute | 0 ... 59 | // second | 0 ... 59 | // dayOfWeek | 1 ... 7 | 1 = Monday, ..., 7 = Sunday // // // Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018-2019. The MIT Licence. // ---------------------------------------------------------------------------- library BokkyPooBahsDateTimeLibrary { uint constant SECONDS_PER_DAY = 24 * 60 * 60; uint constant SECONDS_PER_HOUR = 60 * 60; uint constant SECONDS_PER_MINUTE = 60; int constant OFFSET19700101 = 2440588; uint constant DOW_MON = 1; uint constant DOW_TUE = 2; uint constant DOW_WED = 3; uint constant DOW_THU = 4; uint constant DOW_FRI = 5; uint constant DOW_SAT = 6; uint constant DOW_SUN = 7; // ------------------------------------------------------------------------ // Calculate the number of days from 1970/01/01 to year/month/day using // the date conversion algorithm from // http://aa.usno.navy.mil/faq/docs/JD_Formula.php // and subtracting the offset 2440588 so that 1970/01/01 is day 0 // // days = day // - 32075 // + 1461 * (year + 4800 + (month - 14) / 12) / 4 // + 367 * (month - 2 - (month - 14) / 12 * 12) / 12 // - 3 * ((year + 4900 + (month - 14) / 12) / 100) / 4 // - offset // ------------------------------------------------------------------------ function _daysFromDate(uint year, uint month, uint day) internal pure returns (uint _days) { require(year >= 1970); int _year = int(year); int _month = int(month); int _day = int(day); int __days = _day - 32075 + 1461 * (_year + 4800 + (_month - 14) / 12) / 4 + 367 * (_month - 2 - (_month - 14) / 12 * 12) / 12 - 3 * ((_year + 4900 + (_month - 14) / 12) / 100) / 4 - OFFSET19700101; _days = uint(__days); } // ------------------------------------------------------------------------ // Calculate year/month/day from the number of days since 1970/01/01 using // the date conversion algorithm from // http://aa.usno.navy.mil/faq/docs/JD_Formula.php // and adding the offset 2440588 so that 1970/01/01 is day 0 // // int L = days + 68569 + offset // int N = 4 * L / 146097 // L = L - (146097 * N + 3) / 4 // year = 4000 * (L + 1) / 1461001 // L = L - 1461 * year / 4 + 31 // month = 80 * L / 2447 // dd = L - 2447 * month / 80 // L = month / 11 // month = month + 2 - 12 * L // year = 100 * (N - 49) + year + L // ------------------------------------------------------------------------ function _daysToDate(uint _days) internal pure returns (uint year, uint month, uint day) { int __days = int(_days); int L = __days + 68569 + OFFSET19700101; int N = 4 * L / 146097; L = L - (146097 * N + 3) / 4; int _year = 4000 * (L + 1) / 1461001; L = L - 1461 * _year / 4 + 31; int _month = 80 * L / 2447; int _day = L - 2447 * _month / 80; L = _month / 11; _month = _month + 2 - 12 * L; _year = 100 * (N - 49) + _year + L; year = uint(_year); month = uint(_month); day = uint(_day); } function timestampFromDate(uint year, uint month, uint day) internal pure returns (uint timestamp) { timestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY; } function timestampFromDateTime(uint year, uint month, uint day, uint hour, uint minute, uint second) internal pure returns (uint timestamp) { timestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + hour * SECONDS_PER_HOUR + minute * SECONDS_PER_MINUTE + second; } function timestampToDate(uint timestamp) internal pure returns (uint year, uint month, uint day) { (year, month, day) = _daysToDate(timestamp / SECONDS_PER_DAY); } function timestampToDateTime(uint timestamp) internal pure returns (uint year, uint month, uint day, uint hour, uint minute, uint second) { (year, month, day) = _daysToDate(timestamp / SECONDS_PER_DAY); uint secs = timestamp % SECONDS_PER_DAY; hour = secs / SECONDS_PER_HOUR; secs = secs % SECONDS_PER_HOUR; minute = secs / SECONDS_PER_MINUTE; second = secs % SECONDS_PER_MINUTE; } function isValidDate(uint year, uint month, uint day) internal pure returns (bool valid) { if (year >= 1970 && month > 0 && month <= 12) { uint daysInMonth = _getDaysInMonth(year, month); if (day > 0 && day <= daysInMonth) { valid = true; } } } function isValidDateTime(uint year, uint month, uint day, uint hour, uint minute, uint second) internal pure returns (bool valid) { if (isValidDate(year, month, day)) { if (hour < 24 && minute < 60 && second < 60) { valid = true; } } } function isLeapYear(uint timestamp) internal pure returns (bool leapYear) { (uint year,,) = _daysToDate(timestamp / SECONDS_PER_DAY); leapYear = _isLeapYear(year); } function _isLeapYear(uint year) internal pure returns (bool leapYear) { leapYear = ((year % 4 == 0) && (year % 100 != 0)) || (year % 400 == 0); } function isWeekDay(uint timestamp) internal pure returns (bool weekDay) { weekDay = getDayOfWeek(timestamp) <= DOW_FRI; } function isWeekEnd(uint timestamp) internal pure returns (bool weekEnd) { weekEnd = getDayOfWeek(timestamp) >= DOW_SAT; } function getDaysInMonth(uint timestamp) internal pure returns (uint daysInMonth) { (uint year, uint month,) = _daysToDate(timestamp / SECONDS_PER_DAY); daysInMonth = _getDaysInMonth(year, month); } function _getDaysInMonth(uint year, uint month) internal pure returns (uint daysInMonth) { if (month == 1 || month == 3 || month == 5 || month == 7 || month == 8 || month == 10 || month == 12) { daysInMonth = 31; } else if (month != 2) { daysInMonth = 30; } else { daysInMonth = _isLeapYear(year) ? 29 : 28; } } // 1 = Monday, 7 = Sunday function getDayOfWeek(uint timestamp) internal pure returns (uint dayOfWeek) { uint _days = timestamp / SECONDS_PER_DAY; dayOfWeek = (_days + 3) % 7 + 1; } function getYear(uint timestamp) internal pure returns (uint year) { (year,,) = _daysToDate(timestamp / SECONDS_PER_DAY); } function getMonth(uint timestamp) internal pure returns (uint month) { (,month,) = _daysToDate(timestamp / SECONDS_PER_DAY); } function getDay(uint timestamp) internal pure returns (uint day) { (,,day) = _daysToDate(timestamp / SECONDS_PER_DAY); } function getHour(uint timestamp) internal pure returns (uint hour) { uint secs = timestamp % SECONDS_PER_DAY; hour = secs / SECONDS_PER_HOUR; } function getMinute(uint timestamp) internal pure returns (uint minute) { uint secs = timestamp % SECONDS_PER_HOUR; minute = secs / SECONDS_PER_MINUTE; } function getSecond(uint timestamp) internal pure returns (uint second) { second = timestamp % SECONDS_PER_MINUTE; } function addYears(uint timestamp, uint _years) internal pure returns (uint newTimestamp) { (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY); year += _years; uint daysInMonth = _getDaysInMonth(year, month); if (day > daysInMonth) { day = daysInMonth; } newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY; require(newTimestamp >= timestamp); } function addMonths(uint timestamp, uint _months) internal pure returns (uint newTimestamp) { (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY); month += _months; year += (month - 1) / 12; month = (month - 1) % 12 + 1; uint daysInMonth = _getDaysInMonth(year, month); if (day > daysInMonth) { day = daysInMonth; } newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY; require(newTimestamp >= timestamp); } function addDays(uint timestamp, uint _days) internal pure returns (uint newTimestamp) { newTimestamp = timestamp + _days * SECONDS_PER_DAY; require(newTimestamp >= timestamp); } function addHours(uint timestamp, uint _hours) internal pure returns (uint newTimestamp) { newTimestamp = timestamp + _hours * SECONDS_PER_HOUR; require(newTimestamp >= timestamp); } function addMinutes(uint timestamp, uint _minutes) internal pure returns (uint newTimestamp) { newTimestamp = timestamp + _minutes * SECONDS_PER_MINUTE; require(newTimestamp >= timestamp); } function addSeconds(uint timestamp, uint _seconds) internal pure returns (uint newTimestamp) { newTimestamp = timestamp + _seconds; require(newTimestamp >= timestamp); } function subYears(uint timestamp, uint _years) internal pure returns (uint newTimestamp) { (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY); year -= _years; uint daysInMonth = _getDaysInMonth(year, month); if (day > daysInMonth) { day = daysInMonth; } newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY; require(newTimestamp <= timestamp); } function subMonths(uint timestamp, uint _months) internal pure returns (uint newTimestamp) { (uint year, uint month, uint day) = _daysToDate(timestamp / SECONDS_PER_DAY); uint yearMonth = year * 12 + (month - 1) - _months; year = yearMonth / 12; month = yearMonth % 12 + 1; uint daysInMonth = _getDaysInMonth(year, month); if (day > daysInMonth) { day = daysInMonth; } newTimestamp = _daysFromDate(year, month, day) * SECONDS_PER_DAY + timestamp % SECONDS_PER_DAY; require(newTimestamp <= timestamp); } function subDays(uint timestamp, uint _days) internal pure returns (uint newTimestamp) { newTimestamp = timestamp - _days * SECONDS_PER_DAY; require(newTimestamp <= timestamp); } function subHours(uint timestamp, uint _hours) internal pure returns (uint newTimestamp) { newTimestamp = timestamp - _hours * SECONDS_PER_HOUR; require(newTimestamp <= timestamp); } function subMinutes(uint timestamp, uint _minutes) internal pure returns (uint newTimestamp) { newTimestamp = timestamp - _minutes * SECONDS_PER_MINUTE; require(newTimestamp <= timestamp); } function subSeconds(uint timestamp, uint _seconds) internal pure returns (uint newTimestamp) { newTimestamp = timestamp - _seconds; require(newTimestamp <= timestamp); } function diffYears(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _years) { require(fromTimestamp <= toTimestamp); (uint fromYear,,) = _daysToDate(fromTimestamp / SECONDS_PER_DAY); (uint toYear,,) = _daysToDate(toTimestamp / SECONDS_PER_DAY); _years = toYear - fromYear; } function diffMonths(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _months) { require(fromTimestamp <= toTimestamp); (uint fromYear, uint fromMonth,) = _daysToDate(fromTimestamp / SECONDS_PER_DAY); (uint toYear, uint toMonth,) = _daysToDate(toTimestamp / SECONDS_PER_DAY); _months = toYear * 12 + toMonth - fromYear * 12 - fromMonth; } function diffDays(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _days) { require(fromTimestamp <= toTimestamp); _days = (toTimestamp - fromTimestamp) / SECONDS_PER_DAY; } function diffHours(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _hours) { require(fromTimestamp <= toTimestamp); _hours = (toTimestamp - fromTimestamp) / SECONDS_PER_HOUR; } function diffMinutes(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _minutes) { require(fromTimestamp <= toTimestamp); _minutes = (toTimestamp - fromTimestamp) / SECONDS_PER_MINUTE; } function diffSeconds(uint fromTimestamp, uint toTimestamp) internal pure returns (uint _seconds) { require(fromTimestamp <= toTimestamp); _seconds = toTimestamp - fromTimestamp; } } // ---------------------------------------------------------------------------- // Testing BokkyPooBah's DateTime Library // // https://github.com/bokkypoobah/BokkyPooBahsDateTimeLibrary // // Enjoy. (c) BokkyPooBah / Bok Consulting Pty Ltd 2018-2019. The MIT Licence. // ---------------------------------------------------------------------------- contract TestDateTime { using BokkyPooBahsDateTimeLibrary for uint; uint public nextYear; function test() public { uint today = now; nextYear = today.addYears(1); } function timestampFromDate(uint year, uint month, uint day) public pure returns (uint timestamp) { return BokkyPooBahsDateTimeLibrary.timestampFromDate(year, month, day); } function timestampFromDateTime(uint year, uint month, uint day, uint hour, uint minute, uint second) public pure returns (uint timestamp) { return BokkyPooBahsDateTimeLibrary.timestampFromDateTime(year, month, day, hour, minute, second); } function timestampToDate(uint timestamp) public pure returns (uint year, uint month, uint day) { (year, month, day) = BokkyPooBahsDateTimeLibrary.timestampToDate(timestamp); } function timestampToDateTime(uint timestamp) public pure returns (uint year, uint month, uint day, uint hour, uint minute, uint second) { (year, month, day, hour, minute, second) = BokkyPooBahsDateTimeLibrary.timestampToDateTime(timestamp); } function isLeapYear(uint timestamp) public pure returns (bool leapYear) { leapYear = BokkyPooBahsDateTimeLibrary.isLeapYear(timestamp); } function _isLeapYear(uint year) public pure returns (bool leapYear) { leapYear = BokkyPooBahsDateTimeLibrary._isLeapYear(year); } function isWeekDay(uint timestamp) public pure returns (bool weekDay) { weekDay = BokkyPooBahsDateTimeLibrary.isWeekDay(timestamp); } function isWeekEnd(uint timestamp) public pure returns (bool weekEnd) { weekEnd = BokkyPooBahsDateTimeLibrary.isWeekEnd(timestamp); } function getDaysInMonth(uint timestamp) public pure returns (uint daysInMonth) { daysInMonth = BokkyPooBahsDateTimeLibrary.getDaysInMonth(timestamp); } function _getDaysInMonth(uint year, uint month) public pure returns (uint daysInMonth) { daysInMonth = BokkyPooBahsDateTimeLibrary._getDaysInMonth(year, month); } function getDayOfWeek(uint timestamp) public pure returns (uint dayOfWeek) { dayOfWeek = BokkyPooBahsDateTimeLibrary.getDayOfWeek(timestamp); } function isValidDate(uint year, uint month, uint day) public pure returns (bool valid) { valid = BokkyPooBahsDateTimeLibrary.isValidDate(year, month, day); } function isValidDateTime(uint year, uint month, uint day, uint hour, uint minute, uint second) public pure returns (bool valid) { valid = BokkyPooBahsDateTimeLibrary.isValidDateTime(year, month, day, hour, minute, second); } function getYear(uint timestamp) public pure returns (uint year) { year = BokkyPooBahsDateTimeLibrary.getYear(timestamp); } function getMonth(uint timestamp) public pure returns (uint month) { month = BokkyPooBahsDateTimeLibrary.getMonth(timestamp); } function getDay(uint timestamp) public pure returns (uint day) { day = BokkyPooBahsDateTimeLibrary.getDay(timestamp); } function getHour(uint timestamp) public pure returns (uint hour) { hour = BokkyPooBahsDateTimeLibrary.getHour(timestamp); } function getMinute(uint timestamp) public pure returns (uint minute) { minute = BokkyPooBahsDateTimeLibrary.getMinute(timestamp); } function getSecond(uint timestamp) public pure returns (uint second) { second = BokkyPooBahsDateTimeLibrary.getSecond(timestamp); } function addYears(uint timestamp, uint _years) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.addYears(timestamp, _years); } function addMonths(uint timestamp, uint _months) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.addMonths(timestamp, _months); } function addDays(uint timestamp, uint _days) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.addDays(timestamp, _days); } function addHours(uint timestamp, uint _hours) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.addHours(timestamp, _hours); } function addMinutes(uint timestamp, uint _minutes) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.addMinutes(timestamp, _minutes); } function addSeconds(uint timestamp, uint _seconds) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.addSeconds(timestamp, _seconds); } function subYears(uint timestamp, uint _years) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.subYears(timestamp, _years); } function subMonths(uint timestamp, uint _months) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.subMonths(timestamp, _months); } function subDays(uint timestamp, uint _days) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.subDays(timestamp, _days); } function subHours(uint timestamp, uint _hours) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.subHours(timestamp, _hours); } function subMinutes(uint timestamp, uint _minutes) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.subMinutes(timestamp, _minutes); } function subSeconds(uint timestamp, uint _seconds) public pure returns (uint newTimestamp) { newTimestamp = BokkyPooBahsDateTimeLibrary.subSeconds(timestamp, _seconds); } function diffYears(uint fromTimestamp, uint toTimestamp) public pure returns (uint _years) { _years = BokkyPooBahsDateTimeLibrary.diffYears(fromTimestamp, toTimestamp); } function diffMonths(uint fromTimestamp, uint toTimestamp) public pure returns (uint _months) { _months = BokkyPooBahsDateTimeLibrary.diffMonths(fromTimestamp, toTimestamp); } function diffDays(uint fromTimestamp, uint toTimestamp) public pure returns (uint _days) { _days = BokkyPooBahsDateTimeLibrary.diffDays(fromTimestamp, toTimestamp); } function diffHours(uint fromTimestamp, uint toTimestamp) public pure returns (uint _hours) { _hours = BokkyPooBahsDateTimeLibrary.diffHours(fromTimestamp, toTimestamp); } function diffMinutes(uint fromTimestamp, uint toTimestamp) public pure returns (uint _minutes) { _minutes = BokkyPooBahsDateTimeLibrary.diffMinutes(fromTimestamp, toTimestamp); } function diffSeconds(uint fromTimestamp, uint toTimestamp) public pure returns (uint _seconds) { _seconds = BokkyPooBahsDateTimeLibrary.diffSeconds(fromTimestamp, toTimestamp); } } contract Artemis is Ownable, ERC20 { using BokkyPooBahsDateTimeLibrary for uint; using SafeMath for uint256; uint256 public MAX_SUPPLY = 10000000 * 10**18; uint public last_development_withdrawal_time; //TOKENS ALLOTMENT uint256 public STAKING_RESERVE = 1670000 * 10**18; uint256 public TEAM_AND_ADVISOR_RESERVE = 240000 * 10**18; uint256 public DEVELOPMENT_RESERVE = 200000 * 10**18; uint256 public MARKETING_AND_LISTING_RESERVE = 400000 * 10**18; uint256 public MINTABLE_SUPPLY = 7000000 * 10**18; uint256 public TOTAL_MINTABLE_MINTED = 0; uint256 public PARTNERSHIP_INTERGRATION_RESERVE = 490000 * 10**18; address public _stakingWallet; address public _teamWallet; address public _developmentWallet; address public _marketingWallet; address public _partnershipIntegrationWallet; function checkTeamWalletWithdrawalEligiblity() private returns(bool){ if(last_development_withdrawal_time ==0){ return true; } uint _days = BokkyPooBahsDateTimeLibrary.diffDays(last_development_withdrawal_time, now); if(_days>30){ return true; }else{ return false; } } function claimTeamTokens()public{ require(checkTeamWalletWithdrawalEligiblity(),"1 month has not passed please try after one month"); require(msg.sender == _teamWallet,"You are not authorized"); require(TEAM_AND_ADVISOR_RESERVE >0,"Development Reserve Empty"); uint256 amount = 20000 * 10**18; _mint(_teamWallet, amount); last_development_withdrawal_time = now; TEAM_AND_ADVISOR_RESERVE = TEAM_AND_ADVISOR_RESERVE.sub(amount); } function claimDevelopmentTokens()public{ require(msg.sender == _developmentWallet,"You are not authorized"); _mint(_developmentWallet, DEVELOPMENT_RESERVE); DEVELOPMENT_RESERVE = 0; } function claimMarketingTokens()public{ require(msg.sender == _marketingWallet,"You are not authorized"); _mint(_marketingWallet, MARKETING_AND_LISTING_RESERVE); MARKETING_AND_LISTING_RESERVE = 0; } function claimPartnershipAndIntegrationTokens()public{ require(msg.sender == _partnershipIntegrationWallet,"You are not authorized"); _mint(_partnershipIntegrationWallet, PARTNERSHIP_INTERGRATION_RESERVE); PARTNERSHIP_INTERGRATION_RESERVE = 0; } function claimStakingTokens()public{ require(msg.sender == _stakingWallet,"You are not authorized"); _mint(_stakingWallet, STAKING_RESERVE); STAKING_RESERVE=0; } constructor(address stakingWallet, address teamWallet, address developmentWallet, address marketingWallet, address partnershipIntegrationWallet) public ERC20("Artemis Vision", "ARV") { _stakingWallet = stakingWallet; _teamWallet = teamWallet; _developmentWallet = developmentWallet; _marketingWallet = marketingWallet; _partnershipIntegrationWallet = partnershipIntegrationWallet; } function mint(address account, uint256 amount) public onlyOwner { require(TOTAL_MINTABLE_MINTED.add(amount)<=MINTABLE_SUPPLY,"Max Supply Exceeds"); _mint(account, amount); TOTAL_MINTABLE_MINTED = TOTAL_MINTABLE_MINTED.add(amount); } function burn(address account, uint256 amount) public onlyOwner { _burn(account, amount); } function recoverERC20( uint256 tokenAmount) public virtual onlyOwner { IERC20(address(this)).transfer(owner(), tokenAmount); } }
Contract Security Audit
- Certik - June 1st, 2021 - Security Audit Report
[{"inputs":[{"internalType":"address","name":"stakingWallet","type":"address"},{"internalType":"address","name":"teamWallet","type":"address"},{"internalType":"address","name":"developmentWallet","type":"address"},{"internalType":"address","name":"marketingWallet","type":"address"},{"internalType":"address","name":"partnershipIntegrationWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEVELOPMENT_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MARKETING_AND_LISTING_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTABLE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PARTNERSHIP_INTERGRATION_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"STAKING_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_AND_ADVISOR_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MINTABLE_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_developmentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_partnershipIntegrationWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_stakingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimDevelopmentTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimMarketingTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimPartnershipAndIntegrationTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimStakingTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTeamTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"last_development_withdrawal_time","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526a084595161401484a0000006007556a0161a2e1a398ca47c000006009556932d26d12e980b6000000600a55692a5a058fc295ed000000600b556954b40b1f852bda000000600c556a05ca4ec2a79a7f67000000600d556000600e556967c2f4069cbc1e400000600f553480156200007b57600080fd5b5060405162001a4238038062001a42833981810160405260a0811015620000a157600080fd5b508051602080830151604080850151606086015160809096015182518084018452600e81526d20b93a32b6b4b9902b34b9b4b7b760911b818701528351808501909452600384526220a92b60e91b95840195909552949592949093909160006200010a620001f5565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350815162000169906004906020850190620001f9565b5080516200017f906005906020840190620001f9565b505060068054601260ff199091168117909155601080546001600160a01b03199081166001600160a01b03998a1617909155601180548216978916979097179096558054861694871694909417909355601380548516928616929092179091556014805490931693169290921790555062000295565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200023c57805160ff19168380011785556200026c565b828001600101855582156200026c579182015b828111156200026c5782518255916020019190600101906200024f565b506200027a9291506200027e565b5090565b5b808211156200027a57600081556001016200027f565b61179d80620002a56000396000f3fe608060405234801561001057600080fd5b506004361061021c5760003560e01c80638da5cb5b11610125578063bd650a5f116100ad578063dfc2c53c1161007c578063dfc2c53c14610547578063e81945ad1461054f578063f0153af914610557578063f2fde38b1461055f578063ffa35691146105855761021c565b8063bd650a5f14610501578063cea4e87514610509578063d452067814610511578063dd62ed3e146105195761021c565b8063962dfc75116100f4578063962dfc751461046d5780639dc29fac14610475578063a30542c5146104a1578063a457c2d7146104a9578063a9059cbb146104d55761021c565b80638da5cb5b146104385780638e8eb0c5146104405780638f135b3a1461044857806395d89b41146104655761021c565b806332cb6b0c116101a85780636b7b9a94116101775780636b7b9a94146103f25780636e686a7d146103fa57806370a0823114610402578063715018a61461042857806385320beb146104305761021c565b806332cb6b0c1461038a57806337e294d514610392578063395093511461039a57806340c10f19146103c65761021c565b806323b872dd116101ef57806323b872dd1461030057806325558e5b146103365780632af5356a1461033e57806330f8d95a14610348578063313ce5671461036c5761021c565b806306fdde0314610221578063095ea7b31461029e57806314e6e7d5146102de57806318160ddd146102f8575b600080fd5b61022961058d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026357818101518382015260200161024b565b50505050905090810190601f1680156102905780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ca600480360360408110156102b457600080fd5b506001600160a01b038135169060200135610624565b604080519115158252519081900360200190f35b6102e6610641565b60408051918252519081900360200190f35b6102e6610647565b6102ca6004803603606081101561031657600080fd5b506001600160a01b0381358116916020810135909116906040013561064d565b6102e66106d4565b6103466106da565b005b610350610805565b604080516001600160a01b039092168252519081900360200190f35b610374610814565b6040805160ff9092168252519081900360200190f35b6102e661081d565b610350610823565b6102ca600480360360408110156103b057600080fd5b506001600160a01b038135169060200135610832565b610346600480360360408110156103dc57600080fd5b506001600160a01b038135169060200135610880565b6102e6610958565b61034661095e565b6102e66004803603602081101561041857600080fd5b50356001600160a01b03166109d6565b6103466109f1565b610350610a9d565b610350610aac565b610346610abb565b6103466004803603602081101561045e57600080fd5b5035610b33565b610229610c19565b610350610c7a565b6103466004803603604081101561048b57600080fd5b506001600160a01b038135169060200135610c89565b610346610cf9565b6102ca600480360360408110156104bf57600080fd5b506001600160a01b038135169060200135610d71565b6102ca600480360360408110156104eb57600080fd5b506001600160a01b038135169060200135610dd9565b610350610ded565b6102e6610dfc565b610346610e02565b6102e66004803603604081101561052f57600080fd5b506001600160a01b0381358116916020013516610e7a565b6102e6610ea5565b6102e6610eab565b6102e6610eb1565b6103466004803603602081101561057557600080fd5b50356001600160a01b0316610eb7565b6102e6610fb9565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b505050505090505b90565b6000610638610631610fbf565b8484610fc3565b50600192915050565b600e5481565b60035490565b600061065a8484846110af565b6106ca84610666610fbf565b6106c585604051806060016040528060288152602001611691602891396001600160a01b038a166000908152600260205260408120906106a4610fbf565b6001600160a01b03168152602081019190915260400160002054919061120c565b610fc3565b5060019392505050565b60085481565b6106e26112a3565b61071d5760405162461bcd60e51b81526004018080602001828103825260318152602001806116606031913960400191505060405180910390fd5b6011546001600160a01b03163314610775576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b6000600a54116107cc576040805162461bcd60e51b815260206004820152601960248201527f446576656c6f706d656e74205265736572766520456d70747900000000000000604482015290519081900360640190fd5b60115469043c33c1937564800000906107ee906001600160a01b0316826112e5565b42600855600a546107ff90826113d7565b600a5550565b6010546001600160a01b031681565b60065460ff1690565b60075481565b6011546001600160a01b031681565b600061063861083f610fbf565b846106c58560026000610850610fbf565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611434565b610888610fbf565b6001600160a01b0316610899610aac565b6001600160a01b0316146108e2576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b600d54600e546108f29083611434565b111561093a576040805162461bcd60e51b81526020600482015260126024820152714d617820537570706c79204578636565647360701b604482015290519081900360640190fd5b61094482826112e5565b600e546109519082611434565b600e555050565b600b5481565b6013546001600160a01b031633146109b6576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601354600c546109cf916001600160a01b0316906112e5565b6000600c55565b6001600160a01b031660009081526001602052604090205490565b6109f9610fbf565b6001600160a01b0316610a0a610aac565b6001600160a01b031614610a53576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6012546001600160a01b031681565b6000546001600160a01b031690565b6010546001600160a01b03163314610b13576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601054600954610b2c916001600160a01b0316906112e5565b6000600955565b610b3b610fbf565b6001600160a01b0316610b4c610aac565b6001600160a01b031614610b95576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b3063a9059cbb610ba3610aac565b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610bea57600080fd5b505af1158015610bfe573d6000803e3d6000fd5b505050506040513d6020811015610c1457600080fd5b505050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106195780601f106105ee57610100808354040283529160200191610619565b6013546001600160a01b031681565b610c91610fbf565b6001600160a01b0316610ca2610aac565b6001600160a01b031614610ceb576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b610cf58282611495565b5050565b6014546001600160a01b03163314610d51576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601454600f54610d6a916001600160a01b0316906112e5565b6000600f55565b6000610638610d7e610fbf565b846106c5856040518060600160405280602581526020016117436025913960026000610da8610fbf565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061120c565b6000610638610de6610fbf565b84846110af565b6014546001600160a01b031681565b600f5481565b6012546001600160a01b03163314610e5a576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601254600b54610e73916001600160a01b0316906112e5565b6000600b55565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600d5481565b600c5481565b600a5481565b610ebf610fbf565b6001600160a01b0316610ed0610aac565b6001600160a01b031614610f19576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b6001600160a01b038116610f5e5760405162461bcd60e51b81526004018080602001828103825260268152602001806115f26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60095481565b3390565b6001600160a01b0383166110085760405162461bcd60e51b815260040180806020018281038252602481526020018061171f6024913960400191505060405180910390fd5b6001600160a01b03821661104d5760405162461bcd60e51b81526004018080602001828103825260228152602001806116186022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166110f45760405162461bcd60e51b81526004018080602001828103825260258152602001806116fa6025913960400191505060405180910390fd5b6001600160a01b0382166111395760405162461bcd60e51b81526004018080602001828103825260238152602001806115ad6023913960400191505060405180910390fd5b611144838383610c14565b6111818160405180606001604052806026815260200161163a602691396001600160a01b038616600090815260016020526040902054919061120c565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546111b09082611434565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561129b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611260578181015183820152602001611248565b50505050905090810190601f16801561128d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000600854600014156112b857506001610621565b60006112c660085442611591565b9050601e8111156112db576001915050610621565b6000915050610621565b6001600160a01b038216611340576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61134c60008383610c14565b6003546113599082611434565b6003556001600160a01b03821660009081526001602052604090205461137f9082611434565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008282111561142e576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561148e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0382166114da5760405162461bcd60e51b81526004018080602001828103825260218152602001806116d96021913960400191505060405180910390fd5b6114e682600083610c14565b611523816040518060600160405280602281526020016115d0602291396001600160a01b038516600090815260016020526040902054919061120c565b6001600160a01b03831660009081526001602052604090205560035461154990826113d7565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000818311156115a057600080fd5b5062015180919003049056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636531206d6f6e746820686173206e6f742070617373656420706c6561736520747279206166746572206f6e65206d6f6e746845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122031a3cb69f47f51885a90ff30eac44f5e6958c1814992dd9f0d4db1be42fd9dd064736f6c634300060c0033000000000000000000000000b469a455b5b356a7dd29143c3c03f81d73e1d6d60000000000000000000000006a2316ed9a4c9b83c019c77f9c39deb93d334234000000000000000000000000e24d3e354373fa9b1f32f0951a733bae9929165f00000000000000000000000091f79ab6d8c6115f132d0f3fa3d870298d277ec90000000000000000000000007f77d5aecc16eabf1f2b831bc68b2c0d546ac001
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061021c5760003560e01c80638da5cb5b11610125578063bd650a5f116100ad578063dfc2c53c1161007c578063dfc2c53c14610547578063e81945ad1461054f578063f0153af914610557578063f2fde38b1461055f578063ffa35691146105855761021c565b8063bd650a5f14610501578063cea4e87514610509578063d452067814610511578063dd62ed3e146105195761021c565b8063962dfc75116100f4578063962dfc751461046d5780639dc29fac14610475578063a30542c5146104a1578063a457c2d7146104a9578063a9059cbb146104d55761021c565b80638da5cb5b146104385780638e8eb0c5146104405780638f135b3a1461044857806395d89b41146104655761021c565b806332cb6b0c116101a85780636b7b9a94116101775780636b7b9a94146103f25780636e686a7d146103fa57806370a0823114610402578063715018a61461042857806385320beb146104305761021c565b806332cb6b0c1461038a57806337e294d514610392578063395093511461039a57806340c10f19146103c65761021c565b806323b872dd116101ef57806323b872dd1461030057806325558e5b146103365780632af5356a1461033e57806330f8d95a14610348578063313ce5671461036c5761021c565b806306fdde0314610221578063095ea7b31461029e57806314e6e7d5146102de57806318160ddd146102f8575b600080fd5b61022961058d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561026357818101518382015260200161024b565b50505050905090810190601f1680156102905780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102ca600480360360408110156102b457600080fd5b506001600160a01b038135169060200135610624565b604080519115158252519081900360200190f35b6102e6610641565b60408051918252519081900360200190f35b6102e6610647565b6102ca6004803603606081101561031657600080fd5b506001600160a01b0381358116916020810135909116906040013561064d565b6102e66106d4565b6103466106da565b005b610350610805565b604080516001600160a01b039092168252519081900360200190f35b610374610814565b6040805160ff9092168252519081900360200190f35b6102e661081d565b610350610823565b6102ca600480360360408110156103b057600080fd5b506001600160a01b038135169060200135610832565b610346600480360360408110156103dc57600080fd5b506001600160a01b038135169060200135610880565b6102e6610958565b61034661095e565b6102e66004803603602081101561041857600080fd5b50356001600160a01b03166109d6565b6103466109f1565b610350610a9d565b610350610aac565b610346610abb565b6103466004803603602081101561045e57600080fd5b5035610b33565b610229610c19565b610350610c7a565b6103466004803603604081101561048b57600080fd5b506001600160a01b038135169060200135610c89565b610346610cf9565b6102ca600480360360408110156104bf57600080fd5b506001600160a01b038135169060200135610d71565b6102ca600480360360408110156104eb57600080fd5b506001600160a01b038135169060200135610dd9565b610350610ded565b6102e6610dfc565b610346610e02565b6102e66004803603604081101561052f57600080fd5b506001600160a01b0381358116916020013516610e7a565b6102e6610ea5565b6102e6610eab565b6102e6610eb1565b6103466004803603602081101561057557600080fd5b50356001600160a01b0316610eb7565b6102e6610fb9565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106195780601f106105ee57610100808354040283529160200191610619565b820191906000526020600020905b8154815290600101906020018083116105fc57829003601f168201915b505050505090505b90565b6000610638610631610fbf565b8484610fc3565b50600192915050565b600e5481565b60035490565b600061065a8484846110af565b6106ca84610666610fbf565b6106c585604051806060016040528060288152602001611691602891396001600160a01b038a166000908152600260205260408120906106a4610fbf565b6001600160a01b03168152602081019190915260400160002054919061120c565b610fc3565b5060019392505050565b60085481565b6106e26112a3565b61071d5760405162461bcd60e51b81526004018080602001828103825260318152602001806116606031913960400191505060405180910390fd5b6011546001600160a01b03163314610775576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b6000600a54116107cc576040805162461bcd60e51b815260206004820152601960248201527f446576656c6f706d656e74205265736572766520456d70747900000000000000604482015290519081900360640190fd5b60115469043c33c1937564800000906107ee906001600160a01b0316826112e5565b42600855600a546107ff90826113d7565b600a5550565b6010546001600160a01b031681565b60065460ff1690565b60075481565b6011546001600160a01b031681565b600061063861083f610fbf565b846106c58560026000610850610fbf565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611434565b610888610fbf565b6001600160a01b0316610899610aac565b6001600160a01b0316146108e2576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b600d54600e546108f29083611434565b111561093a576040805162461bcd60e51b81526020600482015260126024820152714d617820537570706c79204578636565647360701b604482015290519081900360640190fd5b61094482826112e5565b600e546109519082611434565b600e555050565b600b5481565b6013546001600160a01b031633146109b6576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601354600c546109cf916001600160a01b0316906112e5565b6000600c55565b6001600160a01b031660009081526001602052604090205490565b6109f9610fbf565b6001600160a01b0316610a0a610aac565b6001600160a01b031614610a53576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6012546001600160a01b031681565b6000546001600160a01b031690565b6010546001600160a01b03163314610b13576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601054600954610b2c916001600160a01b0316906112e5565b6000600955565b610b3b610fbf565b6001600160a01b0316610b4c610aac565b6001600160a01b031614610b95576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b3063a9059cbb610ba3610aac565b836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610bea57600080fd5b505af1158015610bfe573d6000803e3d6000fd5b505050506040513d6020811015610c1457600080fd5b505050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106195780601f106105ee57610100808354040283529160200191610619565b6013546001600160a01b031681565b610c91610fbf565b6001600160a01b0316610ca2610aac565b6001600160a01b031614610ceb576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b610cf58282611495565b5050565b6014546001600160a01b03163314610d51576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601454600f54610d6a916001600160a01b0316906112e5565b6000600f55565b6000610638610d7e610fbf565b846106c5856040518060600160405280602581526020016117436025913960026000610da8610fbf565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061120c565b6000610638610de6610fbf565b84846110af565b6014546001600160a01b031681565b600f5481565b6012546001600160a01b03163314610e5a576040805162461bcd60e51b8152602060048201526016602482015275165bdd48185c99481b9bdd08185d5d1a1bdc9a5e995960521b604482015290519081900360640190fd5b601254600b54610e73916001600160a01b0316906112e5565b6000600b55565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b600d5481565b600c5481565b600a5481565b610ebf610fbf565b6001600160a01b0316610ed0610aac565b6001600160a01b031614610f19576040805162461bcd60e51b815260206004820181905260248201526000805160206116b9833981519152604482015290519081900360640190fd5b6001600160a01b038116610f5e5760405162461bcd60e51b81526004018080602001828103825260268152602001806115f26026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60095481565b3390565b6001600160a01b0383166110085760405162461bcd60e51b815260040180806020018281038252602481526020018061171f6024913960400191505060405180910390fd5b6001600160a01b03821661104d5760405162461bcd60e51b81526004018080602001828103825260228152602001806116186022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b0383166110f45760405162461bcd60e51b81526004018080602001828103825260258152602001806116fa6025913960400191505060405180910390fd5b6001600160a01b0382166111395760405162461bcd60e51b81526004018080602001828103825260238152602001806115ad6023913960400191505060405180910390fd5b611144838383610c14565b6111818160405180606001604052806026815260200161163a602691396001600160a01b038616600090815260016020526040902054919061120c565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546111b09082611434565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561129b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611260578181015183820152602001611248565b50505050905090810190601f16801561128d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000600854600014156112b857506001610621565b60006112c660085442611591565b9050601e8111156112db576001915050610621565b6000915050610621565b6001600160a01b038216611340576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61134c60008383610c14565b6003546113599082611434565b6003556001600160a01b03821660009081526001602052604090205461137f9082611434565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008282111561142e576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008282018381101561148e576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b0382166114da5760405162461bcd60e51b81526004018080602001828103825260218152602001806116d96021913960400191505060405180910390fd5b6114e682600083610c14565b611523816040518060600160405280602281526020016115d0602291396001600160a01b038516600090815260016020526040902054919061120c565b6001600160a01b03831660009081526001602052604090205560035461154990826113d7565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6000818311156115a057600080fd5b5062015180919003049056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636531206d6f6e746820686173206e6f742070617373656420706c6561736520747279206166746572206f6e65206d6f6e746845524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122031a3cb69f47f51885a90ff30eac44f5e6958c1814992dd9f0d4db1be42fd9dd064736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b469a455b5b356a7dd29143c3c03f81d73e1d6d60000000000000000000000006a2316ed9a4c9b83c019c77f9c39deb93d334234000000000000000000000000e24d3e354373fa9b1f32f0951a733bae9929165f00000000000000000000000091f79ab6d8c6115f132d0f3fa3d870298d277ec90000000000000000000000007f77d5aecc16eabf1f2b831bc68b2c0d546ac001
-----Decoded View---------------
Arg [0] : stakingWallet (address): 0xb469A455B5b356A7dd29143c3c03f81D73E1D6d6
Arg [1] : teamWallet (address): 0x6a2316ED9a4C9B83c019C77f9C39deB93d334234
Arg [2] : developmentWallet (address): 0xE24D3e354373Fa9B1f32F0951A733BaE9929165F
Arg [3] : marketingWallet (address): 0x91F79ab6d8c6115f132d0F3fA3d870298d277EC9
Arg [4] : partnershipIntegrationWallet (address): 0x7f77d5aEcC16Eabf1F2B831BC68b2c0d546Ac001
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000b469a455b5b356a7dd29143c3c03f81d73e1d6d6
Arg [1] : 0000000000000000000000006a2316ed9a4c9b83c019c77f9c39deb93d334234
Arg [2] : 000000000000000000000000e24d3e354373fa9b1f32f0951a733bae9929165f
Arg [3] : 00000000000000000000000091f79ab6d8c6115f132d0f3fa3d870298d277ec9
Arg [4] : 0000000000000000000000007f77d5aecc16eabf1f2b831bc68b2c0d546ac001
Deployed Bytecode Sourcemap
45601:3902:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13458:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15604:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15604:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;46170:41;;;:::i;:::-;;;;;;;;;;;;;;;;14557:108;;;:::i;16255:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16255:321:0;;;;;;;;;;;;;;;;;:::i;45786:44::-;;;:::i;46885:499::-;;;:::i;:::-;;46301:29;;;:::i;:::-;;;;-1:-1:-1;;;;;46301:29:0;;;;;;;;;;;;;;14401:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45733:46;;;:::i;46337:26::-;;;:::i;16985:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;16985:218:0;;;;;;;;:::i;48966:264::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48966:264:0;;;;;;;;:::i;45983:53::-;;;:::i;47630:231::-;;;:::i;14728:127::-;;;;;;;;;;;;;;;;-1:-1:-1;14728:127:0;-1:-1:-1;;;;;14728:127:0;;:::i;24091:148::-;;;:::i;46370:33::-;;;:::i;23440:87::-;;;:::i;48167:193::-;;;:::i;49360:140::-;;;;;;;;;;;;;;;;-1:-1:-1;49360:140:0;;:::i;13668:95::-;;;:::i;46410:31::-;;;:::i;49247:105::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49247:105:0;;;;;;;;:::i;47880:279::-;;;:::i;17706:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;17706:269:0;;;;;;;;:::i;15068:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15068:175:0;;;;;;;;:::i;46448:44::-;;;:::i;46218:66::-;;;:::i;47394:228::-;;;:::i;15306:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15306:151:0;;;;;;;;;;:::i;46113:50::-;;;:::i;46043:63::-;;;:::i;45918:58::-;;;:::i;24394:244::-;;;;;;;;;;;;;;;;-1:-1:-1;24394:244:0;-1:-1:-1;;;;;24394:244:0;;:::i;45861:50::-;;;:::i;13458:91::-;13536:5;13529:12;;;;;;;;-1:-1:-1;;13529:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13503:13;;13529:12;;13536:5;;13529:12;;13536:5;13529:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13458:91;;:::o;15604:169::-;15687:4;15704:39;15713:12;:10;:12::i;:::-;15727:7;15736:6;15704:8;:39::i;:::-;-1:-1:-1;15761:4:0;15604:169;;;;:::o;46170:41::-;;;;:::o;14557:108::-;14645:12;;14557:108;:::o;16255:321::-;16361:4;16378:36;16388:6;16396:9;16407:6;16378:9;:36::i;:::-;16425:121;16434:6;16442:12;:10;:12::i;:::-;16456:89;16494:6;16456:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16456:19:0;;;;;;:11;:19;;;;;;16476:12;:10;:12::i;:::-;-1:-1:-1;;;;;16456:33:0;;;;;;;;;;;;-1:-1:-1;16456:33:0;;;:89;:37;:89::i;:::-;16425:8;:121::i;:::-;-1:-1:-1;16564:4:0;16255:321;;;;;:::o;45786:44::-;;;;:::o;46885:499::-;46936:37;:35;:37::i;:::-;46928:98;;;;-1:-1:-1;;;46928:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47061:11;;-1:-1:-1;;;;;47061:11:0;47047:10;:25;47039:59;;;;;-1:-1:-1;;;47039:59:0;;;;;;;;;;;;-1:-1:-1;;;47039:59:0;;;;;;;;;;;;;;;47143:1;47117:24;;:27;47109:64;;;;;-1:-1:-1;;;47109:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47233:11;;47202:14;;47227:26;;-1:-1:-1;;;;;47233:11:0;47202:14;47227:5;:26::i;:::-;47299:3;47264:32;:38;47340:24;;:36;;47369:6;47340:28;:36::i;:::-;47313:24;:63;-1:-1:-1;46885:499:0:o;46301:29::-;;;-1:-1:-1;;;;;46301:29:0;;:::o;14401:91::-;14475:9;;;;14401:91;:::o;45733:46::-;;;;:::o;46337:26::-;;;-1:-1:-1;;;;;46337:26:0;;:::o;16985:218::-;17073:4;17090:83;17099:12;:10;:12::i;:::-;17113:7;17122:50;17161:10;17122:11;:25;17134:12;:10;:12::i;:::-;-1:-1:-1;;;;;17122:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17122:25:0;;;:34;;;;;;;;;;;:38;:50::i;48966:264::-;23671:12;:10;:12::i;:::-;-1:-1:-1;;;;;23660:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23660:23:0;;23652:68;;;;;-1:-1:-1;;;23652:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23652:68:0;;;;;;;;;;;;;;;49084:15:::1;::::0;49049:21:::1;::::0;:33:::1;::::0;49075:6;49049:25:::1;:33::i;:::-;:50;;49041:80;;;::::0;;-1:-1:-1;;;49041:80:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;49041:80:0;;;;;;;;;;;;;::::1;;49132:22;49138:7;49147:6;49132:5;:22::i;:::-;49189:21;::::0;:33:::1;::::0;49215:6;49189:25:::1;:33::i;:::-;49165:21;:57:::0;-1:-1:-1;;48966:264:0:o;45983:53::-;;;;:::o;47630:231::-;47700:16;;-1:-1:-1;;;;;47700:16:0;47686:10;:30;47678:64;;;;;-1:-1:-1;;;47678:64:0;;;;;;;;;;;;-1:-1:-1;;;47678:64:0;;;;;;;;;;;;;;;47759:16;;47777:29;;47753:54;;-1:-1:-1;;;;;47759:16:0;;47753:5;:54::i;:::-;47850:1;47818:29;:33;47630:231::o;14728:127::-;-1:-1:-1;;;;;14829:18:0;14802:7;14829:18;;;:9;:18;;;;;;;14728:127::o;24091:148::-;23671:12;:10;:12::i;:::-;-1:-1:-1;;;;;23660:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23660:23:0;;23652:68;;;;;-1:-1:-1;;;23652:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23652:68:0;;;;;;;;;;;;;;;24198:1:::1;24182:6:::0;;24161:40:::1;::::0;-1:-1:-1;;;;;24182:6:0;;::::1;::::0;24161:40:::1;::::0;24198:1;;24161:40:::1;24229:1;24212:19:::0;;-1:-1:-1;;;;;;24212:19:0::1;::::0;;24091:148::o;46370:33::-;;;-1:-1:-1;;;;;46370:33:0;;:::o;23440:87::-;23486:7;23513:6;-1:-1:-1;;;;;23513:6:0;23440:87;:::o;48167:193::-;48235:14;;-1:-1:-1;;;;;48235:14:0;48221:10;:28;48213:62;;;;;-1:-1:-1;;;48213:62:0;;;;;;;;;;;;-1:-1:-1;;;48213:62:0;;;;;;;;;;;;;;;48292:14;;48308:15;;48286:38;;-1:-1:-1;;;;;48292:14:0;;48286:5;:38::i;:::-;48351:1;48335:15;:17;48167:193::o;49360:140::-;23671:12;:10;:12::i;:::-;-1:-1:-1;;;;;23660:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23660:23:0;;23652:68;;;;;-1:-1:-1;;;23652:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23652:68:0;;;;;;;;;;;;;;;49455:4:::1;49440:30;49471:7;:5;:7::i;:::-;49480:11;49440:52;;;;;;;;;;;;;-1:-1:-1::0;;;;;49440:52:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;49360:140:0:o;13668:95::-;13748:7;13741:14;;;;;;;;-1:-1:-1;;13741:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13715:13;;13741:14;;13748:7;;13741:14;;13748:7;13741:14;;;;;;;;;;;;;;;;;;;;;;;;46410:31;;;-1:-1:-1;;;;;46410:31:0;;:::o;49247:105::-;23671:12;:10;:12::i;:::-;-1:-1:-1;;;;;23660:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23660:23:0;;23652:68;;;;;-1:-1:-1;;;23652:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23652:68:0;;;;;;;;;;;;;;;49322:22:::1;49328:7;49337:6;49322:5;:22::i;:::-;49247:105:::0;;:::o;47880:279::-;47966:29;;-1:-1:-1;;;;;47966:29:0;47952:10;:43;47944:77;;;;;-1:-1:-1;;;47944:77:0;;;;;;;;;;;;-1:-1:-1;;;47944:77:0;;;;;;;;;;;;;;;48038:29;;48069:32;;48032:70;;-1:-1:-1;;;;;48038:29:0;;48032:5;:70::i;:::-;48148:1;48113:32;:36;47880:279::o;17706:269::-;17799:4;17816:129;17825:12;:10;:12::i;:::-;17839:7;17848:96;17887:15;17848:96;;;;;;;;;;;;;;;;;:11;:25;17860:12;:10;:12::i;:::-;-1:-1:-1;;;;;17848:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;17848:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;15068:175::-;15154:4;15171:42;15181:12;:10;:12::i;:::-;15195:9;15206:6;15171:9;:42::i;46448:44::-;;;-1:-1:-1;;;;;46448:44:0;;:::o;46218:66::-;;;;:::o;47394:228::-;47479:18;;-1:-1:-1;;;;;47479:18:0;47465:10;:32;47457:66;;;;;-1:-1:-1;;;47457:66:0;;;;;;;;;;;;-1:-1:-1;;;47457:66:0;;;;;;;;;;;;;;;47540:18;;47560:19;;47534:46;;-1:-1:-1;;;;;47540:18:0;;47534:5;:46::i;:::-;47613:1;47591:19;:23;47394:228::o;15306:151::-;-1:-1:-1;;;;;15422:18:0;;;15395:7;15422:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15306:151::o;46113:50::-;;;;:::o;46043:63::-;;;;:::o;45918:58::-;;;;:::o;24394:244::-;23671:12;:10;:12::i;:::-;-1:-1:-1;;;;;23660:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;23660:23:0;;23652:68;;;;;-1:-1:-1;;;23652:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;23652:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;24483:22:0;::::1;24475:73;;;;-1:-1:-1::0;;;24475:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24585:6;::::0;;24564:38:::1;::::0;-1:-1:-1;;;;;24564:38:0;;::::1;::::0;24585:6;::::1;::::0;24564:38:::1;::::0;::::1;24613:6;:17:::0;;-1:-1:-1;;;;;;24613:17:0::1;-1:-1:-1::0;;;;;24613:17:0;;;::::1;::::0;;;::::1;::::0;;24394:244::o;45861:50::-;;;;:::o;3476:106::-;3564:10;3476:106;:::o;20853:346::-;-1:-1:-1;;;;;20955:19:0;;20947:68;;;;-1:-1:-1;;;20947:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21034:21:0;;21026:68;;;;-1:-1:-1;;;21026:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;21107:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;21159:32;;;;;;;;;;;;;;;;;20853:346;;;:::o;18465:539::-;-1:-1:-1;;;;;18571:20:0;;18563:70;;;;-1:-1:-1;;;18563:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18652:23:0;;18644:71;;;;-1:-1:-1;;;18644:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18728:47;18749:6;18757:9;18768:6;18728:20;:47::i;:::-;18808:71;18830:6;18808:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18808:17:0;;;;;;:9;:17;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;18788:17:0;;;;;;;:9;:17;;;;;;:91;;;;18913:20;;;;;;;:32;;18938:6;18913:24;:32::i;:::-;-1:-1:-1;;;;;18890:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;18961:35;;;;;;;18890:20;;18961:35;;;;;;;;;;;;;18465:539;;;:::o;9452:166::-;9538:7;9574:12;9566:6;;;;9558:29;;;;-1:-1:-1;;;9558:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;9605:5:0;;;9452:166::o;46505:368::-;46568:4;46587:32;;46622:1;46587:36;46584:78;;;-1:-1:-1;46646:4:0;46639:11;;46584:78;46672:10;46685:75;46722:32;;46756:3;46685:36;:75::i;:::-;46672:88;;46782:2;46776:5;:8;46773:93;;;46807:4;46800:11;;;;;46773:93;46849:5;46842:12;;;;;19286:378;-1:-1:-1;;;;;19370:21:0;;19362:65;;;;;-1:-1:-1;;;19362:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19440:49;19469:1;19473:7;19482:6;19440:20;:49::i;:::-;19517:12;;:24;;19534:6;19517:16;:24::i;:::-;19502:12;:39;-1:-1:-1;;;;;19573:18:0;;;;;;:9;:18;;;;;;:30;;19596:6;19573:22;:30::i;:::-;-1:-1:-1;;;;;19552:18:0;;;;;;:9;:18;;;;;;;;:51;;;;19619:37;;;;;;;19552:18;;;;19619:37;;;;;;;;;;19286:378;;:::o;7087:158::-;7145:7;7178:1;7173;:6;;7165:49;;;;;-1:-1:-1;;;7165:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7232:5:0;;;7087:158::o;6625:179::-;6683:7;6715:5;;;6739:6;;;;6731:46;;;;;-1:-1:-1;;;6731:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6795:1;6625:179;-1:-1:-1;;;6625:179:0:o;19997:418::-;-1:-1:-1;;;;;20081:21:0;;20073:67;;;;-1:-1:-1;;;20073:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20153:49;20174:7;20191:1;20195:6;20153:20;:49::i;:::-;20236:68;20259:6;20236:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20236:18:0;;;;;;:9;:18;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;20215:18:0;;;;;;:9;:18;;;;;:89;20330:12;;:24;;20347:6;20330:16;:24::i;:::-;20315:12;:39;20370:37;;;;;;;;20396:1;;-1:-1:-1;;;;;20370:37:0;;;;;;;;;;;;19997:418;;:::o;37425:213::-;37504:10;37552:11;37535:13;:28;;37527:37;;;;;;-1:-1:-1;25706:12:0;37584:27;;;37583:47;;37425:213::o
Swarm Source
ipfs://31a3cb69f47f51885a90ff30eac44f5e6958c1814992dd9f0d4db1be42fd9dd0
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.