File tree Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Expand file tree Collapse file tree 2 files changed +22
-9
lines changed Original file line number Diff line number Diff line change @@ -1225,19 +1225,19 @@ _Input data_
1225
1225
##### If P1 == first chunk
1226
1226
1227
1227
[width="80%"]
1228
- |==========================================
1229
- | *Description* | *Length (byte)*
1230
- | Payload length | 2
1231
- | TLV payload | variable
1232
- |==========================================
1228
+ |====================================================================
1229
+ | *Description* | *Length (byte)*
1230
+ | struct size (BE) | 2
1231
+ | link:tlv_structs.md#proxy_info[PROXY_INFO struct] | variable
1232
+ |====================================================================
1233
1233
1234
1234
##### If P1 == following chunk
1235
1235
1236
1236
[width="80%"]
1237
- |==========================================
1238
- | *Description* | *Length (byte)*
1239
- | TLV payload | variable
1240
- |==========================================
1237
+ |====================================================================
1238
+ | *Description* | *Length (byte)*
1239
+ | link:tlv_structs.md#proxy_info[PROXY_INFO struct] | variable
1240
+ |====================================================================
1241
1241
1242
1242
_Output data_
1243
1243
Original file line number Diff line number Diff line change @@ -299,3 +299,16 @@ In version 1 of the protocol:
299
299
| ---------| ------| -----------------| --------------------------| ----------| -----------------|
300
300
| START | 0x01 | int16 | start index (inclusive) | x | |
301
301
| END | 0x02 | int16 | end index (exclusive) | x | |
302
+
303
+ ## PROXY_INFO
304
+
305
+ | Name | Tag | Payload type | Description | Optional |
306
+ | ----------------| ------| -----------------| ---------------------------------| ----------|
307
+ | STRUCT_TYPE | 0x01 | uint8 | structure type | |
308
+ | STRUCT_VERSION | 0x02 | uint8 | structure version | |
309
+ | CHALLENGE | 0x12 | uint32 | challenge to ensure freshness | |
310
+ | ADDRESS | 0x22 | uint8[ 20] | proxy contract address | |
311
+ | CHAIN_ID | 0x23 | uint64 | EVM chain identifier | |
312
+ | SELECTOR | 0x28 | uint[ 4] | function selector | x |
313
+ | IMPL_ADDRESS | 0x29 | uint8[ 20] | implementation contract address | |
314
+ | SIGNATURE | 0x15 | uint8[ ] | signature of the structure | |
You can’t perform that action at this time.
0 commit comments