The Boneyard

Based on Sushiswap's Masterchef v1

Methods

BONUS_MULTIPLIER

function BONUS_MULTIPLIER() external view returns (uint256)

Returns

Name
Type
Description

_0

uint256

undefined

addToken

function addToken(uint256 _allocPoint, contract IERC20 _pToken, bool _withUpdate) external nonpayable

Parameters

Name
Type
Description

_allocPoint

uint256

undefined

_pToken

contract IERC20

undefined

_withUpdate

bool

undefined

bonusEndBlock

function bonusEndBlock() external view returns (uint256)

Returns

Name
Type
Description

_0

uint256

undefined

deposit

Parameters

Name
Type
Description

_pid

uint256

undefined

_amount

uint256

undefined

dev

Parameters

Name
Type
Description

_devaddr

address

undefined

devaddr

Returns

Name
Type
Description

_0

address

undefined

emergencyWithdraw

Parameters

Name
Type
Description

_pid

uint256

undefined

getMultiplier

Parameters

Name
Type
Description

_from

uint256

undefined

_to

uint256

undefined

Returns

Name
Type
Description

_0

uint256

undefined

grantRole

Parameters

Name
Type
Description

role

bytes32

undefined

account

address

undefined

massUpdatePools

owner

Returns the address of the current owner.

Returns

Name
Type
Description

_0

address

undefined

pendingSkrimples

Parameters

Name
Type
Description

_pid

uint256

undefined

_user

address

undefined

Returns

Name
Type
Description

_0

uint256

undefined

poolInfo

Parameters

Name
Type
Description

_0

uint256

undefined

Returns

Name
Type
Description

pToken

contract IERC20

undefined

allocPoint

uint256

undefined

lastRewardBlock

uint256

undefined

accSkrimplesPerShare

uint256

undefined

poolLength

Returns

Name
Type
Description

_0

uint256

undefined

renounceRole

Parameters

Name
Type
Description

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

Name
Type
Description

role

uint256

undefined

account

address

undefined

set

Parameters

Name
Type
Description

_pid

uint256

undefined

_allocPoint

uint256

undefined

_withUpdate

bool

undefined

startBlock

Returns

Name
Type
Description

_0

uint256

undefined

skrimples

Returns

Name
Type
Description

_0

contract SkrimplesToken

undefined

skrimplesPerBlock

Returns

Name
Type
Description

_0

uint256

undefined

totalAllocPoint

Returns

Name
Type
Description

_0

uint256

undefined

updatePool

Parameters

Name
Type
Description

_pid

uint256

undefined

updateTreasury

Parameters

Name
Type
Description

treasury

address

undefinied

updateTreasury is an onlyAdmin function and can only be called by current admin.

userInfo

Parameters

Name
Type
Description

_0

uint256

undefined

_1

address

undefined

Returns

Name
Type
Description

amount

uint256

undefined

rewardDebt

uint256

undefined

withdraw

Parameters

Name
Type
Description

_pid

uint256

undefined

_amount

uint256

undefined

Events

Deposit

Parameters

Name
Type
Description

user indexed

address

undefined

pid indexed

uint256

undefined

amount

uint256

undefined

EmergencyWithdraw

Parameters

Name
Type
Description

user indexed

address

undefined

pid indexed

uint256

undefined

amount

uint256

undefined

Withdraw

Parameters

Name
Type
Description

user indexed

address

undefined

pid indexed

uint256

undefined

amount

uint256

undefined

Edit this page

Last updated