View on GitHub

Sapling contracts

Sapling Contracts

Solidity API

SaplingStakerContextTester

Exposes selected internal functions and/or modifiers for direct calling for testing purposes.

value

uint256 value

ValueChanged

event ValueChanged(uint256 prevValue, uint256 newValue)

initialize

function initialize(address _accessControl, address _stakerAddress) public

Initializer

Name Type Description
_accessControl address Access control contract
_stakerAddress address Staker address

isNonUserAddressWrapper

function isNonUserAddressWrapper(address party) external view returns (bool)

Wrapper for an internal function

canCloseWrapper

function canCloseWrapper() external view returns (bool)

Wrapper for an internal function

canOpenWrapper

function canOpenWrapper() external view returns (bool)

Wrapper for an internal function

someOnlyUserFunction

function someOnlyUserFunction(uint256 newValue) external

A state changing function with onlyUser modifier