ETH Price: $3,036.56 (+0.42%)
Gas: 3 Gwei

Contract

0xc198DB342Ba2A0A6b0Dd3C3Af432a2F1C59a93b9
 

Overview

ETH Balance

11.061683747323046966 ETH

Eth Value

$33,589.46 (@ $3,036.56/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw Dividen...178935512023-08-11 18:51:47333 days ago1691779907IN
0xc198DB34...1C59a93b9
0 ETH0.0014897525.63542604
Withdraw Dividen...178311002023-08-03 1:09:23342 days ago1691024963IN
0xc198DB34...1C59a93b9
0 ETH0.0005383317.48284704
Withdraw Dividen...178310672023-08-03 1:02:47342 days ago1691024567IN
0xc198DB34...1C59a93b9
0 ETH0.0010513618.09166171
Withdraw Dividen...178310272023-08-03 0:54:47342 days ago1691024087IN
0xc198DB34...1C59a93b9
0 ETH0.0007737118.86503959
Withdraw Dividen...173194252023-05-23 3:58:47413 days ago1684814327IN
0xc198DB34...1C59a93b9
0 ETH0.0022505538.72728469
Withdraw Dividen...168917642023-03-23 17:37:35474 days ago1679593055IN
0xc198DB34...1C59a93b9
0 ETH0.0013051142.38493968
Withdraw Dividen...168594452023-03-19 4:39:23478 days ago1679200763IN
0xc198DB34...1C59a93b9
0 ETH0.0008552714.71053127
Withdraw Dividen...168373182023-03-16 2:02:59481 days ago1678932179IN
0xc198DB34...1C59a93b9
0 ETH0.0027487447.3
Withdraw Dividen...168167132023-03-13 4:33:11484 days ago1678681991IN
0xc198DB34...1C59a93b9
0 ETH0.000765518.65265315
Withdraw Dividen...168138682023-03-12 18:56:35485 days ago1678647395IN
0xc198DB34...1C59a93b9
0 ETH0.0010852426.44359106
Withdraw Dividen...167835772023-03-08 12:36:35489 days ago1678278995IN
0xc198DB34...1C59a93b9
0 ETH0.0008513427.6482472
Reinvest Dividen...167174922023-02-27 5:36:35498 days ago1677476195IN
0xc198DB34...1C59a93b9
0 ETH0.0005196716.74954142
Withdraw Dividen...167152672023-02-26 22:06:23499 days ago1677449183IN
0xc198DB34...1C59a93b9
0 ETH0.0017016829.28241776
Withdraw Dividen...164704132023-01-23 15:30:47533 days ago1674487847IN
0xc198DB34...1C59a93b9
0 ETH0.0011012926.83465989
Withdraw Dividen...164616692023-01-22 10:13:23534 days ago1674382403IN
0xc198DB34...1C59a93b9
0 ETH0.0005081416.48808476
Withdraw Dividen...164333162023-01-18 11:13:11538 days ago1674040391IN
0xc198DB34...1C59a93b9
0 ETH0.0009080822.12692008
Withdraw Dividen...164333012023-01-18 11:10:11538 days ago1674040211IN
0xc198DB34...1C59a93b9
0 ETH0.0009019621.99211126
Withdraw Dividen...164186032023-01-16 9:58:59540 days ago1673863139IN
0xc198DB34...1C59a93b9
0 ETH0.0009411116.19465123
Withdraw Dividen...164142802023-01-15 19:26:47541 days ago1673810807IN
0xc198DB34...1C59a93b9
0 ETH0.0009691123.61396253
Withdraw Dividen...160826032022-11-30 11:47:47587 days ago1669808867IN
0xc198DB34...1C59a93b9
0 ETH0.0007786813.39952602
Withdraw Dividen...160530202022-11-26 8:38:59591 days ago1669451939IN
0xc198DB34...1C59a93b9
0 ETH0.0003387110.99046621
Withdraw Dividen...160530172022-11-26 8:38:23591 days ago1669451903IN
0xc198DB34...1C59a93b9
0 ETH0.0006632211.40742378
Withdraw Dividen...160184872022-11-21 12:48:23596 days ago1669034903IN
0xc198DB34...1C59a93b9
0 ETH0.0007424212.76952956
Withdraw Dividen...160037312022-11-19 11:21:59598 days ago1668856919IN
0xc198DB34...1C59a93b9
0 ETH0.0007558213
Withdraw Dividen...159705662022-11-14 20:08:23603 days ago1668456503IN
0xc198DB34...1C59a93b9
0 ETH0.0010594925.83319941
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
178935512023-08-11 18:51:47333 days ago1691779907
0xc198DB34...1C59a93b9
0.0301025 ETH
178310672023-08-03 1:02:47342 days ago1691024567
0xc198DB34...1C59a93b9
0.00163206 ETH
178310272023-08-03 0:54:47342 days ago1691024087
0xc198DB34...1C59a93b9
0.06484606 ETH
173194252023-05-23 3:58:47413 days ago1684814327
0xc198DB34...1C59a93b9
0.13752527 ETH
168594452023-03-19 4:39:23478 days ago1679200763
0xc198DB34...1C59a93b9
0.00048802 ETH
168373182023-03-16 2:02:59481 days ago1678932179
0xc198DB34...1C59a93b9
0.0183367 ETH
168167132023-03-13 4:33:11484 days ago1678681991
0xc198DB34...1C59a93b9
0.0367493 ETH
168138682023-03-12 18:56:35485 days ago1678647395
0xc198DB34...1C59a93b9
0.016674 ETH
167152672023-02-26 22:06:23499 days ago1677449183
0xc198DB34...1C59a93b9
0.00405553 ETH
164704132023-01-23 15:30:47533 days ago1674487847
0xc198DB34...1C59a93b9
0.01583502 ETH
164615582023-01-22 9:50:59534 days ago1674381059
0xc198DB34...1C59a93b9
0.01937907 ETH
164333162023-01-18 11:13:11538 days ago1674040391
0xc198DB34...1C59a93b9
0.01218774 ETH
164333012023-01-18 11:10:11538 days ago1674040211
0xc198DB34...1C59a93b9
0.04867369 ETH
164186032023-01-16 9:58:59540 days ago1673863139
0xc198DB34...1C59a93b9
0.00359911 ETH
164142802023-01-15 19:26:47541 days ago1673810807
0xc198DB34...1C59a93b9
0.01292598 ETH
160826032022-11-30 11:47:47587 days ago1669808867
0xc198DB34...1C59a93b9
0.06399304 ETH
160530172022-11-26 8:38:23591 days ago1669451903
0xc198DB34...1C59a93b9
0.00024013 ETH
160184872022-11-21 12:48:23596 days ago1669034903
0xc198DB34...1C59a93b9
0.00277103 ETH
160037312022-11-19 11:21:59598 days ago1668856919
0xc198DB34...1C59a93b9
0.00131832 ETH
159705662022-11-14 20:08:23603 days ago1668456503
0xc198DB34...1C59a93b9
0.09321288 ETH
159092032022-11-06 6:31:23611 days ago1667716283
0xc198DB34...1C59a93b9
0.00074388 ETH
158928472022-11-03 23:43:59614 days ago1667519039
0xc198DB34...1C59a93b9
0.00002911 ETH
158784302022-11-01 23:22:35616 days ago1667344955
0xc198DB34...1C59a93b9
0.02010748 ETH
158238582022-10-25 8:19:23623 days ago1666685963
0xc198DB34...1C59a93b9
0.0210985 ETH
157588622022-10-16 6:23:47632 days ago1665901427
0xc198DB34...1C59a93b9
0.13421847 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IMTRewardToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

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

interface IIMT {
	function reinvestReflections(address account, uint256 minTokens) external payable;
}

contract IMTRewardToken is ERC20, Ownable {
	using SafeMath for uint256;
	using SafeMathUint for uint256;
	using SafeMathInt for int256;

	uint256 internal constant magnitude = 2**128;
	uint256 internal magnifiedDividendPerShare;
	mapping(address => int256) internal magnifiedDividendCorrections;
	mapping(address => uint256) internal withdrawnDividends;
	uint256 public totalDividendsDistributed;

	IIMT public iimt;
	mapping(address => bool) public excludedFromDividends;
	event ExcludeFromDividends(address indexed account);
	event DividendsDistributed(address indexed from, uint256 weiAmount);
	event DividendWithdrawn(address indexed to, uint256 weiAmount, address received);

	constructor(
		string memory _name,
		string memory _symbol,
		address _iimt
	) ERC20(_name, _symbol) {
		iimt = IIMT(_iimt);
	}

	receive() external payable {
		distributeDividends();
	}

	function distributeDividends() public payable {
		require(totalSupply() > 0);

		if (msg.value > 0) {
			magnifiedDividendPerShare = magnifiedDividendPerShare.add((msg.value).mul(magnitude) / totalSupply());
			emit DividendsDistributed(msg.sender, msg.value);
			totalDividendsDistributed = totalDividendsDistributed.add(msg.value);
		}
	}

	function withdrawDividend() public virtual {
		_withdrawDividendOfUser(payable(msg.sender));
	}

	function reinvestDividend(uint256 minTokens) public {
		_reinvestDividend(payable(msg.sender), minTokens);
	}

	function _withdrawDividendOfUser(address payable user) internal {
		uint256 _withdrawableDividend = withdrawableDividendOf(user);
		if (_withdrawableDividend > 0) {
			withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
			(bool success, ) = user.call{ value: _withdrawableDividend, gas: 3000 }("");
			if (!success) {
				withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
			}
		}
	}

	function _reinvestDividend(address payable user, uint256 minTokens) internal {
		uint256 _withdrawableDividend = withdrawableDividendOf(user);
		if (_withdrawableDividend > 0) {
			withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
			iimt.reinvestReflections{ value: _withdrawableDividend }(user, minTokens);
		}
	}

	function dividendOf(address _owner) public view returns (uint256) {
		return withdrawableDividendOf(_owner);
	}

	function withdrawableDividendOf(address _owner) public view returns (uint256) {
		return accumulativeDividendOf(_owner).sub(withdrawnDividends[_owner]);
	}

	function withdrawnDividendOf(address _owner) public view returns (uint256) {
		return withdrawnDividends[_owner];
	}

	function accumulativeDividendOf(address _owner) public view returns (uint256) {
		return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe().add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
	}

	function _transfer(
		address from,
		address to,
		uint256 value
	) internal virtual override {
		require(false, "No transfers allowed");
	}

	function _mint(address account, uint256 value) internal override {
		super._mint(account, value);

		magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].sub((magnifiedDividendPerShare.mul(value)).toInt256Safe());
	}

	function _burn(address account, uint256 value) internal override {
		super._burn(account, value);

		magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account].add((magnifiedDividendPerShare.mul(value)).toInt256Safe());
	}

	function setBalance(address payable account, uint256 newBalance) external {
		require(msg.sender == address(iimt), "Only callable by token");
		if (excludedFromDividends[account]) {
			return;
		}
		_setBalance(account, newBalance);
	}

	function _setBalance(address account, uint256 newBalance) internal {
		uint256 currentBalance = balanceOf(account);

		if (newBalance > currentBalance) {
			uint256 mintAmount = newBalance.sub(currentBalance);
			_mint(account, mintAmount);
		} else if (newBalance < currentBalance) {
			uint256 burnAmount = currentBalance.sub(newBalance);
			_burn(account, burnAmount);
		}
	}

	function excludeFromDividends(address account) external onlyOwner {
		require(!excludedFromDividends[account]);
		excludedFromDividends[account] = true;
		_setBalance(account, 0);
		emit ExcludeFromDividends(account);
	}

	function includeInDividends(address account) external onlyOwner {
		require(excludedFromDividends[account]);
		excludedFromDividends[account] = false;
	}

	function setToken(address _imt) external onlyOwner {
		iimt = IIMT(_imt);
	}

	function accountInfo(address account)
		external
		view
		returns (
			uint256 withdrawable,
			uint256 withdrawn,
			uint256 balance
		)
	{
		withdrawable = withdrawableDividendOf(account);
		withdrawn = withdrawnDividendOf(account);
		balance = balanceOf(account);
	}
}

File 2 of 9 : SafeMathUint.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}

File 3 of 9 : SafeMathInt.sol
// SPDX-License-Identifier: MIT

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity ^0.8.0;

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

File 4 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 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 {
        _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 5 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

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 6 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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 7 of 9 : 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 8 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

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 9 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_iimt","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":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"received","type":"address"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"ExcludeFromDividends","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":"account","type":"address"}],"name":"accountInfo","outputs":[{"internalType":"uint256","name":"withdrawable","type":"uint256"},{"internalType":"uint256","name":"withdrawn","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"iimt","outputs":[{"internalType":"contract IIMT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"minTokens","type":"uint256"}],"name":"reinvestDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_imt","type":"address"}],"name":"setToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b5060405162001a1638038062001a16833981016040819052620000349162000258565b8251839083906200004d906003906020850190620000ff565b50805162000063906004906020840190620000ff565b505050620000806200007a620000a960201b60201c565b620000ad565b600a80546001600160a01b0319166001600160a01b039290921691909117905550620003349050565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010d90620002e1565b90600052602060002090601f0160209004810192826200013157600085556200017c565b82601f106200014c57805160ff19168380011785556200017c565b828001600101855582156200017c579182015b828111156200017c5782518255916020019190600101906200015f565b506200018a9291506200018e565b5090565b5b808211156200018a57600081556001016200018f565b600082601f830112620001b6578081fd5b81516001600160401b0380821115620001d357620001d36200031e565b604051601f8301601f19908116603f01168101908282118183101715620001fe57620001fe6200031e565b816040528381526020925086838588010111156200021a578485fd5b8491505b838210156200023d57858201830151818301840152908201906200021e565b838211156200024e57848385830101525b9695505050505050565b6000806000606084860312156200026d578283fd5b83516001600160401b038082111562000284578485fd5b6200029287838801620001a5565b94506020860151915080821115620002a8578384fd5b50620002b786828701620001a5565b604086015190935090506001600160a01b0381168114620002d6578182fd5b809150509250925092565b600181811c90821680620002f657607f821691505b602082108114156200031857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6116d280620003446000396000f3fe6080604052600436106101c65760003560e01c8063715018a6116100f7578063a8b9d24011610095578063cbb9390111610064578063cbb9390114610536578063dd62ed3e14610556578063e30443bc1461059c578063f2fde38b146105bc57600080fd5b8063a8b9d240146104a0578063a9059cbb146104c0578063aafd847a146104e0578063c0f306ef1461051657600080fd5b806391b89fba116100d157806391b89fba1461041057806395d89b4114610430578063a457c2d714610445578063a7310b581461046557600080fd5b8063715018a6146103b357806385a6b3ae146103c85780638da5cb5b146103de57600080fd5b8063313ce567116101645780634e7b827f1161013e5780634e7b827f146103185780636a474002146103485780636aff3c4f1461035d57806370a082311461037d57600080fd5b8063313ce567146102bc57806331e79db0146102d857806339509351146102f857600080fd5b8063144fa6d7116101a0578063144fa6d71461023d57806318160ddd1461025d57806323b872dd1461027c57806327ce01471461029c57600080fd5b806303c83302146101da57806306fdde03146101e2578063095ea7b31461020d57600080fd5b366101d5576101d36105dc565b005b600080fd5b6101d36105dc565b3480156101ee57600080fd5b506101f761066f565b60405161020491906114c0565b60405180910390f35b34801561021957600080fd5b5061022d610228366004611496565b610701565b6040519015158152602001610204565b34801561024957600080fd5b506101d36102583660046113d7565b610717565b34801561026957600080fd5b506002545b604051908152602001610204565b34801561028857600080fd5b5061022d610297366004611456565b61076c565b3480156102a857600080fd5b5061026e6102b73660046113d7565b610816565b3480156102c857600080fd5b5060405160128152602001610204565b3480156102e457600080fd5b506101d36102f33660046113d7565b610878565b34801561030457600080fd5b5061022d610313366004611496565b61092d565b34801561032457600080fd5b5061022d6103333660046113d7565b600b6020526000908152604090205460ff1681565b34801561035457600080fd5b506101d3610969565b34801561036957600080fd5b506101d36103783660046114a8565b610972565b34801561038957600080fd5b5061026e6103983660046113d7565b6001600160a01b031660009081526020819052604090205490565b3480156103bf57600080fd5b506101d361097f565b3480156103d457600080fd5b5061026e60095481565b3480156103ea57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610204565b34801561041c57600080fd5b5061026e61042b3660046113d7565b6109b3565b34801561043c57600080fd5b506101f76109be565b34801561045157600080fd5b5061022d610460366004611496565b6109cd565b34801561047157600080fd5b506104856104803660046113d7565b610a66565b60408051938452602084019290925290820152606001610204565b3480156104ac57600080fd5b5061026e6104bb3660046113d7565b610abe565b3480156104cc57600080fd5b5061022d6104db366004611496565b610aea565b3480156104ec57600080fd5b5061026e6104fb3660046113d7565b6001600160a01b031660009081526008602052604090205490565b34801561052257600080fd5b506101d36105313660046113d7565b610af7565b34801561054257600080fd5b50600a546103f8906001600160a01b031681565b34801561056257600080fd5b5061026e61057136600461141e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105a857600080fd5b506101d36105b73660046113f3565b610b67565b3480156105c857600080fd5b506101d36105d73660046113d7565b610bed565b60006105e760025490565b116105f157600080fd5b341561066d5761062461060360025490565b61061134600160801b610c85565b61061b91906115a1565b60065490610c98565b60065560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546106699034610c98565b6009555b565b60606003805461067e90611636565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa90611636565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b600061070e338484610ca4565b50600192915050565b6005546001600160a01b0316331461074a5760405162461bcd60e51b815260040161074190611513565b60405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610779848484610dc8565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107fe5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610741565b61080b8533858403610ca4565b506001949350505050565b6001600160a01b03811660009081526007602090815260408083205491839052822054600654600160801b92610868926108639261085d916108589190610c85565b610e0c565b90610e1c565b610e5a565b61087291906115a1565b92915050565b6005546001600160a01b031633146108a25760405162461bcd60e51b815260040161074190611513565b6001600160a01b0381166000908152600b602052604090205460ff16156108c857600080fd5b6001600160a01b0381166000908152600b60205260408120805460ff191660011790556108f6908290610e6d565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161070e918590610964908690611589565b610ca4565b61066d33610ecc565b61097c3382610faf565b50565b6005546001600160a01b031633146109a95760405162461bcd60e51b815260040161074190611513565b61066d6000611067565b600061087282610abe565b60606004805461067e90611636565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610a4f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610741565b610a5c3385858403610ca4565b5060019392505050565b6000806000610a7484610abe565b9250610a95846001600160a01b031660009081526008602052604090205490565b9150610ab6846001600160a01b031660009081526020819052604090205490565b929491935050565b6001600160a01b03811660009081526008602052604081205461087290610ae484610816565b906110b9565b600061070e338484610dc8565b6005546001600160a01b03163314610b215760405162461bcd60e51b815260040161074190611513565b6001600160a01b0381166000908152600b602052604090205460ff16610b4657600080fd5b6001600160a01b03166000908152600b60205260409020805460ff19169055565b600a546001600160a01b03163314610bba5760405162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c903a37b5b2b760511b6044820152606401610741565b6001600160a01b0382166000908152600b602052604090205460ff1615610bdf575050565b610be98282610e6d565b5050565b6005546001600160a01b03163314610c175760405162461bcd60e51b815260040161074190611513565b6001600160a01b038116610c7c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610741565b61097c81611067565b6000610c9182846115c1565b9392505050565b6000610c918284611589565b6001600160a01b038316610d065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610741565b6001600160a01b038216610d675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610741565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b8152602060048201526014602482015273139bc81d1c985b9cd9995c9cc8185b1b1bddd95960621b6044820152606401610741565b505050565b6000818181121561087257600080fd5b600080610e298385611548565b905060008312158015610e3c5750838112155b80610e515750600083128015610e5157508381125b610c9157600080fd5b600080821215610e6957600080fd5b5090565b6001600160a01b03821660009081526020819052604090205480821115610eac576000610e9a83836110b9565b9050610ea684826110c5565b50505050565b80821015610e07576000610ec082846110b9565b9050610ea68482611129565b6000610ed782610abe565b90508015610be9576001600160a01b038216600090815260086020526040902054610f029082610c98565b6001600160a01b038316600081815260086020526040808220939093559151610bb890849084818181858888f193505050503d8060008114610f60576040519150601f19603f3d011682016040523d82523d6000602084013e610f65565b606091505b5050905080610e07576001600160a01b038316600090815260086020526040902054610f9190836110b9565b6001600160a01b038416600090815260086020526040902055505050565b6000610fba83610abe565b90508015610e07576001600160a01b038316600090815260086020526040902054610fe59082610c98565b6001600160a01b038481166000818152600860205260409081902093909355600a54925163bbec4c4560e01b815260048101919091526024810185905291169063bbec4c459083906044016000604051808303818588803b15801561104957600080fd5b505af115801561105d573d6000803e3d6000fd5b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610c91828461161f565b6110cf828261116d565b6111096110ea61085883600654610c8590919063ffffffff16565b6001600160a01b0384166000908152600760205260409020549061124c565b6001600160a01b0390921660009081526007602052604090209190915550565b6111338282611289565b61110961114e61085883600654610c8590919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490610e1c565b6001600160a01b0382166111c35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610741565b80600260008282546111d59190611589565b90915550506001600160a01b03821660009081526020819052604081208054839290611202908490611589565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60008061125983856115e0565b90506000831215801561126c5750838113155b80610e515750600083128015610e515750838113610c9157600080fd5b6001600160a01b0382166112e95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610741565b6001600160a01b0382166000908152602081905260409020548181101561135d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610741565b6001600160a01b038316600090815260208190526040812083830390556002805484929061138c90849061161f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000602082840312156113e8578081fd5b8135610c9181611687565b60008060408385031215611405578081fd5b823561141081611687565b946020939093013593505050565b60008060408385031215611430578182fd5b823561143b81611687565b9150602083013561144b81611687565b809150509250929050565b60008060006060848603121561146a578081fd5b833561147581611687565b9250602084013561148581611687565b929592945050506040919091013590565b60008060408385031215611405578182fd5b6000602082840312156114b9578081fd5b5035919050565b6000602080835283518082850152825b818110156114ec578581018301518582016040015282016114d0565b818111156114fd5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b038490038513161561156a5761156a611671565b600160ff1b839003841281161561158357611583611671565b50500190565b6000821982111561159c5761159c611671565b500190565b6000826115bc57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156115db576115db611671565b500290565b60008083128015600160ff1b8501841216156115fe576115fe611671565b6001600160ff1b038401831381161561161957611619611671565b50500390565b60008282101561163157611631611671565b500390565b600181811c9082168061164a57607f821691505b6020821081141561166b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461097c57600080fdfea264697066735822122005b28afe3a7881a387d0c59b37c9686a1278d2d3e2ebe3a18c1d24a8cd92955d64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c66e9e56cfe33471f0826b2531b5ba490de4732a0000000000000000000000000000000000000000000000000000000000000012494d542052657761726420547261636b65720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000472494d5400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106101c65760003560e01c8063715018a6116100f7578063a8b9d24011610095578063cbb9390111610064578063cbb9390114610536578063dd62ed3e14610556578063e30443bc1461059c578063f2fde38b146105bc57600080fd5b8063a8b9d240146104a0578063a9059cbb146104c0578063aafd847a146104e0578063c0f306ef1461051657600080fd5b806391b89fba116100d157806391b89fba1461041057806395d89b4114610430578063a457c2d714610445578063a7310b581461046557600080fd5b8063715018a6146103b357806385a6b3ae146103c85780638da5cb5b146103de57600080fd5b8063313ce567116101645780634e7b827f1161013e5780634e7b827f146103185780636a474002146103485780636aff3c4f1461035d57806370a082311461037d57600080fd5b8063313ce567146102bc57806331e79db0146102d857806339509351146102f857600080fd5b8063144fa6d7116101a0578063144fa6d71461023d57806318160ddd1461025d57806323b872dd1461027c57806327ce01471461029c57600080fd5b806303c83302146101da57806306fdde03146101e2578063095ea7b31461020d57600080fd5b366101d5576101d36105dc565b005b600080fd5b6101d36105dc565b3480156101ee57600080fd5b506101f761066f565b60405161020491906114c0565b60405180910390f35b34801561021957600080fd5b5061022d610228366004611496565b610701565b6040519015158152602001610204565b34801561024957600080fd5b506101d36102583660046113d7565b610717565b34801561026957600080fd5b506002545b604051908152602001610204565b34801561028857600080fd5b5061022d610297366004611456565b61076c565b3480156102a857600080fd5b5061026e6102b73660046113d7565b610816565b3480156102c857600080fd5b5060405160128152602001610204565b3480156102e457600080fd5b506101d36102f33660046113d7565b610878565b34801561030457600080fd5b5061022d610313366004611496565b61092d565b34801561032457600080fd5b5061022d6103333660046113d7565b600b6020526000908152604090205460ff1681565b34801561035457600080fd5b506101d3610969565b34801561036957600080fd5b506101d36103783660046114a8565b610972565b34801561038957600080fd5b5061026e6103983660046113d7565b6001600160a01b031660009081526020819052604090205490565b3480156103bf57600080fd5b506101d361097f565b3480156103d457600080fd5b5061026e60095481565b3480156103ea57600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610204565b34801561041c57600080fd5b5061026e61042b3660046113d7565b6109b3565b34801561043c57600080fd5b506101f76109be565b34801561045157600080fd5b5061022d610460366004611496565b6109cd565b34801561047157600080fd5b506104856104803660046113d7565b610a66565b60408051938452602084019290925290820152606001610204565b3480156104ac57600080fd5b5061026e6104bb3660046113d7565b610abe565b3480156104cc57600080fd5b5061022d6104db366004611496565b610aea565b3480156104ec57600080fd5b5061026e6104fb3660046113d7565b6001600160a01b031660009081526008602052604090205490565b34801561052257600080fd5b506101d36105313660046113d7565b610af7565b34801561054257600080fd5b50600a546103f8906001600160a01b031681565b34801561056257600080fd5b5061026e61057136600461141e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156105a857600080fd5b506101d36105b73660046113f3565b610b67565b3480156105c857600080fd5b506101d36105d73660046113d7565b610bed565b60006105e760025490565b116105f157600080fd5b341561066d5761062461060360025490565b61061134600160801b610c85565b61061b91906115a1565b60065490610c98565b60065560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546106699034610c98565b6009555b565b60606003805461067e90611636565b80601f01602080910402602001604051908101604052809291908181526020018280546106aa90611636565b80156106f75780601f106106cc576101008083540402835291602001916106f7565b820191906000526020600020905b8154815290600101906020018083116106da57829003601f168201915b5050505050905090565b600061070e338484610ca4565b50600192915050565b6005546001600160a01b0316331461074a5760405162461bcd60e51b815260040161074190611513565b60405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610779848484610dc8565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107fe5760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610741565b61080b8533858403610ca4565b506001949350505050565b6001600160a01b03811660009081526007602090815260408083205491839052822054600654600160801b92610868926108639261085d916108589190610c85565b610e0c565b90610e1c565b610e5a565b61087291906115a1565b92915050565b6005546001600160a01b031633146108a25760405162461bcd60e51b815260040161074190611513565b6001600160a01b0381166000908152600b602052604090205460ff16156108c857600080fd5b6001600160a01b0381166000908152600b60205260408120805460ff191660011790556108f6908290610e6d565b6040516001600160a01b038216907fa878b31040b2e6d0a9a3d3361209db3908ba62014b0dca52adbaee451d128b2590600090a250565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161070e918590610964908690611589565b610ca4565b61066d33610ecc565b61097c3382610faf565b50565b6005546001600160a01b031633146109a95760405162461bcd60e51b815260040161074190611513565b61066d6000611067565b600061087282610abe565b60606004805461067e90611636565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610a4f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610741565b610a5c3385858403610ca4565b5060019392505050565b6000806000610a7484610abe565b9250610a95846001600160a01b031660009081526008602052604090205490565b9150610ab6846001600160a01b031660009081526020819052604090205490565b929491935050565b6001600160a01b03811660009081526008602052604081205461087290610ae484610816565b906110b9565b600061070e338484610dc8565b6005546001600160a01b03163314610b215760405162461bcd60e51b815260040161074190611513565b6001600160a01b0381166000908152600b602052604090205460ff16610b4657600080fd5b6001600160a01b03166000908152600b60205260409020805460ff19169055565b600a546001600160a01b03163314610bba5760405162461bcd60e51b815260206004820152601660248201527527b7363c9031b0b63630b1363290313c903a37b5b2b760511b6044820152606401610741565b6001600160a01b0382166000908152600b602052604090205460ff1615610bdf575050565b610be98282610e6d565b5050565b6005546001600160a01b03163314610c175760405162461bcd60e51b815260040161074190611513565b6001600160a01b038116610c7c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610741565b61097c81611067565b6000610c9182846115c1565b9392505050565b6000610c918284611589565b6001600160a01b038316610d065760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610741565b6001600160a01b038216610d675760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610741565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b8152602060048201526014602482015273139bc81d1c985b9cd9995c9cc8185b1b1bddd95960621b6044820152606401610741565b505050565b6000818181121561087257600080fd5b600080610e298385611548565b905060008312158015610e3c5750838112155b80610e515750600083128015610e5157508381125b610c9157600080fd5b600080821215610e6957600080fd5b5090565b6001600160a01b03821660009081526020819052604090205480821115610eac576000610e9a83836110b9565b9050610ea684826110c5565b50505050565b80821015610e07576000610ec082846110b9565b9050610ea68482611129565b6000610ed782610abe565b90508015610be9576001600160a01b038216600090815260086020526040902054610f029082610c98565b6001600160a01b038316600081815260086020526040808220939093559151610bb890849084818181858888f193505050503d8060008114610f60576040519150601f19603f3d011682016040523d82523d6000602084013e610f65565b606091505b5050905080610e07576001600160a01b038316600090815260086020526040902054610f9190836110b9565b6001600160a01b038416600090815260086020526040902055505050565b6000610fba83610abe565b90508015610e07576001600160a01b038316600090815260086020526040902054610fe59082610c98565b6001600160a01b038481166000818152600860205260409081902093909355600a54925163bbec4c4560e01b815260048101919091526024810185905291169063bbec4c459083906044016000604051808303818588803b15801561104957600080fd5b505af115801561105d573d6000803e3d6000fd5b5050505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610c91828461161f565b6110cf828261116d565b6111096110ea61085883600654610c8590919063ffffffff16565b6001600160a01b0384166000908152600760205260409020549061124c565b6001600160a01b0390921660009081526007602052604090209190915550565b6111338282611289565b61110961114e61085883600654610c8590919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490610e1c565b6001600160a01b0382166111c35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610741565b80600260008282546111d59190611589565b90915550506001600160a01b03821660009081526020819052604081208054839290611202908490611589565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b60008061125983856115e0565b90506000831215801561126c5750838113155b80610e515750600083128015610e515750838113610c9157600080fd5b6001600160a01b0382166112e95760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610741565b6001600160a01b0382166000908152602081905260409020548181101561135d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610741565b6001600160a01b038316600090815260208190526040812083830390556002805484929061138c90849061161f565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3505050565b6000602082840312156113e8578081fd5b8135610c9181611687565b60008060408385031215611405578081fd5b823561141081611687565b946020939093013593505050565b60008060408385031215611430578182fd5b823561143b81611687565b9150602083013561144b81611687565b809150509250929050565b60008060006060848603121561146a578081fd5b833561147581611687565b9250602084013561148581611687565b929592945050506040919091013590565b60008060408385031215611405578182fd5b6000602082840312156114b9578081fd5b5035919050565b6000602080835283518082850152825b818110156114ec578581018301518582016040015282016114d0565b818111156114fd5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b038490038513161561156a5761156a611671565b600160ff1b839003841281161561158357611583611671565b50500190565b6000821982111561159c5761159c611671565b500190565b6000826115bc57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156115db576115db611671565b500290565b60008083128015600160ff1b8501841216156115fe576115fe611671565b6001600160ff1b038401831381161561161957611619611671565b50500390565b60008282101561163157611631611671565b500390565b600181811c9082168061164a57607f821691505b6020821081141561166b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b038116811461097c57600080fdfea264697066735822122005b28afe3a7881a387d0c59b37c9686a1278d2d3e2ebe3a18c1d24a8cd92955d64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000c66e9e56cfe33471f0826b2531b5ba490de4732a0000000000000000000000000000000000000000000000000000000000000012494d542052657761726420547261636b65720000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000472494d5400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): IMT Reward Tracker
Arg [1] : _symbol (string): rIMT
Arg [2] : _iimt (address): 0xC66e9E56cFe33471F0826B2531b5BA490de4732A

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000c66e9e56cfe33471f0826b2531b5ba490de4732a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [4] : 494d542052657761726420547261636b65720000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [6] : 72494d5400000000000000000000000000000000000000000000000000000000


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  ]
[ 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.