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

package types

import (
	context "context"
	fmt "fmt"
	_ "github.com/cosmos/cosmos-proto"
	_ "github.com/cosmos/cosmos-sdk/types/msgservice"
	_ "github.com/cosmos/gogoproto/gogoproto"
	grpc1 "github.com/cosmos/gogoproto/grpc"
	proto "github.com/cosmos/gogoproto/proto"
	grpc "google.golang.org/grpc"
	codes "google.golang.org/grpc/codes"
	status "google.golang.org/grpc/status"
	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

// MsgUpdateParamsRequest is the request for the UpdateParams governance endpoint.
type MsgUpdateParamsRequest struct {
	// authority should be the governance module account address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// params are the new param values to set.
	Params Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params"`
}

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

var xxx_messageInfo_MsgUpdateParamsRequest proto.InternalMessageInfo

func (m *MsgUpdateParamsRequest) GetAuthority() string {
	if m != nil {
		return m.Authority
	}
	return ""
}

func (m *MsgUpdateParamsRequest) GetParams() Params {
	if m != nil {
		return m.Params
	}
	return Params{}
}

// MsgUpdateParamsResponse is the response for the UpdateParams governance endpoint.
type MsgUpdateParamsResponse struct {
}

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

var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo

// MsgUpdateConversionFactorRequest is the request for the UpdateConversionFactor governance endpoint.
type MsgUpdateConversionFactorRequest struct {
	// authority should be either the governance module account address or an oracle address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// conversion_factor is the new conversion factor that should be used.
	ConversionFactor ConversionFactor `protobuf:"bytes,2,opt,name=conversion_factor,json=conversionFactor,proto3" json:"conversion_factor"`
}

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

var xxx_messageInfo_MsgUpdateConversionFactorRequest proto.InternalMessageInfo

func (m *MsgUpdateConversionFactorRequest) GetAuthority() string {
	if m != nil {
		return m.Authority
	}
	return ""
}

func (m *MsgUpdateConversionFactorRequest) GetConversionFactor() ConversionFactor {
	if m != nil {
		return m.ConversionFactor
	}
	return ConversionFactor{}
}

// MsgUpdateConversionFactorResponse is the response for the UpdateConversionFactor governance endpoint.
type MsgUpdateConversionFactorResponse struct {
}

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

var xxx_messageInfo_MsgUpdateConversionFactorResponse proto.InternalMessageInfo

// MsgUpdateMsgFeesRequest is the request for the UpdateMsgFees governance endpoint.
type MsgUpdateMsgFeesRequest struct {
	// authority should be the governance module account address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// to_set is the list of msg fees to create and/or update.
	ToSet []*MsgFee `protobuf:"bytes,2,rep,name=to_set,json=toSet,proto3" json:"to_set,omitempty"`
	// to_unset is the list of msg-type-urls that should have their msg fee entries
	// deleted (they'll go back to using the default cost).
	ToUnset []string `protobuf:"bytes,3,rep,name=to_unset,json=toUnset,proto3" json:"to_unset,omitempty"`
}

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

var xxx_messageInfo_MsgUpdateMsgFeesRequest proto.InternalMessageInfo

func (m *MsgUpdateMsgFeesRequest) GetAuthority() string {
	if m != nil {
		return m.Authority
	}
	return ""
}

func (m *MsgUpdateMsgFeesRequest) GetToSet() []*MsgFee {
	if m != nil {
		return m.ToSet
	}
	return nil
}

func (m *MsgUpdateMsgFeesRequest) GetToUnset() []string {
	if m != nil {
		return m.ToUnset
	}
	return nil
}

// MsgUpdateMsgFeesResponse is the response for the UpdateMsgFees governance endpoint.
type MsgUpdateMsgFeesResponse struct {
}

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

var xxx_messageInfo_MsgUpdateMsgFeesResponse proto.InternalMessageInfo

// MsgAddOracleAddressRequest is the request for the AddOracleAddress governance endpoint.
type MsgAddOracleAddressRequest struct {
	// authority should be the governance module account address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// oracle_address is the address to be added to the oracle list.
	OracleAddress string `protobuf:"bytes,2,opt,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"`
}

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

var xxx_messageInfo_MsgAddOracleAddressRequest proto.InternalMessageInfo

func (m *MsgAddOracleAddressRequest) GetAuthority() string {
	if m != nil {
		return m.Authority
	}
	return ""
}

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

// MsgAddOracleAddressResponse is the response for the AddOracleAddress governance endpoint.
type MsgAddOracleAddressResponse struct {
}

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

var xxx_messageInfo_MsgAddOracleAddressResponse proto.InternalMessageInfo

// MsgRemoveOracleAddressRequest is the request for the RemoveOracleAddress governance endpoint.
type MsgRemoveOracleAddressRequest struct {
	// authority should be the governance module account address.
	Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
	// oracle_address is the address to be removed from the oracle list.
	OracleAddress string `protobuf:"bytes,2,opt,name=oracle_address,json=oracleAddress,proto3" json:"oracle_address,omitempty"`
}

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

var xxx_messageInfo_MsgRemoveOracleAddressRequest proto.InternalMessageInfo

func (m *MsgRemoveOracleAddressRequest) GetAuthority() string {
	if m != nil {
		return m.Authority
	}
	return ""
}

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

// MsgRemoveOracleAddressResponse is the response for the RemoveOracleAddress governance endpoint.
type MsgRemoveOracleAddressResponse struct {
}

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

var xxx_messageInfo_MsgRemoveOracleAddressResponse proto.InternalMessageInfo

func init() {
	proto.RegisterType((*MsgUpdateParamsRequest)(nil), "provenance.flatfees.v1.MsgUpdateParamsRequest")
	proto.RegisterType((*MsgUpdateParamsResponse)(nil), "provenance.flatfees.v1.MsgUpdateParamsResponse")
	proto.RegisterType((*MsgUpdateConversionFactorRequest)(nil), "provenance.flatfees.v1.MsgUpdateConversionFactorRequest")
	proto.RegisterType((*MsgUpdateConversionFactorResponse)(nil), "provenance.flatfees.v1.MsgUpdateConversionFactorResponse")
	proto.RegisterType((*MsgUpdateMsgFeesRequest)(nil), "provenance.flatfees.v1.MsgUpdateMsgFeesRequest")
	proto.RegisterType((*MsgUpdateMsgFeesResponse)(nil), "provenance.flatfees.v1.MsgUpdateMsgFeesResponse")
	proto.RegisterType((*MsgAddOracleAddressRequest)(nil), "provenance.flatfees.v1.MsgAddOracleAddressRequest")
	proto.RegisterType((*MsgAddOracleAddressResponse)(nil), "provenance.flatfees.v1.MsgAddOracleAddressResponse")
	proto.RegisterType((*MsgRemoveOracleAddressRequest)(nil), "provenance.flatfees.v1.MsgRemoveOracleAddressRequest")
	proto.RegisterType((*MsgRemoveOracleAddressResponse)(nil), "provenance.flatfees.v1.MsgRemoveOracleAddressResponse")
}

func init() { proto.RegisterFile("provenance/flatfees/v1/tx.proto", fileDescriptor_2275393a2cb8688a) }

var fileDescriptor_2275393a2cb8688a = []byte{
	// 614 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0xcf, 0x6b, 0x13, 0x4f,
	0x14, 0xcf, 0x34, 0xdf, 0xf6, 0x6b, 0x9e, 0xb6, 0xd4, 0xb5, 0xa4, 0xc9, 0x4a, 0xb7, 0x6b, 0x44,
	0x08, 0x85, 0xee, 0xda, 0xd4, 0x16, 0x15, 0x41, 0x1a, 0xa1, 0xb7, 0x60, 0xd9, 0xd2, 0x8b, 0x1e,
	0xc2, 0x76, 0x33, 0xd9, 0x2e, 0x76, 0xf7, 0xad, 0x3b, 0x93, 0xd0, 0xe2, 0x45, 0x44, 0x8f, 0x82,
	0x7f, 0x81, 0x37, 0xc1, 0x63, 0x41, 0xff, 0x07, 0x7b, 0x2c, 0x9e, 0x3c, 0x89, 0x24, 0x87, 0xfe,
	0x1b, 0x92, 0xdd, 0x31, 0x49, 0x93, 0xec, 0xb6, 0x35, 0x17, 0x6f, 0x99, 0xbc, 0xcf, 0xfb, 0xfc,
	0xc8, 0xbc, 0x97, 0x81, 0x45, 0x3f, 0xc0, 0x26, 0xf5, 0x4c, 0xcf, 0xa2, 0x7a, 0x7d, 0xdf, 0xe4,
	0x75, 0x4a, 0x99, 0xde, 0x5c, 0xd1, 0xf9, 0x81, 0xe6, 0x07, 0xc8, 0x51, 0xca, 0xf6, 0x00, 0xda,
	0x1f, 0x80, 0xd6, 0x5c, 0x91, 0xe7, 0x6c, 0xb4, 0x31, 0x84, 0xe8, 0x9d, 0x4f, 0x11, 0x5a, 0xce,
	0x5b, 0xc8, 0x5c, 0x64, 0xd5, 0xa8, 0x10, 0x1d, 0x44, 0x69, 0x3e, 0x3a, 0xe9, 0x2e, 0xb3, 0x3b,
	0x02, 0x2e, 0xb3, 0x45, 0xe1, 0x4e, 0x8c, 0x85, 0xae, 0x5a, 0x08, 0x2b, 0x7c, 0x24, 0x90, 0xad,
	0x30, 0x7b, 0xc7, 0xaf, 0x99, 0x9c, 0x6e, 0x99, 0x81, 0xe9, 0x32, 0x83, 0xbe, 0x6c, 0x50, 0xc6,
	0xa5, 0x75, 0xc8, 0x98, 0x0d, 0xbe, 0x87, 0x81, 0xc3, 0x0f, 0x73, 0x44, 0x25, 0xc5, 0x4c, 0x39,
	0xf7, 0xfd, 0xeb, 0xf2, 0x9c, 0xd0, 0xdf, 0xa8, 0xd5, 0x02, 0xca, 0xd8, 0x36, 0x0f, 0x1c, 0xcf,
	0x36, 0x7a, 0x50, 0xe9, 0x11, 0x4c, 0xf9, 0x21, 0x51, 0x6e, 0x42, 0x25, 0xc5, 0xab, 0x25, 0x45,
	0x1b, 0x1d, 0x56, 0x8b, 0xe4, 0xca, 0xff, 0x1d, 0xff, 0x5c, 0x4c, 0x19, 0xa2, 0xe7, 0xe1, 0xcc,
	0x9b, 0xd3, 0xa3, 0xa5, 0x1e, 0x5b, 0x21, 0x0f, 0xf3, 0x43, 0xfe, 0x98, 0x8f, 0x1e, 0xa3, 0x85,
	0x6f, 0x04, 0xd4, 0x6e, 0xed, 0x09, 0x7a, 0x4d, 0x1a, 0x30, 0x07, 0xbd, 0x4d, 0xd3, 0xe2, 0x18,
	0x8c, 0x9b, 0xe2, 0x39, 0x5c, 0xb7, 0xba, 0x94, 0xd5, 0x7a, 0xc8, 0x29, 0x02, 0x15, 0xe3, 0x02,
	0x0d, 0x7a, 0x10, 0xd1, 0x66, 0xad, 0x81, 0xef, 0x87, 0x42, 0xde, 0x86, 0x5b, 0x09, 0x41, 0x44,
	0xdc, 0x2f, 0xa4, 0xef, 0xa7, 0xa8, 0x30, 0x7b, 0x93, 0xd2, 0xb1, 0xef, 0x6a, 0x0d, 0xa6, 0x38,
	0x56, 0x19, 0xe5, 0xb9, 0x09, 0x35, 0x9d, 0x74, 0x57, 0x91, 0x9e, 0x31, 0xc9, 0x71, 0x9b, 0x72,
	0x29, 0x0f, 0x57, 0x38, 0x56, 0x1b, 0x5e, 0xa7, 0x31, 0xad, 0xa6, 0x8b, 0x19, 0xe3, 0x7f, 0x8e,
	0x3b, 0x9d, 0xe3, 0x50, 0x34, 0x19, 0x72, 0xc3, 0xa6, 0x45, 0xa2, 0x4f, 0x04, 0xe4, 0x0a, 0xb3,
	0x37, 0x6a, 0xb5, 0xa7, 0x81, 0x69, 0xed, 0x53, 0x61, 0x73, 0xdc, 0x50, 0x8f, 0x61, 0x06, 0x43,
	0xbe, 0xaa, 0x19, 0x41, 0xc2, 0x7b, 0x4b, 0x6a, 0x9e, 0xc6, 0x7e, 0xfd, 0xa1, 0x0c, 0x0b, 0x70,
	0x73, 0xa4, 0x4d, 0x11, 0xe3, 0x33, 0x81, 0x85, 0x0a, 0xb3, 0x0d, 0xea, 0x62, 0x93, 0xfe, 0xdb,
	0x49, 0x54, 0x50, 0xe2, 0x9c, 0x46, 0x61, 0x4a, 0xef, 0x26, 0x21, 0x5d, 0x61, 0xb6, 0x84, 0x70,
	0xad, 0x7f, 0xe9, 0x24, 0x2d, 0x61, 0x32, 0x46, 0xfc, 0x7b, 0xc8, 0xfa, 0x85, 0xf1, 0x91, 0xb0,
	0xf4, 0x9e, 0x40, 0x76, 0xf4, 0x06, 0x48, 0xf7, 0xcf, 0xe5, 0x8a, 0xd9, 0x7e, 0xf9, 0xc1, 0x5f,
	0x74, 0x0a, 0x3f, 0x01, 0x4c, 0x9f, 0x99, 0x5a, 0xe9, 0xfc, 0x44, 0x67, 0x97, 0x52, 0xbe, 0x7b,
	0xf1, 0x06, 0xa1, 0xf9, 0x0a, 0x66, 0x07, 0xa7, 0x4c, 0x2a, 0x25, 0xb0, 0xc4, 0x6c, 0x8e, 0xbc,
	0x7a, 0xa9, 0x1e, 0x21, 0xfe, 0x96, 0xc0, 0x8d, 0x11, 0x93, 0x21, 0xad, 0x25, 0x90, 0xc5, 0xcf,
	0xbc, 0xbc, 0x7e, 0xd9, 0xb6, 0xc8, 0x86, 0x3c, 0xf9, 0xfa, 0xf4, 0x68, 0x89, 0x94, 0x5f, 0x1c,
	0xb7, 0x14, 0x72, 0xd2, 0x52, 0xc8, 0xaf, 0x96, 0x42, 0x3e, 0xb4, 0x95, 0xd4, 0x49, 0x5b, 0x49,
	0xfd, 0x68, 0x2b, 0x29, 0xc8, 0x3b, 0x18, 0x43, 0xbd, 0x45, 0x9e, 0xdd, 0xb3, 0x1d, 0xbe, 0xd7,
	0xd8, 0xd5, 0x2c, 0x74, 0xf5, 0x1e, 0x68, 0xd9, 0xc1, 0xbe, 0x93, 0x7e, 0xd0, 0x7b, 0x11, 0xf9,
	0xa1, 0x4f, 0xd9, 0xee, 0x54, 0xf8, 0x18, 0xae, 0xfe, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xc2,
	0x48, 0x0a, 0xb8, 0x07, 0x00, 0x00,
}

// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn

// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4

// MsgClient is the client API for Msg service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MsgClient interface {
	// UpdateParams is a governance endpoint for updating the x/flatfees params.
	UpdateParams(ctx context.Context, in *MsgUpdateParamsRequest, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
	// UpdateConversionFactor is a governance endpoint for updating just the conversion factor in the x/flatfees params.
	UpdateConversionFactor(ctx context.Context, in *MsgUpdateConversionFactorRequest, opts ...grpc.CallOption) (*MsgUpdateConversionFactorResponse, error)
	// UpdateMsgFees is a governance endpoint for updating fees for specific msgs.
	UpdateMsgFees(ctx context.Context, in *MsgUpdateMsgFeesRequest, opts ...grpc.CallOption) (*MsgUpdateMsgFeesResponse, error)
	// AddOracleAddress is a governance endpoint for adding an oracle address that can update the conversion factor.
	AddOracleAddress(ctx context.Context, in *MsgAddOracleAddressRequest, opts ...grpc.CallOption) (*MsgAddOracleAddressResponse, error)
	// RemoveOracleAddress is a governance endpoint for removing an oracle address.
	RemoveOracleAddress(ctx context.Context, in *MsgRemoveOracleAddressRequest, opts ...grpc.CallOption) (*MsgRemoveOracleAddressResponse, error)
}

type msgClient struct {
	cc grpc1.ClientConn
}

func NewMsgClient(cc grpc1.ClientConn) MsgClient {
	return &msgClient{cc}
}

func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParamsRequest, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
	out := new(MsgUpdateParamsResponse)
	err := c.cc.Invoke(ctx, "/provenance.flatfees.v1.Msg/UpdateParams", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *msgClient) UpdateConversionFactor(ctx context.Context, in *MsgUpdateConversionFactorRequest, opts ...grpc.CallOption) (*MsgUpdateConversionFactorResponse, error) {
	out := new(MsgUpdateConversionFactorResponse)
	err := c.cc.Invoke(ctx, "/provenance.flatfees.v1.Msg/UpdateConversionFactor", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *msgClient) UpdateMsgFees(ctx context.Context, in *MsgUpdateMsgFeesRequest, opts ...grpc.CallOption) (*MsgUpdateMsgFeesResponse, error) {
	out := new(MsgUpdateMsgFeesResponse)
	err := c.cc.Invoke(ctx, "/provenance.flatfees.v1.Msg/UpdateMsgFees", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *msgClient) AddOracleAddress(ctx context.Context, in *MsgAddOracleAddressRequest, opts ...grpc.CallOption) (*MsgAddOracleAddressResponse, error) {
	out := new(MsgAddOracleAddressResponse)
	err := c.cc.Invoke(ctx, "/provenance.flatfees.v1.Msg/AddOracleAddress", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

func (c *msgClient) RemoveOracleAddress(ctx context.Context, in *MsgRemoveOracleAddressRequest, opts ...grpc.CallOption) (*MsgRemoveOracleAddressResponse, error) {
	out := new(MsgRemoveOracleAddressResponse)
	err := c.cc.Invoke(ctx, "/provenance.flatfees.v1.Msg/RemoveOracleAddress", in, out, opts...)
	if err != nil {
		return nil, err
	}
	return out, nil
}

// MsgServer is the server API for Msg service.
type MsgServer interface {
	// UpdateParams is a governance endpoint for updating the x/flatfees params.
	UpdateParams(context.Context, *MsgUpdateParamsRequest) (*MsgUpdateParamsResponse, error)
	// UpdateConversionFactor is a governance endpoint for updating just the conversion factor in the x/flatfees params.
	UpdateConversionFactor(context.Context, *MsgUpdateConversionFactorRequest) (*MsgUpdateConversionFactorResponse, error)
	// UpdateMsgFees is a governance endpoint for updating fees for specific msgs.
	UpdateMsgFees(context.Context, *MsgUpdateMsgFeesRequest) (*MsgUpdateMsgFeesResponse, error)
	// AddOracleAddress is a governance endpoint for adding an oracle address that can update the conversion factor.
	AddOracleAddress(context.Context, *MsgAddOracleAddressRequest) (*MsgAddOracleAddressResponse, error)
	// RemoveOracleAddress is a governance endpoint for removing an oracle address.
	RemoveOracleAddress(context.Context, *MsgRemoveOracleAddressRequest) (*MsgRemoveOracleAddressResponse, error)
}

// UnimplementedMsgServer can be embedded to have forward compatible implementations.
type UnimplementedMsgServer struct {
}

func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParamsRequest) (*MsgUpdateParamsResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
}
func (*UnimplementedMsgServer) UpdateConversionFactor(ctx context.Context, req *MsgUpdateConversionFactorRequest) (*MsgUpdateConversionFactorResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateConversionFactor not implemented")
}
func (*UnimplementedMsgServer) UpdateMsgFees(ctx context.Context, req *MsgUpdateMsgFeesRequest) (*MsgUpdateMsgFeesResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method UpdateMsgFees not implemented")
}
func (*UnimplementedMsgServer) AddOracleAddress(ctx context.Context, req *MsgAddOracleAddressRequest) (*MsgAddOracleAddressResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method AddOracleAddress not implemented")
}
func (*UnimplementedMsgServer) RemoveOracleAddress(ctx context.Context, req *MsgRemoveOracleAddressRequest) (*MsgRemoveOracleAddressResponse, error) {
	return nil, status.Errorf(codes.Unimplemented, "method RemoveOracleAddress not implemented")
}

func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
	s.RegisterService(&_Msg_serviceDesc, srv)
}

func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MsgUpdateParamsRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MsgServer).UpdateParams(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/provenance.flatfees.v1.Msg/UpdateParams",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParamsRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Msg_UpdateConversionFactor_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MsgUpdateConversionFactorRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MsgServer).UpdateConversionFactor(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/provenance.flatfees.v1.Msg/UpdateConversionFactor",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MsgServer).UpdateConversionFactor(ctx, req.(*MsgUpdateConversionFactorRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Msg_UpdateMsgFees_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MsgUpdateMsgFeesRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MsgServer).UpdateMsgFees(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/provenance.flatfees.v1.Msg/UpdateMsgFees",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MsgServer).UpdateMsgFees(ctx, req.(*MsgUpdateMsgFeesRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Msg_AddOracleAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MsgAddOracleAddressRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MsgServer).AddOracleAddress(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/provenance.flatfees.v1.Msg/AddOracleAddress",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MsgServer).AddOracleAddress(ctx, req.(*MsgAddOracleAddressRequest))
	}
	return interceptor(ctx, in, info, handler)
}

func _Msg_RemoveOracleAddress_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
	in := new(MsgRemoveOracleAddressRequest)
	if err := dec(in); err != nil {
		return nil, err
	}
	if interceptor == nil {
		return srv.(MsgServer).RemoveOracleAddress(ctx, in)
	}
	info := &grpc.UnaryServerInfo{
		Server:     srv,
		FullMethod: "/provenance.flatfees.v1.Msg/RemoveOracleAddress",
	}
	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
		return srv.(MsgServer).RemoveOracleAddress(ctx, req.(*MsgRemoveOracleAddressRequest))
	}
	return interceptor(ctx, in, info, handler)
}

var Msg_serviceDesc = _Msg_serviceDesc
var _Msg_serviceDesc = grpc.ServiceDesc{
	ServiceName: "provenance.flatfees.v1.Msg",
	HandlerType: (*MsgServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UpdateParams",
			Handler:    _Msg_UpdateParams_Handler,
		},
		{
			MethodName: "UpdateConversionFactor",
			Handler:    _Msg_UpdateConversionFactor_Handler,
		},
		{
			MethodName: "UpdateMsgFees",
			Handler:    _Msg_UpdateMsgFees_Handler,
		},
		{
			MethodName: "AddOracleAddress",
			Handler:    _Msg_AddOracleAddress_Handler,
		},
		{
			MethodName: "RemoveOracleAddress",
			Handler:    _Msg_RemoveOracleAddress_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "provenance/flatfees/v1/tx.proto",
}

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

func (m *MsgUpdateParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	{
		size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
		if err != nil {
			return 0, err
		}
		i -= size
		i = encodeVarintTx(dAtA, i, uint64(size))
	}
	i--
	dAtA[i] = 0x12
	if len(m.Authority) > 0 {
		i -= len(m.Authority)
		copy(dAtA[i:], m.Authority)
		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

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

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

func (m *MsgUpdateConversionFactorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	{
		size, err := m.ConversionFactor.MarshalToSizedBuffer(dAtA[:i])
		if err != nil {
			return 0, err
		}
		i -= size
		i = encodeVarintTx(dAtA, i, uint64(size))
	}
	i--
	dAtA[i] = 0x12
	if len(m.Authority) > 0 {
		i -= len(m.Authority)
		copy(dAtA[i:], m.Authority)
		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

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

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

func (m *MsgUpdateMsgFeesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.ToUnset) > 0 {
		for iNdEx := len(m.ToUnset) - 1; iNdEx >= 0; iNdEx-- {
			i -= len(m.ToUnset[iNdEx])
			copy(dAtA[i:], m.ToUnset[iNdEx])
			i = encodeVarintTx(dAtA, i, uint64(len(m.ToUnset[iNdEx])))
			i--
			dAtA[i] = 0x1a
		}
	}
	if len(m.ToSet) > 0 {
		for iNdEx := len(m.ToSet) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.ToSet[iNdEx].MarshalToSizedBuffer(dAtA[:i])
				if err != nil {
					return 0, err
				}
				i -= size
				i = encodeVarintTx(dAtA, i, uint64(size))
			}
			i--
			dAtA[i] = 0x12
		}
	}
	if len(m.Authority) > 0 {
		i -= len(m.Authority)
		copy(dAtA[i:], m.Authority)
		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

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

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

func (m *MsgAddOracleAddressRequest) 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 = encodeVarintTx(dAtA, i, uint64(len(m.OracleAddress)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Authority) > 0 {
		i -= len(m.Authority)
		copy(dAtA[i:], m.Authority)
		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

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

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

func (m *MsgRemoveOracleAddressRequest) 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 = encodeVarintTx(dAtA, i, uint64(len(m.OracleAddress)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Authority) > 0 {
		i -= len(m.Authority)
		copy(dAtA[i:], m.Authority)
		i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

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

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

func (m *MsgUpdateParamsResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	return n
}

func (m *MsgUpdateConversionFactorRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Authority)
	if l > 0 {
		n += 1 + l + sovTx(uint64(l))
	}
	l = m.ConversionFactor.Size()
	n += 1 + l + sovTx(uint64(l))
	return n
}

func (m *MsgUpdateConversionFactorResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	return n
}

func (m *MsgUpdateMsgFeesRequest) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Authority)
	if l > 0 {
		n += 1 + l + sovTx(uint64(l))
	}
	if len(m.ToSet) > 0 {
		for _, e := range m.ToSet {
			l = e.Size()
			n += 1 + l + sovTx(uint64(l))
		}
	}
	if len(m.ToUnset) > 0 {
		for _, s := range m.ToUnset {
			l = len(s)
			n += 1 + l + sovTx(uint64(l))
		}
	}
	return n
}

func (m *MsgUpdateMsgFeesResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	return n
}

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

func (m *MsgAddOracleAddressResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	return n
}

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

func (m *MsgRemoveOracleAddressResponse) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	return n
}

func sovTx(x uint64) (n int) {
	return (math_bits.Len64(x|1) + 6) / 7
}
func sozTx(x uint64) (n int) {
	return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *MsgUpdateParamsRequest) 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 ErrIntOverflowTx
			}
			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: MsgUpdateParamsRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgUpdateParamsRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowTx
				}
				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 ErrInvalidLengthTx
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthTx
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Authority = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowTx
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthTx
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthTx
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MsgUpdateParamsResponse) 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 ErrIntOverflowTx
			}
			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: MsgUpdateParamsResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MsgUpdateConversionFactorRequest) 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 ErrIntOverflowTx
			}
			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: MsgUpdateConversionFactorRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgUpdateConversionFactorRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowTx
				}
				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 ErrInvalidLengthTx
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthTx
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Authority = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field ConversionFactor", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowTx
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthTx
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthTx
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if err := m.ConversionFactor.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MsgUpdateConversionFactorResponse) 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 ErrIntOverflowTx
			}
			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: MsgUpdateConversionFactorResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgUpdateConversionFactorResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MsgUpdateMsgFeesRequest) 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 ErrIntOverflowTx
			}
			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: MsgUpdateMsgFeesRequest: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgUpdateMsgFeesRequest: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowTx
				}
				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 ErrInvalidLengthTx
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthTx
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Authority = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field ToSet", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowTx
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthTx
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthTx
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.ToSet = append(m.ToSet, &MsgFee{})
			if err := m.ToSet[len(m.ToSet)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field ToUnset", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowTx
				}
				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 ErrInvalidLengthTx
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthTx
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.ToUnset = append(m.ToUnset, string(dAtA[iNdEx:postIndex]))
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MsgUpdateMsgFeesResponse) 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 ErrIntOverflowTx
			}
			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: MsgUpdateMsgFeesResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgUpdateMsgFeesResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

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

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MsgAddOracleAddressResponse) 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 ErrIntOverflowTx
			}
			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: MsgAddOracleAddressResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgAddOracleAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

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

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MsgRemoveOracleAddressResponse) 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 ErrIntOverflowTx
			}
			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: MsgRemoveOracleAddressResponse: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MsgRemoveOracleAddressResponse: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		default:
			iNdEx = preIndex
			skippy, err := skipTx(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthTx
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

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

var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
