Skip to content

Add readVaultName to stellar.ts#740

Merged
Jayy4rl merged 1 commit into
StellarYield:mainfrom
Olowodarey:b
Jun 29, 2026
Merged

Add readVaultName to stellar.ts#740
Jayy4rl merged 1 commit into
StellarYield:mainfrom
Olowodarey:b

Conversation

@Olowodarey

Copy link
Copy Markdown
Contributor

Added two new read functions to backend/src/services/stellar.ts:309-329:

  • readFundingDeadline(contractId) — simulates funding_deadline (u64) and returns a bigint (0n when unset).
  • readVaultName(contractId) — simulates name and returns the share-token name string.

Both follow the existing patterns: readFundingDeadline mirrors readFundingTarget (non-negative bigint guard), and readVaultName mirrors readVaultSymbol (string-or-enum-shaped decoding).

closes #680
closes #682

@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@Olowodarey 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! 🚀

Learn more about application limits

@Jayy4rl Jayy4rl merged commit cf48e40 into StellarYield:main Jun 29, 2026
2 of 6 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.

Add readVaultName to stellar.ts Add readFundingDeadline to stellar.ts

2 participants