|
|
|
@ -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}, ${2:arg});', |
|
|
|
|
insertTextRules: monaco.languages.CompletionItemInsertTextRule.InsertAsSnippet, |
|
|
|
|
detail: 'decode(bytes encodedData, (...)) returns (...): ABI-decodes the given arguments from the given encodedData', |
|
|
|
|
range |
|
|
|
|
} |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|