-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update-actions-cache-version' of https://github.com/ska…
…lenetwork/skale-manager-interfaces into update-actions-cache-version
- Loading branch information
Showing
7 changed files
with
94 additions
and
31 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// SPDX-License-Identifier: AGPL-3.0-only | ||
|
||
/* | ||
IPaymasterController.sol - SKALE Manager | ||
Copyright (C) 2018-Present SKALE Labs | ||
@author Artem Payvin | ||
SKALE Manager is free software: you can redistribute it and/or modify | ||
it under the terms of the GNU Affero General Public License as published | ||
by the Free Software Foundation, either version 3 of the License, or | ||
(at your option) any later version. | ||
SKALE Manager is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU Affero General Public License for more details. | ||
You should have received a copy of the GNU Affero General Public License | ||
along with SKALE Manager. If not, see <https://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
pragma solidity >=0.6.10 <0.9.0; | ||
|
||
interface IPaymasterController { | ||
function addSchain(string calldata name) external; | ||
function addValidator(uint256 validatorId, address validatorAddress) external; | ||
function removeSchain(bytes32 schainHash) external; | ||
function setImaAddress(address imaAddress) external; | ||
function setMarionetteAddress(address payable marionetteAddress) external; | ||
function setNodesAmount(uint256 validatorId, uint256 nodesAmount) external; | ||
function setPaymasterAddress(address paymasterAddress) external; | ||
function setPaymasterChainHash(bytes32 chainHash) external; | ||
function setValidatorAddress(uint256 validatorId, address validatorAddress) 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@skalenetwork/skale-manager-interfaces", | ||
"version": "2.0.0", | ||
"version": "3.2.0", | ||
"description": "Definitions of interfaces needed to integrate with skale-manager smart contracts", | ||
"main": "index.js", | ||
"repository": "[email protected]:skalenetwork/skale-manager-interfaces.git", | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
slither-analyzer==0.8.0 | ||
slither-analyzer==0.10.3 |