codec property
BorshStructSizedCodec
get
codec
The encoders/decoders of this
class' properties.
Implementation
static BorshStructSizedCodec get codec {
return borsh.structSized({
'version': borsh.u32,
'state': borsh.u32,
'authorizedPubkey': borsh.pubkey,
'nonce': borsh.stringSized(32, encoding: BufferEncoding.base58),
// ignore: deprecated_member_use_from_same_package
'feeCalculator': FeeCalculator.codec,
});
}