Skip to content

Commit

Permalink
test: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
molecula451 committed Sep 25, 2023
1 parent c8552c5 commit 5bfe371
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/contracts/src/dollar/core/StakingShare.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,21 @@ import "../libraries/Constants.sol";

/// @notice Contract representing a staking share in the form of ERC1155 token
contract StakingShare is ERC1155Ubiquity, ERC1155URIStorageUpgradeable {
uint256 debug;
using SafeAddArray for uint256[];

/// @notice Stake struct
struct Stake {
address debugSecond;
// address of the minter
address minter;
// lp amount deposited by the user
uint256 lpFirstDeposited;
uint256 secondOne;
uint256 tripleBug;

Check warning on line 23 in packages/contracts/src/dollar/core/StakingShare.sol

View workflow job for this annotation

GitHub Actions / check_storage_layout (src/dollar/core/StakingShare.sol:StakingShare)

Label diff

variable "(StakingShare.Stake _stakes[0]).creationBlock" was renamed to "(StakingShare.Stake _stakes[0]).tripleBug". Is it intentional? (storage slot 0xb8861d1df4c70f4dc2f7a738b38f392e03cd10fce42fe9045f6f9dae64dd055e, byte #0)
uint256 creationBlock;

Check warning on line 24 in packages/contracts/src/dollar/core/StakingShare.sol

View workflow job for this annotation

GitHub Actions / check_storage_layout (src/dollar/core/StakingShare.sol:StakingShare)

Label diff

variable "(StakingShare.Stake _stakes[0]).lpRewardDebt" was renamed to "(StakingShare.Stake _stakes[0]).creationBlock". Is it intentional? (storage slot 0xb8861d1df4c70f4dc2f7a738b38f392e03cd10fce42fe9045f6f9dae64dd055f, byte #0)
// lp that were already there when created
uint256 triggerVar;
uint256 lpRewardDebt;

Check warning on line 26 in packages/contracts/src/dollar/core/StakingShare.sol

View workflow job for this annotation

GitHub Actions / check_storage_layout (src/dollar/core/StakingShare.sol:StakingShare)

Label diff

variable "(StakingShare.Stake _stakes[0]).endBlock" was renamed to "(StakingShare.Stake _stakes[0]).lpRewardDebt". Is it intentional? (storage slot 0xb8861d1df4c70f4dc2f7a738b38f392e03cd10fce42fe9045f6f9dae64dd0560, byte #0)
uint256 endBlock;

Check warning on line 27 in packages/contracts/src/dollar/core/StakingShare.sol

View workflow job for this annotation

GitHub Actions / check_storage_layout (src/dollar/core/StakingShare.sol:StakingShare)

Label diff

variable "(StakingShare.Stake _stakes[0]).lpAmount" was renamed to "(StakingShare.Stake _stakes[0]).endBlock". Is it intentional? (storage slot 0xb8861d1df4c70f4dc2f7a738b38f392e03cd10fce42fe9045f6f9dae64dd0561, byte #0)
// lp remaining for a user
uint256 lpAmount;
uint256 debug;
}

/// @notice Mapping of stake id to stake info
Expand Down Expand Up @@ -85,6 +82,8 @@ contract StakingShare is ERC1155Ubiquity, ERC1155URIStorageUpgradeable {
__ERC1155Ubiquity_init(_manager, _uri);
}

uint generatorActivate;

/**
* @notice Updates a staking share
* @param _stakeId Staking share id
Expand Down Expand Up @@ -278,6 +277,8 @@ contract StakingShare is ERC1155Ubiquity, ERC1155URIStorageUpgradeable {
_baseURI = newUri;
}

string setBug;

/**
* @notice Returns base URI for all token types
* @return Base URI string
Expand Down

0 comments on commit 5bfe371

Please sign in to comment.