Skip to content

Instantly share code, notes, and snippets.

View abarmat's full-sized avatar

Ariel Barmat abarmat

View GitHub Profile
@abarmat
abarmat / safe-add-delegate.py
Created August 17, 2021 21:08
Add a delegate to a Gnosis Safe
import time
import requests
import click
from web3 import Web3
def create_message(delegate_address):
totp = int(time.time()) // 3600
return delegate_address + str(totp)
@abarmat
abarmat / StakingV2.json
Created February 22, 2021 14:54
Graph Protocol - StakingV2 ABI (indexer-rewards)
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "indexer",
"type": "address"
},
@abarmat
abarmat / TokenLockWalletABIRemix.json
Created December 17, 2020 20:08
TokenLockWallet ABI
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "_oldManager",
"type": "address"
},
@abarmat
abarmat / marketplace-test-checklist.md
Last active August 2, 2019 18:14
Decentraland Marketplace : Test Checklist

Marketplace Test Checklist

Wallet

Connected

  • Show your MANA balance in the navbar
  • Show your MANA balance in the settings page
  • Show your wallet address in the settings page
openssl s_client -showcerts -connect ${DOMAIN}
{ tx: '0x3e387318c3d6b9e640e233441069f53052da7e8e46c8473dfb9001c6fbdf0b1d',
receipt:
{ transactionHash: '0x3e387318c3d6b9e640e233441069f53052da7e8e46c8473dfb9001c6fbdf0b1d',
transactionIndex: 0,
blockHash: '0xaf2af5f3c1bad937f0f998b0ed0b0ae01a576380d4d96b550038acfc4e28eda9',
blockNumber: 643,
gasUsed: 45004,
cumulativeGasUsed: 45004,
contractAddress: null,
logs: [] },
sha1sum ${FILENAME} | awk '{print $1}'
docker stop $(docker ps -a -q)
filetype plugin on
syntax on
set nocompatible
set expandtab
set shiftwidth=2
set tabstop=2