ETH Price: $3,967.53 (+1.94%)

Contract

0x45D0df83C1d713fBeB89F99Ce4A653Ad12D62126
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Unleash213439822024-12-06 14:14:239 days ago1733494463IN
0x45D0df83...d12D62126
0 ETH0.0010075318.95005422
Unleash203838052024-07-25 13:16:59143 days ago1721913419IN
0x45D0df83...d12D62126
0 ETH0.000596958.49534505
Unleash181469002023-09-16 6:20:23456 days ago1694845223IN
0x45D0df83...d12D62126
0 ETH0.0007139510.15871733
Unleash180418582023-09-01 12:59:35471 days ago1693573175IN
0x45D0df83...d12D62126
0 ETH0.0006471312.1715706
Unleash180418562023-09-01 12:59:11471 days ago1693573151IN
0x45D0df83...d12D62126
0 ETH0.0006413912.06348231
Unleash179993792023-08-26 14:16:47477 days ago1693059407IN
0x45D0df83...d12D62126
0 ETH0.0007593914.28300481
Unleash174346262023-06-08 9:12:23556 days ago1686215543IN
0x45D0df83...d12D62126
0 ETH0.0010888220.47903181
Unleash173184432023-05-23 0:38:35573 days ago1684802315IN
0x45D0df83...d12D62126
0 ETH0.0017321432.57876513
Unleash173184432023-05-23 0:38:35573 days ago1684802315IN
0x45D0df83...d12D62126
0 ETH0.0017321432.57876513
Unleash170067622023-04-08 22:57:35617 days ago1680994655IN
0x45D0df83...d12D62126
0 ETH0.0015563622.14525749
Approve168601872023-03-19 7:08:47637 days ago1679209727IN
0x45D0df83...d12D62126
0 ETH0.0005719212.35505304
Approve168251272023-03-14 8:54:23642 days ago1678784063IN
0x45D0df83...d12D62126
0 ETH0.0008685818.76368387
Approve168246482023-03-14 7:17:23642 days ago1678778243IN
0x45D0df83...d12D62126
0 ETH0.0007581616.3783344
Approve168007922023-03-10 22:48:47646 days ago1678488527IN
0x45D0df83...d12D62126
0 ETH0.0015383933.23309834
Approve167949952023-03-10 3:10:35647 days ago1678417835IN
0x45D0df83...d12D62126
0 ETH0.0011730525.34080137
Approve167931172023-03-09 20:48:23647 days ago1678394903IN
0x45D0df83...d12D62126
0 ETH0.0036506478.86288496
Approve167911412023-03-09 14:08:11647 days ago1678370891IN
0x45D0df83...d12D62126
0 ETH0.001893740.90864387
Approve167854242023-03-08 18:50:47648 days ago1678301447IN
0x45D0df83...d12D62126
0 ETH0.0019131941.05296588
Unleash167043242023-02-25 9:10:11659 days ago1677316211IN
0x45D0df83...d12D62126
0 ETH0.0016344823.26077529
Approve166816402023-02-22 4:33:23663 days ago1677040403IN
0x45D0df83...d12D62126
0 ETH0.0006780127.87996364
Unleash166811112023-02-22 2:45:11663 days ago1677033911IN
0x45D0df83...d12D62126
0 ETH0.0020790229.63133071
Unleash166057632023-02-11 13:17:47673 days ago1676121467IN
0x45D0df83...d12D62126
0 ETH0.0008608916.19194196
Unleash166057622023-02-11 13:17:35673 days ago1676121455IN
0x45D0df83...d12D62126
0 ETH0.0007712214.50546172
Unleash163849842023-01-11 17:12:11704 days ago1673457131IN
0x45D0df83...d12D62126
0 ETH0.0042003878.98436728
Unleash162425412022-12-22 20:09:47724 days ago1671739787IN
0x45D0df83...d12D62126
0 ETH0.0011745722.09176041
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Rage

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : Rage.sol
// SPDX-License-Identifier: GPL-3.0

/*                     
                   @@@@              @@@@@@@@@(                        
               @@@@@@@@@@@@        @@@@@@@@@@@@@@                      
              @@@@@    @@@@@      @@@@@      @@@@@                     
             @@@@        @@@@     @@@@@      @@@@@                     
             @@@@        @@@@      @@@@@@@@@@@@@@                      
              @@          @@         &@@@@@@@@*                        
                                                                      
                   @@@@                                                
                   @@@@           @@@@        @@@@                     
             @@@@@@@@@@@@@@@@     @@@@       %@@@@                     
              @@@@@@@@@@@@@@       @@@@@@//@@@@@@                      
                   @@@@              @@@@@@@@@@                        
                   @@@@                       


                  Created by no+u @notuart    
*/

pragma solidity >=0.7.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

interface IKongzilla {
  function ownerOf(uint256 tokenId) external view returns (address);
  function walletOfOwner(address owner) external view returns (uint256[] memory);
  function caged(uint256 tokenId) external view returns (uint256);
  function free(uint256 tokenId) external;
}

contract Rage is ERC20, Ownable {
  using SafeMath for uint256;

  uint256 public daily = 100 ether;
  uint256 public cap = 100; // days
  address public nemezisAddress;
  IKongzilla public kongzillaContract;

  constructor (
    address _kongzillaContractAddress
  ) ERC20("Rage", "RAGE") {
    setKongzillaContract(_kongzillaContractAddress);
  }

  function setDaily(uint256 _daily) external onlyOwner {
    daily = _daily;
  }

  function setCap(uint256 _cap) external onlyOwner {
    cap = _cap;
  }

  function setKongzillaContract(address _address) public onlyOwner {
    kongzillaContract = IKongzilla(_address);
  }

  function setNemezisAddress(address _address) public onlyOwner {
    nemezisAddress = _address;
  }

  function gauge(uint256 _tokenId) public view returns (uint256) {
    require ((_tokenId > 0) && (_tokenId <= 6969), "Invalid token");

    uint256 amount = 0 ether;
    uint256 cagedSince = kongzillaContract.caged(_tokenId);
    
    if (cagedSince == 0) {
      return amount;
    }

    uint256 daysCaged = block.timestamp.sub(cagedSince).div(86400);

    if (daysCaged >= cap) {
      daysCaged = cap;
    }

    amount = daysCaged.mul(daily);

    return amount;
  }

  function gaugeAll(address _user) public view returns (uint256) {
    uint256[] memory tokenIds = kongzillaContract.walletOfOwner(_user);
    uint256 total = 0 ether;

    for (uint256 i; i < tokenIds.length; i++) {
      total.add(gauge(tokenIds[i]));
    }

    return total;
  }

  function unleash(uint256 _tokenId) public {
    require (kongzillaContract.ownerOf(_tokenId) == msg.sender, "Wrong owner");

    uint256 amount = gauge(_tokenId);
    kongzillaContract.free(_tokenId);
    _mint(msg.sender, amount);
  }

  function unleashAll() public {
    uint256[] memory tokenIds = kongzillaContract.walletOfOwner(msg.sender);
    uint256 total = 0 ether;
    
    for (uint256 i; i < tokenIds.length; i++) {
      total.add(gauge(tokenIds[i]));
      kongzillaContract.free(tokenIds[i]);
    }
    
    _mint(msg.sender, total);
  }

  function burn(address _from, uint256 _amount) public {
    require (msg.sender == nemezisAddress, "Forbidden");

    _burn(_from, _amount);
  }
}

File 2 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 3 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 4 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `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);
}

File 6 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT

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":"address","name":"_kongzillaContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"daily","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":"uint256","name":"_tokenId","type":"uint256"}],"name":"gauge","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"gaugeAll","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"kongzillaContract","outputs":[{"internalType":"contract IKongzilla","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nemezisAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"_cap","type":"uint256"}],"name":"setCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daily","type":"uint256"}],"name":"setDaily","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setKongzillaContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setNemezisAddress","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":"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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"unleash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unleashAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405268056bc75e2d6310000060065560646007553480156200002357600080fd5b50604051620018e5380380620018e583398101604081905262000046916200025a565b604051806040016040528060048152602001635261676560e01b815250604051806040016040528060048152602001635241474560e01b815250816003908051906020019062000098929190620001b4565b508051620000ae906004906020840190620001b4565b505050620000cb620000c5620000dd60201b60201c565b620000e1565b620000d68162000133565b50620002c7565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620001925760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b828054620001c2906200028a565b90600052602060002090601f016020900481019282620001e6576000855562000231565b82601f106200020157805160ff191683800117855562000231565b8280016001018555821562000231579182015b828111156200023157825182559160200191906001019062000214565b506200023f92915062000243565b5090565b5b808211156200023f576000815560010162000244565b6000602082840312156200026c578081fd5b81516001600160a01b038116811462000283578182fd5b9392505050565b600181811c908216806200029f57607f821691505b60208210811415620002c157634e487b7160e01b600052602260045260246000fd5b50919050565b61160e80620002d76000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c8063715018a6116100f9578063a457c2d711610097578063dd62ed3e11610071578063dd62ed3e1461036d578063ed60b62f146103a6578063f2fde38b146103b9578063fcbd4be7146103cc57600080fd5b8063a457c2d71461033f578063a9059cbb14610352578063dc6343ba1461036557600080fd5b806395943b90116100d357806395943b90146102fe57806395d89b41146103115780639dc29fac14610319578063a421fb191461032c57600080fd5b8063715018a6146102d25780637d5be0e4146102da5780638da5cb5b146102ed57600080fd5b8063313ce567116101665780633950935111610140578063395093511461027a5780634528c6991461028d57806347786d371461029657806370a08231146102a957600080fd5b8063313ce5671461024d57806332cf41e01461025c578063355274ea1461027157600080fd5b8062e44590146101ad57806306fdde03146101dd578063095ea7b3146101f257806318160ddd1461021557806323b872dd14610227578063254680f11461023a575b600080fd5b6009546101c0906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6101e56103df565b6040516101d4919061144b565b610205610200366004611330565b610471565b60405190151581526020016101d4565b6002545b6040519081526020016101d4565b6102056102353660046112f0565b610487565b6008546101c0906001600160a01b031681565b604051601281526020016101d4565b61026f61026a36600461141b565b610536565b005b61021960075481565b610205610288366004611330565b61066e565b61021960065481565b61026f6102a436600461141b565b6106aa565b6102196102b7366004611280565b6001600160a01b031660009081526020819052604090205490565b61026f6106d9565b61026f6102e836600461141b565b61070f565b6005546001600160a01b03166101c0565b61021961030c36600461141b565b61073e565b6101e561085c565b61026f610327366004611330565b61086b565b61026f61033a366004611280565b6108bb565b61020561034d366004611330565b610907565b610205610360366004611330565b6109a0565b61026f6109ad565b61021961037b3660046112b8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102196103b4366004611280565b610b23565b61026f6103c7366004611280565b610bf7565b61026f6103da366004611280565b610c92565b6060600380546103ee90611541565b80601f016020809104026020016040519081016040528092919081815260200182805461041a90611541565b80156104675780601f1061043c57610100808354040283529160200191610467565b820191906000526020600020905b81548152906001019060200180831161044a57829003601f168201915b5050505050905090565b600061047e338484610cde565b50600192915050565b6000610494848484610e03565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561051e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61052b8533858403610cde565b506001949350505050565b6009546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561057a57600080fd5b505afa15801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b2919061129c565b6001600160a01b0316146105f65760405162461bcd60e51b815260206004820152600b60248201526a2bb937b7339037bbb732b960a91b6044820152606401610515565b60006106018261073e565b60095460405163d8ccd0f360e01b8152600481018590529192506001600160a01b03169063d8ccd0f390602401600060405180830381600087803b15801561064857600080fd5b505af115801561065c573d6000803e3d6000fd5b5050505061066a3382610fd2565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161047e9185906106a59086906114d3565b610cde565b6005546001600160a01b031633146106d45760405162461bcd60e51b81526004016105159061149e565b600755565b6005546001600160a01b031633146107035760405162461bcd60e51b81526004016105159061149e565b61070d60006110b1565b565b6005546001600160a01b031633146107395760405162461bcd60e51b81526004016105159061149e565b600655565b600080821180156107515750611b398211155b61078d5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610515565b600954604051632736758560e01b81526004810184905260009182916001600160a01b039091169063273675859060240160206040518083038186803b1580156107d657600080fd5b505afa1580156107ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080e9190611433565b90508061081c575092915050565b60006108356201518061082f4285611103565b90611116565b9050600754811061084557506007545b600654610853908290611122565b95945050505050565b6060600480546103ee90611541565b6008546001600160a01b031633146108b15760405162461bcd60e51b81526020600482015260096024820152682337b93134b23232b760b91b6044820152606401610515565b61066a828261112e565b6005546001600160a01b031633146108e55760405162461bcd60e51b81526004016105159061149e565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610515565b6109963385858403610cde565b5060019392505050565b600061047e338484610e03565b60095460405162438b6360e81b81523360048201526000916001600160a01b03169063438b63009060240160006040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2c919081019061135b565b90506000805b8251811015610b1857610a75610a6e848381518110610a6157634e487b7160e01b600052603260045260246000fd5b602002602001015161073e565b8390611274565b5060095483516001600160a01b039091169063d8ccd0f390859084908110610aad57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610ad391815260200190565b600060405180830381600087803b158015610aed57600080fd5b505af1158015610b01573d6000803e3d6000fd5b505050508080610b109061157c565b915050610a32565b5061066a3382610fd2565b60095460405162438b6360e81b81526001600160a01b038381166004830152600092839291169063438b63009060240160006040518083038186803b158015610b6b57600080fd5b505afa158015610b7f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba7919081019061135b565b90506000805b8251811015610bef57610bdc610a6e848381518110610a6157634e487b7160e01b600052603260045260246000fd5b5080610be78161157c565b915050610bad565b509392505050565b6005546001600160a01b03163314610c215760405162461bcd60e51b81526004016105159061149e565b6001600160a01b038116610c865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610515565b610c8f816110b1565b50565b6005546001600160a01b03163314610cbc5760405162461bcd60e51b81526004016105159061149e565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610d405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610515565b6001600160a01b038216610da15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610515565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e675760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610515565b6001600160a01b038216610ec95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610515565b6001600160a01b03831660009081526020819052604090205481811015610f415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610515565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610f789084906114d3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610fc491815260200190565b60405180910390a350505050565b6001600160a01b0382166110285760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610515565b806002600082825461103a91906114d3565b90915550506001600160a01b038216600090815260208190526040812080548392906110679084906114d3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061110f828461152a565b9392505050565b600061110f82846114eb565b600061110f828461150b565b6001600160a01b03821661118e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610515565b6001600160a01b038216600090815260208190526040902054818110156112025760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610515565b6001600160a01b038316600090815260208190526040812083830390556002805484929061123190849061152a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610df6565b600061110f82846114d3565b600060208284031215611291578081fd5b813561110f816115c3565b6000602082840312156112ad578081fd5b815161110f816115c3565b600080604083850312156112ca578081fd5b82356112d5816115c3565b915060208301356112e5816115c3565b809150509250929050565b600080600060608486031215611304578081fd5b833561130f816115c3565b9250602084013561131f816115c3565b929592945050506040919091013590565b60008060408385031215611342578182fd5b823561134d816115c3565b946020939093013593505050565b6000602080838503121561136d578182fd5b825167ffffffffffffffff80821115611384578384fd5b818501915085601f830112611397578384fd5b8151818111156113a9576113a96115ad565b8060051b604051601f19603f830116810181811085821117156113ce576113ce6115ad565b604052828152858101935084860182860187018a10156113ec578788fd5b8795505b8386101561140e5780518552600195909501949386019386016113f0565b5098975050505050505050565b60006020828403121561142c578081fd5b5035919050565b600060208284031215611444578081fd5b5051919050565b6000602080835283518082850152825b818110156114775785810183015185820160400152820161145b565b818111156114885783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156114e6576114e6611597565b500190565b60008261150657634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561152557611525611597565b500290565b60008282101561153c5761153c611597565b500390565b600181811c9082168061155557607f821691505b6020821081141561157657634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561159057611590611597565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c8f57600080fdfea26469706673582212205bc43db3984b7e6d98c1a66e0586af6006a6a0296a263dbce30fb8ef8f90e67264736f6c634300080400330000000000000000000000003b930f45b33dc543bd934aaf0d8156fe5315484e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a85760003560e01c8063715018a6116100f9578063a457c2d711610097578063dd62ed3e11610071578063dd62ed3e1461036d578063ed60b62f146103a6578063f2fde38b146103b9578063fcbd4be7146103cc57600080fd5b8063a457c2d71461033f578063a9059cbb14610352578063dc6343ba1461036557600080fd5b806395943b90116100d357806395943b90146102fe57806395d89b41146103115780639dc29fac14610319578063a421fb191461032c57600080fd5b8063715018a6146102d25780637d5be0e4146102da5780638da5cb5b146102ed57600080fd5b8063313ce567116101665780633950935111610140578063395093511461027a5780634528c6991461028d57806347786d371461029657806370a08231146102a957600080fd5b8063313ce5671461024d57806332cf41e01461025c578063355274ea1461027157600080fd5b8062e44590146101ad57806306fdde03146101dd578063095ea7b3146101f257806318160ddd1461021557806323b872dd14610227578063254680f11461023a575b600080fd5b6009546101c0906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6101e56103df565b6040516101d4919061144b565b610205610200366004611330565b610471565b60405190151581526020016101d4565b6002545b6040519081526020016101d4565b6102056102353660046112f0565b610487565b6008546101c0906001600160a01b031681565b604051601281526020016101d4565b61026f61026a36600461141b565b610536565b005b61021960075481565b610205610288366004611330565b61066e565b61021960065481565b61026f6102a436600461141b565b6106aa565b6102196102b7366004611280565b6001600160a01b031660009081526020819052604090205490565b61026f6106d9565b61026f6102e836600461141b565b61070f565b6005546001600160a01b03166101c0565b61021961030c36600461141b565b61073e565b6101e561085c565b61026f610327366004611330565b61086b565b61026f61033a366004611280565b6108bb565b61020561034d366004611330565b610907565b610205610360366004611330565b6109a0565b61026f6109ad565b61021961037b3660046112b8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6102196103b4366004611280565b610b23565b61026f6103c7366004611280565b610bf7565b61026f6103da366004611280565b610c92565b6060600380546103ee90611541565b80601f016020809104026020016040519081016040528092919081815260200182805461041a90611541565b80156104675780601f1061043c57610100808354040283529160200191610467565b820191906000526020600020905b81548152906001019060200180831161044a57829003601f168201915b5050505050905090565b600061047e338484610cde565b50600192915050565b6000610494848484610e03565b6001600160a01b03841660009081526001602090815260408083203384529091529020548281101561051e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084015b60405180910390fd5b61052b8533858403610cde565b506001949350505050565b6009546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b15801561057a57600080fd5b505afa15801561058e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b2919061129c565b6001600160a01b0316146105f65760405162461bcd60e51b815260206004820152600b60248201526a2bb937b7339037bbb732b960a91b6044820152606401610515565b60006106018261073e565b60095460405163d8ccd0f360e01b8152600481018590529192506001600160a01b03169063d8ccd0f390602401600060405180830381600087803b15801561064857600080fd5b505af115801561065c573d6000803e3d6000fd5b5050505061066a3382610fd2565b5050565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161047e9185906106a59086906114d3565b610cde565b6005546001600160a01b031633146106d45760405162461bcd60e51b81526004016105159061149e565b600755565b6005546001600160a01b031633146107035760405162461bcd60e51b81526004016105159061149e565b61070d60006110b1565b565b6005546001600160a01b031633146107395760405162461bcd60e51b81526004016105159061149e565b600655565b600080821180156107515750611b398211155b61078d5760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610515565b600954604051632736758560e01b81526004810184905260009182916001600160a01b039091169063273675859060240160206040518083038186803b1580156107d657600080fd5b505afa1580156107ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080e9190611433565b90508061081c575092915050565b60006108356201518061082f4285611103565b90611116565b9050600754811061084557506007545b600654610853908290611122565b95945050505050565b6060600480546103ee90611541565b6008546001600160a01b031633146108b15760405162461bcd60e51b81526020600482015260096024820152682337b93134b23232b760b91b6044820152606401610515565b61066a828261112e565b6005546001600160a01b031633146108e55760405162461bcd60e51b81526004016105159061149e565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109895760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610515565b6109963385858403610cde565b5060019392505050565b600061047e338484610e03565b60095460405162438b6360e81b81523360048201526000916001600160a01b03169063438b63009060240160006040518083038186803b1580156109f057600080fd5b505afa158015610a04573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a2c919081019061135b565b90506000805b8251811015610b1857610a75610a6e848381518110610a6157634e487b7160e01b600052603260045260246000fd5b602002602001015161073e565b8390611274565b5060095483516001600160a01b039091169063d8ccd0f390859084908110610aad57634e487b7160e01b600052603260045260246000fd5b60200260200101516040518263ffffffff1660e01b8152600401610ad391815260200190565b600060405180830381600087803b158015610aed57600080fd5b505af1158015610b01573d6000803e3d6000fd5b505050508080610b109061157c565b915050610a32565b5061066a3382610fd2565b60095460405162438b6360e81b81526001600160a01b038381166004830152600092839291169063438b63009060240160006040518083038186803b158015610b6b57600080fd5b505afa158015610b7f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610ba7919081019061135b565b90506000805b8251811015610bef57610bdc610a6e848381518110610a6157634e487b7160e01b600052603260045260246000fd5b5080610be78161157c565b915050610bad565b509392505050565b6005546001600160a01b03163314610c215760405162461bcd60e51b81526004016105159061149e565b6001600160a01b038116610c865760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610515565b610c8f816110b1565b50565b6005546001600160a01b03163314610cbc5760405162461bcd60e51b81526004016105159061149e565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038316610d405760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610515565b6001600160a01b038216610da15760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610515565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610e675760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610515565b6001600160a01b038216610ec95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610515565b6001600160a01b03831660009081526020819052604090205481811015610f415760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610515565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610f789084906114d3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610fc491815260200190565b60405180910390a350505050565b6001600160a01b0382166110285760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610515565b806002600082825461103a91906114d3565b90915550506001600160a01b038216600090815260208190526040812080548392906110679084906114d3565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600061110f828461152a565b9392505050565b600061110f82846114eb565b600061110f828461150b565b6001600160a01b03821661118e5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610515565b6001600160a01b038216600090815260208190526040902054818110156112025760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610515565b6001600160a01b038316600090815260208190526040812083830390556002805484929061123190849061152a565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610df6565b600061110f82846114d3565b600060208284031215611291578081fd5b813561110f816115c3565b6000602082840312156112ad578081fd5b815161110f816115c3565b600080604083850312156112ca578081fd5b82356112d5816115c3565b915060208301356112e5816115c3565b809150509250929050565b600080600060608486031215611304578081fd5b833561130f816115c3565b9250602084013561131f816115c3565b929592945050506040919091013590565b60008060408385031215611342578182fd5b823561134d816115c3565b946020939093013593505050565b6000602080838503121561136d578182fd5b825167ffffffffffffffff80821115611384578384fd5b818501915085601f830112611397578384fd5b8151818111156113a9576113a96115ad565b8060051b604051601f19603f830116810181811085821117156113ce576113ce6115ad565b604052828152858101935084860182860187018a10156113ec578788fd5b8795505b8386101561140e5780518552600195909501949386019386016113f0565b5098975050505050505050565b60006020828403121561142c578081fd5b5035919050565b600060208284031215611444578081fd5b5051919050565b6000602080835283518082850152825b818110156114775785810183015185820160400152820161145b565b818111156114885783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600082198211156114e6576114e6611597565b500190565b60008261150657634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561152557611525611597565b500290565b60008282101561153c5761153c611597565b500390565b600181811c9082168061155557607f821691505b6020821081141561157657634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561159057611590611597565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610c8f57600080fdfea26469706673582212205bc43db3984b7e6d98c1a66e0586af6006a6a0296a263dbce30fb8ef8f90e67264736f6c63430008040033

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

0000000000000000000000003b930f45b33dc543bd934aaf0d8156fe5315484e

-----Decoded View---------------
Arg [0] : _kongzillaContractAddress (address): 0x3b930f45B33dc543Bd934AAF0D8156FE5315484E

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003b930f45b33dc543bd934aaf0d8156fe5315484e


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.