MATIC Price: $1.02 (-2.96%)
Gas: 98 GWei
 

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

MATIC Value

$0.00

Sponsored

Transaction Hash
Method
Block
From
To
Value
Payout486741672023-10-13 16:00:59139 days 21 hrs ago1697212859IN
0x2b4cF5...60d36c2f
0 MATIC0.01876009103.81844711
Payout457857852023-08-01 16:00:43212 days 21 hrs ago1690905643IN
0x2b4cF5...60d36c2f
0 MATIC0.02052165113.56689651
Payout457058392023-07-30 16:00:32214 days 21 hrs ago1690732832IN
0x2b4cF5...60d36c2f
0 MATIC0.02175123120.37141041
Payout456657842023-07-29 16:00:41215 days 21 hrs ago1690646441IN
0x2b4cF5...60d36c2f
0 MATIC0.0163455790.45644906
Payout456255922023-07-28 16:00:43216 days 21 hrs ago1690560043IN
0x2b4cF5...60d36c2f
0 MATIC0.04615303255.411063
Payout455852692023-07-27 16:00:45217 days 21 hrs ago1690473645IN
0x2b4cF5...60d36c2f
0 MATIC0.06785593375.51496698
Payout455456222023-07-26 16:00:43218 days 21 hrs ago1690387243IN
0x2b4cF5...60d36c2f
0 MATIC0.01911812105.79978802
Payout455066182023-07-25 16:00:42219 days 21 hrs ago1690300842IN
0x2b4cF5...60d36c2f
0 MATIC0.01910342105.71842844
Payout454676632023-07-24 16:00:13220 days 21 hrs ago1690214413IN
0x2b4cF5...60d36c2f
0 MATIC0.02103049116.38284871
Payout454280372023-07-23 16:00:35221 days 21 hrs ago1690128035IN
0x2b4cF5...60d36c2f
0 MATIC0.02062615114.14524366
Payout453882932023-07-22 16:00:36222 days 21 hrs ago1690041636IN
0x2b4cF5...60d36c2f
0 MATIC0.0371915205.81794243
Payout453490432023-07-21 16:00:36223 days 21 hrs ago1689955236IN
0x2b4cF5...60d36c2f
0 MATIC0.0211591117.09458847
Payout453095052023-07-20 16:00:40224 days 21 hrs ago1689868840IN
0x2b4cF5...60d36c2f
0 MATIC0.02036183112.68245275
Payout452702872023-07-19 16:00:37225 days 21 hrs ago1689782437IN
0x2b4cF5...60d36c2f
0 MATIC0.04457407246.67310278
Payout452321462023-07-18 16:00:39226 days 21 hrs ago1689696039IN
0x2b4cF5...60d36c2f
0 MATIC0.02197682121.61981732
Payout451929242023-07-17 16:00:38227 days 21 hrs ago1689609638IN
0x2b4cF5...60d36c2f
0 MATIC0.0342502189.54078113
Payout451529282023-07-16 16:00:39228 days 21 hrs ago1689523239IN
0x2b4cF5...60d36c2f
0 MATIC0.02606584144.24850815
Payout451138842023-07-15 16:00:38229 days 21 hrs ago1689436838IN
0x2b4cF5...60d36c2f
0 MATIC0.02135824118.19662195
Payout450740332023-07-14 16:00:44230 days 21 hrs ago1689350444IN
0x2b4cF5...60d36c2f
0 MATIC0.04741047262.36972958
Payout450346402023-07-13 16:00:40231 days 21 hrs ago1689264040IN
0x2b4cF5...60d36c2f
0 MATIC0.09577154530.00011015
Payout450170252023-07-13 5:11:19232 days 8 hrs ago1689225079IN
0x2b4cF5...60d36c2f
0 MATIC0.02251419124.59363219
Payout449557812023-07-11 16:00:52233 days 21 hrs ago1689091252IN
0x2b4cF5...60d36c2f
0 MATIC0.02721097150.58561253
Payout449161802023-07-10 16:00:51234 days 21 hrs ago1689004851IN
0x2b4cF5...60d36c2f
0 MATIC0.02834963156.886971
Payout448762392023-07-09 16:00:48235 days 21 hrs ago1688918448IN
0x2b4cF5...60d36c2f
0 MATIC0.02303007127.44852151
Payout448363082023-07-08 16:00:51236 days 21 hrs ago1688832051IN
0x2b4cF5...60d36c2f
0 MATIC0.02192348121.324627
View all transactions

Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StarCommand_Control

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-11-04
*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

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

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

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/token/ERC20/extensions/draft-IERC20Permit.sol


// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;




/**
 * @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 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'
        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) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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


// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// File: @openzeppelin/contracts/utils/Counters.sol


// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: Star Stations/ambassador/AmbassadorStationControl.sol


/*

🅂🅃🄰🅁🅂🄴🄴🄳🅂
*/

pragma solidity ^0.8.13;

// Interface with the SpaceStation NFT contracts functions
abstract contract starCommandBridgeInterface {
    function safeMint(address account) virtual external returns (uint256);
    function transferOwnership(address newOwner) virtual external;
    function ownerOf(uint256 tokenId) virtual external view returns (address owner);
}
abstract contract starGovInterface {
    function mint(address to, uint256 amount) virtual external;
    function transferOwnership(address newOwner) virtual external;
}

contract StarCommand_Control is Context, Ownable{
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    uint256 public totalMinted = 0;                 // Total number of nfts minted. Used as a tracker for all space station classes and used for calculating station upgrades.
    uint256 public maxStations = 1000;              // Number of stations to be minted
    uint256 public totalPayout = 1000*10**18;       // The payout to all stations
    uint256 public stationPrice = 33*10**18;         // Price to mint a control station (intital price 33)
    address  starGov;                               //
    starGovInterface starGovContract;               // Interface to STARGOV contract
    address StarCommandBridgeAddress;               // Address of the nft contract
    starCommandBridgeInterface starCommandBridgeContract; // Interface to Stations NFT contract
    address star = 0x8440178087C4fd348D43d0205F4574e0348a06F0;     //
    address starDao = 0xBDCBD23316AAA2aDecA774e107868adCE38cC69E;  //
    address private _operator;
    string public URI = 'https://storageapi.fleek.co/aeb85deb-410a-4c50-8834-96486196b392-bucket/StarGov/StarCommandBridge.json';
    uint256 public counter = 0;
    mapping(uint256 => uint256) public lastPayout;
    uint256 paidOn;

    event MintNFT(address user, uint256 tokenId);
    
    modifier onlyOperator() {
        require(_operator == msg.sender || owner() == msg.sender, "Operator: caller is not the operator");
        _;
    }

    constructor(address _starGov,address _stationAddress,address operatorAddress) {
        starGov = _starGov;
        StarCommandBridgeAddress = _stationAddress;
        starCommandBridgeContract = starCommandBridgeInterface(StarCommandBridgeAddress);   //initialize an interface to Stations NFT contract
        starGovContract = starGovInterface(starGov);   //initialize an interface to Stations NFT contract
        _operator = operatorAddress;
        paidOn = block.timestamp;
    }

    // Mint requested NFT
    function mintNFT(address user) external returns(uint256){  
        require(totalMinted < maxStations-1,"Max Stations have been minted");
        uint256 burnAmount = (stationPrice.mul(15)).div(100); //calculate amount to burn
        (bool success) = IERC20(star).transferFrom(_msgSender(), starDao, stationPrice.sub(burnAmount));// Pay for the NFT
        require(success, "Payment failed.");                                                        // Ensure transfer completed successfully
        success = IERC20(star).transferFrom(_msgSender(),0x000000000000000000000000000000000000dEaD, burnAmount);                  // Burn the burn amount
        require(success, "Burn failed.");                                                           // Ensure transfer completed successfully
        uint256 tokenId = starCommandBridgeContract.safeMint(user);  // Mint the NFT
        totalMinted ++;                                         // Increase mint count by 1
        emit MintNFT(user, tokenId);                            // Emit MintNFT event with users address, token id, and class id
        lastPayout[tokenId] = paidOn;
        return tokenId;
    }

    // Allow for owner of stations contract change incase of new controller
    function setStationOwner(address newOwner)external onlyOperator {
        starCommandBridgeContract.transferOwnership(newOwner);                      // Set the owner for the Stations NFT Contract.
    }

    // Set the current operator wallet
    function setOperator(address operatorAddress)external onlyOwner{
        _operator = operatorAddress;
    }

    // payout reward to station owners
    function payout(uint256 numProcess) external {
        uint256 endCounter;                                            // create end variable
        if(counter+numProcess <= totalMinted-1){                         // check mend would be less or equal to the total stations
            endCounter = counter+numProcess;                           // set end station to be 50 past last station
        }
        else{                                                          // if end would be greater then total stations set to total stations
            endCounter = totalMinted-1;                                  // set to end at last station
        }
        for(uint256 x = counter; x <= endCounter; x++){                // cycle through a portion of stations
            if(lastPayout[x]+1 weeks <= block.timestamp){                   // Make sure its  been a week since lastpayout
                address currentOwner = starCommandBridgeContract.ownerOf(x);     // Get the current owner of the nft
                uint256 numWeeks = (block.timestamp.sub(lastPayout[x])).div(1 weeks); //get number of weeks since last reward
                uint256 reward = (totalPayout.div(totalMinted)).mul(numWeeks);  // Calculate the current payout
                starGovContract.mint(currentOwner,reward);                  // Mint tokens to the owner
                lastPayout[x] += block.timestamp;                     // update the last payout time for station
            }
        }
        if(endCounter == totalMinted-1){
            counter = 0;
            paidOn = block.timestamp;
        }
        else{
            counter = endCounter+1;
        }
    }

    // Set the max stations to mint.
    function setStationLimit(uint256 limit)external onlyOwner{
        maxStations = limit;
    }

    // Set the total Payout for all stations
    function setPayout(uint256 amount)external onlyOwner{
        totalPayout = amount;
    }

    // Set the purchase price for a Star Command Brdige NFT
    function setStationPrice (uint256 price)external onlyOwner{
        stationPrice = price;
    }

    function setStarGovOwner(address newOwner) external onlyOwner{
        starGovContract.transferOwnership(newOwner);                  // Mint tokens to the owner
    }

    function setStarAdress(address newAddress)external onlyOwner{
        star = newAddress;
    }
    function setStarDaoAdress(address newAddress)external onlyOwner{
        starDao = newAddress;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_starGov","type":"address"},{"internalType":"address","name":"_stationAddress","type":"address"},{"internalType":"address","name":"operatorAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintNFT","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"},{"inputs":[],"name":"URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lastPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxStations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"mintNFT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numProcess","type":"uint256"}],"name":"payout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operatorAddress","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setPayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setStarAdress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setStarDaoAdress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setStarGovOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"limit","type":"uint256"}],"name":"setStationLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setStationOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setStationPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stationPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006001556103e8600255683635c9adc5dea000006003556801c9f78d2893e40000600455738440178087c4fd348d43d0205f4574e0348a06f0600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bdcbd23316aaa2adeca774e107868adce38cc69e600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060a00160405280606681526020016200200960669139600c9081620000fd919062000635565b506000600d553480156200011057600080fd5b506040516200206f3803806200206f833981810160405281019062000136919062000786565b620001566200014a620002ef60201b60201c565b620002f760201b60201c565b82600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600f81905550505050620007e2565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200043d57607f821691505b602082108103620004535762000452620003f5565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004bd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200047e565b620004c986836200047e565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000516620005106200050a84620004e1565b620004eb565b620004e1565b9050919050565b6000819050919050565b6200053283620004f5565b6200054a62000541826200051d565b8484546200048b565b825550505050565b600090565b6200056162000552565b6200056e81848462000527565b505050565b5b8181101562000596576200058a60008262000557565b60018101905062000574565b5050565b601f821115620005e557620005af8162000459565b620005ba846200046e565b81016020851015620005ca578190505b620005e2620005d9856200046e565b83018262000573565b50505b505050565b600082821c905092915050565b60006200060a60001984600802620005ea565b1980831691505092915050565b6000620006258383620005f7565b9150826002028217905092915050565b6200064082620003bb565b67ffffffffffffffff8111156200065c576200065b620003c6565b5b62000668825462000424565b620006758282856200059a565b600060209050601f831160018114620006ad576000841562000698578287015190505b620006a4858262000617565b86555062000714565b601f198416620006bd8662000459565b60005b82811015620006e757848901518255600182019150602085019450602081019050620006c0565b8683101562000707578489015162000703601f891682620005f7565b8355505b6001600288020188555050505b505050505050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200074e8262000721565b9050919050565b620007608162000741565b81146200076c57600080fd5b50565b600081519050620007808162000755565b92915050565b600080600060608486031215620007a257620007a16200071c565b5b6000620007b2868287016200076f565b9350506020620007c5868287016200076f565b9250506040620007d8868287016200076f565b9150509250925092565b61181780620007f26000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063810a6402116100ad578063c05b518e11610071578063c05b518e146102e5578063c86e51ea14610315578063e115234314610331578063f222d8a81461034d578063f2fde38b146103695761012c565b8063810a64021461025557806381f2f83a146102715780638da5cb5b1461028d578063a2309ff8146102ab578063b3ab15fb146102c95761012c565b806354ba0f27116100f457806354ba0f27146101c557806361bc221a146101f557806367cd5d2414610213578063715018a61461022f578063715d0f8e146102395761012c565b80630da332ab146101315780631141d7de1461014f57806311984a481461016d57806344c18aa71461018b578063454f7b8f146101a7575b600080fd5b610139610385565b6040516101469190611003565b60405180910390f35b61015761038b565b60405161016491906110ae565b60405180910390f35b610175610419565b6040516101829190611003565b60405180910390f35b6101a560048036038101906101a09190611101565b61041f565b005b6101af610431565b6040516101bc9190611003565b60405180910390f35b6101df60048036038101906101da919061118c565b610437565b6040516101ec9190611003565b60405180910390f35b6101fd6107e0565b60405161020a9190611003565b60405180910390f35b61022d60048036038101906102289190611101565b6107e6565b005b6102376107f8565b005b610253600480360381019061024e919061118c565b61080c565b005b61026f600480360381019061026a919061118c565b610969565b005b61028b60048036038101906102869190611101565b610a01565b005b610295610a13565b6040516102a291906111c8565b60405180910390f35b6102b3610a3c565b6040516102c09190611003565b60405180910390f35b6102e360048036038101906102de919061118c565b610a42565b005b6102ff60048036038101906102fa9190611101565b610a8e565b60405161030c9190611003565b60405180910390f35b61032f600480360381019061032a919061118c565b610aa6565b005b61034b60048036038101906103469190611101565b610af2565b005b6103676004803603810190610362919061118c565b610d8f565b005b610383600480360381019061037e919061118c565b610ddb565b005b60045481565b600c805461039890611212565b80601f01602080910402602001604051908101604052809291908181526020018280546103c490611212565b80156104115780601f106103e657610100808354040283529160200191610411565b820191906000526020600020905b8154815290600101906020018083116103f457829003601f168201915b505050505081565b60025481565b610427610e5e565b8060038190555050565b60035481565b600060016002546104489190611272565b6001541061048b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610482906112f2565b60405180910390fd5b60006104b660646104a8600f600454610edc90919063ffffffff16565b610ef290919063ffffffff16565b90506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610500610f08565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661053886600454610f1090919063ffffffff16565b6040518463ffffffff1660e01b815260040161055693929190611312565b6020604051808303816000875af1158015610575573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105999190611381565b9050806105db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d2906113fa565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610621610f08565b61dead856040518463ffffffff1660e01b815260040161064393929190611312565b6020604051808303816000875af1158015610662573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106869190611381565b9050806106c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bf90611466565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340d097c3866040518263ffffffff1660e01b815260040161072591906111c8565b6020604051808303816000875af1158015610744573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610768919061149b565b90506001600081548092919061077d906114c8565b91905055507f1f89f147a58d1673945cf416187db98efc8208408c011b91887acd59fd8523c385826040516107b3929190611510565b60405180910390a1600f54600e600083815260200190815260200160002081905550809350505050919050565b600d5481565b6107ee610e5e565b8060028190555050565b610800610e5e565b61080a6000610f26565b565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061089a57503373ffffffffffffffffffffffffffffffffffffffff16610882610a13565b73ffffffffffffffffffffffffffffffffffffffff16145b6108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d0906115ab565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161093491906111c8565b600060405180830381600087803b15801561094e57600080fd5b505af1158015610962573d6000803e3d6000fd5b5050505050565b610971610e5e565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b81526004016109cc91906111c8565b600060405180830381600087803b1580156109e657600080fd5b505af11580156109fa573d6000803e3d6000fd5b5050505050565b610a09610e5e565b8060048190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015481565b610a4a610e5e565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e6020528060005260406000206000915090505481565b610aae610e5e565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060018054610b029190611272565b82600d54610b1091906115cb565b11610b2a5781600d54610b2391906115cb565b9050610b3b565b60018054610b389190611272565b90505b6000600d5490505b818111610d4e574262093a80600e600084815260200190815260200160002054610b6d91906115cb565b11610d3b576000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610bcf9190611003565b602060405180830381865afa158015610bec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c109190611614565b90506000610c4f62093a80610c41600e60008781526020019081526020016000205442610f1090919063ffffffff16565b610ef290919063ffffffff16565b90506000610c7c82610c6e600154600354610ef290919063ffffffff16565b610edc90919063ffffffff16565b9050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1984836040518363ffffffff1660e01b8152600401610cdb929190611510565b600060405180830381600087803b158015610cf557600080fd5b505af1158015610d09573d6000803e3d6000fd5b5050505042600e60008681526020019081526020016000206000828254610d3091906115cb565b925050819055505050505b8080610d46906114c8565b915050610b43565b5060018054610d5d9190611272565b8103610d77576000600d8190555042600f81905550610d8b565b600181610d8491906115cb565b600d819055505b5050565b610d97610e5e565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610de3610e5e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e49906116b3565b60405180910390fd5b610e5b81610f26565b50565b610e66610f08565b73ffffffffffffffffffffffffffffffffffffffff16610e84610a13565b73ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed19061171f565b60405180910390fd5b565b60008183610eea919061173f565b905092915050565b60008183610f0091906117b0565b905092915050565b600033905090565b60008183610f1e9190611272565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000819050919050565b610ffd81610fea565b82525050565b60006020820190506110186000830184610ff4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561105857808201518184015260208101905061103d565b60008484015250505050565b6000601f19601f8301169050919050565b60006110808261101e565b61108a8185611029565b935061109a81856020860161103a565b6110a381611064565b840191505092915050565b600060208201905081810360008301526110c88184611075565b905092915050565b600080fd5b6110de81610fea565b81146110e957600080fd5b50565b6000813590506110fb816110d5565b92915050565b600060208284031215611117576111166110d0565b5b6000611125848285016110ec565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111598261112e565b9050919050565b6111698161114e565b811461117457600080fd5b50565b60008135905061118681611160565b92915050565b6000602082840312156111a2576111a16110d0565b5b60006111b084828501611177565b91505092915050565b6111c28161114e565b82525050565b60006020820190506111dd60008301846111b9565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061122a57607f821691505b60208210810361123d5761123c6111e3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061127d82610fea565b915061128883610fea565b92508282039050818111156112a05761129f611243565b5b92915050565b7f4d61782053746174696f6e732068617665206265656e206d696e746564000000600082015250565b60006112dc601d83611029565b91506112e7826112a6565b602082019050919050565b6000602082019050818103600083015261130b816112cf565b9050919050565b600060608201905061132760008301866111b9565b61133460208301856111b9565b6113416040830184610ff4565b949350505050565b60008115159050919050565b61135e81611349565b811461136957600080fd5b50565b60008151905061137b81611355565b92915050565b600060208284031215611397576113966110d0565b5b60006113a58482850161136c565b91505092915050565b7f5061796d656e74206661696c65642e0000000000000000000000000000000000600082015250565b60006113e4600f83611029565b91506113ef826113ae565b602082019050919050565b60006020820190508181036000830152611413816113d7565b9050919050565b7f4275726e206661696c65642e0000000000000000000000000000000000000000600082015250565b6000611450600c83611029565b915061145b8261141a565b602082019050919050565b6000602082019050818103600083015261147f81611443565b9050919050565b600081519050611495816110d5565b92915050565b6000602082840312156114b1576114b06110d0565b5b60006114bf84828501611486565b91505092915050565b60006114d382610fea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361150557611504611243565b5b600182019050919050565b600060408201905061152560008301856111b9565b6115326020830184610ff4565b9392505050565b7f4f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b6000611595602483611029565b91506115a082611539565b604082019050919050565b600060208201905081810360008301526115c481611588565b9050919050565b60006115d682610fea565b91506115e183610fea565b92508282019050808211156115f9576115f8611243565b5b92915050565b60008151905061160e81611160565b92915050565b60006020828403121561162a576116296110d0565b5b6000611638848285016115ff565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061169d602683611029565b91506116a882611641565b604082019050919050565b600060208201905081810360008301526116cc81611690565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611709602083611029565b9150611714826116d3565b602082019050919050565b60006020820190508181036000830152611738816116fc565b9050919050565b600061174a82610fea565b915061175583610fea565b925082820261176381610fea565b9150828204841483151761177a57611779611243565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006117bb82610fea565b91506117c683610fea565b9250826117d6576117d5611781565b5b82820490509291505056fea26469706673582212209d98de3436cf9191b950f78713c44f80ca3e0ae14bf511e99a79e6c567591a1964736f6c6343000811003368747470733a2f2f73746f726167656170692e666c65656b2e636f2f61656238356465622d343130612d346335302d383833342d3936343836313936623339322d6275636b65742f53746172476f762f53746172436f6d6d616e644272696467652e6a736f6e0000000000000000000000007e5b16a8526fb238d11a7aeaa5b65e96c5c8fa9d0000000000000000000000009e0e40e4fc049df4ab73140900dbfe9b0245dbba0000000000000000000000001f42ad4c83ff23fd1a7bf5527fd74b731083cfab

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063810a6402116100ad578063c05b518e11610071578063c05b518e146102e5578063c86e51ea14610315578063e115234314610331578063f222d8a81461034d578063f2fde38b146103695761012c565b8063810a64021461025557806381f2f83a146102715780638da5cb5b1461028d578063a2309ff8146102ab578063b3ab15fb146102c95761012c565b806354ba0f27116100f457806354ba0f27146101c557806361bc221a146101f557806367cd5d2414610213578063715018a61461022f578063715d0f8e146102395761012c565b80630da332ab146101315780631141d7de1461014f57806311984a481461016d57806344c18aa71461018b578063454f7b8f146101a7575b600080fd5b610139610385565b6040516101469190611003565b60405180910390f35b61015761038b565b60405161016491906110ae565b60405180910390f35b610175610419565b6040516101829190611003565b60405180910390f35b6101a560048036038101906101a09190611101565b61041f565b005b6101af610431565b6040516101bc9190611003565b60405180910390f35b6101df60048036038101906101da919061118c565b610437565b6040516101ec9190611003565b60405180910390f35b6101fd6107e0565b60405161020a9190611003565b60405180910390f35b61022d60048036038101906102289190611101565b6107e6565b005b6102376107f8565b005b610253600480360381019061024e919061118c565b61080c565b005b61026f600480360381019061026a919061118c565b610969565b005b61028b60048036038101906102869190611101565b610a01565b005b610295610a13565b6040516102a291906111c8565b60405180910390f35b6102b3610a3c565b6040516102c09190611003565b60405180910390f35b6102e360048036038101906102de919061118c565b610a42565b005b6102ff60048036038101906102fa9190611101565b610a8e565b60405161030c9190611003565b60405180910390f35b61032f600480360381019061032a919061118c565b610aa6565b005b61034b60048036038101906103469190611101565b610af2565b005b6103676004803603810190610362919061118c565b610d8f565b005b610383600480360381019061037e919061118c565b610ddb565b005b60045481565b600c805461039890611212565b80601f01602080910402602001604051908101604052809291908181526020018280546103c490611212565b80156104115780601f106103e657610100808354040283529160200191610411565b820191906000526020600020905b8154815290600101906020018083116103f457829003601f168201915b505050505081565b60025481565b610427610e5e565b8060038190555050565b60035481565b600060016002546104489190611272565b6001541061048b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610482906112f2565b60405180910390fd5b60006104b660646104a8600f600454610edc90919063ffffffff16565b610ef290919063ffffffff16565b90506000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610500610f08565b600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1661053886600454610f1090919063ffffffff16565b6040518463ffffffff1660e01b815260040161055693929190611312565b6020604051808303816000875af1158015610575573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105999190611381565b9050806105db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105d2906113fa565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd610621610f08565b61dead856040518463ffffffff1660e01b815260040161064393929190611312565b6020604051808303816000875af1158015610662573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106869190611381565b9050806106c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106bf90611466565b60405180910390fd5b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340d097c3866040518263ffffffff1660e01b815260040161072591906111c8565b6020604051808303816000875af1158015610744573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610768919061149b565b90506001600081548092919061077d906114c8565b91905055507f1f89f147a58d1673945cf416187db98efc8208408c011b91887acd59fd8523c385826040516107b3929190611510565b60405180910390a1600f54600e600083815260200190815260200160002081905550809350505050919050565b600d5481565b6107ee610e5e565b8060028190555050565b610800610e5e565b61080a6000610f26565b565b3373ffffffffffffffffffffffffffffffffffffffff16600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16148061089a57503373ffffffffffffffffffffffffffffffffffffffff16610882610a13565b73ffffffffffffffffffffffffffffffffffffffff16145b6108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108d0906115ab565b60405180910390fd5b600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b815260040161093491906111c8565b600060405180830381600087803b15801561094e57600080fd5b505af1158015610962573d6000803e3d6000fd5b5050505050565b610971610e5e565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b81526004016109cc91906111c8565b600060405180830381600087803b1580156109e657600080fd5b505af11580156109fa573d6000803e3d6000fd5b5050505050565b610a09610e5e565b8060048190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60015481565b610a4a610e5e565b80600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e6020528060005260406000206000915090505481565b610aae610e5e565b80600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600060018054610b029190611272565b82600d54610b1091906115cb565b11610b2a5781600d54610b2391906115cb565b9050610b3b565b60018054610b389190611272565b90505b6000600d5490505b818111610d4e574262093a80600e600084815260200190815260200160002054610b6d91906115cb565b11610d3b576000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b8152600401610bcf9190611003565b602060405180830381865afa158015610bec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c109190611614565b90506000610c4f62093a80610c41600e60008781526020019081526020016000205442610f1090919063ffffffff16565b610ef290919063ffffffff16565b90506000610c7c82610c6e600154600354610ef290919063ffffffff16565b610edc90919063ffffffff16565b9050600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1984836040518363ffffffff1660e01b8152600401610cdb929190611510565b600060405180830381600087803b158015610cf557600080fd5b505af1158015610d09573d6000803e3d6000fd5b5050505042600e60008681526020019081526020016000206000828254610d3091906115cb565b925050819055505050505b8080610d46906114c8565b915050610b43565b5060018054610d5d9190611272565b8103610d77576000600d8190555042600f81905550610d8b565b600181610d8491906115cb565b600d819055505b5050565b610d97610e5e565b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610de3610e5e565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e49906116b3565b60405180910390fd5b610e5b81610f26565b50565b610e66610f08565b73ffffffffffffffffffffffffffffffffffffffff16610e84610a13565b73ffffffffffffffffffffffffffffffffffffffff1614610eda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed19061171f565b60405180910390fd5b565b60008183610eea919061173f565b905092915050565b60008183610f0091906117b0565b905092915050565b600033905090565b60008183610f1e9190611272565b905092915050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000819050919050565b610ffd81610fea565b82525050565b60006020820190506110186000830184610ff4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561105857808201518184015260208101905061103d565b60008484015250505050565b6000601f19601f8301169050919050565b60006110808261101e565b61108a8185611029565b935061109a81856020860161103a565b6110a381611064565b840191505092915050565b600060208201905081810360008301526110c88184611075565b905092915050565b600080fd5b6110de81610fea565b81146110e957600080fd5b50565b6000813590506110fb816110d5565b92915050565b600060208284031215611117576111166110d0565b5b6000611125848285016110ec565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006111598261112e565b9050919050565b6111698161114e565b811461117457600080fd5b50565b60008135905061118681611160565b92915050565b6000602082840312156111a2576111a16110d0565b5b60006111b084828501611177565b91505092915050565b6111c28161114e565b82525050565b60006020820190506111dd60008301846111b9565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061122a57607f821691505b60208210810361123d5761123c6111e3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061127d82610fea565b915061128883610fea565b92508282039050818111156112a05761129f611243565b5b92915050565b7f4d61782053746174696f6e732068617665206265656e206d696e746564000000600082015250565b60006112dc601d83611029565b91506112e7826112a6565b602082019050919050565b6000602082019050818103600083015261130b816112cf565b9050919050565b600060608201905061132760008301866111b9565b61133460208301856111b9565b6113416040830184610ff4565b949350505050565b60008115159050919050565b61135e81611349565b811461136957600080fd5b50565b60008151905061137b81611355565b92915050565b600060208284031215611397576113966110d0565b5b60006113a58482850161136c565b91505092915050565b7f5061796d656e74206661696c65642e0000000000000000000000000000000000600082015250565b60006113e4600f83611029565b91506113ef826113ae565b602082019050919050565b60006020820190508181036000830152611413816113d7565b9050919050565b7f4275726e206661696c65642e0000000000000000000000000000000000000000600082015250565b6000611450600c83611029565b915061145b8261141a565b602082019050919050565b6000602082019050818103600083015261147f81611443565b9050919050565b600081519050611495816110d5565b92915050565b6000602082840312156114b1576114b06110d0565b5b60006114bf84828501611486565b91505092915050565b60006114d382610fea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361150557611504611243565b5b600182019050919050565b600060408201905061152560008301856111b9565b6115326020830184610ff4565b9392505050565b7f4f70657261746f723a2063616c6c6572206973206e6f7420746865206f70657260008201527f61746f7200000000000000000000000000000000000000000000000000000000602082015250565b6000611595602483611029565b91506115a082611539565b604082019050919050565b600060208201905081810360008301526115c481611588565b9050919050565b60006115d682610fea565b91506115e183610fea565b92508282019050808211156115f9576115f8611243565b5b92915050565b60008151905061160e81611160565b92915050565b60006020828403121561162a576116296110d0565b5b6000611638848285016115ff565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061169d602683611029565b91506116a882611641565b604082019050919050565b600060208201905081810360008301526116cc81611690565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000611709602083611029565b9150611714826116d3565b602082019050919050565b60006020820190508181036000830152611738816116fc565b9050919050565b600061174a82610fea565b915061175583610fea565b925082820261176381610fea565b9150828204841483151761177a57611779611243565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006117bb82610fea565b91506117c683610fea565b9250826117d6576117d5611781565b5b82820490509291505056fea26469706673582212209d98de3436cf9191b950f78713c44f80ca3e0ae14bf511e99a79e6c567591a1964736f6c63430008110033

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

0000000000000000000000007e5b16a8526fb238d11a7aeaa5b65e96c5c8fa9d0000000000000000000000009e0e40e4fc049df4ab73140900dbfe9b0245dbba0000000000000000000000001f42ad4c83ff23fd1a7bf5527fd74b731083cfab

-----Decoded View---------------
Arg [0] : _starGov (address): 0x7E5b16a8526Fb238d11a7aeAa5b65e96C5C8fA9d
Arg [1] : _stationAddress (address): 0x9e0E40e4Fc049df4Ab73140900DBfE9b0245DbbA
Arg [2] : operatorAddress (address): 0x1f42Ad4C83ff23fD1a7bf5527FD74B731083cFaB

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007e5b16a8526fb238d11a7aeaa5b65e96c5c8fa9d
Arg [1] : 0000000000000000000000009e0e40e4fc049df4ab73140900dbfe9b0245dbba
Arg [2] : 0000000000000000000000001f42ad4c83ff23fd1a7bf5527fd74b731083cfab


Deployed Bytecode Sourcemap

31096:6255:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31566:39;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32171:124;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31395:33;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36703:91;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;31483:40;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33154:1174;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;32302:26;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;36554:95;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29616:103;;;:::i;:::-;;34413:205;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;36968:168;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;36863:97;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;28968:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;31219:30;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;34666:109;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;32335:45;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;37246:102;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;34823:1685;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;37144:96;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;29874:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;31566:39;;;;:::o;32171:124::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31395:33::-;;;;:::o;36703:91::-;28854:13;:11;:13::i;:::-;36780:6:::1;36766:11;:20;;;;36703:91:::0;:::o;31483:40::-;;;;:::o;33154:1174::-;33202:7;33257:1;33245:11;;:13;;;;:::i;:::-;33231:11;;:27;33223:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;33302:18;33323:31;33350:3;33324:20;33341:2;33324:12;;:16;;:20;;;;:::i;:::-;33323:26;;:31;;;;:::i;:::-;33302:52;;33393:12;33416:4;;;;;;;;;;;33409:25;;;33435:12;:10;:12::i;:::-;33449:7;;;;;;;;;;;33458:28;33475:10;33458:12;;:16;;:28;;;;:::i;:::-;33409:78;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33392:95;;33524:7;33516:35;;;;;;;;;;;;:::i;:::-;;;;;;;;;33676:4;;;;;;;;;;;33669:25;;;33695:12;:10;:12::i;:::-;33708:42;33752:10;33669:94;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33659:104;;33823:7;33815:32;;;;;;;;;;;;:::i;:::-;;;;;;;;;33958:15;33976:25;;;;;;;;;;;:34;;;34011:4;33976:40;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;33958:58;;34044:11;;:14;;;;;;;;;:::i;:::-;;;;;;34142:22;34150:4;34156:7;34142:22;;;;;;;:::i;:::-;;;;;;;;34289:6;;34267:10;:19;34278:7;34267:19;;;;;;;;;;;:28;;;;34313:7;34306:14;;;;;33154:1174;;;:::o;32302:26::-;;;;:::o;36554:95::-;28854:13;:11;:13::i;:::-;36636:5:::1;36622:11;:19;;;;36554:95:::0;:::o;29616:103::-;28854:13;:11;:13::i;:::-;29681:30:::1;29708:1;29681:18;:30::i;:::-;29616:103::o:0;34413:205::-;32523:10;32510:23;;:9;;;;;;;;;;;:23;;;:48;;;;32548:10;32537:21;;:7;:5;:7::i;:::-;:21;;;32510:48;32502:97;;;;;;;;;;;;:::i;:::-;;;;;;;;;34488:25:::1;;;;;;;;;;;:43;;;34532:8;34488:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;34413:205:::0;:::o;36968:168::-;28854:13;:11;:13::i;:::-;37040:15:::1;;;;;;;;;;;:33;;;37074:8;37040:43;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;36968:168:::0;:::o;36863:97::-;28854:13;:11;:13::i;:::-;36947:5:::1;36932:12;:20;;;;36863:97:::0;:::o;28968:87::-;29014:7;29041:6;;;;;;;;;;;29034:13;;28968:87;:::o;31219:30::-;;;;:::o;34666:109::-;28854:13;:11;:13::i;:::-;34752:15:::1;34740:9;;:27;;;;;;;;;;;;;;;;;;34666:109:::0;:::o;32335:45::-;;;;;;;;;;;;;;;;;:::o;37246:102::-;28854:13;:11;:13::i;:::-;37330:10:::1;37320:7;;:20;;;;;;;;;;;;;;;;;;37246:102:::0;:::o;34823:1685::-;34879:18;35011:1;34999:11;;:13;;;;:::i;:::-;34985:10;34977:7;;:18;;;;:::i;:::-;:35;34974:508;;35132:10;35124:7;;:18;;;;:::i;:::-;35111:31;;34974:508;;;35406:1;35394:11;;:13;;;;:::i;:::-;35381:26;;34974:508;35496:9;35508:7;;35496:19;;35492:828;35522:10;35517:1;:15;35492:828;;35635:15;35624:7;35610:10;:13;35621:1;35610:13;;;;;;;;;;;;:21;;;;:::i;:::-;:40;35607:702;;35735:20;35758:25;;;;;;;;;;;:33;;;35792:1;35758:36;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;35735:59;;35853:16;35872:49;35913:7;35873:34;35893:10;:13;35904:1;35893:13;;;;;;;;;;;;35873:15;:19;;:34;;;;:::i;:::-;35872:40;;:49;;;;:::i;:::-;35853:68;;35980:14;35997:44;36032:8;35998:28;36014:11;;35998;;:15;;:28;;;;:::i;:::-;35997:34;;:44;;;;:::i;:::-;35980:61;;36093:15;;;;;;;;;;;:20;;;36114:12;36127:6;36093:41;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36215:15;36198:10;:13;36209:1;36198:13;;;;;;;;;;;;:32;;;;;;;:::i;:::-;;;;;;;;35651:658;;;35607:702;35534:3;;;;;:::i;:::-;;;;35492:828;;;;36359:1;36347:11;;:13;;;;:::i;:::-;36333:10;:27;36330:171;;36386:1;36376:7;:11;;;;36411:15;36402:6;:24;;;;36330:171;;;36488:1;36477:10;:12;;;;:::i;:::-;36467:7;:22;;;;36330:171;34868:1640;34823:1685;:::o;37144:96::-;28854:13;:11;:13::i;:::-;37222:10:::1;37215:4;;:17;;;;;;;;;;;;;;;;;;37144:96:::0;:::o;29874:201::-;28854:13;:11;:13::i;:::-;29983:1:::1;29963:22;;:8;:22;;::::0;29955:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;30039:28;30058:8;30039:18;:28::i;:::-;29874:201:::0;:::o;29133:132::-;29208:12;:10;:12::i;:::-;29197:23;;:7;:5;:7::i;:::-;:23;;;29189:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;29133:132::o;21948:98::-;22006:7;22037:1;22033;:5;;;;:::i;:::-;22026:12;;21948:98;;;;:::o;22347:::-;22405:7;22436:1;22432;:5;;;;:::i;:::-;22425:12;;22347:98;;;;:::o;27519:::-;27572:7;27599:10;27592:17;;27519:98;:::o;21591:::-;21649:7;21680:1;21676;:5;;;;:::i;:::-;21669:12;;21591:98;;;;:::o;30235:191::-;30309:16;30328:6;;;;;;;;;;;30309:25;;30354:8;30345:6;;:17;;;;;;;;;;;;;;;;;;30409:8;30378:40;;30399:8;30378:40;;;;;;;;;;;;30298:128;30235:191;:::o;7:77:1:-;44:7;73:5;62:16;;7:77;;;:::o;90:118::-;177:24;195:5;177:24;:::i;:::-;172:3;165:37;90:118;;:::o;214:222::-;307:4;345:2;334:9;330:18;322:26;;358:71;426:1;415:9;411:17;402:6;358:71;:::i;:::-;214:222;;;;:::o;442:99::-;494:6;528:5;522:12;512:22;;442:99;;;:::o;547:169::-;631:11;665:6;660:3;653:19;705:4;700:3;696:14;681:29;;547:169;;;;:::o;722:246::-;803:1;813:113;827:6;824:1;821:13;813:113;;;912:1;907:3;903:11;897:18;893:1;888:3;884:11;877:39;849:2;846:1;842:10;837:15;;813:113;;;960:1;951:6;946:3;942:16;935:27;784:184;722:246;;;:::o;974:102::-;1015:6;1066:2;1062:7;1057:2;1050:5;1046:14;1042:28;1032:38;;974:102;;;:::o;1082:377::-;1170:3;1198:39;1231:5;1198:39;:::i;:::-;1253:71;1317:6;1312:3;1253:71;:::i;:::-;1246:78;;1333:65;1391:6;1386:3;1379:4;1372:5;1368:16;1333:65;:::i;:::-;1423:29;1445:6;1423:29;:::i;:::-;1418:3;1414:39;1407:46;;1174:285;1082:377;;;;:::o;1465:313::-;1578:4;1616:2;1605:9;1601:18;1593:26;;1665:9;1659:4;1655:20;1651:1;1640:9;1636:17;1629:47;1693:78;1766:4;1757:6;1693:78;:::i;:::-;1685:86;;1465:313;;;;:::o;1865:117::-;1974:1;1971;1964:12;2111:122;2184:24;2202:5;2184:24;:::i;:::-;2177:5;2174:35;2164:63;;2223:1;2220;2213:12;2164:63;2111:122;:::o;2239:139::-;2285:5;2323:6;2310:20;2301:29;;2339:33;2366:5;2339:33;:::i;:::-;2239:139;;;;:::o;2384:329::-;2443:6;2492:2;2480:9;2471:7;2467:23;2463:32;2460:119;;;2498:79;;:::i;:::-;2460:119;2618:1;2643:53;2688:7;2679:6;2668:9;2664:22;2643:53;:::i;:::-;2633:63;;2589:117;2384:329;;;;:::o;2719:126::-;2756:7;2796:42;2789:5;2785:54;2774:65;;2719:126;;;:::o;2851:96::-;2888:7;2917:24;2935:5;2917:24;:::i;:::-;2906:35;;2851:96;;;:::o;2953:122::-;3026:24;3044:5;3026:24;:::i;:::-;3019:5;3016:35;3006:63;;3065:1;3062;3055:12;3006:63;2953:122;:::o;3081:139::-;3127:5;3165:6;3152:20;3143:29;;3181:33;3208:5;3181:33;:::i;:::-;3081:139;;;;:::o;3226:329::-;3285:6;3334:2;3322:9;3313:7;3309:23;3305:32;3302:119;;;3340:79;;:::i;:::-;3302:119;3460:1;3485:53;3530:7;3521:6;3510:9;3506:22;3485:53;:::i;:::-;3475:63;;3431:117;3226:329;;;;:::o;3561:118::-;3648:24;3666:5;3648:24;:::i;:::-;3643:3;3636:37;3561:118;;:::o;3685:222::-;3778:4;3816:2;3805:9;3801:18;3793:26;;3829:71;3897:1;3886:9;3882:17;3873:6;3829:71;:::i;:::-;3685:222;;;;:::o;3913:180::-;3961:77;3958:1;3951:88;4058:4;4055:1;4048:15;4082:4;4079:1;4072:15;4099:320;4143:6;4180:1;4174:4;4170:12;4160:22;;4227:1;4221:4;4217:12;4248:18;4238:81;;4304:4;4296:6;4292:17;4282:27;;4238:81;4366:2;4358:6;4355:14;4335:18;4332:38;4329:84;;4385:18;;:::i;:::-;4329:84;4150:269;4099:320;;;:::o;4425:180::-;4473:77;4470:1;4463:88;4570:4;4567:1;4560:15;4594:4;4591:1;4584:15;4611:194;4651:4;4671:20;4689:1;4671:20;:::i;:::-;4666:25;;4705:20;4723:1;4705:20;:::i;:::-;4700:25;;4749:1;4746;4742:9;4734:17;;4773:1;4767:4;4764:11;4761:37;;;4778:18;;:::i;:::-;4761:37;4611:194;;;;:::o;4811:179::-;4951:31;4947:1;4939:6;4935:14;4928:55;4811:179;:::o;4996:366::-;5138:3;5159:67;5223:2;5218:3;5159:67;:::i;:::-;5152:74;;5235:93;5324:3;5235:93;:::i;:::-;5353:2;5348:3;5344:12;5337:19;;4996:366;;;:::o;5368:419::-;5534:4;5572:2;5561:9;5557:18;5549:26;;5621:9;5615:4;5611:20;5607:1;5596:9;5592:17;5585:47;5649:131;5775:4;5649:131;:::i;:::-;5641:139;;5368:419;;;:::o;5793:442::-;5942:4;5980:2;5969:9;5965:18;5957:26;;5993:71;6061:1;6050:9;6046:17;6037:6;5993:71;:::i;:::-;6074:72;6142:2;6131:9;6127:18;6118:6;6074:72;:::i;:::-;6156;6224:2;6213:9;6209:18;6200:6;6156:72;:::i;:::-;5793:442;;;;;;:::o;6241:90::-;6275:7;6318:5;6311:13;6304:21;6293:32;;6241:90;;;:::o;6337:116::-;6407:21;6422:5;6407:21;:::i;:::-;6400:5;6397:32;6387:60;;6443:1;6440;6433:12;6387:60;6337:116;:::o;6459:137::-;6513:5;6544:6;6538:13;6529:22;;6560:30;6584:5;6560:30;:::i;:::-;6459:137;;;;:::o;6602:345::-;6669:6;6718:2;6706:9;6697:7;6693:23;6689:32;6686:119;;;6724:79;;:::i;:::-;6686:119;6844:1;6869:61;6922:7;6913:6;6902:9;6898:22;6869:61;:::i;:::-;6859:71;;6815:125;6602:345;;;;:::o;6953:165::-;7093:17;7089:1;7081:6;7077:14;7070:41;6953:165;:::o;7124:366::-;7266:3;7287:67;7351:2;7346:3;7287:67;:::i;:::-;7280:74;;7363:93;7452:3;7363:93;:::i;:::-;7481:2;7476:3;7472:12;7465:19;;7124:366;;;:::o;7496:419::-;7662:4;7700:2;7689:9;7685:18;7677:26;;7749:9;7743:4;7739:20;7735:1;7724:9;7720:17;7713:47;7777:131;7903:4;7777:131;:::i;:::-;7769:139;;7496:419;;;:::o;7921:162::-;8061:14;8057:1;8049:6;8045:14;8038:38;7921:162;:::o;8089:366::-;8231:3;8252:67;8316:2;8311:3;8252:67;:::i;:::-;8245:74;;8328:93;8417:3;8328:93;:::i;:::-;8446:2;8441:3;8437:12;8430:19;;8089:366;;;:::o;8461:419::-;8627:4;8665:2;8654:9;8650:18;8642:26;;8714:9;8708:4;8704:20;8700:1;8689:9;8685:17;8678:47;8742:131;8868:4;8742:131;:::i;:::-;8734:139;;8461:419;;;:::o;8886:143::-;8943:5;8974:6;8968:13;8959:22;;8990:33;9017:5;8990:33;:::i;:::-;8886:143;;;;:::o;9035:351::-;9105:6;9154:2;9142:9;9133:7;9129:23;9125:32;9122:119;;;9160:79;;:::i;:::-;9122:119;9280:1;9305:64;9361:7;9352:6;9341:9;9337:22;9305:64;:::i;:::-;9295:74;;9251:128;9035:351;;;;:::o;9392:233::-;9431:3;9454:24;9472:5;9454:24;:::i;:::-;9445:33;;9500:66;9493:5;9490:77;9487:103;;9570:18;;:::i;:::-;9487:103;9617:1;9610:5;9606:13;9599:20;;9392:233;;;:::o;9631:332::-;9752:4;9790:2;9779:9;9775:18;9767:26;;9803:71;9871:1;9860:9;9856:17;9847:6;9803:71;:::i;:::-;9884:72;9952:2;9941:9;9937:18;9928:6;9884:72;:::i;:::-;9631:332;;;;;:::o;9969:223::-;10109:34;10105:1;10097:6;10093:14;10086:58;10178:6;10173:2;10165:6;10161:15;10154:31;9969:223;:::o;10198:366::-;10340:3;10361:67;10425:2;10420:3;10361:67;:::i;:::-;10354:74;;10437:93;10526:3;10437:93;:::i;:::-;10555:2;10550:3;10546:12;10539:19;;10198:366;;;:::o;10570:419::-;10736:4;10774:2;10763:9;10759:18;10751:26;;10823:9;10817:4;10813:20;10809:1;10798:9;10794:17;10787:47;10851:131;10977:4;10851:131;:::i;:::-;10843:139;;10570:419;;;:::o;10995:191::-;11035:3;11054:20;11072:1;11054:20;:::i;:::-;11049:25;;11088:20;11106:1;11088:20;:::i;:::-;11083:25;;11131:1;11128;11124:9;11117:16;;11152:3;11149:1;11146:10;11143:36;;;11159:18;;:::i;:::-;11143:36;10995:191;;;;:::o;11192:143::-;11249:5;11280:6;11274:13;11265:22;;11296:33;11323:5;11296:33;:::i;:::-;11192:143;;;;:::o;11341:351::-;11411:6;11460:2;11448:9;11439:7;11435:23;11431:32;11428:119;;;11466:79;;:::i;:::-;11428:119;11586:1;11611:64;11667:7;11658:6;11647:9;11643:22;11611:64;:::i;:::-;11601:74;;11557:128;11341:351;;;;:::o;11698:225::-;11838:34;11834:1;11826:6;11822:14;11815:58;11907:8;11902:2;11894:6;11890:15;11883:33;11698:225;:::o;11929:366::-;12071:3;12092:67;12156:2;12151:3;12092:67;:::i;:::-;12085:74;;12168:93;12257:3;12168:93;:::i;:::-;12286:2;12281:3;12277:12;12270:19;;11929:366;;;:::o;12301:419::-;12467:4;12505:2;12494:9;12490:18;12482:26;;12554:9;12548:4;12544:20;12540:1;12529:9;12525:17;12518:47;12582:131;12708:4;12582:131;:::i;:::-;12574:139;;12301:419;;;:::o;12726:182::-;12866:34;12862:1;12854:6;12850:14;12843:58;12726:182;:::o;12914:366::-;13056:3;13077:67;13141:2;13136:3;13077:67;:::i;:::-;13070:74;;13153:93;13242:3;13153:93;:::i;:::-;13271:2;13266:3;13262:12;13255:19;;12914:366;;;:::o;13286:419::-;13452:4;13490:2;13479:9;13475:18;13467:26;;13539:9;13533:4;13529:20;13525:1;13514:9;13510:17;13503:47;13567:131;13693:4;13567:131;:::i;:::-;13559:139;;13286:419;;;:::o;13711:410::-;13751:7;13774:20;13792:1;13774:20;:::i;:::-;13769:25;;13808:20;13826:1;13808:20;:::i;:::-;13803:25;;13863:1;13860;13856:9;13885:30;13903:11;13885:30;:::i;:::-;13874:41;;14064:1;14055:7;14051:15;14048:1;14045:22;14025:1;14018:9;13998:83;13975:139;;14094:18;;:::i;:::-;13975:139;13759:362;13711:410;;;;:::o;14127:180::-;14175:77;14172:1;14165:88;14272:4;14269:1;14262:15;14296:4;14293:1;14286:15;14313:185;14353:1;14370:20;14388:1;14370:20;:::i;:::-;14365:25;;14404:20;14422:1;14404:20;:::i;:::-;14399:25;;14443:1;14433:35;;14448:18;;:::i;:::-;14433:35;14490:1;14487;14483:9;14478:14;;14313:185;;;;:::o

Swarm Source

ipfs://9d98de3436cf9191b950f78713c44f80ca3e0ae14bf511e99a79e6c567591a19

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.