GLMR Price: $0.133067 (-4.27%)

Contract

0x041733003D4791C686ff6A5bd848c5D3B48759b9

Overview

GLMR Balance

Moonbeam Chain LogoMoonbeam Chain LogoMoonbeam Chain Logo0 GLMR

GLMR Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
End Game95832482025-02-12 3:43:481 hr ago1739331828IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95832202025-02-12 3:41:061 hr ago1739331666IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95831952025-02-12 3:38:181 hr ago1739331498IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95831722025-02-12 3:35:421 hr ago1739331342IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95831452025-02-12 3:33:001 hr ago1739331180IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95831172025-02-12 3:30:121 hr ago1739331012IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95830912025-02-12 3:27:361 hr ago1739330856IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95830642025-02-12 3:24:541 hr ago1739330694IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95830362025-02-12 3:22:061 hr ago1739330526IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95830072025-02-12 3:19:121 hr ago1739330352IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95829942025-02-12 3:17:541 hr ago1739330274IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95829652025-02-12 3:15:001 hr ago1739330100IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95829382025-02-12 3:12:181 hr ago1739329938IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95829122025-02-12 3:09:421 hr ago1739329782IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95820512025-02-12 1:42:243 hrs ago1739324544IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95820402025-02-12 1:41:183 hrs ago1739324478IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95820292025-02-12 1:40:123 hrs ago1739324412IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95820172025-02-12 1:39:003 hrs ago1739324340IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95820042025-02-12 1:37:423 hrs ago1739324262IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95819912025-02-12 1:36:243 hrs ago1739324184IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95819872025-02-12 1:36:003 hrs ago1739324160IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95819662025-02-12 1:33:543 hrs ago1739324034IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95819582025-02-12 1:33:063 hrs ago1739323986IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95819422025-02-12 1:31:303 hrs ago1739323890IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
End Game95819312025-02-12 1:30:243 hrs ago1739323824IN
0x04173300...3B48759b9
0 GLMR0.000845732.75
View all transactions

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TGE

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
File 1 of 3 : tgeDuplicate.sol
// SPDX-License-Identifier: SEE LICENSE IN LICENSE
pragma solidity ^0.8.2;

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

contract TGE is Ownable {

    constructor() Ownable(msg.sender) {}

    event GameOver(address indexed user_address, uint256 score, uint256 timestamp);

    function endGame(address playerAddress, uint256 score) external onlyOwner {
        emit GameOver(playerAddress, score, block.timestamp);
    }
}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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 3 of 3 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user_address","type":"address"},{"indexed":false,"internalType":"uint256","name":"score","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"GameOver","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":[{"internalType":"address","name":"playerAddress","type":"address"},{"internalType":"uint256","name":"score","type":"uint256"}],"name":"endGame","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561000f575f80fd5b50338061003557604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61003e81610044565b50610093565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610254806100a05f395ff3fe608060405234801561000f575f80fd5b506004361061004a575f3560e01c8063715018a61461004e5780638da5cb5b14610058578063ab747b6414610076578063f2fde38b14610089575b5f80fd5b61005661009c565b005b5f54604080516001600160a01b039092168252519081900360200190f35b6100566100843660046101d6565b6100af565b6100566100973660046101fe565b6100fe565b6100a4610140565b6100ad5f61016c565b565b6100b7610140565b604080518281524260208201526001600160a01b038416917f1b50c41f317db3fa7a72dc1c0120e446244a20ada93b3bbbe43b7197b9c68d74910160405180910390a25050565b610106610140565b6001600160a01b03811661013457604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61013d8161016c565b50565b5f546001600160a01b031633146100ad5760405163118cdaa760e01b815233600482015260240161012b565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146101d1575f80fd5b919050565b5f80604083850312156101e7575f80fd5b6101f0836101bb565b946020939093013593505050565b5f6020828403121561020e575f80fd5b610217826101bb565b939250505056fea26469706673582212208bfa9ed826f0dce4c0c7075a84ba820851289b48fee1ae92c907211996404b0c64736f6c63430008140033

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061004a575f3560e01c8063715018a61461004e5780638da5cb5b14610058578063ab747b6414610076578063f2fde38b14610089575b5f80fd5b61005661009c565b005b5f54604080516001600160a01b039092168252519081900360200190f35b6100566100843660046101d6565b6100af565b6100566100973660046101fe565b6100fe565b6100a4610140565b6100ad5f61016c565b565b6100b7610140565b604080518281524260208201526001600160a01b038416917f1b50c41f317db3fa7a72dc1c0120e446244a20ada93b3bbbe43b7197b9c68d74910160405180910390a25050565b610106610140565b6001600160a01b03811661013457604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61013d8161016c565b50565b5f546001600160a01b031633146100ad5760405163118cdaa760e01b815233600482015260240161012b565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146101d1575f80fd5b919050565b5f80604083850312156101e7575f80fd5b6101f0836101bb565b946020939093013593505050565b5f6020828403121561020e575f80fd5b610217826101bb565b939250505056fea26469706673582212208bfa9ed826f0dce4c0c7075a84ba820851289b48fee1ae92c907211996404b0c64736f6c63430008140033

Deployed Bytecode Sourcemap

130:303:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2293:101:0;;;:::i;:::-;;1638:85;1684:7;1710:6;1638:85;;;-1:-1:-1;;;;;1710:6:0;;;160:51:3;;1638:85:0;;;;;148:2:3;1638:85:0;;;288:143:2;;;;;;:::i;:::-;;:::i;2543:215:0:-;;;;;;:::i;:::-;;:::i;2293:101::-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;288:143:2:-;1531:13:0;:11;:13::i;:::-;377:47:2::1;::::0;;1024:25:3;;;408:15:2::1;1080:2:3::0;1065:18;;1058:34;-1:-1:-1;;;;;377:47:2;::::1;::::0;::::1;::::0;997:18:3;377:47:2::1;;;;;;;288:143:::0;;:::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;160:51:3::0;133:18;;2672:31:0::1;;;;;;;;2623:91;2723:28;2742:8;2723:18;:28::i;:::-;2543:215:::0;:::o;1796:162::-;1684:7;1710:6;-1:-1:-1;;;;;1710:6:0;735:10:1;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;735:10:1;1901:40:0;;;160:51:3;133:18;;1901:40:0;14:203:3;2912:187:0;2985:16;3004:6;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;3052:40;;3004:6;;;;;;;3052:40;;2985:16;3052:40;2975:124;2912:187;:::o;222:173:3:-;290:20;;-1:-1:-1;;;;;339:31:3;;329:42;;319:70;;385:1;382;375:12;319:70;222:173;;;:::o;400:254::-;468:6;476;529:2;517:9;508:7;504:23;500:32;497:52;;;545:1;542;535:12;497:52;568:29;587:9;568:29;:::i;:::-;558:39;644:2;629:18;;;;616:32;;-1:-1:-1;;;400:254:3:o;659:186::-;718:6;771:2;759:9;750:7;746:23;742:32;739:52;;;787:1;784;777:12;739:52;810:29;829:9;810:29;:::i;:::-;800:39;659:186;-1:-1:-1;;;659:186:3:o

Swarm Source

ipfs://8bfa9ed826f0dce4c0c7075a84ba820851289b48fee1ae92c907211996404b0c

Block Transaction Gas Used Reward
view all blocks collator

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

Validator Index Block Amount
View All Withdrawals

Transaction 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.