This repository was archived by the owner on May 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import "@keep-network/keep-core/contracts/StakeDelegatable.sol";
2020import "@keep-network/sortition-pools/contracts/api/IBonding.sol " ;
2121import "openzeppelin-solidity/contracts/math/SafeMath.sol " ;
2222
23+
2324/// @title Keep Bonding
2425/// @notice Contract holding deposits from keeps' operators.
2526contract AbstractBonding is IBonding {
@@ -189,11 +190,11 @@ contract AbstractBonding is IBonding {
189190 /// @param holder Address of the holder of the bond.
190191 /// @param referenceID Reference ID of the bond.
191192 /// @return Amount of wei in the selected bond.
192- function bondAmount (
193- address operator ,
194- address holder ,
195- uint256 referenceID
196- ) public view returns ( uint256 ) {
193+ function bondAmount (address operator , address holder , uint256 referenceID )
194+ public
195+ view
196+ returns ( uint256 )
197+ {
197198 bytes32 bondID = keccak256 (
198199 abi.encodePacked (operator, holder, referenceID)
199200 );
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import "@keep-network/keep-core/contracts/KeepRegistry.sol";
2020
2121import "openzeppelin-solidity/contracts/math/SafeMath.sol " ;
2222
23+
2324/// @title ETH Staking
2425/// @notice A staking contract for ETH staking. An owner of the ETH can delegate
2526/// ETH as a stake to an operator. The value of ETH the owner is willing to stake
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import "./AbstractBonding.sol";
1919import "@keep-network/keep-core/contracts/TokenGrant.sol " ;
2020import "@keep-network/keep-core/contracts/libraries/RolesLookup.sol " ;
2121
22+
2223/// @title Keep Bonding
2324/// @notice Contract holding deposits from keeps' operators.
2425contract KeepBonding is AbstractBonding {
You can’t perform that action at this time.
0 commit comments