Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 17
Implement Transfer model #40
Copy link
Copy link
Closed
Labels
GrantFox 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 | FWC26area:modelspriority:p2type:feature
Description
Metadata
Metadata
Assignees
Labels
GrantFox 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 | FWC26area:modelspriority:p2type:feature
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.