Repository navigation
Implement Transfer model #40
Description
Activity
- addedGrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26
on Jul 20, 2026 Hi — I can take this on. I can handle this one. I'll implement it to spec and add tests. Will send a PR for this after assignment.
angelraph commented
on Jul 20, 2026 ContributorMore actionsI'm interested in working on this issue. I have experience contributing to Python projects and SDKs, and I'm comfortable implementing data models, enums, and parsing logic while keeping everything consistent with the existing codebase.
Before making any changes, I'll review the current models to match the project's architecture, coding style, and serialization patterns. I'll implement the new
Transfermodel, add theTransferStatusenum, ensureTransfer.from_dict()correctly handlesDecimalvalues, default the asset toXLMwhen it's missing, convert the status to the appropriate enum, and preserve optional fields as expected. I'll also add or update tests to verify the implementation meets the acceptance criteria and submit a clean, well-tested PR promptly.grantfox-oss commented
on Jul 23, 2026 grantfox-ossboton Jul 23, 2026 – with GrantFox OSSMore actions🦊 GrantFox — @angelraph has been assigned to this issue as part of the Official Campaign | FWC26 campaign!
Next steps:
- Open a Pull Request referencing this issue (e.g.,
Closes #40) - Your PR will be reviewed by the ShadeProtocol maintainers
Good luck! Track your progress on GrantFox.
- Open a Pull Request referencing this issue (e.g.,
grantfox-oss commented
on Jul 25, 2026 grantfox-ossboton Jul 25, 2026 – with GrantFox OSSMore actions🎉 This issue has been marked as completed on GrantFox as part of the Official Campaign | FWC26 campaign!
@angelraph's PR #50 was approved and merged by @codebestia.
🏆 @angelraph: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (48 total points). Track your full progress on GrantFox.
👏 Great work, @angelraph! Keep contributing to ShadeProtocol.
- added a commit that references this issue
on Jul 25, 2026
Represents a payout or transfer of funds from the merchant wallet to a destination address.
Proposed Steps:
src/shade/models/transfer.py.id,source_address,destination_address,amount: Decimal,asset: str,status,stellar_tx_hash: Optional[str],fee: Optional[Decimal],created_at.TransferStatusenum:pending,processing,completed,failed.Acceptance Criteria:
Transfer.from_dict(api_response)populates all fields correctly.transfer.assetdefaults to"XLM"when absent from the response.transfer.statusis aTransferStatusenum.