ETH Price: $3,219.58 (+5.43%)

Contract

0x2d177A16cED90B7A90043F0806663b7E41D596ff
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Trans By Contrac...169449332023-03-31 4:53:35655 days ago1680238415IN
0x2d177A16...E41D596ff
0 ETH0.0012030725
Trans By Contrac...169449182023-03-31 4:50:35655 days ago1680238235IN
0x2d177A16...E41D596ff
0 ETH0.0019068127.25
Trans By Contrac...167447932023-03-03 1:43:47683 days ago1677807827IN
0x2d177A16...E41D596ff
0 ETH0.0064889396.16801308
Trans By Contrac...165053892023-01-28 12:43:23716 days ago1674909803IN
0x2d177A16...E41D596ff
0 ETH0.0025350914.75705343
Trans By Contrac...161775482022-12-13 18:25:11762 days ago1670955911IN
0x2d177A16...E41D596ff
0 ETH0.001058722
Trans By Contrac...161775352022-12-13 18:22:35762 days ago1670955755IN
0x2d177A16...E41D596ff
0 ETH0.0050830530
Trans By Contrac...159830822022-11-16 14:08:23789 days ago1668607703IN
0x2d177A16...E41D596ff
0 ETH0.0013696821
Trans By Contrac...159750992022-11-15 11:20:23791 days ago1668511223IN
0x2d177A16...E41D596ff
0 ETH0.0020640612.73476209
Trans By Contrac...157752352022-10-18 13:17:35818 days ago1666099055IN
0x2d177A16...E41D596ff
0 ETH0.0007216615
Trans By Contrac...157752122022-10-18 13:12:59818 days ago1666098779IN
0x2d177A16...E41D596ff
0 ETH0.0021763515
Trans By Contrac...157739472022-10-18 8:57:47819 days ago1666083467IN
0x2d177A16...E41D596ff
0 ETH0.0019105113.40206028
Trans By Contrac...157431562022-10-14 1:46:11823 days ago1665711971IN
0x2d177A16...E41D596ff
0 ETH0.00793485150
Trans By Contrac...157251812022-10-11 13:31:23825 days ago1665495083IN
0x2d177A16...E41D596ff
0 ETH0.01049805150
Trans By Contrac...156806062022-10-05 8:07:11832 days ago1664957231IN
0x2d177A16...E41D596ff
0 ETH0.00793485150
Trans By Contrac...156591052022-10-02 7:56:11835 days ago1664697371IN
0x2d177A16...E41D596ff
0 ETH0.00793305150
Trans By Contrac...156165962022-09-26 9:16:47841 days ago1664183807IN
0x2d177A16...E41D596ff
0 ETH0.000916626.54135386
Trans By Contrac...155932832022-09-23 3:13:11844 days ago1663902791IN
0x2d177A16...E41D596ff
0 ETH0.000370377
Trans By Contrac...155932762022-09-23 3:11:47844 days ago1663902707IN
0x2d177A16...E41D596ff
0 ETH0.000998557
Trans By Contrac...155627232022-09-18 20:10:23848 days ago1663531823IN
0x2d177A16...E41D596ff
0 ETH0.00793125150
Trans By Contrac...155271042022-09-13 13:12:01853 days ago1663074721IN
0x2d177A16...E41D596ff
0 ETH0.00793305150
Trans By Contrac...154055282022-08-24 22:24:02873 days ago1661379842IN
0x2d177A16...E41D596ff
0 ETH0.0016741515
Trans By Contrac...154055282022-08-24 22:24:02873 days ago1661379842IN
0x2d177A16...E41D596ff
0 ETH0.0006751110
Trans By Contrac...154034372022-08-24 14:27:45873 days ago1661351265IN
0x2d177A16...E41D596ff
0 ETH0.0019934814.47452012
Trans By Contrac...151965522022-07-23 3:35:57906 days ago1658547357IN
0x2d177A16...E41D596ff
0 ETH0.001535611.55825124
Trans By Contrac...151965432022-07-23 3:34:02906 days ago1658547242IN
0x2d177A16...E41D596ff
0 ETH0.0015789514.79529208
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenIssue

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-03-15
*/

// File: @openzeppelin/contracts/GSN/Context.sol



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: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 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: contracts/interfaces/IERC20Sumswap.sol

pragma solidity >=0.5.0;

interface IERC20Sumswap{
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
}

// File: @openzeppelin/contracts/math/SafeMath.sol



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, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

// File: contracts/interfaces/IAccessControl.sol

pragma solidity ^0.6.0;

interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
}

// File: contracts/TokenIssue.sol

pragma solidity ^0.6.0;





interface ISumma {
    function issue(address addr, uint256 amount) external;
}

