Skip to content

Instantly share code, notes, and snippets.

@developeruche
Created January 18, 2023 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save developeruche/e1ca08fbd56f3d66568c9f3602b21d34 to your computer and use it in GitHub Desktop.
Save developeruche/e1ca08fbd56f3d66568c9f3602b21d34 to your computer and use it in GitHub Desktop.
[
{
"inputs": [],
"name": "INVALID_INPUT",
"type": "error"
},
{
"inputs": [],
"name": "INVALID_POOL",
"type": "error"
},
{
"inputs": [
{
"internalType": "address",
"name": "_meToken",
"type": "address"
}
],
"name": "setMeTokenAddress",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "uint256",
"name": "_numeratorIn",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_numeratorMinOut",
"type": "uint256"
},
{
"internalType": "address[2]",
"name": "_path",
"type": "address[2]"
},
{
"internalType": "address",
"name": "_from",
"type": "address"
},
{
"internalType": "uint256",
"name": "_slippage_in_percent",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_gas_payment",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_deadline",
"type": "uint256"
}
],
"internalType": "struct Dto.SingleSwapInput",
"name": "_si",
"type": "tuple"
},
{
"internalType": "uint8",
"name": "_v",
"type": "uint8"
},
{
"internalType": "bytes32",
"name": "_r",
"type": "bytes32"
},
{
"internalType": "bytes32",
"name": "_s",
"type": "bytes32"
}
],
"name": "swap",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "_rewardAddress",
"type": "address"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
},
{
"internalType": "address",
"name": "_from",
"type": "address"
}
],
"name": "useReward",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment