ETH Price: $3,322.41 (-4.46%)

Token

HopperzCarrot (HOPCAR)
 

Overview

Max Total Supply

32,383,492.60646 HOPCAR

Holders

1,361

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
9,715.57069 HOPCAR

Value
$0.00
0x45c0fc558fbb3df426b82fedc59d61d80b47d74f
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:
HopperzCarrot

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : HopperzCarrot.sol
//SPDX-License-Identifier: MIT

/*
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@ Hopperz $Carrot Contract @@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@,,@@@@@@@@@@@@@@@@@@@@@@@@@,,@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@,,,,@@@@@@@@@@@@@@@@@@@@@@,,,,,@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@,,,,,,@@@@@@@@@@@@@@@@@@@@,,,,,,@@@@@@@@@@@@@@@@@@@@@@@
@@@@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opperzContract();

    address public hopperz;

    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _emissionRatePerBlock
    ) GIGADRIP20(_name, _symbol, _decimals, _emissionRatePerBlock) {}

    /*==============================================================
    ==                    Dripping Functions                      ==
    ==============================================================*/

    
    function startDripping(address addr, uint128 multiplier) external {
        if (msg.sender != hopperz && msg.sender != owner())
            revert NotOwnerOrHopperzContract();
        _startDripping(addr, multiplier);
    }

    function stopDripping(address addr, uint128 multiplier) external {
        if (msg.sender != hopperz && msg.sender != owner())
            revert NotOwnerOrHopperzContract();

        _stopDripping(addr, multiplier);
    }

    function burn(address from, uint256 value) external {
        uint256 allowed = allowance[from][msg.sender]; // Saves gas for limited approvals.
        if (allowed != type(uint256).max)
            allowance[from][msg.sender] = allowed - value;

        _burn(from, value);
    }

    /*==============================================================
    ==                    Only Owner Functions                    ==
    ==============================================================*/

    /**
     * @dev mint tokens to desired address.
     * may be used for prize pools, DEX liquidity, etc.
     * will remove ownership when not needed so extra tokens cannot be minted.
     */
    function mint(address to, uint256 amount) external onlyOwner {
        _mint(to, amount);
    }

    function setHopperzContract(address hopperzAddress)
        external
        onlyOwner
    {
        hopperz = hopperzAddress;
    }
}

File 2 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @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);
    }
}

File 3 of 4 : GIGADRIP20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

