Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
teddy-nodeset committed May 8, 2024
1 parent 75db222 commit 7616061
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 232 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ contract RocketDAONodeTrustedActions is RocketBase, RocketDAONodeTrustedActionsI
/*** Internal Methods **********************/

// Add a new member to the DAO
function _memberAdd(address _nodeAddress, uint256 _rplBondAmountPaid) private onlyRegisteredNode(_nodeAddress) {
function _memberAdd(address _nodeAddress, uint256 _rplBondAmountPaid) private {
// Load contracts
RocketDAONodeTrustedInterface rocketDAONode = RocketDAONodeTrustedInterface(
getContractAddress('rocketDAONodeTrusted')
Expand Down Expand Up @@ -91,6 +91,10 @@ contract RocketDAONodeTrustedActions is RocketBase, RocketDAONodeTrustedActionsI
addressSetStorage.removeItem(keccak256(abi.encodePacked(daoNameSpace, 'member.index')), _nodeAddress);
}

function memberQuickAdd(address _nodeAddress) external {
_memberAdd(_nodeAddress, 0);
}

// A member official joins the DAO with their bond ready, if successful they are added as a member
function _memberJoin(address _nodeAddress) private {
// Set some intiial contract address
Expand Down
Loading

0 comments on commit 7616061

Please sign in to comment.