More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 139,023 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
History | 13036869 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036864 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036858 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036853 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036842 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036827 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036821 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036801 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036795 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036789 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036784 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036778 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036773 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036767 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036762 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036711 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036705 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036700 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036694 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036689 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036683 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036677 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036672 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036621 | 1 hr ago | IN | 0 ETH | 0 | ||||
History | 13036615 | 1 hr ago | IN | 0 ETH | 0 |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x4208c57c...Dd6a134C6 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
DrakeWarsProxy
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at worldscan.org on 2025-03-08 */ // File: @openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.9.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. 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 { 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: contracts/DrakeWarsProxy.sol pragma solidity ^0.8.19; contract DrakeWarsProxy is Ownable { address private _lib; address private _owner; address private _hrd_contract; address private _sft_contract; address private _shrd_contract; address private _dragons_contract; address private _recipes_contract; address private _talismans_contract; constructor(address lib) { require(lib != address(0), "invalid lib address"); _lib = lib; } function updateLib(address lib) onlyOwner external { require(lib != address(0), "invalid lib address"); _lib = lib; } function _delegate(address implementation) internal virtual { assembly { calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } fallback() external payable virtual { _delegate(_lib); } receive() external payable virtual { _delegate(_lib); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"lib","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"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":"lib","type":"address"}],"name":"updateLib","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Deployed Bytecode
0x6080604052600436106100435760003560e01c8063310770ce14610074578063715018a6146100945780638da5cb5b146100a9578063f2fde38b146100d55761005f565b3661005f5760015461005d906001600160a01b03166100f5565b005b60015461005d906001600160a01b03166100f5565b34801561008057600080fd5b5061005d61008f3660046102cb565b610119565b3480156100a057600080fd5b5061005d610194565b3480156100b557600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b3480156100e157600080fd5b5061005d6100f03660046102cb565b6101a8565b3660008037600080366000845af43d6000803e808015610114573d6000f35b3d6000fd5b610121610221565b6001600160a01b0381166101725760405162461bcd60e51b8152602060048201526013602482015272696e76616c6964206c6962206164647265737360681b60448201526064015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61019c610221565b6101a6600061027b565b565b6101b0610221565b6001600160a01b0381166102155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610169565b61021e8161027b565b50565b6000546001600160a01b031633146101a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610169565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156102dd57600080fd5b81356001600160a01b03811681146102f457600080fd5b939250505056fea264697066735822122091f6a3a493cb39933f4c3b6b69a6c6f04785d50d4fdef5488e6bc7d7b8d84c1764736f6c63430008130033
Deployed Bytecode Sourcemap
3809:1116:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4911:4;;4901:15;;-1:-1:-1;;;;;4911:4:0;4901:9;:15::i;:::-;3809:1116;;4842:4;;4832:15;;-1:-1:-1;;;;;4842:4:0;4832:9;:15::i;4236:130::-;;;;;;;;;;-1:-1:-1;4236:130:0;;;;;:::i;:::-;;:::i;2920:103::-;;;;;;;;;;;;;:::i;2279:87::-;;;;;;;;;;-1:-1:-1;2325:7:0;2352:6;2279:87;;;-1:-1:-1;;;;;2352:6:0;;;451:51:1;;2279:87:0;;;;;439:2:1;2279:87:0;;;3178:201;;;;;;;;;;-1:-1:-1;3178:201:0;;;;;:::i;:::-;;:::i;4372:411::-;4476:14;4473:1;4470;4457:34;4573:1;4570;4554:14;4551:1;4535:14;4528:5;4515:60;4606:16;4603:1;4600;4585:38;4640:6;4654:54;;;;4745:16;4742:1;4735:27;4654:54;4682:16;4679:1;4672:27;4236:130;2165:13;:11;:13::i;:::-;-1:-1:-1;;;;;4302:17:0;::::1;4294:49;;;::::0;-1:-1:-1;;;4294:49:0;;715:2:1;4294:49:0::1;::::0;::::1;697:21:1::0;754:2;734:18;;;727:30;-1:-1:-1;;;773:18:1;;;766:49;832:18;;4294:49:0::1;;;;;;;;;4350:4;:10:::0;;-1:-1:-1;;;;;;4350:10:0::1;-1:-1:-1::0;;;;;4350:10:0;;;::::1;::::0;;;::::1;::::0;;4236:130::o;2920:103::-;2165:13;:11;:13::i;:::-;2985:30:::1;3012:1;2985:18;:30::i;:::-;2920:103::o:0;3178:201::-;2165:13;:11;:13::i;:::-;-1:-1:-1;;;;;3267:22:0;::::1;3259:73;;;::::0;-1:-1:-1;;;3259:73:0;;1063:2:1;3259:73:0::1;::::0;::::1;1045:21:1::0;1102:2;1082:18;;;1075:30;1141:34;1121:18;;;1114:62;-1:-1:-1;;;1192:18:1;;;1185:36;1238:19;;3259:73:0::1;861:402:1::0;3259:73:0::1;3343:28;3362:8;3343:18;:28::i;:::-;3178:201:::0;:::o;2444:132::-;2325:7;2352:6;-1:-1:-1;;;;;2352:6:0;805:10;2508:23;2500:68;;;;-1:-1:-1;;;2500:68:0;;1470:2:1;2500:68:0;;;1452:21:1;;;1489:18;;;1482:30;1548:34;1528:18;;;1521:62;1600:18;;2500:68:0;1268:356:1;3539:191:0;3613:16;3632:6;;-1:-1:-1;;;;;3649:17:0;;;-1:-1:-1;;;;;;3649:17:0;;;;;;3682:40;;3632:6;;;;;;;3682:40;;3613:16;3682:40;3602:128;3539:191;:::o;14:286:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:1;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:1:o
Swarm Source
ipfs://91f6a3a493cb39933f4c3b6b69a6c6f04785d50d4fdef5488e6bc7d7b8d84c17
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.