docs: update architecture docs 2026-06-29#98
Open
JamesLawton wants to merge 1 commit into
Open
Conversation
Document smart contracts that have shipped to trails-contracts/master but were missing from the architecture overview: - TrailsUtils (bundles MalleableSapient, HydrateProxy, RequireUtils) - TimedRefundSapient (timed self-recovery) - PausableSapient / Pausable (circuit-breaker on signature acceptance) - MalleableSapient and RequireUtils (already deployed; previously only HydrateProxy was mentioned) Generated by the Trails Docs weekly agent.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
architecture/smart-contracts.mdx: extended the Key Contracts list with the contracts that have shipped totrails-contractsmasterbut are not yet documented.MalleableSapient,HydrateProxy, andRequireUtilsunder one deployed address. Its address is also now returned by the API astrailsUtilsAddresson theTrailsContractspayload.PrepareIntentRecovery/BuildIntentRecoveryTransactionAPI endpoints documented separately.HydrateProxy(which depends on them) was mentioned.Source of truth
TrailsUtils.sol— trails-contracts/src/TrailsUtils.sol. Its address became a required field on theTrailsContractsAPI schema in trails-apirelease(trailsUtilsAddress).TimedRefundSapient.sol— trails-contracts/src/autoRecovery/TimedRefundSapient.sol, added in #92 (2026-03-17).Pausable.solandPausableSapient.sol— trails-contracts/src/pausable/, added in #96 (2026-06-25).MalleableSapient.solandRequireUtils.sol— trails-contracts/src/modules/; both are inherited byTrailsUtils.Verification
ls trails-contracts/src/**/*.sol— every contract insrc/plus the modules used byTrailsUtilsis now mentioned.trailsUtilsAddressfield againstTrailsContractsintrails-api/proto/trails-types.ridl.Generated by the Trails Docs weekly agent.
Generated by Claude Code