Skip to content

docs(escrow): add rustdoc comments to public getter functions - #393

Open
rushikeshgarad2024-dev wants to merge 1 commit into
MergeFi:mainfrom
rushikeshgarad2024-dev:docs/escrow-view-functions-rustdoc-331
Open

rushikeshgarad2024-dev wants to merge 1 commit into
MergeFi:mainfrom
rushikeshgarad2024-dev:docs/escrow-view-functions-rustdoc-331

Conversation

@rushikeshgarad2024-dev

Copy link
Copy Markdown

Closes #331

Summary

Adds rustdoc doc comments (///) to the view and getter functions in contracts/escrow/src/lib.rs:

  • get_admin: Documents retrieving admin address or Error::NotInitialized.
  • get_oracle: Documents retrieving oracle address or Error::NotInitialized.
  • get_treasury: Documents retrieving treasury address or Error::NotInitialized.
  • get_fee_bps: Documents retrieving active protocol fee basis points or Error::NotInitialized.
  • set_treasury: Documents updating the fee recipient treasury address, and ensures valid closing brace syntax.
  • get_version: Documents returning contract version (defaulting to 0).
  • get_max_sponsors: Documents returning max sponsors limit per escrow.

Payout Address (Stellar)

GC5U46IS25KYFKNHDXEHR3KTQB3DVIBM4NW5BH4MVUE2G77STCJP4IHF

…ergeFi#331)

Signed-off-by: rushikeshgarad2024-dev <rushikeshgarad2024@gmail.com>
@vercel

vercel Bot commented Sep 25, 2026

Copy link
Copy Markdown

@rushikeshgarad2024-dev is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
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.

escrow: 6 public functions have no rustdoc comment at all (get_admin, get_oracle, get_treasury, get_fee_bps, get_version, get_max_sponsors)

1 participant