State
ArtifactClass
and Artifact
ArtifactClass
and Artifact
ArtifactClass
is an alias of ItemClass
/ PlayerClass
and Artifact
is an alias of Item
/ Player
. In other words, ArtifactClass
can be ItemClass
or PlayerClass
and Artifact
can be Item
or Player
. Artifacts and ArtifactClasses are not actually stored on-chain. They are only used for deserialize them to the same structure as they have their own structure in their own contracts and make them easy to manage in the staking contract.
StakingCounter
StakingCounter
StakingCounter
records the type and start time of every staking process. If event_type
is 0, the staking process is in warmup state and if event_type
is 1, the staking process is in cooldown state.
Last updated