UNPKG

@luckyfinance/core

Version:

Core contracts for the LuckySwap protocol

47 lines (46 loc) 875 B
[ { "inputs": [ { "internalType": "contract IERC20", "name": "token_", "type": "address" }, { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "uint256", "name": "share", "type": "uint256" } ], "name": "withdraw", "outputs": [ { "internalType": "uint256", "name": "amountOut", "type": "uint256" }, { "internalType": "uint256", "name": "shareOut", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ]