static Script UnforgeScript(ForgedReader reader) { return(new Script { Code = (MichelineArray)reader.ReadEnumerableSingle(UnforgeMicheline), Storage = reader.ReadEnumerableSingle(UnforgeMicheline) }); }
static DoublePreendorsementContent UnforgeDoublePreendorsement(ForgedReader reader) { return(new DoublePreendorsementContent { Op1 = reader.ReadEnumerableSingle(UnforgeInlinedPreendorsement), Op2 = reader.ReadEnumerableSingle(UnforgeInlinedPreendorsement) }); }
static DoubleBakingContent UnforgeDoubleBaking(ForgedReader reader) { return(new DoubleBakingContent { BlockHeader1 = reader.ReadEnumerableSingle(UnforgeBlockHeader), BlockHeader2 = reader.ReadEnumerableSingle(UnforgeBlockHeader) }); }
static Parameters UnforgeParameters(ForgedReader reader) { return(UnforgeConditional(reader, () => { return new Parameters { Entrypoint = UnforgeEntrypoint(reader), Value = reader.ReadEnumerableSingle(UnforgeMicheline) }; })); }
static RegisterConstantContent UnforgeRegisterConstant(ForgedReader reader) { return(new RegisterConstantContent { Source = reader.ReadTzAddress(), Fee = (long)reader.ReadUBigInt(), Counter = (int)reader.ReadUBigInt(), GasLimit = (int)reader.ReadUBigInt(), StorageLimit = (int)reader.ReadUBigInt(), Value = reader.ReadEnumerableSingle(UnforgeMicheline) }); }