Skip to content

Instantly share code, notes, and snippets.

import { BigNumber, providers, Wallet, Contract } from "ethers";
import { FlashbotsBundleProvider, FlashbotsBundleResolution, FlashbotsBundleTransaction, SimulationResponseSuccess } from "@flashbots/ethers-provider-bundle";
import { Provider } from "@ethersproject/abstract-provider";
import { Console } from "console";
import { send } from "process";
import * as fs from "fs"
import { connect } from "http2";
const MWEI = 10n ** 6n
const GWEI = 10n ** 9n
dotnet new sln
Get-ChildItem -Recurse *.csproj | ForEach { dotnet sln add $_.FullName }
@sonicflare
sonicflare / ExpressionVisitor.cs
Created January 10, 2016 18:31
Left.Right.Right?
BinaryExpression left = (BinaryExpression)binaryExpression.Left;
BinaryExpression right = (BinaryExpression)binaryExpression.Right;
if (left.Left == right.Left)
{
this.Visit(left.Left);
if (not)
{
this.Out(" NOT ");
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FluentValidation;
namespace ConsoleApplication11
{
public class Entity
using System;
using System.Collections.Generic;
namespace ConsoleApplication7
{
internal class Program
{
private static void Main(string[] args)
{
Static<int>.Add(1);