Skip to content

Instantly share code, notes, and snippets.

@luke7211
luke7211 / dai.sol
Last active September 7, 2022 14:54
Permit with AA
library ECDSA {
enum RecoverError {
NoError,
InvalidSignature,
InvalidSignatureLength,
InvalidSignatureS,
InvalidSignatureV
}

0x00ce53b216c90bb2f8ff843cc3bec6cebf206f0100a0259835ee07dc351f5f47

#!/usr/bin/env node
var bigInt = require("big-integer");
var Web3 = require('web3');
const web3 = new Web3(new Web3.providers.HttpProvider("https://mainnet.infura.io/zWDtcNMhNMHMyMYpiVs5"))
const createBloom = function (data) {
return addBloom(0, data)
}