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
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 |
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
dotnet new sln | |
Get-ChildItem -Recurse *.csproj | ForEach { dotnet sln add $_.FullName } |
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
BinaryExpression left = (BinaryExpression)binaryExpression.Left; | |
BinaryExpression right = (BinaryExpression)binaryExpression.Right; | |
if (left.Left == right.Left) | |
{ | |
this.Visit(left.Left); | |
if (not) | |
{ | |
this.Out(" NOT "); | |
} |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using FluentValidation; | |
namespace ConsoleApplication11 | |
{ | |
public class Entity |
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
using System; | |
using System.Collections.Generic; | |
namespace ConsoleApplication7 | |
{ | |
internal class Program | |
{ | |
private static void Main(string[] args) | |
{ | |
Static<int>.Add(1); |