IStatScienceUpgradeable

Methods

DEFAULT_ADMIN_ROLE

function DEFAULT_ADMIN_ROLE() external view returns (bytes32)

Returns

Name
Type
Description

_0

bytes32

undefined

WHITELIST_ROLE

function WHITELIST_ROLE() external view returns (bytes32)

Returns

Name
Type
Description

_0

bytes32

undefined

augmentStat

function augmentStat(HeroStats _stats, uint256 _stat, uint8 _increase) external pure returns (struct HeroStats)

Parameters

Name
Type
Description

_stats

HeroStats

undefined

_stat

uint256

undefined

_increase

uint8

undefined

Returns

Name
Type
Description

_0

HeroStats

undefined

generateStatGrowth

Parameters

Name
Type
Description

_statGenes

uint256

undefined

_1

HeroCrystal

undefined

_2

enum Rarity

undefined

_isPrimary

bool

undefined

Returns

Name
Type
Description

_0

HeroStatGrowth

undefined

generateStats

Parameters

Name
Type
Description

_statGenes

uint256

undefined

_crystal

HeroCrystal

undefined

_rarity

enum Rarity

undefined

_crystalId

uint256

undefined

Returns

Name
Type
Description

_0

HeroStats

undefined

getGene

Parameters

Name
Type
Description

_genes

uint256

undefined

_position

uint8

undefined

Returns

Name
Type
Description

_0

uint8

undefined

getJobTier

Parameters

Name
Type
Description

_class

uint8

undefined

Returns

Name
Type
Description

_0

enum JobTier

undefined

getRoleAdmin

Parameters

Name
Type
Description

role

bytes32

undefined

Returns

Name
Type
Description

_0

bytes32

undefined

grantRole

Parameters

Name
Type
Description

role

bytes32

undefined

account

address

undefined

hasRole

Parameters

Name
Type
Description

role

bytes32

undefined

account

address

undefined

Returns

Name
Type
Description

_0

bool

undefined

renounceRole

Parameters

Name
Type
Description

role

bytes32

undefined

account

address

undefined

revokeRole

Parameters

Name
Type
Description

role

bytes32

undefined

account

address

undefined

supportsInterface

Parameters

Name
Type
Description

interfaceId

bytes4

undefined

Returns

Name
Type
Description

_0

bool

undefined

Last updated

Was this helpful?