The Boneyard

Based on Sushiswap's Masterchef v1arrow-up-right

BONUS_MULTIPLIERarrow-up-right

function BONUS_MULTIPLIER() external view returns (uint256)

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

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

Parametersarrow-up-right

Name
Type
Description

_allocPoint

uint256

undefined

_pToken

contract IERC20

undefined

_withUpdate

bool

undefined

bonusEndBlockarrow-up-right

function bonusEndBlock() external view returns (uint256)

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

Parametersarrow-up-right

Name
Type
Description

_pid

uint256

undefined

_amount

uint256

undefined

Parametersarrow-up-right

Name
Type
Description

_devaddr

address

undefined

Returnsarrow-up-right

Name
Type
Description

_0

address

undefined

emergencyWithdrawarrow-up-right

Parametersarrow-up-right

Name
Type
Description

_pid

uint256

undefined

getMultiplierarrow-up-right

Parametersarrow-up-right

Name
Type
Description

_from

uint256

undefined

_to

uint256

undefined

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

grantRole

Parameters

Name
Type
Description

role

bytes32

undefined

account

address

undefined

massUpdatePoolsarrow-up-right

arrow-up-right

Returns the address of the current owner.

Returnsarrow-up-right

Name
Type
Description

_0

address

undefined

pendingSkrimplesarrow-up-right

Parametersarrow-up-right

Name
Type
Description

_pid

uint256

undefined

_user

address

undefined

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

Parametersarrow-up-right

Name
Type
Description

_0

uint256

undefined

Returnsarrow-up-right

Name
Type
Description

pToken

contract IERC20

undefined

allocPoint

uint256

undefined

lastRewardBlock

uint256

undefined

accSkrimplesPerShare

uint256

undefined

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

renounceRolearrow-up-right

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.

Parameters

Name
Type
Description

role

uint256

undefined

account

address

undefined

Parametersarrow-up-right

Name
Type
Description

_pid

uint256

undefined

_allocPoint

uint256

undefined

_withUpdate

bool

undefined

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

skrimples

Returnsarrow-up-right

Name
Type
Description

_0

contract SkrimplesToken

undefined

skrimplesPerBlockarrow-up-right

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

totalAllocPointarrow-up-right

Returnsarrow-up-right

Name
Type
Description

_0

uint256

undefined

Parametersarrow-up-right

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.

Parametersarrow-up-right

Name
Type
Description

_0

uint256

undefined

_1

address

undefined

Returnsarrow-up-right

Name
Type
Description

amount

uint256

undefined

rewardDebt

uint256

undefined

Parametersarrow-up-right

Name
Type
Description

_pid

uint256

undefined

_amount

uint256

undefined

Parametersarrow-up-right

Name
Type
Description

user indexed

address

undefined

pid indexed

uint256

undefined

amount

uint256

undefined

EmergencyWithdrawarrow-up-right

Parametersarrow-up-right

Name
Type
Description

user indexed

address

undefined

pid indexed

uint256

undefined

amount

uint256

undefined

Parametersarrow-up-right

Name
Type
Description

user indexed

address

undefined

pid indexed

uint256

undefined

amount

uint256

undefined

Edit this pagearrow-up-right

Last updated