Contract 0xd5d84e75f48E75f01fb2EB6dFD8eA148eE3d0FEb

 
Ad
Ad
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf2851c44c86e3090836e025f5bdddbdc1ee9d272710a2c04fe82a7107f3480b4Approve195425062021-09-26 17:07:0349 mins ago0x17f320e6079e97b2d20cc8e8fd946ab6a9f87683 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000255783
0xbed2bf4d9723da3c932318175b011773aad1071305e45856f076bd73e46c060aApprove195418482021-09-26 16:41:321 hr 14 mins ago0x17f320e6079e97b2d20cc8e8fd946ab6a9f87683 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000139518
0x37111b4a7ac17134fcfb18a0c4753c86f3993c923fa355819f2642ddc80e4242Approve195415602021-09-26 16:31:361 hr 24 mins ago0xe7c60e30c135f132c18bef795c044e93922a6dea IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000093012
0xf21b3dea275d54879abccd24a1bf1d1ece6a1966d11858627bdb74f8bb730caaApprove195369342021-09-26 13:33:084 hrs 23 mins ago0x93f790d5e906f653e5da669ffb307c94b356aa08 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.00023253
0xf9bc5304c70a783089c191baf62ca1ac0aff0049db7d05fdfd749961adbd64c9Approve195338662021-09-26 11:32:066 hrs 24 mins ago0x8ff0ce7655bf1aa2d21baff4966991a74bc5a550 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.00005162166
0x58a6507a154161d4f4c0063047be3ccfac8b81be96d40295d091005e19b7fe0eTransfer195329812021-09-26 10:57:526 hrs 58 mins ago0xd553294b42bdfeb49d8f5a64e8b2d3a65fc673a9 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.00017343
0xcfc85b9daadf58ea21ea4d3881ba525faa46c3a851787804ea7bdd3d9bf8faa7Approve195016662021-09-25 15:26:241 day 2 hrs ago0x87ac2c9b8a94e26d106c6c6736d7645feb53f3b7 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.004790118
0x033d369a4b6ddbe2d1f37f521b4ccdcf1fde29e19679d6217682f76a241455f3Approve195009112021-09-25 14:58:181 day 2 hrs ago0x87ac2c9b8a94e26d106c6c6736d7645feb53f3b7 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.001023132
0x88e0110718faa49f571e52dc3be4768b12d73565ead9e0977f19b92caf13f3a3Approve194999652021-09-25 14:23:321 day 3 hrs ago0x87d140d8864a334b515d711946ee5c53904be923 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000491369
0xdc3494b50ee9b79857f8eb8e44f001a4569474cc771c741f3b47f1842d8a5b18Approve194866422021-09-25 5:47:591 day 12 hrs ago0xac1ea4620de31eacf8f1249b7d543878185b4e93 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000139518
0xfca4d987cb66a80e842f5f133b13884adf07718eda3c033906db888464fe8ee9Approve194853452021-09-25 4:56:511 day 12 hrs ago0x278a6891a87b894d58ffd8391faf5c6e0e23638c IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000048831765
0x7913aa63f73082b316097eb5b163e63f0a5c8a7a303b40293a106bee5a9d08e2Approve194789712021-09-25 1:13:221 day 16 hrs ago0x216bb66a6ac5f4d1df43c51b794bd406d507a203 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000046506004
0x025bfc0255a228e74798114909d55830a01d4705a21b2edc128036d71ea70d78Approve194599632021-09-24 13:29:512 days 4 hrs ago0xcfc8105b1afa3ef83c8799cf8c2a50fcf9df53bf IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000093012
0xc88cde59b92c397c4b8e3c66e158043f9594098c153963f78c73f3ed6c4e2cf6Approve194440162021-09-24 3:43:422 days 14 hrs ago0x58c326c67b464c3a5c984adc272bd5c814c06def IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.00023253
0x56d6a8adcbb5eb7e4c044961f8146e9741e2ce8dabbdfd93aff5e3dcc608077cApprove194438512021-09-24 3:34:482 days 14 hrs ago0x58c326c67b464c3a5c984adc272bd5c814c06def IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000093012
0xbaf88250b36c7a2fd35466984b9fb14f073d10368f02da64b8f3cb32b4c06defApprove194406632021-09-24 1:36:522 days 16 hrs ago0xa3ec4ac211218812e377e4fcd41775f324448b09 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.0000508266
0xf61ca4c9feaab31840fc9003c5de099bd27abcffbd9bbb8a0c97af009a05f87eApprove194334062021-09-23 21:07:242 days 20 hrs ago0x46aaa27dbc0c4d4d1c8afb81e7e032d44e0fde36 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000046506
0xf7b1ba12d89ea657ab436dd9a9c55d6d730859acfd7863f709c19bb143cadd2aApprove194146312021-09-23 8:56:073 days 9 hrs ago0xd3020016900be232d277743d10893064be7cc7f9 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.00014511
0x0383d5da258d51745d404d1a5dab1e75b51a99631ca60d3ea826a57684b1dea7Approve194138132021-09-23 8:23:393 days 9 hrs ago0xdc768bee66b7e60088d1538f5b0682772907ffcf IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000093012
0x0080062a475820f691bdc24ae4741ea85ab9aa8a0b35b4198470e3465df8a403Approve194036732021-09-23 1:19:273 days 16 hrs ago0x59cc4d7a77fc94d0f1c22f9f0a177c5243924ee5 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000017879004
0xe1bee3e552421362816bf725ff1fb17e34dd37abc47ce81c063f4fb17efa869cApprove194035092021-09-23 1:13:473 days 16 hrs ago0x7296ee042bf27db1862a0463ebacc054fde21060 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.0000159621
0x608c85da97d0ad26a7f7fa0982b95a5dd3559deea241f99d365326edd4731e6aApprove194034972021-09-23 1:13:233 days 16 hrs ago0x59cc4d7a77fc94d0f1c22f9f0a177c5243924ee5 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000139518
0xd5dbe58bac462c73da24156a13456fe4e9da66af66fc7afcaafe2492b690a9e8Approve194034762021-09-23 1:12:413 days 16 hrs ago0x7296ee042bf27db1862a0463ebacc054fde21060 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.000139518
0x770f25c1a6b03e18bda186e2d6822cdbbca46cccaaf73d12e179e454f126c94fApprove193956682021-09-22 20:01:243 days 21 hrs ago0xece94e10da05117e3dd3538f7ff4b2a4bff1a3f1 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.00014511
0x4e67f1e5860968ff91a62d5d6602652aba443cf2074fdb9c70d9357875fcb40dApprove193956652021-09-22 20:01:183 days 21 hrs ago0xece94e10da05117e3dd3538f7ff4b2a4bff1a3f1 IN  0xd5d84e75f48e75f01fb2eb6dfd8ea148ee3d0feb0 MATIC0.00014511
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GovToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-06-11
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.6.12;


/*
 * @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;
    }
}

/**
 * @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;
    }
}

/**
 * @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);
}

/**
 * @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);
    }

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

/**
 * @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;
    }
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin 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-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) public {
        _name = name_;
        _symbol = symbol_;
        _decimals = 18;
    }

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

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

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

    /**
     * @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.
     */
    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 `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 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 Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

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

contract GovToken is ERC20, Ownable {
    constructor(string memory name_, string memory symbol_) ERC20(name_, symbol_) public {}
    
    function mint(address _to, uint256 _amount) public onlyOwner {
        _mint(_to, _amount);
    }

    function burn(uint256 _amount) public {
        _burn(msg.sender, _amount);
    }

    function rescue(IERC20 _token) public onlyOwner {
        SafeERC20.safeTransfer(_token, msg.sender, _token.balanceOf(address(this)));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"name":"rescue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200171438038062001714833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200010a57600080fd5b9083019060208201858111156200012057600080fd5b82516401000000008111828201881017156200013b57600080fd5b82525081516020918201929091019080838360005b838110156200016a57818101518382015260200162000150565b50505050905090810190601f168015620001985780820380516001836020036101000a031916815260200191505b50604052505082518391508290620001b89060039060208501906200024c565b508051620001ce9060049060208401906200024c565b50506005805460ff19166012179055506000620001ea62000248565b60058054610100600160a81b0319166101006001600160a01b03841690810291909117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3505050620002e8565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200028f57805160ff1916838001178555620002bf565b82800160010185558215620002bf579182015b82811115620002bf578251825591602001919060010190620002a2565b50620002cd929150620002d1565b5090565b5b80821115620002cd5760008155600101620002d2565b61141c80620002f86000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806395d89b411161007157806395d89b411461032a578063a457c2d714610332578063a9059cbb1461035e578063dd62ed3e1461038a578063f2fde38b146103b85761010b565b806370a08231146102b2578063715018a6146102d8578063839006f2146102e05780638da5cb5b146103065761010b565b8063313ce567116100de578063313ce5671461021d578063395093511461023b57806340c10f191461026757806342966c68146102955761010b565b806306fdde0314610110578063095ea7b31461018d57806318160ddd146101cd57806323b872dd146101e7575b600080fd5b6101186103de565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b038135169060200135610474565b604080519115158252519081900360200190f35b6101d5610491565b60408051918252519081900360200190f35b6101b9600480360360608110156101fd57600080fd5b506001600160a01b03813581169160208101359091169060400135610497565b61022561051f565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561025157600080fd5b506001600160a01b038135169060200135610528565b6102936004803603604081101561027d57600080fd5b506001600160a01b038135169060200135610576565b005b610293600480360360208110156102ab57600080fd5b50356105e1565b6101d5600480360360208110156102c857600080fd5b50356001600160a01b03166105ee565b610293610609565b610293600480360360208110156102f657600080fd5b50356001600160a01b03166106b6565b61030e610796565b604080516001600160a01b039092168252519081900360200190f35b6101186107aa565b6101b96004803603604081101561034857600080fd5b506001600160a01b03813516906020013561080b565b6101b96004803603604081101561037457600080fd5b506001600160a01b038135169060200135610873565b6101d5600480360360408110156103a057600080fd5b506001600160a01b0381358116916020013516610887565b610293600480360360208110156103ce57600080fd5b50356001600160a01b03166108b2565b60038054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561046a5780601f1061043f5761010080835404028352916020019161046a565b820191906000526020600020905b81548152906001019060200180831161044d57829003601f168201915b5050505050905090565b60006104886104816109bb565b84846109bf565b50600192915050565b60025490565b60006104a4848484610aab565b610514846104b06109bb565b61050f856040518060600160405280602881526020016112e6602891396001600160a01b038a166000908152600160205260408120906104ee6109bb565b6001600160a01b031681526020810191909152604001600020549190610c06565b6109bf565b5060015b9392505050565b60055460ff1690565b60006104886105356109bb565b8461050f85600160006105466109bb565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c9d565b61057e6109bb565b60055461010090046001600160a01b039081169116146105d3576040805162461bcd60e51b8152602060048201819052602482015260008051602061130e833981519152604482015290519081900360640190fd5b6105dd8282610cf7565b5050565b6105eb3382610de7565b50565b6001600160a01b031660009081526020819052604090205490565b6106116109bb565b60055461010090046001600160a01b03908116911614610666576040805162461bcd60e51b8152602060048201819052602482015260008051602061130e833981519152604482015290519081900360640190fd5b60055460405160009161010090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360058054610100600160a81b0319169055565b6106be6109bb565b60055461010090046001600160a01b03908116911614610713576040805162461bcd60e51b8152602060048201819052602482015260008051602061130e833981519152604482015290519081900360640190fd5b6105eb8133836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561076557600080fd5b505afa158015610779573d6000803e3d6000fd5b505050506040513d602081101561078f57600080fd5b5051610ee3565b60055461010090046001600160a01b031690565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561046a5780601f1061043f5761010080835404028352916020019161046a565b60006104886108186109bb565b8461050f856040518060600160405280602581526020016113c260259139600160006108426109bb565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610c06565b60006104886108806109bb565b8484610aab565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6108ba6109bb565b60055461010090046001600160a01b0390811691161461090f576040805162461bcd60e51b8152602060048201819052602482015260008051602061130e833981519152604482015290519081900360640190fd5b6001600160a01b0381166109545760405162461bcd60e51b81526004018080602001828103825260268152602001806112526026913960400191505060405180910390fd5b6005546040516001600160a01b0380841692610100900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b3390565b6001600160a01b038316610a045760405162461bcd60e51b81526004018080602001828103825260248152602001806113746024913960400191505060405180910390fd5b6001600160a01b038216610a495760405162461bcd60e51b81526004018080602001828103825260228152602001806112786022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610af05760405162461bcd60e51b815260040180806020018281038252602581526020018061134f6025913960400191505060405180910390fd5b6001600160a01b038216610b355760405162461bcd60e51b815260040180806020018281038252602381526020018061120d6023913960400191505060405180910390fd5b610b40838383610f35565b610b7d8160405180606001604052806026815260200161129a602691396001600160a01b0386166000908152602081905260409020549190610c06565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610bac9082610c9d565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610c955760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c5a578181015183820152602001610c42565b50505050905090810190601f168015610c875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610518576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216610d52576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610d5e60008383610f35565b600254610d6b9082610c9d565b6002556001600160a01b038216600090815260208190526040902054610d919082610c9d565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b038216610e2c5760405162461bcd60e51b815260040180806020018281038252602181526020018061132e6021913960400191505060405180910390fd5b610e3882600083610f35565b610e7581604051806060016040528060228152602001611230602291396001600160a01b0385166000908152602081905260409020549190610c06565b6001600160a01b038316600090815260208190526040902055600254610e9b9082610f3a565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610f35908490610f7c565b505050565b600061051883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610c06565b6060610fd1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661102d9092919063ffffffff16565b805190915015610f3557808060200190516020811015610ff057600080fd5b5051610f355760405162461bcd60e51b815260040180806020018281038252602a815260200180611398602a913960400191505060405180910390fd5b606061103c8484600085611044565b949350505050565b6060824710156110855760405162461bcd60e51b81526004018080602001828103825260268152602001806112c06026913960400191505060405180910390fd5b61108e856111a0565b6110df576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061111e5780518252601f1990920191602091820191016110ff565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611180576040519150601f19603f3d011682016040523d82523d6000602084013e611185565b606091505b50915091506111958282866111a6565b979650505050505050565b3b151590565b606083156111b5575081610518565b8251156111c55782518084602001fd5b60405162461bcd60e51b8152602060048201818152845160248401528451859391928392604401919085019080838360008315610c5a578181015183820152602001610c4256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c45524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657245524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656445524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212203b47a4f66a7b3d4a37d5e00ddf9538ee9d7ad8a251bca4bd82976307b39e406064736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a50474f5620546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450474f5600000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a50474f5620546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000450474f5600000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): PGOV Token
Arg [1] : symbol_ (string): PGOV

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 50474f5620546f6b656e00000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 50474f5600000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

32645:485:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23820:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25926:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25926:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;24895:100;;;:::i;:::-;;;;;;;;;;;;;;;;26577:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26577:321:0;;;;;;;;;;;;;;;;;:::i;24747:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27307:218;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27307:218:0;;;;;;;;:::i;32787:99::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;32787:99:0;;;;;;;;:::i;:::-;;32894:83;;;;;;;;;;;;;;;;-1:-1:-1;32894:83:0;;:::i;25058:119::-;;;;;;;;;;;;;;;;-1:-1:-1;25058:119:0;-1:-1:-1;;;;;25058:119:0;;:::i;2620:148::-;;;:::i;32985:142::-;;;;;;;;;;;;;;;;-1:-1:-1;32985:142:0;-1:-1:-1;;;;;32985:142:0;;:::i;1978:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;1978:79:0;;;;;;;;;;;;;;24022:87;;;:::i;28028:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;28028:269:0;;;;;;;;:::i;25390:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25390:175:0;;;;;;;;:::i;25628:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25628:151:0;;;;;;;;;;:::i;2923:244::-;;;;;;;;;;;;;;;;-1:-1:-1;2923:244:0;-1:-1:-1;;;;;2923:244:0;;:::i;23820:83::-;23890:5;23883:12;;;;;;;;-1:-1:-1;;23883:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23857:13;;23883:12;;23890:5;;23883:12;;23890:5;23883:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23820:83;:::o;25926:169::-;26009:4;26026:39;26035:12;:10;:12::i;:::-;26049:7;26058:6;26026:8;:39::i;:::-;-1:-1:-1;26083:4:0;25926:169;;;;:::o;24895:100::-;24975:12;;24895:100;:::o;26577:321::-;26683:4;26700:36;26710:6;26718:9;26729:6;26700:9;:36::i;:::-;26747:121;26756:6;26764:12;:10;:12::i;:::-;26778:89;26816:6;26778:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;26778:19:0;;;;;;:11;:19;;;;;;26798:12;:10;:12::i;:::-;-1:-1:-1;;;;;26778:33:0;;;;;;;;;;;;-1:-1:-1;26778:33:0;;;:89;:37;:89::i;:::-;26747:8;:121::i;:::-;-1:-1:-1;26886:4:0;26577:321;;;;;;:::o;24747:83::-;24813:9;;;;24747:83;:::o;27307:218::-;27395:4;27412:83;27421:12;:10;:12::i;:::-;27435:7;27444:50;27483:10;27444:11;:25;27456:12;:10;:12::i;:::-;-1:-1:-1;;;;;27444:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;27444:25:0;;;:34;;;;;;;;;;;:38;:50::i;32787:99::-;2200:12;:10;:12::i;:::-;2190:6;;;;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;;-1:-1:-1;;;2182:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2182:67:0;;;;;;;;;;;;;;;32859:19:::1;32865:3;32870:7;32859:5;:19::i;:::-;32787:99:::0;;:::o;32894:83::-;32943:26;32949:10;32961:7;32943:5;:26::i;:::-;32894:83;:::o;25058:119::-;-1:-1:-1;;;;;25151:18:0;25124:7;25151:18;;;;;;;;;;;;25058:119::o;2620:148::-;2200:12;:10;:12::i;:::-;2190:6;;;;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;;-1:-1:-1;;;2182:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2182:67:0;;;;;;;;;;;;;;;2711:6:::1;::::0;2690:40:::1;::::0;2727:1:::1;::::0;2711:6:::1;::::0;::::1;-1:-1:-1::0;;;;;2711:6:0::1;::::0;2690:40:::1;::::0;2727:1;;2690:40:::1;2741:6;:19:::0;;-1:-1:-1;;;;;;2741:19:0::1;::::0;;2620:148::o;32985:142::-;2200:12;:10;:12::i;:::-;2190:6;;;;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;;-1:-1:-1;;;2182:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2182:67:0;;;;;;;;;;;;;;;33044:75:::1;33067:6;33075:10;33087:6;-1:-1:-1::0;;;;;33087:16:0::1;;33112:4;33087:31;;;;;;;;;;;;;-1:-1:-1::0;;;;;33087:31:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;33087:31:0;33044:22:::1;:75::i;1978:79::-:0;2043:6;;;;;-1:-1:-1;;;;;2043:6:0;;1978:79::o;24022:87::-;24094:7;24087:14;;;;;;;;-1:-1:-1;;24087:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24061:13;;24087:14;;24094:7;;24087:14;;24094:7;24087:14;;;;;;;;;;;;;;;;;;;;;;;;28028:269;28121:4;28138:129;28147:12;:10;:12::i;:::-;28161:7;28170:96;28209:15;28170:96;;;;;;;;;;;;;;;;;:11;:25;28182:12;:10;:12::i;:::-;-1:-1:-1;;;;;28170:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;28170:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;25390:175::-;25476:4;25493:42;25503:12;:10;:12::i;:::-;25517:9;25528:6;25493:9;:42::i;25628:151::-;-1:-1:-1;;;;;25744:18:0;;;25717:7;25744:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;25628:151::o;2923:244::-;2200:12;:10;:12::i;:::-;2190:6;;;;;-1:-1:-1;;;;;2190:6:0;;;:22;;;2182:67;;;;;-1:-1:-1;;;2182:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;2182:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3012:22:0;::::1;3004:73;;;;-1:-1:-1::0;;;3004:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3114:6;::::0;3093:38:::1;::::0;-1:-1:-1;;;;;3093:38:0;;::::1;::::0;3114:6:::1;::::0;::::1;;::::0;3093:38:::1;::::0;;;::::1;3142:6;:17:::0;;-1:-1:-1;;;;;3142:17:0;;::::1;;;-1:-1:-1::0;;;;;;3142:17:0;;::::1;::::0;;;::::1;::::0;;2923:244::o;607:106::-;695:10;607:106;:::o;31175:346::-;-1:-1:-1;;;;;31277:19:0;;31269:68;;;;-1:-1:-1;;;31269:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31356:21:0;;31348:68;;;;-1:-1:-1;;;31348:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31429:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;31481:32;;;;;;;;;;;;;;;;;31175:346;;;:::o;28787:539::-;-1:-1:-1;;;;;28893:20:0;;28885:70;;;;-1:-1:-1;;;28885:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;28974:23:0;;28966:71;;;;-1:-1:-1;;;28966:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29050:47;29071:6;29079:9;29090:6;29050:20;:47::i;:::-;29130:71;29152:6;29130:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;29130:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;29110:17:0;;;:9;:17;;;;;;;;;;;:91;;;;29235:20;;;;;;;:32;;29260:6;29235:24;:32::i;:::-;-1:-1:-1;;;;;29212:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;29283:35;;;;;;;29212:20;;29283:35;;;;;;;;;;;;;28787:539;;;:::o;14566:192::-;14652:7;14688:12;14680:6;;;;14672:29;;;;-1:-1:-1;;;14672:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;14724:5:0;;;14566:192::o;13663:181::-;13721:7;13753:5;;;13777:6;;;;13769:46;;;;;-1:-1:-1;;;13769:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;29608:378;-1:-1:-1;;;;;29692:21:0;;29684:65;;;;;-1:-1:-1;;;29684:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29762:49;29791:1;29795:7;29804:6;29762:20;:49::i;:::-;29839:12;;:24;;29856:6;29839:16;:24::i;:::-;29824:12;:39;-1:-1:-1;;;;;29895:18:0;;:9;:18;;;;;;;;;;;:30;;29918:6;29895:22;:30::i;:::-;-1:-1:-1;;;;;29874:18:0;;:9;:18;;;;;;;;;;;:51;;;;29941:37;;;;;;;29874:18;;:9;;29941:37;;;;;;;;;;29608:378;;:::o;30319:418::-;-1:-1:-1;;;;;30403:21:0;;30395:67;;;;-1:-1:-1;;;30395:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30475:49;30496:7;30513:1;30517:6;30475:20;:49::i;:::-;30558:68;30581:6;30558:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30558:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;30537:18:0;;:9;:18;;;;;;;;;;:89;30652:12;;:24;;30669:6;30652:16;:24::i;:::-;30637:12;:39;30692:37;;;;;;;;30718:1;;-1:-1:-1;;;;;30692:37:0;;;;;;;;;;;;30319:418;;:::o;18682:177::-;18792:58;;;-1:-1:-1;;;;;18792:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18792:58:0;-1:-1:-1;;;18792:58:0;;;18765:86;;18785:5;;18765:19;:86::i;:::-;18682:177;;;:::o;14127:136::-;14185:7;14212:43;14216:1;14219;14212:43;;;;;;;;;;;;;;;;;:3;:43::i;20987:761::-;21411:23;21437:69;21465:4;21437:69;;;;;;;;;;;;;;;;;21445:5;-1:-1:-1;;;;;21437:27:0;;;:69;;;;;:::i;:::-;21521:17;;21411:95;;-1:-1:-1;21521:21:0;21517:224;;21663:10;21652:30;;;;;;;;;;;;;;;-1:-1:-1;21652:30:0;21644:85;;;;-1:-1:-1;;;21644:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9486:195;9589:12;9621:52;9643:6;9651:4;9657:1;9660:12;9621:21;:52::i;:::-;9614:59;9486:195;-1:-1:-1;;;;9486:195:0:o;10538:530::-;10665:12;10723:5;10698:21;:30;;10690:81;;;;-1:-1:-1;;;10690:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10790:18;10801:6;10790:10;:18::i;:::-;10782:60;;;;;-1:-1:-1;;;10782:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;10916:12;10930:23;10957:6;-1:-1:-1;;;;;10957:11:0;10977:5;10985:4;10957:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;10957:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10915:75;;;;11008:52;11026:7;11035:10;11047:12;11008:17;:52::i;:::-;11001:59;10538:530;-1:-1:-1;;;;;;;10538:530:0:o;6568:422::-;6935:20;6974:8;;;6568:422::o;12074:742::-;12189:12;12218:7;12214:595;;;-1:-1:-1;12249:10:0;12242:17;;12214:595;12363:17;;:21;12359:439;;12626:10;12620:17;12687:15;12674:10;12670:2;12666:19;12659:44;12574:148;12762:20;;-1:-1:-1;;;12762:20:0;;;;;;;;;;;;;;;;;12769:12;;12762:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://3b47a4f66a7b3d4a37d5e00ddf9538ee9d7ad8a251bca4bd82976307b39e4060
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.