Skip to content

Instantly share code, notes, and snippets.

@hexmanshu
hexmanshu / encrypted-git-repo.md
Created October 20, 2012 12:34
Transparent Git Encryption

Transparent Git Encryption

This document has been modified from its [original format][m1], which was written by Ning Shang ([email protected]). It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].

Description

When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes

@hexmanshu
hexmanshu / impermax.py
Created March 6, 2022 02:36 — forked from t0mm4rx/impermax.py
Python script to fetch Impermax.finance position total collateral and debt
"""Impermax related functions.
imxc = Impermax collateral token, given in exchange of the actual LP pair.
slp = staked LP token.
"""
from providers import polygon
from chain_data import get_lp_pair_holdings, get_token_decimals
import json
imxc_abi = json.load(open("./abis/imxc.json", "rb"))
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.