Smart Contract Interfaces
This document provides the Solidity interfaces for the Noderr Protocol's core smart contracts.
IVault.sol
interface IVault {
function deposit(uint256 amount) external;
function withdraw(uint256 amount) external;
function balanceOf(address account) external view returns (uint256);
}
IStakingManager.sol
interface IStakingManager {
function stake(uint256 amount) external;
function unstake(uint256 amount) external;
function claimRewards() external;
}
This is a selection of the most commonly used interfaces. For the complete set of interfaces, please see the Noderr Protocol GitHub repository.