///@author 0xBeans
///@notice This is a beefed up ERC20 implementation of DRIP20 that supports emission multipliers.
///@notice Multipliers are useful when certain users should accrue larger emissions. For example,
///@notice if an NFT drips 10 tokens per block to a user, and the user has 3 NFTs, then the user
///@notice should accrue 3 times as many tokens per block. This user would have a multiplier of 3.
///@notice shout out to solmate (@t11s) for the slim and efficient ERC20 implementation!
///@notice shout out to superfluid and UBI for the dripping inspiration!
abstract contract GIGADRIP20 {
    /*==============================================================
    ==                            ERRORS                          ==
    ==============================================================*/

    error UserNotAccruing();
    error ERC20_TransferToZeroAddress();

    /*==============================================================
    ==                            EVENTS                          ==
    ==============================================================*/

    event Transfer(address indexed from, address indexed to, uint256 amount);

    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 amount
    );

    /*==============================================================
    ==                      METADATA STORAGE                      ==
    ==============================================================*/

    string public name;

    string public symbol;

    uint8 public immutable decimals;

    /*==============================================================
    ==                       ERC20 STORAGE                        ==
    ==============================================================*/

    mapping(address => mapping(address => uint256)) public allowance;

    /*==============================================================
    ==                        DRIP STORAGE                        ==
    ==============================================================*/

    struct Accruer {
        uint256 balance;
        uint128 accrualStartBlock;
        uint128 multiplier;
    }

    // immutable token emission rate per block
    uint256 public immutable emissionRatePerBlock;

    // wallets currently getting dripped tokens
    mapping(address => Accruer) private _accruers;

    // these are all for calculating totalSupply()
    uint256 private _currAccrued;
    uint128 private _currEmissionBlockNum;
    uint128 private _currEmissionMultiple;

    constructor(
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _emissionRatePerBlock
    ) {
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        emissionRatePerBlock = _emissionRatePerBlock;
    }

    /*==============================================================
    ==                        ERC20 IMPL                          ==
    ==============================================================*/

    function approve(address spender, uint256 amount)
        public
        virtual
        returns (bool)
    {
        allowance[msg.sender][spender] = amount;

        emit Approval(msg.sender, spender, amount);

        return true;
    }

    function transfer(address to, uint256 amount)
        public
        virtual
        returns (bool)
    {
        _transfer(msg.sender, to, amount);
        return true;
    }

    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual returns (bool) {
        uint256 allowed = allowance[from][msg.sender];

        if (allowed != type(uint256).max)
            allowance[from][msg.sender] = allowed - amount;

        _transfer(from, to, amount);

        return true;
    }

    function balanceOf(address addr) public view returns (uint256) {
        Accruer memory accruer = _accruers[addr];

        if (accruer.accrualStartBlock == 0) {
            return accruer.balance;
        }

        return
            ((block.number - accruer.accrualStartBlock) *
                emissionRatePerBlock) *
            accruer.multiplier +
            accruer.balance;
    }

    function totalSupply() public view returns (uint256) {
        return
            _currAccrued +
            (block.number - _currEmissionBlockNum) *
            emissionRatePerBlock *
            _currEmissionMultiple;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        if (to == address(0)) revert ERC20_TransferToZeroAddress();

        Accruer storage fromAccruer = _accruers[from];
        Accruer storage toAccruer = _accruers[to];

        fromAccruer.balance = balanceOf(from) - amount;

        unchecked {
            toAccruer.balance += amount;
        }

        if (fromAccruer.accrualStartBlock != 0) {
            fromAccruer.accrualStartBlock = uint128(block.number);
        }

        emit Transfer(from, to, amount);
    }

    /*==============================================================
    ==                        DRIP LOGIC                          ==
    ==============================================================*/

    /**
     * @dev Add an address to start dripping tokens to.
     * @dev We need to update _currAccrued whenever we add a new dripper or INCREASE a dripper multiplier to properly update totalSupply()
     * @dev IMPORTANT: Everytime you call this with an addr already getting dripped to, it will INCREASE the multiplier
     * @param addr address to drip to
     * @param multiplier used to increase token drip. ie if 1 NFT drips 10 tokens per block and this address has 3 NFTs,
     * the user would need to get dripped 30 tokens per block - multipler would multiply emissions by 3
     */
    function _startDripping(address addr, uint128 multiplier) internal virtual {
        Accruer storage accruer = _accruers[addr];

        // need to update the balance if wallet was already accruing
        if (accruer.accrualStartBlock != 0) {
            accruer.balance = balanceOf(addr);
        } else {
            // emit Transfer event when new address starts dripping
            emit Transfer(address(0), addr, 0);
        }

        _currAccrued = totalSupply();
        _currEmissionBlockNum = uint128(block.number);
        accruer.accrualStartBlock = uint128(block.number);

        // should not overflow unless you have >2**256-1 items...
        unchecked {
            _currEmissionMultiple += multiplier;
            accruer.multiplier += multiplier;
        }
    }

    /**
     * @dev Add an address to stop dripping tokens to.
     * @dev We need to update _currAccrued whenever we remove a dripper or DECREASE a dripper multiplier to properly update totalSupply()
     * @dev IMPORTANT: Everytime you call this with an addr already getting dripped to, it will DECREASE the multiplier
     * @dev IMPORTANT: Decrease the multiplier to 0 to completely stop the address from getting dripped to
     * @param addr address to stop dripping to
     * @param multiplier used to decrease token drip. ie if addr has a multiplier of 3 already, passing in a value of 1 would decrease
     * the multiplier to 2
     */
    function _stopDripping(address addr, uint128 multiplier) internal virtual {
        Accruer storage accruer = _accruers[addr];

        // should I check for 0 multiplier too
        if (accruer.accrualStartBlock == 0) revert UserNotAccruing();

        accruer.balance = balanceOf(addr);
        _currAccrued = totalSupply();
        _currEmissionBlockNum = uint128(block.number);

        // will revert if underflow occurs
        _currEmissionMultiple -= multiplier;
        accruer.multiplier -= multiplier;

        if (accruer.multiplier == 0) {
            accruer.accrualStartBlock = 0;
        } else {
            accruer.accrualStartBlock = uint128(block.number);
        }
    }

    /*==============================================================
    ==                         MINT/BURN                          ==
    ==============================================================*/

    function _mint(address to, uint256 amount) internal virtual {
        Accruer storage accruer = _accruers[to];

        unchecked {
            _currAccrued += amount;
            accruer.balance += amount;
        }

        emit Transfer(address(0), to, amount);
    }

    function _burn(address from, uint256 amount) internal virtual {
        Accruer storage accruer = _accruers[from];

        // have to update supply before burning
        _currAccrued = totalSupply();
        _currEmissionBlockNum = uint128(block.number);

        accruer.balance = balanceOf(from) - amount;

        // Cannot underflow because amount can
        // never be greater than the totalSupply()
        unchecked {
            _currAccrued -= amount;
        }

        // update accruers block number if user was accruing
        if (accruer.accrualStartBlock != 0) {
            accruer.accrualStartBlock = uint128(block.number);
        }

        emit Transfer(from, address(0), amount);
    }
}

File 4 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// 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;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"uint256","name":"_emissionRatePerBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ERC20_TransferToZeroAddress","type":"error"},{"inputs":[],"name":"NotOwnerOrHopperzContract","type":"error"},{"inputs":[],"name":"UserNotAccruing","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":"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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","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":"addr","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emissionRatePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hopperz","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"hopperzAddress","type":"address"}],"name":"setHopperzContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint128","name":"multiplier","type":"uint128"}],"name":"startDripping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint128","name":"multiplier","type":"uint128"}],"name":"stopDripping","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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"}]

60c06040523480156200001157600080fd5b506040516200124438038062001244833981016040819052620000349162000253565b838383836200004333620000aa565b835162000058906001906020870190620000fa565b5082516200006e906002906020860190620000fa565b5060f89190911b7fff000000000000000000000000000000000000000000000000000000000000001660805260a052506200032d945050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200010890620002da565b90600052602060002090601f0160209004810192826200012c576000855562000177565b82601f106200014757805160ff191683800117855562000177565b8280016001018555821562000177579182015b82811115620001775782518255916020019190600101906200015a565b506200018592915062000189565b5090565b5b808211156200018557600081556001016200018a565b600082601f830112620001b1578081fd5b81516001600160401b0380821115620001ce57620001ce62000317565b604051601f8301601f19908116603f01168101908282118183101715620001f957620001f962000317565b8160405283815260209250868385880101111562000215578485fd5b8491505b8382101562000238578582018301518183018401529082019062000219565b838211156200024957848385830101525b9695505050505050565b6000806000806080858703121562000269578384fd5b84516001600160401b038082111562000280578586fd5b6200028e88838901620001a0565b95506020870151915080821115620002a4578485fd5b50620002b387828801620001a0565b935050604085015160ff81168114620002ca578283fd5b6060959095015193969295505050565b600181811c90821680620002ef57607f821691505b602082108114156200031157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160f81c60a051610ee0620003646000396000818161023c0152818161041501526105ab015260006101c00152610ee06000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063a9059cbb11610071578063a9059cbb1461028a578063c0e38d631461029d578063dd62ed3e146102b0578063f2fde38b146102db578063fd285219146102ee57600080fd5b8063715018a61461022f5780638b529839146102375780638da5cb5b1461025e57806395d89b411461026f5780639dc29fac1461027757600080fd5b806323b872dd116100f457806323b872dd146101a8578063313ce567146101bb57806340c10f19146101f457806342db10461461020957806370a082311461021c57600080fd5b806306fdde0314610126578063095ea7b31461014457806318160ddd146101675780631c90f5331461017d575b600080fd5b61012e610301565b60405161013b9190610d70565b60405180910390f35b610157610152366004610d47565b61038f565b604051901515815260200161013b565b61016f6103fb565b60405190815260200161013b565b600754610190906001600160a01b031681565b6040516001600160a01b03909116815260200161013b565b6101576101b6366004610ccb565b610466565b6101e27f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161013b565b610207610202366004610d47565b6104d8565b005b610207610217366004610d06565b6104ee565b61016f61022a366004610c7f565b61053c565b610207610608565b61016f7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316610190565b61012e61061c565b610207610285366004610d47565b610629565b610157610298366004610d47565b610694565b6102076102ab366004610c7f565b6106aa565b61016f6102be366004610c99565b600360209081526000928352604080842090915290825290205481565b6102076102e9366004610c7f565b6106d4565b6102076102fc366004610d06565b610752565b6001805461030e90610e39565b80601f016020809104026020016040519081016040528092919081815260200182805461033a90610e39565b80156103875780601f1061035c57610100808354040283529160200191610387565b820191906000526020600020905b81548152906001019060200180831161036a57829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103ea9086815260200190565b60405180910390a350600192915050565b6006546000906001600160801b03600160801b82048116917f000000000000000000000000000000000000000000000000000000000000000091610440911643610e22565b61044a9190610ddb565b6104549190610ddb565b6005546104619190610dc3565b905090565b6001600160a01b038316600090815260036020908152604080832033845290915281205460001981146104c25761049d8382610e22565b6001600160a01b03861660009081526003602090815260408083203384529091529020555b6104cd8585856107a0565b506001949350505050565b6104e0610876565b6104ea82826108d0565b5050565b6007546001600160a01b0316331480159061051457506000546001600160a01b03163314155b15610532576040516341a81a0160e01b815260040160405180910390fd5b6104ea8282610921565b6001600160a01b03811660009081526004602090815260408083208151606081018352815481526001909101546001600160801b03808216948301859052600160801b909104169181019190915290610596575192915050565b806000015181604001516001600160801b03167f000000000000000000000000000000000000000000000000000000000000000083602001516001600160801b0316436105e39190610e22565b6105ed9190610ddb565b6105f79190610ddb565b6106019190610dc3565b9392505050565b610610610876565b61061a6000610a80565b565b6002805461030e90610e39565b6001600160a01b03821660009081526003602090815260408083203384529091529020546000198114610685576106608282610e22565b6001600160a01b03841660009081526003602090815260408083203384529091529020555b61068f8383610ad0565b505050565b60006106a13384846107a0565b50600192915050565b6106b2610876565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6106dc610876565b6001600160a01b0381166107465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61074f81610a80565b50565b6007546001600160a01b0316331480159061077857506000546001600160a01b03163314155b15610796576040516341a81a0160e01b815260040160405180910390fd5b6104ea8282610b8a565b6001600160a01b0382166107c6576040516261696b60e71b815260040160405180910390fd5b6001600160a01b0380841660009081526004602052604080822092851682529020826107f18661053c565b6107fb9190610e22565b825580548301815560018201546001600160801b031615610834576001820180546001600160801b031916436001600160801b03161790555b836001600160a01b0316856001600160a01b0316600080516020610e8b8339815191528560405161086791815260200190565b60405180910390a35050505050565b6000546001600160a01b0316331461061a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073d565b6001600160a01b03821660008181526004602090815260408083206005805487019055805486018155905185815290939291600080516020610e8b83398151915291015b60405180910390a3505050565b6001600160a01b038216600090815260046020526040902060018101546001600160801b031661096457604051630cd684a960e11b815260040160405180910390fd5b61096d8361053c565b81556109776103fb565b600555600680546001600160801b031916436001600160801b03908116919091178083558492916010916109b4918591600160801b900416610dfa565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550818160010160108282829054906101000a90046001600160801b03166109fe9190610dfa565b92506101000a8154816001600160801b0302191690836001600160801b031602179055508060010160109054906101000a90046001600160801b03166001600160801b031660001415610a605760010180546001600160801b03191690555050565b60010180546001600160801b031916436001600160801b03161790555050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166000908152600460205260409020610af06103fb565b600555600680546001600160801b031916436001600160801b031617905581610b188461053c565b610b229190610e22565b815560058054839003905560018101546001600160801b031615610b5e576001810180546001600160801b031916436001600160801b03161790555b6040518281526000906001600160a01b03851690600080516020610e8b83398151915290602001610914565b6001600160a01b038216600090815260046020526040902060018101546001600160801b031615610bc557610bbe8361053c565b8155610bf4565b60405160008082526001600160a01b03851691600080516020610e8b8339815191529060200160405180910390a35b610bfc6103fb565b600555600680546001600160801b0319908116436001600160801b03908116918217845560019490940180549092161781558154808416600160801b9182900485168601851682021790925580548084169083900484169094019092160291909117905550565b80356001600160a01b0381168114610c7a57600080fd5b919050565b600060208284031215610c90578081fd5b61060182610c63565b60008060408385031215610cab578081fd5b610cb483610c63565b9150610cc260208401610c63565b90509250929050565b600080600060608486031215610cdf578081fd5b610ce884610c63565b9250610cf660208501610c63565b9150604084013590509250925092565b60008060408385031215610d18578182fd5b610d2183610c63565b915060208301356001600160801b0381168114610d3c578182fd5b809150509250929050565b60008060408385031215610d59578182fd5b610d6283610c63565b946020939093013593505050565b6000602080835283518082850152825b81811015610d9c57858101830151858201604001528201610d80565b81811115610dad5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610dd657610dd6610e74565b500190565b6000816000190483118215151615610df557610df5610e74565b500290565b60006001600160801b0383811690831681811015610e1a57610e1a610e74565b039392505050565b600082821015610e3457610e34610e74565b500390565b600181811c90821680610e4d57607f821691505b60208210811415610e6e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204147561556bd0662d2205dffc346d60b1cba3833f721d4022a5eeee2323ed8fa64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000005eedb2cc66000000000000000000000000000000000000000000000000000000000000000000d486f707065727a436172726f74000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006484f504341520000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c8063715018a6116100ad578063a9059cbb11610071578063a9059cbb1461028a578063c0e38d631461029d578063dd62ed3e146102b0578063f2fde38b146102db578063fd285219146102ee57600080fd5b8063715018a61461022f5780638b529839146102375780638da5cb5b1461025e57806395d89b411461026f5780639dc29fac1461027757600080fd5b806323b872dd116100f457806323b872dd146101a8578063313ce567146101bb57806340c10f19146101f457806342db10461461020957806370a082311461021c57600080fd5b806306fdde0314610126578063095ea7b31461014457806318160ddd146101675780631c90f5331461017d575b600080fd5b61012e610301565b60405161013b9190610d70565b60405180910390f35b610157610152366004610d47565b61038f565b604051901515815260200161013b565b61016f6103fb565b60405190815260200161013b565b600754610190906001600160a01b031681565b6040516001600160a01b03909116815260200161013b565b6101576101b6366004610ccb565b610466565b6101e27f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161013b565b610207610202366004610d47565b6104d8565b005b610207610217366004610d06565b6104ee565b61016f61022a366004610c7f565b61053c565b610207610608565b61016f7f0000000000000000000000000000000000000000000000000005eedb2cc6600081565b6000546001600160a01b0316610190565b61012e61061c565b610207610285366004610d47565b610629565b610157610298366004610d47565b610694565b6102076102ab366004610c7f565b6106aa565b61016f6102be366004610c99565b600360209081526000928352604080842090915290825290205481565b6102076102e9366004610c7f565b6106d4565b6102076102fc366004610d06565b610752565b6001805461030e90610e39565b80601f016020809104026020016040519081016040528092919081815260200182805461033a90610e39565b80156103875780601f1061035c57610100808354040283529160200191610387565b820191906000526020600020905b81548152906001019060200180831161036a57829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103ea9086815260200190565b60405180910390a350600192915050565b6006546000906001600160801b03600160801b82048116917f0000000000000000000000000000000000000000000000000005eedb2cc6600091610440911643610e22565b61044a9190610ddb565b6104549190610ddb565b6005546104619190610dc3565b905090565b6001600160a01b038316600090815260036020908152604080832033845290915281205460001981146104c25761049d8382610e22565b6001600160a01b03861660009081526003602090815260408083203384529091529020555b6104cd8585856107a0565b506001949350505050565b6104e0610876565b6104ea82826108d0565b5050565b6007546001600160a01b0316331480159061051457506000546001600160a01b03163314155b15610532576040516341a81a0160e01b815260040160405180910390fd5b6104ea8282610921565b6001600160a01b03811660009081526004602090815260408083208151606081018352815481526001909101546001600160801b03808216948301859052600160801b909104169181019190915290610596575192915050565b806000015181604001516001600160801b03167f0000000000000000000000000000000000000000000000000005eedb2cc6600083602001516001600160801b0316436105e39190610e22565b6105ed9190610ddb565b6105f79190610ddb565b6106019190610dc3565b9392505050565b610610610876565b61061a6000610a80565b565b6002805461030e90610e39565b6001600160a01b03821660009081526003602090815260408083203384529091529020546000198114610685576106608282610e22565b6001600160a01b03841660009081526003602090815260408083203384529091529020555b61068f8383610ad0565b505050565b60006106a13384846107a0565b50600192915050565b6106b2610876565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6106dc610876565b6001600160a01b0381166107465760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61074f81610a80565b50565b6007546001600160a01b0316331480159061077857506000546001600160a01b03163314155b15610796576040516341a81a0160e01b815260040160405180910390fd5b6104ea8282610b8a565b6001600160a01b0382166107c6576040516261696b60e71b815260040160405180910390fd5b6001600160a01b0380841660009081526004602052604080822092851682529020826107f18661053c565b6107fb9190610e22565b825580548301815560018201546001600160801b031615610834576001820180546001600160801b031916436001600160801b03161790555b836001600160a01b0316856001600160a01b0316600080516020610e8b8339815191528560405161086791815260200190565b60405180910390a35050505050565b6000546001600160a01b0316331461061a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161073d565b6001600160a01b03821660008181526004602090815260408083206005805487019055805486018155905185815290939291600080516020610e8b83398151915291015b60405180910390a3505050565b6001600160a01b038216600090815260046020526040902060018101546001600160801b031661096457604051630cd684a960e11b815260040160405180910390fd5b61096d8361053c565b81556109776103fb565b600555600680546001600160801b031916436001600160801b03908116919091178083558492916010916109b4918591600160801b900416610dfa565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550818160010160108282829054906101000a90046001600160801b03166109fe9190610dfa565b92506101000a8154816001600160801b0302191690836001600160801b031602179055508060010160109054906101000a90046001600160801b03166001600160801b031660001415610a605760010180546001600160801b03191690555050565b60010180546001600160801b031916436001600160801b03161790555050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166000908152600460205260409020610af06103fb565b600555600680546001600160801b031916436001600160801b031617905581610b188461053c565b610b229190610e22565b815560058054839003905560018101546001600160801b031615610b5e576001810180546001600160801b031916436001600160801b03161790555b6040518281526000906001600160a01b03851690600080516020610e8b83398151915290602001610914565b6001600160a01b038216600090815260046020526040902060018101546001600160801b031615610bc557610bbe8361053c565b8155610bf4565b60405160008082526001600160a01b03851691600080516020610e8b8339815191529060200160405180910390a35b610bfc6103fb565b600555600680546001600160801b0319908116436001600160801b03908116918217845560019490940180549092161781558154808416600160801b9182900485168601851682021790925580548084169083900484169094019092160291909117905550565b80356001600160a01b0381168114610c7a57600080fd5b919050565b600060208284031215610c90578081fd5b61060182610c63565b60008060408385031215610cab578081fd5b610cb483610c63565b9150610cc260208401610c63565b90509250929050565b600080600060608486031215610cdf578081fd5b610ce884610c63565b9250610cf660208501610c63565b9150604084013590509250925092565b60008060408385031215610d18578182fd5b610d2183610c63565b915060208301356001600160801b0381168114610d3c578182fd5b809150509250929050565b60008060408385031215610d59578182fd5b610d6283610c63565b946020939093013593505050565b6000602080835283518082850152825b81811015610d9c57858101830151858201604001528201610d80565b81811115610dad5783604083870101525b50601f01601f1916929092016040019392505050565b60008219821115610dd657610dd6610e74565b500190565b6000816000190483118215151615610df557610df5610e74565b500290565b60006001600160801b0383811690831681811015610e1a57610e1a610e74565b039392505050565b600082821015610e3457610e34610e74565b500390565b600181811c90821680610e4d57607f821691505b60208210811415610e6e57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212204147561556bd0662d2205dffc346d60b1cba3833f721d4022a5eeee2323ed8fa64736f6c63430008040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000005eedb2cc66000000000000000000000000000000000000000000000000000000000000000000d486f707065727a436172726f74000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006484f504341520000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): HopperzCarrot
Arg [1] : _symbol (string): HOPCAR
Arg [2] : _decimals (uint8): 18
Arg [3] : _emissionRatePerBlock (uint256): 1670000000000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000000000000005eedb2cc66000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [5] : 486f707065727a436172726f7400000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [7] : 484f504341520000000000000000000000000000000000000000000000000000


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.