encodeBool

open fun encodeBool(value: Boolean): Array<Byte>

Encode a bool according to Ethereum ABI, into 32 bytes. Values are padded by 0 on the left, unless specified otherwise

Return

Encoded value stored in a block of data

Parameters

value

a boolean value