Skip to content

fix(web): accept arbitrary method names in invokeContract#455

Open
BABAT-CODE wants to merge 2 commits into
Vatix-Protocol:devfrom
BABAT-CODE:fix/web-deposit-collateral-function-name
Open

fix(web): accept arbitrary method names in invokeContract#455
BABAT-CODE wants to merge 2 commits into
Vatix-Protocol:devfrom
BABAT-CODE:fix/web-deposit-collateral-function-name

Conversation

@BABAT-CODE

Copy link
Copy Markdown
Contributor
  • contract-client.ts: rename SorobanRpc import to rpc alias (stellar-sdk v16)
  • soroban.ts: re-exports invokeContract with method:string (not deposit|withdraw) so DepositForm and WithdrawForm can call deposit_collateral / withdraw_unused_collateral without a type error
    closes Pass market_id in DepositForm invoke args #357

BABAT-CODE and others added 2 commits June 29, 2026 04:54
- contract-client.ts: rename SorobanRpc import to rpc alias (stellar-sdk v16)
- soroban.ts: re-exports invokeContract with method:string (not deposit|withdraw)
  so DepositForm and WithdrawForm can call deposit_collateral /
  withdraw_unused_collateral without a type error
@Mimah97

Mimah97 commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

???? @BABAT-CODE

@BABAT-CODE

BABAT-CODE commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Dear Sir please help me and merge sir

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.

Pass market_id in DepositForm invoke args

2 participants