ETH Price: $2,507.53 (-1.30%)

Token

The Triune Pact (TRIUNE)
 

Overview

Max Total Supply

1,000,000 TRIUNE

Holders

313

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.813305364795235442 TRIUNE

Value
$0.00
0x210af8c924a60d70538abbd6dcf54ed0cf516cce
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
TheTriunePact

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-01-31
*/

/**
 * The Firm wishes to advise all users of its $TRIUNE token that
 * the firm is not in control of the cryptocurrency, and as a 
 * decentralized asset, has no determining authority or influence 
 * over it. As such, $TRIUNE is solely managed by the public blockchain
 * network and the users of it who hold the asset. The Firm is not 
 * liable for any loss or claim arising out of or in connection with any 
 * acts related to SHIBA ecosystem.
**/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 subtraction 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;
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

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);
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)

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 Contracts guidelines: functions revert
 * instead 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:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, 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}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, 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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, 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) {
        address owner = _msgSender();
        _approve(owner, spender, allowance(owner, 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) {
        address owner = _msgSender();
        uint256 currentAllowance = allowance(owner, spender);
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This 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:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, 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);

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 Updates `owner` s allowance for `spender` based on spent `amount`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - 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 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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}



pragma solidity ^0.8.9;

contract TheTriunePact is ERC20, Ownable {

    using SafeMath for uint256;

    mapping(address => bool) private pair;
    bool public tradingOpen = false;
    uint256 public _maxWalletSize =    20_000 * 10 ** decimals();
    uint256 private _totalSupply  = 1_000_000 * 10 ** decimals();
    address _deployer;

    constructor() ERC20("The Triune Pact", "TRIUNE") {
        _deployer = address(_msgSender());
        _mint(_msgSender(), _totalSupply);
        
    }

    function registerPair(address toPair) public onlyOwner {
        require(!pair[toPair], "This pair is already excluded");
        pair[toPair] = true;
    }

    function enableTrading() public onlyOwner {
        require(!tradingOpen, "ERC20: Trading can be only opened once.");
        tradingOpen = true;
    }

    function setMaxWalletSize(uint256 maxWalletSize) public onlyOwner {
        _maxWalletSize = maxWalletSize * 10 ** decimals();
    }

    function removeLimits() public onlyOwner{
        _maxWalletSize = _totalSupply;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

       if(from != owner() && to != owner() && to != _deployer && from != _deployer) {

            //Trade start check
            if (!tradingOpen) {
                require(from == owner(), "TOKEN: This account cannot send tokens until trading is enabled");
            }

            //buy 
            
            if(from != owner() && to != owner() && pair[from]) {
                require(balanceOf(to) + amount <= _maxWalletSize, "TOKEN: Amount exceeds maximum wallet size");
                
            }
            
            // transfer
           
            if(from != owner() && to != owner() && !(pair[to]) && !(pair[from])) {
                require(balanceOf(to) + amount <= _maxWalletSize, "TOKEN: Balance exceeds max wallet size!");
            }

       }

       super._transfer(from, to, amount);

    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_maxWalletSize","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":[],"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":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toPair","type":"address"}],"name":"registerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxWalletSize","type":"uint256"}],"name":"setMaxWalletSize","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":[],"name":"tradingOpen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","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"}]

