types

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 37 Imported by: 2

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// EventAttributeMarkerKey is the attribute key for a marker.
	EventAttributeMarkerKey string = "marker"
	// EventAttributeDenomKey is the attribute key for a marker.
	EventAttributeDenomKey string = "denom"
	// EventAttributeAmountKey is the attribute key for a marker.
	EventAttributeAmountKey string = "amount"
	// EventAttributeAdministratorKey is the attribute for the admin invoking the event action
	EventAttributeAdministratorKey string = "administrator"
	// EventAttributeMarkerStatusKey is the attribute that holds the current status of the marker
	EventAttributeMarkerStatusKey string = "status"
	// EventAttributeMarkerTypeKey is the attribute that holds the type of the marker
	EventAttributeMarkerTypeKey string = "type"

	// EventAttributeGrantKey is the attribute key for an access grant.
	EventAttributeGrantKey string = "marker_AccessGrant"
	// EventAttributeRevokeKey is the attribute key for a revoke event
	EventAttributeRevokeKey string = "marker_access_revoked"

	// EventAttributeModuleNameKey is the attribute key for the entire marker module
	EventAttributeModuleNameKey string = "module"

	// EventTypeMarkerAdded emitted when marker added
	EventTypeMarkerAdded string = EventAttributeMarkerKey + "_added"
	// EventTypeMarkerUpdated emitted when marker updated
	EventTypeMarkerUpdated string = EventAttributeMarkerKey + "_updated"

	// EventTypeGrantAccess emitted when access grant made for user against marker
	EventTypeGrantAccess string = EventAttributeMarkerKey + "_AccessGranted"
	// EventTypeRevokeAccess emitted when access grant removed for user against marker
	EventTypeRevokeAccess string = EventAttributeMarkerKey + "_access_revoked"

	// EventTypeFinalize emitted when a marker configuration is finalized
	EventTypeFinalize string = EventAttributeMarkerKey + "_finalized"
	// EventTypeActivate emitted when a marker configuration is finalized
	EventTypeActivate string = EventAttributeMarkerKey + "_activated"
	// EventTypeCancel emitted when a marker configuration is finalized
	EventTypeCancel string = EventAttributeMarkerKey + "_cancelled"
	// EventTypeDestroy emitted when a marker is destroyed and marked for deletion
	EventTypeDestroy string = EventAttributeMarkerKey + "_destroyed"

	// EventTypeMint emitted when a marker has coins minted against it
	EventTypeMint string = EventAttributeMarkerKey + "_minted_coins"
	// EventTypeBurn emitted when a marker has coins burned from it
	EventTypeBurn string = EventAttributeMarkerKey + "_burned_coins"
	// EventTypeWithdraw emitted when an administrator withdraws coins from marker
	EventTypeWithdraw string = EventAttributeMarkerKey + "_withdraw_coins"
	// EventTypeTransfer emitted when a restricted coin marker transfer occurs
	EventTypeTransfer string = EventAttributeMarkerKey + "_tranfer_coin"

	// EventTypeDepositAsset emitted when assets are assigned as marker collateral
	EventTypeDepositAsset string = EventAttributeMarkerKey + "_asset_deposited"
	// EventTypeWithdrawAsset emitted when assets are removed from marker collateral
	EventTypeWithdrawAsset string = EventAttributeMarkerKey + "_asset_withdrawn"
)
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 (
	TypeAddMarkerRequest    = "addmarker"
	TypeAddAccessRequest    = "addaccess"
	TypeDeleteAccessRequest = "deleteaccess"
	TypeFinalizeRequest     = "finalize"
	TypeActivateRequest     = "activate"
	TypeCancelRequest       = "cancel"
	TypeDeleteRequest       = "delete"
	TypeMintRequest         = "mint"
	TypeBurnRequest         = "burn"
	TypeWithdrawRequest     = "withdraw"
	TypeTransferRequest     = "transfer"
	TypeSetMetadataRequest  = "setmetadata"
)
View Source
const (
	DefaultEnableGovernance = true
	DefaultMaxTotalSupply   = 100000000000 // 100 billion
)
View Source
const (
	// Proposal to mint coins
	ProposalTypeIncreaseSupply string = "IncreaseSupply"
	// Proposal to burn coins
	ProposalTypeDecreaseSupply string = "DescreaseSupply"
	// Proposal to set permissions for an account address on marker account
	ProposalTypeSetAdministrator string = "SetAdministrator"
	// Proposal to remove an existing address and all permissions from marker account
	ProposalTypeRemoveAdministrator string = "RemoveAdministrator"
	// Proposal to transition the status of a marker account.
	ProposalTypeChangeStatus string = "ChangeStatus"
)
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"
)

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 (
	ErrEmptyAccessGrantAddress = sdkerrors.Register(ModuleName, 2, "access grant address is empty")
	ErrAccessTypeInvalid       = sdkerrors.Register(ModuleName, 3, "invalid access type")
	ErrDuplicateAccessEntry    = sdkerrors.Register(ModuleName, 4, "access list contains duplicate entry")
	ErrInvalidMarkerStatus     = sdkerrors.Register(ModuleName, 5, "invalid marker status")
	ErrAccessTypeNotGranted    = sdkerrors.Register(ModuleName, 6, "access type not granted")
)

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 (
	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 maximum supply to allow a marker to create
	ParamStoreKeyMaxTotalSupply = []byte("MaxTotalSupply")
)
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 (
	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",
}
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,
}
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 (
	// MarkerStoreKeyPrefix prefix for marker-address reference (improves iterator performance over auth accounts)
	MarkerStoreKeyPrefix = []byte{0x01}
)
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.NewAminoCodec(amino)
)

Functions

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 ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for slashing module

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

RegisterInterfaces registers implementations for the tx messages

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers all the necessary types and interfaces for the account module.

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 to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func SplitMarkerStoreKey

func SplitMarkerStoreKey(key []byte) sdk.AccAddress

SplitMarkerStoreKey returns an account address given a store key

func ValidMarkerStatus

func ValidMarkerStatus(markerStatus MarkerStatus) bool

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

func ValidateGrants

func ValidateGrants(grants ...AccessGrant) error

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

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 set a marker reference to this marker in the metadata/scopes module
	Access_Deposit Access = 3
	// ACCESS_WITHDRAW is the ability to remove marker references to this marker in from metadata/scopes or
	// transfer coin from this marker account to another account.
	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.
	Access_Admin Access = 6
	// ACCESS_TRANSFER is the ability to invoke a send operation using the marker module to facilitate exchange.
	// This capability is useful when the marker denomination has "send enabled = false" preventing normal bank transfer
	Access_Transfer Access = 7
)

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) 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 colelction of permisssions 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 {
	IterateAccounts(ctx sdk.Context, process func(authtypes.AccountI) (stop bool))
	GetAccount(sdk.Context, sdk.AccAddress) authtypes.AccountI
	SetAccount(sdk.Context, authtypes.AccountI)
	NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI
}

AccountKeeper defines the expected account keeper (noalias)

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

	// Used in the Get all marker Holders Query function
	IterateAllBalances(ctx sdk.Context, cb func(address sdk.AccAddress, coin sdk.Coin) (stop bool))

	// Required for moving coins between Marker Module account and marker accounts
	InputOutputCoins(ctx sdk.Context, inputs []types.Input, outputs []types.Output) error

	// Used by RESTRICTED_COIN markers for transfer between accounts.
	SendCoins(ctx sdk.Context, fromAddr sdk.AccAddress, toAddr sdk.AccAddress, amt sdk.Coins) error

	// used for unit-test only.
	SetBalance(ctx sdk.Context, addr sdk.AccAddress, balance sdk.Coin) error

	// These two Params methods are required for controlling SendEnabled flags.
	GetParams(ctx sdk.Context) types.Params
	SetParams(ctx sdk.Context, params types.Params)

	SendEnabledCoin(ctx sdk.Context, coin sdk.Coin) bool
	SendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error

	BlockedAddr(addr sdk.AccAddress) bool

	// Keeper ---------
	GetSupply(ctx sdk.Context) exported.SupplyI
	SetSupply(ctx sdk.Context, supply exported.SupplyI)

	GetDenomMetaData(ctx sdk.Context, denom string) types.Metadata
	SetDenomMetaData(ctx sdk.Context, denomMetaData types.Metadata)
	IterateAllDenomMetaData(ctx sdk.Context, cb func(types.Metadata) bool)

	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
}

