feat: implement cross-chain asset support and bridge event verification#886
feat: implement cross-chain asset support and bridge event verification#886nonchalanttee22-lgtm wants to merge 6 commits into
Conversation
nonchalanttee22-lgtm
commented
Jun 28, 2026
- Add source_chain and source_tx_hash metadata to Plan struct for tracking bridged asset origins
- Extend Beneficiary with destination_chain and destination_address for cross-chain payouts
- Implement BridgePayoutEvent struct for Allbridge messaging protocol compatibility
- Add admin-managed wrapped token registry with register/unregister/query functions
- Validate bridged assets correspond to supported wrapped tokens on Stellar
- Implement safe bridge fee deduction (1% BPS) with integer division
- Emit bridge payout events with gross/fee/net amounts for non-Stellar destinations
- Update all contract tests with new metadata fields and bridge parameters
- Pass acceptance criteria: metadata acceptance, event emission, safe fee deduction
- Closes [Contracts] Handle Cross-Chain Assets and Bridging Event Verification #849
- Add source_chain and source_tx_hash metadata to Plan struct for tracking bridged asset origins - Extend Beneficiary with destination_chain and destination_address for cross-chain payouts - Implement BridgePayoutEvent struct for Allbridge messaging protocol compatibility - Add admin-managed wrapped token registry with register/unregister/query functions - Validate bridged assets correspond to supported wrapped tokens on Stellar - Implement safe bridge fee deduction (1% BPS) with integer division - Emit bridge payout events with gross/fee/net amounts for non-Stellar destinations - Update all contract tests with new metadata fields and bridge parameters - Pass acceptance criteria: metadata acceptance, event emission, safe fee deduction
|
@nonchalanttee22-lgtm Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
|
@nonchalanttee22-lgtm |
|
@nonchalanttee22-lgtm
const MAX_BENEFICIARIES: u32 = 100;
|
|
on it |
1 similar comment
|
on it |
|
done |
|
@nonchalanttee22-lgtm
const MAX_BENEFICIARIES: u32 = 100; |
|
done, merge |
|
@nonchalanttee22-lgtm |