60806040526007805460ff191690556200001c6012600a62000360565b6200002a90614e2062000378565b6008556200003b6012600a62000360565b6200004a90620f424062000378565b6009553480156200005a57600080fd5b506040518060400160405280600f81526020016e151a1948151c9a5d5b9948141858dd608a1b81525060405180604001604052806006815260200165545249554e4560d01b8152508160039081620000b3919062000436565b506004620000c2828262000436565b505050620000df620000d96200010860201b60201c565b6200010c565b600a80546001600160a01b0319163390811790915562000102906009546200015e565b62000518565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001b95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001cd919062000502565b90915550506001600160a01b03821660009081526020819052604081208054839290620001fc90849062000502565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002a25781600019048211156200028657620002866200024b565b808516156200029457918102915b93841c939080029062000266565b509250929050565b600082620002bb575060016200035a565b81620002ca575060006200035a565b8160018114620002e35760028114620002ee576200030e565b60019150506200035a565b60ff8411156200030257620003026200024b565b50506001821b6200035a565b5060208310610133831016604e8410600b841016171562000333575081810a6200035a565b6200033f838362000261565b80600019048211156200035657620003566200024b565b0290505b92915050565b60006200037160ff841683620002aa565b9392505050565b80820281158282048414176200035a576200035a6200024b565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620003bd57607f821691505b602082108103620003de57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024657600081815260208120601f850160051c810160208610156200040d5750805b601f850160051c820191505b818110156200042e5782815560010162000419565b505050505050565b81516001600160401b0381111562000452576200045262000392565b6200046a81620004638454620003a8565b84620003e4565b602080601f831160018114620004a25760008415620004895750858301515b600019600386901b1c1916600185901b1785556200042e565b600085815260208120601f198616915b82811015620004d357888601518255948401946001909101908401620004b2565b5085821015620004f25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200035a576200035a6200024b565b6112e780620005286000396000f3fe608060405234801561001057600080fd5b506004361061016c5760003560e01c80638da5cb5b116100cd578063dc314b4411610081578063ea1644d511610066578063ea1644d5146102da578063f2fde38b146102ed578063ffb54a991461030057600080fd5b8063dc314b441461028e578063dd62ed3e146102a157600080fd5b806395d89b41116100b257806395d89b4114610260578063a457c2d714610268578063a9059cbb1461027b57600080fd5b80638da5cb5b1461023c5780638f9a55c01461025757600080fd5b80633950935111610124578063715018a611610109578063715018a614610222578063751039fc1461022c5780638a8c523c1461023457600080fd5b806339509351146101e657806370a08231146101f957600080fd5b806318160ddd1161015557806318160ddd146101b257806323b872dd146101c4578063313ce567146101d757600080fd5b806306fdde0314610171578063095ea7b31461018f575b600080fd5b61017961030d565b6040516101869190610fb6565b60405180910390f35b6101a261019d36600461103e565b61039f565b6040519015158152602001610186565b6002545b604051908152602001610186565b6101a26101d2366004611068565b6103b9565b60405160128152602001610186565b6101a26101f436600461103e565b6103dd565b6101b66102073660046110a4565b6001600160a01b031660009081526020819052604090205490565b61022a61041c565b005b61022a610430565b61022a610440565b6005546040516001600160a01b039091168152602001610186565b6101b660085481565b6101796104d5565b6101a261027636600461103e565b6104e4565b6101a261028936600461103e565b61058e565b61022a61029c3660046110a4565b61059c565b6101b66102af3660046110c6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022a6102e83660046110f9565b610631565b61022a6102fb3660046110a4565b610655565b6007546101a29060ff1681565b60606003805461031c90611112565b80601f016020809104026020016040519081016040528092919081815260200182805461034890611112565b80156103955780601f1061036a57610100808354040283529160200191610395565b820191906000526020600020905b81548152906001019060200180831161037857829003601f168201915b5050505050905090565b6000336103ad8185856106e5565b60019150505b92915050565b6000336103c785828561083d565b6103d28585856108cf565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906103ad9082908690610417908790611194565b6106e5565b610424610cdb565b61042e6000610d35565b565b610438610cdb565b600954600855565b610448610cdb565b60075460ff16156104c65760405162461bcd60e51b815260206004820152602760248201527f45524332303a2054726164696e672063616e206265206f6e6c79206f70656e6560448201527f64206f6e63652e0000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6007805460ff19166001179055565b60606004805461031c90611112565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156105815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104bd565b6103d282868684036106e5565b6000336103ad8185856108cf565b6105a4610cdb565b6001600160a01b03811660009081526006602052604090205460ff161561060d5760405162461bcd60e51b815260206004820152601d60248201527f54686973207061697220697320616c7265616479206578636c7564656400000060448201526064016104bd565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b610639610cdb565b6106456012600a61128b565b61064f908261129a565b60085550565b61065d610cdb565b6001600160a01b0381166106d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104bd565b6106e281610d35565b50565b6001600160a01b0383166107605760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b0382166107dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146108c957818110156108bc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104bd565b6108c984848484036106e5565b50505050565b6001600160a01b03831661094b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b0382166109c75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6005546001600160a01b038481169116148015906109f357506005546001600160a01b03838116911614155b8015610a0d5750600a546001600160a01b03838116911614155b8015610a275750600a546001600160a01b03848116911614155b15610ccb5760075460ff16610ab9576005546001600160a01b03848116911614610ab95760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016104bd565b6005546001600160a01b03848116911614801590610ae557506005546001600160a01b03838116911614155b8015610b0957506001600160a01b03831660009081526006602052604090205460ff165b15610baf5760085481610b31846001600160a01b031660009081526020819052604090205490565b610b3b9190611194565b1115610baf5760405162461bcd60e51b815260206004820152602960248201527f544f4b454e3a20416d6f756e742065786365656473206d6178696d756d20776160448201527f6c6c65742073697a65000000000000000000000000000000000000000000000060648201526084016104bd565b6005546001600160a01b03848116911614801590610bdb57506005546001600160a01b03838116911614155b8015610c0057506001600160a01b03821660009081526006602052604090205460ff16155b8015610c2557506001600160a01b03831660009081526006602052604090205460ff16155b15610ccb5760085481610c4d846001600160a01b031660009081526020819052604090205490565b610c579190611194565b1115610ccb5760405162461bcd60e51b815260206004820152602760248201527f544f4b454e3a2042616c616e63652065786365656473206d61782077616c6c6560448201527f742073697a65210000000000000000000000000000000000000000000000000060648201526084016104bd565b610cd6838383610d9f565b505050565b6005546001600160a01b0316331461042e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610e1b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b038216610e975760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b03831660009081526020819052604090205481811015610f265760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610f5d908490611194565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610fa991815260200190565b60405180910390a36108c9565b600060208083528351808285015260005b81811015610fe357858101830151858201604001528201610fc7565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b80356001600160a01b038116811461103957600080fd5b919050565b6000806040838503121561105157600080fd5b61105a83611022565b946020939093013593505050565b60008060006060848603121561107d57600080fd5b61108684611022565b925061109460208501611022565b9150604084013590509250925092565b6000602082840312156110b657600080fd5b6110bf82611022565b9392505050565b600080604083850312156110d957600080fd5b6110e283611022565b91506110f060208401611022565b90509250929050565b60006020828403121561110b57600080fd5b5035919050565b600181811c9082168061112657607f821691505b60208210810361115f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156103b3576103b3611165565b600181815b808511156111e25781600019048211156111c8576111c8611165565b808516156111d557918102915b93841c93908002906111ac565b509250929050565b6000826111f9575060016103b3565b81611206575060006103b3565b816001811461121c576002811461122657611242565b60019150506103b3565b60ff84111561123757611237611165565b50506001821b6103b3565b5060208310610133831016604e8410600b8410161715611265575081810a6103b3565b61126f83836111a7565b806000190482111561128357611283611165565b029392505050565b60006110bf60ff8416836111ea565b80820281158282048414176103b3576103b361116556fea2646970667358221220f2dc209151f5dfe59a542197b6637859410b259b96b84838e88d65d418288b5864736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061016c5760003560e01c80638da5cb5b116100cd578063dc314b4411610081578063ea1644d511610066578063ea1644d5146102da578063f2fde38b146102ed578063ffb54a991461030057600080fd5b8063dc314b441461028e578063dd62ed3e146102a157600080fd5b806395d89b41116100b257806395d89b4114610260578063a457c2d714610268578063a9059cbb1461027b57600080fd5b80638da5cb5b1461023c5780638f9a55c01461025757600080fd5b80633950935111610124578063715018a611610109578063715018a614610222578063751039fc1461022c5780638a8c523c1461023457600080fd5b806339509351146101e657806370a08231146101f957600080fd5b806318160ddd1161015557806318160ddd146101b257806323b872dd146101c4578063313ce567146101d757600080fd5b806306fdde0314610171578063095ea7b31461018f575b600080fd5b61017961030d565b6040516101869190610fb6565b60405180910390f35b6101a261019d36600461103e565b61039f565b6040519015158152602001610186565b6002545b604051908152602001610186565b6101a26101d2366004611068565b6103b9565b60405160128152602001610186565b6101a26101f436600461103e565b6103dd565b6101b66102073660046110a4565b6001600160a01b031660009081526020819052604090205490565b61022a61041c565b005b61022a610430565b61022a610440565b6005546040516001600160a01b039091168152602001610186565b6101b660085481565b6101796104d5565b6101a261027636600461103e565b6104e4565b6101a261028936600461103e565b61058e565b61022a61029c3660046110a4565b61059c565b6101b66102af3660046110c6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61022a6102e83660046110f9565b610631565b61022a6102fb3660046110a4565b610655565b6007546101a29060ff1681565b60606003805461031c90611112565b80601f016020809104026020016040519081016040528092919081815260200182805461034890611112565b80156103955780601f1061036a57610100808354040283529160200191610395565b820191906000526020600020905b81548152906001019060200180831161037857829003601f168201915b5050505050905090565b6000336103ad8185856106e5565b60019150505b92915050565b6000336103c785828561083d565b6103d28585856108cf565b506001949350505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906103ad9082908690610417908790611194565b6106e5565b610424610cdb565b61042e6000610d35565b565b610438610cdb565b600954600855565b610448610cdb565b60075460ff16156104c65760405162461bcd60e51b815260206004820152602760248201527f45524332303a2054726164696e672063616e206265206f6e6c79206f70656e6560448201527f64206f6e63652e0000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6007805460ff19166001179055565b60606004805461031c90611112565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909190838110156105815760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084016104bd565b6103d282868684036106e5565b6000336103ad8185856108cf565b6105a4610cdb565b6001600160a01b03811660009081526006602052604090205460ff161561060d5760405162461bcd60e51b815260206004820152601d60248201527f54686973207061697220697320616c7265616479206578636c7564656400000060448201526064016104bd565b6001600160a01b03166000908152600660205260409020805460ff19166001179055565b610639610cdb565b6106456012600a61128b565b61064f908261129a565b60085550565b61065d610cdb565b6001600160a01b0381166106d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016104bd565b6106e281610d35565b50565b6001600160a01b0383166107605760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b0382166107dc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0383811660009081526001602090815260408083209386168352929052205460001981146108c957818110156108bc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104bd565b6108c984848484036106e5565b50505050565b6001600160a01b03831661094b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b0382166109c75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6005546001600160a01b038481169116148015906109f357506005546001600160a01b03838116911614155b8015610a0d5750600a546001600160a01b03838116911614155b8015610a275750600a546001600160a01b03848116911614155b15610ccb5760075460ff16610ab9576005546001600160a01b03848116911614610ab95760405162461bcd60e51b815260206004820152603f60248201527f544f4b454e3a2054686973206163636f756e742063616e6e6f742073656e642060448201527f746f6b656e7320756e74696c2074726164696e6720697320656e61626c65640060648201526084016104bd565b6005546001600160a01b03848116911614801590610ae557506005546001600160a01b03838116911614155b8015610b0957506001600160a01b03831660009081526006602052604090205460ff165b15610baf5760085481610b31846001600160a01b031660009081526020819052604090205490565b610b3b9190611194565b1115610baf5760405162461bcd60e51b815260206004820152602960248201527f544f4b454e3a20416d6f756e742065786365656473206d6178696d756d20776160448201527f6c6c65742073697a65000000000000000000000000000000000000000000000060648201526084016104bd565b6005546001600160a01b03848116911614801590610bdb57506005546001600160a01b03838116911614155b8015610c0057506001600160a01b03821660009081526006602052604090205460ff16155b8015610c2557506001600160a01b03831660009081526006602052604090205460ff16155b15610ccb5760085481610c4d846001600160a01b031660009081526020819052604090205490565b610c579190611194565b1115610ccb5760405162461bcd60e51b815260206004820152602760248201527f544f4b454e3a2042616c616e63652065786365656473206d61782077616c6c6560448201527f742073697a65210000000000000000000000000000000000000000000000000060648201526084016104bd565b610cd6838383610d9f565b505050565b6005546001600160a01b0316331461042e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104bd565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038316610e1b5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b038216610e975760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b03831660009081526020819052604090205481811015610f265760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016104bd565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610f5d908490611194565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610fa991815260200190565b60405180910390a36108c9565b600060208083528351808285015260005b81811015610fe357858101830151858201604001528201610fc7565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b80356001600160a01b038116811461103957600080fd5b919050565b6000806040838503121561105157600080fd5b61105a83611022565b946020939093013593505050565b60008060006060848603121561107d57600080fd5b61108684611022565b925061109460208501611022565b9150604084013590509250925092565b6000602082840312156110b657600080fd5b6110bf82611022565b9392505050565b600080604083850312156110d957600080fd5b6110e283611022565b91506110f060208401611022565b90509250929050565b60006020828403121561110b57600080fd5b5035919050565b600181811c9082168061112657607f821691505b60208210810361115f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b808201808211156103b3576103b3611165565b600181815b808511156111e25781600019048211156111c8576111c8611165565b808516156111d557918102915b93841c93908002906111ac565b509250929050565b6000826111f9575060016103b3565b81611206575060006103b3565b816001811461121c576002811461122657611242565b60019150506103b3565b60ff84111561123757611237611165565b50506001821b6103b3565b5060208310610133831016604e8410600b8410161715611265575081810a6103b3565b61126f83836111a7565b806000190482111561128357611283611165565b029392505050565b60006110bf60ff8416836111ea565b80820281158282048414176103b3576103b361116556fea2646970667358221220f2dc209151f5dfe59a542197b6637859410b259b96b84838e88d65d418288b5864736f6c63430008110033

Deployed Bytecode Sourcemap

27704:2188:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14187:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;16538:201;;;;;;:::i;:::-;;:::i;:::-;;;1251:14:1;;1244:22;1226:41;;1214:2;1199:18;16538:201:0;1086:187:1;15307:108:0;15395:12;;15307:108;;;1424:25:1;;;1412:2;1397:18;15307:108:0;1278:177:1;17319:295:0;;;;;;:::i;:::-;;:::i;15149:93::-;;;15232:2;1935:36:1;;1923:2;1908:18;15149:93:0;1793:184:1;18023:238:0;;;;;;:::i;:::-;;:::i;15478:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15579:18:0;15552:7;15579:18;;;;;;;;;;;;15478:127;26856:103;;;:::i;:::-;;28665:88;;;:::i;28361:154::-;;;:::i;26208:87::-;26281:6;;26208:87;;-1:-1:-1;;;;;26281:6:0;;;2319:74:1;;2307:2;2292:18;26208:87:0;2173:226:1;27871:60:0;;;;;;14406:104;;;:::i;18764:436::-;;;;;;:::i;:::-;;:::i;15811:193::-;;;;;;:::i;:::-;;:::i;28194:159::-;;;;;;:::i;:::-;;:::i;16067:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;16183:18:0;;;16156:7;16183:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;16067:151;28523:134;;;;;;:::i;:::-;;:::i;27114:201::-;;;;;;:::i;:::-;;:::i;27833:31::-;;;;;;;;;14187:100;14241:13;14274:5;14267:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14187:100;:::o;16538:201::-;16621:4;11907:10;16677:32;11907:10;16693:7;16702:6;16677:8;:32::i;:::-;16727:4;16720:11;;;16538:201;;;;;:::o;17319:295::-;17450:4;11907:10;17508:38;17524:4;11907:10;17539:6;17508:15;:38::i;:::-;17557:27;17567:4;17573:2;17577:6;17557:9;:27::i;:::-;-1:-1:-1;17602:4:0;;17319:295;-1:-1:-1;;;;17319:295:0:o;18023:238::-;11907:10;18111:4;16183:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;16183:27:0;;;;;;;;;;18111:4;;11907:10;18167:64;;11907:10;;16183:27;;18192:38;;18220:10;;18192:38;:::i;:::-;18167:8;:64::i;26856:103::-;26094:13;:11;:13::i;:::-;26921:30:::1;26948:1;26921:18;:30::i;:::-;26856:103::o:0;28665:88::-;26094:13;:11;:13::i;:::-;28733:12:::1;::::0;28716:14:::1;:29:::0;28665:88::o;28361:154::-;26094:13;:11;:13::i;:::-;28423:11:::1;::::0;::::1;;28422:12;28414:64;;;::::0;-1:-1:-1;;;28414:64:0;;3817:2:1;28414:64:0::1;::::0;::::1;3799:21:1::0;3856:2;3836:18;;;3829:30;3895:34;3875:18;;;3868:62;3966:9;3946:18;;;3939:37;3993:19;;28414:64:0::1;;;;;;;;;28489:11;:18:::0;;-1:-1:-1;;28489:18:0::1;28503:4;28489:18;::::0;;28361:154::o;14406:104::-;14462:13;14495:7;14488:14;;;;;:::i;18764:436::-;11907:10;18857:4;16183:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;16183:27:0;;;;;;;;;;18857:4;;11907:10;19004:15;18984:16;:35;;18976:85;;;;-1:-1:-1;;;18976:85:0;;4225:2:1;18976:85:0;;;4207:21:1;4264:2;4244:18;;;4237:30;4303:34;4283:18;;;4276:62;4374:7;4354:18;;;4347:35;4399:19;;18976:85:0;4023:401:1;18976:85:0;19097:60;19106:5;19113:7;19141:15;19122:16;:34;19097:8;:60::i;15811:193::-;15890:4;11907:10;15946:28;11907:10;15963:2;15967:6;15946:9;:28::i;28194:159::-;26094:13;:11;:13::i;:::-;-1:-1:-1;;;;;28269:12:0;::::1;;::::0;;;:4:::1;:12;::::0;;;;;::::1;;28268:13;28260:55;;;::::0;-1:-1:-1;;;28260:55:0;;4631:2:1;28260:55:0::1;::::0;::::1;4613:21:1::0;4670:2;4650:18;;;4643:30;4709:31;4689:18;;;4682:59;4758:18;;28260:55:0::1;4429:353:1::0;28260:55:0::1;-1:-1:-1::0;;;;;28326:12:0::1;;::::0;;;:4:::1;:12;::::0;;;;:19;;-1:-1:-1;;28326:19:0::1;28341:4;28326:19;::::0;;28194:159::o;28523:134::-;26094:13;:11;:13::i;:::-;28633:16:::1;15232:2:::0;28633::::1;:16;:::i;:::-;28617:32;::::0;:13;:32:::1;:::i;:::-;28600:14;:49:::0;-1:-1:-1;28523:134:0:o;27114:201::-;26094:13;:11;:13::i;:::-;-1:-1:-1;;;;;27203:22:0;::::1;27195:73;;;::::0;-1:-1:-1;;;27195:73:0;;6665:2:1;27195:73:0::1;::::0;::::1;6647:21:1::0;6704:2;6684:18;;;6677:30;6743:34;6723:18;;;6716:62;6814:8;6794:18;;;6787:36;6840:19;;27195:73:0::1;6463:402:1::0;27195:73:0::1;27279:28;27298:8;27279:18;:28::i;:::-;27114:201:::0;:::o;22389:380::-;-1:-1:-1;;;;;22525:19:0;;22517:68;;;;-1:-1:-1;;;22517:68:0;;7072:2:1;22517:68:0;;;7054:21:1;7111:2;7091:18;;;7084:30;7150:34;7130:18;;;7123:62;7221:6;7201:18;;;7194:34;7245:19;;22517:68:0;6870:400:1;22517:68:0;-1:-1:-1;;;;;22604:21:0;;22596:68;;;;-1:-1:-1;;;22596:68:0;;7477:2:1;22596:68:0;;;7459:21:1;7516:2;7496:18;;;7489:30;7555:34;7535:18;;;7528:62;7626:4;7606:18;;;7599:32;7648:19;;22596:68:0;7275:398:1;22596:68:0;-1:-1:-1;;;;;22677:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;22729:32;;1424:25:1;;;22729:32:0;;1397:18:1;22729:32:0;;;;;;;22389:380;;;:::o;23060:453::-;-1:-1:-1;;;;;16183:18:0;;;23195:24;16183:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;23262:37:0;;23258:248;;23344:6;23324:16;:26;;23316:68;;;;-1:-1:-1;;;23316:68:0;;7880:2:1;23316:68:0;;;7862:21:1;7919:2;7899:18;;;7892:30;7958:31;7938:18;;;7931:59;8007:18;;23316:68:0;7678:353:1;23316:68:0;23428:51;23437:5;23444:7;23472:6;23453:16;:25;23428:8;:51::i;:::-;23184:329;23060:453;;;:::o;28761:1126::-;-1:-1:-1;;;;;28893:18:0;;28885:68;;;;-1:-1:-1;;;28885:68:0;;8238:2:1;28885:68:0;;;8220:21:1;8277:2;8257:18;;;8250:30;8316:34;8296:18;;;8289:62;8387:7;8367:18;;;8360:35;8412:19;;28885:68:0;8036:401:1;28885:68:0;-1:-1:-1;;;;;28972:16:0;;28964:64;;;;-1:-1:-1;;;28964:64:0;;8644:2:1;28964:64:0;;;8626:21:1;8683:2;8663:18;;;8656:30;8722:34;8702:18;;;8695:62;8793:5;8773:18;;;8766:33;8816:19;;28964:64:0;8442:399:1;28964:64:0;26281:6;;-1:-1:-1;;;;;29043:15:0;;;26281:6;;29043:15;;;;:32;;-1:-1:-1;26281:6:0;;-1:-1:-1;;;;;29062:13:0;;;26281:6;;29062:13;;29043:32;:51;;;;-1:-1:-1;29085:9:0;;-1:-1:-1;;;;;29079:15:0;;;29085:9;;29079:15;;29043:51;:72;;;;-1:-1:-1;29106:9:0;;-1:-1:-1;;;;;29098:17:0;;;29106:9;;29098:17;;29043:72;29040:793;;;29172:11;;;;29167:144;;26281:6;;-1:-1:-1;;;;;29212:15:0;;;26281:6;;29212:15;29204:91;;;;-1:-1:-1;;;29204:91:0;;9048:2:1;29204:91:0;;;9030:21:1;9087:2;9067:18;;;9060:30;9126:34;9106:18;;;9099:62;9197:33;9177:18;;;9170:61;9248:19;;29204:91:0;8846:427:1;29204:91:0;26281:6;;-1:-1:-1;;;;;29364:15:0;;;26281:6;;29364:15;;;;:32;;-1:-1:-1;26281:6:0;;-1:-1:-1;;;;;29383:13:0;;;26281:6;;29383:13;;29364:32;:46;;;;-1:-1:-1;;;;;;29400:10:0;;;;;;:4;:10;;;;;;;;29364:46;29361:198;;;29465:14;;29455:6;29439:13;29449:2;-1:-1:-1;;;;;15579:18:0;15552:7;15579:18;;;;;;;;;;;;15478:127;29439:13;:22;;;;:::i;:::-;:40;;29431:94;;;;-1:-1:-1;;;29431:94:0;;9480:2:1;29431:94:0;;;9462:21:1;9519:2;9499:18;;;9492:30;9558:34;9538:18;;;9531:62;9629:11;9609:18;;;9602:39;9658:19;;29431:94:0;9278:405:1;29431:94:0;26281:6;;-1:-1:-1;;;;;29628:15:0;;;26281:6;;29628:15;;;;:32;;-1:-1:-1;26281:6:0;;-1:-1:-1;;;;;29647:13:0;;;26281:6;;29647:13;;29628:32;:47;;;;-1:-1:-1;;;;;;29666:8:0;;;;;;:4;:8;;;;;;;;29664:11;29628:47;:64;;;;-1:-1:-1;;;;;;29681:10:0;;;;;;:4;:10;;;;;;;;29679:13;29628:64;29625:196;;;29747:14;;29737:6;29721:13;29731:2;-1:-1:-1;;;;;15579:18:0;15552:7;15579:18;;;;;;;;;;;;15478:127;29721:13;:22;;;;:::i;:::-;:40;;29713:92;;;;-1:-1:-1;;;29713:92:0;;9890:2:1;29713:92:0;;;9872:21:1;9929:2;9909:18;;;9902:30;9968:34;9948:18;;;9941:62;10039:9;10019:18;;;10012:37;10066:19;;29713:92:0;9688:403:1;29713:92:0;29844:33;29860:4;29866:2;29870:6;29844:15;:33::i;:::-;28761:1126;;;:::o;26373:132::-;26281:6;;-1:-1:-1;;;;;26281:6:0;11907:10;26437:23;26429:68;;;;-1:-1:-1;;;26429:68:0;;10298:2:1;26429:68:0;;;10280:21:1;;;10317:18;;;10310:30;10376:34;10356:18;;;10349:62;10428:18;;26429:68:0;10096:356:1;27475:191:0;27568:6;;;-1:-1:-1;;;;;27585:17:0;;;;;;;;;;;27618:40;;27568:6;;;27585:17;27568:6;;27618:40;;27549:16;;27618:40;27538:128;27475:191;:::o;19670:671::-;-1:-1:-1;;;;;19801:18:0;;19793:68;;;;-1:-1:-1;;;19793:68:0;;8238:2:1;19793:68:0;;;8220:21:1;8277:2;8257:18;;;8250:30;8316:34;8296:18;;;8289:62;8387:7;8367:18;;;8360:35;8412:19;;19793:68:0;8036:401:1;19793:68:0;-1:-1:-1;;;;;19880:16:0;;19872:64;;;;-1:-1:-1;;;19872:64:0;;8644:2:1;19872:64:0;;;8626:21:1;8683:2;8663:18;;;8656:30;8722:34;8702:18;;;8695:62;8793:5;8773:18;;;8766:33;8816:19;;19872:64:0;8442:399:1;19872:64:0;-1:-1:-1;;;;;20022:15:0;;20000:19;20022:15;;;;;;;;;;;20056:21;;;;20048:72;;;;-1:-1:-1;;;20048:72:0;;10659:2:1;20048:72:0;;;10641:21:1;10698:2;10678:18;;;10671:30;10737:34;10717:18;;;10710:62;10808:8;10788:18;;;10781:36;10834:19;;20048:72:0;10457:402:1;20048:72:0;-1:-1:-1;;;;;20156:15:0;;;:9;:15;;;;;;;;;;;20174:20;;;20156:38;;20216:13;;;;;;;;:23;;20188:6;;20156:9;20216:23;;20188:6;;20216:23;:::i;:::-;;;;;;;;20272:2;-1:-1:-1;;;;;20257:26:0;20266:4;-1:-1:-1;;;;;20257:26:0;;20276:6;20257:26;;;;1424:25:1;;1412:2;1397:18;;1278:177;20257:26:0;;;;;;;;20296:37;28761:1126;14:607:1;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;612:2;542:66;537:2;529:6;525:15;521:88;510:9;506:104;502:113;494:121;;;;14:607;;;;:::o;626:196::-;694:20;;-1:-1:-1;;;;;743:54:1;;733:65;;723:93;;812:1;809;802:12;723:93;626:196;;;:::o;827:254::-;895:6;903;956:2;944:9;935:7;931:23;927:32;924:52;;;972:1;969;962:12;924:52;995:29;1014:9;995:29;:::i;:::-;985:39;1071:2;1056:18;;;;1043:32;;-1:-1:-1;;;827:254:1:o;1460:328::-;1537:6;1545;1553;1606:2;1594:9;1585:7;1581:23;1577:32;1574:52;;;1622:1;1619;1612:12;1574:52;1645:29;1664:9;1645:29;:::i;:::-;1635:39;;1693:38;1727:2;1716:9;1712:18;1693:38;:::i;:::-;1683:48;;1778:2;1767:9;1763:18;1750:32;1740:42;;1460:328;;;;;:::o;1982:186::-;2041:6;2094:2;2082:9;2073:7;2069:23;2065:32;2062:52;;;2110:1;2107;2100:12;2062:52;2133:29;2152:9;2133:29;:::i;:::-;2123:39;1982:186;-1:-1:-1;;;1982:186:1:o;2404:260::-;2472:6;2480;2533:2;2521:9;2512:7;2508:23;2504:32;2501:52;;;2549:1;2546;2539:12;2501:52;2572:29;2591:9;2572:29;:::i;:::-;2562:39;;2620:38;2654:2;2643:9;2639:18;2620:38;:::i;:::-;2610:48;;2404:260;;;;;:::o;2669:180::-;2728:6;2781:2;2769:9;2760:7;2756:23;2752:32;2749:52;;;2797:1;2794;2787:12;2749:52;-1:-1:-1;2820:23:1;;2669:180;-1:-1:-1;2669:180:1:o;2854:437::-;2933:1;2929:12;;;;2976;;;2997:61;;3051:4;3043:6;3039:17;3029:27;;2997:61;3104:2;3096:6;3093:14;3073:18;3070:38;3067:218;;3141:77;3138:1;3131:88;3242:4;3239:1;3232:15;3270:4;3267:1;3260:15;3067:218;;2854:437;;;:::o;3296:184::-;3348:77;3345:1;3338:88;3445:4;3442:1;3435:15;3469:4;3466:1;3459:15;3485:125;3550:9;;;3571:10;;;3568:36;;;3584:18;;:::i;4787:482::-;4876:1;4919:5;4876:1;4933:330;4954:7;4944:8;4941:21;4933:330;;;5073:4;-1:-1:-1;;5001:77:1;4995:4;4992:87;4989:113;;;5082:18;;:::i;:::-;5132:7;5122:8;5118:22;5115:55;;;5152:16;;;;5115:55;5231:22;;;;5191:15;;;;4933:330;;;4937:3;4787:482;;;;;:::o;5274:866::-;5323:5;5353:8;5343:80;;-1:-1:-1;5394:1:1;5408:5;;5343:80;5442:4;5432:76;;-1:-1:-1;5479:1:1;5493:5;;5432:76;5524:4;5542:1;5537:59;;;;5610:1;5605:130;;;;5517:218;;5537:59;5567:1;5558:10;;5581:5;;;5605:130;5642:3;5632:8;5629:17;5626:43;;;5649:18;;:::i;:::-;-1:-1:-1;;5705:1:1;5691:16;;5720:5;;5517:218;;5819:2;5809:8;5806:16;5800:3;5794:4;5791:13;5787:36;5781:2;5771:8;5768:16;5763:2;5757:4;5754:12;5750:35;5747:77;5744:159;;;-1:-1:-1;5856:19:1;;;5888:5;;5744:159;5935:34;5960:8;5954:4;5935:34;:::i;:::-;6065:6;-1:-1:-1;;5993:79:1;5984:7;5981:92;5978:118;;;6076:18;;:::i;:::-;6114:20;;5274:866;-1:-1:-1;;;5274:866:1:o;6145:140::-;6203:5;6232:47;6273:4;6263:8;6259:19;6253:4;6232:47;:::i;6290:168::-;6363:9;;;6394;;6411:15;;;6405:22;;6391:37;6381:71;;6432:18;;:::i

Swarm Source

ipfs://f2dc209151f5dfe59a542197b6637859410b259b96b84838e88d65d418288b58
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.