BankKeeper defines the expected bank keeper (keeper, sendkeeper, viewkeeper) (noalias)

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 string, marker sdk.AccAddress, 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 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"`
}

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.Marshaler, appState map[string]json.RawMessage) GenesisState

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

func NewGenesisState

func NewGenesisState(params Params, markers []MarkerAccount) *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 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 */
}

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,
) *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) 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) 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) 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) 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) 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(pubKey cryptotypes.PubKey) error

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

func (*MarkerAccount) SetSequence

func (ma *MarkerAccount) SetSequence(seq 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) 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

	AddressHasAccess(sdk.AccAddress, Access) bool
	AddressListForPermission(Access) []sdk.AccAddress
}

MarkerAccountI defines the required method interface for a marker account

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) 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 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 NewActivateRequest

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

NewActivateRequest

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) GetSignBytes

func (msg MsgActivateRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgActivateRequest) Route() string

Route returns the name of the module.

func (*MsgActivateRequest) Size

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

func (*MsgActivateRequest) String

func (m *MsgActivateRequest) String() string

func (MsgActivateRequest) Type

func (msg MsgActivateRequest) Type() string

Type returns the message action.

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 NewAddAccessRequest

func NewAddAccessRequest(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) GetSignBytes

func (msg MsgAddAccessRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgAddAccessRequest) Route() string

Route returns the name of the module.

func (*MsgAddAccessRequest) Size

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

func (*MsgAddAccessRequest) String

func (m *MsgAddAccessRequest) String() string

func (MsgAddAccessRequest) Type

func (msg MsgAddAccessRequest) Type() string

Type returns the message action.

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 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 */
}

MsgAddMarkerRequest defines the Msg/AddMarker request type

func NewAddMarkerRequest

func NewAddMarkerRequest(
	denom string, totalSupply sdk.Int, fromAddress sdk.AccAddress, manager sdk.AccAddress, markerType MarkerType,
) *MsgAddMarkerRequest

NewAddMarkerRequest 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) 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) GetSignBytes

func (msg MsgAddMarkerRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) 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) Route

func (msg MsgAddMarkerRequest) Route() string

Route returns the name of the module.

func (*MsgAddMarkerRequest) Size

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

func (*MsgAddMarkerRequest) String

func (m *MsgAddMarkerRequest) String() string

func (MsgAddMarkerRequest) Type

func (msg MsgAddMarkerRequest) Type() string

Type returns the message action.

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 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 NewBurnRequest

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

NewBurnRequest creates a burn supply message

func (*MsgBurnRequest) Descriptor

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

func (*MsgBurnRequest) GetAdministrator

func (m *MsgBurnRequest) GetAdministrator() string

func (MsgBurnRequest) GetSignBytes

func (msg MsgBurnRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgBurnRequest) Route() string

Route returns the name of the module.

func (*MsgBurnRequest) Size

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

func (*MsgBurnRequest) String

func (m *MsgBurnRequest) String() string

func (MsgBurnRequest) Type

func (msg MsgBurnRequest) Type() string

Type returns the message action.

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 NewCancelRequest

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

NewCancelRequest

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) GetSignBytes

func (msg MsgCancelRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgCancelRequest) Route() string

Route returns the name of the module.

func (*MsgCancelRequest) Size

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

func (*MsgCancelRequest) String

func (m *MsgCancelRequest) String() string

func (MsgCancelRequest) Type

func (msg MsgCancelRequest) Type() string

Type returns the message action.

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)
	// 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)
}

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) GetSignBytes

func (msg MsgDeleteAccessRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgDeleteAccessRequest) Route() string

Route returns the name of the module.

func (*MsgDeleteAccessRequest) Size

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

func (*MsgDeleteAccessRequest) String

func (m *MsgDeleteAccessRequest) String() string

func (MsgDeleteAccessRequest) Type

func (msg MsgDeleteAccessRequest) Type() string

Type returns the message action.

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 NewDeleteRequest

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

NewDeleteRequest

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) GetSignBytes

func (msg MsgDeleteRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgDeleteRequest) Route() string

Route returns the name of the module.

func (*MsgDeleteRequest) Size

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

func (*MsgDeleteRequest) String

func (m *MsgDeleteRequest) String() string

func (MsgDeleteRequest) Type

