@luckyfinance/core
Version:
Core contracts for the LuckySwap protocol
78 lines (77 loc) • 1.39 kB
JSON
[
{
"inputs": [
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
}
],
"name": "exit",
"outputs": [
{
"internalType": "int256",
"name": "amountAdded",
"type": "int256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "balance",
"type": "uint256"
},
{
"internalType": "address",
"name": "sender",
"type": "address"
}
],
"name": "harvest",
"outputs": [
{
"internalType": "int256",
"name": "amountAdded",
"type": "int256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "skim",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "withdraw",
"outputs": [
{
"internalType": "uint256",
"name": "actualAmount",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]