This file contains 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
{ | |
"version": "1.0", | |
"chainId": "5", | |
"createdAt": "1692706453217", | |
"meta": { | |
"name": "Superfluid VestingScheduler Transactions Batch", | |
"description": "", | |
"txBuilderVersion": "1.16.1", | |
"createdFromSafeAddress": "", | |
"createdFromOwnerAddress": "", |
This file contains 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
#!/bin/bash | |
# queries the balance (of native coins, e.g. ETH) of a given account at a given block | |
# requires an archive node if the block lies more than a couple of blocks in the past | |
# | |
# Requirements: python, jq, curl and awk installed and in PATH | |
# | |
# usage: get-eth-balance-of-at.sh <ethereum_address> [block_number]" | |
# env var RPC must be set |
This file contains 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
#!/bin/bash | |
# deploys an instance of GdaNFTContract to a given network | |
# usage: deploy.sh <network> <priceMillis> | |
# env var PRIVKEY needs to be set | |
# env var <explorer>_API_KEY needed for verification | |
# env vars can be provided via .env file | |
set -eu |
This file contains 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
set -eux | |
# prerequisites: "forge" installed and in PATH, see https://book.getfoundry.sh/getting-started/installation | |
name=$1 | |
mkdir $name | |
cd $name | |
forge init --no-commit |
This file contains 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
#!/bin/bash | |
# Queries the native coin amount deposited for a given account with a paymaster. | |
# Requires cast and python installed | |
set -eu | |
#set -x | |
# Check if exactly two arguments are provided | |
if [ "$#" -ne 3 ]; then | |
echo "Usage: $0 <network> <account_address> <threshold_in_ether>" |
OlderNewer