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
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box. | |
✅ did:3:bafyreiebeiqfyvruwd6lxcdbsw6khotuf3r5pql22fnkzqntzsrbqgvjhq ✅ | |
Create your profile today to start building social connection and trust online at https://3Box.io/ |
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
# | |
# Panoramix v4 Oct 2019 | |
# Decompiled source of 0x3a3051221174a2420a18504Ff39ae9FBB08AE024 | |
# | |
# Let's make the world open source | |
# | |
# | |
# I failed with these: | |
# - unknown10d1e85c(?) | |
# - unknown5d0b1d4d(?) |
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
#!/usr/bin/python3 | |
import os | |
import time | |
import datetime as dt | |
import multiprocessing | |
from bitcoin import * | |
from mnemonic import Mnemonic | |
cores = 4 |
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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.17; | |
contract GasTesting { | |
function testInlined(uint256 length) external view returns (uint256 gasUsed) { | |
uint256 total; | |
uint256 startGas = gasleft(); | |
for (uint256 i; i < length; i = _uncheckedInc(i)) { | |
total += i; |
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
# I failed with these: | |
# - unknownfa461e33(?) | |
# All the rest is below. | |
# | |
def execute(address _target, bytes _data): # not payable | |
require calldata.size - 4 >=′ 64 | |
require _target == _target | |
require _data <= 18446744073709551615 | |
require _data + 35 <′ calldata.size |
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
# Palkeoramix decompiler. | |
def storage: | |
ownerAddress is addr at storage 0 | |
stor1 is addr at storage 1 | |
stor2 is addr at storage 2 | |
stor3 is addr at storage 3 | |
stor4 is addr at storage 4 | |
stor5 is addr at storage 5 | |
stor6 is addr at storage 6 |
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
// SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.4; | |
contract LookupContract { | |
mapping(string => uint256) public myDirectory; | |
constructor(string memory _name, uint256 _mobileNumber) { | |
myDirectory[_name] = _mobileNumber; | |
} |
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
// SPDX-License-Identifier: WTFPL | |
pragma solidity 0.8.16; | |
contract Merge { | |
uint72 private constant _DIFFICULTY_THRESHOLD = 2**64; | |
/** | |
* @dev A difficulty value greater than `2**64` indicates that a transaction is | |
* being executed in a PoS block. Also note that the `DIFFICULTY` opcode (0x44) |
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
// SPDX-License-Identifier: MIT | |
pragma solidity 0.8.10; | |
import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
// Mock class using ERC20 | |
contract ERC20Mock is ERC20 { | |
constructor( | |
string memory name, | |
string memory symbol, |
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
// SPDX-License-Identifier: WTFPL | |
pragma solidity 0.8.17; | |
/** | |
* @dev Error that occurs when called by a contract account. | |
* @param emitter The contract that emits the error. | |
*/ | |
error ContractCallsAreNotAllowed(address emitter); | |
/** |
OlderNewer