Overview
Max Total Supply
450,000,000 ATE
Holders
193 (0.00%)
Market
Price
$0.0008 @ 0.000000 ETH
Onchain Market Cap
-
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.18929931 ATEValue
$0.00 ( ~0 ETH) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Token
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes calldata) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
pragma solidity ^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 () {
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;
}
}
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*/
interface IERC20Permit {
/**
* @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
* given ``owner``'s signed approval.
*
* IMPORTANT: The same issues {IERC20-approve} has related to transaction
* ordering also apply here.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `deadline` must be a timestamp in the future.
* - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
* over the EIP712-formatted function arguments.
* - the signature must use ``owner``'s current nonce (see {nonces}).
*
* For more information on the signature format, see the
* https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
* section].
*/
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;
/**
* @dev Returns the current nonce for `owner`. This value must be
* included whenever a signature is generated for {permit}.
*
* Every successful call to {permit} increases ``owner``'s nonce by one. This
* prevents a signature from being used multiple times.
*/
function nonces(address owner) external view returns (uint256);
/**
* @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view returns (bytes32);
}
pragma solidity ^0.8.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
function totalSupply() external view returns (uint256);
/**
* @dev Returns the amount of tokens owned by `account`.
*/
function balanceOf(address account) external view returns (uint256);
/**
* @dev Moves `amount` tokens from the caller's account to `recipient`.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transfer(address recipient, uint256 amount) external returns (bool);
/**
* @dev Returns the remaining number of tokens that `spender` will be
* allowed to spend on behalf of `owner` through {transferFrom}. This is
* zero by default.
*
* This value changes when {approve} or {transferFrom} are called.
*/
function allowance(address owner, address spender) external view returns (uint256);
/**
* @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* IMPORTANT: Beware that changing an allowance with this method brings the risk
* that someone may use both the old and the new allowance by unfortunate
* transaction ordering. One possible solution to mitigate this race
* condition is to first reduce the spender's allowance to 0 and set the
* desired value afterwards:
* https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
*
* Emits an {Approval} event.
*/
function approve(address spender, uint256 amount) external returns (bool);
/**
* @dev Moves `amount` tokens from `sender` to `recipient` using the
* allowance mechanism. `amount` is then deducted from the caller's
* allowance.
*
* Returns a boolean value indicating whether the operation succeeded.
*
* Emits a {Transfer} event.
*/
function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
/**
* @dev Emitted when `value` tokens are moved from one account (`from`) to
* another (`to`).
*
* Note that `value` may be zero.
*/
event Transfer(address indexed from, address indexed to, uint256 value);
/**
* @dev Emitted when the allowance of a `spender` for an `owner` is set by
* a call to {approve}. `value` is the new allowance.
*/
event Approval(address indexed owner, address indexed spender, uint256 value);
}
pragma solidity ^0.8.0;
/**
* @dev Interface for the optional metadata functions from the ERC20 standard.
*
* _Available since v4.1._
*/
interface IERC20Metadata is IERC20 {
/**
* @dev Returns the name of the token.
*/
function name() external view returns (string memory);
/**
* @dev Returns the symbol of the token.
*/
function symbol() external view returns (string memory);
/**
* @dev Returns the decimals places of the token.
*/
function decimals() external view returns (uint8);
}
pragma solidity ^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, IERC20Metadata {
mapping (address => uint256) private _balances;
mapping (address => mapping (address => uint256)) private _allowances;
uint256 private _totalSupply;
string private _name;
string private _symbol;
/**
* @dev Sets the values for {name} and {symbol}.
*
* The default value of {decimals} is 18. To select a different value for
* {decimals} you should overload it.
*
* All two of these values are immutable: they can only be set once during
* construction.
*/
constructor (string memory name_, string memory symbol_) {
_name = name_;
_symbol = symbol_;
}
/**
* @dev Returns the name of the token.
*/
function name() public view virtual override returns (string memory) {
return _name;
}
/**
* @dev Returns the symbol of the token, usually a shorter version of the
* name.
*/
function symbol() public view virtual override returns (string memory) {
return _symbol;
}
/**
* @dev Returns the number of decimals used to get its user representation.
* For example, if `decimals` equals `2`, a balance of `505` tokens should
* be displayed to a user as `5,05` (`505 / 10 ** 2`).
*
* Tokens usually opt for a value of 18, imitating the relationship between
* Ether and Wei. This is the value {ERC20} uses, unless this function is
* overridden;
*
* NOTE: This information is only used for _display_ purposes: it in
* no way affects any of the arithmetic of the contract, including
* {IERC20-balanceOf} and {IERC20-transfer}.
*/
function decimals() public view virtual override returns (uint8) {
return 18;
}
/**
* @dev See {IERC20-totalSupply}.
*/
function totalSupply() public view virtual override returns (uint256) {
return _totalSupply;
}
/**
* @dev See {IERC20-balanceOf}.
*/
function balanceOf(address account) public view virtual override returns (uint256) {
return _balances[account];
}
/**
* @dev See {IERC20-transfer}.
*
* Requirements:
*
* - `recipient` cannot be the zero address.
* - the caller must have a balance of at least `amount`.
*/
function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(_msgSender(), recipient, amount);
return true;
}
/**
* @dev See {IERC20-allowance}.
*/
function allowance(address owner, address spender) public view virtual override returns (uint256) {
return _allowances[owner][spender];
}
/**
* @dev See {IERC20-approve}.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function approve(address spender, uint256 amount) public virtual override returns (bool) {
_approve(_msgSender(), spender, amount);
return true;
}
/**
* @dev See {IERC20-transferFrom}.
*
* Emits an {Approval} event indicating the updated allowance. This is not
* required by the EIP. See the note at the beginning of {ERC20}.
*
* Requirements:
*
* - `sender` and `recipient` cannot be the zero address.
* - `sender` must have a balance of at least `amount`.
* - the caller must have allowance for ``sender``'s tokens of at least
* `amount`.
*/
function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
_transfer(sender, recipient, amount);
uint256 currentAllowance = _allowances[sender][_msgSender()];
require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
unchecked {
_approve(sender, _msgSender(), currentAllowance - amount);
}
return true;
}
/**
* @dev Atomically increases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
*/
function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
_approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
return true;
}
/**
* @dev Atomically decreases the allowance granted to `spender` by the caller.
*
* This is an alternative to {approve} that can be used as a mitigation for
* problems described in {IERC20-approve}.
*
* Emits an {Approval} event indicating the updated allowance.
*
* Requirements:
*
* - `spender` cannot be the zero address.
* - `spender` must have allowance for the caller of at least
* `subtractedValue`.
*/
function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
uint256 currentAllowance = _allowances[_msgSender()][spender];
require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
unchecked {
_approve(_msgSender(), spender, currentAllowance - subtractedValue);
}
return true;
}
/**
* @dev Moves 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);
uint256 senderBalance = _balances[sender];
require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
unchecked {
_balances[sender] = senderBalance - amount;
}
_balances[recipient] += amount;
emit Transfer(sender, recipient, amount);
}
/** @dev Creates `amount` tokens and assigns them to `account`, increasing
* the total supply.
*
* Emits a {Transfer} event with `from` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
*/
function _mint(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: mint to the zero address");
_beforeTokenTransfer(address(0), account, amount);
_totalSupply += amount;
_balances[account] += amount;
emit Transfer(address(0), account, amount);
}
/**
* @dev Destroys `amount` tokens from `account`, reducing the
* total supply.
*
* Emits a {Transfer} event with `to` set to the zero address.
*
* Requirements:
*
* - `account` cannot be the zero address.
* - `account` must have at least `amount` tokens.
*/
function _burn(address account, uint256 amount) internal virtual {
require(account != address(0), "ERC20: burn from the zero address");
_beforeTokenTransfer(account, address(0), amount);
uint256 accountBalance = _balances[account];
require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
unchecked {
_balances[account] = accountBalance - amount;
}
_totalSupply -= amount;
emit Transfer(account, address(0), amount);
}
/**
* @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
*
* This internal function is equivalent to `approve`, and can be used to
* e.g. set automatic allowances for certain subsystems, etc.
*
* Emits an {Approval} event.
*
* Requirements:
*
* - `owner` cannot be the zero address.
* - `spender` cannot be the zero address.
*/
function _approve(address owner, address spender, uint256 amount) internal virtual {
require(owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[owner][spender] = amount;
emit Approval(owner, spender, amount);
}
/**
* @dev Hook that is called before any transfer of tokens. This includes
* minting and burning.
*
* Calling conditions:
*
* - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
* will be 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 { }
}
pragma solidity ^0.8.0;
/**
* @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
*
* These functions can be used to verify that a message was signed by the holder
* of the private keys of a given address.
*/
library ECDSA {
/**
* @dev Returns the address that signed a hashed message (`hash`) with
* `signature`. This address can then be used for verification purposes.
*
* The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
* this function rejects them by requiring the `s` value to be in the lower
* half order, and the `v` value to be either 27 or 28.
*
* IMPORTANT: `hash` _must_ be the result of a hash operation for the
* verification to be secure: it is possible to craft signatures that
* recover to arbitrary addresses for non-hashed data. A safe way to ensure
* this is by receiving a hash of the original message (which may otherwise
* be too long), and then calling {toEthSignedMessageHash} on it.
*/
function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
// Divide the signature in r, s and v variables
bytes32 r;
bytes32 s;
uint8 v;
// Check the signature length
// - case 65: r,s,v signature (standard)
// - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
if (signature.length == 65) {
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
// solhint-disable-next-line no-inline-assembly
assembly {
r := mload(add(signature, 0x20))
s := mload(add(signature, 0x40))
v := byte(0, mload(add(signature, 0x60)))
}
} else if (signature.length == 64) {
// ecrecover takes the signature parameters, and the only way to get them
// currently is to use assembly.
// solhint-disable-next-line no-inline-assembly
assembly {
let vs := mload(add(signature, 0x40))
r := mload(add(signature, 0x20))
s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
v := add(shr(255, vs), 27)
}
} else {
revert("ECDSA: invalid signature length");
}
return recover(hash, v, r, s);
}
/**
* @dev Overload of {ECDSA-recover} that receives the `v`,
* `r` and `s` signature fields separately.
*/
function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
// EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
// unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
// the valid range for s in (281): 0 < s < secp256k1n ÷ 2 + 1, and for v in (282): v ∈ {27, 28}. Most
// signatures from current libraries generate a unique signature with an s-value in the lower half order.
//
// If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
// with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
// vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
// these malleable signatures as well.
require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0, "ECDSA: invalid signature 's' value");
require(v == 27 || v == 28, "ECDSA: invalid signature 'v' value");
// If the signature is valid (and not malleable), return the signer address
address signer = ecrecover(hash, v, r, s);
require(signer != address(0), "ECDSA: invalid signature");
return signer;
}
/**
* @dev Returns an Ethereum Signed Message, created from a `hash`. This
* produces hash corresponding to the one signed with the
* https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
* JSON-RPC method as part of EIP-191.
*
* See {recover}.
*/
function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
// 32 is the length in bytes of hash,
// enforced by the type signature above
return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
}
/**
* @dev Returns an Ethereum Signed Typed Data, created from a
* `domainSeparator` and a `structHash`. This produces hash corresponding
* to the one signed with the
* https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
* JSON-RPC method as part of EIP-712.
*
* See {recover}.
*/
function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
}
}
pragma solidity ^0.8.0;
/**
* @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
*
* The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
* thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
* they need in their contracts using a combination of `abi.encode` and `keccak256`.
*
* This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
* ({_hashTypedDataV4}).
*
* The implementation of the domain separator was designed to be as efficient as possible while still properly updating
* the chain id to protect against replay attacks on an eventual fork of the chain.
*
* NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
*
* _Available since v3.4._
*/
abstract contract EIP712 {
/* solhint-disable var-name-mixedcase */
// Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
// invalidate the cached domain separator if the chain id changes.
bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
uint256 private immutable _CACHED_CHAIN_ID;
bytes32 private immutable _HASHED_NAME;
bytes32 private immutable _HASHED_VERSION;
bytes32 private immutable _TYPE_HASH;
/* solhint-enable var-name-mixedcase */
/**
* @dev Initializes the domain separator and parameter caches.
*
* The meaning of `name` and `version` is specified in
* https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
*
* - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
* - `version`: the current major version of the signing domain.
*
* NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
* contract upgrade].
*/
constructor(string memory name, string memory version) {
bytes32 hashedName = keccak256(bytes(name));
bytes32 hashedVersion = keccak256(bytes(version));
bytes32 typeHash = keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");
_HASHED_NAME = hashedName;
_HASHED_VERSION = hashedVersion;
_CACHED_CHAIN_ID = block.chainid;
_CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
_TYPE_HASH = typeHash;
}
/**
* @dev Returns the domain separator for the current chain.
*/
function _domainSeparatorV4() internal view returns (bytes32) {
if (block.chainid == _CACHED_CHAIN_ID) {
return _CACHED_DOMAIN_SEPARATOR;
} else {
return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
}
}
function _buildDomainSeparator(bytes32 typeHash, bytes32 name, bytes32 version) private view returns (bytes32) {
return keccak256(
abi.encode(
typeHash,
name,
version,
block.chainid,
address(this)
)
);
}
/**
* @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
* function returns the hash of the fully encoded EIP712 message for this domain.
*
* This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
*
* ```solidity
* bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
* keccak256("Mail(address to,string contents)"),
* mailTo,
* keccak256(bytes(mailContents))
* )));
* address signer = ECDSA.recover(digest, signature);
* ```
*/
function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
}
}
pragma solidity ^0.8.0;
/**
* @title Counters
* @author Matt Condon (@shrugs)
* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
* of elements in a mapping, issuing ERC721 ids, or counting request ids.
*
* Include with `using Counters for Counters.Counter;`
*/
library Counters {
struct Counter {
// This variable should never be directly accessed by users of the library: interactions must be restricted to
// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
// this feature: see https://github.com/ethereum/solidity/issues/4637
uint256 _value; // default: 0
}
function current(Counter storage counter) internal view returns (uint256) {
return counter._value;
}
function increment(Counter storage counter) internal {
unchecked {
counter._value += 1;
}
}
function decrement(Counter storage counter) internal {
uint256 value = counter._value;
require(value > 0, "Counter: decrement overflow");
unchecked {
counter._value = value - 1;
}
}
function reset(Counter storage counter) internal {
counter._value = 0;
}
}
pragma solidity ^0.8.0;
/**
* @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
*
* Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
* need to send a transaction, and thus is not required to hold Ether at all.
*
* _Available since v3.4._
*/
abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712 {
using Counters for Counters.Counter;
mapping (address => Counters.Counter) private _nonces;
// solhint-disable-next-line var-name-mixedcase
bytes32 private immutable _PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
/**
* @dev Initializes the {EIP712} domain separator using the `name` parameter, and setting `version` to `"1"`.
*
* It's a good idea to use the same `name` that is defined as the ERC20 token name.
*/
constructor(string memory name) EIP712(name, "1") {
}
/**
* @dev See {IERC20Permit-permit}.
*/
function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual override {
// solhint-disable-next-line not-rely-on-time
require(block.timestamp <= deadline, "ERC20Permit: expired deadline");
bytes32 structHash = keccak256(
abi.encode(
_PERMIT_TYPEHASH,
owner,
spender,
value,
_useNonce(owner),
deadline
)
);
bytes32 hash = _hashTypedDataV4(structHash);
address signer = ECDSA.recover(hash, v, r, s);
require(signer == owner, "ERC20Permit: invalid signature");
_approve(owner, spender, value);
}
/**
* @dev See {IERC20Permit-nonces}.
*/
function nonces(address owner) public view virtual override returns (uint256) {
return _nonces[owner].current();
}
/**
* @dev See {IERC20Permit-DOMAIN_SEPARATOR}.
*/
// solhint-disable-next-line func-name-mixedcase
function DOMAIN_SEPARATOR() external view override returns (bytes32) {
return _domainSeparatorV4();
}
/**
* @dev "Consume a nonce": return the current value and increment.
*
* _Available since v4.1._
*/
function _useNonce(address owner) internal virtual returns (uint256 current) {
Counters.Counter storage nonce = _nonces[owner];
current = nonce.current();
nonce.increment();
}
}
pragma solidity >=0.6.0 <0.9.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.
*/
pragma solidity ^0.8.0;
// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.
/**
* @dev Wrappers over Solidity's arithmetic operations.
*
* NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
* now has built in overflow checking.
*/
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) {
unchecked {
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) {
unchecked {
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) {
unchecked {
// 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) {
unchecked {
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) {
unchecked {
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) {
return a + b;
}
/**
* @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) {
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) {
return a * b;
}
/**
* @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.
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
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) {
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) {
unchecked {
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.
*
* 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) {
unchecked {
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) {
unchecked {
require(b > 0, errorMessage);
return a % b;
}
}
}
pragma solidity >=0.6.0 <0.9.0;
pragma solidity >=0.6.0;
// helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false
library SafeERC20 {
function _safeApprove(IERC20 token, address to, uint value) internal {
// bytes4(keccak256(bytes('approve(address,uint256)')));
(bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(0x095ea7b3, to, value));
require(success && (data.length == 0 || abi.decode(data, (bool))), '!APPROVE_FAILED');
}
function safeApprove(IERC20 token, address to, uint value) internal {
if (value > 0 && token.allowance(msg.sender, to) > 0) _safeApprove(token, to, 0);
return _safeApprove(token, to, value);
}
function safeTransfer(IERC20 token, address to, uint value) internal {
// bytes4(keccak256(bytes('transfer(address,uint256)')));
(bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(0xa9059cbb, to, value));
require(success && (data.length == 0 || abi.decode(data, (bool))), '!TRANSFER_FAILED');
}
function safeTransferFrom(IERC20 token, address from, address to, uint value) internal {
// bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
(bool success, bytes memory data) = address(token).call(abi.encodeWithSelector(0x23b872dd, from, to, value));
require(success && (data.length == 0 || abi.decode(data, (bool))), '!TRANSFER_FROM_FAILED');
}
function safeTransferETH(address to, uint value) internal {
(bool success,) = to.call{value:value}(new bytes(0));
require(success, '!ETH_TRANSFER_FAILED');
}
}
pragma solidity ^0.8.0;
/**
* @title TokenVesting
* @dev A token holder contract that can release its token balance gradually like a
* typical vesting scheme, with a cliff and vesting period. Optionally revocable by the
* owner.
*/
contract TokenVesting {
using SafeMath for uint256;
using SafeERC20 for IERC20;
event Released(uint256 amount);
address public beneficiary;
uint256 public cliff;
uint256 public start;
uint256 public duration;
mapping(address => uint256) public released;
/*
* @dev Creates a vesting contract that vests its balance of any ERC20 token to the
* _beneficiary, gradually in a linear fashion until _start + _duration. By then all
* of the balance will have vested.
* @param _beneficiary
* @param _cliff duration in seconds of the cliff in which tokens will begin to vest
* @param _duration
*/
constructor(
address _beneficiary,
uint256 _start,
uint256 _cliff,
uint256 _duration
) {
require(_beneficiary != address(0));
require(_cliff <= _duration);
beneficiary = _beneficiary;
duration = _duration;
cliff = _start.add(_cliff);
start = _start;
}
/**
* @notice Transfers vested tokens to beneficiary.
* @param token ERC20 token which is being vested
*/
function release(address token) external {
uint256 unreleased = releasableAmount(token);
require(unreleased > 0);
released[token] = released[token].add(unreleased);
IERC20(token).safeTransfer(beneficiary, unreleased);
emit Released(unreleased);
}
/**
* @dev Calculates the amount that has already vested but hasn't been released yet.
* @param token ERC20 token which is being vested
*/
function releasableAmount(address token) public view returns (uint256) {
return vestedAmount(token).sub(released[token]);
}
/**
* @dev Calculates the amount that has already vested.
* @param token ERC20 token which is being vested
*/
function vestedAmount(address token) public view returns (uint256) {
uint256 currentBalance = IERC20(token).balanceOf(address(this));
uint256 totalBalance = currentBalance.add(released[token]);
if (block.timestamp < cliff) {
return 0;
} else if (block.timestamp >= start.add(duration)) {
return totalBalance;
} else {
return totalBalance.mul(block.timestamp.sub(start)).div(duration);
}
}
}
pragma solidity ^0.8.0;
contract Token is Ownable, ERC20Permit {
TokenVesting public treasuryLockToken;
TokenVesting public motivateLockToken;
TokenVesting public IDOLockToken;
TokenVesting public teamLockToken;
bool once;
uint256 public constant MAX_SUPPLY = 1000 * 1e6 * 1e18;
constructor(string memory name_, string memory symbol_) Ownable() ERC20(name_,symbol_) ERC20Permit(name_) {
treasuryLockToken = new TokenVesting(msg.sender, block.timestamp + 90 days, 0 days, 150 days);
motivateLockToken = new TokenVesting(msg.sender, block.timestamp + 90 days, 0 days, 240 days);
IDOLockToken = new TokenVesting(msg.sender, block.timestamp + 90 days, 0 days, 150 days);
teamLockToken = new TokenVesting(msg.sender, block.timestamp + 180 days, 0 days, 0 days);
__mint(msg.sender, 150 * 1e6 * 1e18);
__mint(address(treasuryLockToken), 100 * 1e6 * 1e18);
__mint(address(motivateLockToken), 80 * 1e6 * 1e18);
__mint(address(IDOLockToken), 100 * 1e6 * 1e18);
__mint(address(teamLockToken), 20 * 1e6 * 1e18);
}
function mintToFarm(address _farm) external onlyOwner {
require(!once, "only can mint once");
once = true;
__mint(_farm, 550 * 1e6 * 1e18);
}
function __mint(address _to, uint256 _amount) internal {
_mint(_to, _amount);
_moveDelegates(address(0), _to, _amount);
}
function _transfer(address sender, address recipient, uint256 amount) internal override {
ERC20._transfer(sender, recipient, amount);
_moveDelegates(sender, recipient, amount);
}
// Copied and modified from YAM code:
// https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernanceStorage.sol
// https://github.com/yam-finance/yam-protocol/blob/master/contracts/token/YAMGovernance.sol
// Which is copied and modified from COMPOUND:
// https://github.com/compound-finance/compound-protocol/blob/master/contracts/Governance/Comp.sol
// notice A record of each accounts delegate
mapping (address => address) internal _delegates;
/// @notice A checkpoint for marking number of votes from a given block
struct Checkpoint {
uint32 fromBlock;
uint256 votes;
}
/// @notice A record of votes checkpoints for each account, by index
mapping (address => mapping (uint32 => Checkpoint)) public checkpoints;
/// @notice The number of checkpoints for each account
mapping (address => uint32) public numCheckpoints;
/// @notice The EIP-712 typehash for the contract's domain
bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");
/// @notice The EIP-712 typehash for the delegation struct used by the contract
bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)");
/// @notice A record of states for signing / validating signatures
mapping (address => uint) public sigNonces;
/// @notice An event thats emitted when an account changes its delegate
event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);
/// @notice An event thats emitted when a delegate account's vote balance changes
event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);
/**
* @notice Delegate votes from `msg.sender` to `delegatee`
* @param delegator The address to get delegatee for
*/
function delegates(address delegator)
external
view
returns (address)
{
return _delegates[delegator];
}
/**
* @notice Delegate votes from `msg.sender` to `delegatee`
* @param delegatee The address to delegate votes to
*/
function delegate(address delegatee) external {
return _delegate(msg.sender, delegatee);
}
/**
* @notice Delegates votes from signatory to `delegatee`
* @param delegatee The address to delegate votes to
* @param nonce The contract state required to match the signature
* @param expiry The time at which to expire the signature
* @param v The recovery byte of the signature
* @param r Half of the ECDSA signature pair
* @param s Half of the ECDSA signature pair
*/
function delegateBySig(
address delegatee,
uint nonce,
uint expiry,
uint8 v,
bytes32 r,
bytes32 s
)
external
{
bytes32 domainSeparator = keccak256(
abi.encode(
DOMAIN_TYPEHASH,
keccak256(bytes(name())),
getChainId(),
address(this)
)
);
bytes32 structHash = keccak256(
abi.encode(
DELEGATION_TYPEHASH,
delegatee,
nonce,
expiry
)
);
bytes32 digest = keccak256(
abi.encodePacked(
"\x19\x01",
domainSeparator,
structHash
)
);
address signatory = ecrecover(digest, v, r, s);
require(signatory != address(0), "FarmToken::delegateBySig: invalid signature");
require(nonce == sigNonces[signatory]++, "FarmToken::delegateBySig: invalid nonce");
require(block.timestamp <= expiry, "FarmToken::delegateBySig: signature expired");
return _delegate(signatory, delegatee);
}
/**
* @notice Gets the current votes balance for `account`
* @param account The address to get votes balance
* @return The number of current votes for `account`
*/
function getCurrentVotes(address account)
external
view
returns (uint256)
{
uint32 nCheckpoints = numCheckpoints[account];
return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0;
}
/**
* @notice Determine the prior number of votes for an account as of a block number
* @dev Block number must be a finalized block or else this function will revert to prevent misinformation.
* @param account The address of the account to check
* @param blockNumber The block number to get the vote balance at
* @return The number of votes the account had as of the given block
*/
function getPriorVotes(address account, uint blockNumber)
external
view
returns (uint256)
{
require(blockNumber < block.number, "FarmToken::getPriorVotes: not yet determined");
uint32 nCheckpoints = numCheckpoints[account];
if (nCheckpoints == 0) {
return 0;
}
// First check most recent balance
if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) {
return checkpoints[account][nCheckpoints - 1].votes;
}
// Next check implicit zero balance
if (checkpoints[account][0].fromBlock > blockNumber) {
return 0;
}
uint32 lower = 0;
uint32 upper = nCheckpoints - 1;
while (upper > lower) {
uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow
Checkpoint memory cp = checkpoints[account][center];
if (cp.fromBlock == blockNumber) {
return cp.votes;
} else if (cp.fromBlock < blockNumber) {
lower = center;
} else {
upper = center - 1;
}
}
return checkpoints[account][lower].votes;
}
function _delegate(address delegator, address delegatee)
internal
{
address currentDelegate = _delegates[delegator];
uint256 delegatorBalance = balanceOf(delegator); // balance of underlying FarmTokens (not scaled);
_delegates[delegator] = delegatee;
emit DelegateChanged(delegator, currentDelegate, delegatee);
_moveDelegates(currentDelegate, delegatee, delegatorBalance);
}
function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal {
if (srcRep != dstRep && amount > 0) {
if (srcRep != address(0)) {
// decrease old representative
uint32 srcRepNum = numCheckpoints[srcRep];
uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0;
uint256 srcRepNew = srcRepOld - amount;
_writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew);
}
if (dstRep != address(0)) {
// increase new representative
uint32 dstRepNum = numCheckpoints[dstRep];
uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0;
uint256 dstRepNew = dstRepOld + amount;
_writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
}
}
}
function _writeCheckpoint(
address delegatee,
uint32 nCheckpoints,
uint256 oldVotes,
uint256 newVotes
)
internal
{
uint32 blockNumber = safe32(block.number, "FarmToken::_writeCheckpoint: block number exceeds 32 bits");
if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) {
checkpoints[delegatee][nCheckpoints - 1].votes = newVotes;
} else {
checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes);
numCheckpoints[delegatee] = nCheckpoints + 1;
}
emit DelegateVotesChanged(delegatee, oldVotes, newVotes);
}
function safe32(uint n, string memory errorMessage) internal pure returns (uint32) {
require(n < 2**32, errorMessage);
return uint32(n);
}
function getChainId() internal view returns (uint) {
uint256 chainId;
assembly { chainId := chainid() }
return chainId;
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "berlin",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","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":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IDOLockToken","outputs":[{"internalType":"contract TokenVesting","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"stateMutability":"view","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":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"_farm","type":"address"}],"name":"mintToFarm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"motivateLockToken","outputs":[{"internalType":"contract TokenVesting","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sigNonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamLockToken","outputs":[{"internalType":"contract TokenVesting","name":"","type":"address"}],"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"},{"inputs":[],"name":"treasuryLockToken","outputs":[{"internalType":"contract TokenVesting","name":"","type":"address"}],"stateMutability":"view","type":"function"}]Contract Creation Code
6101406040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610120523480156200003757600080fd5b50604051620032e9380380620032e98339810160408190526200005a91620009f3565b8180604051806040016040528060018152602001603160f81b815250848460006200008a6200044660201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000e9906004906020850190620008ae565b508051620000ff906005906020840190620008ae565b5050825160209384012082519284019290922060c083815260e08290524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f818a0181905281830198909852606081019590955260808086019390935230858301528051808603909201825293909201909252805194019390932090925261010052503390506200019d426276a70062000a92565b600062c5c100604051620001b1906200093d565b6001600160a01b039094168452602084019290925260408301526060820152608001604051809103906000f080158015620001f0573d6000803e3d6000fd5b50600780546001600160a01b0319166001600160a01b03929092169190911790553362000221426276a70062000a92565b600063013c680060405162000236906200093d565b6001600160a01b039094168452602084019290925260408301526060820152608001604051809103906000f08015801562000275573d6000803e3d6000fd5b50600880546001600160a01b0319166001600160a01b039290921691909117905533620002a6426276a70062000a92565b600062c5c100604051620002ba906200093d565b6001600160a01b039094168452602084019290925260408301526060820152608001604051809103906000f080158015620002f9573d6000803e3d6000fd5b50600980546001600160a01b0319166001600160a01b0392909216919091179055336200032a4262ed4e0062000a92565b6000806040516200033b906200093d565b6001600160a01b039094168452602084019290925260408301526060820152608001604051809103906000f0801580156200037a573d6000803e3d6000fd5b50600a80546001600160a01b0319166001600160a01b0392909216919091179055620003b2336a7c13bc4b2c133c560000006200044a565b600754620003d5906001600160a01b03166a52b7d2dcc80cd2e40000006200044a565b600854620003f8906001600160a01b03166a422ca8b0a00a42500000006200044a565b6009546200041b906001600160a01b03166a52b7d2dcc80cd2e40000006200044a565b600a546200043e906001600160a01b03166a108b2a2c280290940000006200044a565b505062000bb6565b3390565b62000456828262000468565b620004646000838362000551565b5050565b6001600160a01b038216620004c45760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060036000828254620004d8919062000a92565b90915550506001600160a01b038216600090815260016020526040812080548392906200050790849062000a92565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b816001600160a01b0316836001600160a01b031614158015620005745750600081115b15620006c8576001600160a01b0383161562000621576001600160a01b0383166000908152600d602052604081205463ffffffff169081620005b8576000620005fd565b6001600160a01b0385166000908152600c6020526040812090620005de60018562000af2565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006200060d848362000ad8565b90506200061d86848484620006cd565b5050505b6001600160a01b03821615620006c8576001600160a01b0382166000908152600d602052604081205463ffffffff1690816200065f576000620006a4565b6001600160a01b0384166000908152600c60205260408120906200068560018562000af2565b63ffffffff1663ffffffff168152602001908152602001600020600101545b90506000620006b4848362000a92565b9050620006c485848484620006cd565b5050505b505050565b6000620006f443604051806060016040528060398152602001620032b0603991396200087b565b905060008463ffffffff161180156200075157506001600160a01b0385166000908152600c6020526040812063ffffffff8316916200073560018862000af2565b63ffffffff908116825260208201929092526040016000205416145b156200079e576001600160a01b0385166000908152600c6020526040812083916200077e60018862000af2565b63ffffffff16815260208101919091526040016000206001015562000830565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600c83528581208a851682529092529390209151825463ffffffff191691161781559051600191820155620007ff90859062000aad565b6001600160a01b0386166000908152600d60205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410620008a65760405162461bcd60e51b8152600401620004bb919062000a5d565b509192915050565b828054620008bc9062000b4d565b90600052602060002090601f016020900481019282620008e057600085556200092b565b82601f10620008fb57805160ff19168380011785556200092b565b828001600101855582156200092b579182015b828111156200092b5782518255916020019190600101906200090e565b50620009399291506200094b565b5090565b6106e48062002bcc83390190565b5b808211156200093957600081556001016200094c565b600082601f8301126200097457600080fd5b81516001600160401b038082111562000991576200099162000ba0565b604051601f8301601f19908116603f01168101908282118183101715620009bc57620009bc62000ba0565b81604052838152866020858801011115620009d657600080fd5b620009e984602083016020890162000b1a565b9695505050505050565b6000806040838503121562000a0757600080fd5b82516001600160401b038082111562000a1f57600080fd5b62000a2d8683870162000962565b9350602085015191508082111562000a4457600080fd5b5062000a538582860162000962565b9150509250929050565b602081526000825180602084015262000a7e81604085016020870162000b1a565b601f01601f19169190910160400192915050565b6000821982111562000aa85762000aa862000b8a565b500190565b600063ffffffff80831681851680830382111562000acf5762000acf62000b8a565b01949350505050565b60008282101562000aed5762000aed62000b8a565b500390565b600063ffffffff8381169083168181101562000b125762000b1262000b8a565b039392505050565b60005b8381101562000b3757818101518382015260200162000b1d565b8381111562000b47576000848401525b50505050565b600181811c9082168062000b6257607f821691505b6020821081141562000b8457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60805160a05160c05160e0516101005161012051611fc662000c066000396000610f1f015260006112a2015260006112f1015260006112cc01526000611250015260006112790152611fc66000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80637b73206c1161011a578063b4b5ea57116100ad578063e7a324dc1161007c578063e7a324dc146104b2578063f1127ed8146104d9578063f2fde38b14610530578063f990ccd714610543578063f9dd76ff1461056357600080fd5b8063b4b5ea5714610440578063c3cda52014610453578063d505accf14610466578063dd62ed3e1461047957600080fd5b806395d89b41116100e957806395d89b41146103ff578063964bca5f14610407578063a457c2d71461041a578063a9059cbb1461042d57600080fd5b80637b73206c146103b55780637ecebe00146103c85780638da5cb5b146103db57806394ec1c8d146103ec57600080fd5b806339509351116101925780636fcfff45116101615780636fcfff451461033657806370a0823114610371578063715018a61461039a578063782d6fe1146103a257600080fd5b806339509351146102b7578063587cde1e146102ca5780635c19a95c1461030e5780636331e9ae1461032357600080fd5b806323b872dd116101ce57806323b872dd1461027a578063313ce5671461028d57806332cb6b0c1461029c5780633644e515146102af57600080fd5b806306fdde0314610200578063095ea7b31461021e57806318160ddd1461024157806320606b7014610253575b600080fd5b610208610576565b6040516102159190611dba565b60405180910390f35b61023161022c366004611cf8565b610608565b6040519015158152602001610215565b6003545b604051908152602001610215565b6102457f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610231610288366004611c52565b61061f565b60405160128152602001610215565b6102456b033b2e3c9fd0803ce800000081565b6102456106ce565b6102316102c5366004611cf8565b6106dd565b6102f66102d8366004611c04565b6001600160a01b039081166000908152600b60205260409020541690565b6040516001600160a01b039091168152602001610215565b61032161031c366004611c04565b610719565b005b610321610331366004611c04565b610726565b61035c610344366004611c04565b600d6020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610215565b61024561037f366004611c04565b6001600160a01b031660009081526001602052604090205490565b6103216107c8565b6102456103b0366004611cf8565b61083c565b6008546102f6906001600160a01b031681565b6102456103d6366004611c04565b610aa6565b6000546001600160a01b03166102f6565b6009546102f6906001600160a01b031681565b610208610ac4565b600a546102f6906001600160a01b031681565b610231610428366004611cf8565b610ad3565b61023161043b366004611cf8565b610b6c565b61024561044e366004611c04565b610b79565b610321610461366004611d22565b610bee565b610321610474366004611c8e565b610ecb565b610245610487366004611c1f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102457fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6105146104e7366004611d7a565b600c6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff9093168352602083019190915201610215565b61032161053e366004611c04565b611023565b610245610551366004611c04565b600e6020526000908152604090205481565b6007546102f6906001600160a01b031681565b60606004805461058590611ef1565b80601f01602080910402602001604051908101604052809291908181526020018280546105b190611ef1565b80156105fe5780601f106105d3576101008083540402835291602001916105fe565b820191906000526020600020905b8154815290600101906020018083116105e157829003601f168201915b5050505050905090565b600061061533848461110d565b5060015b92915050565b600061062c848484611231565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156106b65760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106c3853385840361110d565b506001949350505050565b60006106d861124c565b905090565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610615918590610714908690611e44565b61110d565b610723338261133f565b50565b6000546001600160a01b031633146107505760405162461bcd60e51b81526004016106ad90611e0f565b600a54600160a01b900460ff161561079f5760405162461bcd60e51b81526020600482015260126024820152716f6e6c792063616e206d696e74206f6e636560701b60448201526064016106ad565b600a805460ff60a01b1916600160a01b179055610723816b01c6f307be4c4687e60000006113bf565b6000546001600160a01b031633146107f25760405162461bcd60e51b81526004016106ad90611e0f565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60004382106108a25760405162461bcd60e51b815260206004820152602c60248201527f4661726d546f6b656e3a3a6765745072696f72566f7465733a206e6f7420796560448201526b1d0819195d195c9b5a5b995960a21b60648201526084016106ad565b6001600160a01b0383166000908152600d602052604090205463ffffffff16806108d0576000915050610619565b6001600160a01b0384166000908152600c6020526040812084916108f5600185611ecc565b63ffffffff9081168252602082019290925260400160002054161161095e576001600160a01b0384166000908152600c6020526040812090610938600184611ecc565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610619565b6001600160a01b0384166000908152600c6020908152604080832083805290915290205463ffffffff16831015610999576000915050610619565b6000806109a7600184611ecc565b90505b8163ffffffff168163ffffffff161115610a6f57600060026109cc8484611ecc565b6109d69190611e84565b6109e09083611ecc565b6001600160a01b0388166000908152600c6020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610a43576020015194506106199350505050565b805163ffffffff16871115610a5a57819350610a68565b610a65600183611ecc565b92505b50506109aa565b506001600160a01b0385166000908152600c6020908152604080832063ffffffff9094168352929052206001015491505092915050565b6001600160a01b038116600090815260066020526040812054610619565b60606005805461058590611ef1565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610b555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ad565b610b62338585840361110d565b5060019392505050565b6000610615338484611231565b6001600160a01b0381166000908152600d602052604081205463ffffffff1680610ba4576000610be7565b6001600160a01b0383166000908152600c6020526040812090610bc8600184611ecc565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610c19610576565b80519060200120610c274690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610d53573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dca5760405162461bcd60e51b815260206004820152602b60248201527f4661726d546f6b656e3a3a64656c656761746542795369673a20696e76616c6960448201526a64207369676e617475726560a81b60648201526084016106ad565b6001600160a01b0381166000908152600e60205260408120805491610dee83611f26565b919050558914610e505760405162461bcd60e51b815260206004820152602760248201527f4661726d546f6b656e3a3a64656c656761746542795369673a20696e76616c6960448201526664206e6f6e636560c81b60648201526084016106ad565b87421115610eb45760405162461bcd60e51b815260206004820152602b60248201527f4661726d546f6b656e3a3a64656c656761746542795369673a207369676e617460448201526a1d5c9948195e1c1a5c995960aa1b60648201526084016106ad565b610ebe818b61133f565b505050505b505050505050565b83421115610f1b5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106ad565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610f4a8c6113d9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610fa582611401565b90506000610fb58287878761144f565b9050896001600160a01b0316816001600160a01b0316146110185760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106ad565b610ebe8a8a8a61110d565b6000546001600160a01b0316331461104d5760405162461bcd60e51b81526004016106ad90611e0f565b6001600160a01b0381166110b25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ad565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831661116f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ad565b6001600160a01b0382166111d05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ad565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61123c8383836115f8565b6112478383836117c7565b505050565b60007f000000000000000000000000000000000000000000000000000000000000000046141561129b57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038281166000818152600b6020818152604080842080546001845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46113b98284836117c7565b50505050565b6113c98282611926565b6113d5600083836117c7565b5050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b600061061961140e61124c565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106ad565b8360ff16601b14806114e157508360ff16601c145b6115385760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106ad565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561158c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166115ef5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106ad565b95945050505050565b6001600160a01b03831661165c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ad565b6001600160a01b0382166116be5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ad565b6001600160a01b038316600090815260016020526040902054818110156117365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ad565b6001600160a01b0380851660009081526001602052604080822085850390559185168152908120805484929061176d908490611e44565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117b991815260200190565b60405180910390a350505050565b816001600160a01b0316836001600160a01b0316141580156117e95750600081115b15611247576001600160a01b0383161561188c576001600160a01b0383166000908152600d602052604081205463ffffffff16908161182957600061186c565b6001600160a01b0385166000908152600c602052604081209061184d600185611ecc565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061187a8483611eb5565b905061188886848484611a05565b5050505b6001600160a01b03821615611247576001600160a01b0382166000908152600d602052604081205463ffffffff1690816118c757600061190a565b6001600160a01b0384166000908152600c60205260408120906118eb600185611ecc565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006119188483611e44565b9050610ec385848484611a05565b6001600160a01b03821661197c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ad565b806003600082825461198e9190611e44565b90915550506001600160a01b038216600090815260016020526040812080548392906119bb908490611e44565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000611a2943604051806060016040528060398152602001611f5860399139611ba7565b905060008463ffffffff16118015611a8357506001600160a01b0385166000908152600c6020526040812063ffffffff831691611a67600188611ecc565b63ffffffff908116825260208201929092526040016000205416145b15611acc576001600160a01b0385166000908152600c602052604081208391611aad600188611ecc565b63ffffffff168152602081019190915260400160002060010155611b5c565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600c83528581208a851682529092529390209151825463ffffffff191691161781559051600191820155611b2b908590611e5c565b6001600160a01b0386166000908152600d60205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410611bcf5760405162461bcd60e51b81526004016106ad9190611dba565b509192915050565b80356001600160a01b0381168114611bee57600080fd5b919050565b803560ff81168114611bee57600080fd5b600060208284031215611c1657600080fd5b610be782611bd7565b60008060408385031215611c3257600080fd5b611c3b83611bd7565b9150611c4960208401611bd7565b90509250929050565b600080600060608486031215611c6757600080fd5b611c7084611bd7565b9250611c7e60208501611bd7565b9150604084013590509250925092565b600080600080600080600060e0888a031215611ca957600080fd5b611cb288611bd7565b9650611cc060208901611bd7565b95506040880135945060608801359350611cdc60808901611bf3565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611d0b57600080fd5b611d1483611bd7565b946020939093013593505050565b60008060008060008060c08789031215611d3b57600080fd5b611d4487611bd7565b95506020870135945060408701359350611d6060608801611bf3565b92506080870135915060a087013590509295509295509295565b60008060408385031215611d8d57600080fd5b611d9683611bd7565b9150602083013563ffffffff81168114611daf57600080fd5b809150509250929050565b600060208083528351808285015260005b81811015611de757858101830151858201604001528201611dcb565b81811115611df9576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611e5757611e57611f41565b500190565b600063ffffffff808316818516808303821115611e7b57611e7b611f41565b01949350505050565b600063ffffffff80841680611ea957634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600082821015611ec757611ec7611f41565b500390565b600063ffffffff83811690831681811015611ee957611ee9611f41565b039392505050565b600181811c90821680611f0557607f821691505b602082108114156113fb57634e487b7160e01b600052602260045260246000fd5b6000600019821415611f3a57611f3a611f41565b5060010190565b634e487b7160e01b600052601160045260246000fdfe4661726d546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a26469706673582212208234270dbc364ba7a5a91e68f52299c141a2f807a39934773b91f87b72c8e6c664736f6c63430008060033608060405234801561001057600080fd5b506040516106e43803806106e483398101604081905261002f916100a5565b6001600160a01b03841661004257600080fd5b8082111561004f57600080fd5b600080546001600160a01b0319166001600160a01b03861617905560038190556100848383610092602090811b61031b17901c565b600155505060025550610116565b600061009e82846100f0565b9392505050565b600080600080608085870312156100bb57600080fd5b84516001600160a01b03811681146100d257600080fd5b60208601516040870151606090970151919890975090945092505050565b6000821982111561011157634e487b7160e01b600052601160045260246000fd5b500190565b6105bf806101256000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c8063384711cc1161005b578063384711cc146100da57806338af3eed146100ed5780639852595c14610118578063be9a65551461013857600080fd5b80630fb5a6b41461008d57806313d033c0146100a95780631726cbc8146100b257806319165587146100c5575b600080fd5b61009660035481565b6040519081526020015b60405180910390f35b61009660015481565b6100966100c0366004610464565b610141565b6100d86100d3366004610464565b610173565b005b6100966100e8366004610464565b610212565b600054610100906001600160a01b031681565b6040516001600160a01b0390911681526020016100a0565b610096610126366004610464565b60046020526000908152604090205481565b61009660025481565b6001600160a01b03811660009081526004602052604081205461016d9061016784610212565b9061032e565b92915050565b600061017e82610141565b90506000811161018d57600080fd5b6001600160a01b0382166000908152600460205260409020546101b0908261031b565b6001600160a01b0380841660008181526004602052604081209390935591546101db9291168361033a565b6040518181527ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c5659060200160405180910390a15050565b6040516370a0823160e01b815230600482015260009081906001600160a01b038416906370a082319060240160206040518083038186803b15801561025657600080fd5b505afa15801561026a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028e91906104af565b6001600160a01b038416600090815260046020526040812054919250906102b690839061031b565b90506001544210156102cc575060009392505050565b6003546002546102db9161031b565b42106102e8579392505050565b61031360035461030d6103066002544261032e90919063ffffffff16565b849061044c565b90610458565b949350505050565b60006103278284610503565b9392505050565b6000610327828461055c565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b179052915160009283929087169161039691906104c8565b6000604051808303816000865af19150503d80600081146103d3576040519150601f19603f3d011682016040523d82523d6000602084013e6103d8565b606091505b5091509150818015610402575080511580610402575080806020019051810190610402919061048d565b6104455760405162461bcd60e51b815260206004820152601060248201526f085514905394d1915497d1905253115160821b604482015260640160405180910390fd5b5050505050565b6000610327828461053d565b6000610327828461051b565b60006020828403121561047657600080fd5b81356001600160a01b038116811461032757600080fd5b60006020828403121561049f57600080fd5b8151801515811461032757600080fd5b6000602082840312156104c157600080fd5b5051919050565b6000825160005b818110156104e957602081860181015185830152016104cf565b818111156104f8576000828501525b509190910192915050565b6000821982111561051657610516610573565b500190565b60008261053857634e487b7160e01b600052601260045260246000fd5b500490565b600081600019048311821515161561055757610557610573565b500290565b60008282101561056e5761056e610573565b500390565b634e487b7160e01b600052601160045260246000fdfea264697066735822122008247f57d1abf9c2cf7b6059e46a7cb06649711d3afa7ebb2b8cfc11a5a3e2f964736f6c634300080600334661726d546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d6265722065786365656473203332206269747300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000e4175746f4561726e20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034154450000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80637b73206c1161011a578063b4b5ea57116100ad578063e7a324dc1161007c578063e7a324dc146104b2578063f1127ed8146104d9578063f2fde38b14610530578063f990ccd714610543578063f9dd76ff1461056357600080fd5b8063b4b5ea5714610440578063c3cda52014610453578063d505accf14610466578063dd62ed3e1461047957600080fd5b806395d89b41116100e957806395d89b41146103ff578063964bca5f14610407578063a457c2d71461041a578063a9059cbb1461042d57600080fd5b80637b73206c146103b55780637ecebe00146103c85780638da5cb5b146103db57806394ec1c8d146103ec57600080fd5b806339509351116101925780636fcfff45116101615780636fcfff451461033657806370a0823114610371578063715018a61461039a578063782d6fe1146103a257600080fd5b806339509351146102b7578063587cde1e146102ca5780635c19a95c1461030e5780636331e9ae1461032357600080fd5b806323b872dd116101ce57806323b872dd1461027a578063313ce5671461028d57806332cb6b0c1461029c5780633644e515146102af57600080fd5b806306fdde0314610200578063095ea7b31461021e57806318160ddd1461024157806320606b7014610253575b600080fd5b610208610576565b6040516102159190611dba565b60405180910390f35b61023161022c366004611cf8565b610608565b6040519015158152602001610215565b6003545b604051908152602001610215565b6102457f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b610231610288366004611c52565b61061f565b60405160128152602001610215565b6102456b033b2e3c9fd0803ce800000081565b6102456106ce565b6102316102c5366004611cf8565b6106dd565b6102f66102d8366004611c04565b6001600160a01b039081166000908152600b60205260409020541690565b6040516001600160a01b039091168152602001610215565b61032161031c366004611c04565b610719565b005b610321610331366004611c04565b610726565b61035c610344366004611c04565b600d6020526000908152604090205463ffffffff1681565b60405163ffffffff9091168152602001610215565b61024561037f366004611c04565b6001600160a01b031660009081526001602052604090205490565b6103216107c8565b6102456103b0366004611cf8565b61083c565b6008546102f6906001600160a01b031681565b6102456103d6366004611c04565b610aa6565b6000546001600160a01b03166102f6565b6009546102f6906001600160a01b031681565b610208610ac4565b600a546102f6906001600160a01b031681565b610231610428366004611cf8565b610ad3565b61023161043b366004611cf8565b610b6c565b61024561044e366004611c04565b610b79565b610321610461366004611d22565b610bee565b610321610474366004611c8e565b610ecb565b610245610487366004611c1f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6102457fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b6105146104e7366004611d7a565b600c6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6040805163ffffffff9093168352602083019190915201610215565b61032161053e366004611c04565b611023565b610245610551366004611c04565b600e6020526000908152604090205481565b6007546102f6906001600160a01b031681565b60606004805461058590611ef1565b80601f01602080910402602001604051908101604052809291908181526020018280546105b190611ef1565b80156105fe5780601f106105d3576101008083540402835291602001916105fe565b820191906000526020600020905b8154815290600101906020018083116105e157829003601f168201915b5050505050905090565b600061061533848461110d565b5060015b92915050565b600061062c848484611231565b6001600160a01b0384166000908152600260209081526040808320338452909152902054828110156106b65760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b6106c3853385840361110d565b506001949350505050565b60006106d861124c565b905090565b3360008181526002602090815260408083206001600160a01b03871684529091528120549091610615918590610714908690611e44565b61110d565b610723338261133f565b50565b6000546001600160a01b031633146107505760405162461bcd60e51b81526004016106ad90611e0f565b600a54600160a01b900460ff161561079f5760405162461bcd60e51b81526020600482015260126024820152716f6e6c792063616e206d696e74206f6e636560701b60448201526064016106ad565b600a805460ff60a01b1916600160a01b179055610723816b01c6f307be4c4687e60000006113bf565b6000546001600160a01b031633146107f25760405162461bcd60e51b81526004016106ad90611e0f565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60004382106108a25760405162461bcd60e51b815260206004820152602c60248201527f4661726d546f6b656e3a3a6765745072696f72566f7465733a206e6f7420796560448201526b1d0819195d195c9b5a5b995960a21b60648201526084016106ad565b6001600160a01b0383166000908152600d602052604090205463ffffffff16806108d0576000915050610619565b6001600160a01b0384166000908152600c6020526040812084916108f5600185611ecc565b63ffffffff9081168252602082019290925260400160002054161161095e576001600160a01b0384166000908152600c6020526040812090610938600184611ecc565b63ffffffff1663ffffffff16815260200190815260200160002060010154915050610619565b6001600160a01b0384166000908152600c6020908152604080832083805290915290205463ffffffff16831015610999576000915050610619565b6000806109a7600184611ecc565b90505b8163ffffffff168163ffffffff161115610a6f57600060026109cc8484611ecc565b6109d69190611e84565b6109e09083611ecc565b6001600160a01b0388166000908152600c6020908152604080832063ffffffff8086168552908352928190208151808301909252805490931680825260019093015491810191909152919250871415610a43576020015194506106199350505050565b805163ffffffff16871115610a5a57819350610a68565b610a65600183611ecc565b92505b50506109aa565b506001600160a01b0385166000908152600c6020908152604080832063ffffffff9094168352929052206001015491505092915050565b6001600160a01b038116600090815260066020526040812054610619565b60606005805461058590611ef1565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610b555760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016106ad565b610b62338585840361110d565b5060019392505050565b6000610615338484611231565b6001600160a01b0381166000908152600d602052604081205463ffffffff1680610ba4576000610be7565b6001600160a01b0383166000908152600c6020526040812090610bc8600184611ecc565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610c19610576565b80519060200120610c274690565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a90528251808503909101815261014084019092528151919093012061190160f01b610160830152610162820183905261018282018190529192506000906101a20160408051601f198184030181528282528051602091820120600080855291840180845281905260ff8a169284019290925260608301889052608083018790529092509060019060a0016020604051602081039080840390855afa158015610d53573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610dca5760405162461bcd60e51b815260206004820152602b60248201527f4661726d546f6b656e3a3a64656c656761746542795369673a20696e76616c6960448201526a64207369676e617475726560a81b60648201526084016106ad565b6001600160a01b0381166000908152600e60205260408120805491610dee83611f26565b919050558914610e505760405162461bcd60e51b815260206004820152602760248201527f4661726d546f6b656e3a3a64656c656761746542795369673a20696e76616c6960448201526664206e6f6e636560c81b60648201526084016106ad565b87421115610eb45760405162461bcd60e51b815260206004820152602b60248201527f4661726d546f6b656e3a3a64656c656761746542795369673a207369676e617460448201526a1d5c9948195e1c1a5c995960aa1b60648201526084016106ad565b610ebe818b61133f565b505050505b505050505050565b83421115610f1b5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016106ad565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610f4a8c6113d9565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610fa582611401565b90506000610fb58287878761144f565b9050896001600160a01b0316816001600160a01b0316146110185760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016106ad565b610ebe8a8a8a61110d565b6000546001600160a01b0316331461104d5760405162461bcd60e51b81526004016106ad90611e0f565b6001600160a01b0381166110b25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106ad565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03831661116f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016106ad565b6001600160a01b0382166111d05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016106ad565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b61123c8383836115f8565b6112478383836117c7565b505050565b60007f000000000000000000000000000000000000000000000000000000000000a4b146141561129b57507f30ff35ae2a82e563d0facfedba5cd4a32e7f246599a3fddd54e7f4b0fea04a3190565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f92de956e7fe3e1cd7713be7101d7b00889249d270968c6b1a4b57e31939bd1e6828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6001600160a01b038281166000818152600b6020818152604080842080546001845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46113b98284836117c7565b50505050565b6113c98282611926565b6113d5600083836117c7565b5050565b6001600160a01b03811660009081526006602052604090208054600181018255905b50919050565b600061061961140e61124c565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08211156114cc5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016106ad565b8360ff16601b14806114e157508360ff16601c145b6115385760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016106ad565b6040805160008082526020820180845288905260ff871692820192909252606081018590526080810184905260019060a0016020604051602081039080840390855afa15801561158c573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166115ef5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016106ad565b95945050505050565b6001600160a01b03831661165c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016106ad565b6001600160a01b0382166116be5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016106ad565b6001600160a01b038316600090815260016020526040902054818110156117365760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016106ad565b6001600160a01b0380851660009081526001602052604080822085850390559185168152908120805484929061176d908490611e44565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516117b991815260200190565b60405180910390a350505050565b816001600160a01b0316836001600160a01b0316141580156117e95750600081115b15611247576001600160a01b0383161561188c576001600160a01b0383166000908152600d602052604081205463ffffffff16908161182957600061186c565b6001600160a01b0385166000908152600c602052604081209061184d600185611ecc565b63ffffffff1663ffffffff168152602001908152602001600020600101545b9050600061187a8483611eb5565b905061188886848484611a05565b5050505b6001600160a01b03821615611247576001600160a01b0382166000908152600d602052604081205463ffffffff1690816118c757600061190a565b6001600160a01b0384166000908152600c60205260408120906118eb600185611ecc565b63ffffffff1663ffffffff168152602001908152602001600020600101545b905060006119188483611e44565b9050610ec385848484611a05565b6001600160a01b03821661197c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016106ad565b806003600082825461198e9190611e44565b90915550506001600160a01b038216600090815260016020526040812080548392906119bb908490611e44565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b6000611a2943604051806060016040528060398152602001611f5860399139611ba7565b905060008463ffffffff16118015611a8357506001600160a01b0385166000908152600c6020526040812063ffffffff831691611a67600188611ecc565b63ffffffff908116825260208201929092526040016000205416145b15611acc576001600160a01b0385166000908152600c602052604081208391611aad600188611ecc565b63ffffffff168152602081019190915260400160002060010155611b5c565b60408051808201825263ffffffff838116825260208083018681526001600160a01b038a166000908152600c83528581208a851682529092529390209151825463ffffffff191691161781559051600191820155611b2b908590611e5c565b6001600160a01b0386166000908152600d60205260409020805463ffffffff191663ffffffff929092169190911790555b60408051848152602081018490526001600160a01b038716917fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724910160405180910390a25050505050565b6000816401000000008410611bcf5760405162461bcd60e51b81526004016106ad9190611dba565b509192915050565b80356001600160a01b0381168114611bee57600080fd5b919050565b803560ff81168114611bee57600080fd5b600060208284031215611c1657600080fd5b610be782611bd7565b60008060408385031215611c3257600080fd5b611c3b83611bd7565b9150611c4960208401611bd7565b90509250929050565b600080600060608486031215611c6757600080fd5b611c7084611bd7565b9250611c7e60208501611bd7565b9150604084013590509250925092565b600080600080600080600060e0888a031215611ca957600080fd5b611cb288611bd7565b9650611cc060208901611bd7565b95506040880135945060608801359350611cdc60808901611bf3565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215611d0b57600080fd5b611d1483611bd7565b946020939093013593505050565b60008060008060008060c08789031215611d3b57600080fd5b611d4487611bd7565b95506020870135945060408701359350611d6060608801611bf3565b92506080870135915060a087013590509295509295509295565b60008060408385031215611d8d57600080fd5b611d9683611bd7565b9150602083013563ffffffff81168114611daf57600080fd5b809150509250929050565b600060208083528351808285015260005b81811015611de757858101830151858201604001528201611dcb565b81811115611df9576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115611e5757611e57611f41565b500190565b600063ffffffff808316818516808303821115611e7b57611e7b611f41565b01949350505050565b600063ffffffff80841680611ea957634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b600082821015611ec757611ec7611f41565b500390565b600063ffffffff83811690831681811015611ee957611ee9611f41565b039392505050565b600181811c90821680611f0557607f821691505b602082108114156113fb57634e487b7160e01b600052602260045260246000fd5b6000600019821415611f3a57611f3a611f41565b5060010190565b634e487b7160e01b600052601160045260246000fdfe4661726d546f6b656e3a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d62657220657863656564732033322062697473a26469706673582212208234270dbc364ba7a5a91e68f52299c141a2f807a39934773b91f87b72c8e6c664736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000e4175746f4561726e20546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034154450000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): AutoEarn Token
Arg [1] : symbol_ (string): ATE
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [3] : 4175746f4561726e20546f6b656e000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 4154450000000000000000000000000000000000000000000000000000000000
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.
Add Token to MetaMask (Web3)