Skip to content

Commit

Permalink
feat: set fee recipient for vault (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
scolear authored Jul 22, 2024
1 parent 11c9087 commit 6b1d708
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contracts/DLCManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,14 @@ contract DLCManager is
emit SetBtcFeeRecipient(btcFeeRecipient);
}

function setBtcFeeRecipientForVault(
bytes32 uuid,
string calldata btcFeeRecipientToSet
) external onlyAdmin {
DLCLink.DLC storage dlc = dlcs[dlcIDsByUUID[uuid]];
dlc.btcFeeRecipient = btcFeeRecipientToSet;
}

function setWhitelistingEnabled(
bool isWhitelistingEnabled
) external onlyAdmin {
Expand Down

0 comments on commit 6b1d708

Please sign in to comment.