Skip to content

Instantly share code, notes, and snippets.

View antoncoding's full-sized avatar
🧋
boba sin azúcar

Anton Cheng antoncoding

🧋
boba sin azúcar
View GitHub Profile
@antoncoding
antoncoding / gist:9efbbdf8b3db69258e0fc937d61d3de7
Created August 5, 2020 13:05
Rescue ETH collateral options
import "./script.sol";
pragma experimental ABIEncoderV2;
contract WETH9Like is ERC20Like {
function() external payable {
deposit();
}
function balanceOf(address _owner) public view returns (uint256);
// SPDX-License-Identifier: UNLICENSED
pragma solidity =0.6.10;
pragma experimental ABIEncoderV2;
library Vaults {
struct Vault {
address[] collateralAssets;
uint256[] collateralAmounts;
did:muport:QmaPwpVAZqXUuJfXEbHF7yDeG6LMswKkwjRi4f1jrqMRM6
Verifying my Blockstack ID is secured with the address 1HcnYHJAQWQJpajNdJRLYZgMMfuetheoVg https://explorer.blockstack.org/address/1HcnYHJAQWQJpajNdJRLYZgMMfuetheoVg
@antoncoding
antoncoding / 0xc5726FC7F6C4d6A164c38E13588E45fF61cD8c1E
Created September 23, 2017 07:26
0xc5726FC7F6C4d6A164c38E13588E45fF61cD8c1E
0xc5726FC7F6C4d6A164c38E13588E45fF61cD8c1E
@antoncoding
antoncoding / getether
Created September 23, 2017 07:25
Get testnet ether
address:0xc5726FC7F6C4d6A164c38E13588E45fF61cD8c1E