contract TokenIssue is Ownable {

    using SafeMath for uint256;

    uint256 public constant INIT_MINE_SUPPLY = 32000000 * 10 ** 18;

    uint256 public issuedAmount = INIT_MINE_SUPPLY;

    uint256 public surplusAmount = 2.88 * 10 ** 8 * 10 ** 18;

    uint256 public TOTAL_AMOUNT = 3.2 * 10 ** 8 * 10 ** 18;

    uint256 public constant MONTH_SECONDS = 225 * 24 * 30;

    bytes32 public constant TRANS_ROLE = keccak256("TRANS_ROLE");

    // utc 2021-05-01
    //    uint256 public startIssueTime = 0;
    uint256 public startIssueTime = 0;

    address public summa;

    address public summaPri;

    uint256[] public issueInfo;

    constructor(address _summa,address _summaPri) public {
        summa = _summa;
        summaPri = _summaPri;
        initialize();
    }

    function initialize() private {
        issueInfo.push(1920000 * 10 ** 18);
        issueInfo.push(2035200 * 10 ** 18);
        issueInfo.push(2157312.0000000005 * 10 ** 18);
        issueInfo.push(2286750.72 * 10 ** 18);
        issueInfo.push(2423955.763200001 * 10 ** 18);
        issueInfo.push(2569393.108992 * 10 ** 18);
        issueInfo.push(2723556.6955315205 * 10 ** 18);
        issueInfo.push(2886970.0972634126 * 10 ** 18);
        issueInfo.push(3060188.303099217 * 10 ** 18);
        issueInfo.push(3243799.6012851703 * 10 ** 18);
        issueInfo.push(3438427.577362281 * 10 ** 18);
        issueInfo.push(3644733.232004018 * 10 ** 18);
        issueInfo.push(2575611.4839495043 * 10 ** 18);
        issueInfo.push(2678635.943307485 * 10 ** 18);
        issueInfo.push(2785781.3810397848 * 10 ** 18);
        issueInfo.push(2897212.636281376 * 10 ** 18);
        issueInfo.push(3013101.141732631 * 10 ** 18);
        issueInfo.push(3133625.187401936 * 10 ** 18);
        issueInfo.push(3258970.1948980135 * 10 ** 18);
        issueInfo.push(3389329.0026939344 * 10 ** 18);
        issueInfo.push(3524902.1628016927 * 10 ** 18);
        issueInfo.push(3665898.24931376 * 10 ** 18);
        issueInfo.push(3812534.17928631 * 10 ** 18);
        issueInfo.push(3965035.546457763 * 10 ** 18);
        issueInfo.push(2061818.484158036 * 10 ** 18);
        issueInfo.push(2103054.8538411967 * 10 ** 18);
        issueInfo.push(2145115.9509180207 * 10 ** 18);
        issueInfo.push(2188018.269936382 * 10 ** 18);
        issueInfo.push(2231778.6353351087 * 10 ** 18);
        issueInfo.push(2276414.208041811 * 10 ** 18);
        issueInfo.push(2321942.4922026475 * 10 ** 18);
        issueInfo.push(2368381.3420467 * 10 ** 18);
        issueInfo.push(2415748.9688876346 * 10 ** 18);
        issueInfo.push(2464063.948265387 * 10 ** 18);
        issueInfo.push(2513345.227230695 * 10 ** 18);
        issueInfo.push(2563612.131775309 * 10 ** 18);
        issueInfo.push(2614884.3744108155 * 10 ** 18);
        issueInfo.push(2667182.061899032 * 10 ** 18);
        issueInfo.push(2720525.703137012 * 10 ** 18);
        issueInfo.push(2774936.2171997526 * 10 ** 18);
        issueInfo.push(2830434.941543747 * 10 ** 18);
        issueInfo.push(2887043.6403746223 * 10 ** 18);
        issueInfo.push(2944784.513182115 * 10 ** 18);
        issueInfo.push(3003680.2034457573 * 10 ** 18);
        issueInfo.push(3063753.807514673 * 10 ** 18);
        issueInfo.push(3125028.883664966 * 10 ** 18);
        issueInfo.push(3187529.461338266 * 10 ** 18);
        issueInfo.push(3251280.0505650314 * 10 ** 18);
        issueInfo.push(1658152.825788165 * 10 ** 18);
        issueInfo.push(1674734.3540460467 * 10 ** 18);
        issueInfo.push(1691481.6975865073 * 10 ** 18);
        issueInfo.push(1708396.5145623726 * 10 ** 18);
        issueInfo.push(1725480.479707996 * 10 ** 18);
        issueInfo.push(1742735.2845050762 * 10 ** 18);
        issueInfo.push(1760162.6373501269 * 10 ** 18);
        issueInfo.push(1777764.263723628 * 10 ** 18);
        issueInfo.push(1795541.9063608644 * 10 ** 18);
        issueInfo.push(1813497.3254244728 * 10 ** 18);
        issueInfo.push(1831632.2986787176 * 10 ** 18);
        issueInfo.push(1849948.621665505 * 10 ** 18);
        issueInfo.push(1868448.10788216 * 10 ** 18);
        issueInfo.push(1887132.5889609817 * 10 ** 18);
        issueInfo.push(1906003.9148505912 * 10 ** 18);
        issueInfo.push(1925063.9539990975 * 10 ** 18);
        issueInfo.push(1944314.5935390887 * 10 ** 18);
        issueInfo.push(1963757.7394744793 * 10 ** 18);
        issueInfo.push(1983395.316869224 * 10 ** 18);
        issueInfo.push(2003229.2700379163 * 10 ** 18);
        issueInfo.push(2023261.5627382956 * 10 ** 18);
        issueInfo.push(2043494.1783656788 * 10 ** 18);
        issueInfo.push(2063929.1201493354 * 10 ** 18);
        issueInfo.push(2084568.4113508288 * 10 ** 18);
        issueInfo.push(2105414.0954643367 * 10 ** 18);
        issueInfo.push(2126468.23641898 * 10 ** 18);
        issueInfo.push(2147732.91878317 * 10 ** 18);
        issueInfo.push(2169210.247971002 * 10 ** 18);
        issueInfo.push(2190902.350450712 * 10 ** 18);
        issueInfo.push(2212811.373955219 * 10 ** 18);
        issueInfo.push(2234939.4876947715 * 10 ** 18);
        issueInfo.push(2257288.882571719 * 10 ** 18);
        issueInfo.push(2279861.7713974365 * 10 ** 18);
        issueInfo.push(2302660.389111411 * 10 ** 18);
        issueInfo.push(2325686.9930025246 * 10 ** 18);
        issueInfo.push(2348943.8629325503 * 10 ** 18);
        issueInfo.push(1897946.6412495002 * 10 ** 18);
        issueInfo.push(1913130.2143794964 * 10 ** 18);
        issueInfo.push(1928435.2560945326 * 10 ** 18);
        issueInfo.push(1943862.7381432885 * 10 ** 18);
        issueInfo.push(1959413.6400484347 * 10 ** 18);
        issueInfo.push(1975088.9491688225 * 10 ** 18);
        issueInfo.push(1990889.6607621727 * 10 ** 18);
        issueInfo.push(2006816.7780482706 * 10 ** 18);
        issueInfo.push(2022871.3122726567 * 10 ** 18);
        issueInfo.push(2039054.282770838 * 10 ** 18);
        issueInfo.push(2055366.7170330046 * 10 ** 18);
        issueInfo.push(2071809.6507692689 * 10 ** 18);
        issueInfo.push(2088384.1279754227 * 10 ** 18);
        issueInfo.push(2105091.200999226 * 10 ** 18);
        issueInfo.push(2121931.93060722 * 10 ** 18);
        issueInfo.push(2138907.386052078 * 10 ** 18);
        issueInfo.push(2156018.645140494 * 10 ** 18);
        issueInfo.push(2173266.794301619 * 10 ** 18);
        issueInfo.push(2190652.928656032 * 10 ** 18);
        issueInfo.push(2208178.15208528 * 10 ** 18);
        issueInfo.push(2225843.5773019614 * 10 ** 18);
        issueInfo.push(2243650.3259203774 * 10 ** 18);
        issueInfo.push(2261599.528527741 * 10 ** 18);
        issueInfo.push(2279692.324755963 * 10 ** 18);
        issueInfo.push(2297929.86335401 * 10 ** 18);
        issueInfo.push(2316313.302260842 * 10 ** 18);
        issueInfo.push(2334843.8086789288 * 10 ** 18);
        issueInfo.push(2353522.559148361 * 10 ** 18);
        issueInfo.push(2372350.7396215475 * 10 ** 18);
        issueInfo.push(2391329.54553852 * 10 ** 18);
        issueInfo.push(2410460.1819028277 * 10 ** 18);
        issueInfo.push(2429743.8633580506 * 10 ** 18);
        issueInfo.push(2449181.8142649154 * 10 ** 18);
        issueInfo.push(2468775.2687790347 * 10 ** 18);
        issueInfo.push(2488525.470929267 * 10 ** 18);
        issueInfo.push(2508433.674696701 * 10 ** 18);
        issueInfo.push(2528501.1440942744 * 10 ** 18);
        issueInfo.push(2548729.153247029 * 10 ** 18);
    }

    function issueInfoLength() external view returns (uint256) {
        return issueInfo.length;
    }

    function currentCanIssueAmount() public view returns (uint256){
        uint256 currentTime = block.number;
        if (currentTime <= startIssueTime || startIssueTime <= 0) {
            return INIT_MINE_SUPPLY.sub(issuedAmount);
        }
        uint256 timeInterval = currentTime - startIssueTime;
        uint256 monthIndex = timeInterval.div(MONTH_SECONDS);
        if (monthIndex < 1) {
            return issueInfo[monthIndex].div(MONTH_SECONDS).mul(timeInterval).add(INIT_MINE_SUPPLY).sub(issuedAmount);
        } else if (monthIndex < issueInfo.length) {
            uint256 tempTotal = INIT_MINE_SUPPLY;
            for (uint256 j = 0; j < monthIndex; j++) {
                tempTotal = tempTotal.add(issueInfo[j]);
            }
            uint256 calcAmount = timeInterval.sub(monthIndex.mul(MONTH_SECONDS)).mul(issueInfo[monthIndex].div(MONTH_SECONDS)).add(tempTotal);
            if (calcAmount > TOTAL_AMOUNT) {
                return TOTAL_AMOUNT.sub(issuedAmount);
            }
            return calcAmount.sub(issuedAmount);
        } else {
            return TOTAL_AMOUNT.sub(issuedAmount);
        }
    }

    function currentBlockCanIssueAmount() public view returns (uint256){
        uint256 currentTime = block.number;
        if (currentTime <= startIssueTime || startIssueTime <= 0) {
            return 0;
        }
        uint256 timeInterval = currentTime - startIssueTime;
        uint256 monthIndex = timeInterval.div(MONTH_SECONDS);
        if (monthIndex < 1) {
            return issueInfo[monthIndex].div(MONTH_SECONDS);
        } else if (monthIndex < issueInfo.length) {
            uint256 tempTotal = INIT_MINE_SUPPLY;
            for (uint256 j = 0; j < monthIndex; j++) {
                tempTotal = tempTotal.add(issueInfo[j]);
            }
            uint256 actualBlockIssue = issueInfo[monthIndex].div(MONTH_SECONDS);
            uint256 calcAmount = timeInterval.sub(monthIndex.mul(MONTH_SECONDS)).mul(issueInfo[monthIndex].div(MONTH_SECONDS)).add(tempTotal);
            if (calcAmount > TOTAL_AMOUNT) {
                if (calcAmount.sub(TOTAL_AMOUNT) <= actualBlockIssue) {
                    return actualBlockIssue.sub(calcAmount.sub(TOTAL_AMOUNT));
                }
                return 0;
            }
            return actualBlockIssue;
        } else {
            return 0;
        }

    }

    function issueAnyOne() public {
        uint256 currentCanIssue = currentCanIssueAmount();
        if (currentCanIssue > 0) {
            issuedAmount = issuedAmount.add(currentCanIssue);
            surplusAmount = surplusAmount.sub(currentCanIssue);
            ISumma(summa).issue(address(this), currentCanIssue);
        }
    }

    function withdrawETH() public onlyOwner {
        msg.sender.transfer(address(this).balance);
    }

    function setStart() public onlyOwner {
        if (startIssueTime <= 0) {
            startIssueTime = block.number;
        }
    }

    function transByContract(address to,uint256 amount) public{
        require(IAccessControl(summaPri).hasRole(TRANS_ROLE, _msgSender()), "Caller is not a transfer role");
        if(amount > IERC20Sumswap(summa).balanceOf(address(this))){
            issueAnyOne();
        }
        require(amount <= IERC20Sumswap(summa).balanceOf(address(this)),"not enough,please check code");
        IERC20Sumswap(summa).transfer(to,amount);
    }

    function withdrawToken(address addr) public onlyOwner {
        IERC20Sumswap(addr).transfer(_msgSender(), IERC20Sumswap(addr).balanceOf(address(this)));
    }

    receive() external payable {
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_summa","type":"address"},{"internalType":"address","name":"_summaPri","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"INIT_MINE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MONTH_SECONDS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRANS_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentBlockCanIssueAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentCanIssueAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issueAnyOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"issueInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issueInfoLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"issuedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStart","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startIssueTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"summa","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"summaPri","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"surplusAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transByContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526a1a784379d99db4200000006001556aee3a5f48a68b55200000006002556b0108b2a2c280290940000000600355600060045534801561004357600080fd5b50604051611d8f380380611d8f8339818101604052604081101561006657600080fd5b5080516020909101516000610079610102565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600580546001600160a01b038085166001600160a01b03199283161790925560068054928416929091169190911790556100fb610106565b5050610c28565b3390565b600780546001818101835560008390526a01969368974c05b00000007fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68892830155825480820184556a01aef869bf18437800000090830155825480820184556a01c8d41e2bd728e9cd650090830155825480820184556a01e43d0142f36dce00000090830155825480820184556a02014ae7bcba5b069aca0090830155825480820184556a022017145c88188f80000090830155825480820184556a0240bc4de7341a268d650090830155825480820184556a026356f66ad5f2f6524e0090830155825480820184556a02880523ec2039c6ebea0090830155825480820184556a02aee6ba8ec5ffde6d170090830155825480820184556a02d81d884fa8eb7e42da0090830155825480820184556a0303cd6268eb600e2e740090830155825480820184556a0221682da64d956413230090830155825480820184556a023739253c50aff830620090830155825480820184556a024de982e2915af0ff980090830155825480820184556a02658236334f7d411d400090830155825480820184556a027e0c8a49d7c9ef6a260090830155825480820184556a029792296b844298c4200090830155825480820184556a02b21d20d637a16f40c70090830155825480820184556a02cdb7e4b5d374c699d00090830155825480820184556a02ea6d54423813430f3f0090830155825480820184556a030848be076d8493d2c00090830155825480820184556a032755e459a51925bbfc0090830155825480820184556a0347a101f6d4a9a72a9e0090830155825480820184556a01b49b676bdf395296480090830155825480820184556a01bd56d50282688b5ddf0090830155825480820184556a01c63ef7fd70895ee34f0090830155825480820184556a01cf54b545118215986c0090830155825480820184556a01d898f655cf4c25adcf0090830155825480820184556a01e20ca95786a4bd4d7e0090830155825480820184556a01ebb0c1356fbc94568b0090830155825480820184556a01f58635b68154b9ec380090830155825480820184556a01ff8e039650b7d729fa0090830155825480820184556a0209c92c9e710d5e8aee0090830155825480820184556a021438b7c05497efee460090830155825480820184556a021eddb12fb2720a0cc20090830155825480820184556a0229b92a7d737465011b0090830155825480820184556a0234cc3ab328f6c444f00090830155825480820184556a024017fe6f102ec0c4880090830155825480820184556a024b9d9800a4fc9266960090830155825480820184556a02575e2f85c70178b4de0090830155825480820184556a02635af30873f23989cf0090830155825480820184556a026f95169d1a1af7e89e0090830155825480820184556a027c0dd4818625bf6d450090830155825480820184556a0288c66d3c6f3b1c98aa0090830155825480820184556a0295c027bda4a7b4f33c0090830155825480820184556a02a2fc517ee044d1bd840090830155825480820184556a02b07c3ea540ea0de74a0090830155825480820184556a015f20a511b825362bf20090830155825480820184556a0162a387fff9fca2a7530090830155825480820184556a01662f681474ce8d7cd10090830155825480820184556a0169c45c5219d0abcaee0090830155825480820184556a016d627bf6c308711e980090830155825480820184556a017109de7bca1a808e4a0090830155825480820184556a0174ba9b96a09ac0b4b50090830155825480820184556a017874cb3969e3f0e1380090830155825480820184556a017c38859396782b14c40090830155825480820184556a018005e31280ef12ba780090830155825480820184556a0183dcfc620c7699c4680090830155825480820184556a0187bdea6d44e87a938a0090830155825480820184556a018ba8c65f007a26e6e00090830155825480820184556a018f9da9a2830ac1bb390090830155825480820184556a01939cade423127874380090830155825480820184556a0197a5ed11f0392543df0090830155825480820184556a019bb9815c5b95ededc70090830155825480820184556a019fd78536e19f0ab8b90090830155825480820184556a01a4001358b5cc2172100090830155825480820184556a01a83346bd6fef7746bb0090830155825480820184556a01ac713aa5bb4b7e132c0090830155825480820184556a01b0ba0a98076876d6d40090830155825480820184556a01b50dd2613aae95c82a0090830155825480820184556a01b96cae1566c9f10fc00090830155825480820184556a01bdd6ba107edb3b10c70090830155825480820184556a01c24c12f70f7c209f680090830155825480820184556a01c6ccd5b6f8999345140090830155825480820184556a01cb591f88292a8a76c40090830155825480820184556a01cff10ded5cc71f22f00090830155825480820184556a01d494beb4db253eb1fe0090830155825480820184556a01d9444ff9397f4a1ea30090830155825480820184556a01ddffe0221de978ed060090830155825480820184556a01e2c78de5049c84eebd0090830155825480820184556a01e79b78460737b744be0090830155825480820184556a01ec7bbe98a60264f15e0090830155825480820184556a01f168808093309a9cdf0090830155825480820184556a0191e7e4c200251ef95a0090830155825480820184556a01951eff29f3dbbc74940090830155825480820184556a01985caf490218f076ee0090830155825480820184556a019ba1029b83234b79950090830155825480820184556a019eec06b96da8ac0a9b0090830155825480820184556a01a23dc9568f4defbd010090830155825480820184556a01a5965842c5b2d2d07f0090830155825480820184556a01a8f5c16a37ebabb8520090830155825480820184556a01ac5c12d5906e90a7c70090830155825480820184556a01afc95aaa3779b34c5c0090830155825480820184556a01b33da72a8def62c1fe0090830155825480820184556a01b6b906b628abbaea710090830155825480820184556a01ba3b87ca0c52e903930090830155825480820184556a01bdc53900e99b3c07c40090830155825480820184556a01c15629135a1141cf880090830155825480820184556a01c4ee66d81d592189cc0090830155825480820184556a01c88e014456ed279f0c0090830155825480820184556a01cc35076bcc5bd70b3e0090830155825480820184556a01cfe3888124027952400090830155825480820184556a01d39993d6244c297f400090830155825480820184556a01d75738dbf36f644e1e0090830155825480820184556a01db1c872357afd7c4fe0090830155825480820184556a01dee98e5cf822065aa20090830155825480820184556a01e2be5e599df541fe0e0090830155825480820184556a01e69b070a7642d4f9840090830155825480820184556a01ea7f988154641dafa40090830155825480820184556a01ee6c22f0f4cf6d83a80090830155825480820184556a01f260b6ad407f58ad9a0090830155825480820184556a01f65d642b90e2942e530090830155825480820184556a01fa623c02f45927c8700090830155825480820184556a01fe6f4eec733b0aa2950090830155825480820184556a020284adc3556ec7589a0090830155825480820184556a0206a26985688c6dcf020090830155825480820184556a020ac893534691a499ab0090830155825480820184556a020ef73c709d2644f2be0090830155825480820184556a02132e7644757251dfa20090830155825480820184556a02176e52597c87aa7b98009083015582549081019092556a021bb6e25e4c5fe2b1d200910155565b61115880610c376000396000f3fe60806040526004361061012e5760003560e01c80638da5cb5b116100ab578063b62697571161006f578063b6269757146102e7578063b7c408d114610311578063d642e5c714610326578063e086e5ec1461033b578063f2fde38b14610350578063f4a814fd1461038357610135565b80638da5cb5b14610262578063949c67e5146102935780639b58cf18146102a8578063a2d7f5e3146102bd578063b5269cad146102d257610135565b806345138eb8116100f257806345138eb8146101db5780635a2d3490146101f0578063715018a6146102055780637d24af661461021a578063894760691461022f57610135565b806304b776af1461013a5780630dff24d5146101615780632553fd8f146101765780632fe5e3a61461018d57806335975a37146101c657610135565b3661013557005b600080fd5b34801561014657600080fd5b5061014f610398565b60408051918252519081900360200190f35b34801561016d57600080fd5b5061014f6103bc565b34801561018257600080fd5b5061018b6103c2565b005b34801561019957600080fd5b5061018b600480360360408110156101b057600080fd5b506001600160a01b038135169060200135610463565b3480156101d257600080fd5b5061018b610735565b3480156101e757600080fd5b5061014f61079e565b3480156101fc57600080fd5b5061014f6107ad565b34801561021157600080fd5b5061018b6107b4565b34801561022657600080fd5b5061014f610856565b34801561023b57600080fd5b5061018b6004803603602081101561025257600080fd5b50356001600160a01b031661085c565b34801561026e57600080fd5b506102776109bb565b604080516001600160a01b039092168252519081900360200190f35b34801561029f57600080fd5b5061014f6109ca565b3480156102b457600080fd5b50610277610b6e565b3480156102c957600080fd5b5061014f610b7d565b3480156102de57600080fd5b5061014f610b83565b3480156102f357600080fd5b5061014f6004803603602081101561030a57600080fd5b5035610cc5565b34801561031d57600080fd5b50610277610ce3565b34801561033257600080fd5b5061014f610cf2565b34801561034757600080fd5b5061018b610cf8565b34801561035c57600080fd5b5061018b6004803603602081101561037357600080fd5b50356001600160a01b0316610d7c565b34801561038f57600080fd5b5061014f610e74565b7fcad07eb0533b96601ccc07ce1242e3fd31f6e7058c200d3a8c45917679cede7f81565b60025481565b60006103cc610b83565b90508015610460576001546103e19082610e7b565b6001556002546103f19082610ede565b6002556005546040805163219e412d60e21b81523060048201526024810184905290516001600160a01b039092169163867904b49160448082019260009290919082900301818387803b15801561044757600080fd5b505af115801561045b573d6000803e3d6000fd5b505050505b50565b6006546001600160a01b03166391d148547fcad07eb0533b96601ccc07ce1242e3fd31f6e7058c200d3a8c45917679cede7f61049d610f20565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156104e157600080fd5b505afa1580156104f5573d6000803e3d6000fd5b505050506040513d602081101561050b57600080fd5b505161055e576040805162461bcd60e51b815260206004820152601d60248201527f43616c6c6572206973206e6f742061207472616e7366657220726f6c65000000604482015290519081900360640190fd5b600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105a957600080fd5b505afa1580156105bd573d6000803e3d6000fd5b505050506040513d60208110156105d357600080fd5b50518111156105e4576105e46103c2565b600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561062f57600080fd5b505afa158015610643573d6000803e3d6000fd5b505050506040513d602081101561065957600080fd5b50518111156106af576040805162461bcd60e51b815260206004820152601c60248201527f6e6f7420656e6f7567682c706c6561736520636865636b20636f646500000000604482015290519081900360640190fd5b6005546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561070557600080fd5b505af1158015610719573d6000803e3d6000fd5b505050506040513d602081101561072f57600080fd5b50505050565b61073d610f20565b6000546001600160a01b0390811691161461078d576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b60006004541161079c57436004555b565b6a1a784379d99db42000000081565b6007545b90565b6107bc610f20565b6000546001600160a01b0390811691161461080c576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60045481565b610864610f20565b6000546001600160a01b039081169116146108b4576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b806001600160a01b031663a9059cbb6108cb610f20565b604080516370a0823160e01b815230600482015290516001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561091157600080fd5b505afa158015610925573d6000803e3d6000fd5b505050506040513d602081101561093b57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561098c57600080fd5b505af11580156109a0573d6000803e3d6000fd5b505050506040513d60208110156109b657600080fd5b505050565b6000546001600160a01b031690565b6004546000904390811115806109e05750600454155b156109ef5760009150506107b1565b60045481036000610a0382620278d0610f24565b90506001811015610a4557610a3b620278d060078381548110610a2257fe5b9060005260206000200154610f2490919063ffffffff16565b93505050506107b1565b600754811015610b62576a1a784379d99db42000000060005b82811015610a9a57610a9060078281548110610a7657fe5b906000526020600020015483610e7b90919063ffffffff16565b9150600101610a5e565b506000610ab1620278d060078581548110610a2257fe5b90506000610af383610aed610ad0620278d060078981548110610a2257fe5b610ae7610ae089620278d0610f66565b8a90610ede565b90610f66565b90610e7b565b9050600354811115610b555781610b1560035483610ede90919063ffffffff16565b11610b4657610b39610b3260035483610ede90919063ffffffff16565b8390610ede565b96505050505050506107b1565b600096505050505050506107b1565b5094506107b19350505050565b600093505050506107b1565b6006546001600160a01b031681565b60035481565b600454600090439081111580610b995750600454155b15610bbf57600154610bb7906a1a784379d99db42000000090610ede565b9150506107b1565b60045481036000610bd382620278d0610f24565b90506001811015610c1157610a3b600154610c0b6a1a784379d99db420000000610aed86610ae7620278d060078981548110610a2257fe5b90610ede565b600754811015610cb6576a1a784379d99db42000000060005b82811015610c4c57610c4260078281548110610a7657fe5b9150600101610c2a565b506000610c8182610aed610c6a620278d060078881548110610a2257fe5b610ae7610c7a88620278d0610f66565b8990610ede565b9050600354811115610ca857600154600354610c9c91610ede565b955050505050506107b1565b600154610c9c908290610ede565b600154600354610a3b91610ede565b60078181548110610cd257fe5b600091825260209091200154905081565b6005546001600160a01b031681565b60015481565b610d00610f20565b6000546001600160a01b03908116911614610d50576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b60405133904780156108fc02916000818181858888f19350505050158015610460573d6000803e3d6000fd5b610d84610f20565b6000546001600160a01b03908116911614610dd4576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b038116610e195760405162461bcd60e51b81526004018080602001828103825260268152602001806110bc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b620278d081565b600082820183811015610ed5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000610ed583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fbf565b3390565b6000610ed583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611056565b600082610f7557506000610ed8565b82820282848281610f8257fe5b0414610ed55760405162461bcd60e51b81526004018080602001828103825260218152602001806110e26021913960400191505060405180910390fd5b6000818484111561104e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611013578181015183820152602001610ffb565b50505050905090810190601f1680156110405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836110a55760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611013578181015183820152602001610ffb565b5060008385816110b157fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122062b8823915ed5db54c5009c88b2600f43b1609121496f3d97cf6be77ea8d13ea64736f6c634300060c0033000000000000000000000000043c308bb8a5ae96d0093444be7f56459f1340b10000000000000000000000006631dc49eb860eafd61777b92e42fe2bef84596b

Deployed Bytecode

0x60806040526004361061012e5760003560e01c80638da5cb5b116100ab578063b62697571161006f578063b6269757146102e7578063b7c408d114610311578063d642e5c714610326578063e086e5ec1461033b578063f2fde38b14610350578063f4a814fd1461038357610135565b80638da5cb5b14610262578063949c67e5146102935780639b58cf18146102a8578063a2d7f5e3146102bd578063b5269cad146102d257610135565b806345138eb8116100f257806345138eb8146101db5780635a2d3490146101f0578063715018a6146102055780637d24af661461021a578063894760691461022f57610135565b806304b776af1461013a5780630dff24d5146101615780632553fd8f146101765780632fe5e3a61461018d57806335975a37146101c657610135565b3661013557005b600080fd5b34801561014657600080fd5b5061014f610398565b60408051918252519081900360200190f35b34801561016d57600080fd5b5061014f6103bc565b34801561018257600080fd5b5061018b6103c2565b005b34801561019957600080fd5b5061018b600480360360408110156101b057600080fd5b506001600160a01b038135169060200135610463565b3480156101d257600080fd5b5061018b610735565b3480156101e757600080fd5b5061014f61079e565b3480156101fc57600080fd5b5061014f6107ad565b34801561021157600080fd5b5061018b6107b4565b34801561022657600080fd5b5061014f610856565b34801561023b57600080fd5b5061018b6004803603602081101561025257600080fd5b50356001600160a01b031661085c565b34801561026e57600080fd5b506102776109bb565b604080516001600160a01b039092168252519081900360200190f35b34801561029f57600080fd5b5061014f6109ca565b3480156102b457600080fd5b50610277610b6e565b3480156102c957600080fd5b5061014f610b7d565b3480156102de57600080fd5b5061014f610b83565b3480156102f357600080fd5b5061014f6004803603602081101561030a57600080fd5b5035610cc5565b34801561031d57600080fd5b50610277610ce3565b34801561033257600080fd5b5061014f610cf2565b34801561034757600080fd5b5061018b610cf8565b34801561035c57600080fd5b5061018b6004803603602081101561037357600080fd5b50356001600160a01b0316610d7c565b34801561038f57600080fd5b5061014f610e74565b7fcad07eb0533b96601ccc07ce1242e3fd31f6e7058c200d3a8c45917679cede7f81565b60025481565b60006103cc610b83565b90508015610460576001546103e19082610e7b565b6001556002546103f19082610ede565b6002556005546040805163219e412d60e21b81523060048201526024810184905290516001600160a01b039092169163867904b49160448082019260009290919082900301818387803b15801561044757600080fd5b505af115801561045b573d6000803e3d6000fd5b505050505b50565b6006546001600160a01b03166391d148547fcad07eb0533b96601ccc07ce1242e3fd31f6e7058c200d3a8c45917679cede7f61049d610f20565b6040518363ffffffff1660e01b815260040180838152602001826001600160a01b031681526020019250505060206040518083038186803b1580156104e157600080fd5b505afa1580156104f5573d6000803e3d6000fd5b505050506040513d602081101561050b57600080fd5b505161055e576040805162461bcd60e51b815260206004820152601d60248201527f43616c6c6572206973206e6f742061207472616e7366657220726f6c65000000604482015290519081900360640190fd5b600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b1580156105a957600080fd5b505afa1580156105bd573d6000803e3d6000fd5b505050506040513d60208110156105d357600080fd5b50518111156105e4576105e46103c2565b600554604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561062f57600080fd5b505afa158015610643573d6000803e3d6000fd5b505050506040513d602081101561065957600080fd5b50518111156106af576040805162461bcd60e51b815260206004820152601c60248201527f6e6f7420656e6f7567682c706c6561736520636865636b20636f646500000000604482015290519081900360640190fd5b6005546040805163a9059cbb60e01b81526001600160a01b038581166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b15801561070557600080fd5b505af1158015610719573d6000803e3d6000fd5b505050506040513d602081101561072f57600080fd5b50505050565b61073d610f20565b6000546001600160a01b0390811691161461078d576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b60006004541161079c57436004555b565b6a1a784379d99db42000000081565b6007545b90565b6107bc610f20565b6000546001600160a01b0390811691161461080c576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60045481565b610864610f20565b6000546001600160a01b039081169116146108b4576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b806001600160a01b031663a9059cbb6108cb610f20565b604080516370a0823160e01b815230600482015290516001600160a01b038616916370a08231916024808301926020929190829003018186803b15801561091157600080fd5b505afa158015610925573d6000803e3d6000fd5b505050506040513d602081101561093b57600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b03909316600484015260248301919091525160448083019260209291908290030181600087803b15801561098c57600080fd5b505af11580156109a0573d6000803e3d6000fd5b505050506040513d60208110156109b657600080fd5b505050565b6000546001600160a01b031690565b6004546000904390811115806109e05750600454155b156109ef5760009150506107b1565b60045481036000610a0382620278d0610f24565b90506001811015610a4557610a3b620278d060078381548110610a2257fe5b9060005260206000200154610f2490919063ffffffff16565b93505050506107b1565b600754811015610b62576a1a784379d99db42000000060005b82811015610a9a57610a9060078281548110610a7657fe5b906000526020600020015483610e7b90919063ffffffff16565b9150600101610a5e565b506000610ab1620278d060078581548110610a2257fe5b90506000610af383610aed610ad0620278d060078981548110610a2257fe5b610ae7610ae089620278d0610f66565b8a90610ede565b90610f66565b90610e7b565b9050600354811115610b555781610b1560035483610ede90919063ffffffff16565b11610b4657610b39610b3260035483610ede90919063ffffffff16565b8390610ede565b96505050505050506107b1565b600096505050505050506107b1565b5094506107b19350505050565b600093505050506107b1565b6006546001600160a01b031681565b60035481565b600454600090439081111580610b995750600454155b15610bbf57600154610bb7906a1a784379d99db42000000090610ede565b9150506107b1565b60045481036000610bd382620278d0610f24565b90506001811015610c1157610a3b600154610c0b6a1a784379d99db420000000610aed86610ae7620278d060078981548110610a2257fe5b90610ede565b600754811015610cb6576a1a784379d99db42000000060005b82811015610c4c57610c4260078281548110610a7657fe5b9150600101610c2a565b506000610c8182610aed610c6a620278d060078881548110610a2257fe5b610ae7610c7a88620278d0610f66565b8990610ede565b9050600354811115610ca857600154600354610c9c91610ede565b955050505050506107b1565b600154610c9c908290610ede565b600154600354610a3b91610ede565b60078181548110610cd257fe5b600091825260209091200154905081565b6005546001600160a01b031681565b60015481565b610d00610f20565b6000546001600160a01b03908116911614610d50576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b60405133904780156108fc02916000818181858888f19350505050158015610460573d6000803e3d6000fd5b610d84610f20565b6000546001600160a01b03908116911614610dd4576040805162461bcd60e51b81526020600482018190526024820152600080516020611103833981519152604482015290519081900360640190fd5b6001600160a01b038116610e195760405162461bcd60e51b81526004018080602001828103825260268152602001806110bc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b620278d081565b600082820183811015610ed5576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b6000610ed583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610fbf565b3390565b6000610ed583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611056565b600082610f7557506000610ed8565b82820282848281610f8257fe5b0414610ed55760405162461bcd60e51b81526004018080602001828103825260218152602001806110e26021913960400191505060405180910390fd5b6000818484111561104e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611013578181015183820152602001610ffb565b50505050905090810190601f1680156110405780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836110a55760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611013578181015183820152602001610ffb565b5060008385816110b157fe5b049594505050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122062b8823915ed5db54c5009c88b2600f43b1609121496f3d97cf6be77ea8d13ea64736f6c634300060c0033

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

000000000000000000000000043c308bb8a5ae96d0093444be7f56459f1340b10000000000000000000000006631dc49eb860eafd61777b92e42fe2bef84596b

-----Decoded View---------------
Arg [0] : _summa (address): 0x043C308BB8a5aE96D0093444be7f56459F1340b1
Arg [1] : _summaPri (address): 0x6631DC49EB860eaFd61777b92e42fe2bEf84596B

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000043c308bb8a5ae96d0093444be7f56459f1340b1
Arg [1] : 0000000000000000000000006631dc49eb860eafd61777b92e42fe2bef84596b


Deployed Bytecode Sourcemap

9939:11379:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10330:60;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;10140:56;;;;;;;;;;;;;:::i;20061:339::-;;;;;;;;;;;;;:::i;:::-;;20661:442;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20661:442:0;;;;;;;;:::i;20517:136::-;;;;;;;;;;;;;:::i;10014:62::-;;;;;;;;;;;;;:::i;17532:101::-;;;;;;;;;;;;;:::i;2741:148::-;;;;;;;;;;;;;:::i;10468:33::-;;;;;;;;;;;;;:::i;21111:161::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21111:161:0;-1:-1:-1;;;;;21111:161:0;;:::i;2099:79::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;2099:79:0;;;;;;;;;;;;;;18801:1252;;;;;;;;;;;;;:::i;10539:23::-;;;;;;;;;;;;;:::i;10205:54::-;;;;;;;;;;;;;:::i;17641:1152::-;;;;;;;;;;;;;:::i;10571:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10571:26:0;;:::i;10510:20::-;;;;;;;;;;;;;:::i;10085:46::-;;;;;;;;;;;;;:::i;20408:101::-;;;;;;;;;;;;;:::i;3044:244::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3044:244:0;-1:-1:-1;;;;;3044:244:0;;:::i;10268:53::-;;;;;;;;;;;;;:::i;10330:60::-;10367:23;10330:60;:::o;10140:56::-;;;;:::o;20061:339::-;20102:23;20128;:21;:23::i;:::-;20102:49;-1:-1:-1;20166:19:0;;20162:231;;20217:12;;:33;;20234:15;20217:16;:33::i;:::-;20202:12;:48;20281:13;;:34;;20299:15;20281:17;:34::i;:::-;20265:13;:50;20337:5;;20330:51;;;-1:-1:-1;;;20330:51:0;;20358:4;20330:51;;;;;;;;;;;;-1:-1:-1;;;;;20337:5:0;;;;20330:19;;:51;;;;;20337:5;;20330:51;;;;;;;;20337:5;;20330:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20162:231;20061:339;:::o;20661:442::-;20753:8;;-1:-1:-1;;;;;20753:8:0;20738:32;10367:23;20783:12;:10;:12::i;:::-;20738:58;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20738:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20738:58:0;20730:100;;;;;-1:-1:-1;;;20730:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20867:5;;20853:45;;;-1:-1:-1;;;20853:45:0;;20892:4;20853:45;;;;;;-1:-1:-1;;;;;20867:5:0;;;;20853:30;;:45;;;;;;;;;;;;;;;20867:5;20853:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20853:45:0;20844:54;;20841:98;;;20914:13;:11;:13::i;:::-;20981:5;;20967:45;;;-1:-1:-1;;;20967:45:0;;21006:4;20967:45;;;;;;-1:-1:-1;;;;;20981:5:0;;;;20967:30;;:45;;;;;;;;;;;;;;;20981:5;20967:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20967:45:0;20957:55;;;20949:95;;;;;-1:-1:-1;;;20949:95:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21069:5;;21055:40;;;-1:-1:-1;;;21055:40:0;;-1:-1:-1;;;;;21055:40:0;;;;;;;;;;;;;;;21069:5;;;;;21055:29;;:40;;;;;;;;;;;;;;21069:5;;21055:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;20661:442:0:o;20517:136::-;2321:12;:10;:12::i;:::-;2311:6;;-1:-1:-1;;;;;2311:6:0;;;:22;;;2303:67;;;;;-1:-1:-1;;;2303:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2303:67:0;;;;;;;;;;;;;;;20587:1:::1;20569:14;;:19;20565:81;;20622:12;20605:14;:29:::0;20565:81:::1;20517:136::o:0;10014:62::-;10057:19;10014:62;:::o;17532:101::-;17609:9;:16;17532:101;;:::o;2741:148::-;2321:12;:10;:12::i;:::-;2311:6;;-1:-1:-1;;;;;2311:6:0;;;:22;;;2303:67;;;;;-1:-1:-1;;;2303:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2303:67:0;;;;;;;;;;;;;;;2848:1:::1;2832:6:::0;;2811:40:::1;::::0;-1:-1:-1;;;;;2832:6:0;;::::1;::::0;2811:40:::1;::::0;2848:1;;2811:40:::1;2879:1;2862:19:::0;;-1:-1:-1;;;;;;2862:19:0::1;::::0;;2741:148::o;10468:33::-;;;;:::o;21111:161::-;2321:12;:10;:12::i;:::-;2311:6;;-1:-1:-1;;;;;2311:6:0;;;:22;;;2303:67;;;;;-1:-1:-1;;;2303:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2303:67:0;;;;;;;;;;;;;;;21190:4:::1;-1:-1:-1::0;;;;;21176:28:0::1;;21205:12;:10;:12::i;:::-;21219:44;::::0;;-1:-1:-1;;;21219:44:0;;21257:4:::1;21219:44;::::0;::::1;::::0;;;-1:-1:-1;;;;;21219:29:0;::::1;::::0;::::1;::::0;:44;;;;;::::1;::::0;;;;;;;;:29;:44;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;21219:44:0;21176:88:::1;::::0;;-1:-1:-1;;;;;;21176:88:0::1;::::0;;;;;;-1:-1:-1;;;;;21176:88:0;;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;21219:44:::1;::::0;21176:88;;;;;;;-1:-1:-1;21176:88:0;;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;21111:161:0:o;2099:79::-;2137:7;2164:6;-1:-1:-1;;;;;2164:6:0;2099:79;:::o;18801:1252::-;18943:14;;18860:7;;18901:12;;18928:29;;;;:52;;-1:-1:-1;18961:14:0;;:19;18928:52;18924:93;;;19004:1;18997:8;;;;;18924:93;19064:14;;19050:28;;19027:20;19110:31;19050:28;10308:13;19110:16;:31::i;:::-;19089:52;;19169:1;19156:10;:14;19152:892;;;19194:40;10308:13;19194:9;19204:10;19194:21;;;;;;;;;;;;;;;;:25;;:40;;;;:::i;:::-;19187:47;;;;;;;19152:892;19269:9;:16;19256:29;;19252:792;;;10057:19;19302:17;19353:115;19377:10;19373:1;:14;19353:115;;;19425:27;19439:9;19449:1;19439:12;;;;;;;;;;;;;;;;19425:9;:13;;:27;;;;:::i;:::-;19413:39;-1:-1:-1;19389:3:0;;19353:115;;;;19482:24;19509:40;10308:13;19509:9;19519:10;19509:21;;;;;;;:40;19482:67;;19564:18;19585:108;19683:9;19585:93;19637:40;10308:13;19637:9;19647:10;19637:21;;;;;;;:40;19585:47;19602:29;:10;10308:13;19602:14;:29::i;:::-;19585:12;;:16;:47::i;:::-;:51;;:93::i;:::-;:97;;:108::i;:::-;19564:129;;19725:12;;19712:10;:25;19708:246;;;19794:16;19762:28;19777:12;;19762:10;:14;;:28;;;;:::i;:::-;:48;19758:154;;19842:50;19863:28;19878:12;;19863:10;:14;;:28;;;;:::i;:::-;19842:16;;:20;:50::i;:::-;19835:57;;;;;;;;;;19758:154;19937:1;19930:8;;;;;;;;;;19708:246;-1:-1:-1;19975:16:0;-1:-1:-1;19968:23:0;;-1:-1:-1;;;;19968:23:0;19252:792;20031:1;20024:8;;;;;;;10539:23;;;-1:-1:-1;;;;;10539:23:0;;:::o;10205:54::-;;;;:::o;17641:1152::-;17778:14;;17695:7;;17736:12;;17763:29;;;;:52;;-1:-1:-1;17796:14:0;;:19;17763:52;17759:126;;;17860:12;;17839:34;;10057:19;;17839:20;:34::i;:::-;17832:41;;;;;17759:126;17932:14;;17918:28;;17895:20;17978:31;17918:28;10308:13;17978:16;:31::i;:::-;17957:52;;18037:1;18024:10;:14;18020:766;;;18062:98;18147:12;;18062:80;10057:19;18062:58;18107:12;18062:40;10308:13;18062:9;18072:10;18062:21;;;;;;;:80;:84;;:98::i;18020:766::-;18195:9;:16;18182:29;;18178:608;;;10057:19;18228:17;18279:115;18303:10;18299:1;:14;18279:115;;;18351:27;18365:9;18375:1;18365:12;;;;;;;18351:27;18339:39;-1:-1:-1;18315:3:0;;18279:115;;;;18408:18;18429:108;18527:9;18429:93;18481:40;10308:13;18481:9;18491:10;18481:21;;;;;;;:40;18429:47;18446:29;:10;10308:13;18446:14;:29::i;:::-;18429:12;;:16;:47::i;:108::-;18408:129;;18569:12;;18556:10;:25;18552:103;;;18626:12;;18609;;:30;;:16;:30::i;:::-;18602:37;;;;;;;;;18552:103;18691:12;;18676:28;;:10;;:14;:28::i;18178:608::-;18761:12;;18744;;:30;;:16;:30::i;10571:26::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;10571:26:0;:::o;10510:20::-;;;-1:-1:-1;;;;;10510:20:0;;:::o;10085:46::-;;;;:::o;20408:101::-;2321:12;:10;:12::i;:::-;2311:6;;-1:-1:-1;;;;;2311:6:0;;;:22;;;2303:67;;;;;-1:-1:-1;;;2303:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2303:67:0;;;;;;;;;;;;;;;20459:42:::1;::::0;:10:::1;::::0;20479:21:::1;20459:42:::0;::::1;;;::::0;::::1;::::0;;;20479:21;20459:10;:42;::::1;;;;;;;;;;;;;::::0;::::1;;;;3044:244:::0;2321:12;:10;:12::i;:::-;2311:6;;-1:-1:-1;;;;;2311:6:0;;;:22;;;2303:67;;;;;-1:-1:-1;;;2303:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2303:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3133:22:0;::::1;3125:73;;;;-1:-1:-1::0;;;3125:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3235:6;::::0;;3214:38:::1;::::0;-1:-1:-1;;;;;3214:38:0;;::::1;::::0;3235:6;::::1;::::0;3214:38:::1;::::0;::::1;3263:6;:17:::0;;-1:-1:-1;;;;;;3263:17:0::1;-1:-1:-1::0;;;;;3263:17:0;;;::::1;::::0;;;::::1;::::0;;3044:244::o;10268:53::-;10308:13;10268:53;:::o;5127:181::-;5185:7;5217:5;;;5241:6;;;;5233:46;;;;;-1:-1:-1;;;5233:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5299:1;-1:-1:-1;5127:181:0;;;;;:::o;5591:136::-;5649:7;5676:43;5680:1;5683;5676:43;;;;;;;;;;;;;;;;;:3;:43::i;634:106::-;722:10;634:106;:::o;7428:132::-;7486:7;7513:39;7517:1;7520;7513:39;;;;;;;;;;;;;;;;;:3;:39::i;6481:471::-;6539:7;6784:6;6780:47;;-1:-1:-1;6814:1:0;6807:8;;6780:47;6851:5;;;6855:1;6851;:5;:1;6875:5;;;;;:10;6867:56;;;;-1:-1:-1;;;6867:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6030:192;6116:7;6152:12;6144:6;;;;6136:29;;;;-1:-1:-1;;;6136:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6188:5:0;;;6030:192::o;8056:278::-;8142:7;8177:12;8170:5;8162:28;;;;-1:-1:-1;;;8162:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8201:9;8217:1;8213;:5;;;;;;;8056:278;-1:-1:-1;;;;;8056:278:0:o

Swarm Source

ipfs://62b8823915ed5db54c5009c88b2600f43b1609121496f3d97cf6be77ea8d13ea

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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