π―
This file contains hidden or 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
{"id":"4e2b890ab80095ee8fe286920b86039c","_format":"hh-sol-build-info-1","solcVersion":"0.8.17","solcLongVersion":"0.8.17+commit.8df45f5f","input":{"language":"Solidity","sources":{"contracts/BatchDistributor.sol":{"content":"// SPDX-License-Identifier: MIT\npragma solidity 0.8.17;\n\nimport \"@openzeppelin/contracts/token/ERC20/IERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n/**\n * @dev Error that occurs when transferring ether has failed.\n * @param emitter The contract that emits the error.\n */\nerror EtherTransferFail(address emitter);\n\n/**\n * @title Native and ERC-20 Token Batch Distributor\n * @author Apps with love AG, [email protected]\n * @notice Helper smart contract for batch sending both\n * native and ERC-20 tokens.\n * @dev Since we use nested struct objects, we rely on the ABI coder v2.\n * The ABI coder v2 is activated by default since Solidity `v0.8.0`.\n * @custom:security-contact [email protected]\n */\n\ncontract BatchDistributor {\n us |
This file contains hidden or 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); | |
/** |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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(?) |