Commit fc55d33
committed
[Portal] Docs: Fix detectMethod example (#5519)
CNCT-2479
<!-- start pr-codex -->
---
## PR-Codex overview
This PR updates the `detectExtension.ts` file to modify how the `detectMethod` function checks for the presence of the `decimals` method in a contract. It replaces the method signature with a specific selector.
### Detailed summary
- Changed the `detectMethod` call to use `availableSelectors: ["0x313ce567"]` instead of the method signature `"function decimals() view returns (uint8)"`.
> ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}`
<!-- end pr-codex -->1 parent 708c353 commit fc55d33
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments