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

package types

import (
	cosmossdk_io_math "cosmossdk.io/math"
	fmt "fmt"
	_ "github.com/cosmos/cosmos-proto"
	types1 "github.com/cosmos/cosmos-sdk/types"
	types "github.com/cosmos/cosmos-sdk/x/auth/types"
	_ "github.com/cosmos/gogoproto/gogoproto"
	proto "github.com/cosmos/gogoproto/proto"
	io "io"
	math "math"
	math_bits "math/bits"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package

// MarkerType defines the types of marker
type MarkerType int32

const (
	// MARKER_TYPE_UNSPECIFIED is an invalid/unknown marker type.
	MarkerType_Unknown MarkerType = 0
	// MARKER_TYPE_COIN is a marker that represents a standard fungible coin (default).
	MarkerType_Coin MarkerType = 1
	// MARKER_TYPE_RESTRICTED is a marker that represents a denom with send_enabled = false.
	MarkerType_RestrictedCoin MarkerType = 2
)

var MarkerType_name = map[int32]string{
	0: "MARKER_TYPE_UNSPECIFIED",
	1: "MARKER_TYPE_COIN",
	2: "MARKER_TYPE_RESTRICTED",
}

var MarkerType_value = map[string]int32{
	"MARKER_TYPE_UNSPECIFIED": 0,
	"MARKER_TYPE_COIN":        1,
	"MARKER_TYPE_RESTRICTED":  2,
}

func (x MarkerType) String() string {
	return proto.EnumName(MarkerType_name, int32(x))
}

func (MarkerType) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_f7e2c25c71db7f99, []int{0}
}

// MarkerStatus defines the various states a marker account can be in.
type MarkerStatus int32

const (
	// MARKER_STATUS_UNSPECIFIED - Unknown/Invalid Marker Status
	StatusUndefined MarkerStatus = 0
	// MARKER_STATUS_PROPOSED - Initial configuration period, updates allowed, token supply not created.
	StatusProposed MarkerStatus = 1
	// MARKER_STATUS_FINALIZED - Configuration finalized, ready for supply creation
	StatusFinalized MarkerStatus = 2
	// MARKER_STATUS_ACTIVE - Supply is created, rules are in force.
	StatusActive MarkerStatus = 3
	// MARKER_STATUS_CANCELLED - Marker has been cancelled, pending destroy
	StatusCancelled MarkerStatus = 4
	// MARKER_STATUS_DESTROYED - Marker supply has all been recalled, marker is considered destroyed and no further
	// actions allowed.
	StatusDestroyed MarkerStatus = 5
)

var MarkerStatus_name = map[int32]string{
	0: "MARKER_STATUS_UNSPECIFIED",
	1: "MARKER_STATUS_PROPOSED",
	2: "MARKER_STATUS_FINALIZED",
	3: "MARKER_STATUS_ACTIVE",
	4: "MARKER_STATUS_CANCELLED",
	5: "MARKER_STATUS_DESTROYED",
}

var MarkerStatus_value = map[string]int32{
	"MARKER_STATUS_UNSPECIFIED": 0,
	"MARKER_STATUS_PROPOSED":    1,
	"MARKER_STATUS_FINALIZED":   2,
	"MARKER_STATUS_ACTIVE":      3,
	"MARKER_STATUS_CANCELLED":   4,
	"MARKER_STATUS_DESTROYED":   5,
}

func (MarkerStatus) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_f7e2c25c71db7f99, []int{1}
}

// Params defines the set of params for the account module.
type Params struct {
	// Deprecated: Prefer to use `max_supply` instead. Maximum amount of supply to allow a marker to be created with
	MaxTotalSupply uint64 `protobuf:"varint,1,opt,name=max_total_supply,json=maxTotalSupply,proto3" json:"max_total_supply,omitempty"` // Deprecated: Do not use.
	// indicates if governance based controls of markers is allowed.
	EnableGovernance bool `protobuf:"varint,2,opt,name=enable_governance,json=enableGovernance,proto3" json:"enable_governance,omitempty"`
	// a regular expression used to validate marker denom values from normal create requests (governance
	// requests are only subject to platform coin validation denom expression)
	UnrestrictedDenomRegex string `protobuf:"bytes,3,opt,name=unrestricted_denom_regex,json=unrestrictedDenomRegex,proto3" json:"unrestricted_denom_regex,omitempty"`
	// maximum amount of supply to allow a marker to be created with
	MaxSupply cosmossdk_io_math.Int `protobuf:"bytes,4,opt,name=max_supply,json=maxSupply,proto3,customtype=cosmossdk.io/math.Int" json:"max_supply"`
}

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

var xxx_messageInfo_Params proto.InternalMessageInfo

// Deprecated: Do not use.
func (m *Params) GetMaxTotalSupply() uint64 {
	if m != nil {
		return m.MaxTotalSupply
	}
	return 0
}

func (m *Params) GetEnableGovernance() bool {
	if m != nil {
		return m.EnableGovernance
	}
	return false
}

func (m *Params) GetUnrestrictedDenomRegex() string {
	if m != nil {
		return m.UnrestrictedDenomRegex
	}
	return ""
}

