ETH Price: $3,481.20 (+0.28%)
Gas: 11 Gwei

Token

Hamaca (HAMA)
 

Overview

Max Total Supply

21,000,000,000 HAMA

Holders

17

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
martinlisen.eth
Balance
1,093,344 HAMA

Value
$0.00
0x91a2c1e5ede954ce9a0709c79ac2b2f7705a3fa4
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:
HamacaToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-09-07
*/

//  ___  ___  ________  _____ ______   ________  ________  ________     
// |\  \|\  \|\   __  \|\   _ \  _   \|\   __  \|\   ____\|\   __  \    
// \ \  \\\  \ \  \|\  \ \  \\\__\ \  \ \  \|\  \ \  \___|\ \  \|\  \   
//  \ \   __  \ \   __  \ \  \\|__| \  \ \   __  \ \  \    \ \   __  \  
//   \ \  \ \  \ \  \ \  \ \  \    \ \  \ \  \ \  \ \  \____\ \  \ \  \ 
//    \ \__\ \__\ \__\ \__\ \__\    \ \__\ \__\ \__\ \_______\ \__\ \__\
//     \|__|\|__|\|__|\|__|\|__|     \|__|\|__|\|__|\|_______|\|__|\|__|


// File: solady/src/auth/Ownable.sol


pragma solidity ^0.8.4;

/// @notice Simple single owner authorization mixin.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)
///
/// @dev Note:
/// This implementation does NOT auto-initialize the owner to `msg.sender`.
/// You MUST call the `_initializeOwner` in the constructor / initializer.
///
/// While the ownable portion follows
/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,
/// the nomenclature for the 2-step ownership handover may be unique to this codebase.
abstract contract Ownable {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       CUSTOM ERRORS                        */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The caller is not authorized to call the function.
    error Unauthorized();

    /// @dev The `newOwner` cannot be the zero address.
    error NewOwnerIsZeroAddress();

    /// @dev The `pendingOwner` does not have a valid handover request.
    error NoHandoverRequest();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           EVENTS                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The ownership is transferred from `oldOwner` to `newOwner`.
    /// This event is intentionally kept the same as OpenZeppelin's Ownable to be
    /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),
    /// despite it not being as lightweight as a single argument event.
    event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);

    /// @dev An ownership handover to `pendingOwner` has been requested.
    event OwnershipHandoverRequested(address indexed pendingOwner);

    /// @dev The ownership handover to `pendingOwner` has been canceled.
    event OwnershipHandoverCanceled(address indexed pendingOwner);

    /// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`.
    uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =
        0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;

    /// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =
        0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;

    /// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =
        0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          STORAGE                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The owner slot is given by: `not(_OWNER_SLOT_NOT)`.
    /// It is intentionally chosen to be a high value
    /// to avoid collision with lower slots.
    /// The choice of manual storage layout is to enable compatibility
    /// with both regular and upgradeable contracts.
    uint256 private constant _OWNER_SLOT_NOT = 0x8b78c6d8;

    /// The ownership handover slot of `newOwner` is given by:
    /// ```
    ///     mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))
    ///     let handoverSlot := keccak256(0x00, 0x20)
    /// ```
    /// It stores the expiry timestamp of the two-step ownership handover.
    uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     INTERNAL FUNCTIONS                     */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Initializes the owner directly without authorization guard.
    /// This function must be called upon initialization,
    /// regardless of whether the contract is upgradeable or not.
    /// This is to enable generalization to both regular and upgradeable contracts,
    /// and to save gas in case the initial owner is not the caller.
    /// For performance reasons, this function will not check if there
    /// is an existing owner.
    function _initializeOwner(address newOwner) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Clean the upper 96 bits.
            newOwner := shr(96, shl(96, newOwner))
            // Store the new value.
            sstore(not(_OWNER_SLOT_NOT), newOwner)
            // Emit the {OwnershipTransferred} event.
            log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)
        }
    }

    /// @dev Sets the owner directly without authorization guard.
    function _setOwner(address newOwner) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            let ownerSlot := not(_OWNER_SLOT_NOT)
            // Clean the upper 96 bits.
            newOwner := shr(96, shl(96, newOwner))
            // Emit the {OwnershipTransferred} event.
            log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)
            // Store the new value.
            sstore(ownerSlot, newOwner)
        }
    }

    /// @dev Throws if the sender is not the owner.
    function _checkOwner() internal view virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // If the caller is not the stored owner, revert.
            if iszero(eq(caller(), sload(not(_OWNER_SLOT_NOT)))) {
                mstore(0x00, 0x82b42900) // `Unauthorized()`.
                revert(0x1c, 0x04)
            }
        }
    }

    /// @dev Returns how long a two-step ownership handover is valid for in seconds.
    /// Override to return a different value if needed.
    /// Made internal to conserve bytecode. Wrap it in a public function if needed.
    function _ownershipHandoverValidFor() internal view virtual returns (uint64) {
        return 48 * 3600;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  PUBLIC UPDATE FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Allows the owner to transfer the ownership to `newOwner`.
    function transferOwnership(address newOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            if iszero(shl(96, newOwner)) {
                mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.
                revert(0x1c, 0x04)
            }
        }
        _setOwner(newOwner);
    }

    /// @dev Allows the owner to renounce their ownership.
    function renounceOwnership() public payable virtual onlyOwner {
        _setOwner(address(0));
    }

    /// @dev Request a two-step ownership handover to the caller.
    /// The request will automatically expire in 48 hours (172800 seconds) by default.
    function requestOwnershipHandover() public payable virtual {
        unchecked {
            uint256 expires = block.timestamp + _ownershipHandoverValidFor();
            /// @solidity memory-safe-assembly
            assembly {
                // Compute and set the handover slot to `expires`.
                mstore(0x0c, _HANDOVER_SLOT_SEED)
                mstore(0x00, caller())
                sstore(keccak256(0x0c, 0x20), expires)
                // Emit the {OwnershipHandoverRequested} event.
                log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())
            }
        }
    }

    /// @dev Cancels the two-step ownership handover to the caller, if any.
    function cancelOwnershipHandover() public payable virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, caller())
            sstore(keccak256(0x0c, 0x20), 0)
            // Emit the {OwnershipHandoverCanceled} event.
            log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())
        }
    }

    /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.
    /// Reverts if there is no existing ownership handover requested by `pendingOwner`.
    function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            let handoverSlot := keccak256(0x0c, 0x20)
            // If the handover does not exist, or has expired.
            if gt(timestamp(), sload(handoverSlot)) {
                mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.
                revert(0x1c, 0x04)
            }
            // Set the handover slot to 0.
            sstore(handoverSlot, 0)
        }
        _setOwner(pendingOwner);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   PUBLIC READ FUNCTIONS                    */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the owner of the contract.
    function owner() public view virtual returns (address result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := sload(not(_OWNER_SLOT_NOT))
        }
    }

    /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.
    function ownershipHandoverExpiresAt(address pendingOwner)
        public
        view
        virtual
        returns (uint256 result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the handover slot.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            // Load the handover slot.
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         MODIFIERS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Marks a function as only callable by the owner.
    modifier onlyOwner() virtual {
        _checkOwner();
        _;
    }
}

// File: solady/src/tokens/ERC20.sol


pragma solidity ^0.8.4;

/// @notice Simple ERC20 + EIP-2612 implementation.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol)
///
/// @dev Note:
/// The ERC20 standard allows minting and transferring to and from the zero address,
/// minting and transferring zero tokens, as well as self-approvals.
/// For performance, this implementation WILL NOT revert for such actions.
/// Please add any checks with overrides if desired.
abstract contract ERC20 {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       CUSTOM ERRORS                        */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The total supply has overflowed.
    error TotalSupplyOverflow();

    /// @dev The allowance has overflowed.
    error AllowanceOverflow();

    /// @dev The allowance has underflowed.
    error AllowanceUnderflow();

    /// @dev Insufficient balance.
    error InsufficientBalance();

    /// @dev Insufficient allowance.
    error InsufficientAllowance();

    /// @dev The permit is invalid.
    error InvalidPermit();

    /// @dev The permit has expired.
    error PermitExpired();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           EVENTS                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Emitted when `amount` tokens is transferred from `from` to `to`.
    event Transfer(address indexed from, address indexed to, uint256 amount);

    /// @dev Emitted when `amount` tokens is approved by `owner` to be used by `spender`.
    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /// @dev `keccak256(bytes("Transfer(address,address,uint256)"))`.
    uint256 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    /// @dev `keccak256(bytes("Approval(address,address,uint256)"))`.
    uint256 private constant _APPROVAL_EVENT_SIGNATURE =
        0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          STORAGE                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The storage slot for the total supply.
    uint256 private constant _TOTAL_SUPPLY_SLOT = 0x05345cdf77eb68f44c;

    /// @dev The balance slot of `owner` is given by:
    /// ```
    ///     mstore(0x0c, _BALANCE_SLOT_SEED)
    ///     mstore(0x00, owner)
    ///     let balanceSlot := keccak256(0x0c, 0x20)
    /// ```
    uint256 private constant _BALANCE_SLOT_SEED = 0x87a211a2;

    /// @dev The allowance slot of (`owner`, `spender`) is given by:
    /// ```
    ///     mstore(0x20, spender)
    ///     mstore(0x0c, _ALLOWANCE_SLOT_SEED)
    ///     mstore(0x00, owner)
    ///     let allowanceSlot := keccak256(0x0c, 0x34)
    /// ```
    uint256 private constant _ALLOWANCE_SLOT_SEED = 0x7f5e9f20;

    /// @dev The nonce slot of `owner` is given by:
    /// ```
    ///     mstore(0x0c, _NONCES_SLOT_SEED)
    ///     mstore(0x00, owner)
    ///     let nonceSlot := keccak256(0x0c, 0x20)
    /// ```
    uint256 private constant _NONCES_SLOT_SEED = 0x38377508;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       ERC20 METADATA                       */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the name of the token.
    function name() public view virtual returns (string memory);

    /// @dev Returns the symbol of the token.
    function symbol() public view virtual returns (string memory);

    /// @dev Returns the decimals places of the token.
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           ERC20                            */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the amount of tokens in existence.
    function totalSupply() public view virtual returns (uint256 result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := sload(_TOTAL_SUPPLY_SLOT)
        }
    }

    /// @dev Returns the amount of tokens owned by `owner`.
    function balanceOf(address owner) public view virtual returns (uint256 result) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, owner)
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /// @dev Returns the amount of tokens that `spender` can spend on behalf of `owner`.
    function allowance(address owner, address spender)
        public
        view
        virtual
        returns (uint256 result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, owner)
            result := sload(keccak256(0x0c, 0x34))
        }
    }

    /// @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
    ///
    /// Emits a {Approval} event.
    function approve(address spender, uint256 amount) public virtual returns (bool) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and store the amount.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, caller())
            sstore(keccak256(0x0c, 0x34), amount)
            // Emit the {Approval} event.
            mstore(0x00, amount)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c)))
        }
        return true;
    }

    /// @dev Atomically increases the allowance granted to `spender` by the caller.
    ///
    /// Emits a {Approval} event.
    function increaseAllowance(address spender, uint256 difference) public virtual returns (bool) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and load its value.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, caller())
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowanceBefore := sload(allowanceSlot)
            // Add to the allowance.
            let allowanceAfter := add(allowanceBefore, difference)
            // Revert upon overflow.
            if lt(allowanceAfter, allowanceBefore) {
                mstore(0x00, 0xf9067066) // `AllowanceOverflow()`.
                revert(0x1c, 0x04)
            }
            // Store the updated allowance.
            sstore(allowanceSlot, allowanceAfter)
            // Emit the {Approval} event.
            mstore(0x00, allowanceAfter)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c)))
        }
        return true;
    }

    /// @dev Atomically decreases the allowance granted to `spender` by the caller.
    ///
    /// Emits a {Approval} event.
    function decreaseAllowance(address spender, uint256 difference) public virtual returns (bool) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and load its value.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, caller())
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowanceBefore := sload(allowanceSlot)
            // Revert if will underflow.
            if lt(allowanceBefore, difference) {
                mstore(0x00, 0x8301ab38) // `AllowanceUnderflow()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated allowance.
            let allowanceAfter := sub(allowanceBefore, difference)
            sstore(allowanceSlot, allowanceAfter)
            // Emit the {Approval} event.
            mstore(0x00, allowanceAfter)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c)))
        }
        return true;
    }

    /// @dev Transfer `amount` tokens from the caller to `to`.
    ///
    /// Requirements:
    /// - `from` must at least have `amount`.
    ///
    /// Emits a {Transfer} event.
    function transfer(address to, uint256 amount) public virtual returns (bool) {
        _beforeTokenTransfer(msg.sender, to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the balance slot and load its value.
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, caller())
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Compute the balance slot of `to`.
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance of `to`.
            // Will not overflow because the sum of all user balances
            // cannot exceed the maximum uint256 value.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, caller(), shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(msg.sender, to, amount);
        return true;
    }

    /// @dev Transfers `amount` tokens from `from` to `to`.
    ///
    /// Note: Does not update the allowance if it is the maximum uint256 value.
    ///
    /// Requirements:
    /// - `from` must at least have `amount`.
    /// - The caller must have at least `amount` of allowance to transfer the tokens of `from`.
    ///
    /// Emits a {Transfer} event.
    function transferFrom(address from, address to, uint256 amount) public virtual returns (bool) {
        _beforeTokenTransfer(from, to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            let from_ := shl(96, from)
            // Compute the allowance slot and load its value.
            mstore(0x20, caller())
            mstore(0x0c, or(from_, _ALLOWANCE_SLOT_SEED))
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowance_ := sload(allowanceSlot)
            // If the allowance is not the maximum uint256 value.
            if iszero(eq(allowance_, not(0))) {
                // Revert if the amount to be transferred exceeds the allowance.
                if gt(amount, allowance_) {
                    mstore(0x00, 0x13be252b) // `InsufficientAllowance()`.
                    revert(0x1c, 0x04)
                }
                // Subtract and store the updated allowance.
                sstore(allowanceSlot, sub(allowance_, amount))
            }
            // Compute the balance slot and load its value.
            mstore(0x0c, or(from_, _BALANCE_SLOT_SEED))
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Compute the balance slot of `to`.
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance of `to`.
            // Will not overflow because the sum of all user balances
            // cannot exceed the maximum uint256 value.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(from, to, amount);
        return true;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          EIP-2612                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the current nonce for `owner`.
    /// This value is used to compute the signature for EIP-2612 permit.
    function nonces(address owner) public view virtual returns (uint256 result) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the nonce slot and load its value.
            mstore(0x0c, _NONCES_SLOT_SEED)
            mstore(0x00, owner)
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /// @dev Sets `value` as the allowance of `spender` over the tokens of `owner`,
    /// authorized by a signed approval by `owner`.
    ///
    /// Emits a {Approval} event.
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual {
        bytes32 domainSeparator = DOMAIN_SEPARATOR();
        /// @solidity memory-safe-assembly
        assembly {
            // Grab the free memory pointer.
            let m := mload(0x40)
            // Revert if the block timestamp greater than `deadline`.
            if gt(timestamp(), deadline) {
                mstore(0x00, 0x1a15a3cc) // `PermitExpired()`.
                revert(0x1c, 0x04)
            }
            // Clean the upper 96 bits.
            owner := shr(96, shl(96, owner))
            spender := shr(96, shl(96, spender))
            // Compute the nonce slot and load its value.
            mstore(0x0c, _NONCES_SLOT_SEED)
            mstore(0x00, owner)
            let nonceSlot := keccak256(0x0c, 0x20)
            let nonceValue := sload(nonceSlot)
            // Increment and store the updated nonce.
            sstore(nonceSlot, add(nonceValue, 1))
            // Prepare the inner hash.
            // `keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")`.
            // forgefmt: disable-next-item
            mstore(m, 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9)
            mstore(add(m, 0x20), owner)
            mstore(add(m, 0x40), spender)
            mstore(add(m, 0x60), value)
            mstore(add(m, 0x80), nonceValue)
            mstore(add(m, 0xa0), deadline)
            // Prepare the outer hash.
            mstore(0, 0x1901)
            mstore(0x20, domainSeparator)
            mstore(0x40, keccak256(m, 0xc0))
            // Prepare the ecrecover calldata.
            mstore(0, keccak256(0x1e, 0x42))
            mstore(0x20, and(0xff, v))
            mstore(0x40, r)
            mstore(0x60, s)
            pop(staticcall(gas(), 1, 0, 0x80, 0x20, 0x20))
            // If the ecrecover fails, the returndatasize will be 0x00,
            // `owner` will be be checked if it equals the hash at 0x00,
            // which evaluates to false (i.e. 0), and we will revert.
            // If the ecrecover succeeds, the returndatasize will be 0x20,
            // `owner` will be compared against the returned address at 0x20.
            if iszero(eq(mload(returndatasize()), owner)) {
                mstore(0x00, 0xddafbaef) // `InvalidPermit()`.
                revert(0x1c, 0x04)
            }
            // Compute the allowance slot and store the value.
            // The `owner` is already at slot 0x20.
            mstore(0x40, or(shl(160, _ALLOWANCE_SLOT_SEED), spender))
            sstore(keccak256(0x2c, 0x34), value)
            // Emit the {Approval} event.
            log3(add(m, 0x60), 0x20, _APPROVAL_EVENT_SIGNATURE, owner, spender)
            mstore(0x40, m) // Restore the free memory pointer.
            mstore(0x60, 0) // Restore the zero pointer.
        }
    }

    /// @dev Returns the EIP-2612 domains separator.
    function DOMAIN_SEPARATOR() public view virtual returns (bytes32 result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := mload(0x40) // Grab the free memory pointer.
        }
        //  We simply calculate it on-the-fly to allow for cases where the `name` may change.
        bytes32 nameHash = keccak256(bytes(name()));
        /// @solidity memory-safe-assembly
        assembly {
            let m := result
            // `keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")`.
            // forgefmt: disable-next-item
            mstore(m, 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f)
            mstore(add(m, 0x20), nameHash)
            // `keccak256("1")`.
            // forgefmt: disable-next-item
            mstore(add(m, 0x40), 0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6)
            mstore(add(m, 0x60), chainid())
            mstore(add(m, 0x80), address())
            result := keccak256(m, 0xa0)
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  INTERNAL MINT FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Mints `amount` tokens to `to`, increasing the total supply.
    ///
    /// Emits a {Transfer} event.
    function _mint(address to, uint256 amount) internal virtual {
        _beforeTokenTransfer(address(0), to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            let totalSupplyBefore := sload(_TOTAL_SUPPLY_SLOT)
            let totalSupplyAfter := add(totalSupplyBefore, amount)
            // Revert if the total supply overflows.
            if lt(totalSupplyAfter, totalSupplyBefore) {
                mstore(0x00, 0xe5cfe957) // `TotalSupplyOverflow()`.
                revert(0x1c, 0x04)
            }
            // Store the updated total supply.
            sstore(_TOTAL_SUPPLY_SLOT, totalSupplyAfter)
            // Compute the balance slot and load its value.
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, 0, shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(address(0), to, amount);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  INTERNAL BURN FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Burns `amount` tokens from `from`, reducing the total supply.
    ///
    /// Emits a {Transfer} event.
    function _burn(address from, uint256 amount) internal virtual {
        _beforeTokenTransfer(from, address(0), amount);
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the balance slot and load its value.
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, from)
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Subtract and store the updated total supply.
            sstore(_TOTAL_SUPPLY_SLOT, sub(sload(_TOTAL_SUPPLY_SLOT), amount))
            // Emit the {Transfer} event.
            mstore(0x00, amount)
            log3(0x00, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, shl(96, from)), 0)
        }
        _afterTokenTransfer(from, address(0), amount);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                INTERNAL TRANSFER FUNCTIONS                 */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Moves `amount` of tokens from `from` to `to`.
    function _transfer(address from, address to, uint256 amount) internal virtual {
        _beforeTokenTransfer(from, to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            let from_ := shl(96, from)
            // Compute the balance slot and load its value.
            mstore(0x0c, or(from_, _BALANCE_SLOT_SEED))
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Compute the balance slot of `to`.
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance of `to`.
            // Will not overflow because the sum of all user balances
            // cannot exceed the maximum uint256 value.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(from, to, amount);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                INTERNAL ALLOWANCE FUNCTIONS                */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Updates the allowance of `owner` for `spender` based on spent `amount`.
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and load its value.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, owner)
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowance_ := sload(allowanceSlot)
            // If the allowance is not the maximum uint256 value.
            if iszero(eq(allowance_, not(0))) {
                // Revert if the amount to be transferred exceeds the allowance.
                if gt(amount, allowance_) {
                    mstore(0x00, 0x13be252b) // `InsufficientAllowance()`.
                    revert(0x1c, 0x04)
                }
                // Subtract and store the updated allowance.
                sstore(allowanceSlot, sub(allowance_, amount))
            }
        }
    }

    /// @dev Sets `amount` as the allowance of `spender` over the tokens of `owner`.
    ///
    /// Emits a {Approval} event.
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            let owner_ := shl(96, owner)
            // Compute the allowance slot and store the amount.
            mstore(0x20, spender)
            mstore(0x0c, or(owner_, _ALLOWANCE_SLOT_SEED))
            sstore(keccak256(0x0c, 0x34), amount)
            // Emit the {Approval} event.
            mstore(0x00, amount)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, shr(96, owner_), shr(96, mload(0x2c)))
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     HOOKS TO OVERRIDE                      */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Hook that is called before any transfer of tokens.
    /// This includes minting and burning.
    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.
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

// File: hama/hama.sol


pragma solidity ^0.8.13;



contract HamacaToken is Ownable, ERC20{
    
    bool public limited;
    uint256 public maxHoldingAmount;
    uint256 public minHoldingAmount;
    address public liquidityPair;
    mapping(address => bool) public blacklists;
    mapping(uint256 => bool) public claimed;

    constructor() ERC20() {
        _initializeOwner(0x11F9e0e1760c45B942874b1417d8383d724A5635);
        _mint(0x11F9e0e1760c45B942874b1417d8383d724A5635, 18900000000000000000000000000);
        _mint(0x55AA01b62ED325bDcce1738562ed8d510CBc934d,1050000000000000000000000000);
        _mint(0x6Eb3b4FbCd7394b4a81cF3FE5CB47A35cfBa5505,1050000000000000000000000000);
    }

    /// @dev Returns the name of the token.
    function name() public view virtual override returns (string memory) {
        return "Hamaca";
    }

    /// @dev Returns the symbol of the token.
    function symbol() public view virtual override returns (string memory){
        return "HAMA";
    }

    function blacklist(address _address, bool _isBlacklisting) external onlyOwner {
        blacklists[_address] = _isBlacklisting;
    }

    function setRule(bool _limited, address _liquidityPair, uint256 _maxHoldingAmount, uint256 _minHoldingAmount) external onlyOwner {
        limited = _limited;
        liquidityPair = _liquidityPair;
        maxHoldingAmount = _maxHoldingAmount;
        minHoldingAmount = _minHoldingAmount;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) override internal virtual {
        require(!blacklists[to] && !blacklists[from], "Blacklisted");

        if (liquidityPair == address(0)) {
            require(from == owner() || to == owner() || from == address(0), "trading is not started");
            return;
        }

        if (limited && from == liquidityPair) {
            require(super.balanceOf(to) + amount <= maxHoldingAmount && super.balanceOf(to) + amount >= minHoldingAmount, "Forbid");
        }
    }

    function burn(uint256 value) external {
        _burn(msg.sender, value);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AllowanceOverflow","type":"error"},{"inputs":[],"name":"AllowanceUnderflow","type":"error"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidPermit","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"PermitExpired","type":"error"},{"inputs":[],"name":"TotalSupplyOverflow","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"result","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"result","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"bool","name":"_isBlacklisting","type":"bool"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","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":"difference","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"difference","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxHoldingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minHoldingAmount","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":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"_limited","type":"bool"},{"internalType":"address","name":"_liquidityPair","type":"address"},{"internalType":"uint256","name":"_maxHoldingAmount","type":"uint256"},{"internalType":"uint256","name":"_minHoldingAmount","type":"uint256"}],"name":"setRule","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":"result","type":"uint256"}],"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":"payable","type":"function"}]

60806040523480156200001157600080fd5b50620000317311f9e0e1760c45b942874b1417d8383d724a5635620000bb565b6200005d7311f9e0e1760c45b942874b1417d8383d724a56356b3d11b6acffb177b254000000620000f7565b620000897355aa01b62ed325bdcce1738562ed8d510cbc934d6b03648a260e3486a65a000000620000f7565b620000b5736eb3b4fbcd7394b4a81cf3fe5cb47a35cfba55056b03648a260e3486a65a000000620000f7565b620003b3565b6001600160a01b0316638b78c6d8198190558060007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b620001056000838362000185565b6805345cdf77eb68f44c54818101818110156200012a5763e5cfe9576000526004601cfd5b806805345cdf77eb68f44c5550506387a211a2600c52816000526020600c208181540181555080602052600c5160601c60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a35050565b6001600160a01b03821660009081526004602052604090205460ff16158015620001c857506001600160a01b03831660009081526004602052604090205460ff16155b620002085760405162461bcd60e51b815260206004820152600b60248201526a109b1858dadb1a5cdd195960aa1b60448201526064015b60405180910390fd5b6003546001600160a01b0316620002bd57638b78c6d819546001600160a01b0316836001600160a01b03161480620002575750638b78c6d819546001600160a01b0316826001600160a01b0316145b806200026a57506001600160a01b038316155b620002b85760405162461bcd60e51b815260206004820152601660248201527f74726164696e67206973206e6f742073746172746564000000000000000000006044820152606401620001ff565b505050565b60005460ff168015620002dd57506003546001600160a01b038481169116145b15620002b85760015481620002fd846200037360201b620009c41760201c565b6200030991906200038b565b111580156200033c5750600254816200032d846200037360201b620009c41760201c565b6200033991906200038b565b10155b620002b85760405162461bcd60e51b8152602060048201526006602482015265119bdc989a5960d21b6044820152606401620001ff565b6387a211a2600c908152600091909152602090205490565b80820180821115620003ad57634e487b7160e01b600052601160045260246000fd5b92915050565b61140280620003c36000396000f3fe6080604052600436106101cd5760003560e01c8063715018a6116100f7578063a457c2d711610095578063dd62ed3e11610064578063dd62ed3e14610629578063f04e283e1461065f578063f2fde38b14610672578063fee81cf41461068557600080fd5b8063a457c2d714610599578063a9059cbb146105b9578063d505accf146105d9578063dbe7e3bd146105f957600080fd5b8063860a32ec116100d1578063860a32ec146104ef57806389f9a1d3146105095780638da5cb5b1461051f57806395d89b411461055357600080fd5b8063715018a6146104625780637ecebe001461046a578063808a54571461049d57600080fd5b8063313ce5671161016f578063404e51291161013e578063404e5129146103e757806342966c681461040757806354d1f13d1461042757806370a082311461042f57600080fd5b8063313ce567146102f15780633644e5151461030d57806339509351146103a75780633aa633aa146103c757600080fd5b806318160ddd116101ab57806318160ddd1461028a5780631ab99e12146102b157806323b872dd146102c757806325692962146102e757600080fd5b806306fdde03146101d2578063095ea7b31461022a57806316c021291461025a575b600080fd5b3480156101de57600080fd5b5060408051808201909152600681527f48616d616361000000000000000000000000000000000000000000000000000060208201525b604051610221919061113a565b60405180910390f35b34801561023657600080fd5b5061024a6102453660046111cf565b6106b8565b6040519015158152602001610221565b34801561026657600080fd5b5061024a6102753660046111f9565b60046020526000908152604090205460ff1681565b34801561029657600080fd5b506805345cdf77eb68f44c545b604051908152602001610221565b3480156102bd57600080fd5b506102a360025481565b3480156102d357600080fd5b5061024a6102e236600461121b565b61070c565b6102ef6107d5565b005b3480156102fd57600080fd5b5060405160128152602001610221565b34801561031957600080fd5b5060408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527fd809984de43f312133d838b7ee79278f8952d13c15624a6d4a168399c437b05e60208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a090206102a3565b3480156103b357600080fd5b5061024a6103c23660046111cf565b610825565b3480156103d357600080fd5b506102ef6103e2366004611267565b610897565b3480156103f357600080fd5b506102ef6104023660046112a9565b61091d565b34801561041357600080fd5b506102ef6104223660046112dc565b61097b565b6102ef610988565b34801561043b57600080fd5b506102a361044a3660046111f9565b6387a211a2600c908152600091909152602090205490565b6102ef6109dc565b34801561047657600080fd5b506102a36104853660046111f9565b6338377508600c908152600091909152602090205490565b3480156104a957600080fd5b506003546104ca9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610221565b3480156104fb57600080fd5b5060005461024a9060ff1681565b34801561051557600080fd5b506102a360015481565b34801561052b57600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927546104ca565b34801561055f57600080fd5b5060408051808201909152600481527f48414d41000000000000000000000000000000000000000000000000000000006020820152610214565b3480156105a557600080fd5b5061024a6105b43660046111cf565b6109f0565b3480156105c557600080fd5b5061024a6105d43660046111cf565b610a63565b3480156105e557600080fd5b506102ef6105f43660046112f5565b610ae9565b34801561060557600080fd5b5061024a6106143660046112dc565b60056020526000908152604090205460ff1681565b34801561063557600080fd5b506102a3610644366004611368565b602052637f5e9f20600c908152600091909152603490205490565b6102ef61066d3660046111f9565b610cae565b6102ef6106803660046111f9565b610ceb565b34801561069157600080fd5b506102a36106a03660046111f9565b63389a75e1600c908152600091909152602090205490565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a35060015b92915050565b6000610719848484610d12565b8360601b33602052637f5e9f208117600c526034600c20805460001981146107575780851115610751576313be252b6000526004601cfd5b84810382555b50506387a211a28117600c526020600c208054808511156107805763f4d678b86000526004601cfd5b84810382555050836000526020600c208381540181555082602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a3505060019392505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b600082602052637f5e9f20600c52336000526034600c208054838101818110156108575763f90670666000526004601cfd5b80835580600052505050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b61089f61100e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001694151594909417909355600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155600155600255565b61092561100e565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260046020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6109853382611044565b50565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b6387a211a2600c908152600091909152602090205490565b6109e461100e565b6109ee60006110d4565b565b600082602052637f5e9f20600c52336000526034600c20805483811015610a1f57638301ab386000526004601cfd5b8381039050808255806000525050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b6000610a70338484610d12565b6387a211a2600c52336000526020600c20805480841115610a995763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350600192915050565b6000610b7960408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527fd809984de43f312133d838b7ee79278f8952d13c15624a6d4a168399c437b05e60208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a0902090565b905060405185421115610b9457631a15a3cc6000526004601cfd5b8860601b60601c98508760601b60601c97506338377508600c52886000526020600c2080546001810182557f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a602084015289604084015288606084015280608084015250508560a08201526119016000528160205260c081206040526042601e206000528460ff1660205283604052826060526020806080600060015afa50883d5114610c4c5763ddafbaef6000526004601cfd5b777f5e9f20000000000000000000000000000000000000000088176040526034602c2087905587897f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602060608501a360405250506000606052505050505050565b610cb661100e565b63389a75e1600c52806000526020600c208054421115610cde57636f5e88186000526004601cfd5b60009055610985816110d4565b610cf361100e565b8060601b610d0957637448fbae6000526004601cfd5b610985816110d4565b73ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff16158015610d6e575073ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff16155b610dd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f426c61636b6c697374656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60035473ffffffffffffffffffffffffffffffffffffffff16610f27577fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275473ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610e9d57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80610ebc575073ffffffffffffffffffffffffffffffffffffffff8316155b610f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f74726164696e67206973206e6f742073746172746564000000000000000000006044820152606401610dd0565b505050565b60005460ff168015610f53575060035473ffffffffffffffffffffffffffffffffffffffff8481169116145b15610f22576001546387a211a2600c90815260008490526020902054610f7a908390611392565b11158015610fa857506002546387a211a2600c90815260008490526020902054610fa5908390611392565b10155b610f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f466f7262696400000000000000000000000000000000000000000000000000006044820152606401610dd0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275433146109ee576382b429006000526004601cfd5b61105082600083610d12565b6387a211a2600c52816000526020600c208054808311156110795763f4d678b86000526004601cfd5b82900390556805345cdf77eb68f44c80548290039055600081815273ffffffffffffffffffffffffffffffffffffffff83167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602083a35050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b600060208083528351808285015260005b818110156111675785810183015185820160400152820161114b565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146111ca57600080fd5b919050565b600080604083850312156111e257600080fd5b6111eb836111a6565b946020939093013593505050565b60006020828403121561120b57600080fd5b611214826111a6565b9392505050565b60008060006060848603121561123057600080fd5b611239846111a6565b9250611247602085016111a6565b9150604084013590509250925092565b803580151581146111ca57600080fd5b6000806000806080858703121561127d57600080fd5b61128685611257565b9350611294602086016111a6565b93969395505050506040820135916060013590565b600080604083850312156112bc57600080fd5b6112c5836111a6565b91506112d360208401611257565b90509250929050565b6000602082840312156112ee57600080fd5b5035919050565b600080600080600080600060e0888a03121561131057600080fd5b611319886111a6565b9650611327602089016111a6565b95506040880135945060608801359350608088013560ff8116811461134b57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561137b57600080fd5b611384836111a6565b91506112d3602084016111a6565b80820180821115610706577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122068762856fe4ad7c4d1236e3f9b903971e2cffdfd5968a5925c7c16c4af9e2a6a64736f6c63430008110033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c8063715018a6116100f7578063a457c2d711610095578063dd62ed3e11610064578063dd62ed3e14610629578063f04e283e1461065f578063f2fde38b14610672578063fee81cf41461068557600080fd5b8063a457c2d714610599578063a9059cbb146105b9578063d505accf146105d9578063dbe7e3bd146105f957600080fd5b8063860a32ec116100d1578063860a32ec146104ef57806389f9a1d3146105095780638da5cb5b1461051f57806395d89b411461055357600080fd5b8063715018a6146104625780637ecebe001461046a578063808a54571461049d57600080fd5b8063313ce5671161016f578063404e51291161013e578063404e5129146103e757806342966c681461040757806354d1f13d1461042757806370a082311461042f57600080fd5b8063313ce567146102f15780633644e5151461030d57806339509351146103a75780633aa633aa146103c757600080fd5b806318160ddd116101ab57806318160ddd1461028a5780631ab99e12146102b157806323b872dd146102c757806325692962146102e757600080fd5b806306fdde03146101d2578063095ea7b31461022a57806316c021291461025a575b600080fd5b3480156101de57600080fd5b5060408051808201909152600681527f48616d616361000000000000000000000000000000000000000000000000000060208201525b604051610221919061113a565b60405180910390f35b34801561023657600080fd5b5061024a6102453660046111cf565b6106b8565b6040519015158152602001610221565b34801561026657600080fd5b5061024a6102753660046111f9565b60046020526000908152604090205460ff1681565b34801561029657600080fd5b506805345cdf77eb68f44c545b604051908152602001610221565b3480156102bd57600080fd5b506102a360025481565b3480156102d357600080fd5b5061024a6102e236600461121b565b61070c565b6102ef6107d5565b005b3480156102fd57600080fd5b5060405160128152602001610221565b34801561031957600080fd5b5060408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527fd809984de43f312133d838b7ee79278f8952d13c15624a6d4a168399c437b05e60208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a090206102a3565b3480156103b357600080fd5b5061024a6103c23660046111cf565b610825565b3480156103d357600080fd5b506102ef6103e2366004611267565b610897565b3480156103f357600080fd5b506102ef6104023660046112a9565b61091d565b34801561041357600080fd5b506102ef6104223660046112dc565b61097b565b6102ef610988565b34801561043b57600080fd5b506102a361044a3660046111f9565b6387a211a2600c908152600091909152602090205490565b6102ef6109dc565b34801561047657600080fd5b506102a36104853660046111f9565b6338377508600c908152600091909152602090205490565b3480156104a957600080fd5b506003546104ca9073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610221565b3480156104fb57600080fd5b5060005461024a9060ff1681565b34801561051557600080fd5b506102a360015481565b34801561052b57600080fd5b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927546104ca565b34801561055f57600080fd5b5060408051808201909152600481527f48414d41000000000000000000000000000000000000000000000000000000006020820152610214565b3480156105a557600080fd5b5061024a6105b43660046111cf565b6109f0565b3480156105c557600080fd5b5061024a6105d43660046111cf565b610a63565b3480156105e557600080fd5b506102ef6105f43660046112f5565b610ae9565b34801561060557600080fd5b5061024a6106143660046112dc565b60056020526000908152604090205460ff1681565b34801561063557600080fd5b506102a3610644366004611368565b602052637f5e9f20600c908152600091909152603490205490565b6102ef61066d3660046111f9565b610cae565b6102ef6106803660046111f9565b610ceb565b34801561069157600080fd5b506102a36106a03660046111f9565b63389a75e1600c908152600091909152602090205490565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a35060015b92915050565b6000610719848484610d12565b8360601b33602052637f5e9f208117600c526034600c20805460001981146107575780851115610751576313be252b6000526004601cfd5b84810382555b50506387a211a28117600c526020600c208054808511156107805763f4d678b86000526004601cfd5b84810382555050836000526020600c208381540181555082602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a3505060019392505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b600082602052637f5e9f20600c52336000526034600c208054838101818110156108575763f90670666000526004601cfd5b80835580600052505050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b61089f61100e565b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001694151594909417909355600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9390931692909217909155600155600255565b61092561100e565b73ffffffffffffffffffffffffffffffffffffffff91909116600090815260046020526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b6109853382611044565b50565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b6387a211a2600c908152600091909152602090205490565b6109e461100e565b6109ee60006110d4565b565b600082602052637f5e9f20600c52336000526034600c20805483811015610a1f57638301ab386000526004601cfd5b8381039050808255806000525050602c5160601c337f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560206000a350600192915050565b6000610a70338484610d12565b6387a211a2600c52336000526020600c20805480841115610a995763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c337fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350600192915050565b6000610b7960408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527fd809984de43f312133d838b7ee79278f8952d13c15624a6d4a168399c437b05e60208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a0902090565b905060405185421115610b9457631a15a3cc6000526004601cfd5b8860601b60601c98508760601b60601c97506338377508600c52886000526020600c2080546001810182557f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a602084015289604084015288606084015280608084015250508560a08201526119016000528160205260c081206040526042601e206000528460ff1660205283604052826060526020806080600060015afa50883d5114610c4c5763ddafbaef6000526004601cfd5b777f5e9f20000000000000000000000000000000000000000088176040526034602c2087905587897f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925602060608501a360405250506000606052505050505050565b610cb661100e565b63389a75e1600c52806000526020600c208054421115610cde57636f5e88186000526004601cfd5b60009055610985816110d4565b610cf361100e565b8060601b610d0957637448fbae6000526004601cfd5b610985816110d4565b73ffffffffffffffffffffffffffffffffffffffff821660009081526004602052604090205460ff16158015610d6e575073ffffffffffffffffffffffffffffffffffffffff831660009081526004602052604090205460ff16155b610dd9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600b60248201527f426c61636b6c697374656400000000000000000000000000000000000000000060448201526064015b60405180910390fd5b60035473ffffffffffffffffffffffffffffffffffffffff16610f27577fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275473ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480610e9d57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16145b80610ebc575073ffffffffffffffffffffffffffffffffffffffff8316155b610f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f74726164696e67206973206e6f742073746172746564000000000000000000006044820152606401610dd0565b505050565b60005460ff168015610f53575060035473ffffffffffffffffffffffffffffffffffffffff8481169116145b15610f22576001546387a211a2600c90815260008490526020902054610f7a908390611392565b11158015610fa857506002546387a211a2600c90815260008490526020902054610fa5908390611392565b10155b610f22576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600660248201527f466f7262696400000000000000000000000000000000000000000000000000006044820152606401610dd0565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff748739275433146109ee576382b429006000526004601cfd5b61105082600083610d12565b6387a211a2600c52816000526020600c208054808311156110795763f4d678b86000526004601cfd5b82900390556805345cdf77eb68f44c80548290039055600081815273ffffffffffffffffffffffffffffffffffffffff83167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602083a35050565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffff74873927805473ffffffffffffffffffffffffffffffffffffffff9092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b600060208083528351808285015260005b818110156111675785810183015185820160400152820161114b565b5060006040828601015260407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8301168501019250505092915050565b803573ffffffffffffffffffffffffffffffffffffffff811681146111ca57600080fd5b919050565b600080604083850312156111e257600080fd5b6111eb836111a6565b946020939093013593505050565b60006020828403121561120b57600080fd5b611214826111a6565b9392505050565b60008060006060848603121561123057600080fd5b611239846111a6565b9250611247602085016111a6565b9150604084013590509250925092565b803580151581146111ca57600080fd5b6000806000806080858703121561127d57600080fd5b61128685611257565b9350611294602086016111a6565b93969395505050506040820135916060013590565b600080604083850312156112bc57600080fd5b6112c5836111a6565b91506112d360208401611257565b90509250929050565b6000602082840312156112ee57600080fd5b5035919050565b600080600080600080600060e0888a03121561131057600080fd5b611319886111a6565b9650611327602089016111a6565b95506040880135945060608801359350608088013560ff8116811461134b57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561137b57600080fd5b611384836111a6565b91506112d3602084016111a6565b80820180821115610706577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fdfea264697066735822122068762856fe4ad7c4d1236e3f9b903971e2cffdfd5968a5925c7c16c4af9e2a6a64736f6c63430008110033

Deployed Bytecode Sourcemap

38030:2111:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38738:103;;;;;;;;;;-1:-1:-1;38818:15:0;;;;;;;;;;;;;;;;;38738:103;;;;;;;:::i;:::-;;;;;;;;17792:586;;;;;;;;;;-1:-1:-1;17792:586:0;;;;;:::i;:::-;;:::i;:::-;;;1251:14:1;;1244:22;1226:41;;1214:2;1199:18;17792:586:0;1086:187:1;38218:42:0;;;;;;;;;;-1:-1:-1;38218:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;16608:200;;;;;;;;;;-1:-1:-1;16771:18:0;16765:25;16608:200;;;1615:25:1;;;1603:2;1588:18;16608:200:0;1469:177:1;38145:31:0;;;;;;;;;;;;;;;;22799:2247;;;;;;;;;;-1:-1:-1;22799:2247:0;;;;;:::i;:::-;;:::i;8015:630::-;;;:::i;:::-;;16172:84;;;;;;;;;;-1:-1:-1;16172:84:0;;16246:2;2126:36:1;;2114:2;2099:18;16172:84:0;1984:184:1;29144:1083:0;;;;;;;;;;-1:-1:-1;29312:4:0;29306:11;;38818:15;;;;;;;29786:66;29776:77;;29485:24;38818:15;;;29867:30;30010:66;29989:88;;;30112:9;30105:4;30098:12;;30091:31;30157:9;30150:4;30143:12;;30136:31;30204:4;30191:18;;29144:1083;;18515:1081;;;;;;;;;;-1:-1:-1;18515:1081:0;;;;;:::i;:::-;;:::i;39149:301::-;;;;;;;;;;-1:-1:-1;39149:301:0;;;;;:::i;:::-;;:::i;39006:135::-;;;;;;;;;;-1:-1:-1;39006:135:0;;;;;:::i;:::-;;:::i;40055:81::-;;;;;;;;;;-1:-1:-1;40055:81:0;;;;;:::i;:::-;;:::i;8730:466::-;;;:::i;16877:293::-;;;;;;;;;;-1:-1:-1;16877:293:0;;;;;:::i;:::-;17048:18;17042:4;17035:32;;;16940:14;17081:19;;;;17146:4;17130:21;;17124:28;;16877:293;7750:102;;;:::i;25468:348::-;;;;;;;;;;-1:-1:-1;25468:348:0;;;;;:::i;:::-;25695:17;25689:4;25682:31;;;25528:14;25727:19;;;;25792:4;25776:21;;25770:28;;25468:348;38183:28;;;;;;;;;;-1:-1:-1;38183:28:0;;;;;;;;;;;3536:42:1;3524:55;;;3506:74;;3494:2;3479:18;38183:28:0;3360:226:1;38081:19:0;;;;;;;;;;-1:-1:-1;38081:19:0;;;;;;;;38107:31;;;;;;;;;;;;;;;;10455:196;;;;;;;;;;-1:-1:-1;10612:20:0;10606:27;10455:196;;38896:102;;;;;;;;;;-1:-1:-1;38977:13:0;;;;;;;;;;;;;;;;;38896:102;;19733:1057;;;;;;;;;;-1:-1:-1;19733:1057:0;;;;;:::i;:::-;;:::i;20985:1435::-;;;;;;;;;;-1:-1:-1;20985:1435:0;;;;;:::i;:::-;;:::i;26006:3076::-;;;;;;;;;;-1:-1:-1;26006:3076:0;;;;;:::i;:::-;;:::i;38267:39::-;;;;;;;;;;-1:-1:-1;38267:39:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;17268:388;;;;;;;;;;-1:-1:-1;17268:388:0;;;;;:::i;:::-;17491:4;17484:21;17532:20;17526:4;17519:34;;;17384:14;17567:19;;;;17632:4;17616:21;;17610:28;;17268:388;9387:724;;;;;;:::i;:::-;;:::i;7324:358::-;;;;;;:::i;:::-;;:::i;10757:449::-;;;;;;;;;;-1:-1:-1;10757:449:0;;;;;:::i;:::-;11036:19;11030:4;11023:33;;;10880:14;11070:26;;;;11182:4;11166:21;;11160:28;;10757:449;17792:586;17866:4;18029:7;18023:4;18016:21;18064:20;18058:4;18051:34;18112:8;18106:4;18099:22;18165:6;18158:4;18152;18142:21;18135:37;18242:6;18236:4;18229:20;18331:4;18325:11;18321:2;18317:20;18307:8;18280:25;18274:4;18268;18263:75;-1:-1:-1;18366:4:0;17792:586;;;;;:::o;22799:2247::-;22887:4;22904:38;22925:4;22931:2;22935:6;22904:20;:38::i;:::-;23042:4;23038:2;23034:13;23137:8;23131:4;23124:22;23183:20;23176:5;23173:31;23167:4;23160:45;23256:4;23250;23240:21;23299:13;23293:20;23423:1;23419:6;23407:10;23404:22;23394:438;;23543:10;23535:6;23532:22;23529:162;;;23591:10;23585:4;23578:24;23667:4;23661;23654:18;23529:162;23809:6;23797:10;23793:23;23778:13;23771:46;23394:438;;;23930:18;23923:5;23920:29;23914:4;23907:43;24003:4;23997;23987:21;24047:15;24041:22;24139:11;24131:6;24128:23;24125:149;;;24184:10;24178:4;24171:24;24254:4;24248;24241:18;24125:149;24385:6;24372:11;24368:24;24351:15;24344:49;;;24470:2;24464:4;24457:16;24524:4;24518;24508:21;24778:6;24762:13;24756:20;24752:33;24737:13;24730:56;;24856:6;24850:4;24843:20;24951:4;24945:11;24941:2;24937:20;24929:5;24925:2;24921:14;24894:25;24888:4;24882;24877:81;;-1:-1:-1;25034:4:0;22799:2247;;;;;:::o;8015:630::-;8110:15;6940:9;8128:46;;:15;:46;8110:64;;8346:19;8340:4;8333:33;8397:8;8391:4;8384:22;8454:7;8447:4;8441;8431:21;8424:38;8603:8;8556:45;8553:1;8550;8545:67;8246:381;8015:630::o;18515:1081::-;18603:4;18764:7;18758:4;18751:21;18799:20;18793:4;18786:34;18847:8;18841:4;18834:22;18907:4;18901;18891:21;18955:13;18949:20;19064:10;19047:15;19043:32;19149:15;19133:14;19130:35;19127:159;;;19198:10;19192:4;19185:24;19266:4;19260;19253:18;19127:159;19367:14;19352:13;19345:37;19452:14;19446:4;19439:28;;;;19549:4;19543:11;19539:2;19535:20;19525:8;19498:25;19492:4;19486;19481:75;-1:-1:-1;19584:4:0;18515:1081;;;;:::o;39149:301::-;11603:13;:11;:13::i;:::-;39289:7:::1;:18:::0;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;;39318:13:::1;:30:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;;-1:-1:-1;39359:36:0;-1:-1:-1;39406:36:0;39149:301::o;39006:135::-;11603:13;:11;:13::i;:::-;39095:20:::1;::::0;;;::::1;;::::0;;;:10:::1;:20;::::0;;;;:38;;;::::1;::::0;::::1;;::::0;;;::::1;::::0;;39006:135::o;40055:81::-;40104:24;40110:10;40122:5;40104;:24::i;:::-;40055:81;:::o;8730:466::-;8936:19;8930:4;8923:33;8983:8;8977:4;8970:22;9036:1;9029:4;9023;9013:21;9006:32;9169:8;9123:44;9120:1;9117;9112:66;8730:466::o;16877:293::-;17048:18;17042:4;17035:32;;;16940:14;17081:19;;;;17146:4;17130:21;;17124:28;;16877:293::o;7750:102::-;11603:13;:11;:13::i;:::-;7823:21:::1;7841:1;7823:9;:21::i;:::-;7750:102::o:0;19733:1057::-;19821:4;19982:7;19976:4;19969:21;20017:20;20011:4;20004:34;20065:8;20059:4;20052:22;20125:4;20119;20109:21;20173:13;20167:20;20266:10;20249:15;20246:31;20243:156;;;20310:10;20304:4;20297:24;20379:4;20373;20366:18;20243:156;20514:10;20497:15;20493:32;20471:54;;20561:14;20546:13;20539:37;20646:14;20640:4;20633:28;;;20743:4;20737:11;20733:2;20729:20;20719:8;20692:25;20686:4;20680;20675:75;-1:-1:-1;20778:4:0;19733:1057;;;;:::o;20985:1435::-;21055:4;21072:44;21093:10;21105:2;21109:6;21072:20;:44::i;:::-;21269:18;21263:4;21256:32;21315:8;21309:4;21302:22;21377:4;21371;21361:21;21421:15;21415:22;21513:11;21505:6;21502:23;21499:149;;;21558:10;21552:4;21545:24;21628:4;21622;21615:18;21499:149;21759:6;21746:11;21742:24;21725:15;21718:49;;;21844:2;21838:4;21831:16;21898:4;21892;21882:21;22152:6;22136:13;22130:20;22126:33;22111:13;22104:56;;22230:6;22224:4;22217:20;22319:4;22313:11;22309:2;22305:20;22295:8;22268:25;22262:4;22256;22251:75;-1:-1:-1;22408:4:0;20985:1435;;;;:::o;26006:3076::-;26214:23;26240:18;29312:4;29306:11;;38818:15;;;;;;;29786:66;29776:77;;29485:24;38818:15;;;29867:30;30010:66;29989:88;;;30112:9;30105:4;30098:12;;30091:31;30157:9;30150:4;30143:12;;30136:31;30204:4;30191:18;;;29144:1083;26240:18;26214:44;;26398:4;26392:11;26507:8;26494:11;26491:25;26488:145;;;26549:10;26543:4;26536:24;26613:4;26607;26600:18;26488:145;26713:5;26709:2;26705:14;26701:2;26697:23;26688:32;;26761:7;26757:2;26753:16;26749:2;26745:25;26734:36;;26856:17;26850:4;26843:31;26901:5;26895:4;26888:19;26954:4;26948;26938:21;26997:9;26991:16;27110:1;27098:10;27094:18;27083:9;27076:37;27336:66;27333:1;27326:77;27438:5;27431:4;27428:1;27424:12;27417:27;27479:7;27472:4;27469:1;27465:12;27458:29;27522:5;27515:4;27512:1;27508:12;27501:27;27563:10;27556:4;27553:1;27549:12;27542:32;;;27609:8;27602:4;27599:1;27595:12;27588:30;27682:6;27679:1;27672:17;27716:15;27710:4;27703:29;27772:4;27769:1;27759:18;27753:4;27746:32;27866:4;27860;27850:21;27847:1;27840:32;27909:1;27903:4;27899:12;27893:4;27886:26;27939:1;27933:4;27926:15;27968:1;27962:4;27955:15;28024:4;28018;28012;28009:1;28006;27999:5;27988:41;27984:46;28455:5;28436:16;28430:23;28427:34;28417:162;;28495:10;28489:4;28482:24;28559:4;28553;28546:18;28417:162;28726:30;28723:43;;28717:4;28710:57;28804:4;28798;28788:21;28781:36;;;28758:7;28926:5;28899:25;-1:-1:-1;28886:4:0;28879:12;;28874:67;28962:4;28955:15;-1:-1:-1;;29033:1:0;29027:4;29020:15;-1:-1:-1;;;;;;26006:3076:0:o;9387:724::-;11603:13;:11;:13::i;:::-;9625:19:::1;9619:4;9612:33;9672:12;9666:4;9659:26;9735:4;9729;9719:21;9843:12;9837:19;9824:11;9821:36;9818:160;;;9890:10;9884:4;9877:24;9958:4;9952;9945:18;9818:160;10057:1;10036:23:::0;;10080::::1;10090:12:::0;10080:9:::1;:23::i;7324:358::-:0;11603:13;:11;:13::i;:::-;7499:8:::1;7495:2;7491:17;7481:153;;7542:10;7536:4;7529:24;7614:4;7608;7601:18;7481:153;7655:19;7665:8;7655:9;:19::i;39458:589::-:0;39610:14;;;;;;;:10;:14;;;;;;;;39609:15;:36;;;;-1:-1:-1;39629:16:0;;;;;;;:10;:16;;;;;;;;39628:17;39609:36;39601:60;;;;;;;4756:2:1;39601:60:0;;;4738:21:1;4795:2;4775:18;;;4768:30;4834:13;4814:18;;;4807:41;4865:18;;39601:60:0;;;;;;;;;39678:13;;:27;:13;39674:170;;10612:20;10606:27;39730:15;;:4;:15;;;:32;;;-1:-1:-1;10612:20:0;10606:27;39749:13;;:2;:13;;;39730:32;:54;;;-1:-1:-1;39766:18:0;;;;39730:54;39722:89;;;;;;;5096:2:1;39722:89:0;;;5078:21:1;5135:2;5115:18;;;5108:30;5174:24;5154:18;;;5147:52;5216:18;;39722:89:0;4894:346:1;39722:89:0;39458:589;;;:::o;39674:170::-;39860:7;;;;:32;;;;-1:-1:-1;39879:13:0;;;39871:21;;;39879:13;;39871:21;39860:32;39856:184;;;39949:16;;17048:18;17042:4;17035:32;;;16940:14;17081:19;;;17146:4;17130:21;;17124:28;39917;;39939:6;;39917:28;:::i;:::-;:48;;:100;;;;-1:-1:-1;40001:16:0;;17048:18;17042:4;17035:32;;;16940:14;17081:19;;;17146:4;17130:21;;17124:28;39969;;39991:6;;39969:28;:::i;:::-;:48;;39917:100;39909:119;;;;;;;5731:2:1;39909:119:0;;;5713:21:1;5770:1;5750:18;;;5743:29;5808:8;5788:18;;;5781:36;5834:18;;39909:119:0;5529:329:1;6236:373:0;6452:20;6446:27;6436:8;6433:41;6423:168;;6508:10;6502:4;6495:24;6571:4;6565;6558:18;32251:1142;32324:46;32345:4;32359:1;32363:6;32324:20;:46::i;:::-;32523:18;32517:4;32510:32;32569:4;32563;32556:18;32627:4;32621;32611:21;32671:15;32665:22;32763:11;32755:6;32752:23;32749:149;;;32808:10;32802:4;32795:24;32878:4;32872;32865:18;32749:149;32992:24;;;32968:49;;33129:18;33123:25;;33119:38;;;33092:66;;-1:-1:-1;33215:20:0;;;33293:22;;;33266:25;33260:4;-1:-1:-1;33249:70:0;32251:1142;;:::o;5669:506::-;5819:20;6052:16;;5906:26;;;;;;;6012:38;6009:1;;6001:78;6130:27;5669:506::o;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;;754:42;743:54;;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;1278:186::-;1337:6;1390:2;1378:9;1369:7;1365:23;1361:32;1358:52;;;1406:1;1403;1396:12;1358:52;1429:29;1448:9;1429:29;:::i;:::-;1419:39;1278:186;-1:-1:-1;;;1278:186:1:o;1651:328::-;1728:6;1736;1744;1797:2;1785:9;1776:7;1772:23;1768:32;1765:52;;;1813:1;1810;1803:12;1765:52;1836:29;1855:9;1836:29;:::i;:::-;1826:39;;1884:38;1918:2;1907:9;1903:18;1884:38;:::i;:::-;1874:48;;1969:2;1958:9;1954:18;1941:32;1931:42;;1651:328;;;;;:::o;2355:160::-;2420:20;;2476:13;;2469:21;2459:32;;2449:60;;2505:1;2502;2495:12;2520:391;2603:6;2611;2619;2627;2680:3;2668:9;2659:7;2655:23;2651:33;2648:53;;;2697:1;2694;2687:12;2648:53;2720:26;2736:9;2720:26;:::i;:::-;2710:36;;2765:38;2799:2;2788:9;2784:18;2765:38;:::i;:::-;2520:391;;2755:48;;-1:-1:-1;;;;2850:2:1;2835:18;;2822:32;;2901:2;2886:18;2873:32;;2520:391::o;2916:254::-;2981:6;2989;3042:2;3030:9;3021:7;3017:23;3013:32;3010:52;;;3058:1;3055;3048:12;3010:52;3081:29;3100:9;3081:29;:::i;:::-;3071:39;;3129:35;3160:2;3149:9;3145:18;3129:35;:::i;:::-;3119:45;;2916:254;;;;;:::o;3175:180::-;3234:6;3287:2;3275:9;3266:7;3262:23;3258:32;3255:52;;;3303:1;3300;3293:12;3255:52;-1:-1:-1;3326:23:1;;3175:180;-1:-1:-1;3175:180:1:o;3591:693::-;3702:6;3710;3718;3726;3734;3742;3750;3803:3;3791:9;3782:7;3778:23;3774:33;3771:53;;;3820:1;3817;3810:12;3771:53;3843:29;3862:9;3843:29;:::i;:::-;3833:39;;3891:38;3925:2;3914:9;3910:18;3891:38;:::i;:::-;3881:48;;3976:2;3965:9;3961:18;3948:32;3938:42;;4027:2;4016:9;4012:18;3999:32;3989:42;;4081:3;4070:9;4066:19;4053:33;4126:4;4119:5;4115:16;4108:5;4105:27;4095:55;;4146:1;4143;4136:12;4095:55;3591:693;;;;-1:-1:-1;3591:693:1;;;;4169:5;4221:3;4206:19;;4193:33;;-1:-1:-1;4273:3:1;4258:19;;;4245:33;;3591:693;-1:-1:-1;;3591:693:1:o;4289:260::-;4357:6;4365;4418:2;4406:9;4397:7;4393:23;4389:32;4386:52;;;4434:1;4431;4424:12;4386:52;4457:29;4476:9;4457:29;:::i;:::-;4447:39;;4505:38;4539:2;4528:9;4524:18;4505:38;:::i;5245:279::-;5310:9;;;5331:10;;;5328:190;;;5374:77;5371:1;5364:88;5475:4;5472:1;5465:15;5503:4;5500:1;5493:15

Swarm Source

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