forked from tintinweb/vscode-vyper
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstmt_builtins.json
44 lines (44 loc) · 1.44 KB
/
stmt_builtins.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
".source.vyper": {
"create minimal proxy to": {
"prefix": "create_minimal_proxy_to",
"body": "create_minimal_proxy_to(${1:target})"
},
"create copy of": {
"prefix": "create_copy_of",
"body": "create_copy_of(${1:target})"
},
"create from blueprint": {
"prefix": "create_from_blueprint",
"body": "create_from_blueprint(${1:target})"
},
"raw_call": {
"prefix": "raw_call",
"body": "raw_call(${1:to}, ${2:data}, max_outsize=${3:max_outsize}) "
},
"raw_delegatecall": {
"prefix": ["raw_call", "delegatecall"],
"body": "raw_call(${1:to}, ${2:data}, max_outsize=${3:max_outsize}, is_delegate_call=True) "
},
"raw_staticcall": {
"prefix": ["raw_call", "staticcall"],
"body": "raw_call(${1:to}, ${2:data}, max_outsize=${3:max_outsize}, is_static_call=True) "
},
"raw_log": {
"prefix": "raw_log",
"body": "raw_log([${1:topic}], ${2:data})"
},
"raw_revert": {
"prefix": "raw_revert",
"body": "raw_revert(${1:data})"
},
"selfdestruct": {
"prefix": "selfdestruct",
"body": "selfdestruct(${1:address})"
},
"send": {
"prefix": "send",
"body": "send(${1:address}, ${2:value})"
}
}
}