types

package
v1.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 48 Imported by: 2

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// EventAttributeDenomKey is the attribute key for a marker.
	EventAttributeDenomKey string = "denom"

	// EventTypeDestroy emitted when a marker is deleted during abci-begin_event
	EventTypeDestroy string = "marker_destroyed"

	// EventTelemetryLabelAddress address label for telemetry metrics
	EventTelemetryLabelAddress string = "address"
	// EventTelemetryLabelToAddress to address label for telemetry metrics
	EventTelemetryLabelToAddress string = "to_address"
	// EventTelemetryLabelFromAddress from address label for telemetry metrics
	EventTelemetryLabelFromAddress string = "from_address"
	// EventTelemetryLabelCoins coins label for telemetry metrics
	EventTelemetryLabelCoins string = "coins"
	// EventTelemetryLabelDenom denom label for telemetry metrics
	EventTelemetryLabelDenom string = "denom"
	// EventTelemetryLabelManager manager label for telemetry metrics
	EventTelemetryLabelManager string = "manager"
	// EventTelemetryLabelAdministrator administrator label for telemetry metrics
	EventTelemetryLabelAdministrator string = "administrator"
	// EventTelemetryKeyBurn burn telemetry metrics key
	EventTelemetryKeyBurn string = "burn"
	// EventTelemetryKeyMint mint telemetry metrics key
	EventTelemetryKeyMint string = "mint"
	// EventTelemetryKeyTransfer transfer telemetry metrics key
	EventTelemetryKeyTransfer string = "transfer"
	// EventTelemetryKeyIbcTransfer ibctransfer telemetry metrics key
	EventTelemetryKeyIbcTransfer string = "ibctransfer"
	// EventTelemetryKeyWithdraw withdraw telemetry metrics key
	EventTelemetryKeyWithdraw string = "withdraw"
)
View Source
const (
	// ModuleName is the name of the module
	ModuleName = "marker"

	// StoreKey is string representation of the store key for marker
	StoreKey = ModuleName

	// RouterKey to be used for routing msgs
	RouterKey = ModuleName

	// QuerierRoute to be used for queries
	QuerierRoute = ModuleName

	// CoinPoolName to be used for coin pool associated with mint/burn activities.
	CoinPoolName = ModuleName

	// DefaultParamspace is the name used for the parameter subspace for this module.
	DefaultParamspace = ModuleName
)
View Source
const (
	// DefaultEnableGovernance (true) indicates that governance proposals are allowed for managing markers
	DefaultEnableGovernance = true
	// DefaultMaxTotalSupply is deprecated.
	DefaultMaxTotalSupply = uint64(100000000000)
	// DefaultMaxSupply is the upper bound to enforce on supply for markers.
	DefaultMaxSupply = "100000000000000000000"
	// DefaultUnrestrictedDenomRegex is a regex that denoms created by normal requests must pass.
	DefaultUnrestrictedDenomRegex = `[a-zA-Z][a-zA-Z0-9\-\.]{2,83}`
)
View Source
const (
	// ProposalTypeIncreaseSupply to mint coins
	ProposalTypeIncreaseSupply string = "IncreaseSupply"
	// ProposalTypeDecreaseSupply to burn coins
	ProposalTypeDecreaseSupply string = "DecreaseSupply"
	// ProposalTypeSetAdministrator to set permissions for an account address on marker account
	ProposalTypeSetAdministrator string = "SetAdministrator"
	// ProposalTypeRemoveAdministrator to remove an existing address and all permissions from marker account
	ProposalTypeRemoveAdministrator string = "RemoveAdministrator"
	// ProposalTypeChangeStatus to transition the status of a marker account.
	ProposalTypeChangeStatus string = "ChangeStatus"
	// ProposalTypeWithdrawEscrow is a proposal to withdraw coins from marker escrow and transfer to a specified account
	ProposalTypeWithdrawEscrow string = "WithdrawEscrow"
	// ProposalTypeSetDenomMetadata is a proposal to set denom metatdata.
	ProposalTypeSetDenomMetadata string = "SetDenomMetadata"
)
View Source
const (
	QueryMarkers      = "all" // all instead of markers to prevent uri stuttering  in '/custom/marker/all'
	QueryMarker       = "detail"
	QueryHolders      = "holders"
	QueryMarkerSupply = "supply"
	QueryMarkerEscrow = "escrow"
	QueryMarkerAccess = "accesscontrol"
	QueryMarkerAssets = "assets"
)
View Source
const (
	UsdDenom = "usd"
)

Variables

View Source
var (
	ErrInvalidLengthAccessgrant        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccessgrant          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccessgrant = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthAuthz        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAuthz          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAuthz = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrEmptyAccessGrantAddress = cerrs.Register(ModuleName, 2, "access grant address is empty")
	ErrAccessTypeInvalid       = cerrs.Register(ModuleName, 3, "invalid access type")
	ErrDuplicateAccessEntry    = cerrs.Register(ModuleName, 4, "access list contains duplicate entry")
	ErrInvalidMarkerStatus     = cerrs.Register(ModuleName, 5, "invalid marker status")
	ErrAccessTypeNotGranted    = cerrs.Register(ModuleName, 6, "access type not granted")
	ErrMarkerNotFound          = cerrs.Register(ModuleName, 7, "marker not found")
	ErrDuplicateEntry          = cerrs.Register(ModuleName, 8, "duplicate entry")
)

x/marker module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// MarkerStoreKeyPrefix prefix for marker-address reference (improves iterator performance over auth accounts)
	MarkerStoreKeyPrefix = []byte{0x02}

	// DenySendKeyPrefix prefix for adding addresses that are denied send functionality on restricted markers
	DenySendKeyPrefix = []byte{0x03}

	// NetAssetValuePrefix prefix for net asset values of markers
	NetAssetValuePrefix = []byte{0x04}
)
View Source
var (
	ErrInvalidLengthMarker        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMarker          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMarker = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// ParamStoreKeyEnableGovernance indicates if governance proposal management of markers is enabled
	ParamStoreKeyEnableGovernance = []byte("EnableGovernance")
	// ParamStoreKeyMaxTotalSupply is deprecated.
	ParamStoreKeyMaxTotalSupply = []byte("MaxTotalSupply")
	// ParamStoreKeyMaxSupply is maximum supply to allow a marker to create
	ParamStoreKeyMaxSupply = []byte("MaxSupply")
	// ParamStoreKeyUnrestrictedDenomRegex is the validation regex for validating denoms supplied by users.
	ParamStoreKeyUnrestrictedDenomRegex = []byte("UnrestrictedDenomRegex")
)
View Source
var (
	ErrInvalidLengthProposals        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProposals          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProposals = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// SIPrefixSymbol is used to look up the symbol for a SIPrefix enum entry.
	SIPrefixSymbol = map[SIPrefix]string{
		SI_PREFIX_NONE: "",

		SI_PREFIX_DEKA:  "da",
		SI_PREFIX_HECTO: "h",
		SI_PREFIX_KILO:  "k",
		SI_PREFIX_MEGA:  "M",
		SI_PREFIX_GIGA:  "G",
		SI_PREFIX_TERA:  "T",
		SI_PREFIX_PETA:  "P",
		SI_PREFIX_EXA:   "E",
		SI_PREFIX_ZETTA: "Z",
		SI_PREFIX_YOTTA: "Y",

		SI_PREFIX_DECI:  "d",
		SI_PREFIX_CENTI: "c",
		SI_PREFIX_MILLI: "m",
		SI_PREFIX_MICRO: "µ",
		SI_PREFIX_NANO:  "n",
		SI_PREFIX_PICO:  "p",
		SI_PREFIX_FEMTO: "f",
		SI_PREFIX_ATTO:  "a",
		SI_PREFIX_ZEPTO: "z",
		SI_PREFIX_YOCTO: "y",
	}

	// SIPrefixSymbolMap is used to look up the SIPrefix enum entry for a symbol.
	// Some SIPrefix values might appear more than once in this map, e.g. "u" and "µ" are both for SI_PREFIX_MICRO.
	SIPrefixSymbolMap map[string]SIPrefix

	// SIPrefixName is used to look up the name for a SIPrefix enum entry.
	// The values are all lower-case.
	SIPrefixName map[SIPrefix]string

	// SIPrefixSymbolMap is used to look up the SIPrefix enum entry for a name.
	// The keys are all lower-case.
	// Some SIPrefix values might appear more than once in this map, e.g. "" and "none" are both for SI_PREFIX_NONE.
	SIPrefixNameMap map[string]SIPrefix
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var Access_name = map[int32]string{
	0: "ACCESS_UNSPECIFIED",
	1: "ACCESS_MINT",
	2: "ACCESS_BURN",
	3: "ACCESS_DEPOSIT",
	4: "ACCESS_WITHDRAW",
	5: "ACCESS_DELETE",
	6: "ACCESS_ADMIN",
	7: "ACCESS_TRANSFER",
	8: "ACCESS_FORCE_TRANSFER",
}
View Source
var Access_value = map[string]int32{
	"ACCESS_UNSPECIFIED":    0,
	"ACCESS_MINT":           1,
	"ACCESS_BURN":           2,
	"ACCESS_DEPOSIT":        3,
	"ACCESS_WITHDRAW":       4,
	"ACCESS_DELETE":         5,
	"ACCESS_ADMIN":          6,
	"ACCESS_TRANSFER":       7,
	"ACCESS_FORCE_TRANSFER": 8,
}
View Source
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",
}
View Source
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,
}
View Source
var MarkerType_name = map[int32]string{
	0: "MARKER_TYPE_UNSPECIFIED",
	1: "MARKER_TYPE_COIN",
	2: "MARKER_TYPE_RESTRICTED",
}
View Source
var MarkerType_value = map[string]int32{
	"MARKER_TYPE_UNSPECIFIED": 0,
	"MARKER_TYPE_COIN":        1,
	"MARKER_TYPE_RESTRICTED":  2,
}
View Source
var (
	// ModuleCdc references the global x/account module codec. Note, the codec should
	// ONLY be used in certain instances of tests and for JSON encoding as Amino is
	// still used for that purpose.
	//
	// The actual codec used for serialization should be provided to x/account and
	// defined at the application level.
	ModuleCdc = codec.NewProtoCodec(types.NewInterfaceRegistry())
)
View Source
var SIPrefix_name = map[int32]string{
	0:   "SI_PREFIX_NONE",
	1:   "SI_PREFIX_DEKA",
	2:   "SI_PREFIX_HECTO",
	3:   "SI_PREFIX_KILO",
	6:   "SI_PREFIX_MEGA",
	9:   "SI_PREFIX_GIGA",
	12:  "SI_PREFIX_TERA",
	15:  "SI_PREFIX_PETA",
	18:  "SI_PREFIX_EXA",
	21:  "SI_PREFIX_ZETTA",
	24:  "SI_PREFIX_YOTTA",
	-1:  "SI_PREFIX_DECI",
	-2:  "SI_PREFIX_CENTI",
	-3:  "SI_PREFIX_MILLI",
	-6:  "SI_PREFIX_MICRO",
	-9:  "SI_PREFIX_NANO",
	-12: "SI_PREFIX_PICO",
	-15: "SI_PREFIX_FEMTO",
	-18: "SI_PREFIX_ATTO",
	-21: "SI_PREFIX_ZEPTO",
	-24: "SI_PREFIX_YOCTO",
}
View Source
var SIPrefix_value = map[string]int32{
	"SI_PREFIX_NONE":  0,
	"SI_PREFIX_DEKA":  1,
	"SI_PREFIX_HECTO": 2,
	"SI_PREFIX_KILO":  3,
	"SI_PREFIX_MEGA":  6,
	"SI_PREFIX_GIGA":  9,
	"SI_PREFIX_TERA":  12,
	"SI_PREFIX_PETA":  15,
	"SI_PREFIX_EXA":   18,
	"SI_PREFIX_ZETTA": 21,
	"SI_PREFIX_YOTTA": 24,
	"SI_PREFIX_DECI":  -1,
	"SI_PREFIX_CENTI": -2,
	"SI_PREFIX_MILLI": -3,
	"SI_PREFIX_MICRO": -6,
	"SI_PREFIX_NANO":  -9,
	"SI_PREFIX_PICO":  -12,
	"SI_PREFIX_FEMTO": -15,
	"SI_PREFIX_ATTO":  -18,
	"SI_PREFIX_ZEPTO": -21,
	"SI_PREFIX_YOCTO": -24,
}

Functions

func AddToRequiredAttributes added in v1.16.0

func AddToRequiredAttributes(currentAttrs []string, addAttrs []string) ([]string, error)

AddToRequiredAttributes add new attributes to current list, errors if attribute already exists

func DenySendKey added in v1.17.0

func DenySendKey(markerAddr sdk.AccAddress, denyAddr sdk.AccAddress) []byte

DenySendKey returns a key [prefix][denom addr][deny addr] for send deny list for restricted markers

func DenySendMarkerPrefix added in v1.18.0

func DenySendMarkerPrefix(markerAddr sdk.AccAddress) []byte

DenySendMarkerPrefix returns an extended prefix [prefix][denom addr] for send deny list for restricted markers

func GetDenySendAddresses added in v1.17.0

func GetDenySendAddresses(key []byte) (markerAddr sdk.AccAddress, denyAddr sdk.AccAddress)

GetDenySendAddresses returns marker and denied send sdk.AccAddress's from DenySendKey

func GetMarkerFromNetAssetValueKey added in v1.18.0

func GetMarkerFromNetAssetValueKey(key []byte) sdk.AccAddress

GetMarkerFromNetAssetValueKey returns the marker address in the NetAssetValue key.

func GetRootCoinName added in v1.0.0

func GetRootCoinName(md banktypes.Metadata) string

GetRootCoinName gathers all the names (Denom or Alias) and tries to find a common root name for them all. An empty string indicates that there is no common root among all the names.

func GetTransferAgent added in v1.18.0

func GetTransferAgent(ctx sdk.Context) sdk.AccAddress

GetTransferAgent gets the marker transfer agent from the provided context.

func HasBypass added in v1.16.0

func HasBypass(ctx sdk.Context) bool

HasBypass checks the context to see if the marker bank send restriction should be skipped.

func MarkerAddress

func MarkerAddress(denom string) (sdk.AccAddress, error)

MarkerAddress returns the module account address for the given denomination

func MarkerStoreKey

func MarkerStoreKey(addr sdk.AccAddress) []byte

MarkerStoreKey turn an address to key used to get it from the account store

func MustGetMarkerAddress

func MustGetMarkerAddress(denom string) sdk.AccAddress

MustGetMarkerAddress returns the module account address for the given denomination, panics on error

func NetAssetValueKey added in v1.17.0

func NetAssetValueKey(markerAddr sdk.AccAddress, denom string) []byte

NetAssetValueKey returns key [prefix][marker address][asset denom value] for marker net asset value by value denom

func NetAssetValueKeyPrefix added in v1.17.0

func NetAssetValueKeyPrefix(markerAddr sdk.AccAddress) []byte

NetAssetValueKey returns key [prefix][marker address] for marker net asset values

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for marker module

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers implementations for the tx messages

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RemoveFromRequiredAttributes added in v1.16.0

func RemoveFromRequiredAttributes(currentAttrs []string, removeAttrs []string) ([]string, error)

RemoveFromRequiredAttributes remove attributes from current list, errors if attribute does not exists

func SplitMarkerStoreKey

func SplitMarkerStoreKey(key []byte) sdk.AccAddress

SplitMarkerStoreKey returns an account address given a store key, uses the length prefix to determine length of AccAddress

func StringToBigInt added in v1.17.0

func StringToBigInt(val string) math.Int

func ValidMarkerStatus

func ValidMarkerStatus(markerStatus MarkerStatus) bool

ValidMarkerStatus returns true if the marker status is valid and false otherwise.

func ValidateDenomMetadataBasic added in v1.0.0

func ValidateDenomMetadataBasic(md banktypes.Metadata) error

ValidateDenomMetadataBasic performs validation of the denom metadata fields. It checks that:

  • Base and Display denominations are valid coin denominations
  • Base and Display denominations are present in the DenomUnit slice
  • The first denomination unit entry is the Base denomination and has Exponent 0
  • Denomination units are sorted in ascending order by Exponent
  • Description is no more than 200 characters.
  • All Denomination unit Denom and Alias strings contain the same root name.
  • That root name is a valid coin denomination.
  • All Denomination unit Denom and Alias strings are valid coin denominations
  • All Denomination unit Denom and Alias strings are a SI prefix + the root name (or just the root name).
  • All Denomination unit Denom and Alias strings are unique.
  • All Denomination unit Aliases have the same SI prefix as their Denom (but maybe different forms, e.g. name vs symbol)
  • All Denomination unit Exponents are {SI prefix exponent of the Denom} - {SI prefix exponent of the base}.

func ValidateGrants

func ValidateGrants(grants ...AccessGrant) error

ValidateGrants checks a collection of grants and returns any errors encountered or nil

func ValidateGrantsForMarkerType added in v1.7.0

func ValidateGrantsForMarkerType(markerType MarkerType, grants ...AccessGrant) error

ValidateGrantsForMarkerType checks a collection of grants and returns any errors encountered or nil

func ValidateIbcDenom added in v1.14.0

func ValidateIbcDenom(ma MarkerAccount) error

ValidateIbcDenom if denom is ibc it that validates supply is not fixed and Mint/Burn is not allowed

func ValidateRequiredAttributes added in v1.15.0

func ValidateRequiredAttributes(requiredAttributes []string) error

ValidateRequiredAttributes checks that required attributes are of the correct format

func WithBypass added in v1.16.0

func WithBypass(ctx sdk.Context) sdk.Context

WithBypass returns a new context that will cause the marker bank send restriction to be skipped.

func WithTransferAgent added in v1.18.0

func WithTransferAgent(ctx sdk.Context, transferAgent sdk.AccAddress) sdk.Context

WithTransferAgent returns a new context that contains the provided marker transfer agent.

func WithoutBypass added in v1.16.0

func WithoutBypass(ctx sdk.Context) sdk.Context

WithoutBypass returns a new context that will cause the marker bank send restriction to not be skipped.

func WithoutTransferAgent added in v1.18.0

func WithoutTransferAgent(ctx sdk.Context) sdk.Context

WithoutTransferAgent returns a new context with a nil marker transfer agent.

Types

type Access

type Access int32

Access defines the different types of permissions that a marker supports granting to an address.

const (
	// ACCESS_UNSPECIFIED defines a no-op vote option.
	Access_Unknown Access = 0
	// ACCESS_MINT is the ability to increase the supply of a marker.
	Access_Mint Access = 1
	// ACCESS_BURN is the ability to decrease the supply of the marker using coin held by the marker.
	Access_Burn Access = 2
	// ACCESS_DEPOSIT is the ability to transfer funds from another account to this marker account
	// or to set a reference to this marker in the metadata/scopes module.
	Access_Deposit Access = 3
	// ACCESS_WITHDRAW is the ability to transfer funds from this marker account to another account
	// or to remove a reference to this marker in the metadata/scopes module.
	Access_Withdraw Access = 4
	// ACCESS_DELETE is the ability to move a proposed, finalized or active marker into the cancelled state.
	// This access also allows cancelled markers to be marked for deletion.
	Access_Delete Access = 5
	// ACCESS_ADMIN is the ability to add access grants for accounts to the list of marker permissions.
	// This access also gives the ability to update the marker's denom metadata.
	Access_Admin Access = 6
	// ACCESS_TRANSFER is the ability to manage transfer settings and broker transfers of the marker.
	// Accounts with this access can:
	//  - Update the marker's required attributes.
	//  - Update the send-deny list.
	//  - Use the transfer or bank send endpoints to move marker funds out of their own account.
	// This access right is only supported on RESTRICTED markers.
	Access_Transfer Access = 7
	// ACCESS_FORCE_TRANSFER is the ability to transfer restricted coins from a 3rd-party account without their signature.
	// This access right is only supported on RESTRICTED markers and only has meaning when allow_forced_transfer is true.
	Access_ForceTransfer Access = 8
)

func AccessByName

func AccessByName(name string) Access

AccessByName returns the Access value given a name of the access type. Normalizes input with proper ACCESS_ prefix and case of name.

func (Access) EnumDescriptor

func (Access) EnumDescriptor() ([]byte, []int)

func (Access) IsOneOf added in v1.7.0

func (right Access) IsOneOf(rights ...Access) bool

IsOneOf returns true if the specified Access right is any of the provided options.

func (Access) String

func (x Access) String() string

type AccessGrant

type AccessGrant struct {
	Address     string     `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Permissions AccessList `` /* 140-byte string literal not displayed */
}

AccessGrant associates a collection of permissions with an address for delegated marker account control.

func GrantsForAddress

func GrantsForAddress(account sdk.AccAddress, grants ...AccessGrant) AccessGrant

GrantsForAddress return

func NewAccessGrant

func NewAccessGrant(address sdk.AccAddress, access AccessList) *AccessGrant

NewAccessGrant creates a new AccessGrant object

func (*AccessGrant) AddAccess

func (ag *AccessGrant) AddAccess(access Access) error

AddAccess adds the specified access type to the current access grant

func (*AccessGrant) Descriptor

func (*AccessGrant) Descriptor() ([]byte, []int)

func (*AccessGrant) Equal

func (this *AccessGrant) Equal(that interface{}) bool

func (AccessGrant) GetAccessList

func (ag AccessGrant) GetAccessList() AccessList

GetAccessList returns the current list of access this grant holds

func (AccessGrant) GetAddress

func (ag AccessGrant) GetAddress() sdk.AccAddress

GetAddress returns the account address the access grant belongs to

func (AccessGrant) HasAccess

func (ag AccessGrant) HasAccess(access Access) bool

HasAccess returns true if the current grant contains the specified access type

func (*AccessGrant) Marshal

func (m *AccessGrant) Marshal() (dAtA []byte, err error)

func (*AccessGrant) MarshalTo

func (m *AccessGrant) MarshalTo(dAtA []byte) (int, error)

func (*AccessGrant) MarshalToSizedBuffer

func (m *AccessGrant) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AccessGrant) MergeAdd

func (ag *AccessGrant) MergeAdd(other AccessGrant) error

MergeAdd looks for any missing permissions in the given grant and adds them to this instance.

func (*AccessGrant) MergeRemove

func (ag *AccessGrant) MergeRemove(other AccessGrant) error

MergeRemove looks for permissions in this instance that exist in the given grant and removes them.

func (*AccessGrant) ProtoMessage

func (*AccessGrant) ProtoMessage()

func (*AccessGrant) RemoveAccess

func (ag *AccessGrant) RemoveAccess(access Access) error

RemoveAccess removes the specified access type from the current access grant

func (*AccessGrant) Reset

func (m *AccessGrant) Reset()

func (*AccessGrant) Size

func (m *AccessGrant) Size() (n int)

func (AccessGrant) String

func (ag AccessGrant) String() string

String implements stringer

func (*AccessGrant) Unmarshal

func (m *AccessGrant) Unmarshal(dAtA []byte) error

func (AccessGrant) Validate

func (ag AccessGrant) Validate() error

Validate performs checks to ensure this acccess grant is properly formed.

func (*AccessGrant) XXX_DiscardUnknown

func (m *AccessGrant) XXX_DiscardUnknown()

func (*AccessGrant) XXX_Marshal

func (m *AccessGrant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AccessGrant) XXX_Merge

func (m *AccessGrant) XXX_Merge(src proto.Message)

func (*AccessGrant) XXX_Size

func (m *AccessGrant) XXX_Size() int

func (*AccessGrant) XXX_Unmarshal

func (m *AccessGrant) XXX_Unmarshal(b []byte) error

type AccessGrantI

type AccessGrantI interface {
	proto.Message
	Validate() error
	GetAddress() sdk.AccAddress

	HasAccess(Access) bool
	GetAccessList() []Access

	AddAccess(Access) error
	RemoveAccess(Access) error

	MergeAdd(AccessGrant) error
	MergeRemove(AccessGrant) error
}

AccessGrantI defines an interface for interacting with roles assigned to a given address.

type AccessList

type AccessList = []Access

AccessList is an array of access permissions

func AccessListByNames

func AccessListByNames(names string) AccessList

AccessListByNames takes a comma separate list of names and returns an AccessList for the values

type AccountKeeper

type AccountKeeper interface {
	GetAllAccounts(ctx sdk.Context) (accounts []authtypes.AccountI)
	GetNextAccountNumber(ctx sdk.Context) uint64
	GetAccount(sdk.Context, sdk.AccAddress) authtypes.AccountI
	SetAccount(sdk.Context, authtypes.AccountI)
	NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI
	RemoveAccount(ctx sdk.Context, acc authtypes.AccountI)
}

AccountKeeper defines the auth/account functionality needed by the marker keeper.

type AddMarkerProposal deprecated added in v0.2.1

type AddMarkerProposal struct {
	Title                  string                                  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description            string                                  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Amount                 github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	Manager                string                                  `protobuf:"bytes,4,opt,name=manager,proto3" json:"manager,omitempty"`
	Status                 MarkerStatus                            `protobuf:"varint,5,opt,name=status,proto3,enum=provenance.marker.v1.MarkerStatus" json:"status,omitempty"`
	MarkerType             MarkerType                              `` /* 129-byte string literal not displayed */
	AccessList             []AccessGrant                           `protobuf:"bytes,7,rep,name=access_list,json=accessList,proto3" json:"access_list"`
	SupplyFixed            bool                                    `protobuf:"varint,8,opt,name=supply_fixed,json=supplyFixed,proto3" json:"supply_fixed,omitempty"`
	AllowGovernanceControl bool                                    `` /* 130-byte string literal not displayed */
}

AddMarkerProposal is deprecated and can no longer be used. Deprecated: This message is no longer usable. It is only still included for backwards compatibility (e.g. looking up old governance proposals). It is replaced by providing a MsgAddMarkerRequest in a governance proposal.

Deprecated: Do not use.

func (*AddMarkerProposal) Descriptor added in v0.2.1

func (*AddMarkerProposal) Descriptor() ([]byte, []int)

func (*AddMarkerProposal) Equal added in v0.2.1

func (this *AddMarkerProposal) Equal(that interface{}) bool

func (*AddMarkerProposal) GetAccessList added in v0.2.1

func (m *AddMarkerProposal) GetAccessList() []AccessGrant

func (*AddMarkerProposal) GetAllowGovernanceControl added in v0.2.1

func (m *AddMarkerProposal) GetAllowGovernanceControl() bool

func (*AddMarkerProposal) GetDescription added in v0.2.1

func (m *AddMarkerProposal) GetDescription() string

func (*AddMarkerProposal) GetManager added in v0.2.1

func (m *AddMarkerProposal) GetManager() string

func (*AddMarkerProposal) GetMarkerType added in v0.2.1

func (m *AddMarkerProposal) GetMarkerType() MarkerType

func (*AddMarkerProposal) GetStatus added in v0.2.1

func (m *AddMarkerProposal) GetStatus() MarkerStatus

func (*AddMarkerProposal) GetSupplyFixed added in v0.2.1

func (m *AddMarkerProposal) GetSupplyFixed() bool

func (*AddMarkerProposal) GetTitle added in v0.2.1

func (m *AddMarkerProposal) GetTitle() string

func (*AddMarkerProposal) Marshal added in v0.2.1

func (m *AddMarkerProposal) Marshal() (dAtA []byte, err error)

func (*AddMarkerProposal) MarshalTo added in v0.2.1

func (m *AddMarkerProposal) MarshalTo(dAtA []byte) (int, error)

func (*AddMarkerProposal) MarshalToSizedBuffer added in v0.2.1

func (m *AddMarkerProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (AddMarkerProposal) ProposalRoute added in v0.2.1

func (p AddMarkerProposal) ProposalRoute() string

func (AddMarkerProposal) ProposalType added in v0.2.1

func (p AddMarkerProposal) ProposalType() string

func (*AddMarkerProposal) ProtoMessage added in v0.2.1

func (*AddMarkerProposal) ProtoMessage()

func (*AddMarkerProposal) Reset added in v0.2.1

func (m *AddMarkerProposal) Reset()

func (*AddMarkerProposal) Size added in v0.2.1

func (m *AddMarkerProposal) Size() (n int)

func (*AddMarkerProposal) String added in v0.2.1

func (m *AddMarkerProposal) String() string

func (*AddMarkerProposal) Unmarshal added in v0.2.1

func (m *AddMarkerProposal) Unmarshal(dAtA []byte) error

func (AddMarkerProposal) ValidateBasic added in v0.2.1

func (p AddMarkerProposal) ValidateBasic() error

func (*AddMarkerProposal) XXX_DiscardUnknown added in v0.2.1

func (m *AddMarkerProposal) XXX_DiscardUnknown()

func (*AddMarkerProposal) XXX_Marshal added in v0.2.1

func (m *AddMarkerProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddMarkerProposal) XXX_Merge added in v0.2.1

func (m *AddMarkerProposal) XXX_Merge(src proto.Message)

func (*AddMarkerProposal) XXX_Size added in v0.2.1

func (m *AddMarkerProposal) XXX_Size() int

func (*AddMarkerProposal) XXX_Unmarshal added in v0.2.1

func (m *AddMarkerProposal) XXX_Unmarshal(b []byte) error

type AttrKeeper added in v1.16.0

type AttrKeeper interface {
	GetMaxValueLength(ctx sdk.Context) uint32
	GetAllAttributesAddr(ctx sdk.Context, addr []byte) ([]attrtypes.Attribute, error)
	GetAccountData(ctx sdk.Context, addr string) (string, error)
	SetAccountData(ctx sdk.Context, addr string, value string) error
}

AttrKeeper defines the attribute functionality needed by the marker module.

type AuthzKeeper added in v1.16.0

type AuthzKeeper interface {
	GetAuthorization(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) (authz.Authorization, *time.Time)
	DeleteGrant(ctx sdk.Context, grantee sdk.AccAddress, granter sdk.AccAddress, msgType string) error
	SaveGrant(ctx sdk.Context, grantee, granter sdk.AccAddress, authorization authz.Authorization, expiration *time.Time) error
}

AuthzKeeper defines the authz functionality needed by the marker keeper.

type Balance

type Balance struct {
	// address is the address of the balance holder.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// coins defines the different coins this balance holds.
	Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

Balance defines an account address and balance pair used in queries for accounts holding a marker

func (*Balance) Descriptor

func (*Balance) Descriptor() ([]byte, []int)

func (*Balance) Marshal

func (m *Balance) Marshal() (dAtA []byte, err error)

func (*Balance) MarshalTo

func (m *Balance) MarshalTo(dAtA []byte) (int, error)

func (*Balance) MarshalToSizedBuffer

func (m *Balance) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Balance) ProtoMessage

func (*Balance) ProtoMessage()

func (*Balance) Reset

func (m *Balance) Reset()

func (*Balance) Size

func (m *Balance) Size() (n int)

func (*Balance) String

func (m *Balance) String() string

func (*Balance) Unmarshal

func (m *Balance) Unmarshal(dAtA []byte) error

func (*Balance) XXX_DiscardUnknown

func (m *Balance) XXX_DiscardUnknown()

func (*Balance) XXX_Marshal

func (m *Balance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Balance) XXX_Merge

func (m *Balance) XXX_Merge(src proto.Message)

func (*Balance) XXX_Size

func (m *Balance) XXX_Size() int

func (*Balance) XXX_Unmarshal

func (m *Balance) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	GetAllBalances(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	GetSupply(ctx sdk.Context, denom string) sdk.Coin
	DenomOwners(goCtx context.Context, req *banktypes.QueryDenomOwnersRequest) (*banktypes.QueryDenomOwnersResponse, error)

	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error

	AppendSendRestriction(restriction banktypes.SendRestrictionFn)
	BlockedAddr(addr sdk.AccAddress) bool

	GetDenomMetaData(ctx sdk.Context, denom string) (banktypes.Metadata, bool)
	SetDenomMetaData(ctx sdk.Context, denomMetaData banktypes.Metadata)

	// IterateAllBalances only used in GetAllMarkerHolders used by the unneeded querier.
	// The Holding query just uses the DenomOwners query endpoint.
	IterateAllBalances(ctx sdk.Context, cb func(address sdk.AccAddress, coin sdk.Coin) (stop bool))
	// GetAllSendEnabledEntries only needed by RemoveIsSendEnabledEntries in the quicksilver upgrade.
	GetAllSendEnabledEntries(ctx sdk.Context) []banktypes.SendEnabled
	// DeleteSendEnabled only needed by RemoveIsSendEnabledEntries in the quicksilver upgrade.
	DeleteSendEnabled(ctx sdk.Context, denom string)
}

BankKeeper defines the bank functionality needed by the marker module.

type ChangeStatusProposal

type ChangeStatusProposal struct {
	Title       string       `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string       `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Denom       string       `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	NewStatus   MarkerStatus `` /* 128-byte string literal not displayed */
}

ChangeStatusProposal defines a governance proposal to administer a marker to change its status

func NewChangeStatusProposal

func NewChangeStatusProposal(title, description, denom string, status MarkerStatus) *ChangeStatusProposal

func (*ChangeStatusProposal) Descriptor

func (*ChangeStatusProposal) Descriptor() ([]byte, []int)

func (*ChangeStatusProposal) Equal

func (this *ChangeStatusProposal) Equal(that interface{}) bool

func (*ChangeStatusProposal) GetDenom

func (m *ChangeStatusProposal) GetDenom() string

func (*ChangeStatusProposal) GetDescription

func (m *ChangeStatusProposal) GetDescription() string

