Skip to content

Commit

Permalink
Update Staking1155.sol
Browse files Browse the repository at this point in the history
Signed-off-by: fuder.eth <139509124+vtjl10@users.noreply.github.com>
  • Loading branch information
vtjl10 authored Jan 11, 2025
1 parent b0141d1 commit e8c50f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/extension/Staking1155.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ abstract contract Staking1155 is ReentrancyGuard, IStaking1155 {
/// @dev Flag to check direct transfers of staking tokens.
uint8 internal isStaking = 1;

///@dev Next staking condition Id. Tracks number of conditon updates so far.
///@dev Next staking condition Id. Tracks number of condition updates so far.
uint64 private nextDefaultConditionId;

///@dev List of token-ids ever staked.
Expand All @@ -32,7 +32,7 @@ abstract contract Staking1155 is ReentrancyGuard, IStaking1155 {
///@dev Mapping from default condition-id to default condition.
mapping(uint64 => StakingCondition) private defaultCondition;

///@dev Mapping from token-id to next staking condition Id for the token. Tracks number of conditon updates so far.
///@dev Mapping from token-id to next staking condition Id for the token. Tracks number of condition updates so far.
mapping(uint256 => uint64) private nextConditionId;

///@dev Mapping from token-id and staker address to Staker struct. See {struct IStaking1155.Staker}.
Expand Down

0 comments on commit e8c50f7

Please sign in to comment.