Skip to content

Instantly share code, notes, and snippets.

View yash-atreya's full-sized avatar

Yash Atreya yash-atreya

View GitHub Profile
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 253
Hash: 3ed0d3a3 a6886eee 96a1545a 0ef2dc52
4cf087f8 de85a37a 5fe7a111 b0e66402
966e1441 4f9531e0 cf2e875f b7b72c0f
df78c148 057a4dda 3f70db21 fa0b691a
@yash-atreya
yash-atreya / GetERC20Data.sol
Created February 14, 2024 10:16
Get ERC20 balances and decimals without deploying
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
interface IERC20 {
function balanceOf(address account) external view returns (uint256);
function decimals() external view returns (uint8);
}
// @dev Disable Yul optimizer before compiling.
contract GetERC20Data {