Skip to content

Commit bb73f49

Browse files
docs: add TSDoc comments to SpokePool ABI with scope reduction warning (#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]>
1 parent d4ba8cb commit bb73f49

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@across-protocol/app-sdk": patch
3+
---
4+
5+
add TSDoc comments to SpokePool ABI with scope reduction warning

packages/sdk/src/abis/SpokePool.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
// TODO: remove what we don't use
1+
/**
2+
* @notice ABI definition for the Across Protocol SpokePool contract
3+
* @dev WARNING: This ABI may be reduced in scope over time as unused functions are removed
4+
* @see {@link https://github.com/across-protocol/contracts/blob/audit-latest/contracts/SpokePool.sol} for the most recent audited contract specification
5+
*/
26
export const spokePoolAbi = [
37
{ inputs: [], name: "DepositsArePaused", type: "error" },
48
{ inputs: [], name: "DisabledRoute", type: "error" },

0 commit comments

Comments
 (0)