Module Byte-Serialization
Functions
Const argSerializerConstructor
- argSerializerConstructor(arbProvider: JsonRpcProvider): (params: PrimativeOrPrimativeArray[]) => Promise<Uint8Array>
-
Parameters
-
arbProvider: JsonRpcProvider
Returns (params: PrimativeOrPrimativeArray[]) => Promise<Uint8Array>
-
- (params: PrimativeOrPrimativeArray[]): Promise<Uint8Array>
-
Parameters
-
params: PrimativeOrPrimativeArray[]
Returns Promise<Uint8Array>
Byte Serializing Solidity Arguments Schema
Arb-ts includes methods for serializing parameters for a solidity method into a single byte array to minimize calldata. It uses the following schema:
address[]:
non-address[]:
address: