Contract 0x34EA3F7162E6f6Ed16bD171267eC180fD5c848da 3

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xa6e9c976cbd33ec2b1444b48b75845c4582a00fd9153d58382ca93d2afd5d6c0Approve121532252021-10-28 3:36:564 hrs 51 mins ago0xc04a3e895da848adc5f7cec3aac4d423143be7b7 IN  DiamondHand: DND Token0 BNB0.00022293
0x0b71fcc98b26ec3c70b07f928993ad5db13c3ab92ee4021beff5f0213cab1344Approve121323252021-10-27 9:52:5022 hrs 35 mins ago0xd06d14ea782bc0439eecad6a09650aedb9a1953c IN  DiamondHand: DND Token0 BNB0.000267516
0x53d64af1a3dcac4ee5ea3122f793ad0e85bd54ce62465e97fe233c0515c8eeb4Approve121272692021-10-27 5:35:111 day 2 hrs ago0xb57baeb59c636ca70f23214d4d95a62f936336ca IN  DiamondHand: DND Token0 BNB0.00022293
0xd7ec200721f578b5f01050cbe66bf25de384d1343c29d0aa4162a03b24ff857aApprove121238342021-10-27 2:42:271 day 5 hrs ago0x5939091d3df6c66ed0cdc07aa8e61acb21021855 IN  DiamondHand: DND Token0 BNB0.00022293
0x79ad4b2cbb1a29ae47f1288226fd187d04e2eedbce756476690555fa0cbd0e2fApprove121236112021-10-27 2:31:181 day 5 hrs ago0x709d1600b062ff9da32be59664c6cdf53135711e IN  DiamondHand: DND Token0 BNB0.00022293
0xbab8ae4eaee2a630b0e31d9498d6a265eb70f87fa9a05931cbd0bfdfc6a72877Approve121174932021-10-26 21:24:181 day 11 hrs ago0xcab2cdebb607968b55ddc927e28299f05fdadf71 IN  DiamondHand: DND Token0 BNB0.00022293
0x53c425199f16312de1cfbf6bb213faf729c87567f8b31a0ae9779496af446745Approve121147512021-10-26 19:03:551 day 13 hrs ago0x260da0b8b7fd5c7a8f662d66515ade734ffe639f IN  DiamondHand: DND Token0 BNB0.00022293
0x8c7920cf0b9607b2e23de4083bd9a8d93c1e9d9e200b6356a9d170b65648240bApprove121143332021-10-26 18:43:011 day 13 hrs ago0xf98d485bbff77b64a4835a1aac46a8a632a28c40 IN  DiamondHand: DND Token0 BNB0.00022293
0x135d25d06794576cb23b4d22e9aeb395bf81833e77b722b35c9e0295f60895feApprove121142192021-10-26 18:37:181 day 13 hrs ago0xf46ccc4597086c7592a95ae5b08b46ba5994693f IN  DiamondHand: DND Token0 BNB0.00022293
0x168c02c479d16a5c1f04463b5a0774e4198eed2ec4ed33575e7651a560e6d56fApprove121134122021-10-26 17:56:531 day 14 hrs ago0x8305f11732e0223b8f455338fa84675c83942920 IN  DiamondHand: DND Token0 BNB0.00022293
0xa760a7dbbab251a3339eacbd2a5d85ffe47ab47f04905974b7b14d05a24216f2Approve121111942021-10-26 16:03:451 day 16 hrs ago0x5c73152e1af7975f6b2b52c758ccb6a25c99cee5 IN  DiamondHand: DND Token0 BNB0.000073005
0x63072a980a57d3556fbdde2f0c40c3567d1ca945c69d562a7e0bf5923cf12f2cApprove121053882021-10-26 11:10:181 day 21 hrs ago0x6d8a144efca3e16c8e2adbcdac7ccf34164b0796 IN  DiamondHand: DND Token0 BNB0.000073005
0xcb49e43ebe0e1a3794bff19f8d2b54c76dc936938ab965f26b56d7dd2a0183a3Approve121053792021-10-26 11:09:511 day 21 hrs ago0x6d8a144efca3e16c8e2adbcdac7ccf34164b0796 IN  DiamondHand: DND Token0 BNB0.000073005
0xc3ba4980048930eafe90d6a25caf2a9e611f104f188786726f262a6f5b4d9354Approve121053562021-10-26 11:08:421 day 21 hrs ago0x6d8a144efca3e16c8e2adbcdac7ccf34164b0796 IN  DiamondHand: DND Token0 BNB0.000073005
0x2aee62c220d746b394c1fbdb1435a9f07a633e48b64e6f0f431ed549b222c476Approve121053492021-10-26 11:08:211 day 21 hrs ago0x6d8a144efca3e16c8e2adbcdac7ccf34164b0796 IN  DiamondHand: DND Token0 BNB0.000073005
0xc5a3a02d492fba960c687d15594029b4922952f627050bbfddbafe426362df3aApprove121053472021-10-26 11:08:151 day 21 hrs ago0x6d8a144efca3e16c8e2adbcdac7ccf34164b0796 IN  DiamondHand: DND Token0 BNB0.000073005
0x1cb2f68a04730447f0651b8d03e1ad851cef64ea30502581c93a0826c7e87500Approve121053452021-10-26 11:08:091 day 21 hrs ago0x6d8a144efca3e16c8e2adbcdac7ccf34164b0796 IN  DiamondHand: DND Token0 BNB0.000073005
0xe6f062272b5b6f37a091472b88d90ae70569dfd93dec9fbd0c2f21927de4bfd9Approve120968732021-10-26 4:03:062 days 4 hrs ago0xcda2ee6549a9268f6e585d19e891489f2c8d2aa8 IN  DiamondHand: DND Token0 BNB0.000267516
0x7215eee55329ae4aee68bcfcf8f3c52369070093bf5bf7e7a83e2ad20c8a0c80Approve120877752021-10-25 20:27:052 days 12 hrs ago0x1827f3c87e49fb70967c55ca53b43ba0607c72e0 IN  DiamondHand: DND Token0 BNB0.00022293
0xd5e61dafccffd9bf7214a48370b645ed31e306ec6c716ecc555715c170a690c8Approve120865742021-10-25 19:27:002 days 13 hrs ago0x1d3129cff111c450b32b0aa3a3a35ee6a804f664 IN  DiamondHand: DND Token0 BNB0.00022293
0xe6c31d22e2cc175ea9f8167693276d3ce4980191677e51bd3bd7ccbb48ae27e7Transfer120852002021-10-25 18:18:182 days 14 hrs ago0x03a80cc96e97dd322af1542a10261792f89ccfb3 IN  DiamondHand: DND Token0 BNB0.000181575
0x4589f9eeca864e5900b4e8af631d47b1815af6f4a6960e42680d068e632022cfApprove120823412021-10-25 15:55:172 days 16 hrs ago0xaea5ec748fbc22eb8ab482b755b2f0e6693f16ce IN  DiamondHand: DND Token0 BNB0.00022293
0x11970f564041bbd15cf41c05f22023c4a0dccc236cdb1ceca6f0d8a4c7c00c6aApprove120822082021-10-25 15:48:382 days 16 hrs ago0x364cbd1889b1fcf2116fcf8021d2e8900496d3da IN  DiamondHand: DND Token0 BNB0.00022293
0x856fdcd3b448c286ee5022ec34441286db64f5aea380f4d2be18df8835f582beApprove120813042021-10-25 15:03:162 days 17 hrs ago0x5b2543ebf6f03892f7d40d52790d5a637c4e3cc7 IN  DiamondHand: DND Token0 BNB0.000267516
0xe08f809f80c1b60582b3ab33514b4d1e1550a7b81096d7de2b7507af8b34d390Approve120748002021-10-25 9:32:402 days 22 hrs ago0x364cbd1889b1fcf2116fcf8021d2e8900496d3da IN  DiamondHand: DND Token0 BNB0.00022293
[ Download CSV Export 

OVERVIEW

A partial collateralized synthetic assets protocol.

Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Diamond

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity Standard Json-Input format)

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

pragma solidity >=0.6.0 <0.8.0;

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

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        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) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        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) {
        require(b > 0, "SafeMath: modulo by zero");
        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) {
        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.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * 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) {
        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) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 4 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 5 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;

import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

import "./ERC20/ERC20Custom.sol";
import "./interfaces/ITreasury.sol";
import "./interfaces/IDiamond.sol";
import "./Operator.sol";

contract Diamond is ERC20Custom, Operator, IDiamond {
    using SafeMath for uint256;

    /* ========== STATE VARIABLES ========== */

    // ERC20 - Token
    string public symbol;
    string public name;
    uint8 public constant decimals = 18;

    // CONTRACTS
    address public treasury;

    // FLAGS
    bool public initialized;

    // DISTRIBUTION
    uint256 public constant COMMUNITY_ALLOCATION = 7000 ether; // 7K
    uint256 public constant TREASURY_ALLOCATION = 2000 ether; // 2K
    uint256 public constant IRON_ALLOCATION = 1000 ether; // 2K

    uint256 public constant VESTING_DURATION = 730 days; // 24 months

    uint256 public startTime; // Start time of vesting duration
    uint256 public endTime; // End of vesting duration

    address public treasuryFund;
    uint256 public treasuryFundLastClaimed;
    uint256 public constant treasuryFundEmissionRate = TREASURY_ALLOCATION / VESTING_DURATION;

    address public ironFund;
    uint256 public ironFundLastClaimed;
    uint256 public constant ironFundEmissionRate = IRON_ALLOCATION / VESTING_DURATION;

    address public communityFundController; // Holding SHARE tokens to distribute into Liquiditiy Mining Pools
    uint256 public communityFundClaimed;

    /* ========== MODIFIERS ========== */

    modifier onlyPools() {
        require(ITreasury(treasury).isPool(msg.sender), "!pools");
        _;
    }

    modifier checkInitialized() {
        require(initialized, "not initialized");
        _;
    }

    /* ========== CONSTRUCTOR ========== */

    constructor(
        string memory _name,
        string memory _symbol,
        address _treasury
    ) {
        name = _name;
        symbol = _symbol;
        treasury = _treasury;
    }

    function initialize(
        address _treasuryFund,
        address _ironFund,
        address _communityFundController,
        uint256 _startTime
    ) external onlyOperator {
        require(!initialized, "alreadyInitialized");
        require(_treasuryFund != address(0), "invalid_address");
        require(_ironFund != address(0), "invalid_address");
        require(_communityFundController != address(0), "invalid_address");

        initialized = true;
        communityFundController = _communityFundController;
        startTime = _startTime;
        endTime = _startTime + VESTING_DURATION;

        treasuryFund = _treasuryFund;
        treasuryFundLastClaimed = _startTime;

        ironFund = _ironFund;
        ironFundLastClaimed = _startTime;
    }

    /* ========== VIEWS FUNCTIONS =============== */

    function unclaimedTreasuryFund() public view returns (uint256 _pending) {
        uint256 _now = block.timestamp;
        if (_now > endTime) _now = endTime;
        if (treasuryFundLastClaimed >= _now) return 0;
        _pending = _now.sub(treasuryFundLastClaimed).mul(treasuryFundEmissionRate);
    }

    function unclaimedIronFund() public view returns (uint256 _pending) {
        uint256 _now = block.timestamp;
        if (_now > endTime) _now = endTime;
        if (ironFundLastClaimed >= _now) return 0;
        _pending = _now.sub(ironFundLastClaimed).mul(ironFundEmissionRate);
    }

    /* ========== RESTRICTED FUNCTIONS ========== */

    function setTreasury(address _treasury) external onlyOperator {
        treasury = _treasury;
        emit TreasuryChanged(treasury);
    }

    function setTreasuryFund(address _treasuryFund) external {
        require(msg.sender == treasuryFund, "!treasuryFund");
        require(_treasuryFund != address(0), "zero");
        treasuryFund = _treasuryFund;
        emit TreasuryFundChanged(treasuryFund);
    }

    function setIronFund(address _ironFund) external {
        require(msg.sender == ironFund, "!ironFund");
        require(_ironFund != address(0), "zero");
        ironFund = _ironFund;
        emit IronFundChanged(ironFund);
    }

    function setCommunityFundController(address _communityFundController) external {
        require(msg.sender == communityFundController, "!communityFundController");
        require(_communityFundController != address(0), "zero");
        communityFundController = _communityFundController;
        emit CommunityFundControllerChanged(communityFundController);
    }

    function claimCommunityFund(uint256 amount) external onlyOperator checkInitialized {
        require(amount > 0, "invalidAmount");
        require(initialized, "!initialized");
        require(communityFundController != address(0), "!communityFundController");
        uint256 _remainingFund = COMMUNITY_ALLOCATION.sub(communityFundClaimed);
        require(amount <= _remainingFund, "exceeded_community_fund");
        communityFundClaimed = communityFundClaimed.add(amount);
        _mint(communityFundController, amount);
    }

    function claimTreasuryFund() external checkInitialized {
        require(msg.sender == treasuryFund, "!treasuryFund");
        uint256 _pending = unclaimedTreasuryFund();
        if (_pending > 0 && treasuryFund != address(0)) {
            _mint(treasuryFund, _pending);
            treasuryFundLastClaimed = block.timestamp;
        }
    }

    function claimIronFund() external checkInitialized {
        require(msg.sender == ironFund, "!ironFund");
        uint256 _pending = unclaimedIronFund();
        if (_pending > 0 && ironFund != address(0)) {
            _mint(ironFund, _pending);
            ironFundLastClaimed = block.timestamp;
        }
    }

    /* ========== POOL FUNCTIONS ================== */

    // This function is what other Pools will call to mint new SHARE
    function poolMint(address m_address, uint256 m_amount) external override onlyPools {
        super._mint(m_address, m_amount);
        emit DiamondMinted(address(this), m_address, m_amount);
    }

    // This function is what other pools will call to burn SHARE
    function poolBurnFrom(address b_address, uint256 b_amount) external override onlyPools {
        super._burnFrom(b_address, b_amount);
        emit DiamondBurned(b_address, address(this), b_amount);
    }

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

    event DiamondMinted(address indexed from, address indexed to, uint256 amount);
    event DiamondBurned(address indexed from, address indexed to, uint256 amount);
    event TreasuryChanged(address indexed newTreasury);
    event TreasuryFundChanged(address indexed newTreasuryFund);
    event IronFundChanged(address indexed newIronFund);
    event CommunityFundControllerChanged(address indexed newCommunityFundController);
}

