Skip to content

Commit

Permalink
add decode
Browse files Browse the repository at this point in the history
  • Loading branch information
bunsenstraat committed Sep 24, 2023
1 parent a692e95 commit eba283e
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,14 @@ export function getAbiCompletionItems(range: monacoTypes.IRange, monaco): monaco
label: 'encodeWithSignature',
range
},
{
label: 'decode',
kind: monaco.languages.CompletionItemKind.Method,
insertText: 'decode(${1:arg});',
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet,
detail: 'decode(bytes encodedData, (...)) returns (...): ABI-decodes the given arguments from the given encodedData',
range
}
];
}

Expand Down

0 comments on commit eba283e

Please sign in to comment.