Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Withdraw Function #27

Open
koolamusic opened this issue Jul 21, 2022 · 1 comment
Open

Withdraw Function #27

koolamusic opened this issue Jul 21, 2022 · 1 comment

Comments

@koolamusic
Copy link
Member

Withdrawals should implement commissions. In a way that the earnings can be shared between Daccred and the Contract owners.
Daccred should be entitled to 1.5% of the earnings.

@toby0318 I am assigning this to you as the current withdraw implementation you have isn't full.

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
@koolamusic
Copy link
Member Author

immutable __DEV_WALLET = daccred.eth
immutable deployer = deployerAddress

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant