// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: provenance/flatfees/v1/events.proto

package types

import (
	fmt "fmt"
	_ "github.com/cosmos/cosmos-proto"
	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

// EventParamsUpdated is emitted when UpdateParams successfully updates the flatfees params.
type EventParamsUpdated struct {
}

func (m *EventParamsUpdated) Reset()         { *m = EventParamsUpdated{} }
func (m *EventParamsUpdated) String() string { return proto.CompactTextString(m) }
func (*EventParamsUpdated) ProtoMessage()    {}
func (*EventParamsUpdated) Descriptor() ([]byte, []int) {
	return fileDescriptor_4d7771ea1ab94a25, []int{0}
}
func (m *EventParamsUpdated) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *EventParamsUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_EventParamsUpdated.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 *EventParamsUpdated) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EventParamsUpdated.Merge(m, src)
}
func (m *EventParamsUpdated) XXX_Size() int {
	return m.Size()
}
func (m *EventParamsUpdated) XXX_DiscardUnknown() {
	xxx_messageInfo_EventParamsUpdated.DiscardUnknown(m)
}

var xxx_messageInfo_EventParamsUpdated proto.InternalMessageInfo

// EventConversionFactorUpdated is emitted when ConversionFactor successfully updated.
type EventConversionFactorUpdated struct {
	// definition_amount is the new definition_amount of the conversion factor as coin string, e.g. "1musd".
	DefinitionAmount string `protobuf:"bytes,1,opt,name=definition_amount,json=definitionAmount,proto3" json:"definition_amount,omitempty"`
	// converted_amount is the new converted_amount of the conversion factor as a coin string, e.g. "2000nhash".
	ConvertedAmount string `protobuf:"bytes,2,opt,name=converted_amount,json=convertedAmount,proto3" json:"converted_amount,omitempty"`
}

func (m *EventConversionFactorUpdated) Reset()         { *m = EventConversionFactorUpdated{} }
func (m *EventConversionFactorUpdated) String() string { return proto.CompactTextString(m) }
func (*EventConversionFactorUpdated) ProtoMessage()    {}
func (*EventConversionFactorUpdated) Descriptor() ([]byte, []int) {
	return fileDescriptor_4d7771ea1ab94a25, []int{1}
}
func (m *EventConversionFactorUpdated) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *EventConversionFactorUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_EventConversionFactorUpdated.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 *EventConversionFactorUpdated) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EventConversionFactorUpdated.Merge(m, src)
}
func (m *EventConversionFactorUpdated) XXX_Size() int {
	return m.Size()
}
func (m *EventConversionFactorUpdated) XXX_DiscardUnknown() {
	xxx_messageInfo_EventConversionFactorUpdated.DiscardUnknown(m)
}

var xxx_messageInfo_EventConversionFactorUpdated proto.InternalMessageInfo

func (m *EventConversionFactorUpdated) GetDefinitionAmount() string {
	if m != nil {
		return m.DefinitionAmount
	}
	return ""
}

func (m *EventConversionFactorUpdated) GetConvertedAmount() string {
	if m != nil {
		return m.ConvertedAmount
	}
	return ""
}

// EventMsgFeeSet is emitted when a msg fee is created or updated (from the SetMsgFee keeper helper).
type EventMsgFeeSet struct {
	// msg_type_url is the type-url of the message that had its fee set.
	MsgTypeUrl string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
}

func (m *EventMsgFeeSet) Reset()         { *m = EventMsgFeeSet{} }
func (m *EventMsgFeeSet) String() string { return proto.CompactTextString(m) }
func (*EventMsgFeeSet) ProtoMessage()    {}
func (*EventMsgFeeSet) Descriptor() ([]byte, []int) {
	return fileDescriptor_4d7771ea1ab94a25, []int{2}
}
func (m *EventMsgFeeSet) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *EventMsgFeeSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_EventMsgFeeSet.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 *EventMsgFeeSet) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EventMsgFeeSet.Merge(m, src)
}
func (m *EventMsgFeeSet) XXX_Size() int {
	return m.Size()
}
func (m *EventMsgFeeSet) XXX_DiscardUnknown() {
	xxx_messageInfo_EventMsgFeeSet.DiscardUnknown(m)
}

var xxx_messageInfo_EventMsgFeeSet proto.InternalMessageInfo

func (m *EventMsgFeeSet) GetMsgTypeUrl() string {
	if m != nil {
		return m.MsgTypeUrl
	}
	return ""
}

// EventMsgFeeUnset is emitted when a msg fee is removed (from the RemoveMsgFee keeper helper).
type EventMsgFeeUnset struct {
	// msg_type_url is the type-url of the message that had its fee removed.
	MsgTypeUrl string `protobuf:"bytes,1,opt,name=msg_type_url,json=msgTypeUrl,proto3" json:"msg_type_url,omitempty"`
}

func (m *EventMsgFeeUnset) Reset()         { *m = EventMsgFeeUnset{} }
func (m *EventMsgFeeUnset) String() string { return proto.CompactTextString(m) }
func (*EventMsgFeeUnset) ProtoMessage()    {}
func (*EventMsgFeeUnset) Descriptor() ([]byte, []int) {
	return fileDescriptor_4d7771ea1ab94a25, []int{3}
}
func (m *EventMsgFeeUnset) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *EventMsgFeeUnset) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_EventMsgFeeUnset.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 *EventMsgFeeUnset) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EventMsgFeeUnset.Merge(m, src)
}
func (m *EventMsgFeeUnset) XXX_Size() int {
	return m.Size()
}
func (m *EventMsgFeeUnset) XXX_DiscardUnknown() {
	xxx_messageInfo_EventMsgFeeUnset.DiscardUnknown(m)
}

var xxx_messageInfo_EventMsgFeeUnset proto.InternalMessageInfo

func (m *EventMsgFeeUnset) GetMsgTypeUrl() string {
	if m != nil {
		return m.MsgTypeUrl
	}
	return ""
}

// EventOracleAddressAdded is emitted when AddOracleAddress successfully adds an oracle address.
type EventOracleAddressAdded struct {
	// oracle_address is the address that was added to the oracle list.
	OracleAddress string `protobuf:"bytes,1,opt,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"`
}

func (m *EventOracleAddressAdded) Reset()         { *m = EventOracleAddressAdded{} }
func (m *EventOracleAddressAdded) String() string { return proto.CompactTextString(m) }
func (*EventOracleAddressAdded) ProtoMessage()    {}
func (*EventOracleAddressAdded) Descriptor() ([]byte, []int) {
	return fileDescriptor_4d7771ea1ab94a25, []int{4}
}
func (m *EventOracleAddressAdded) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *EventOracleAddressAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_EventOracleAddressAdded.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 *EventOracleAddressAdded) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EventOracleAddressAdded.Merge(m, src)
}
func (m *EventOracleAddressAdded) XXX_Size() int {
	return m.Size()
}
func (m *EventOracleAddressAdded) XXX_DiscardUnknown() {
	xxx_messageInfo_EventOracleAddressAdded.DiscardUnknown(m)
}

var xxx_messageInfo_EventOracleAddressAdded proto.InternalMessageInfo

func (m *EventOracleAddressAdded) GetOracleAddress() string {
	if m != nil {
		return m.OracleAddress
	}
	return ""
}

// EventOracleAddressRemoved is emitted when RemoveOracleAddress successfully removes an oracle address.
type EventOracleAddressRemoved struct {
	// oracle_address is the address that was removed from the oracle list.
	OracleAddress string `protobuf:"bytes,1,opt,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"`
}

func (m *EventOracleAddressRemoved) Reset()         { *m = EventOracleAddressRemoved{} }
func (m *EventOracleAddressRemoved) String() string { return proto.CompactTextString(m) }
func (*EventOracleAddressRemoved) ProtoMessage()    {}
func (*EventOracleAddressRemoved) Descriptor() ([]byte, []int) {
	return fileDescriptor_4d7771ea1ab94a25, []int{5}
}
func (m *EventOracleAddressRemoved) XXX_Unmarshal(b []byte) error {
	return m.Unmarshal(b)
}
func (m *EventOracleAddressRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	if deterministic {
		return xxx_messageInfo_EventOracleAddressRemoved.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 *EventOracleAddressRemoved) XXX_Merge(src proto.Message) {
	xxx_messageInfo_EventOracleAddressRemoved.Merge(m, src)
}
func (m *EventOracleAddressRemoved) XXX_Size() int {
	return m.Size()
}
func (m *EventOracleAddressRemoved) XXX_DiscardUnknown() {
	xxx_messageInfo_EventOracleAddressRemoved.DiscardUnknown(m)
}

var xxx_messageInfo_EventOracleAddressRemoved proto.InternalMessageInfo

func (m *EventOracleAddressRemoved) GetOracleAddress() string {
	if m != nil {
		return m.OracleAddress
	}
	return ""
}

func init() {
	proto.RegisterType((*EventParamsUpdated)(nil), "provenance.flatfees.v1.EventParamsUpdated")
	proto.RegisterType((*EventConversionFactorUpdated)(nil), "provenance.flatfees.v1.EventConversionFactorUpdated")
	proto.RegisterType((*EventMsgFeeSet)(nil), "provenance.flatfees.v1.EventMsgFeeSet")
	proto.RegisterType((*EventMsgFeeUnset)(nil), "provenance.flatfees.v1.EventMsgFeeUnset")
	proto.RegisterType((*EventOracleAddressAdded)(nil), "provenance.flatfees.v1.EventOracleAddressAdded")
	proto.RegisterType((*EventOracleAddressRemoved)(nil), "provenance.flatfees.v1.EventOracleAddressRemoved")
}

func init() {
	proto.RegisterFile("provenance/flatfees/v1/events.proto", fileDescriptor_4d7771ea1ab94a25)
}

var fileDescriptor_4d7771ea1ab94a25 = []byte{
	// 369 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x92, 0xc1, 0x6a, 0xdb, 0x40,
	0x10, 0x86, 0xad, 0x1e, 0x0a, 0x5d, 0x5a, 0xd7, 0x15, 0xa6, 0xb5, 0x4b, 0x11, 0x46, 0xbd, 0xb4,
	0x04, 0x4b, 0x38, 0xf1, 0x3d, 0xd8, 0x21, 0xbe, 0x85, 0x18, 0x3b, 0xbe, 0x98, 0x80, 0x58, 0x6b,
	0xc7, 0xca, 0x12, 0x69, 0x47, 0xec, 0xae, 0x45, 0xfc, 0x16, 0x79, 0x98, 0x3c, 0x44, 0x8e, 0x26,
	0xa7, 0x1c, 0x83, 0xfd, 0x22, 0xc1, 0x2b, 0x39, 0x32, 0x24, 0x87, 0x1c, 0x72, 0x9c, 0x7f, 0xbe,
	0xff, 0x1f, 0x18, 0x7e, 0xf2, 0x37, 0x95, 0x98, 0x81, 0xa0, 0x22, 0x04, 0x7f, 0x1e, 0x53, 0x3d,
	0x07, 0x50, 0x7e, 0xd6, 0xf1, 0x21, 0x03, 0xa1, 0x95, 0x97, 0x4a, 0xd4, 0x68, 0xff, 0x2c, 0x21,
	0x6f, 0x07, 0x79, 0x59, 0xe7, 0x77, 0x33, 0x44, 0x95, 0xa0, 0x0a, 0x0c, 0xe5, 0xe7, 0x43, 0x6e,
	0x71, 0xeb, 0xc4, 0x3e, 0xdd, 0x46, 0x0c, 0xa9, 0xa4, 0x89, 0x9a, 0xa4, 0x8c, 0x6a, 0x60, 0x6e,
	0x46, 0xfe, 0x18, 0xf5, 0x04, 0x45, 0x06, 0x52, 0x71, 0x14, 0x03, 0x1a, 0x6a, 0x94, 0xc5, 0xde,
	0x3e, 0x20, 0x3f, 0x18, 0xcc, 0xb9, 0xe0, 0x9a, 0xa3, 0x08, 0x68, 0x82, 0x0b, 0xa1, 0x1b, 0x56,
	0xcb, 0xfa, 0xf7, 0x65, 0x54, 0x2b, 0x17, 0x3d, 0xa3, 0xdb, 0xff, 0x49, 0x2d, 0x34, 0x39, 0x1a,
	0xd8, 0x8e, 0xfd, 0x64, 0xd8, 0xef, 0x2f, 0x7a, 0x8e, 0xba, 0x87, 0xa4, 0x6a, 0xee, 0x9e, 0xa9,
	0x68, 0x00, 0x30, 0x06, 0x6d, 0xb7, 0xc8, 0xd7, 0x44, 0x45, 0x81, 0x5e, 0xa6, 0x10, 0x2c, 0x64,
	0x5c, 0x1c, 0x21, 0x89, 0x8a, 0x2e, 0x96, 0x29, 0x4c, 0x64, 0xec, 0x76, 0x49, 0x6d, 0xcf, 0x33,
	0x11, 0xea, 0x5d, 0xae, 0x29, 0xf9, 0x65, 0x5c, 0xe7, 0x92, 0x86, 0x31, 0xf4, 0x18, 0x93, 0xa0,
	0x54, 0x8f, 0x31, 0x60, 0xf6, 0x31, 0xa9, 0xa2, 0x51, 0x03, 0x9a, 0xcb, 0xb9, 0xbd, 0xdf, 0x78,
	0xb8, 0x6b, 0xd7, 0x8b, 0xe7, 0x15, 0x86, 0xb1, 0x96, 0x5c, 0x44, 0xa3, 0x6f, 0xb8, 0x9f, 0xe2,
	0x5e, 0x92, 0xe6, 0xeb, 0xec, 0x11, 0x24, 0x98, 0x7d, 0x40, 0x7a, 0xff, 0xfa, 0x7e, 0xed, 0x58,
	0xab, 0xb5, 0x63, 0x3d, 0xad, 0x1d, 0xeb, 0x76, 0xe3, 0x54, 0x56, 0x1b, 0xa7, 0xf2, 0xb8, 0x71,
	0x2a, 0xa4, 0xc9, 0xd1, 0x7b, 0xbb, 0x01, 0x43, 0x6b, 0xda, 0x8d, 0xb8, 0xbe, 0x5a, 0xcc, 0xbc,
	0x10, 0x13, 0xbf, 0x84, 0xda, 0x1c, 0xf7, 0x26, 0xff, 0xa6, 0xec, 0xd6, 0xf6, 0x77, 0x6a, 0xf6,
	0xd9, 0xb4, 0xe4, 0xe8, 0x39, 0x00, 0x00, 0xff, 0xff, 0x57, 0x29, 0x7a, 0x2d, 0x7f, 0x02, 0x00,
	0x00,
}

func (m *EventParamsUpdated) 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 *EventParamsUpdated) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *EventParamsUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	return len(dAtA) - i, nil
}

func (m *EventConversionFactorUpdated) 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 *EventConversionFactorUpdated) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *EventConversionFactorUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.ConvertedAmount) > 0 {
		i -= len(m.ConvertedAmount)
		copy(dAtA[i:], m.ConvertedAmount)
		i = encodeVarintEvents(dAtA, i, uint64(len(m.ConvertedAmount)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.DefinitionAmount) > 0 {
		i -= len(m.DefinitionAmount)
		copy(dAtA[i:], m.DefinitionAmount)
		i = encodeVarintEvents(dAtA, i, uint64(len(m.DefinitionAmount)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *EventMsgFeeSet) 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 *EventMsgFeeSet) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *EventMsgFeeSet) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.MsgTypeUrl) > 0 {
		i -= len(m.MsgTypeUrl)
		copy(dAtA[i:], m.MsgTypeUrl)
		i = encodeVarintEvents(dAtA, i, uint64(len(m.MsgTypeUrl)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *EventMsgFeeUnset) 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 *EventMsgFeeUnset) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *EventMsgFeeUnset) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.MsgTypeUrl) > 0 {
		i -= len(m.MsgTypeUrl)
		copy(dAtA[i:], m.MsgTypeUrl)
		i = encodeVarintEvents(dAtA, i, uint64(len(m.MsgTypeUrl)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *EventOracleAddressAdded) 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 *EventOracleAddressAdded) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *EventOracleAddressAdded) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.OracleAddress) > 0 {
		i -= len(m.OracleAddress)
		copy(dAtA[i:], m.OracleAddress)
		i = encodeVarintEvents(dAtA, i, uint64(len(m.OracleAddress)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func (m *EventOracleAddressRemoved) 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 *EventOracleAddressRemoved) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *EventOracleAddressRemoved) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.OracleAddress) > 0 {
		i -= len(m.OracleAddress)
		copy(dAtA[i:], m.OracleAddress)
		i = encodeVarintEvents(dAtA, i, uint64(len(m.OracleAddress)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func encodeVarintEvents(dAtA []byte, offset int, v uint64) int {
	offset -= sovEvents(v)
	base := offset
	for v >= 1<<7 {
		dAtA[offset] = uint8(v&0x7f | 0x80)
		v >>= 7
		offset++
	}
	dAtA[offset] = uint8(v)
	return base
}
func (m *EventParamsUpdated) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	return n
}

func (m *EventConversionFactorUpdated) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.DefinitionAmount)
	if l > 0 {
		n += 1 + l + sovEvents(uint64(l))
	}
	l = len(m.ConvertedAmount)
	if l > 0 {
		n += 1 + l + sovEvents(uint64(l))
	}
	return n
}

func (m *EventMsgFeeSet) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.MsgTypeUrl)
	if l > 0 {
		n += 1 + l + sovEvents(uint64(l))
	}
	return n
}

func (m *EventMsgFeeUnset) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.MsgTypeUrl)
	if l > 0 {
		n += 1 + l + sovEvents(uint64(l))
	}
	return n
}

func (m *EventOracleAddressAdded) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.OracleAddress)
	if l > 0 {
		n += 1 + l + sovEvents(uint64(l))
	}
	return n
}

func (m *EventOracleAddressRemoved) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.OracleAddress)
	if l > 0 {
		n += 1 + l + sovEvents(uint64(l))
	}
	return n
}

func sovEvents(x uint64) (n int) {
	return (math_bits.Len64(x|1) + 6) / 7
}
func sozEvents(x uint64) (n int) {
	return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *EventParamsUpdated) 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 ErrIntOverflowEvents
			}
			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: EventParamsUpdated: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventParamsUpdated: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		default:
			iNdEx = preIndex
			skippy, err := skipEvents(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthEvents
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *EventConversionFactorUpdated) 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 ErrIntOverflowEvents
			}
			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: EventConversionFactorUpdated: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventConversionFactorUpdated: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field DefinitionAmount", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowEvents
				}
				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 ErrInvalidLengthEvents
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthEvents
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.DefinitionAmount = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field ConvertedAmount", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowEvents
				}
				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 ErrInvalidLengthEvents
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthEvents
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.ConvertedAmount = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipEvents(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthEvents
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *EventMsgFeeSet) 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 ErrIntOverflowEvents
			}
			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: EventMsgFeeSet: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventMsgFeeSet: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MsgTypeUrl", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowEvents
				}
				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 ErrInvalidLengthEvents
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthEvents
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MsgTypeUrl = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipEvents(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthEvents
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *EventMsgFeeUnset) 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 ErrIntOverflowEvents
			}
			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: EventMsgFeeUnset: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventMsgFeeUnset: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MsgTypeUrl", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowEvents
				}
				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 ErrInvalidLengthEvents
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthEvents
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MsgTypeUrl = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipEvents(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthEvents
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *EventOracleAddressAdded) 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 ErrIntOverflowEvents
			}
			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: EventOracleAddressAdded: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventOracleAddressAdded: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field OracleAddress", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowEvents
				}
				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 ErrInvalidLengthEvents
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthEvents
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.OracleAddress = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipEvents(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthEvents
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *EventOracleAddressRemoved) 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 ErrIntOverflowEvents
			}
			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: EventOracleAddressRemoved: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventOracleAddressRemoved: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field OracleAddress", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowEvents
				}
				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 ErrInvalidLengthEvents
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthEvents
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.OracleAddress = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipEvents(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthEvents
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func skipEvents(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, ErrIntOverflowEvents
			}
			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, ErrIntOverflowEvents
				}
				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, ErrIntOverflowEvents
				}
				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, ErrInvalidLengthEvents
			}
			iNdEx += length
		case 3:
			depth++
		case 4:
			if depth == 0 {
				return 0, ErrUnexpectedEndOfGroupEvents
			}
			depth--
		case 5:
			iNdEx += 4
		default:
			return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
		}
		if iNdEx < 0 {
			return 0, ErrInvalidLengthEvents
		}
		if depth == 0 {
			return iNdEx, nil
		}
	}
	return 0, io.ErrUnexpectedEOF
}

var (
	ErrInvalidLengthEvents        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvents          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
)