func (msg MsgDeleteRequest) Type() string

Type returns the message action.

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 NewFinalizeRequest

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

NewFinalizeRequest

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) GetSignBytes

func (msg MsgFinalizeRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgFinalizeRequest) Route() string

Route returns the name of the module.

func (*MsgFinalizeRequest) Size

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

func (*MsgFinalizeRequest) String

func (m *MsgFinalizeRequest) String() string

func (MsgFinalizeRequest) Type

func (msg MsgFinalizeRequest) Type() string

Type returns the message action.

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 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 NewMintRequest

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

NewMintRequest creates a mint supply message

func (*MsgMintRequest) Descriptor

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

func (*MsgMintRequest) GetAdministrator

func (m *MsgMintRequest) GetAdministrator() string

func (MsgMintRequest) GetSignBytes

func (msg MsgMintRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgMintRequest) Route() string

Route returns the name of the module.

func (*MsgMintRequest) Size

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

func (*MsgMintRequest) String

func (m *MsgMintRequest) String() string

func (MsgMintRequest) Type

func (msg MsgMintRequest) Type() string

Type returns the message action.

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)
	// Allows Denom Metadata (see bank module) to be set for the Marker's Denom
	SetDenomMetadata(context.Context, *MsgSetDenomMetadataRequest) (*MsgSetDenomMetadataResponse, error)
}

MsgServer is the server API for Msg service.

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) GetSignBytes

func (msg MsgSetDenomMetadataRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgSetDenomMetadataRequest) Route() string

Route returns the name of the module.

func (*MsgSetDenomMetadataRequest) Size

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

func (*MsgSetDenomMetadataRequest) String

func (m *MsgSetDenomMetadataRequest) String() string

func (MsgSetDenomMetadataRequest) Type

Type returns the message action.

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 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 NewTransferRequest

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

NewTransferRequest

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) GetSignBytes

func (msg MsgTransferRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgTransferRequest) Route() string

Route returns the name of the module.

func (*MsgTransferRequest) Size

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

func (*MsgTransferRequest) String

func (m *MsgTransferRequest) String() string

func (MsgTransferRequest) Type

func (msg MsgTransferRequest) Type() string

Type returns the message action.

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 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 NewWithdrawRequest

func NewWithdrawRequest(
	admin sdk.AccAddress, toAddress sdk.AccAddress, denom string, amount sdk.Coins,
) *MsgWithdrawRequest

NewWithdrawRequest

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) GetSignBytes

func (msg MsgWithdrawRequest) GetSignBytes() []byte

GetSignBytes encodes the message for signing.

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) Route

func (msg MsgWithdrawRequest) Route() string

Route returns the name of the module.

func (*MsgWithdrawRequest) Size

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

func (*MsgWithdrawRequest) String

func (m *MsgWithdrawRequest) String() string

func (MsgWithdrawRequest) Type

func (msg MsgWithdrawRequest) Type() string

Type returns the message action.

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 Params

type Params struct {
	// 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"`
	// 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"`
}

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,
) 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

func (*Params) GetEnableGovernance

func (m *Params) GetEnableGovernance() bool

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 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)
}

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 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)
}

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 string, denom string, administrator sdk.AccAddress,
) *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 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 string, marker sdk.AccAddress, 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 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"`
	TargetAdddress string                                  `protobuf:"bytes,4,opt,name=target_adddress,json=targetAdddress,proto3" json:"target_adddress,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) GetTargetAdddress

func (m *SupplyIncreaseProposal) GetTargetAdddress() 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) AddMarker

func (*UnimplementedMsgServer) Burn

func (*UnimplementedMsgServer) Cancel

func (*UnimplementedMsgServer) Delete

func (*UnimplementedMsgServer) DeleteAccess

func (*UnimplementedMsgServer) Finalize

func (*UnimplementedMsgServer) Mint

func (*UnimplementedMsgServer) SetDenomMetadata

func (*UnimplementedMsgServer) Transfer

func (*UnimplementedMsgServer) Withdraw

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Access

func (*UnimplementedQueryServer) AllMarkers

func (*UnimplementedQueryServer) DenomMetadata

func (*UnimplementedQueryServer) Escrow

func (*UnimplementedQueryServer) Holding

func (*UnimplementedQueryServer) Marker

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Supply

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL