diff --git a/pb/sf/gear/type/v1/block.pb.go b/pb/sf/gear/type/v1/block.pb.go index 437d26a..296cd40 100644 --- a/pb/sf/gear/type/v1/block.pb.go +++ b/pb/sf/gear/type/v1/block.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.27.0 +// protoc-gen-go v1.28.1 // protoc (unknown) // source: sf/gear/type/v1/block.proto diff --git a/pb/sf/gear/type/v1/block_vtproto.pb.go b/pb/sf/gear/type/v1/block_vtproto.pb.go new file mode 100644 index 0000000..51a1d63 --- /dev/null +++ b/pb/sf/gear/type/v1/block_vtproto.pb.go @@ -0,0 +1,9948 @@ +// Code generated by protoc-gen-go-vtproto. DO NOT EDIT. +// protoc-gen-go-vtproto version: v0.6.0 +// source: sf/gear/type/v1/block.proto + +package pbgear + +import ( + fmt "fmt" + protohelpers "github.com/planetscale/vtprotobuf/protohelpers" + proto "google.golang.org/protobuf/proto" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + io "io" + unsafe "unsafe" +) + +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) + +func (m *Block) CloneVT() *Block { + if m == nil { + return (*Block)(nil) + } + r := new(Block) + r.Number = m.Number + r.Header = m.Header.CloneVT() + if rhs := m.Hash; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.Hash = tmpBytes + } + if rhs := m.Extrinsics; rhs != nil { + tmpContainer := make([]*Extrinsic, len(rhs)) + for k, v := range rhs { + tmpContainer[k] = v.CloneVT() + } + r.Extrinsics = tmpContainer + } + if rhs := m.Events; rhs != nil { + tmpContainer := make([]*Event, len(rhs)) + for k, v := range rhs { + tmpContainer[k] = v.CloneVT() + } + r.Events = tmpContainer + } + if rhs := m.DigestItems; rhs != nil { + tmpContainer := make([]*DigestItem, len(rhs)) + for k, v := range rhs { + tmpContainer[k] = v.CloneVT() + } + r.DigestItems = tmpContainer + } + if rhs := m.Justification; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.Justification = tmpBytes + } + if rhs := m.RawEvents; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.RawEvents = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Block) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Header) CloneVT() *Header { + if m == nil { + return (*Header)(nil) + } + r := new(Header) + r.SpecVersion = m.SpecVersion + if rhs := m.ParentHash; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.ParentHash = tmpBytes + } + if rhs := m.StateRoot; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.StateRoot = tmpBytes + } + if rhs := m.ExtrinsicsRoot; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.ExtrinsicsRoot = tmpBytes + } + if rhs := m.UpdatedMetadata; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.UpdatedMetadata = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Header) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *DigestItem) CloneVT() *DigestItem { + if m == nil { + return (*DigestItem)(nil) + } + r := new(DigestItem) + if m.Item != nil { + r.Item = m.Item.(interface{ CloneVT() isDigestItem_Item }).CloneVT() + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *DigestItem) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *DigestItem_AsChangesTrieRoot) CloneVT() isDigestItem_Item { + if m == nil { + return (*DigestItem_AsChangesTrieRoot)(nil) + } + r := new(DigestItem_AsChangesTrieRoot) + if rhs := m.AsChangesTrieRoot; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsChangesTrieRoot = tmpBytes + } + return r +} + +func (m *DigestItem_AsPreRuntime) CloneVT() isDigestItem_Item { + if m == nil { + return (*DigestItem_AsPreRuntime)(nil) + } + r := new(DigestItem_AsPreRuntime) + r.AsPreRuntime = m.AsPreRuntime.CloneVT() + return r +} + +func (m *DigestItem_AsConsensus) CloneVT() isDigestItem_Item { + if m == nil { + return (*DigestItem_AsConsensus)(nil) + } + r := new(DigestItem_AsConsensus) + r.AsConsensus = m.AsConsensus.CloneVT() + return r +} + +func (m *DigestItem_AsSeal) CloneVT() isDigestItem_Item { + if m == nil { + return (*DigestItem_AsSeal)(nil) + } + r := new(DigestItem_AsSeal) + r.AsSeal = m.AsSeal.CloneVT() + return r +} + +func (m *DigestItem_AsChangesTrieSignal) CloneVT() isDigestItem_Item { + if m == nil { + return (*DigestItem_AsChangesTrieSignal)(nil) + } + r := new(DigestItem_AsChangesTrieSignal) + r.AsChangesTrieSignal = m.AsChangesTrieSignal.CloneVT() + return r +} + +func (m *DigestItem_AsOther) CloneVT() isDigestItem_Item { + if m == nil { + return (*DigestItem_AsOther)(nil) + } + r := new(DigestItem_AsOther) + if rhs := m.AsOther; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsOther = tmpBytes + } + return r +} + +func (m *PreRuntime) CloneVT() *PreRuntime { + if m == nil { + return (*PreRuntime)(nil) + } + r := new(PreRuntime) + r.ConsensusEngineId = m.ConsensusEngineId + if rhs := m.Bytes; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.Bytes = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *PreRuntime) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Consensus) CloneVT() *Consensus { + if m == nil { + return (*Consensus)(nil) + } + r := new(Consensus) + r.ConsensusEngineId = m.ConsensusEngineId + if rhs := m.Bytes; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.Bytes = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Consensus) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Seal) CloneVT() *Seal { + if m == nil { + return (*Seal)(nil) + } + r := new(Seal) + r.ConsensusEngineId = m.ConsensusEngineId + if rhs := m.Bytes; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.Bytes = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Seal) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *ChangesTrieSignal) CloneVT() *ChangesTrieSignal { + if m == nil { + return (*ChangesTrieSignal)(nil) + } + r := new(ChangesTrieSignal) + r.IsNewConfiguration = m.IsNewConfiguration + if rhs := m.AsNewConfiguration; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsNewConfiguration = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *ChangesTrieSignal) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Extrinsic) CloneVT() *Extrinsic { + if m == nil { + return (*Extrinsic)(nil) + } + r := new(Extrinsic) + r.Version = m.Version + r.Signature = m.Signature.CloneVT() + r.Method = m.Method.CloneVT() + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Extrinsic) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Signature) CloneVT() *Signature { + if m == nil { + return (*Signature)(nil) + } + r := new(Signature) + r.Signer = m.Signer.CloneVT() + r.Signature = m.Signature.CloneVT() + r.Era = m.Era.CloneVT() + r.Nonce = m.Nonce + r.Tip = m.Tip + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Signature) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *MultiAddress) CloneVT() *MultiAddress { + if m == nil { + return (*MultiAddress)(nil) + } + r := new(MultiAddress) + r.IsId = m.IsId + r.IsIndex = m.IsIndex + r.AsIndex = m.AsIndex + r.IsRaw = m.IsRaw + r.IsAddress_32 = m.IsAddress_32 + r.IsAddress_20 = m.IsAddress_20 + if rhs := m.AsId; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsId = tmpBytes + } + if rhs := m.AsRaw; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsRaw = tmpBytes + } + if rhs := m.AsAddress_32; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsAddress_32 = tmpBytes + } + if rhs := m.AsAddress_20; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsAddress_20 = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *MultiAddress) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *MultiSignature) CloneVT() *MultiSignature { + if m == nil { + return (*MultiSignature)(nil) + } + r := new(MultiSignature) + r.IsEd_25519 = m.IsEd_25519 + r.IsSr_25519 = m.IsSr_25519 + r.IsEcdsa = m.IsEcdsa + if rhs := m.AsEd_25519; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsEd_25519 = tmpBytes + } + if rhs := m.AsSr_25519; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsSr_25519 = tmpBytes + } + if rhs := m.AsEcdsa; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.AsEcdsa = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *MultiSignature) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *ExtrinsicEra) CloneVT() *ExtrinsicEra { + if m == nil { + return (*ExtrinsicEra)(nil) + } + r := new(ExtrinsicEra) + r.IsImmortalEra = m.IsImmortalEra + r.IsMortalEra = m.IsMortalEra + r.AsMortalEra = m.AsMortalEra.CloneVT() + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *ExtrinsicEra) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Call) CloneVT() *Call { + if m == nil { + return (*Call)(nil) + } + r := new(Call) + r.CallIndex = m.CallIndex.CloneVT() + if rhs := m.Args; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.Args = tmpBytes + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Call) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *CallIndex) CloneVT() *CallIndex { + if m == nil { + return (*CallIndex)(nil) + } + r := new(CallIndex) + r.SectionIndex = m.SectionIndex + r.MethodIndex = m.MethodIndex + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *CallIndex) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Event) CloneVT() *Event { + if m == nil { + return (*Event)(nil) + } + r := new(Event) + r.Name = m.Name + r.Phase = m.Phase.CloneVT() + if rhs := m.Id; rhs != nil { + tmpBytes := make([]byte, len(rhs)) + copy(tmpBytes, rhs) + r.Id = tmpBytes + } + if rhs := m.Topics; rhs != nil { + tmpContainer := make([][]byte, len(rhs)) + for k, v := range rhs { + tmpBytes := make([]byte, len(v)) + copy(tmpBytes, v) + tmpContainer[k] = tmpBytes + } + r.Topics = tmpContainer + } + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Event) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *Phase) CloneVT() *Phase { + if m == nil { + return (*Phase)(nil) + } + r := new(Phase) + r.IsApplyExtrinsic = m.IsApplyExtrinsic + r.AsApplyExtrinsic = m.AsApplyExtrinsic + r.IsFinalization = m.IsFinalization + r.IsInitialization = m.IsInitialization + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *Phase) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *MortalEra) CloneVT() *MortalEra { + if m == nil { + return (*MortalEra)(nil) + } + r := new(MortalEra) + r.First = m.First + r.Second = m.Second + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *MortalEra) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (m *PaymentFields) CloneVT() *PaymentFields { + if m == nil { + return (*PaymentFields)(nil) + } + r := new(PaymentFields) + r.Tip = m.Tip + if len(m.unknownFields) > 0 { + r.unknownFields = make([]byte, len(m.unknownFields)) + copy(r.unknownFields, m.unknownFields) + } + return r +} + +func (m *PaymentFields) CloneMessageVT() proto.Message { + return m.CloneVT() +} + +func (this *Block) EqualVT(that *Block) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.Number != that.Number { + return false + } + if string(this.Hash) != string(that.Hash) { + return false + } + if !this.Header.EqualVT(that.Header) { + return false + } + if len(this.Extrinsics) != len(that.Extrinsics) { + return false + } + for i, vx := range this.Extrinsics { + vy := that.Extrinsics[i] + if p, q := vx, vy; p != q { + if p == nil { + p = &Extrinsic{} + } + if q == nil { + q = &Extrinsic{} + } + if !p.EqualVT(q) { + return false + } + } + } + if len(this.Events) != len(that.Events) { + return false + } + for i, vx := range this.Events { + vy := that.Events[i] + if p, q := vx, vy; p != q { + if p == nil { + p = &Event{} + } + if q == nil { + q = &Event{} + } + if !p.EqualVT(q) { + return false + } + } + } + if len(this.DigestItems) != len(that.DigestItems) { + return false + } + for i, vx := range this.DigestItems { + vy := that.DigestItems[i] + if p, q := vx, vy; p != q { + if p == nil { + p = &DigestItem{} + } + if q == nil { + q = &DigestItem{} + } + if !p.EqualVT(q) { + return false + } + } + } + if string(this.Justification) != string(that.Justification) { + return false + } + if string(this.RawEvents) != string(that.RawEvents) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Block) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Block) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Header) EqualVT(that *Header) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if string(this.ParentHash) != string(that.ParentHash) { + return false + } + if string(this.StateRoot) != string(that.StateRoot) { + return false + } + if string(this.ExtrinsicsRoot) != string(that.ExtrinsicsRoot) { + return false + } + if this.SpecVersion != that.SpecVersion { + return false + } + if string(this.UpdatedMetadata) != string(that.UpdatedMetadata) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Header) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Header) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *DigestItem) EqualVT(that *DigestItem) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.Item == nil && that.Item != nil { + return false + } else if this.Item != nil { + if that.Item == nil { + return false + } + if !this.Item.(interface{ EqualVT(isDigestItem_Item) bool }).EqualVT(that.Item) { + return false + } + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *DigestItem) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*DigestItem) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *DigestItem_AsChangesTrieRoot) EqualVT(thatIface isDigestItem_Item) bool { + that, ok := thatIface.(*DigestItem_AsChangesTrieRoot) + if !ok { + return false + } + if this == that { + return true + } + if this == nil && that != nil || this != nil && that == nil { + return false + } + if string(this.AsChangesTrieRoot) != string(that.AsChangesTrieRoot) { + return false + } + return true +} + +func (this *DigestItem_AsPreRuntime) EqualVT(thatIface isDigestItem_Item) bool { + that, ok := thatIface.(*DigestItem_AsPreRuntime) + if !ok { + return false + } + if this == that { + return true + } + if this == nil && that != nil || this != nil && that == nil { + return false + } + if p, q := this.AsPreRuntime, that.AsPreRuntime; p != q { + if p == nil { + p = &PreRuntime{} + } + if q == nil { + q = &PreRuntime{} + } + if !p.EqualVT(q) { + return false + } + } + return true +} + +func (this *DigestItem_AsConsensus) EqualVT(thatIface isDigestItem_Item) bool { + that, ok := thatIface.(*DigestItem_AsConsensus) + if !ok { + return false + } + if this == that { + return true + } + if this == nil && that != nil || this != nil && that == nil { + return false + } + if p, q := this.AsConsensus, that.AsConsensus; p != q { + if p == nil { + p = &Consensus{} + } + if q == nil { + q = &Consensus{} + } + if !p.EqualVT(q) { + return false + } + } + return true +} + +func (this *DigestItem_AsSeal) EqualVT(thatIface isDigestItem_Item) bool { + that, ok := thatIface.(*DigestItem_AsSeal) + if !ok { + return false + } + if this == that { + return true + } + if this == nil && that != nil || this != nil && that == nil { + return false + } + if p, q := this.AsSeal, that.AsSeal; p != q { + if p == nil { + p = &Seal{} + } + if q == nil { + q = &Seal{} + } + if !p.EqualVT(q) { + return false + } + } + return true +} + +func (this *DigestItem_AsChangesTrieSignal) EqualVT(thatIface isDigestItem_Item) bool { + that, ok := thatIface.(*DigestItem_AsChangesTrieSignal) + if !ok { + return false + } + if this == that { + return true + } + if this == nil && that != nil || this != nil && that == nil { + return false + } + if p, q := this.AsChangesTrieSignal, that.AsChangesTrieSignal; p != q { + if p == nil { + p = &ChangesTrieSignal{} + } + if q == nil { + q = &ChangesTrieSignal{} + } + if !p.EqualVT(q) { + return false + } + } + return true +} + +func (this *DigestItem_AsOther) EqualVT(thatIface isDigestItem_Item) bool { + that, ok := thatIface.(*DigestItem_AsOther) + if !ok { + return false + } + if this == that { + return true + } + if this == nil && that != nil || this != nil && that == nil { + return false + } + if string(this.AsOther) != string(that.AsOther) { + return false + } + return true +} + +func (this *PreRuntime) EqualVT(that *PreRuntime) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.ConsensusEngineId != that.ConsensusEngineId { + return false + } + if string(this.Bytes) != string(that.Bytes) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *PreRuntime) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*PreRuntime) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Consensus) EqualVT(that *Consensus) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.ConsensusEngineId != that.ConsensusEngineId { + return false + } + if string(this.Bytes) != string(that.Bytes) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Consensus) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Consensus) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Seal) EqualVT(that *Seal) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.ConsensusEngineId != that.ConsensusEngineId { + return false + } + if string(this.Bytes) != string(that.Bytes) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Seal) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Seal) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *ChangesTrieSignal) EqualVT(that *ChangesTrieSignal) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.IsNewConfiguration != that.IsNewConfiguration { + return false + } + if string(this.AsNewConfiguration) != string(that.AsNewConfiguration) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *ChangesTrieSignal) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*ChangesTrieSignal) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Extrinsic) EqualVT(that *Extrinsic) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.Version != that.Version { + return false + } + if !this.Signature.EqualVT(that.Signature) { + return false + } + if !this.Method.EqualVT(that.Method) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Extrinsic) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Extrinsic) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Signature) EqualVT(that *Signature) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if !this.Signer.EqualVT(that.Signer) { + return false + } + if !this.Signature.EqualVT(that.Signature) { + return false + } + if !this.Era.EqualVT(that.Era) { + return false + } + if this.Nonce != that.Nonce { + return false + } + if this.Tip != that.Tip { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Signature) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Signature) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *MultiAddress) EqualVT(that *MultiAddress) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.IsId != that.IsId { + return false + } + if string(this.AsId) != string(that.AsId) { + return false + } + if this.IsIndex != that.IsIndex { + return false + } + if this.AsIndex != that.AsIndex { + return false + } + if this.IsRaw != that.IsRaw { + return false + } + if string(this.AsRaw) != string(that.AsRaw) { + return false + } + if this.IsAddress_32 != that.IsAddress_32 { + return false + } + if string(this.AsAddress_32) != string(that.AsAddress_32) { + return false + } + if this.IsAddress_20 != that.IsAddress_20 { + return false + } + if string(this.AsAddress_20) != string(that.AsAddress_20) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *MultiAddress) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*MultiAddress) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *MultiSignature) EqualVT(that *MultiSignature) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.IsEd_25519 != that.IsEd_25519 { + return false + } + if string(this.AsEd_25519) != string(that.AsEd_25519) { + return false + } + if this.IsSr_25519 != that.IsSr_25519 { + return false + } + if string(this.AsSr_25519) != string(that.AsSr_25519) { + return false + } + if this.IsEcdsa != that.IsEcdsa { + return false + } + if string(this.AsEcdsa) != string(that.AsEcdsa) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *MultiSignature) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*MultiSignature) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *ExtrinsicEra) EqualVT(that *ExtrinsicEra) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.IsImmortalEra != that.IsImmortalEra { + return false + } + if this.IsMortalEra != that.IsMortalEra { + return false + } + if !this.AsMortalEra.EqualVT(that.AsMortalEra) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *ExtrinsicEra) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*ExtrinsicEra) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Call) EqualVT(that *Call) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if !this.CallIndex.EqualVT(that.CallIndex) { + return false + } + if string(this.Args) != string(that.Args) { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Call) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Call) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *CallIndex) EqualVT(that *CallIndex) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.SectionIndex != that.SectionIndex { + return false + } + if this.MethodIndex != that.MethodIndex { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *CallIndex) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*CallIndex) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Event) EqualVT(that *Event) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.Name != that.Name { + return false + } + if string(this.Id) != string(that.Id) { + return false + } + if !this.Phase.EqualVT(that.Phase) { + return false + } + if len(this.Topics) != len(that.Topics) { + return false + } + for i, vx := range this.Topics { + vy := that.Topics[i] + if string(vx) != string(vy) { + return false + } + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Event) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Event) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *Phase) EqualVT(that *Phase) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.IsApplyExtrinsic != that.IsApplyExtrinsic { + return false + } + if this.AsApplyExtrinsic != that.AsApplyExtrinsic { + return false + } + if this.IsFinalization != that.IsFinalization { + return false + } + if this.IsInitialization != that.IsInitialization { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *Phase) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*Phase) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *MortalEra) EqualVT(that *MortalEra) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.First != that.First { + return false + } + if this.Second != that.Second { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *MortalEra) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*MortalEra) + if !ok { + return false + } + return this.EqualVT(that) +} +func (this *PaymentFields) EqualVT(that *PaymentFields) bool { + if this == that { + return true + } else if this == nil || that == nil { + return false + } + if this.Tip != that.Tip { + return false + } + return string(this.unknownFields) == string(that.unknownFields) +} + +func (this *PaymentFields) EqualMessageVT(thatMsg proto.Message) bool { + that, ok := thatMsg.(*PaymentFields) + if !ok { + return false + } + return this.EqualVT(that) +} +func (m *Block) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Block) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Block) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RawEvents) > 0 { + i -= len(m.RawEvents) + copy(dAtA[i:], m.RawEvents) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.RawEvents))) + i-- + dAtA[i] = 0x42 + } + if len(m.Justification) > 0 { + i -= len(m.Justification) + copy(dAtA[i:], m.Justification) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Justification))) + i-- + dAtA[i] = 0x3a + } + if len(m.DigestItems) > 0 { + for iNdEx := len(m.DigestItems) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.DigestItems[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Events[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Extrinsics) > 0 { + for iNdEx := len(m.Extrinsics) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Extrinsics[iNdEx].MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if m.Header != nil { + size, err := m.Header.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.Hash) > 0 { + i -= len(m.Hash) + copy(dAtA[i:], m.Hash) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Hash))) + i-- + dAtA[i] = 0x12 + } + if m.Number != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Number)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Header) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Header) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Header) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.UpdatedMetadata) > 0 { + i -= len(m.UpdatedMetadata) + copy(dAtA[i:], m.UpdatedMetadata) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.UpdatedMetadata))) + i-- + dAtA[i] = 0x2a + } + if m.SpecVersion != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SpecVersion)) + i-- + dAtA[i] = 0x20 + } + if len(m.ExtrinsicsRoot) > 0 { + i -= len(m.ExtrinsicsRoot) + copy(dAtA[i:], m.ExtrinsicsRoot) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ExtrinsicsRoot))) + i-- + dAtA[i] = 0x1a + } + if len(m.StateRoot) > 0 { + i -= len(m.StateRoot) + copy(dAtA[i:], m.StateRoot) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.StateRoot))) + i-- + dAtA[i] = 0x12 + } + if len(m.ParentHash) > 0 { + i -= len(m.ParentHash) + copy(dAtA[i:], m.ParentHash) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ParentHash))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DigestItem) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DigestItem) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DigestItem) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if vtmsg, ok := m.Item.(interface { + MarshalToSizedBufferVT([]byte) (int, error) + }); ok { + size, err := vtmsg.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + return len(dAtA) - i, nil +} + +func (m *DigestItem_AsChangesTrieRoot) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DigestItem_AsChangesTrieRoot) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.AsChangesTrieRoot) + copy(dAtA[i:], m.AsChangesTrieRoot) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsChangesTrieRoot))) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} +func (m *DigestItem_AsPreRuntime) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DigestItem_AsPreRuntime) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsPreRuntime != nil { + size, err := m.AsPreRuntime.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsConsensus) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DigestItem_AsConsensus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsConsensus != nil { + size, err := m.AsConsensus.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsSeal) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DigestItem_AsSeal) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsSeal != nil { + size, err := m.AsSeal.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsChangesTrieSignal) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DigestItem_AsChangesTrieSignal) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsChangesTrieSignal != nil { + size, err := m.AsChangesTrieSignal.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsOther) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *DigestItem_AsOther) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.AsOther) + copy(dAtA[i:], m.AsOther) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsOther))) + i-- + dAtA[i] = 0x32 + return len(dAtA) - i, nil +} +func (m *PreRuntime) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PreRuntime) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PreRuntime) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Bytes) > 0 { + i -= len(m.Bytes) + copy(dAtA[i:], m.Bytes) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Bytes))) + i-- + dAtA[i] = 0x12 + } + if m.ConsensusEngineId != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ConsensusEngineId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Consensus) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Consensus) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Consensus) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Bytes) > 0 { + i -= len(m.Bytes) + copy(dAtA[i:], m.Bytes) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Bytes))) + i-- + dAtA[i] = 0x12 + } + if m.ConsensusEngineId != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ConsensusEngineId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Seal) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Seal) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Seal) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Bytes) > 0 { + i -= len(m.Bytes) + copy(dAtA[i:], m.Bytes) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Bytes))) + i-- + dAtA[i] = 0x12 + } + if m.ConsensusEngineId != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ConsensusEngineId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ChangesTrieSignal) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangesTrieSignal) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ChangesTrieSignal) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AsNewConfiguration) > 0 { + i -= len(m.AsNewConfiguration) + copy(dAtA[i:], m.AsNewConfiguration) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsNewConfiguration))) + i-- + dAtA[i] = 0x12 + } + if m.IsNewConfiguration { + i-- + if m.IsNewConfiguration { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Extrinsic) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Extrinsic) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Extrinsic) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Method != nil { + size, err := m.Method.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.Signature != nil { + size, err := m.Signature.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Version != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Signature) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Signature) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Signature) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tip) > 0 { + i -= len(m.Tip) + copy(dAtA[i:], m.Tip) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Tip))) + i-- + dAtA[i] = 0x2a + } + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x22 + } + if m.Era != nil { + size, err := m.Era.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.Signature != nil { + size, err := m.Signature.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Signer != nil { + size, err := m.Signer.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MultiAddress) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MultiAddress) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MultiAddress) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AsAddress_20) > 0 { + i -= len(m.AsAddress_20) + copy(dAtA[i:], m.AsAddress_20) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsAddress_20))) + i-- + dAtA[i] = 0x52 + } + if m.IsAddress_20 { + i-- + if m.IsAddress_20 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if len(m.AsAddress_32) > 0 { + i -= len(m.AsAddress_32) + copy(dAtA[i:], m.AsAddress_32) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsAddress_32))) + i-- + dAtA[i] = 0x42 + } + if m.IsAddress_32 { + i-- + if m.IsAddress_32 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if len(m.AsRaw) > 0 { + i -= len(m.AsRaw) + copy(dAtA[i:], m.AsRaw) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsRaw))) + i-- + dAtA[i] = 0x32 + } + if m.IsRaw { + i-- + if m.IsRaw { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.AsIndex != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.AsIndex)) + i-- + dAtA[i] = 0x20 + } + if m.IsIndex { + i-- + if m.IsIndex { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.AsId) > 0 { + i -= len(m.AsId) + copy(dAtA[i:], m.AsId) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsId))) + i-- + dAtA[i] = 0x12 + } + if m.IsId { + i-- + if m.IsId { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MultiSignature) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MultiSignature) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MultiSignature) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AsEcdsa) > 0 { + i -= len(m.AsEcdsa) + copy(dAtA[i:], m.AsEcdsa) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsEcdsa))) + i-- + dAtA[i] = 0x32 + } + if m.IsEcdsa { + i-- + if m.IsEcdsa { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.AsSr_25519) > 0 { + i -= len(m.AsSr_25519) + copy(dAtA[i:], m.AsSr_25519) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsSr_25519))) + i-- + dAtA[i] = 0x22 + } + if m.IsSr_25519 { + i-- + if m.IsSr_25519 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.AsEd_25519) > 0 { + i -= len(m.AsEd_25519) + copy(dAtA[i:], m.AsEd_25519) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsEd_25519))) + i-- + dAtA[i] = 0x12 + } + if m.IsEd_25519 { + i-- + if m.IsEd_25519 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ExtrinsicEra) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExtrinsicEra) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *ExtrinsicEra) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AsMortalEra != nil { + size, err := m.AsMortalEra.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.IsMortalEra { + i-- + if m.IsMortalEra { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.IsImmortalEra { + i-- + if m.IsImmortalEra { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Call) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Call) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Call) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Args) > 0 { + i -= len(m.Args) + copy(dAtA[i:], m.Args) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Args))) + i-- + dAtA[i] = 0x12 + } + if m.CallIndex != nil { + size, err := m.CallIndex.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CallIndex) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CallIndex) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *CallIndex) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MethodIndex != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MethodIndex)) + i-- + dAtA[i] = 0x10 + } + if m.SectionIndex != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SectionIndex)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Event) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Event) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Event) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Topics) > 0 { + for iNdEx := len(m.Topics) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Topics[iNdEx]) + copy(dAtA[i:], m.Topics[iNdEx]) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Topics[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.Phase != nil { + size, err := m.Phase.MarshalToSizedBufferVT(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Phase) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Phase) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *Phase) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IsInitialization { + i-- + if m.IsInitialization { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.IsFinalization { + i-- + if m.IsFinalization { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.AsApplyExtrinsic != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.AsApplyExtrinsic)) + i-- + dAtA[i] = 0x10 + } + if m.IsApplyExtrinsic { + i-- + if m.IsApplyExtrinsic { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MortalEra) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MortalEra) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *MortalEra) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Second != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Second)) + i-- + dAtA[i] = 0x10 + } + if m.First != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.First)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PaymentFields) MarshalVT() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVT(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PaymentFields) MarshalToVT(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVT(dAtA[:size]) +} + +func (m *PaymentFields) MarshalToSizedBufferVT(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tip) > 0 { + i -= len(m.Tip) + copy(dAtA[i:], m.Tip) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Tip))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Block) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Block) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Block) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.RawEvents) > 0 { + i -= len(m.RawEvents) + copy(dAtA[i:], m.RawEvents) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.RawEvents))) + i-- + dAtA[i] = 0x42 + } + if len(m.Justification) > 0 { + i -= len(m.Justification) + copy(dAtA[i:], m.Justification) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Justification))) + i-- + dAtA[i] = 0x3a + } + if len(m.DigestItems) > 0 { + for iNdEx := len(m.DigestItems) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.DigestItems[iNdEx].MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x32 + } + } + if len(m.Events) > 0 { + for iNdEx := len(m.Events) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Events[iNdEx].MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + } + if len(m.Extrinsics) > 0 { + for iNdEx := len(m.Extrinsics) - 1; iNdEx >= 0; iNdEx-- { + size, err := m.Extrinsics[iNdEx].MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + } + if m.Header != nil { + size, err := m.Header.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if len(m.Hash) > 0 { + i -= len(m.Hash) + copy(dAtA[i:], m.Hash) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Hash))) + i-- + dAtA[i] = 0x12 + } + if m.Number != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Number)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Header) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Header) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Header) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.UpdatedMetadata) > 0 { + i -= len(m.UpdatedMetadata) + copy(dAtA[i:], m.UpdatedMetadata) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.UpdatedMetadata))) + i-- + dAtA[i] = 0x2a + } + if m.SpecVersion != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SpecVersion)) + i-- + dAtA[i] = 0x20 + } + if len(m.ExtrinsicsRoot) > 0 { + i -= len(m.ExtrinsicsRoot) + copy(dAtA[i:], m.ExtrinsicsRoot) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ExtrinsicsRoot))) + i-- + dAtA[i] = 0x1a + } + if len(m.StateRoot) > 0 { + i -= len(m.StateRoot) + copy(dAtA[i:], m.StateRoot) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.StateRoot))) + i-- + dAtA[i] = 0x12 + } + if len(m.ParentHash) > 0 { + i -= len(m.ParentHash) + copy(dAtA[i:], m.ParentHash) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.ParentHash))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *DigestItem) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *DigestItem) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *DigestItem) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if msg, ok := m.Item.(*DigestItem_AsOther); ok { + size, err := msg.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + if msg, ok := m.Item.(*DigestItem_AsChangesTrieSignal); ok { + size, err := msg.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + if msg, ok := m.Item.(*DigestItem_AsSeal); ok { + size, err := msg.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + if msg, ok := m.Item.(*DigestItem_AsConsensus); ok { + size, err := msg.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + if msg, ok := m.Item.(*DigestItem_AsPreRuntime); ok { + size, err := msg.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + if msg, ok := m.Item.(*DigestItem_AsChangesTrieRoot); ok { + size, err := msg.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + } + return len(dAtA) - i, nil +} + +func (m *DigestItem_AsChangesTrieRoot) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *DigestItem_AsChangesTrieRoot) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.AsChangesTrieRoot) + copy(dAtA[i:], m.AsChangesTrieRoot) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsChangesTrieRoot))) + i-- + dAtA[i] = 0xa + return len(dAtA) - i, nil +} +func (m *DigestItem_AsPreRuntime) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *DigestItem_AsPreRuntime) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsPreRuntime != nil { + size, err := m.AsPreRuntime.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsConsensus) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *DigestItem_AsConsensus) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsConsensus != nil { + size, err := m.AsConsensus.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsSeal) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *DigestItem_AsSeal) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsSeal != nil { + size, err := m.AsSeal.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsChangesTrieSignal) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *DigestItem_AsChangesTrieSignal) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + i := len(dAtA) + if m.AsChangesTrieSignal != nil { + size, err := m.AsChangesTrieSignal.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x2a + } + return len(dAtA) - i, nil +} +func (m *DigestItem_AsOther) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *DigestItem_AsOther) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + i := len(dAtA) + i -= len(m.AsOther) + copy(dAtA[i:], m.AsOther) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsOther))) + i-- + dAtA[i] = 0x32 + return len(dAtA) - i, nil +} +func (m *PreRuntime) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PreRuntime) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *PreRuntime) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Bytes) > 0 { + i -= len(m.Bytes) + copy(dAtA[i:], m.Bytes) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Bytes))) + i-- + dAtA[i] = 0x12 + } + if m.ConsensusEngineId != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ConsensusEngineId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Consensus) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Consensus) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Consensus) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Bytes) > 0 { + i -= len(m.Bytes) + copy(dAtA[i:], m.Bytes) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Bytes))) + i-- + dAtA[i] = 0x12 + } + if m.ConsensusEngineId != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ConsensusEngineId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Seal) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Seal) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Seal) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Bytes) > 0 { + i -= len(m.Bytes) + copy(dAtA[i:], m.Bytes) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Bytes))) + i-- + dAtA[i] = 0x12 + } + if m.ConsensusEngineId != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.ConsensusEngineId)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ChangesTrieSignal) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ChangesTrieSignal) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *ChangesTrieSignal) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AsNewConfiguration) > 0 { + i -= len(m.AsNewConfiguration) + copy(dAtA[i:], m.AsNewConfiguration) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsNewConfiguration))) + i-- + dAtA[i] = 0x12 + } + if m.IsNewConfiguration { + i-- + if m.IsNewConfiguration { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Extrinsic) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Extrinsic) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Extrinsic) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Method != nil { + size, err := m.Method.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.Signature != nil { + size, err := m.Signature.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Version != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Version)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Signature) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Signature) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Signature) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tip) > 0 { + i -= len(m.Tip) + copy(dAtA[i:], m.Tip) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Tip))) + i-- + dAtA[i] = 0x2a + } + if len(m.Nonce) > 0 { + i -= len(m.Nonce) + copy(dAtA[i:], m.Nonce) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Nonce))) + i-- + dAtA[i] = 0x22 + } + if m.Era != nil { + size, err := m.Era.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.Signature != nil { + size, err := m.Signature.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x12 + } + if m.Signer != nil { + size, err := m.Signer.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *MultiAddress) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MultiAddress) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *MultiAddress) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AsAddress_20) > 0 { + i -= len(m.AsAddress_20) + copy(dAtA[i:], m.AsAddress_20) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsAddress_20))) + i-- + dAtA[i] = 0x52 + } + if m.IsAddress_20 { + i-- + if m.IsAddress_20 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x48 + } + if len(m.AsAddress_32) > 0 { + i -= len(m.AsAddress_32) + copy(dAtA[i:], m.AsAddress_32) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsAddress_32))) + i-- + dAtA[i] = 0x42 + } + if m.IsAddress_32 { + i-- + if m.IsAddress_32 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x38 + } + if len(m.AsRaw) > 0 { + i -= len(m.AsRaw) + copy(dAtA[i:], m.AsRaw) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsRaw))) + i-- + dAtA[i] = 0x32 + } + if m.IsRaw { + i-- + if m.IsRaw { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if m.AsIndex != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.AsIndex)) + i-- + dAtA[i] = 0x20 + } + if m.IsIndex { + i-- + if m.IsIndex { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.AsId) > 0 { + i -= len(m.AsId) + copy(dAtA[i:], m.AsId) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsId))) + i-- + dAtA[i] = 0x12 + } + if m.IsId { + i-- + if m.IsId { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MultiSignature) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MultiSignature) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *MultiSignature) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.AsEcdsa) > 0 { + i -= len(m.AsEcdsa) + copy(dAtA[i:], m.AsEcdsa) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsEcdsa))) + i-- + dAtA[i] = 0x32 + } + if m.IsEcdsa { + i-- + if m.IsEcdsa { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x28 + } + if len(m.AsSr_25519) > 0 { + i -= len(m.AsSr_25519) + copy(dAtA[i:], m.AsSr_25519) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsSr_25519))) + i-- + dAtA[i] = 0x22 + } + if m.IsSr_25519 { + i-- + if m.IsSr_25519 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if len(m.AsEd_25519) > 0 { + i -= len(m.AsEd_25519) + copy(dAtA[i:], m.AsEd_25519) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.AsEd_25519))) + i-- + dAtA[i] = 0x12 + } + if m.IsEd_25519 { + i-- + if m.IsEd_25519 { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *ExtrinsicEra) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ExtrinsicEra) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *ExtrinsicEra) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.AsMortalEra != nil { + size, err := m.AsMortalEra.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x1a + } + if m.IsMortalEra { + i-- + if m.IsMortalEra { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x10 + } + if m.IsImmortalEra { + i-- + if m.IsImmortalEra { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Call) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Call) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Call) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Args) > 0 { + i -= len(m.Args) + copy(dAtA[i:], m.Args) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Args))) + i-- + dAtA[i] = 0x12 + } + if m.CallIndex != nil { + size, err := m.CallIndex.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *CallIndex) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *CallIndex) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *CallIndex) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.MethodIndex != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.MethodIndex)) + i-- + dAtA[i] = 0x10 + } + if m.SectionIndex != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.SectionIndex)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *Event) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Event) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Event) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Topics) > 0 { + for iNdEx := len(m.Topics) - 1; iNdEx >= 0; iNdEx-- { + i -= len(m.Topics[iNdEx]) + copy(dAtA[i:], m.Topics[iNdEx]) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Topics[iNdEx]))) + i-- + dAtA[i] = 0x2a + } + } + if m.Phase != nil { + size, err := m.Phase.MarshalToSizedBufferVTStrict(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = protohelpers.EncodeVarint(dAtA, i, uint64(size)) + i-- + dAtA[i] = 0x22 + } + if len(m.Id) > 0 { + i -= len(m.Id) + copy(dAtA[i:], m.Id) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Id))) + i-- + dAtA[i] = 0x1a + } + if len(m.Name) > 0 { + i -= len(m.Name) + copy(dAtA[i:], m.Name) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Name))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Phase) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *Phase) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *Phase) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.IsInitialization { + i-- + if m.IsInitialization { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x20 + } + if m.IsFinalization { + i-- + if m.IsFinalization { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x18 + } + if m.AsApplyExtrinsic != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.AsApplyExtrinsic)) + i-- + dAtA[i] = 0x10 + } + if m.IsApplyExtrinsic { + i-- + if m.IsApplyExtrinsic { + dAtA[i] = 1 + } else { + dAtA[i] = 0 + } + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *MortalEra) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MortalEra) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *MortalEra) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if m.Second != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.Second)) + i-- + dAtA[i] = 0x10 + } + if m.First != 0 { + i = protohelpers.EncodeVarint(dAtA, i, uint64(m.First)) + i-- + dAtA[i] = 0x8 + } + return len(dAtA) - i, nil +} + +func (m *PaymentFields) MarshalVTStrict() (dAtA []byte, err error) { + if m == nil { + return nil, nil + } + size := m.SizeVT() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBufferVTStrict(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *PaymentFields) MarshalToVTStrict(dAtA []byte) (int, error) { + size := m.SizeVT() + return m.MarshalToSizedBufferVTStrict(dAtA[:size]) +} + +func (m *PaymentFields) MarshalToSizedBufferVTStrict(dAtA []byte) (int, error) { + if m == nil { + return 0, nil + } + i := len(dAtA) + _ = i + var l int + _ = l + if m.unknownFields != nil { + i -= len(m.unknownFields) + copy(dAtA[i:], m.unknownFields) + } + if len(m.Tip) > 0 { + i -= len(m.Tip) + copy(dAtA[i:], m.Tip) + i = protohelpers.EncodeVarint(dAtA, i, uint64(len(m.Tip))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func (m *Block) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Number != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.Number)) + } + l = len(m.Hash) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.Header != nil { + l = m.Header.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if len(m.Extrinsics) > 0 { + for _, e := range m.Extrinsics { + l = e.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + } + if len(m.Events) > 0 { + for _, e := range m.Events { + l = e.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + } + if len(m.DigestItems) > 0 { + for _, e := range m.DigestItems { + l = e.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + } + l = len(m.Justification) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.RawEvents) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Header) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ParentHash) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.StateRoot) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.ExtrinsicsRoot) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.SpecVersion != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.SpecVersion)) + } + l = len(m.UpdatedMetadata) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *DigestItem) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if vtmsg, ok := m.Item.(interface{ SizeVT() int }); ok { + n += vtmsg.SizeVT() + } + n += len(m.unknownFields) + return n +} + +func (m *DigestItem_AsChangesTrieRoot) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AsChangesTrieRoot) + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + return n +} +func (m *DigestItem_AsPreRuntime) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsPreRuntime != nil { + l = m.AsPreRuntime.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + return n +} +func (m *DigestItem_AsConsensus) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsConsensus != nil { + l = m.AsConsensus.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + return n +} +func (m *DigestItem_AsSeal) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsSeal != nil { + l = m.AsSeal.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + return n +} +func (m *DigestItem_AsChangesTrieSignal) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.AsChangesTrieSignal != nil { + l = m.AsChangesTrieSignal.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + return n +} +func (m *DigestItem_AsOther) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.AsOther) + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + return n +} +func (m *PreRuntime) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ConsensusEngineId != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.ConsensusEngineId)) + } + l = len(m.Bytes) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Consensus) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ConsensusEngineId != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.ConsensusEngineId)) + } + l = len(m.Bytes) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Seal) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.ConsensusEngineId != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.ConsensusEngineId)) + } + l = len(m.Bytes) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ChangesTrieSignal) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsNewConfiguration { + n += 2 + } + l = len(m.AsNewConfiguration) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Extrinsic) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Version != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.Version)) + } + if m.Signature != nil { + l = m.Signature.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.Method != nil { + l = m.Method.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Signature) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.Signer != nil { + l = m.Signer.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.Signature != nil { + l = m.Signature.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.Era != nil { + l = m.Era.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.Nonce) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.Tip) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MultiAddress) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsId { + n += 2 + } + l = len(m.AsId) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.IsIndex { + n += 2 + } + if m.AsIndex != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.AsIndex)) + } + if m.IsRaw { + n += 2 + } + l = len(m.AsRaw) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.IsAddress_32 { + n += 2 + } + l = len(m.AsAddress_32) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.IsAddress_20 { + n += 2 + } + l = len(m.AsAddress_20) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *MultiSignature) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsEd_25519 { + n += 2 + } + l = len(m.AsEd_25519) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.IsSr_25519 { + n += 2 + } + l = len(m.AsSr_25519) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.IsEcdsa { + n += 2 + } + l = len(m.AsEcdsa) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *ExtrinsicEra) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsImmortalEra { + n += 2 + } + if m.IsMortalEra { + n += 2 + } + if m.AsMortalEra != nil { + l = m.AsMortalEra.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Call) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.CallIndex != nil { + l = m.CallIndex.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.Args) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *CallIndex) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.SectionIndex != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.SectionIndex)) + } + if m.MethodIndex != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.MethodIndex)) + } + n += len(m.unknownFields) + return n +} + +func (m *Event) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Name) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + l = len(m.Id) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if m.Phase != nil { + l = m.Phase.SizeVT() + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + if len(m.Topics) > 0 { + for _, b := range m.Topics { + l = len(b) + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + } + n += len(m.unknownFields) + return n +} + +func (m *Phase) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.IsApplyExtrinsic { + n += 2 + } + if m.AsApplyExtrinsic != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.AsApplyExtrinsic)) + } + if m.IsFinalization { + n += 2 + } + if m.IsInitialization { + n += 2 + } + n += len(m.unknownFields) + return n +} + +func (m *MortalEra) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + if m.First != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.First)) + } + if m.Second != 0 { + n += 1 + protohelpers.SizeOfVarint(uint64(m.Second)) + } + n += len(m.unknownFields) + return n +} + +func (m *PaymentFields) SizeVT() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.Tip) + if l > 0 { + n += 1 + l + protohelpers.SizeOfVarint(uint64(l)) + } + n += len(m.unknownFields) + return n +} + +func (m *Block) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Block: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Block: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType) + } + m.Number = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Number |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hash = append(m.Hash[:0], dAtA[iNdEx:postIndex]...) + if m.Hash == nil { + m.Hash = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Extrinsics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Extrinsics = append(m.Extrinsics, &Extrinsic{}) + if err := m.Extrinsics[len(m.Extrinsics)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Events = append(m.Events, &Event{}) + if err := m.Events[len(m.Events)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DigestItems", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DigestItems = append(m.DigestItems, &DigestItem{}) + if err := m.DigestItems[len(m.DigestItems)-1].UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Justification", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Justification = append(m.Justification[:0], dAtA[iNdEx:postIndex]...) + if m.Justification == nil { + m.Justification = []byte{} + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RawEvents", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RawEvents = append(m.RawEvents[:0], dAtA[iNdEx:postIndex]...) + if m.RawEvents == nil { + m.RawEvents = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Header) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Header: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ParentHash", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ParentHash = append(m.ParentHash[:0], dAtA[iNdEx:postIndex]...) + if m.ParentHash == nil { + m.ParentHash = []byte{} + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StateRoot = append(m.StateRoot[:0], dAtA[iNdEx:postIndex]...) + if m.StateRoot == nil { + m.StateRoot = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExtrinsicsRoot", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExtrinsicsRoot = append(m.ExtrinsicsRoot[:0], dAtA[iNdEx:postIndex]...) + if m.ExtrinsicsRoot == nil { + m.ExtrinsicsRoot = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SpecVersion", wireType) + } + m.SpecVersion = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SpecVersion |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdatedMetadata", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UpdatedMetadata = append(m.UpdatedMetadata[:0], dAtA[iNdEx:postIndex]...) + if m.UpdatedMetadata == nil { + m.UpdatedMetadata = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DigestItem) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DigestItem: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DigestItem: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsChangesTrieRoot", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := make([]byte, postIndex-iNdEx) + copy(v, dAtA[iNdEx:postIndex]) + m.Item = &DigestItem_AsChangesTrieRoot{AsChangesTrieRoot: v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsPreRuntime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsPreRuntime); ok { + if err := oneof.AsPreRuntime.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &PreRuntime{} + if err := v.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsPreRuntime{AsPreRuntime: v} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsConsensus", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsConsensus); ok { + if err := oneof.AsConsensus.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &Consensus{} + if err := v.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsConsensus{AsConsensus: v} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsSeal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsSeal); ok { + if err := oneof.AsSeal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &Seal{} + if err := v.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsSeal{AsSeal: v} + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsChangesTrieSignal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsChangesTrieSignal); ok { + if err := oneof.AsChangesTrieSignal.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &ChangesTrieSignal{} + if err := v.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsChangesTrieSignal{AsChangesTrieSignal: v} + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsOther", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := make([]byte, postIndex-iNdEx) + copy(v, dAtA[iNdEx:postIndex]) + m.Item = &DigestItem_AsOther{AsOther: v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PreRuntime) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PreRuntime: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PreRuntime: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsensusEngineId", wireType) + } + m.ConsensusEngineId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ConsensusEngineId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bytes = append(m.Bytes[:0], dAtA[iNdEx:postIndex]...) + if m.Bytes == nil { + m.Bytes = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Consensus) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Consensus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Consensus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsensusEngineId", wireType) + } + m.ConsensusEngineId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ConsensusEngineId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bytes = append(m.Bytes[:0], dAtA[iNdEx:postIndex]...) + if m.Bytes == nil { + m.Bytes = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Seal) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Seal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Seal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsensusEngineId", wireType) + } + m.ConsensusEngineId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ConsensusEngineId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bytes = append(m.Bytes[:0], dAtA[iNdEx:postIndex]...) + if m.Bytes == nil { + m.Bytes = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangesTrieSignal) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangesTrieSignal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangesTrieSignal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsNewConfiguration", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsNewConfiguration = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsNewConfiguration", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsNewConfiguration = append(m.AsNewConfiguration[:0], dAtA[iNdEx:postIndex]...) + if m.AsNewConfiguration == nil { + m.AsNewConfiguration = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Extrinsic) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Extrinsic: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Extrinsic: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signature == nil { + m.Signature = &Signature{} + } + if err := m.Signature.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Method", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Method == nil { + m.Method = &Call{} + } + if err := m.Method.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Signature) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Signature: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Signature: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signer == nil { + m.Signer = &MultiAddress{} + } + if err := m.Signer.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signature == nil { + m.Signature = &MultiSignature{} + } + if err := m.Signature.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Era", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Era == nil { + m.Era = &ExtrinsicEra{} + } + if err := m.Era.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Nonce = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tip", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tip = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MultiAddress) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MultiAddress: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MultiAddress: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsId", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsId = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsId", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsId = append(m.AsId[:0], dAtA[iNdEx:postIndex]...) + if m.AsId == nil { + m.AsId = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsIndex", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsIndex = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AsIndex", wireType) + } + m.AsIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AsIndex |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsRaw", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsRaw = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsRaw", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsRaw = append(m.AsRaw[:0], dAtA[iNdEx:postIndex]...) + if m.AsRaw == nil { + m.AsRaw = []byte{} + } + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsAddress_32", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsAddress_32 = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsAddress_32", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsAddress_32 = append(m.AsAddress_32[:0], dAtA[iNdEx:postIndex]...) + if m.AsAddress_32 == nil { + m.AsAddress_32 = []byte{} + } + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsAddress_20", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsAddress_20 = bool(v != 0) + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsAddress_20", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsAddress_20 = append(m.AsAddress_20[:0], dAtA[iNdEx:postIndex]...) + if m.AsAddress_20 == nil { + m.AsAddress_20 = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MultiSignature) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MultiSignature: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MultiSignature: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsEd_25519", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsEd_25519 = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsEd_25519", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsEd_25519 = append(m.AsEd_25519[:0], dAtA[iNdEx:postIndex]...) + if m.AsEd_25519 == nil { + m.AsEd_25519 = []byte{} + } + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsSr_25519", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsSr_25519 = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsSr_25519", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsSr_25519 = append(m.AsSr_25519[:0], dAtA[iNdEx:postIndex]...) + if m.AsSr_25519 == nil { + m.AsSr_25519 = []byte{} + } + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsEcdsa", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsEcdsa = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsEcdsa", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsEcdsa = append(m.AsEcdsa[:0], dAtA[iNdEx:postIndex]...) + if m.AsEcdsa == nil { + m.AsEcdsa = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExtrinsicEra) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExtrinsicEra: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExtrinsicEra: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsImmortalEra", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsImmortalEra = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsMortalEra", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsMortalEra = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsMortalEra", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsMortalEra == nil { + m.AsMortalEra = &MortalEra{} + } + if err := m.AsMortalEra.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Call) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Call: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Call: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallIndex", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CallIndex == nil { + m.CallIndex = &CallIndex{} + } + if err := m.CallIndex.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Args = append(m.Args[:0], dAtA[iNdEx:postIndex]...) + if m.Args == nil { + m.Args = []byte{} + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CallIndex) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CallIndex: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CallIndex: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SectionIndex", wireType) + } + m.SectionIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SectionIndex |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MethodIndex", wireType) + } + m.MethodIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MethodIndex |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Event) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Event: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Name = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = append(m.Id[:0], dAtA[iNdEx:postIndex]...) + if m.Id == nil { + m.Id = []byte{} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Phase == nil { + m.Phase = &Phase{} + } + if err := m.Phase.UnmarshalVT(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Topics = append(m.Topics, make([]byte, postIndex-iNdEx)) + copy(m.Topics[len(m.Topics)-1], dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Phase) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Phase: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Phase: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsApplyExtrinsic", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsApplyExtrinsic = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AsApplyExtrinsic", wireType) + } + m.AsApplyExtrinsic = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AsApplyExtrinsic |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsFinalization", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsFinalization = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsInitialization", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsInitialization = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MortalEra) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MortalEra: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MortalEra: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field First", wireType) + } + m.First = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.First |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Second", wireType) + } + m.Second = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Second |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PaymentFields) UnmarshalVT(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PaymentFields: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PaymentFields: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tip", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Tip = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Block) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Block: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Block: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType) + } + m.Number = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Number |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Hash", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Hash = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Header", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Header == nil { + m.Header = &Header{} + } + if err := m.Header.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Extrinsics", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Extrinsics = append(m.Extrinsics, &Extrinsic{}) + if err := m.Extrinsics[len(m.Extrinsics)-1].UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Events", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Events = append(m.Events, &Event{}) + if err := m.Events[len(m.Events)-1].UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field DigestItems", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.DigestItems = append(m.DigestItems, &DigestItem{}) + if err := m.DigestItems[len(m.DigestItems)-1].UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Justification", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Justification = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RawEvents", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RawEvents = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Header) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Header: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Header: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ParentHash", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ParentHash = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field StateRoot", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.StateRoot = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ExtrinsicsRoot", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ExtrinsicsRoot = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SpecVersion", wireType) + } + m.SpecVersion = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SpecVersion |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field UpdatedMetadata", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.UpdatedMetadata = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *DigestItem) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: DigestItem: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: DigestItem: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsChangesTrieRoot", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := dAtA[iNdEx:postIndex] + m.Item = &DigestItem_AsChangesTrieRoot{AsChangesTrieRoot: v} + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsPreRuntime", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsPreRuntime); ok { + if err := oneof.AsPreRuntime.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &PreRuntime{} + if err := v.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsPreRuntime{AsPreRuntime: v} + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsConsensus", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsConsensus); ok { + if err := oneof.AsConsensus.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &Consensus{} + if err := v.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsConsensus{AsConsensus: v} + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsSeal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsSeal); ok { + if err := oneof.AsSeal.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &Seal{} + if err := v.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsSeal{AsSeal: v} + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsChangesTrieSignal", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if oneof, ok := m.Item.(*DigestItem_AsChangesTrieSignal); ok { + if err := oneof.AsChangesTrieSignal.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + } else { + v := &ChangesTrieSignal{} + if err := v.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + m.Item = &DigestItem_AsChangesTrieSignal{AsChangesTrieSignal: v} + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsOther", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + v := dAtA[iNdEx:postIndex] + m.Item = &DigestItem_AsOther{AsOther: v} + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PreRuntime) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PreRuntime: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PreRuntime: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsensusEngineId", wireType) + } + m.ConsensusEngineId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ConsensusEngineId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bytes = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Consensus) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Consensus: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Consensus: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsensusEngineId", wireType) + } + m.ConsensusEngineId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ConsensusEngineId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bytes = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Seal) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Seal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Seal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field ConsensusEngineId", wireType) + } + m.ConsensusEngineId = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.ConsensusEngineId |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Bytes", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Bytes = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ChangesTrieSignal) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ChangesTrieSignal: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ChangesTrieSignal: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsNewConfiguration", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsNewConfiguration = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsNewConfiguration", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsNewConfiguration = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Extrinsic) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Extrinsic: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Extrinsic: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Version", wireType) + } + m.Version = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Version |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signature == nil { + m.Signature = &Signature{} + } + if err := m.Signature.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Method", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Method == nil { + m.Method = &Call{} + } + if err := m.Method.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Signature) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Signature: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Signature: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signer == nil { + m.Signer = &MultiAddress{} + } + if err := m.Signer.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signature", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Signature == nil { + m.Signature = &MultiSignature{} + } + if err := m.Signature.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Era", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Era == nil { + m.Era = &ExtrinsicEra{} + } + if err := m.Era.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Nonce", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var stringValue string + if intStringLen > 0 { + stringValue = unsafe.String(&dAtA[iNdEx], intStringLen) + } + m.Nonce = stringValue + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tip", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var stringValue string + if intStringLen > 0 { + stringValue = unsafe.String(&dAtA[iNdEx], intStringLen) + } + m.Tip = stringValue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MultiAddress) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MultiAddress: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MultiAddress: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsId", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsId = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsId", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsId = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsIndex", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsIndex = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AsIndex", wireType) + } + m.AsIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AsIndex |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsRaw", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsRaw = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsRaw", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsRaw = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 7: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsAddress_32", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsAddress_32 = bool(v != 0) + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsAddress_32", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsAddress_32 = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 9: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsAddress_20", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsAddress_20 = bool(v != 0) + case 10: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsAddress_20", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsAddress_20 = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MultiSignature) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MultiSignature: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MultiSignature: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsEd_25519", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsEd_25519 = bool(v != 0) + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsEd_25519", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsEd_25519 = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsSr_25519", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsSr_25519 = bool(v != 0) + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsSr_25519", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsSr_25519 = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 5: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsEcdsa", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsEcdsa = bool(v != 0) + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsEcdsa", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.AsEcdsa = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *ExtrinsicEra) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: ExtrinsicEra: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ExtrinsicEra: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsImmortalEra", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsImmortalEra = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsMortalEra", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsMortalEra = bool(v != 0) + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field AsMortalEra", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.AsMortalEra == nil { + m.AsMortalEra = &MortalEra{} + } + if err := m.AsMortalEra.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Call) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Call: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Call: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CallIndex", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.CallIndex == nil { + m.CallIndex = &CallIndex{} + } + if err := m.CallIndex.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Args", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Args = dAtA[iNdEx:postIndex] + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *CallIndex) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: CallIndex: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: CallIndex: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field SectionIndex", wireType) + } + m.SectionIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.SectionIndex |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MethodIndex", wireType) + } + m.MethodIndex = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MethodIndex |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Event) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Event: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Event: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var stringValue string + if intStringLen > 0 { + stringValue = unsafe.String(&dAtA[iNdEx], intStringLen) + } + m.Name = stringValue + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Id = dAtA[iNdEx:postIndex] + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Phase", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.Phase == nil { + m.Phase = &Phase{} + } + if err := m.Phase.UnmarshalVTUnsafe(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Topics", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Topics = append(m.Topics, dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *Phase) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: Phase: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: Phase: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsApplyExtrinsic", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsApplyExtrinsic = bool(v != 0) + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field AsApplyExtrinsic", wireType) + } + m.AsApplyExtrinsic = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.AsApplyExtrinsic |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 3: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsFinalization", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsFinalization = bool(v != 0) + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field IsInitialization", wireType) + } + var v int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + v |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + m.IsInitialization = bool(v != 0) + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *MortalEra) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MortalEra: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MortalEra: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field First", wireType) + } + m.First = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.First |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 2: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field Second", wireType) + } + m.Second = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.Second |= uint32(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func (m *PaymentFields) UnmarshalVTUnsafe(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: PaymentFields: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: PaymentFields: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Tip", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return protohelpers.ErrIntOverflow + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return protohelpers.ErrInvalidLength + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return protohelpers.ErrInvalidLength + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + var stringValue string + if intStringLen > 0 { + stringValue = unsafe.String(&dAtA[iNdEx], intStringLen) + } + m.Tip = stringValue + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := protohelpers.Skip(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return protohelpers.ErrInvalidLength + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + m.unknownFields = append(m.unknownFields, dAtA[iNdEx:iNdEx+skippy]...) + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} diff --git a/proto/sf/gear/extrinsic/type/v1/extrinsic.proto b/proto/sf/gear/extrinsic/type/v1/extrinsic.proto deleted file mode 100644 index a0bbe8e..0000000 --- a/proto/sf/gear/extrinsic/type/v1/extrinsic.proto +++ /dev/null @@ -1,208 +0,0 @@ -syntax = "proto3"; -package sf.gear.extrinsic.type.v1; - -option go_package = "github.com/streamingfast/firehose-gear/pb/sf/gear/extrinsic/type/v1;pbgearextrinsic"; -import "sf/gear/metadata/type/v1/output.proto"; - -message RuntimeCall { - oneof call { - sf.gear.metadata.type.v1.Babe_PlanConfigChangeCall babe_plan_config_change_call = 1; - sf.gear.metadata.type.v1.Babe_ReportEquivocationCall babe_report_equivocation_call = 2; - sf.gear.metadata.type.v1.Babe_ReportEquivocationUnsignedCall babe_report_equivocation_unsigned_call = 3; - sf.gear.metadata.type.v1.BagsList_PutInFrontOfCall bagslist_put_in_front_of_call = 4; - sf.gear.metadata.type.v1.BagsList_PutInFrontOfOtherCall bagslist_put_in_front_of_other_call = 5; - sf.gear.metadata.type.v1.BagsList_RebagCall bagslist_rebag_call = 6; - sf.gear.metadata.type.v1.Balances_ForceSetBalanceCall balances_force_set_balance_call = 7; - sf.gear.metadata.type.v1.Balances_ForceTransferCall balances_force_transfer_call = 8; - sf.gear.metadata.type.v1.Balances_ForceUnreserveCall balances_force_unreserve_call = 9; - sf.gear.metadata.type.v1.Balances_TransferAllCall balances_transfer_all_call = 10; - sf.gear.metadata.type.v1.Balances_TransferAllowDeathCall balances_transfer_allow_death_call = 11; - sf.gear.metadata.type.v1.Balances_TransferKeepAliveCall balances_transfer_keep_alive_call = 12; - sf.gear.metadata.type.v1.Balances_UpgradeAccountsCall balances_upgrade_accounts_call = 13; - sf.gear.metadata.type.v1.Bounties_AcceptCuratorCall bounties_accept_curator_call = 14; - sf.gear.metadata.type.v1.Bounties_ApproveBountyCall bounties_approve_bounty_call = 15; - sf.gear.metadata.type.v1.Bounties_AwardBountyCall bounties_award_bounty_call = 16; - sf.gear.metadata.type.v1.Bounties_ClaimBountyCall bounties_claim_bounty_call = 17; - sf.gear.metadata.type.v1.Bounties_CloseBountyCall bounties_close_bounty_call = 18; - sf.gear.metadata.type.v1.Bounties_ExtendBountyExpiryCall bounties_extend_bounty_expiry_call = 19; - sf.gear.metadata.type.v1.Bounties_ProposeBountyCall bounties_propose_bounty_call = 20; - sf.gear.metadata.type.v1.Bounties_ProposeCuratorCall bounties_propose_curator_call = 21; - sf.gear.metadata.type.v1.Bounties_UnassignCuratorCall bounties_unassign_curator_call = 22; - sf.gear.metadata.type.v1.ChildBounties_AcceptCuratorCall childbounties_accept_curator_call = 23; - sf.gear.metadata.type.v1.ChildBounties_AddChildBountyCall childbounties_add_child_bounty_call = 24; - sf.gear.metadata.type.v1.ChildBounties_AwardChildBountyCall childbounties_award_child_bounty_call = 25; - sf.gear.metadata.type.v1.ChildBounties_ClaimChildBountyCall childbounties_claim_child_bounty_call = 26; - sf.gear.metadata.type.v1.ChildBounties_CloseChildBountyCall childbounties_close_child_bounty_call = 27; - sf.gear.metadata.type.v1.ChildBounties_ProposeCuratorCall childbounties_propose_curator_call = 28; - sf.gear.metadata.type.v1.ChildBounties_UnassignCuratorCall childbounties_unassign_curator_call = 29; - sf.gear.metadata.type.v1.ConvictionVoting_DelegateCall convictionvoting_delegate_call = 30; - sf.gear.metadata.type.v1.ConvictionVoting_RemoveOtherVoteCall convictionvoting_remove_other_vote_call = 31; - sf.gear.metadata.type.v1.ConvictionVoting_RemoveVoteCall convictionvoting_remove_vote_call = 32; - sf.gear.metadata.type.v1.ConvictionVoting_UndelegateCall convictionvoting_undelegate_call = 33; - sf.gear.metadata.type.v1.ConvictionVoting_UnlockCall convictionvoting_unlock_call = 34; - sf.gear.metadata.type.v1.ConvictionVoting_VoteCall convictionvoting_vote_call = 35; - sf.gear.metadata.type.v1.ElectionProviderMultiPhase_GovernanceFallbackCall electionprovidermultiphase_governance_fallback_call = 36; - sf.gear.metadata.type.v1.ElectionProviderMultiPhase_SetEmergencyElectionResultCall electionprovidermultiphase_set_emergency_election_result_call = 37; - sf.gear.metadata.type.v1.ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall electionprovidermultiphase_set_minimum_untrusted_score_call = 38; - sf.gear.metadata.type.v1.ElectionProviderMultiPhase_SubmitCall electionprovidermultiphase_submit_call = 39; - sf.gear.metadata.type.v1.ElectionProviderMultiPhase_SubmitUnsignedCall electionprovidermultiphase_submit_unsigned_call = 40; - sf.gear.metadata.type.v1.FellowshipCollective_AddMemberCall fellowshipcollective_add_member_call = 41; - sf.gear.metadata.type.v1.FellowshipCollective_CleanupPollCall fellowshipcollective_cleanup_poll_call = 42; - sf.gear.metadata.type.v1.FellowshipCollective_DemoteMemberCall fellowshipcollective_demote_member_call = 43; - sf.gear.metadata.type.v1.FellowshipCollective_PromoteMemberCall fellowshipcollective_promote_member_call = 44; - sf.gear.metadata.type.v1.FellowshipCollective_RemoveMemberCall fellowshipcollective_remove_member_call = 45; - sf.gear.metadata.type.v1.FellowshipCollective_VoteCall fellowshipcollective_vote_call = 46; - sf.gear.metadata.type.v1.FellowshipReferenda_CancelCall fellowshipreferenda_cancel_call = 47; - sf.gear.metadata.type.v1.FellowshipReferenda_KillCall fellowshipreferenda_kill_call = 48; - sf.gear.metadata.type.v1.FellowshipReferenda_NudgeReferendumCall fellowshipreferenda_nudge_referendum_call = 49; - sf.gear.metadata.type.v1.FellowshipReferenda_OneFewerDecidingCall fellowshipreferenda_one_fewer_deciding_call = 50; - sf.gear.metadata.type.v1.FellowshipReferenda_PlaceDecisionDepositCall fellowshipreferenda_place_decision_deposit_call = 51; - sf.gear.metadata.type.v1.FellowshipReferenda_RefundDecisionDepositCall fellowshipreferenda_refund_decision_deposit_call = 52; - sf.gear.metadata.type.v1.FellowshipReferenda_RefundSubmissionDepositCall fellowshipreferenda_refund_submission_deposit_call = 53; - sf.gear.metadata.type.v1.FellowshipReferenda_SetMetadataCall fellowshipreferenda_set_metadata_call = 54; - sf.gear.metadata.type.v1.FellowshipReferenda_SubmitCall fellowshipreferenda_submit_call = 55; - sf.gear.metadata.type.v1.GearVoucher_CallCall gearvoucher_call_call = 56; - sf.gear.metadata.type.v1.GearVoucher_CallDeprecatedCall gearvoucher_call_deprecated_call = 57; - sf.gear.metadata.type.v1.GearVoucher_DeclineCall gearvoucher_decline_call = 58; - sf.gear.metadata.type.v1.GearVoucher_IssueCall gearvoucher_issue_call = 59; - sf.gear.metadata.type.v1.GearVoucher_RevokeCall gearvoucher_revoke_call = 60; - sf.gear.metadata.type.v1.GearVoucher_UpdateCall gearvoucher_update_call = 61; - sf.gear.metadata.type.v1.Gear_ClaimValueCall gear_claim_value_call = 62; - sf.gear.metadata.type.v1.Gear_CreateProgramCall gear_create_program_call = 63; - sf.gear.metadata.type.v1.Gear_RunCall gear_run_call = 64; - sf.gear.metadata.type.v1.Gear_SendMessageCall gear_send_message_call = 65; - sf.gear.metadata.type.v1.Gear_SendReplyCall gear_send_reply_call = 66; - sf.gear.metadata.type.v1.Gear_SetExecuteInherentCall gear_set_execute_inherent_call = 67; - sf.gear.metadata.type.v1.Gear_UploadCodeCall gear_upload_code_call = 68; - sf.gear.metadata.type.v1.Gear_UploadProgramCall gear_upload_program_call = 69; - sf.gear.metadata.type.v1.Grandpa_NoteStalledCall grandpa_note_stalled_call = 70; - sf.gear.metadata.type.v1.Grandpa_ReportEquivocationCall grandpa_report_equivocation_call = 71; - sf.gear.metadata.type.v1.Grandpa_ReportEquivocationUnsignedCall grandpa_report_equivocation_unsigned_call = 72; - sf.gear.metadata.type.v1.Identity_AddRegistrarCall identity_add_registrar_call = 73; - sf.gear.metadata.type.v1.Identity_AddSubCall identity_add_sub_call = 74; - sf.gear.metadata.type.v1.Identity_CancelRequestCall identity_cancel_request_call = 75; - sf.gear.metadata.type.v1.Identity_KillIdentityCall identity_kill_identity_call = 76; - sf.gear.metadata.type.v1.Identity_ProvideJudgementCall identity_provide_judgement_call = 77; - sf.gear.metadata.type.v1.Identity_RemoveSubCall identity_remove_sub_call = 78; - sf.gear.metadata.type.v1.Identity_RenameSubCall identity_rename_sub_call = 79; - sf.gear.metadata.type.v1.Identity_RequestJudgementCall identity_request_judgement_call = 80; - sf.gear.metadata.type.v1.Identity_SetAccountIdCall identity_set_account_id_call = 81; - sf.gear.metadata.type.v1.Identity_SetFeeCall identity_set_fee_call = 82; - sf.gear.metadata.type.v1.Identity_SetFieldsCall identity_set_fields_call = 83; - sf.gear.metadata.type.v1.Identity_SetIdentityCall identity_set_identity_call = 84; - sf.gear.metadata.type.v1.Identity_SetSubsCall identity_set_subs_call = 85; - sf.gear.metadata.type.v1.ImOnline_HeartbeatCall imonline_heartbeat_call = 86; - sf.gear.metadata.type.v1.Multisig_ApproveAsMultiCall multisig_approve_as_multi_call = 87; - sf.gear.metadata.type.v1.Multisig_AsMultiCall multisig_as_multi_call = 88; - sf.gear.metadata.type.v1.Multisig_AsMultiThreshold1Call multisig_as_multi_threshold_1_call = 89; - sf.gear.metadata.type.v1.Multisig_CancelAsMultiCall multisig_cancel_as_multi_call = 90; - sf.gear.metadata.type.v1.NominationPools_AdjustPoolDepositCall nominationpools_adjust_pool_deposit_call = 91; - sf.gear.metadata.type.v1.NominationPools_BondExtraCall nominationpools_bond_extra_call = 92; - sf.gear.metadata.type.v1.NominationPools_BondExtraOtherCall nominationpools_bond_extra_other_call = 93; - sf.gear.metadata.type.v1.NominationPools_ChillCall nominationpools_chill_call = 94; - sf.gear.metadata.type.v1.NominationPools_ClaimCommissionCall nominationpools_claim_commission_call = 95; - sf.gear.metadata.type.v1.NominationPools_ClaimPayoutOtherCall nominationpools_claim_payout_other_call = 96; - sf.gear.metadata.type.v1.NominationPools_CreateCall nominationpools_create_call = 97; - sf.gear.metadata.type.v1.NominationPools_CreateWithPoolIdCall nominationpools_create_with_pool_id_call = 98; - sf.gear.metadata.type.v1.NominationPools_JoinCall nominationpools_join_call = 99; - sf.gear.metadata.type.v1.NominationPools_NominateCall nominationpools_nominate_call = 100; - sf.gear.metadata.type.v1.NominationPools_PoolWithdrawUnbondedCall nominationpools_pool_withdraw_unbonded_call = 101; - sf.gear.metadata.type.v1.NominationPools_SetClaimPermissionCall nominationpools_set_claim_permission_call = 102; - sf.gear.metadata.type.v1.NominationPools_SetCommissionCall nominationpools_set_commission_call = 103; - sf.gear.metadata.type.v1.NominationPools_SetCommissionChangeRateCall nominationpools_set_commission_change_rate_call = 104; - sf.gear.metadata.type.v1.NominationPools_SetCommissionMaxCall nominationpools_set_commission_max_call = 105; - sf.gear.metadata.type.v1.NominationPools_SetConfigsCall nominationpools_set_configs_call = 106; - sf.gear.metadata.type.v1.NominationPools_SetMetadataCall nominationpools_set_metadata_call = 107; - sf.gear.metadata.type.v1.NominationPools_SetStateCall nominationpools_set_state_call = 108; - sf.gear.metadata.type.v1.NominationPools_UnbondCall nominationpools_unbond_call = 109; - sf.gear.metadata.type.v1.NominationPools_UpdateRolesCall nominationpools_update_roles_call = 110; - sf.gear.metadata.type.v1.NominationPools_WithdrawUnbondedCall nominationpools_withdraw_unbonded_call = 111; - sf.gear.metadata.type.v1.Preimage_EnsureUpdatedCall preimage_ensure_updated_call = 112; - sf.gear.metadata.type.v1.Preimage_NotePreimageCall preimage_note_preimage_call = 113; - sf.gear.metadata.type.v1.Preimage_RequestPreimageCall preimage_request_preimage_call = 114; - sf.gear.metadata.type.v1.Preimage_UnnotePreimageCall preimage_unnote_preimage_call = 115; - sf.gear.metadata.type.v1.Preimage_UnrequestPreimageCall preimage_unrequest_preimage_call = 116; - sf.gear.metadata.type.v1.Proxy_AddProxyCall proxy_add_proxy_call = 117; - sf.gear.metadata.type.v1.Proxy_AnnounceCall proxy_announce_call = 118; - sf.gear.metadata.type.v1.Proxy_CreatePureCall proxy_create_pure_call = 119; - sf.gear.metadata.type.v1.Proxy_KillPureCall proxy_kill_pure_call = 120; - sf.gear.metadata.type.v1.Proxy_ProxyAnnouncedCall proxy_proxy_announced_call = 121; - sf.gear.metadata.type.v1.Proxy_ProxyCall proxy_proxy_call = 122; - sf.gear.metadata.type.v1.Proxy_RejectAnnouncementCall proxy_reject_announcement_call = 123; - sf.gear.metadata.type.v1.Proxy_RemoveAnnouncementCall proxy_remove_announcement_call = 124; - sf.gear.metadata.type.v1.Proxy_RemoveProxyCall proxy_remove_proxy_call = 125; - sf.gear.metadata.type.v1.Referenda_CancelCall referenda_cancel_call = 126; - sf.gear.metadata.type.v1.Referenda_KillCall referenda_kill_call = 127; - sf.gear.metadata.type.v1.Referenda_NudgeReferendumCall referenda_nudge_referendum_call = 128; - sf.gear.metadata.type.v1.Referenda_OneFewerDecidingCall referenda_one_fewer_deciding_call = 129; - sf.gear.metadata.type.v1.Referenda_PlaceDecisionDepositCall referenda_place_decision_deposit_call = 130; - sf.gear.metadata.type.v1.Referenda_RefundDecisionDepositCall referenda_refund_decision_deposit_call = 131; - sf.gear.metadata.type.v1.Referenda_RefundSubmissionDepositCall referenda_refund_submission_deposit_call = 132; - sf.gear.metadata.type.v1.Referenda_SetMetadataCall referenda_set_metadata_call = 133; - sf.gear.metadata.type.v1.Referenda_SubmitCall referenda_submit_call = 134; - sf.gear.metadata.type.v1.Scheduler_CancelCall scheduler_cancel_call = 135; - sf.gear.metadata.type.v1.Scheduler_CancelNamedCall scheduler_cancel_named_call = 136; - sf.gear.metadata.type.v1.Scheduler_ScheduleAfterCall scheduler_schedule_after_call = 137; - sf.gear.metadata.type.v1.Scheduler_ScheduleCall scheduler_schedule_call = 138; - sf.gear.metadata.type.v1.Scheduler_ScheduleNamedAfterCall scheduler_schedule_named_after_call = 139; - sf.gear.metadata.type.v1.Scheduler_ScheduleNamedCall scheduler_schedule_named_call = 140; - sf.gear.metadata.type.v1.Session_SetKeysCall session_set_keys_call = 141; - sf.gear.metadata.type.v1.StakingRewards_AlignSupplyCall stakingrewards_align_supply_call = 142; - sf.gear.metadata.type.v1.StakingRewards_ForceRefillCall stakingrewards_force_refill_call = 143; - sf.gear.metadata.type.v1.StakingRewards_RefillCall stakingrewards_refill_call = 144; - sf.gear.metadata.type.v1.StakingRewards_WithdrawCall stakingrewards_withdraw_call = 145; - sf.gear.metadata.type.v1.Staking_BondCall staking_bond_call = 146; - sf.gear.metadata.type.v1.Staking_BondExtraCall staking_bond_extra_call = 147; - sf.gear.metadata.type.v1.Staking_CancelDeferredSlashCall staking_cancel_deferred_slash_call = 148; - sf.gear.metadata.type.v1.Staking_ChillOtherCall staking_chill_other_call = 149; - sf.gear.metadata.type.v1.Staking_ForceApplyMinCommissionCall staking_force_apply_min_commission_call = 150; - sf.gear.metadata.type.v1.Staking_ForceUnstakeCall staking_force_unstake_call = 151; - sf.gear.metadata.type.v1.Staking_IncreaseValidatorCountCall staking_increase_validator_count_call = 152; - sf.gear.metadata.type.v1.Staking_KickCall staking_kick_call = 153; - sf.gear.metadata.type.v1.Staking_NominateCall staking_nominate_call = 154; - sf.gear.metadata.type.v1.Staking_PayoutStakersCall staking_payout_stakers_call = 155; - sf.gear.metadata.type.v1.Staking_ReapStashCall staking_reap_stash_call = 156; - sf.gear.metadata.type.v1.Staking_RebondCall staking_rebond_call = 157; - sf.gear.metadata.type.v1.Staking_ScaleValidatorCountCall staking_scale_validator_count_call = 158; - sf.gear.metadata.type.v1.Staking_SetInvulnerablesCall staking_set_invulnerables_call = 159; - sf.gear.metadata.type.v1.Staking_SetMinCommissionCall staking_set_min_commission_call = 160; - sf.gear.metadata.type.v1.Staking_SetPayeeCall staking_set_payee_call = 161; - sf.gear.metadata.type.v1.Staking_SetStakingConfigsCall staking_set_staking_configs_call = 162; - sf.gear.metadata.type.v1.Staking_SetValidatorCountCall staking_set_validator_count_call = 163; - sf.gear.metadata.type.v1.Staking_UnbondCall staking_unbond_call = 164; - sf.gear.metadata.type.v1.Staking_ValidateCall staking_validate_call = 165; - sf.gear.metadata.type.v1.Staking_WithdrawUnbondedCall staking_withdraw_unbonded_call = 166; - sf.gear.metadata.type.v1.System_KillPrefixCall system_kill_prefix_call = 167; - sf.gear.metadata.type.v1.System_KillStorageCall system_kill_storage_call = 168; - sf.gear.metadata.type.v1.System_RemarkCall system_remark_call = 169; - sf.gear.metadata.type.v1.System_RemarkWithEventCall system_remark_with_event_call = 170; - sf.gear.metadata.type.v1.System_SetCodeCall system_set_code_call = 171; - sf.gear.metadata.type.v1.System_SetCodeWithoutChecksCall system_set_code_without_checks_call = 172; - sf.gear.metadata.type.v1.System_SetHeapPagesCall system_set_heap_pages_call = 173; - sf.gear.metadata.type.v1.System_SetStorageCall system_set_storage_call = 174; - sf.gear.metadata.type.v1.Timestamp_SetCall timestamp_set_call = 175; - sf.gear.metadata.type.v1.Treasury_ApproveProposalCall treasury_approve_proposal_call = 176; - sf.gear.metadata.type.v1.Treasury_CheckStatusCall treasury_check_status_call = 177; - sf.gear.metadata.type.v1.Treasury_PayoutCall treasury_payout_call = 178; - sf.gear.metadata.type.v1.Treasury_ProposeSpendCall treasury_propose_spend_call = 179; - sf.gear.metadata.type.v1.Treasury_RejectProposalCall treasury_reject_proposal_call = 180; - sf.gear.metadata.type.v1.Treasury_RemoveApprovalCall treasury_remove_approval_call = 181; - sf.gear.metadata.type.v1.Treasury_SpendCall treasury_spend_call = 182; - sf.gear.metadata.type.v1.Treasury_SpendLocalCall treasury_spend_local_call = 183; - sf.gear.metadata.type.v1.Treasury_VoidSpendCall treasury_void_spend_call = 184; - sf.gear.metadata.type.v1.Utility_AsDerivativeCall utility_as_derivative_call = 185; - sf.gear.metadata.type.v1.Utility_BatchAllCall utility_batch_all_call = 186; - sf.gear.metadata.type.v1.Utility_BatchCall utility_batch_call = 187; - sf.gear.metadata.type.v1.Utility_DispatchAsCall utility_dispatch_as_call = 188; - sf.gear.metadata.type.v1.Utility_ForceBatchCall utility_force_batch_call = 189; - sf.gear.metadata.type.v1.Utility_WithWeightCall utility_with_weight_call = 190; - sf.gear.metadata.type.v1.Vesting_ForceVestedTransferCall vesting_force_vested_transfer_call = 191; - sf.gear.metadata.type.v1.Vesting_MergeSchedulesCall vesting_merge_schedules_call = 192; - sf.gear.metadata.type.v1.Vesting_VestOtherCall vesting_vest_other_call = 193; - sf.gear.metadata.type.v1.Vesting_VestedTransferCall vesting_vested_transfer_call = 194; - sf.gear.metadata.type.v1.Whitelist_DispatchWhitelistedCallCall whitelist_dispatch_whitelisted_call_call = 195; - sf.gear.metadata.type.v1.Whitelist_DispatchWhitelistedCallWithPreimageCall whitelist_dispatch_whitelisted_call_with_preimage_call = 196; - sf.gear.metadata.type.v1.Whitelist_RemoveWhitelistedCallCall whitelist_remove_whitelisted_call_call = 197; - sf.gear.metadata.type.v1.Whitelist_WhitelistCallCall whitelist_whitelist_call_call = 198; - } -} diff --git a/proto/sf/gear/metadata/type/v1/output.proto b/proto/sf/gear/metadata/type/v1/output.proto deleted file mode 100644 index 67a544c..0000000 --- a/proto/sf/gear/metadata/type/v1/output.proto +++ /dev/null @@ -1,4590 +0,0 @@ -syntax = "proto3"; -package sf.gear.metadata.type.v1; -option go_package = "github.com/streamingfast/firehose-gear/pb/sf/gear/metadata/type/v1;pbgear"; - -message Vesting_MergeSchedulesCall { - uint32 schedule1_index = 1; - uint32 schedule2_index = 2; -} -message Referenda_KillCall { - uint32 index = 1; -} -message ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport { - SpCoreCryptoAccountId32 value0 = 1; - SpNposElectionsSupport value1 = 2; -} -message NominationPools_WithdrawUnbondedCall { - oneof member_account { - NominationPools_Id member_account_id = 1; - NominationPools_Index member_account_index = 2; - NominationPools_Raw member_account_raw = 3; - NominationPools_Address32 member_account_address32 = 4; - NominationPools_Address20 member_account_address20 = 5; - } - uint32 num_slashing_spans = 6; -} -message Staking_IncreaseValidatorCountCall { - uint32 additional = 1; -} -message Staking_MaxValidatorCount { - oneof max_validator_count { - Staking_Noop max_validator_count_noop = 1; - Staking_Set max_validator_count_set = 2; - Staking_Remove max_validator_count_remove = 3; - } -} -message Scheduler_ScheduleNamedAfterCall { - bytes id = 1; - uint32 after = 2; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 3; - uint32 priority = 4; - oneof call { - SystemPallet call_system = 5; - TimestampPallet call_timestamp = 6; - BabePallet call_babe = 7; - GrandpaPallet call_grandpa = 8; - BalancesPallet call_balances = 9; - VestingPallet call_vesting = 10; - BagsListPallet call_bags_list = 11; - ImOnlinePallet call_im_online = 12; - StakingPallet call_staking = 13; - SessionPallet call_session = 14; - TreasuryPallet call_treasury = 15; - UtilityPallet call_utility = 16; - ConvictionVotingPallet call_conviction_voting = 17; - ReferendaPallet call_referenda = 18; - FellowshipCollectivePallet call_fellowship_collective = 19; - FellowshipReferendaPallet call_fellowship_referenda = 20; - WhitelistPallet call_whitelist = 21; - SchedulerPallet call_scheduler = 22; - PreimagePallet call_preimage = 23; - IdentityPallet call_identity = 24; - ProxyPallet call_proxy = 25; - MultisigPallet call_multisig = 26; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 27; - BountiesPallet call_bounties = 28; - ChildBountiesPallet call_child_bounties = 29; - NominationPoolsPallet call_nomination_pools = 30; - GearPallet call_gear = 31; - StakingRewardsPallet call_staking_rewards = 32; - GearVoucherPallet call_gear_voucher = 33; - } -} -message Identity_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message BagsList_Lighter { - oneof lighter { - BagsList_Id lighter_id = 1; - BagsList_Index lighter_index = 2; - BagsList_Raw lighter_raw = 3; - BagsList_Address32 lighter_address32 = 4; - BagsList_Address20 lighter_address20 = 5; - } -} -message ChildBounties_ProposeCuratorCall { - uint32 parent_bounty_id = 1; - uint32 child_bounty_id = 2; - oneof curator { - ChildBounties_Id curator_id = 3; - ChildBounties_Index curator_index = 4; - ChildBounties_Raw curator_raw = 5; - ChildBounties_Address32 curator_address32 = 6; - ChildBounties_Address20 curator_address20 = 7; - } - string fee = 8; -} -message NominationPools_Raw { - bytes value0 = 1; -} -message Babe_PreRuntime { - bytes value0 = 1; - bytes value1 = 2; -} -message BagsList_TupleNull { - TupleNull value = 1; -} -message Session_SetKeysCall { - VaraRuntimeSessionKeys keys = 1; - bytes proof = 2; -} -message Treasury_ProposeSpendCall { - string value = 1; - oneof beneficiary { - Treasury_Id beneficiary_id = 2; - Treasury_Index beneficiary_index = 3; - Treasury_Raw beneficiary_raw = 4; - Treasury_Address32 beneficiary_address32 = 5; - Treasury_Address20 beneficiary_address20 = 6; - } -} -message Identity_Raw17 { - bytes value0 = 1; -} -message Identity_Raw32 { - bytes value0 = 1; -} -message Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData { - SpCoreCryptoAccountId32 value0 = 1; - oneof value1 { - Identity_None value1_none = 2; - Identity_Raw0 value1_raw0 = 3; - Identity_Raw1 value1_raw1 = 4; - Identity_Raw2 value1_raw2 = 5; - Identity_Raw3 value1_raw3 = 6; - Identity_Raw4 value1_raw4 = 7; - Identity_Raw5 value1_raw5 = 8; - Identity_Raw6 value1_raw6 = 9; - Identity_Raw7 value1_raw7 = 10; - Identity_Raw8 value1_raw8 = 11; - Identity_Raw9 value1_raw9 = 12; - Identity_Raw10 value1_raw10 = 13; - Identity_Raw11 value1_raw11 = 14; - Identity_Raw12 value1_raw12 = 15; - Identity_Raw13 value1_raw13 = 16; - Identity_Raw14 value1_raw14 = 17; - Identity_Raw15 value1_raw15 = 18; - Identity_Raw16 value1_raw16 = 19; - Identity_Raw17 value1_raw17 = 20; - Identity_Raw18 value1_raw18 = 21; - Identity_Raw19 value1_raw19 = 22; - Identity_Raw20 value1_raw20 = 23; - Identity_Raw21 value1_raw21 = 24; - Identity_Raw22 value1_raw22 = 25; - Identity_Raw23 value1_raw23 = 26; - Identity_Raw24 value1_raw24 = 27; - Identity_Raw25 value1_raw25 = 28; - Identity_Raw26 value1_raw26 = 29; - Identity_Raw27 value1_raw27 = 30; - Identity_Raw28 value1_raw28 = 31; - Identity_Raw29 value1_raw29 = 32; - Identity_Raw30 value1_raw30 = 33; - Identity_Raw31 value1_raw31 = 34; - Identity_Raw32 value1_raw32 = 35; - Identity_BlakeTwo256 value1_blake_two256 = 36; - Identity_Sha256 value1_sha256 = 37; - Identity_Keccak256 value1_keccak256 = 38; - Identity_ShaThree256 value1_sha_three256 = 39; - } -} -message Identity_SetFieldsCall { - uint32 index = 1; - Identity_PalletIdentityTypesBitFlags fields = 2; -} -message Staking_TupleNull { - TupleNull value = 1; -} -message Identity_Raw27 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes13Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message NominationPools_CreateCall { - string amount = 1; - oneof root { - NominationPools_Id root_id = 2; - NominationPools_Index root_index = 3; - NominationPools_Raw root_raw = 4; - NominationPools_Address32 root_address32 = 5; - NominationPools_Address20 root_address20 = 6; - } - oneof nominator { - NominationPools_Id nominator_id = 7; - NominationPools_Index nominator_index = 8; - NominationPools_Raw nominator_raw = 9; - NominationPools_Address32 nominator_address32 = 10; - NominationPools_Address20 nominator_address20 = 11; - } - oneof bouncer { - NominationPools_Id bouncer_id = 12; - NominationPools_Index bouncer_index = 13; - NominationPools_Raw bouncer_raw = 14; - NominationPools_Address32 bouncer_address32 = 15; - NominationPools_Address20 bouncer_address20 = 16; - } -} -message System_SetHeapPagesCall { - uint64 pages = 1; -} -message System_SetCodeCall { - bytes code = 1; -} -message System_TupleSystemItemsListSystemItemsList { - bytes value0 = 1; - bytes value1 = 2; -} -message BigTipper { -} -message Identity_Value0 { - oneof value0 { - Identity_None value0_none = 1; - Identity_Raw0 value0_raw0 = 2; - Identity_Raw1 value0_raw1 = 3; - Identity_Raw2 value0_raw2 = 4; - Identity_Raw3 value0_raw3 = 5; - Identity_Raw4 value0_raw4 = 6; - Identity_Raw5 value0_raw5 = 7; - Identity_Raw6 value0_raw6 = 8; - Identity_Raw7 value0_raw7 = 9; - Identity_Raw8 value0_raw8 = 10; - Identity_Raw9 value0_raw9 = 11; - Identity_Raw10 value0_raw10 = 12; - Identity_Raw11 value0_raw11 = 13; - Identity_Raw12 value0_raw12 = 14; - Identity_Raw13 value0_raw13 = 15; - Identity_Raw14 value0_raw14 = 16; - Identity_Raw15 value0_raw15 = 17; - Identity_Raw16 value0_raw16 = 18; - Identity_Raw17 value0_raw17 = 19; - Identity_Raw18 value0_raw18 = 20; - Identity_Raw19 value0_raw19 = 21; - Identity_Raw20 value0_raw20 = 22; - Identity_Raw21 value0_raw21 = 23; - Identity_Raw22 value0_raw22 = 24; - Identity_Raw23 value0_raw23 = 25; - Identity_Raw24 value0_raw24 = 26; - Identity_Raw25 value0_raw25 = 27; - Identity_Raw26 value0_raw26 = 28; - Identity_Raw27 value0_raw27 = 29; - Identity_Raw28 value0_raw28 = 30; - Identity_Raw29 value0_raw29 = 31; - Identity_Raw30 value0_raw30 = 32; - Identity_Raw31 value0_raw31 = 33; - Identity_Raw32 value0_raw32 = 34; - Identity_BlakeTwo256 value0_blake_two256 = 35; - Identity_Sha256 value0_sha256 = 36; - Identity_Keccak256 value0_keccak256 = 37; - Identity_ShaThree256 value0_sha_three256 = 38; - } -} -message Identity_SetIdentityCall { - Identity_PalletIdentitySimpleIdentityInfo info = 1; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes3Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message Bounties_AwardBountyCall { - uint32 bounty_id = 1; - oneof beneficiary { - Bounties_Id beneficiary_id = 2; - Bounties_Index beneficiary_index = 3; - Bounties_Raw beneficiary_raw = 4; - Bounties_Address32 beneficiary_address32 = 5; - Bounties_Address20 beneficiary_address20 = 6; - } -} -message ChildBounties_Raw { - bytes value0 = 1; -} -message GearBankPallet { -} -message Babe_ReportEquivocationUnsignedCall { - SpConsensusSlotsEquivocationProof equivocation_proof = 1; - SpSessionMembershipProof key_owner_proof = 2; -} -message Vesting_Address20 { - bytes value0 = 1; -} -message Staking_Targets { - oneof targets { - Staking_Id targets_id = 1; - Staking_Index targets_index = 2; - Staking_Raw targets_raw = 3; - Staking_Address32 targets_address32 = 4; - Staking_Address20 targets_address20 = 5; - } -} -message Multisig_AsMultiCall { - uint32 threshold = 1; - repeated SpCoreCryptoAccountId32 other_signatories = 2; - optional Multisig_PalletMultisigTimepoint maybe_timepoint = 3; - oneof call { - SystemPallet call_system = 4; - TimestampPallet call_timestamp = 5; - BabePallet call_babe = 6; - GrandpaPallet call_grandpa = 7; - BalancesPallet call_balances = 8; - VestingPallet call_vesting = 9; - BagsListPallet call_bags_list = 10; - ImOnlinePallet call_im_online = 11; - StakingPallet call_staking = 12; - SessionPallet call_session = 13; - TreasuryPallet call_treasury = 14; - UtilityPallet call_utility = 15; - ConvictionVotingPallet call_conviction_voting = 16; - ReferendaPallet call_referenda = 17; - FellowshipCollectivePallet call_fellowship_collective = 18; - FellowshipReferendaPallet call_fellowship_referenda = 19; - WhitelistPallet call_whitelist = 20; - SchedulerPallet call_scheduler = 21; - PreimagePallet call_preimage = 22; - IdentityPallet call_identity = 23; - ProxyPallet call_proxy = 24; - MultisigPallet call_multisig = 25; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 26; - BountiesPallet call_bounties = 27; - ChildBountiesPallet call_child_bounties = 28; - NominationPoolsPallet call_nomination_pools = 29; - GearPallet call_gear = 30; - StakingRewardsPallet call_staking_rewards = 31; - GearVoucherPallet call_gear_voucher = 32; - } - SpWeightsWeightV2Weight max_weight = 33; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes15Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message UtilityPallet { - oneof call { - Utility_BatchCall call_batch_call = 1; - Utility_AsDerivativeCall call_as_derivative_call = 2; - Utility_BatchAllCall call_batch_all_call = 3; - Utility_DispatchAsCall call_dispatch_as_call = 4; - Utility_ForceBatchCall call_force_batch_call = 5; - Utility_WithWeightCall call_with_weight_call = 6; - } -} -message ConvictionVoting_UndelegateCall { - uint32 class = 1; -} -message OriginsPallet { -} -message Bounties_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message NominationPools_NewNominator { - oneof new_nominator { - NominationPools_Noop new_nominator_noop = 1; - NominationPools_Set new_nominator_set = 2; - NominationPools_Remove new_nominator_remove = 3; - } -} -message NominationPools_ChillCall { - uint32 pool_id = 1; -} -message Gear_UploadProgramCall { - bytes code = 1; - bytes salt = 2; - bytes init_payload = 3; - uint64 gas_limit = 4; - string value = 5; - bool keep_alive = 6; -} -message Staking_Payee { - oneof payee { - Staking_Staked payee_staked = 1; - Staking_Stash payee_stash = 2; - Staking_Controller payee_controller = 3; - Staking_Account payee_account = 4; - Staking_None payee_none = 5; - } -} -message Staking_MaxNominatorCount { - oneof max_nominator_count { - Staking_Noop max_nominator_count_noop = 1; - Staking_Set max_nominator_count_set = 2; - Staking_Remove max_nominator_count_remove = 3; - } -} -message ConvictionVoting_None { -} -message Referenda_EnactmentMoment { - oneof enactment_moment { - Referenda_At enactment_moment_at = 1; - Referenda_After enactment_moment_after = 2; - } -} -message Referenda_RefundDecisionDepositCall { - uint32 index = 1; -} -message FellowshipCollective_AddMemberCall { - oneof who { - FellowshipCollective_Id who_id = 1; - FellowshipCollective_Index who_index = 2; - FellowshipCollective_Raw who_raw = 3; - FellowshipCollective_Address32 who_address32 = 4; - FellowshipCollective_Address20 who_address20 = 5; - } -} -message Identity_Raw23 { - bytes value0 = 1; -} -message Balances_Address32 { - bytes value0 = 1; -} -message Staking_PayoutStakersCall { - SpCoreCryptoAccountId32 validator_stash = 1; - uint32 era = 2; -} -message Staking_SetStakingConfigsCall { - oneof min_nominator_bond { - Staking_Noop min_nominator_bond_noop = 1; - Staking_Set min_nominator_bond_set = 2; - Staking_Remove min_nominator_bond_remove = 3; - } - oneof min_validator_bond { - Staking_Noop min_validator_bond_noop = 4; - Staking_Set min_validator_bond_set = 5; - Staking_Remove min_validator_bond_remove = 6; - } - oneof max_nominator_count { - Staking_Noop max_nominator_count_noop = 7; - Staking_Set max_nominator_count_set = 8; - Staking_Remove max_nominator_count_remove = 9; - } - oneof max_validator_count { - Staking_Noop max_validator_count_noop = 10; - Staking_Set max_validator_count_set = 11; - Staking_Remove max_validator_count_remove = 12; - } - oneof chill_threshold { - Staking_Noop chill_threshold_noop = 13; - Staking_Set chill_threshold_set = 14; - Staking_Remove chill_threshold_remove = 15; - } - oneof min_commission { - Staking_Noop min_commission_noop = 16; - Staking_Set min_commission_set = 17; - Staking_Remove min_commission_remove = 18; - } -} -message GeneralAdmin { -} -message ConvictionVoting_Locked2X { -} -message Bounties_CloseBountyCall { - uint32 bounty_id = 1; -} -message Balances_Who { - oneof who { - Balances_Id who_id = 1; - Balances_Index who_index = 2; - Balances_Raw who_raw = 3; - Balances_Address32 who_address32 = 4; - Balances_Address20 who_address20 = 5; - } -} -message Staking_Raw { - bytes value0 = 1; -} -message Referenda_System { - oneof value0 { - Root value0_root = 1; - Signed value0_signed = 2; - None value0_none = 3; - } -} -message Staking_ForceUnstakeCall { - SpCoreCryptoAccountId32 stash = 1; - uint32 num_slashing_spans = 2; -} -message ConvictionVoting_Split { - string aye = 1; - string nay = 2; -} -message Bounties_ProposeBountyCall { - string value = 1; - bytes description = 2; -} -message StakingRewards_To { - oneof to { - StakingRewards_Id to_id = 1; - StakingRewards_Index to_index = 2; - StakingRewards_Raw to_raw = 3; - StakingRewards_Address32 to_address32 = 4; - StakingRewards_Address20 to_address20 = 5; - } -} -message BagsList_PutInFrontOfOtherCall { - oneof heavier { - BagsList_Id heavier_id = 1; - BagsList_Index heavier_index = 2; - BagsList_Raw heavier_raw = 3; - BagsList_Address32 heavier_address32 = 4; - BagsList_Address20 heavier_address20 = 5; - } - oneof lighter { - BagsList_Id lighter_id = 6; - BagsList_Index lighter_index = 7; - BagsList_Raw lighter_raw = 8; - BagsList_Address32 lighter_address32 = 9; - BagsList_Address20 lighter_address20 = 10; - } -} -message SmallSpender { -} -message Fellowship9Dan { -} -message FellowshipReferenda_CancelCall { - uint32 index = 1; -} -message Identity_Web { - oneof web { - Identity_None web_none = 1; - Identity_Raw0 web_raw0 = 2; - Identity_Raw1 web_raw1 = 3; - Identity_Raw2 web_raw2 = 4; - Identity_Raw3 web_raw3 = 5; - Identity_Raw4 web_raw4 = 6; - Identity_Raw5 web_raw5 = 7; - Identity_Raw6 web_raw6 = 8; - Identity_Raw7 web_raw7 = 9; - Identity_Raw8 web_raw8 = 10; - Identity_Raw9 web_raw9 = 11; - Identity_Raw10 web_raw10 = 12; - Identity_Raw11 web_raw11 = 13; - Identity_Raw12 web_raw12 = 14; - Identity_Raw13 web_raw13 = 15; - Identity_Raw14 web_raw14 = 16; - Identity_Raw15 web_raw15 = 17; - Identity_Raw16 web_raw16 = 18; - Identity_Raw17 web_raw17 = 19; - Identity_Raw18 web_raw18 = 20; - Identity_Raw19 web_raw19 = 21; - Identity_Raw20 web_raw20 = 22; - Identity_Raw21 web_raw21 = 23; - Identity_Raw22 web_raw22 = 24; - Identity_Raw23 web_raw23 = 25; - Identity_Raw24 web_raw24 = 26; - Identity_Raw25 web_raw25 = 27; - Identity_Raw26 web_raw26 = 28; - Identity_Raw27 web_raw27 = 29; - Identity_Raw28 web_raw28 = 30; - Identity_Raw29 web_raw29 = 31; - Identity_Raw30 web_raw30 = 32; - Identity_Raw31 web_raw31 = 33; - Identity_Raw32 web_raw32 = 34; - Identity_BlakeTwo256 web_blake_two256 = 35; - Identity_Sha256 web_sha256 = 36; - Identity_Keccak256 web_keccak256 = 37; - Identity_ShaThree256 web_sha_three256 = 38; - } -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes12Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message FellowshipCollective_PromoteMemberCall { - oneof who { - FellowshipCollective_Id who_id = 1; - FellowshipCollective_Index who_index = 2; - FellowshipCollective_Raw who_raw = 3; - FellowshipCollective_Address32 who_address32 = 4; - FellowshipCollective_Address20 who_address20 = 5; - } -} -message NominationPools_JoinCall { - string amount = 1; - uint32 pool_id = 2; -} -message Gear_CreateProgramCall { - GprimitivesCodeId code_id = 1; - bytes salt = 2; - bytes init_payload = 3; - uint64 gas_limit = 4; - string value = 5; - bool keep_alive = 6; -} -message GearVoucher_RevokeCall { - SpCoreCryptoAccountId32 spender = 1; - GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 2; -} -message Staking_MinNominatorBond { - oneof min_nominator_bond { - Staking_Noop min_nominator_bond_noop = 1; - Staking_Set min_nominator_bond_set = 2; - Staking_Remove min_nominator_bond_remove = 3; - } -} -message Treasury_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message WhitelistedCaller { -} -message Identity_Reasonable { -} -message Fellowship4Dan { -} -message NominationPools_NominateCall { - uint32 pool_id = 1; - repeated SpCoreCryptoAccountId32 validators = 2; -} -message BagsList_Dislocated { - oneof dislocated { - BagsList_Id dislocated_id = 1; - BagsList_Index dislocated_index = 2; - BagsList_Raw dislocated_raw = 3; - BagsList_Address32 dislocated_address32 = 4; - BagsList_Address20 dislocated_address20 = 5; - } -} -message NominationPools_NewBouncer { - oneof new_bouncer { - NominationPools_Noop new_bouncer_noop = 1; - NominationPools_Set new_bouncer_set = 2; - NominationPools_Remove new_bouncer_remove = 3; - } -} -message Babe_PrimaryAndSecondaryVrfSlots { -} -message Grandpa_SpConsensusGrandpaEquivocationProof { - uint64 set_id = 1; - oneof equivocation { - Grandpa_Prevote equivocation_prevote = 2; - Grandpa_Precommit equivocation_precommit = 3; - } -} -message Balances_Raw { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes11Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message NominationPools_SetCommissionMaxCall { - uint32 pool_id = 1; - SpArithmeticPerThingsPerbill max_commission = 2; -} -message Identity_ProvideJudgementCall { - uint32 reg_index = 1; - oneof target { - Identity_Id target_id = 2; - Identity_Index target_index = 3; - Identity_Raw target_raw = 4; - Identity_Address32 target_address32 = 5; - Identity_Address20 target_address20 = 6; - } - oneof judgement { - Identity_Unknown judgement_unknown = 7; - Identity_FeePaid judgement_fee_paid = 8; - Identity_Reasonable judgement_reasonable = 9; - Identity_KnownGood judgement_known_good = 10; - Identity_OutOfDate judgement_out_of_date = 11; - Identity_LowQuality judgement_low_quality = 12; - Identity_Erroneous judgement_erroneous = 13; - } - PrimitiveTypesH256 identity = 14; -} -message IdentityPallet { - oneof call { - Identity_AddRegistrarCall call_add_registrar_call = 1; - Identity_SetIdentityCall call_set_identity_call = 2; - Identity_SetSubsCall call_set_subs_call = 3; - Identity_ClearIdentityCall call_clear_identity_call = 4; - Identity_RequestJudgementCall call_request_judgement_call = 5; - Identity_CancelRequestCall call_cancel_request_call = 6; - Identity_SetFeeCall call_set_fee_call = 7; - Identity_SetAccountIdCall call_set_account_id_call = 8; - Identity_SetFieldsCall call_set_fields_call = 9; - Identity_ProvideJudgementCall call_provide_judgement_call = 10; - Identity_KillIdentityCall call_kill_identity_call = 11; - Identity_AddSubCall call_add_sub_call = 12; - Identity_RenameSubCall call_rename_sub_call = 13; - Identity_RemoveSubCall call_remove_sub_call = 14; - Identity_QuitSubCall call_quit_sub_call = 15; - } -} -message Proxy_CreatePureCall { - oneof proxy_type { - Proxy_Any proxy_type_any = 1; - Proxy_NonTransfer proxy_type_non_transfer = 2; - Proxy_Governance proxy_type_governance = 3; - Proxy_Staking proxy_type_staking = 4; - Proxy_IdentityJudgement proxy_type_identity_judgement = 5; - Proxy_CancelProxy proxy_type_cancel_proxy = 6; - } - uint32 delay = 7; - uint32 index = 8; -} -message ChildBounties_Curator { - oneof curator { - ChildBounties_Id curator_id = 1; - ChildBounties_Index curator_index = 2; - ChildBounties_Raw curator_raw = 3; - ChildBounties_Address32 curator_address32 = 4; - ChildBounties_Address20 curator_address20 = 5; - } -} -message NominationPools_Root { - oneof root { - NominationPools_Id root_id = 1; - NominationPools_Index root_index = 2; - NominationPools_Raw root_raw = 3; - NominationPools_Address32 root_address32 = 4; - NominationPools_Address20 root_address20 = 5; - } -} -message BabePallet { - oneof call { - Babe_ReportEquivocationCall call_report_equivocation_call = 1; - Babe_ReportEquivocationUnsignedCall call_report_equivocation_unsigned_call = 2; - Babe_PlanConfigChangeCall call_plan_config_change_call = 3; - } -} -message Vesting_Index { - Vesting_TupleNull value0 = 1; -} -message Staking_ScaleValidatorCountCall { - SpArithmeticPerThingsPercent factor = 1; -} -message Treasurer { -} -message ChildBounties_Beneficiary { - oneof beneficiary { - ChildBounties_Id beneficiary_id = 1; - ChildBounties_Index beneficiary_index = 2; - ChildBounties_Raw beneficiary_raw = 3; - ChildBounties_Address32 beneficiary_address32 = 4; - ChildBounties_Address20 beneficiary_address20 = 5; - } -} -message StakingRewards_Address32 { - bytes value0 = 1; -} -message Staking_Account { - SpCoreCryptoAccountId32 value0 = 1; -} -message Fellowship1Dan { -} -message Fellowship5Dan { -} -message ConvictionVoting_TupleNull { - TupleNull value = 1; -} -message Identity_CancelRequestCall { - uint32 reg_index = 1; -} -message Proxy_Index { - Proxy_TupleNull value0 = 1; -} -message Proxy_ProxyAnnouncedCall { - oneof delegate { - Proxy_Id delegate_id = 1; - Proxy_Index delegate_index = 2; - Proxy_Raw delegate_raw = 3; - Proxy_Address32 delegate_address32 = 4; - Proxy_Address20 delegate_address20 = 5; - } - oneof real { - Proxy_Id real_id = 6; - Proxy_Index real_index = 7; - Proxy_Raw real_raw = 8; - Proxy_Address32 real_address32 = 9; - Proxy_Address20 real_address20 = 10; - } - oneof force_proxy_type { - Proxy_Any force_proxy_type_any = 11; - Proxy_NonTransfer force_proxy_type_non_transfer = 12; - Proxy_Governance force_proxy_type_governance = 13; - Proxy_Staking force_proxy_type_staking = 14; - Proxy_IdentityJudgement force_proxy_type_identity_judgement = 15; - Proxy_CancelProxy force_proxy_type_cancel_proxy = 16; - } - oneof call { - SystemPallet call_system = 17; - TimestampPallet call_timestamp = 18; - BabePallet call_babe = 19; - GrandpaPallet call_grandpa = 20; - BalancesPallet call_balances = 21; - VestingPallet call_vesting = 22; - BagsListPallet call_bags_list = 23; - ImOnlinePallet call_im_online = 24; - StakingPallet call_staking = 25; - SessionPallet call_session = 26; - TreasuryPallet call_treasury = 27; - UtilityPallet call_utility = 28; - ConvictionVotingPallet call_conviction_voting = 29; - ReferendaPallet call_referenda = 30; - FellowshipCollectivePallet call_fellowship_collective = 31; - FellowshipReferendaPallet call_fellowship_referenda = 32; - WhitelistPallet call_whitelist = 33; - SchedulerPallet call_scheduler = 34; - PreimagePallet call_preimage = 35; - IdentityPallet call_identity = 36; - ProxyPallet call_proxy = 37; - MultisigPallet call_multisig = 38; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 39; - BountiesPallet call_bounties = 40; - ChildBountiesPallet call_child_bounties = 41; - NominationPoolsPallet call_nomination_pools = 42; - GearPallet call_gear = 43; - StakingRewardsPallet call_staking_rewards = 44; - GearVoucherPallet call_gear_voucher = 45; - } -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes14Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message Identity_Twitter { - oneof twitter { - Identity_None twitter_none = 1; - Identity_Raw0 twitter_raw0 = 2; - Identity_Raw1 twitter_raw1 = 3; - Identity_Raw2 twitter_raw2 = 4; - Identity_Raw3 twitter_raw3 = 5; - Identity_Raw4 twitter_raw4 = 6; - Identity_Raw5 twitter_raw5 = 7; - Identity_Raw6 twitter_raw6 = 8; - Identity_Raw7 twitter_raw7 = 9; - Identity_Raw8 twitter_raw8 = 10; - Identity_Raw9 twitter_raw9 = 11; - Identity_Raw10 twitter_raw10 = 12; - Identity_Raw11 twitter_raw11 = 13; - Identity_Raw12 twitter_raw12 = 14; - Identity_Raw13 twitter_raw13 = 15; - Identity_Raw14 twitter_raw14 = 16; - Identity_Raw15 twitter_raw15 = 17; - Identity_Raw16 twitter_raw16 = 18; - Identity_Raw17 twitter_raw17 = 19; - Identity_Raw18 twitter_raw18 = 20; - Identity_Raw19 twitter_raw19 = 21; - Identity_Raw20 twitter_raw20 = 22; - Identity_Raw21 twitter_raw21 = 23; - Identity_Raw22 twitter_raw22 = 24; - Identity_Raw23 twitter_raw23 = 25; - Identity_Raw24 twitter_raw24 = 26; - Identity_Raw25 twitter_raw25 = 27; - Identity_Raw26 twitter_raw26 = 28; - Identity_Raw27 twitter_raw27 = 29; - Identity_Raw28 twitter_raw28 = 30; - Identity_Raw29 twitter_raw29 = 31; - Identity_Raw30 twitter_raw30 = 32; - Identity_Raw31 twitter_raw31 = 33; - Identity_Raw32 twitter_raw32 = 34; - Identity_BlakeTwo256 twitter_blake_two256 = 35; - Identity_Sha256 twitter_sha256 = 36; - Identity_Keccak256 twitter_keccak256 = 37; - Identity_ShaThree256 twitter_sha_three256 = 38; - } -} -message Balances_Dest { - oneof dest { - Balances_Id dest_id = 1; - Balances_Index dest_index = 2; - Balances_Raw dest_raw = 3; - Balances_Address32 dest_address32 = 4; - Balances_Address20 dest_address20 = 5; - } -} -message Staking_Staked { -} -message Proxy_AnnounceCall { - oneof real { - Proxy_Id real_id = 1; - Proxy_Index real_index = 2; - Proxy_Raw real_raw = 3; - Proxy_Address32 real_address32 = 4; - Proxy_Address20 real_address20 = 5; - } - PrimitiveTypesH256 call_hash = 6; -} -message ChildBounties_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Balances_UpgradeAccountsCall { - repeated SpCoreCryptoAccountId32 who = 1; -} -message ImOnline_PalletImOnlineSr25519AppSr25519Signature { - SpCoreSr25519Signature value0 = 1; -} -message Identity_Raw3 { - bytes value0 = 1; -} -message Identity_Raw4 { - bytes value0 = 1; -} -message Proxy_RemoveProxyCall { - oneof delegate { - Proxy_Id delegate_id = 1; - Proxy_Index delegate_index = 2; - Proxy_Raw delegate_raw = 3; - Proxy_Address32 delegate_address32 = 4; - Proxy_Address20 delegate_address20 = 5; - } - oneof proxy_type { - Proxy_Any proxy_type_any = 6; - Proxy_NonTransfer proxy_type_non_transfer = 7; - Proxy_Governance proxy_type_governance = 8; - Proxy_Staking proxy_type_staking = 9; - Proxy_IdentityJudgement proxy_type_identity_judgement = 10; - Proxy_CancelProxy proxy_type_cancel_proxy = 11; - } - uint32 delay = 12; -} -message ElectionProviderMultiPhase_SetEmergencyElectionResultCall { - repeated ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32SpNposElectionsSupport supports = 1; -} -message NominationPools_FreeBalance { - string value0 = 1; -} -message NominationPools_PoolWithdrawUnbondedCall { - uint32 pool_id = 1; - uint32 num_slashing_spans = 2; -} -message Treasury_Raw { - bytes value0 = 1; -} -message Identity_Erroneous { -} -message Whitelist_RemoveWhitelistedCallCall { - PrimitiveTypesH256 call_hash = 1; -} -message System_RemarkWithEventCall { - bytes remark = 1; -} -message GrandpaPallet { - oneof call { - Grandpa_ReportEquivocationCall call_report_equivocation_call = 1; - Grandpa_ReportEquivocationUnsignedCall call_report_equivocation_unsigned_call = 2; - Grandpa_NoteStalledCall call_note_stalled_call = 3; - } -} -message Vesting_TupleNull { - TupleNull value = 1; -} -message Balances_TransferAllCall { - oneof dest { - Balances_Id dest_id = 1; - Balances_Index dest_index = 2; - Balances_Raw dest_raw = 3; - Balances_Address32 dest_address32 = 4; - Balances_Address20 dest_address20 = 5; - } - bool keep_alive = 6; -} -message Vesting_ForceVestedTransferCall { - oneof source { - Vesting_Id source_id = 1; - Vesting_Index source_index = 2; - Vesting_Raw source_raw = 3; - Vesting_Address32 source_address32 = 4; - Vesting_Address20 source_address20 = 5; - } - oneof target { - Vesting_Id target_id = 6; - Vesting_Index target_index = 7; - Vesting_Raw target_raw = 8; - Vesting_Address32 target_address32 = 9; - Vesting_Address20 target_address20 = 10; - } - Vesting_PalletVestingVestingInfoVestingInfo schedule = 11; -} -message BigSpender { -} -message Referenda_SubmitCall { - oneof proposal_origin { - Referenda_System proposal_origin_system = 1; - Referenda_Origins proposal_origin_origins = 2; - Referenda_Void proposal_origin_void = 3; - } - oneof proposal { - Referenda_Legacy proposal_legacy = 4; - Referenda_Inline proposal_inline = 5; - Referenda_Lookup proposal_lookup = 6; - } - oneof enactment_moment { - Referenda_At enactment_moment_at = 7; - Referenda_After enactment_moment_after = 8; - } -} -message SchedulerPallet { - oneof call { - Scheduler_ScheduleCall call_schedule_call = 1; - Scheduler_CancelCall call_cancel_call = 2; - Scheduler_ScheduleNamedCall call_schedule_named_call = 3; - Scheduler_CancelNamedCall call_cancel_named_call = 4; - Scheduler_ScheduleAfterCall call_schedule_after_call = 5; - Scheduler_ScheduleNamedAfterCall call_schedule_named_after_call = 6; - } -} -message Bounties_ClaimBountyCall { - uint32 bounty_id = 1; -} -message NominationPools_ClaimPayoutCall { -} -message VaraRuntimeRuntimeCall { - oneof calls { - SystemPallet calls_system = 1; - TimestampPallet calls_timestamp = 2; - BabePallet calls_babe = 3; - GrandpaPallet calls_grandpa = 4; - BalancesPallet calls_balances = 5; - VestingPallet calls_vesting = 6; - BagsListPallet calls_bags_list = 7; - ImOnlinePallet calls_im_online = 8; - StakingPallet calls_staking = 9; - SessionPallet calls_session = 10; - TreasuryPallet calls_treasury = 11; - UtilityPallet calls_utility = 12; - ConvictionVotingPallet calls_conviction_voting = 13; - ReferendaPallet calls_referenda = 14; - FellowshipCollectivePallet calls_fellowship_collective = 15; - FellowshipReferendaPallet calls_fellowship_referenda = 16; - WhitelistPallet calls_whitelist = 17; - SchedulerPallet calls_scheduler = 18; - PreimagePallet calls_preimage = 19; - IdentityPallet calls_identity = 20; - ProxyPallet calls_proxy = 21; - MultisigPallet calls_multisig = 22; - ElectionProviderMultiPhasePallet calls_election_provider_multi_phase = 23; - BountiesPallet calls_bounties = 24; - ChildBountiesPallet calls_child_bounties = 25; - NominationPoolsPallet calls_nomination_pools = 26; - GearPallet calls_gear = 27; - StakingRewardsPallet calls_staking_rewards = 28; - GearVoucherPallet calls_gear_voucher = 29; - } -} -message FellowshipReferenda_After { - uint32 value0 = 1; -} -message ChildBounties_ClaimChildBountyCall { - uint32 parent_bounty_id = 1; - uint32 child_bounty_id = 2; -} -message NominationPools_Rewards { -} -message NominationPools_GlobalMaxCommission { - oneof global_max_commission { - NominationPools_Noop global_max_commission_noop = 1; - NominationPools_Set global_max_commission_set = 2; - NominationPools_Remove global_max_commission_remove = 3; - } -} -message NominationPools_BondExtraOtherCall { - oneof member { - NominationPools_Id member_id = 1; - NominationPools_Index member_index = 2; - NominationPools_Raw member_raw = 3; - NominationPools_Address32 member_address32 = 4; - NominationPools_Address20 member_address20 = 5; - } - oneof extra { - NominationPools_FreeBalance extra_free_balance = 6; - NominationPools_Rewards extra_rewards = 7; - } -} -message StakingRewards_Index { - StakingRewards_TupleNull value0 = 1; -} -message GearVoucher_SendReply { - GprimitivesMessageId reply_to_id = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; -} -message SpArithmeticPerThingsPerbill { - uint32 value0 = 1; -} -message Identity_SetFeeCall { - uint32 index = 1; - string fee = 2; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes8Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message ChildBounties_AcceptCuratorCall { - uint32 parent_bounty_id = 1; - uint32 child_bounty_id = 2; -} -message Staking_PalletStakingValidatorPrefs { - SpArithmeticPerThingsPerbill commission = 1; - bool blocked = 2; -} -message Preimage_RequestPreimageCall { - PrimitiveTypesH256 hash = 1; -} -message Identity_Raw2 { - bytes value0 = 1; -} -message NominationPools_ClaimPayoutOtherCall { - SpCoreCryptoAccountId32 other = 1; -} -message Timestamp_SetCall { - uint64 now = 1; -} -message Babe_Logs { - oneof logs { - Babe_PreRuntime logs_pre_runtime = 1; - Babe_Consensus logs_consensus = 2; - Babe_Seal logs_seal = 3; - Babe_Other logs_other = 4; - Babe_RuntimeEnvironmentUpdated logs_runtime_environment_updated = 5; - } -} -message Treasury_ApproveProposalCall { - uint32 proposal_id = 1; -} -message Identity_Raw1 { - bytes value0 = 1; -} -message AuthorityDiscoveryPallet { -} -message Utility_AsDerivativeCall { - uint32 index = 1; - oneof call { - SystemPallet call_system = 2; - TimestampPallet call_timestamp = 3; - BabePallet call_babe = 4; - GrandpaPallet call_grandpa = 5; - BalancesPallet call_balances = 6; - VestingPallet call_vesting = 7; - BagsListPallet call_bags_list = 8; - ImOnlinePallet call_im_online = 9; - StakingPallet call_staking = 10; - SessionPallet call_session = 11; - TreasuryPallet call_treasury = 12; - UtilityPallet call_utility = 13; - ConvictionVotingPallet call_conviction_voting = 14; - ReferendaPallet call_referenda = 15; - FellowshipCollectivePallet call_fellowship_collective = 16; - FellowshipReferendaPallet call_fellowship_referenda = 17; - WhitelistPallet call_whitelist = 18; - SchedulerPallet call_scheduler = 19; - PreimagePallet call_preimage = 20; - IdentityPallet call_identity = 21; - ProxyPallet call_proxy = 22; - MultisigPallet call_multisig = 23; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 24; - BountiesPallet call_bounties = 25; - ChildBountiesPallet call_child_bounties = 26; - NominationPoolsPallet call_nomination_pools = 27; - GearPallet call_gear = 28; - StakingRewardsPallet call_staking_rewards = 29; - GearVoucherPallet call_gear_voucher = 30; - } -} -message Fellowship3Dan { -} -message Fellowship8Dan { -} -message ConvictionVoting_Locked4X { -} -message FellowshipReferenda_Inline { - BoundedCollectionsBoundedVecBoundedVec value0 = 1; -} -message Identity_Raw9 { - bytes value0 = 1; -} -message Identity_PalletIdentitySimpleIdentityInfo { - BoundedCollectionsBoundedVecBoundedVec additional = 1; - oneof display { - Identity_None display_none = 2; - Identity_Raw0 display_raw0 = 3; - Identity_Raw1 display_raw1 = 4; - Identity_Raw2 display_raw2 = 5; - Identity_Raw3 display_raw3 = 6; - Identity_Raw4 display_raw4 = 7; - Identity_Raw5 display_raw5 = 8; - Identity_Raw6 display_raw6 = 9; - Identity_Raw7 display_raw7 = 10; - Identity_Raw8 display_raw8 = 11; - Identity_Raw9 display_raw9 = 12; - Identity_Raw10 display_raw10 = 13; - Identity_Raw11 display_raw11 = 14; - Identity_Raw12 display_raw12 = 15; - Identity_Raw13 display_raw13 = 16; - Identity_Raw14 display_raw14 = 17; - Identity_Raw15 display_raw15 = 18; - Identity_Raw16 display_raw16 = 19; - Identity_Raw17 display_raw17 = 20; - Identity_Raw18 display_raw18 = 21; - Identity_Raw19 display_raw19 = 22; - Identity_Raw20 display_raw20 = 23; - Identity_Raw21 display_raw21 = 24; - Identity_Raw22 display_raw22 = 25; - Identity_Raw23 display_raw23 = 26; - Identity_Raw24 display_raw24 = 27; - Identity_Raw25 display_raw25 = 28; - Identity_Raw26 display_raw26 = 29; - Identity_Raw27 display_raw27 = 30; - Identity_Raw28 display_raw28 = 31; - Identity_Raw29 display_raw29 = 32; - Identity_Raw30 display_raw30 = 33; - Identity_Raw31 display_raw31 = 34; - Identity_Raw32 display_raw32 = 35; - Identity_BlakeTwo256 display_blake_two256 = 36; - Identity_Sha256 display_sha256 = 37; - Identity_Keccak256 display_keccak256 = 38; - Identity_ShaThree256 display_sha_three256 = 39; - } - oneof legal { - Identity_None legal_none = 40; - Identity_Raw0 legal_raw0 = 41; - Identity_Raw1 legal_raw1 = 42; - Identity_Raw2 legal_raw2 = 43; - Identity_Raw3 legal_raw3 = 44; - Identity_Raw4 legal_raw4 = 45; - Identity_Raw5 legal_raw5 = 46; - Identity_Raw6 legal_raw6 = 47; - Identity_Raw7 legal_raw7 = 48; - Identity_Raw8 legal_raw8 = 49; - Identity_Raw9 legal_raw9 = 50; - Identity_Raw10 legal_raw10 = 51; - Identity_Raw11 legal_raw11 = 52; - Identity_Raw12 legal_raw12 = 53; - Identity_Raw13 legal_raw13 = 54; - Identity_Raw14 legal_raw14 = 55; - Identity_Raw15 legal_raw15 = 56; - Identity_Raw16 legal_raw16 = 57; - Identity_Raw17 legal_raw17 = 58; - Identity_Raw18 legal_raw18 = 59; - Identity_Raw19 legal_raw19 = 60; - Identity_Raw20 legal_raw20 = 61; - Identity_Raw21 legal_raw21 = 62; - Identity_Raw22 legal_raw22 = 63; - Identity_Raw23 legal_raw23 = 64; - Identity_Raw24 legal_raw24 = 65; - Identity_Raw25 legal_raw25 = 66; - Identity_Raw26 legal_raw26 = 67; - Identity_Raw27 legal_raw27 = 68; - Identity_Raw28 legal_raw28 = 69; - Identity_Raw29 legal_raw29 = 70; - Identity_Raw30 legal_raw30 = 71; - Identity_Raw31 legal_raw31 = 72; - Identity_Raw32 legal_raw32 = 73; - Identity_BlakeTwo256 legal_blake_two256 = 74; - Identity_Sha256 legal_sha256 = 75; - Identity_Keccak256 legal_keccak256 = 76; - Identity_ShaThree256 legal_sha_three256 = 77; - } - oneof web { - Identity_None web_none = 78; - Identity_Raw0 web_raw0 = 79; - Identity_Raw1 web_raw1 = 80; - Identity_Raw2 web_raw2 = 81; - Identity_Raw3 web_raw3 = 82; - Identity_Raw4 web_raw4 = 83; - Identity_Raw5 web_raw5 = 84; - Identity_Raw6 web_raw6 = 85; - Identity_Raw7 web_raw7 = 86; - Identity_Raw8 web_raw8 = 87; - Identity_Raw9 web_raw9 = 88; - Identity_Raw10 web_raw10 = 89; - Identity_Raw11 web_raw11 = 90; - Identity_Raw12 web_raw12 = 91; - Identity_Raw13 web_raw13 = 92; - Identity_Raw14 web_raw14 = 93; - Identity_Raw15 web_raw15 = 94; - Identity_Raw16 web_raw16 = 95; - Identity_Raw17 web_raw17 = 96; - Identity_Raw18 web_raw18 = 97; - Identity_Raw19 web_raw19 = 98; - Identity_Raw20 web_raw20 = 99; - Identity_Raw21 web_raw21 = 100; - Identity_Raw22 web_raw22 = 101; - Identity_Raw23 web_raw23 = 102; - Identity_Raw24 web_raw24 = 103; - Identity_Raw25 web_raw25 = 104; - Identity_Raw26 web_raw26 = 105; - Identity_Raw27 web_raw27 = 106; - Identity_Raw28 web_raw28 = 107; - Identity_Raw29 web_raw29 = 108; - Identity_Raw30 web_raw30 = 109; - Identity_Raw31 web_raw31 = 110; - Identity_Raw32 web_raw32 = 111; - Identity_BlakeTwo256 web_blake_two256 = 112; - Identity_Sha256 web_sha256 = 113; - Identity_Keccak256 web_keccak256 = 114; - Identity_ShaThree256 web_sha_three256 = 115; - } - oneof riot { - Identity_None riot_none = 116; - Identity_Raw0 riot_raw0 = 117; - Identity_Raw1 riot_raw1 = 118; - Identity_Raw2 riot_raw2 = 119; - Identity_Raw3 riot_raw3 = 120; - Identity_Raw4 riot_raw4 = 121; - Identity_Raw5 riot_raw5 = 122; - Identity_Raw6 riot_raw6 = 123; - Identity_Raw7 riot_raw7 = 124; - Identity_Raw8 riot_raw8 = 125; - Identity_Raw9 riot_raw9 = 126; - Identity_Raw10 riot_raw10 = 127; - Identity_Raw11 riot_raw11 = 128; - Identity_Raw12 riot_raw12 = 129; - Identity_Raw13 riot_raw13 = 130; - Identity_Raw14 riot_raw14 = 131; - Identity_Raw15 riot_raw15 = 132; - Identity_Raw16 riot_raw16 = 133; - Identity_Raw17 riot_raw17 = 134; - Identity_Raw18 riot_raw18 = 135; - Identity_Raw19 riot_raw19 = 136; - Identity_Raw20 riot_raw20 = 137; - Identity_Raw21 riot_raw21 = 138; - Identity_Raw22 riot_raw22 = 139; - Identity_Raw23 riot_raw23 = 140; - Identity_Raw24 riot_raw24 = 141; - Identity_Raw25 riot_raw25 = 142; - Identity_Raw26 riot_raw26 = 143; - Identity_Raw27 riot_raw27 = 144; - Identity_Raw28 riot_raw28 = 145; - Identity_Raw29 riot_raw29 = 146; - Identity_Raw30 riot_raw30 = 147; - Identity_Raw31 riot_raw31 = 148; - Identity_Raw32 riot_raw32 = 149; - Identity_BlakeTwo256 riot_blake_two256 = 150; - Identity_Sha256 riot_sha256 = 151; - Identity_Keccak256 riot_keccak256 = 152; - Identity_ShaThree256 riot_sha_three256 = 153; - } - oneof email { - Identity_None email_none = 154; - Identity_Raw0 email_raw0 = 155; - Identity_Raw1 email_raw1 = 156; - Identity_Raw2 email_raw2 = 157; - Identity_Raw3 email_raw3 = 158; - Identity_Raw4 email_raw4 = 159; - Identity_Raw5 email_raw5 = 160; - Identity_Raw6 email_raw6 = 161; - Identity_Raw7 email_raw7 = 162; - Identity_Raw8 email_raw8 = 163; - Identity_Raw9 email_raw9 = 164; - Identity_Raw10 email_raw10 = 165; - Identity_Raw11 email_raw11 = 166; - Identity_Raw12 email_raw12 = 167; - Identity_Raw13 email_raw13 = 168; - Identity_Raw14 email_raw14 = 169; - Identity_Raw15 email_raw15 = 170; - Identity_Raw16 email_raw16 = 171; - Identity_Raw17 email_raw17 = 172; - Identity_Raw18 email_raw18 = 173; - Identity_Raw19 email_raw19 = 174; - Identity_Raw20 email_raw20 = 175; - Identity_Raw21 email_raw21 = 176; - Identity_Raw22 email_raw22 = 177; - Identity_Raw23 email_raw23 = 178; - Identity_Raw24 email_raw24 = 179; - Identity_Raw25 email_raw25 = 180; - Identity_Raw26 email_raw26 = 181; - Identity_Raw27 email_raw27 = 182; - Identity_Raw28 email_raw28 = 183; - Identity_Raw29 email_raw29 = 184; - Identity_Raw30 email_raw30 = 185; - Identity_Raw31 email_raw31 = 186; - Identity_Raw32 email_raw32 = 187; - Identity_BlakeTwo256 email_blake_two256 = 188; - Identity_Sha256 email_sha256 = 189; - Identity_Keccak256 email_keccak256 = 190; - Identity_ShaThree256 email_sha_three256 = 191; - } - bytes pgp_fingerprint = 192; - oneof image { - Identity_None image_none = 193; - Identity_Raw0 image_raw0 = 194; - Identity_Raw1 image_raw1 = 195; - Identity_Raw2 image_raw2 = 196; - Identity_Raw3 image_raw3 = 197; - Identity_Raw4 image_raw4 = 198; - Identity_Raw5 image_raw5 = 199; - Identity_Raw6 image_raw6 = 200; - Identity_Raw7 image_raw7 = 201; - Identity_Raw8 image_raw8 = 202; - Identity_Raw9 image_raw9 = 203; - Identity_Raw10 image_raw10 = 204; - Identity_Raw11 image_raw11 = 205; - Identity_Raw12 image_raw12 = 206; - Identity_Raw13 image_raw13 = 207; - Identity_Raw14 image_raw14 = 208; - Identity_Raw15 image_raw15 = 209; - Identity_Raw16 image_raw16 = 210; - Identity_Raw17 image_raw17 = 211; - Identity_Raw18 image_raw18 = 212; - Identity_Raw19 image_raw19 = 213; - Identity_Raw20 image_raw20 = 214; - Identity_Raw21 image_raw21 = 215; - Identity_Raw22 image_raw22 = 216; - Identity_Raw23 image_raw23 = 217; - Identity_Raw24 image_raw24 = 218; - Identity_Raw25 image_raw25 = 219; - Identity_Raw26 image_raw26 = 220; - Identity_Raw27 image_raw27 = 221; - Identity_Raw28 image_raw28 = 222; - Identity_Raw29 image_raw29 = 223; - Identity_Raw30 image_raw30 = 224; - Identity_Raw31 image_raw31 = 225; - Identity_Raw32 image_raw32 = 226; - Identity_BlakeTwo256 image_blake_two256 = 227; - Identity_Sha256 image_sha256 = 228; - Identity_Keccak256 image_keccak256 = 229; - Identity_ShaThree256 image_sha_three256 = 230; - } - oneof twitter { - Identity_None twitter_none = 231; - Identity_Raw0 twitter_raw0 = 232; - Identity_Raw1 twitter_raw1 = 233; - Identity_Raw2 twitter_raw2 = 234; - Identity_Raw3 twitter_raw3 = 235; - Identity_Raw4 twitter_raw4 = 236; - Identity_Raw5 twitter_raw5 = 237; - Identity_Raw6 twitter_raw6 = 238; - Identity_Raw7 twitter_raw7 = 239; - Identity_Raw8 twitter_raw8 = 240; - Identity_Raw9 twitter_raw9 = 241; - Identity_Raw10 twitter_raw10 = 242; - Identity_Raw11 twitter_raw11 = 243; - Identity_Raw12 twitter_raw12 = 244; - Identity_Raw13 twitter_raw13 = 245; - Identity_Raw14 twitter_raw14 = 246; - Identity_Raw15 twitter_raw15 = 247; - Identity_Raw16 twitter_raw16 = 248; - Identity_Raw17 twitter_raw17 = 249; - Identity_Raw18 twitter_raw18 = 250; - Identity_Raw19 twitter_raw19 = 251; - Identity_Raw20 twitter_raw20 = 252; - Identity_Raw21 twitter_raw21 = 253; - Identity_Raw22 twitter_raw22 = 254; - Identity_Raw23 twitter_raw23 = 255; - Identity_Raw24 twitter_raw24 = 256; - Identity_Raw25 twitter_raw25 = 257; - Identity_Raw26 twitter_raw26 = 258; - Identity_Raw27 twitter_raw27 = 259; - Identity_Raw28 twitter_raw28 = 260; - Identity_Raw29 twitter_raw29 = 261; - Identity_Raw30 twitter_raw30 = 262; - Identity_Raw31 twitter_raw31 = 263; - Identity_Raw32 twitter_raw32 = 264; - Identity_BlakeTwo256 twitter_blake_two256 = 265; - Identity_Sha256 twitter_sha256 = 266; - Identity_Keccak256 twitter_keccak256 = 267; - Identity_ShaThree256 twitter_sha_three256 = 268; - } -} -message ElectionProviderMultiPhase_TupleUint32TupleUint32SpArithmeticPerThingsPerU16Uint32 { - uint32 value0 = 1; - ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message ChildBounties_AwardChildBountyCall { - uint32 parent_bounty_id = 1; - uint32 child_bounty_id = 2; - oneof beneficiary { - ChildBounties_Id beneficiary_id = 3; - ChildBounties_Index beneficiary_index = 4; - ChildBounties_Raw beneficiary_raw = 5; - ChildBounties_Address32 beneficiary_address32 = 6; - ChildBounties_Address20 beneficiary_address20 = 7; - } -} -message Babe_RuntimeEnvironmentUpdated { -} -message Staking_UnbondCall { - string value = 1; -} -message Staking_ForceNewEraAlwaysCall { -} -message ReferendumCanceller { -} -message Identity_Display { - oneof display { - Identity_None display_none = 1; - Identity_Raw0 display_raw0 = 2; - Identity_Raw1 display_raw1 = 3; - Identity_Raw2 display_raw2 = 4; - Identity_Raw3 display_raw3 = 5; - Identity_Raw4 display_raw4 = 6; - Identity_Raw5 display_raw5 = 7; - Identity_Raw6 display_raw6 = 8; - Identity_Raw7 display_raw7 = 9; - Identity_Raw8 display_raw8 = 10; - Identity_Raw9 display_raw9 = 11; - Identity_Raw10 display_raw10 = 12; - Identity_Raw11 display_raw11 = 13; - Identity_Raw12 display_raw12 = 14; - Identity_Raw13 display_raw13 = 15; - Identity_Raw14 display_raw14 = 16; - Identity_Raw15 display_raw15 = 17; - Identity_Raw16 display_raw16 = 18; - Identity_Raw17 display_raw17 = 19; - Identity_Raw18 display_raw18 = 20; - Identity_Raw19 display_raw19 = 21; - Identity_Raw20 display_raw20 = 22; - Identity_Raw21 display_raw21 = 23; - Identity_Raw22 display_raw22 = 24; - Identity_Raw23 display_raw23 = 25; - Identity_Raw24 display_raw24 = 26; - Identity_Raw25 display_raw25 = 27; - Identity_Raw26 display_raw26 = 28; - Identity_Raw27 display_raw27 = 29; - Identity_Raw28 display_raw28 = 30; - Identity_Raw29 display_raw29 = 31; - Identity_Raw30 display_raw30 = 32; - Identity_Raw31 display_raw31 = 33; - Identity_Raw32 display_raw32 = 34; - Identity_BlakeTwo256 display_blake_two256 = 35; - Identity_Sha256 display_sha256 = 36; - Identity_Keccak256 display_keccak256 = 37; - Identity_ShaThree256 display_sha_three256 = 38; - } -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes5Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message NominationPools_SetStateCall { - uint32 pool_id = 1; - oneof state { - NominationPools_Open state_open = 2; - NominationPools_Blocked state_blocked = 3; - NominationPools_Destroying state_destroying = 4; - } -} -message NominationPools_MaxMembersPerPool { - oneof max_members_per_pool { - NominationPools_Noop max_members_per_pool_noop = 1; - NominationPools_Set max_members_per_pool_set = 2; - NominationPools_Remove max_members_per_pool_remove = 3; - } -} -message StakingRewards_Address20 { - bytes value0 = 1; -} -message Babe_TupleUint64Uint64 { - uint64 value0 = 1; - uint64 value1 = 2; -} -message Grandpa_Equivocation { - oneof equivocation { - Grandpa_Prevote equivocation_prevote = 1; - Grandpa_Precommit equivocation_precommit = 2; - } -} -message StakingPallet { - oneof call { - Staking_BondCall call_bond_call = 1; - Staking_BondExtraCall call_bond_extra_call = 2; - Staking_UnbondCall call_unbond_call = 3; - Staking_WithdrawUnbondedCall call_withdraw_unbonded_call = 4; - Staking_ValidateCall call_validate_call = 5; - Staking_NominateCall call_nominate_call = 6; - Staking_ChillCall call_chill_call = 7; - Staking_SetPayeeCall call_set_payee_call = 8; - Staking_SetControllerCall call_set_controller_call = 9; - Staking_SetValidatorCountCall call_set_validator_count_call = 10; - Staking_IncreaseValidatorCountCall call_increase_validator_count_call = 11; - Staking_ScaleValidatorCountCall call_scale_validator_count_call = 12; - Staking_ForceNoErasCall call_force_no_eras_call = 13; - Staking_ForceNewEraCall call_force_new_era_call = 14; - Staking_SetInvulnerablesCall call_set_invulnerables_call = 15; - Staking_ForceUnstakeCall call_force_unstake_call = 16; - Staking_ForceNewEraAlwaysCall call_force_new_era_always_call = 17; - Staking_CancelDeferredSlashCall call_cancel_deferred_slash_call = 18; - Staking_PayoutStakersCall call_payout_stakers_call = 19; - Staking_RebondCall call_rebond_call = 20; - Staking_ReapStashCall call_reap_stash_call = 21; - Staking_KickCall call_kick_call = 22; - Staking_SetStakingConfigsCall call_set_staking_configs_call = 23; - Staking_ChillOtherCall call_chill_other_call = 24; - Staking_ForceApplyMinCommissionCall call_force_apply_min_commission_call = 25; - Staking_SetMinCommissionCall call_set_min_commission_call = 26; - } -} -message Bounties_Beneficiary { - oneof beneficiary { - Bounties_Id beneficiary_id = 1; - Bounties_Index beneficiary_index = 2; - Bounties_Raw beneficiary_raw = 3; - Bounties_Address32 beneficiary_address32 = 4; - Bounties_Address20 beneficiary_address20 = 5; - } -} -message NominationPools_Permission { - oneof permission { - NominationPools_Permissioned permission_permissioned = 1; - NominationPools_PermissionlessCompound permission_permissionless_compound = 2; - NominationPools_PermissionlessWithdraw permission_permissionless_withdraw = 3; - NominationPools_PermissionlessAll permission_permissionless_all = 4; - } -} -message StakingRewards_ForceRefillCall { - oneof from { - StakingRewards_Id from_id = 1; - StakingRewards_Index from_index = 2; - StakingRewards_Raw from_raw = 3; - StakingRewards_Address32 from_address32 = 4; - StakingRewards_Address20 from_address20 = 5; - } - string value = 6; -} -message GearVoucher_SendMessage { - GprimitivesActorId destination = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; -} -message BagsList_PutInFrontOfCall { - oneof lighter { - BagsList_Id lighter_id = 1; - BagsList_Index lighter_index = 2; - BagsList_Raw lighter_raw = 3; - BagsList_Address32 lighter_address32 = 4; - BagsList_Address20 lighter_address20 = 5; - } -} -message Identity_Raw7 { - bytes value0 = 1; -} -message Babe_Seal { - bytes value0 = 1; - bytes value1 = 2; -} -message Treasury_Beneficiary { - oneof beneficiary { - Treasury_Id beneficiary_id = 1; - Treasury_Index beneficiary_index = 2; - Treasury_Raw beneficiary_raw = 3; - Treasury_Address32 beneficiary_address32 = 4; - Treasury_Address20 beneficiary_address20 = 5; - } -} -message ConvictionVoting_VoteCall { - uint32 poll_index = 1; - oneof vote { - ConvictionVoting_Standard vote_standard = 2; - ConvictionVoting_Split vote_split = 3; - ConvictionVoting_SplitAbstain vote_split_abstain = 4; - } -} -message Preimage_NotePreimageCall { - bytes bytes = 1; -} -message FellowshipReferenda_SetMetadataCall { - uint32 index = 1; - optional PrimitiveTypesH256 maybe_hash = 2; -} -message Bounties_Address32 { - bytes value0 = 1; -} -message BagsListPallet { - oneof call { - BagsList_RebagCall call_rebag_call = 1; - BagsList_PutInFrontOfCall call_put_in_front_of_call = 2; - BagsList_PutInFrontOfOtherCall call_put_in_front_of_other_call = 3; - } -} -message Fellowship2Dan { -} -message SpNposElectionsElectionScore { - string minimal_stake = 1; - string sum_stake = 2; - string sum_stake_squared = 3; -} -message GearMessengerPallet { -} -message Gear_RunCall { - optional uint64 max_gas = 1; -} -message System_KillStorageCall { - repeated System_SystemKeysList keys = 1; -} -message Staking_CancelDeferredSlashCall { - uint32 era = 1; - repeated uint32 slash_indices = 2; -} -message Fellows { -} -message GearPaymentPallet { -} -message Utility_AsOrigin { - oneof as_origin { - Utility_System as_origin_system = 1; - Utility_Origins as_origin_origins = 2; - Utility_Void as_origin_void = 3; - } -} -message FellowshipCollective_Address32 { - bytes value0 = 1; -} -message PreimagePallet { - oneof call { - Preimage_NotePreimageCall call_note_preimage_call = 1; - Preimage_UnnotePreimageCall call_unnote_preimage_call = 2; - Preimage_RequestPreimageCall call_request_preimage_call = 3; - Preimage_UnrequestPreimageCall call_unrequest_preimage_call = 4; - Preimage_EnsureUpdatedCall call_ensure_updated_call = 5; - } -} -message SpConsensusBabeAppPublic { - SpCoreSr25519Public value0 = 1; -} -message ImOnline_PalletImOnlineSr25519AppSr25519Public { - SpCoreSr25519Public value0 = 1; -} -message ConvictionVotingPallet { - oneof call { - ConvictionVoting_VoteCall call_vote_call = 1; - ConvictionVoting_DelegateCall call_delegate_call = 2; - ConvictionVoting_UndelegateCall call_undelegate_call = 3; - ConvictionVoting_UnlockCall call_unlock_call = 4; - ConvictionVoting_RemoveVoteCall call_remove_vote_call = 5; - ConvictionVoting_RemoveOtherVoteCall call_remove_other_vote_call = 6; - } -} -message Identity_TupleNull { - TupleNull value = 1; -} -message FellowshipAdmin { -} -message NominationPools_CreateWithPoolIdCall { - string amount = 1; - oneof root { - NominationPools_Id root_id = 2; - NominationPools_Index root_index = 3; - NominationPools_Raw root_raw = 4; - NominationPools_Address32 root_address32 = 5; - NominationPools_Address20 root_address20 = 6; - } - oneof nominator { - NominationPools_Id nominator_id = 7; - NominationPools_Index nominator_index = 8; - NominationPools_Raw nominator_raw = 9; - NominationPools_Address32 nominator_address32 = 10; - NominationPools_Address20 nominator_address20 = 11; - } - oneof bouncer { - NominationPools_Id bouncer_id = 12; - NominationPools_Index bouncer_index = 13; - NominationPools_Raw bouncer_raw = 14; - NominationPools_Address32 bouncer_address32 = 15; - NominationPools_Address20 bouncer_address20 = 16; - } - uint32 pool_id = 17; -} -message BTreeSet { - repeated GprimitivesActorId value0 = 1; -} -message GearVoucher_IssueCall { - SpCoreCryptoAccountId32 spender = 1; - string balance = 2; - optional BTreeSet programs = 3; - bool code_uploading = 4; - uint32 duration = 5; -} -message Staking_ValidateCall { - Staking_PalletStakingValidatorPrefs prefs = 1; -} -message Referenda_After { - uint32 value0 = 1; -} -message Identity_AddRegistrarCall { - oneof account { - Identity_Id account_id = 1; - Identity_Index account_index = 2; - Identity_Raw account_raw = 3; - Identity_Address32 account_address32 = 4; - Identity_Address20 account_address20 = 5; - } -} -message Identity_Sha256 { - bytes value0 = 1; -} -message Identity_Image { - oneof image { - Identity_None image_none = 1; - Identity_Raw0 image_raw0 = 2; - Identity_Raw1 image_raw1 = 3; - Identity_Raw2 image_raw2 = 4; - Identity_Raw3 image_raw3 = 5; - Identity_Raw4 image_raw4 = 6; - Identity_Raw5 image_raw5 = 7; - Identity_Raw6 image_raw6 = 8; - Identity_Raw7 image_raw7 = 9; - Identity_Raw8 image_raw8 = 10; - Identity_Raw9 image_raw9 = 11; - Identity_Raw10 image_raw10 = 12; - Identity_Raw11 image_raw11 = 13; - Identity_Raw12 image_raw12 = 14; - Identity_Raw13 image_raw13 = 15; - Identity_Raw14 image_raw14 = 16; - Identity_Raw15 image_raw15 = 17; - Identity_Raw16 image_raw16 = 18; - Identity_Raw17 image_raw17 = 19; - Identity_Raw18 image_raw18 = 20; - Identity_Raw19 image_raw19 = 21; - Identity_Raw20 image_raw20 = 22; - Identity_Raw21 image_raw21 = 23; - Identity_Raw22 image_raw22 = 24; - Identity_Raw23 image_raw23 = 25; - Identity_Raw24 image_raw24 = 26; - Identity_Raw25 image_raw25 = 27; - Identity_Raw26 image_raw26 = 28; - Identity_Raw27 image_raw27 = 29; - Identity_Raw28 image_raw28 = 30; - Identity_Raw29 image_raw29 = 31; - Identity_Raw30 image_raw30 = 32; - Identity_Raw31 image_raw31 = 33; - Identity_Raw32 image_raw32 = 34; - Identity_BlakeTwo256 image_blake_two256 = 35; - Identity_Sha256 image_sha256 = 36; - Identity_Keccak256 image_keccak256 = 37; - Identity_ShaThree256 image_sha_three256 = 38; - } -} -message Identity_FeePaid { - string value0 = 1; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes4Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message NominationPools_TupleNull { - TupleNull value = 1; -} -message GearVoucher_UploadCode { - bytes code = 1; -} -message BagsList_Raw { - bytes value0 = 1; -} -message BoundedCollectionsBoundedVecBoundedVec { - bytes value0 = 1; -} -message Proxy_ForceProxyType { - oneof force_proxy_type { - Proxy_Any force_proxy_type_any = 1; - Proxy_NonTransfer force_proxy_type_non_transfer = 2; - Proxy_Governance force_proxy_type_governance = 3; - Proxy_Staking force_proxy_type_staking = 4; - Proxy_IdentityJudgement force_proxy_type_identity_judgement = 5; - Proxy_CancelProxy force_proxy_type_cancel_proxy = 6; - } -} -message SpArithmeticPerThingsPerU16 { - uint32 value0 = 1; -} -message Staking_Address32 { - bytes value0 = 1; -} -message Referenda_At { - uint32 value0 = 1; -} -message Identity_Raw14 { - bytes value0 = 1; -} -message Identity_SetAccountIdCall { - uint32 index = 1; - oneof new { - Identity_Id new_id = 2; - Identity_Index new_index = 3; - Identity_Raw new_raw = 4; - Identity_Address32 new_address32 = 5; - Identity_Address20 new_address20 = 6; - } -} -message System_KillPrefixCall { - bytes prefix = 1; - uint32 subkeys = 2; -} -message Grandpa_SpConsensusGrandpaAppSignature { - SpCoreEd25519Signature value0 = 1; -} -message Identity_Target { - oneof target { - Identity_Id target_id = 1; - Identity_Index target_index = 2; - Identity_Raw target_raw = 3; - Identity_Address32 target_address32 = 4; - Identity_Address20 target_address20 = 5; - } -} -message Multisig_ApproveAsMultiCall { - uint32 threshold = 1; - repeated SpCoreCryptoAccountId32 other_signatories = 2; - optional Multisig_PalletMultisigTimepoint maybe_timepoint = 3; - bytes call_hash = 4; - SpWeightsWeightV2Weight max_weight = 5; -} -message ChildBounties_Address20 { - bytes value0 = 1; -} -message StakingRewards_TupleNull { - TupleNull value = 1; -} -message System_RemarkCall { - bytes remark = 1; -} -message BagsList_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes7Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message NominationPools_Index { - NominationPools_TupleNull value0 = 1; -} -message Vesting_PalletVestingVestingInfoVestingInfo { - string locked = 1; - string per_block = 2; - uint32 starting_block = 3; -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes16Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message Staking_ForceApplyMinCommissionCall { - SpCoreCryptoAccountId32 validator_stash = 1; -} -message FellowshipReferenda_Lookup { - PrimitiveTypesH256 hash = 1; - uint32 len = 2; -} -message FellowshipReferenda_RefundDecisionDepositCall { - uint32 index = 1; -} -message ChildBounties_TupleNull { - TupleNull value = 1; -} -message FellowshipCollective_Raw { - bytes value0 = 1; -} -message Identity_Riot { - oneof riot { - Identity_None riot_none = 1; - Identity_Raw0 riot_raw0 = 2; - Identity_Raw1 riot_raw1 = 3; - Identity_Raw2 riot_raw2 = 4; - Identity_Raw3 riot_raw3 = 5; - Identity_Raw4 riot_raw4 = 6; - Identity_Raw5 riot_raw5 = 7; - Identity_Raw6 riot_raw6 = 8; - Identity_Raw7 riot_raw7 = 9; - Identity_Raw8 riot_raw8 = 10; - Identity_Raw9 riot_raw9 = 11; - Identity_Raw10 riot_raw10 = 12; - Identity_Raw11 riot_raw11 = 13; - Identity_Raw12 riot_raw12 = 14; - Identity_Raw13 riot_raw13 = 15; - Identity_Raw14 riot_raw14 = 16; - Identity_Raw15 riot_raw15 = 17; - Identity_Raw16 riot_raw16 = 18; - Identity_Raw17 riot_raw17 = 19; - Identity_Raw18 riot_raw18 = 20; - Identity_Raw19 riot_raw19 = 21; - Identity_Raw20 riot_raw20 = 22; - Identity_Raw21 riot_raw21 = 23; - Identity_Raw22 riot_raw22 = 24; - Identity_Raw23 riot_raw23 = 25; - Identity_Raw24 riot_raw24 = 26; - Identity_Raw25 riot_raw25 = 27; - Identity_Raw26 riot_raw26 = 28; - Identity_Raw27 riot_raw27 = 29; - Identity_Raw28 riot_raw28 = 30; - Identity_Raw29 riot_raw29 = 31; - Identity_Raw30 riot_raw30 = 32; - Identity_Raw31 riot_raw31 = 33; - Identity_Raw32 riot_raw32 = 34; - Identity_BlakeTwo256 riot_blake_two256 = 35; - Identity_Sha256 riot_sha256 = 36; - Identity_Keccak256 riot_keccak256 = 37; - Identity_ShaThree256 riot_sha_three256 = 38; - } -} -message Identity_OutOfDate { -} -message NominationPools_Destroying { -} -message Staking_Noop { -} -message Proxy_Any { -} -message StakingRewards_AlignSupplyCall { - string target = 1; -} -message Grandpa_ReportEquivocationCall { - Grandpa_SpConsensusGrandpaEquivocationProof equivocation_proof = 1; - SpSessionMembershipProof key_owner_proof = 2; -} -message MediumSpender { -} -message Identity_Raw28 { - bytes value0 = 1; -} -message NominationPoolsPallet { - oneof call { - NominationPools_JoinCall call_join_call = 1; - NominationPools_BondExtraCall call_bond_extra_call = 2; - NominationPools_ClaimPayoutCall call_claim_payout_call = 3; - NominationPools_UnbondCall call_unbond_call = 4; - NominationPools_PoolWithdrawUnbondedCall call_pool_withdraw_unbonded_call = 5; - NominationPools_WithdrawUnbondedCall call_withdraw_unbonded_call = 6; - NominationPools_CreateCall call_create_call = 7; - NominationPools_CreateWithPoolIdCall call_create_with_pool_id_call = 8; - NominationPools_NominateCall call_nominate_call = 9; - NominationPools_SetStateCall call_set_state_call = 10; - NominationPools_SetMetadataCall call_set_metadata_call = 11; - NominationPools_SetConfigsCall call_set_configs_call = 12; - NominationPools_UpdateRolesCall call_update_roles_call = 13; - NominationPools_ChillCall call_chill_call = 14; - NominationPools_BondExtraOtherCall call_bond_extra_other_call = 15; - NominationPools_SetClaimPermissionCall call_set_claim_permission_call = 16; - NominationPools_ClaimPayoutOtherCall call_claim_payout_other_call = 17; - NominationPools_SetCommissionCall call_set_commission_call = 18; - NominationPools_SetCommissionMaxCall call_set_commission_max_call = 19; - NominationPools_SetCommissionChangeRateCall call_set_commission_change_rate_call = 20; - NominationPools_ClaimCommissionCall call_claim_commission_call = 21; - NominationPools_AdjustPoolDepositCall call_adjust_pool_deposit_call = 22; - } -} -message GprimitivesActorId { - bytes value0 = 1; -} -message SpConsensusGrandpaAppPublic { - SpCoreEd25519Public value0 = 1; -} -message ConvictionVoting_Locked3X { -} -message Identity_Raw25 { - bytes value0 = 1; -} -message Bounties_UnassignCuratorCall { - uint32 bounty_id = 1; -} -message Grandpa_ReportEquivocationUnsignedCall { - Grandpa_SpConsensusGrandpaEquivocationProof equivocation_proof = 1; - SpSessionMembershipProof key_owner_proof = 2; -} -message Balances_ForceUnreserveCall { - oneof who { - Balances_Id who_id = 1; - Balances_Index who_index = 2; - Balances_Raw who_raw = 3; - Balances_Address32 who_address32 = 4; - Balances_Address20 who_address20 = 5; - } - string amount = 6; -} -message Identity_ClearIdentityCall { -} -message Proxy_Real { - oneof real { - Proxy_Id real_id = 1; - Proxy_Index real_index = 2; - Proxy_Raw real_raw = 3; - Proxy_Address32 real_address32 = 4; - Proxy_Address20 real_address20 = 5; - } -} -message StakingRewardsPallet { - oneof call { - StakingRewards_RefillCall call_refill_call = 1; - StakingRewards_ForceRefillCall call_force_refill_call = 2; - StakingRewards_WithdrawCall call_withdraw_call = 3; - StakingRewards_AlignSupplyCall call_align_supply_call = 4; - } -} -message SpConsensusSlotsEquivocationProof { - Babe_SpConsensusBabeAppPublic offender = 1; - SpConsensusSlotsSlot slot = 2; - SpRuntimeGenericHeaderHeader first_header = 3; - SpRuntimeGenericHeaderHeader second_header = 4; -} -message Babe_Config { - oneof config { - Babe_V1 config_v1 = 1; - } -} -message Vesting_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Identity_Raw20 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_TupleUint32Uint32 { - uint32 value0 = 1; - uint32 value1 = 2; -} -message Treasury_TupleNull { - TupleNull value = 1; -} -message Utility_Origins { - oneof value0 { - StakingAdmin value0_staking_admin = 1; - Treasurer value0_treasurer = 2; - FellowshipAdmin value0_fellowship_admin = 3; - GeneralAdmin value0_general_admin = 4; - ReferendumCanceller value0_referendum_canceller = 5; - ReferendumKiller value0_referendum_killer = 6; - SmallTipper value0_small_tipper = 7; - BigTipper value0_big_tipper = 8; - SmallSpender value0_small_spender = 9; - MediumSpender value0_medium_spender = 10; - BigSpender value0_big_spender = 11; - WhitelistedCaller value0_whitelisted_caller = 12; - FellowshipInitiates value0_fellowship_initiates = 13; - Fellows value0_fellows = 14; - FellowshipExperts value0_fellowship_experts = 15; - FellowshipMasters value0_fellowship_masters = 16; - Fellowship1Dan value0_fellowship1_dan = 17; - Fellowship2Dan value0_fellowship2_dan = 18; - Fellowship3Dan value0_fellowship3_dan = 19; - Fellowship4Dan value0_fellowship4_dan = 20; - Fellowship5Dan value0_fellowship5_dan = 21; - Fellowship6Dan value0_fellowship6_dan = 22; - Fellowship7Dan value0_fellowship7_dan = 23; - Fellowship8Dan value0_fellowship8_dan = 24; - Fellowship9Dan value0_fellowship9_dan = 25; - } -} -message Identity_RequestJudgementCall { - uint32 reg_index = 1; - string max_fee = 2; -} -message Proxy_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Proxy_KillPureCall { - oneof spawner { - Proxy_Id spawner_id = 1; - Proxy_Index spawner_index = 2; - Proxy_Raw spawner_raw = 3; - Proxy_Address32 spawner_address32 = 4; - Proxy_Address20 spawner_address20 = 5; - } - oneof proxy_type { - Proxy_Any proxy_type_any = 6; - Proxy_NonTransfer proxy_type_non_transfer = 7; - Proxy_Governance proxy_type_governance = 8; - Proxy_Staking proxy_type_staking = 9; - Proxy_IdentityJudgement proxy_type_identity_judgement = 10; - Proxy_CancelProxy proxy_type_cancel_proxy = 11; - } - uint32 index = 12; - uint32 height = 13; - uint32 ext_index = 14; -} -message ElectionProviderMultiPhase_SubmitUnsignedCall { - ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution raw_solution = 1; - ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize witness = 2; -} -message Bounties_Curator { - oneof curator { - Bounties_Id curator_id = 1; - Bounties_Index curator_index = 2; - Bounties_Raw curator_raw = 3; - Bounties_Address32 curator_address32 = 4; - Bounties_Address20 curator_address20 = 5; - } -} -message Grandpa_FinalityGrandpaPrecommit { - PrimitiveTypesH256 target_hash = 1; - uint32 target_number = 2; -} -message Staking_KickCall { - repeated SpRuntimeMultiaddressMultiAddress who = 1; -} -message Treasury_Address32 { - bytes value0 = 1; -} -message Treasury_SpendLocalCall { - string amount = 1; - oneof beneficiary { - Treasury_Id beneficiary_id = 2; - Treasury_Index beneficiary_index = 3; - Treasury_Raw beneficiary_raw = 4; - Treasury_Address32 beneficiary_address32 = 5; - Treasury_Address20 beneficiary_address20 = 6; - } -} -message Whitelist_WhitelistCallCall { - PrimitiveTypesH256 call_hash = 1; -} -message Scheduler_CancelCall { - uint32 when = 1; - uint32 index = 2; -} -message GearVoucher_Some { - BTreeSet value0 = 1; -} -message SpRuntimeGenericDigestDigest { - repeated SpRuntimeGenericDigestDigestItem logs = 1; -} -message Babe_PrimarySlots { -} -message Treasury_Index { - Treasury_TupleNull value0 = 1; -} -message ConvictionVoting_To { - oneof to { - ConvictionVoting_Id to_id = 1; - ConvictionVoting_Index to_index = 2; - ConvictionVoting_Raw to_raw = 3; - ConvictionVoting_Address32 to_address32 = 4; - ConvictionVoting_Address20 to_address20 = 5; - } -} -message ConvictionVoting_Conviction { - oneof conviction { - ConvictionVoting_None conviction_none = 1; - ConvictionVoting_Locked1X conviction_locked1x = 2; - ConvictionVoting_Locked2X conviction_locked2x = 3; - ConvictionVoting_Locked3X conviction_locked3x = 4; - ConvictionVoting_Locked4X conviction_locked4x = 5; - ConvictionVoting_Locked5X conviction_locked5x = 6; - ConvictionVoting_Locked6X conviction_locked6x = 7; - } -} -message FellowshipReferenda_KillCall { - uint32 index = 1; -} -message Identity_Address20 { - bytes value0 = 1; -} -message Identity_AddSubCall { - oneof sub { - Identity_Id sub_id = 1; - Identity_Index sub_index = 2; - Identity_Raw sub_raw = 3; - Identity_Address32 sub_address32 = 4; - Identity_Address20 sub_address20 = 5; - } - oneof data { - Identity_None data_none = 6; - Identity_Raw0 data_raw0 = 7; - Identity_Raw1 data_raw1 = 8; - Identity_Raw2 data_raw2 = 9; - Identity_Raw3 data_raw3 = 10; - Identity_Raw4 data_raw4 = 11; - Identity_Raw5 data_raw5 = 12; - Identity_Raw6 data_raw6 = 13; - Identity_Raw7 data_raw7 = 14; - Identity_Raw8 data_raw8 = 15; - Identity_Raw9 data_raw9 = 16; - Identity_Raw10 data_raw10 = 17; - Identity_Raw11 data_raw11 = 18; - Identity_Raw12 data_raw12 = 19; - Identity_Raw13 data_raw13 = 20; - Identity_Raw14 data_raw14 = 21; - Identity_Raw15 data_raw15 = 22; - Identity_Raw16 data_raw16 = 23; - Identity_Raw17 data_raw17 = 24; - Identity_Raw18 data_raw18 = 25; - Identity_Raw19 data_raw19 = 26; - Identity_Raw20 data_raw20 = 27; - Identity_Raw21 data_raw21 = 28; - Identity_Raw22 data_raw22 = 29; - Identity_Raw23 data_raw23 = 30; - Identity_Raw24 data_raw24 = 31; - Identity_Raw25 data_raw25 = 32; - Identity_Raw26 data_raw26 = 33; - Identity_Raw27 data_raw27 = 34; - Identity_Raw28 data_raw28 = 35; - Identity_Raw29 data_raw29 = 36; - Identity_Raw30 data_raw30 = 37; - Identity_Raw31 data_raw31 = 38; - Identity_Raw32 data_raw32 = 39; - Identity_BlakeTwo256 data_blake_two256 = 40; - Identity_Sha256 data_sha256 = 41; - Identity_Keccak256 data_keccak256 = 42; - Identity_ShaThree256 data_sha_three256 = 43; - } -} -message Identity_Address32 { - bytes value0 = 1; -} -message Identity_Raw31 { - bytes value0 = 1; -} -message Identity_PalletIdentityTypesBitFlags { - uint64 value0 = 1; -} -message ElectionProviderMultiPhasePallet { - oneof call { - ElectionProviderMultiPhase_SubmitUnsignedCall call_submit_unsigned_call = 1; - ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall call_set_minimum_untrusted_score_call = 2; - ElectionProviderMultiPhase_SetEmergencyElectionResultCall call_set_emergency_election_result_call = 3; - ElectionProviderMultiPhase_SubmitCall call_submit_call = 4; - ElectionProviderMultiPhase_GovernanceFallbackCall call_governance_fallback_call = 5; - } -} -message GprimitivesMessageId { - bytes value0 = 1; -} -message SpCoreSr25519Signature { - bytes value0 = 1; -} -message Referenda_Legacy { - PrimitiveTypesH256 hash = 1; -} -message Referenda_OneFewerDecidingCall { - uint32 track = 1; -} -message FellowshipCollective_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Identity_Sub { - oneof sub { - Identity_Id sub_id = 1; - Identity_Index sub_index = 2; - Identity_Raw sub_raw = 3; - Identity_Address32 sub_address32 = 4; - Identity_Address20 sub_address20 = 5; - } -} -message NominationPools_UpdateRolesCall { - uint32 pool_id = 1; - oneof new_root { - NominationPools_Noop new_root_noop = 2; - NominationPools_Set new_root_set = 3; - NominationPools_Remove new_root_remove = 4; - } - oneof new_nominator { - NominationPools_Noop new_nominator_noop = 5; - NominationPools_Set new_nominator_set = 6; - NominationPools_Remove new_nominator_remove = 7; - } - oneof new_bouncer { - NominationPools_Noop new_bouncer_noop = 8; - NominationPools_Set new_bouncer_set = 9; - NominationPools_Remove new_bouncer_remove = 10; - } -} -message GearVoucher_CallDeprecatedCall { - oneof call { - GearVoucher_SendMessage call_send_message = 1; - GearVoucher_SendReply call_send_reply = 2; - GearVoucher_UploadCode call_upload_code = 3; - GearVoucher_DeclineVoucher call_decline_voucher = 4; - } -} -message Babe_PrimaryAndSecondaryPlainSlots { -} -message Utility_BatchCall { - repeated VaraRuntimeRuntimeCall calls = 1; -} -message Referenda_ProposalOrigin { - oneof proposal_origin { - Referenda_System proposal_origin_system = 1; - Referenda_Origins proposal_origin_origins = 2; - Referenda_Void proposal_origin_void = 3; - } -} -message Referenda_Inline { - BoundedCollectionsBoundedVecBoundedVec value0 = 1; -} -message FellowshipReferenda_EnactmentMoment { - oneof enactment_moment { - FellowshipReferenda_At enactment_moment_at = 1; - FellowshipReferenda_After enactment_moment_after = 2; - } -} -message Proxy_ProxyCall { - oneof real { - Proxy_Id real_id = 1; - Proxy_Index real_index = 2; - Proxy_Raw real_raw = 3; - Proxy_Address32 real_address32 = 4; - Proxy_Address20 real_address20 = 5; - } - oneof force_proxy_type { - Proxy_Any force_proxy_type_any = 6; - Proxy_NonTransfer force_proxy_type_non_transfer = 7; - Proxy_Governance force_proxy_type_governance = 8; - Proxy_Staking force_proxy_type_staking = 9; - Proxy_IdentityJudgement force_proxy_type_identity_judgement = 10; - Proxy_CancelProxy force_proxy_type_cancel_proxy = 11; - } - oneof call { - SystemPallet call_system = 12; - TimestampPallet call_timestamp = 13; - BabePallet call_babe = 14; - GrandpaPallet call_grandpa = 15; - BalancesPallet call_balances = 16; - VestingPallet call_vesting = 17; - BagsListPallet call_bags_list = 18; - ImOnlinePallet call_im_online = 19; - StakingPallet call_staking = 20; - SessionPallet call_session = 21; - TreasuryPallet call_treasury = 22; - UtilityPallet call_utility = 23; - ConvictionVotingPallet call_conviction_voting = 24; - ReferendaPallet call_referenda = 25; - FellowshipCollectivePallet call_fellowship_collective = 26; - FellowshipReferendaPallet call_fellowship_referenda = 27; - WhitelistPallet call_whitelist = 28; - SchedulerPallet call_scheduler = 29; - PreimagePallet call_preimage = 30; - IdentityPallet call_identity = 31; - ProxyPallet call_proxy = 32; - MultisigPallet call_multisig = 33; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 34; - BountiesPallet call_bounties = 35; - ChildBountiesPallet call_child_bounties = 36; - NominationPoolsPallet call_nomination_pools = 37; - GearPallet call_gear = 38; - StakingRewardsPallet call_staking_rewards = 39; - GearVoucherPallet call_gear_voucher = 40; - } -} -message ProxyPallet { - oneof call { - Proxy_ProxyCall call_proxy_call = 1; - Proxy_AddProxyCall call_add_proxy_call = 2; - Proxy_RemoveProxyCall call_remove_proxy_call = 3; - Proxy_RemoveProxiesCall call_remove_proxies_call = 4; - Proxy_CreatePureCall call_create_pure_call = 5; - Proxy_KillPureCall call_kill_pure_call = 6; - Proxy_AnnounceCall call_announce_call = 7; - Proxy_RemoveAnnouncementCall call_remove_announcement_call = 8; - Proxy_RejectAnnouncementCall call_reject_announcement_call = 9; - Proxy_ProxyAnnouncedCall call_proxy_announced_call = 10; - } -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes6Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message Bounties_ExtendBountyExpiryCall { - uint32 bounty_id = 1; - bytes remark = 2; -} -message Staking_BondCall { - string value = 1; - oneof payee { - Staking_Staked payee_staked = 2; - Staking_Stash payee_stash = 3; - Staking_Controller payee_controller = 4; - Staking_Account payee_account = 5; - Staking_None payee_none = 6; - } -} -message ConvictionVoting_SplitAbstain { - string aye = 1; - string nay = 2; - string abstain = 3; -} -message ConvictionVoting_Address32 { - bytes value0 = 1; -} -message ConvictionVoting_DelegateCall { - uint32 class = 1; - oneof to { - ConvictionVoting_Id to_id = 2; - ConvictionVoting_Index to_index = 3; - ConvictionVoting_Raw to_raw = 4; - ConvictionVoting_Address32 to_address32 = 5; - ConvictionVoting_Address20 to_address20 = 6; - } - oneof conviction { - ConvictionVoting_None conviction_none = 7; - ConvictionVoting_Locked1X conviction_locked1x = 8; - ConvictionVoting_Locked2X conviction_locked2x = 9; - ConvictionVoting_Locked3X conviction_locked3x = 10; - ConvictionVoting_Locked4X conviction_locked4x = 11; - ConvictionVoting_Locked5X conviction_locked5x = 12; - ConvictionVoting_Locked6X conviction_locked6x = 13; - } - string balance = 14; -} -message Identity_Raw29 { - bytes value0 = 1; -} -message GearPallet { - oneof call { - Gear_UploadCodeCall call_upload_code_call = 1; - Gear_UploadProgramCall call_upload_program_call = 2; - Gear_CreateProgramCall call_create_program_call = 3; - Gear_SendMessageCall call_send_message_call = 4; - Gear_SendReplyCall call_send_reply_call = 5; - Gear_ClaimValueCall call_claim_value_call = 6; - Gear_RunCall call_run_call = 7; - Gear_SetExecuteInherentCall call_set_execute_inherent_call = 8; - } -} -message Staking_SetMinCommissionCall { - SpArithmeticPerThingsPerbill new = 1; -} -message Treasury_RejectProposalCall { - uint32 proposal_id = 1; -} -message Utility_System { - oneof value0 { - Root value0_root = 1; - Signed value0_signed = 2; - None value0_none = 3; - } -} -message Identity_Raw6 { - bytes value0 = 1; -} -message Identity_TuplePalletIdentityTypesDatapalletIdentityTypesData { - oneof value0 { - Identity_None value0_none = 1; - Identity_Raw0 value0_raw0 = 2; - Identity_Raw1 value0_raw1 = 3; - Identity_Raw2 value0_raw2 = 4; - Identity_Raw3 value0_raw3 = 5; - Identity_Raw4 value0_raw4 = 6; - Identity_Raw5 value0_raw5 = 7; - Identity_Raw6 value0_raw6 = 8; - Identity_Raw7 value0_raw7 = 9; - Identity_Raw8 value0_raw8 = 10; - Identity_Raw9 value0_raw9 = 11; - Identity_Raw10 value0_raw10 = 12; - Identity_Raw11 value0_raw11 = 13; - Identity_Raw12 value0_raw12 = 14; - Identity_Raw13 value0_raw13 = 15; - Identity_Raw14 value0_raw14 = 16; - Identity_Raw15 value0_raw15 = 17; - Identity_Raw16 value0_raw16 = 18; - Identity_Raw17 value0_raw17 = 19; - Identity_Raw18 value0_raw18 = 20; - Identity_Raw19 value0_raw19 = 21; - Identity_Raw20 value0_raw20 = 22; - Identity_Raw21 value0_raw21 = 23; - Identity_Raw22 value0_raw22 = 24; - Identity_Raw23 value0_raw23 = 25; - Identity_Raw24 value0_raw24 = 26; - Identity_Raw25 value0_raw25 = 27; - Identity_Raw26 value0_raw26 = 28; - Identity_Raw27 value0_raw27 = 29; - Identity_Raw28 value0_raw28 = 30; - Identity_Raw29 value0_raw29 = 31; - Identity_Raw30 value0_raw30 = 32; - Identity_Raw31 value0_raw31 = 33; - Identity_Raw32 value0_raw32 = 34; - Identity_BlakeTwo256 value0_blake_two256 = 35; - Identity_Sha256 value0_sha256 = 36; - Identity_Keccak256 value0_keccak256 = 37; - Identity_ShaThree256 value0_sha_three256 = 38; - } - oneof value1 { - Identity_None value1_none = 39; - Identity_Raw0 value1_raw0 = 40; - Identity_Raw1 value1_raw1 = 41; - Identity_Raw2 value1_raw2 = 42; - Identity_Raw3 value1_raw3 = 43; - Identity_Raw4 value1_raw4 = 44; - Identity_Raw5 value1_raw5 = 45; - Identity_Raw6 value1_raw6 = 46; - Identity_Raw7 value1_raw7 = 47; - Identity_Raw8 value1_raw8 = 48; - Identity_Raw9 value1_raw9 = 49; - Identity_Raw10 value1_raw10 = 50; - Identity_Raw11 value1_raw11 = 51; - Identity_Raw12 value1_raw12 = 52; - Identity_Raw13 value1_raw13 = 53; - Identity_Raw14 value1_raw14 = 54; - Identity_Raw15 value1_raw15 = 55; - Identity_Raw16 value1_raw16 = 56; - Identity_Raw17 value1_raw17 = 57; - Identity_Raw18 value1_raw18 = 58; - Identity_Raw19 value1_raw19 = 59; - Identity_Raw20 value1_raw20 = 60; - Identity_Raw21 value1_raw21 = 61; - Identity_Raw22 value1_raw22 = 62; - Identity_Raw23 value1_raw23 = 63; - Identity_Raw24 value1_raw24 = 64; - Identity_Raw25 value1_raw25 = 65; - Identity_Raw26 value1_raw26 = 66; - Identity_Raw27 value1_raw27 = 67; - Identity_Raw28 value1_raw28 = 68; - Identity_Raw29 value1_raw29 = 69; - Identity_Raw30 value1_raw30 = 70; - Identity_Raw31 value1_raw31 = 71; - Identity_Raw32 value1_raw32 = 72; - Identity_BlakeTwo256 value1_blake_two256 = 73; - Identity_Sha256 value1_sha256 = 74; - Identity_Keccak256 value1_keccak256 = 75; - Identity_ShaThree256 value1_sha_three256 = 76; - } -} -message Identity_Judgement { - oneof judgement { - Identity_Unknown judgement_unknown = 1; - Identity_FeePaid judgement_fee_paid = 2; - Identity_Reasonable judgement_reasonable = 3; - Identity_KnownGood judgement_known_good = 4; - Identity_OutOfDate judgement_out_of_date = 5; - Identity_LowQuality judgement_low_quality = 6; - Identity_Erroneous judgement_erroneous = 7; - } -} -message Proxy_RejectAnnouncementCall { - oneof delegate { - Proxy_Id delegate_id = 1; - Proxy_Index delegate_index = 2; - Proxy_Raw delegate_raw = 3; - Proxy_Address32 delegate_address32 = 4; - Proxy_Address20 delegate_address20 = 5; - } - PrimitiveTypesH256 call_hash = 6; -} -message Grandpa_GrandpaTrieNodesList { - bytes trie_nodes = 1; -} -message SpRuntimeMultiaddressMultiAddress { - oneof targets { - Staking_Id targets_id = 1; - Staking_Index targets_index = 2; - Staking_Raw targets_raw = 3; - Staking_Address32 targets_address32 = 4; - Staking_Address20 targets_address20 = 5; - } -} -message Identity_Keccak256 { - bytes value0 = 1; -} -message Vesting_VestOtherCall { - oneof target { - Vesting_Id target_id = 1; - Vesting_Index target_index = 2; - Vesting_Raw target_raw = 3; - Vesting_Address32 target_address32 = 4; - Vesting_Address20 target_address20 = 5; - } -} -message Staking_SetPayeeCall { - oneof payee { - Staking_Staked payee_staked = 1; - Staking_Stash payee_stash = 2; - Staking_Controller payee_controller = 3; - Staking_Account payee_account = 4; - Staking_None payee_none = 5; - } -} -message Session_PurgeKeysCall { -} -message Utility_BatchAllCall { - repeated VaraRuntimeRuntimeCall calls = 1; -} -message FellowshipInitiates { -} -message FellowshipCollective_Address20 { - bytes value0 = 1; -} -message FellowshipCollective_VoteCall { - uint32 poll = 1; - bool aye = 2; -} -message Identity_QuitSubCall { -} -message ChildBountiesPallet { - oneof call { - ChildBounties_AddChildBountyCall call_add_child_bounty_call = 1; - ChildBounties_ProposeCuratorCall call_propose_curator_call = 2; - ChildBounties_AcceptCuratorCall call_accept_curator_call = 3; - ChildBounties_UnassignCuratorCall call_unassign_curator_call = 4; - ChildBounties_AwardChildBountyCall call_award_child_bounty_call = 5; - ChildBounties_ClaimChildBountyCall call_claim_child_bounty_call = 6; - ChildBounties_CloseChildBountyCall call_close_child_bounty_call = 7; - } -} -message NominationPools_NewRoot { - oneof new_root { - NominationPools_Noop new_root_noop = 1; - NominationPools_Set new_root_set = 2; - NominationPools_Remove new_root_remove = 3; - } -} -message ConvictionVoting_RemoveOtherVoteCall { - oneof target { - ConvictionVoting_Id target_id = 1; - ConvictionVoting_Index target_index = 2; - ConvictionVoting_Raw target_raw = 3; - ConvictionVoting_Address32 target_address32 = 4; - ConvictionVoting_Address20 target_address20 = 5; - } - uint32 class = 6; - uint32 index = 7; -} -message Referenda_NudgeReferendumCall { - uint32 index = 1; -} -message Identity_Email { - oneof email { - Identity_None email_none = 1; - Identity_Raw0 email_raw0 = 2; - Identity_Raw1 email_raw1 = 3; - Identity_Raw2 email_raw2 = 4; - Identity_Raw3 email_raw3 = 5; - Identity_Raw4 email_raw4 = 6; - Identity_Raw5 email_raw5 = 7; - Identity_Raw6 email_raw6 = 8; - Identity_Raw7 email_raw7 = 9; - Identity_Raw8 email_raw8 = 10; - Identity_Raw9 email_raw9 = 11; - Identity_Raw10 email_raw10 = 12; - Identity_Raw11 email_raw11 = 13; - Identity_Raw12 email_raw12 = 14; - Identity_Raw13 email_raw13 = 15; - Identity_Raw14 email_raw14 = 16; - Identity_Raw15 email_raw15 = 17; - Identity_Raw16 email_raw16 = 18; - Identity_Raw17 email_raw17 = 19; - Identity_Raw18 email_raw18 = 20; - Identity_Raw19 email_raw19 = 21; - Identity_Raw20 email_raw20 = 22; - Identity_Raw21 email_raw21 = 23; - Identity_Raw22 email_raw22 = 24; - Identity_Raw23 email_raw23 = 25; - Identity_Raw24 email_raw24 = 26; - Identity_Raw25 email_raw25 = 27; - Identity_Raw26 email_raw26 = 28; - Identity_Raw27 email_raw27 = 29; - Identity_Raw28 email_raw28 = 30; - Identity_Raw29 email_raw29 = 31; - Identity_Raw30 email_raw30 = 32; - Identity_Raw31 email_raw31 = 33; - Identity_Raw32 email_raw32 = 34; - Identity_BlakeTwo256 email_blake_two256 = 35; - Identity_Sha256 email_sha256 = 36; - Identity_Keccak256 email_keccak256 = 37; - Identity_ShaThree256 email_sha_three256 = 38; - } -} -message Bounties_AcceptCuratorCall { - uint32 bounty_id = 1; -} -message Balances_Address20 { - bytes value0 = 1; -} -message Staking_SetControllerCall { -} -message ConvictionVoting_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message ChildBounties_CloseChildBountyCall { - uint32 parent_bounty_id = 1; - uint32 child_bounty_id = 2; -} -message SpCoreEd25519Signature { - bytes value0 = 1; -} -message TransactionPaymentPallet { -} -message Treasury_RemoveApprovalCall { - uint32 proposal_id = 1; -} -message Identity_Data { - oneof data { - Identity_None data_none = 1; - Identity_Raw0 data_raw0 = 2; - Identity_Raw1 data_raw1 = 3; - Identity_Raw2 data_raw2 = 4; - Identity_Raw3 data_raw3 = 5; - Identity_Raw4 data_raw4 = 6; - Identity_Raw5 data_raw5 = 7; - Identity_Raw6 data_raw6 = 8; - Identity_Raw7 data_raw7 = 9; - Identity_Raw8 data_raw8 = 10; - Identity_Raw9 data_raw9 = 11; - Identity_Raw10 data_raw10 = 12; - Identity_Raw11 data_raw11 = 13; - Identity_Raw12 data_raw12 = 14; - Identity_Raw13 data_raw13 = 15; - Identity_Raw14 data_raw14 = 16; - Identity_Raw15 data_raw15 = 17; - Identity_Raw16 data_raw16 = 18; - Identity_Raw17 data_raw17 = 19; - Identity_Raw18 data_raw18 = 20; - Identity_Raw19 data_raw19 = 21; - Identity_Raw20 data_raw20 = 22; - Identity_Raw21 data_raw21 = 23; - Identity_Raw22 data_raw22 = 24; - Identity_Raw23 data_raw23 = 25; - Identity_Raw24 data_raw24 = 26; - Identity_Raw25 data_raw25 = 27; - Identity_Raw26 data_raw26 = 28; - Identity_Raw27 data_raw27 = 29; - Identity_Raw28 data_raw28 = 30; - Identity_Raw29 data_raw29 = 31; - Identity_Raw30 data_raw30 = 32; - Identity_Raw31 data_raw31 = 33; - Identity_Raw32 data_raw32 = 34; - Identity_BlakeTwo256 data_blake_two256 = 35; - Identity_Sha256 data_sha256 = 36; - Identity_Keccak256 data_keccak256 = 37; - Identity_ShaThree256 data_sha_three256 = 38; - } -} -message FellowshipCollectivePallet { - oneof call { - FellowshipCollective_AddMemberCall call_add_member_call = 1; - FellowshipCollective_PromoteMemberCall call_promote_member_call = 2; - FellowshipCollective_DemoteMemberCall call_demote_member_call = 3; - FellowshipCollective_RemoveMemberCall call_remove_member_call = 4; - FellowshipCollective_VoteCall call_vote_call = 5; - FellowshipCollective_CleanupPollCall call_cleanup_poll_call = 6; - } -} -message Scheduler_CancelNamedCall { - bytes id = 1; -} -message Identity_Raw21 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String { - SpCoreCryptoAccountId32 value0 = 1; - string value1 = 2; -} -message NominationPools_Open { -} -message GearProgramPallet { -} -message Babe_Consensus { - bytes value0 = 1; - bytes value1 = 2; -} -message Babe_Other { - bytes value0 = 1; -} -message SpSessionMembershipProof { - uint32 session = 1; - repeated Babe_BabeTrieNodesList trie_nodes = 2; - uint32 validator_count = 3; -} -message FellowshipReferenda_Legacy { - PrimitiveTypesH256 hash = 1; -} -message Identity_ShaThree256 { - bytes value0 = 1; -} -message ChildBounties_Index { - ChildBounties_TupleNull value0 = 1; -} -message StakingRewards_RefillCall { - string value = 1; -} -message Balances_TransferAllowDeathCall { - oneof dest { - Balances_Id dest_id = 1; - Balances_Index dest_index = 2; - Balances_Raw dest_raw = 3; - Balances_Address32 dest_address32 = 4; - Balances_Address20 dest_address20 = 5; - } - string value = 6; -} -message Staking_Index { - Staking_TupleNull value0 = 1; -} -message ReferendumKiller { -} -message Identity_Raw18 { - bytes value0 = 1; -} -message GearVoucher_DeclineVoucher { -} -message Referenda_RefundSubmissionDepositCall { - uint32 index = 1; -} -message FellowshipReferendaPallet { - oneof call { - FellowshipReferenda_SubmitCall call_submit_call = 1; - FellowshipReferenda_PlaceDecisionDepositCall call_place_decision_deposit_call = 2; - FellowshipReferenda_RefundDecisionDepositCall call_refund_decision_deposit_call = 3; - FellowshipReferenda_CancelCall call_cancel_call = 4; - FellowshipReferenda_KillCall call_kill_call = 5; - FellowshipReferenda_NudgeReferendumCall call_nudge_referendum_call = 6; - FellowshipReferenda_OneFewerDecidingCall call_one_fewer_deciding_call = 7; - FellowshipReferenda_RefundSubmissionDepositCall call_refund_submission_deposit_call = 8; - FellowshipReferenda_SetMetadataCall call_set_metadata_call = 9; - } -} -message Preimage_UnnotePreimageCall { - PrimitiveTypesH256 hash = 1; -} -message TimestampPallet { - oneof call { - Timestamp_SetCall call_set_call = 1; - } -} -message ConvictionVoting_UnlockCall { - uint32 class = 1; - oneof target { - ConvictionVoting_Id target_id = 2; - ConvictionVoting_Index target_index = 3; - ConvictionVoting_Raw target_raw = 4; - ConvictionVoting_Address32 target_address32 = 5; - ConvictionVoting_Address20 target_address20 = 6; - } -} -message FellowshipReferenda_NudgeReferendumCall { - uint32 index = 1; -} -message SpCoreSr25519Public { - bytes value0 = 1; -} -message SpRuntimeGenericHeaderHeader { - PrimitiveTypesH256 parent_hash = 1; - uint32 number = 2; - PrimitiveTypesH256 state_root = 3; - PrimitiveTypesH256 extrinsics_root = 4; - SpRuntimeGenericDigestDigest digest = 5; -} -message FellowshipReferenda_ProposalOrigin { - oneof proposal_origin { - FellowshipReferenda_System proposal_origin_system = 1; - FellowshipReferenda_Origins proposal_origin_origins = 2; - FellowshipReferenda_Void proposal_origin_void = 3; - } -} -message FellowshipReferenda_PlaceDecisionDepositCall { - uint32 index = 1; -} -message Preimage_EnsureUpdatedCall { - repeated PrimitiveTypesH256 hashes = 1; -} -message Identity_Raw30 { - bytes value0 = 1; -} -message SpNposElectionsSupport { - string total = 1; - repeated ElectionProviderMultiPhase_TupleSpCoreCryptoAccountId32String voters = 2; -} -message Gear_UploadCodeCall { - bytes code = 1; -} -message GearVoucher_DeclineCall { - GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 1; -} -message GearVoucherPallet { - oneof call { - GearVoucher_IssueCall call_issue_call = 1; - GearVoucher_CallCall call_call_call = 2; - GearVoucher_RevokeCall call_revoke_call = 3; - GearVoucher_UpdateCall call_update_call = 4; - GearVoucher_CallDeprecatedCall call_call_deprecated_call = 5; - GearVoucher_DeclineCall call_decline_call = 6; - } -} -message Grandpa_SpConsensusGrandpaAppPublic { - SpCoreEd25519Public value0 = 1; -} -message Grandpa_FinalityGrandpaEquivocation { - uint64 round_number = 1; - Grandpa_SpConsensusGrandpaAppPublic identity = 2; - Grandpa_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature first = 3; - Grandpa_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature second = 4; -} -message Balances_ForceTransferCall { - oneof source { - Balances_Id source_id = 1; - Balances_Index source_index = 2; - Balances_Raw source_raw = 3; - Balances_Address32 source_address32 = 4; - Balances_Address20 source_address20 = 5; - } - oneof dest { - Balances_Id dest_id = 6; - Balances_Index dest_index = 7; - Balances_Raw dest_raw = 8; - Balances_Address32 dest_address32 = 9; - Balances_Address20 dest_address20 = 10; - } - string value = 11; -} -message Vesting_Target { - oneof target { - Vesting_Id target_id = 1; - Vesting_Index target_index = 2; - Vesting_Raw target_raw = 3; - Vesting_Address32 target_address32 = 4; - Vesting_Address20 target_address20 = 5; - } -} -message Staking_RebondCall { - string value = 1; -} -message Root { -} -message NominationPools_SetConfigsCall { - oneof min_join_bond { - NominationPools_Noop min_join_bond_noop = 1; - NominationPools_Set min_join_bond_set = 2; - NominationPools_Remove min_join_bond_remove = 3; - } - oneof min_create_bond { - NominationPools_Noop min_create_bond_noop = 4; - NominationPools_Set min_create_bond_set = 5; - NominationPools_Remove min_create_bond_remove = 6; - } - oneof max_pools { - NominationPools_Noop max_pools_noop = 7; - NominationPools_Set max_pools_set = 8; - NominationPools_Remove max_pools_remove = 9; - } - oneof max_members { - NominationPools_Noop max_members_noop = 10; - NominationPools_Set max_members_set = 11; - NominationPools_Remove max_members_remove = 12; - } - oneof max_members_per_pool { - NominationPools_Noop max_members_per_pool_noop = 13; - NominationPools_Set max_members_per_pool_set = 14; - NominationPools_Remove max_members_per_pool_remove = 15; - } - oneof global_max_commission { - NominationPools_Noop global_max_commission_noop = 16; - NominationPools_Set global_max_commission_set = 17; - NominationPools_Remove global_max_commission_remove = 18; - } -} -message StakingRewards_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Treasury_VoidSpendCall { - uint32 index = 1; -} -message FellowshipExperts { -} -message Identity_None { -} -message Identity_Raw10 { - bytes value0 = 1; -} -message Identity_Raw15 { - bytes value0 = 1; -} -message Proxy_Governance { -} -message Proxy_AddProxyCall { - oneof delegate { - Proxy_Id delegate_id = 1; - Proxy_Index delegate_index = 2; - Proxy_Raw delegate_raw = 3; - Proxy_Address32 delegate_address32 = 4; - Proxy_Address20 delegate_address20 = 5; - } - oneof proxy_type { - Proxy_Any proxy_type_any = 6; - Proxy_NonTransfer proxy_type_non_transfer = 7; - Proxy_Governance proxy_type_governance = 8; - Proxy_Staking proxy_type_staking = 9; - Proxy_IdentityJudgement proxy_type_identity_judgement = 10; - Proxy_CancelProxy proxy_type_cancel_proxy = 11; - } - uint32 delay = 12; -} -message Bounties_Index { - Bounties_TupleNull value0 = 1; -} -message NominationPools_Address20 { - bytes value0 = 1; -} -message Grandpa_Precommit { - Grandpa_FinalityGrandpaEquivocation value0 = 1; -} -message Staking_NominateCall { - repeated SpRuntimeMultiaddressMultiAddress targets = 1; -} -message FellowshipReferenda_RefundSubmissionDepositCall { - uint32 index = 1; -} -message Identity_Raw11 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution { - VaraRuntimeNposSolution16 solution = 1; - SpNposElectionsElectionScore score = 2; - uint32 round = 3; -} -message NominationPools_AdjustPoolDepositCall { - uint32 pool_id = 1; -} -message Gear_SendMessageCall { - GprimitivesActorId destination = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; -} -message SpCoreEd25519Public { - bytes value0 = 1; -} -message SpArithmeticPerThingsPercent { - uint32 value0 = 1; -} -message ReferendaPallet { - oneof call { - Referenda_SubmitCall call_submit_call = 1; - Referenda_PlaceDecisionDepositCall call_place_decision_deposit_call = 2; - Referenda_RefundDecisionDepositCall call_refund_decision_deposit_call = 3; - Referenda_CancelCall call_cancel_call = 4; - Referenda_KillCall call_kill_call = 5; - Referenda_NudgeReferendumCall call_nudge_referendum_call = 6; - Referenda_OneFewerDecidingCall call_one_fewer_deciding_call = 7; - Referenda_RefundSubmissionDepositCall call_refund_submission_deposit_call = 8; - Referenda_SetMetadataCall call_set_metadata_call = 9; - } -} -message Identity_Raw5 { - bytes value0 = 1; -} -message OffencesPallet { -} -message NominationPools_Member { - oneof member { - NominationPools_Id member_id = 1; - NominationPools_Index member_index = 2; - NominationPools_Raw member_raw = 3; - NominationPools_Address32 member_address32 = 4; - NominationPools_Address20 member_address20 = 5; - } -} -message Referenda_Lookup { - PrimitiveTypesH256 hash = 1; - uint32 len = 2; -} -message Referenda_Proposal { - oneof proposal { - Referenda_Legacy proposal_legacy = 1; - Referenda_Inline proposal_inline = 2; - Referenda_Lookup proposal_lookup = 3; - } -} -message ChildBounties_AddChildBountyCall { - uint32 parent_bounty_id = 1; - string value = 2; - bytes description = 3; -} -message GearSchedulerPallet { -} -message Treasury_Address20 { - bytes value0 = 1; -} -message Treasury_SpendCall { - Treasury_TupleNull asset_kind = 1; - string amount = 2; - SpCoreCryptoAccountId32 beneficiary = 3; - optional uint32 valid_from = 4; -} -message StakingAdmin { -} -message ConvictionVoting_Locked5X { -} -message ConvictionVoting_RemoveVoteCall { - optional uint32 class = 1; - uint32 index = 2; -} -message FellowshipReferenda_Void { - -} -message FellowshipReferenda_OneFewerDecidingCall { - uint32 track = 1; -} -message Multisig_CancelAsMultiCall { - uint32 threshold = 1; - repeated SpCoreCryptoAccountId32 other_signatories = 2; - Multisig_PalletMultisigTimepoint timepoint = 3; - bytes call_hash = 4; -} -message SpCoreCryptoAccountId32 { - bytes value0 = 1; -} -message TupleNull { -} -message Identity_Raw22 { - bytes value0 = 1; -} -message Identity_RemoveSubCall { - oneof sub { - Identity_Id sub_id = 1; - Identity_Index sub_index = 2; - Identity_Raw sub_raw = 3; - Identity_Address32 sub_address32 = 4; - Identity_Address20 sub_address20 = 5; - } -} -message Treasury_CheckStatusCall { - uint32 index = 1; -} -message Whitelist_DispatchWhitelistedCallCall { - PrimitiveTypesH256 call_hash = 1; - uint32 call_encoded_len = 2; - SpWeightsWeightV2Weight call_weight_witness = 3; -} -message Scheduler_TupleUint32Uint32 { - uint32 value0 = 1; - uint32 value1 = 2; -} -message NominationPools_Address32 { - bytes value0 = 1; -} -message StakingRewards_From { - oneof from { - StakingRewards_Id from_id = 1; - StakingRewards_Index from_index = 2; - StakingRewards_Raw from_raw = 3; - StakingRewards_Address32 from_address32 = 4; - StakingRewards_Address20 from_address20 = 5; - } -} -message Balances_TupleNull { - TupleNull value = 1; -} -message Scheduler_ScheduleAfterCall { - uint32 after = 1; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 2; - uint32 priority = 3; - oneof call { - SystemPallet call_system = 4; - TimestampPallet call_timestamp = 5; - BabePallet call_babe = 6; - GrandpaPallet call_grandpa = 7; - BalancesPallet call_balances = 8; - VestingPallet call_vesting = 9; - BagsListPallet call_bags_list = 10; - ImOnlinePallet call_im_online = 11; - StakingPallet call_staking = 12; - SessionPallet call_session = 13; - TreasuryPallet call_treasury = 14; - UtilityPallet call_utility = 15; - ConvictionVotingPallet call_conviction_voting = 16; - ReferendaPallet call_referenda = 17; - FellowshipCollectivePallet call_fellowship_collective = 18; - FellowshipReferendaPallet call_fellowship_referenda = 19; - WhitelistPallet call_whitelist = 20; - SchedulerPallet call_scheduler = 21; - PreimagePallet call_preimage = 22; - IdentityPallet call_identity = 23; - ProxyPallet call_proxy = 24; - MultisigPallet call_multisig = 25; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 26; - BountiesPallet call_bounties = 27; - ChildBountiesPallet call_child_bounties = 28; - NominationPoolsPallet call_nomination_pools = 29; - GearPallet call_gear = 30; - StakingRewardsPallet call_staking_rewards = 31; - GearVoucherPallet call_gear_voucher = 32; - } -} -message Identity_SetSubsCall { - repeated Identity_TupleSpCoreCryptoAccountId32PalletIdentityTypesData subs = 1; -} -message MultisigPallet { - oneof call { - Multisig_AsMultiThreshold1Call call_as_multi_threshold1_call = 1; - Multisig_AsMultiCall call_as_multi_call = 2; - Multisig_ApproveAsMultiCall call_approve_as_multi_call = 3; - Multisig_CancelAsMultiCall call_cancel_as_multi_call = 4; - } -} -message GearVoucher_UpdateCall { - SpCoreCryptoAccountId32 spender = 1; - GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 2; - optional SpCoreCryptoAccountId32 move_ownership = 3; - optional string balance_top_up = 4; - oneof append_programs { - GearVoucher_None append_programs_none = 5; - GearVoucher_Some append_programs_some = 6; - } - optional bool code_uploading = 7; - optional uint32 prolong_duration = 8; -} -message HistoricalPallet { -} -message Identity_Index { - Identity_TupleNull value0 = 1; -} -message Identity_Raw0 { - bytes value0 = 1; -} -message NominationPools_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message NominationPools_MinJoinBond { - oneof min_join_bond { - NominationPools_Noop min_join_bond_noop = 1; - NominationPools_Set min_join_bond_set = 2; - NominationPools_Remove min_join_bond_remove = 3; - } -} -message Babe_PlanConfigChangeCall { - oneof config { - Babe_V1 config_v1 = 1; - } -} -message Grandpa_TupleFinalityGrandpaPrecommitspConsensusGrandpaAppSignature { - Grandpa_FinalityGrandpaPrecommit value0 = 1; - Grandpa_SpConsensusGrandpaAppSignature value1 = 2; -} -message Balances_TransferKeepAliveCall { - oneof dest { - Balances_Id dest_id = 1; - Balances_Index dest_index = 2; - Balances_Raw dest_raw = 3; - Balances_Address32 dest_address32 = 4; - Balances_Address20 dest_address20 = 5; - } - string value = 6; -} -message Vesting_Raw { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_SubmitCall { - ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseRawSolution raw_solution = 1; -} -message GearVoucher_Call { - oneof call { - GearVoucher_SendMessage call_send_message = 1; - GearVoucher_SendReply call_send_reply = 2; - GearVoucher_UploadCode call_upload_code = 3; - GearVoucher_DeclineVoucher call_decline_voucher = 4; - } -} -message TreasuryPallet { - oneof call { - Treasury_ProposeSpendCall call_propose_spend_call = 1; - Treasury_RejectProposalCall call_reject_proposal_call = 2; - Treasury_ApproveProposalCall call_approve_proposal_call = 3; - Treasury_SpendLocalCall call_spend_local_call = 4; - Treasury_RemoveApprovalCall call_remove_approval_call = 5; - Treasury_SpendCall call_spend_call = 6; - Treasury_PayoutCall call_payout_call = 7; - Treasury_CheckStatusCall call_check_status_call = 8; - Treasury_VoidSpendCall call_void_spend_call = 9; - } -} -message Identity_Raw { - bytes value0 = 1; -} -message SpWeightsWeightV2Weight { - uint64 ref_time = 1; - uint64 proof_size = 2; -} -message Referenda_PlaceDecisionDepositCall { - uint32 index = 1; -} -message Identity_Raw24 { - bytes value0 = 1; -} -message Bounties_Address20 { - bytes value0 = 1; -} -message Staking_SetValidatorCountCall { - uint32 new = 1; -} -message Staking_Set { - string value0 = 1; -} -message Staking_MinCommission { - oneof min_commission { - Staking_Noop min_commission_noop = 1; - Staking_Set min_commission_set = 2; - Staking_Remove min_commission_remove = 3; - } -} -message ConvictionVoting_Index { - ConvictionVoting_TupleNull value0 = 1; -} -message Referenda_Void { - -} -message FellowshipCollective_DemoteMemberCall { - oneof who { - FellowshipCollective_Id who_id = 1; - FellowshipCollective_Index who_index = 2; - FellowshipCollective_Raw who_raw = 3; - FellowshipCollective_Address32 who_address32 = 4; - FellowshipCollective_Address20 who_address20 = 5; - } -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes9Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message ChildBounties_UnassignCuratorCall { - uint32 parent_bounty_id = 1; - uint32 child_bounty_id = 2; -} -message SpRuntimeGenericDigestDigestItem { - oneof logs { - Babe_PreRuntime logs_pre_runtime = 1; - Babe_Consensus logs_consensus = 2; - Babe_Seal logs_seal = 3; - Babe_Other logs_other = 4; - Babe_RuntimeEnvironmentUpdated logs_runtime_environment_updated = 5; - } -} -message Utility_Void { - -} -message Whitelist_DispatchWhitelistedCallWithPreimageCall { - oneof call { - SystemPallet call_system = 1; - TimestampPallet call_timestamp = 2; - BabePallet call_babe = 3; - GrandpaPallet call_grandpa = 4; - BalancesPallet call_balances = 5; - VestingPallet call_vesting = 6; - BagsListPallet call_bags_list = 7; - ImOnlinePallet call_im_online = 8; - StakingPallet call_staking = 9; - SessionPallet call_session = 10; - TreasuryPallet call_treasury = 11; - UtilityPallet call_utility = 12; - ConvictionVotingPallet call_conviction_voting = 13; - ReferendaPallet call_referenda = 14; - FellowshipCollectivePallet call_fellowship_collective = 15; - FellowshipReferendaPallet call_fellowship_referenda = 16; - WhitelistPallet call_whitelist = 17; - SchedulerPallet call_scheduler = 18; - PreimagePallet call_preimage = 19; - IdentityPallet call_identity = 20; - ProxyPallet call_proxy = 21; - MultisigPallet call_multisig = 22; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 23; - BountiesPallet call_bounties = 24; - ChildBountiesPallet call_child_bounties = 25; - NominationPoolsPallet call_nomination_pools = 26; - GearPallet call_gear = 27; - StakingRewardsPallet call_staking_rewards = 28; - GearVoucherPallet call_gear_voucher = 29; - } -} -message Proxy_Delegate { - oneof delegate { - Proxy_Id delegate_id = 1; - Proxy_Index delegate_index = 2; - Proxy_Raw delegate_raw = 3; - Proxy_Address32 delegate_address32 = 4; - Proxy_Address20 delegate_address20 = 5; - } -} -message NominationPools_Nominator { - oneof nominator { - NominationPools_Id nominator_id = 1; - NominationPools_Index nominator_index = 2; - NominationPools_Raw nominator_raw = 3; - NominationPools_Address32 nominator_address32 = 4; - NominationPools_Address20 nominator_address20 = 5; - } -} -message Vesting_VestedTransferCall { - oneof target { - Vesting_Id target_id = 1; - Vesting_Index target_index = 2; - Vesting_Raw target_raw = 3; - Vesting_Address32 target_address32 = 4; - Vesting_Address20 target_address20 = 5; - } - Vesting_PalletVestingVestingInfoVestingInfo schedule = 6; -} -message Value0 { - oneof value0 { - Root value0_root = 1; - Signed value0_signed = 2; - None value0_none = 3; - } -} -message FellowshipCollective_Who { - oneof who { - FellowshipCollective_Id who_id = 1; - FellowshipCollective_Index who_index = 2; - FellowshipCollective_Raw who_raw = 3; - FellowshipCollective_Address32 who_address32 = 4; - FellowshipCollective_Address20 who_address20 = 5; - } -} -message Scheduler_ScheduleCall { - uint32 when = 1; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 2; - uint32 priority = 3; - oneof call { - SystemPallet call_system = 4; - TimestampPallet call_timestamp = 5; - BabePallet call_babe = 6; - GrandpaPallet call_grandpa = 7; - BalancesPallet call_balances = 8; - VestingPallet call_vesting = 9; - BagsListPallet call_bags_list = 10; - ImOnlinePallet call_im_online = 11; - StakingPallet call_staking = 12; - SessionPallet call_session = 13; - TreasuryPallet call_treasury = 14; - UtilityPallet call_utility = 15; - ConvictionVotingPallet call_conviction_voting = 16; - ReferendaPallet call_referenda = 17; - FellowshipCollectivePallet call_fellowship_collective = 18; - FellowshipReferendaPallet call_fellowship_referenda = 19; - WhitelistPallet call_whitelist = 20; - SchedulerPallet call_scheduler = 21; - PreimagePallet call_preimage = 22; - IdentityPallet call_identity = 23; - ProxyPallet call_proxy = 24; - MultisigPallet call_multisig = 25; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 26; - BountiesPallet call_bounties = 27; - ChildBountiesPallet call_child_bounties = 28; - NominationPoolsPallet call_nomination_pools = 29; - GearPallet call_gear = 30; - StakingRewardsPallet call_staking_rewards = 31; - GearVoucherPallet call_gear_voucher = 32; - } -} -message ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes10Listuint32 { - uint32 value0 = 1; - repeated ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 value1 = 2; - uint32 value2 = 3; -} -message VaraRuntimeNposSolution16 { - repeated ElectionProviderMultiPhase_TupleUint32Uint32 votes1 = 1; - repeated ElectionProviderMultiPhase_TupleUint32TupleUint32SpArithmeticPerThingsPerU16Uint32 votes2 = 2; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes3Listuint32 votes3 = 3; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes4Listuint32 votes4 = 4; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes5Listuint32 votes5 = 5; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes6Listuint32 votes6 = 6; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes7Listuint32 votes7 = 7; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes8Listuint32 votes8 = 8; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes9Listuint32 votes9 = 9; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes10Listuint32 votes10 = 10; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes11Listuint32 votes11 = 11; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes12Listuint32 votes12 = 12; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes13Listuint32 votes13 = 13; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes14Listuint32 votes14 = 14; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes15Listuint32 votes15 = 15; - repeated ElectionProviderMultiPhase_TupleUint32ElectionProviderMultiPhaseVotes16Listuint32 votes16 = 16; -} -message NominationPools_UnbondCall { - oneof member_account { - NominationPools_Id member_account_id = 1; - NominationPools_Index member_account_index = 2; - NominationPools_Raw member_account_raw = 3; - NominationPools_Address32 member_account_address32 = 4; - NominationPools_Address20 member_account_address20 = 5; - } - string unbonding_points = 6; -} -message Staking_Address20 { - bytes value0 = 1; -} -message Proxy_Spawner { - oneof spawner { - Proxy_Id spawner_id = 1; - Proxy_Index spawner_index = 2; - Proxy_Raw spawner_raw = 3; - Proxy_Address32 spawner_address32 = 4; - Proxy_Address20 spawner_address20 = 5; - } -} -message Staking_ChillCall { -} -message Staking_Who { - oneof who { - Staking_Id who_id = 1; - Staking_Index who_index = 2; - Staking_Raw who_raw = 3; - Staking_Address32 who_address32 = 4; - Staking_Address20 who_address20 = 5; - } -} -message Identity_Raw19 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_GovernanceFallbackCall { - optional uint32 maybe_max_voters = 1; - optional uint32 maybe_max_targets = 2; -} -message Bounties_TupleNull { - TupleNull value = 1; -} -message NominationPools_PermissionlessAll { -} -message Staking_MinValidatorBond { - oneof min_validator_bond { - Staking_Noop min_validator_bond_noop = 1; - Staking_Set min_validator_bond_set = 2; - Staking_Remove min_validator_bond_remove = 3; - } -} -message Staking_ChillThreshold { - oneof chill_threshold { - Staking_Noop chill_threshold_noop = 1; - Staking_Set chill_threshold_set = 2; - Staking_Remove chill_threshold_remove = 3; - } -} -message SpAuthorityDiscoveryAppPublic { - SpCoreSr25519Public value0 = 1; -} -message FellowshipCollective_CleanupPollCall { - uint32 poll_index = 1; - uint32 max = 2; -} -message FellowshipReferenda_Proposal { - oneof proposal { - FellowshipReferenda_Legacy proposal_legacy = 1; - FellowshipReferenda_Inline proposal_inline = 2; - FellowshipReferenda_Lookup proposal_lookup = 3; - } -} -message Identity_Raw12 { - bytes value0 = 1; -} -message Identity_Value1 { - oneof value1 { - Identity_None value1_none = 1; - Identity_Raw0 value1_raw0 = 2; - Identity_Raw1 value1_raw1 = 3; - Identity_Raw2 value1_raw2 = 4; - Identity_Raw3 value1_raw3 = 5; - Identity_Raw4 value1_raw4 = 6; - Identity_Raw5 value1_raw5 = 7; - Identity_Raw6 value1_raw6 = 8; - Identity_Raw7 value1_raw7 = 9; - Identity_Raw8 value1_raw8 = 10; - Identity_Raw9 value1_raw9 = 11; - Identity_Raw10 value1_raw10 = 12; - Identity_Raw11 value1_raw11 = 13; - Identity_Raw12 value1_raw12 = 14; - Identity_Raw13 value1_raw13 = 15; - Identity_Raw14 value1_raw14 = 16; - Identity_Raw15 value1_raw15 = 17; - Identity_Raw16 value1_raw16 = 18; - Identity_Raw17 value1_raw17 = 19; - Identity_Raw18 value1_raw18 = 20; - Identity_Raw19 value1_raw19 = 21; - Identity_Raw20 value1_raw20 = 22; - Identity_Raw21 value1_raw21 = 23; - Identity_Raw22 value1_raw22 = 24; - Identity_Raw23 value1_raw23 = 25; - Identity_Raw24 value1_raw24 = 26; - Identity_Raw25 value1_raw25 = 27; - Identity_Raw26 value1_raw26 = 28; - Identity_Raw27 value1_raw27 = 29; - Identity_Raw28 value1_raw28 = 30; - Identity_Raw29 value1_raw29 = 31; - Identity_Raw30 value1_raw30 = 32; - Identity_Raw31 value1_raw31 = 33; - Identity_Raw32 value1_raw32 = 34; - Identity_BlakeTwo256 value1_blake_two256 = 35; - Identity_Sha256 value1_sha256 = 36; - Identity_Keccak256 value1_keccak256 = 37; - Identity_ShaThree256 value1_sha_three256 = 38; - } -} -message Identity_KnownGood { -} -message NominationPools_BondExtraCall { - oneof extra { - NominationPools_FreeBalance extra_free_balance = 1; - NominationPools_Rewards extra_rewards = 2; - } -} -message NominationPools_PalletNominationPoolsCommissionChangeRate { - SpArithmeticPerThingsPerbill max_increase = 1; - uint32 min_delay = 2; -} -message NominationPools_SetCommissionChangeRateCall { - uint32 pool_id = 1; - NominationPools_PalletNominationPoolsCommissionChangeRate change_rate = 2; -} -message Utility_DispatchAsCall { - oneof as_origin { - Utility_System as_origin_system = 1; - Utility_Origins as_origin_origins = 2; - Utility_Void as_origin_void = 3; - } - oneof call { - SystemPallet call_system = 4; - TimestampPallet call_timestamp = 5; - BabePallet call_babe = 6; - GrandpaPallet call_grandpa = 7; - BalancesPallet call_balances = 8; - VestingPallet call_vesting = 9; - BagsListPallet call_bags_list = 10; - ImOnlinePallet call_im_online = 11; - StakingPallet call_staking = 12; - SessionPallet call_session = 13; - TreasuryPallet call_treasury = 14; - UtilityPallet call_utility = 15; - ConvictionVotingPallet call_conviction_voting = 16; - ReferendaPallet call_referenda = 17; - FellowshipCollectivePallet call_fellowship_collective = 18; - FellowshipReferendaPallet call_fellowship_referenda = 19; - WhitelistPallet call_whitelist = 20; - SchedulerPallet call_scheduler = 21; - PreimagePallet call_preimage = 22; - IdentityPallet call_identity = 23; - ProxyPallet call_proxy = 24; - MultisigPallet call_multisig = 25; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 26; - BountiesPallet call_bounties = 27; - ChildBountiesPallet call_child_bounties = 28; - NominationPoolsPallet call_nomination_pools = 29; - GearPallet call_gear = 30; - StakingRewardsPallet call_staking_rewards = 31; - GearVoucherPallet call_gear_voucher = 32; - } -} -message Referenda_Origins { - oneof value0 { - StakingAdmin value0_staking_admin = 1; - Treasurer value0_treasurer = 2; - FellowshipAdmin value0_fellowship_admin = 3; - GeneralAdmin value0_general_admin = 4; - ReferendumCanceller value0_referendum_canceller = 5; - ReferendumKiller value0_referendum_killer = 6; - SmallTipper value0_small_tipper = 7; - BigTipper value0_big_tipper = 8; - SmallSpender value0_small_spender = 9; - MediumSpender value0_medium_spender = 10; - BigSpender value0_big_spender = 11; - WhitelistedCaller value0_whitelisted_caller = 12; - FellowshipInitiates value0_fellowship_initiates = 13; - Fellows value0_fellows = 14; - FellowshipExperts value0_fellowship_experts = 15; - FellowshipMasters value0_fellowship_masters = 16; - Fellowship1Dan value0_fellowship1_dan = 17; - Fellowship2Dan value0_fellowship2_dan = 18; - Fellowship3Dan value0_fellowship3_dan = 19; - Fellowship4Dan value0_fellowship4_dan = 20; - Fellowship5Dan value0_fellowship5_dan = 21; - Fellowship6Dan value0_fellowship6_dan = 22; - Fellowship7Dan value0_fellowship7_dan = 23; - Fellowship8Dan value0_fellowship8_dan = 24; - Fellowship9Dan value0_fellowship9_dan = 25; - } -} -message FellowshipCollective_RemoveMemberCall { - oneof who { - FellowshipCollective_Id who_id = 1; - FellowshipCollective_Index who_index = 2; - FellowshipCollective_Raw who_raw = 3; - FellowshipCollective_Address32 who_address32 = 4; - FellowshipCollective_Address20 who_address20 = 5; - } - uint32 min_rank = 6; -} -message Proxy_TupleNull { - TupleNull value = 1; -} -message Proxy_RemoveProxiesCall { -} -message NominationPools_Set { - string value0 = 1; -} -message NominationPools_MaxMembers { - oneof max_members { - NominationPools_Noop max_members_noop = 1; - NominationPools_Set max_members_set = 2; - NominationPools_Remove max_members_remove = 3; - } -} -message Grandpa_TupleFinalityGrandpaPrevotespConsensusGrandpaAppSignature { - Grandpa_FinalityGrandpaPrevote value0 = 1; - Grandpa_SpConsensusGrandpaAppSignature value1 = 2; -} -message Referenda_SetMetadataCall { - uint32 index = 1; - optional PrimitiveTypesH256 maybe_hash = 2; -} -message Identity_Unknown { -} -message Balances_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Vesting_VestCall { -} -message Fellowship6Dan { -} -message NominationPools_MemberAccount { - oneof member_account { - NominationPools_Id member_account_id = 1; - NominationPools_Index member_account_index = 2; - NominationPools_Raw member_account_raw = 3; - NominationPools_Address32 member_account_address32 = 4; - NominationPools_Address20 member_account_address20 = 5; - } -} -message NominationPools_Remove { -} -message GearGasPallet { -} -message ConvictionVoting_PalletConvictionVotingVoteVote { - uint32 value0 = 1; -} -message Proxy_RemoveAnnouncementCall { - oneof real { - Proxy_Id real_id = 1; - Proxy_Index real_index = 2; - Proxy_Raw real_raw = 3; - Proxy_Address32 real_address32 = 4; - Proxy_Address20 real_address20 = 5; - } - PrimitiveTypesH256 call_hash = 6; -} -message NominationPools_Permissioned { -} -message Staking_Id { - SpCoreCryptoAccountId32 value0 = 1; -} -message Proxy_ProxyType { - oneof proxy_type { - Proxy_Any proxy_type_any = 1; - Proxy_NonTransfer proxy_type_non_transfer = 2; - Proxy_Governance proxy_type_governance = 3; - Proxy_Staking proxy_type_staking = 4; - Proxy_IdentityJudgement proxy_type_identity_judgement = 5; - Proxy_CancelProxy proxy_type_cancel_proxy = 6; - } -} -message NominationPools_SetClaimPermissionCall { - oneof permission { - NominationPools_Permissioned permission_permissioned = 1; - NominationPools_PermissionlessCompound permission_permissionless_compound = 2; - NominationPools_PermissionlessWithdraw permission_permissionless_withdraw = 3; - NominationPools_PermissionlessAll permission_permissionless_all = 4; - } -} -message Balances_ForceSetBalanceCall { - oneof who { - Balances_Id who_id = 1; - Balances_Index who_index = 2; - Balances_Raw who_raw = 3; - Balances_Address32 who_address32 = 4; - Balances_Address20 who_address20 = 5; - } - string new_free = 6; -} -message Vesting_Source { - oneof source { - Vesting_Id source_id = 1; - Vesting_Index source_index = 2; - Vesting_Raw source_raw = 3; - Vesting_Address32 source_address32 = 4; - Vesting_Address20 source_address20 = 5; - } -} -message BagsList_Address32 { - bytes value0 = 1; -} -message Signed { - SpCoreCryptoAccountId32 value0 = 1; -} -message NominationPools_ClaimCommissionCall { - uint32 pool_id = 1; -} -message PrimitiveTypesH256 { - bytes value0 = 1; -} -message Staking_BondExtraCall { - string max_additional = 1; -} -message Staking_ForceNoErasCall { -} -message Identity_BlakeTwo256 { - bytes value0 = 1; -} -message Identity_RenameSubCall { - oneof sub { - Identity_Id sub_id = 1; - Identity_Index sub_index = 2; - Identity_Raw sub_raw = 3; - Identity_Address32 sub_address32 = 4; - Identity_Address20 sub_address20 = 5; - } - oneof data { - Identity_None data_none = 6; - Identity_Raw0 data_raw0 = 7; - Identity_Raw1 data_raw1 = 8; - Identity_Raw2 data_raw2 = 9; - Identity_Raw3 data_raw3 = 10; - Identity_Raw4 data_raw4 = 11; - Identity_Raw5 data_raw5 = 12; - Identity_Raw6 data_raw6 = 13; - Identity_Raw7 data_raw7 = 14; - Identity_Raw8 data_raw8 = 15; - Identity_Raw9 data_raw9 = 16; - Identity_Raw10 data_raw10 = 17; - Identity_Raw11 data_raw11 = 18; - Identity_Raw12 data_raw12 = 19; - Identity_Raw13 data_raw13 = 20; - Identity_Raw14 data_raw14 = 21; - Identity_Raw15 data_raw15 = 22; - Identity_Raw16 data_raw16 = 23; - Identity_Raw17 data_raw17 = 24; - Identity_Raw18 data_raw18 = 25; - Identity_Raw19 data_raw19 = 26; - Identity_Raw20 data_raw20 = 27; - Identity_Raw21 data_raw21 = 28; - Identity_Raw22 data_raw22 = 29; - Identity_Raw23 data_raw23 = 30; - Identity_Raw24 data_raw24 = 31; - Identity_Raw25 data_raw25 = 32; - Identity_Raw26 data_raw26 = 33; - Identity_Raw27 data_raw27 = 34; - Identity_Raw28 data_raw28 = 35; - Identity_Raw29 data_raw29 = 36; - Identity_Raw30 data_raw30 = 37; - Identity_Raw31 data_raw31 = 38; - Identity_Raw32 data_raw32 = 39; - Identity_BlakeTwo256 data_blake_two256 = 40; - Identity_Sha256 data_sha256 = 41; - Identity_Keccak256 data_keccak256 = 42; - Identity_ShaThree256 data_sha_three256 = 43; - } -} -message None { -} -message FellowshipReferenda_System { - oneof value0 { - Root value0_root = 1; - Signed value0_signed = 2; - None value0_none = 3; - } -} -message Multisig_PalletMultisigTimepoint { - uint32 height = 1; - uint32 index = 2; -} -message NominationPools_Blocked { -} -message NominationPools_SetMetadataCall { - uint32 pool_id = 1; - bytes metadata = 2; -} -message GearVoucher_CallCall { - GearVoucher_PalletGearVoucherInternalVoucherId voucher_id = 1; - oneof call { - GearVoucher_SendMessage call_send_message = 2; - GearVoucher_SendReply call_send_reply = 3; - GearVoucher_UploadCode call_upload_code = 4; - GearVoucher_DeclineVoucher call_decline_voucher = 5; - } -} -message GearBuiltinPallet { -} -message Grandpa_Prevote { - Grandpa_FinalityGrandpaEquivocation value0 = 1; -} -message System_SetCodeWithoutChecksCall { - bytes code = 1; -} -message System_SetStorageCall { - repeated System_TupleSystemItemsListSystemItemsList items = 1; -} -message Babe_SpConsensusBabeAppPublic { - SpCoreSr25519Public value0 = 1; -} -message Staking_Remove { -} -message Utility_ForceBatchCall { - repeated VaraRuntimeRuntimeCall calls = 1; -} -message Identity_Raw26 { - bytes value0 = 1; -} -message ElectionProviderMultiPhase_PalletElectionProviderMultiPhaseSolutionOrSnapshotSize { - uint32 voters = 1; - uint32 targets = 2; -} -message NominationPools_PermissionlessCompound { -} -message NominationPools_SetCommissionCall { - uint32 pool_id = 1; - optional NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 new_commission = 2; -} -message StakingRewards_WithdrawCall { - oneof to { - StakingRewards_Id to_id = 1; - StakingRewards_Index to_index = 2; - StakingRewards_Raw to_raw = 3; - StakingRewards_Address32 to_address32 = 4; - StakingRewards_Address20 to_address20 = 5; - } - string value = 6; -} -message Staking_None { -} -message Staking_SetInvulnerablesCall { - repeated SpCoreCryptoAccountId32 invulnerables = 1; -} -message ConvictionVoting_Target { - oneof target { - ConvictionVoting_Id target_id = 1; - ConvictionVoting_Index target_index = 2; - ConvictionVoting_Raw target_raw = 3; - ConvictionVoting_Address32 target_address32 = 4; - ConvictionVoting_Address20 target_address20 = 5; - } -} -message Bounties_ProposeCuratorCall { - uint32 bounty_id = 1; - oneof curator { - Bounties_Id curator_id = 2; - Bounties_Index curator_index = 3; - Bounties_Raw curator_raw = 4; - Bounties_Address32 curator_address32 = 5; - Bounties_Address20 curator_address20 = 6; - } - string fee = 7; -} -message ChildBounties_Address32 { - bytes value0 = 1; -} -message NominationPools_Noop { -} -message Identity_Legal { - oneof legal { - Identity_None legal_none = 1; - Identity_Raw0 legal_raw0 = 2; - Identity_Raw1 legal_raw1 = 3; - Identity_Raw2 legal_raw2 = 4; - Identity_Raw3 legal_raw3 = 5; - Identity_Raw4 legal_raw4 = 6; - Identity_Raw5 legal_raw5 = 7; - Identity_Raw6 legal_raw6 = 8; - Identity_Raw7 legal_raw7 = 9; - Identity_Raw8 legal_raw8 = 10; - Identity_Raw9 legal_raw9 = 11; - Identity_Raw10 legal_raw10 = 12; - Identity_Raw11 legal_raw11 = 13; - Identity_Raw12 legal_raw12 = 14; - Identity_Raw13 legal_raw13 = 15; - Identity_Raw14 legal_raw14 = 16; - Identity_Raw15 legal_raw15 = 17; - Identity_Raw16 legal_raw16 = 18; - Identity_Raw17 legal_raw17 = 19; - Identity_Raw18 legal_raw18 = 20; - Identity_Raw19 legal_raw19 = 21; - Identity_Raw20 legal_raw20 = 22; - Identity_Raw21 legal_raw21 = 23; - Identity_Raw22 legal_raw22 = 24; - Identity_Raw23 legal_raw23 = 25; - Identity_Raw24 legal_raw24 = 26; - Identity_Raw25 legal_raw25 = 27; - Identity_Raw26 legal_raw26 = 28; - Identity_Raw27 legal_raw27 = 29; - Identity_Raw28 legal_raw28 = 30; - Identity_Raw29 legal_raw29 = 31; - Identity_Raw30 legal_raw30 = 32; - Identity_Raw31 legal_raw31 = 33; - Identity_Raw32 legal_raw32 = 34; - Identity_BlakeTwo256 legal_blake_two256 = 35; - Identity_Sha256 legal_sha256 = 36; - Identity_Keccak256 legal_keccak256 = 37; - Identity_ShaThree256 legal_sha_three256 = 38; - } -} -message Proxy_Raw { - bytes value0 = 1; -} -message Proxy_Staking { -} -message Gear_SetExecuteInherentCall { - bool value = 1; -} -message VestingPallet { - oneof call { - Vesting_VestCall call_vest_call = 1; - Vesting_VestOtherCall call_vest_other_call = 2; - Vesting_VestedTransferCall call_vested_transfer_call = 3; - Vesting_ForceVestedTransferCall call_force_vested_transfer_call = 4; - Vesting_MergeSchedulesCall call_merge_schedules_call = 5; - } -} -message ImOnlinePallet { - oneof call { - ImOnline_HeartbeatCall call_heartbeat_call = 1; - } -} -message Staking_ReapStashCall { - SpCoreCryptoAccountId32 stash = 1; - uint32 num_slashing_spans = 2; -} -message ConvictionVoting_Standard { - ConvictionVoting_PalletConvictionVotingVoteVote vote = 1; - string balance = 2; -} -message Multisig_AsMultiThreshold1Call { - repeated SpCoreCryptoAccountId32 other_signatories = 1; - oneof call { - SystemPallet call_system = 2; - TimestampPallet call_timestamp = 3; - BabePallet call_babe = 4; - GrandpaPallet call_grandpa = 5; - BalancesPallet call_balances = 6; - VestingPallet call_vesting = 7; - BagsListPallet call_bags_list = 8; - ImOnlinePallet call_im_online = 9; - StakingPallet call_staking = 10; - SessionPallet call_session = 11; - TreasuryPallet call_treasury = 12; - UtilityPallet call_utility = 13; - ConvictionVotingPallet call_conviction_voting = 14; - ReferendaPallet call_referenda = 15; - FellowshipCollectivePallet call_fellowship_collective = 16; - FellowshipReferendaPallet call_fellowship_referenda = 17; - WhitelistPallet call_whitelist = 18; - SchedulerPallet call_scheduler = 19; - PreimagePallet call_preimage = 20; - IdentityPallet call_identity = 21; - ProxyPallet call_proxy = 22; - MultisigPallet call_multisig = 23; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 24; - BountiesPallet call_bounties = 25; - ChildBountiesPallet call_child_bounties = 26; - NominationPoolsPallet call_nomination_pools = 27; - GearPallet call_gear = 28; - StakingRewardsPallet call_staking_rewards = 29; - GearVoucherPallet call_gear_voucher = 30; - } -} -message ElectionProviderMultiPhase_TupleUint32SpArithmeticPerThingsPerU16 { - uint32 value0 = 1; - SpArithmeticPerThingsPerU16 value1 = 2; -} -message BountiesPallet { - oneof call { - Bounties_ProposeBountyCall call_propose_bounty_call = 1; - Bounties_ApproveBountyCall call_approve_bounty_call = 2; - Bounties_ProposeCuratorCall call_propose_curator_call = 3; - Bounties_UnassignCuratorCall call_unassign_curator_call = 4; - Bounties_AcceptCuratorCall call_accept_curator_call = 5; - Bounties_AwardBountyCall call_award_bounty_call = 6; - Bounties_ClaimBountyCall call_claim_bounty_call = 7; - Bounties_CloseBountyCall call_close_bounty_call = 8; - Bounties_ExtendBountyExpiryCall call_extend_bounty_expiry_call = 9; - } -} -message NominationPools_Extra { - oneof extra { - NominationPools_FreeBalance extra_free_balance = 1; - NominationPools_Rewards extra_rewards = 2; - } -} -message NominationPools_PermissionlessWithdraw { -} -message GearVoucher_PalletGearVoucherInternalVoucherId { - bytes value0 = 1; -} -message GearVoucher_None { -} -message Preimage_UnrequestPreimageCall { - PrimitiveTypesH256 hash = 1; -} -message Babe_ReportEquivocationCall { - SpConsensusSlotsEquivocationProof equivocation_proof = 1; - SpSessionMembershipProof key_owner_proof = 2; -} -message Grandpa_NoteStalledCall { - uint32 delay = 1; - uint32 best_finalized_block_number = 2; -} -message ConvictionVoting_Vote { - oneof vote { - ConvictionVoting_Standard vote_standard = 1; - ConvictionVoting_Split vote_split = 2; - ConvictionVoting_SplitAbstain vote_split_abstain = 3; - } -} -message GprimitivesCodeId { - bytes value0 = 1; -} -message Balances_Source { - oneof source { - Balances_Id source_id = 1; - Balances_Index source_index = 2; - Balances_Raw source_raw = 3; - Balances_Address32 source_address32 = 4; - Balances_Address20 source_address20 = 5; - } -} -message Identity_Account { - oneof account { - Identity_Id account_id = 1; - Identity_Index account_index = 2; - Identity_Raw account_raw = 3; - Identity_Address32 account_address32 = 4; - Identity_Address20 account_address20 = 5; - } -} -message Identity_Raw16 { - bytes value0 = 1; -} -message SystemPallet { - oneof call { - System_RemarkCall call_remark_call = 1; - System_SetHeapPagesCall call_set_heap_pages_call = 2; - System_SetCodeCall call_set_code_call = 3; - System_SetCodeWithoutChecksCall call_set_code_without_checks_call = 4; - System_SetStorageCall call_set_storage_call = 5; - System_KillStorageCall call_kill_storage_call = 6; - System_KillPrefixCall call_kill_prefix_call = 7; - System_RemarkWithEventCall call_remark_with_event_call = 8; - } -} -message Babe_AllowedSlots { - oneof allowed_slots { - Babe_PrimarySlots allowed_slots_primary_slots = 1; - Babe_PrimaryAndSecondaryPlainSlots allowed_slots_primary_and_secondary_plain_slots = 2; - Babe_PrimaryAndSecondaryVrfSlots allowed_slots_primary_and_secondary_vrf_slots = 3; - } -} -message Staking_ForceNewEraCall { -} -message FellowshipCollective_TupleNull { - TupleNull value = 1; -} -message FellowshipReferenda_Origins { - oneof value0 { - StakingAdmin value0_staking_admin = 1; - Treasurer value0_treasurer = 2; - FellowshipAdmin value0_fellowship_admin = 3; - GeneralAdmin value0_general_admin = 4; - ReferendumCanceller value0_referendum_canceller = 5; - ReferendumKiller value0_referendum_killer = 6; - SmallTipper value0_small_tipper = 7; - BigTipper value0_big_tipper = 8; - SmallSpender value0_small_spender = 9; - MediumSpender value0_medium_spender = 10; - BigSpender value0_big_spender = 11; - WhitelistedCaller value0_whitelisted_caller = 12; - FellowshipInitiates value0_fellowship_initiates = 13; - Fellows value0_fellows = 14; - FellowshipExperts value0_fellowship_experts = 15; - FellowshipMasters value0_fellowship_masters = 16; - Fellowship1Dan value0_fellowship1_dan = 17; - Fellowship2Dan value0_fellowship2_dan = 18; - Fellowship3Dan value0_fellowship3_dan = 19; - Fellowship4Dan value0_fellowship4_dan = 20; - Fellowship5Dan value0_fellowship5_dan = 21; - Fellowship6Dan value0_fellowship6_dan = 22; - Fellowship7Dan value0_fellowship7_dan = 23; - Fellowship8Dan value0_fellowship8_dan = 24; - Fellowship9Dan value0_fellowship9_dan = 25; - } -} -message Staking_Stash { -} -message NominationPools_MaxPools { - oneof max_pools { - NominationPools_Noop max_pools_noop = 1; - NominationPools_Set max_pools_set = 2; - NominationPools_Remove max_pools_remove = 3; - } -} -message NominationPools_TupleSpArithmeticPerThingsPerbillspCoreCryptoAccountId32 { - SpArithmeticPerThingsPerbill value0 = 1; - SpCoreCryptoAccountId32 value1 = 2; -} -message Grandpa_FinalityGrandpaPrevote { - PrimitiveTypesH256 target_hash = 1; - uint32 target_number = 2; -} -message BagsList_Index { - BagsList_TupleNull value0 = 1; -} -message BagsList_Heavier { - oneof heavier { - BagsList_Id heavier_id = 1; - BagsList_Index heavier_index = 2; - BagsList_Raw heavier_raw = 3; - BagsList_Address32 heavier_address32 = 4; - BagsList_Address20 heavier_address20 = 5; - } -} -message ConvictionVoting_Locked1X { -} -message Referenda_CancelCall { - uint32 index = 1; -} -message WhitelistPallet { - oneof call { - Whitelist_WhitelistCallCall call_whitelist_call_call = 1; - Whitelist_RemoveWhitelistedCallCall call_remove_whitelisted_call_call = 2; - Whitelist_DispatchWhitelistedCallCall call_dispatch_whitelisted_call_call = 3; - Whitelist_DispatchWhitelistedCallWithPreimageCall call_dispatch_whitelisted_call_with_preimage_call = 4; - } -} -message Gear_ClaimValueCall { - GprimitivesMessageId message_id = 1; -} -message Babe_BabeTrieNodesList { - bytes trie_nodes = 1; -} -message Balances_Index { - Balances_TupleNull value0 = 1; -} -message VaraRuntimeSessionKeys { - SpConsensusBabeAppPublic babe = 1; - SpConsensusGrandpaAppPublic grandpa = 2; - ImOnline_PalletImOnlineSr25519AppSr25519Public im_online = 3; - SpAuthorityDiscoveryAppPublic authority_discovery = 4; -} -message Identity_KillIdentityCall { - oneof target { - Identity_Id target_id = 1; - Identity_Index target_index = 2; - Identity_Raw target_raw = 3; - Identity_Address32 target_address32 = 4; - Identity_Address20 target_address20 = 5; - } -} -message NominationPools_State { - oneof state { - NominationPools_Open state_open = 1; - NominationPools_Blocked state_blocked = 2; - NominationPools_Destroying state_destroying = 3; - } -} -message System_SystemKeysList { - bytes keys = 1; -} -message BalancesPallet { - oneof call { - Balances_TransferAllowDeathCall call_transfer_allow_death_call = 1; - Balances_ForceTransferCall call_force_transfer_call = 2; - Balances_TransferKeepAliveCall call_transfer_keep_alive_call = 3; - Balances_TransferAllCall call_transfer_all_call = 4; - Balances_ForceUnreserveCall call_force_unreserve_call = 5; - Balances_UpgradeAccountsCall call_upgrade_accounts_call = 6; - Balances_ForceSetBalanceCall call_force_set_balance_call = 7; - } -} -message ConvictionVoting_Address20 { - bytes value0 = 1; -} -message Proxy_CancelProxy { -} -message Bounties_Raw { - bytes value0 = 1; -} -message NominationPools_Bouncer { - oneof bouncer { - NominationPools_Id bouncer_id = 1; - NominationPools_Index bouncer_index = 2; - NominationPools_Raw bouncer_raw = 3; - NominationPools_Address32 bouncer_address32 = 4; - NominationPools_Address20 bouncer_address20 = 5; - } -} -message ImOnline_HeartbeatCall { - ImOnline_PalletImOnlineHeartbeat heartbeat = 1; - ImOnline_PalletImOnlineSr25519AppSr25519Signature signature = 2; -} -message Staking_Controller { -} -message SessionPallet { - oneof call { - Session_SetKeysCall call_set_keys_call = 1; - Session_PurgeKeysCall call_purge_keys_call = 2; - } -} -message FellowshipReferenda_SubmitCall { - oneof proposal_origin { - FellowshipReferenda_System proposal_origin_system = 1; - FellowshipReferenda_Origins proposal_origin_origins = 2; - FellowshipReferenda_Void proposal_origin_void = 3; - } - oneof proposal { - FellowshipReferenda_Legacy proposal_legacy = 4; - FellowshipReferenda_Inline proposal_inline = 5; - FellowshipReferenda_Lookup proposal_lookup = 6; - } - oneof enactment_moment { - FellowshipReferenda_At enactment_moment_at = 7; - FellowshipReferenda_After enactment_moment_after = 8; - } -} -message ElectionProviderMultiPhase_SetMinimumUntrustedScoreCall { - optional SpNposElectionsElectionScore maybe_next_score = 1; -} -message StakingRewards_Raw { - bytes value0 = 1; -} -message SpConsensusSlotsSlot { - uint64 value0 = 1; -} -message Gear_SendReplyCall { - GprimitivesMessageId reply_to_id = 1; - bytes payload = 2; - uint64 gas_limit = 3; - string value = 4; - bool keep_alive = 5; -} -message Babe_V1 { - Babe_TupleUint64Uint64 c = 1; - oneof allowed_slots { - Babe_PrimarySlots allowed_slots_primary_slots = 2; - Babe_PrimaryAndSecondaryPlainSlots allowed_slots_primary_and_secondary_plain_slots = 3; - Babe_PrimaryAndSecondaryVrfSlots allowed_slots_primary_and_secondary_vrf_slots = 4; - } -} -message FellowshipMasters { -} -message Identity_New { - oneof new { - Identity_Id new_id = 1; - Identity_Index new_index = 2; - Identity_Raw new_raw = 3; - Identity_Address32 new_address32 = 4; - Identity_Address20 new_address20 = 5; - } -} -message NominationPools_MinCreateBond { - oneof min_create_bond { - NominationPools_Noop min_create_bond_noop = 1; - NominationPools_Set min_create_bond_set = 2; - NominationPools_Remove min_create_bond_remove = 3; - } -} -message AuthorshipPallet { -} -message Staking_WithdrawUnbondedCall { - uint32 num_slashing_spans = 1; -} -message Treasury_PayoutCall { - uint32 index = 1; -} -message Fellowship7Dan { -} -message ConvictionVoting_Locked6X { -} -message FellowshipCollective_Index { - FellowshipCollective_TupleNull value0 = 1; -} -message Scheduler_ScheduleNamedCall { - bytes id = 1; - uint32 when = 2; - optional Scheduler_TupleUint32Uint32 maybe_periodic = 3; - uint32 priority = 4; - oneof call { - SystemPallet call_system = 5; - TimestampPallet call_timestamp = 6; - BabePallet call_babe = 7; - GrandpaPallet call_grandpa = 8; - BalancesPallet call_balances = 9; - VestingPallet call_vesting = 10; - BagsListPallet call_bags_list = 11; - ImOnlinePallet call_im_online = 12; - StakingPallet call_staking = 13; - SessionPallet call_session = 14; - TreasuryPallet call_treasury = 15; - UtilityPallet call_utility = 16; - ConvictionVotingPallet call_conviction_voting = 17; - ReferendaPallet call_referenda = 18; - FellowshipCollectivePallet call_fellowship_collective = 19; - FellowshipReferendaPallet call_fellowship_referenda = 20; - WhitelistPallet call_whitelist = 21; - SchedulerPallet call_scheduler = 22; - PreimagePallet call_preimage = 23; - IdentityPallet call_identity = 24; - ProxyPallet call_proxy = 25; - MultisigPallet call_multisig = 26; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 27; - BountiesPallet call_bounties = 28; - ChildBountiesPallet call_child_bounties = 29; - NominationPoolsPallet call_nomination_pools = 30; - GearPallet call_gear = 31; - StakingRewardsPallet call_staking_rewards = 32; - GearVoucherPallet call_gear_voucher = 33; - } -} -message Proxy_IdentityJudgement { -} -message Staking_ChillOtherCall { - SpCoreCryptoAccountId32 controller = 1; -} -message SmallTipper { -} -message Utility_WithWeightCall { - oneof call { - SystemPallet call_system = 1; - TimestampPallet call_timestamp = 2; - BabePallet call_babe = 3; - GrandpaPallet call_grandpa = 4; - BalancesPallet call_balances = 5; - VestingPallet call_vesting = 6; - BagsListPallet call_bags_list = 7; - ImOnlinePallet call_im_online = 8; - StakingPallet call_staking = 9; - SessionPallet call_session = 10; - TreasuryPallet call_treasury = 11; - UtilityPallet call_utility = 12; - ConvictionVotingPallet call_conviction_voting = 13; - ReferendaPallet call_referenda = 14; - FellowshipCollectivePallet call_fellowship_collective = 15; - FellowshipReferendaPallet call_fellowship_referenda = 16; - WhitelistPallet call_whitelist = 17; - SchedulerPallet call_scheduler = 18; - PreimagePallet call_preimage = 19; - IdentityPallet call_identity = 20; - ProxyPallet call_proxy = 21; - MultisigPallet call_multisig = 22; - ElectionProviderMultiPhasePallet call_election_provider_multi_phase = 23; - BountiesPallet call_bounties = 24; - ChildBountiesPallet call_child_bounties = 25; - NominationPoolsPallet call_nomination_pools = 26; - GearPallet call_gear = 27; - StakingRewardsPallet call_staking_rewards = 28; - GearVoucherPallet call_gear_voucher = 29; - } - SpWeightsWeightV2Weight weight = 30; -} -message BagsList_Address20 { - bytes value0 = 1; -} -message ImOnline_PalletImOnlineHeartbeat { - uint32 block_number = 1; - uint32 session_index = 2; - uint32 authority_index = 3; - uint32 validators_len = 4; -} -message ConvictionVoting_Raw { - bytes value0 = 1; -} -message Identity_Raw8 { - bytes value0 = 1; -} -message Proxy_NonTransfer { -} -message BagsList_RebagCall { - oneof dislocated { - BagsList_Id dislocated_id = 1; - BagsList_Index dislocated_index = 2; - BagsList_Raw dislocated_raw = 3; - BagsList_Address32 dislocated_address32 = 4; - BagsList_Address20 dislocated_address20 = 5; - } -} -message Identity_Raw13 { - bytes value0 = 1; -} -message Identity_LowQuality { -} -message Proxy_Address32 { - bytes value0 = 1; -} -message Proxy_Address20 { - bytes value0 = 1; -} -message Bounties_ApproveBountyCall { - uint32 bounty_id = 1; -} -message Vesting_Address32 { - bytes value0 = 1; -} -message FellowshipReferenda_At { - uint32 value0 = 1; -} -message GearVoucher_AppendPrograms { - oneof append_programs { - GearVoucher_None append_programs_none = 1; - GearVoucher_Some append_programs_some = 2; - } -} diff --git a/proto/sf/gear/type/v1/block.proto b/proto/sf/gear/type/v1/block.proto index eb7fbc8..a892639 100644 --- a/proto/sf/gear/type/v1/block.proto +++ b/proto/sf/gear/type/v1/block.proto @@ -2,9 +2,6 @@ syntax = "proto3"; package sf.gear.type.v1; option go_package = "github.com/streamingfast/firehose-gear/pb/sf/gear/type/v1;pbgear"; -import "sf/gear/metadata/type/v1/output.proto"; -import "sf/gear/extrinsic/type/v1/extrinsic.proto"; - message Block { uint64 number = 1; @@ -15,7 +12,6 @@ message Block { repeated DigestItem digest_items = 6; bytes justification = 7; bytes raw_events = 8; - repeated DecodedExtrinsic decoded_extrinsics = 9; } message Header { @@ -144,10 +140,4 @@ message MortalEra { message PaymentFields { // big.Int string tip = 1; -} - -message DecodedExtrinsic { - uint32 version = 1; - Signature signature = 2; - sf.gear.extrinsic.type.v1.RuntimeCall call = 3; } \ No newline at end of file