Skip to content

Instantly share code, notes, and snippets.

View mfw78's full-sized avatar

mfw78 mfw78

  • Worldwide
View GitHub Profile
@mfw78
mfw78 / drip.html
Created June 11, 2024 18:13
Show all orders spawning from the most recent drip
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Order Details</title>
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.ethers.io/lib/ethers-5.7.2.umd.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<style>
.loading-spinner {
@mfw78
mfw78 / main.rs
Created June 23, 2024 16:44
Eth Flow Refunder
use alloy::{
network::{EthereumWallet, TransactionBuilder},
primitives::bytes::Buf,
providers::{Provider, ProviderBuilder},
rpc::types::TransactionRequest,
signers::local::PrivateKeySigner,
sol,
sol_types::{SolCall, SolEvent},
};
use CoWSwapOnchainOrders::{invalidateOrderCall, EthFlowOrderData};