ETH Price: $3,721.48 (-5.46%)

Token

ERC-20: AMMO (AMMO)
 

Overview

Max Total Supply

1,701,939.31354 AMMO

Holders

170

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
budsnob.eth
Balance
13,108.83264 AMMO

Value
$0.00
0x9Ea2376A57D7627E2cBC650030bbe54F821D8F29
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:
AmmoToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : AmmoToken.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "@openzeppelin/contracts/access/Ownable.sol";
import {GIGADRIP20} from "./GIGADRIP20.sol";

contract AmmoToken is Ownable, GIGADRIP20 {
    error NotOwnerOrBanditsContract();

    address public banditsArmory;

    constructor() GIGADRIP20("AMMO", "AMMO", 18, 180000000000000) {}

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

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

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

        _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                    ==
    ==============================================================*/

    function mint(address[] calldata to, uint256 amount) external onlyOwner {
        uint256 toLength = to.length;
        for (uint256 i; i < toLength;) {
            _mint(to[i], amount);
            ++i;
        }
    }

    function setBanditsArmory(address banditsArmoryAddress)
        external
        onlyOwner
    {
        banditsArmory = banditsArmoryAddress;
    }
}

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ERC20_TransferToZeroAddress","type":"error"},{"inputs":[],"name":"NotOwnerOrBanditsContract","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":[],"name":"banditsArmory","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"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":"banditsArmoryAddress","type":"address"}],"name":"setBanditsArmory","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"}]

