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

feat (starknet): add batching functionality for claim_payment #184

Conversation

taturosati
Copy link
Contributor

Added 2 functions:

  • claim_payment_batch on escrow.cairo
  • claimPaymentBatch on PaymentRegistry.sol

This functions allow market maker to batch payment claims in order to save in gas costs.
Added tests for this two functions.

@taturosati taturosati changed the title feat: add batching functionality for claim payment feat (starknet): add batching functionality for claim_payment Mar 22, 2024
@taturosati taturosati marked this pull request as ready for review March 22, 2024 21:02
Copy link
Collaborator

@uri-99 uri-99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 🚧

contracts/ethereum/script/Deploy.s.sol Show resolved Hide resolved
contracts/ethereum/set_starknet_claim_payment_selector.sh Outdated Show resolved Hide resolved
contracts/starknet/.env.example Show resolved Hide resolved
contracts/ethereum/test/ACL.t.sol Show resolved Hide resolved
contracts/starknet/src/escrow.cairo Show resolved Hide resolved
contracts/starknet/src/escrow.cairo Show resolved Hide resolved
contracts/ethereum/src/PaymentRegistry.sol Outdated Show resolved Hide resolved
contracts/ethereum/src/PaymentRegistry.sol Show resolved Hide resolved
contracts/ethereum/src/PaymentRegistry.sol Outdated Show resolved Hide resolved
contracts/starknet/src/escrow.cairo Show resolved Hide resolved
contracts/starknet/src/tests/test_escrow_claim.cairo Outdated Show resolved Hide resolved
contracts/starknet/src/tests/test_escrow_claim.cairo Outdated Show resolved Hide resolved
contracts/starknet/src/tests/test_escrow_claim.cairo Outdated Show resolved Hide resolved
@taturosati taturosati merged commit 529c248 into develop Mar 27, 2024
3 checks passed
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.

feat: add batching functionality for withdraw in YABTransfer
3 participants