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
Hey, I'm QEDK-1272002 and I have contributed to the Privacy Pools Ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (withdraw) | |
Contributor # 368 | |
Contribution Hash: | |
470d8c43 6634b940 dcf8188d a92a5aaa | |
47ea7338 c13289e9 59c37c7e 79ca33af | |
e0da9e39 7040de79 41146538 99a7eabd | |
870a6f2f 7a1b8d9c 01aa112c 6db5231f |
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
Hey, I'm QEDK-1272002 and I have contributed to the Anon Aadhaar V2 Trusted Setup Ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (aadhaarverifier) | |
Contributor # 41 | |
Contribution Hash: 58209cdc 8ba88210 9e0ea117 33e125c8 | |
d67a2a57 421481a9 6ece6892 86e5182a | |
898e8e50 fddf6b26 63b99198 a5b74e5b | |
617fccc3 2c9aa090 6e43dffc a6ca2ec7 |
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
Hey, I'm QEDK-1272002 and I have contributed to the RISC Zero STARK-to-SNARK Prover MPC Phase2 Trusted Setup ceremony. | |
The following are my contribution signatures: | |
Circuit # 1 (stark_verify) | |
Contributor # 44 | |
Contribution Hash: 4fd4a580 2e1c0b5a c2277e31 aa84ff9c | |
a75e9be0 5ab169e2 80df26e8 5e31e829 | |
9d65748b a28dd646 20194f1b 234afefb | |
29aff431 d2c94032 7b9a1773 b45dcd3a |
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
alias fcov="forge coverage --report lcov && genhtml -o coverage lcov.info --ignore-errors category,category --branch-coverage && open coverage/index.html" |
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
use binary_merkle_tree::merkle_root; | |
use fake::{Fake, Faker}; | |
use rs_merkle::{Hasher, MerkleTree}; | |
use sha3::{Digest, Keccak256}; | |
use sp_core::H256; | |
#[derive(Clone)] | |
pub struct KeccakAlgorithm {} | |
impl Hasher for KeccakAlgorithm { |
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: AGPL-3.0 | |
pragma solidity 0.8.20; | |
contract Evens { | |
function getEvens(uint256 startNum, uint256 endNum) external pure returns (uint256) { | |
assembly("memory-safe") { | |
// skip first iteration if startNum is 0 | |
if iszero(startNum) { startNum := add(startNum, 1) } | |
endNum := add(endNum, 1) | |
let num := 0 |
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
const { ethers } = require('ethers') | |
const fs = require('fs/promises') | |
const main = async () => { | |
const provider = new ethers.providers.JsonRpcProvider('https://polygon-mumbai.infura.io/v3/...') | |
const latestBlock = await provider.getBlock() | |
let totalFees = 0 | |
let nextBaseFee = 9 | |
await fs.appendFile('/Users/qedk/dump2.csv', 'blockNumber,baseFee,fees\n') | |
for (let i = 23799300; i <= latestBlock.number; 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
const ethers = require('ethers') | |
const abiCoder = new ethers.utils.AbiCoder() | |
// DEPOSIT | |
let data = '0x000000000000000000000000BFDEFCD92335B22B205BB5B63B9EC909D6E99C16000000000000000000000000D0DDBAB3BD60E591C300B2E365D732D9CE76D3FD0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000014087A7811F4BFEDEA3D341AD165680AE306B01AAEACC205D227629CF157DD9F821000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000E00000000000000000000000002E274FBE47C0CB873F327362B8959021830DC886000000000000000000000000920E938A80FA1669B608166741EEB01DE6C57402000000000000000000000000920E938A80FA1669B608166741EEB01DE6C5740200000000000000000000000000000000000000000000000AD78EBC5AC620000000000000000000000000000000000000000000000000000000000000000000A000000000000000000000000000000000000000000000000000000000000000031234560000000000000000000000000000000000000000000000000000000000' | |
let stateSyncData = a |
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
const matic_raw = require("./maticjs") | |
const config = require("./config.json") | |
const ext_mngr = require("./maticjs/lib/common/ExitManager") | |
// console.log(ext_mngr) | |
const root_chain = require("./maticjs/lib/root/RootChain.js") | |
// console.log(root_chain) | |
const { default: ExitManager } = require("./maticjs/lib/common/ExitManager") | |
const { default: RootChain } = require("./maticjs/lib/root/RootChain.js") | |
const params = { | |
network: "testnet", |
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
// File: @0x/contracts-exchange-libs/contracts/src/LibConstants.sol | |
/* | |
Copyright 2018 ZeroEx Intl. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at |
NewerOlder