Source Code
Latest 25 from a total of 160 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 21200287 | 457 days ago | IN | 0 ETH | 0.00032317 | ||||
| Deposit | 17922735 | 915 days ago | IN | 0.025 ETH | 0.00082791 | ||||
| Deposit | 17922655 | 915 days ago | IN | 0.025 ETH | 0.00085375 | ||||
| Withdraw | 17662764 | 952 days ago | IN | 0 ETH | 0.00041495 | ||||
| Deposit | 17623336 | 957 days ago | IN | 0.025 ETH | 0.00125246 | ||||
| Deposit | 17593375 | 962 days ago | IN | 0.025 ETH | 0.00078036 | ||||
| Deposit | 17587275 | 962 days ago | IN | 0.025 ETH | 0.00109928 | ||||
| Deposit | 17561326 | 966 days ago | IN | 0.025 ETH | 0.00030756 | ||||
| Deposit | 17561303 | 966 days ago | IN | 0.025 ETH | 0.00047947 | ||||
| Deposit | 17561267 | 966 days ago | IN | 0.057 ETH | 0.00068505 | ||||
| Deposit | 17512332 | 973 days ago | IN | 0.025 ETH | 0.00029332 | ||||
| Deposit | 17490205 | 976 days ago | IN | 0.1 ETH | 0.00031389 | ||||
| Deposit | 17469709 | 979 days ago | IN | 0.025 ETH | 0.00036435 | ||||
| Transfer Ownersh... | 17461180 | 980 days ago | IN | 0 ETH | 0.00049712 | ||||
| Deposit | 17460374 | 980 days ago | IN | 0.025 ETH | 0.00044477 | ||||
| Deposit | 17456971 | 981 days ago | IN | 0.025 ETH | 0.0003718 | ||||
| Deposit | 17456845 | 981 days ago | IN | 0.026 ETH | 0.00036149 | ||||
| Deposit | 17442867 | 983 days ago | IN | 0.025 ETH | 0.00048864 | ||||
| Withdraw | 17441601 | 983 days ago | IN | 0 ETH | 0.0007053 | ||||
| Deposit | 17432108 | 984 days ago | IN | 0.1 ETH | 0.00043758 | ||||
| Deposit | 17428214 | 985 days ago | IN | 0.025 ETH | 0.00145862 | ||||
| Deposit | 17413312 | 987 days ago | IN | 0.025 ETH | 0.00045676 | ||||
| Deposit | 17412035 | 987 days ago | IN | 0.1 ETH | 0.00043459 | ||||
| Deposit | 17411532 | 987 days ago | IN | 0.06 ETH | 0.00049133 | ||||
| Deposit | 17411530 | 987 days ago | IN | 0.095 ETH | 0.00048425 |
Latest 9 internal transactions
Advanced mode:
| Parent Transaction Hash | Method | Block |
From
|
|
To
|
||
|---|---|---|---|---|---|---|---|
| Transfer | 21200287 | 457 days ago | 0.1131 ETH | ||||
| Transfer | 17662764 | 952 days ago | 0.8 ETH | ||||
| Transfer | 17441601 | 983 days ago | 2 ETH | ||||
| Transfer | 17378837 | 992 days ago | 1.095 ETH | ||||
| Transfer | 17378831 | 992 days ago | 1.095 ETH | ||||
| Transfer | 17249544 | 1010 days ago | 2 ETH | ||||
| Transfer | 17227500 | 1013 days ago | 3 ETH | ||||
| Transfer | 17122692 | 1028 days ago | 0.012 ETH | ||||
| Transfer | 17122584 | 1028 days ago | 0.01 ETH |
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
MetagamePool
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-04-25 */ // Sources flattened with hardhat v2.9.7 https://hardhat.org // File @openzeppelin/contracts/utils/[email protected] // SPDX-License-Identifier: MIT // 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; } } 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 Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _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); } } pragma solidity ^0.8.0; contract MetagamePool is Ownable { event Deposit(address from, uint256 amount); constructor(){} function deposit() external payable { require(msg.value > 0, "Transfer zero value"); emit Deposit(msg.sender, msg.value); } function withdraw(address to, uint256 amount) external payable onlyOwner { require(to != address(0), "Transfer to zero address"); payable(to).transfer(amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","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":"deposit","outputs":[],"stateMutability":"payable","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"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6104038061007e6000396000f3fe60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b14610066578063d0e30db014610092578063f2fde38b1461009a578063f3fef3a3146100ba575b600080fd5b34801561005b57600080fd5b506100646100cd565b005b34801561007257600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b61006461010c565b3480156100a657600080fd5b506100646100b536600461034e565b61018c565b6100646100c836600461036f565b610227565b6000546001600160a01b031633146101005760405162461bcd60e51b81526004016100f790610398565b60405180910390fd5b61010a60006102e2565b565b600034116101525760405162461bcd60e51b81526020600482015260136024820152725472616e73666572207a65726f2076616c756560681b60448201526064016100f7565b604080513381523460208201527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c910160405180910390a1565b6000546001600160a01b031633146101b65760405162461bcd60e51b81526004016100f790610398565b6001600160a01b03811661021b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100f7565b610224816102e2565b50565b6000546001600160a01b031633146102515760405162461bcd60e51b81526004016100f790610398565b6001600160a01b0382166102a75760405162461bcd60e51b815260206004820152601860248201527f5472616e7366657220746f207a65726f2061646472657373000000000000000060448201526064016100f7565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102dd573d6000803e3d6000fd5b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461034957600080fd5b919050565b60006020828403121561035f578081fd5b61036882610332565b9392505050565b60008060408385031215610381578081fd5b61038a83610332565b946020939093013593505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220ef7de3e1c3d51e635780dfe3715f099f2005c6a6bbd41df97c54ecdc64898e9a64736f6c63430008040033
Deployed Bytecode
0x60806040526004361061004a5760003560e01c8063715018a61461004f5780638da5cb5b14610066578063d0e30db014610092578063f2fde38b1461009a578063f3fef3a3146100ba575b600080fd5b34801561005b57600080fd5b506100646100cd565b005b34801561007257600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b61006461010c565b3480156100a657600080fd5b506100646100b536600461034e565b61018c565b6100646100c836600461036f565b610227565b6000546001600160a01b031633146101005760405162461bcd60e51b81526004016100f790610398565b60405180910390fd5b61010a60006102e2565b565b600034116101525760405162461bcd60e51b81526020600482015260136024820152725472616e73666572207a65726f2076616c756560681b60448201526064016100f7565b604080513381523460208201527fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c910160405180910390a1565b6000546001600160a01b031633146101b65760405162461bcd60e51b81526004016100f790610398565b6001600160a01b03811661021b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100f7565b610224816102e2565b50565b6000546001600160a01b031633146102515760405162461bcd60e51b81526004016100f790610398565b6001600160a01b0382166102a75760405162461bcd60e51b815260206004820152601860248201527f5472616e7366657220746f207a65726f2061646472657373000000000000000060448201526064016100f7565b6040516001600160a01b0383169082156108fc029083906000818181858888f193505050501580156102dd573d6000803e3d6000fd5b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461034957600080fd5b919050565b60006020828403121561035f578081fd5b61036882610332565b9392505050565b60008060408385031215610381578081fd5b61038a83610332565b946020939093013593505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220ef7de3e1c3d51e635780dfe3715f099f2005c6a6bbd41df97c54ecdc64898e9a64736f6c63430008040033
Deployed Bytecode Sourcemap
3435:462:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2591:103;;;;;;;;;;;;;:::i;:::-;;1940:87;;;;;;;;;;-1:-1:-1;1986:7:0;2013:6;1940:87;;;-1:-1:-1;;;;;2013:6:0;;;808:51:1;;1940:87:0;;;;;796:2:1;1940:87:0;;;3550:146;;;:::i;2849:201::-;;;;;;;;;;-1:-1:-1;2849:201:0;;;;;:::i;:::-;;:::i;3704:184::-;;;;;;:::i;:::-;;:::i;2591:103::-;1986:7;2013:6;-1:-1:-1;;;;;2013:6:0;860:10;2160:23;2152:68;;;;-1:-1:-1;;;2152:68:0;;;;;;;:::i;:::-;;;;;;;;;2656:30:::1;2683:1;2656:18;:30::i;:::-;2591:103::o:0;3550:146::-;3617:1;3605:9;:13;3597:45;;;;-1:-1:-1;;;3597:45:0;;1758:2:1;3597:45:0;;;1740:21:1;1797:2;1777:18;;;1770:30;-1:-1:-1;;;1816:18:1;;;1809:49;1875:18;;3597:45:0;1730:169:1;3597:45:0;3658:30;;;3666:10;1044:51:1;;3678:9:0;1126:2:1;1111:18;;1104:34;3658:30:0;;1017:18:1;3658:30:0;;;;;;;3550:146::o;2849:201::-;1986:7;2013:6;-1:-1:-1;;;;;2013:6:0;860:10;2160:23;2152:68;;;;-1:-1:-1;;;2152:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2938:22:0;::::1;2930:73;;;::::0;-1:-1:-1;;;2930:73:0;;1351:2:1;2930:73:0::1;::::0;::::1;1333:21:1::0;1390:2;1370:18;;;1363:30;1429:34;1409:18;;;1402:62;-1:-1:-1;;;1480:18:1;;;1473:36;1526:19;;2930:73:0::1;1323:228:1::0;2930:73:0::1;3014:28;3033:8;3014:18;:28::i;:::-;2849:201:::0;:::o;3704:184::-;1986:7;2013:6;-1:-1:-1;;;;;2013:6:0;860:10;2160:23;2152:68;;;;-1:-1:-1;;;2152:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3796:16:0;::::1;3788:53;;;::::0;-1:-1:-1;;;3788:53:0;;2467:2:1;3788:53:0::1;::::0;::::1;2449:21:1::0;2506:2;2486:18;;;2479:30;2545:26;2525:18;;;2518:54;2589:18;;3788:53:0::1;2439:174:1::0;3788:53:0::1;3852:28;::::0;-1:-1:-1;;;;;3852:20:0;::::1;::::0;:28;::::1;;;::::0;3873:6;;3852:28:::1;::::0;;;3873:6;3852:20;:28;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;3704:184:::0;;:::o;3210:191::-;3284:16;3303:6;;-1:-1:-1;;;;;3320:17:0;;;-1:-1:-1;;;;;;3320:17:0;;;;;;3353:40;;3303:6;;;;;;;3353:40;;3284:16;3353:40;3210:191;;:::o;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:196::-;251:6;304:2;292:9;283:7;279:23;275:32;272:2;;;325:6;317;310:22;272:2;353:29;372:9;353:29;:::i;:::-;343:39;262:126;-1:-1:-1;;;262:126:1:o;393:264::-;461:6;469;522:2;510:9;501:7;497:23;493:32;490:2;;;543:6;535;528:22;490:2;571:29;590:9;571:29;:::i;:::-;561:39;647:2;632:18;;;;619:32;;-1:-1:-1;;;480:177:1:o;1904:356::-;2106:2;2088:21;;;2125:18;;;2118:30;2184:34;2179:2;2164:18;;2157:62;2251:2;2236:18;;2078:182::o
Swarm Source
ipfs://ef7de3e1c3d51e635780dfe3715f099f2005c6a6bbd41df97c54ecdc64898e9a
Loading...
Loading
Loading...
Loading
Net Worth in USD
$0.00
Net Worth in ETH
0
Token Allocations
POL
100.00%
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| POL | 100.00% | $0.106481 | 0.0088 | $0.000937 |
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.