ETH Price: $2,629.54 (-1.86%)

Token

MILK (MILK)
 

Overview

Max Total Supply

100,000,000 MILK

Holders

32

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
11,645.048219178 MILK

Value
$0.00
0xc54a5c49d6efc88433d7e003eba52edb18328d0f
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:
MILK

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-21
*/

// SPDX-License-Identifier: MIT
// dapprex.com Contract Creator

pragma solidity ^0.8.16;

interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

    /**
     * @dev Returns the token symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the token name.
     */
    function name() external view returns (string memory);


    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount)
        external
        returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address _owner, address spender)
        external
        view
        returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.

    function _msgSender() internal view returns (address) {
        return msg.sender;
    }

    function _msgData() internal view returns (bytes memory) {
        this; 
        return msg.data;
    }
}

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;
    uint8 public _decimals;
    string public _symbol;
    string public _name;
    

    constructor(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        uint256 totalSupplyWithoutDecimals_
    ) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
        _mint(msg.sender, totalSupplyWithoutDecimals_ * 10**decimals_);
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(
                amount,
                "ERC20: transfer amount exceeds allowance"
            )
        );
        return true;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount)
        public
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender)
        public
        view
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public returns (bool) {
        _approve(_msgSender(), spender, amount);

        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].add(addedValue)
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(
                subtractedValue,
                "ERC20: decreased allowance below zero"
            )
        );
        return true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        // require(sender != address(0), "ERC20: transfer from the zero address");
        // require(recipient != address(0), "ERC20: transfer to the zero address");
        _balances[sender] = _balances[sender].sub(
            amount,
            "ERC20: transfer amount exceeds balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _balances[account] = _balances[account].sub(
            amount,
            "ERC20: burn amount exceeds balance"
        );
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);

    }

    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(
                amount,
                "ERC20: burn amount exceeds allowance"
            )
        );
    }

}

