Feature Tip: Add private address tag to any address under My Name Tag !
Overview
Max Total Supply
4,534,157.311828613531385235 MEE
Holders
1,088 (0.00%)
Transfers
-
7
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$32,423.10
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
GovernTokenV1
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity Multiple files format)
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.12;
import "./ERC20Token.sol";
interface ITokenVotorV1 {
function delegates(address delegator) external view returns (address);
function delegate(address delegatee) external;
function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) external;
function getCurrentVotes(address account) external view returns (uint256);
function getPriorVotes(address account, uint blockNumber) external view returns (uint256);
}
contract GovernTokenV1 is ERC20Token, ITokenVotorV1 {
// A record of each accounts delegates
mapping(address => address) internal _delegates;
// A checkpoint for marking number of votes from a given block
struct Checkpoint {
uint32 fromBlock;
uint256 votes;
}
// A record of votes checkpoints for each account, by index
mapping(address => mapping(uint32 => Checkpoint)) public checkpoints;
// The number of checkpoints for each account
mapping(address => uint32) public numCheckpoints;
// The EIP-712 typehash for the contract's domain
bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)");
// 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)");
// A record of states for signing / validating signatures
mapping(address => uint) public nonces;
// An event thats emitted when an account changes its delegate
event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);
// An event thats emitted when a delegate account's vote balance changes
event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance);
constructor(string memory name, string memory sym, uint256 maxSupply) ERC20Token(name, sym, maxSupply) public {}
/**
* @notice Delegate votes from `msg.sender` to `delegatee`
* @param delegator The address to get delegatee for
*/
function delegates(address delegator)
override
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) override 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
)
override
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), "GovernTokenV1::delegateBySig: invalid signature");
require(nonce == nonces[signatory]++, "GovernTokenV1::delegateBySig: invalid nonce");
require(now <= expiry, "GovernTokenV1::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)
override
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)
override
external
view
returns (uint256)
{
require(blockNumber < block.number, "GovernTokenV1::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 SUSHIs (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.sub(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.add(amount);
_writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew);
}
}
}
function _writeCheckpoint(
address delegatee,
uint32 nCheckpoints,
uint256 oldVotes,
uint256 newVotes
)
internal
{
uint32 blockNumber = safe32(block.number, "GovernTokenV1::_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 pure returns (uint) {
uint256 chainId;
assembly {chainId := chainid()}
return chainId;
}
}
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.6.12;
/*
* @dev Provides information about the current execution context, including the
* sender of the transaction and its data. While these are generally available
* via msg.sender and msg.data, they should not be accessed in such a direct
* manner, since when dealing with GSN meta-transactions the account sending and
* paying for execution may not be the actual sender (as far as an application
* is concerned).
*
* This contract is only required for intermediate, library-like contracts.
*/
abstract contract Context {
function _msgSender() internal view virtual returns (address payable) {
return msg.sender;
}
function _msgData() internal view virtual returns (bytes memory) {
this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
return msg.data;
}
}
/**
* @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.
*/
contract Ownable is Context {
address private _owner;
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
/**
* @dev Initializes the contract setting the deployer as the initial owner.
*/
constructor () internal {
address msgSender = _msgSender();
_owner = msgSender;
emit OwnershipTransferred(address(0), msgSender);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view 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;
}
}
/**
* @dev Wrappers over Solidity's arithmetic operations with added overflow
* checks.
*
* Arithmetic operations in Solidity wrap on overflow. This can easily result
* in bugs, because programmers usually assume that an overflow raises an
* error, which is the standard behavior in high level programming languages.
* `SafeMath` restores this intuition by reverting the transaction when an
* operation overflows.
*
* Using this library instead of the unchecked operations eliminates an entire
* class of bugs, so it's recommended to use it always.
*/
library SafeMath {
/**
* @dev Returns the addition of two unsigned integers, reverting on
* overflow.
*
* Counterpart to Solidity's `+` operator.
*
* Requirements:
*
* - Addition cannot overflow.
*/
function add(uint256 a, uint256 b) internal pure returns (uint256) {
uint256 c = a + b;
require(c >= a, "SafeMath: addition overflow");
return c;
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b) internal pure returns (uint256) {
return sub(a, b, "SafeMath: subtraction overflow");
}
/**
* @dev Returns the subtraction of two unsigned integers, reverting with custom message on
* overflow (when the result is negative).
*
* Counterpart to Solidity's `-` operator.
*
* Requirements:
*
* - Subtraction cannot overflow.
*/
function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
require(b <= a, errorMessage);
uint256 c = a - b;
return c;
}
/**
* @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) {
// 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 0;
}
uint256 c = a * b;
require(c / a == b, "SafeMath: multiplication overflow");
return c;
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts on
* division by zero. The result is rounded towards zero.
*
* Counterpart to Solidity's `/` operator. Note: this function uses a
* `revert` opcode (which leaves remaining gas untouched) while Solidity
* uses an invalid opcode to revert (consuming all remaining gas).
*
* Requirements:
*
* - The divisor cannot be zero.
*/
function div(uint256 a, uint256 b) internal pure returns (uint256) {
return div(a, b, "SafeMath: division by zero");
}
/**
* @dev Returns the integer division of two unsigned integers. Reverts 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) {
require(b > 0, errorMessage);
uint256 c = a / b;
// assert(a == b * c + a % b); // There is no case in which this doesn't hold
return c;
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts 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 mod(a, b, "SafeMath: modulo by zero");
}
/**
* @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
* Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
require(b != 0, errorMessage);
return a % b;
}
}
/**
* @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);
}
interface IERC20Token is IERC20 {
function maxSupply() external view returns (uint256);
function issue(address account, uint256 amount) external returns (bool);
function burn(uint256 amount) external returns (bool);
}
/**
* @dev Collection of functions related to the address type
*/
library Address {
/**
* @dev Returns true if `account` is a contract.
*
* [IMPORTANT]
* ====
* It is unsafe to assume that an address for which this function returns
* false is an externally-owned account (EOA) and not a contract.
*
* Among others, `isContract` will return false for the following
* types of addresses:
*
* - an externally-owned account
* - a contract in construction
* - an address where a contract will be created
* - an address where a contract lived, but was destroyed
* ====
*/
function isContract(address account) internal view returns (bool) {
// This method relies in extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
uint256 size;
// solhint-disable-next-line no-inline-assembly
assembly { size := extcodesize(account) }
return size > 0;
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-low-level-calls, avoid-call-value
(bool success, ) = recipient.call{ value: amount }("");
require(success, "Address: unable to send value, recipient may have reverted");
}
/**
* @dev Performs a Solidity function call using a low level `call`. A
* plain`call` is an unsafe replacement for a function call: use this
* function instead.
*
* If `target` reverts with a revert reason, it is bubbled up by this
* function (like regular Solidity function calls).
*
* Returns the raw returned data. To convert to the expected return value,
* use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
*
* Requirements:
*
* - `target` must be a contract.
* - calling `target` with `data` must not revert.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data) internal returns (bytes memory) {
return functionCall(target, data, "Address: low-level call failed");
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
* `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
return _functionCallWithValue(target, data, 0, errorMessage);
}
/**
* @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
* but also transferring `value` wei to `target`.
*
* Requirements:
*
* - the calling contract must have an ETH balance of at least `value`.
* - the called Solidity function must be `payable`.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
}
/**
* @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
* with `errorMessage` as a fallback revert reason when `target` reverts.
*
* _Available since v3.1._
*/
function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
require(address(this).balance >= value, "Address: insufficient balance for call");
return _functionCallWithValue(target, data, value, errorMessage);
}
function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
require(isContract(target), "Address: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
if (success) {
return returndata;
} else {
// Look for revert reason and bubble it up if present
if (returndata.length > 0) {
// The easiest way to bubble the revert reason is using memory via assembly
// solhint-disable-next-line no-inline-assembly
assembly {
let returndata_size := mload(returndata)
revert(add(32, returndata), returndata_size)
}
} else {
revert(errorMessage);
}
}
}
}
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
_callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
/**
* @dev Deprecated. This function has issues similar to the ones found in
* {IERC20-approve}, and its usage is discouraged.
*
* Whenever possible, use {safeIncreaseAllowance} and
* {safeDecreaseAllowance} instead.
*/
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
_callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function _callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
// the target address contains contract code and also asserts for success in the low-level call.
bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
contract ERC20Token is IERC20Token, Ownable {
using SafeMath for uint256;
mapping(address => uint256) internal _balances;
mapping(address => mapping(address => uint256)) internal _allowances;
uint256 internal _totalSupply;
string internal _name;
string internal _symbol;
uint8 internal _decimals;
uint256 internal _maxSupply;
mapping(address => bool) internal issuer;
modifier onlyIssuer() {
require(issuer[msg.sender], "The caller does not have issuer role privileges");
_;
}
constructor (string memory name, string memory sym, uint256 maxSupply) public {
_name = name;
_symbol = sym;
_decimals = 18;
if (maxSupply == 0) {
_maxSupply = uint256(- 1);
} else {
_maxSupply = maxSupply;
}
issuer[msg.sender] = true;
}
function isOwner() public view returns (bool) {
return msg.sender == owner();
}
function name() public view returns (string memory) {
return _name;
}
function symbol() external view returns (string memory) {
return _symbol;
}
function decimals() external view returns (uint8) {
return _decimals;
}
function totalSupply() external override view returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public override view returns (uint256) {
return _balances[account];
}
function maxSupply() override external view returns (uint256) {
return _maxSupply;
}
function transfer(address recipient, uint256 amount) external override returns (bool) {
_transfer(msg.sender, recipient, amount);
return true;
}
function allowance(address _owner, address spender) external override view returns (uint256) {
return _allowances[_owner][spender];
}
function approve(address spender, uint256 value) external override returns (bool) {
_approve(msg.sender, spender, value);
return true;
}
function transferFrom(address sender, address recipient, uint256 amount) external override returns (bool) {
_transfer(sender, recipient, amount);
_approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount));
return true;
}
function increaseAllowance(address spender, uint256 addedValue) external returns (bool) {
_approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
return true;
}
function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) {
_approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue));
return true;
}
function issue(address account, uint256 amount) override external onlyIssuer returns (bool) {
_mint(account, amount);
return true;
}
// only burn self token
function burn(uint256 amount) override external returns (bool) {
_burn(msg.sender, amount);
return true;
}
function addIssuer(address _addr) public onlyOwner returns (bool){
require(_addr != address(0), "address invalid");
if (issuer[_addr] == false) {
issuer[_addr] = true;
return true;
}
return false;
}
function removeIssuer(address _addr) public onlyOwner returns (bool) {
require(_addr != address(0), "address invalid");
if (issuer[_addr] == true) {
issuer[_addr] = false;
return true;
}
return false;
}
function _transfer(address sender, address recipient, uint256 amount) internal {
require(sender != address(0), "ERC20: transfer from the zero address");
require(recipient != address(0), "ERC20: transfer to the zero address");
_balances[sender] = _balances[sender].sub(amount);
_balances[recipient] = _balances[recipient].add(amount);
emit Transfer(sender, recipient, amount);
}
function _mint(address account, uint256 amount) internal {
require(account != address(0), "ERC20: mint to the zero address");
_totalSupply = _totalSupply.add(amount);
require(_totalSupply <= _maxSupply, "ERC20: supply amount cannot over maxSupply");
_balances[account] = _balances[account].add(amount);
emit Transfer(address(0), account, amount);
}
function _burn(address account, uint256 value) internal {
require(account != address(0), "ERC20: burn from the zero address");
_totalSupply = _totalSupply.sub(value);
_balances[account] = _balances[account].sub(value);
emit Transfer(account, address(0), value);
}
function _approve(address _owner, address spender, uint256 value) internal {
require(_owner != address(0), "ERC20: approve from the zero address");
require(spender != address(0), "ERC20: approve to the zero address");
_allowances[_owner][spender] = value;
emit Approval(_owner, spender, value);
}
function _burnFrom(address account, uint256 amount) internal {
_burn(account, amount);
_approve(account, msg.sender, _allowances[account][msg.sender].sub(amount));
}
}
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"sym","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"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_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addIssuer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"value","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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"issue","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","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":"_addr","type":"address"}],"name":"removeIssuer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]Contract Creation Code
60806040523480156200001157600080fd5b506040516200213a3803806200213a833981810160405260608110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b5060405260200151915083905082826000620001b362000275565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35082516200021290600490602086019062000279565b5081516200022890600590602085019062000279565b506006805460ff191660121790558062000248576000196007556200024e565b60078190555b5050336000908152600860205260409020805460ff19166001179055506200031592505050565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002bc57805160ff1916838001178555620002ec565b82800160010185558215620002ec579182015b82811115620002ec578251825591602001919060010190620002cf565b50620002fa929150620002fe565b5090565b5b80821115620002fa5760008155600101620002ff565b611e1580620003256000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063782d6fe111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146105e1578063e7a324dc1461060f578063f1127ed814610617578063f2fde38b14610669576101da565b8063a9059cbb14610540578063b4b5ea571461056c578063c3cda52014610592578063d5abeb01146105d9576101da565b80638da5cb5b116100de5780638da5cb5b146104fc5780638f32d59b1461050457806395d89b411461050c578063a457c2d714610514576101da565b8063782d6fe11461047e5780637ecebe00146104aa578063867904b4146104d0576101da565b8063395093511161017c5780635c19a95c1161014b5780635c19a95c146103e95780636fcfff451461041157806370a0823114610450578063715018a614610476576101da565b8063395093511461033857806342966c681461036457806347bc709314610381578063587cde1e146103a7576101da565b806320606b70116101b857806320606b70146102b657806320694db0146102be57806323b872dd146102e4578063313ce5671461031a576101da565b806306fdde03146101df578063095ea7b31461025c57806318160ddd1461029c575b600080fd5b6101e761068f565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610221578181015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102886004803603604081101561027257600080fd5b506001600160a01b038135169060200135610725565b604080519115158252519081900360200190f35b6102a461073c565b60408051918252519081900360200190f35b6102a4610742565b610288600480360360208110156102d457600080fd5b50356001600160a01b0316610766565b610288600480360360608110156102fa57600080fd5b506001600160a01b03813581169160208101359091169060400135610862565b6103226108b3565b6040805160ff9092168252519081900360200190f35b6102886004803603604081101561034e57600080fd5b506001600160a01b0381351690602001356108bc565b6102886004803603602081101561037a57600080fd5b50356108f2565b6102886004803603602081101561039757600080fd5b50356001600160a01b0316610906565b6103cd600480360360208110156103bd57600080fd5b50356001600160a01b03166109fb565b604080516001600160a01b039092168252519081900360200190f35b61040f600480360360208110156103ff57600080fd5b50356001600160a01b0316610a19565b005b6104376004803603602081101561042757600080fd5b50356001600160a01b0316610a26565b6040805163ffffffff9092168252519081900360200190f35b6102a46004803603602081101561046657600080fd5b50356001600160a01b0316610a3e565b61040f610a59565b6102a46004803603604081101561049457600080fd5b506001600160a01b038135169060200135610afb565b6102a4600480360360208110156104c057600080fd5b50356001600160a01b0316610d03565b610288600480360360408110156104e657600080fd5b506001600160a01b038135169060200135610d15565b6103cd610d6d565b610288610d7c565b6101e7610d9f565b6102886004803603604081101561052a57600080fd5b506001600160a01b038135169060200135610e00565b6102886004803603604081101561055657600080fd5b506001600160a01b038135169060200135610e36565b6102a46004803603602081101561058257600080fd5b50356001600160a01b0316610e43565b61040f600480360360c08110156105a857600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610ea7565b6102a461111a565b6102a4600480360360408110156105f757600080fd5b506001600160a01b0381358116916020013516611120565b6102a461114b565b6106496004803603604081101561062d57600080fd5b5080356001600160a01b0316906020013563ffffffff1661116f565b6040805163ffffffff909316835260208301919091528051918290030190f35b61040f6004803603602081101561067f57600080fd5b50356001600160a01b031661119c565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561071b5780601f106106f05761010080835404028352916020019161071b565b820191906000526020600020905b8154815290600101906020018083116106fe57829003601f168201915b5050505050905090565b6000610732338484611294565b5060015b92915050565b60035490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610770611380565b6000546001600160a01b039081169116146107c0576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b6001600160a01b03821661080d576040805162461bcd60e51b815260206004820152600f60248201526e1859191c995cdcc81a5b9d985b1a59608a1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff1661085957506001600160a01b0381166000908152600860205260409020805460ff1916600190811790915561085d565b5060005b919050565b600061086f848484611384565b6001600160a01b0384166000908152600260209081526040808320338085529252909120546108a99186916108a490866114bc565b611294565b5060019392505050565b60065460ff1690565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916107329185906108a490866114fe565b60006108fe3383611558565b506001919050565b6000610910611380565b6000546001600160a01b03908116911614610960576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b6001600160a01b0382166109ad576040805162461bcd60e51b815260206004820152600f60248201526e1859191c995cdcc81a5b9d985b1a59608a1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff1615156001141561085957506001600160a01b0381166000908152600860205260409020805460ff19169055600161085d565b6001600160a01b039081166000908152600960205260409020541690565b610a233382611627565b50565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b610a61611380565b6000546001600160a01b03908116911614610ab1576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000438210610b3b5760405162461bcd60e51b8152600401808060200182810382526030815260200180611d176030913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610b69576000915050610736565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610bd8576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff16835292905220600101549050610736565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610c13576000915050610736565b600060001982015b8163ffffffff168163ffffffff161115610ccc57600282820363ffffffff16048103610c45611b84565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610ca7576020015194506107369350505050565b805163ffffffff16871115610cbe57819350610cc5565b6001820392505b5050610c1b565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600c6020526000908152604090205481565b3360009081526008602052604081205460ff16610d635760405162461bcd60e51b815260040180806020018281038252602f815260200180611ce8602f913960400191505060405180910390fd5b61073283836116bc565b6000546001600160a01b031690565b6000610d86610d6d565b6001600160a01b0316336001600160a01b031614905090565b60058054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561071b5780601f106106f05761010080835404028352916020019161071b565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916107329185906108a490866114bc565b6000610732338484611384565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680610e6e576000610ea0565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610ed261068f565b80519060200120610ee16117e4565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611014573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110665760405162461bcd60e51b815260040180806020018281038252602f815260200180611d8d602f913960400191505060405180910390fd5b6001600160a01b0381166000908152600c6020526040902080546001810190915589146110c45760405162461bcd60e51b815260040180806020018281038252602b815260200180611c44602b913960400191505060405180910390fd5b874211156111035760405162461bcd60e51b815260040180806020018281038252602f815260200180611c99602f913960400191505060405180910390fd5b61110d818b611627565b505050505b505050505050565b60075490565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6111a4611380565b6000546001600160a01b039081169116146111f4576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b6001600160a01b0381166112395760405162461bcd60e51b8152600401808060200182810382526026815260200180611bfc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166112d95760405162461bcd60e51b8152600401808060200182810382526024815260200180611dbc6024913960400191505060405180910390fd5b6001600160a01b03821661131e5760405162461bcd60e51b8152600401808060200182810382526022815260200180611c226022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b3390565b6001600160a01b0383166113c95760405162461bcd60e51b8152600401808060200182810382526025815260200180611d686025913960400191505060405180910390fd5b6001600160a01b03821661140e5760405162461bcd60e51b8152600401808060200182810382526023815260200180611b9c6023913960400191505060405180910390fd5b6001600160a01b03831660009081526001602052604090205461143190826114bc565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461146090826114fe565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000610ea083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117e8565b600082820183811015610ea0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03821661159d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611d476021913960400191505060405180910390fd5b6003546115aa90826114bc565b6003556001600160a01b0382166000908152600160205260409020546115d090826114bc565b6001600160a01b0383166000818152600160209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6001600160a01b038083166000908152600960205260408120549091169061164e84610a3e565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46116b682848361187f565b50505050565b6001600160a01b038216611717576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461172490826114fe565b600381905560075410156117695760405162461bcd60e51b815260040180806020018281038252602a815260200180611c6f602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090205461178c90826114fe565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b4690565b600081848411156118775760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561183c578181015183820152602001611824565b50505050905090810190601f1680156118695780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b816001600160a01b0316836001600160a01b0316141580156118a15750600081115b156119bc576001600160a01b03831615611933576001600160a01b0383166000908152600b602052604081205463ffffffff1690816118e1576000611913565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061192182856114bc565b905061192f868484846119c1565b5050505b6001600160a01b038216156119bc576001600160a01b0382166000908152600b602052604081205463ffffffff16908161196e5760006119a0565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006119ae82856114fe565b9050611112858484846119c1565b505050565b60006119e5436040518060600160405280603d8152602001611bbf603d9139611b26565b905060008463ffffffff16118015611a2e57506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611a6b576001600160a01b0385166000908152600a6020908152604080832063ffffffff60001989011684529091529020600101829055611adc565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000816401000000008410611b7c5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561183c578181015183820152602001611824565b509192915050565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373476f7665726e546f6b656e56313a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373476f7665726e546f6b656e56313a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a20737570706c7920616d6f756e742063616e6e6f74206f766572206d6178537570706c79476f7665726e546f6b656e56313a3a64656c656761746542795369673a207369676e617475726520657870697265644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725468652063616c6c657220646f6573206e6f7420686176652069737375657220726f6c652070726976696c65676573476f7665726e546f6b656e56313a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373476f7665726e546f6b656e56313a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a2646970667358221220f7717c809924b262b576e7d39673a4c649ac80b44c8b451fa884f4d56a636a2964736f6c634300060c0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000295be96e6406697200000000000000000000000000000000000000000000000000000000000000000000094d454520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d45450000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063782d6fe111610104578063a9059cbb116100a2578063dd62ed3e11610071578063dd62ed3e146105e1578063e7a324dc1461060f578063f1127ed814610617578063f2fde38b14610669576101da565b8063a9059cbb14610540578063b4b5ea571461056c578063c3cda52014610592578063d5abeb01146105d9576101da565b80638da5cb5b116100de5780638da5cb5b146104fc5780638f32d59b1461050457806395d89b411461050c578063a457c2d714610514576101da565b8063782d6fe11461047e5780637ecebe00146104aa578063867904b4146104d0576101da565b8063395093511161017c5780635c19a95c1161014b5780635c19a95c146103e95780636fcfff451461041157806370a0823114610450578063715018a614610476576101da565b8063395093511461033857806342966c681461036457806347bc709314610381578063587cde1e146103a7576101da565b806320606b70116101b857806320606b70146102b657806320694db0146102be57806323b872dd146102e4578063313ce5671461031a576101da565b806306fdde03146101df578063095ea7b31461025c57806318160ddd1461029c575b600080fd5b6101e761068f565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610221578181015183820152602001610209565b50505050905090810190601f16801561024e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102886004803603604081101561027257600080fd5b506001600160a01b038135169060200135610725565b604080519115158252519081900360200190f35b6102a461073c565b60408051918252519081900360200190f35b6102a4610742565b610288600480360360208110156102d457600080fd5b50356001600160a01b0316610766565b610288600480360360608110156102fa57600080fd5b506001600160a01b03813581169160208101359091169060400135610862565b6103226108b3565b6040805160ff9092168252519081900360200190f35b6102886004803603604081101561034e57600080fd5b506001600160a01b0381351690602001356108bc565b6102886004803603602081101561037a57600080fd5b50356108f2565b6102886004803603602081101561039757600080fd5b50356001600160a01b0316610906565b6103cd600480360360208110156103bd57600080fd5b50356001600160a01b03166109fb565b604080516001600160a01b039092168252519081900360200190f35b61040f600480360360208110156103ff57600080fd5b50356001600160a01b0316610a19565b005b6104376004803603602081101561042757600080fd5b50356001600160a01b0316610a26565b6040805163ffffffff9092168252519081900360200190f35b6102a46004803603602081101561046657600080fd5b50356001600160a01b0316610a3e565b61040f610a59565b6102a46004803603604081101561049457600080fd5b506001600160a01b038135169060200135610afb565b6102a4600480360360208110156104c057600080fd5b50356001600160a01b0316610d03565b610288600480360360408110156104e657600080fd5b506001600160a01b038135169060200135610d15565b6103cd610d6d565b610288610d7c565b6101e7610d9f565b6102886004803603604081101561052a57600080fd5b506001600160a01b038135169060200135610e00565b6102886004803603604081101561055657600080fd5b506001600160a01b038135169060200135610e36565b6102a46004803603602081101561058257600080fd5b50356001600160a01b0316610e43565b61040f600480360360c08110156105a857600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a00135610ea7565b6102a461111a565b6102a4600480360360408110156105f757600080fd5b506001600160a01b0381358116916020013516611120565b6102a461114b565b6106496004803603604081101561062d57600080fd5b5080356001600160a01b0316906020013563ffffffff1661116f565b6040805163ffffffff909316835260208301919091528051918290030190f35b61040f6004803603602081101561067f57600080fd5b50356001600160a01b031661119c565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561071b5780601f106106f05761010080835404028352916020019161071b565b820191906000526020600020905b8154815290600101906020018083116106fe57829003601f168201915b5050505050905090565b6000610732338484611294565b5060015b92915050565b60035490565b7f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a86681565b6000610770611380565b6000546001600160a01b039081169116146107c0576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b6001600160a01b03821661080d576040805162461bcd60e51b815260206004820152600f60248201526e1859191c995cdcc81a5b9d985b1a59608a1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff1661085957506001600160a01b0381166000908152600860205260409020805460ff1916600190811790915561085d565b5060005b919050565b600061086f848484611384565b6001600160a01b0384166000908152600260209081526040808320338085529252909120546108a99186916108a490866114bc565b611294565b5060019392505050565b60065460ff1690565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916107329185906108a490866114fe565b60006108fe3383611558565b506001919050565b6000610910611380565b6000546001600160a01b03908116911614610960576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b6001600160a01b0382166109ad576040805162461bcd60e51b815260206004820152600f60248201526e1859191c995cdcc81a5b9d985b1a59608a1b604482015290519081900360640190fd5b6001600160a01b03821660009081526008602052604090205460ff1615156001141561085957506001600160a01b0381166000908152600860205260409020805460ff19169055600161085d565b6001600160a01b039081166000908152600960205260409020541690565b610a233382611627565b50565b600b6020526000908152604090205463ffffffff1681565b6001600160a01b031660009081526001602052604090205490565b610a61611380565b6000546001600160a01b03908116911614610ab1576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000438210610b3b5760405162461bcd60e51b8152600401808060200182810382526030815260200180611d176030913960400191505060405180910390fd5b6001600160a01b0383166000908152600b602052604090205463ffffffff1680610b69576000915050610736565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff600019860181168552925290912054168310610bd8576001600160a01b0384166000908152600a602090815260408083206000199490940163ffffffff16835292905220600101549050610736565b6001600160a01b0384166000908152600a6020908152604080832083805290915290205463ffffffff16831015610c13576000915050610736565b600060001982015b8163ffffffff168163ffffffff161115610ccc57600282820363ffffffff16048103610c45611b84565b506001600160a01b0387166000908152600a6020908152604080832063ffffffff808616855290835292819020815180830190925280549093168082526001909301549181019190915290871415610ca7576020015194506107369350505050565b805163ffffffff16871115610cbe57819350610cc5565b6001820392505b5050610c1b565b506001600160a01b0385166000908152600a6020908152604080832063ffffffff9094168352929052206001015491505092915050565b600c6020526000908152604090205481565b3360009081526008602052604081205460ff16610d635760405162461bcd60e51b815260040180806020018281038252602f815260200180611ce8602f913960400191505060405180910390fd5b61073283836116bc565b6000546001600160a01b031690565b6000610d86610d6d565b6001600160a01b0316336001600160a01b031614905090565b60058054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561071b5780601f106106f05761010080835404028352916020019161071b565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916107329185906108a490866114bc565b6000610732338484611384565b6001600160a01b0381166000908152600b602052604081205463ffffffff1680610e6e576000610ea0565b6001600160a01b0383166000908152600a6020908152604080832063ffffffff60001986011684529091529020600101545b9392505050565b60007f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a866610ed261068f565b80519060200120610ee16117e4565b60408051602080820195909552808201939093526060830191909152306080808401919091528151808403909101815260a0830182528051908401207fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60c08401526001600160a01b038b1660e084015261010083018a90526101208084018a9052825180850390910181526101408401835280519085012061190160f01b6101608501526101628401829052610182808501829052835180860390910181526101a285018085528151918701919091206000918290526101c2860180865281905260ff8b166101e287015261020286018a90526102228601899052935192965090949293909260019261024280840193601f198301929081900390910190855afa158015611014573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166110665760405162461bcd60e51b815260040180806020018281038252602f815260200180611d8d602f913960400191505060405180910390fd5b6001600160a01b0381166000908152600c6020526040902080546001810190915589146110c45760405162461bcd60e51b815260040180806020018281038252602b815260200180611c44602b913960400191505060405180910390fd5b874211156111035760405162461bcd60e51b815260040180806020018281038252602f815260200180611c99602f913960400191505060405180910390fd5b61110d818b611627565b505050505b505050505050565b60075490565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b7fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf81565b600a6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b6111a4611380565b6000546001600160a01b039081169116146111f4576040805162461bcd60e51b81526020600482018190526024820152600080516020611cc8833981519152604482015290519081900360640190fd5b6001600160a01b0381166112395760405162461bcd60e51b8152600401808060200182810382526026815260200180611bfc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0383166112d95760405162461bcd60e51b8152600401808060200182810382526024815260200180611dbc6024913960400191505060405180910390fd5b6001600160a01b03821661131e5760405162461bcd60e51b8152600401808060200182810382526022815260200180611c226022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b3390565b6001600160a01b0383166113c95760405162461bcd60e51b8152600401808060200182810382526025815260200180611d686025913960400191505060405180910390fd5b6001600160a01b03821661140e5760405162461bcd60e51b8152600401808060200182810382526023815260200180611b9c6023913960400191505060405180910390fd5b6001600160a01b03831660009081526001602052604090205461143190826114bc565b6001600160a01b03808516600090815260016020526040808220939093559084168152205461146090826114fe565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000610ea083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506117e8565b600082820183811015610ea0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b03821661159d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611d476021913960400191505060405180910390fd5b6003546115aa90826114bc565b6003556001600160a01b0382166000908152600160205260409020546115d090826114bc565b6001600160a01b0383166000818152600160209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6001600160a01b038083166000908152600960205260408120549091169061164e84610a3e565b6001600160a01b0385811660008181526009602052604080822080546001600160a01b031916898616908117909155905194955093928616927f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46116b682848361187f565b50505050565b6001600160a01b038216611717576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b60035461172490826114fe565b600381905560075410156117695760405162461bcd60e51b815260040180806020018281038252602a815260200180611c6f602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090205461178c90826114fe565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b4690565b600081848411156118775760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561183c578181015183820152602001611824565b50505050905090810190601f1680156118695780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b816001600160a01b0316836001600160a01b0316141580156118a15750600081115b156119bc576001600160a01b03831615611933576001600160a01b0383166000908152600b602052604081205463ffffffff1690816118e1576000611913565b6001600160a01b0385166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b9050600061192182856114bc565b905061192f868484846119c1565b5050505b6001600160a01b038216156119bc576001600160a01b0382166000908152600b602052604081205463ffffffff16908161196e5760006119a0565b6001600160a01b0384166000908152600a6020908152604080832063ffffffff60001987011684529091529020600101545b905060006119ae82856114fe565b9050611112858484846119c1565b505050565b60006119e5436040518060600160405280603d8152602001611bbf603d9139611b26565b905060008463ffffffff16118015611a2e57506001600160a01b0385166000908152600a6020908152604080832063ffffffff6000198901811685529252909120548282169116145b15611a6b576001600160a01b0385166000908152600a6020908152604080832063ffffffff60001989011684529091529020600101829055611adc565b60408051808201825263ffffffff808416825260208083018681526001600160a01b038a166000818152600a84528681208b8616825284528681209551865490861663ffffffff199182161787559251600196870155908152600b9092529390208054928801909116919092161790555b604080518481526020810184905281516001600160a01b038816927fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724928290030190a25050505050565b6000816401000000008410611b7c5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561183c578181015183820152602001611824565b509192915050565b60408051808201909152600080825260208201529056fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373476f7665726e546f6b656e56313a3a5f7772697465436865636b706f696e743a20626c6f636b206e756d626572206578636565647320333220626974734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373476f7665726e546f6b656e56313a3a64656c656761746542795369673a20696e76616c6964206e6f6e636545524332303a20737570706c7920616d6f756e742063616e6e6f74206f766572206d6178537570706c79476f7665726e546f6b656e56313a3a64656c656761746542795369673a207369676e617475726520657870697265644f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725468652063616c6c657220646f6573206e6f7420686176652069737375657220726f6c652070726976696c65676573476f7665726e546f6b656e56313a3a6765745072696f72566f7465733a206e6f74207965742064657465726d696e656445524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f2061646472657373476f7665726e546f6b656e56313a3a64656c656761746542795369673a20696e76616c6964207369676e617475726545524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a2646970667358221220f7717c809924b262b576e7d39673a4c649ac80b44c8b451fa884f4d56a636a2964736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000295be96e6406697200000000000000000000000000000000000000000000000000000000000000000000094d454520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034d45450000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): MEE Token
Arg [1] : sym (string): MEE
Arg [2] : maxSupply (uint256): 50000000000000000000000000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000000000000000000000295be96e64066972000000
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [4] : 4d454520546f6b656e0000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 4d45450000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
533:8134:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21454:81:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22375:156;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22375:156:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;21723:100;;;:::i;:::-;;;;;;;;;;;;;;;;1134:122:1;;;:::i;23556:258:0:-;;;;;;;;;;;;;;;;-1:-1:-1;23556:258:0;-1:-1:-1;;;;;23556:258:0;;:::i;22537:263::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22537:263:0;;;;;;;;;;;;;;;;;:::i;21634:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22806:205;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22806:205:0;;;;;;;;:::i;23424:126::-;;;;;;;;;;;;;;;;-1:-1:-1;23424:126:0;;:::i;23820:262::-;;;;;;;;;;;;;;;;-1:-1:-1;23820:262:0;-1:-1:-1;;;;;23820:262:0;;:::i;2178:144:1:-;;;;;;;;;;;;;;;;-1:-1:-1;2178:144:1;-1:-1:-1;;;;;2178:144:1;;:::i;:::-;;;;-1:-1:-1;;;;;2178:144:1;;;;;;;;;;;;;;2464:111;;;;;;;;;;;;;;;;-1:-1:-1;2464:111:1;-1:-1:-1;;;;;2464:111:1;;:::i;:::-;;1025:48;;;;;;;;;;;;;;;;-1:-1:-1;1025:48:1;-1:-1:-1;;;;;1025:48:1;;:::i;:::-;;;;;;;;;;;;;;;;;;;21829:117:0;;;;;;;;;;;;;;;;-1:-1:-1;21829:117:0;-1:-1:-1;;;;;21829:117:0;;:::i;2542:145::-;;;:::i;5036:1239:1:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;5036:1239:1;;;;;;;;:::i;1524:38::-;;;;;;;;;;;;;;;;-1:-1:-1;1524:38:1;-1:-1:-1;;;;;1524:38:1;;:::i;23238:152:0:-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23238:152:0;;;;;;;;:::i;1919:77::-;;;:::i;21357:91::-;;;:::i;21541:87::-;;;:::i;23017:215::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23017:215:0;;;;;;;;:::i;22054:164::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22054:164:0;;;;;;;;:::i;4365:249:1:-;;;;;;;;;;;;;;;;-1:-1:-1;4365:249:1;-1:-1:-1;;;;;4365:249:1;;:::i;2998:1173::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2998:1173:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;21952:96:0:-;;;:::i;22224:145::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;22224:145:0;;;;;;;;;;:::i;1338:117:1:-;;;:::i;900:68::-;;;;;;;;;;;;;;;;-1:-1:-1;900:68:1;;-1:-1:-1;;;;;900:68:1;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;2836:240:0;;;;;;;;;;;;;;;;-1:-1:-1;2836:240:0;-1:-1:-1;;;;;2836:240:0;;:::i;21454:81::-;21523:5;21516:12;;;;;;;;-1:-1:-1;;21516:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21491:13;;21516:12;;21523:5;;21516:12;;21523:5;21516:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21454:81;:::o;22375:156::-;22451:4;22467:36;22476:10;22488:7;22497:5;22467:8;:36::i;:::-;-1:-1:-1;22520:4:0;22375:156;;;;;:::o;21723:100::-;21804:12;;21723:100;:::o;1134:122:1:-;1176:80;1134:122;:::o;23556:258:0:-;23616:4;2133:12;:10;:12::i;:::-;2123:6;;-1:-1:-1;;;;;2123:6:0;;;:22;;;2115:67;;;;;-1:-1:-1;;;2115:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2115:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;23639:19:0;::::1;23631:47;;;::::0;;-1:-1:-1;;;23631:47:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23631:47:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;23692:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;::::1;;23688:98;;-1:-1:-1::0;;;;;;23730:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;:20;;-1:-1:-1;;23730:20:0::1;23746:4;23730:20:::0;;::::1;::::0;;;23764:11:::1;;23688:98;-1:-1:-1::0;23802:5:0::1;2192:1;23556:258:::0;;;:::o;22537:263::-;22637:4;22653:36;22663:6;22671:9;22682:6;22653:9;:36::i;:::-;-1:-1:-1;;;;;22728:19:0;;;;;;:11;:19;;;;;;;;22716:10;22728:31;;;;;;;;;22699:73;;22708:6;;22728:43;;22764:6;22728:35;:43::i;:::-;22699:8;:73::i;:::-;-1:-1:-1;22789:4:0;22537:263;;;;;:::o;21634:83::-;21701:9;;;;21634:83;:::o;22806:205::-;22913:10;22888:4;22934:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;22934:32:0;;;;;;;;;;22888:4;;22904:79;;22925:7;;22934:48;;22971:10;22934:36;:48::i;23424:126::-;23481:4;23497:25;23503:10;23515:6;23497:5;:25::i;:::-;-1:-1:-1;23539:4:0;23424:126;;;:::o;23820:262::-;23883:4;2133:12;:10;:12::i;:::-;2123:6;;-1:-1:-1;;;;;2123:6:0;;;:22;;;2115:67;;;;;-1:-1:-1;;;2115:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2115:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;23907:19:0;::::1;23899:47;;;::::0;;-1:-1:-1;;;23899:47:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;23899:47:0;;;;;;;;;;;;;::::1;;-1:-1:-1::0;;;;;23960:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;::::1;;:21;;:13:::0;:21:::1;23956:98;;;-1:-1:-1::0;;;;;;23997:13:0;::::1;24013:5;23997:13:::0;;;:6:::1;:13;::::0;;;;:21;;-1:-1:-1;;23997:21:0::1;::::0;;;24032:11:::1;;2178:144:1::0;-1:-1:-1;;;;;2294:21:1;;;2264:7;2294:21;;;:10;:21;;;;;;;;2178:144::o;2464:111::-;2536:32;2546:10;2558:9;2536;:32::i;:::-;2464:111;:::o;1025:48::-;;;;;;;;;;;;;;;:::o;21829:117:0:-;-1:-1:-1;;;;;21921:18:0;21895:7;21921:18;;;:9;:18;;;;;;;21829:117::o;2542:145::-;2133:12;:10;:12::i;:::-;2123:6;;-1:-1:-1;;;;;2123:6:0;;;:22;;;2115:67;;;;;-1:-1:-1;;;2115:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2115:67:0;;;;;;;;;;;;;;;2648:1:::1;2632:6:::0;;2611:40:::1;::::0;-1:-1:-1;;;;;2632:6:0;;::::1;::::0;2611:40:::1;::::0;2648:1;;2611:40:::1;2678:1;2661:19:::0;;-1:-1:-1;;;;;;2661:19:0::1;::::0;;2542:145::o;5036:1239:1:-;5142:7;5187:12;5173:11;:26;5165:87;;;;-1:-1:-1;;;5165:87:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;5285:23:1;;5263:19;5285:23;;;:14;:23;;;;;;;;5322:17;5318:56;;5362:1;5355:8;;;;;5318:56;-1:-1:-1;;;;;5431:20:1;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;5452:16:1;;5431:38;;;;;;;;;:48;;:63;-1:-1:-1;5427:145:1;;-1:-1:-1;;;;;5517:20:1;;;;;;:11;:20;;;;;;;;-1:-1:-1;;5538:16:1;;;;5517:38;;;;;;;;5553:1;5517:44;;;-1:-1:-1;5510:51:1;;5427:145;-1:-1:-1;;;;;5630:20:1;;;;;;:11;:20;;;;;;;;:23;;;;;;;;:33;:23;:33;:47;-1:-1:-1;5626:86:1;;;5700:1;5693:8;;;;;5626:86;5722:12;-1:-1:-1;;5763:16:1;;5789:430;5804:5;5796:13;;:5;:13;;;5789:430;;;5867:1;5850:13;;;5849:19;;;5841:27;;5921:20;;:::i;:::-;-1:-1:-1;;;;;;5944:20:1;;;;;;:11;:20;;;;;;;;:28;;;;;;;;;;;;;5921:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5990:27;;5986:223;;;6044:8;;;;-1:-1:-1;6037:15:1;;-1:-1:-1;;;;6037:15:1;5986:223;6077:12;;:26;;;-1:-1:-1;6073:136:1;;;6131:6;6123:14;;6073:136;;;6193:1;6184:6;:10;6176:18;;6073:136;5789:430;;;;;-1:-1:-1;;;;;;6235:20:1;;;;;;:11;:20;;;;;;;;:27;;;;;;;;;;:33;;;;-1:-1:-1;;5036:1239:1;;;;:::o;1524:38::-;;;;;;;;;;;;;:::o;23238:152:0:-;20941:10;23324:4;20934:18;;;:6;:18;;;;;;;;20926:78;;;;-1:-1:-1;;;20926:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23340:22:::1;23346:7;23355:6;23340:5;:22::i;1919:77::-:0;1957:7;1983:6;-1:-1:-1;;;;;1983:6:0;1919:77;:::o;21357:91::-;21397:4;21434:7;:5;:7::i;:::-;-1:-1:-1;;;;;21420:21:0;:10;-1:-1:-1;;;;;21420:21:0;;21413:28;;21357:91;:::o;21541:87::-;21614:7;21607:14;;;;;;;;-1:-1:-1;;21607:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21582:13;;21607:14;;21614:7;;21607:14;;21614:7;21607:14;;;;;;;;;;;;;;;;;;;;;;;;23017:215;23129:10;23104:4;23150:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;23150:32:0;;;;;;;;;;23104:4;;23120:84;;23141:7;;23150:53;;23187:15;23150:36;:53::i;22054:164::-;22134:4;22150:40;22160:10;22172:9;22183:6;22150:9;:40::i;4365:249:1:-;-1:-1:-1;;;;;4500:23:1;;4455:7;4500:23;;;:14;:23;;;;;;;;4540:16;:67;;4606:1;4540:67;;;-1:-1:-1;;;;;4559:20:1;;;;;;:11;:20;;;;;;;;:38;-1:-1:-1;;4580:16:1;;4559:38;;;;;;;;4595:1;4559:44;;4540:67;4533:74;4365:249;-1:-1:-1;;;4365:249:1:o;2998:1173::-;3190:23;1176:80;3316:6;:4;:6::i;:::-;3300:24;;;;;;3342:12;:10;:12::i;:::-;3239:160;;;;;;;;;;;;;;;;;;;;;;;;;3380:4;3239:160;;;;;;;;;;;;;;;;;;;;;;;3216:193;;;;;;1384:71;3464:135;;;;-1:-1:-1;;;;;3464:135:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3441:168;;;;;;-1:-1:-1;;;3660:119:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3637:152;;;;;;;;;-1:-1:-1;3820:26:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3216:193;;-1:-1:-1;3441:168:1;;3637:152;;-1:-1:-1;;3820:26:1;;;;;;;-1:-1:-1;;3820:26:1;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3820:26:1;;-1:-1:-1;;3820:26:1;;;-1:-1:-1;;;;;;;3864:23:1;;3856:83;;;;-1:-1:-1;;;3856:83:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;3966:17:1;;;;;;:6;:17;;;;;:19;;;;;;;;3957:28;;3949:84;;;;-1:-1:-1;;;3949:84:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4058:6;4051:3;:13;;4043:73;;;;-1:-1:-1;;;4043:73:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4133:31;4143:9;4154;4133;:31::i;:::-;4126:38;;;;2998:1173;;;;;;;:::o;21952:96:0:-;22031:10;;21952:96;:::o;22224:145::-;-1:-1:-1;;;;;22334:19:0;;;22308:7;22334:19;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;22224:145::o;1338:117:1:-;1384:71;1338:117;:::o;900:68::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;2836:240:0:-;2133:12;:10;:12::i;:::-;2123:6;;-1:-1:-1;;;;;2123:6:0;;;:22;;;2115:67;;;;;-1:-1:-1;;;2115:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2115:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;2924:22:0;::::1;2916:73;;;;-1:-1:-1::0;;;2916:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3025:6;::::0;;3004:38:::1;::::0;-1:-1:-1;;;;;3004:38:0;;::::1;::::0;3025:6;::::1;::::0;3004:38:::1;::::0;::::1;3052:6;:17:::0;;-1:-1:-1;;;;;;3052:17:0::1;-1:-1:-1::0;;;;;3052:17:0;;;::::1;::::0;;;::::1;::::0;;2836:240::o;25220:333::-;-1:-1:-1;;;;;25313:20:0;;25305:69;;;;-1:-1:-1;;;25305:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25392:21:0;;25384:68;;;;-1:-1:-1;;;25384:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25463:19:0;;;;;;;:11;:19;;;;;;;;:28;;;;;;;;;;;;;:36;;;25514:32;;;;;;;;;;;;;;;;;25220:333;;;:::o;596:104::-;683:10;596:104;:::o;24088:422::-;-1:-1:-1;;;;;24185:20:0;;24177:70;;;;-1:-1:-1;;;24177:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24265:23:0;;24257:71;;;;-1:-1:-1;;;24257:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24359:17:0;;;;;;:9;:17;;;;;;:29;;24381:6;24359:21;:29::i;:::-;-1:-1:-1;;;;;24339:17:0;;;;;;;:9;:17;;;;;;:49;;;;24421:20;;;;;;;:32;;24446:6;24421:24;:32::i;:::-;-1:-1:-1;;;;;24398:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;24468:35;;;;;;;24398:20;;24468:35;;;;;;;;;;;;;24088:422;;;:::o;4343:134::-;4401:7;4427:43;4431:1;4434;4427:43;;;;;;;;;;;;;;;;;:3;:43::i;3896:176::-;3954:7;3985:5;;;4008:6;;;;4000:46;;;;;-1:-1:-1;;;4000:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;24914:300;-1:-1:-1;;;;;24988:21:0;;24980:67;;;;-1:-1:-1;;;24980:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25073:12;;:23;;25090:5;25073:16;:23::i;:::-;25058:12;:38;-1:-1:-1;;;;;25127:18:0;;;;;;:9;:18;;;;;;:29;;25150:5;25127:22;:29::i;:::-;-1:-1:-1;;;;;25106:18:0;;;;;;:9;:18;;;;;;;;:50;;;;25171:36;;;;;;;25106:18;;25171:36;;;;;;;;;;;24914:300;;:::o;6281:433:1:-;-1:-1:-1;;;;;6391:21:1;;;6365:23;6391:21;;;:10;:21;;;;;;;;;;6449:20;6402:9;6449;:20::i;:::-;-1:-1:-1;;;;;6533:21:1;;;;;;;:10;:21;;;;;;:33;;-1:-1:-1;;;;;;6533:33:1;;;;;;;;;;6582:54;;6422:47;;-1:-1:-1;6533:33:1;6582:54;;;;;;6533:21;6582:54;6647:60;6662:15;6679:9;6690:16;6647:14;:60::i;:::-;6281:433;;;;:::o;24516:392:0:-;-1:-1:-1;;;;;24591:21:0;;24583:65;;;;;-1:-1:-1;;;24583:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24673:12;;:24;;24690:6;24673:16;:24::i;:::-;24658:12;:39;;;24731:10;;-1:-1:-1;24715:26:0;24707:81;;;;-1:-1:-1;;;24707:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24819:18:0;;;;;;:9;:18;;;;;;:30;;24842:6;24819:22;:30::i;:::-;-1:-1:-1;;;;;24798:18:0;;;;;;:9;:18;;;;;;;;:51;;;;24864:37;;;;;;;24798:18;;;;24864:37;;;;;;;;;;24516:392;;:::o;8518:147:1:-;8625:9;8518:147;:::o;4768:187:0:-;4854:7;4889:12;4881:6;;;;4873:29;;;;-1:-1:-1;;;4873:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4924:5:0;;;4768:187::o;6720:929:1:-;6825:6;-1:-1:-1;;;;;6815:16:1;:6;-1:-1:-1;;;;;6815:16:1;;;:30;;;;;6844:1;6835:6;:10;6815:30;6811:832;;;-1:-1:-1;;;;;6865:20:1;;;6861:379;;-1:-1:-1;;;;;6971:22:1;;6952:16;6971:22;;;:14;:22;;;;;;;;;7031:13;:60;;7090:1;7031:60;;;-1:-1:-1;;;;;7047:19:1;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;7067:13:1;;7047:34;;;;;;;;7079:1;7047:40;;7031:60;7011:80;-1:-1:-1;7109:17:1;7129:21;7011:80;7143:6;7129:13;:21::i;:::-;7109:41;;7168:57;7185:6;7193:9;7204;7215;7168:16;:57::i;:::-;6861:379;;;;-1:-1:-1;;;;;7258:20:1;;;7254:379;;-1:-1:-1;;;;;7364:22:1;;7345:16;7364:22;;;:14;:22;;;;;;;;;7424:13;:60;;7483:1;7424:60;;;-1:-1:-1;;;;;7440:19:1;;;;;;:11;:19;;;;;;;;:34;-1:-1:-1;;7460:13:1;;7440:34;;;;;;;;7472:1;7440:40;;7424:60;7404:80;-1:-1:-1;7502:17:1;7522:21;7404:80;7536:6;7522:13;:21::i;:::-;7502:41;;7561:57;7578:6;7586:9;7597;7608;7561:16;:57::i;7254:379::-;6720:929;;;:::o;7655:691::-;7822:18;7843:85;7850:12;7843:85;;;;;;;;;;;;;;;;;:6;:85::i;:::-;7822:106;;7958:1;7943:12;:16;;;:85;;;;-1:-1:-1;;;;;;7963:22:1;;;;;;:11;:22;;;;;;;;:65;-1:-1:-1;;7986:16:1;;7963:40;;;;;;;;;:50;:65;;;:50;;:65;7943:85;7939:334;;;-1:-1:-1;;;;;8044:22:1;;;;;;:11;:22;;;;;;;;:40;-1:-1:-1;;8067:16:1;;8044:40;;;;;;;;8082:1;8044:46;:57;;;7939:334;;;8171:33;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;8132:22:1;;-1:-1:-1;8132:22:1;;;:11;:22;;;;;:36;;;;;;;;;;:72;;;;;;;-1:-1:-1;;8132:72:1;;;;;;;;;;;;;8218:25;;;:14;:25;;;;;;:44;;8246:16;;;8218:44;;;;;;;;;;7939:334;8288:51;;;;;;;;;;;;;;-1:-1:-1;;;;;8288:51:1;;;;;;;;;;;7655:691;;;;;:::o;8352:160::-;8427:6;8466:12;8457:7;8453:11;;8445:34;;;;-1:-1:-1;;;8445:34:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;8503:1:1;;8352:160;-1:-1:-1;;8352:160:1:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://f7717c809924b262b576e7d39673a4c649ac80b44c8b451fa884f4d56a636a29
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)