Created
January 18, 2023 09:35
-
-
Save developeruche/e1ca08fbd56f3d66568c9f3602b21d34 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"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