contract MILK is ERC20 {
    constructor(
        string memory name_,
        string memory symbol_,
        uint8 decimals_,
        uint256 totalSupplyWithoutDecimals_
    )ERC20(name_,symbol_,decimals_,totalSupplyWithoutDecimals_) {
    }
    
}

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":"totalSupplyWithoutDecimals_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162000f5938038062000f598339810160408190526200003491620002c8565b838383836005620000468582620003e2565b506004620000558482620003e2565b506003805460ff191660ff841617905562000089336200007784600a620005c1565b620000839084620005d9565b62000097565b505050505050505062000609565b6001600160a01b038216620000f35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b6200010f816002546200019760201b6200047c1790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001429183906200047c62000197821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080620001a68385620005f3565b905083811015620001fa5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401620000ea565b90505b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200022b57600080fd5b81516001600160401b038082111562000248576200024862000203565b604051601f8301601f19908116603f0116810190828211818310171562000273576200027362000203565b816040528381526020925086838588010111156200029057600080fd5b600091505b83821015620002b4578582018301518183018401529082019062000295565b600093810190920192909252949350505050565b60008060008060808587031215620002df57600080fd5b84516001600160401b0380821115620002f757600080fd5b620003058883890162000219565b955060208701519150808211156200031c57600080fd5b506200032b8782880162000219565b935050604085015160ff811681146200034357600080fd5b6060959095015193969295505050565b600181811c908216806200036857607f821691505b6020821081036200038957634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003dd57600081815260208120601f850160051c81016020861015620003b85750805b601f850160051c820191505b81811015620003d957828155600101620003c4565b5050505b505050565b81516001600160401b03811115620003fe57620003fe62000203565b62000416816200040f845462000353565b846200038f565b602080601f8311600181146200044e5760008415620004355750858301515b600019600386901b1c1916600185901b178555620003d9565b600085815260208120601f198616915b828110156200047f578886015182559484019460019091019084016200045e565b50858210156200049e5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000505578160001904821115620004e957620004e9620004ae565b80851615620004f757918102915b93841c9390800290620004c9565b509250929050565b6000826200051e57506001620001fd565b816200052d57506000620001fd565b8160018114620005465760028114620005515762000571565b6001915050620001fd565b60ff841115620005655762000565620004ae565b50506001821b620001fd565b5060208310610133831016604e8410600b841016171562000596575081810a620001fd565b620005a28383620004c4565b8060001904821115620005b957620005b9620004ae565b029392505050565b6000620005d260ff8416836200050d565b9392505050565b8082028115828204841417620001fd57620001fd620004ae565b80820180821115620001fd57620001fd620004ae565b61094080620006196000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a9059cbb11610066578063a9059cbb146101d2578063b09f1266146101e5578063d28d8852146101ed578063dd62ed3e146101f557600080fd5b806370a082311461018e57806395d89b41146101b7578063a457c2d7146101bf57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce5671461015557806332424aa31461016e578063395093511461017b57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761022e565b6040516101049190610703565b60405180910390f35b61012061011b36600461076d565b6102c0565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610797565b6102d7565b60035460ff165b60405160ff9091168152602001610104565b60035461015c9060ff1681565b61012061018936600461076d565b610340565b61013461019c3660046107d3565b6001600160a01b031660009081526020819052604090205490565b6100f7610376565b6101206101cd36600461076d565b610385565b6101206101e036600461076d565b6103d4565b6100f76103e1565b6100f761046f565b6101346102033660046107ee565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606005805461023d90610821565b80601f016020809104026020016040519081016040528092919081815260200182805461026990610821565b80156102b65780601f1061028b576101008083540402835291602001916102b6565b820191906000526020600020905b81548152906001019060200180831161029957829003601f168201915b5050505050905090565b60006102cd3384846104e7565b5060015b92915050565b60006102e484848461060c565b6103368433610331856040518060600160405280602881526020016108be602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906106c9565b6104e7565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916102cd918590610331908661047c565b60606004805461023d90610821565b60006102cd3384610331856040518060600160405280602581526020016108e6602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906106c9565b60006102cd33848461060c565b600480546103ee90610821565b80601f016020809104026020016040519081016040528092919081815260200182805461041a90610821565b80156104675780601f1061043c57610100808354040283529160200191610467565b820191906000526020600020905b81548152906001019060200180831161044a57829003601f168201915b505050505081565b600580546103ee90610821565b6000806104898385610871565b9050838110156104e05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b9392505050565b6001600160a01b0383166105495760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104d7565b6001600160a01b0382166105aa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104d7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b61064981604051806060016040528060268152602001610898602691396001600160a01b03861660009081526020819052604090205491906106c9565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610678908261047c565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105ff565b600081848411156106ed5760405162461bcd60e51b81526004016104d79190610703565b5060006106fa8486610884565b95945050505050565b600060208083528351808285015260005b8181101561073057858101830151858201604001528201610714565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461076857600080fd5b919050565b6000806040838503121561078057600080fd5b61078983610751565b946020939093013593505050565b6000806000606084860312156107ac57600080fd5b6107b584610751565b92506107c360208501610751565b9150604084013590509250925092565b6000602082840312156107e557600080fd5b6104e082610751565b6000806040838503121561080157600080fd5b61080a83610751565b915061081860208401610751565b90509250929050565b600181811c9082168061083557607f821691505b60208210810361085557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156102d1576102d161085b565b818103818111156102d1576102d161085b56fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e15bcdddcc0bf42b463f521b2b30b4612487a534ec2182033e723ee9d9367deb64736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000000044d494c4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d494c4b00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c806370a082311161008c578063a9059cbb11610066578063a9059cbb146101d2578063b09f1266146101e5578063d28d8852146101ed578063dd62ed3e146101f557600080fd5b806370a082311461018e57806395d89b41146101b7578063a457c2d7146101bf57600080fd5b806323b872dd116100c857806323b872dd14610142578063313ce5671461015557806332424aa31461016e578063395093511461017b57600080fd5b806306fdde03146100ef578063095ea7b31461010d57806318160ddd14610130575b600080fd5b6100f761022e565b6040516101049190610703565b60405180910390f35b61012061011b36600461076d565b6102c0565b6040519015158152602001610104565b6002545b604051908152602001610104565b610120610150366004610797565b6102d7565b60035460ff165b60405160ff9091168152602001610104565b60035461015c9060ff1681565b61012061018936600461076d565b610340565b61013461019c3660046107d3565b6001600160a01b031660009081526020819052604090205490565b6100f7610376565b6101206101cd36600461076d565b610385565b6101206101e036600461076d565b6103d4565b6100f76103e1565b6100f761046f565b6101346102033660046107ee565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60606005805461023d90610821565b80601f016020809104026020016040519081016040528092919081815260200182805461026990610821565b80156102b65780601f1061028b576101008083540402835291602001916102b6565b820191906000526020600020905b81548152906001019060200180831161029957829003601f168201915b5050505050905090565b60006102cd3384846104e7565b5060015b92915050565b60006102e484848461060c565b6103368433610331856040518060600160405280602881526020016108be602891396001600160a01b038a16600090815260016020908152604080832033845290915290205491906106c9565b6104e7565b5060019392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916102cd918590610331908661047c565b60606004805461023d90610821565b60006102cd3384610331856040518060600160405280602581526020016108e6602591393360009081526001602090815260408083206001600160a01b038d16845290915290205491906106c9565b60006102cd33848461060c565b600480546103ee90610821565b80601f016020809104026020016040519081016040528092919081815260200182805461041a90610821565b80156104675780601f1061043c57610100808354040283529160200191610467565b820191906000526020600020905b81548152906001019060200180831161044a57829003601f168201915b505050505081565b600580546103ee90610821565b6000806104898385610871565b9050838110156104e05760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b9392505050565b6001600160a01b0383166105495760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104d7565b6001600160a01b0382166105aa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104d7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b61064981604051806060016040528060268152602001610898602691396001600160a01b03861660009081526020819052604090205491906106c9565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610678908261047c565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016105ff565b600081848411156106ed5760405162461bcd60e51b81526004016104d79190610703565b5060006106fa8486610884565b95945050505050565b600060208083528351808285015260005b8181101561073057858101830151858201604001528201610714565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461076857600080fd5b919050565b6000806040838503121561078057600080fd5b61078983610751565b946020939093013593505050565b6000806000606084860312156107ac57600080fd5b6107b584610751565b92506107c360208501610751565b9150604084013590509250925092565b6000602082840312156107e557600080fd5b6104e082610751565b6000806040838503121561080157600080fd5b61080a83610751565b915061081860208401610751565b90509250929050565b600181811c9082168061083557607f821691505b60208210810361085557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156102d1576102d161085b565b818103818111156102d1576102d161085b56fe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220e15bcdddcc0bf42b463f521b2b30b4612487a534ec2182033e723ee9d9367deb64736f6c63430008120033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000005f5e10000000000000000000000000000000000000000000000000000000000000000044d494c4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d494c4b00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): MILK
Arg [1] : symbol_ (string): MILK
Arg [2] : decimals_ (uint8): 9
Arg [3] : totalSupplyWithoutDecimals_ (uint256): 100000000

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [3] : 0000000000000000000000000000000000000000000000000000000005f5e100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4d494c4b00000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4d494c4b00000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