// MarkerAccount holds the marker configuration information in addition to a base account structure.
type MarkerAccount struct {
	// base cosmos account information including address and coin holdings.
	*types.BaseAccount `protobuf:"bytes,1,opt,name=base_account,json=baseAccount,proto3,embedded=base_account" json:"base_account,omitempty"`
	// Address that owns the marker configuration.  This account must sign any requests
	// to change marker config (only valid for statuses prior to finalization)
	Manager string `protobuf:"bytes,2,opt,name=manager,proto3" json:"manager,omitempty"`
	// Access control lists
	AccessControl []AccessGrant `protobuf:"bytes,3,rep,name=access_control,json=accessControl,proto3" json:"access_control"`
	// Indicates the current status of this marker record.
	Status MarkerStatus `protobuf:"varint,4,opt,name=status,proto3,enum=provenance.marker.v1.MarkerStatus" json:"status,omitempty"`
	// value denomination and total supply for the token.
	Denom string `protobuf:"bytes,5,opt,name=denom,proto3" json:"denom,omitempty"`
	// the total supply expected for a marker.  This is the amount that is minted when a marker is created.
	// Note: This is a static configuration value, not the current circulating supply.
	// To query the current circulating supply, use the bank module's SupplyOf query.
	Supply cosmossdk_io_math.Int `protobuf:"bytes,6,opt,name=supply,proto3,customtype=cosmossdk.io/math.Int" json:"supply"`
	// Marker type information
	MarkerType MarkerType `protobuf:"varint,7,opt,name=marker_type,json=markerType,proto3,enum=provenance.marker.v1.MarkerType" json:"marker_type,omitempty"`
	// A fixed supply will mint additional coin automatically if the total supply decreases below a set value.  This
	// may occur if the coin is burned or an account holding the coin is slashed. (default: true)
	SupplyFixed bool `protobuf:"varint,8,opt,name=supply_fixed,json=supplyFixed,proto3" json:"supply_fixed,omitempty"`
	// indicates that governance based control is allowed for this marker
	AllowGovernanceControl bool `protobuf:"varint,9,opt,name=allow_governance_control,json=allowGovernanceControl,proto3" json:"allow_governance_control,omitempty"`
	// Whether an admin can transfer restricted coins from a 3rd-party account without their signature.
	AllowForcedTransfer bool `protobuf:"varint,10,opt,name=allow_forced_transfer,json=allowForcedTransfer,proto3" json:"allow_forced_transfer,omitempty"`
	// list of required attributes on restricted marker in order to send and receive transfers if sender does not have
	// transfer authority
	RequiredAttributes []string `protobuf:"bytes,11,rep,name=required_attributes,json=requiredAttributes,proto3" json:"required_attributes,omitempty"`
	// requires that an address have deposit access in order to send coins into this marker account, regardless of marker
	// type. When false (default), only restricted markers enforce deposit access.
	RequireDepositAccess bool `protobuf:"varint,12,opt,name=require_deposit_access,json=requireDepositAccess,proto3" json:"require_deposit_access,omitempty"`
}

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

var xxx_messageInfo_MarkerAccount proto.InternalMessageInfo

// NetAssetValue defines a marker's net asset value
type NetAssetValue struct {
	// price is the complete value of the asset's volume
	Price types1.Coin `protobuf:"bytes,1,opt,name=price,proto3" json:"price"`
	// volume is the number of tokens of the marker that were purchased for the price
	Volume uint64 `protobuf:"varint,2,opt,name=volume,proto3" json:"volume,omitempty"`
	// updated_block_height is the block height of last update
	UpdatedBlockHeight uint64 `protobuf:"varint,3,opt,name=updated_block_height,json=updatedBlockHeight,proto3" json:"updated_block_height,omitempty"`
}

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

var xxx_messageInfo_NetAssetValue proto.InternalMessageInfo

func (m *NetAssetValue) GetPrice() types1.Coin {
	if m != nil {
		return m.Price
	}
	return types1.Coin{}
}

func (m *NetAssetValue) GetVolume() uint64 {
	if m != nil {
		return m.Volume
	}
	return 0
}

func (m *NetAssetValue) GetUpdatedBlockHeight() uint64 {
	if m != nil {
		return m.UpdatedBlockHeight
	}
	return 0
}

// EventMarkerAdd event emitted when marker is added
type EventMarkerAdd struct {
	Denom      string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount     string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Status     string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	Manager    string `protobuf:"bytes,4,opt,name=manager,proto3" json:"manager,omitempty"`
	MarkerType string `protobuf:"bytes,5,opt,name=marker_type,json=markerType,proto3" json:"marker_type,omitempty"`
	Address    string `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"`
}

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

var xxx_messageInfo_EventMarkerAdd proto.InternalMessageInfo

func (m *EventMarkerAdd) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerAdd) GetAmount() string {
	if m != nil {
		return m.Amount
	}
	return ""
}

func (m *EventMarkerAdd) GetStatus() string {
	if m != nil {
		return m.Status
	}
	return ""
}

func (m *EventMarkerAdd) GetManager() string {
	if m != nil {
		return m.Manager
	}
	return ""
}

func (m *EventMarkerAdd) GetMarkerType() string {
	if m != nil {
		return m.MarkerType
	}
	return ""
}

func (m *EventMarkerAdd) GetAddress() string {
	if m != nil {
		return m.Address
	}
	return ""
}

// EventMarkerAddAccess event emitted when marker access is added
type EventMarkerAddAccess struct {
	Access        EventMarkerAccess `protobuf:"bytes,1,opt,name=access,proto3" json:"access"`
	Denom         string            `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string            `protobuf:"bytes,3,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerAddAccess proto.InternalMessageInfo

func (m *EventMarkerAddAccess) GetAccess() EventMarkerAccess {
	if m != nil {
		return m.Access
	}
	return EventMarkerAccess{}
}

func (m *EventMarkerAddAccess) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerAddAccess) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerAccess event access permissions for address
type EventMarkerAccess struct {
	Address     string   `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Permissions []string `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
}

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

var xxx_messageInfo_EventMarkerAccess proto.InternalMessageInfo

func (m *EventMarkerAccess) GetAddress() string {
	if m != nil {
		return m.Address
	}
	return ""
}

func (m *EventMarkerAccess) GetPermissions() []string {
	if m != nil {
		return m.Permissions
	}
	return nil
}

// EventMarkerDeleteAccess event emitted when marker access is revoked
type EventMarkerDeleteAccess struct {
	RemoveAddress string `protobuf:"bytes,1,opt,name=remove_address,json=removeAddress,proto3" json:"remove_address,omitempty"`
	Denom         string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,3,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerDeleteAccess proto.InternalMessageInfo

func (m *EventMarkerDeleteAccess) GetRemoveAddress() string {
	if m != nil {
		return m.RemoveAddress
	}
	return ""
}

func (m *EventMarkerDeleteAccess) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerDeleteAccess) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerFinalize event emitted when marker is finalized
type EventMarkerFinalize struct {
	Denom         string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerFinalize proto.InternalMessageInfo

func (m *EventMarkerFinalize) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerFinalize) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerActivate event emitted when marker is activated
type EventMarkerActivate struct {
	Denom         string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerActivate proto.InternalMessageInfo

func (m *EventMarkerActivate) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerActivate) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerCancel event emitted when marker is cancelled
type EventMarkerCancel struct {
	Denom         string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerCancel proto.InternalMessageInfo

func (m *EventMarkerCancel) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerCancel) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerDelete event emitted when marker is deleted
type EventMarkerDelete struct {
	Denom         string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerDelete proto.InternalMessageInfo

func (m *EventMarkerDelete) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerDelete) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerMint event emitted when additional marker supply is minted
type EventMarkerMint struct {
	Amount        string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom         string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,3,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerMint proto.InternalMessageInfo

func (m *EventMarkerMint) GetAmount() string {
	if m != nil {
		return m.Amount
	}
	return ""
}

func (m *EventMarkerMint) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerMint) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerBurn event emitted when coin is burned from marker
type EventMarkerBurn struct {
	Amount        string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom         string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,3,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

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

var xxx_messageInfo_EventMarkerBurn proto.InternalMessageInfo

func (m *EventMarkerBurn) GetAmount() string {
	if m != nil {
		return m.Amount
	}
	return ""
}

func (m *EventMarkerBurn) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerBurn) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

// EventMarkerWithdraw event emitted when coins are withdrew from marker
type EventMarkerWithdraw struct {
	Coins         string `protobuf:"bytes,1,opt,name=coins,proto3" json:"coins,omitempty"`
	Denom         string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,3,opt,name=administrator,proto3" json:"administrator,omitempty"`
	ToAddress     string `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
}

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

var xxx_messageInfo_EventMarkerWithdraw proto.InternalMessageInfo

func (m *EventMarkerWithdraw) GetCoins() string {
	if m != nil {
		return m.Coins
	}
	return ""
}

func (m *EventMarkerWithdraw) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerWithdraw) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

func (m *EventMarkerWithdraw) GetToAddress() string {
	if m != nil {
		return m.ToAddress
	}
	return ""
}

// EventMarkerTransfer event emitted when coins are transfered to from account to another
type EventMarkerTransfer struct {
	Amount        string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Denom         string `protobuf:"bytes,2,opt,name=denom,proto3" json:"denom,omitempty"`
	Administrator string `protobuf:"bytes,3,opt,name=administrator,proto3" json:"administrator,omitempty"`
	ToAddress     string `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	FromAddress   string `protobuf:"bytes,5,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
}

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

var xxx_messageInfo_EventMarkerTransfer proto.InternalMessageInfo

func (m *EventMarkerTransfer) GetAmount() string {
	if m != nil {
		return m.Amount
	}
	return ""
}

func (m *EventMarkerTransfer) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventMarkerTransfer) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

func (m *EventMarkerTransfer) GetToAddress() string {
	if m != nil {
		return m.ToAddress
	}
	return ""
}

func (m *EventMarkerTransfer) GetFromAddress() string {
	if m != nil {
		return m.FromAddress
	}
	return ""
}

// EventMarkerSetDenomMetadata event emitted when metadata is set on marker with denom
type EventMarkerSetDenomMetadata struct {
	MetadataBase        string            `protobuf:"bytes,1,opt,name=metadata_base,json=metadataBase,proto3" json:"metadata_base,omitempty"`
	MetadataDescription string            `protobuf:"bytes,2,opt,name=metadata_description,json=metadataDescription,proto3" json:"metadata_description,omitempty"`
	MetadataDisplay     string            `protobuf:"bytes,3,opt,name=metadata_display,json=metadataDisplay,proto3" json:"metadata_display,omitempty"`
	MetadataDenomUnits  []*EventDenomUnit `protobuf:"bytes,4,rep,name=metadata_denom_units,json=metadataDenomUnits,proto3" json:"metadata_denom_units,omitempty"`
	Administrator       string            `protobuf:"bytes,5,opt,name=administrator,proto3" json:"administrator,omitempty"`
	MetadataName        string            `protobuf:"bytes,6,opt,name=metadata_name,json=metadataName,proto3" json:"metadata_name,omitempty"`
	MetadataSymbol      string            `protobuf:"bytes,7,opt,name=metadata_symbol,json=metadataSymbol,proto3" json:"metadata_symbol,omitempty"`
}

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

var xxx_messageInfo_EventMarkerSetDenomMetadata proto.InternalMessageInfo

func (m *EventMarkerSetDenomMetadata) GetMetadataBase() string {
	if m != nil {
		return m.MetadataBase
	}
	return ""
}

func (m *EventMarkerSetDenomMetadata) GetMetadataDescription() string {
	if m != nil {
		return m.MetadataDescription
	}
	return ""
}

func (m *EventMarkerSetDenomMetadata) GetMetadataDisplay() string {
	if m != nil {
		return m.MetadataDisplay
	}
	return ""
}

func (m *EventMarkerSetDenomMetadata) GetMetadataDenomUnits() []*EventDenomUnit {
	if m != nil {
		return m.MetadataDenomUnits
	}
	return nil
}

func (m *EventMarkerSetDenomMetadata) GetAdministrator() string {
	if m != nil {
		return m.Administrator
	}
	return ""
}

func (m *EventMarkerSetDenomMetadata) GetMetadataName() string {
	if m != nil {
		return m.MetadataName
	}
	return ""
}

func (m *EventMarkerSetDenomMetadata) GetMetadataSymbol() string {
	if m != nil {
		return m.MetadataSymbol
	}
	return ""
}

// EventDenomUnit denom units for set denom metadata event
type EventDenomUnit struct {
	Denom    string   `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Exponent string   `protobuf:"bytes,2,opt,name=exponent,proto3" json:"exponent,omitempty"`
	Aliases  []string `protobuf:"bytes,3,rep,name=aliases,proto3" json:"aliases,omitempty"`
}

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

var xxx_messageInfo_EventDenomUnit proto.InternalMessageInfo

func (m *EventDenomUnit) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventDenomUnit) GetExponent() string {
	if m != nil {
		return m.Exponent
	}
	return ""
}

func (m *EventDenomUnit) GetAliases() []string {
	if m != nil {
		return m.Aliases
	}
	return nil
}

// EventSetNetAssetValue event emitted when Net Asset Value for marker is update or added
type EventSetNetAssetValue struct {
	Denom  string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	Price  string `protobuf:"bytes,2,opt,name=price,proto3" json:"price,omitempty"`
	Volume string `protobuf:"bytes,3,opt,name=volume,proto3" json:"volume,omitempty"`
	Source string `protobuf:"bytes,4,opt,name=source,proto3" json:"source,omitempty"`
}

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

var xxx_messageInfo_EventSetNetAssetValue proto.InternalMessageInfo

func (m *EventSetNetAssetValue) GetDenom() string {
	if m != nil {
		return m.Denom
	}
	return ""
}

func (m *EventSetNetAssetValue) GetPrice() string {
	if m != nil {
		return m.Price
	}
	return ""
}

func (m *EventSetNetAssetValue) GetVolume() string {
	if m != nil {
		return m.Volume
	}
	return ""
}

func (m *EventSetNetAssetValue) GetSource() string {
	if m != nil {
		return m.Source
	}
	return ""
}

// EventMarkerParamsUpdated event emitted when marker params are updated.
type EventMarkerParamsUpdated struct {
	EnableGovernance       string `protobuf:"bytes,1,opt,name=enable_governance,json=enableGovernance,proto3" json:"enable_governance,omitempty"`
	UnrestrictedDenomRegex string `protobuf:"bytes,2,opt,name=unrestricted_denom_regex,json=unrestrictedDenomRegex,proto3" json:"unrestricted_denom_regex,omitempty"`
	MaxSupply              string `protobuf:"bytes,3,opt,name=max_supply,json=maxSupply,proto3" json:"max_supply,omitempty"`
}

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

var xxx_messageInfo_EventMarkerParamsUpdated proto.InternalMessageInfo

func (m *EventMarkerParamsUpdated) GetEnableGovernance() string {
	if m != nil {
		return m.EnableGovernance
	}
	return ""
}

func (m *EventMarkerParamsUpdated) GetUnrestrictedDenomRegex() string {
	if m != nil {
		return m.UnrestrictedDenomRegex
	}
	return ""
}

func (m *EventMarkerParamsUpdated) GetMaxSupply() string {
	if m != nil {
		return m.MaxSupply
	}
	return ""
}

func init() {
	proto.RegisterEnum("provenance.marker.v1.MarkerType", MarkerType_name, MarkerType_value)
	proto.RegisterEnum("provenance.marker.v1.MarkerStatus", MarkerStatus_name, MarkerStatus_value)
	proto.RegisterType((*Params)(nil), "provenance.marker.v1.Params")
	proto.RegisterType((*MarkerAccount)(nil), "provenance.marker.v1.MarkerAccount")
	proto.RegisterType((*NetAssetValue)(nil), "provenance.marker.v1.NetAssetValue")
	proto.RegisterType((*EventMarkerAdd)(nil), "provenance.marker.v1.EventMarkerAdd")
	proto.RegisterType((*EventMarkerAddAccess)(nil), "provenance.marker.v1.EventMarkerAddAccess")
	proto.RegisterType((*EventMarkerAccess)(nil), "provenance.marker.v1.EventMarkerAccess")
	proto.RegisterType((*EventMarkerDeleteAccess)(nil), "provenance.marker.v1.EventMarkerDeleteAccess")
	proto.RegisterType((*EventMarkerFinalize)(nil), "provenance.marker.v1.EventMarkerFinalize")
	proto.RegisterType((*EventMarkerActivate)(nil), "provenance.marker.v1.EventMarkerActivate")
	proto.RegisterType((*EventMarkerCancel)(nil), "provenance.marker.v1.EventMarkerCancel")
	proto.RegisterType((*EventMarkerDelete)(nil), "provenance.marker.v1.EventMarkerDelete")
	proto.RegisterType((*EventMarkerMint)(nil), "provenance.marker.v1.EventMarkerMint")
	proto.RegisterType((*EventMarkerBurn)(nil), "provenance.marker.v1.EventMarkerBurn")
	proto.RegisterType((*EventMarkerWithdraw)(nil), "provenance.marker.v1.EventMarkerWithdraw")
	proto.RegisterType((*EventMarkerTransfer)(nil), "provenance.marker.v1.EventMarkerTransfer")
	proto.RegisterType((*EventMarkerSetDenomMetadata)(nil), "provenance.marker.v1.EventMarkerSetDenomMetadata")
	proto.RegisterType((*EventDenomUnit)(nil), "provenance.marker.v1.EventDenomUnit")
	proto.RegisterType((*EventSetNetAssetValue)(nil), "provenance.marker.v1.EventSetNetAssetValue")
	proto.RegisterType((*EventMarkerParamsUpdated)(nil), "provenance.marker.v1.EventMarkerParamsUpdated")
}

func init() { proto.RegisterFile("provenance/marker/v1/marker.proto", fileDescriptor_f7e2c25c71db7f99) }

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

func (this *Params) Equal(that interface{}) bool {
	if that == nil {
		return this == nil
	}

	that1, ok := that.(*Params)
	if !ok {
		that2, ok := that.(Params)
		if ok {
			that1 = &that2
		} else {
			return false
		}
	}
	if that1 == nil {
		return this == nil
	} else if this == nil {
		return false
	}
	if this.MaxTotalSupply != that1.MaxTotalSupply {
		return false
	}
	if this.EnableGovernance != that1.EnableGovernance {
		return false
	}
	if this.UnrestrictedDenomRegex != that1.UnrestrictedDenomRegex {
		return false
	}
	if !this.MaxSupply.Equal(that1.MaxSupply) {
		return false
	}
	return true
}
func (m *Params) 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 *Params) MarshalTo(dAtA []byte) (int, error) {
	size := m.Size()
	return m.MarshalToSizedBuffer(dAtA[:size])
}

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	{
		size := m.MaxSupply.Size()
		i -= size
		if _, err := m.MaxSupply.MarshalTo(dAtA[i:]); err != nil {
			return 0, err
		}
		i = encodeVarintMarker(dAtA, i, uint64(size))
	}
	i--
	dAtA[i] = 0x22
	if len(m.UnrestrictedDenomRegex) > 0 {
		i -= len(m.UnrestrictedDenomRegex)
		copy(dAtA[i:], m.UnrestrictedDenomRegex)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.UnrestrictedDenomRegex)))
		i--
		dAtA[i] = 0x1a
	}
	if m.EnableGovernance {
		i--
		if m.EnableGovernance {
			dAtA[i] = 1
		} else {
			dAtA[i] = 0
		}
		i--
		dAtA[i] = 0x10
	}
	if m.MaxTotalSupply != 0 {
		i = encodeVarintMarker(dAtA, i, uint64(m.MaxTotalSupply))
		i--
		dAtA[i] = 0x8
	}
	return len(dAtA) - i, nil
}

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

func (m *MarkerAccount) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.RequireDepositAccess {
		i--
		if m.RequireDepositAccess {
			dAtA[i] = 1
		} else {
			dAtA[i] = 0
		}
		i--
		dAtA[i] = 0x60
	}
	if len(m.RequiredAttributes) > 0 {
		for iNdEx := len(m.RequiredAttributes) - 1; iNdEx >= 0; iNdEx-- {
			i -= len(m.RequiredAttributes[iNdEx])
			copy(dAtA[i:], m.RequiredAttributes[iNdEx])
			i = encodeVarintMarker(dAtA, i, uint64(len(m.RequiredAttributes[iNdEx])))
			i--
			dAtA[i] = 0x5a
		}
	}
	if m.AllowForcedTransfer {
		i--
		if m.AllowForcedTransfer {
			dAtA[i] = 1
		} else {
			dAtA[i] = 0
		}
		i--
		dAtA[i] = 0x50
	}
	if m.AllowGovernanceControl {
		i--
		if m.AllowGovernanceControl {
			dAtA[i] = 1
		} else {
			dAtA[i] = 0
		}
		i--
		dAtA[i] = 0x48
	}
	if m.SupplyFixed {
		i--
		if m.SupplyFixed {
			dAtA[i] = 1
		} else {
			dAtA[i] = 0
		}
		i--
		dAtA[i] = 0x40
	}
	if m.MarkerType != 0 {
		i = encodeVarintMarker(dAtA, i, uint64(m.MarkerType))
		i--
		dAtA[i] = 0x38
	}
	{
		size := m.Supply.Size()
		i -= size
		if _, err := m.Supply.MarshalTo(dAtA[i:]); err != nil {
			return 0, err
		}
		i = encodeVarintMarker(dAtA, i, uint64(size))
	}
	i--
	dAtA[i] = 0x32
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0x2a
	}
	if m.Status != 0 {
		i = encodeVarintMarker(dAtA, i, uint64(m.Status))
		i--
		dAtA[i] = 0x20
	}
	if len(m.AccessControl) > 0 {
		for iNdEx := len(m.AccessControl) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.AccessControl[iNdEx].MarshalToSizedBuffer(dAtA[:i])
				if err != nil {
					return 0, err
				}
				i -= size
				i = encodeVarintMarker(dAtA, i, uint64(size))
			}
			i--
			dAtA[i] = 0x1a
		}
	}
	if len(m.Manager) > 0 {
		i -= len(m.Manager)
		copy(dAtA[i:], m.Manager)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Manager)))
		i--
		dAtA[i] = 0x12
	}
	if m.BaseAccount != nil {
		{
			size, err := m.BaseAccount.MarshalToSizedBuffer(dAtA[:i])
			if err != nil {
				return 0, err
			}
			i -= size
			i = encodeVarintMarker(dAtA, i, uint64(size))
		}
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *NetAssetValue) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if m.UpdatedBlockHeight != 0 {
		i = encodeVarintMarker(dAtA, i, uint64(m.UpdatedBlockHeight))
		i--
		dAtA[i] = 0x18
	}
	if m.Volume != 0 {
		i = encodeVarintMarker(dAtA, i, uint64(m.Volume))
		i--
		dAtA[i] = 0x10
	}
	{
		size, err := m.Price.MarshalToSizedBuffer(dAtA[:i])
		if err != nil {
			return 0, err
		}
		i -= size
		i = encodeVarintMarker(dAtA, i, uint64(size))
	}
	i--
	dAtA[i] = 0xa
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerAdd) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Address) > 0 {
		i -= len(m.Address)
		copy(dAtA[i:], m.Address)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Address)))
		i--
		dAtA[i] = 0x32
	}
	if len(m.MarkerType) > 0 {
		i -= len(m.MarkerType)
		copy(dAtA[i:], m.MarkerType)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.MarkerType)))
		i--
		dAtA[i] = 0x2a
	}
	if len(m.Manager) > 0 {
		i -= len(m.Manager)
		copy(dAtA[i:], m.Manager)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Manager)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.Status) > 0 {
		i -= len(m.Status)
		copy(dAtA[i:], m.Status)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Status)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Amount) > 0 {
		i -= len(m.Amount)
		copy(dAtA[i:], m.Amount)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Amount)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerAddAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Administrator) > 0 {
		i -= len(m.Administrator)
		copy(dAtA[i:], m.Administrator)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Administrator)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0x12
	}
	{
		size, err := m.Access.MarshalToSizedBuffer(dAtA[:i])
		if err != nil {
			return 0, err
		}
		i -= size
		i = encodeVarintMarker(dAtA, i, uint64(size))
	}
	i--
	dAtA[i] = 0xa
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Permissions) > 0 {
		for iNdEx := len(m.Permissions) - 1; iNdEx >= 0; iNdEx-- {
			i -= len(m.Permissions[iNdEx])
			copy(dAtA[i:], m.Permissions[iNdEx])
			i = encodeVarintMarker(dAtA, i, uint64(len(m.Permissions[iNdEx])))
			i--
			dAtA[i] = 0x12
		}
	}
	if len(m.Address) > 0 {
		i -= len(m.Address)
		copy(dAtA[i:], m.Address)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Address)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerDeleteAccess) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Administrator) > 0 {
		i -= len(m.Administrator)
		copy(dAtA[i:], m.Administrator)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Administrator)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.RemoveAddress) > 0 {
		i -= len(m.RemoveAddress)
		copy(dAtA[i:], m.RemoveAddress)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.RemoveAddress)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

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

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

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

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

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

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

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

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

func (m *EventMarkerMint) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Administrator) > 0 {
		i -= len(m.Administrator)
		copy(dAtA[i:], m.Administrator)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Administrator)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Amount) > 0 {
		i -= len(m.Amount)
		copy(dAtA[i:], m.Amount)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Amount)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerBurn) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Administrator) > 0 {
		i -= len(m.Administrator)
		copy(dAtA[i:], m.Administrator)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Administrator)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Amount) > 0 {
		i -= len(m.Amount)
		copy(dAtA[i:], m.Amount)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Amount)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.ToAddress) > 0 {
		i -= len(m.ToAddress)
		copy(dAtA[i:], m.ToAddress)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.ToAddress)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.Administrator) > 0 {
		i -= len(m.Administrator)
		copy(dAtA[i:], m.Administrator)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Administrator)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Coins) > 0 {
		i -= len(m.Coins)
		copy(dAtA[i:], m.Coins)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Coins)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.FromAddress) > 0 {
		i -= len(m.FromAddress)
		copy(dAtA[i:], m.FromAddress)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.FromAddress)))
		i--
		dAtA[i] = 0x2a
	}
	if len(m.ToAddress) > 0 {
		i -= len(m.ToAddress)
		copy(dAtA[i:], m.ToAddress)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.ToAddress)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.Administrator) > 0 {
		i -= len(m.Administrator)
		copy(dAtA[i:], m.Administrator)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Administrator)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Amount) > 0 {
		i -= len(m.Amount)
		copy(dAtA[i:], m.Amount)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Amount)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerSetDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.MetadataSymbol) > 0 {
		i -= len(m.MetadataSymbol)
		copy(dAtA[i:], m.MetadataSymbol)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.MetadataSymbol)))
		i--
		dAtA[i] = 0x3a
	}
	if len(m.MetadataName) > 0 {
		i -= len(m.MetadataName)
		copy(dAtA[i:], m.MetadataName)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.MetadataName)))
		i--
		dAtA[i] = 0x32
	}
	if len(m.Administrator) > 0 {
		i -= len(m.Administrator)
		copy(dAtA[i:], m.Administrator)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Administrator)))
		i--
		dAtA[i] = 0x2a
	}
	if len(m.MetadataDenomUnits) > 0 {
		for iNdEx := len(m.MetadataDenomUnits) - 1; iNdEx >= 0; iNdEx-- {
			{
				size, err := m.MetadataDenomUnits[iNdEx].MarshalToSizedBuffer(dAtA[:i])
				if err != nil {
					return 0, err
				}
				i -= size
				i = encodeVarintMarker(dAtA, i, uint64(size))
			}
			i--
			dAtA[i] = 0x22
		}
	}
	if len(m.MetadataDisplay) > 0 {
		i -= len(m.MetadataDisplay)
		copy(dAtA[i:], m.MetadataDisplay)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.MetadataDisplay)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.MetadataDescription) > 0 {
		i -= len(m.MetadataDescription)
		copy(dAtA[i:], m.MetadataDescription)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.MetadataDescription)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.MetadataBase) > 0 {
		i -= len(m.MetadataBase)
		copy(dAtA[i:], m.MetadataBase)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.MetadataBase)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventDenomUnit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Aliases) > 0 {
		for iNdEx := len(m.Aliases) - 1; iNdEx >= 0; iNdEx-- {
			i -= len(m.Aliases[iNdEx])
			copy(dAtA[i:], m.Aliases[iNdEx])
			i = encodeVarintMarker(dAtA, i, uint64(len(m.Aliases[iNdEx])))
			i--
			dAtA[i] = 0x1a
		}
	}
	if len(m.Exponent) > 0 {
		i -= len(m.Exponent)
		copy(dAtA[i:], m.Exponent)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Exponent)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventSetNetAssetValue) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.Source) > 0 {
		i -= len(m.Source)
		copy(dAtA[i:], m.Source)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Source)))
		i--
		dAtA[i] = 0x22
	}
	if len(m.Volume) > 0 {
		i -= len(m.Volume)
		copy(dAtA[i:], m.Volume)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Volume)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.Price) > 0 {
		i -= len(m.Price)
		copy(dAtA[i:], m.Price)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Price)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.Denom) > 0 {
		i -= len(m.Denom)
		copy(dAtA[i:], m.Denom)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.Denom)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

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

func (m *EventMarkerParamsUpdated) MarshalToSizedBuffer(dAtA []byte) (int, error) {
	i := len(dAtA)
	_ = i
	var l int
	_ = l
	if len(m.MaxSupply) > 0 {
		i -= len(m.MaxSupply)
		copy(dAtA[i:], m.MaxSupply)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.MaxSupply)))
		i--
		dAtA[i] = 0x1a
	}
	if len(m.UnrestrictedDenomRegex) > 0 {
		i -= len(m.UnrestrictedDenomRegex)
		copy(dAtA[i:], m.UnrestrictedDenomRegex)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.UnrestrictedDenomRegex)))
		i--
		dAtA[i] = 0x12
	}
	if len(m.EnableGovernance) > 0 {
		i -= len(m.EnableGovernance)
		copy(dAtA[i:], m.EnableGovernance)
		i = encodeVarintMarker(dAtA, i, uint64(len(m.EnableGovernance)))
		i--
		dAtA[i] = 0xa
	}
	return len(dAtA) - i, nil
}

func encodeVarintMarker(dAtA []byte, offset int, v uint64) int {
	offset -= sovMarker(v)
	base := offset
	for v >= 1<<7 {
		dAtA[offset] = uint8(v&0x7f | 0x80)
		v >>= 7
		offset++
	}
	dAtA[offset] = uint8(v)
	return base
}
func (m *Params) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.MaxTotalSupply != 0 {
		n += 1 + sovMarker(uint64(m.MaxTotalSupply))
	}
	if m.EnableGovernance {
		n += 2
	}
	l = len(m.UnrestrictedDenomRegex)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = m.MaxSupply.Size()
	n += 1 + l + sovMarker(uint64(l))
	return n
}

func (m *MarkerAccount) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	if m.BaseAccount != nil {
		l = m.BaseAccount.Size()
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Manager)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	if len(m.AccessControl) > 0 {
		for _, e := range m.AccessControl {
			l = e.Size()
			n += 1 + l + sovMarker(uint64(l))
		}
	}
	if m.Status != 0 {
		n += 1 + sovMarker(uint64(m.Status))
	}
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = m.Supply.Size()
	n += 1 + l + sovMarker(uint64(l))
	if m.MarkerType != 0 {
		n += 1 + sovMarker(uint64(m.MarkerType))
	}
	if m.SupplyFixed {
		n += 2
	}
	if m.AllowGovernanceControl {
		n += 2
	}
	if m.AllowForcedTransfer {
		n += 2
	}
	if len(m.RequiredAttributes) > 0 {
		for _, s := range m.RequiredAttributes {
			l = len(s)
			n += 1 + l + sovMarker(uint64(l))
		}
	}
	if m.RequireDepositAccess {
		n += 2
	}
	return n
}

func (m *NetAssetValue) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = m.Price.Size()
	n += 1 + l + sovMarker(uint64(l))
	if m.Volume != 0 {
		n += 1 + sovMarker(uint64(m.Volume))
	}
	if m.UpdatedBlockHeight != 0 {
		n += 1 + sovMarker(uint64(m.UpdatedBlockHeight))
	}
	return n
}

func (m *EventMarkerAdd) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Amount)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Status)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Manager)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.MarkerType)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Address)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerAddAccess) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = m.Access.Size()
	n += 1 + l + sovMarker(uint64(l))
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerAccess) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Address)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	if len(m.Permissions) > 0 {
		for _, s := range m.Permissions {
			l = len(s)
			n += 1 + l + sovMarker(uint64(l))
		}
	}
	return n
}