File 8 of 11 : ERC20Custom.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/utils/Address.sol";

// Due to compiling issues, _name, _symbol, and _decimals were removed

/**
 * @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 {ERC20Mintable}.
 *
 * 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 guidelines: functions revert instead
 * of 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-kblock.timestampn issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20Custom is Context, IERC20 {
    using SafeMath for uint256;

    mapping(address => uint256) internal _balances;

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

    uint256 private _totalSupply;

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view 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.approve(address spender, uint256 amount)
     */
    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);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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].add(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) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is 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);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(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
     *
     * - `to` 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 = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for `accounts`'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(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);

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is 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 Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal virtual {
        _burn(account, amount);
        _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance"));
    }

    /**
     * @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 to 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:using-hooks.adoc[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

File 9 of 11 : Operator.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;

import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract Operator is Context, Ownable {
    address private _operator;

    event OperatorTransferred(address indexed previousOperator, address indexed newOperator);

    constructor() {
        _operator = _msgSender();
        emit OperatorTransferred(address(0), _operator);
    }

    function operator() public view returns (address) {
        return _operator;
    }

    modifier onlyOperator() {
        require(_operator == msg.sender, "operator: caller is not the operator");
        _;
    }

    function isOperator() public view returns (bool) {
        return _msgSender() == _operator;
    }

    function transferOperator(address newOperator_) public onlyOwner {
        _transferOperator(newOperator_);
    }

    function _transferOperator(address newOperator_) internal {
        require(newOperator_ != address(0), "operator: zero address given for new operator");
        emit OperatorTransferred(address(0), newOperator_);
        _operator = newOperator_;
    }
}

File 10 of 11 : IDiamond.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;

interface IDiamond {
    function poolBurnFrom(address _address, uint256 _amount) external;

    function poolMint(address _address, uint256 m_amount) external;
}

File 11 of 11 : ITreasury.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.7.6;
pragma experimental ABIEncoderV2;

interface ITreasury {
    function collateralReserve() external view returns (address);

    function isPool(address _address) external view returns (bool);

    function isMintingPool(address _poolAddress, address _dToken) external view returns (bool);

    function epoch() external view returns (uint256);

    function nextEpochTimestamp() external view returns (uint256);

    function epochInfo()
        external
        view
        returns (
            uint256 _epoch,
            uint256 lastEpochTimestamp,
            uint256 epochDuration
        );

    function utilizationRatio(address foundry) external view returns (uint256);

    function requestTransfer(
        address token,
        address receiver,
        uint256 amount
    ) external;

    event PoolAdded(address pool);
    event PoolRemoved(address pool);
    event EpochDurationChanged(uint256 epochDuration);
    event FoundryAdded(address foundry, address pool);
    event FoundryRemoved(address foundry, address pool);
    event UtilizationRatioChanged(address pool, uint256 ratio);
    event CollateralReserveChanged(address collateralReserve);
}

Settings
{
  "evmVersion": "istanbul",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"address","name":"_treasury","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":"newCommunityFundController","type":"address"}],"name":"CommunityFundControllerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DiamondBurned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DiamondMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newIronFund","type":"address"}],"name":"IronFundChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOperator","type":"address"},{"indexed":true,"internalType":"address","name":"newOperator","type":"address"}],"name":"OperatorTransferred","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasury","type":"address"}],"name":"TreasuryChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newTreasuryFund","type":"address"}],"name":"TreasuryFundChanged","type":"event"},{"inputs":[],"name":"COMMUNITY_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"IRON_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_ALLOCATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VESTING_DURATION","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimCommunityFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimIronFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTreasuryFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityFundClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityFundController","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"endTime","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":[{"internalType":"address","name":"_treasuryFund","type":"address"},{"internalType":"address","name":"_ironFund","type":"address"},{"internalType":"address","name":"_communityFundController","type":"address"},{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ironFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ironFundEmissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ironFundLastClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"b_address","type":"address"},{"internalType":"uint256","name":"b_amount","type":"uint256"}],"name":"poolBurnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"m_address","type":"address"},{"internalType":"uint256","name":"m_amount","type":"uint256"}],"name":"poolMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_communityFundController","type":"address"}],"name":"setCommunityFundController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_ironFund","type":"address"}],"name":"setIronFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryFund","type":"address"}],"name":"setTreasuryFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOperator_","type":"address"}],"name":"transferOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFund","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFundEmissionRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryFundLastClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedIronFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unclaimedTreasuryFund","outputs":[{"internalType":"uint256","name":"_pending","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040516200241f3803806200241f833981016040819052620000349162000284565b60006200004062000139565b600380546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506200009862000139565b600480546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a38251620000f99060069060208601906200013d565b5081516200010f9060059060208501906200013d565b50600780546001600160a01b0319166001600160a01b0392909216919091179055506200030d9050565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620001755760008555620001c0565b82601f106200019057805160ff1916838001178555620001c0565b82800160010185558215620001c0579182015b82811115620001c0578251825591602001919060010190620001a3565b50620001ce929150620001d2565b5090565b5b80821115620001ce5760008155600101620001d3565b600082601f830112620001fa578081fd5b81516001600160401b03808211156200020f57fe5b6040516020601f8401601f19168201810183811183821017156200022f57fe5b604052838252858401810187101562000246578485fd5b8492505b838310156200026957858301810151828401820152918201916200024a565b838311156200027a57848185840101525b5095945050505050565b60008060006060848603121562000299578283fd5b83516001600160401b0380821115620002b0578485fd5b620002be87838801620001e9565b94506020860151915080821115620002d4578384fd5b50620002e386828701620001e9565b604086015190935090506001600160a01b038116811462000302578182fd5b809150509250925092565b612102806200031d6000396000f3fe608060405234801561001057600080fd5b50600436106102955760003560e01c806358450df311610167578063a9059cbb116100ce578063e8efb3d511610087578063e8efb3d5146104de578063e9416710146104e6578063ec99ddf3146104ee578063f0f44260146104f6578063f2fde38b14610509578063f746b7181461051c57610295565b8063a9059cbb1461048d578063bf1ad7e0146104a0578063cf756fdf146104a8578063dd62ed3e146104bb578063e0c4f12d146104ce578063e18750c6146104d657610295565b806379cc67901161012057806379cc67901461043c5780638da5cb5b1461044f57806395d89b4114610457578063979af28b1461045f578063993eb1c514610472578063a457c2d71461047a57610295565b806358450df31461040157806361d027b314610409578063642242a31461041157806370a0823114610419578063715018a61461042c57806378e979251461043457610295565b806329605e771161020b57806342966c68116101c457806342966c68146103bb57806342dcbfa9146103ce5780634456eda2146103d65780634cfc4d30146103de57806351c2209a146103e6578063570ca735146103f957610295565b806329605e7714610368578063313ce5671461037b5780633197cbb61461039057806332bb1f4f1461039857806339509351146103a0578063414ec882146103b357610295565b8063158ef93e1161025d578063158ef93e14610315578063177647821461031d57806318160ddd14610325578063217b84201461032d57806322fd7d2b1461034057806323b872dd1461035557610295565b806305e1b1101461029a57806306fdde03146102b8578063095ea7b3146102cd5780630a0c165a146102ed5780630c407d5614610302575b600080fd5b6102a261052f565b6040516102af9190611eb5565b60405180910390f35b6102c0610535565b6040516102af9190611ca1565b6102e06102db366004611c21565b6105c3565b6040516102af9190611c96565b6103006102fb366004611c21565b6105e1565b005b610300610310366004611c21565b6106df565b6102e06107c8565b6102a26107d8565b6102a2610826565b61030061033b366004611b50565b61082c565b6103486108cc565b6040516102af9190611c82565b6102e0610363366004611be6565b6108db565b610300610376366004611b50565b610962565b6103836109e2565b6040516102af9190611ebe565b6102a26109e7565b6102a26109ed565b6102e06103ae366004611c21565b6109f3565b6102a2610a41565b6103006103c9366004611c6a565b610a82565b610300610a93565b6102e0610b2e565b6102a2610b54565b6103006103f4366004611c6a565b610b5c565b610348610cac565b6102a2610cbb565b610348610ccf565b6102a2610cde565b6102a2610427366004611b50565b610ceb565b610300610d0a565b6102a2610dc8565b61030061044a366004611c21565b610dce565b610348610e23565b6102c0610e32565b61030061046d366004611b50565b610e8d565b6102a2610f2d565b6102e0610488366004611c21565b610f3b565b6102e061049b366004611c21565b610fa3565b6102a2610fb7565b6103006104b6366004611b9c565b610fc4565b6102a26104c9366004611b6a565b611117565b610348611142565b610300611151565b6102a26111ec565b610348611200565b6102a261120f565b610300610504366004611b50565b611215565b610300610517366004611b50565b6112ae565b61030061052a366004611b50565b6113c3565b600b5481565b6006805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105bb5780601f10610590576101008083540402835291602001916105bb565b820191906000526020600020905b81548152906001019060200180831161059e57829003601f168201915b505050505081565b60006105d76105d0611463565b8484611467565b5060015b92915050565b600754604051635b16ebb760e01b81526001600160a01b0390911690635b16ebb790610611903390600401611c82565b60206040518083038186803b15801561062957600080fd5b505afa15801561063d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106619190611c4a565b6106865760405162461bcd60e51b815260040161067d90611e95565b60405180910390fd5b6106908282611553565b306001600160a01b0316826001600160a01b03167f9670cacf96c33f7ccaa11f3c125cf4f5641db3df9b911d2f50ff425aac28a9c1836040516106d39190611eb5565b60405180910390a35050565b600754604051635b16ebb760e01b81526001600160a01b0390911690635b16ebb79061070f903390600401611c82565b60206040518083038186803b15801561072757600080fd5b505afa15801561073b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075f9190611c4a565b61077b5760405162461bcd60e51b815260040161067d90611e95565b61078582826115a7565b816001600160a01b0316306001600160a01b03167fe935d6c66d10714426c99d6c1c815f02e8c28bc4d7656f2573e7f06f868f5e7f836040516106d39190611eb5565b600754600160a01b900460ff1681565b60095460009042908111156107ec57506009545b80600b54106107ff576000915050610823565b600b5461081f90651cd702e3189490610819908490611697565b906116f4565b9150505b90565b60025490565b600e546001600160a01b031633146108565760405162461bcd60e51b815260040161067d90611e37565b6001600160a01b03811661087c5760405162461bcd60e51b815260040161067d90611d43565b600e80546001600160a01b0319166001600160a01b0383811691909117918290556040519116907f79fd4ba45cd6424a59a346c14fd123bb942852dd9afd7a0d591043a4ab3a253d90600090a250565b600c546001600160a01b031681565b60006108e8848484611754565b610958846108f4611463565b61095385604051806060016040528060288152602001611fce602891396001600160a01b038a16600090815260016020526040812090610932611463565b6001600160a01b0316815260208101919091526040016000205491906118af565b611467565b5060019392505050565b61096a611463565b6001600160a01b031661097b610e23565b6001600160a01b0316146109d6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6109df81611946565b50565b601281565b60095481565b600d5481565b60006105d7610a00611463565b846109538560016000610a11611463565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906119e3565b6009546000904290811115610a5557506009545b80600d5410610a68576000915050610823565b600d5461081f90650e6b81718c4a90610819908490611697565b6109df610a8d611463565b82611a3d565b600754600160a01b900460ff16610abc5760405162461bcd60e51b815260040161067d90611d1a565b600c546001600160a01b03163314610ae65760405162461bcd60e51b815260040161067d90611d61565b6000610af0610a41565b9050600081118015610b0c5750600c546001600160a01b031615155b156109df57600c54610b27906001600160a01b0316826115a7565b42600d5550565b6004546000906001600160a01b0316610b45611463565b6001600160a01b031614905090565b6303c2670081565b6004546001600160a01b03163314610ba55760405162461bcd60e51b815260040180806020018281038252602481526020018061201a6024913960400191505060405180910390fd5b600754600160a01b900460ff16610bce5760405162461bcd60e51b815260040161067d90611d1a565b60008111610bee5760405162461bcd60e51b815260040161067d90611e6e565b600754600160a01b900460ff16610c175760405162461bcd60e51b815260040161067d90611cf4565b600e546001600160a01b0316610c3f5760405162461bcd60e51b815260040161067d90611e37565b6000610c60600f5469017b7883c0691660000061169790919063ffffffff16565b905080821115610c825760405162461bcd60e51b815260040161067d90611e00565b600f54610c8f90836119e3565b600f55600e54610ca8906001600160a01b0316836115a7565b5050565b6004546001600160a01b031690565b6303c26700683635c9adc5dea000005b0481565b6007546001600160a01b031681565b683635c9adc5dea0000081565b6001600160a01b0381166000908152602081905260409020545b919050565b610d12611463565b6001600160a01b0316610d23610e23565b6001600160a01b031614610d7e576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60085481565b6000610e0082604051806060016040528060248152602001611ff660249139610df9866104c9611463565b91906118af565b9050610e1483610e0e611463565b83611467565b610e1e8383611a3d565b505050565b6003546001600160a01b031690565b6005805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156105bb5780601f10610590576101008083540402835291602001916105bb565b600c546001600160a01b03163314610eb75760405162461bcd60e51b815260040161067d90611d61565b6001600160a01b038116610edd5760405162461bcd60e51b815260040161067d90611d43565b600c80546001600160a01b0319166001600160a01b0383811691909117918290556040519116907fffac8812d8537212690a389fc31aa70bf0a0b1eca29783b0554bd8e10f47ab3a90600090a250565b69017b7883c0691660000081565b60006105d7610f48611463565b84610953856040518060600160405280602581526020016120a86025913960016000610f72611463565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906118af565b60006105d7610fb0611463565b8484611754565b686c6b935b8bbd40000081565b6004546001600160a01b0316331461100d5760405162461bcd60e51b815260040180806020018281038252602481526020018061201a6024913960400191505060405180910390fd5b600754600160a01b900460ff16156110375760405162461bcd60e51b815260040161067d90611dd4565b6001600160a01b03841661105d5760405162461bcd60e51b815260040161067d90611dab565b6001600160a01b0383166110835760405162461bcd60e51b815260040161067d90611dab565b6001600160a01b0382166110a95760405162461bcd60e51b815260040161067d90611dab565b6007805460ff60a01b1916600160a01b179055600e80546001600160a01b039384166001600160a01b03199182161790915560088290556303c267008201600955600a805495841695821695909517909455600b819055600c80549390921692909316919091179055600d55565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600a546001600160a01b031681565b600754600160a01b900460ff1661117a5760405162461bcd60e51b815260040161067d90611d1a565b600a546001600160a01b031633146111a45760405162461bcd60e51b815260040161067d90611d84565b60006111ae6107d8565b90506000811180156111ca5750600a546001600160a01b031615155b156109df57600a546111e5906001600160a01b0316826115a7565b42600b5550565b6303c26700686c6b935b8bbd400000610ccb565b600e546001600160a01b031681565b600f5481565b6004546001600160a01b0316331461125e5760405162461bcd60e51b815260040180806020018281038252602481526020018061201a6024913960400191505060405180910390fd5b600780546001600160a01b0319166001600160a01b0383811691909117918290556040519116907fc714d22a2f08b695f81e7c707058db484aa5b4d6b4c9fd64beb10fe85832f60890600090a250565b6112b6611463565b6001600160a01b03166112c7610e23565b6001600160a01b031614611322576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166113675760405162461bcd60e51b8152600401808060200182810382526026815260200180611f126026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600a546001600160a01b031633146113ed5760405162461bcd60e51b815260040161067d90611d84565b6001600160a01b0381166114135760405162461bcd60e51b815260040161067d90611d43565b600a80546001600160a01b0319166001600160a01b0383811691909117918290556040519116907fa0df22276c8704473da104cfcc4fe3e735605175d2bf5a8294673b0f343ead0a90600090a250565b3390565b6001600160a01b0383166114ac5760405162461bcd60e51b81526004018080602001828103825260248152602001806120846024913960400191505060405180910390fd5b6001600160a01b0382166114f15760405162461bcd60e51b8152600401808060200182810382526022815260200180611f386022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b61155d8282611a3d565b610ca882611569611463565b61095384604051806060016040528060248152602001611ff6602491396001600160a01b038816600090815260016020526040812090610932611463565b6001600160a01b038216611602576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61160e60008383610e1e565b60025461161b90826119e3565b6002556001600160a01b03821660009081526020819052604090205461164190826119e3565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828211156116ee576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082611703575060006105db565b8282028284828161171057fe5b041461174d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611fad6021913960400191505060405180910390fd5b9392505050565b6001600160a01b0383166117995760405162461bcd60e51b815260040180806020018281038252602581526020018061205f6025913960400191505060405180910390fd5b6001600160a01b0382166117de5760405162461bcd60e51b8152600401808060200182810382526023815260200180611ecd6023913960400191505060405180910390fd5b6117e9838383610e1e565b61182681604051806060016040528060268152602001611f5a602691396001600160a01b03861660009081526020819052604090205491906118af565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461185590826119e3565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561193e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156119035781810151838201526020016118eb565b50505050905090810190601f1680156119305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b03811661198b5760405162461bcd60e51b815260040180806020018281038252602d815260200180611f80602d913960400191505060405180910390fd5b6040516001600160a01b038216906000907f74da04524d50c64947f5dd5381ef1a4dca5cba8ed1d816243f9e48aa0b5617ed908290a3600480546001600160a01b0319166001600160a01b0392909216919091179055565b60008282018381101561174d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216611a825760405162461bcd60e51b815260040180806020018281038252602181526020018061203e6021913960400191505060405180910390fd5b611a8e82600083610e1e565b611acb81604051806060016040528060228152602001611ef0602291396001600160a01b03851660009081526020819052604090205491906118af565b6001600160a01b038316600090815260208190526040902055600254611af19082611697565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b80356001600160a01b0381168114610d0557600080fd5b600060208284031215611b61578081fd5b61174d82611b39565b60008060408385031215611b7c578081fd5b611b8583611b39565b9150611b9360208401611b39565b90509250929050565b60008060008060808587031215611bb1578182fd5b611bba85611b39565b9350611bc860208601611b39565b9250611bd660408601611b39565b9396929550929360600135925050565b600080600060608486031215611bfa578283fd5b611c0384611b39565b9250611c1160208501611b39565b9150604084013590509250925092565b60008060408385031215611c33578182fd5b611c3c83611b39565b946020939093013593505050565b600060208284031215611c5b578081fd5b8151801515811461174d578182fd5b600060208284031215611c7b578081fd5b5035919050565b6001600160a01b0391909116815260200190565b901515815260200190565b6000602080835283518082850152825b81811015611ccd57858101830151858201604001528201611cb1565b81811115611cde5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252600c908201526b085a5b9a5d1a585b1a5e995960a21b604082015260600190565b6020808252600f908201526e1b9bdd081a5b9a5d1a585b1a5e9959608a1b604082015260600190565b6020808252600490820152637a65726f60e01b604082015260600190565b602080825260099082015268085a5c9bdb919d5b9960ba1b604082015260600190565b6020808252600d908201526c085d1c99585cdd5c9e519d5b99609a1b604082015260600190565b6020808252600f908201526e696e76616c69645f6164647265737360881b604082015260600190565b602080825260129082015271185b1c9958591e525b9a5d1a585b1a5e995960721b604082015260600190565b60208082526017908201527f65786365656465645f636f6d6d756e6974795f66756e64000000000000000000604082015260600190565b60208082526018908201527f21636f6d6d756e69747946756e64436f6e74726f6c6c65720000000000000000604082015260600190565b6020808252600d908201526c1a5b9d985b1a59105b5bdd5b9d609a1b604082015260600190565b60208082526006908201526521706f6f6c7360d01b604082015260600190565b90815260200190565b60ff9190911681526020019056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63656f70657261746f723a207a65726f206164647265737320676976656e20666f72206e6577206f70657261746f72536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e63656f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657261746f7245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220a9e5213e9db79004bf7cfc0422a9157bdf8e55ec8defcb5264cf98b77c6ef95064736f6c63430007060033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e68e33eed533e59d00b5c400ea1d0969f47f8d9000000000000000000000000000000000000000000000000000000000000000074449414d4f4e44000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003444e440000000000000000000000000000000000000000000000000000000000

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000e68e33eed533e59d00b5c400ea1d0969f47f8d9000000000000000000000000000000000000000000000000000000000000000074449414d4f4e44000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003444e440000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): DIAMOND
Arg [1] : _symbol (string): DND
Arg [2] : _treasury (address): 0xe68e33eed533e59d00b5c400ea1d0969f47f8d90

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000e68e33eed533e59d00b5c400ea1d0969f47f8d90
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [4] : 4449414d4f4e4400000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 444e440000000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.