-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional LidoSplit Functions #92
Closed
Closed
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
45fcc98
chore: add lido actions to LidoSplit; ability to execute custom calls
samparsky d383a75
chore: LidoSplit prevent ability to call stETH address
samparsky fc766cd
chore: LidoSplit prevent ability to call stETH address
samparsky 592bb37
chore: nos registry type fix
samparsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity ^0.8.19; | ||
|
||
interface IEasyTrackMotion { | ||
|
||
/// @notice Creates new motion | ||
/// @param _evmScriptFactory Address of EVMScript factory registered in Easy Track | ||
/// @param _evmScriptCallData Encoded call data of EVMScript factory | ||
/// @return _newMotionId Id of created motion | ||
function createMotion(address _evmScriptFactory, bytes calldata _evmScriptCallData) external returns (uint256 _newMotionId); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity ^0.8.19; | ||
|
||
interface INodeOperatorRegistry { | ||
|
||
/// @notice Add `_quantity` validator signing keys to the keys of the node operator #`_nodeOperatorId`. Concatenated keys are: `_pubkeys` | ||
/// @dev Along with each key the DAO has to provide a signatures for the | ||
/// (pubkey, withdrawal_credentials, 32000000000) message. | ||
/// Given that information, the contract'll be able to call | ||
/// deposit_contract.deposit on-chain. | ||
/// @param _nodeOperatorId Node Operator id | ||
/// @param _keysCount Number of signing keys provided | ||
/// @param _publicKeys Several concatenated validator signing keys | ||
/// @param _signatures Several concatenated signatures for (pubkey, withdrawal_credentials, 32000000000) messages | ||
function addSigningKeys(uint256 _nodeOperatorId, uint256 _keysCount, bytes calldata _publicKeys, bytes calldata _signatures) external; | ||
|
||
/// @notice Removes an #`_keysCount` of validator signing keys starting from #`_index` of operator #`_id` usable keys. Executed on behalf of DAO. | ||
/// @param _nodeOperatorId Node Operator id | ||
/// @param _fromIndex Index of the key, starting with 0 | ||
/// @param _keysCount Number of keys to remove | ||
function removeSigningKeys(uint256 _nodeOperatorId, uint256 _fromIndex, uint256 _keysCount) external; | ||
} |
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
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not finished it seems