diff --git a/proto/centauri/keyrotation/v1beta1/rotation.proto b/proto/centauri/keyrotation/v1beta1/rotation.proto new file mode 100644 index 000000000..67eecc7ae --- /dev/null +++ b/proto/centauri/keyrotation/v1beta1/rotation.proto @@ -0,0 +1,16 @@ +syntax = "proto3"; +package centauri.keyrotation.v1beta1; + +import "gogoproto/gogo.proto"; +import "cosmos_proto/cosmos.proto"; +import "google/protobuf/any.proto"; + +option go_package = "x/keyrotation/types"; + +// GenesisState defines the mint module's genesis state. +message ConsPubKeyRotationHistory { + string operator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + google.protobuf.Any old_key = 2 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; + google.protobuf.Any new_key = 3 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; + uint64 block_height = 4; +} \ No newline at end of file diff --git a/proto/centauri/keyrotation/v1beta1/tx.proto b/proto/centauri/keyrotation/v1beta1/tx.proto index d549db62b..eb79811d2 100644 --- a/proto/centauri/keyrotation/v1beta1/tx.proto +++ b/proto/centauri/keyrotation/v1beta1/tx.proto @@ -17,7 +17,7 @@ service Msg { } message MsgRotateConsPubKey { - string validator_address = 1; + string validator_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"]; google.protobuf.Any pubkey = 2 [(cosmos_proto.accepts_interface) = "cosmos.crypto.PubKey"]; } diff --git a/x/keyrotation/keeper/keeper.go b/x/keyrotation/keeper/keeper.go index 6bce7fbe1..f81e3c70a 100644 --- a/x/keyrotation/keeper/keeper.go +++ b/x/keyrotation/keeper/keeper.go @@ -77,6 +77,8 @@ func (k Keeper) handleMsgRotateConsPubKey(ctx sdk.Context, valAddress sdk.ValAdd return err } + oldpkAny := validator.ConsensusPubkey + // replace pubkey validator.ConsensusPubkey = pkAny @@ -88,5 +90,15 @@ func (k Keeper) handleMsgRotateConsPubKey(ctx sdk.Context, valAddress sdk.ValAdd k.sk.SetValidator(ctx, validator) k.sk.SetValidatorByConsAddr(ctx, validator) + // Set rotation history + consPubKeyRotationHistory := types.ConsPubKeyRotationHistory{ + OperatorAddress: valAddress.String(), + OldKey: oldpkAny, + NewKey: pkAny, + BlockHeight: uint64(ctx.BlockHeight()), + } + + k.SetKeyRotationHistory(ctx, consPubKeyRotationHistory) + return nil } diff --git a/x/keyrotation/keeper/pubkey_rotation.go b/x/keyrotation/keeper/pubkey_rotation.go new file mode 100644 index 000000000..845187d1b --- /dev/null +++ b/x/keyrotation/keeper/pubkey_rotation.go @@ -0,0 +1,26 @@ +package keeper + +import ( + sdk "github.com/cosmos/cosmos-sdk/types" + "github.com/notional-labs/composable/v6/x/keyrotation/types" +) + +func (k Keeper) SetKeyRotationHistory(ctx sdk.Context, consRotationHistory types.ConsPubKeyRotationHistory) { + store := ctx.KVStore(k.storeKey) + bz := k.cdc.MustMarshal(&consRotationHistory) + store.Set(types.GetKeyRotationHistory(consRotationHistory.OperatorAddress), bz) +} + +func (k Keeper) IterateRotationHistory(ctx sdk.Context, cb func(types.ConsPubKeyRotationHistory) (stop bool)) { + store := ctx.KVStore(k.storeKey) + iterator := sdk.KVStorePrefixIterator(store, types.KeyRotation) + + defer iterator.Close() + for ; iterator.Valid(); iterator.Next() { + var rotationHistory types.ConsPubKeyRotationHistory + k.cdc.MustUnmarshal(iterator.Value(), &rotationHistory) + if cb(rotationHistory) { + break + } + } +} diff --git a/x/keyrotation/types/keys.go b/x/keyrotation/types/keys.go index 44720477b..1efa0c336 100644 --- a/x/keyrotation/types/keys.go +++ b/x/keyrotation/types/keys.go @@ -8,3 +8,15 @@ const ( RouterKey = ModuleName ) + +func KeyPrefix(p string) []byte { + return []byte(p) +} + +var ( + KeyRotation = KeyPrefix("rotation") +) + +func GetKeyRotationHistory(valAddress string) []byte { + return append(KeyRotation, []byte(valAddress)...) +} diff --git a/x/keyrotation/types/rotation.pb.go b/x/keyrotation/types/rotation.pb.go new file mode 100644 index 000000000..490899c0a --- /dev/null +++ b/x/keyrotation/types/rotation.pb.go @@ -0,0 +1,486 @@ +// Code generated by protoc-gen-gogo. DO NOT EDIT. +// source: centauri/keyrotation/v1beta1/rotation.proto + +package types + +import ( + fmt "fmt" + _ "github.com/cosmos/cosmos-proto" + types "github.com/cosmos/cosmos-sdk/codec/types" + _ "github.com/cosmos/gogoproto/gogoproto" + proto "github.com/cosmos/gogoproto/proto" + io "io" + math "math" + math_bits "math/bits" +) + +// Reference imports to suppress errors if they are not otherwise used. +var _ = proto.Marshal +var _ = fmt.Errorf +var _ = math.Inf + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the proto package it is being compiled against. +// A compilation error at this line likely means your copy of the +// proto package needs to be updated. +const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package + +// GenesisState defines the mint module's genesis state. +type ConsPubKeyRotationHistory struct { + OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` + OldKey *types.Any `protobuf:"bytes,2,opt,name=old_key,json=oldKey,proto3" json:"old_key,omitempty"` + NewKey *types.Any `protobuf:"bytes,3,opt,name=new_key,json=newKey,proto3" json:"new_key,omitempty"` + BlockHeight uint64 `protobuf:"varint,4,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` +} + +func (m *ConsPubKeyRotationHistory) Reset() { *m = ConsPubKeyRotationHistory{} } +func (m *ConsPubKeyRotationHistory) String() string { return proto.CompactTextString(m) } +func (*ConsPubKeyRotationHistory) ProtoMessage() {} +func (*ConsPubKeyRotationHistory) Descriptor() ([]byte, []int) { + return fileDescriptor_68d414f3745c6381, []int{0} +} +func (m *ConsPubKeyRotationHistory) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *ConsPubKeyRotationHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_ConsPubKeyRotationHistory.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *ConsPubKeyRotationHistory) XXX_Merge(src proto.Message) { + xxx_messageInfo_ConsPubKeyRotationHistory.Merge(m, src) +} +func (m *ConsPubKeyRotationHistory) XXX_Size() int { + return m.Size() +} +func (m *ConsPubKeyRotationHistory) XXX_DiscardUnknown() { + xxx_messageInfo_ConsPubKeyRotationHistory.DiscardUnknown(m) +} + +var xxx_messageInfo_ConsPubKeyRotationHistory proto.InternalMessageInfo + +func (m *ConsPubKeyRotationHistory) GetOperatorAddress() string { + if m != nil { + return m.OperatorAddress + } + return "" +} + +func (m *ConsPubKeyRotationHistory) GetOldKey() *types.Any { + if m != nil { + return m.OldKey + } + return nil +} + +func (m *ConsPubKeyRotationHistory) GetNewKey() *types.Any { + if m != nil { + return m.NewKey + } + return nil +} + +func (m *ConsPubKeyRotationHistory) GetBlockHeight() uint64 { + if m != nil { + return m.BlockHeight + } + return 0 +} + +func init() { + proto.RegisterType((*ConsPubKeyRotationHistory)(nil), "centauri.keyrotation.v1beta1.ConsPubKeyRotationHistory") +} + +func init() { + proto.RegisterFile("centauri/keyrotation/v1beta1/rotation.proto", fileDescriptor_68d414f3745c6381) +} + +var fileDescriptor_68d414f3745c6381 = []byte{ + // 324 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x91, 0xbd, 0x4e, 0x02, 0x41, + 0x14, 0x85, 0x19, 0x24, 0x18, 0x17, 0x13, 0x0d, 0x52, 0x2c, 0xc4, 0x6c, 0xd0, 0x8a, 0xc4, 0x30, + 0x1b, 0xf4, 0x09, 0x80, 0x42, 0x12, 0x1a, 0x83, 0x9d, 0xcd, 0x66, 0x7f, 0xae, 0xc3, 0x86, 0x75, + 0xee, 0x66, 0x66, 0x10, 0xe7, 0x2d, 0x6c, 0x7c, 0x13, 0x1f, 0xc2, 0x58, 0x11, 0x2b, 0x4b, 0x03, + 0x2f, 0x62, 0x98, 0xd9, 0x8d, 0xda, 0xda, 0x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e6, 0x1c, + 0x46, 0x19, 0xc6, 0x8b, 0x60, 0x0e, 0x29, 0x9b, 0x2b, 0xb7, 0xd6, 0x25, 0xbd, 0xda, 0xac, 0x61, + 0xb4, 0x89, 0x91, 0x46, 0xfd, 0xb7, 0x8d, 0x47, 0xd6, 0x1b, 0x8f, 0x7c, 0x6d, 0x3c, 0xf2, 0xbc, + 0xf5, 0x2a, 0xeb, 0xad, 0x57, 0xf9, 0xdc, 0x7a, 0x95, 0xbb, 0x93, 0xa7, 0x3f, 0x3f, 0xa8, 0x74, + 0x0e, 0x32, 0xaa, 0x9b, 0x06, 0x57, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x92, 0x3e, 0x25, 0x1f, + 0xe6, 0x01, 0x00, 0x00, +} + +func (m *ConsPubKeyRotationHistory) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *ConsPubKeyRotationHistory) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *ConsPubKeyRotationHistory) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if m.BlockHeight != 0 { + i = encodeVarintRotation(dAtA, i, uint64(m.BlockHeight)) + i-- + dAtA[i] = 0x20 + } + if m.NewKey != nil { + { + size, err := m.NewKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRotation(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + } + if m.OldKey != nil { + { + size, err := m.OldKey.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintRotation(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x12 + } + if len(m.OperatorAddress) > 0 { + i -= len(m.OperatorAddress) + copy(dAtA[i:], m.OperatorAddress) + i = encodeVarintRotation(dAtA, i, uint64(len(m.OperatorAddress))) + i-- + dAtA[i] = 0xa + } + return len(dAtA) - i, nil +} + +func encodeVarintRotation(dAtA []byte, offset int, v uint64) int { + offset -= sovRotation(v) + base := offset + for v >= 1<<7 { + dAtA[offset] = uint8(v&0x7f | 0x80) + v >>= 7 + offset++ + } + dAtA[offset] = uint8(v) + return base +} +func (m *ConsPubKeyRotationHistory) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.OperatorAddress) + if l > 0 { + n += 1 + l + sovRotation(uint64(l)) + } + if m.OldKey != nil { + l = m.OldKey.Size() + n += 1 + l + sovRotation(uint64(l)) + } + if m.NewKey != nil { + l = m.NewKey.Size() + n += 1 + l + sovRotation(uint64(l)) + } + if m.BlockHeight != 0 { + n += 1 + sovRotation(uint64(m.BlockHeight)) + } + return n +} + +func sovRotation(x uint64) (n int) { + return (math_bits.Len64(x|1) + 6) / 7 +} +func sozRotation(x uint64) (n int) { + return sovRotation(uint64((x << 1) ^ uint64((int64(x) >> 63)))) +} +func (m *ConsPubKeyRotationHistory) Unmarshal(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 ErrIntOverflowRotation + } + 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: ConsPubKeyRotationHistory: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: ConsPubKeyRotationHistory: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OperatorAddress", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRotation + } + 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 ErrInvalidLengthRotation + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthRotation + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.OperatorAddress = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field OldKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRotation + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRotation + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRotation + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.OldKey == nil { + m.OldKey = &types.Any{} + } + if err := m.OldKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field NewKey", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRotation + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthRotation + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthRotation + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.NewKey == nil { + m.NewKey = &types.Any{} + } + if err := m.NewKey.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType) + } + m.BlockHeight = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowRotation + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.BlockHeight |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + default: + iNdEx = preIndex + skippy, err := skipRotation(dAtA[iNdEx:]) + if err != nil { + return err + } + if (skippy < 0) || (iNdEx+skippy) < 0 { + return ErrInvalidLengthRotation + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} +func skipRotation(dAtA []byte) (n int, err error) { + l := len(dAtA) + iNdEx := 0 + depth := 0 + for iNdEx < l { + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowRotation + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= (uint64(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + wireType := int(wire & 0x7) + switch wireType { + case 0: + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowRotation + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + iNdEx++ + if dAtA[iNdEx-1] < 0x80 { + break + } + } + case 1: + iNdEx += 8 + case 2: + var length int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return 0, ErrIntOverflowRotation + } + if iNdEx >= l { + return 0, io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + length |= (int(b) & 0x7F) << shift + if b < 0x80 { + break + } + } + if length < 0 { + return 0, ErrInvalidLengthRotation + } + iNdEx += length + case 3: + depth++ + case 4: + if depth == 0 { + return 0, ErrUnexpectedEndOfGroupRotation + } + depth-- + case 5: + iNdEx += 4 + default: + return 0, fmt.Errorf("proto: illegal wireType %d", wireType) + } + if iNdEx < 0 { + return 0, ErrInvalidLengthRotation + } + if depth == 0 { + return iNdEx, nil + } + } + return 0, io.ErrUnexpectedEOF +} + +var ( + ErrInvalidLengthRotation = fmt.Errorf("proto: negative length found during unmarshaling") + ErrIntOverflowRotation = fmt.Errorf("proto: integer overflow") + ErrUnexpectedEndOfGroupRotation = fmt.Errorf("proto: unexpected end of group") +) diff --git a/x/keyrotation/types/tx.pb.go b/x/keyrotation/types/tx.pb.go index ff1578d2c..36dadee82 100644 --- a/x/keyrotation/types/tx.pb.go +++ b/x/keyrotation/types/tx.pb.go @@ -130,29 +130,30 @@ func init() { } var fileDescriptor_7b7eabc36a3a1a44 = []byte{ - // 342 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x52, 0x31, 0x4b, 0xc3, 0x40, - 0x14, 0xee, 0x29, 0x16, 0x8c, 0x4b, 0x9b, 0x16, 0xac, 0x51, 0x43, 0x29, 0x08, 0x45, 0xe9, 0x1d, - 0xa9, 0x93, 0x63, 0x2b, 0xb8, 0x48, 0x41, 0x32, 0xba, 0x94, 0x4b, 0x7b, 0x1e, 0xa1, 0xed, 0xbd, - 0x90, 0xbb, 0x94, 0xde, 0xd6, 0xd9, 0x45, 0x7f, 0x8a, 0x83, 0x3f, 0x42, 0x9c, 0x3a, 0x3a, 0x4a, - 0x3b, 0xf8, 0x37, 0xa4, 0xb9, 0x44, 0x14, 0x8b, 0xe0, 0x92, 0xbc, 0xf7, 0xbe, 0xef, 0x7b, 0xdf, - 0xc7, 0xe3, 0xac, 0x93, 0x01, 0x13, 0x8a, 0x26, 0x71, 0x48, 0x46, 0x4c, 0xc7, 0xa0, 0xa8, 0x0a, - 0x41, 0x90, 0xa9, 0x17, 0x30, 0x45, 0x3d, 0xa2, 0x66, 0x38, 0x8a, 0x41, 0x81, 0x7d, 0x94, 0xd3, - 0xf0, 0x37, 0x1a, 0xce, 0x68, 0xce, 0xfe, 0x00, 0xe4, 0x04, 0x24,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0x57, 0x6e, 0x61, 0xb1, 0x72, 0x0b, 0x6f, 0x2b, 0xb7, 0x70, 0x5b, 0x99, 0xfd, 0x78, 0x0d, - 0x4a, 0x47, 0x4c, 0x06, 0xc5, 0xf4, 0x1e, 0xe7, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0xeb, 0xa0, - 0x24, 0x32, 0x32, 0x02, 0x00, 0x00, + // 356 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4d, 0x4e, 0xcd, 0x2b, + 0x49, 0x2c, 0x2d, 0xca, 0xd4, 0xcf, 0x4e, 0xad, 0x2c, 0xca, 0x2f, 0x49, 0x2c, 0xc9, 0xcc, 0xcf, + 0xd3, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, + 0xc9, 0x17, 0x92, 0x81, 0x29, 0xd3, 0x43, 0x52, 0xa6, 0x07, 0x55, 0x26, 0x25, 0x9e, 0x9c, 0x5f, + 0x9c, 0x9b, 0x5f, 0xac, 0x9f, 0x5b, 0x9c, 0xae, 0x5f, 0x66, 0x08, 0xa2, 0x20, 0xda, 0xa4, 0x04, + 0x13, 0x73, 0x33, 0xf3, 0xf2, 0xf5, 0xc1, 0x24, 0x54, 0x48, 0x24, 0x3d, 0x3f, 0x3d, 0x1f, 0xcc, + 0xd4, 0x07, 0xb1, 0xa0, 0xa2, 0x92, 0x10, 0x13, 0xe2, 0x21, 0x12, 0x10, 0x0e, 0x4c, 0x2a, 0x3d, + 0x3f, 0x3f, 0x3d, 0x27, 0x55, 0x1f, 0xcc, 0x4b, 0x2a, 0x4d, 0xd3, 0x4f, 0xcc, 0xab, 0x84, 0x48, + 0x29, 0x2d, 0x61, 0xe4, 0x12, 0xf6, 0x2d, 0x4e, 0x0f, 0x02, 0xb9, 0x27, 0xd5, 0x39, 0x3f, 0xaf, + 0x38, 0xa0, 0x34, 0xc9, 0x3b, 0xb5, 0x52, 0xc8, 0x95, 0x4b, 0xb0, 0x2c, 0x31, 0x27, 0x33, 0x25, + 0xb1, 0x24, 0xbf, 0x28, 0x3e, 0x31, 0x25, 0xa5, 0x28, 0xb5, 0xb8, 0x58, 0x82, 0x51, 0x81, 0x51, + 0x83, 0xd3, 0x49, 0xe2, 0xd2, 0x16, 0x5d, 0x11, 0xa8, 0xf9, 0x8e, 0x10, 0x99, 0xe0, 0x92, 0xa2, + 0xcc, 0xbc, 0xf4, 0x20, 0x01, 0xb8, 0x16, 0xa8, 0xb8, 0x90, 0x1b, 0x17, 0x5b, 0x41, 0x69, 0x52, + 0x76, 0x6a, 0xa5, 0x04, 0x93, 0x02, 0xa3, 0x06, 0xb7, 0x91, 0x88, 0x1e, 0xc4, 0x29, 0x7a, 0x30, + 0xa7, 0xe8, 0x39, 0xe6, 0x55, 0x3a, 0x49, 0x9c, 0x42, 0x98, 0x98, 0x5c, 0x54, 0x59, 0x50, 0x92, + 0xaf, 0x07, 0x71, 0x46, 0x10, 0x54, 0xb7, 0x92, 0x2c, 0x97, 0x34, 0x16, 0x57, 0x06, 0xa5, 0x16, + 0x17, 0xe4, 0xe7, 0x15, 0xa7, 0x1a, 0xf5, 0x33, 0x72, 0x31, 0xfb, 0x16, 0xa7, 0x0b, 0x35, 0x30, + 0x72, 0x09, 0x60, 0x78, 0xc5, 0x50, 0x0f, 0x5f, 0xc8, 0xeb, 0x61, 0x31, 0x57, 0xca, 0x92, 0x64, + 0x2d, 0x30, 0xa7, 0x48, 0xb1, 0x36, 0x3c, 0xdf, 0xa0, 0xc5, 0xe8, 0xa4, 0x7b, 0xe2, 0x91, 0x1c, + 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, 0xe1, 0xb1, + 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xc2, 0x15, 0x28, 0xe9, 0xa4, 0xa4, 0xb2, 0x20, 0xb5, + 0x38, 0x89, 0x0d, 0x1c, 0x1e, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe6, 0xc8, 0xea, 0x25, + 0x4c, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used.