-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7103d2
commit 9144511
Showing
5 changed files
with
11 additions
and
352 deletions.
There are no files selected for viewing
155 changes: 2 additions & 153 deletions
155
abi-bindings/go/validator-manager/ERC20TokenStakingManager/ERC20TokenStakingManager.go
Large diffs are not rendered by default.
Oops, something went wrong.
155 changes: 2 additions & 153 deletions
155
abi-bindings/go/validator-manager/NativeTokenStakingManager/NativeTokenStakingManager.go
Large diffs are not rendered by default.
Oops, something went wrong.
43 changes: 2 additions & 41 deletions
43
abi-bindings/go/validator-manager/PoAValidatorManager/PoAValidatorManager.go
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -312,7 +312,7 @@ abstract contract PoSValidatorManager is | |
/** | ||
* @notice Returns the settings for the validator manager contract | ||
*/ | ||
function getSettings() external view returns (PoSValidatorManagerSettings memory) { | ||
function _getPoSSettings() internal view returns (PoSValidatorManagerSettings memory) { | ||
PoSValidatorManagerStorage storage $ = _getPoSValidatorManagerStorage(); | ||
|
||
return PoSValidatorManagerSettings({ | ||
|
@@ -332,8 +332,8 @@ abstract contract PoSValidatorManager is | |
* @notice Returns the validator info for the given validation ID. | ||
* @param validationID ID of the validtor being queried. | ||
*/ | ||
function getPoSValidatorInfo(bytes32 validationID) | ||
external | ||
function _getPoSValidatorInfo(bytes32 validationID) | ||
internal | ||
view | ||
returns (PoSValidatorInfo memory) | ||
{ | ||
|
@@ -343,7 +343,7 @@ abstract contract PoSValidatorManager is | |
/** | ||
* @notice Returns the delegator info for the given delegation ID. | ||
*/ | ||
function getDelegator(bytes32 delegationID) external view returns (Delegator memory) { | ||
function _getDelegator(bytes32 delegationID) internal view returns (Delegator memory) { | ||
return _getPoSValidatorManagerStorage()._delegatorStakes[delegationID]; | ||
} | ||
Check warning Code scanning / Slither Dead-code Warning
PoSValidatorManager._getDelegator(bytes32) is never used and should be removed
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -211,7 +211,7 @@ abstract contract ValidatorManager is Initializable, ContextUpgradeable, IValida | |
/** | ||
* @notice Returns the validator churn period information for this contract. | ||
*/ | ||
function getValidatorChurnPeriod() external view returns (ValidatorChurnPeriod memory) { | ||
function _getValidatorChurnPeriod() internal view returns (ValidatorChurnPeriod memory) { | ||
return _getValidatorManagerStorage()._churnTracker; | ||
} | ||
Check warning Code scanning / Slither Dead-code Warning
ValidatorManager._getValidatorChurnPeriod() is never used and should be removed
|
||
|
||
|