github.com/cwntr/go-defi@v0.0.0-20210629134751-07f9ec2f7e66/abi/uniswap/swapper.json (about)

     1  [
     2  	{
     3  		"inputs": [],
     4  		"payable": false,
     5  		"stateMutability": "nonpayable",
     6  		"type": "constructor"
     7  	},
     8  	{
     9  		"payable": true,
    10  		"stateMutability": "payable",
    11  		"type": "fallback"
    12  	},
    13  	{
    14  		"constant": false,
    15  		"inputs": [],
    16  		"name": "postProcess",
    17  		"outputs": [],
    18  		"payable": true,
    19  		"stateMutability": "payable",
    20  		"type": "function"
    21  	},
    22  	{
    23  		"constant": false,
    24  		"inputs": [
    25  			{
    26  				"internalType": "address",
    27  				"name": "_tokenBorrow",
    28  				"type": "address"
    29  			},
    30  			{
    31  				"internalType": "uint256",
    32  				"name": "_amount",
    33  				"type": "uint256"
    34  			},
    35  			{
    36  				"internalType": "address",
    37  				"name": "_tokenPay",
    38  				"type": "address"
    39  			},
    40  			{
    41  				"internalType": "bytes",
    42  				"name": "_userData",
    43  				"type": "bytes"
    44  			}
    45  		],
    46  		"name": "startSwap",
    47  		"outputs": [],
    48  		"payable": true,
    49  		"stateMutability": "payable",
    50  		"type": "function"
    51  	},
    52  	{
    53  		"constant": false,
    54  		"inputs": [
    55  			{
    56  				"internalType": "address",
    57  				"name": "_sender",
    58  				"type": "address"
    59  			},
    60  			{
    61  				"internalType": "uint256",
    62  				"name": "_amount0",
    63  				"type": "uint256"
    64  			},
    65  			{
    66  				"internalType": "uint256",
    67  				"name": "_amount1",
    68  				"type": "uint256"
    69  			},
    70  			{
    71  				"internalType": "bytes",
    72  				"name": "_data",
    73  				"type": "bytes"
    74  			}
    75  		],
    76  		"name": "uniswapV2Call",
    77  		"outputs": [],
    78  		"payable": false,
    79  		"stateMutability": "nonpayable",
    80  		"type": "function"
    81  	}
    82  ]