Created
May 15, 2021 10:22
-
-
Save haythemsellami/c83cbf8ec63ba5dd8e345de5d5e99a3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.19; | |
interface TheCyberGatekeeperTwo { | |
function enter(bytes32 _passcode, bytes8 _gateKey) external returns (bool); | |
} | |
contract GetInYolo { | |
address private constant theCyberGatekeeperTwo = 0xbB902569a997D657e8D10B82Ce0ec5A5983C8c7C; | |
function GetInYolo() public { | |
bytes32 passcode = bytes32("testify question resource charge"); | |
uint64 _gateKey = (uint64(0) - 1) ^ uint64(keccak256(passcode, address(this))); | |
TheCyberGatekeeperTwo(theCyberGatekeeperTwo).enter(passcode, bytes8(_gateKey)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment