Skip to content

update the SAC interface to include CAP-73's trust function#2454

Merged
ElliotFriend merged 7 commits into
mainfrom
chore/cap-73-updates
Jun 12, 2026
Merged

update the SAC interface to include CAP-73's trust function#2454
ElliotFriend merged 7 commits into
mainfrom
chore/cap-73-updates

Conversation

@ElliotFriend

Copy link
Copy Markdown
Contributor

CAP-73 includes the new trustline creation function on the SAC interface. Documenting that function in the tokens section here.

Copilot AI review requested due to automatic review settings May 14, 2026 21:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documents CAP-73’s new trust function on the Stellar Asset Contract (SAC) interface so developers can discover and understand the trustline-creation behavior from the tokens documentation.

Changes:

  • Added trust(env: Env, addr: Address) to the documented StellarAssetInterface trait.
  • Documented trust semantics (no-op cases, authorization requirement, panic conditions).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/tokens/stellar-asset-contract.mdx Outdated
Comment thread docs/tokens/stellar-asset-contract.mdx Outdated
@stellar-jenkins-ci

Copy link
Copy Markdown

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@stellar-jenkins-ci

Copy link
Copy Markdown

@leighmcculloch leighmcculloch left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@stellar-jenkins-ci

Copy link
Copy Markdown

@ElliotFriend ElliotFriend merged commit 398eeb7 into main Jun 12, 2026
9 checks passed
@ElliotFriend ElliotFriend deleted the chore/cap-73-updates branch June 12, 2026 17:40
zachfedor pushed a commit to zachfedor/stellar-docs that referenced this pull request Jun 18, 2026
…r#2454)

* update the SAC interface to include CAP-73's `trust` function

* Apply suggestions from code review

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* add a prose section describing the `trust` function of the SAC

* add CAP-73 notes in asset anatomy page.

* modify the custom SAC admin guide to use CAP-73 trust function

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.

3 participants