Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 393 Bytes

target.md

File metadata and controls

22 lines (15 loc) · 393 Bytes

target

Signature

function target(StdStorage storage self, address _target) internal returns (StdStorage storage);

Description

Sets the address of the contract (required).

Examples

// function playerCount() public view returns (uint256) {

uint256 slot = stdstore
    .target(address(game))
    .sig(game.playerCount.selector)
    .find();