ETH Price: $3,737.19 (-0.24%)
Gas: 9 Gwei

Contract

0x7968bc6a03017eA2de509AAA816F163Db0f35148
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Hedget (HGET) (@$0.0879)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Transfer199244952024-05-22 9:21:2312 hrs ago1716369683IN
Hedget: HGET Token
0 ETH0.000385768.24346914
Transfer198905482024-05-17 15:20:595 days ago1715959259IN
Hedget: HGET Token
0 ETH0.0003579712.04465528
Transfer198170182024-05-07 8:32:5915 days ago1715070779IN
Hedget: HGET Token
0 ETH0.000433338.39447885
Transfer198134672024-05-06 20:36:4716 days ago1715027807IN
Hedget: HGET Token
0 ETH0.000393627.6269966
Transfer198066672024-05-05 21:47:2316 days ago1714945643IN
Hedget: HGET Token
0 ETH0.000253087.33394635
Transfer198027932024-05-05 8:47:1117 days ago1714898831IN
Hedget: HGET Token
0 ETH0.00042688.26993225
Transfer198021812024-05-05 6:43:4717 days ago1714891427IN
Hedget: HGET Token
0 ETH0.000270267.82886911
Transfer197732612024-05-01 5:42:2321 days ago1714542143IN
Hedget: HGET Token
0 ETH0.00043458.41923072
Transfer197518082024-04-28 5:44:2324 days ago1714283063IN
Hedget: HGET Token
0 ETH0.000360256.98055019
Transfer197335982024-04-25 16:33:2327 days ago1714062803IN
Hedget: HGET Token
0 ETH0.0006883919.94127324
Transfer197335952024-04-25 16:32:4727 days ago1714062767IN
Hedget: HGET Token
0 ETH0.0010524320.38774512
Transfer197324022024-04-25 12:32:3527 days ago1714048355IN
Hedget: HGET Token
0 ETH0.0006402313.67765221
Transfer197189282024-04-23 15:16:4729 days ago1713885407IN
Hedget: HGET Token
0 ETH0.0011159221.61773318
Transfer197177952024-04-23 11:27:5929 days ago1713871679IN
Hedget: HGET Token
0 ETH0.0003695112.43768176
Transfer197177742024-04-23 11:23:4729 days ago1713871427IN
Hedget: HGET Token
0 ETH0.0006781113.13950872
Transfer197177262024-04-23 11:14:1129 days ago1713870851IN
Hedget: HGET Token
0 ETH0.0007425314.38766379
Transfer197162182024-04-23 6:10:2329 days ago1713852623IN
Hedget: HGET Token
0 ETH0.0006304812.21377695
Transfer197160642024-04-23 5:39:3529 days ago1713850775IN
Hedget: HGET Token
0 ETH0.000491539.52414009
Transfer197146012024-04-23 0:46:1129 days ago1713833171IN
Hedget: HGET Token
0 ETH0.000398347.7168047
Transfer197118682024-04-22 15:35:1130 days ago1713800111IN
Hedget: HGET Token
0 ETH0.0007871222.80120201
Transfer197117992024-04-22 15:21:1130 days ago1713799271IN
Hedget: HGET Token
0 ETH0.0007151224.06138629
Transfer197114982024-04-22 14:20:4730 days ago1713795647IN
Hedget: HGET Token
0 ETH0.0007552125.41006694
Transfer197112172024-04-22 13:23:5930 days ago1713792239IN
Hedget: HGET Token
0 ETH0.0004297814.4664184
Transfer197112042024-04-22 13:21:2330 days ago1713792083IN
Hedget: HGET Token
0 ETH0.0004318814.53117501
Transfer197112022024-04-22 13:20:5930 days ago1713792059IN
Hedget: HGET Token
0 ETH0.0004272714.37608806
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:
HedgetToken

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 Etherscan.io on 2020-09-05
*/

// File: openzeppelin-solidity/contracts/GSN/Context.sol

// SPDX-License-Identifier: MIT

pragma solidity ^0.6.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-solidity/contracts/token/ERC20/IERC20.sol

pragma solidity ^0.6.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

pragma solidity ^0.6.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: openzeppelin-solidity/contracts/utils/Address.sol

pragma solidity ^0.6.2;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

pragma solidity ^0.6.0;





