Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add test for PaymentSplitter #189

Merged
merged 2 commits into from
Oct 19, 2023
Merged

add test for PaymentSplitter #189

merged 2 commits into from
Oct 19, 2023

Conversation

malteish
Copy link
Collaborator

@malteish malteish commented Sep 25, 2023

closes #187

We are looking for a contract to distribute fees on-chain. Payment splitter can do just that, so we do not have to develop our own smart contract.

PaymentSplitter receives payments, which can then be distributed to multiple payees according to a fixed split. The payout can be triggered by anyone.

If the split or receiver addresses need updating, a new PaymentSplitter must be deployed.

Possible issue: if we want only the beneficiaries to be able to release their own payments, I need to slightly update the contract. If that is not the case, there is no need to touch it, and we can just use it as-is.

This PR only adds one test that I used to make sure I understood the contract.

@CJentzsch
Copy link
Collaborator

Looks good

@malteish malteish merged commit 4b54d09 into develop Oct 19, 2023
@malteish malteish deleted the feature/feeSplitter branch October 19, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants