ETH Price: $2,938.53 (-0.32%)

Contract

0xFE3C044b06249046288001Af191eEF5e91071e95

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
History133110752025-04-29 20:16:29270 days ago1745957789IN
0xFE3C044b...e91071e95
0 ETH0.000001060.0000019
History133110732025-04-29 20:16:25270 days ago1745957785IN
0xFE3C044b...e91071e95
0 ETH0.0000010.0000019
History133110702025-04-29 20:16:19270 days ago1745957779IN
0xFE3C044b...e91071e95
0 ETH0.000001010.0000019
History133110662025-04-29 20:16:11270 days ago1745957771IN
0xFE3C044b...e91071e95
0 ETH0.000000920.0000019
History133110632025-04-29 20:16:05270 days ago1745957765IN
0xFE3C044b...e91071e95
0 ETH0.000000890.0000019
History133110602025-04-29 20:15:59270 days ago1745957759IN
0xFE3C044b...e91071e95
0 ETH0.000000830.0000019
History133110572025-04-29 20:15:53270 days ago1745957753IN
0xFE3C044b...e91071e95
0 ETH0.000000840.0000019
History133110532025-04-29 20:15:45270 days ago1745957745IN
0xFE3C044b...e91071e95
0 ETH0.000000940.0000019
History133109862025-04-29 20:13:31270 days ago1745957611IN
0xFE3C044b...e91071e95
0 ETH0.000000820.0000019
History133109832025-04-29 20:13:25270 days ago1745957605IN
0xFE3C044b...e91071e95
0 ETH0.000000790.0000019
History133109802025-04-29 20:13:19270 days ago1745957599IN
0xFE3C044b...e91071e95
0 ETH0.000000820.0000019
History133109762025-04-29 20:13:11270 days ago1745957591IN
0xFE3C044b...e91071e95
0 ETH0.000000870.00000191
History133109732025-04-29 20:13:05270 days ago1745957585IN
0xFE3C044b...e91071e95
0 ETH0.000000870.00000191
History133109692025-04-29 20:12:57270 days ago1745957577IN
0xFE3C044b...e91071e95
0 ETH0.000000830.00000191
History133109652025-04-29 20:12:49270 days ago1745957569IN
0xFE3C044b...e91071e95
0 ETH0.000000860.0000019
History133109622025-04-29 20:12:43270 days ago1745957563IN
0xFE3C044b...e91071e95
0 ETH0.000000760.0000019
History133108922025-04-29 20:10:23270 days ago1745957423IN
0xFE3C044b...e91071e95
0 ETH0.000000880.00000187
History133108892025-04-29 20:10:17270 days ago1745957417IN
0xFE3C044b...e91071e95
0 ETH0.000000840.00000187
History133108862025-04-29 20:10:11270 days ago1745957411IN
0xFE3C044b...e91071e95
0 ETH0.000000840.00000187
History133108832025-04-29 20:10:05270 days ago1745957405IN
0xFE3C044b...e91071e95
0 ETH0.000000920.00000187
History133108802025-04-29 20:09:59270 days ago1745957399IN
0xFE3C044b...e91071e95
0 ETH0.000000920.00000186
History133108772025-04-29 20:09:53270 days ago1745957393IN
0xFE3C044b...e91071e95
0 ETH0.000001020.00000186
History133108742025-04-29 20:09:47270 days ago1745957387IN
0xFE3C044b...e91071e95
0 ETH0.000001030.00000186
History133108712025-04-29 20:09:41270 days ago1745957381IN
0xFE3C044b...e91071e95
0 ETH0.0000010.00000186
History133108042025-04-29 20:07:27270 days ago1745957247IN
0xFE3C044b...e91071e95
0 ETH0.000000910.00000184
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:

Cross-Chain Transactions
Loading...
Loading

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

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

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

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"}]

0x608060405234801561001057600080fd5b5060405161047738038061047783398101604081905261002f91610107565b610038336100b7565b6001600160a01b0381166100925760405162461bcd60e51b815260206004820152601360248201527f696e76616c6964206c6962206164647265737300000000000000000000000000604482015260640160405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055610137565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561011957600080fd5b81516001600160a01b038116811461013057600080fd5b9392505050565b610331806101466000396000f3fe6080604052600436106100435760003560e01c8063310770ce14610074578063715018a6146100945780638da5cb5b146100a9578063f2fde38b146100d55761005f565b3661005f5760015461005d906001600160a01b03166100f5565b005b60015461005d906001600160a01b03166100f5565b34801561008057600080fd5b5061005d61008f3660046102cb565b610119565b3480156100a057600080fd5b5061005d610194565b3480156100b557600080fd5b50600054604080516001600160a01b039092168252519081900360200190f35b3480156100e157600080fd5b5061005d6100f03660046102cb565b6101a8565b3660008037600080366000845af43d6000803e808015610114573d6000f35b3d6000fd5b610121610221565b6001600160a01b0381166101725760405162461bcd60e51b8152602060048201526013602482015272696e76616c6964206c6962206164647265737360681b60448201526064015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b61019c610221565b6101a6600061027b565b565b6101b0610221565b6001600160a01b0381166102155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610169565b61021e8161027b565b50565b6000546001600160a01b031633146101a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610169565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156102dd57600080fd5b81356001600160a01b03811681146102f457600080fd5b939250505056fea264697066735822122091f6a3a493cb39933f4c3b6b69a6c6f04785d50d4fdef5488e6bc7d7b8d84c1764736f6c63430008130033000000000000000000000000413101a20aad87e086970492cd15dcce6b537d11

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

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

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