/**
 * @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;
    using Address for address;

    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 is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

// File: contracts/HedgetToken.sol

pragma solidity 0.6.12;


contract HedgetToken is ERC20 {
    address private _minter;

    event MinterSet(address indexed account);
    event TransferToNative(address indexed from, bytes32 indexed to, uint256 value);
    event TransferFromNative(address indexed to, bytes32 indexed refID, uint256 value);

    /**
     * @dev Constructor that gives msg.sender all of existing tokens.
     * @param minter the multi-sig contract address
     */
    constructor(address minter) public ERC20("Hedget", "HGET") {
      _setupDecimals(6);
      _setMinter(minter);
    }

    modifier onlyMinter() {
        require(isMinter(msg.sender), "caller is not a minter");
        _;
    }
    
    function cap() public pure returns (uint256) {
      return 10_000_000_000_000; // 10 million HGET
    }

    /**
     * @dev Burns a specific amount of tokens and emit transfer event for native chain
     * @param to The address to transfer to in the native chain.
     * @param value The amount of token to be burned.
     */
    function transferToNative(bytes32 to, uint256 value) public {
        _burn(msg.sender, value);
        emit TransferToNative(msg.sender, to, value);
    }

    /**
     * @dev Function to mint tokens
     * @param to The address that will receive the minted tokens.
     * @param value The amount of tokens to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function transferFromNative(address to, uint256 value, bytes32 refID) public onlyMinter returns (bool) {
        _mint(to, value);
        emit TransferFromNative(to, refID, value);
        return true;
    }
    
    function _mint(address account, uint256 value) override internal {
        require(totalSupply().add(value) <= cap(), "ERC20Capped: cap exceeded");
        super._mint(account, value);
    }

    function isMinter(address account) public view returns (bool) {
        return _minter == account;
    }

    function _setMinter(address account) internal {
        _minter = account;
        emit MinterSet(account);
    }
    
    function changeMinter(address newMinter) public onlyMinter {
        _setMinter(newMinter);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"MinterSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"bytes32","name":"refID","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferFromNative","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"bytes32","name":"to","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferToNative","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":[],"name":"cap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newMinter","type":"address"}],"name":"changeMinter","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":"account","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes32","name":"refID","type":"bytes32"}],"name":"transferFromNative","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"to","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferToNative","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200118038038062001180833981810160405260208110156200003757600080fd5b5051604080518082018252600681526512195919d95d60d21b6020828101918252835180850190945260048452631211d15560e21b90840152815191929162000083916003916200012f565b508051620000999060049060208401906200012f565b50506005805460ff1916601217905550620000b56006620000c7565b620000c081620000dd565b50620001cb565b6005805460ff191660ff92909216919091179055565b60058054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b690600090a250565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200017257805160ff1916838001178555620001a2565b82800160010185558215620001a2579182015b82811115620001a257825182559160200191906001019062000185565b50620001b0929150620001b4565b5090565b5b80821115620001b05760008155600101620001b5565b610fa580620001db6000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80633950935111610097578063a9059cbb11610066578063a9059cbb14610309578063aa271e1a14610335578063d98057c81461035b578063dd62ed3e1461038d57610100565b8063395093511461028357806370a08231146102af57806395d89b41146102d5578063a457c2d7146102dd57610100565b806323b872dd116100d357806323b872dd146102015780632c4d4d1814610237578063313ce5671461025d578063355274ea1461027b57610100565b806306fdde0314610105578063095ea7b3146101825780631396f857146101c257806318160ddd146101e7575b600080fd5b61010d6103bb565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b038135169060200135610451565b604080519115158252519081900360200190f35b6101e5600480360360408110156101d857600080fd5b508035906020013561046e565b005b6101ef6104b3565b60408051918252519081900360200190f35b6101ae6004803603606081101561021757600080fd5b506001600160a01b038135811691602081013590911690604001356104b9565b6101e56004803603602081101561024d57600080fd5b50356001600160a01b0316610540565b61026561059f565b6040805160ff9092168252519081900360200190f35b6101ef6105a8565b6101ae6004803603604081101561029957600080fd5b506001600160a01b0381351690602001356105b2565b6101ef600480360360208110156102c557600080fd5b50356001600160a01b0316610600565b61010d61061b565b6101ae600480360360408110156102f357600080fd5b506001600160a01b03813516906020013561067c565b6101ae6004803603604081101561031f57600080fd5b506001600160a01b0381351690602001356106e4565b6101ae6004803603602081101561034b57600080fd5b50356001600160a01b03166106f8565b6101ae6004803603606081101561037157600080fd5b506001600160a01b038135169060208101359060400135610714565b6101ef600480360360408110156103a357600080fd5b506001600160a01b03813581169160200135166107bd565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104475780601f1061041c57610100808354040283529160200191610447565b820191906000526020600020905b81548152906001019060200180831161042a57829003601f168201915b5050505050905090565b600061046561045e6107e8565b84846107ec565b50600192915050565b61047833826108d8565b604080518281529051839133917f82c6ab3718ccb4cf1157245de6052ef1ebe596ee4ff6b5a23c48cd610a1bb3529181900360200190a35050565b60025490565b60006104c68484846109d4565b610536846104d26107e8565b61053185604051806060016040528060288152602001610eb9602891396001600160a01b038a166000908152600160205260408120906105106107e8565b6001600160a01b031681526020810191909152604001600020549190610b2f565b6107ec565b5060019392505050565b610549336106f8565b610593576040805162461bcd60e51b815260206004820152601660248201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b604482015290519081900360640190fd5b61059c81610bc6565b50565b60055460ff1690565b6509184e72a00090565b60006104656105bf6107e8565b8461053185600160006105d06107e8565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c18565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104475780601f1061041c57610100808354040283529160200191610447565b60006104656106896107e8565b8461053185604051806060016040528060258152602001610f4b60259139600160006106b36107e8565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610b2f565b60006104656106f16107e8565b84846109d4565b60055461010090046001600160a01b0390811690821614919050565b600061071f336106f8565b610769576040805162461bcd60e51b815260206004820152601660248201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b604482015290519081900360640190fd5b6107738484610c79565b60408051848152905183916001600160a01b038716917fec1c07bf8768248649595ca4787b6565d34cd6a0e3e2cd58d80af7b38c4bd59e9181900360200190a35060019392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108315760405162461bcd60e51b8152600401808060200182810382526024815260200180610f276024913960400191505060405180910390fd5b6001600160a01b0382166108765760405162461bcd60e51b8152600401808060200182810382526022815260200180610e716022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03821661091d5760405162461bcd60e51b8152600401808060200182810382526021815260200180610ee16021913960400191505060405180910390fd5b61092982600083610cf4565b61096681604051806060016040528060228152602001610e4f602291396001600160a01b0385166000908152602081905260409020549190610b2f565b6001600160a01b03831660009081526020819052604090205560025461098c9082610cf9565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038316610a195760405162461bcd60e51b8152600401808060200182810382526025815260200180610f026025913960400191505060405180910390fd5b6001600160a01b038216610a5e5760405162461bcd60e51b8152600401808060200182810382526023815260200180610e2c6023913960400191505060405180910390fd5b610a69838383610cf4565b610aa681604051806060016040528060268152602001610e93602691396001600160a01b0386166000908152602081905260409020549190610b2f565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610ad59082610c18565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610bbe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b83578181015183820152602001610b6b565b50505050905090810190601f168015610bb05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60058054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b690600090a250565b600082820183811015610c72576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b610c816105a8565b610c9382610c8d6104b3565b90610c18565b1115610ce6576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b610cf08282610d3b565b5050565b505050565b6000610c7283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610b2f565b6001600160a01b038216610d96576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610da260008383610cf4565b600254610daf9082610c18565b6002556001600160a01b038216600090815260208190526040902054610dd59082610c18565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122068c388d33d6e9824fb770b9ed6e38768201c916eeffffad03ec4a0795dc4fd6c64736f6c634300060c0033000000000000000000000000fe3cb9deceb4d36e0321935931639c0a1cd603a4

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80633950935111610097578063a9059cbb11610066578063a9059cbb14610309578063aa271e1a14610335578063d98057c81461035b578063dd62ed3e1461038d57610100565b8063395093511461028357806370a08231146102af57806395d89b41146102d5578063a457c2d7146102dd57610100565b806323b872dd116100d357806323b872dd146102015780632c4d4d1814610237578063313ce5671461025d578063355274ea1461027b57610100565b806306fdde0314610105578063095ea7b3146101825780631396f857146101c257806318160ddd146101e7575b600080fd5b61010d6103bb565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b038135169060200135610451565b604080519115158252519081900360200190f35b6101e5600480360360408110156101d857600080fd5b508035906020013561046e565b005b6101ef6104b3565b60408051918252519081900360200190f35b6101ae6004803603606081101561021757600080fd5b506001600160a01b038135811691602081013590911690604001356104b9565b6101e56004803603602081101561024d57600080fd5b50356001600160a01b0316610540565b61026561059f565b6040805160ff9092168252519081900360200190f35b6101ef6105a8565b6101ae6004803603604081101561029957600080fd5b506001600160a01b0381351690602001356105b2565b6101ef600480360360208110156102c557600080fd5b50356001600160a01b0316610600565b61010d61061b565b6101ae600480360360408110156102f357600080fd5b506001600160a01b03813516906020013561067c565b6101ae6004803603604081101561031f57600080fd5b506001600160a01b0381351690602001356106e4565b6101ae6004803603602081101561034b57600080fd5b50356001600160a01b03166106f8565b6101ae6004803603606081101561037157600080fd5b506001600160a01b038135169060208101359060400135610714565b6101ef600480360360408110156103a357600080fd5b506001600160a01b03813581169160200135166107bd565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104475780601f1061041c57610100808354040283529160200191610447565b820191906000526020600020905b81548152906001019060200180831161042a57829003601f168201915b5050505050905090565b600061046561045e6107e8565b84846107ec565b50600192915050565b61047833826108d8565b604080518281529051839133917f82c6ab3718ccb4cf1157245de6052ef1ebe596ee4ff6b5a23c48cd610a1bb3529181900360200190a35050565b60025490565b60006104c68484846109d4565b610536846104d26107e8565b61053185604051806060016040528060288152602001610eb9602891396001600160a01b038a166000908152600160205260408120906105106107e8565b6001600160a01b031681526020810191909152604001600020549190610b2f565b6107ec565b5060019392505050565b610549336106f8565b610593576040805162461bcd60e51b815260206004820152601660248201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b604482015290519081900360640190fd5b61059c81610bc6565b50565b60055460ff1690565b6509184e72a00090565b60006104656105bf6107e8565b8461053185600160006105d06107e8565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610c18565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104475780601f1061041c57610100808354040283529160200191610447565b60006104656106896107e8565b8461053185604051806060016040528060258152602001610f4b60259139600160006106b36107e8565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610b2f565b60006104656106f16107e8565b84846109d4565b60055461010090046001600160a01b0390811690821614919050565b600061071f336106f8565b610769576040805162461bcd60e51b815260206004820152601660248201527531b0b63632b91034b9903737ba10309036b4b73a32b960511b604482015290519081900360640190fd5b6107738484610c79565b60408051848152905183916001600160a01b038716917fec1c07bf8768248649595ca4787b6565d34cd6a0e3e2cd58d80af7b38c4bd59e9181900360200190a35060019392505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3390565b6001600160a01b0383166108315760405162461bcd60e51b8152600401808060200182810382526024815260200180610f276024913960400191505060405180910390fd5b6001600160a01b0382166108765760405162461bcd60e51b8152600401808060200182810382526022815260200180610e716022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b03821661091d5760405162461bcd60e51b8152600401808060200182810382526021815260200180610ee16021913960400191505060405180910390fd5b61092982600083610cf4565b61096681604051806060016040528060228152602001610e4f602291396001600160a01b0385166000908152602081905260409020549190610b2f565b6001600160a01b03831660009081526020819052604090205560025461098c9082610cf9565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038316610a195760405162461bcd60e51b8152600401808060200182810382526025815260200180610f026025913960400191505060405180910390fd5b6001600160a01b038216610a5e5760405162461bcd60e51b8152600401808060200182810382526023815260200180610e2c6023913960400191505060405180910390fd5b610a69838383610cf4565b610aa681604051806060016040528060268152602001610e93602691396001600160a01b0386166000908152602081905260409020549190610b2f565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610ad59082610c18565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610bbe5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610b83578181015183820152602001610b6b565b50505050905090810190601f168015610bb05780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60058054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f726b590ef91a8c76ad05bbe91a57ef84605276528f49cd47d787f558a4e755b690600090a250565b600082820183811015610c72576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b610c816105a8565b610c9382610c8d6104b3565b90610c18565b1115610ce6576040805162461bcd60e51b815260206004820152601960248201527f45524332304361707065643a2063617020657863656564656400000000000000604482015290519081900360640190fd5b610cf08282610d3b565b5050565b505050565b6000610c7283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610b2f565b6001600160a01b038216610d96576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610da260008383610cf4565b600254610daf9082610c18565b6002556001600160a01b038216600090815260208190526040902054610dd59082610c18565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122068c388d33d6e9824fb770b9ed6e38768201c916eeffffad03ec4a0795dc4fd6c64736f6c634300060c0033

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

000000000000000000000000fe3cb9deceb4d36e0321935931639c0a1cd603a4

-----Decoded View---------------
Arg [0] : minter (address): 0xfe3cB9DeceB4D36E0321935931639c0a1cd603a4

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000fe3cb9deceb4d36e0321935931639c0a1cd603a4


Deployed Bytecode Sourcemap

26541:2206:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17657:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19763:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19763:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;27565:158;;;;;;;;;;;;;;;;-1:-1:-1;27565:158:0;;;;;;;:::i;:::-;;18732:100;;;:::i;:::-;;;;;;;;;;;;;;;;20406:321;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20406:321:0;;;;;;;;;;;;;;;;;:::i;28645:99::-;;;;;;;;;;;;;;;;-1:-1:-1;28645:99:0;-1:-1:-1;;;;;28645:99:0;;:::i;18584:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27224:106;;;:::i;21136:218::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21136:218:0;;;;;;;;:::i;18895:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18895:119:0;-1:-1:-1;;;;;18895:119:0;;:::i;17859:87::-;;;:::i;21857:269::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21857:269:0;;;;;;;;:::i;19227:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19227:175:0;;;;;;;;:::i;28403:106::-;;;;;;;;;;;;;;;;-1:-1:-1;28403:106:0;-1:-1:-1;;;;;28403:106:0;;:::i;27978:212::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27978:212:0;;;;;;;;;;;;;:::i;19465:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19465:151:0;;;;;;;;;;:::i;17657:83::-;17727:5;17720:12;;;;;;;;-1:-1:-1;;17720:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17694:13;;17720:12;;17727:5;;17720:12;;17727:5;17720:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17657:83;:::o;19763:169::-;19846:4;19863:39;19872:12;:10;:12::i;:::-;19886:7;19895:6;19863:8;:39::i;:::-;-1:-1:-1;19920:4:0;19763:169;;;;:::o;27565:158::-;27636:24;27642:10;27654:5;27636;:24::i;:::-;27676:39;;;;;;;;27705:2;;27693:10;;27676:39;;;;;;;;;27565:158;;:::o;18732:100::-;18812:12;;18732:100;:::o;20406:321::-;20512:4;20529:36;20539:6;20547:9;20558:6;20529:9;:36::i;:::-;20576:121;20585:6;20593:12;:10;:12::i;:::-;20607:89;20645:6;20607:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20607:19:0;;;;;;:11;:19;;;;;;20627:12;:10;:12::i;:::-;-1:-1:-1;;;;;20607:33:0;;;;;;;;;;;;-1:-1:-1;20607:33:0;;;:89;:37;:89::i;:::-;20576:8;:121::i;:::-;-1:-1:-1;20715:4:0;20406:321;;;;;:::o;28645:99::-;27145:20;27154:10;27145:8;:20::i;:::-;27137:55;;;;;-1:-1:-1;;;27137:55:0;;;;;;;;;;;;-1:-1:-1;;;27137:55:0;;;;;;;;;;;;;;;28715:21:::1;28726:9;28715:10;:21::i;:::-;28645:99:::0;:::o;18584:83::-;18650:9;;;;18584:83;:::o;27224:106::-;27285:18;27224:106;:::o;21136:218::-;21224:4;21241:83;21250:12;:10;:12::i;:::-;21264:7;21273:50;21312:10;21273:11;:25;21285:12;:10;:12::i;:::-;-1:-1:-1;;;;;21273:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21273:25:0;;;:34;;;;;;;;;;;:38;:50::i;18895:119::-;-1:-1:-1;;;;;18988:18:0;18961:7;18988:18;;;;;;;;;;;;18895:119::o;17859:87::-;17931:7;17924:14;;;;;;;;-1:-1:-1;;17924:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17898:13;;17924:14;;17931:7;;17924:14;;17931:7;17924:14;;;;;;;;;;;;;;;;;;;;;;;;21857:269;21950:4;21967:129;21976:12;:10;:12::i;:::-;21990:7;21999:96;22038:15;21999:96;;;;;;;;;;;;;;;;;:11;:25;22011:12;:10;:12::i;:::-;-1:-1:-1;;;;;21999:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21999:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;19227:175::-;19313:4;19330:42;19340:12;:10;:12::i;:::-;19354:9;19365:6;19330:9;:42::i;28403:106::-;28483:7;;;;;-1:-1:-1;;;;;28483:7:0;;;:18;;;;28403:106;;;:::o;27978:212::-;28075:4;27145:20;27154:10;27145:8;:20::i;:::-;27137:55;;;;;-1:-1:-1;;;27137:55:0;;;;;;;;;;;;-1:-1:-1;;;27137:55:0;;;;;;;;;;;;;;;28092:16:::1;28098:2;28102:5;28092;:16::i;:::-;28124:36;::::0;;;;;;;28147:5;;-1:-1:-1;;;;;28124:36:0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;28178:4:0::1;27978:212:::0;;;;;:::o;19465:151::-;-1:-1:-1;;;;;19581:18:0;;;19554:7;19581:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19465:151::o;665:106::-;753:10;665:106;:::o;25004:346::-;-1:-1:-1;;;;;25106:19:0;;25098:68;;;;-1:-1:-1;;;25098:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25185:21:0;;25177:68;;;;-1:-1:-1;;;25177:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25258:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25310:32;;;;;;;;;;;;;;;;;25004:346;;;:::o;24146:418::-;-1:-1:-1;;;;;24230:21:0;;24222:67;;;;-1:-1:-1;;;24222:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24302:49;24323:7;24340:1;24344:6;24302:20;:49::i;:::-;24385:68;24408:6;24385:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24385:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;24364:18:0;;:9;:18;;;;;;;;;;:89;24479:12;;:24;;24496:6;24479:16;:24::i;:::-;24464:12;:39;24519:37;;;;;;;;24545:1;;-1:-1:-1;;;;;24519:37:0;;;;;;;;;;;;24146:418;;:::o;22616:539::-;-1:-1:-1;;;;;22722:20:0;;22714:70;;;;-1:-1:-1;;;22714:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22803:23:0;;22795:71;;;;-1:-1:-1;;;22795:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22879:47;22900:6;22908:9;22919:6;22879:20;:47::i;:::-;22959:71;22981:6;22959:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22959:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;22939:17:0;;;:9;:17;;;;;;;;;;;:91;;;;23064:20;;;;;;;:32;;23089:6;23064:24;:32::i;:::-;-1:-1:-1;;;;;23041:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;23112:35;;;;;;;23041:20;;23112:35;;;;;;;;;;;;;22616:539;;;:::o;5658:192::-;5744:7;5780:12;5772:6;;;;5764:29;;;;-1:-1:-1;;;5764:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5816:5:0;;;5658:192::o;28517:116::-;28574:7;:17;;-1:-1:-1;;;;;;28574:17:0;;-1:-1:-1;;;;;28574:17:0;;;;;;;;;;;;28607:18;;;;-1:-1:-1;;28607:18:0;28517:116;:::o;4755:181::-;4813:7;4845:5;;;4869:6;;;;4861:46;;;;;-1:-1:-1;;;4861:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4927:1;4755:181;-1:-1:-1;;;4755:181:0:o;28202:193::-;28314:5;:3;:5::i;:::-;28286:24;28304:5;28286:13;:11;:13::i;:::-;:17;;:24::i;:::-;:33;;28278:71;;;;;-1:-1:-1;;;28278:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;28360:27;28372:7;28381:5;28360:11;:27::i;:::-;28202:193;;:::o;26375:92::-;;;;:::o;5219:136::-;5277:7;5304:43;5308:1;5311;5304:43;;;;;;;;;;;;;;;;;:3;:43::i;23436:378::-;-1:-1:-1;;;;;23520:21:0;;23512:65;;;;;-1:-1:-1;;;23512:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23590:49;23619:1;23623:7;23632:6;23590:20;:49::i;:::-;23667:12;;:24;;23684:6;23667:16;:24::i;:::-;23652:12;:39;-1:-1:-1;;;;;23723:18:0;;:9;:18;;;;;;;;;;;:30;;23746:6;23723:22;:30::i;:::-;-1:-1:-1;;;;;23702:18:0;;:9;:18;;;;;;;;;;;:51;;;;23769:37;;;;;;;23702:18;;:9;;23769:37;;;;;;;;;;23436:378;;:::o

Swarm Source

ipfs://68c388d33d6e9824fb770b9ed6e38768201c916eeffffad03ec4a0795dc4fd6c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Hedget is a decentralised protocol for options trading.

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.