Skip to content
Verified contractPartial

cyberEntry2

Address0x77936e5ffee40905fc3395aa93cefaa918fbd3ca
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.4.21

 

Same code

2 more contracts

 

Details

Compiler
solc 0.4.21+commit.dfe3193c
Language
solidity
Optimization
No
License
Not stated
Match
Partialcreation code: no, runtime code: yes
Verified on Sourcify
Created in block
5,557,772
Creation transaction
0xd0beaaa430…99f86a188c

cyberEntry2.sol

// Recovered by EthereumHistory (ethereumhistory.com) -sw
pragma solidity ^0.4.19;

contract Gatekeeper {
    function enter(bytes32 _passcode, bytes8 _gateKey) public returns (bool);
}

contract cyberEntry2 {
    address public admin;

    Gatekeeper gk; 

    function cyberEntry2(address _gkAddress, bytes32 passphrase) public {
        address me;
        assembly { me := address }

        bytes8 key = bytes8(uint64(keccak256(passphrase, me)) ^ uint64(0) - 1 );
        admin = _gkAddress;
        gk = Gatekeeper(admin);
        gk.enter( passphrase, key);
    }

}
Compiler settingsShow
{
  "optimizer": {
    "runs": 200,
    "enabled": false
  }
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.