You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should be able to decode valueType and valueContent of tuples:
(bytes4,address,bytes4) results in -> ["0x11223344", "0x1122334411223344112233441122334411223344", "0x11223344"]
CompactBytesArray:
first byte length of bytes l, followed by bytes, follo3ed by length of next bytes. valueContent = "CompactBytesArray"
"0x04112233441411223344112233441122334411223344112233440411223344" in
-> ["0x11223344", "0x1122334411223344112233441122334411223344", "0x11223344"]
Should also work: (Bytes4,Address,Bytes4)[] // ABI encoded array of a tuple (Bytes4,Address,Bytes4)[CompactBytesArray] // CompactBytesArray encoded tuple (cheaper)
The text was updated successfully, but these errors were encountered:
Should be able to decode
valueType
andvalueContent
of tuples:(bytes4,address,bytes4)
results in ->["0x11223344", "0x1122334411223344112233441122334411223344", "0x11223344"]
CompactBytesArray:
first byte length of bytes l, followed by bytes, follo3ed by length of next bytes.
valueContent = "CompactBytesArray"
"0x04112233441411223344112233441122334411223344112233440411223344" in
->
["0x11223344", "0x1122334411223344112233441122334411223344", "0x11223344"]
Should also work:
(Bytes4,Address,Bytes4)[]
// ABI encoded array of a tuple(Bytes4,Address,Bytes4)[CompactBytesArray]
// CompactBytesArray encoded tuple (cheaper)The text was updated successfully, but these errors were encountered: