Source Code
Latest 25 from a total of 158,307 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| End Game | 14221508 | 16 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221482 | 16 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221373 | 16 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221167 | 16 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221142 | 16 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221130 | 16 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221115 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221106 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221080 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221072 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221054 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221050 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14221038 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14220974 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14220945 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14220924 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14220885 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14220858 | 17 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14220250 | 18 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14219743 | 19 hrs ago | IN | 0 GLMR | 0.00084531 | ||||
| End Game | 14219394 | 20 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14218379 | 22 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14218250 | 22 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14218217 | 22 hrs ago | IN | 0 GLMR | 0.0008457 | ||||
| End Game | 14218191 | 22 hrs ago | IN | 0 GLMR | 0.00084531 |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
TGE
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity Standard Json-Input format)
// 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);
}
}// 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);
}
}// 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;
}
}{
"optimizer": {
"enabled": true,
"runs": 200
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"remappings": []
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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"}]Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in GLMR
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.