Skip to content

Commit

Permalink
docs: add TSDoc comments to SpokePool ABI with scope reduction warning (
Browse files Browse the repository at this point in the history
#114)

* docs: add TSDoc comments to SpokePool ABI with scope reduction warning

- Add warning about potential future ABI scope reduction
- Include reference to audited contract specification
- Link to latest audited SpokePool contract on GitHub

Signed-off-by: james-a-morris <[email protected]>

* add changeset

---------

Signed-off-by: james-a-morris <[email protected]>
Co-authored-by: Gerhard Steenkamp <[email protected]>
  • Loading branch information
james-a-morris and gsteenkamp89 authored Dec 18, 2024
1 parent d4ba8cb commit bb73f49
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/great-avocados-impress.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@across-protocol/app-sdk": patch
---

add TSDoc comments to SpokePool ABI with scope reduction warning
6 changes: 5 additions & 1 deletion packages/sdk/src/abis/SpokePool.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// TODO: remove what we don't use
/**
* @notice ABI definition for the Across Protocol SpokePool contract
* @dev WARNING: This ABI may be reduced in scope over time as unused functions are removed
* @see {@link https://github.com/across-protocol/contracts/blob/audit-latest/contracts/SpokePool.sol} for the most recent audited contract specification
*/
export const spokePoolAbi = [
{ inputs: [], name: "DepositsArePaused", type: "error" },
{ inputs: [], name: "DisabledRoute", type: "error" },
Expand Down

0 comments on commit bb73f49

Please sign in to comment.