func (m *EventMarkerDeleteAccess) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.RemoveAddress)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerFinalize) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerActivate) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerCancel) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerDelete) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerMint) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Amount)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerBurn) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Amount)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerWithdraw) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Coins)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.ToAddress)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerTransfer) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Amount)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.ToAddress)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.FromAddress)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerSetDenomMetadata) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.MetadataBase)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.MetadataDescription)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.MetadataDisplay)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	if len(m.MetadataDenomUnits) > 0 {
		for _, e := range m.MetadataDenomUnits {
			l = e.Size()
			n += 1 + l + sovMarker(uint64(l))
		}
	}
	l = len(m.Administrator)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.MetadataName)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.MetadataSymbol)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventDenomUnit) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Exponent)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	if len(m.Aliases) > 0 {
		for _, s := range m.Aliases {
			l = len(s)
			n += 1 + l + sovMarker(uint64(l))
		}
	}
	return n
}

func (m *EventSetNetAssetValue) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.Denom)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Price)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Volume)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.Source)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

func (m *EventMarkerParamsUpdated) Size() (n int) {
	if m == nil {
		return 0
	}
	var l int
	_ = l
	l = len(m.EnableGovernance)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.UnrestrictedDenomRegex)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	l = len(m.MaxSupply)
	if l > 0 {
		n += 1 + l + sovMarker(uint64(l))
	}
	return n
}

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

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *MarkerAccount) 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 ErrIntOverflowMarker
			}
			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: MarkerAccount: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: MarkerAccount: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field BaseAccount", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthMarker
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if m.BaseAccount == nil {
				m.BaseAccount = &types.BaseAccount{}
			}
			if err := m.BaseAccount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Manager", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Manager = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field AccessControl", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthMarker
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.AccessControl = append(m.AccessControl, AccessGrant{})
			if err := m.AccessControl[len(m.AccessControl)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 4:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
			}
			m.Status = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.Status |= MarkerStatus(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 5:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Denom = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 6:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Supply", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			if err := m.Supply.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 7:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field MarkerType", wireType)
			}
			m.MarkerType = 0
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				m.MarkerType |= MarkerType(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
		case 8:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field SupplyFixed", wireType)
			}
			var v int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				v |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			m.SupplyFixed = bool(v != 0)
		case 9:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field AllowGovernanceControl", wireType)
			}
			var v int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				v |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			m.AllowGovernanceControl = bool(v != 0)
		case 10:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field AllowForcedTransfer", wireType)
			}
			var v int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				v |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			m.AllowForcedTransfer = bool(v != 0)
		case 11:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field RequiredAttributes", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.RequiredAttributes = append(m.RequiredAttributes, string(dAtA[iNdEx:postIndex]))
			iNdEx = postIndex
		case 12:
			if wireType != 0 {
				return fmt.Errorf("proto: wrong wireType = %d for field RequireDepositAccess", wireType)
			}
			var v int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				v |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			m.RequireDepositAccess = bool(v != 0)
		default:
			iNdEx = preIndex
			skippy, err := skipMarker(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthMarker
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

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

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *EventMarkerAdd) 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 ErrIntOverflowMarker
			}
			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: EventMarkerAdd: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventMarkerAdd: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Denom = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Amount = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Status = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Manager", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Manager = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 5:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MarkerType", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MarkerType = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 6:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Address", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Address = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipMarker(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthMarker
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

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

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

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

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

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

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

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

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

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

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

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

	if iNdEx > l {
		return io.ErrUnexpectedEOF
	}
	return nil
}
func (m *EventMarkerSetDenomMetadata) 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 ErrIntOverflowMarker
			}
			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: EventMarkerSetDenomMetadata: wiretype end group for non-group")
		}
		if fieldNum <= 0 {
			return fmt.Errorf("proto: EventMarkerSetDenomMetadata: illegal tag %d (wire type %d)", fieldNum, wire)
		}
		switch fieldNum {
		case 1:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MetadataBase", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MetadataBase = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 2:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MetadataDescription", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MetadataDescription = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 3:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MetadataDisplay", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MetadataDisplay = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 4:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MetadataDenomUnits", wireType)
			}
			var msglen int
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				if iNdEx >= l {
					return io.ErrUnexpectedEOF
				}
				b := dAtA[iNdEx]
				iNdEx++
				msglen |= int(b&0x7F) << shift
				if b < 0x80 {
					break
				}
			}
			if msglen < 0 {
				return ErrInvalidLengthMarker
			}
			postIndex := iNdEx + msglen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MetadataDenomUnits = append(m.MetadataDenomUnits, &EventDenomUnit{})
			if err := m.MetadataDenomUnits[len(m.MetadataDenomUnits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
				return err
			}
			iNdEx = postIndex
		case 5:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field Administrator", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.Administrator = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 6:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MetadataName", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MetadataName = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		case 7:
			if wireType != 2 {
				return fmt.Errorf("proto: wrong wireType = %d for field MetadataSymbol", wireType)
			}
			var stringLen uint64
			for shift := uint(0); ; shift += 7 {
				if shift >= 64 {
					return ErrIntOverflowMarker
				}
				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 ErrInvalidLengthMarker
			}
			postIndex := iNdEx + intStringLen
			if postIndex < 0 {
				return ErrInvalidLengthMarker
			}
			if postIndex > l {
				return io.ErrUnexpectedEOF
			}
			m.MetadataSymbol = string(dAtA[iNdEx:postIndex])
			iNdEx = postIndex
		default:
			iNdEx = preIndex
			skippy, err := skipMarker(dAtA[iNdEx:])
			if err != nil {
				return err
			}
			if (skippy < 0) || (iNdEx+skippy) < 0 {
				return ErrInvalidLengthMarker
			}
			if (iNdEx + skippy) > l {
				return io.ErrUnexpectedEOF
			}
			iNdEx += skippy
		}
	}

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

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

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

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

var (
	ErrInvalidLengthMarker        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMarker          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMarker = fmt.Errorf("proto: unexpected end of group")
)
