The Boneyard
Based on Sushiswap's Masterchef v1
Methods
BONUS_MULTIPLIER
Returns
_0
uint256
undefined
addToken
Parameters
_allocPoint
uint256
undefined
_pToken
contract IERC20
undefined
_withUpdate
bool
undefined
bonusEndBlock
Returns
_0
uint256
undefined
deposit
Parameters
_pid
uint256
undefined
_amount
uint256
undefined
dev
Parameters
_devaddr
address
undefined
devaddr
Returns
_0
address
undefined
emergencyWithdraw
Parameters
_pid
uint256
undefined
getMultiplier
Parameters
_from
uint256
undefined
_to
uint256
undefined
Returns
_0
uint256
undefined
grantRole
Parameters
role
bytes32
undefined
account
address
undefined
massUpdatePools
owner
Returns the address of the current owner.
Returns
_0
address
undefined
pendingSkrimples
Parameters
_pid
uint256
undefined
_user
address
undefined
Returns
_0
uint256
undefined
poolInfo
Parameters
_0
uint256
undefined
Returns
pToken
contract IERC20
undefined
allocPoint
uint256
undefined
lastRewardBlock
uint256
undefined
accSkrimplesPerShare
uint256
undefined
poolLength
Returns
_0
uint256
undefined
renounceRole
Parameters
role
uint256
undefined
account
address
undefined
Leaves the contract without admin. It will not be possible to call onlyAdmin
functions anymore. Can only be called by the current admin. NOTE: Renouncing admin role will leave the contract without an admin, thereby removing any functionality that is only available to the admin.
revokeRole
Parameters
role
uint256
undefined
account
address
undefined
set
Parameters
_pid
uint256
undefined
_allocPoint
uint256
undefined
_withUpdate
bool
undefined
startBlock
Returns
_0
uint256
undefined
skrimples
Returns
_0
contract SkrimplesToken
undefined
skrimplesPerBlock
Returns
_0
uint256
undefined
totalAllocPoint
Returns
_0
uint256
undefined
updatePool
Parameters
_pid
uint256
undefined
updateTreasury
Parameters
treasury
address
undefinied
updateTreasury is an onlyAdmin function and can only be called by current admin.
userInfo
Parameters
_0
uint256
undefined
_1
address
undefined
Returns
amount
uint256
undefined
rewardDebt
uint256
undefined
withdraw
Parameters
_pid
uint256
undefined
_amount
uint256
undefined
Events
Deposit
Parameters
user indexed
address
undefined
pid indexed
uint256
undefined
amount
uint256
undefined
EmergencyWithdraw
Parameters
user indexed
address
undefined
pid indexed
uint256
undefined
amount
uint256
undefined
Withdraw
Parameters
user indexed
address
undefined
pid indexed
uint256
undefined
amount
uint256
undefined
Last updated