Skip to content

Instantly share code, notes, and snippets.

View Jesse-Sawa's full-sized avatar
🔨
Building

Jesse Jesse-Sawa

🔨
Building
View GitHub Profile
/**
* This proposal simulates migrating the owner of the Unsiwap V3 Factory Contract
* on Celo from Optics to Wormhole
*/
import { SimulationConfigNew } from '../types'
import { Interface } from '@ethersproject/abi'
import { ethers } from 'ethers'
/** OPTICS CELO DOMAIN **/
const CELO_DOMAIN = 1667591279
@Jesse-Sawa
Jesse-Sawa / sanctionedAddresses.ts
Last active February 2, 2023 16:59
OFAC Sanctioned Addresses
[
"0x03893a7c7463ae47d46bc7f091665f1893656003",
"0x07687e702b410fa43f4cb4af7fa097918ffd2730",
"0x0836222f2b2b24a3f36f98668ed8f0b38d1a872f",
"0x08723392ed15743cc38513c4925f5e6be5c17243",
"0x098b716b8aaf21512996dc57eb0615e2383e2f96",
"0x0d5550d52428e7e3175bfc9550207e4ad3859b17",
"0x12d66f87a04a9e220743712ce6d9bb1b5616b8fc",
"0x1356c899d8c9467c7f71c195612f8a395abf2f0a",
"0x169ad27a470d064dede56a2d3ff727986b15d52b",
@Jesse-Sawa
Jesse-Sawa / sanity-check.test.ts
Created September 26, 2022 18:08
Sanity check for staged ASv2 contracts. Has dependencies on associated ABI files
import { ContractKit, newKit } from "@celo/contractkit";
import { Contract } from "web3-eth-contract";
import {
ESCROW_CONTRACT,
FA_CONTRACT,
ODIS_PAYMENTS_CONTRACT,
} from "./constants";
// STAGING (private testnet)
const STAGING_RPC = "http://127.0.0.1:8545";