60c06040523480156200001157600080fd5b5060405180604001604052806004815260200163414d4d4f60e01b81525060405180604001604052806004815260200163414d4d4f60e01b815250601265a3b5840f40006200006f62000069620000a160201b60201c565b620000a5565b60016200007d85826200019a565b5060026200008c84826200019a565b5060ff90911660805260a05250620002669050565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012057607f821691505b6020821081036200014157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200019557600081815260208120601f850160051c81016020861015620001705750805b601f850160051c820191505b8181101562000191578281556001016200017c565b5050505b505050565b81516001600160401b03811115620001b657620001b6620000f5565b620001ce81620001c784546200010b565b8462000147565b602080601f831160018114620002065760008415620001ed5750858301515b600019600386901b1c1916600185901b17855562000191565b600085815260208120601f198616915b82811015620002375788860151825594840194600190910190840162000216565b5085821015620002565787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a051610fc56200029a60003960008181610225015281816104120152610598015260006101bc0152610fc56000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c80638b529839116100ad578063a9059cbb11610071578063a9059cbb14610286578063dd62ed3e14610299578063ea66696c146102c4578063f2fde38b146102d7578063fd285219146102ea57600080fd5b80638b529839146102205780638da5cb5b1461024757806395d89b41146102585780639998c7c2146102605780639dc29fac1461027357600080fd5b806323b872dd116100f457806323b872dd146101a4578063313ce567146101b757806342db1046146101f057806370a0823114610205578063715018a61461021857600080fd5b806302c3fcef1461012657806306fdde0314610156578063095ea7b31461016b57806318160ddd1461018e575b600080fd5b600754610139906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61015e6102fd565b60405161014d9190610cb0565b61017e610179366004610d1a565b61038b565b604051901515815260200161014d565b6101966103f8565b60405190815260200161014d565b61017e6101b2366004610d44565b610463565b6101de7f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff909116815260200161014d565b6102036101fe366004610d80565b6104d5565b005b610196610213366004610dc3565b610527565b6102036105f5565b6101967f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b0316610139565b61015e610609565b61020361026e366004610dc3565b610616565b610203610281366004610d1a565b610640565b61017e610294366004610d1a565b6106ab565b6101966102a7366004610dde565b600360209081526000928352604080842090915290825290205481565b6102036102d2366004610e11565b6106c1565b6102036102e5366004610dc3565b61071c565b6102036102f8366004610d80565b61079a565b6001805461030a90610e8c565b80601f016020809104026020016040519081016040528092919081815260200182805461033690610e8c565b80156103835780601f1061035857610100808354040283529160200191610383565b820191906000526020600020905b81548152906001019060200180831161036657829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103e69086815260200190565b60405180910390a35060015b92915050565b6006546000906001600160801b03600160801b82048116917f00000000000000000000000000000000000000000000000000000000000000009161043d911643610edc565b6104479190610eef565b6104519190610eef565b60055461045e9190610f06565b905090565b6001600160a01b038316600090815260036020908152604080832033845290915281205460001981146104bf5761049a8382610edc565b6001600160a01b03861660009081526003602090815260408083203384529091529020555b6104ca8585856107e8565b506001949350505050565b6007546001600160a01b031633148015906104fb57506000546001600160a01b03163314155b156105195760405163be520f7b60e01b815260040160405180910390fd5b61052382826108be565b5050565b6001600160a01b03811660009081526004602090815260408083208151606081018352815481526001909101546001600160801b03808216948301859052600160801b9091041691810191909152908203610583575192915050565b806000015181604001516001600160801b03167f000000000000000000000000000000000000000000000000000000000000000083602001516001600160801b0316436105d09190610edc565b6105da9190610eef565b6105e49190610eef565b6105ee9190610f06565b9392505050565b6105fd610a22565b6106076000610a7c565b565b6002805461030a90610e8c565b61061e610a22565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382166000908152600360209081526040808320338452909152902054600019811461069c576106778282610edc565b6001600160a01b03841660009081526003602090815260408083203384529091529020555b6106a68383610acc565b505050565b60006106b83384846107e8565b50600192915050565b6106c9610a22565b8160005b81811015610715576107058585838181106106ea576106ea610f19565b90506020020160208101906106ff9190610dc3565b84610b8f565b61070e81610f2f565b90506106cd565b5050505050565b610724610a22565b6001600160a01b03811661078e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61079781610a7c565b50565b6007546001600160a01b031633148015906107c057506000546001600160a01b03163314155b156107de5760405163be520f7b60e01b815260040160405180910390fd5b6105238282610bd7565b6001600160a01b03821661080e576040516261696b60e71b815260040160405180910390fd5b6001600160a01b03808416600090815260046020526040808220928516825290208261083986610527565b6108439190610edc565b825580548301815560018201546001600160801b03161561087c576001820180546001600160801b031916436001600160801b03161790555b836001600160a01b0316856001600160a01b0316600080516020610f70833981519152856040516108af91815260200190565b60405180910390a35050505050565b6001600160a01b0382166000908152600460205260408120600181015490916001600160801b03909116900361090757604051630cd684a960e11b815260040160405180910390fd5b61091083610527565b815561091a6103f8565b600555600680546001600160801b031916436001600160801b0390811691909117808355849291601091610957918591600160801b900416610f48565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550818160010160108282829054906101000a90046001600160801b03166109a19190610f48565b92506101000a8154816001600160801b0302191690836001600160801b031602179055508060010160109054906101000a90046001600160801b03166001600160801b0316600003610a025760010180546001600160801b03191690555050565b60010180546001600160801b031916436001600160801b03161790555050565b6000546001600160a01b031633146106075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610785565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166000908152600460205260409020610aec6103f8565b600555600680546001600160801b031916436001600160801b031617905581610b1484610527565b610b1e9190610edc565b815560058054839003905560018101546001600160801b031615610b5a576001810180546001600160801b031916436001600160801b03161790555b6040518281526000906001600160a01b03851690600080516020610f70833981519152906020015b60405180910390a3505050565b6001600160a01b03821660008181526004602090815260408083206005805487019055805486018155905185815290939291600080516020610f708339815191529101610b82565b6001600160a01b038216600090815260046020526040902060018101546001600160801b031615610c1257610c0b83610527565b8155610c41565b60405160008082526001600160a01b03851691600080516020610f708339815191529060200160405180910390a35b610c496103f8565b600555600680546001600160801b0319908116436001600160801b03908116918217845560019490940180549092161781558154808416600160801b9182900485168601851682021790925580548084169083900484169094019092160291909117905550565b600060208083528351808285015260005b81811015610cdd57858101830151858201604001528201610cc1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d1557600080fd5b919050565b60008060408385031215610d2d57600080fd5b610d3683610cfe565b946020939093013593505050565b600080600060608486031215610d5957600080fd5b610d6284610cfe565b9250610d7060208501610cfe565b9150604084013590509250925092565b60008060408385031215610d9357600080fd5b610d9c83610cfe565b915060208301356001600160801b0381168114610db857600080fd5b809150509250929050565b600060208284031215610dd557600080fd5b6105ee82610cfe565b60008060408385031215610df157600080fd5b610dfa83610cfe565b9150610e0860208401610cfe565b90509250929050565b600080600060408486031215610e2657600080fd5b833567ffffffffffffffff80821115610e3e57600080fd5b818601915086601f830112610e5257600080fd5b813581811115610e6157600080fd5b8760208260051b8501011115610e7657600080fd5b6020928301989097509590910135949350505050565b600181811c90821680610ea057607f821691505b602082108103610ec057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103f2576103f2610ec6565b80820281158282048414176103f2576103f2610ec6565b808201808211156103f2576103f2610ec6565b634e487b7160e01b600052603260045260246000fd5b600060018201610f4157610f41610ec6565b5060010190565b6001600160801b03828116828216039080821115610f6857610f68610ec6565b509291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206546a92bf5a9b478816d1c6a6264bae3871d7c751afe256fc6fbc31a031a3d1364736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101215760003560e01c80638b529839116100ad578063a9059cbb11610071578063a9059cbb14610286578063dd62ed3e14610299578063ea66696c146102c4578063f2fde38b146102d7578063fd285219146102ea57600080fd5b80638b529839146102205780638da5cb5b1461024757806395d89b41146102585780639998c7c2146102605780639dc29fac1461027357600080fd5b806323b872dd116100f457806323b872dd146101a4578063313ce567146101b757806342db1046146101f057806370a0823114610205578063715018a61461021857600080fd5b806302c3fcef1461012657806306fdde0314610156578063095ea7b31461016b57806318160ddd1461018e575b600080fd5b600754610139906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b61015e6102fd565b60405161014d9190610cb0565b61017e610179366004610d1a565b61038b565b604051901515815260200161014d565b6101966103f8565b60405190815260200161014d565b61017e6101b2366004610d44565b610463565b6101de7f000000000000000000000000000000000000000000000000000000000000001281565b60405160ff909116815260200161014d565b6102036101fe366004610d80565b6104d5565b005b610196610213366004610dc3565b610527565b6102036105f5565b6101967f0000000000000000000000000000000000000000000000000000a3b5840f400081565b6000546001600160a01b0316610139565b61015e610609565b61020361026e366004610dc3565b610616565b610203610281366004610d1a565b610640565b61017e610294366004610d1a565b6106ab565b6101966102a7366004610dde565b600360209081526000928352604080842090915290825290205481565b6102036102d2366004610e11565b6106c1565b6102036102e5366004610dc3565b61071c565b6102036102f8366004610d80565b61079a565b6001805461030a90610e8c565b80601f016020809104026020016040519081016040528092919081815260200182805461033690610e8c565b80156103835780601f1061035857610100808354040283529160200191610383565b820191906000526020600020905b81548152906001019060200180831161036657829003601f168201915b505050505081565b3360008181526003602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906103e69086815260200190565b60405180910390a35060015b92915050565b6006546000906001600160801b03600160801b82048116917f0000000000000000000000000000000000000000000000000000a3b5840f40009161043d911643610edc565b6104479190610eef565b6104519190610eef565b60055461045e9190610f06565b905090565b6001600160a01b038316600090815260036020908152604080832033845290915281205460001981146104bf5761049a8382610edc565b6001600160a01b03861660009081526003602090815260408083203384529091529020555b6104ca8585856107e8565b506001949350505050565b6007546001600160a01b031633148015906104fb57506000546001600160a01b03163314155b156105195760405163be520f7b60e01b815260040160405180910390fd5b61052382826108be565b5050565b6001600160a01b03811660009081526004602090815260408083208151606081018352815481526001909101546001600160801b03808216948301859052600160801b9091041691810191909152908203610583575192915050565b806000015181604001516001600160801b03167f0000000000000000000000000000000000000000000000000000a3b5840f400083602001516001600160801b0316436105d09190610edc565b6105da9190610eef565b6105e49190610eef565b6105ee9190610f06565b9392505050565b6105fd610a22565b6106076000610a7c565b565b6002805461030a90610e8c565b61061e610a22565b600780546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b0382166000908152600360209081526040808320338452909152902054600019811461069c576106778282610edc565b6001600160a01b03841660009081526003602090815260408083203384529091529020555b6106a68383610acc565b505050565b60006106b83384846107e8565b50600192915050565b6106c9610a22565b8160005b81811015610715576107058585838181106106ea576106ea610f19565b90506020020160208101906106ff9190610dc3565b84610b8f565b61070e81610f2f565b90506106cd565b5050505050565b610724610a22565b6001600160a01b03811661078e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61079781610a7c565b50565b6007546001600160a01b031633148015906107c057506000546001600160a01b03163314155b156107de5760405163be520f7b60e01b815260040160405180910390fd5b6105238282610bd7565b6001600160a01b03821661080e576040516261696b60e71b815260040160405180910390fd5b6001600160a01b03808416600090815260046020526040808220928516825290208261083986610527565b6108439190610edc565b825580548301815560018201546001600160801b03161561087c576001820180546001600160801b031916436001600160801b03161790555b836001600160a01b0316856001600160a01b0316600080516020610f70833981519152856040516108af91815260200190565b60405180910390a35050505050565b6001600160a01b0382166000908152600460205260408120600181015490916001600160801b03909116900361090757604051630cd684a960e11b815260040160405180910390fd5b61091083610527565b815561091a6103f8565b600555600680546001600160801b031916436001600160801b0390811691909117808355849291601091610957918591600160801b900416610f48565b92506101000a8154816001600160801b0302191690836001600160801b03160217905550818160010160108282829054906101000a90046001600160801b03166109a19190610f48565b92506101000a8154816001600160801b0302191690836001600160801b031602179055508060010160109054906101000a90046001600160801b03166001600160801b0316600003610a025760010180546001600160801b03191690555050565b60010180546001600160801b031916436001600160801b03161790555050565b6000546001600160a01b031633146106075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610785565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0382166000908152600460205260409020610aec6103f8565b600555600680546001600160801b031916436001600160801b031617905581610b1484610527565b610b1e9190610edc565b815560058054839003905560018101546001600160801b031615610b5a576001810180546001600160801b031916436001600160801b03161790555b6040518281526000906001600160a01b03851690600080516020610f70833981519152906020015b60405180910390a3505050565b6001600160a01b03821660008181526004602090815260408083206005805487019055805486018155905185815290939291600080516020610f708339815191529101610b82565b6001600160a01b038216600090815260046020526040902060018101546001600160801b031615610c1257610c0b83610527565b8155610c41565b60405160008082526001600160a01b03851691600080516020610f708339815191529060200160405180910390a35b610c496103f8565b600555600680546001600160801b0319908116436001600160801b03908116918217845560019490940180549092161781558154808416600160801b9182900485168601851682021790925580548084169083900484169094019092160291909117905550565b600060208083528351808285015260005b81811015610cdd57858101830151858201604001528201610cc1565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610d1557600080fd5b919050565b60008060408385031215610d2d57600080fd5b610d3683610cfe565b946020939093013593505050565b600080600060608486031215610d5957600080fd5b610d6284610cfe565b9250610d7060208501610cfe565b9150604084013590509250925092565b60008060408385031215610d9357600080fd5b610d9c83610cfe565b915060208301356001600160801b0381168114610db857600080fd5b809150509250929050565b600060208284031215610dd557600080fd5b6105ee82610cfe565b60008060408385031215610df157600080fd5b610dfa83610cfe565b9150610e0860208401610cfe565b90509250929050565b600080600060408486031215610e2657600080fd5b833567ffffffffffffffff80821115610e3e57600080fd5b818601915086601f830112610e5257600080fd5b813581811115610e6157600080fd5b8760208260051b8501011115610e7657600080fd5b6020928301989097509590910135949350505050565b600181811c90821680610ea057607f821691505b602082108103610ec057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156103f2576103f2610ec6565b80820281158282048414176103f2576103f2610ec6565b808201808211156103f2576103f2610ec6565b634e487b7160e01b600052603260045260246000fd5b600060018201610f4157610f41610ec6565b5060010190565b6001600160801b03828116828216039080821115610f6857610f68610ec6565b509291505056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206546a92bf5a9b478816d1c6a6264bae3871d7c751afe256fc6fbc31a031a3d1364736f6c63430008110033

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.