func (*ChangeStatusProposal) GetNewStatus

func (m *ChangeStatusProposal) GetNewStatus() MarkerStatus

func (*ChangeStatusProposal) GetTitle

func (m *ChangeStatusProposal) GetTitle() string

func (*ChangeStatusProposal) Marshal

func (m *ChangeStatusProposal) Marshal() (dAtA []byte, err error)

func (*ChangeStatusProposal) MarshalTo

func (m *ChangeStatusProposal) MarshalTo(dAtA []byte) (int, error)

func (*ChangeStatusProposal) MarshalToSizedBuffer

func (m *ChangeStatusProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (ChangeStatusProposal) ProposalRoute

func (csp ChangeStatusProposal) ProposalRoute() string

func (ChangeStatusProposal) ProposalType

func (csp ChangeStatusProposal) ProposalType() string

func (*ChangeStatusProposal) ProtoMessage

func (*ChangeStatusProposal) ProtoMessage()

func (*ChangeStatusProposal) Reset

func (m *ChangeStatusProposal) Reset()

func (*ChangeStatusProposal) Size

func (m *ChangeStatusProposal) Size() (n int)

func (ChangeStatusProposal) String

func (csp ChangeStatusProposal) String() string

func (*ChangeStatusProposal) Unmarshal

func (m *ChangeStatusProposal) Unmarshal(dAtA []byte) error

func (ChangeStatusProposal) ValidateBasic

func (csp ChangeStatusProposal) ValidateBasic() error

func (*ChangeStatusProposal) XXX_DiscardUnknown

func (m *ChangeStatusProposal) XXX_DiscardUnknown()

func (*ChangeStatusProposal) XXX_Marshal

func (m *ChangeStatusProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangeStatusProposal) XXX_Merge

func (m *ChangeStatusProposal) XXX_Merge(src proto.Message)

func (*ChangeStatusProposal) XXX_Size

func (m *ChangeStatusProposal) XXX_Size() int

func (*ChangeStatusProposal) XXX_Unmarshal

func (m *ChangeStatusProposal) XXX_Unmarshal(b []byte) error

type DenySendAddress added in v1.17.0

type DenySendAddress struct {
	// marker_address is the marker's address for denied address
	MarkerAddress string `protobuf:"bytes,1,opt,name=marker_address,json=markerAddress,proto3" json:"marker_address,omitempty"`
	// deny_address defines all wallet addresses that are denied sends for the marker
	DenyAddress string `protobuf:"bytes,2,opt,name=deny_address,json=denyAddress,proto3" json:"deny_address,omitempty"`
}

DenySendAddress defines addresses that are denied sends for marker denom

func (*DenySendAddress) Descriptor added in v1.17.0

func (*DenySendAddress) Descriptor() ([]byte, []int)

func (*DenySendAddress) Marshal added in v1.17.0

func (m *DenySendAddress) Marshal() (dAtA []byte, err error)

func (*DenySendAddress) MarshalTo added in v1.17.0

func (m *DenySendAddress) MarshalTo(dAtA []byte) (int, error)

func (*DenySendAddress) MarshalToSizedBuffer added in v1.17.0

func (m *DenySendAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DenySendAddress) ProtoMessage added in v1.17.0

func (*DenySendAddress) ProtoMessage()

func (*DenySendAddress) Reset added in v1.17.0

func (m *DenySendAddress) Reset()

func (*DenySendAddress) Size added in v1.17.0

func (m *DenySendAddress) Size() (n int)

func (*DenySendAddress) String added in v1.17.0

func (m *DenySendAddress) String() string

func (*DenySendAddress) Unmarshal added in v1.17.0

func (m *DenySendAddress) Unmarshal(dAtA []byte) error

func (*DenySendAddress) XXX_DiscardUnknown added in v1.17.0

func (m *DenySendAddress) XXX_DiscardUnknown()

func (*DenySendAddress) XXX_Marshal added in v1.17.0

func (m *DenySendAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DenySendAddress) XXX_Merge added in v1.17.0

func (m *DenySendAddress) XXX_Merge(src proto.Message)

func (*DenySendAddress) XXX_Size added in v1.17.0

func (m *DenySendAddress) XXX_Size() int

func (*DenySendAddress) XXX_Unmarshal added in v1.17.0

func (m *DenySendAddress) XXX_Unmarshal(b []byte) error

type EventDenomUnit added in v1.2.0

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"`
}

EventDenomUnit denom units for set denom metadata event

func (*EventDenomUnit) Descriptor added in v1.2.0

func (*EventDenomUnit) Descriptor() ([]byte, []int)

func (*EventDenomUnit) GetAliases added in v1.2.0

func (m *EventDenomUnit) GetAliases() []string

func (*EventDenomUnit) GetDenom added in v1.2.0

func (m *EventDenomUnit) GetDenom() string

func (*EventDenomUnit) GetExponent added in v1.2.0

func (m *EventDenomUnit) GetExponent() string

func (*EventDenomUnit) Marshal added in v1.2.0

func (m *EventDenomUnit) Marshal() (dAtA []byte, err error)

func (*EventDenomUnit) MarshalTo added in v1.2.0

func (m *EventDenomUnit) MarshalTo(dAtA []byte) (int, error)

func (*EventDenomUnit) MarshalToSizedBuffer added in v1.2.0

func (m *EventDenomUnit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventDenomUnit) ProtoMessage added in v1.2.0

func (*EventDenomUnit) ProtoMessage()

func (*EventDenomUnit) Reset added in v1.2.0

func (m *EventDenomUnit) Reset()

func (*EventDenomUnit) Size added in v1.2.0

func (m *EventDenomUnit) Size() (n int)

func (*EventDenomUnit) String added in v1.2.0

func (m *EventDenomUnit) String() string

func (*EventDenomUnit) Unmarshal added in v1.2.0

func (m *EventDenomUnit) Unmarshal(dAtA []byte) error

func (*EventDenomUnit) XXX_DiscardUnknown added in v1.2.0

func (m *EventDenomUnit) XXX_DiscardUnknown()

func (*EventDenomUnit) XXX_Marshal added in v1.2.0

func (m *EventDenomUnit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDenomUnit) XXX_Merge added in v1.2.0

func (m *EventDenomUnit) XXX_Merge(src proto.Message)

func (*EventDenomUnit) XXX_Size added in v1.2.0

func (m *EventDenomUnit) XXX_Size() int

func (*EventDenomUnit) XXX_Unmarshal added in v1.2.0

func (m *EventDenomUnit) XXX_Unmarshal(b []byte) error

type EventMarkerAccess added in v1.2.0

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"`
}

EventMarkerAccess event access permissions for address

func (*EventMarkerAccess) Descriptor added in v1.2.0

func (*EventMarkerAccess) Descriptor() ([]byte, []int)

func (*EventMarkerAccess) GetAddress added in v1.2.0

func (m *EventMarkerAccess) GetAddress() string

func (*EventMarkerAccess) GetPermissions added in v1.2.0

func (m *EventMarkerAccess) GetPermissions() []string

func (*EventMarkerAccess) Marshal added in v1.2.0

func (m *EventMarkerAccess) Marshal() (dAtA []byte, err error)

func (*EventMarkerAccess) MarshalTo added in v1.2.0

func (m *EventMarkerAccess) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerAccess) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerAccess) ProtoMessage added in v1.2.0

func (*EventMarkerAccess) ProtoMessage()

func (*EventMarkerAccess) Reset added in v1.2.0

func (m *EventMarkerAccess) Reset()

func (*EventMarkerAccess) Size added in v1.2.0

func (m *EventMarkerAccess) Size() (n int)

func (*EventMarkerAccess) String added in v1.2.0

func (m *EventMarkerAccess) String() string

func (*EventMarkerAccess) Unmarshal added in v1.2.0

func (m *EventMarkerAccess) Unmarshal(dAtA []byte) error

func (*EventMarkerAccess) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerAccess) XXX_DiscardUnknown()

func (*EventMarkerAccess) XXX_Marshal added in v1.2.0

func (m *EventMarkerAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerAccess) XXX_Merge added in v1.2.0

func (m *EventMarkerAccess) XXX_Merge(src proto.Message)

func (*EventMarkerAccess) XXX_Size added in v1.2.0

func (m *EventMarkerAccess) XXX_Size() int

func (*EventMarkerAccess) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerAccess) XXX_Unmarshal(b []byte) error

type EventMarkerActivate added in v1.2.0

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"`
}

EventMarkerActivate event emitted when marker is activated

func NewEventMarkerActivate added in v1.2.0

func NewEventMarkerActivate(denom string, administrator string) *EventMarkerActivate

func (*EventMarkerActivate) Descriptor added in v1.2.0

func (*EventMarkerActivate) Descriptor() ([]byte, []int)

func (*EventMarkerActivate) GetAdministrator added in v1.2.0

func (m *EventMarkerActivate) GetAdministrator() string

func (*EventMarkerActivate) GetDenom added in v1.2.0

func (m *EventMarkerActivate) GetDenom() string

func (*EventMarkerActivate) Marshal added in v1.2.0

func (m *EventMarkerActivate) Marshal() (dAtA []byte, err error)

func (*EventMarkerActivate) MarshalTo added in v1.2.0

func (m *EventMarkerActivate) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerActivate) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerActivate) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerActivate) ProtoMessage added in v1.2.0

func (*EventMarkerActivate) ProtoMessage()

func (*EventMarkerActivate) Reset added in v1.2.0

func (m *EventMarkerActivate) Reset()

func (*EventMarkerActivate) Size added in v1.2.0

func (m *EventMarkerActivate) Size() (n int)

func (*EventMarkerActivate) String added in v1.2.0

func (m *EventMarkerActivate) String() string

func (*EventMarkerActivate) Unmarshal added in v1.2.0

func (m *EventMarkerActivate) Unmarshal(dAtA []byte) error

func (*EventMarkerActivate) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerActivate) XXX_DiscardUnknown()

func (*EventMarkerActivate) XXX_Marshal added in v1.2.0

func (m *EventMarkerActivate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerActivate) XXX_Merge added in v1.2.0

func (m *EventMarkerActivate) XXX_Merge(src proto.Message)

func (*EventMarkerActivate) XXX_Size added in v1.2.0

func (m *EventMarkerActivate) XXX_Size() int

func (*EventMarkerActivate) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerActivate) XXX_Unmarshal(b []byte) error

type EventMarkerAdd added in v1.2.0

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"`
}

EventMarkerAdd event emitted when marker is added

func NewEventMarkerAdd added in v1.2.0

func NewEventMarkerAdd(denom string, address string, amount string, status string, manager string, markerType string) *EventMarkerAdd

func (*EventMarkerAdd) Descriptor added in v1.2.0

func (*EventMarkerAdd) Descriptor() ([]byte, []int)

func (*EventMarkerAdd) GetAddress added in v1.15.0

func (m *EventMarkerAdd) GetAddress() string

func (*EventMarkerAdd) GetAmount added in v1.2.0

func (m *EventMarkerAdd) GetAmount() string

func (*EventMarkerAdd) GetDenom added in v1.2.0

func (m *EventMarkerAdd) GetDenom() string

func (*EventMarkerAdd) GetManager added in v1.2.0

func (m *EventMarkerAdd) GetManager() string

func (*EventMarkerAdd) GetMarkerType added in v1.2.0

func (m *EventMarkerAdd) GetMarkerType() string

func (*EventMarkerAdd) GetStatus added in v1.2.0

func (m *EventMarkerAdd) GetStatus() string

func (*EventMarkerAdd) Marshal added in v1.2.0

func (m *EventMarkerAdd) Marshal() (dAtA []byte, err error)

func (*EventMarkerAdd) MarshalTo added in v1.2.0

func (m *EventMarkerAdd) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerAdd) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerAdd) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerAdd) ProtoMessage added in v1.2.0

func (*EventMarkerAdd) ProtoMessage()

func (*EventMarkerAdd) Reset added in v1.2.0

func (m *EventMarkerAdd) Reset()

func (*EventMarkerAdd) Size added in v1.2.0

func (m *EventMarkerAdd) Size() (n int)

func (*EventMarkerAdd) String added in v1.2.0

func (m *EventMarkerAdd) String() string

func (*EventMarkerAdd) Unmarshal added in v1.2.0

func (m *EventMarkerAdd) Unmarshal(dAtA []byte) error

func (*EventMarkerAdd) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerAdd) XXX_DiscardUnknown()

func (*EventMarkerAdd) XXX_Marshal added in v1.2.0

func (m *EventMarkerAdd) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerAdd) XXX_Merge added in v1.2.0

func (m *EventMarkerAdd) XXX_Merge(src proto.Message)

func (*EventMarkerAdd) XXX_Size added in v1.2.0

func (m *EventMarkerAdd) XXX_Size() int

func (*EventMarkerAdd) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerAdd) XXX_Unmarshal(b []byte) error

type EventMarkerAddAccess added in v1.2.0

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"`
}

EventMarkerAddAccess event emitted when marker access is added

func NewEventMarkerAddAccess added in v1.2.0

func NewEventMarkerAddAccess(accessGrant AccessGrantI, denom string, administrator string) *EventMarkerAddAccess

func (*EventMarkerAddAccess) Descriptor added in v1.2.0

func (*EventMarkerAddAccess) Descriptor() ([]byte, []int)

func (*EventMarkerAddAccess) GetAccess added in v1.2.0

func (m *EventMarkerAddAccess) GetAccess() EventMarkerAccess

func (*EventMarkerAddAccess) GetAdministrator added in v1.2.0

func (m *EventMarkerAddAccess) GetAdministrator() string

func (*EventMarkerAddAccess) GetDenom added in v1.2.0

func (m *EventMarkerAddAccess) GetDenom() string

func (*EventMarkerAddAccess) Marshal added in v1.2.0

func (m *EventMarkerAddAccess) Marshal() (dAtA []byte, err error)

func (*EventMarkerAddAccess) MarshalTo added in v1.2.0

func (m *EventMarkerAddAccess) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerAddAccess) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerAddAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerAddAccess) ProtoMessage added in v1.2.0

func (*EventMarkerAddAccess) ProtoMessage()

func (*EventMarkerAddAccess) Reset added in v1.2.0

func (m *EventMarkerAddAccess) Reset()

func (*EventMarkerAddAccess) Size added in v1.2.0

func (m *EventMarkerAddAccess) Size() (n int)

func (*EventMarkerAddAccess) String added in v1.2.0

func (m *EventMarkerAddAccess) String() string

func (*EventMarkerAddAccess) Unmarshal added in v1.2.0

func (m *EventMarkerAddAccess) Unmarshal(dAtA []byte) error

func (*EventMarkerAddAccess) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerAddAccess) XXX_DiscardUnknown()

func (*EventMarkerAddAccess) XXX_Marshal added in v1.2.0

func (m *EventMarkerAddAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerAddAccess) XXX_Merge added in v1.2.0

func (m *EventMarkerAddAccess) XXX_Merge(src proto.Message)

func (*EventMarkerAddAccess) XXX_Size added in v1.2.0

func (m *EventMarkerAddAccess) XXX_Size() int

func (*EventMarkerAddAccess) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerAddAccess) XXX_Unmarshal(b []byte) error

type EventMarkerBurn added in v1.2.0

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"`
}

EventMarkerBurn event emitted when coin is burned from marker

func NewEventMarkerBurn added in v1.2.0

func NewEventMarkerBurn(amount string, denom string, administrator string) *EventMarkerBurn

func (*EventMarkerBurn) Descriptor added in v1.2.0

func (*EventMarkerBurn) Descriptor() ([]byte, []int)

func (*EventMarkerBurn) GetAdministrator added in v1.2.0

func (m *EventMarkerBurn) GetAdministrator() string

func (*EventMarkerBurn) GetAmount added in v1.2.0

func (m *EventMarkerBurn) GetAmount() string

func (*EventMarkerBurn) GetDenom added in v1.2.0

func (m *EventMarkerBurn) GetDenom() string

func (*EventMarkerBurn) Marshal added in v1.2.0

func (m *EventMarkerBurn) Marshal() (dAtA []byte, err error)

func (*EventMarkerBurn) MarshalTo added in v1.2.0

func (m *EventMarkerBurn) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerBurn) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerBurn) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerBurn) ProtoMessage added in v1.2.0

func (*EventMarkerBurn) ProtoMessage()

func (*EventMarkerBurn) Reset added in v1.2.0

func (m *EventMarkerBurn) Reset()

func (*EventMarkerBurn) Size added in v1.2.0

func (m *EventMarkerBurn) Size() (n int)

func (*EventMarkerBurn) String added in v1.2.0

func (m *EventMarkerBurn) String() string

func (*EventMarkerBurn) Unmarshal added in v1.2.0

func (m *EventMarkerBurn) Unmarshal(dAtA []byte) error

func (*EventMarkerBurn) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerBurn) XXX_DiscardUnknown()

func (*EventMarkerBurn) XXX_Marshal added in v1.2.0

func (m *EventMarkerBurn) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerBurn) XXX_Merge added in v1.2.0

func (m *EventMarkerBurn) XXX_Merge(src proto.Message)

func (*EventMarkerBurn) XXX_Size added in v1.2.0

func (m *EventMarkerBurn) XXX_Size() int

func (*EventMarkerBurn) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerBurn) XXX_Unmarshal(b []byte) error

type EventMarkerCancel added in v1.2.0

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"`
}

EventMarkerCancel event emitted when marker is cancelled

func NewEventMarkerCancel added in v1.2.0

func NewEventMarkerCancel(denom string, administrator string) *EventMarkerCancel

func (*EventMarkerCancel) Descriptor added in v1.2.0

func (*EventMarkerCancel) Descriptor() ([]byte, []int)

func (*EventMarkerCancel) GetAdministrator added in v1.2.0

func (m *EventMarkerCancel) GetAdministrator() string

func (*EventMarkerCancel) GetDenom added in v1.2.0

func (m *EventMarkerCancel) GetDenom() string

func (*EventMarkerCancel) Marshal added in v1.2.0

func (m *EventMarkerCancel) Marshal() (dAtA []byte, err error)

func (*EventMarkerCancel) MarshalTo added in v1.2.0

func (m *EventMarkerCancel) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerCancel) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerCancel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerCancel) ProtoMessage added in v1.2.0

func (*EventMarkerCancel) ProtoMessage()

func (*EventMarkerCancel) Reset added in v1.2.0

func (m *EventMarkerCancel) Reset()

func (*EventMarkerCancel) Size added in v1.2.0

func (m *EventMarkerCancel) Size() (n int)

func (*EventMarkerCancel) String added in v1.2.0

func (m *EventMarkerCancel) String() string

func (*EventMarkerCancel) Unmarshal added in v1.2.0

func (m *EventMarkerCancel) Unmarshal(dAtA []byte) error

func (*EventMarkerCancel) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerCancel) XXX_DiscardUnknown()

func (*EventMarkerCancel) XXX_Marshal added in v1.2.0

func (m *EventMarkerCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerCancel) XXX_Merge added in v1.2.0

func (m *EventMarkerCancel) XXX_Merge(src proto.Message)

func (*EventMarkerCancel) XXX_Size added in v1.2.0

func (m *EventMarkerCancel) XXX_Size() int

func (*EventMarkerCancel) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerCancel) XXX_Unmarshal(b []byte) error

type EventMarkerDelete added in v1.2.0

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"`
}

EventMarkerDelete event emitted when marker is deleted

func NewEventMarkerDelete added in v1.2.0

func NewEventMarkerDelete(denom string, administrator string) *EventMarkerDelete

func (*EventMarkerDelete) Descriptor added in v1.2.0

func (*EventMarkerDelete) Descriptor() ([]byte, []int)

func (*EventMarkerDelete) GetAdministrator added in v1.2.0

func (m *EventMarkerDelete) GetAdministrator() string

func (*EventMarkerDelete) GetDenom added in v1.2.0

func (m *EventMarkerDelete) GetDenom() string

func (*EventMarkerDelete) Marshal added in v1.2.0

func (m *EventMarkerDelete) Marshal() (dAtA []byte, err error)

func (*EventMarkerDelete) MarshalTo added in v1.2.0

func (m *EventMarkerDelete) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerDelete) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerDelete) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerDelete) ProtoMessage added in v1.2.0

func (*EventMarkerDelete) ProtoMessage()

func (*EventMarkerDelete) Reset added in v1.2.0

func (m *EventMarkerDelete) Reset()

func (*EventMarkerDelete) Size added in v1.2.0

func (m *EventMarkerDelete) Size() (n int)

func (*EventMarkerDelete) String added in v1.2.0

func (m *EventMarkerDelete) String() string

func (*EventMarkerDelete) Unmarshal added in v1.2.0

func (m *EventMarkerDelete) Unmarshal(dAtA []byte) error

func (*EventMarkerDelete) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerDelete) XXX_DiscardUnknown()

func (*EventMarkerDelete) XXX_Marshal added in v1.2.0

func (m *EventMarkerDelete) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerDelete) XXX_Merge added in v1.2.0

func (m *EventMarkerDelete) XXX_Merge(src proto.Message)

func (*EventMarkerDelete) XXX_Size added in v1.2.0

func (m *EventMarkerDelete) XXX_Size() int

func (*EventMarkerDelete) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerDelete) XXX_Unmarshal(b []byte) error

type EventMarkerDeleteAccess added in v1.2.0

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"`
}

EventMarkerDeleteAccess event emitted when marker access is revoked

func NewEventMarkerDeleteAccess added in v1.2.0

func NewEventMarkerDeleteAccess(removeAddress string, denom string, administrator string) *EventMarkerDeleteAccess

func (*EventMarkerDeleteAccess) Descriptor added in v1.2.0

func (*EventMarkerDeleteAccess) Descriptor() ([]byte, []int)

func (*EventMarkerDeleteAccess) GetAdministrator added in v1.2.0

func (m *EventMarkerDeleteAccess) GetAdministrator() string

func (*EventMarkerDeleteAccess) GetDenom added in v1.2.0

func (m *EventMarkerDeleteAccess) GetDenom() string

func (*EventMarkerDeleteAccess) GetRemoveAddress added in v1.2.0

func (m *EventMarkerDeleteAccess) GetRemoveAddress() string

func (*EventMarkerDeleteAccess) Marshal added in v1.2.0

func (m *EventMarkerDeleteAccess) Marshal() (dAtA []byte, err error)

func (*EventMarkerDeleteAccess) MarshalTo added in v1.2.0

func (m *EventMarkerDeleteAccess) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerDeleteAccess) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerDeleteAccess) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerDeleteAccess) ProtoMessage added in v1.2.0

func (*EventMarkerDeleteAccess) ProtoMessage()

func (*EventMarkerDeleteAccess) Reset added in v1.2.0

func (m *EventMarkerDeleteAccess) Reset()

func (*EventMarkerDeleteAccess) Size added in v1.2.0

func (m *EventMarkerDeleteAccess) Size() (n int)

func (*EventMarkerDeleteAccess) String added in v1.2.0

func (m *EventMarkerDeleteAccess) String() string

func (*EventMarkerDeleteAccess) Unmarshal added in v1.2.0

func (m *EventMarkerDeleteAccess) Unmarshal(dAtA []byte) error

func (*EventMarkerDeleteAccess) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerDeleteAccess) XXX_DiscardUnknown()

func (*EventMarkerDeleteAccess) XXX_Marshal added in v1.2.0

func (m *EventMarkerDeleteAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerDeleteAccess) XXX_Merge added in v1.2.0

func (m *EventMarkerDeleteAccess) XXX_Merge(src proto.Message)

func (*EventMarkerDeleteAccess) XXX_Size added in v1.2.0

func (m *EventMarkerDeleteAccess) XXX_Size() int

func (*EventMarkerDeleteAccess) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerDeleteAccess) XXX_Unmarshal(b []byte) error

type EventMarkerFinalize added in v1.2.0

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"`
}

EventMarkerFinalize event emitted when marker is finalized

func NewEventMarkerFinalize added in v1.2.0

func NewEventMarkerFinalize(denom string, administrator string) *EventMarkerFinalize

func (*EventMarkerFinalize) Descriptor added in v1.2.0

func (*EventMarkerFinalize) Descriptor() ([]byte, []int)

func (*EventMarkerFinalize) GetAdministrator added in v1.2.0

func (m *EventMarkerFinalize) GetAdministrator() string

func (*EventMarkerFinalize) GetDenom added in v1.2.0

func (m *EventMarkerFinalize) GetDenom() string

func (*EventMarkerFinalize) Marshal added in v1.2.0

func (m *EventMarkerFinalize) Marshal() (dAtA []byte, err error)

func (*EventMarkerFinalize) MarshalTo added in v1.2.0

func (m *EventMarkerFinalize) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerFinalize) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerFinalize) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerFinalize) ProtoMessage added in v1.2.0

func (*EventMarkerFinalize) ProtoMessage()

func (*EventMarkerFinalize) Reset added in v1.2.0

func (m *EventMarkerFinalize) Reset()

func (*EventMarkerFinalize) Size added in v1.2.0

func (m *EventMarkerFinalize) Size() (n int)

func (*EventMarkerFinalize) String added in v1.2.0

func (m *EventMarkerFinalize) String() string

func (*EventMarkerFinalize) Unmarshal added in v1.2.0

func (m *EventMarkerFinalize) Unmarshal(dAtA []byte) error

func (*EventMarkerFinalize) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerFinalize) XXX_DiscardUnknown()

func (*EventMarkerFinalize) XXX_Marshal added in v1.2.0

func (m *EventMarkerFinalize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerFinalize) XXX_Merge added in v1.2.0

func (m *EventMarkerFinalize) XXX_Merge(src proto.Message)

func (*EventMarkerFinalize) XXX_Size added in v1.2.0

func (m *EventMarkerFinalize) XXX_Size() int

func (*EventMarkerFinalize) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerFinalize) XXX_Unmarshal(b []byte) error

type EventMarkerMint added in v1.2.0

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"`
}

EventMarkerMint event emitted when additional marker supply is minted

func NewEventMarkerMint added in v1.2.0

func NewEventMarkerMint(amount string, denom string, administrator string) *EventMarkerMint

func (*EventMarkerMint) Descriptor added in v1.2.0

func (*EventMarkerMint) Descriptor() ([]byte, []int)

func (*EventMarkerMint) GetAdministrator added in v1.2.0

func (m *EventMarkerMint) GetAdministrator() string

func (*EventMarkerMint) GetAmount added in v1.2.0

func (m *EventMarkerMint) GetAmount() string

func (*EventMarkerMint) GetDenom added in v1.2.0

func (m *EventMarkerMint) GetDenom() string

func (*EventMarkerMint) Marshal added in v1.2.0

func (m *EventMarkerMint) Marshal() (dAtA []byte, err error)

func (*EventMarkerMint) MarshalTo added in v1.2.0

func (m *EventMarkerMint) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerMint) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerMint) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerMint) ProtoMessage added in v1.2.0

func (*EventMarkerMint) ProtoMessage()

func (*EventMarkerMint) Reset added in v1.2.0

func (m *EventMarkerMint) Reset()

func (*EventMarkerMint) Size added in v1.2.0

func (m *EventMarkerMint) Size() (n int)

func (*EventMarkerMint) String added in v1.2.0

func (m *EventMarkerMint) String() string

func (*EventMarkerMint) Unmarshal added in v1.2.0

func (m *EventMarkerMint) Unmarshal(dAtA []byte) error

func (*EventMarkerMint) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerMint) XXX_DiscardUnknown()

func (*EventMarkerMint) XXX_Marshal added in v1.2.0

func (m *EventMarkerMint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerMint) XXX_Merge added in v1.2.0

func (m *EventMarkerMint) XXX_Merge(src proto.Message)

func (*EventMarkerMint) XXX_Size added in v1.2.0

func (m *EventMarkerMint) XXX_Size() int

func (*EventMarkerMint) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerMint) XXX_Unmarshal(b []byte) error

type EventMarkerSetDenomMetadata added in v1.2.0

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"`
}

EventMarkerSetDenomMetadata event emitted when metadata is set on marker with denom

func NewEventMarkerSetDenomMetadata added in v1.2.0

func NewEventMarkerSetDenomMetadata(metadata banktypes.Metadata, administrator string) *EventMarkerSetDenomMetadata

func (*EventMarkerSetDenomMetadata) Descriptor added in v1.2.0

func (*EventMarkerSetDenomMetadata) Descriptor() ([]byte, []int)

func (*EventMarkerSetDenomMetadata) GetAdministrator added in v1.2.0

func (m *EventMarkerSetDenomMetadata) GetAdministrator() string

func (*EventMarkerSetDenomMetadata) GetMetadataBase added in v1.2.0

func (m *EventMarkerSetDenomMetadata) GetMetadataBase() string

func (*EventMarkerSetDenomMetadata) GetMetadataDenomUnits added in v1.2.0

func (m *EventMarkerSetDenomMetadata) GetMetadataDenomUnits() []*EventDenomUnit

func (*EventMarkerSetDenomMetadata) GetMetadataDescription added in v1.2.0

func (m *EventMarkerSetDenomMetadata) GetMetadataDescription() string

func (*EventMarkerSetDenomMetadata) GetMetadataDisplay added in v1.2.0

func (m *EventMarkerSetDenomMetadata) GetMetadataDisplay() string

func (*EventMarkerSetDenomMetadata) GetMetadataName added in v1.7.0

func (m *EventMarkerSetDenomMetadata) GetMetadataName() string

func (*EventMarkerSetDenomMetadata) GetMetadataSymbol added in v1.7.0

func (m *EventMarkerSetDenomMetadata) GetMetadataSymbol() string

func (*EventMarkerSetDenomMetadata) Marshal added in v1.2.0

func (m *EventMarkerSetDenomMetadata) Marshal() (dAtA []byte, err error)

func (*EventMarkerSetDenomMetadata) MarshalTo added in v1.2.0

func (m *EventMarkerSetDenomMetadata) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerSetDenomMetadata) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerSetDenomMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerSetDenomMetadata) ProtoMessage added in v1.2.0

func (*EventMarkerSetDenomMetadata) ProtoMessage()

func (*EventMarkerSetDenomMetadata) Reset added in v1.2.0

func (m *EventMarkerSetDenomMetadata) Reset()

func (*EventMarkerSetDenomMetadata) Size added in v1.2.0

func (m *EventMarkerSetDenomMetadata) Size() (n int)

func (*EventMarkerSetDenomMetadata) String added in v1.2.0

func (m *EventMarkerSetDenomMetadata) String() string

func (*EventMarkerSetDenomMetadata) Unmarshal added in v1.2.0

func (m *EventMarkerSetDenomMetadata) Unmarshal(dAtA []byte) error

func (*EventMarkerSetDenomMetadata) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerSetDenomMetadata) XXX_DiscardUnknown()

func (*EventMarkerSetDenomMetadata) XXX_Marshal added in v1.2.0

func (m *EventMarkerSetDenomMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerSetDenomMetadata) XXX_Merge added in v1.2.0

func (m *EventMarkerSetDenomMetadata) XXX_Merge(src proto.Message)

func (*EventMarkerSetDenomMetadata) XXX_Size added in v1.2.0

func (m *EventMarkerSetDenomMetadata) XXX_Size() int

func (*EventMarkerSetDenomMetadata) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerSetDenomMetadata) XXX_Unmarshal(b []byte) error

type EventMarkerTransfer added in v1.2.0

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"`
}

EventMarkerTransfer event emitted when coins are transfered to from account to another

func NewEventMarkerIbcTransfer added in v1.13.0

func NewEventMarkerIbcTransfer(amount string, denom string, administrator string, fromAddress string) *EventMarkerTransfer

func NewEventMarkerTransfer added in v1.2.0

func NewEventMarkerTransfer(amount string, denom string, administrator string, toAddress string, fromAddress string) *EventMarkerTransfer

func (*EventMarkerTransfer) Descriptor added in v1.2.0

func (*EventMarkerTransfer) Descriptor() ([]byte, []int)

func (*EventMarkerTransfer) GetAdministrator added in v1.2.0

func (m *EventMarkerTransfer) GetAdministrator() string

func (*EventMarkerTransfer) GetAmount added in v1.2.0

func (m *EventMarkerTransfer) GetAmount() string

func (*EventMarkerTransfer) GetDenom added in v1.2.0

func (m *EventMarkerTransfer) GetDenom() string

func (*EventMarkerTransfer) GetFromAddress added in v1.2.0

func (m *EventMarkerTransfer) GetFromAddress() string

func (*EventMarkerTransfer) GetToAddress added in v1.2.0

func (m *EventMarkerTransfer) GetToAddress() string

func (*EventMarkerTransfer) Marshal added in v1.2.0

func (m *EventMarkerTransfer) Marshal() (dAtA []byte, err error)

func (*EventMarkerTransfer) MarshalTo added in v1.2.0

func (m *EventMarkerTransfer) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerTransfer) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerTransfer) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerTransfer) ProtoMessage added in v1.2.0

func (*EventMarkerTransfer) ProtoMessage()

func (*EventMarkerTransfer) Reset added in v1.2.0

func (m *EventMarkerTransfer) Reset()

func (*EventMarkerTransfer) Size added in v1.2.0

func (m *EventMarkerTransfer) Size() (n int)

func (*EventMarkerTransfer) String added in v1.2.0

func (m *EventMarkerTransfer) String() string

func (*EventMarkerTransfer) Unmarshal added in v1.2.0

func (m *EventMarkerTransfer) Unmarshal(dAtA []byte) error

func (*EventMarkerTransfer) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerTransfer) XXX_DiscardUnknown()

func (*EventMarkerTransfer) XXX_Marshal added in v1.2.0

func (m *EventMarkerTransfer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerTransfer) XXX_Merge added in v1.2.0

func (m *EventMarkerTransfer) XXX_Merge(src proto.Message)

func (*EventMarkerTransfer) XXX_Size added in v1.2.0

func (m *EventMarkerTransfer) XXX_Size() int

func (*EventMarkerTransfer) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerTransfer) XXX_Unmarshal(b []byte) error

type EventMarkerWithdraw added in v1.2.0

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"`
}

EventMarkerWithdraw event emitted when coins are withdrew from marker

func NewEventMarkerWithdraw added in v1.2.0

func NewEventMarkerWithdraw(coins string, denom string, administrator string, toAddress string) *EventMarkerWithdraw

func (*EventMarkerWithdraw) Descriptor added in v1.2.0

func (*EventMarkerWithdraw) Descriptor() ([]byte, []int)

func (*EventMarkerWithdraw) GetAdministrator added in v1.2.0

func (m *EventMarkerWithdraw) GetAdministrator() string

func (*EventMarkerWithdraw) GetCoins added in v1.2.0

func (m *EventMarkerWithdraw) GetCoins() string

func (*EventMarkerWithdraw) GetDenom added in v1.2.0

func (m *EventMarkerWithdraw) GetDenom() string

func (*EventMarkerWithdraw) GetToAddress added in v1.2.0

func (m *EventMarkerWithdraw) GetToAddress() string

func (*EventMarkerWithdraw) Marshal added in v1.2.0

func (m *EventMarkerWithdraw) Marshal() (dAtA []byte, err error)

func (*EventMarkerWithdraw) MarshalTo added in v1.2.0

func (m *EventMarkerWithdraw) MarshalTo(dAtA []byte) (int, error)

func (*EventMarkerWithdraw) MarshalToSizedBuffer added in v1.2.0

func (m *EventMarkerWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventMarkerWithdraw) ProtoMessage added in v1.2.0

func (*EventMarkerWithdraw) ProtoMessage()

func (*EventMarkerWithdraw) Reset added in v1.2.0

func (m *EventMarkerWithdraw) Reset()

func (*EventMarkerWithdraw) Size added in v1.2.0

func (m *EventMarkerWithdraw) Size() (n int)

func (*EventMarkerWithdraw) String added in v1.2.0

func (m *EventMarkerWithdraw) String() string

func (*EventMarkerWithdraw) Unmarshal added in v1.2.0

func (m *EventMarkerWithdraw) Unmarshal(dAtA []byte) error

func (*EventMarkerWithdraw) XXX_DiscardUnknown added in v1.2.0

func (m *EventMarkerWithdraw) XXX_DiscardUnknown()

func (*EventMarkerWithdraw) XXX_Marshal added in v1.2.0

func (m *EventMarkerWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventMarkerWithdraw) XXX_Merge added in v1.2.0

func (m *EventMarkerWithdraw) XXX_Merge(src proto.Message)

func (*EventMarkerWithdraw) XXX_Size added in v1.2.0

func (m *EventMarkerWithdraw) XXX_Size() int

func (*EventMarkerWithdraw) XXX_Unmarshal added in v1.2.0

func (m *EventMarkerWithdraw) XXX_Unmarshal(b []byte) error

type EventSetNetAssetValue added in v1.17.0

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"`
}

EventSetNetAssetValue event emitted when Net Asset Value for marker is update or added

func NewEventSetNetAssetValue added in v1.17.0

func NewEventSetNetAssetValue(denom string, price sdk.Coin, volume uint64, source string) *EventSetNetAssetValue

NewEventSetNetAssetValue returns a new instance of EventSetNetAssetValue

func (*EventSetNetAssetValue) Descriptor added in v1.17.0

func (*EventSetNetAssetValue) Descriptor() ([]byte, []int)

func (*EventSetNetAssetValue) GetDenom added in v1.17.0

func (m *EventSetNetAssetValue) GetDenom() string

func (*EventSetNetAssetValue) GetPrice added in v1.17.0

func (m *EventSetNetAssetValue) GetPrice() string

func (*EventSetNetAssetValue) GetSource added in v1.17.0

func (m *EventSetNetAssetValue) GetSource() string

func (*EventSetNetAssetValue) GetVolume added in v1.17.0

func (m *EventSetNetAssetValue) GetVolume() string

func (*EventSetNetAssetValue) Marshal added in v1.17.0

func (m *EventSetNetAssetValue) Marshal() (dAtA []byte, err error)

func (*EventSetNetAssetValue) MarshalTo added in v1.17.0

func (m *EventSetNetAssetValue) MarshalTo(dAtA []byte) (int, error)

func (*EventSetNetAssetValue) MarshalToSizedBuffer added in v1.17.0

func (m *EventSetNetAssetValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventSetNetAssetValue) ProtoMessage added in v1.17.0

func (*EventSetNetAssetValue) ProtoMessage()

func (*EventSetNetAssetValue) Reset added in v1.17.0

func (m *EventSetNetAssetValue) Reset()

func (*EventSetNetAssetValue) Size added in v1.17.0

func (m *EventSetNetAssetValue) Size() (n int)

func (*EventSetNetAssetValue) String added in v1.17.0

func (m *EventSetNetAssetValue) String() string

func (*EventSetNetAssetValue) Unmarshal added in v1.17.0

func (m *EventSetNetAssetValue) Unmarshal(dAtA []byte) error

func (*EventSetNetAssetValue) XXX_DiscardUnknown added in v1.17.0

func (m *EventSetNetAssetValue) XXX_DiscardUnknown()

func (*EventSetNetAssetValue) XXX_Marshal added in v1.17.0

func (m *EventSetNetAssetValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventSetNetAssetValue) XXX_Merge added in v1.17.0

func (m *EventSetNetAssetValue) XXX_Merge(src proto.Message)

func (*EventSetNetAssetValue) XXX_Size added in v1.17.0

func (m *EventSetNetAssetValue) XXX_Size() int

func (*EventSetNetAssetValue) XXX_Unmarshal added in v1.17.0

func (m *EventSetNetAssetValue) XXX_Unmarshal(b []byte) error

type FeeGrantKeeper added in v1.16.0

type FeeGrantKeeper interface {
	GrantAllowance(ctx sdk.Context, granter, grantee sdk.AccAddress, feeAllowance feegrant.FeeAllowanceI) error
}

FeeGrantKeeper defines the fee-grant functionality needed by the marker module.

type GenesisState

type GenesisState struct {
	// params defines all the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	// A collection of marker accounts to create on start
	Markers []MarkerAccount `protobuf:"bytes,2,rep,name=markers,proto3" json:"markers"`
	// list of marker net asset values
	NetAssetValues []MarkerNetAssetValues `protobuf:"bytes,3,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
	// list of denom based denied send addresses
	DenySendAddresses []DenySendAddress `protobuf:"bytes,4,rep,name=deny_send_addresses,json=denySendAddresses,proto3" json:"deny_send_addresses"`
}

GenesisState defines the account module's genesis state.

func DefaultGenesisState

func DefaultGenesisState() *GenesisState

DefaultGenesisState returns the initial module genesis state.

func GetGenesisStateFromAppState

func GetGenesisStateFromAppState(cdc codec.Codec, appState map[string]json.RawMessage) GenesisState

GetGenesisStateFromAppState returns x/marker GenesisState given raw application genesis state.

func NewGenesisState

func NewGenesisState(params Params, markers []MarkerAccount, denySendAddresses []DenySendAddress, netAssetValues []MarkerNetAssetValues) *GenesisState

NewGenesisState creates a new GenesisState object

func (*GenesisState) Descriptor

func (*GenesisState) Descriptor() ([]byte, []int)

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)

func (*GenesisState) MarshalToSizedBuffer

func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenesisState) ProtoMessage

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset

func (m *GenesisState) Reset()

func (*GenesisState) Size

func (m *GenesisState) Size() (n int)

func (*GenesisState) String

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal

func (m *GenesisState) Unmarshal(dAtA []byte) error

func (GenesisState) Validate

func (state GenesisState) Validate() error

Validate ensures a genesis state is valid.

func (*GenesisState) XXX_DiscardUnknown

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal

func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenesisState) XXX_Merge

func (m *GenesisState) XXX_Merge(src proto.Message)

func (*GenesisState) XXX_Size

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal

func (m *GenesisState) XXX_Unmarshal(b []byte) error

type GovKeeper added in v1.15.0

type GovKeeper interface {
	GetProposal(ctx sdk.Context, proposalID uint64) (govtypes.Proposal, bool)
	GetDepositParams(ctx sdk.Context) govtypes.DepositParams
	GetVotingParams(ctx sdk.Context) govtypes.VotingParams
	GetProposalID(ctx sdk.Context) (uint64, error)
}

GovKeeper defines the gov functionality needed by the marker module sims.

type GroupChecker added in v1.18.0

type GroupChecker interface {
	IsGroupAddress(sdk.Context, sdk.AccAddress) bool
}

GroupChecker defines the functionality for checking if an account is part of a group.

type IbcTransferMsgServer added in v1.17.0

type IbcTransferMsgServer interface {
	Transfer(goCtx context.Context, msg *transfertypes.MsgTransfer) (*transfertypes.MsgTransferResponse, error)
}

IbcTransferMsgServer defines the message server functionality needed by the marker module.

type ImmutableAccAddresses added in v1.17.0

type ImmutableAccAddresses struct {
	// contains filtered or unexported fields
}

ImmutableAccAddresses holds some AccAddresses in a way that they cannot be changed after creation.

func NewImmutableAccAddresses added in v1.17.0

func NewImmutableAccAddresses(addrs []sdk.AccAddress) ImmutableAccAddresses

NewImmutableAccAddresses creates a new ImmutableAccAddresses containing the provided addresses.

func (ImmutableAccAddresses) GetSlice added in v1.17.0

func (i ImmutableAccAddresses) GetSlice() []sdk.AccAddress

GetSlice returns a copy of the addresses known to this ImmutableAccAddresses.

func (ImmutableAccAddresses) Has added in v1.17.0

Has returns true if the provided address is known to this ImmutableAccAddresses.

type MarkerAccount

type MarkerAccount struct {
	// base cosmos account information including address and coin holdings.
	*types.BaseAccount `` /* 136-byte string literal not displayed */
	// 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" 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.
	Supply github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
	// Marker type information
	MarkerType MarkerType `` /* 158-byte string literal not displayed */
	// 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 `` /* 130-byte string literal not displayed */
	// 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"`
}

MarkerAccount holds the marker configuration information in addition to a base account structure.

func NewEmptyMarkerAccount

func NewEmptyMarkerAccount(denom, manager string, grants []AccessGrant) *MarkerAccount

NewEmptyMarkerAccount creates a new empty marker account in a Proposed state

func NewMarkerAccount

func NewMarkerAccount(
	baseAcc *authtypes.BaseAccount,
	totalSupply sdk.Coin,
	manager sdk.AccAddress,
	accessControls []AccessGrant,
	status MarkerStatus,
	markerType MarkerType,
	supplyFixed, allowGovernanceControl, allowForcedTransfer bool,
	requiredAttributes []string,
) *MarkerAccount

NewMarkerAccount creates a marker account initialized over a given base account.

func (*MarkerAccount) AddressHasAccess

func (ma *MarkerAccount) AddressHasAccess(addr sdk.AccAddress, role Access) bool

AddressHasAccess returns true if the provided address has been assigned the provided role within the current MarkerAccount AccessControl

func (*MarkerAccount) AddressListForPermission

func (ma *MarkerAccount) AddressListForPermission(role Access) []sdk.AccAddress

AddressListForPermission returns a list of all addresses with the provided rule within the current MarkerAccount AccessControl list

func (MarkerAccount) AllowsForcedTransfer added in v1.15.0

func (ma MarkerAccount) AllowsForcedTransfer() bool

AllowsForcedTransfer returns true if force transfer is allowed for this marker.

func (MarkerAccount) Clone

func (ma MarkerAccount) Clone() *MarkerAccount

Clone makes a MarkerAccount instance copy

func (*MarkerAccount) Descriptor

func (*MarkerAccount) Descriptor() ([]byte, []int)

func (*MarkerAccount) GetAccessList

func (ma *MarkerAccount) GetAccessList() []AccessGrant

GetAccessList returns the full access list for the marker

func (MarkerAccount) GetAddress

func (ma MarkerAccount) GetAddress() sdk.AccAddress

GetAddress returns the address of the marker account.

func (MarkerAccount) GetDenom

func (ma MarkerAccount) GetDenom() string

GetDenom the denomination of the coin associated with this marker

func (MarkerAccount) GetManager

func (ma MarkerAccount) GetManager() sdk.AccAddress

GetManager returns the address of the account that is responsible for the proposed marker.

func (MarkerAccount) GetMarkerType

func (ma MarkerAccount) GetMarkerType() MarkerType

GetMarkerType returns the type of the marker account.

func (MarkerAccount) GetPubKey

func (ma MarkerAccount) GetPubKey() cryptotypes.PubKey

GetPubKey implements authtypes.Account (but there are no public keys associated with the account for signing)

func (*MarkerAccount) GetRequiredAttributes added in v1.15.0

func (ma *MarkerAccount) GetRequiredAttributes() []string

func (MarkerAccount) GetStatus

func (ma MarkerAccount) GetStatus() MarkerStatus

GetStatus returns the status of the marker account.

func (MarkerAccount) GetSupply

func (ma MarkerAccount) GetSupply() sdk.Coin

GetSupply implements authtypes.Account

func (*MarkerAccount) GrantAccess

func (ma *MarkerAccount) GrantAccess(access AccessGrantI) error

GrantAccess appends the access grant to the marker account.

func (*MarkerAccount) HasAccess added in v1.15.0

func (ma *MarkerAccount) HasAccess(addr string, role Access) bool

HasAccess returns true if the provided address has been assigned the provided role within the current MarkerAccount AccessControl

func (MarkerAccount) HasFixedSupply

func (ma MarkerAccount) HasFixedSupply() bool

HasFixedSupply return true if the total supply for the marker is considered "fixed" and should be controlled with an invariant check

func (MarkerAccount) HasGovernanceEnabled added in v0.3.0

func (ma MarkerAccount) HasGovernanceEnabled() bool

HasGovernanceEnabled returns true if this marker allows governance proposals to control this marker

func (*MarkerAccount) Marshal

func (m *MarkerAccount) Marshal() (dAtA []byte, err error)

func (*MarkerAccount) MarshalTo

func (m *MarkerAccount) MarshalTo(dAtA []byte) (int, error)

func (*MarkerAccount) MarshalToSizedBuffer

func (m *MarkerAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MarkerAccount) ProtoMessage

func (*MarkerAccount) ProtoMessage()

func (*MarkerAccount) Reset

func (m *MarkerAccount) Reset()

func (*MarkerAccount) RevokeAccess

func (ma *MarkerAccount) RevokeAccess(addr sdk.AccAddress) error

RevokeAccess removes any AccessGrant for the given address on this marker.

func (*MarkerAccount) SetAllowForcedTransfer added in v1.16.0

func (ma *MarkerAccount) SetAllowForcedTransfer(allowForcedTransfer bool)

func (*MarkerAccount) SetManager

func (ma *MarkerAccount) SetManager(manager sdk.AccAddress) error

SetManager sets the manager/owner address for proposed marker accounts

func (*MarkerAccount) SetPubKey

func (ma *MarkerAccount) SetPubKey(_ cryptotypes.PubKey) error

SetPubKey implements authtypes.Account (but there are no public keys associated with the account for signing)

func (*MarkerAccount) SetRequiredAttributes added in v1.16.0

func (ma *MarkerAccount) SetRequiredAttributes(requiredAttributes []string)

func (*MarkerAccount) SetSequence

func (ma *MarkerAccount) SetSequence(_ uint64) error

SetSequence implements authtypes.Account (but you can't set a sequence as you can't sign tx for this account)

func (*MarkerAccount) SetStatus

func (ma *MarkerAccount) SetStatus(status MarkerStatus) error

SetStatus sets the status of the marker to the provided value.

func (*MarkerAccount) SetSupply

func (ma *MarkerAccount) SetSupply(total sdk.Coin) error

SetSupply sets the total supply amount to track

func (*MarkerAccount) Size

func (m *MarkerAccount) Size() (n int)

func (*MarkerAccount) Unmarshal

func (m *MarkerAccount) Unmarshal(dAtA []byte) error

func (MarkerAccount) Validate

func (ma MarkerAccount) Validate() error

Validate performs minimal sanity checking over the current MarkerAccount instance

func (*MarkerAccount) ValidateAddressHasAccess added in v1.18.0

func (ma *MarkerAccount) ValidateAddressHasAccess(addr sdk.AccAddress, role Access) error

ValidateAddressHasAccess returns an error if the provided address does not have the given role in this marker.

func (*MarkerAccount) ValidateHasAccess added in v1.18.0

func (ma *MarkerAccount) ValidateHasAccess(addr string, role Access) error

ValidateHasAccess returns an error if the provided address does not have the given role in this marker.

func (*MarkerAccount) XXX_DiscardUnknown

func (m *MarkerAccount) XXX_DiscardUnknown()

func (*MarkerAccount) XXX_Marshal

func (m *MarkerAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarkerAccount) XXX_Merge

func (m *MarkerAccount) XXX_Merge(src proto.Message)

func (*MarkerAccount) XXX_Size

func (m *MarkerAccount) XXX_Size() int

func (*MarkerAccount) XXX_Unmarshal

func (m *MarkerAccount) XXX_Unmarshal(b []byte) error

type MarkerAccountI

type MarkerAccountI interface {
	proto.Message

	authtypes.AccountI
	Clone() *MarkerAccount

	Validate() error

	GetDenom() string
	GetManager() sdk.AccAddress
	GetMarkerType() MarkerType

	GetStatus() MarkerStatus
	SetStatus(MarkerStatus) error

	GetSupply() sdk.Coin
	SetSupply(sdk.Coin) error
	HasFixedSupply() bool

	GrantAccess(AccessGrantI) error
	RevokeAccess(sdk.AccAddress) error
	GetAccessList() []AccessGrant

	HasAccess(string, Access) bool
	ValidateHasAccess(string, Access) error
	AddressHasAccess(sdk.AccAddress, Access) bool
	ValidateAddressHasAccess(sdk.AccAddress, Access) error
	AddressListForPermission(Access) []sdk.AccAddress

	HasGovernanceEnabled() bool

	AllowsForcedTransfer() bool
	SetAllowForcedTransfer(bool)

	GetRequiredAttributes() []string
	SetRequiredAttributes([]string)
}

MarkerAccountI defines the required method interface for a marker account

type MarkerNetAssetValues added in v1.17.0

type MarkerNetAssetValues struct {
	// address defines the marker address
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// net_asset_values that are assigned to marker
	NetAssetValues []NetAssetValue `protobuf:"bytes,2,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
}

MarkerNetAssetValues defines the net asset values for a marker

func (*MarkerNetAssetValues) Descriptor added in v1.17.0

func (*MarkerNetAssetValues) Descriptor() ([]byte, []int)

func (*MarkerNetAssetValues) Marshal added in v1.17.0

func (m *MarkerNetAssetValues) Marshal() (dAtA []byte, err error)

func (*MarkerNetAssetValues) MarshalTo added in v1.17.0

func (m *MarkerNetAssetValues) MarshalTo(dAtA []byte) (int, error)

func (*MarkerNetAssetValues) MarshalToSizedBuffer added in v1.17.0

func (m *MarkerNetAssetValues) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MarkerNetAssetValues) ProtoMessage added in v1.17.0

func (*MarkerNetAssetValues) ProtoMessage()

func (*MarkerNetAssetValues) Reset added in v1.17.0

func (m *MarkerNetAssetValues) Reset()

func (*MarkerNetAssetValues) Size added in v1.17.0

func (m *MarkerNetAssetValues) Size() (n int)

func (*MarkerNetAssetValues) String added in v1.17.0

func (m *MarkerNetAssetValues) String() string

func (*MarkerNetAssetValues) Unmarshal added in v1.17.0

func (m *MarkerNetAssetValues) Unmarshal(dAtA []byte) error

func (*MarkerNetAssetValues) XXX_DiscardUnknown added in v1.17.0

func (m *MarkerNetAssetValues) XXX_DiscardUnknown()

func (*MarkerNetAssetValues) XXX_Marshal added in v1.17.0

func (m *MarkerNetAssetValues) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarkerNetAssetValues) XXX_Merge added in v1.17.0

func (m *MarkerNetAssetValues) XXX_Merge(src proto.Message)

func (*MarkerNetAssetValues) XXX_Size added in v1.17.0

func (m *MarkerNetAssetValues) XXX_Size() int

func (*MarkerNetAssetValues) XXX_Unmarshal added in v1.17.0

func (m *MarkerNetAssetValues) XXX_Unmarshal(b []byte) error

type MarkerStatus

type MarkerStatus int32

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

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
)

func MarkerStatusFromString

func MarkerStatusFromString(str string) (MarkerStatus, error)

MarkerStatusFromString returns a MarkerStatus from a string. It returns an error if the string is invalid.

func MustGetMarkerStatus

func MustGetMarkerStatus(str string) MarkerStatus

MustGetMarkerStatus turns the string into a MarkerStatus typed value ... panics if invalid.

func (MarkerStatus) EnumDescriptor

func (MarkerStatus) EnumDescriptor() ([]byte, []int)

func (MarkerStatus) Format

func (rt MarkerStatus) Format(s fmt.State, verb rune)

Format implements the fmt.Formatter interface.

func (MarkerStatus) IsOneOf added in v1.0.0

func (rt MarkerStatus) IsOneOf(statuses ...MarkerStatus) bool

IsOneOf checks to see if this MarkerStatus is equal to one of the provided statuses.

func (MarkerStatus) Marshal

func (rt MarkerStatus) Marshal() ([]byte, error)

Marshal needed for protobuf compatibility.

func (MarkerStatus) MarshalJSON

func (rt MarkerStatus) MarshalJSON() ([]byte, error)

MarshalJSON using string.

func (MarkerStatus) String

func (rt MarkerStatus) String() string

String implements the Stringer interface.

func (*MarkerStatus) Unmarshal

func (rt *MarkerStatus) Unmarshal(data []byte) error

Unmarshal needed for protobuf compatibility.

func (*MarkerStatus) UnmarshalJSON

func (rt *MarkerStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON decodes from JSON string version of this status

type MarkerTransferAuthorization added in v1.7.0

type MarkerTransferAuthorization struct {
	// transfer_limit is the total amount the grantee can transfer
	TransferLimit github_com_cosmos_cosmos_sdk_types.Coins `` /* 144-byte string literal not displayed */
	// allow_list specifies an optional list of addresses to whom the grantee can send restricted coins on behalf of the
	// granter. If omitted, any recipient is allowed.
	AllowList []string `protobuf:"bytes,2,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"`
}

MarkerTransferAuthorization gives the grantee permissions to execute a marker transfer on behalf of the granter's account.

func NewMarkerTransferAuthorization added in v1.7.0

func NewMarkerTransferAuthorization(transferLimit sdk.Coins, allowed []sdk.AccAddress) *MarkerTransferAuthorization

NewMarkerTransferAuthorization creates a new MarkerTransferAuthorization object.

func (MarkerTransferAuthorization) Accept added in v1.7.0

Accept implements Authorization.Accept.

func (MarkerTransferAuthorization) DecreaseTransferLimit added in v1.7.0

func (a MarkerTransferAuthorization) DecreaseTransferLimit(amount sdk.Coin) (sdk.Coins, bool)

DecreaseTransferLimit will return the decreased transfer limit and if it is negative

func (*MarkerTransferAuthorization) Descriptor added in v1.7.0

func (*MarkerTransferAuthorization) Descriptor() ([]byte, []int)

func (*MarkerTransferAuthorization) GetAllowList added in v1.14.0

func (m *MarkerTransferAuthorization) GetAllowList() []string

func (*MarkerTransferAuthorization) GetTransferLimit added in v1.7.0

func (*MarkerTransferAuthorization) Marshal added in v1.7.0

func (m *MarkerTransferAuthorization) Marshal() (dAtA []byte, err error)

func (*MarkerTransferAuthorization) MarshalTo added in v1.7.0

func (m *MarkerTransferAuthorization) MarshalTo(dAtA []byte) (int, error)

func (*MarkerTransferAuthorization) MarshalToSizedBuffer added in v1.7.0

func (m *MarkerTransferAuthorization) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (MarkerTransferAuthorization) MsgTypeURL added in v1.7.0

func (a MarkerTransferAuthorization) MsgTypeURL() string

MsgTypeURL implements Authorization.MsgTypeURL.

func (*MarkerTransferAuthorization) ProtoMessage added in v1.7.0

func (*MarkerTransferAuthorization) ProtoMessage()

func (*MarkerTransferAuthorization) Reset added in v1.7.0

func (m *MarkerTransferAuthorization) Reset()

func (*MarkerTransferAuthorization) Size added in v1.7.0

func (m *MarkerTransferAuthorization) Size() (n int)

func (*MarkerTransferAuthorization) String added in v1.7.0

func (m *MarkerTransferAuthorization) String() string

func (*MarkerTransferAuthorization) Unmarshal added in v1.7.0

func (m *MarkerTransferAuthorization) Unmarshal(dAtA []byte) error

func (MarkerTransferAuthorization) ValidateBasic added in v1.7.0

func (a MarkerTransferAuthorization) ValidateBasic() error

ValidateBasic implements Authorization.ValidateBasic.

func (*MarkerTransferAuthorization) XXX_DiscardUnknown added in v1.7.0

func (m *MarkerTransferAuthorization) XXX_DiscardUnknown()

func (*MarkerTransferAuthorization) XXX_Marshal added in v1.7.0

func (m *MarkerTransferAuthorization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MarkerTransferAuthorization) XXX_Merge added in v1.7.0

func (m *MarkerTransferAuthorization) XXX_Merge(src proto.Message)

func (*MarkerTransferAuthorization) XXX_Size added in v1.7.0

func (m *MarkerTransferAuthorization) XXX_Size() int

func (*MarkerTransferAuthorization) XXX_Unmarshal added in v1.7.0

func (m *MarkerTransferAuthorization) XXX_Unmarshal(b []byte) error

type MarkerType

type MarkerType int32

MarkerType defines the types of marker

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
)

func MarkerTypeFromString

func MarkerTypeFromString(str string) (MarkerType, error)

MarkerTypeFromString returns a MarkerType from a string. It returns an error if the string is invalid.

func (MarkerType) EnumDescriptor

func (MarkerType) EnumDescriptor() ([]byte, []int)

func (MarkerType) String

func (x MarkerType) String() string

type MsgActivateRequest

type MsgActivateRequest 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"`
}

MsgActivateRequest defines the Msg/Activate request type

func NewMsgActivateRequest added in v1.2.0

func NewMsgActivateRequest(denom string, admin sdk.AccAddress) *MsgActivateRequest

NewMsgActivateRequest

func (*MsgActivateRequest) Descriptor

func (*MsgActivateRequest) Descriptor() ([]byte, []int)

func (*MsgActivateRequest) GetAdministrator

func (m *MsgActivateRequest) GetAdministrator() string

func (*MsgActivateRequest) GetDenom

func (m *MsgActivateRequest) GetDenom() string

func (MsgActivateRequest) GetSigners

func (msg MsgActivateRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgActivateRequest) Marshal

func (m *MsgActivateRequest) Marshal() (dAtA []byte, err error)

func (*MsgActivateRequest) MarshalTo

func (m *MsgActivateRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgActivateRequest) MarshalToSizedBuffer

func (m *MsgActivateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgActivateRequest) ProtoMessage

func (*MsgActivateRequest) ProtoMessage()

func (*MsgActivateRequest) Reset

func (m *MsgActivateRequest) Reset()

func (*MsgActivateRequest) Size

func (m *MsgActivateRequest) Size() (n int)

func (*MsgActivateRequest) String

func (m *MsgActivateRequest) String() string

func (*MsgActivateRequest) Unmarshal

func (m *MsgActivateRequest) Unmarshal(dAtA []byte) error

func (MsgActivateRequest) ValidateBasic

func (msg MsgActivateRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgActivateRequest) XXX_DiscardUnknown

func (m *MsgActivateRequest) XXX_DiscardUnknown()

func (*MsgActivateRequest) XXX_Marshal

func (m *MsgActivateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgActivateRequest) XXX_Merge

func (m *MsgActivateRequest) XXX_Merge(src proto.Message)

func (*MsgActivateRequest) XXX_Size

func (m *MsgActivateRequest) XXX_Size() int

func (*MsgActivateRequest) XXX_Unmarshal

func (m *MsgActivateRequest) XXX_Unmarshal(b []byte) error

type MsgActivateResponse

type MsgActivateResponse struct {
}

MsgActivateResponse defines the Msg/Activate response type

func (*MsgActivateResponse) Descriptor

func (*MsgActivateResponse) Descriptor() ([]byte, []int)

func (*MsgActivateResponse) Marshal

func (m *MsgActivateResponse) Marshal() (dAtA []byte, err error)

func (*MsgActivateResponse) MarshalTo

func (m *MsgActivateResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgActivateResponse) MarshalToSizedBuffer

func (m *MsgActivateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgActivateResponse) ProtoMessage

func (*MsgActivateResponse) ProtoMessage()

func (*MsgActivateResponse) Reset

func (m *MsgActivateResponse) Reset()

func (*MsgActivateResponse) Size

func (m *MsgActivateResponse) Size() (n int)

func (*MsgActivateResponse) String

func (m *MsgActivateResponse) String() string

func (*MsgActivateResponse) Unmarshal

func (m *MsgActivateResponse) Unmarshal(dAtA []byte) error

func (*MsgActivateResponse) XXX_DiscardUnknown

func (m *MsgActivateResponse) XXX_DiscardUnknown()

func (*MsgActivateResponse) XXX_Marshal

func (m *MsgActivateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgActivateResponse) XXX_Merge

func (m *MsgActivateResponse) XXX_Merge(src proto.Message)

func (*MsgActivateResponse) XXX_Size

func (m *MsgActivateResponse) XXX_Size() int

func (*MsgActivateResponse) XXX_Unmarshal

func (m *MsgActivateResponse) XXX_Unmarshal(b []byte) error

type MsgAddAccessRequest

type MsgAddAccessRequest 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"`
	Access        []AccessGrant `protobuf:"bytes,3,rep,name=access,proto3" json:"access"`
}

MsgAddAccessRequest defines the Msg/AddAccess request type

func NewMsgAddAccessRequest added in v1.2.0

func NewMsgAddAccessRequest(denom string, admin sdk.AccAddress, access AccessGrant) *MsgAddAccessRequest

NewAddAccessRequest

func (*MsgAddAccessRequest) Descriptor

func (*MsgAddAccessRequest) Descriptor() ([]byte, []int)

func (*MsgAddAccessRequest) GetAccess

func (m *MsgAddAccessRequest) GetAccess() []AccessGrant

func (*MsgAddAccessRequest) GetAdministrator

func (m *MsgAddAccessRequest) GetAdministrator() string

func (*MsgAddAccessRequest) GetDenom

func (m *MsgAddAccessRequest) GetDenom() string

func (MsgAddAccessRequest) GetSigners

func (msg MsgAddAccessRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgAddAccessRequest) Marshal

func (m *MsgAddAccessRequest) Marshal() (dAtA []byte, err error)

func (*MsgAddAccessRequest) MarshalTo

func (m *MsgAddAccessRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddAccessRequest) MarshalToSizedBuffer

func (m *MsgAddAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddAccessRequest) ProtoMessage

func (*MsgAddAccessRequest) ProtoMessage()

func (*MsgAddAccessRequest) Reset

func (m *MsgAddAccessRequest) Reset()

func (*MsgAddAccessRequest) Size

func (m *MsgAddAccessRequest) Size() (n int)

func (*MsgAddAccessRequest) String

func (m *MsgAddAccessRequest) String() string

func (*MsgAddAccessRequest) Unmarshal

func (m *MsgAddAccessRequest) Unmarshal(dAtA []byte) error

func (MsgAddAccessRequest) ValidateBasic

func (msg MsgAddAccessRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgAddAccessRequest) XXX_DiscardUnknown

func (m *MsgAddAccessRequest) XXX_DiscardUnknown()

func (*MsgAddAccessRequest) XXX_Marshal

func (m *MsgAddAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddAccessRequest) XXX_Merge

func (m *MsgAddAccessRequest) XXX_Merge(src proto.Message)

func (*MsgAddAccessRequest) XXX_Size

func (m *MsgAddAccessRequest) XXX_Size() int

func (*MsgAddAccessRequest) XXX_Unmarshal

func (m *MsgAddAccessRequest) XXX_Unmarshal(b []byte) error

type MsgAddAccessResponse

type MsgAddAccessResponse struct {
}

MsgAddAccessResponse defines the Msg/AddAccess response type

func (*MsgAddAccessResponse) Descriptor

func (*MsgAddAccessResponse) Descriptor() ([]byte, []int)

func (*MsgAddAccessResponse) Marshal

func (m *MsgAddAccessResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddAccessResponse) MarshalTo

func (m *MsgAddAccessResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddAccessResponse) MarshalToSizedBuffer

func (m *MsgAddAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddAccessResponse) ProtoMessage

func (*MsgAddAccessResponse) ProtoMessage()

func (*MsgAddAccessResponse) Reset

func (m *MsgAddAccessResponse) Reset()

func (*MsgAddAccessResponse) Size

func (m *MsgAddAccessResponse) Size() (n int)

func (*MsgAddAccessResponse) String

func (m *MsgAddAccessResponse) String() string

func (*MsgAddAccessResponse) Unmarshal

func (m *MsgAddAccessResponse) Unmarshal(dAtA []byte) error

func (*MsgAddAccessResponse) XXX_DiscardUnknown

func (m *MsgAddAccessResponse) XXX_DiscardUnknown()

func (*MsgAddAccessResponse) XXX_Marshal

func (m *MsgAddAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddAccessResponse) XXX_Merge

func (m *MsgAddAccessResponse) XXX_Merge(src proto.Message)

func (*MsgAddAccessResponse) XXX_Size

func (m *MsgAddAccessResponse) XXX_Size() int

func (*MsgAddAccessResponse) XXX_Unmarshal

func (m *MsgAddAccessResponse) XXX_Unmarshal(b []byte) error

type MsgAddFinalizeActivateMarkerRequest added in v1.14.0

type MsgAddFinalizeActivateMarkerRequest struct {
	Amount                 github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	Manager                string                                  `protobuf:"bytes,3,opt,name=manager,proto3" json:"manager,omitempty"`
	FromAddress            string                                  `protobuf:"bytes,4,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	MarkerType             MarkerType                              `` /* 129-byte string literal not displayed */
	AccessList             []AccessGrant                           `protobuf:"bytes,6,rep,name=access_list,json=accessList,proto3" json:"access_list"`
	SupplyFixed            bool                                    `protobuf:"varint,7,opt,name=supply_fixed,json=supplyFixed,proto3" json:"supply_fixed,omitempty"`
	AllowGovernanceControl bool                                    `` /* 130-byte string literal not displayed */
	AllowForcedTransfer    bool                                    `protobuf:"varint,9,opt,name=allow_forced_transfer,json=allowForcedTransfer,proto3" json:"allow_forced_transfer,omitempty"`
	RequiredAttributes     []string                                `protobuf:"bytes,10,rep,name=required_attributes,json=requiredAttributes,proto3" json:"required_attributes,omitempty"`
	UsdCents               uint64                                  `protobuf:"varint,11,opt,name=usd_cents,json=usdCents,proto3" json:"usd_cents,omitempty"` // Deprecated: Do not use.
	Volume                 uint64                                  `protobuf:"varint,12,opt,name=volume,proto3" json:"volume,omitempty"`
	UsdMills               uint64                                  `protobuf:"varint,13,opt,name=usd_mills,json=usdMills,proto3" json:"usd_mills,omitempty"`
}

MsgAddFinalizeActivateMarkerRequest defines the Msg/AddFinalizeActivateMarker request type

func NewMsgAddFinalizeActivateMarkerRequest added in v1.14.0

func NewMsgAddFinalizeActivateMarkerRequest(
	denom string,
	totalSupply sdkmath.Int,
	fromAddress sdk.AccAddress,
	manager sdk.AccAddress,
	markerType MarkerType,
	supplyFixed bool,
	allowGovernanceControl bool,
	allowForcedTransfer bool,
	requiredAttributes []string,
	accessGrants []AccessGrant,
	usdMills uint64,
	netAssetVolume uint64,
) *MsgAddFinalizeActivateMarkerRequest

NewMsgAddFinalizeActivateMarkerRequest creates a new MsgAddFinalizeActivateMarkerRequest.

func (*MsgAddFinalizeActivateMarkerRequest) Descriptor added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) Descriptor() ([]byte, []int)

func (*MsgAddFinalizeActivateMarkerRequest) GetAccessList added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) GetAccessList() []AccessGrant

func (*MsgAddFinalizeActivateMarkerRequest) GetAllowForcedTransfer added in v1.15.0

func (m *MsgAddFinalizeActivateMarkerRequest) GetAllowForcedTransfer() bool

func (*MsgAddFinalizeActivateMarkerRequest) GetAllowGovernanceControl added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) GetAllowGovernanceControl() bool

func (*MsgAddFinalizeActivateMarkerRequest) GetFromAddress added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) GetFromAddress() string

func (*MsgAddFinalizeActivateMarkerRequest) GetManager added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) GetMarkerType added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) GetRequiredAttributes added in v1.15.0

func (m *MsgAddFinalizeActivateMarkerRequest) GetRequiredAttributes() []string

func (MsgAddFinalizeActivateMarkerRequest) GetSignBytes added in v1.14.0

func (msg MsgAddFinalizeActivateMarkerRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

func (MsgAddFinalizeActivateMarkerRequest) GetSigners added in v1.14.0

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgAddFinalizeActivateMarkerRequest) GetSupplyFixed added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) GetSupplyFixed() bool

func (*MsgAddFinalizeActivateMarkerRequest) GetUsdCents deprecated added in v1.17.0

Deprecated: Do not use.

func (*MsgAddFinalizeActivateMarkerRequest) GetUsdMills added in v1.18.0

func (*MsgAddFinalizeActivateMarkerRequest) GetVolume added in v1.17.0

func (*MsgAddFinalizeActivateMarkerRequest) Marshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) Marshal() (dAtA []byte, err error)

func (*MsgAddFinalizeActivateMarkerRequest) MarshalTo added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddFinalizeActivateMarkerRequest) MarshalToSizedBuffer added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddFinalizeActivateMarkerRequest) ProtoMessage added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) ProtoMessage()

func (*MsgAddFinalizeActivateMarkerRequest) Reset added in v1.14.0

func (MsgAddFinalizeActivateMarkerRequest) Route added in v1.14.0

Route returns the name of the module.

func (*MsgAddFinalizeActivateMarkerRequest) Size added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) String added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) Unmarshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) Unmarshal(dAtA []byte) error

func (MsgAddFinalizeActivateMarkerRequest) ValidateBasic added in v1.14.0

func (msg MsgAddFinalizeActivateMarkerRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgAddFinalizeActivateMarkerRequest) XXX_DiscardUnknown added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) XXX_DiscardUnknown()

func (*MsgAddFinalizeActivateMarkerRequest) XXX_Marshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddFinalizeActivateMarkerRequest) XXX_Merge added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) XXX_Size added in v1.14.0

func (*MsgAddFinalizeActivateMarkerRequest) XXX_Unmarshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerRequest) XXX_Unmarshal(b []byte) error

type MsgAddFinalizeActivateMarkerResponse added in v1.14.0

type MsgAddFinalizeActivateMarkerResponse struct {
}

MsgAddFinalizeActivateMarkerResponse defines the Msg/AddFinalizeActivateMarker response type

func (*MsgAddFinalizeActivateMarkerResponse) Descriptor added in v1.14.0

func (*MsgAddFinalizeActivateMarkerResponse) Descriptor() ([]byte, []int)

func (*MsgAddFinalizeActivateMarkerResponse) Marshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddFinalizeActivateMarkerResponse) MarshalTo added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddFinalizeActivateMarkerResponse) MarshalToSizedBuffer added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddFinalizeActivateMarkerResponse) ProtoMessage added in v1.14.0

func (*MsgAddFinalizeActivateMarkerResponse) ProtoMessage()

func (*MsgAddFinalizeActivateMarkerResponse) Reset added in v1.14.0

func (*MsgAddFinalizeActivateMarkerResponse) Size added in v1.14.0

func (*MsgAddFinalizeActivateMarkerResponse) String added in v1.14.0

func (*MsgAddFinalizeActivateMarkerResponse) Unmarshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerResponse) Unmarshal(dAtA []byte) error

func (*MsgAddFinalizeActivateMarkerResponse) XXX_DiscardUnknown added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerResponse) XXX_DiscardUnknown()

func (*MsgAddFinalizeActivateMarkerResponse) XXX_Marshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddFinalizeActivateMarkerResponse) XXX_Merge added in v1.14.0

func (*MsgAddFinalizeActivateMarkerResponse) XXX_Size added in v1.14.0

func (*MsgAddFinalizeActivateMarkerResponse) XXX_Unmarshal added in v1.14.0

func (m *MsgAddFinalizeActivateMarkerResponse) XXX_Unmarshal(b []byte) error

type MsgAddMarkerRequest

type MsgAddMarkerRequest struct {
	Amount                 github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	Manager                string                                  `protobuf:"bytes,3,opt,name=manager,proto3" json:"manager,omitempty"`
	FromAddress            string                                  `protobuf:"bytes,4,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	Status                 MarkerStatus                            `protobuf:"varint,5,opt,name=status,proto3,enum=provenance.marker.v1.MarkerStatus" json:"status,omitempty"`
	MarkerType             MarkerType                              `` /* 129-byte string literal not displayed */
	AccessList             []AccessGrant                           `protobuf:"bytes,7,rep,name=access_list,json=accessList,proto3" json:"access_list"`
	SupplyFixed            bool                                    `protobuf:"varint,8,opt,name=supply_fixed,json=supplyFixed,proto3" json:"supply_fixed,omitempty"`
	AllowGovernanceControl bool                                    `` /* 130-byte string literal not displayed */
	AllowForcedTransfer    bool                                    `protobuf:"varint,10,opt,name=allow_forced_transfer,json=allowForcedTransfer,proto3" json:"allow_forced_transfer,omitempty"`
	RequiredAttributes     []string                                `protobuf:"bytes,11,rep,name=required_attributes,json=requiredAttributes,proto3" json:"required_attributes,omitempty"`
	UsdCents               uint64                                  `protobuf:"varint,12,opt,name=usd_cents,json=usdCents,proto3" json:"usd_cents,omitempty"` // Deprecated: Do not use.
	Volume                 uint64                                  `protobuf:"varint,13,opt,name=volume,proto3" json:"volume,omitempty"`
	UsdMills               uint64                                  `protobuf:"varint,14,opt,name=usd_mills,json=usdMills,proto3" json:"usd_mills,omitempty"`
}

MsgAddMarkerRequest defines the Msg/AddMarker request type. If being provided as a governance proposal, set the from_address to the gov module's account address.

func NewMsgAddMarkerRequest added in v1.2.0

func NewMsgAddMarkerRequest(
	denom string,
	totalSupply sdkmath.Int,
	fromAddress sdk.AccAddress,
	manager sdk.AccAddress,
	markerType MarkerType,
	supplyFixed bool,
	allowGovernanceControl bool,
	allowForcedTransfer bool,
	requiredAttributes []string,
	usdMills uint64,
	volume uint64,
) *MsgAddMarkerRequest

NewMsgAddMarkerRequest creates a new marker in a proposed state with a given total supply a denomination

func (*MsgAddMarkerRequest) Descriptor

func (*MsgAddMarkerRequest) Descriptor() ([]byte, []int)

func (*MsgAddMarkerRequest) GetAccessList

func (m *MsgAddMarkerRequest) GetAccessList() []AccessGrant

func (*MsgAddMarkerRequest) GetAllowForcedTransfer added in v1.15.0

func (m *MsgAddMarkerRequest) GetAllowForcedTransfer() bool

func (*MsgAddMarkerRequest) GetAllowGovernanceControl

func (m *MsgAddMarkerRequest) GetAllowGovernanceControl() bool

func (*MsgAddMarkerRequest) GetFromAddress

func (m *MsgAddMarkerRequest) GetFromAddress() string

func (*MsgAddMarkerRequest) GetManager

func (m *MsgAddMarkerRequest) GetManager() string

func (*MsgAddMarkerRequest) GetMarkerType

func (m *MsgAddMarkerRequest) GetMarkerType() MarkerType

func (*MsgAddMarkerRequest) GetRequiredAttributes added in v1.15.0

func (m *MsgAddMarkerRequest) GetRequiredAttributes() []string

func (MsgAddMarkerRequest) GetSigners

func (msg MsgAddMarkerRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgAddMarkerRequest) GetStatus

func (m *MsgAddMarkerRequest) GetStatus() MarkerStatus

func (*MsgAddMarkerRequest) GetSupplyFixed

func (m *MsgAddMarkerRequest) GetSupplyFixed() bool

func (*MsgAddMarkerRequest) GetUsdCents deprecated added in v1.17.0

func (m *MsgAddMarkerRequest) GetUsdCents() uint64

Deprecated: Do not use.

func (*MsgAddMarkerRequest) GetUsdMills added in v1.18.0

func (m *MsgAddMarkerRequest) GetUsdMills() uint64

func (*MsgAddMarkerRequest) GetVolume added in v1.17.0

func (m *MsgAddMarkerRequest) GetVolume() uint64

func (*MsgAddMarkerRequest) Marshal

func (m *MsgAddMarkerRequest) Marshal() (dAtA []byte, err error)

func (*MsgAddMarkerRequest) MarshalTo

func (m *MsgAddMarkerRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddMarkerRequest) MarshalToSizedBuffer

func (m *MsgAddMarkerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddMarkerRequest) ProtoMessage

func (*MsgAddMarkerRequest) ProtoMessage()

func (*MsgAddMarkerRequest) Reset

func (m *MsgAddMarkerRequest) Reset()

func (*MsgAddMarkerRequest) Size

func (m *MsgAddMarkerRequest) Size() (n int)

func (*MsgAddMarkerRequest) String

func (m *MsgAddMarkerRequest) String() string

func (*MsgAddMarkerRequest) Unmarshal

func (m *MsgAddMarkerRequest) Unmarshal(dAtA []byte) error

func (MsgAddMarkerRequest) ValidateBasic

func (msg MsgAddMarkerRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgAddMarkerRequest) XXX_DiscardUnknown

func (m *MsgAddMarkerRequest) XXX_DiscardUnknown()

func (*MsgAddMarkerRequest) XXX_Marshal

func (m *MsgAddMarkerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddMarkerRequest) XXX_Merge

func (m *MsgAddMarkerRequest) XXX_Merge(src proto.Message)

func (*MsgAddMarkerRequest) XXX_Size

func (m *MsgAddMarkerRequest) XXX_Size() int

func (*MsgAddMarkerRequest) XXX_Unmarshal

func (m *MsgAddMarkerRequest) XXX_Unmarshal(b []byte) error

type MsgAddMarkerResponse

type MsgAddMarkerResponse struct {
}

MsgAddMarkerResponse defines the Msg/AddMarker response type

func (*MsgAddMarkerResponse) Descriptor

func (*MsgAddMarkerResponse) Descriptor() ([]byte, []int)

func (*MsgAddMarkerResponse) Marshal

func (m *MsgAddMarkerResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddMarkerResponse) MarshalTo

func (m *MsgAddMarkerResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddMarkerResponse) MarshalToSizedBuffer

func (m *MsgAddMarkerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddMarkerResponse) ProtoMessage

func (*MsgAddMarkerResponse) ProtoMessage()

func (*MsgAddMarkerResponse) Reset

func (m *MsgAddMarkerResponse) Reset()

func (*MsgAddMarkerResponse) Size

func (m *MsgAddMarkerResponse) Size() (n int)

func (*MsgAddMarkerResponse) String

func (m *MsgAddMarkerResponse) String() string

func (*MsgAddMarkerResponse) Unmarshal

func (m *MsgAddMarkerResponse) Unmarshal(dAtA []byte) error

func (*MsgAddMarkerResponse) XXX_DiscardUnknown

func (m *MsgAddMarkerResponse) XXX_DiscardUnknown()

func (*MsgAddMarkerResponse) XXX_Marshal

func (m *MsgAddMarkerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddMarkerResponse) XXX_Merge

func (m *MsgAddMarkerResponse) XXX_Merge(src proto.Message)

func (*MsgAddMarkerResponse) XXX_Size

func (m *MsgAddMarkerResponse) XXX_Size() int

func (*MsgAddMarkerResponse) XXX_Unmarshal

func (m *MsgAddMarkerResponse) XXX_Unmarshal(b []byte) error

type MsgAddNetAssetValuesRequest added in v1.17.0

type MsgAddNetAssetValuesRequest 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"`
	NetAssetValues []NetAssetValue `protobuf:"bytes,3,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
}

MsgAddNetAssetValuesRequest defines the Msg/AddNetAssetValues request type

func NewMsgAddNetAssetValuesRequest added in v1.17.0

func NewMsgAddNetAssetValuesRequest(denom, administrator string, netAssetValues []NetAssetValue) *MsgAddNetAssetValuesRequest

func (*MsgAddNetAssetValuesRequest) Descriptor added in v1.17.0

func (*MsgAddNetAssetValuesRequest) Descriptor() ([]byte, []int)

func (*MsgAddNetAssetValuesRequest) GetAdministrator added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) GetAdministrator() string

func (*MsgAddNetAssetValuesRequest) GetDenom added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) GetDenom() string

func (*MsgAddNetAssetValuesRequest) GetNetAssetValues added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) GetNetAssetValues() []NetAssetValue

func (*MsgAddNetAssetValuesRequest) GetSigners added in v1.17.0

func (msg *MsgAddNetAssetValuesRequest) GetSigners() []sdk.AccAddress

func (*MsgAddNetAssetValuesRequest) Marshal added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) Marshal() (dAtA []byte, err error)

func (*MsgAddNetAssetValuesRequest) MarshalTo added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddNetAssetValuesRequest) MarshalToSizedBuffer added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddNetAssetValuesRequest) ProtoMessage added in v1.17.0

func (*MsgAddNetAssetValuesRequest) ProtoMessage()

func (*MsgAddNetAssetValuesRequest) Reset added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) Reset()

func (*MsgAddNetAssetValuesRequest) Size added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) Size() (n int)

func (*MsgAddNetAssetValuesRequest) String added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) String() string

func (*MsgAddNetAssetValuesRequest) Unmarshal added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) Unmarshal(dAtA []byte) error

func (MsgAddNetAssetValuesRequest) ValidateBasic added in v1.17.0

func (msg MsgAddNetAssetValuesRequest) ValidateBasic() error

func (*MsgAddNetAssetValuesRequest) XXX_DiscardUnknown added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) XXX_DiscardUnknown()

func (*MsgAddNetAssetValuesRequest) XXX_Marshal added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddNetAssetValuesRequest) XXX_Merge added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) XXX_Merge(src proto.Message)

func (*MsgAddNetAssetValuesRequest) XXX_Size added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) XXX_Size() int

func (*MsgAddNetAssetValuesRequest) XXX_Unmarshal added in v1.17.0

func (m *MsgAddNetAssetValuesRequest) XXX_Unmarshal(b []byte) error

type MsgAddNetAssetValuesResponse added in v1.17.0

type MsgAddNetAssetValuesResponse struct {
}

MsgAddNetAssetValuesResponse defines the Msg/AddNetAssetValue response type

func (*MsgAddNetAssetValuesResponse) Descriptor added in v1.17.0

func (*MsgAddNetAssetValuesResponse) Descriptor() ([]byte, []int)

func (*MsgAddNetAssetValuesResponse) Marshal added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) Marshal() (dAtA []byte, err error)

func (*MsgAddNetAssetValuesResponse) MarshalTo added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgAddNetAssetValuesResponse) MarshalToSizedBuffer added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgAddNetAssetValuesResponse) ProtoMessage added in v1.17.0

func (*MsgAddNetAssetValuesResponse) ProtoMessage()

func (*MsgAddNetAssetValuesResponse) Reset added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) Reset()

func (*MsgAddNetAssetValuesResponse) Size added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) Size() (n int)

func (*MsgAddNetAssetValuesResponse) String added in v1.17.0

func (*MsgAddNetAssetValuesResponse) Unmarshal added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) Unmarshal(dAtA []byte) error

func (*MsgAddNetAssetValuesResponse) XXX_DiscardUnknown added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) XXX_DiscardUnknown()

func (*MsgAddNetAssetValuesResponse) XXX_Marshal added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgAddNetAssetValuesResponse) XXX_Merge added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) XXX_Merge(src proto.Message)

func (*MsgAddNetAssetValuesResponse) XXX_Size added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) XXX_Size() int

func (*MsgAddNetAssetValuesResponse) XXX_Unmarshal added in v1.17.0

func (m *MsgAddNetAssetValuesResponse) XXX_Unmarshal(b []byte) error

type MsgBurnRequest

type MsgBurnRequest struct {
	Amount        github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	Administrator string                                  `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

MsgBurnRequest defines the Msg/Burn request type

func NewMsgBurnRequest added in v1.2.0

func NewMsgBurnRequest(admin sdk.AccAddress, amount sdk.Coin) *MsgBurnRequest

NewMsgBurnRequest creates a burn supply message

func (*MsgBurnRequest) Descriptor

func (*MsgBurnRequest) Descriptor() ([]byte, []int)

func (*MsgBurnRequest) GetAdministrator

func (m *MsgBurnRequest) GetAdministrator() string

func (MsgBurnRequest) GetSigners

func (msg MsgBurnRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgBurnRequest) Marshal

func (m *MsgBurnRequest) Marshal() (dAtA []byte, err error)

func (*MsgBurnRequest) MarshalTo

func (m *MsgBurnRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgBurnRequest) MarshalToSizedBuffer

func (m *MsgBurnRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBurnRequest) ProtoMessage

func (*MsgBurnRequest) ProtoMessage()

func (*MsgBurnRequest) Reset

func (m *MsgBurnRequest) Reset()

func (*MsgBurnRequest) Size

func (m *MsgBurnRequest) Size() (n int)

func (*MsgBurnRequest) String

func (m *MsgBurnRequest) String() string

func (*MsgBurnRequest) Unmarshal

func (m *MsgBurnRequest) Unmarshal(dAtA []byte) error

func (MsgBurnRequest) ValidateBasic

func (msg MsgBurnRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgBurnRequest) XXX_DiscardUnknown

func (m *MsgBurnRequest) XXX_DiscardUnknown()

func (*MsgBurnRequest) XXX_Marshal

func (m *MsgBurnRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBurnRequest) XXX_Merge

func (m *MsgBurnRequest) XXX_Merge(src proto.Message)

func (*MsgBurnRequest) XXX_Size

func (m *MsgBurnRequest) XXX_Size() int

func (*MsgBurnRequest) XXX_Unmarshal

func (m *MsgBurnRequest) XXX_Unmarshal(b []byte) error

type MsgBurnResponse

type MsgBurnResponse struct {
}

MsgBurnResponse defines the Msg/Burn response type

func (*MsgBurnResponse) Descriptor

func (*MsgBurnResponse) Descriptor() ([]byte, []int)

func (*MsgBurnResponse) Marshal

func (m *MsgBurnResponse) Marshal() (dAtA []byte, err error)

func (*MsgBurnResponse) MarshalTo

func (m *MsgBurnResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgBurnResponse) MarshalToSizedBuffer

func (m *MsgBurnResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgBurnResponse) ProtoMessage

func (*MsgBurnResponse) ProtoMessage()

func (*MsgBurnResponse) Reset

func (m *MsgBurnResponse) Reset()

func (*MsgBurnResponse) Size

func (m *MsgBurnResponse) Size() (n int)

func (*MsgBurnResponse) String

func (m *MsgBurnResponse) String() string

func (*MsgBurnResponse) Unmarshal

func (m *MsgBurnResponse) Unmarshal(dAtA []byte) error

func (*MsgBurnResponse) XXX_DiscardUnknown

func (m *MsgBurnResponse) XXX_DiscardUnknown()

func (*MsgBurnResponse) XXX_Marshal

func (m *MsgBurnResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgBurnResponse) XXX_Merge

func (m *MsgBurnResponse) XXX_Merge(src proto.Message)

func (*MsgBurnResponse) XXX_Size

func (m *MsgBurnResponse) XXX_Size() int

func (*MsgBurnResponse) XXX_Unmarshal

func (m *MsgBurnResponse) XXX_Unmarshal(b []byte) error

type MsgCancelRequest

type MsgCancelRequest 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"`
}

MsgCancelRequest defines the Msg/Cancel request type

func NewMsgCancelRequest added in v1.2.0

func NewMsgCancelRequest(denom string, admin sdk.AccAddress) *MsgCancelRequest

NewMsgCancelRequest

func (*MsgCancelRequest) Descriptor

func (*MsgCancelRequest) Descriptor() ([]byte, []int)

func (*MsgCancelRequest) GetAdministrator

func (m *MsgCancelRequest) GetAdministrator() string

func (*MsgCancelRequest) GetDenom

func (m *MsgCancelRequest) GetDenom() string

func (MsgCancelRequest) GetSigners

func (msg MsgCancelRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgCancelRequest) Marshal

func (m *MsgCancelRequest) Marshal() (dAtA []byte, err error)

func (*MsgCancelRequest) MarshalTo

func (m *MsgCancelRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelRequest) MarshalToSizedBuffer

func (m *MsgCancelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelRequest) ProtoMessage

func (*MsgCancelRequest) ProtoMessage()

func (*MsgCancelRequest) Reset

func (m *MsgCancelRequest) Reset()

func (*MsgCancelRequest) Size

func (m *MsgCancelRequest) Size() (n int)

func (*MsgCancelRequest) String

func (m *MsgCancelRequest) String() string

func (*MsgCancelRequest) Unmarshal

func (m *MsgCancelRequest) Unmarshal(dAtA []byte) error

func (MsgCancelRequest) ValidateBasic

func (msg MsgCancelRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgCancelRequest) XXX_DiscardUnknown

func (m *MsgCancelRequest) XXX_DiscardUnknown()

func (*MsgCancelRequest) XXX_Marshal

func (m *MsgCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelRequest) XXX_Merge

func (m *MsgCancelRequest) XXX_Merge(src proto.Message)

func (*MsgCancelRequest) XXX_Size

func (m *MsgCancelRequest) XXX_Size() int

func (*MsgCancelRequest) XXX_Unmarshal

func (m *MsgCancelRequest) XXX_Unmarshal(b []byte) error

type MsgCancelResponse

type MsgCancelResponse struct {
}

MsgCancelResponse defines the Msg/Cancel response type

func (*MsgCancelResponse) Descriptor

func (*MsgCancelResponse) Descriptor() ([]byte, []int)

func (*MsgCancelResponse) Marshal

func (m *MsgCancelResponse) Marshal() (dAtA []byte, err error)

func (*MsgCancelResponse) MarshalTo

func (m *MsgCancelResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgCancelResponse) MarshalToSizedBuffer

func (m *MsgCancelResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgCancelResponse) ProtoMessage

func (*MsgCancelResponse) ProtoMessage()

func (*MsgCancelResponse) Reset

func (m *MsgCancelResponse) Reset()

func (*MsgCancelResponse) Size

func (m *MsgCancelResponse) Size() (n int)

func (*MsgCancelResponse) String

func (m *MsgCancelResponse) String() string

func (*MsgCancelResponse) Unmarshal

func (m *MsgCancelResponse) Unmarshal(dAtA []byte) error

func (*MsgCancelResponse) XXX_DiscardUnknown

func (m *MsgCancelResponse) XXX_DiscardUnknown()

func (*MsgCancelResponse) XXX_Marshal

func (m *MsgCancelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgCancelResponse) XXX_Merge

func (m *MsgCancelResponse) XXX_Merge(src proto.Message)

func (*MsgCancelResponse) XXX_Size

func (m *MsgCancelResponse) XXX_Size() int

func (*MsgCancelResponse) XXX_Unmarshal

func (m *MsgCancelResponse) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// Finalize
	Finalize(ctx context.Context, in *MsgFinalizeRequest, opts ...grpc.CallOption) (*MsgFinalizeResponse, error)
	// Activate
	Activate(ctx context.Context, in *MsgActivateRequest, opts ...grpc.CallOption) (*MsgActivateResponse, error)
	// Cancel
	Cancel(ctx context.Context, in *MsgCancelRequest, opts ...grpc.CallOption) (*MsgCancelResponse, error)
	// Delete
	Delete(ctx context.Context, in *MsgDeleteRequest, opts ...grpc.CallOption) (*MsgDeleteResponse, error)
	// Mint
	Mint(ctx context.Context, in *MsgMintRequest, opts ...grpc.CallOption) (*MsgMintResponse, error)
	// Burn
	Burn(ctx context.Context, in *MsgBurnRequest, opts ...grpc.CallOption) (*MsgBurnResponse, error)
	// AddAccess
	AddAccess(ctx context.Context, in *MsgAddAccessRequest, opts ...grpc.CallOption) (*MsgAddAccessResponse, error)
	// DeleteAccess
	DeleteAccess(ctx context.Context, in *MsgDeleteAccessRequest, opts ...grpc.CallOption) (*MsgDeleteAccessResponse, error)
	// Withdraw
	Withdraw(ctx context.Context, in *MsgWithdrawRequest, opts ...grpc.CallOption) (*MsgWithdrawResponse, error)
	// AddMarker
	AddMarker(ctx context.Context, in *MsgAddMarkerRequest, opts ...grpc.CallOption) (*MsgAddMarkerResponse, error)
	// Transfer marker denominated coin between accounts
	Transfer(ctx context.Context, in *MsgTransferRequest, opts ...grpc.CallOption) (*MsgTransferResponse, error)
	// Transfer over ibc any marker(including restricted markers) between ibc accounts.
	// The relayer is still needed to accomplish ibc middleware relays.
	IbcTransfer(ctx context.Context, in *MsgIbcTransferRequest, opts ...grpc.CallOption) (*MsgIbcTransferResponse, error)
	// Allows Denom Metadata (see bank module) to be set for the Marker's Denom
	SetDenomMetadata(ctx context.Context, in *MsgSetDenomMetadataRequest, opts ...grpc.CallOption) (*MsgSetDenomMetadataResponse, error)
	// GrantAllowance grants fee allowance to the grantee on the granter's
	// account with the provided expiration time.
	GrantAllowance(ctx context.Context, in *MsgGrantAllowanceRequest, opts ...grpc.CallOption) (*MsgGrantAllowanceResponse, error)
	// AddFinalizeActivateMarker
	AddFinalizeActivateMarker(ctx context.Context, in *MsgAddFinalizeActivateMarkerRequest, opts ...grpc.CallOption) (*MsgAddFinalizeActivateMarkerResponse, error)
	// SupplyIncreaseProposal can only be called via gov proposal
	SupplyIncreaseProposal(ctx context.Context, in *MsgSupplyIncreaseProposalRequest, opts ...grpc.CallOption) (*MsgSupplyIncreaseProposalResponse, error)
	// UpdateRequiredAttributes will only succeed if signer has transfer authority
	UpdateRequiredAttributes(ctx context.Context, in *MsgUpdateRequiredAttributesRequest, opts ...grpc.CallOption) (*MsgUpdateRequiredAttributesResponse, error)
	// UpdateForcedTransfer updates the allow_forced_transfer field of a marker via governance proposal.
	UpdateForcedTransfer(ctx context.Context, in *MsgUpdateForcedTransferRequest, opts ...grpc.CallOption) (*MsgUpdateForcedTransferResponse, error)
	// SetAccountData sets the accountdata for a denom. Signer must have deposit authority.
	SetAccountData(ctx context.Context, in *MsgSetAccountDataRequest, opts ...grpc.CallOption) (*MsgSetAccountDataResponse, error)
	// UpdateSendDenyList will only succeed if signer has admin authority
	UpdateSendDenyList(ctx context.Context, in *MsgUpdateSendDenyListRequest, opts ...grpc.CallOption) (*MsgUpdateSendDenyListResponse, error)
	// AddNetAssetValues set the net asset value for a marker
	AddNetAssetValues(ctx context.Context, in *MsgAddNetAssetValuesRequest, opts ...grpc.CallOption) (*MsgAddNetAssetValuesResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgDeleteAccessRequest

type MsgDeleteAccessRequest 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"`
	RemovedAddress string `protobuf:"bytes,3,opt,name=removed_address,json=removedAddress,proto3" json:"removed_address,omitempty"`
}

MsgDeleteAccessRequest defines the Msg/DeleteAccess request type

func NewDeleteAccessRequest

func NewDeleteAccessRequest(denom string, admin sdk.AccAddress, removed sdk.AccAddress) *MsgDeleteAccessRequest

NewDeleteAccessRequest

func (*MsgDeleteAccessRequest) Descriptor

func (*MsgDeleteAccessRequest) Descriptor() ([]byte, []int)

func (*MsgDeleteAccessRequest) GetAdministrator

func (m *MsgDeleteAccessRequest) GetAdministrator() string

func (*MsgDeleteAccessRequest) GetDenom

func (m *MsgDeleteAccessRequest) GetDenom() string

func (*MsgDeleteAccessRequest) GetRemovedAddress

func (m *MsgDeleteAccessRequest) GetRemovedAddress() string

func (MsgDeleteAccessRequest) GetSigners

func (msg MsgDeleteAccessRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgDeleteAccessRequest) Marshal

func (m *MsgDeleteAccessRequest) Marshal() (dAtA []byte, err error)

func (*MsgDeleteAccessRequest) MarshalTo

func (m *MsgDeleteAccessRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteAccessRequest) MarshalToSizedBuffer

func (m *MsgDeleteAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteAccessRequest) ProtoMessage

func (*MsgDeleteAccessRequest) ProtoMessage()

func (*MsgDeleteAccessRequest) Reset

func (m *MsgDeleteAccessRequest) Reset()

func (*MsgDeleteAccessRequest) Size

func (m *MsgDeleteAccessRequest) Size() (n int)

func (*MsgDeleteAccessRequest) String

func (m *MsgDeleteAccessRequest) String() string

func (*MsgDeleteAccessRequest) Unmarshal

func (m *MsgDeleteAccessRequest) Unmarshal(dAtA []byte) error

func (MsgDeleteAccessRequest) ValidateBasic

func (msg MsgDeleteAccessRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgDeleteAccessRequest) XXX_DiscardUnknown

func (m *MsgDeleteAccessRequest) XXX_DiscardUnknown()

func (*MsgDeleteAccessRequest) XXX_Marshal

func (m *MsgDeleteAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteAccessRequest) XXX_Merge

func (m *MsgDeleteAccessRequest) XXX_Merge(src proto.Message)

func (*MsgDeleteAccessRequest) XXX_Size

func (m *MsgDeleteAccessRequest) XXX_Size() int

func (*MsgDeleteAccessRequest) XXX_Unmarshal

func (m *MsgDeleteAccessRequest) XXX_Unmarshal(b []byte) error

type MsgDeleteAccessResponse

type MsgDeleteAccessResponse struct {
}

MsgDeleteAccessResponse defines the Msg/DeleteAccess response type

func (*MsgDeleteAccessResponse) Descriptor

func (*MsgDeleteAccessResponse) Descriptor() ([]byte, []int)

func (*MsgDeleteAccessResponse) Marshal

func (m *MsgDeleteAccessResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteAccessResponse) MarshalTo

func (m *MsgDeleteAccessResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteAccessResponse) MarshalToSizedBuffer

func (m *MsgDeleteAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteAccessResponse) ProtoMessage

func (*MsgDeleteAccessResponse) ProtoMessage()

func (*MsgDeleteAccessResponse) Reset

func (m *MsgDeleteAccessResponse) Reset()

func (*MsgDeleteAccessResponse) Size

func (m *MsgDeleteAccessResponse) Size() (n int)

func (*MsgDeleteAccessResponse) String

func (m *MsgDeleteAccessResponse) String() string

func (*MsgDeleteAccessResponse) Unmarshal

func (m *MsgDeleteAccessResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteAccessResponse) XXX_DiscardUnknown

func (m *MsgDeleteAccessResponse) XXX_DiscardUnknown()

func (*MsgDeleteAccessResponse) XXX_Marshal

func (m *MsgDeleteAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteAccessResponse) XXX_Merge

func (m *MsgDeleteAccessResponse) XXX_Merge(src proto.Message)

func (*MsgDeleteAccessResponse) XXX_Size

func (m *MsgDeleteAccessResponse) XXX_Size() int

func (*MsgDeleteAccessResponse) XXX_Unmarshal

func (m *MsgDeleteAccessResponse) XXX_Unmarshal(b []byte) error

type MsgDeleteRequest

type MsgDeleteRequest 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"`
}

MsgDeleteRequest defines the Msg/Delete request type

func NewMsgDeleteRequest added in v1.2.0

func NewMsgDeleteRequest(denom string, admin sdk.AccAddress) *MsgDeleteRequest

NewMsgDeleteRequest

func (*MsgDeleteRequest) Descriptor

func (*MsgDeleteRequest) Descriptor() ([]byte, []int)

func (*MsgDeleteRequest) GetAdministrator

func (m *MsgDeleteRequest) GetAdministrator() string

func (*MsgDeleteRequest) GetDenom

func (m *MsgDeleteRequest) GetDenom() string

func (MsgDeleteRequest) GetSigners

func (msg MsgDeleteRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgDeleteRequest) Marshal

func (m *MsgDeleteRequest) Marshal() (dAtA []byte, err error)

func (*MsgDeleteRequest) MarshalTo

func (m *MsgDeleteRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteRequest) MarshalToSizedBuffer

func (m *MsgDeleteRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteRequest) ProtoMessage

func (*MsgDeleteRequest) ProtoMessage()

func (*MsgDeleteRequest) Reset

func (m *MsgDeleteRequest) Reset()

func (*MsgDeleteRequest) Size

func (m *MsgDeleteRequest) Size() (n int)

func (*MsgDeleteRequest) String

func (m *MsgDeleteRequest) String() string

func (*MsgDeleteRequest) Unmarshal

func (m *MsgDeleteRequest) Unmarshal(dAtA []byte) error

func (MsgDeleteRequest) ValidateBasic

func (msg MsgDeleteRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgDeleteRequest) XXX_DiscardUnknown

func (m *MsgDeleteRequest) XXX_DiscardUnknown()

func (*MsgDeleteRequest) XXX_Marshal

func (m *MsgDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteRequest) XXX_Merge

func (m *MsgDeleteRequest) XXX_Merge(src proto.Message)

func (*MsgDeleteRequest) XXX_Size

func (m *MsgDeleteRequest) XXX_Size() int

func (*MsgDeleteRequest) XXX_Unmarshal

func (m *MsgDeleteRequest) XXX_Unmarshal(b []byte) error

type MsgDeleteResponse

type MsgDeleteResponse struct {
}

MsgDeleteResponse defines the Msg/Delete response type

func (*MsgDeleteResponse) Descriptor

func (*MsgDeleteResponse) Descriptor() ([]byte, []int)

func (*MsgDeleteResponse) Marshal

func (m *MsgDeleteResponse) Marshal() (dAtA []byte, err error)

func (*MsgDeleteResponse) MarshalTo

func (m *MsgDeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgDeleteResponse) MarshalToSizedBuffer

func (m *MsgDeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgDeleteResponse) ProtoMessage

func (*MsgDeleteResponse) ProtoMessage()

func (*MsgDeleteResponse) Reset

func (m *MsgDeleteResponse) Reset()

func (*MsgDeleteResponse) Size

func (m *MsgDeleteResponse) Size() (n int)

func (*MsgDeleteResponse) String

func (m *MsgDeleteResponse) String() string

func (*MsgDeleteResponse) Unmarshal

func (m *MsgDeleteResponse) Unmarshal(dAtA []byte) error

func (*MsgDeleteResponse) XXX_DiscardUnknown

func (m *MsgDeleteResponse) XXX_DiscardUnknown()

func (*MsgDeleteResponse) XXX_Marshal

func (m *MsgDeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgDeleteResponse) XXX_Merge

func (m *MsgDeleteResponse) XXX_Merge(src proto.Message)

func (*MsgDeleteResponse) XXX_Size

func (m *MsgDeleteResponse) XXX_Size() int

func (*MsgDeleteResponse) XXX_Unmarshal

func (m *MsgDeleteResponse) XXX_Unmarshal(b []byte) error

type MsgFinalizeRequest

type MsgFinalizeRequest 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"`
}

MsgFinalizeRequest defines the Msg/Finalize request type

func NewMsgFinalizeRequest added in v1.2.0

func NewMsgFinalizeRequest(denom string, admin sdk.AccAddress) *MsgFinalizeRequest

NewMsgFinalizeRequest

func (*MsgFinalizeRequest) Descriptor

func (*MsgFinalizeRequest) Descriptor() ([]byte, []int)

func (*MsgFinalizeRequest) GetAdministrator

func (m *MsgFinalizeRequest) GetAdministrator() string

func (*MsgFinalizeRequest) GetDenom

func (m *MsgFinalizeRequest) GetDenom() string

func (MsgFinalizeRequest) GetSigners

func (msg MsgFinalizeRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgFinalizeRequest) Marshal

func (m *MsgFinalizeRequest) Marshal() (dAtA []byte, err error)

func (*MsgFinalizeRequest) MarshalTo

func (m *MsgFinalizeRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgFinalizeRequest) MarshalToSizedBuffer

func (m *MsgFinalizeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFinalizeRequest) ProtoMessage

func (*MsgFinalizeRequest) ProtoMessage()

func (*MsgFinalizeRequest) Reset

func (m *MsgFinalizeRequest) Reset()

func (*MsgFinalizeRequest) Size

func (m *MsgFinalizeRequest) Size() (n int)

func (*MsgFinalizeRequest) String

func (m *MsgFinalizeRequest) String() string

func (*MsgFinalizeRequest) Unmarshal

func (m *MsgFinalizeRequest) Unmarshal(dAtA []byte) error

func (MsgFinalizeRequest) ValidateBasic

func (msg MsgFinalizeRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgFinalizeRequest) XXX_DiscardUnknown

func (m *MsgFinalizeRequest) XXX_DiscardUnknown()

func (*MsgFinalizeRequest) XXX_Marshal

func (m *MsgFinalizeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFinalizeRequest) XXX_Merge

func (m *MsgFinalizeRequest) XXX_Merge(src proto.Message)

func (*MsgFinalizeRequest) XXX_Size

func (m *MsgFinalizeRequest) XXX_Size() int

func (*MsgFinalizeRequest) XXX_Unmarshal

func (m *MsgFinalizeRequest) XXX_Unmarshal(b []byte) error

type MsgFinalizeResponse

type MsgFinalizeResponse struct {
}

MsgFinalizeResponse defines the Msg/Finalize response type

func (*MsgFinalizeResponse) Descriptor

func (*MsgFinalizeResponse) Descriptor() ([]byte, []int)

func (*MsgFinalizeResponse) Marshal

func (m *MsgFinalizeResponse) Marshal() (dAtA []byte, err error)

func (*MsgFinalizeResponse) MarshalTo

func (m *MsgFinalizeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgFinalizeResponse) MarshalToSizedBuffer

func (m *MsgFinalizeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgFinalizeResponse) ProtoMessage

func (*MsgFinalizeResponse) ProtoMessage()

func (*MsgFinalizeResponse) Reset

func (m *MsgFinalizeResponse) Reset()

func (*MsgFinalizeResponse) Size

func (m *MsgFinalizeResponse) Size() (n int)

func (*MsgFinalizeResponse) String

func (m *MsgFinalizeResponse) String() string

func (*MsgFinalizeResponse) Unmarshal

func (m *MsgFinalizeResponse) Unmarshal(dAtA []byte) error

func (*MsgFinalizeResponse) XXX_DiscardUnknown

func (m *MsgFinalizeResponse) XXX_DiscardUnknown()

func (*MsgFinalizeResponse) XXX_Marshal

func (m *MsgFinalizeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgFinalizeResponse) XXX_Merge

func (m *MsgFinalizeResponse) XXX_Merge(src proto.Message)

func (*MsgFinalizeResponse) XXX_Size

func (m *MsgFinalizeResponse) XXX_Size() int

func (*MsgFinalizeResponse) XXX_Unmarshal

func (m *MsgFinalizeResponse) XXX_Unmarshal(b []byte) error

type MsgGrantAllowanceRequest added in v1.11.0

type MsgGrantAllowanceRequest 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"`
	// grantee is the address of the user being granted an allowance of another user's funds.
	Grantee string `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"`
	// allowance can be any of basic and filtered fee allowance (fee FeeGrant module).
	Allowance *types.Any `protobuf:"bytes,4,opt,name=allowance,proto3" json:"allowance,omitempty"`
}

MsgGrantAllowanceRequest validates permission to create a fee grant based on marker admin access. If successful a feegrant is recorded where the marker account itself is the grantor

func NewMsgGrantAllowance added in v1.11.0

func NewMsgGrantAllowance(
	denom string, admin sdk.AccAddress, grantee sdk.AccAddress, allowance feegranttypes.FeeAllowanceI,
) (*MsgGrantAllowanceRequest, error)

NewMsgAddMarkerRequest creates a new marker in a proposed state with a given total supply a denomination

func (*MsgGrantAllowanceRequest) Descriptor added in v1.11.0

func (*MsgGrantAllowanceRequest) Descriptor() ([]byte, []int)

func (*MsgGrantAllowanceRequest) GetAdministrator added in v1.11.0

func (m *MsgGrantAllowanceRequest) GetAdministrator() string

func (*MsgGrantAllowanceRequest) GetAllowance added in v1.11.0

func (m *MsgGrantAllowanceRequest) GetAllowance() *types.Any

func (*MsgGrantAllowanceRequest) GetDenom added in v1.11.0

func (m *MsgGrantAllowanceRequest) GetDenom() string

func (MsgGrantAllowanceRequest) GetFeeAllowanceI added in v1.11.0

func (msg MsgGrantAllowanceRequest) GetFeeAllowanceI() (feegranttypes.FeeAllowanceI, error)

GetFeeAllowanceI returns unpacked FeeAllowance

func (*MsgGrantAllowanceRequest) GetGrantee added in v1.11.0

func (m *MsgGrantAllowanceRequest) GetGrantee() string

func (MsgGrantAllowanceRequest) GetSigners added in v1.11.0

func (msg MsgGrantAllowanceRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgGrantAllowanceRequest) Marshal added in v1.11.0

func (m *MsgGrantAllowanceRequest) Marshal() (dAtA []byte, err error)

func (*MsgGrantAllowanceRequest) MarshalTo added in v1.11.0

func (m *MsgGrantAllowanceRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgGrantAllowanceRequest) MarshalToSizedBuffer added in v1.11.0

func (m *MsgGrantAllowanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgGrantAllowanceRequest) ProtoMessage added in v1.11.0

func (*MsgGrantAllowanceRequest) ProtoMessage()

func (*MsgGrantAllowanceRequest) Reset added in v1.11.0

func (m *MsgGrantAllowanceRequest) Reset()

func (*MsgGrantAllowanceRequest) Size added in v1.11.0

func (m *MsgGrantAllowanceRequest) Size() (n int)

func (*MsgGrantAllowanceRequest) String added in v1.11.0

func (m *MsgGrantAllowanceRequest) String() string

func (*MsgGrantAllowanceRequest) Unmarshal added in v1.11.0

func (m *MsgGrantAllowanceRequest) Unmarshal(dAtA []byte) error

func (MsgGrantAllowanceRequest) UnpackInterfaces added in v1.11.0

func (msg MsgGrantAllowanceRequest) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error

UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces

func (MsgGrantAllowanceRequest) ValidateBasic added in v1.11.0

func (msg MsgGrantAllowanceRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgGrantAllowanceRequest) XXX_DiscardUnknown added in v1.11.0

func (m *MsgGrantAllowanceRequest) XXX_DiscardUnknown()

func (*MsgGrantAllowanceRequest) XXX_Marshal added in v1.11.0

func (m *MsgGrantAllowanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgGrantAllowanceRequest) XXX_Merge added in v1.11.0

func (m *MsgGrantAllowanceRequest) XXX_Merge(src proto.Message)

func (*MsgGrantAllowanceRequest) XXX_Size added in v1.11.0

func (m *MsgGrantAllowanceRequest) XXX_Size() int

func (*MsgGrantAllowanceRequest) XXX_Unmarshal added in v1.11.0

func (m *MsgGrantAllowanceRequest) XXX_Unmarshal(b []byte) error

type MsgGrantAllowanceResponse added in v1.11.0

type MsgGrantAllowanceResponse struct {
}

MsgGrantAllowanceResponse defines the Msg/GrantAllowanceResponse response type.

func (*MsgGrantAllowanceResponse) Descriptor added in v1.11.0

func (*MsgGrantAllowanceResponse) Descriptor() ([]byte, []int)

func (*MsgGrantAllowanceResponse) Marshal added in v1.11.0

func (m *MsgGrantAllowanceResponse) Marshal() (dAtA []byte, err error)

func (*MsgGrantAllowanceResponse) MarshalTo added in v1.11.0

func (m *MsgGrantAllowanceResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgGrantAllowanceResponse) MarshalToSizedBuffer added in v1.11.0

func (m *MsgGrantAllowanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgGrantAllowanceResponse) ProtoMessage added in v1.11.0

func (*MsgGrantAllowanceResponse) ProtoMessage()

func (*MsgGrantAllowanceResponse) Reset added in v1.11.0

func (m *MsgGrantAllowanceResponse) Reset()

func (*MsgGrantAllowanceResponse) Size added in v1.11.0

func (m *MsgGrantAllowanceResponse) Size() (n int)

func (*MsgGrantAllowanceResponse) String added in v1.11.0

func (m *MsgGrantAllowanceResponse) String() string

func (*MsgGrantAllowanceResponse) Unmarshal added in v1.11.0

func (m *MsgGrantAllowanceResponse) Unmarshal(dAtA []byte) error

func (*MsgGrantAllowanceResponse) XXX_DiscardUnknown added in v1.11.0

func (m *MsgGrantAllowanceResponse) XXX_DiscardUnknown()

func (*MsgGrantAllowanceResponse) XXX_Marshal added in v1.11.0

func (m *MsgGrantAllowanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgGrantAllowanceResponse) XXX_Merge added in v1.11.0

func (m *MsgGrantAllowanceResponse) XXX_Merge(src proto.Message)

func (*MsgGrantAllowanceResponse) XXX_Size added in v1.11.0

func (m *MsgGrantAllowanceResponse) XXX_Size() int

func (*MsgGrantAllowanceResponse) XXX_Unmarshal added in v1.11.0

func (m *MsgGrantAllowanceResponse) XXX_Unmarshal(b []byte) error

type MsgIbcTransferRequest added in v1.13.0

type MsgIbcTransferRequest struct {
	Transfer      github_com_cosmos_ibc_go_v6_modules_apps_transfer_types.MsgTransfer `` /* 138-byte string literal not displayed */
	Administrator string                                                              `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

MsgIbcTransferRequest defines the Msg/IbcTransfer request type for markers.

func NewIbcMsgTransferRequest added in v1.13.0

func NewIbcMsgTransferRequest(
	administrator string,
	sourcePort,
	sourceChannel string,
	token sdk.Coin,
	sender,
	receiver string,
	timeoutHeight clienttypes.Height,
	timeoutTimestamp uint64,
	memo string,
) *MsgIbcTransferRequest

NewIbcMsgTransferRequest

func (*MsgIbcTransferRequest) Descriptor added in v1.13.0

func (*MsgIbcTransferRequest) Descriptor() ([]byte, []int)

func (*MsgIbcTransferRequest) GetAdministrator added in v1.13.0

func (m *MsgIbcTransferRequest) GetAdministrator() string

func (MsgIbcTransferRequest) GetSigners added in v1.13.0

func (msg MsgIbcTransferRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgIbcTransferRequest) Marshal added in v1.13.0

func (m *MsgIbcTransferRequest) Marshal() (dAtA []byte, err error)

func (*MsgIbcTransferRequest) MarshalTo added in v1.13.0

func (m *MsgIbcTransferRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgIbcTransferRequest) MarshalToSizedBuffer added in v1.13.0

func (m *MsgIbcTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIbcTransferRequest) ProtoMessage added in v1.13.0

func (*MsgIbcTransferRequest) ProtoMessage()

func (*MsgIbcTransferRequest) Reset added in v1.13.0

func (m *MsgIbcTransferRequest) Reset()

func (*MsgIbcTransferRequest) Size added in v1.13.0

func (m *MsgIbcTransferRequest) Size() (n int)

func (*MsgIbcTransferRequest) String added in v1.13.0

func (m *MsgIbcTransferRequest) String() string

func (*MsgIbcTransferRequest) Unmarshal added in v1.13.0

func (m *MsgIbcTransferRequest) Unmarshal(dAtA []byte) error

func (MsgIbcTransferRequest) ValidateBasic added in v1.13.0

func (msg MsgIbcTransferRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgIbcTransferRequest) XXX_DiscardUnknown added in v1.13.0

func (m *MsgIbcTransferRequest) XXX_DiscardUnknown()

func (*MsgIbcTransferRequest) XXX_Marshal added in v1.13.0

func (m *MsgIbcTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIbcTransferRequest) XXX_Merge added in v1.13.0

func (m *MsgIbcTransferRequest) XXX_Merge(src proto.Message)

func (*MsgIbcTransferRequest) XXX_Size added in v1.13.0

func (m *MsgIbcTransferRequest) XXX_Size() int

func (*MsgIbcTransferRequest) XXX_Unmarshal added in v1.13.0

func (m *MsgIbcTransferRequest) XXX_Unmarshal(b []byte) error

type MsgIbcTransferResponse added in v1.13.0

type MsgIbcTransferResponse struct {
}

MsgIbcTransferResponse defines the Msg/IbcTransfer response type

func (*MsgIbcTransferResponse) Descriptor added in v1.13.0

func (*MsgIbcTransferResponse) Descriptor() ([]byte, []int)

func (*MsgIbcTransferResponse) Marshal added in v1.13.0

func (m *MsgIbcTransferResponse) Marshal() (dAtA []byte, err error)

func (*MsgIbcTransferResponse) MarshalTo added in v1.13.0

func (m *MsgIbcTransferResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgIbcTransferResponse) MarshalToSizedBuffer added in v1.13.0

func (m *MsgIbcTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgIbcTransferResponse) ProtoMessage added in v1.13.0

func (*MsgIbcTransferResponse) ProtoMessage()

func (*MsgIbcTransferResponse) Reset added in v1.13.0

func (m *MsgIbcTransferResponse) Reset()

func (*MsgIbcTransferResponse) Size added in v1.13.0

func (m *MsgIbcTransferResponse) Size() (n int)

func (*MsgIbcTransferResponse) String added in v1.13.0

func (m *MsgIbcTransferResponse) String() string

func (*MsgIbcTransferResponse) Unmarshal added in v1.13.0

func (m *MsgIbcTransferResponse) Unmarshal(dAtA []byte) error

func (*MsgIbcTransferResponse) XXX_DiscardUnknown added in v1.13.0

func (m *MsgIbcTransferResponse) XXX_DiscardUnknown()

func (*MsgIbcTransferResponse) XXX_Marshal added in v1.13.0

func (m *MsgIbcTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgIbcTransferResponse) XXX_Merge added in v1.13.0

func (m *MsgIbcTransferResponse) XXX_Merge(src proto.Message)

func (*MsgIbcTransferResponse) XXX_Size added in v1.13.0

func (m *MsgIbcTransferResponse) XXX_Size() int

func (*MsgIbcTransferResponse) XXX_Unmarshal added in v1.13.0

func (m *MsgIbcTransferResponse) XXX_Unmarshal(b []byte) error

type MsgMintRequest

type MsgMintRequest struct {
	Amount        github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	Administrator string                                  `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

MsgMintRequest defines the Msg/Mint request type

func NewMsgMintRequest added in v1.2.0

func NewMsgMintRequest(admin sdk.AccAddress, amount sdk.Coin) *MsgMintRequest

NewMsgMintRequest creates a mint supply message

func (*MsgMintRequest) Descriptor

func (*MsgMintRequest) Descriptor() ([]byte, []int)

func (*MsgMintRequest) GetAdministrator

func (m *MsgMintRequest) GetAdministrator() string

func (MsgMintRequest) GetSigners

func (msg MsgMintRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgMintRequest) Marshal

func (m *MsgMintRequest) Marshal() (dAtA []byte, err error)

func (*MsgMintRequest) MarshalTo

func (m *MsgMintRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgMintRequest) MarshalToSizedBuffer

func (m *MsgMintRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMintRequest) ProtoMessage

func (*MsgMintRequest) ProtoMessage()

func (*MsgMintRequest) Reset

func (m *MsgMintRequest) Reset()

func (*MsgMintRequest) Size

func (m *MsgMintRequest) Size() (n int)

func (*MsgMintRequest) String

func (m *MsgMintRequest) String() string

func (*MsgMintRequest) Unmarshal

func (m *MsgMintRequest) Unmarshal(dAtA []byte) error

func (MsgMintRequest) ValidateBasic

func (msg MsgMintRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgMintRequest) XXX_DiscardUnknown

func (m *MsgMintRequest) XXX_DiscardUnknown()

func (*MsgMintRequest) XXX_Marshal

func (m *MsgMintRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMintRequest) XXX_Merge

func (m *MsgMintRequest) XXX_Merge(src proto.Message)

func (*MsgMintRequest) XXX_Size

func (m *MsgMintRequest) XXX_Size() int

func (*MsgMintRequest) XXX_Unmarshal

func (m *MsgMintRequest) XXX_Unmarshal(b []byte) error

type MsgMintResponse

type MsgMintResponse struct {
}

MsgMintResponse defines the Msg/Mint response type

func (*MsgMintResponse) Descriptor

func (*MsgMintResponse) Descriptor() ([]byte, []int)

func (*MsgMintResponse) Marshal

func (m *MsgMintResponse) Marshal() (dAtA []byte, err error)

func (*MsgMintResponse) MarshalTo

func (m *MsgMintResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgMintResponse) MarshalToSizedBuffer

func (m *MsgMintResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMintResponse) ProtoMessage

func (*MsgMintResponse) ProtoMessage()

func (*MsgMintResponse) Reset

func (m *MsgMintResponse) Reset()

func (*MsgMintResponse) Size

func (m *MsgMintResponse) Size() (n int)

func (*MsgMintResponse) String

func (m *MsgMintResponse) String() string

func (*MsgMintResponse) Unmarshal

func (m *MsgMintResponse) Unmarshal(dAtA []byte) error

func (*MsgMintResponse) XXX_DiscardUnknown

func (m *MsgMintResponse) XXX_DiscardUnknown()

func (*MsgMintResponse) XXX_Marshal

func (m *MsgMintResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMintResponse) XXX_Merge

func (m *MsgMintResponse) XXX_Merge(src proto.Message)

func (*MsgMintResponse) XXX_Size

func (m *MsgMintResponse) XXX_Size() int

func (*MsgMintResponse) XXX_Unmarshal

func (m *MsgMintResponse) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// Finalize
	Finalize(context.Context, *MsgFinalizeRequest) (*MsgFinalizeResponse, error)
	// Activate
	Activate(context.Context, *MsgActivateRequest) (*MsgActivateResponse, error)
	// Cancel
	Cancel(context.Context, *MsgCancelRequest) (*MsgCancelResponse, error)
	// Delete
	Delete(context.Context, *MsgDeleteRequest) (*MsgDeleteResponse, error)
	// Mint
	Mint(context.Context, *MsgMintRequest) (*MsgMintResponse, error)
	// Burn
	Burn(context.Context, *MsgBurnRequest) (*MsgBurnResponse, error)
	// AddAccess
	AddAccess(context.Context, *MsgAddAccessRequest) (*MsgAddAccessResponse, error)
	// DeleteAccess
	DeleteAccess(context.Context, *MsgDeleteAccessRequest) (*MsgDeleteAccessResponse, error)
	// Withdraw
	Withdraw(context.Context, *MsgWithdrawRequest) (*MsgWithdrawResponse, error)
	// AddMarker
	AddMarker(context.Context, *MsgAddMarkerRequest) (*MsgAddMarkerResponse, error)
	// Transfer marker denominated coin between accounts
	Transfer(context.Context, *MsgTransferRequest) (*MsgTransferResponse, error)
	// Transfer over ibc any marker(including restricted markers) between ibc accounts.
	// The relayer is still needed to accomplish ibc middleware relays.
	IbcTransfer(context.Context, *MsgIbcTransferRequest) (*MsgIbcTransferResponse, error)
	// Allows Denom Metadata (see bank module) to be set for the Marker's Denom
	SetDenomMetadata(context.Context, *MsgSetDenomMetadataRequest) (*MsgSetDenomMetadataResponse, error)
	// GrantAllowance grants fee allowance to the grantee on the granter's
	// account with the provided expiration time.
	GrantAllowance(context.Context, *MsgGrantAllowanceRequest) (*MsgGrantAllowanceResponse, error)
	// AddFinalizeActivateMarker
	AddFinalizeActivateMarker(context.Context, *MsgAddFinalizeActivateMarkerRequest) (*MsgAddFinalizeActivateMarkerResponse, error)
	// SupplyIncreaseProposal can only be called via gov proposal
	SupplyIncreaseProposal(context.Context, *MsgSupplyIncreaseProposalRequest) (*MsgSupplyIncreaseProposalResponse, error)
	// UpdateRequiredAttributes will only succeed if signer has transfer authority
	UpdateRequiredAttributes(context.Context, *MsgUpdateRequiredAttributesRequest) (*MsgUpdateRequiredAttributesResponse, error)
	// UpdateForcedTransfer updates the allow_forced_transfer field of a marker via governance proposal.
	UpdateForcedTransfer(context.Context, *MsgUpdateForcedTransferRequest) (*MsgUpdateForcedTransferResponse, error)
	// SetAccountData sets the accountdata for a denom. Signer must have deposit authority.
	SetAccountData(context.Context, *MsgSetAccountDataRequest) (*MsgSetAccountDataResponse, error)
	// UpdateSendDenyList will only succeed if signer has admin authority
	UpdateSendDenyList(context.Context, *MsgUpdateSendDenyListRequest) (*MsgUpdateSendDenyListResponse, error)
	// AddNetAssetValues set the net asset value for a marker
	AddNetAssetValues(context.Context, *MsgAddNetAssetValuesRequest) (*MsgAddNetAssetValuesResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetAccountDataRequest added in v1.16.0

type MsgSetAccountDataRequest struct {
	// The denomination of the marker to update.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// The desired accountdata value.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// The signer of this message. Must have deposit authority or be the governance module account address.
	Signer string `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
}

MsgSetAccountDataRequest defines a msg to set/update/delete the account data for a marker. Signer must have deposit authority or be a gov proposal.

func (*MsgSetAccountDataRequest) Descriptor added in v1.16.0

func (*MsgSetAccountDataRequest) Descriptor() ([]byte, []int)

func (*MsgSetAccountDataRequest) Equal added in v1.16.0

func (this *MsgSetAccountDataRequest) Equal(that interface{}) bool

func (*MsgSetAccountDataRequest) GetDenom added in v1.16.0

func (m *MsgSetAccountDataRequest) GetDenom() string

func (*MsgSetAccountDataRequest) GetSigner added in v1.16.0

func (m *MsgSetAccountDataRequest) GetSigner() string

func (MsgSetAccountDataRequest) GetSigners added in v1.16.0

func (msg MsgSetAccountDataRequest) GetSigners() []sdk.AccAddress

func (*MsgSetAccountDataRequest) GetValue added in v1.16.0

func (m *MsgSetAccountDataRequest) GetValue() string

func (*MsgSetAccountDataRequest) Marshal added in v1.16.0

func (m *MsgSetAccountDataRequest) Marshal() (dAtA []byte, err error)

func (*MsgSetAccountDataRequest) MarshalTo added in v1.16.0

func (m *MsgSetAccountDataRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetAccountDataRequest) MarshalToSizedBuffer added in v1.16.0

func (m *MsgSetAccountDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetAccountDataRequest) ProtoMessage added in v1.16.0

func (*MsgSetAccountDataRequest) ProtoMessage()

func (*MsgSetAccountDataRequest) Reset added in v1.16.0

func (m *MsgSetAccountDataRequest) Reset()

func (*MsgSetAccountDataRequest) Size added in v1.16.0

func (m *MsgSetAccountDataRequest) Size() (n int)

func (*MsgSetAccountDataRequest) String added in v1.16.0

func (m *MsgSetAccountDataRequest) String() string

func (*MsgSetAccountDataRequest) Unmarshal added in v1.16.0

func (m *MsgSetAccountDataRequest) Unmarshal(dAtA []byte) error

func (MsgSetAccountDataRequest) ValidateBasic added in v1.16.0

func (msg MsgSetAccountDataRequest) ValidateBasic() error

func (*MsgSetAccountDataRequest) XXX_DiscardUnknown added in v1.16.0

func (m *MsgSetAccountDataRequest) XXX_DiscardUnknown()

func (*MsgSetAccountDataRequest) XXX_Marshal added in v1.16.0

func (m *MsgSetAccountDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetAccountDataRequest) XXX_Merge added in v1.16.0

func (m *MsgSetAccountDataRequest) XXX_Merge(src proto.Message)

func (*MsgSetAccountDataRequest) XXX_Size added in v1.16.0

func (m *MsgSetAccountDataRequest) XXX_Size() int

func (*MsgSetAccountDataRequest) XXX_Unmarshal added in v1.16.0

func (m *MsgSetAccountDataRequest) XXX_Unmarshal(b []byte) error

type MsgSetAccountDataResponse added in v1.16.0

type MsgSetAccountDataResponse struct {
}

MsgSetAccountDataResponse defines the Msg/SetAccountData response type

func (*MsgSetAccountDataResponse) Descriptor added in v1.16.0

func (*MsgSetAccountDataResponse) Descriptor() ([]byte, []int)

func (*MsgSetAccountDataResponse) Marshal added in v1.16.0

func (m *MsgSetAccountDataResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetAccountDataResponse) MarshalTo added in v1.16.0

func (m *MsgSetAccountDataResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetAccountDataResponse) MarshalToSizedBuffer added in v1.16.0

func (m *MsgSetAccountDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetAccountDataResponse) ProtoMessage added in v1.16.0

func (*MsgSetAccountDataResponse) ProtoMessage()

func (*MsgSetAccountDataResponse) Reset added in v1.16.0

func (m *MsgSetAccountDataResponse) Reset()

func (*MsgSetAccountDataResponse) Size added in v1.16.0

func (m *MsgSetAccountDataResponse) Size() (n int)

func (*MsgSetAccountDataResponse) String added in v1.16.0

func (m *MsgSetAccountDataResponse) String() string

func (*MsgSetAccountDataResponse) Unmarshal added in v1.16.0

func (m *MsgSetAccountDataResponse) Unmarshal(dAtA []byte) error

func (*MsgSetAccountDataResponse) XXX_DiscardUnknown added in v1.16.0

func (m *MsgSetAccountDataResponse) XXX_DiscardUnknown()

func (*MsgSetAccountDataResponse) XXX_Marshal added in v1.16.0

func (m *MsgSetAccountDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetAccountDataResponse) XXX_Merge added in v1.16.0

func (m *MsgSetAccountDataResponse) XXX_Merge(src proto.Message)

func (*MsgSetAccountDataResponse) XXX_Size added in v1.16.0

func (m *MsgSetAccountDataResponse) XXX_Size() int

func (*MsgSetAccountDataResponse) XXX_Unmarshal added in v1.16.0

func (m *MsgSetAccountDataResponse) XXX_Unmarshal(b []byte) error

type MsgSetDenomMetadataRequest

type MsgSetDenomMetadataRequest struct {
	Metadata      github_com_cosmos_cosmos_sdk_x_bank_types.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3,customtype=github.com/cosmos/cosmos-sdk/x/bank/types.Metadata" json:"metadata"`
	Administrator string                                             `protobuf:"bytes,2,opt,name=administrator,proto3" json:"administrator,omitempty"`
}

MsgSetDenomMetadataRequest defines the Msg/SetDenomMetadata request type

func NewSetDenomMetadataRequest

func NewSetDenomMetadataRequest(
	metadata banktypes.Metadata, admin sdk.AccAddress,
) *MsgSetDenomMetadataRequest

NewSetDenomMetadataRequest creates a new marker in a proposed state with a given total supply a denomination

func (*MsgSetDenomMetadataRequest) Descriptor

func (*MsgSetDenomMetadataRequest) Descriptor() ([]byte, []int)

func (*MsgSetDenomMetadataRequest) GetAdministrator

func (m *MsgSetDenomMetadataRequest) GetAdministrator() string

func (MsgSetDenomMetadataRequest) GetSigners

func (msg MsgSetDenomMetadataRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgSetDenomMetadataRequest) Marshal

func (m *MsgSetDenomMetadataRequest) Marshal() (dAtA []byte, err error)

func (*MsgSetDenomMetadataRequest) MarshalTo

func (m *MsgSetDenomMetadataRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetDenomMetadataRequest) MarshalToSizedBuffer

func (m *MsgSetDenomMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetDenomMetadataRequest) ProtoMessage

func (*MsgSetDenomMetadataRequest) ProtoMessage()

func (*MsgSetDenomMetadataRequest) Reset

func (m *MsgSetDenomMetadataRequest) Reset()

func (*MsgSetDenomMetadataRequest) Size

func (m *MsgSetDenomMetadataRequest) Size() (n int)

func (*MsgSetDenomMetadataRequest) String

func (m *MsgSetDenomMetadataRequest) String() string

func (*MsgSetDenomMetadataRequest) Unmarshal

func (m *MsgSetDenomMetadataRequest) Unmarshal(dAtA []byte) error

func (MsgSetDenomMetadataRequest) ValidateBasic

func (msg MsgSetDenomMetadataRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgSetDenomMetadataRequest) XXX_DiscardUnknown

func (m *MsgSetDenomMetadataRequest) XXX_DiscardUnknown()

func (*MsgSetDenomMetadataRequest) XXX_Marshal

func (m *MsgSetDenomMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetDenomMetadataRequest) XXX_Merge

func (m *MsgSetDenomMetadataRequest) XXX_Merge(src proto.Message)

func (*MsgSetDenomMetadataRequest) XXX_Size

func (m *MsgSetDenomMetadataRequest) XXX_Size() int

func (*MsgSetDenomMetadataRequest) XXX_Unmarshal

func (m *MsgSetDenomMetadataRequest) XXX_Unmarshal(b []byte) error

type MsgSetDenomMetadataResponse

type MsgSetDenomMetadataResponse struct {
}

MsgSetDenomMetadataResponse defines the Msg/SetDenomMetadata response type

func (*MsgSetDenomMetadataResponse) Descriptor

func (*MsgSetDenomMetadataResponse) Descriptor() ([]byte, []int)

func (*MsgSetDenomMetadataResponse) Marshal

func (m *MsgSetDenomMetadataResponse) Marshal() (dAtA []byte, err error)

func (*MsgSetDenomMetadataResponse) MarshalTo

func (m *MsgSetDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSetDenomMetadataResponse) MarshalToSizedBuffer

func (m *MsgSetDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSetDenomMetadataResponse) ProtoMessage

func (*MsgSetDenomMetadataResponse) ProtoMessage()

func (*MsgSetDenomMetadataResponse) Reset

func (m *MsgSetDenomMetadataResponse) Reset()

func (*MsgSetDenomMetadataResponse) Size

func (m *MsgSetDenomMetadataResponse) Size() (n int)

func (*MsgSetDenomMetadataResponse) String

func (m *MsgSetDenomMetadataResponse) String() string

func (*MsgSetDenomMetadataResponse) Unmarshal

func (m *MsgSetDenomMetadataResponse) Unmarshal(dAtA []byte) error

func (*MsgSetDenomMetadataResponse) XXX_DiscardUnknown

func (m *MsgSetDenomMetadataResponse) XXX_DiscardUnknown()

func (*MsgSetDenomMetadataResponse) XXX_Marshal

func (m *MsgSetDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSetDenomMetadataResponse) XXX_Merge

func (m *MsgSetDenomMetadataResponse) XXX_Merge(src proto.Message)

func (*MsgSetDenomMetadataResponse) XXX_Size

func (m *MsgSetDenomMetadataResponse) XXX_Size() int

func (*MsgSetDenomMetadataResponse) XXX_Unmarshal

func (m *MsgSetDenomMetadataResponse) XXX_Unmarshal(b []byte) error

type MsgSupplyIncreaseProposalRequest added in v1.14.0

type MsgSupplyIncreaseProposalRequest struct {
	Amount        github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	TargetAddress string                                  `protobuf:"bytes,2,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"`
	Authority     string                                  `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
}

MsgSupplyIncreaseProposalRequest defines a governance proposal to administer a marker and increase total supply of the marker through minting coin and placing it within the marker or assigning it directly to an account

func NewMsgSupplyIncreaseProposalRequest added in v1.14.0

func NewMsgSupplyIncreaseProposalRequest(amount sdk.Coin, targetAddress string, authority string) *MsgSupplyIncreaseProposalRequest

func (*MsgSupplyIncreaseProposalRequest) Descriptor added in v1.14.0

func (*MsgSupplyIncreaseProposalRequest) Descriptor() ([]byte, []int)

func (*MsgSupplyIncreaseProposalRequest) Equal added in v1.14.0

func (this *MsgSupplyIncreaseProposalRequest) Equal(that interface{}) bool

func (*MsgSupplyIncreaseProposalRequest) GetAuthority added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) GetAuthority() string

func (*MsgSupplyIncreaseProposalRequest) GetSigners added in v1.14.0

func (msg *MsgSupplyIncreaseProposalRequest) GetSigners() []sdk.AccAddress

func (*MsgSupplyIncreaseProposalRequest) GetTargetAddress added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) GetTargetAddress() string

func (*MsgSupplyIncreaseProposalRequest) Marshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) Marshal() (dAtA []byte, err error)

func (*MsgSupplyIncreaseProposalRequest) MarshalTo added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgSupplyIncreaseProposalRequest) MarshalToSizedBuffer added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSupplyIncreaseProposalRequest) ProtoMessage added in v1.14.0

func (*MsgSupplyIncreaseProposalRequest) ProtoMessage()

func (*MsgSupplyIncreaseProposalRequest) Reset added in v1.14.0

func (*MsgSupplyIncreaseProposalRequest) Size added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) Size() (n int)

func (*MsgSupplyIncreaseProposalRequest) String added in v1.14.0

func (*MsgSupplyIncreaseProposalRequest) Unmarshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) Unmarshal(dAtA []byte) error

func (*MsgSupplyIncreaseProposalRequest) ValidateBasic added in v1.14.0

func (msg *MsgSupplyIncreaseProposalRequest) ValidateBasic() error

func (*MsgSupplyIncreaseProposalRequest) XXX_DiscardUnknown added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) XXX_DiscardUnknown()

func (*MsgSupplyIncreaseProposalRequest) XXX_Marshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSupplyIncreaseProposalRequest) XXX_Merge added in v1.14.0

func (*MsgSupplyIncreaseProposalRequest) XXX_Size added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) XXX_Size() int

func (*MsgSupplyIncreaseProposalRequest) XXX_Unmarshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalRequest) XXX_Unmarshal(b []byte) error

type MsgSupplyIncreaseProposalResponse added in v1.14.0

type MsgSupplyIncreaseProposalResponse struct {
}

MsgSupplyIncreaseProposalResponse defines the Msg/SupplyIncreaseProposal response type

func (*MsgSupplyIncreaseProposalResponse) Descriptor added in v1.14.0

func (*MsgSupplyIncreaseProposalResponse) Descriptor() ([]byte, []int)

func (*MsgSupplyIncreaseProposalResponse) Marshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) Marshal() (dAtA []byte, err error)

func (*MsgSupplyIncreaseProposalResponse) MarshalTo added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgSupplyIncreaseProposalResponse) MarshalToSizedBuffer added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgSupplyIncreaseProposalResponse) ProtoMessage added in v1.14.0

func (*MsgSupplyIncreaseProposalResponse) ProtoMessage()

func (*MsgSupplyIncreaseProposalResponse) Reset added in v1.14.0

func (*MsgSupplyIncreaseProposalResponse) Size added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) Size() (n int)

func (*MsgSupplyIncreaseProposalResponse) String added in v1.14.0

func (*MsgSupplyIncreaseProposalResponse) Unmarshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) Unmarshal(dAtA []byte) error

func (*MsgSupplyIncreaseProposalResponse) XXX_DiscardUnknown added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) XXX_DiscardUnknown()

func (*MsgSupplyIncreaseProposalResponse) XXX_Marshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgSupplyIncreaseProposalResponse) XXX_Merge added in v1.14.0

func (*MsgSupplyIncreaseProposalResponse) XXX_Size added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) XXX_Size() int

func (*MsgSupplyIncreaseProposalResponse) XXX_Unmarshal added in v1.14.0

func (m *MsgSupplyIncreaseProposalResponse) XXX_Unmarshal(b []byte) error

type MsgTransferRequest

type MsgTransferRequest struct {
	Amount        github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,1,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	Administrator string                                  `protobuf:"bytes,3,opt,name=administrator,proto3" json:"administrator,omitempty"`
	FromAddress   string                                  `protobuf:"bytes,4,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"`
	ToAddress     string                                  `protobuf:"bytes,5,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
}

MsgTransferRequest defines the Msg/Transfer request type

func NewMsgTransferRequest added in v1.2.0

func NewMsgTransferRequest(
	admin, fromAddress, toAddress sdk.AccAddress, amount sdk.Coin,
) *MsgTransferRequest

NewMsgTransferRequest

func (*MsgTransferRequest) Descriptor

func (*MsgTransferRequest) Descriptor() ([]byte, []int)

func (*MsgTransferRequest) GetAdministrator

func (m *MsgTransferRequest) GetAdministrator() string

func (*MsgTransferRequest) GetFromAddress

func (m *MsgTransferRequest) GetFromAddress() string

func (MsgTransferRequest) GetSigners

func (msg MsgTransferRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgTransferRequest) GetToAddress

func (m *MsgTransferRequest) GetToAddress() string

func (*MsgTransferRequest) Marshal

func (m *MsgTransferRequest) Marshal() (dAtA []byte, err error)

func (*MsgTransferRequest) MarshalTo

func (m *MsgTransferRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgTransferRequest) MarshalToSizedBuffer

func (m *MsgTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTransferRequest) ProtoMessage

func (*MsgTransferRequest) ProtoMessage()

func (*MsgTransferRequest) Reset

func (m *MsgTransferRequest) Reset()

func (*MsgTransferRequest) Size

func (m *MsgTransferRequest) Size() (n int)

func (*MsgTransferRequest) String

func (m *MsgTransferRequest) String() string

func (*MsgTransferRequest) Unmarshal

func (m *MsgTransferRequest) Unmarshal(dAtA []byte) error

func (MsgTransferRequest) ValidateBasic

func (msg MsgTransferRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgTransferRequest) XXX_DiscardUnknown

func (m *MsgTransferRequest) XXX_DiscardUnknown()

func (*MsgTransferRequest) XXX_Marshal

func (m *MsgTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTransferRequest) XXX_Merge

func (m *MsgTransferRequest) XXX_Merge(src proto.Message)

func (*MsgTransferRequest) XXX_Size

func (m *MsgTransferRequest) XXX_Size() int

func (*MsgTransferRequest) XXX_Unmarshal

func (m *MsgTransferRequest) XXX_Unmarshal(b []byte) error

type MsgTransferResponse

type MsgTransferResponse struct {
}

MsgTransferResponse defines the Msg/Transfer response type

func (*MsgTransferResponse) Descriptor

func (*MsgTransferResponse) Descriptor() ([]byte, []int)

func (*MsgTransferResponse) Marshal

func (m *MsgTransferResponse) Marshal() (dAtA []byte, err error)

func (*MsgTransferResponse) MarshalTo

func (m *MsgTransferResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgTransferResponse) MarshalToSizedBuffer

func (m *MsgTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgTransferResponse) ProtoMessage

func (*MsgTransferResponse) ProtoMessage()

func (*MsgTransferResponse) Reset

func (m *MsgTransferResponse) Reset()

func (*MsgTransferResponse) Size

func (m *MsgTransferResponse) Size() (n int)

func (*MsgTransferResponse) String

func (m *MsgTransferResponse) String() string

func (*MsgTransferResponse) Unmarshal

func (m *MsgTransferResponse) Unmarshal(dAtA []byte) error

func (*MsgTransferResponse) XXX_DiscardUnknown

func (m *MsgTransferResponse) XXX_DiscardUnknown()

func (*MsgTransferResponse) XXX_Marshal

func (m *MsgTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgTransferResponse) XXX_Merge

func (m *MsgTransferResponse) XXX_Merge(src proto.Message)

func (*MsgTransferResponse) XXX_Size

func (m *MsgTransferResponse) XXX_Size() int

func (*MsgTransferResponse) XXX_Unmarshal

func (m *MsgTransferResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateForcedTransferRequest added in v1.16.0

type MsgUpdateForcedTransferRequest struct {
	// The denomination of the marker to update.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// Whether an admin can transfer restricted coins from a 3rd-party account without their signature.
	AllowForcedTransfer bool `protobuf:"varint,2,opt,name=allow_forced_transfer,json=allowForcedTransfer,proto3" json:"allow_forced_transfer,omitempty"`
	// The signer of this message. Must be the governance module account address.
	Authority string `protobuf:"bytes,3,opt,name=authority,proto3" json:"authority,omitempty"`
}

MsgUpdateForcedTransferRequest defines a msg to update the allow_forced_transfer field of a marker. It is only usable via governance proposal.

func NewMsgUpdateForcedTransferRequest added in v1.16.0

func NewMsgUpdateForcedTransferRequest(denom string, allowForcedTransfer bool, authority sdk.AccAddress) *MsgUpdateForcedTransferRequest

func (*MsgUpdateForcedTransferRequest) Descriptor added in v1.16.0

func (*MsgUpdateForcedTransferRequest) Descriptor() ([]byte, []int)

func (*MsgUpdateForcedTransferRequest) Equal added in v1.16.0

func (this *MsgUpdateForcedTransferRequest) Equal(that interface{}) bool

func (*MsgUpdateForcedTransferRequest) GetAllowForcedTransfer added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) GetAllowForcedTransfer() bool

func (*MsgUpdateForcedTransferRequest) GetAuthority added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) GetAuthority() string

func (*MsgUpdateForcedTransferRequest) GetDenom added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) GetDenom() string

func (MsgUpdateForcedTransferRequest) GetSigners added in v1.16.0

func (msg MsgUpdateForcedTransferRequest) GetSigners() []sdk.AccAddress

func (*MsgUpdateForcedTransferRequest) Marshal added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateForcedTransferRequest) MarshalTo added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateForcedTransferRequest) MarshalToSizedBuffer added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateForcedTransferRequest) ProtoMessage added in v1.16.0

func (*MsgUpdateForcedTransferRequest) ProtoMessage()

func (*MsgUpdateForcedTransferRequest) Reset added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) Reset()

func (*MsgUpdateForcedTransferRequest) Size added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) Size() (n int)

func (*MsgUpdateForcedTransferRequest) String added in v1.16.0

func (*MsgUpdateForcedTransferRequest) Unmarshal added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateForcedTransferRequest) ValidateBasic added in v1.16.0

func (msg MsgUpdateForcedTransferRequest) ValidateBasic() error

func (*MsgUpdateForcedTransferRequest) XXX_DiscardUnknown added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) XXX_DiscardUnknown()

func (*MsgUpdateForcedTransferRequest) XXX_Marshal added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateForcedTransferRequest) XXX_Merge added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) XXX_Merge(src proto.Message)

func (*MsgUpdateForcedTransferRequest) XXX_Size added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) XXX_Size() int

func (*MsgUpdateForcedTransferRequest) XXX_Unmarshal added in v1.16.0

func (m *MsgUpdateForcedTransferRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateForcedTransferResponse added in v1.16.0

type MsgUpdateForcedTransferResponse struct {
}

MsgUpdateForcedTransferResponse defines the Msg/UpdateForcedTransfer response type

func (*MsgUpdateForcedTransferResponse) Descriptor added in v1.16.0

func (*MsgUpdateForcedTransferResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateForcedTransferResponse) Marshal added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateForcedTransferResponse) MarshalTo added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateForcedTransferResponse) MarshalToSizedBuffer added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateForcedTransferResponse) ProtoMessage added in v1.16.0

func (*MsgUpdateForcedTransferResponse) ProtoMessage()

func (*MsgUpdateForcedTransferResponse) Reset added in v1.16.0

func (*MsgUpdateForcedTransferResponse) Size added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) Size() (n int)

func (*MsgUpdateForcedTransferResponse) String added in v1.16.0

func (*MsgUpdateForcedTransferResponse) Unmarshal added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateForcedTransferResponse) XXX_DiscardUnknown added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) XXX_DiscardUnknown()

func (*MsgUpdateForcedTransferResponse) XXX_Marshal added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateForcedTransferResponse) XXX_Merge added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateForcedTransferResponse) XXX_Size added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) XXX_Size() int

func (*MsgUpdateForcedTransferResponse) XXX_Unmarshal added in v1.16.0

func (m *MsgUpdateForcedTransferResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateRequiredAttributesRequest added in v1.16.0

type MsgUpdateRequiredAttributesRequest struct {
	// The denomination of the marker to update.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// List of required attributes to remove from marker.
	RemoveRequiredAttributes []string `` /* 135-byte string literal not displayed */
	// List of required attributes to add to marker.
	AddRequiredAttributes []string `` /* 126-byte string literal not displayed */
	// The signer of the message.  Must have transfer authority to marker or be governance module account address.
	TransferAuthority string `protobuf:"bytes,4,opt,name=transfer_authority,json=transferAuthority,proto3" json:"transfer_authority,omitempty"`
}

MsgUpdateRequiredAttributesRequest defines a msg to update/add/remove required attributes from a resticted marker signer must have transfer authority to change attributes, to update attribute add current to remove list and new to add list

func NewMsgUpdateRequiredAttributesRequest added in v1.16.0

func NewMsgUpdateRequiredAttributesRequest(denom string, transferAuthority sdk.AccAddress, removeRequiredAttributes, addRequiredAttributes []string) *MsgUpdateRequiredAttributesRequest

NewMsgUpdateRequiredAttributesRequest creates a MsgUpdateRequiredAttributesRequest

func (*MsgUpdateRequiredAttributesRequest) Descriptor added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) Descriptor() ([]byte, []int)

func (*MsgUpdateRequiredAttributesRequest) Equal added in v1.16.0

func (this *MsgUpdateRequiredAttributesRequest) Equal(that interface{}) bool

func (*MsgUpdateRequiredAttributesRequest) GetAddRequiredAttributes added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) GetAddRequiredAttributes() []string

func (*MsgUpdateRequiredAttributesRequest) GetDenom added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) GetRemoveRequiredAttributes added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) GetRemoveRequiredAttributes() []string

func (*MsgUpdateRequiredAttributesRequest) GetSigners added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) GetTransferAuthority added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) GetTransferAuthority() string

func (*MsgUpdateRequiredAttributesRequest) Marshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateRequiredAttributesRequest) MarshalTo added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateRequiredAttributesRequest) MarshalToSizedBuffer added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateRequiredAttributesRequest) ProtoMessage added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) ProtoMessage()

func (*MsgUpdateRequiredAttributesRequest) Reset added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) Size added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) String added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) Unmarshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateRequiredAttributesRequest) ValidateBasic added in v1.16.0

func (msg MsgUpdateRequiredAttributesRequest) ValidateBasic() error

func (*MsgUpdateRequiredAttributesRequest) XXX_DiscardUnknown added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) XXX_DiscardUnknown()

func (*MsgUpdateRequiredAttributesRequest) XXX_Marshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateRequiredAttributesRequest) XXX_Merge added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) XXX_Size added in v1.16.0

func (*MsgUpdateRequiredAttributesRequest) XXX_Unmarshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateRequiredAttributesResponse added in v1.16.0

type MsgUpdateRequiredAttributesResponse struct {
}

MsgUpdateRequiredAttributesResponse defines the Msg/UpdateRequiredAttributes response type

func (*MsgUpdateRequiredAttributesResponse) Descriptor added in v1.16.0

func (*MsgUpdateRequiredAttributesResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateRequiredAttributesResponse) Marshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateRequiredAttributesResponse) MarshalTo added in v1.16.0

func (m *MsgUpdateRequiredAttributesResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateRequiredAttributesResponse) MarshalToSizedBuffer added in v1.16.0

func (m *MsgUpdateRequiredAttributesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateRequiredAttributesResponse) ProtoMessage added in v1.16.0

func (*MsgUpdateRequiredAttributesResponse) ProtoMessage()

func (*MsgUpdateRequiredAttributesResponse) Reset added in v1.16.0

func (*MsgUpdateRequiredAttributesResponse) Size added in v1.16.0

func (*MsgUpdateRequiredAttributesResponse) String added in v1.16.0

func (*MsgUpdateRequiredAttributesResponse) Unmarshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateRequiredAttributesResponse) XXX_DiscardUnknown added in v1.16.0

func (m *MsgUpdateRequiredAttributesResponse) XXX_DiscardUnknown()

func (*MsgUpdateRequiredAttributesResponse) XXX_Marshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateRequiredAttributesResponse) XXX_Merge added in v1.16.0

func (*MsgUpdateRequiredAttributesResponse) XXX_Size added in v1.16.0

func (*MsgUpdateRequiredAttributesResponse) XXX_Unmarshal added in v1.16.0

func (m *MsgUpdateRequiredAttributesResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateSendDenyListRequest added in v1.17.0

type MsgUpdateSendDenyListRequest struct {
	// The denomination of the marker to update.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
	// List of bech32 addresses to remove from the deny send list.
	RemoveDeniedAddresses []string `` /* 126-byte string literal not displayed */
	// List of bech32 addresses to add to the deny send list.
	AddDeniedAddresses []string `protobuf:"bytes,3,rep,name=add_denied_addresses,json=addDeniedAddresses,proto3" json:"add_denied_addresses,omitempty"`
	// The signer of the message.  Must have admin authority to marker or be governance module account address.
	Authority string `protobuf:"bytes,4,opt,name=authority,proto3" json:"authority,omitempty"`
}

MsgUpdateSendDenyListRequest defines a msg to add/remove addresses to send deny list for a resticted marker signer must have transfer authority

func NewMsgUpdateSendDenyListRequest added in v1.17.0

func NewMsgUpdateSendDenyListRequest(denom string, authority sdk.AccAddress, removeDenyAddresses, addDenyAddresses []string) *MsgUpdateSendDenyListRequest

NewMsgUpdateSendDenyListRequest creates a NewMsgUpdateSendDenyListRequest

func (*MsgUpdateSendDenyListRequest) Descriptor added in v1.17.0

func (*MsgUpdateSendDenyListRequest) Descriptor() ([]byte, []int)

func (*MsgUpdateSendDenyListRequest) Equal added in v1.17.0

func (this *MsgUpdateSendDenyListRequest) Equal(that interface{}) bool

func (*MsgUpdateSendDenyListRequest) GetAddDeniedAddresses added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) GetAddDeniedAddresses() []string

func (*MsgUpdateSendDenyListRequest) GetAuthority added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) GetAuthority() string

func (*MsgUpdateSendDenyListRequest) GetDenom added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) GetDenom() string

func (*MsgUpdateSendDenyListRequest) GetRemoveDeniedAddresses added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) GetRemoveDeniedAddresses() []string

func (*MsgUpdateSendDenyListRequest) GetSigners added in v1.17.0

func (msg *MsgUpdateSendDenyListRequest) GetSigners() []sdk.AccAddress

func (*MsgUpdateSendDenyListRequest) Marshal added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) Marshal() (dAtA []byte, err error)

func (*MsgUpdateSendDenyListRequest) MarshalTo added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateSendDenyListRequest) MarshalToSizedBuffer added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateSendDenyListRequest) ProtoMessage added in v1.17.0

func (*MsgUpdateSendDenyListRequest) ProtoMessage()

func (*MsgUpdateSendDenyListRequest) Reset added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) Reset()

func (*MsgUpdateSendDenyListRequest) Size added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) Size() (n int)

func (*MsgUpdateSendDenyListRequest) String added in v1.17.0

func (*MsgUpdateSendDenyListRequest) Unmarshal added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) Unmarshal(dAtA []byte) error

func (MsgUpdateSendDenyListRequest) ValidateBasic added in v1.17.0

func (msg MsgUpdateSendDenyListRequest) ValidateBasic() error

func (*MsgUpdateSendDenyListRequest) XXX_DiscardUnknown added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) XXX_DiscardUnknown()

func (*MsgUpdateSendDenyListRequest) XXX_Marshal added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateSendDenyListRequest) XXX_Merge added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) XXX_Merge(src proto.Message)

func (*MsgUpdateSendDenyListRequest) XXX_Size added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) XXX_Size() int

func (*MsgUpdateSendDenyListRequest) XXX_Unmarshal added in v1.17.0

func (m *MsgUpdateSendDenyListRequest) XXX_Unmarshal(b []byte) error

type MsgUpdateSendDenyListResponse added in v1.17.0

type MsgUpdateSendDenyListResponse struct {
}

MsgUpdateSendDenyListResponse defines the Msg/UpdateSendDenyList response type

func (*MsgUpdateSendDenyListResponse) Descriptor added in v1.17.0

func (*MsgUpdateSendDenyListResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateSendDenyListResponse) Marshal added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateSendDenyListResponse) MarshalTo added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateSendDenyListResponse) MarshalToSizedBuffer added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateSendDenyListResponse) ProtoMessage added in v1.17.0

func (*MsgUpdateSendDenyListResponse) ProtoMessage()

func (*MsgUpdateSendDenyListResponse) Reset added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) Reset()

func (*MsgUpdateSendDenyListResponse) Size added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) Size() (n int)

func (*MsgUpdateSendDenyListResponse) String added in v1.17.0

func (*MsgUpdateSendDenyListResponse) Unmarshal added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateSendDenyListResponse) XXX_DiscardUnknown added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) XXX_DiscardUnknown()

func (*MsgUpdateSendDenyListResponse) XXX_Marshal added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateSendDenyListResponse) XXX_Merge added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateSendDenyListResponse) XXX_Size added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) XXX_Size() int

func (*MsgUpdateSendDenyListResponse) XXX_Unmarshal added in v1.17.0

func (m *MsgUpdateSendDenyListResponse) XXX_Unmarshal(b []byte) error

type MsgWithdrawRequest

type MsgWithdrawRequest 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"`
	ToAddress     string                                   `protobuf:"bytes,3,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty"`
	Amount        github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
}

MsgWithdrawRequest defines the Msg/Withdraw request type

func NewMsgWithdrawRequest added in v1.2.0

func NewMsgWithdrawRequest(
	admin sdk.AccAddress, toAddress sdk.AccAddress, denom string, amount sdk.Coins,
) *MsgWithdrawRequest

NewMsgWithdrawRequest

func (*MsgWithdrawRequest) Descriptor

func (*MsgWithdrawRequest) Descriptor() ([]byte, []int)

func (*MsgWithdrawRequest) GetAdministrator

func (m *MsgWithdrawRequest) GetAdministrator() string

func (*MsgWithdrawRequest) GetAmount

func (*MsgWithdrawRequest) GetDenom

func (m *MsgWithdrawRequest) GetDenom() string

func (MsgWithdrawRequest) GetSigners

func (msg MsgWithdrawRequest) GetSigners() []sdk.AccAddress

GetSigners indicates that the message must have been signed by the address provided.

func (*MsgWithdrawRequest) GetToAddress

func (m *MsgWithdrawRequest) GetToAddress() string

func (*MsgWithdrawRequest) Marshal

func (m *MsgWithdrawRequest) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawRequest) MarshalTo

func (m *MsgWithdrawRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawRequest) MarshalToSizedBuffer

func (m *MsgWithdrawRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawRequest) ProtoMessage

func (*MsgWithdrawRequest) ProtoMessage()

func (*MsgWithdrawRequest) Reset

func (m *MsgWithdrawRequest) Reset()

func (*MsgWithdrawRequest) Size

func (m *MsgWithdrawRequest) Size() (n int)

func (*MsgWithdrawRequest) String

func (m *MsgWithdrawRequest) String() string

func (*MsgWithdrawRequest) Unmarshal

func (m *MsgWithdrawRequest) Unmarshal(dAtA []byte) error

func (MsgWithdrawRequest) ValidateBasic

func (msg MsgWithdrawRequest) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*MsgWithdrawRequest) XXX_DiscardUnknown

func (m *MsgWithdrawRequest) XXX_DiscardUnknown()

func (*MsgWithdrawRequest) XXX_Marshal

func (m *MsgWithdrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawRequest) XXX_Merge

func (m *MsgWithdrawRequest) XXX_Merge(src proto.Message)

func (*MsgWithdrawRequest) XXX_Size

func (m *MsgWithdrawRequest) XXX_Size() int

func (*MsgWithdrawRequest) XXX_Unmarshal

func (m *MsgWithdrawRequest) XXX_Unmarshal(b []byte) error

type MsgWithdrawResponse

type MsgWithdrawResponse struct {
}

MsgWithdrawResponse defines the Msg/Withdraw response type

func (*MsgWithdrawResponse) Descriptor

func (*MsgWithdrawResponse) Descriptor() ([]byte, []int)

func (*MsgWithdrawResponse) Marshal

func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error)

func (*MsgWithdrawResponse) MarshalTo

func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgWithdrawResponse) MarshalToSizedBuffer

func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgWithdrawResponse) ProtoMessage

func (*MsgWithdrawResponse) ProtoMessage()

func (*MsgWithdrawResponse) Reset

func (m *MsgWithdrawResponse) Reset()

func (*MsgWithdrawResponse) Size

func (m *MsgWithdrawResponse) Size() (n int)

func (*MsgWithdrawResponse) String

func (m *MsgWithdrawResponse) String() string

func (*MsgWithdrawResponse) Unmarshal

func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error

func (*MsgWithdrawResponse) XXX_DiscardUnknown

func (m *MsgWithdrawResponse) XXX_DiscardUnknown()

func (*MsgWithdrawResponse) XXX_Marshal

func (m *MsgWithdrawResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgWithdrawResponse) XXX_Merge

func (m *MsgWithdrawResponse) XXX_Merge(src proto.Message)

func (*MsgWithdrawResponse) XXX_Size

func (m *MsgWithdrawResponse) XXX_Size() int

func (*MsgWithdrawResponse) XXX_Unmarshal

func (m *MsgWithdrawResponse) XXX_Unmarshal(b []byte) error

type NameKeeper added in v1.16.0

type NameKeeper interface {
	Normalize(ctx sdk.Context, name string) (string, error)
}

NameKeeper defines the name keeper functionality needed by the marker module.

type NetAssetValue added in v1.17.0

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"`
}

NetAssetValue defines a marker's net asset value

func NewNetAssetValue added in v1.17.0

func NewNetAssetValue(price sdk.Coin, volume uint64) NetAssetValue

NewNetAssetValue returns a new instance of NetAssetValue

func (*NetAssetValue) Descriptor added in v1.17.0

func (*NetAssetValue) Descriptor() ([]byte, []int)

func (*NetAssetValue) GetPrice added in v1.17.0

func (m *NetAssetValue) GetPrice() types1.Coin

func (*NetAssetValue) GetUpdatedBlockHeight added in v1.17.0

func (m *NetAssetValue) GetUpdatedBlockHeight() uint64

func (*NetAssetValue) GetVolume added in v1.17.0

func (m *NetAssetValue) GetVolume() uint64

func (*NetAssetValue) Marshal added in v1.17.0

func (m *NetAssetValue) Marshal() (dAtA []byte, err error)

func (*NetAssetValue) MarshalTo added in v1.17.0

func (m *NetAssetValue) MarshalTo(dAtA []byte) (int, error)

func (*NetAssetValue) MarshalToSizedBuffer added in v1.17.0

func (m *NetAssetValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*NetAssetValue) ProtoMessage added in v1.17.0

func (*NetAssetValue) ProtoMessage()

func (*NetAssetValue) Reset added in v1.17.0

func (m *NetAssetValue) Reset()

func (*NetAssetValue) Size added in v1.17.0

func (m *NetAssetValue) Size() (n int)

func (*NetAssetValue) String added in v1.17.0

func (m *NetAssetValue) String() string

func (*NetAssetValue) Unmarshal added in v1.17.0

func (m *NetAssetValue) Unmarshal(dAtA []byte) error

func (*NetAssetValue) Validate added in v1.17.0

func (mnav *NetAssetValue) Validate() error

Validate returns error if NetAssetValue is not in a valid state

func (*NetAssetValue) XXX_DiscardUnknown added in v1.17.0

func (m *NetAssetValue) XXX_DiscardUnknown()

func (*NetAssetValue) XXX_Marshal added in v1.17.0

func (m *NetAssetValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*NetAssetValue) XXX_Merge added in v1.17.0

func (m *NetAssetValue) XXX_Merge(src proto.Message)

func (*NetAssetValue) XXX_Size added in v1.17.0

func (m *NetAssetValue) XXX_Size() int

func (*NetAssetValue) XXX_Unmarshal added in v1.17.0

func (m *NetAssetValue) XXX_Unmarshal(b []byte) error

type Params

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,customtype=uint64" json:"max_total_supply"` // 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 `` /* 129-byte string literal not displayed */
	// maximum amount of supply to allow a marker to be created with
	MaxSupply cosmossdk_io_math.Int `` /* 147-byte string literal not displayed */
}

Params defines the set of params for the account module.

func DefaultParams

func DefaultParams() Params

DefaultParams is the default parameter configuration for the bank module

func NewParams

func NewParams(
	maxTotalSupply uint64,
	enableGovernance bool,
	unrestrictedDenomRegex string,
	maxSupply math.Int,
) Params

NewParams creates a new parameter object

func (*Params) Descriptor

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal

func (p *Params) Equal(that interface{}) bool

Equal returns true if the given value is equivalent to the current instance of params

func (*Params) GetEnableGovernance

func (m *Params) GetEnableGovernance() bool

func (*Params) GetUnrestrictedDenomRegex added in v0.2.1

func (m *Params) GetUnrestrictedDenomRegex() string

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs - Implements params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type QueryAccessRequest

