@luckyfinance/core
Version:
Core contracts for the LuckySwap protocol
75 lines (74 loc) • 1.49 kB
JSON
[
{
"inputs": [
{
"internalType": "uint256",
"name": "_pid",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "_amount",
"type": "uint256"
}
],
"name": "deposit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "pid",
"type": "uint256"
}
],
"name": "poolInfo",
"outputs": [
{
"components": [
{
"internalType": "contract IERC20",
"name": "lpToken",
"type": "address"
},
{
"internalType": "uint256",
"name": "allocPoint",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "lastRewardBlock",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "accGoldNuggetPerShare",
"type": "uint256"
}
],
"internalType": "struct IGoldMiner.PoolInfo",
"name": "",
"type": "tuple"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "totalAllocPoint",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}
]