Skip to content

Instantly share code, notes, and snippets.

View suhailgme's full-sized avatar

SuhailG suhailgme

View GitHub Profile
#include "stack.h"
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(void) {
int i;
char input[256], closing;
fprintf(stderr, "Enter parantheses and/or braces: ");
[
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "contract IuniswapExchange_UniSwapRemoveLiquityGeneral_v1",
"name": "ExchangeAddress",
"type": "address"
},
[
{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
@suhailgme
suhailgme / Contracts.MD
Last active March 2, 2020 02:42
Mainnet Contracts
[{
"inputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "constructor"
}, {
"anonymous": false,
"inputs": [{
"indexed": true,
"internalType": "address",
// File: browser/OpenZepplinIERC20.sol
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface IERC20 {
// File: browser/OpenZepplinIERC20.sol
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface IERC20 {
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface IERC20 {
/**
* @dev Returns the amount of tokens in existence.
*/
// File: browser/OpenZepplinIERC20.sol
pragma solidity ^0.5.0;
/**
* @dev Interface of the ERC20 standard as defined in the EIP. Does not include
* the optional functions; to access them see {ERC20Detailed}.
*/
interface IERC20 {
@suhailgme
suhailgme / gist:f72a3c5dd0c77acf81154d6c6512ec8f
Created April 19, 2020 02:41
Unipool_Balancer_Bridge_Zap_v1.sol
// Copyright (C) 2020 defizap, dipeshsukhani, nodarjanashia, suhailg
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foundation, either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the