feat: Function to withdraw funds added

This commit is contained in:
donosonaumczuk
2024-02-02 20:25:39 -03:00
parent 2b76bc956b
commit bc8d9e7bbc

View File

@@ -56,7 +56,10 @@ contract PermissonlessCreator is Ownable {
TOKEN_HANDLE_REGISTRY = ITokenHandleRegistry(tokenHandleRegistry);
}
// TODO: Function onlyOwner to transfer all funds from paid creations - otherwise funds are locked here.
// Function onlyOwner to transfer all funds from paid creations - otherwise funds are locked here.
function withdrawFunds() external onlyOwner {
payable(owner()).transfer(address(this).balance);
}
/////////////////////////// Permissionless payable creation functions //////////////////////////////////////////////