14310:258:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10802:83;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;11473:154;;;;;;:::i;:::-;;:::i;:::-;;;1169:14:1;;1162:22;1144:41;;1132:2;1117:18;11473:154:0;1004:187:1;10893:91:0;10964:12;;10893:91;;;1342:25:1;;;1330:2;1315:18;10893:91:0;1196:177:1;10171:437:0;;;;;;:::i;:::-;;:::i;10616:83::-;10682:9;;;;10616:83;;;1883:4:1;1871:17;;;1853:36;;1841:2;1826:18;10616:83:0;1711:184:1;9754:22:0;;;;;;;;;11635:283;;;;;;:::i;:::-;;:::i;10992:110::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11076:18:0;11049:7;11076:18;;;;;;;;;;;;10992:110;10707:87;;;:::i;11926:383::-;;;;;;:::i;:::-;;:::i;11110:181::-;;;;;;:::i;:::-;;:::i;9783:21::-;;;:::i;9811:19::-;;;:::i;11299:166::-;;;;;;:::i;:::-;-1:-1:-1;;;;;11430:18:0;;;11398:7;11430:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;11299:166;10802:83;10839:13;10872:5;10865:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10802:83;:::o;11473:154::-;11539:4;11556:39;3970:10;11579:7;11588:6;11556:8;:39::i;:::-;-1:-1:-1;11615:4:0;11473:154;;;;;:::o;10171:437::-;10294:4;10311:36;10321:6;10329:9;10340:6;10311:9;:36::i;:::-;10358:220;10381:6;3970:10;10429:138;10485:6;10429:138;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10429:19:0;;;;;;:11;:19;;;;;;;;3970:10;10429:33;;;;;;;;;;:37;:138::i;:::-;10358:8;:220::i;:::-;-1:-1:-1;10596:4:0;10171:437;;;;;:::o;11635:283::-;3970:10;11733:4;11827:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11827:34:0;;;;;;;;;;11733:4;;11755:133;;11805:7;;11827:50;;11866:10;11827:38;:50::i;10707:87::-;10746:13;10779:7;10772:14;;;;;:::i;11926:383::-;12029:4;12051:228;3970:10;12101:7;12123:145;12180:15;12123:145;;;;;;;;;;;;;;;;;3970:10;12123:25;;;;:11;:25;;;;;;;;-1:-1:-1;;;;;12123:34:0;;;;;;;;;;;;:38;:145::i;11110:181::-;11197:4;11219:42;3970:10;11243:9;11254:6;11219:9;:42::i;9783:21::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;9811:19::-;;;;;;;:::i;4942:181::-;5000:7;;5032:5;5036:1;5032;:5;:::i;:::-;5020:17;;5061:1;5056;:6;;5048:46;;;;-1:-1:-1;;;5048:46:0;;3205:2:1;5048:46:0;;;3187:21:1;3244:2;3224:18;;;3217:30;3283:29;3263:18;;;3256:57;3330:18;;5048:46:0;;;;;;;;;5114:1;4942:181;-1:-1:-1;;;4942:181:0:o;13590:372::-;-1:-1:-1;;;;;13718:19:0;;13710:68;;;;-1:-1:-1;;;13710:68:0;;3561:2:1;13710:68:0;;;3543:21:1;3600:2;3580:18;;;3573:30;3639:34;3619:18;;;3612:62;-1:-1:-1;;;3690:18:1;;;3683:34;3734:19;;13710:68:0;3359:400:1;13710:68:0;-1:-1:-1;;;;;13797:21:0;;13789:68;;;;-1:-1:-1;;;13789:68:0;;3966:2:1;13789:68:0;;;3948:21:1;4005:2;3985:18;;;3978:30;4044:34;4024:18;;;4017:62;-1:-1:-1;;;4095:18:1;;;4088:32;4137:19;;13789:68:0;3764:398:1;13789:68:0;-1:-1:-1;;;;;13868:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;13920:32;;1342:25:1;;;13920:32:0;;1315:18:1;13920:32:0;;;;;;;;13590:372;;;:::o;12317:556::-;12630:108;12666:6;12630:108;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12630:17:0;;:9;:17;;;;;;;;;;;;:108;:21;:108::i;:::-;-1:-1:-1;;;;;12610:17:0;;;:9;:17;;;;;;;;;;;:128;;;;12772:20;;;;;;;:32;;12797:6;12772:24;:32::i;:::-;-1:-1:-1;;;;;12749:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;12830:35;1342:25:1;;;12749:20:0;;12830:35;;;;;;1315:18:1;12830:35:0;1196:177:1;5829:226:0;5949:7;5985:12;5977:6;;;;5969:29;;;;-1:-1:-1;;;5969:29:0;;;;;;;;:::i;:::-;-1:-1:-1;6009:9:0;6021:5;6025:1;6021;:5;:::i;:::-;6009:17;5829:226;-1:-1:-1;;;;;5829:226:0:o;14:548: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;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:173::-;635:20;;-1:-1:-1;;;;;684:31:1;;674:42;;664:70;;730:1;727;720:12;664:70;567:173;;;:::o;745:254::-;813:6;821;874:2;862:9;853:7;849:23;845:32;842:52;;;890:1;887;880:12;842:52;913:29;932:9;913:29;:::i;:::-;903:39;989:2;974:18;;;;961:32;;-1:-1:-1;;;745:254:1:o;1378:328::-;1455:6;1463;1471;1524:2;1512:9;1503:7;1499:23;1495:32;1492:52;;;1540:1;1537;1530:12;1492:52;1563:29;1582:9;1563:29;:::i;:::-;1553:39;;1611:38;1645:2;1634:9;1630:18;1611:38;:::i;:::-;1601:48;;1696:2;1685:9;1681:18;1668:32;1658:42;;1378:328;;;;;:::o;1900:186::-;1959:6;2012:2;2000:9;1991:7;1987:23;1983:32;1980:52;;;2028:1;2025;2018:12;1980:52;2051:29;2070:9;2051:29;:::i;2091:260::-;2159:6;2167;2220:2;2208:9;2199:7;2195:23;2191:32;2188:52;;;2236:1;2233;2226:12;2188:52;2259:29;2278:9;2259:29;:::i;:::-;2249:39;;2307:38;2341:2;2330:9;2326:18;2307:38;:::i;:::-;2297:48;;2091:260;;;;;:::o;2356:380::-;2435:1;2431:12;;;;2478;;;2499:61;;2553:4;2545:6;2541:17;2531:27;;2499:61;2606:2;2598:6;2595:14;2575:18;2572:38;2569:161;;2652:10;2647:3;2643:20;2640:1;2633:31;2687:4;2684:1;2677:15;2715:4;2712:1;2705:15;2569:161;;2356:380;;;:::o;2741:127::-;2802:10;2797:3;2793:20;2790:1;2783:31;2833:4;2830:1;2823:15;2857:4;2854:1;2847:15;2873:125;2938:9;;;2959:10;;;2956:36;;;2972:18;;:::i;4167:128::-;4234:9;;;4255:11;;;4252:37;;;4269:18;;:::i

Swarm Source

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