type QueryAccessRequest struct {
	// address or denom for the marker
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryAccessRequest is the request type for the Query/MarkerAccess method.

func (*QueryAccessRequest) Descriptor

func (*QueryAccessRequest) Descriptor() ([]byte, []int)

func (*QueryAccessRequest) GetId

func (m *QueryAccessRequest) GetId() string

func (*QueryAccessRequest) Marshal

func (m *QueryAccessRequest) Marshal() (dAtA []byte, err error)

func (*QueryAccessRequest) MarshalTo

func (m *QueryAccessRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAccessRequest) MarshalToSizedBuffer

func (m *QueryAccessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccessRequest) ProtoMessage

func (*QueryAccessRequest) ProtoMessage()

func (*QueryAccessRequest) Reset

func (m *QueryAccessRequest) Reset()

func (*QueryAccessRequest) Size

func (m *QueryAccessRequest) Size() (n int)

func (*QueryAccessRequest) String

func (m *QueryAccessRequest) String() string

func (*QueryAccessRequest) Unmarshal

func (m *QueryAccessRequest) Unmarshal(dAtA []byte) error

func (*QueryAccessRequest) XXX_DiscardUnknown

func (m *QueryAccessRequest) XXX_DiscardUnknown()

func (*QueryAccessRequest) XXX_Marshal

func (m *QueryAccessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccessRequest) XXX_Merge

func (m *QueryAccessRequest) XXX_Merge(src proto.Message)

func (*QueryAccessRequest) XXX_Size

func (m *QueryAccessRequest) XXX_Size() int

func (*QueryAccessRequest) XXX_Unmarshal

func (m *QueryAccessRequest) XXX_Unmarshal(b []byte) error

type QueryAccessResponse

type QueryAccessResponse struct {
	Accounts []AccessGrant `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts"`
}

QueryAccessResponse is the response type for the Query/MarkerAccess method.

func (*QueryAccessResponse) Descriptor

func (*QueryAccessResponse) Descriptor() ([]byte, []int)

func (*QueryAccessResponse) GetAccounts

func (m *QueryAccessResponse) GetAccounts() []AccessGrant

func (*QueryAccessResponse) Marshal

func (m *QueryAccessResponse) Marshal() (dAtA []byte, err error)

func (*QueryAccessResponse) MarshalTo

func (m *QueryAccessResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAccessResponse) MarshalToSizedBuffer

func (m *QueryAccessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccessResponse) ProtoMessage

func (*QueryAccessResponse) ProtoMessage()

func (*QueryAccessResponse) Reset

func (m *QueryAccessResponse) Reset()

func (*QueryAccessResponse) Size

func (m *QueryAccessResponse) Size() (n int)

func (*QueryAccessResponse) String

func (m *QueryAccessResponse) String() string

func (*QueryAccessResponse) Unmarshal

func (m *QueryAccessResponse) Unmarshal(dAtA []byte) error

func (*QueryAccessResponse) XXX_DiscardUnknown

func (m *QueryAccessResponse) XXX_DiscardUnknown()

func (*QueryAccessResponse) XXX_Marshal

func (m *QueryAccessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccessResponse) XXX_Merge

func (m *QueryAccessResponse) XXX_Merge(src proto.Message)

func (*QueryAccessResponse) XXX_Size

func (m *QueryAccessResponse) XXX_Size() int

func (*QueryAccessResponse) XXX_Unmarshal

func (m *QueryAccessResponse) XXX_Unmarshal(b []byte) error

type QueryAccountDataRequest added in v1.16.0

type QueryAccountDataRequest struct {
	// The denomination to look up.
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

QueryAccountDataRequest is the request type for the Query/AccountData

func (*QueryAccountDataRequest) Descriptor added in v1.16.0

func (*QueryAccountDataRequest) Descriptor() ([]byte, []int)

func (*QueryAccountDataRequest) GetDenom added in v1.16.0

func (m *QueryAccountDataRequest) GetDenom() string

func (*QueryAccountDataRequest) Marshal added in v1.16.0

func (m *QueryAccountDataRequest) Marshal() (dAtA []byte, err error)

func (*QueryAccountDataRequest) MarshalTo added in v1.16.0

func (m *QueryAccountDataRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAccountDataRequest) MarshalToSizedBuffer added in v1.16.0

func (m *QueryAccountDataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccountDataRequest) ProtoMessage added in v1.16.0

func (*QueryAccountDataRequest) ProtoMessage()

func (*QueryAccountDataRequest) Reset added in v1.16.0

func (m *QueryAccountDataRequest) Reset()

func (*QueryAccountDataRequest) Size added in v1.16.0

func (m *QueryAccountDataRequest) Size() (n int)

func (*QueryAccountDataRequest) String added in v1.16.0

func (m *QueryAccountDataRequest) String() string

func (*QueryAccountDataRequest) Unmarshal added in v1.16.0

func (m *QueryAccountDataRequest) Unmarshal(dAtA []byte) error

func (*QueryAccountDataRequest) XXX_DiscardUnknown added in v1.16.0

func (m *QueryAccountDataRequest) XXX_DiscardUnknown()

func (*QueryAccountDataRequest) XXX_Marshal added in v1.16.0

func (m *QueryAccountDataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccountDataRequest) XXX_Merge added in v1.16.0

func (m *QueryAccountDataRequest) XXX_Merge(src proto.Message)

func (*QueryAccountDataRequest) XXX_Size added in v1.16.0

func (m *QueryAccountDataRequest) XXX_Size() int

func (*QueryAccountDataRequest) XXX_Unmarshal added in v1.16.0

func (m *QueryAccountDataRequest) XXX_Unmarshal(b []byte) error

type QueryAccountDataResponse added in v1.16.0

type QueryAccountDataResponse struct {
	// The accountdata for the requested denom.
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

QueryAccountDataResponse is the response type for the Query/AccountData

func (*QueryAccountDataResponse) Descriptor added in v1.16.0

func (*QueryAccountDataResponse) Descriptor() ([]byte, []int)

func (*QueryAccountDataResponse) GetValue added in v1.16.0

func (m *QueryAccountDataResponse) GetValue() string

func (*QueryAccountDataResponse) Marshal added in v1.16.0

func (m *QueryAccountDataResponse) Marshal() (dAtA []byte, err error)

func (*QueryAccountDataResponse) MarshalTo added in v1.16.0

func (m *QueryAccountDataResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAccountDataResponse) MarshalToSizedBuffer added in v1.16.0

func (m *QueryAccountDataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAccountDataResponse) ProtoMessage added in v1.16.0

func (*QueryAccountDataResponse) ProtoMessage()

func (*QueryAccountDataResponse) Reset added in v1.16.0

func (m *QueryAccountDataResponse) Reset()

func (*QueryAccountDataResponse) Size added in v1.16.0

func (m *QueryAccountDataResponse) Size() (n int)

func (*QueryAccountDataResponse) String added in v1.16.0

func (m *QueryAccountDataResponse) String() string

func (*QueryAccountDataResponse) Unmarshal added in v1.16.0

func (m *QueryAccountDataResponse) Unmarshal(dAtA []byte) error

func (*QueryAccountDataResponse) XXX_DiscardUnknown added in v1.16.0

func (m *QueryAccountDataResponse) XXX_DiscardUnknown()

func (*QueryAccountDataResponse) XXX_Marshal added in v1.16.0

func (m *QueryAccountDataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAccountDataResponse) XXX_Merge added in v1.16.0

func (m *QueryAccountDataResponse) XXX_Merge(src proto.Message)

func (*QueryAccountDataResponse) XXX_Size added in v1.16.0

func (m *QueryAccountDataResponse) XXX_Size() int

func (*QueryAccountDataResponse) XXX_Unmarshal added in v1.16.0

func (m *QueryAccountDataResponse) XXX_Unmarshal(b []byte) error

type QueryAllMarkersRequest

type QueryAllMarkersRequest struct {
	// Optional status to filter request
	Status MarkerStatus `protobuf:"varint,1,opt,name=status,proto3,enum=provenance.marker.v1.MarkerStatus" json:"status,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllMarkersRequest is the request type for the Query/AllMarkers method.

func (*QueryAllMarkersRequest) Descriptor

func (*QueryAllMarkersRequest) Descriptor() ([]byte, []int)

func (*QueryAllMarkersRequest) GetPagination

func (m *QueryAllMarkersRequest) GetPagination() *query.PageRequest

func (*QueryAllMarkersRequest) GetStatus

func (m *QueryAllMarkersRequest) GetStatus() MarkerStatus

func (*QueryAllMarkersRequest) Marshal

func (m *QueryAllMarkersRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllMarkersRequest) MarshalTo

func (m *QueryAllMarkersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllMarkersRequest) MarshalToSizedBuffer

func (m *QueryAllMarkersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllMarkersRequest) ProtoMessage

func (*QueryAllMarkersRequest) ProtoMessage()

func (*QueryAllMarkersRequest) Reset

func (m *QueryAllMarkersRequest) Reset()

func (*QueryAllMarkersRequest) Size

func (m *QueryAllMarkersRequest) Size() (n int)

func (*QueryAllMarkersRequest) String

func (m *QueryAllMarkersRequest) String() string

func (*QueryAllMarkersRequest) Unmarshal

func (m *QueryAllMarkersRequest) Unmarshal(dAtA []byte) error

func (*QueryAllMarkersRequest) XXX_DiscardUnknown

func (m *QueryAllMarkersRequest) XXX_DiscardUnknown()

func (*QueryAllMarkersRequest) XXX_Marshal

func (m *QueryAllMarkersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllMarkersRequest) XXX_Merge

func (m *QueryAllMarkersRequest) XXX_Merge(src proto.Message)

func (*QueryAllMarkersRequest) XXX_Size

func (m *QueryAllMarkersRequest) XXX_Size() int

func (*QueryAllMarkersRequest) XXX_Unmarshal

func (m *QueryAllMarkersRequest) XXX_Unmarshal(b []byte) error

type QueryAllMarkersResponse

type QueryAllMarkersResponse struct {
	Markers []*types.Any `protobuf:"bytes,1,rep,name=markers,proto3" json:"markers,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryAllMarkersResponse is the response type for the Query/AllMarkers method.

func (*QueryAllMarkersResponse) Descriptor

func (*QueryAllMarkersResponse) Descriptor() ([]byte, []int)

func (*QueryAllMarkersResponse) GetMarkers

func (m *QueryAllMarkersResponse) GetMarkers() []*types.Any

func (*QueryAllMarkersResponse) GetPagination

func (m *QueryAllMarkersResponse) GetPagination() *query.PageResponse

func (*QueryAllMarkersResponse) Marshal

func (m *QueryAllMarkersResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllMarkersResponse) MarshalTo

func (m *QueryAllMarkersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllMarkersResponse) MarshalToSizedBuffer

func (m *QueryAllMarkersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllMarkersResponse) ProtoMessage

func (*QueryAllMarkersResponse) ProtoMessage()

func (*QueryAllMarkersResponse) Reset

func (m *QueryAllMarkersResponse) Reset()

func (*QueryAllMarkersResponse) Size

func (m *QueryAllMarkersResponse) Size() (n int)

func (*QueryAllMarkersResponse) String

func (m *QueryAllMarkersResponse) String() string

func (*QueryAllMarkersResponse) Unmarshal

func (m *QueryAllMarkersResponse) Unmarshal(dAtA []byte) error

func (*QueryAllMarkersResponse) XXX_DiscardUnknown

func (m *QueryAllMarkersResponse) XXX_DiscardUnknown()

func (*QueryAllMarkersResponse) XXX_Marshal

func (m *QueryAllMarkersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllMarkersResponse) XXX_Merge

func (m *QueryAllMarkersResponse) XXX_Merge(src proto.Message)

func (*QueryAllMarkersResponse) XXX_Size

func (m *QueryAllMarkersResponse) XXX_Size() int

func (*QueryAllMarkersResponse) XXX_Unmarshal

func (m *QueryAllMarkersResponse) XXX_Unmarshal(b []byte) error

type QueryClient

type QueryClient interface {
	// Params queries the parameters of x/bank module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Returns a list of all markers on the blockchain
	AllMarkers(ctx context.Context, in *QueryAllMarkersRequest, opts ...grpc.CallOption) (*QueryAllMarkersResponse, error)
	// query for a single marker by denom or address
	Marker(ctx context.Context, in *QueryMarkerRequest, opts ...grpc.CallOption) (*QueryMarkerResponse, error)
	// query for all accounts holding the given marker coins
	Holding(ctx context.Context, in *QueryHoldingRequest, opts ...grpc.CallOption) (*QueryHoldingResponse, error)
	// query for supply of coin on a marker account
	Supply(ctx context.Context, in *QuerySupplyRequest, opts ...grpc.CallOption) (*QuerySupplyResponse, error)
	// query for coins on a marker account
	Escrow(ctx context.Context, in *QueryEscrowRequest, opts ...grpc.CallOption) (*QueryEscrowResponse, error)
	// query for access records on an account
	Access(ctx context.Context, in *QueryAccessRequest, opts ...grpc.CallOption) (*QueryAccessResponse, error)
	// query for access records on an account
	DenomMetadata(ctx context.Context, in *QueryDenomMetadataRequest, opts ...grpc.CallOption) (*QueryDenomMetadataResponse, error)
	// query for account data associated with a denom
	AccountData(ctx context.Context, in *QueryAccountDataRequest, opts ...grpc.CallOption) (*QueryAccountDataResponse, error)
	// NetAssetValues returns net asset values for marker
	NetAssetValues(ctx context.Context, in *QueryNetAssetValuesRequest, opts ...grpc.CallOption) (*QueryNetAssetValuesResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDenomMetadataRequest

type QueryDenomMetadataRequest struct {
	Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
}

QueryDenomMetadataRequest is the request type for Query/DenomMetadata

func (*QueryDenomMetadataRequest) Descriptor

func (*QueryDenomMetadataRequest) Descriptor() ([]byte, []int)

func (*QueryDenomMetadataRequest) GetDenom

func (m *QueryDenomMetadataRequest) GetDenom() string

func (*QueryDenomMetadataRequest) Marshal

func (m *QueryDenomMetadataRequest) Marshal() (dAtA []byte, err error)

func (*QueryDenomMetadataRequest) MarshalTo

func (m *QueryDenomMetadataRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomMetadataRequest) MarshalToSizedBuffer

func (m *QueryDenomMetadataRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomMetadataRequest) ProtoMessage

func (*QueryDenomMetadataRequest) ProtoMessage()

func (*QueryDenomMetadataRequest) Reset

func (m *QueryDenomMetadataRequest) Reset()

func (*QueryDenomMetadataRequest) Size

func (m *QueryDenomMetadataRequest) Size() (n int)

func (*QueryDenomMetadataRequest) String

func (m *QueryDenomMetadataRequest) String() string

func (*QueryDenomMetadataRequest) Unmarshal

func (m *QueryDenomMetadataRequest) Unmarshal(dAtA []byte) error

func (*QueryDenomMetadataRequest) XXX_DiscardUnknown

func (m *QueryDenomMetadataRequest) XXX_DiscardUnknown()

func (*QueryDenomMetadataRequest) XXX_Marshal

func (m *QueryDenomMetadataRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomMetadataRequest) XXX_Merge

func (m *QueryDenomMetadataRequest) XXX_Merge(src proto.Message)

func (*QueryDenomMetadataRequest) XXX_Size

func (m *QueryDenomMetadataRequest) XXX_Size() int

func (*QueryDenomMetadataRequest) XXX_Unmarshal

func (m *QueryDenomMetadataRequest) XXX_Unmarshal(b []byte) error

type QueryDenomMetadataResponse

type QueryDenomMetadataResponse struct {
	Metadata types2.Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata"`
}

QueryDenomMetadataResponse is the response type for the Query/DenomMetadata

func (*QueryDenomMetadataResponse) Descriptor

func (*QueryDenomMetadataResponse) Descriptor() ([]byte, []int)

func (*QueryDenomMetadataResponse) GetMetadata

func (m *QueryDenomMetadataResponse) GetMetadata() types2.Metadata

func (*QueryDenomMetadataResponse) Marshal

func (m *QueryDenomMetadataResponse) Marshal() (dAtA []byte, err error)

func (*QueryDenomMetadataResponse) MarshalTo

func (m *QueryDenomMetadataResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryDenomMetadataResponse) MarshalToSizedBuffer

func (m *QueryDenomMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryDenomMetadataResponse) ProtoMessage

func (*QueryDenomMetadataResponse) ProtoMessage()

func (*QueryDenomMetadataResponse) Reset

func (m *QueryDenomMetadataResponse) Reset()

func (*QueryDenomMetadataResponse) Size

func (m *QueryDenomMetadataResponse) Size() (n int)

func (*QueryDenomMetadataResponse) String

func (m *QueryDenomMetadataResponse) String() string

func (*QueryDenomMetadataResponse) Unmarshal

func (m *QueryDenomMetadataResponse) Unmarshal(dAtA []byte) error

func (*QueryDenomMetadataResponse) XXX_DiscardUnknown

func (m *QueryDenomMetadataResponse) XXX_DiscardUnknown()

func (*QueryDenomMetadataResponse) XXX_Marshal

func (m *QueryDenomMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryDenomMetadataResponse) XXX_Merge

func (m *QueryDenomMetadataResponse) XXX_Merge(src proto.Message)

func (*QueryDenomMetadataResponse) XXX_Size

func (m *QueryDenomMetadataResponse) XXX_Size() int

func (*QueryDenomMetadataResponse) XXX_Unmarshal

func (m *QueryDenomMetadataResponse) XXX_Unmarshal(b []byte) error

type QueryEscrowRequest

type QueryEscrowRequest struct {
	// address or denom for the marker
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryEscrowRequest is the request type for the Query/MarkerEscrow method.

func (*QueryEscrowRequest) Descriptor

func (*QueryEscrowRequest) Descriptor() ([]byte, []int)

func (*QueryEscrowRequest) GetId

func (m *QueryEscrowRequest) GetId() string

func (*QueryEscrowRequest) Marshal

func (m *QueryEscrowRequest) Marshal() (dAtA []byte, err error)

func (*QueryEscrowRequest) MarshalTo

func (m *QueryEscrowRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryEscrowRequest) MarshalToSizedBuffer

func (m *QueryEscrowRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryEscrowRequest) ProtoMessage

func (*QueryEscrowRequest) ProtoMessage()

func (*QueryEscrowRequest) Reset

func (m *QueryEscrowRequest) Reset()

func (*QueryEscrowRequest) Size

func (m *QueryEscrowRequest) Size() (n int)

func (*QueryEscrowRequest) String

func (m *QueryEscrowRequest) String() string

func (*QueryEscrowRequest) Unmarshal

func (m *QueryEscrowRequest) Unmarshal(dAtA []byte) error

func (*QueryEscrowRequest) XXX_DiscardUnknown

func (m *QueryEscrowRequest) XXX_DiscardUnknown()

func (*QueryEscrowRequest) XXX_Marshal

func (m *QueryEscrowRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryEscrowRequest) XXX_Merge

func (m *QueryEscrowRequest) XXX_Merge(src proto.Message)

func (*QueryEscrowRequest) XXX_Size

func (m *QueryEscrowRequest) XXX_Size() int

func (*QueryEscrowRequest) XXX_Unmarshal

func (m *QueryEscrowRequest) XXX_Unmarshal(b []byte) error

type QueryEscrowResponse

type QueryEscrowResponse struct {
	Escrow github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=escrow,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"escrow"`
}

QueryEscrowResponse is the response type for the Query/MarkerEscrow method.

func (*QueryEscrowResponse) Descriptor

func (*QueryEscrowResponse) Descriptor() ([]byte, []int)

func (*QueryEscrowResponse) GetEscrow

func (*QueryEscrowResponse) Marshal

func (m *QueryEscrowResponse) Marshal() (dAtA []byte, err error)

func (*QueryEscrowResponse) MarshalTo

func (m *QueryEscrowResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryEscrowResponse) MarshalToSizedBuffer

func (m *QueryEscrowResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryEscrowResponse) ProtoMessage

func (*QueryEscrowResponse) ProtoMessage()

func (*QueryEscrowResponse) Reset

func (m *QueryEscrowResponse) Reset()

func (*QueryEscrowResponse) Size

func (m *QueryEscrowResponse) Size() (n int)

func (*QueryEscrowResponse) String

func (m *QueryEscrowResponse) String() string

func (*QueryEscrowResponse) Unmarshal

func (m *QueryEscrowResponse) Unmarshal(dAtA []byte) error

func (*QueryEscrowResponse) XXX_DiscardUnknown

func (m *QueryEscrowResponse) XXX_DiscardUnknown()

func (*QueryEscrowResponse) XXX_Marshal

func (m *QueryEscrowResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryEscrowResponse) XXX_Merge

func (m *QueryEscrowResponse) XXX_Merge(src proto.Message)

func (*QueryEscrowResponse) XXX_Size

func (m *QueryEscrowResponse) XXX_Size() int

func (*QueryEscrowResponse) XXX_Unmarshal

func (m *QueryEscrowResponse) XXX_Unmarshal(b []byte) error

type QueryHoldingRequest

type QueryHoldingRequest struct {
	// the address or denom of the marker
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryHoldingRequest is the request type for the Query/MarkerHolders method.

func (*QueryHoldingRequest) Descriptor

func (*QueryHoldingRequest) Descriptor() ([]byte, []int)

func (*QueryHoldingRequest) GetId

func (m *QueryHoldingRequest) GetId() string

func (*QueryHoldingRequest) GetPagination

func (m *QueryHoldingRequest) GetPagination() *query.PageRequest

func (*QueryHoldingRequest) Marshal

func (m *QueryHoldingRequest) Marshal() (dAtA []byte, err error)

func (*QueryHoldingRequest) MarshalTo

func (m *QueryHoldingRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryHoldingRequest) MarshalToSizedBuffer

func (m *QueryHoldingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHoldingRequest) ProtoMessage

func (*QueryHoldingRequest) ProtoMessage()

func (*QueryHoldingRequest) Reset

func (m *QueryHoldingRequest) Reset()

func (*QueryHoldingRequest) Size

func (m *QueryHoldingRequest) Size() (n int)

func (*QueryHoldingRequest) String

func (m *QueryHoldingRequest) String() string

func (*QueryHoldingRequest) Unmarshal

func (m *QueryHoldingRequest) Unmarshal(dAtA []byte) error

func (*QueryHoldingRequest) XXX_DiscardUnknown

func (m *QueryHoldingRequest) XXX_DiscardUnknown()

func (*QueryHoldingRequest) XXX_Marshal

func (m *QueryHoldingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHoldingRequest) XXX_Merge

func (m *QueryHoldingRequest) XXX_Merge(src proto.Message)

func (*QueryHoldingRequest) XXX_Size

func (m *QueryHoldingRequest) XXX_Size() int

func (*QueryHoldingRequest) XXX_Unmarshal

func (m *QueryHoldingRequest) XXX_Unmarshal(b []byte) error

type QueryHoldingResponse

type QueryHoldingResponse struct {
	Balances []Balance `protobuf:"bytes,1,rep,name=balances,proto3" json:"balances"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

QueryHoldingResponse is the response type for the Query/MarkerHolders method.

func (*QueryHoldingResponse) Descriptor

func (*QueryHoldingResponse) Descriptor() ([]byte, []int)

func (*QueryHoldingResponse) GetBalances

func (m *QueryHoldingResponse) GetBalances() []Balance

func (*QueryHoldingResponse) GetPagination

func (m *QueryHoldingResponse) GetPagination() *query.PageResponse

func (*QueryHoldingResponse) Marshal

func (m *QueryHoldingResponse) Marshal() (dAtA []byte, err error)

func (*QueryHoldingResponse) MarshalTo

func (m *QueryHoldingResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryHoldingResponse) MarshalToSizedBuffer

func (m *QueryHoldingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryHoldingResponse) ProtoMessage

func (*QueryHoldingResponse) ProtoMessage()

func (*QueryHoldingResponse) Reset

func (m *QueryHoldingResponse) Reset()

func (*QueryHoldingResponse) Size

func (m *QueryHoldingResponse) Size() (n int)

func (*QueryHoldingResponse) String

func (m *QueryHoldingResponse) String() string

func (*QueryHoldingResponse) Unmarshal

func (m *QueryHoldingResponse) Unmarshal(dAtA []byte) error

func (*QueryHoldingResponse) XXX_DiscardUnknown

func (m *QueryHoldingResponse) XXX_DiscardUnknown()

func (*QueryHoldingResponse) XXX_Marshal

func (m *QueryHoldingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryHoldingResponse) XXX_Merge

func (m *QueryHoldingResponse) XXX_Merge(src proto.Message)

func (*QueryHoldingResponse) XXX_Size

func (m *QueryHoldingResponse) XXX_Size() int

func (*QueryHoldingResponse) XXX_Unmarshal

func (m *QueryHoldingResponse) XXX_Unmarshal(b []byte) error

type QueryMarkerRequest

type QueryMarkerRequest struct {
	// the address or denom of the marker
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryMarkerRequest is the request type for the Query/Marker method.

func (*QueryMarkerRequest) Descriptor

func (*QueryMarkerRequest) Descriptor() ([]byte, []int)

func (*QueryMarkerRequest) GetId

func (m *QueryMarkerRequest) GetId() string

func (*QueryMarkerRequest) Marshal

func (m *QueryMarkerRequest) Marshal() (dAtA []byte, err error)

func (*QueryMarkerRequest) MarshalTo

func (m *QueryMarkerRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryMarkerRequest) MarshalToSizedBuffer

func (m *QueryMarkerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarkerRequest) ProtoMessage

func (*QueryMarkerRequest) ProtoMessage()

func (*QueryMarkerRequest) Reset

func (m *QueryMarkerRequest) Reset()

func (*QueryMarkerRequest) Size

func (m *QueryMarkerRequest) Size() (n int)

func (*QueryMarkerRequest) String

func (m *QueryMarkerRequest) String() string

func (*QueryMarkerRequest) Unmarshal

func (m *QueryMarkerRequest) Unmarshal(dAtA []byte) error

func (*QueryMarkerRequest) XXX_DiscardUnknown

func (m *QueryMarkerRequest) XXX_DiscardUnknown()

func (*QueryMarkerRequest) XXX_Marshal

func (m *QueryMarkerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarkerRequest) XXX_Merge

func (m *QueryMarkerRequest) XXX_Merge(src proto.Message)

func (*QueryMarkerRequest) XXX_Size

func (m *QueryMarkerRequest) XXX_Size() int

func (*QueryMarkerRequest) XXX_Unmarshal

func (m *QueryMarkerRequest) XXX_Unmarshal(b []byte) error

type QueryMarkerResponse

type QueryMarkerResponse struct {
	Marker *types.Any `protobuf:"bytes,1,opt,name=marker,proto3" json:"marker,omitempty"`
}

QueryMarkerResponse is the response type for the Query/Marker method.

func (*QueryMarkerResponse) Descriptor

func (*QueryMarkerResponse) Descriptor() ([]byte, []int)

func (*QueryMarkerResponse) GetMarker

func (m *QueryMarkerResponse) GetMarker() *types.Any

func (*QueryMarkerResponse) Marshal

func (m *QueryMarkerResponse) Marshal() (dAtA []byte, err error)

func (*QueryMarkerResponse) MarshalTo

func (m *QueryMarkerResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryMarkerResponse) MarshalToSizedBuffer

func (m *QueryMarkerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryMarkerResponse) ProtoMessage

func (*QueryMarkerResponse) ProtoMessage()

func (*QueryMarkerResponse) Reset

func (m *QueryMarkerResponse) Reset()

func (*QueryMarkerResponse) Size

func (m *QueryMarkerResponse) Size() (n int)

func (*QueryMarkerResponse) String

func (m *QueryMarkerResponse) String() string

func (*QueryMarkerResponse) Unmarshal

func (m *QueryMarkerResponse) Unmarshal(dAtA []byte) error

func (*QueryMarkerResponse) XXX_DiscardUnknown

func (m *QueryMarkerResponse) XXX_DiscardUnknown()

func (*QueryMarkerResponse) XXX_Marshal

func (m *QueryMarkerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryMarkerResponse) XXX_Merge

func (m *QueryMarkerResponse) XXX_Merge(src proto.Message)

func (*QueryMarkerResponse) XXX_Size

func (m *QueryMarkerResponse) XXX_Size() int

func (*QueryMarkerResponse) XXX_Unmarshal

func (m *QueryMarkerResponse) XXX_Unmarshal(b []byte) error

type QueryMarkersParams

type QueryMarkersParams struct {
	Page, Limit   int
	Denom, Status string
}

QueryMarkersParams defines the params for the following legacy queries: - 'custom/marker/all'

func NewQueryMarkersParams

func NewQueryMarkersParams(page, limit int, denom, status string) QueryMarkersParams

NewQueryMarkersParams object

type QueryNetAssetValuesRequest added in v1.17.0

type QueryNetAssetValuesRequest struct {
	// address or denom for the marker
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QueryNetAssetValuesRequest is the request type for the Query/NetAssetValues method.

func (*QueryNetAssetValuesRequest) Descriptor added in v1.17.0

func (*QueryNetAssetValuesRequest) Descriptor() ([]byte, []int)

func (*QueryNetAssetValuesRequest) GetId added in v1.17.0

func (*QueryNetAssetValuesRequest) Marshal added in v1.17.0

func (m *QueryNetAssetValuesRequest) Marshal() (dAtA []byte, err error)

func (*QueryNetAssetValuesRequest) MarshalTo added in v1.17.0

func (m *QueryNetAssetValuesRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryNetAssetValuesRequest) MarshalToSizedBuffer added in v1.17.0

func (m *QueryNetAssetValuesRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNetAssetValuesRequest) ProtoMessage added in v1.17.0

func (*QueryNetAssetValuesRequest) ProtoMessage()

func (*QueryNetAssetValuesRequest) Reset added in v1.17.0

func (m *QueryNetAssetValuesRequest) Reset()

func (*QueryNetAssetValuesRequest) Size added in v1.17.0

func (m *QueryNetAssetValuesRequest) Size() (n int)

func (*QueryNetAssetValuesRequest) String added in v1.17.0

func (m *QueryNetAssetValuesRequest) String() string

func (*QueryNetAssetValuesRequest) Unmarshal added in v1.17.0

func (m *QueryNetAssetValuesRequest) Unmarshal(dAtA []byte) error

func (*QueryNetAssetValuesRequest) XXX_DiscardUnknown added in v1.17.0

func (m *QueryNetAssetValuesRequest) XXX_DiscardUnknown()

func (*QueryNetAssetValuesRequest) XXX_Marshal added in v1.17.0

func (m *QueryNetAssetValuesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNetAssetValuesRequest) XXX_Merge added in v1.17.0

func (m *QueryNetAssetValuesRequest) XXX_Merge(src proto.Message)

func (*QueryNetAssetValuesRequest) XXX_Size added in v1.17.0

func (m *QueryNetAssetValuesRequest) XXX_Size() int

func (*QueryNetAssetValuesRequest) XXX_Unmarshal added in v1.17.0

func (m *QueryNetAssetValuesRequest) XXX_Unmarshal(b []byte) error

type QueryNetAssetValuesResponse added in v1.17.0

type QueryNetAssetValuesResponse struct {
	// net asset values for marker denom
	NetAssetValues []NetAssetValue `protobuf:"bytes,1,rep,name=net_asset_values,json=netAssetValues,proto3" json:"net_asset_values"`
}

QueryNetAssetValuesRequest is the response type for the Query/NetAssetValues method.

func (*QueryNetAssetValuesResponse) Descriptor added in v1.17.0

func (*QueryNetAssetValuesResponse) Descriptor() ([]byte, []int)

func (*QueryNetAssetValuesResponse) GetNetAssetValues added in v1.17.0

func (m *QueryNetAssetValuesResponse) GetNetAssetValues() []NetAssetValue

func (*QueryNetAssetValuesResponse) Marshal added in v1.17.0

func (m *QueryNetAssetValuesResponse) Marshal() (dAtA []byte, err error)

func (*QueryNetAssetValuesResponse) MarshalTo added in v1.17.0

func (m *QueryNetAssetValuesResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryNetAssetValuesResponse) MarshalToSizedBuffer added in v1.17.0

func (m *QueryNetAssetValuesResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryNetAssetValuesResponse) ProtoMessage added in v1.17.0

func (*QueryNetAssetValuesResponse) ProtoMessage()

func (*QueryNetAssetValuesResponse) Reset added in v1.17.0

func (m *QueryNetAssetValuesResponse) Reset()

func (*QueryNetAssetValuesResponse) Size added in v1.17.0

func (m *QueryNetAssetValuesResponse) Size() (n int)

func (*QueryNetAssetValuesResponse) String added in v1.17.0

func (m *QueryNetAssetValuesResponse) String() string

func (*QueryNetAssetValuesResponse) Unmarshal added in v1.17.0

func (m *QueryNetAssetValuesResponse) Unmarshal(dAtA []byte) error

func (*QueryNetAssetValuesResponse) XXX_DiscardUnknown added in v1.17.0

func (m *QueryNetAssetValuesResponse) XXX_DiscardUnknown()

func (*QueryNetAssetValuesResponse) XXX_Marshal added in v1.17.0

func (m *QueryNetAssetValuesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryNetAssetValuesResponse) XXX_Merge added in v1.17.0

func (m *QueryNetAssetValuesResponse) XXX_Merge(src proto.Message)

func (*QueryNetAssetValuesResponse) XXX_Size added in v1.17.0

func (m *QueryNetAssetValuesResponse) XXX_Size() int

func (*QueryNetAssetValuesResponse) XXX_Unmarshal added in v1.17.0

func (m *QueryNetAssetValuesResponse) XXX_Unmarshal(b []byte) error

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is the request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

func (*QueryParamsRequest) Descriptor() ([]byte, []int)

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params defines the parameters of the module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is the response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

func (*QueryParamsResponse) Descriptor() ([]byte, []int)

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Params queries the parameters of x/bank module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Returns a list of all markers on the blockchain
	AllMarkers(context.Context, *QueryAllMarkersRequest) (*QueryAllMarkersResponse, error)
	// query for a single marker by denom or address
	Marker(context.Context, *QueryMarkerRequest) (*QueryMarkerResponse, error)
	// query for all accounts holding the given marker coins
	Holding(context.Context, *QueryHoldingRequest) (*QueryHoldingResponse, error)
	// query for supply of coin on a marker account
	Supply(context.Context, *QuerySupplyRequest) (*QuerySupplyResponse, error)
	// query for coins on a marker account
	Escrow(context.Context, *QueryEscrowRequest) (*QueryEscrowResponse, error)
	// query for access records on an account
	Access(context.Context, *QueryAccessRequest) (*QueryAccessResponse, error)
	// query for access records on an account
	DenomMetadata(context.Context, *QueryDenomMetadataRequest) (*QueryDenomMetadataResponse, error)
	// query for account data associated with a denom
	AccountData(context.Context, *QueryAccountDataRequest) (*QueryAccountDataResponse, error)
	// NetAssetValues returns net asset values for marker
	NetAssetValues(context.Context, *QueryNetAssetValuesRequest) (*QueryNetAssetValuesResponse, error)
}

QueryServer is the server API for Query service.

type QuerySupplyRequest

type QuerySupplyRequest struct {
	// address or denom for the marker
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
}

QuerySupplyRequest is the request type for the Query/MarkerSupply method.

func (*QuerySupplyRequest) Descriptor

func (*QuerySupplyRequest) Descriptor() ([]byte, []int)

func (*QuerySupplyRequest) GetId

func (m *QuerySupplyRequest) GetId() string

func (*QuerySupplyRequest) Marshal

func (m *QuerySupplyRequest) Marshal() (dAtA []byte, err error)

func (*QuerySupplyRequest) MarshalTo

func (m *QuerySupplyRequest) MarshalTo(dAtA []byte) (int, error)

func (*QuerySupplyRequest) MarshalToSizedBuffer

func (m *QuerySupplyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySupplyRequest) ProtoMessage

func (*QuerySupplyRequest) ProtoMessage()

func (*QuerySupplyRequest) Reset

func (m *QuerySupplyRequest) Reset()

func (*QuerySupplyRequest) Size

func (m *QuerySupplyRequest) Size() (n int)

func (*QuerySupplyRequest) String

func (m *QuerySupplyRequest) String() string

func (*QuerySupplyRequest) Unmarshal

func (m *QuerySupplyRequest) Unmarshal(dAtA []byte) error

func (*QuerySupplyRequest) XXX_DiscardUnknown

func (m *QuerySupplyRequest) XXX_DiscardUnknown()

func (*QuerySupplyRequest) XXX_Marshal

func (m *QuerySupplyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySupplyRequest) XXX_Merge

func (m *QuerySupplyRequest) XXX_Merge(src proto.Message)

func (*QuerySupplyRequest) XXX_Size

func (m *QuerySupplyRequest) XXX_Size() int

func (*QuerySupplyRequest) XXX_Unmarshal

func (m *QuerySupplyRequest) XXX_Unmarshal(b []byte) error

type QuerySupplyResponse

type QuerySupplyResponse struct {
	// amount is the supply of the marker.
	Amount types1.Coin `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount"`
}

QuerySupplyResponse is the response type for the Query/MarkerSupply method.

func (*QuerySupplyResponse) Descriptor

func (*QuerySupplyResponse) Descriptor() ([]byte, []int)

func (*QuerySupplyResponse) GetAmount

func (m *QuerySupplyResponse) GetAmount() types1.Coin

func (*QuerySupplyResponse) Marshal

func (m *QuerySupplyResponse) Marshal() (dAtA []byte, err error)

func (*QuerySupplyResponse) MarshalTo

func (m *QuerySupplyResponse) MarshalTo(dAtA []byte) (int, error)

func (*QuerySupplyResponse) MarshalToSizedBuffer

func (m *QuerySupplyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QuerySupplyResponse) ProtoMessage

func (*QuerySupplyResponse) ProtoMessage()

func (*QuerySupplyResponse) Reset

func (m *QuerySupplyResponse) Reset()

func (*QuerySupplyResponse) Size

func (m *QuerySupplyResponse) Size() (n int)

func (*QuerySupplyResponse) String

func (m *QuerySupplyResponse) String() string

func (*QuerySupplyResponse) Unmarshal

func (m *QuerySupplyResponse) Unmarshal(dAtA []byte) error

func (*QuerySupplyResponse) XXX_DiscardUnknown

func (m *QuerySupplyResponse) XXX_DiscardUnknown()

func (*QuerySupplyResponse) XXX_Marshal

func (m *QuerySupplyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuerySupplyResponse) XXX_Merge

func (m *QuerySupplyResponse) XXX_Merge(src proto.Message)

func (*QuerySupplyResponse) XXX_Size

func (m *QuerySupplyResponse) XXX_Size() int

func (*QuerySupplyResponse) XXX_Unmarshal

func (m *QuerySupplyResponse) XXX_Unmarshal(b []byte) error

type RemoveAdministratorProposal

type RemoveAdministratorProposal struct {
	Title          string   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description    string   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Denom          string   `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	RemovedAddress []string `protobuf:"bytes,4,rep,name=removed_address,json=removedAddress,proto3" json:"removed_address,omitempty"`
}

RemoveAdministratorProposal defines a governance proposal to administer a marker and remove all permissions for a given address

func NewRemoveAdministratorProposal

func NewRemoveAdministratorProposal(
	title, description, denom string, administrators []string,
) *RemoveAdministratorProposal

func (*RemoveAdministratorProposal) Descriptor

func (*RemoveAdministratorProposal) Descriptor() ([]byte, []int)

func (*RemoveAdministratorProposal) Equal

func (this *RemoveAdministratorProposal) Equal(that interface{}) bool

func (*RemoveAdministratorProposal) GetDenom

func (m *RemoveAdministratorProposal) GetDenom() string

func (*RemoveAdministratorProposal) GetDescription

func (m *RemoveAdministratorProposal) GetDescription() string

func (*RemoveAdministratorProposal) GetRemovedAddress

func (m *RemoveAdministratorProposal) GetRemovedAddress() []string

func (*RemoveAdministratorProposal) GetTitle

func (m *RemoveAdministratorProposal) GetTitle() string

func (*RemoveAdministratorProposal) Marshal

func (m *RemoveAdministratorProposal) Marshal() (dAtA []byte, err error)

func (*RemoveAdministratorProposal) MarshalTo

func (m *RemoveAdministratorProposal) MarshalTo(dAtA []byte) (int, error)

func (*RemoveAdministratorProposal) MarshalToSizedBuffer

func (m *RemoveAdministratorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (RemoveAdministratorProposal) ProposalRoute

func (rap RemoveAdministratorProposal) ProposalRoute() string

func (RemoveAdministratorProposal) ProposalType

func (rap RemoveAdministratorProposal) ProposalType() string

func (*RemoveAdministratorProposal) ProtoMessage

func (*RemoveAdministratorProposal) ProtoMessage()

func (*RemoveAdministratorProposal) Reset

func (m *RemoveAdministratorProposal) Reset()

func (*RemoveAdministratorProposal) Size

func (m *RemoveAdministratorProposal) Size() (n int)

func (RemoveAdministratorProposal) String

func (rap RemoveAdministratorProposal) String() string

func (*RemoveAdministratorProposal) Unmarshal

func (m *RemoveAdministratorProposal) Unmarshal(dAtA []byte) error

func (RemoveAdministratorProposal) ValidateBasic

func (rap RemoveAdministratorProposal) ValidateBasic() error

func (*RemoveAdministratorProposal) XXX_DiscardUnknown

func (m *RemoveAdministratorProposal) XXX_DiscardUnknown()

func (*RemoveAdministratorProposal) XXX_Marshal

func (m *RemoveAdministratorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RemoveAdministratorProposal) XXX_Merge

func (m *RemoveAdministratorProposal) XXX_Merge(src proto.Message)

func (*RemoveAdministratorProposal) XXX_Size

func (m *RemoveAdministratorProposal) XXX_Size() int

func (*RemoveAdministratorProposal) XXX_Unmarshal

func (m *RemoveAdministratorProposal) XXX_Unmarshal(b []byte) error

type SIPrefix added in v1.0.0

type SIPrefix int32

SIPrefix represents an International System of Units (SI) Prefix.

const (
	// 10^0    (none)
	SI_PREFIX_NONE SIPrefix = 0
	// 10^1    deka   da
	SI_PREFIX_DEKA SIPrefix = 1
	// 10^2    hecto   h
	SI_PREFIX_HECTO SIPrefix = 2
	// 10^3    kilo    k
	SI_PREFIX_KILO SIPrefix = 3
	// 10^6    mega    M
	SI_PREFIX_MEGA SIPrefix = 6
	// 10^9    giga    G
	SI_PREFIX_GIGA SIPrefix = 9
	// 10^12   tera    T
	SI_PREFIX_TERA SIPrefix = 12
	// 10^15   peta    P
	SI_PREFIX_PETA SIPrefix = 15
	// 10^18   exa     E
	SI_PREFIX_EXA SIPrefix = 18
	// 10^21   zetta   Z
	SI_PREFIX_ZETTA SIPrefix = 21
	// 10^24   yotta   Y
	SI_PREFIX_YOTTA SIPrefix = 24
	// 10^-1   deci    d
	SI_PREFIX_DECI SIPrefix = -1
	// 10^-2   centi   c
	SI_PREFIX_CENTI SIPrefix = -2
	// 10^-3   milli   m
	SI_PREFIX_MILLI SIPrefix = -3
	// 10^-6   micro   µ
	SI_PREFIX_MICRO SIPrefix = -6
	// 10^-9   nano    n
	SI_PREFIX_NANO SIPrefix = -9
	// 10^-12  pico    p
	SI_PREFIX_PICO SIPrefix = -12
	// 10^-15  femto   f
	SI_PREFIX_FEMTO SIPrefix = -15
	// 10^-18  atto    a
	SI_PREFIX_ATTO SIPrefix = -18
	// 10^-21  zepto   z
	SI_PREFIX_ZEPTO SIPrefix = -21
	// 10^-24  yocto   y
	SI_PREFIX_YOCTO SIPrefix = -24
)

func MustGetSIPrefixFromExponent added in v1.0.0

func MustGetSIPrefixFromExponent(exp int) SIPrefix

MustGetSIPrefixFromExponent turns an integer exponent into a SIPrefix enum entry or panics if invalid. Example inputs: 15, -6

func MustGetSIPrefixFromString added in v1.0.0

func MustGetSIPrefixFromString(str string) SIPrefix

MustGetSIPrefixFromString turns a string into a SIPrefix enum entry or panics if invalid. Example inputs: "SI_PREFIX_PICO", "PICO", "p", "M", "µ". Note: An empty string will produce SI_PREFIX_NONE.

func ParseSIPrefixedString added in v1.0.0

func ParseSIPrefixedString(val string, root string) (SIPrefix, bool)

ParseSIPrefixedString extracts the prefix from the provided val using root as the base. Returns the SI prefix, and a boolean to indicate that it was successful. Possible reasons for it to be unsuccessful:

  • The provided val is shorter than the root.
  • The right-most characters in val are not equal to root (case insensitive).
  • No SI Prefix can be found matching the left-most portion of val (that isn't root).

func SIPrefixFromExponent added in v1.0.0

func SIPrefixFromExponent(exp int) (SIPrefix, error)

SIPrefixFromExponent attempts to convert an integer exponent into a SIPrefix enum entry. Example inputs: 12, -9

func SIPrefixFromString added in v1.0.0

func SIPrefixFromString(str string) (SIPrefix, error)

SIPrefixFromString attempts to convert a string into a SIPrefix enum entry. Example inputs: "SI_PREFIX_GIGA", "GIGA", "G", "m", "µ". Note: An empty string will produce SI_PREFIX_NONE.

func (SIPrefix) EnumDescriptor added in v1.0.0

func (SIPrefix) EnumDescriptor() ([]byte, []int)

func (SIPrefix) Format added in v1.0.0

func (p SIPrefix) Format(s fmt.State, verb rune)

Format implements the fmt.Formatter interface.

func (SIPrefix) GetDecimalString added in v1.0.0

func (p SIPrefix) GetDecimalString() string

GetDecimalString gets a string with the decimal representation of the multiplier for this SI Prefix. Examples: SI_PREFIX_ZETTA becomes "1000000000000000000000", and SI_PREFIX_ATTO becomes "0.000000000000000001". It is a string because a float64 has rounding issues on the longer numbers.

func (SIPrefix) GetExponent added in v1.0.0

func (p SIPrefix) GetExponent() int

Get the Exponent value of this SIPrefix. Examples, SI_PREFIX_PETA is 15 and SI_PREFIX_MICRO is -6.

func (SIPrefix) GetExponentString added in v1.0.0

func (p SIPrefix) GetExponentString() string

GetExponentString gets an exponent representation of the multiplier for this SI Prefix. Examples: "1e+6", "1e-12".

func (SIPrefix) GetName added in v1.0.0

func (p SIPrefix) GetName() string

GetName gets the lower-case name of this prefix, e.g. "nano", "exa", or "micro".

func (SIPrefix) GetSymbol added in v1.0.0

func (p SIPrefix) GetSymbol() string

GetSymbol gets the symbol for this prefix, e.g. "n", "E", or "µ". Case matters here. E.g. "m" is "milli" while "M" is "mega".

func (SIPrefix) IsValid added in v1.0.0

func (p SIPrefix) IsValid() bool

IsValid checks that this SIPrefix is a valid value.

func (SIPrefix) String added in v1.0.0

func (x SIPrefix) String() string

type SetAdministratorProposal

type SetAdministratorProposal struct {
	Title       string        `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string        `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Denom       string        `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Access      []AccessGrant `protobuf:"bytes,4,rep,name=access,proto3" json:"access"`
}

SetAdministratorProposal defines a governance proposal to administer a marker and set administrators with specific access on the marker

func NewSetAdministratorProposal

func NewSetAdministratorProposal(
	title, description, denom string, accessGrants []AccessGrant,
) *SetAdministratorProposal

func (*SetAdministratorProposal) Descriptor

func (*SetAdministratorProposal) Descriptor() ([]byte, []int)

func (*SetAdministratorProposal) Equal

func (this *SetAdministratorProposal) Equal(that interface{}) bool

func (*SetAdministratorProposal) GetAccess

func (m *SetAdministratorProposal) GetAccess() []AccessGrant

func (*SetAdministratorProposal) GetDenom

func (m *SetAdministratorProposal) GetDenom() string

func (*SetAdministratorProposal) GetDescription

func (m *SetAdministratorProposal) GetDescription() string

func (*SetAdministratorProposal) GetTitle

func (m *SetAdministratorProposal) GetTitle() string

func (*SetAdministratorProposal) Marshal

func (m *SetAdministratorProposal) Marshal() (dAtA []byte, err error)

func (*SetAdministratorProposal) MarshalTo

func (m *SetAdministratorProposal) MarshalTo(dAtA []byte) (int, error)

func (*SetAdministratorProposal) MarshalToSizedBuffer

func (m *SetAdministratorProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (SetAdministratorProposal) ProposalRoute

func (sap SetAdministratorProposal) ProposalRoute() string

func (SetAdministratorProposal) ProposalType

func (sap SetAdministratorProposal) ProposalType() string

func (*SetAdministratorProposal) ProtoMessage

func (*SetAdministratorProposal) ProtoMessage()

func (*SetAdministratorProposal) Reset

func (m *SetAdministratorProposal) Reset()

func (*SetAdministratorProposal) Size

func (m *SetAdministratorProposal) Size() (n int)

func (SetAdministratorProposal) String

func (sap SetAdministratorProposal) String() string

func (*SetAdministratorProposal) Unmarshal

func (m *SetAdministratorProposal) Unmarshal(dAtA []byte) error

func (SetAdministratorProposal) ValidateBasic

func (sap SetAdministratorProposal) ValidateBasic() error

func (*SetAdministratorProposal) XXX_DiscardUnknown

func (m *SetAdministratorProposal) XXX_DiscardUnknown()

func (*SetAdministratorProposal) XXX_Marshal

func (m *SetAdministratorProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetAdministratorProposal) XXX_Merge

func (m *SetAdministratorProposal) XXX_Merge(src proto.Message)

func (*SetAdministratorProposal) XXX_Size

func (m *SetAdministratorProposal) XXX_Size() int

func (*SetAdministratorProposal) XXX_Unmarshal

func (m *SetAdministratorProposal) XXX_Unmarshal(b []byte) error

type SetDenomMetadataProposal added in v1.7.0

type SetDenomMetadataProposal struct {
	Title       string                                             `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string                                             `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Metadata    github_com_cosmos_cosmos_sdk_x_bank_types.Metadata `protobuf:"bytes,3,opt,name=metadata,proto3,customtype=github.com/cosmos/cosmos-sdk/x/bank/types.Metadata" json:"metadata"`
}

SetDenomMetadataProposal defines a governance proposal to set the metadata for a denom

func NewSetDenomMetadataProposal added in v1.7.0

func NewSetDenomMetadataProposal(title, description string, metadata banktypes.Metadata) *SetDenomMetadataProposal

func (*SetDenomMetadataProposal) Descriptor added in v1.7.0

func (*SetDenomMetadataProposal) Descriptor() ([]byte, []int)

func (*SetDenomMetadataProposal) GetDescription added in v1.7.0

func (m *SetDenomMetadataProposal) GetDescription() string

func (*SetDenomMetadataProposal) GetTitle added in v1.7.0

func (m *SetDenomMetadataProposal) GetTitle() string

func (*SetDenomMetadataProposal) Marshal added in v1.7.0

func (m *SetDenomMetadataProposal) Marshal() (dAtA []byte, err error)

func (*SetDenomMetadataProposal) MarshalTo added in v1.7.0

func (m *SetDenomMetadataProposal) MarshalTo(dAtA []byte) (int, error)

func (*SetDenomMetadataProposal) MarshalToSizedBuffer added in v1.7.0

func (m *SetDenomMetadataProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (SetDenomMetadataProposal) ProposalRoute added in v1.7.0

func (sdmdp SetDenomMetadataProposal) ProposalRoute() string

func (SetDenomMetadataProposal) ProposalType added in v1.7.0

func (sdmdp SetDenomMetadataProposal) ProposalType() string

func (*SetDenomMetadataProposal) ProtoMessage added in v1.7.0

func (*SetDenomMetadataProposal) ProtoMessage()

func (*SetDenomMetadataProposal) Reset added in v1.7.0

func (m *SetDenomMetadataProposal) Reset()

func (*SetDenomMetadataProposal) Size added in v1.7.0

func (m *SetDenomMetadataProposal) Size() (n int)

func (SetDenomMetadataProposal) String added in v1.7.0

func (sdmdp SetDenomMetadataProposal) String() string

func (*SetDenomMetadataProposal) Unmarshal added in v1.7.0

func (m *SetDenomMetadataProposal) Unmarshal(dAtA []byte) error

func (SetDenomMetadataProposal) ValidateBasic added in v1.7.0

func (sdmdp SetDenomMetadataProposal) ValidateBasic() error

func (*SetDenomMetadataProposal) XXX_DiscardUnknown added in v1.7.0

func (m *SetDenomMetadataProposal) XXX_DiscardUnknown()

func (*SetDenomMetadataProposal) XXX_Marshal added in v1.7.0

func (m *SetDenomMetadataProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetDenomMetadataProposal) XXX_Merge added in v1.7.0

func (m *SetDenomMetadataProposal) XXX_Merge(src proto.Message)

func (*SetDenomMetadataProposal) XXX_Size added in v1.7.0

func (m *SetDenomMetadataProposal) XXX_Size() int

func (*SetDenomMetadataProposal) XXX_Unmarshal added in v1.7.0

func (m *SetDenomMetadataProposal) XXX_Unmarshal(b []byte) error

type SupplyDecreaseProposal

type SupplyDecreaseProposal struct {
	Title       string                                  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description string                                  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Amount      github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
}

SupplyDecreaseProposal defines a governance proposal to administer a marker and decrease the total supply through burning coin held within the marker

func NewSupplyDecreaseProposal

func NewSupplyDecreaseProposal(title, description string, amount sdk.Coin) *SupplyDecreaseProposal

NewSupplyDecreaseProposal creates a new proposal

func (*SupplyDecreaseProposal) Descriptor

func (*SupplyDecreaseProposal) Descriptor() ([]byte, []int)

func (*SupplyDecreaseProposal) Equal

func (this *SupplyDecreaseProposal) Equal(that interface{}) bool

func (*SupplyDecreaseProposal) GetDescription

func (m *SupplyDecreaseProposal) GetDescription() string

func (*SupplyDecreaseProposal) GetTitle

func (m *SupplyDecreaseProposal) GetTitle() string

func (*SupplyDecreaseProposal) Marshal

func (m *SupplyDecreaseProposal) Marshal() (dAtA []byte, err error)

func (*SupplyDecreaseProposal) MarshalTo

func (m *SupplyDecreaseProposal) MarshalTo(dAtA []byte) (int, error)

func (*SupplyDecreaseProposal) MarshalToSizedBuffer

func (m *SupplyDecreaseProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (SupplyDecreaseProposal) ProposalRoute

func (sdp SupplyDecreaseProposal) ProposalRoute() string

func (SupplyDecreaseProposal) ProposalType

func (sdp SupplyDecreaseProposal) ProposalType() string

func (*SupplyDecreaseProposal) ProtoMessage

func (*SupplyDecreaseProposal) ProtoMessage()

func (*SupplyDecreaseProposal) Reset

func (m *SupplyDecreaseProposal) Reset()

func (*SupplyDecreaseProposal) Size

func (m *SupplyDecreaseProposal) Size() (n int)

func (SupplyDecreaseProposal) String

func (sdp SupplyDecreaseProposal) String() string

func (*SupplyDecreaseProposal) Unmarshal

func (m *SupplyDecreaseProposal) Unmarshal(dAtA []byte) error

func (SupplyDecreaseProposal) ValidateBasic

func (sdp SupplyDecreaseProposal) ValidateBasic() error

func (*SupplyDecreaseProposal) XXX_DiscardUnknown

func (m *SupplyDecreaseProposal) XXX_DiscardUnknown()

func (*SupplyDecreaseProposal) XXX_Marshal

func (m *SupplyDecreaseProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SupplyDecreaseProposal) XXX_Merge

func (m *SupplyDecreaseProposal) XXX_Merge(src proto.Message)

func (*SupplyDecreaseProposal) XXX_Size

func (m *SupplyDecreaseProposal) XXX_Size() int

func (*SupplyDecreaseProposal) XXX_Unmarshal

func (m *SupplyDecreaseProposal) XXX_Unmarshal(b []byte) error

type SupplyIncreaseProposal

type SupplyIncreaseProposal struct {
	Title         string                                  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description   string                                  `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Amount        github_com_cosmos_cosmos_sdk_types.Coin `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Coin" json:"amount"`
	TargetAddress string                                  `protobuf:"bytes,4,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"`
}

SupplyIncreaseProposal defines a governance proposal to administer a marker and increase total supply of the marker through minting coin and placing it within the marker or assigning it directly to an account

func NewSupplyIncreaseProposal

func NewSupplyIncreaseProposal(title, description string, amount sdk.Coin, destination string) *SupplyIncreaseProposal

NewSupplyIncreaseProposal creates a new proposal

func (*SupplyIncreaseProposal) Descriptor

func (*SupplyIncreaseProposal) Descriptor() ([]byte, []int)

func (*SupplyIncreaseProposal) Equal

func (this *SupplyIncreaseProposal) Equal(that interface{}) bool

func (*SupplyIncreaseProposal) GetDescription

func (m *SupplyIncreaseProposal) GetDescription() string

func (*SupplyIncreaseProposal) GetTargetAddress added in v1.7.0

func (m *SupplyIncreaseProposal) GetTargetAddress() string

func (*SupplyIncreaseProposal) GetTitle

func (m *SupplyIncreaseProposal) GetTitle() string

func (*SupplyIncreaseProposal) Marshal

func (m *SupplyIncreaseProposal) Marshal() (dAtA []byte, err error)

func (*SupplyIncreaseProposal) MarshalTo

func (m *SupplyIncreaseProposal) MarshalTo(dAtA []byte) (int, error)

func (*SupplyIncreaseProposal) MarshalToSizedBuffer

func (m *SupplyIncreaseProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (SupplyIncreaseProposal) ProposalRoute

func (sip SupplyIncreaseProposal) ProposalRoute() string

func (SupplyIncreaseProposal) ProposalType

func (sip SupplyIncreaseProposal) ProposalType() string

func (*SupplyIncreaseProposal) ProtoMessage

func (*SupplyIncreaseProposal) ProtoMessage()

func (*SupplyIncreaseProposal) Reset

func (m *SupplyIncreaseProposal) Reset()

func (*SupplyIncreaseProposal) Size

func (m *SupplyIncreaseProposal) Size() (n int)

func (SupplyIncreaseProposal) String

func (sip SupplyIncreaseProposal) String() string

func (*SupplyIncreaseProposal) Unmarshal

func (m *SupplyIncreaseProposal) Unmarshal(dAtA []byte) error

func (SupplyIncreaseProposal) ValidateBasic

func (sip SupplyIncreaseProposal) ValidateBasic() error

func (*SupplyIncreaseProposal) XXX_DiscardUnknown

func (m *SupplyIncreaseProposal) XXX_DiscardUnknown()

func (*SupplyIncreaseProposal) XXX_Marshal

func (m *SupplyIncreaseProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SupplyIncreaseProposal) XXX_Merge

func (m *SupplyIncreaseProposal) XXX_Merge(src proto.Message)

func (*SupplyIncreaseProposal) XXX_Size

func (m *SupplyIncreaseProposal) XXX_Size() int

func (*SupplyIncreaseProposal) XXX_Unmarshal

func (m *SupplyIncreaseProposal) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) Activate

func (*UnimplementedMsgServer) AddAccess

func (*UnimplementedMsgServer) AddFinalizeActivateMarker added in v1.14.0

func (*UnimplementedMsgServer) AddMarker

func (*UnimplementedMsgServer) AddNetAssetValues added in v1.17.0

func (*UnimplementedMsgServer) Burn

func (*UnimplementedMsgServer) Cancel

func (*UnimplementedMsgServer) Delete

func (*UnimplementedMsgServer) DeleteAccess

func (*UnimplementedMsgServer) Finalize

func (*UnimplementedMsgServer) GrantAllowance added in v1.11.0

func (*UnimplementedMsgServer) IbcTransfer added in v1.13.0

func (*UnimplementedMsgServer) Mint

func (*UnimplementedMsgServer) SetAccountData added in v1.16.0

func (*UnimplementedMsgServer) SetDenomMetadata

func (*UnimplementedMsgServer) SupplyIncreaseProposal added in v1.14.0

func (*UnimplementedMsgServer) Transfer

func (*UnimplementedMsgServer) UpdateForcedTransfer added in v1.16.0

func (*UnimplementedMsgServer) UpdateRequiredAttributes added in v1.16.0

func (*UnimplementedMsgServer) UpdateSendDenyList added in v1.17.0

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Access

func (*UnimplementedQueryServer) AccountData added in v1.16.0

func (*UnimplementedQueryServer) AllMarkers

func (*UnimplementedQueryServer) DenomMetadata

func (*UnimplementedQueryServer) Escrow

func (*UnimplementedQueryServer) Holding

func (*UnimplementedQueryServer) Marker

func (*UnimplementedQueryServer) NetAssetValues added in v1.17.0

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Supply

type WithdrawEscrowProposal added in v0.3.0

type WithdrawEscrowProposal struct {
	Title         string                                   `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description   string                                   `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Denom         string                                   `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
	Amount        github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"`
	TargetAddress string                                   `protobuf:"bytes,5,opt,name=target_address,json=targetAddress,proto3" json:"target_address,omitempty"`
}

WithdrawEscrowProposal defines a governance proposal to withdraw escrow coins from a marker

func NewWithdrawEscrowProposal added in v0.3.0

func NewWithdrawEscrowProposal(title, description, denom string, amount sdk.Coins, target string) *WithdrawEscrowProposal

func (*WithdrawEscrowProposal) Descriptor added in v0.3.0

func (*WithdrawEscrowProposal) Descriptor() ([]byte, []int)

func (*WithdrawEscrowProposal) Equal added in v0.3.0

func (this *WithdrawEscrowProposal) Equal(that interface{}) bool

func (*WithdrawEscrowProposal) GetAmount added in v0.3.0

func (*WithdrawEscrowProposal) GetDenom added in v0.3.0

func (m *WithdrawEscrowProposal) GetDenom() string

func (*WithdrawEscrowProposal) GetDescription added in v0.3.0

func (m *WithdrawEscrowProposal) GetDescription() string

func (*WithdrawEscrowProposal) GetTargetAddress added in v1.7.0

func (m *WithdrawEscrowProposal) GetTargetAddress() string

func (*WithdrawEscrowProposal) GetTitle added in v0.3.0

func (m *WithdrawEscrowProposal) GetTitle() string

func (*WithdrawEscrowProposal) Marshal added in v0.3.0

func (m *WithdrawEscrowProposal) Marshal() (dAtA []byte, err error)

func (*WithdrawEscrowProposal) MarshalTo added in v0.3.0

func (m *WithdrawEscrowProposal) MarshalTo(dAtA []byte) (int, error)

func (*WithdrawEscrowProposal) MarshalToSizedBuffer added in v0.3.0

func (m *WithdrawEscrowProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (WithdrawEscrowProposal) ProposalRoute added in v0.3.0

func (wep WithdrawEscrowProposal) ProposalRoute() string

func (WithdrawEscrowProposal) ProposalType added in v0.3.0

func (wep WithdrawEscrowProposal) ProposalType() string

func (*WithdrawEscrowProposal) ProtoMessage added in v0.3.0

func (*WithdrawEscrowProposal) ProtoMessage()

func (*WithdrawEscrowProposal) Reset added in v0.3.0

func (m *WithdrawEscrowProposal) Reset()

func (*WithdrawEscrowProposal) Size added in v0.3.0

func (m *WithdrawEscrowProposal) Size() (n int)

func (WithdrawEscrowProposal) String added in v0.3.0

func (wep WithdrawEscrowProposal) String() string

func (*WithdrawEscrowProposal) Unmarshal added in v0.3.0

func (m *WithdrawEscrowProposal) Unmarshal(dAtA []byte) error

func (WithdrawEscrowProposal) ValidateBasic added in v0.3.0

func (wep WithdrawEscrowProposal) ValidateBasic() error

func (*WithdrawEscrowProposal) XXX_DiscardUnknown added in v0.3.0

func (m *WithdrawEscrowProposal) XXX_DiscardUnknown()

func (*WithdrawEscrowProposal) XXX_Marshal added in v0.3.0

func (m *WithdrawEscrowProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WithdrawEscrowProposal) XXX_Merge added in v0.3.0

func (m *WithdrawEscrowProposal) XXX_Merge(src proto.Message)

func (*WithdrawEscrowProposal) XXX_Size added in v0.3.0

func (m *WithdrawEscrowProposal) XXX_Size() int

func (*WithdrawEscrowProposal) XXX_Unmarshal added in v0.3.0

func (m *WithdrawEscrowProposal) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL