types

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: CC0-1.0 Imports: 53 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "pylons"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_pylons"
)
View Source
const (
	// CookbookKey is a string key used as a prefix to the KVStore
	CookbookKey = "Cookbook-value-"
	// AddrCookbookKey is a string key used as a prefix to the KVStore
	AddrCookbookKey = "Address-cookbook-"
	// RecipeKey is a string key used as a prefix to the KVStore
	RecipeKey = "Recipe-value-"
	// ItemKey is a string key used as a prefix to the KVStore
	ItemKey = "Item-value-"
	// ItemCountKey is a string key used as a prefix to the KVStore
	ItemCountKey = "Item-count-"
	// AddrItemKey is a string key used as a prefix to the KVStore
	AddrItemKey = "Address-item-"
	// ExecutionKey is a string key used as a prefix to the KVStore
	ExecutionKey = "Execution-value-"
	// ExecutionCountKey is a string key used as a prefix to the KVStore
	ExecutionCountKey = "Execution-count-"
	// RecipeExecutionKey is a string key used as a prefix to the KVStore
	RecipeExecutionKey = "Recipe-execution-"
	// ItemExecutionKey is a string key used as a prefix to the KVStore
	ItemExecutionKey = "Item-execution-"
	// PendingExecutionKey is a string key used as a prefix to the KVStore
	PendingExecutionKey = "PendingExecution-value-"
	// PendingExecutionCountKey is a string key used as a prefix to the KVStore
	PendingExecutionCountKey = "PendingExecution-count-"
	// GoogleInAppPurchaseOrderKey is a string key used as a prefix to the KVStore
	GoogleInAppPurchaseOrderKey = "GoogleInAppPurchaseOrder-value-"
	// GoogleInAppPurchaseOrderCountKey is a string key used as a prefix to the KVStore
	GoogleInAppPurchaseOrderCountKey = "GoogleInAppPurchaseOrder-count-"
	// GlobalEntityCountKey is a string used as prefix to the KVStore
	GlobalEntityCountKey = "GlobalEntity-count-"
	// TradeKey is a string used as prefix to the KVStore
	TradeKey = "Trade-value-"
	// AddrTradeKey is a string key used as a prefix to the KVStore
	AddrTradeKey = "Address-trade-"
	// TradeCountKey is a string used as prefix to the KVStore
	TradeCountKey = "Trade-count-"
	// UsernameKey is a string used as prefix to the KVStore
	UsernameKey = "Username-value-"
	// AccountKey is a string used as prefix to the KVStore
	AccountKey = "PylonsAccount-value-"
)
View Source
const (
	// FeeCollectorName is the root name of the fee collector module account
	FeeCollectorName = "pylons_fee_collector"
	// TradesLockerName is the root name of the trades coins and items locker module account
	TradesLockerName = "pylons_trades_locker"
	// ExecutionsLockerName is the root name of executions coins and items locker module account
	ExecutionsLockerName = "pylons_executions_locker"
	// CoinsIssuerName is the root name of the coins minter module account
	CoinsIssuerName = "pylons_coins_issuer"
	// PaymentsProcessorName is the root name of the payments' processor module account
	PaymentsProcessorName = "pylons_payments_processor"
)
View Source
const (
	// DefaultMinFieldLength is the default minimum character length of a request's field
	DefaultMinFieldLength int = 3
	// DefaultMaxFieldLength is the default maximum character length of a request's field
	DefaultMaxFieldLength int = 65535
)

Default parameter namespace

View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	PaymentInfoKey = "PaymentInfo-value-"
)
View Source
const (
	RedeemInfoKey = "RedeemInfo-value-"
)

Variables

View Source
var (
	ErrInvalidLengthAccounts        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccounts          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccounts = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthCookbook        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCookbook          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCookbook = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidRequestField     = sdkerrors.Register(ModuleName, 1100, "invalid field provided in request")
	ErrItemMatch               = sdkerrors.Register(ModuleName, 1101, "item mismatch")
	ErrItemQuantityExceeded    = sdkerrors.Register(ModuleName, 1102, "item exceeded maximum quantity")
	ErrInvalidPendingExecution = sdkerrors.Register(ModuleName, 1103, "completing execution would create an inconsistent state")
	ErrDuplicateUsername       = sdkerrors.Register(ModuleName, 1104, "username already taken by another account")
	ErrItemLocked              = sdkerrors.Register(ModuleName, 1105, "item locked")
)

x/pylons module sentinel errors

View Source
var (
	ErrInvalidLengthEvent        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEvent          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEvent = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthExecution        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowExecution          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupExecution = fmt.Errorf("proto: unexpected end of group")
)
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 (
	ErrInvalidLengthGoogleIapOrder        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGoogleIapOrder          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGoogleIapOrder = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthItem        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowItem          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupItem = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	DefaultCoinIssuers = []CoinIssuer{
		{
			CoinDenom: PylonsCoinDenom,
			Packages: []GoogleInAppPurchasePackage{
				{PackageName: "com.pylons.loud", ProductID: "pylons_1000", Amount: sdk.NewInt(1000)},
				{PackageName: "com.pylons.loud", ProductID: "pylons_55000", Amount: sdk.NewInt(55000)},
			},
			GoogleInAppPurchasePubKey: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwZsjhk6eN5Pve9pP3uqz2MwBFixvmCRtQJoDQLTEJo3zTd9VMZcXoerQX8cnDPclZWmMZWkO+BWcN1ikYdGHvU2gC7yBLi+TEkhsEkixMlbqOGRdmNptJJhqxuVmXK+drWTb6W0IgQ9g8CuCjZUiMTc0UjHb5mPOE/IhcuTZ0wCHdoqc5FS2spdQqrohvSEP7gR4ZgGzYNI1U+YZHskIEm2qC4ZtSaX9J/fDkAmmJFV2hzeDMcljCxY9+ZM1mdzIpZKwM7O6UdWRpwD1QJ7yXND8AQ9M46p16F0VQuZbbMKCs90NIcKkx6jDDGbVmJrFnUT1Oq1uYxNYtiZjTp+JowIDAQAB",
			EntityName:                "Pylons_Inc",
		},
	}

	DefaultProcessorPercentage  = sdk.ZeroDec()
	DefaultValidatorsPercentage = sdk.MustNewDecFromStr("0.003")
	DefaultPylonsIncPubKey      = "EVK1dqjD6K8hGylacMpWAa/ru/OnWUDtCZ+lPkv2TTA=" // this is a testing key, do not use in production!
	DefaultPaymentProcessors    = []PaymentProcessor{
		{
			CoinDenom:            StripeCoinDenom,
			PubKey:               DefaultPylonsIncPubKey,
			ProcessorPercentage:  DefaultProcessorPercentage,
			ValidatorsPercentage: DefaultValidatorsPercentage,
			Name:                 "Pylons_Inc",
		},
	}
	DefaultPaymentProcessorsTokensBankParams = []types.SendEnabled{
		{Denom: StripeCoinDenom, Enabled: false},
	}

	DefaultRecipeFeePercentage, _       = sdk.NewDecFromStr("0.10")
	DefaultItemTransferFeePercentage, _ = sdk.NewDecFromStr("0.10")
	DefaultUpdateItemStringFee          = sdk.NewCoin(PylonsCoinDenom, sdk.NewInt(10))
	DefaultUpdateUsernameFee            = sdk.NewCoin(PylonsCoinDenom, sdk.NewInt(10))
	DefaultMinTransferFee               = sdk.OneInt()
	DefaultMaxTransferFee               = sdk.NewInt(10000)
	DefaultDistrEpochIdentifier         = "day"
	DefaultEngineVersion                = uint64(0)
)
View Source
var (
	ParamStoreKeyCoinIssuers               = []byte("CoinIssuers")
	ParamStoreKeyPaymentProcessors         = []byte("PaymentProcessors")
	ParamStoreKeyRecipeFeePercentage       = []byte("RecipeFeePercentage")
	ParamStoreKeyItemTransferFeePercentage = []byte("ItemTransferFeePercentage")
	ParamStoreKeyUpdateItemStringFee       = []byte("UpdateItemStringFee")
	ParamStoreKeyMinTransferFee            = []byte("MinTransferFee")
	ParamStoreKeyMaxTransferFee            = []byte("MaxTransferFee")
	ParamStoreKeyUpdateUsernameFee         = []byte("UpdateUsernameFee")
	ParamStoreKeyDistrEpochIdentifier      = []byte("DistrEpochIdentifier")
	ParamStoreKeyEngineVersion             = []byte("EngineVersion")
)

Parameter Store Keys

View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthPaymentInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowPaymentInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupPaymentInfo = 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 (
	ErrInvalidLengthRecipe        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRecipe          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRecipe = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRedeemInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRedeemInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRedeemInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTrade        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTrade          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTrade = 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 BlockSinceDecls = decls.NewFunction("block_since",
	decls.NewOverload("block_since",
		[]*exprpb.Type{decls.Int},
		decls.Int),
)

BlockSinceDecls is a global function

View Source
var ExecutedByCountDecls = decls.NewFunction("executed_by_count",
	decls.NewOverload("executed_by_count",
		[]*exprpb.Type{decls.String, decls.String, decls.String},
		decls.Int),
)

ExecutedByCountDecls is a global function

View Source
var Log2DoubleFunc = &functions.Overload{

	Operator: "log2_double",
	Unary: func(arg ref.Val) ref.Val {
		return types.Double(math.Log2(arg.Value().(float64)))
	},
}

Log2DoubleFunc is a global function for 1 param

View Source
var Log2FuncDecls = decls.NewFunction("log2",
	decls.NewOverload("log2_double",
		[]*exprpb.Type{decls.Double},
		decls.Double),
	decls.NewOverload("log2_int",
		[]*exprpb.Type{decls.Int},
		decls.Double),
)

Log2FuncDecls is a global function for 1 param

View Source
var Log2IntFunc = &functions.Overload{

	Operator: "log2_int",
	Unary: func(arg ref.Val) ref.Val {
		return types.Double(math.Log2(float64(arg.Value().(int64))))
	},
}

Log2IntFunc is a global function for 1 param

View Source
var MaxDoubleDoubleFunc = &functions.Overload{

	Operator: "max_double_double",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := lhs.Value().(float64)
		rgtInt64 := rhs.Value().(float64)
		if lftInt64 < rgtInt64 {
			return types.Double(rgtInt64)
		}
		return types.Double(lftInt64)
	},
}

MaxDoubleDoubleFunc is a global function for 2 params

View Source
var MaxDoubleIntFunc = &functions.Overload{

	Operator: "max_double_int",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := lhs.Value().(float64)
		rgtInt64 := float64(rhs.Value().(int64))
		if lftInt64 < rgtInt64 {
			return types.Double(rgtInt64)
		}
		return types.Double(lftInt64)
	},
}

MaxDoubleIntFunc is a global function for 2 params

View Source
var MaxFuncDecls = decls.NewFunction("max",
	decls.NewOverload("max_int_int",
		[]*exprpb.Type{decls.Int, decls.Int},
		decls.Int),
	decls.NewOverload("max_double_double",
		[]*exprpb.Type{decls.Double, decls.Double},
		decls.Double),
	decls.NewOverload("max_int_double",
		[]*exprpb.Type{decls.Int, decls.Double},
		decls.Double),
	decls.NewOverload("max_double_int",
		[]*exprpb.Type{decls.Double, decls.Int},
		decls.Double),
)

MaxFuncDecls is a global function for 2 params

View Source
var MaxIntDoubleFunc = &functions.Overload{

	Operator: "max_int_double",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := float64(lhs.Value().(int64))
		rgtInt64 := rhs.Value().(float64)
		if lftInt64 < rgtInt64 {
			return types.Double(rgtInt64)
		}
		return types.Double(lftInt64)
	},
}

MaxIntDoubleFunc is a global function for 2 params

View Source
var MaxIntIntFunc = &functions.Overload{

	Operator: "max_int_int",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := lhs.Value().(int64)
		rgtInt64 := rhs.Value().(int64)
		if lftInt64 < rgtInt64 {
			return types.Int(rgtInt64)
		}
		return types.Int(lftInt64)
	},
}

MaxIntIntFunc is a global function for 2 params

View Source
var MinDoubleDoubleFunc = &functions.Overload{

	Operator: "min_double_double",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := lhs.Value().(float64)
		rgtInt64 := rhs.Value().(float64)
		if lftInt64 > rgtInt64 {
			return types.Double(rgtInt64)
		}
		return types.Double(lftInt64)
	},
}

MinDoubleDoubleFunc is a global function for 2 params

View Source
var MinDoubleIntFunc = &functions.Overload{

	Operator: "min_double_int",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := lhs.Value().(float64)
		rgtInt64 := float64(rhs.Value().(int64))
		if lftInt64 > rgtInt64 {
			return types.Double(rgtInt64)
		}
		return types.Double(lftInt64)
	},
}

MinDoubleIntFunc is a global function for 2 params

View Source
var MinFuncDecls = decls.NewFunction("min",
	decls.NewOverload("min_int_int",
		[]*exprpb.Type{decls.Int, decls.Int},
		decls.Int),
	decls.NewOverload("min_double_double",
		[]*exprpb.Type{decls.Double, decls.Double},
		decls.Double),
	decls.NewOverload("min_int_double",
		[]*exprpb.Type{decls.Int, decls.Double},
		decls.Double),
	decls.NewOverload("min_double_int",
		[]*exprpb.Type{decls.Double, decls.Int},
		decls.Double),
)

MinFuncDecls is a global function for 2 params

View Source
var MinIntDoubleFunc = &functions.Overload{

	Operator: "min_int_double",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := float64(lhs.Value().(int64))
		rgtInt64 := rhs.Value().(float64)
		if lftInt64 > rgtInt64 {
			return types.Double(rgtInt64)
		}
		return types.Double(lftInt64)
	},
}

MinIntDoubleFunc is a global function for 2 params

View Source
var MinIntIntFunc = &functions.Overload{

	Operator: "min_int_int",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		lftInt64 := lhs.Value().(int64)
		rgtInt64 := rhs.Value().(int64)
		if lftInt64 > rgtInt64 {
			return types.Int(rgtInt64)
		}
		return types.Int(lftInt64)
	},
}

MinIntIntFunc is a global function for 2 params

View Source
var MultiplyFunc = &functions.Overload{

	Operator: "multiply_int_int",
	Binary: func(lhs ref.Val, rhs ref.Val) ref.Val {
		return types.Int(lhs.Value().(int64) * rhs.Value().(int64))
	},
}

MultiplyFunc is a global function

View Source
var MultiplyFuncDecls = decls.NewFunction("multiply",
	decls.NewOverload("multiply_int_int",
		[]*exprpb.Type{decls.Int, decls.Int},
		decls.Int),
)

MultiplyFuncDecls is a global function

View Source
var Rand10Func = &functions.Overload{

	Operator: "rand10",
	Function: func(args ...ref.Val) ref.Val {
		return types.Int(rand.Intn(10))
	},
}

Rand10Func is a global function

View Source
var Rand10FuncDecls = decls.NewFunction("rand10",
	decls.NewOverload("rand10",
		[]*exprpb.Type{},
		decls.Int),
)

Rand10FuncDecls is a global function

View Source
var RandFunc = &functions.Overload{

	Operator: "rand",
	Function: func(args ...ref.Val) ref.Val {
		return types.Double(rand.Float64())
	},
}

RandFunc is an overload function

View Source
var RandFuncDecls = decls.NewFunction("rand",
	decls.NewOverload("rand_int",
		[]*exprpb.Type{decls.Int},
		decls.Int),
	decls.NewOverload("rand",
		[]*exprpb.Type{},
		decls.Double),
)

RandFuncDecls is a global function for 1 param

View Source
var RandIntFunc = &functions.Overload{

	Operator: "rand_int",
	Unary: func(arg ref.Val) ref.Val {
		return types.Int(rand.Intn(int(arg.Value().(int64))))
	},
}

RandIntFunc is an overload function

Functions

func AddVariableFromItem

func AddVariableFromItem(varDefs []*exprpb.Decl, variables map[string]interface{}, prefix string, item Item) ([]*exprpb.Decl, map[string]interface{})

AddVariableFromItem collect variables from item inputs

func BasicOverloads

func BasicOverloads() []*functions.Overload

BasicOverloads collect basic functions

func BasicVarDefs

func BasicVarDefs() []*exprpb.Decl

BasicVarDefs collect basic variable definitions

func BasicVariables

func BasicVariables(blockHeight int64, recipeID, tradeID string) map[string]interface{}

BasicVariables initialize default variables

func CookbookModified

func CookbookModified(original, updated Cookbook) (bool, error)

CookbookModified checks if any field of cookbookA except creator (transfer of ownership is always allowed) is changed with respect to cookbookB. Valid edits require a higher version

func DecodeItemID

func DecodeItemID(id string) uint64

DecodeItemID decodes base64 string representation of an ItemID to the internal uint64 representation

func EncodeItemID

func EncodeItemID(id uint64) string

EncodeItemID encodes the internal uint64 representation of an ItemID to a base64 string

func EntriesListEqual

func EntriesListEqual(original, updated EntriesList) (bool, error)

func EntryListsByIDs

func EntryListsByIDs(idList []string, recipe Recipe) ([]CoinOutput, map[int]ItemOutput, []ItemModifyOutput, error)

EntryListsByIDs is a function to find an entry by ID

func FindValidPaymentsPermutation

func FindValidPaymentsPermutation(items []Item, balance sdk.Coins) ([]int, error)

FindValidPaymentsPermutation searches through the transferFees of a slice []Item to find the first valid selection of transferFees that can be covered by the input balance of sdk.Coins. An item.transferFee is an ordered (by priority) []sdk.Coin that provides a set of choices to select from that are accepted as valid transferFee for the item. Returns a []int where each element at any given position represents the index used to select the relative transferFee for the item at the same position in the input []Item. When exploring the solution space the algorithm prioritizes the permutation where the max(permutation) is minimized. For example, for a set of 3 items the permutation [1,0,2] is preferred to [3,0,0] if both are valid.

func GenTestBech32FromString

func GenTestBech32FromString(s string) string

GenTestBech32FromString creates a bech32-encoded string padding or trimming the input string to be exactly 20 bytes. Note, addresses generated with this function should only be used for testing.

func GenTestBech32List

func GenTestBech32List(numAccount int) []string

GenTestBech32List creates a list of bech32-encoded strings that can be used as bech32-encoded AccAddress for testing. Note, addresses generated with this function should only be used for testing.

func ItemInputsEqual

func ItemInputsEqual(original, updated []ItemInput) bool

func KeyPrefix

func KeyPrefix(p string) []byte

func OutputsEqual

func OutputsEqual(original, updated []WeightedOutputs) bool

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter by key

func RecipeModified

func RecipeModified(original, updated Recipe) (bool, error)

RecipeModified checks if any field of recipe except creator (transfer of ownership is always allowed) is changed with respect to cookbookB. Valid edits require a higher version

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

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 ValidateCoinOutput

func ValidateCoinOutput(co CoinOutput, idMap map[string]bool) error

func ValidateDoubles

func ValidateDoubles(dp []DoubleParam) error

func ValidateEmail

func ValidateEmail(email string) error

ValidateEmail validates the email string provided

func ValidateEntriesList

func ValidateEntriesList(el EntriesList, idMap map[string]bool) error

func ValidateFieldLength

func ValidateFieldLength(field string, minLength, maxLength int) error

ValidateFieldLength checks if a string field is within minLength and maxLength

func ValidateGoogleIAPSignature

func ValidateGoogleIAPSignature(msg *MsgGoogleInAppPurchaseGetCoins, coinIssuer CoinIssuer) error

ValidateGoogleIAPSignature is function for testing signature on local

func ValidateID

func ValidateID(s string) error

ValidateID validates IDs A valid ID follows the same rules as variable names in a programming language

func ValidateInputDoubles

func ValidateInputDoubles(dip []DoubleInputParam) error

func ValidateInputLongs

func ValidateInputLongs(lip []LongInputParam) error

func ValidateInputStrings

func ValidateInputStrings(sip []StringInputParam) error

func ValidateItemID

func ValidateItemID(s string) error

ValidateItemID validates an ItemID

func ValidateItemInput

func ValidateItemInput(i ItemInput) error

func ValidateItemModifyOutputs

func ValidateItemModifyOutputs(imo []ItemModifyOutput, idMap map[string]bool) error

func ValidateItemOutputs

func ValidateItemOutputs(io []ItemOutput, idMap map[string]bool) error

func ValidateLongs

func ValidateLongs(lp []LongParam) error

func ValidateMutableStrings

func ValidateMutableStrings(skv []StringKeyValue) error

func ValidateOutputs

func ValidateOutputs(wo WeightedOutputs, idMap map[string]bool) error

func ValidatePaymentInfo

func ValidatePaymentInfo(p PaymentInfo) error

ValidatePaymentInfo validates a payment receipt

func ValidateRedeemInfo

func ValidateRedeemInfo(r RedeemInfo) error

ValidateRedeemInfo validates a redeem receipt

func ValidateStrings

func ValidateStrings(sp []StringParam) error

func ValidateUsername

func ValidateUsername(s string) error

ValidateUsername validates Usernames A valid username follows:

Usernames can consist of lowercase and capitals
Usernames can consist of alphanumeric characters
Usernames can consist of underscore and hyphens and spaces
Cannot be two underscores, two hypens or two spaces in a row
Cannot have a underscore, hypen or space at the start or end
Cannot be a valid cosmos SDK address

func ValidateVersion

func ValidateVersion(s string) error

ValidateVersion validates the SemVer

Types

type AccountAddr

type AccountAddr struct {
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*AccountAddr) Descriptor

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

func (*AccountAddr) GetValue

func (m *AccountAddr) GetValue() string

func (*AccountAddr) Marshal

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

func (*AccountAddr) MarshalTo

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

func (*AccountAddr) MarshalToSizedBuffer

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

func (*AccountAddr) ProtoMessage

func (*AccountAddr) ProtoMessage()

func (*AccountAddr) Reset

func (m *AccountAddr) Reset()

func (*AccountAddr) Size

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

func (*AccountAddr) String

func (m *AccountAddr) String() string

func (*AccountAddr) Unmarshal

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

func (*AccountAddr) XXX_DiscardUnknown

func (m *AccountAddr) XXX_DiscardUnknown()

func (*AccountAddr) XXX_Marshal

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

func (*AccountAddr) XXX_Merge

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

func (*AccountAddr) XXX_Size

func (m *AccountAddr) XXX_Size() int

func (*AccountAddr) XXX_Unmarshal

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

type AccountKeeper

type AccountKeeper interface {
	GetParams(ctx sdk.Context) (params authtypes.Params)
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	SetAccount(ctx sdk.Context, acc authtypes.AccountI)
	GetModuleAddress(moduleName string) sdk.AccAddress
	NewAccountWithAddress(ctx sdk.Context, addr sdk.AccAddress) authtypes.AccountI
	GetNextAccountNumber(ctx sdk.Context) uint64
}

AccountKeeper defines the contract needed for AccountKeeper related APIs. Interface provides support to use non-sdk AccountKeeper for AnteHandler's decorators.

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins

	MintCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error
	BurnCoins(ctx sdk.Context, moduleName string, amt sdk.Coins) error

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

	IsSendEnabledCoin(ctx sdk.Context, coin sdk.Coin) bool
	IsSendEnabledCoins(ctx sdk.Context, coins ...sdk.Coin) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type CelEnvCollection

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

CelEnvCollection struct manage cel program work flow

func NewCelEnvCollection

func NewCelEnvCollection(env *cel.Env, variables map[string]interface{}, funcs cel.ProgramOption) CelEnvCollection

NewCelEnvCollection generate a new CelEnvCollection

func (*CelEnvCollection) Eval

func (ec *CelEnvCollection) Eval(program string) (ref.Val, error)

Eval calculate a value

func (*CelEnvCollection) EvalFloat64

func (ec *CelEnvCollection) EvalFloat64(program string) (float64, error)

EvalFloat64 calculate a value and convert to float64

func (*CelEnvCollection) EvalInt

func (ec *CelEnvCollection) EvalInt(program string) (int, error)

EvalInt calculate a value and convert to int

func (*CelEnvCollection) EvalInt64

func (ec *CelEnvCollection) EvalInt64(program string) (int64, error)

EvalInt64 calculate a value and convert to int64

func (*CelEnvCollection) EvalString

func (ec *CelEnvCollection) EvalString(program string) (string, error)

EvalString calculate a value and convert to string

func (*CelEnvCollection) GetEnv

func (ec *CelEnvCollection) GetEnv() *cel.Env

func (*CelEnvCollection) GetFuncs

func (ec *CelEnvCollection) GetFuncs() cel.ProgramOption

func (*CelEnvCollection) GetVariables

func (ec *CelEnvCollection) GetVariables() map[string]interface{}

type CoinInput

type CoinInput struct {
	Coins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=coins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coins"`
}

func (*CoinInput) Descriptor

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

func (*CoinInput) GetCoins

func (*CoinInput) Marshal

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

func (*CoinInput) MarshalTo

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

func (*CoinInput) MarshalToSizedBuffer

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

func (*CoinInput) ProtoMessage

func (*CoinInput) ProtoMessage()

func (*CoinInput) Reset

func (m *CoinInput) Reset()

func (*CoinInput) Size

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

func (*CoinInput) String

func (m *CoinInput) String() string

func (*CoinInput) Unmarshal

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

func (*CoinInput) XXX_DiscardUnknown

func (m *CoinInput) XXX_DiscardUnknown()

func (*CoinInput) XXX_Marshal

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

func (*CoinInput) XXX_Merge

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

func (*CoinInput) XXX_Size

func (m *CoinInput) XXX_Size() int

func (*CoinInput) XXX_Unmarshal

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

type CoinIssuer

type CoinIssuer struct {
	CoinDenom                 string                       `protobuf:"bytes,1,opt,name=coinDenom,proto3" json:"coinDenom,omitempty" yaml:"coin_denom"`
	Packages                  []GoogleInAppPurchasePackage `protobuf:"bytes,2,rep,name=packages,proto3" json:"packages" yaml:"google_iap_packages"`
	GoogleInAppPurchasePubKey string                       `` /* 128-byte string literal not displayed */
	EntityName                string                       `protobuf:"bytes,4,opt,name=entityName,proto3" json:"entityName,omitempty"`
}

CoinIssuer represents an entity or external blockchain

func (*CoinIssuer) Descriptor

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

func (*CoinIssuer) Equal

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

func (*CoinIssuer) GetCoinDenom

func (m *CoinIssuer) GetCoinDenom() string

func (*CoinIssuer) GetEntityName

func (m *CoinIssuer) GetEntityName() string

func (*CoinIssuer) GetGoogleInAppPurchasePubKey

func (m *CoinIssuer) GetGoogleInAppPurchasePubKey() string

func (*CoinIssuer) GetPackages

func (m *CoinIssuer) GetPackages() []GoogleInAppPurchasePackage

func (*CoinIssuer) Marshal

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

func (*CoinIssuer) MarshalTo

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

func (*CoinIssuer) MarshalToSizedBuffer

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

func (*CoinIssuer) ProtoMessage

func (*CoinIssuer) ProtoMessage()

func (*CoinIssuer) Reset

func (m *CoinIssuer) Reset()

func (*CoinIssuer) Size

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

func (*CoinIssuer) String

func (m *CoinIssuer) String() string

func (*CoinIssuer) Unmarshal

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

func (*CoinIssuer) XXX_DiscardUnknown

func (m *CoinIssuer) XXX_DiscardUnknown()

func (*CoinIssuer) XXX_Marshal

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

func (*CoinIssuer) XXX_Merge

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

func (*CoinIssuer) XXX_Size

func (m *CoinIssuer) XXX_Size() int

func (*CoinIssuer) XXX_Unmarshal

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

type CoinOutput

type CoinOutput struct {
	ID      string     `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Coin    types.Coin `protobuf:"bytes,2,opt,name=coin,proto3" json:"coin"`
	Program string     `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"`
}

CoinOutput models the continuum of valid outcomes for coin generation in recipes

func (*CoinOutput) Descriptor

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

func (*CoinOutput) GetCoin

func (m *CoinOutput) GetCoin() types.Coin

func (*CoinOutput) GetID

func (m *CoinOutput) GetID() string

func (*CoinOutput) GetProgram

func (m *CoinOutput) GetProgram() string

func (*CoinOutput) Marshal

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

func (*CoinOutput) MarshalTo

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

func (*CoinOutput) MarshalToSizedBuffer

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

func (*CoinOutput) ProtoMessage

func (*CoinOutput) ProtoMessage()

func (*CoinOutput) Reset

func (m *CoinOutput) Reset()

func (*CoinOutput) Size

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

func (*CoinOutput) String

func (m *CoinOutput) String() string

func (*CoinOutput) Unmarshal

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

func (*CoinOutput) XXX_DiscardUnknown

func (m *CoinOutput) XXX_DiscardUnknown()

func (*CoinOutput) XXX_Marshal

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

func (*CoinOutput) XXX_Merge

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

func (*CoinOutput) XXX_Size

func (m *CoinOutput) XXX_Size() int

func (*CoinOutput) XXX_Unmarshal

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

type Cookbook

type Cookbook struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID           string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	NodeVersion  uint64 `protobuf:"varint,3,opt,name=nodeVersion,proto3" json:"nodeVersion,omitempty"`
	Name         string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description  string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Developer    string `protobuf:"bytes,6,opt,name=developer,proto3" json:"developer,omitempty"`
	Version      string `protobuf:"bytes,7,opt,name=version,proto3" json:"version,omitempty"`
	SupportEmail string `protobuf:"bytes,8,opt,name=supportEmail,proto3" json:"supportEmail,omitempty"`
	Enabled      bool   `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

func (*Cookbook) Descriptor

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

func (*Cookbook) GetCreator

func (m *Cookbook) GetCreator() string

func (*Cookbook) GetDescription

func (m *Cookbook) GetDescription() string

func (*Cookbook) GetDeveloper

func (m *Cookbook) GetDeveloper() string

func (*Cookbook) GetEnabled

func (m *Cookbook) GetEnabled() bool

func (*Cookbook) GetID

func (m *Cookbook) GetID() string

func (*Cookbook) GetName

func (m *Cookbook) GetName() string

func (*Cookbook) GetNodeVersion

func (m *Cookbook) GetNodeVersion() uint64

func (*Cookbook) GetSupportEmail

func (m *Cookbook) GetSupportEmail() string

func (*Cookbook) GetVersion

func (m *Cookbook) GetVersion() string

func (*Cookbook) Marshal

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

func (*Cookbook) MarshalTo

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

func (*Cookbook) MarshalToSizedBuffer

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

func (*Cookbook) ProtoMessage

func (*Cookbook) ProtoMessage()

func (*Cookbook) Reset

func (m *Cookbook) Reset()

func (*Cookbook) Size

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

func (*Cookbook) String

func (m *Cookbook) String() string

func (*Cookbook) Unmarshal

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

func (*Cookbook) XXX_DiscardUnknown

func (m *Cookbook) XXX_DiscardUnknown()

func (*Cookbook) XXX_Marshal

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

func (*Cookbook) XXX_Merge

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

func (*Cookbook) XXX_Size

func (m *Cookbook) XXX_Size() int

func (*Cookbook) XXX_Unmarshal

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

type CreatePaymentAccount

type CreatePaymentAccount struct {
	Address   string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Token     string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*CreatePaymentAccount) Descriptor

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

func (*CreatePaymentAccount) GetAddress

func (m *CreatePaymentAccount) GetAddress() string

func (*CreatePaymentAccount) GetSignature

func (m *CreatePaymentAccount) GetSignature() string

func (*CreatePaymentAccount) GetToken

func (m *CreatePaymentAccount) GetToken() string

func (*CreatePaymentAccount) Marshal

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

func (*CreatePaymentAccount) MarshalTo

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

func (*CreatePaymentAccount) MarshalToSizedBuffer

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

func (*CreatePaymentAccount) ProtoMessage

func (*CreatePaymentAccount) ProtoMessage()

func (*CreatePaymentAccount) Reset

func (m *CreatePaymentAccount) Reset()

func (*CreatePaymentAccount) Size

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

func (*CreatePaymentAccount) String

func (m *CreatePaymentAccount) String() string

func (*CreatePaymentAccount) Unmarshal

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

func (*CreatePaymentAccount) XXX_DiscardUnknown

func (m *CreatePaymentAccount) XXX_DiscardUnknown()

func (*CreatePaymentAccount) XXX_Marshal

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

func (*CreatePaymentAccount) XXX_Merge

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

func (*CreatePaymentAccount) XXX_Size

func (m *CreatePaymentAccount) XXX_Size() int

func (*CreatePaymentAccount) XXX_Unmarshal

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

type DoubleInputParam

type DoubleInputParam struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The minimum legal value of this parameter.
	MinValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=minValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minValue"`
	// The maximum legal value of this parameter.
	MaxValue github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=maxValue,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maxValue"`
}

DoubleInputParam describes the bounds on an item input/output parameter of type float64

func (*DoubleInputParam) Descriptor

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

func (*DoubleInputParam) GetKey

func (m *DoubleInputParam) GetKey() string

func (DoubleInputParam) Has

func (dp DoubleInputParam) Has(input sdk.Dec) bool

Has check if an input is between double input param range

func (*DoubleInputParam) Marshal

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

func (*DoubleInputParam) MarshalTo

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

func (*DoubleInputParam) MarshalToSizedBuffer

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

func (*DoubleInputParam) ProtoMessage

func (*DoubleInputParam) ProtoMessage()

func (*DoubleInputParam) Reset

func (m *DoubleInputParam) Reset()

func (*DoubleInputParam) Size

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

func (*DoubleInputParam) String

func (m *DoubleInputParam) String() string

func (*DoubleInputParam) Unmarshal

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

func (*DoubleInputParam) XXX_DiscardUnknown

func (m *DoubleInputParam) XXX_DiscardUnknown()

func (*DoubleInputParam) XXX_Marshal

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

func (*DoubleInputParam) XXX_Merge

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

func (*DoubleInputParam) XXX_Size

func (m *DoubleInputParam) XXX_Size() int

func (*DoubleInputParam) XXX_Unmarshal

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

type DoubleInputParamList

type DoubleInputParamList []DoubleInputParam

func (DoubleInputParamList) Actualize

func (dpm DoubleInputParamList) Actualize() []DoubleKeyValue

Actualize creates a (key, value) list from ParamList

type DoubleKeyValue

type DoubleKeyValue struct {
	Key   string                                 `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=Value,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"Value"`
}

DoubleKeyValue describes double key/value set

func (*DoubleKeyValue) Descriptor

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

func (*DoubleKeyValue) GetKey

func (m *DoubleKeyValue) GetKey() string

func (*DoubleKeyValue) Marshal

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

func (*DoubleKeyValue) MarshalTo

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

func (*DoubleKeyValue) MarshalToSizedBuffer

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

func (*DoubleKeyValue) ProtoMessage

func (*DoubleKeyValue) ProtoMessage()

func (*DoubleKeyValue) Reset

func (m *DoubleKeyValue) Reset()

func (*DoubleKeyValue) Size

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

func (*DoubleKeyValue) String

func (m *DoubleKeyValue) String() string

func (*DoubleKeyValue) Unmarshal

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

func (*DoubleKeyValue) XXX_DiscardUnknown

func (m *DoubleKeyValue) XXX_DiscardUnknown()

func (*DoubleKeyValue) XXX_Marshal

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

func (*DoubleKeyValue) XXX_Merge

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

func (*DoubleKeyValue) XXX_Size

func (m *DoubleKeyValue) XXX_Size() int

func (*DoubleKeyValue) XXX_Unmarshal

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

type DoubleKeyValueList

type DoubleKeyValueList []DoubleKeyValue

type DoubleParam

type DoubleParam struct {
	Key          string              `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	WeightRanges []DoubleWeightRange `protobuf:"bytes,2,rep,name=weightRanges,proto3" json:"weightRanges"`
	// When program is not empty, weightRanges is ignored
	Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"`
}

DoubleParam describes the bounds on an item input/output parameter of type float64

func (*DoubleParam) Descriptor

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

func (*DoubleParam) GetKey

func (m *DoubleParam) GetKey() string

func (*DoubleParam) GetProgram

func (m *DoubleParam) GetProgram() string

func (*DoubleParam) GetWeightRanges

func (m *DoubleParam) GetWeightRanges() []DoubleWeightRange

func (*DoubleParam) Marshal

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

func (*DoubleParam) MarshalTo

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

func (*DoubleParam) MarshalToSizedBuffer

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

func (*DoubleParam) ProtoMessage

func (*DoubleParam) ProtoMessage()

func (*DoubleParam) Reset

func (m *DoubleParam) Reset()

func (*DoubleParam) Size

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

func (*DoubleParam) String

func (m *DoubleParam) String() string

func (*DoubleParam) Unmarshal

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

func (*DoubleParam) XXX_DiscardUnknown

func (m *DoubleParam) XXX_DiscardUnknown()

func (*DoubleParam) XXX_Marshal

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

func (*DoubleParam) XXX_Merge

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

func (*DoubleParam) XXX_Size

func (m *DoubleParam) XXX_Size() int

func (*DoubleParam) XXX_Unmarshal

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

type DoubleParamList

type DoubleParamList []DoubleParam

func (DoubleParamList) Actualize

Actualize creates a (key, value) list from ParamList

type DoubleWeightRange

type DoubleWeightRange struct {
	Lower  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=lower,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"lower"`
	Upper  github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=upper,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"upper"`
	Weight uint64                                 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
}

DoubleWeightRange describes weight range that produce double value

func (*DoubleWeightRange) Descriptor

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

func (*DoubleWeightRange) GetWeight

func (m *DoubleWeightRange) GetWeight() uint64

func (DoubleWeightRange) Has

func (wr DoubleWeightRange) Has(number sdk.Dec) bool

Has check if an input is between double weight range

func (*DoubleWeightRange) Marshal

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

func (*DoubleWeightRange) MarshalTo

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

func (*DoubleWeightRange) MarshalToSizedBuffer

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

func (*DoubleWeightRange) ProtoMessage

func (*DoubleWeightRange) ProtoMessage()

func (*DoubleWeightRange) Reset

func (m *DoubleWeightRange) Reset()

func (*DoubleWeightRange) Size

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

func (*DoubleWeightRange) String

func (m *DoubleWeightRange) String() string

func (*DoubleWeightRange) Unmarshal

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

func (*DoubleWeightRange) XXX_DiscardUnknown

func (m *DoubleWeightRange) XXX_DiscardUnknown()

func (*DoubleWeightRange) XXX_Marshal

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

func (*DoubleWeightRange) XXX_Merge

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

func (*DoubleWeightRange) XXX_Size

func (m *DoubleWeightRange) XXX_Size() int

func (*DoubleWeightRange) XXX_Unmarshal

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

type DoubleWeightTable

type DoubleWeightTable []DoubleWeightRange

func (DoubleWeightTable) Generate

func (wt DoubleWeightTable) Generate() (sdk.Dec, error)

Generate uses the weight table to generate a random number. Its uses a 2 int64 random generation mechanism. E.g. 2 weight ranges are provided with values [100.00, 500.00 weight: 8] and [600.00, 800.00 weight: 2] so now we generate a random number from 0 to 10 and if its from 0 to 8 then selected range = [100.00, 500.00] else [600.00, 800.00]. next we get a random number from the selected range and return that

func (DoubleWeightTable) Has

func (wt DoubleWeightTable) Has(number sdk.Dec) bool

Has checks if any of the weight ranges has the number

type EntriesList

type EntriesList struct {
	CoinOutputs       []CoinOutput       `protobuf:"bytes,1,rep,name=coinOutputs,proto3" json:"coinOutputs"`
	ItemOutputs       []ItemOutput       `protobuf:"bytes,2,rep,name=itemOutputs,proto3" json:"itemOutputs"`
	ItemModifyOutputs []ItemModifyOutput `protobuf:"bytes,3,rep,name=itemModifyOutputs,proto3" json:"itemModifyOutputs"`
}

EntriesList is a struct to keep list of items and coins

func (*EntriesList) Descriptor

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

func (*EntriesList) GetCoinOutputs

func (m *EntriesList) GetCoinOutputs() []CoinOutput

func (*EntriesList) GetItemModifyOutputs

func (m *EntriesList) GetItemModifyOutputs() []ItemModifyOutput

func (*EntriesList) GetItemOutputs

func (m *EntriesList) GetItemOutputs() []ItemOutput

func (*EntriesList) Marshal

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

func (*EntriesList) MarshalTo

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

func (*EntriesList) MarshalToSizedBuffer

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

func (*EntriesList) ProtoMessage

func (*EntriesList) ProtoMessage()

func (*EntriesList) Reset

func (m *EntriesList) Reset()

func (*EntriesList) Size

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

func (*EntriesList) String

func (m *EntriesList) String() string

func (*EntriesList) Unmarshal

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

func (*EntriesList) XXX_DiscardUnknown

func (m *EntriesList) XXX_DiscardUnknown()

func (*EntriesList) XXX_Marshal

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

func (*EntriesList) XXX_Merge

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

func (*EntriesList) XXX_Size

func (m *EntriesList) XXX_Size() int

func (*EntriesList) XXX_Unmarshal

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

type EventBurnDebtToken

type EventBurnDebtToken struct {
	RedeemInfo RedeemInfo `protobuf:"bytes,1,opt,name=redeemInfo,proto3" json:"redeemInfo"`
}

func (*EventBurnDebtToken) Descriptor

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

func (*EventBurnDebtToken) GetRedeemInfo

func (m *EventBurnDebtToken) GetRedeemInfo() RedeemInfo

func (*EventBurnDebtToken) Marshal

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

func (*EventBurnDebtToken) MarshalTo

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

func (*EventBurnDebtToken) MarshalToSizedBuffer

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

func (*EventBurnDebtToken) ProtoMessage

func (*EventBurnDebtToken) ProtoMessage()

func (*EventBurnDebtToken) Reset

func (m *EventBurnDebtToken) Reset()

func (*EventBurnDebtToken) Size

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

func (*EventBurnDebtToken) String

func (m *EventBurnDebtToken) String() string

func (*EventBurnDebtToken) Unmarshal

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

func (*EventBurnDebtToken) XXX_DiscardUnknown

func (m *EventBurnDebtToken) XXX_DiscardUnknown()

func (*EventBurnDebtToken) XXX_Marshal

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

func (*EventBurnDebtToken) XXX_Merge

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

func (*EventBurnDebtToken) XXX_Size

func (m *EventBurnDebtToken) XXX_Size() int

func (*EventBurnDebtToken) XXX_Unmarshal

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

type EventCancelTrade

type EventCancelTrade struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventCancelTrade) Descriptor

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

func (*EventCancelTrade) GetCreator

func (m *EventCancelTrade) GetCreator() string

func (*EventCancelTrade) GetID

func (m *EventCancelTrade) GetID() uint64

func (*EventCancelTrade) Marshal

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

func (*EventCancelTrade) MarshalTo

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

func (*EventCancelTrade) MarshalToSizedBuffer

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

func (*EventCancelTrade) ProtoMessage

func (*EventCancelTrade) ProtoMessage()

func (*EventCancelTrade) Reset

func (m *EventCancelTrade) Reset()

func (*EventCancelTrade) Size

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

func (*EventCancelTrade) String

func (m *EventCancelTrade) String() string

func (*EventCancelTrade) Unmarshal

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

func (*EventCancelTrade) XXX_DiscardUnknown

func (m *EventCancelTrade) XXX_DiscardUnknown()

func (*EventCancelTrade) XXX_Marshal

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

func (*EventCancelTrade) XXX_Merge

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

func (*EventCancelTrade) XXX_Size

func (m *EventCancelTrade) XXX_Size() int

func (*EventCancelTrade) XXX_Unmarshal

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

type EventCompleteExecution

type EventCompleteExecution struct {
	Creator       string                                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID            string                                   `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	BurnCoins     github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,3,rep,name=burnCoins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"burnCoins"`
	PayCoins      github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=payCoins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"payCoins"`
	TransferCoins github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=transferCoins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"transferCoins"`
	FeeCoins      github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,6,rep,name=feeCoins,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"feeCoins"`
	CoinOutputs   github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,7,rep,name=coinOutputs,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coinOutputs"`
	MintItems     []Item                                   `protobuf:"bytes,8,rep,name=mintItems,proto3" json:"mintItems"`
	ModifyItems   []Item                                   `protobuf:"bytes,9,rep,name=modifyItems,proto3" json:"modifyItems"`
}

func (*EventCompleteExecution) Descriptor

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

func (*EventCompleteExecution) GetBurnCoins

func (*EventCompleteExecution) GetCoinOutputs

func (*EventCompleteExecution) GetCreator

func (m *EventCompleteExecution) GetCreator() string

func (*EventCompleteExecution) GetFeeCoins

func (*EventCompleteExecution) GetID

func (m *EventCompleteExecution) GetID() string

func (*EventCompleteExecution) GetMintItems

func (m *EventCompleteExecution) GetMintItems() []Item

func (*EventCompleteExecution) GetModifyItems

func (m *EventCompleteExecution) GetModifyItems() []Item

func (*EventCompleteExecution) GetPayCoins

func (*EventCompleteExecution) GetTransferCoins

func (*EventCompleteExecution) Marshal

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

func (*EventCompleteExecution) MarshalTo

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

func (*EventCompleteExecution) MarshalToSizedBuffer

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

func (*EventCompleteExecution) ProtoMessage

func (*EventCompleteExecution) ProtoMessage()

func (*EventCompleteExecution) Reset

func (m *EventCompleteExecution) Reset()

func (*EventCompleteExecution) Size

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

func (*EventCompleteExecution) String

func (m *EventCompleteExecution) String() string

func (*EventCompleteExecution) Unmarshal

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

func (*EventCompleteExecution) XXX_DiscardUnknown

func (m *EventCompleteExecution) XXX_DiscardUnknown()

func (*EventCompleteExecution) XXX_Marshal

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

func (*EventCompleteExecution) XXX_Merge

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

func (*EventCompleteExecution) XXX_Size

func (m *EventCompleteExecution) XXX_Size() int

func (*EventCompleteExecution) XXX_Unmarshal

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

type EventCompleteExecutionEarly

type EventCompleteExecutionEarly struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventCompleteExecutionEarly) Descriptor

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

func (*EventCompleteExecutionEarly) GetCreator

func (m *EventCompleteExecutionEarly) GetCreator() string

func (*EventCompleteExecutionEarly) GetID

func (*EventCompleteExecutionEarly) Marshal

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

func (*EventCompleteExecutionEarly) MarshalTo

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

func (*EventCompleteExecutionEarly) MarshalToSizedBuffer

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

func (*EventCompleteExecutionEarly) ProtoMessage

func (*EventCompleteExecutionEarly) ProtoMessage()

func (*EventCompleteExecutionEarly) Reset

func (m *EventCompleteExecutionEarly) Reset()

func (*EventCompleteExecutionEarly) Size

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

func (*EventCompleteExecutionEarly) String

func (m *EventCompleteExecutionEarly) String() string

func (*EventCompleteExecutionEarly) Unmarshal

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

func (*EventCompleteExecutionEarly) XXX_DiscardUnknown

func (m *EventCompleteExecutionEarly) XXX_DiscardUnknown()

func (*EventCompleteExecutionEarly) XXX_Marshal

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

func (*EventCompleteExecutionEarly) XXX_Merge

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

func (*EventCompleteExecutionEarly) XXX_Size

func (m *EventCompleteExecutionEarly) XXX_Size() int

func (*EventCompleteExecutionEarly) XXX_Unmarshal

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

type EventCreateAccount

type EventCreateAccount struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
}

func (*EventCreateAccount) Descriptor

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

func (*EventCreateAccount) GetAddress

func (m *EventCreateAccount) GetAddress() string

func (*EventCreateAccount) GetUsername

func (m *EventCreateAccount) GetUsername() string

func (*EventCreateAccount) Marshal

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

func (*EventCreateAccount) MarshalTo

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

func (*EventCreateAccount) MarshalToSizedBuffer

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

func (*EventCreateAccount) ProtoMessage

func (*EventCreateAccount) ProtoMessage()

func (*EventCreateAccount) Reset

func (m *EventCreateAccount) Reset()

func (*EventCreateAccount) Size

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

func (*EventCreateAccount) String

func (m *EventCreateAccount) String() string

func (*EventCreateAccount) Unmarshal

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

func (*EventCreateAccount) XXX_DiscardUnknown

func (m *EventCreateAccount) XXX_DiscardUnknown()

func (*EventCreateAccount) XXX_Marshal

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

func (*EventCreateAccount) XXX_Merge

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

func (*EventCreateAccount) XXX_Size

func (m *EventCreateAccount) XXX_Size() int

func (*EventCreateAccount) XXX_Unmarshal

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

type EventCreateCookbook

type EventCreateCookbook struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventCreateCookbook) Descriptor

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

func (*EventCreateCookbook) GetCreator

func (m *EventCreateCookbook) GetCreator() string

func (*EventCreateCookbook) GetID

func (m *EventCreateCookbook) GetID() string

func (*EventCreateCookbook) Marshal

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

func (*EventCreateCookbook) MarshalTo

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

func (*EventCreateCookbook) MarshalToSizedBuffer

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

func (*EventCreateCookbook) ProtoMessage

func (*EventCreateCookbook) ProtoMessage()

func (*EventCreateCookbook) Reset

func (m *EventCreateCookbook) Reset()

func (*EventCreateCookbook) Size

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

func (*EventCreateCookbook) String

func (m *EventCreateCookbook) String() string

func (*EventCreateCookbook) Unmarshal

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

func (*EventCreateCookbook) XXX_DiscardUnknown

func (m *EventCreateCookbook) XXX_DiscardUnknown()

func (*EventCreateCookbook) XXX_Marshal

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

func (*EventCreateCookbook) XXX_Merge

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

func (*EventCreateCookbook) XXX_Size

func (m *EventCreateCookbook) XXX_Size() int

func (*EventCreateCookbook) XXX_Unmarshal

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

type EventCreateExecution

type EventCreateExecution struct {
	Creator      string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID           string        `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	PaymentInfos []PaymentInfo `protobuf:"bytes,3,rep,name=paymentInfos,proto3" json:"paymentInfos"`
}

EventCreateExecution contains the creator and ID of a created execution. Execution IDs are of the form {count-targetBlockHeight}

func (*EventCreateExecution) Descriptor

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

func (*EventCreateExecution) GetCreator

func (m *EventCreateExecution) GetCreator() string

func (*EventCreateExecution) GetID

func (m *EventCreateExecution) GetID() string

func (*EventCreateExecution) GetPaymentInfos

func (m *EventCreateExecution) GetPaymentInfos() []PaymentInfo

func (*EventCreateExecution) Marshal

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

func (*EventCreateExecution) MarshalTo

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

func (*EventCreateExecution) MarshalToSizedBuffer

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

func (*EventCreateExecution) ProtoMessage

func (*EventCreateExecution) ProtoMessage()

func (*EventCreateExecution) Reset

func (m *EventCreateExecution) Reset()

func (*EventCreateExecution) Size

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

func (*EventCreateExecution) String

func (m *EventCreateExecution) String() string

func (*EventCreateExecution) Unmarshal

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

func (*EventCreateExecution) XXX_DiscardUnknown

func (m *EventCreateExecution) XXX_DiscardUnknown()

func (*EventCreateExecution) XXX_Marshal

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

func (*EventCreateExecution) XXX_Merge

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

func (*EventCreateExecution) XXX_Size

func (m *EventCreateExecution) XXX_Size() int

func (*EventCreateExecution) XXX_Unmarshal

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

type EventCreateRecipe

type EventCreateRecipe struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CookbookID string `protobuf:"bytes,2,opt,name=CookbookID,proto3" json:"CookbookID,omitempty"`
	ID         string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventCreateRecipe) Descriptor

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

func (*EventCreateRecipe) GetCookbookID

func (m *EventCreateRecipe) GetCookbookID() string

func (*EventCreateRecipe) GetCreator

func (m *EventCreateRecipe) GetCreator() string

func (*EventCreateRecipe) GetID

func (m *EventCreateRecipe) GetID() string

func (*EventCreateRecipe) Marshal

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

func (*EventCreateRecipe) MarshalTo

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

func (*EventCreateRecipe) MarshalToSizedBuffer

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

func (*EventCreateRecipe) ProtoMessage

func (*EventCreateRecipe) ProtoMessage()

func (*EventCreateRecipe) Reset

func (m *EventCreateRecipe) Reset()

func (*EventCreateRecipe) Size

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

func (*EventCreateRecipe) String

func (m *EventCreateRecipe) String() string

func (*EventCreateRecipe) Unmarshal

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

func (*EventCreateRecipe) XXX_DiscardUnknown

func (m *EventCreateRecipe) XXX_DiscardUnknown()

func (*EventCreateRecipe) XXX_Marshal

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

func (*EventCreateRecipe) XXX_Merge

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

func (*EventCreateRecipe) XXX_Size

func (m *EventCreateRecipe) XXX_Size() int

func (*EventCreateRecipe) XXX_Unmarshal

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

type EventCreateTrade

type EventCreateTrade struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventCreateTrade) Descriptor

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

func (*EventCreateTrade) GetCreator

func (m *EventCreateTrade) GetCreator() string

func (*EventCreateTrade) GetID

func (m *EventCreateTrade) GetID() uint64

func (*EventCreateTrade) Marshal

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

func (*EventCreateTrade) MarshalTo

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

func (*EventCreateTrade) MarshalToSizedBuffer

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

func (*EventCreateTrade) ProtoMessage

func (*EventCreateTrade) ProtoMessage()

func (*EventCreateTrade) Reset

func (m *EventCreateTrade) Reset()

func (*EventCreateTrade) Size

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

func (*EventCreateTrade) String

func (m *EventCreateTrade) String() string

func (*EventCreateTrade) Unmarshal

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

func (*EventCreateTrade) XXX_DiscardUnknown

func (m *EventCreateTrade) XXX_DiscardUnknown()

func (*EventCreateTrade) XXX_Marshal

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

func (*EventCreateTrade) XXX_Merge

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

func (*EventCreateTrade) XXX_Size

func (m *EventCreateTrade) XXX_Size() int

func (*EventCreateTrade) XXX_Unmarshal

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

type EventDropExecution

type EventDropExecution struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventDropExecution) Descriptor

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

func (*EventDropExecution) GetCreator

func (m *EventDropExecution) GetCreator() string

func (*EventDropExecution) GetID

func (m *EventDropExecution) GetID() string

func (*EventDropExecution) Marshal

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

func (*EventDropExecution) MarshalTo

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

func (*EventDropExecution) MarshalToSizedBuffer

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

func (*EventDropExecution) ProtoMessage

func (*EventDropExecution) ProtoMessage()

func (*EventDropExecution) Reset

func (m *EventDropExecution) Reset()

func (*EventDropExecution) Size

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

func (*EventDropExecution) String

func (m *EventDropExecution) String() string

func (*EventDropExecution) Unmarshal

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

func (*EventDropExecution) XXX_DiscardUnknown

func (m *EventDropExecution) XXX_DiscardUnknown()

func (*EventDropExecution) XXX_Marshal

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

func (*EventDropExecution) XXX_Merge

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

func (*EventDropExecution) XXX_Size

func (m *EventDropExecution) XXX_Size() int

func (*EventDropExecution) XXX_Unmarshal

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

type EventFulfillTrade

type EventFulfillTrade struct {
	ID           uint64                                   `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Creator      string                                   `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
	Fulfiller    string                                   `protobuf:"bytes,3,opt,name=fulfiller,proto3" json:"fulfiller,omitempty"`
	ItemInputs   []ItemRef                                `protobuf:"bytes,4,rep,name=itemInputs,proto3" json:"itemInputs"`
	CoinInputs   github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=coinInputs,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coinInputs"`
	ItemOutputs  []ItemRef                                `protobuf:"bytes,6,rep,name=itemOutputs,proto3" json:"itemOutputs"`
	CoinOutputs  github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,7,rep,name=coinOutputs,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coinOutputs"`
	PaymentInfos []PaymentInfo                            `protobuf:"bytes,8,rep,name=paymentInfos,proto3" json:"paymentInfos"`
}

func (*EventFulfillTrade) Descriptor

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

func (*EventFulfillTrade) GetCoinInputs

func (*EventFulfillTrade) GetCoinOutputs

func (*EventFulfillTrade) GetCreator

func (m *EventFulfillTrade) GetCreator() string

func (*EventFulfillTrade) GetFulfiller

func (m *EventFulfillTrade) GetFulfiller() string

func (*EventFulfillTrade) GetID

func (m *EventFulfillTrade) GetID() uint64

func (*EventFulfillTrade) GetItemInputs

func (m *EventFulfillTrade) GetItemInputs() []ItemRef

func (*EventFulfillTrade) GetItemOutputs

func (m *EventFulfillTrade) GetItemOutputs() []ItemRef

func (*EventFulfillTrade) GetPaymentInfos

func (m *EventFulfillTrade) GetPaymentInfos() []PaymentInfo

func (*EventFulfillTrade) Marshal

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

func (*EventFulfillTrade) MarshalTo

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

func (*EventFulfillTrade) MarshalToSizedBuffer

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

func (*EventFulfillTrade) ProtoMessage

func (*EventFulfillTrade) ProtoMessage()

func (*EventFulfillTrade) Reset

func (m *EventFulfillTrade) Reset()

func (*EventFulfillTrade) Size

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

func (*EventFulfillTrade) String

func (m *EventFulfillTrade) String() string

func (*EventFulfillTrade) Unmarshal

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

func (*EventFulfillTrade) XXX_DiscardUnknown

func (m *EventFulfillTrade) XXX_DiscardUnknown()

func (*EventFulfillTrade) XXX_Marshal

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

func (*EventFulfillTrade) XXX_Merge

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

func (*EventFulfillTrade) XXX_Size

func (m *EventFulfillTrade) XXX_Size() int

func (*EventFulfillTrade) XXX_Unmarshal

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

type EventGooglePurchase

type EventGooglePurchase struct {
	Creator           string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ProductID         string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	PurchaseToken     string `protobuf:"bytes,3,opt,name=purchaseToken,proto3" json:"purchaseToken,omitempty"`
	ReceiptDataBase64 string `protobuf:"bytes,4,opt,name=receiptDataBase64,proto3" json:"receiptDataBase64,omitempty"`
	Signature         string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*EventGooglePurchase) Descriptor

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

func (*EventGooglePurchase) GetCreator

func (m *EventGooglePurchase) GetCreator() string

func (*EventGooglePurchase) GetProductID

func (m *EventGooglePurchase) GetProductID() string

func (*EventGooglePurchase) GetPurchaseToken

func (m *EventGooglePurchase) GetPurchaseToken() string

func (*EventGooglePurchase) GetReceiptDataBase64

func (m *EventGooglePurchase) GetReceiptDataBase64() string

func (*EventGooglePurchase) GetSignature

func (m *EventGooglePurchase) GetSignature() string

func (*EventGooglePurchase) Marshal

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

func (*EventGooglePurchase) MarshalTo

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

func (*EventGooglePurchase) MarshalToSizedBuffer

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

func (*EventGooglePurchase) ProtoMessage

func (*EventGooglePurchase) ProtoMessage()

func (*EventGooglePurchase) Reset

func (m *EventGooglePurchase) Reset()

func (*EventGooglePurchase) Size

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

func (*EventGooglePurchase) String

func (m *EventGooglePurchase) String() string

func (*EventGooglePurchase) Unmarshal

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

func (*EventGooglePurchase) XXX_DiscardUnknown

func (m *EventGooglePurchase) XXX_DiscardUnknown()

func (*EventGooglePurchase) XXX_Marshal

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

func (*EventGooglePurchase) XXX_Merge

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

func (*EventGooglePurchase) XXX_Size

func (m *EventGooglePurchase) XXX_Size() int

func (*EventGooglePurchase) XXX_Unmarshal

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

type EventSendItems

type EventSendItems struct {
	Sender   string    `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver string    `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Items    []ItemRef `protobuf:"bytes,3,rep,name=items,proto3" json:"items"`
}

func (*EventSendItems) Descriptor

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

func (*EventSendItems) GetItems

func (m *EventSendItems) GetItems() []ItemRef

func (*EventSendItems) GetReceiver

func (m *EventSendItems) GetReceiver() string

func (*EventSendItems) GetSender

func (m *EventSendItems) GetSender() string

func (*EventSendItems) Marshal

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

func (*EventSendItems) MarshalTo

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

func (*EventSendItems) MarshalToSizedBuffer

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

func (*EventSendItems) ProtoMessage

func (*EventSendItems) ProtoMessage()

func (*EventSendItems) Reset

func (m *EventSendItems) Reset()

func (*EventSendItems) Size

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

func (*EventSendItems) String

func (m *EventSendItems) String() string

func (*EventSendItems) Unmarshal

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

func (*EventSendItems) XXX_DiscardUnknown

func (m *EventSendItems) XXX_DiscardUnknown()

func (*EventSendItems) XXX_Marshal

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

func (*EventSendItems) XXX_Merge

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

func (*EventSendItems) XXX_Size

func (m *EventSendItems) XXX_Size() int

func (*EventSendItems) XXX_Unmarshal

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

type EventSetItemString

type EventSetItemString struct {
	Creator                string           `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CookbookID             string           `protobuf:"bytes,2,opt,name=CookbookID,proto3" json:"CookbookID,omitempty"`
	ID                     string           `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	OriginalMutableStrings []StringKeyValue `protobuf:"bytes,4,rep,name=originalMutableStrings,proto3" json:"originalMutableStrings"`
}

func (*EventSetItemString) Descriptor

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

func (*EventSetItemString) GetCookbookID

func (m *EventSetItemString) GetCookbookID() string

func (*EventSetItemString) GetCreator

func (m *EventSetItemString) GetCreator() string

func (*EventSetItemString) GetID

func (m *EventSetItemString) GetID() string

func (*EventSetItemString) GetOriginalMutableStrings

func (m *EventSetItemString) GetOriginalMutableStrings() []StringKeyValue

func (*EventSetItemString) Marshal

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

func (*EventSetItemString) MarshalTo

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

func (*EventSetItemString) MarshalToSizedBuffer

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

func (*EventSetItemString) ProtoMessage

func (*EventSetItemString) ProtoMessage()

func (*EventSetItemString) Reset

func (m *EventSetItemString) Reset()

func (*EventSetItemString) Size

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

func (*EventSetItemString) String

func (m *EventSetItemString) String() string

func (*EventSetItemString) Unmarshal

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

func (*EventSetItemString) XXX_DiscardUnknown

func (m *EventSetItemString) XXX_DiscardUnknown()

func (*EventSetItemString) XXX_Marshal

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

func (*EventSetItemString) XXX_Merge

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

func (*EventSetItemString) XXX_Size

func (m *EventSetItemString) XXX_Size() int

func (*EventSetItemString) XXX_Unmarshal

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

type EventStripePurchase

type EventStripePurchase struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventStripePurchase) Descriptor

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

func (*EventStripePurchase) GetCreator

func (m *EventStripePurchase) GetCreator() string

func (*EventStripePurchase) GetID

func (m *EventStripePurchase) GetID() string

func (*EventStripePurchase) Marshal

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

func (*EventStripePurchase) MarshalTo

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

func (*EventStripePurchase) MarshalToSizedBuffer

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

func (*EventStripePurchase) ProtoMessage

func (*EventStripePurchase) ProtoMessage()

func (*EventStripePurchase) Reset

func (m *EventStripePurchase) Reset()

func (*EventStripePurchase) Size

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

func (*EventStripePurchase) String

func (m *EventStripePurchase) String() string

func (*EventStripePurchase) Unmarshal

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

func (*EventStripePurchase) XXX_DiscardUnknown

func (m *EventStripePurchase) XXX_DiscardUnknown()

func (*EventStripePurchase) XXX_Marshal

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

func (*EventStripePurchase) XXX_Merge

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

func (*EventStripePurchase) XXX_Size

func (m *EventStripePurchase) XXX_Size() int

func (*EventStripePurchase) XXX_Unmarshal

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

type EventTransferCookbook

type EventTransferCookbook struct {
	Sender   string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
	Receiver string `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	ID       string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*EventTransferCookbook) Descriptor

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

func (*EventTransferCookbook) GetID

func (m *EventTransferCookbook) GetID() string

func (*EventTransferCookbook) GetReceiver

func (m *EventTransferCookbook) GetReceiver() string

func (*EventTransferCookbook) GetSender

func (m *EventTransferCookbook) GetSender() string

func (*EventTransferCookbook) Marshal

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

func (*EventTransferCookbook) MarshalTo

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

func (*EventTransferCookbook) MarshalToSizedBuffer

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

func (*EventTransferCookbook) ProtoMessage

func (*EventTransferCookbook) ProtoMessage()

func (*EventTransferCookbook) Reset

func (m *EventTransferCookbook) Reset()

func (*EventTransferCookbook) Size

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

func (*EventTransferCookbook) String

func (m *EventTransferCookbook) String() string

func (*EventTransferCookbook) Unmarshal

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

func (*EventTransferCookbook) XXX_DiscardUnknown

func (m *EventTransferCookbook) XXX_DiscardUnknown()

func (*EventTransferCookbook) XXX_Marshal

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

func (*EventTransferCookbook) XXX_Merge

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

func (*EventTransferCookbook) XXX_Size

func (m *EventTransferCookbook) XXX_Size() int

func (*EventTransferCookbook) XXX_Unmarshal

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

type EventUpdateAccount

type EventUpdateAccount struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
}

func (*EventUpdateAccount) Descriptor

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

func (*EventUpdateAccount) GetAddress

func (m *EventUpdateAccount) GetAddress() string

func (*EventUpdateAccount) GetUsername

func (m *EventUpdateAccount) GetUsername() string

func (*EventUpdateAccount) Marshal

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

func (*EventUpdateAccount) MarshalTo

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

func (*EventUpdateAccount) MarshalToSizedBuffer

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

func (*EventUpdateAccount) ProtoMessage

func (*EventUpdateAccount) ProtoMessage()

func (*EventUpdateAccount) Reset

func (m *EventUpdateAccount) Reset()

func (*EventUpdateAccount) Size

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

func (*EventUpdateAccount) String

func (m *EventUpdateAccount) String() string

func (*EventUpdateAccount) Unmarshal

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

func (*EventUpdateAccount) XXX_DiscardUnknown

func (m *EventUpdateAccount) XXX_DiscardUnknown()

func (*EventUpdateAccount) XXX_Marshal

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

func (*EventUpdateAccount) XXX_Merge

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

func (*EventUpdateAccount) XXX_Size

func (m *EventUpdateAccount) XXX_Size() int

func (*EventUpdateAccount) XXX_Unmarshal

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

type EventUpdateCookbook

type EventUpdateCookbook struct {
	OriginalCookbook Cookbook `protobuf:"bytes,1,opt,name=originalCookbook,proto3" json:"originalCookbook"`
}

EventUpdateCookbook contains a record of the cookbook pre-update. The updated fields can be found by the message emitted by MsgUpdateCookbook

func (*EventUpdateCookbook) Descriptor

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

func (*EventUpdateCookbook) GetOriginalCookbook

func (m *EventUpdateCookbook) GetOriginalCookbook() Cookbook

func (*EventUpdateCookbook) Marshal

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

func (*EventUpdateCookbook) MarshalTo

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

func (*EventUpdateCookbook) MarshalToSizedBuffer

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

func (*EventUpdateCookbook) ProtoMessage

func (*EventUpdateCookbook) ProtoMessage()

func (*EventUpdateCookbook) Reset

func (m *EventUpdateCookbook) Reset()

func (*EventUpdateCookbook) Size

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

func (*EventUpdateCookbook) String

func (m *EventUpdateCookbook) String() string

func (*EventUpdateCookbook) Unmarshal

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

func (*EventUpdateCookbook) XXX_DiscardUnknown

func (m *EventUpdateCookbook) XXX_DiscardUnknown()

func (*EventUpdateCookbook) XXX_Marshal

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

func (*EventUpdateCookbook) XXX_Merge

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

func (*EventUpdateCookbook) XXX_Size

func (m *EventUpdateCookbook) XXX_Size() int

func (*EventUpdateCookbook) XXX_Unmarshal

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

type EventUpdateRecipe

type EventUpdateRecipe struct {
	OriginalRecipe Recipe `protobuf:"bytes,1,opt,name=originalRecipe,proto3" json:"originalRecipe"`
}

EventUpdateRecipe contains a record of the recipe pre-update. The updated fields can be found by the message emitted by MsgUpdateRecipe

func (*EventUpdateRecipe) Descriptor

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

func (*EventUpdateRecipe) GetOriginalRecipe

func (m *EventUpdateRecipe) GetOriginalRecipe() Recipe

func (*EventUpdateRecipe) Marshal

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

func (*EventUpdateRecipe) MarshalTo

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

func (*EventUpdateRecipe) MarshalToSizedBuffer

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

func (*EventUpdateRecipe) ProtoMessage

func (*EventUpdateRecipe) ProtoMessage()

func (*EventUpdateRecipe) Reset

func (m *EventUpdateRecipe) Reset()

func (*EventUpdateRecipe) Size

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

func (*EventUpdateRecipe) String

func (m *EventUpdateRecipe) String() string

func (*EventUpdateRecipe) Unmarshal

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

func (*EventUpdateRecipe) XXX_DiscardUnknown

func (m *EventUpdateRecipe) XXX_DiscardUnknown()

func (*EventUpdateRecipe) XXX_Marshal

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

func (*EventUpdateRecipe) XXX_Merge

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

func (*EventUpdateRecipe) XXX_Size

func (m *EventUpdateRecipe) XXX_Size() int

func (*EventUpdateRecipe) XXX_Unmarshal

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

type Execution

type Execution struct {
	Creator             string                                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID                  string                                   `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	RecipeID            string                                   `protobuf:"bytes,3,opt,name=recipeID,proto3" json:"recipeID,omitempty"`
	CookbookID          string                                   `protobuf:"bytes,4,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	RecipeVersion       string                                   `protobuf:"bytes,5,opt,name=recipeVersion,proto3" json:"recipeVersion,omitempty"`
	NodeVersion         uint64                                   `protobuf:"varint,6,opt,name=nodeVersion,proto3" json:"nodeVersion,omitempty"`
	BlockHeight         int64                                    `protobuf:"varint,7,opt,name=blockHeight,proto3" json:"blockHeight,omitempty"`
	ItemInputs          []ItemRecord                             `protobuf:"bytes,8,rep,name=itemInputs,proto3" json:"itemInputs"`
	CoinInputs          github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,9,rep,name=coinInputs,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coinInputs"`
	CoinOutputs         github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,10,rep,name=coinOutputs,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coinOutputs"`
	ItemOutputIDs       []string                                 `protobuf:"bytes,11,rep,name=itemOutputIDs,proto3" json:"itemOutputIDs,omitempty"`
	ItemModifyOutputIDs []string                                 `protobuf:"bytes,12,rep,name=itemModifyOutputIDs,proto3" json:"itemModifyOutputIDs,omitempty"`
}

func (*Execution) Descriptor

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

func (*Execution) GetBlockHeight

func (m *Execution) GetBlockHeight() int64

func (*Execution) GetCoinInputs

func (*Execution) GetCoinOutputs

func (*Execution) GetCookbookID

func (m *Execution) GetCookbookID() string

func (*Execution) GetCreator

func (m *Execution) GetCreator() string

func (*Execution) GetID

func (m *Execution) GetID() string

func (*Execution) GetItemInputs

func (m *Execution) GetItemInputs() []ItemRecord

func (*Execution) GetItemModifyOutputIDs

func (m *Execution) GetItemModifyOutputIDs() []string

func (*Execution) GetItemOutputIDs

func (m *Execution) GetItemOutputIDs() []string

func (*Execution) GetNodeVersion

func (m *Execution) GetNodeVersion() uint64

func (*Execution) GetRecipeID

func (m *Execution) GetRecipeID() string

func (*Execution) GetRecipeVersion

func (m *Execution) GetRecipeVersion() string

func (*Execution) Marshal

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

func (*Execution) MarshalTo

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

func (*Execution) MarshalToSizedBuffer

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

func (*Execution) ProtoMessage

func (*Execution) ProtoMessage()

func (*Execution) Reset

func (m *Execution) Reset()

func (*Execution) Size

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

func (*Execution) String

func (m *Execution) String() string

func (*Execution) Unmarshal

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

func (*Execution) XXX_DiscardUnknown

func (m *Execution) XXX_DiscardUnknown()

func (*Execution) XXX_Marshal

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

func (*Execution) XXX_Merge

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

func (*Execution) XXX_Size

func (m *Execution) XXX_Size() int

func (*Execution) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	// this line is used by starport scaffolding # genesis/proto/state
	RedeemInfoList               []RedeemInfo               `protobuf:"bytes,16,rep,name=redeemInfoList,proto3" json:"redeemInfoList"`
	PaymentInfoList              []PaymentInfo              `protobuf:"bytes,15,rep,name=paymentInfoList,proto3" json:"paymentInfoList"`
	AccountList                  []UserMap                  `protobuf:"bytes,14,rep,name=accountList,proto3" json:"accountList"`
	TradeList                    []Trade                    `protobuf:"bytes,13,rep,name=tradeList,proto3" json:"tradeList"`
	TradeCount                   uint64                     `protobuf:"varint,12,opt,name=tradeCount,proto3" json:"tradeCount,omitempty"`
	EntityCount                  uint64                     `protobuf:"varint,11,opt,name=entityCount,proto3" json:"entityCount,omitempty"`
	Params                       Params                     `protobuf:"bytes,10,opt,name=params,proto3" json:"params"`
	GoogleInAppPurchaseOrderList []GoogleInAppPurchaseOrder `protobuf:"bytes,8,rep,name=googleInAppPurchaseOrderList,proto3" json:"googleInAppPurchaseOrderList"`
	GoogleIAPOrderCount          uint64                     `protobuf:"varint,9,opt,name=googleIAPOrderCount,proto3" json:"googleIAPOrderCount,omitempty"`
	ExecutionList                []Execution                `protobuf:"bytes,7,rep,name=executionList,proto3" json:"executionList"`
	ExecutionCount               uint64                     `protobuf:"varint,6,opt,name=executionCount,proto3" json:"executionCount,omitempty"`
	PendingExecutionList         []Execution                `protobuf:"bytes,5,rep,name=pendingExecutionList,proto3" json:"pendingExecutionList"`
	PendingExecutionCount        uint64                     `protobuf:"varint,4,opt,name=pendingExecutionCount,proto3" json:"pendingExecutionCount,omitempty"`
	ItemList                     []Item                     `protobuf:"bytes,3,rep,name=itemList,proto3" json:"itemList"`
	RecipeList                   []Recipe                   `protobuf:"bytes,2,rep,name=recipeList,proto3" json:"recipeList"`
	CookbookList                 []Cookbook                 `protobuf:"bytes,1,rep,name=cookbookList,proto3" json:"cookbookList"`
}

GenesisState defines the pylons module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Pylons genesis state

func NetworkTestGenesis

func NetworkTestGenesis() *GenesisState

NetworkTestGenesis returns the network test Pylons genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetAccountList

func (m *GenesisState) GetAccountList() []UserMap

func (*GenesisState) GetCookbookList

func (m *GenesisState) GetCookbookList() []Cookbook

func (*GenesisState) GetEntityCount

func (m *GenesisState) GetEntityCount() uint64

func (*GenesisState) GetExecutionCount

func (m *GenesisState) GetExecutionCount() uint64

func (*GenesisState) GetExecutionList

func (m *GenesisState) GetExecutionList() []Execution

func (*GenesisState) GetGoogleIAPOrderCount

func (m *GenesisState) GetGoogleIAPOrderCount() uint64

func (*GenesisState) GetGoogleInAppPurchaseOrderList

func (m *GenesisState) GetGoogleInAppPurchaseOrderList() []GoogleInAppPurchaseOrder

func (*GenesisState) GetItemList

func (m *GenesisState) GetItemList() []Item

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPaymentInfoList

func (m *GenesisState) GetPaymentInfoList() []PaymentInfo

func (*GenesisState) GetPendingExecutionCount

func (m *GenesisState) GetPendingExecutionCount() uint64

func (*GenesisState) GetPendingExecutionList

func (m *GenesisState) GetPendingExecutionList() []Execution

func (*GenesisState) GetRecipeList

func (m *GenesisState) GetRecipeList() []Recipe

func (*GenesisState) GetRedeemInfoList

func (m *GenesisState) GetRedeemInfoList() []RedeemInfo

func (*GenesisState) GetTradeCount

func (m *GenesisState) GetTradeCount() uint64

func (*GenesisState) GetTradeList

func (m *GenesisState) GetTradeList() []Trade

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 (gs GenesisState) Validate() error

Validate performs basic genesis state validation returning an error upon any failure.

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 GoogleInAppPurchaseOrder

type GoogleInAppPurchaseOrder struct {
	Creator           string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ProductID         string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	PurchaseToken     string `protobuf:"bytes,3,opt,name=purchaseToken,proto3" json:"purchaseToken,omitempty"`
	ReceiptDataBase64 string `protobuf:"bytes,4,opt,name=receiptDataBase64,proto3" json:"receiptDataBase64,omitempty"`
	Signature         string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*GoogleInAppPurchaseOrder) Descriptor

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

func (*GoogleInAppPurchaseOrder) GetCreator

func (m *GoogleInAppPurchaseOrder) GetCreator() string

func (*GoogleInAppPurchaseOrder) GetProductID

func (m *GoogleInAppPurchaseOrder) GetProductID() string

func (*GoogleInAppPurchaseOrder) GetPurchaseToken

func (m *GoogleInAppPurchaseOrder) GetPurchaseToken() string

func (*GoogleInAppPurchaseOrder) GetReceiptDataBase64

func (m *GoogleInAppPurchaseOrder) GetReceiptDataBase64() string

func (*GoogleInAppPurchaseOrder) GetSignature

func (m *GoogleInAppPurchaseOrder) GetSignature() string

func (*GoogleInAppPurchaseOrder) Marshal

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

func (*GoogleInAppPurchaseOrder) MarshalTo

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

func (*GoogleInAppPurchaseOrder) MarshalToSizedBuffer

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

func (*GoogleInAppPurchaseOrder) ProtoMessage

func (*GoogleInAppPurchaseOrder) ProtoMessage()

func (*GoogleInAppPurchaseOrder) Reset

func (m *GoogleInAppPurchaseOrder) Reset()

func (*GoogleInAppPurchaseOrder) Size

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

func (*GoogleInAppPurchaseOrder) String

func (m *GoogleInAppPurchaseOrder) String() string

func (*GoogleInAppPurchaseOrder) Unmarshal

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

func (*GoogleInAppPurchaseOrder) XXX_DiscardUnknown

func (m *GoogleInAppPurchaseOrder) XXX_DiscardUnknown()

func (*GoogleInAppPurchaseOrder) XXX_Marshal

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

func (*GoogleInAppPurchaseOrder) XXX_Merge

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

func (*GoogleInAppPurchaseOrder) XXX_Size

func (m *GoogleInAppPurchaseOrder) XXX_Size() int

func (*GoogleInAppPurchaseOrder) XXX_Unmarshal

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

type GoogleInAppPurchasePackage

type GoogleInAppPurchasePackage struct {
	PackageName string                                 `protobuf:"bytes,1,opt,name=packageName,proto3" json:"packageName,omitempty" yaml:"package_name"`
	ProductID   string                                 `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty" yaml:"product_id"`
	Amount      github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,3,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount" yaml:"amount"`
}

func (*GoogleInAppPurchasePackage) Descriptor

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

func (*GoogleInAppPurchasePackage) Equal

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

func (*GoogleInAppPurchasePackage) GetPackageName

func (m *GoogleInAppPurchasePackage) GetPackageName() string

func (*GoogleInAppPurchasePackage) GetProductID

func (m *GoogleInAppPurchasePackage) GetProductID() string

func (*GoogleInAppPurchasePackage) Marshal

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

func (*GoogleInAppPurchasePackage) MarshalTo

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

func (*GoogleInAppPurchasePackage) MarshalToSizedBuffer

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

func (*GoogleInAppPurchasePackage) ProtoMessage

func (*GoogleInAppPurchasePackage) ProtoMessage()

func (*GoogleInAppPurchasePackage) Reset

func (m *GoogleInAppPurchasePackage) Reset()

func (*GoogleInAppPurchasePackage) Size

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

func (*GoogleInAppPurchasePackage) String

func (m *GoogleInAppPurchasePackage) String() string

func (*GoogleInAppPurchasePackage) Unmarshal

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

func (*GoogleInAppPurchasePackage) XXX_DiscardUnknown

func (m *GoogleInAppPurchasePackage) XXX_DiscardUnknown()

func (*GoogleInAppPurchasePackage) XXX_Marshal

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

func (*GoogleInAppPurchasePackage) XXX_Merge

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

func (*GoogleInAppPurchasePackage) XXX_Size

func (m *GoogleInAppPurchasePackage) XXX_Size() int

func (*GoogleInAppPurchasePackage) XXX_Unmarshal

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

type IntWeightRange

type IntWeightRange struct {
	Lower  int64  `protobuf:"varint,1,opt,name=lower,proto3" json:"lower,omitempty"`
	Upper  int64  `protobuf:"varint,2,opt,name=upper,proto3" json:"upper,omitempty"`
	Weight uint64 `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
}

IntWeightRange describes weight range that produce int value

func (*IntWeightRange) Descriptor

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

func (*IntWeightRange) GetLower

func (m *IntWeightRange) GetLower() int64

func (*IntWeightRange) GetUpper

func (m *IntWeightRange) GetUpper() int64

func (*IntWeightRange) GetWeight

func (m *IntWeightRange) GetWeight() uint64

func (IntWeightRange) Has

func (wr IntWeightRange) Has(number int64) bool

Has check if a number is under IntWeightRange

func (*IntWeightRange) Marshal

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

func (*IntWeightRange) MarshalTo

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

func (*IntWeightRange) MarshalToSizedBuffer

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

func (*IntWeightRange) ProtoMessage

func (*IntWeightRange) ProtoMessage()

func (*IntWeightRange) Reset

func (m *IntWeightRange) Reset()

func (*IntWeightRange) Size

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

func (*IntWeightRange) String

func (m *IntWeightRange) String() string

func (*IntWeightRange) Unmarshal

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

func (*IntWeightRange) XXX_DiscardUnknown

func (m *IntWeightRange) XXX_DiscardUnknown()

func (*IntWeightRange) XXX_Marshal

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

func (*IntWeightRange) XXX_Merge

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

func (*IntWeightRange) XXX_Size

func (m *IntWeightRange) XXX_Size() int

func (*IntWeightRange) XXX_Unmarshal

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

type IntWeightTable

type IntWeightTable []IntWeightRange

func (IntWeightTable) Generate

func (wt IntWeightTable) Generate() (int64, error)

Generate uses the weight table to generate a random number. Its uses a 2 int64 random generation mechanism. E.g. 2 weight ranges are provided with values [100, 500 weight: 8] and [600, 800 weight: 2] so now we generate a random number from 0 to 10 and if its from 0 to 8 then selected range = [100, 500] else [600, 800]. next we get a random number from the selected range and return that

func (IntWeightTable) Has

func (wt IntWeightTable) Has(number int) bool

Has checks if any of the weight ranges has the number

type Item

type Item struct {
	Owner          string           `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	CookbookID     string           `protobuf:"bytes,2,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	ID             string           `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	NodeVersion    uint64           `protobuf:"varint,4,opt,name=nodeVersion,proto3" json:"nodeVersion,omitempty"`
	Doubles        []DoubleKeyValue `protobuf:"bytes,5,rep,name=doubles,proto3" json:"doubles"`
	Longs          []LongKeyValue   `protobuf:"bytes,6,rep,name=longs,proto3" json:"longs"`
	Strings        []StringKeyValue `protobuf:"bytes,7,rep,name=strings,proto3" json:"strings"`
	MutableStrings []StringKeyValue `protobuf:"bytes,8,rep,name=mutableStrings,proto3" json:"mutableStrings"`
	Tradeable      bool             `protobuf:"varint,9,opt,name=tradeable,proto3" json:"tradeable,omitempty"`
	LastUpdate     int64            `protobuf:"varint,10,opt,name=lastUpdate,proto3" json:"lastUpdate,omitempty"`
	TransferFee    []types.Coin     `protobuf:"bytes,11,rep,name=transferFee,proto3" json:"transferFee"`
	// The percentage of a trade sale retained by the cookbook owner. In the range (0.0, 1.0).
	TradePercentage github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=tradePercentage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"tradePercentage"`
}

func (*Item) Descriptor

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

func (Item) FindDouble

func (it Item) FindDouble(key string) (sdk.Dec, bool)

FindDouble is a function to get a double attribute from an item

func (Item) FindDoubleKey

func (it Item) FindDoubleKey(key string) (int, bool)

FindDoubleKey is a function get double key index

func (Item) FindLong

func (it Item) FindLong(key string) (int, bool)

FindLong is a function to get a long attribute from an item

func (Item) FindLongKey

func (it Item) FindLongKey(key string) (int, bool)

FindLongKey is a function to get long key index

func (Item) FindString

func (it Item) FindString(key string) (string, bool)

FindString is a function to get a string attribute from an item

func (Item) FindStringKey

func (it Item) FindStringKey(key string) (int, bool)

FindStringKey is a function to get string key index

func (*Item) GetCookbookID

func (m *Item) GetCookbookID() string

func (*Item) GetDoubles

func (m *Item) GetDoubles() []DoubleKeyValue

func (*Item) GetID

func (m *Item) GetID() string

func (*Item) GetLastUpdate

func (m *Item) GetLastUpdate() int64

func (*Item) GetLongs

func (m *Item) GetLongs() []LongKeyValue

func (*Item) GetMutableStrings

func (m *Item) GetMutableStrings() []StringKeyValue

func (*Item) GetNodeVersion

func (m *Item) GetNodeVersion() uint64

func (*Item) GetOwner

func (m *Item) GetOwner() string

func (*Item) GetStrings

func (m *Item) GetStrings() []StringKeyValue

func (*Item) GetTradeable

func (m *Item) GetTradeable() bool

func (*Item) GetTransferFee

func (m *Item) GetTransferFee() []types.Coin

func (*Item) Marshal

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

func (*Item) MarshalTo

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

func (*Item) MarshalToSizedBuffer

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

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) Reset

func (m *Item) Reset()

func (*Item) Size

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

func (*Item) String

func (m *Item) String() string

func (*Item) Unmarshal

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

func (*Item) XXX_DiscardUnknown

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal

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

func (*Item) XXX_Merge

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

func (*Item) XXX_Size

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal

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

type ItemInput

type ItemInput struct {
	ID      string             `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Doubles []DoubleInputParam `protobuf:"bytes,2,rep,name=doubles,proto3" json:"doubles"`
	Longs   []LongInputParam   `protobuf:"bytes,3,rep,name=longs,proto3" json:"longs"`
	Strings []StringInputParam `protobuf:"bytes,4,rep,name=strings,proto3" json:"strings"`
}

ItemInput is a struct for describing an input item

func (*ItemInput) Descriptor

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

func (*ItemInput) GetDoubles

func (m *ItemInput) GetDoubles() []DoubleInputParam

func (*ItemInput) GetID

func (m *ItemInput) GetID() string

func (*ItemInput) GetLongs

func (m *ItemInput) GetLongs() []LongInputParam

func (*ItemInput) GetStrings

func (m *ItemInput) GetStrings() []StringInputParam

func (*ItemInput) Marshal

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

func (*ItemInput) MarshalTo

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

func (*ItemInput) MarshalToSizedBuffer

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

func (ItemInput) MatchItem

func (itemInput ItemInput) MatchItem(item Item, ec CelEnvCollection) error

MatchItem checks if all the constraint match the given item

func (*ItemInput) ProtoMessage

func (*ItemInput) ProtoMessage()

func (*ItemInput) Reset

func (m *ItemInput) Reset()

func (*ItemInput) Size

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

func (*ItemInput) String

func (m *ItemInput) String() string

func (*ItemInput) Unmarshal

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

func (*ItemInput) XXX_DiscardUnknown

func (m *ItemInput) XXX_DiscardUnknown()

func (*ItemInput) XXX_Marshal

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

func (*ItemInput) XXX_Merge

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

func (*ItemInput) XXX_Size

func (m *ItemInput) XXX_Size() int

func (*ItemInput) XXX_Unmarshal

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

type ItemInputList

type ItemInputList []ItemInput

type ItemList

type ItemList []Item

type ItemModifyOutput

type ItemModifyOutput struct {
	ID           string        `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ItemInputRef string        `protobuf:"bytes,2,opt,name=itemInputRef,proto3" json:"itemInputRef,omitempty"`
	Doubles      []DoubleParam `protobuf:"bytes,3,rep,name=doubles,proto3" json:"doubles"`
	Longs        []LongParam   `protobuf:"bytes,4,rep,name=longs,proto3" json:"longs"`
	Strings      []StringParam `protobuf:"bytes,5,rep,name=strings,proto3" json:"strings"`
	// defines a list of mutable strings whose value can be customized by the user
	MutableStrings []StringKeyValue `protobuf:"bytes,6,rep,name=mutableStrings,proto3" json:"mutableStrings"`
	TransferFee    []types.Coin     `protobuf:"bytes,7,rep,name=transferFee,proto3" json:"transferFee"`
	// The percentage of a trade sale retained by the cookbook owner. In the range (0.0, 1.0).
	TradePercentage github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=tradePercentage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"tradePercentage"`
	// quantity defines the maximum amount of these items that can be created. A 0 value indicates an infinite supply
	Quantity     uint64 `protobuf:"varint,9,opt,name=quantity,proto3" json:"quantity,omitempty"`
	AmountMinted uint64 `protobuf:"varint,10,opt,name=amountMinted,proto3" json:"amountMinted,omitempty"`
	Tradeable    bool   `protobuf:"varint,11,opt,name=tradeable,proto3" json:"tradeable,omitempty"`
}

ItemModifyOutput describes what is modified from item input

func (ItemModifyOutput) Actualize

func (io ItemModifyOutput) Actualize(targetItem *Item, ctx sdk.Context, addr sdk.AccAddress, ec CelEnvCollection) error

Actualize is used to update an existing item from an ItemModifyOutout

func (*ItemModifyOutput) Descriptor

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

func (*ItemModifyOutput) GetAmountMinted

func (m *ItemModifyOutput) GetAmountMinted() uint64

func (*ItemModifyOutput) GetDoubles

func (m *ItemModifyOutput) GetDoubles() []DoubleParam

func (*ItemModifyOutput) GetID

func (m *ItemModifyOutput) GetID() string

func (*ItemModifyOutput) GetItemInputRef

func (m *ItemModifyOutput) GetItemInputRef() string

func (*ItemModifyOutput) GetLongs

func (m *ItemModifyOutput) GetLongs() []LongParam

func (*ItemModifyOutput) GetMutableStrings

func (m *ItemModifyOutput) GetMutableStrings() []StringKeyValue

func (*ItemModifyOutput) GetQuantity

func (m *ItemModifyOutput) GetQuantity() uint64

func (*ItemModifyOutput) GetStrings

func (m *ItemModifyOutput) GetStrings() []StringParam

func (*ItemModifyOutput) GetTradeable

func (m *ItemModifyOutput) GetTradeable() bool

func (*ItemModifyOutput) GetTransferFee

func (m *ItemModifyOutput) GetTransferFee() []types.Coin

func (*ItemModifyOutput) Marshal

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

func (*ItemModifyOutput) MarshalTo

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

func (*ItemModifyOutput) MarshalToSizedBuffer

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

func (*ItemModifyOutput) ProtoMessage

func (*ItemModifyOutput) ProtoMessage()

func (*ItemModifyOutput) Reset

func (m *ItemModifyOutput) Reset()

func (*ItemModifyOutput) Size

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

func (*ItemModifyOutput) String

func (m *ItemModifyOutput) String() string

func (*ItemModifyOutput) Unmarshal

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

func (*ItemModifyOutput) XXX_DiscardUnknown

func (m *ItemModifyOutput) XXX_DiscardUnknown()

func (*ItemModifyOutput) XXX_Marshal

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

func (*ItemModifyOutput) XXX_Merge

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

func (*ItemModifyOutput) XXX_Size

func (m *ItemModifyOutput) XXX_Size() int

func (*ItemModifyOutput) XXX_Unmarshal

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

type ItemOutput

type ItemOutput struct {
	ID      string        `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Doubles []DoubleParam `protobuf:"bytes,2,rep,name=doubles,proto3" json:"doubles"`
	Longs   []LongParam   `protobuf:"bytes,3,rep,name=longs,proto3" json:"longs"`
	Strings []StringParam `protobuf:"bytes,4,rep,name=strings,proto3" json:"strings"`
	// defines a list of mutable strings whose value can be customized by the user
	MutableStrings []StringKeyValue `protobuf:"bytes,5,rep,name=mutableStrings,proto3" json:"mutableStrings"`
	TransferFee    []types.Coin     `protobuf:"bytes,6,rep,name=transferFee,proto3" json:"transferFee"`
	// The percentage of a trade sale retained by the cookbook owner. In the range (0.0, 1.0).
	TradePercentage github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=tradePercentage,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"tradePercentage"`
	// quantity defines the maximum amount of these items that can be created. A 0 value indicates an infinite supply
	Quantity     uint64 `protobuf:"varint,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
	AmountMinted uint64 `protobuf:"varint,9,opt,name=amountMinted,proto3" json:"amountMinted,omitempty"`
	Tradeable    bool   `protobuf:"varint,10,opt,name=tradeable,proto3" json:"tradeable,omitempty"`
}

ItemOutput models the continuum of valid outcomes for item generation in recipes

func (ItemOutput) Actualize

func (io ItemOutput) Actualize(ctx sdk.Context, cookbookID string, addr sdk.AccAddress, ec CelEnvCollection, nodeVersion uint64) (Item, error)

Actualize function actualize an item from item output data

func (*ItemOutput) Descriptor

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

func (*ItemOutput) GetAmountMinted

func (m *ItemOutput) GetAmountMinted() uint64

func (*ItemOutput) GetDoubles

func (m *ItemOutput) GetDoubles() []DoubleParam

func (*ItemOutput) GetID

func (m *ItemOutput) GetID() string

func (*ItemOutput) GetLongs

func (m *ItemOutput) GetLongs() []LongParam

func (*ItemOutput) GetMutableStrings

func (m *ItemOutput) GetMutableStrings() []StringKeyValue

func (*ItemOutput) GetQuantity

func (m *ItemOutput) GetQuantity() uint64

func (*ItemOutput) GetStrings

func (m *ItemOutput) GetStrings() []StringParam

func (*ItemOutput) GetTradeable

func (m *ItemOutput) GetTradeable() bool

func (*ItemOutput) GetTransferFee

func (m *ItemOutput) GetTransferFee() []types.Coin

func (*ItemOutput) Marshal

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

func (*ItemOutput) MarshalTo

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

func (*ItemOutput) MarshalToSizedBuffer

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

func (*ItemOutput) ProtoMessage

func (*ItemOutput) ProtoMessage()

func (*ItemOutput) Reset

func (m *ItemOutput) Reset()

func (*ItemOutput) Size

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

func (*ItemOutput) String

func (m *ItemOutput) String() string

func (*ItemOutput) Unmarshal

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

func (*ItemOutput) XXX_DiscardUnknown

func (m *ItemOutput) XXX_DiscardUnknown()

func (*ItemOutput) XXX_Marshal

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

func (*ItemOutput) XXX_Merge

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

func (*ItemOutput) XXX_Size

func (m *ItemOutput) XXX_Size() int

func (*ItemOutput) XXX_Unmarshal

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

type ItemRecord

type ItemRecord struct {
	ID      string           `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Doubles []DoubleKeyValue `protobuf:"bytes,2,rep,name=doubles,proto3" json:"doubles"`
	Longs   []LongKeyValue   `protobuf:"bytes,3,rep,name=longs,proto3" json:"longs"`
	Strings []StringKeyValue `protobuf:"bytes,4,rep,name=strings,proto3" json:"strings"`
}

func (*ItemRecord) Descriptor

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

func (*ItemRecord) GetDoubles

func (m *ItemRecord) GetDoubles() []DoubleKeyValue

func (*ItemRecord) GetID

func (m *ItemRecord) GetID() string

func (*ItemRecord) GetLongs

func (m *ItemRecord) GetLongs() []LongKeyValue

func (*ItemRecord) GetStrings

func (m *ItemRecord) GetStrings() []StringKeyValue

func (*ItemRecord) Marshal

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

func (*ItemRecord) MarshalTo

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

func (*ItemRecord) MarshalToSizedBuffer

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

func (*ItemRecord) ProtoMessage

func (*ItemRecord) ProtoMessage()

func (*ItemRecord) Reset

func (m *ItemRecord) Reset()

func (*ItemRecord) Size

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

func (*ItemRecord) String

func (m *ItemRecord) String() string

func (*ItemRecord) Unmarshal

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

func (*ItemRecord) XXX_DiscardUnknown

func (m *ItemRecord) XXX_DiscardUnknown()

func (*ItemRecord) XXX_Marshal

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

func (*ItemRecord) XXX_Merge

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

func (*ItemRecord) XXX_Size

func (m *ItemRecord) XXX_Size() int

func (*ItemRecord) XXX_Unmarshal

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

type ItemRef

type ItemRef struct {
	CookbookID string `protobuf:"bytes,1,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	ItemID     string `protobuf:"bytes,2,opt,name=itemID,proto3" json:"itemID,omitempty"`
}

func (*ItemRef) Descriptor

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

func (*ItemRef) GetCookbookID

func (m *ItemRef) GetCookbookID() string

func (*ItemRef) GetItemID

func (m *ItemRef) GetItemID() string

func (*ItemRef) Marshal

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

func (*ItemRef) MarshalTo

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

func (*ItemRef) MarshalToSizedBuffer

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

func (*ItemRef) ProtoMessage

func (*ItemRef) ProtoMessage()

func (*ItemRef) Reset

func (m *ItemRef) Reset()

func (*ItemRef) Size

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

func (*ItemRef) String

func (m *ItemRef) String() string

func (*ItemRef) Unmarshal

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

func (*ItemRef) XXX_DiscardUnknown

func (m *ItemRef) XXX_DiscardUnknown()

func (*ItemRef) XXX_Marshal

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

func (*ItemRef) XXX_Merge

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

func (*ItemRef) XXX_Size

func (m *ItemRef) XXX_Size() int

func (*ItemRef) XXX_Unmarshal

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

type LongInputParam

type LongInputParam struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The minimum legal value of this parameter.
	MinValue int64 `protobuf:"varint,2,opt,name=minValue,proto3" json:"minValue,omitempty"`
	// The maximum legal value of this parameter.
	MaxValue int64 `protobuf:"varint,3,opt,name=maxValue,proto3" json:"maxValue,omitempty"`
}

LongInputParam describes the bounds on an item input/output parameter of type int64

func (*LongInputParam) Descriptor

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

func (*LongInputParam) GetKey

func (m *LongInputParam) GetKey() string

func (*LongInputParam) GetMaxValue

func (m *LongInputParam) GetMaxValue() int64

func (*LongInputParam) GetMinValue

func (m *LongInputParam) GetMinValue() int64

func (LongInputParam) Has

func (lp LongInputParam) Has(input int) bool

Has validate if input is between min max range

func (*LongInputParam) Marshal

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

func (*LongInputParam) MarshalTo

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

func (*LongInputParam) MarshalToSizedBuffer

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

func (*LongInputParam) ProtoMessage

func (*LongInputParam) ProtoMessage()

func (*LongInputParam) Reset

func (m *LongInputParam) Reset()

func (*LongInputParam) Size

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

func (*LongInputParam) String

func (m *LongInputParam) String() string

func (*LongInputParam) Unmarshal

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

func (*LongInputParam) XXX_DiscardUnknown

func (m *LongInputParam) XXX_DiscardUnknown()

func (*LongInputParam) XXX_Marshal

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

func (*LongInputParam) XXX_Merge

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

func (*LongInputParam) XXX_Size

func (m *LongInputParam) XXX_Size() int

func (*LongInputParam) XXX_Unmarshal

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

type LongInputParamList

type LongInputParamList []LongInputParam

func (LongInputParamList) Actualize

func (lpm LongInputParamList) Actualize() []LongKeyValue

Actualize generate a value from range

type LongKeyValue

type LongKeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value int64  `protobuf:"varint,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

LongKeyValue describes long key/value set

func (*LongKeyValue) Descriptor

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

func (*LongKeyValue) GetKey

func (m *LongKeyValue) GetKey() string

func (*LongKeyValue) GetValue

func (m *LongKeyValue) GetValue() int64

func (*LongKeyValue) Marshal

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

func (*LongKeyValue) MarshalTo

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

func (*LongKeyValue) MarshalToSizedBuffer

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

func (*LongKeyValue) ProtoMessage

func (*LongKeyValue) ProtoMessage()

func (*LongKeyValue) Reset

func (m *LongKeyValue) Reset()

func (*LongKeyValue) Size

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

func (*LongKeyValue) String

func (m *LongKeyValue) String() string

func (*LongKeyValue) Unmarshal

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

func (*LongKeyValue) XXX_DiscardUnknown

func (m *LongKeyValue) XXX_DiscardUnknown()

func (*LongKeyValue) XXX_Marshal

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

func (*LongKeyValue) XXX_Merge

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

func (*LongKeyValue) XXX_Size

func (m *LongKeyValue) XXX_Size() int

func (*LongKeyValue) XXX_Unmarshal

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

type LongKeyValueList

type LongKeyValueList []LongKeyValue

type LongParam

type LongParam struct {
	Key          string           `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	WeightRanges []IntWeightRange `protobuf:"bytes,2,rep,name=weightRanges,proto3" json:"weightRanges"`
	// When program is not empty, weightRanges is ignored
	Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"`
}

LongParam describes the bounds on an item input/output parameter of type int64

func (*LongParam) Descriptor

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

func (*LongParam) GetKey

func (m *LongParam) GetKey() string

func (*LongParam) GetProgram

func (m *LongParam) GetProgram() string

func (*LongParam) GetWeightRanges

func (m *LongParam) GetWeightRanges() []IntWeightRange

func (*LongParam) Marshal

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

func (*LongParam) MarshalTo

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

func (*LongParam) MarshalToSizedBuffer

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

func (*LongParam) ProtoMessage

func (*LongParam) ProtoMessage()

func (*LongParam) Reset

func (m *LongParam) Reset()

func (*LongParam) Size

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

func (*LongParam) String

func (m *LongParam) String() string

func (*LongParam) Unmarshal

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

func (*LongParam) XXX_DiscardUnknown

func (m *LongParam) XXX_DiscardUnknown()

func (*LongParam) XXX_Marshal

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

func (*LongParam) XXX_Merge

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

func (*LongParam) XXX_Size

func (m *LongParam) XXX_Size() int

func (*LongParam) XXX_Unmarshal

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

type LongParamList

type LongParamList []LongParam

func (LongParamList) Actualize

Actualize builds the params

type MsgBurnDebtToken

type MsgBurnDebtToken struct {
	Creator    string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	RedeemInfo RedeemInfo `protobuf:"bytes,2,opt,name=redeemInfo,proto3" json:"redeemInfo"`
}

this line is used by starport scaffolding # proto/tx/message

func NewMsgBurnDebtToken

func NewMsgBurnDebtToken(creator string, redeemInfo RedeemInfo) *MsgBurnDebtToken

func (*MsgBurnDebtToken) Descriptor

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

func (*MsgBurnDebtToken) GetCreator

func (m *MsgBurnDebtToken) GetCreator() string

func (*MsgBurnDebtToken) GetRedeemInfo

func (m *MsgBurnDebtToken) GetRedeemInfo() RedeemInfo

func (*MsgBurnDebtToken) GetSignBytes

func (msg *MsgBurnDebtToken) GetSignBytes() []byte

func (*MsgBurnDebtToken) GetSigners

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

func (*MsgBurnDebtToken) Marshal

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

func (*MsgBurnDebtToken) MarshalTo

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

func (*MsgBurnDebtToken) MarshalToSizedBuffer

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

func (*MsgBurnDebtToken) ProtoMessage

func (*MsgBurnDebtToken) ProtoMessage()

func (*MsgBurnDebtToken) Reset

func (m *MsgBurnDebtToken) Reset()

func (*MsgBurnDebtToken) Route

func (msg *MsgBurnDebtToken) Route() string

func (*MsgBurnDebtToken) Size

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

func (*MsgBurnDebtToken) String

func (m *MsgBurnDebtToken) String() string

func (*MsgBurnDebtToken) Type

func (msg *MsgBurnDebtToken) Type() string

func (*MsgBurnDebtToken) Unmarshal

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

func (*MsgBurnDebtToken) ValidateBasic

func (msg *MsgBurnDebtToken) ValidateBasic() error

func (*MsgBurnDebtToken) XXX_DiscardUnknown

func (m *MsgBurnDebtToken) XXX_DiscardUnknown()

func (*MsgBurnDebtToken) XXX_Marshal

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

func (*MsgBurnDebtToken) XXX_Merge

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

func (*MsgBurnDebtToken) XXX_Size

func (m *MsgBurnDebtToken) XXX_Size() int

func (*MsgBurnDebtToken) XXX_Unmarshal

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

type MsgBurnDebtTokenResponse

type MsgBurnDebtTokenResponse struct {
}

func (*MsgBurnDebtTokenResponse) Descriptor

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

func (*MsgBurnDebtTokenResponse) Marshal

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

func (*MsgBurnDebtTokenResponse) MarshalTo

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

func (*MsgBurnDebtTokenResponse) MarshalToSizedBuffer

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

func (*MsgBurnDebtTokenResponse) ProtoMessage

func (*MsgBurnDebtTokenResponse) ProtoMessage()

func (*MsgBurnDebtTokenResponse) Reset

func (m *MsgBurnDebtTokenResponse) Reset()

func (*MsgBurnDebtTokenResponse) Size

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

func (*MsgBurnDebtTokenResponse) String

func (m *MsgBurnDebtTokenResponse) String() string

func (*MsgBurnDebtTokenResponse) Unmarshal

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

func (*MsgBurnDebtTokenResponse) XXX_DiscardUnknown

func (m *MsgBurnDebtTokenResponse) XXX_DiscardUnknown()

func (*MsgBurnDebtTokenResponse) XXX_Marshal

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

func (*MsgBurnDebtTokenResponse) XXX_Merge

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

func (*MsgBurnDebtTokenResponse) XXX_Size

func (m *MsgBurnDebtTokenResponse) XXX_Size() int

func (*MsgBurnDebtTokenResponse) XXX_Unmarshal

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

type MsgCancelTrade

type MsgCancelTrade struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      uint64 `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func NewMsgCancelTrade

func NewMsgCancelTrade(creator string, id uint64) *MsgCancelTrade

func (*MsgCancelTrade) Descriptor

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

func (*MsgCancelTrade) GetCreator

func (m *MsgCancelTrade) GetCreator() string

func (*MsgCancelTrade) GetID

func (m *MsgCancelTrade) GetID() uint64

func (*MsgCancelTrade) GetSignBytes

func (msg *MsgCancelTrade) GetSignBytes() []byte

func (*MsgCancelTrade) GetSigners

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

func (*MsgCancelTrade) Marshal

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

func (*MsgCancelTrade) MarshalTo

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

func (*MsgCancelTrade) MarshalToSizedBuffer

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

func (*MsgCancelTrade) ProtoMessage

func (*MsgCancelTrade) ProtoMessage()

func (*MsgCancelTrade) Reset

func (m *MsgCancelTrade) Reset()

func (*MsgCancelTrade) Route

func (msg *MsgCancelTrade) Route() string

func (*MsgCancelTrade) Size

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

func (*MsgCancelTrade) String

func (m *MsgCancelTrade) String() string

func (*MsgCancelTrade) Type

func (msg *MsgCancelTrade) Type() string

func (*MsgCancelTrade) Unmarshal

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

func (*MsgCancelTrade) ValidateBasic

func (msg *MsgCancelTrade) ValidateBasic() error

func (*MsgCancelTrade) XXX_DiscardUnknown

func (m *MsgCancelTrade) XXX_DiscardUnknown()

func (*MsgCancelTrade) XXX_Marshal

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

func (*MsgCancelTrade) XXX_Merge

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

func (*MsgCancelTrade) XXX_Size

func (m *MsgCancelTrade) XXX_Size() int

func (*MsgCancelTrade) XXX_Unmarshal

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

type MsgCancelTradeResponse

type MsgCancelTradeResponse struct {
}

func (*MsgCancelTradeResponse) Descriptor

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

func (*MsgCancelTradeResponse) Marshal

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

func (*MsgCancelTradeResponse) MarshalTo

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

func (*MsgCancelTradeResponse) MarshalToSizedBuffer

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

func (*MsgCancelTradeResponse) ProtoMessage

func (*MsgCancelTradeResponse) ProtoMessage()

func (*MsgCancelTradeResponse) Reset

func (m *MsgCancelTradeResponse) Reset()

func (*MsgCancelTradeResponse) Size

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

func (*MsgCancelTradeResponse) String

func (m *MsgCancelTradeResponse) String() string

func (*MsgCancelTradeResponse) Unmarshal

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

func (*MsgCancelTradeResponse) XXX_DiscardUnknown

func (m *MsgCancelTradeResponse) XXX_DiscardUnknown()

func (*MsgCancelTradeResponse) XXX_Marshal

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

func (*MsgCancelTradeResponse) XXX_Merge

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

func (*MsgCancelTradeResponse) XXX_Size

func (m *MsgCancelTradeResponse) XXX_Size() int

func (*MsgCancelTradeResponse) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	// this line is used by starport scaffolding # proto/tx/rpc
	BurnDebtToken(ctx context.Context, in *MsgBurnDebtToken, opts ...grpc.CallOption) (*MsgBurnDebtTokenResponse, error)
	UpdateAccount(ctx context.Context, in *MsgUpdateAccount, opts ...grpc.CallOption) (*MsgUpdateAccountResponse, error)
	FulfillTrade(ctx context.Context, in *MsgFulfillTrade, opts ...grpc.CallOption) (*MsgFulfillTradeResponse, error)
	CreateTrade(ctx context.Context, in *MsgCreateTrade, opts ...grpc.CallOption) (*MsgCreateTradeResponse, error)
	CancelTrade(ctx context.Context, in *MsgCancelTrade, opts ...grpc.CallOption) (*MsgCancelTradeResponse, error)
	CompleteExecutionEarly(ctx context.Context, in *MsgCompleteExecutionEarly, opts ...grpc.CallOption) (*MsgCompleteExecutionEarlyResponse, error)
	TransferCookbook(ctx context.Context, in *MsgTransferCookbook, opts ...grpc.CallOption) (*MsgTransferCookbookResponse, error)
	GoogleInAppPurchaseGetCoins(ctx context.Context, in *MsgGoogleInAppPurchaseGetCoins, opts ...grpc.CallOption) (*MsgGoogleInAppPurchaseGetCoinsResponse, error)
	CreateAccount(ctx context.Context, in *MsgCreateAccount, opts ...grpc.CallOption) (*MsgCreateAccountResponse, error)
	SendItems(ctx context.Context, in *MsgSendItems, opts ...grpc.CallOption) (*MsgSendItemsResponse, error)
	ExecuteRecipe(ctx context.Context, in *MsgExecuteRecipe, opts ...grpc.CallOption) (*MsgExecuteRecipeResponse, error)
	SetItemString(ctx context.Context, in *MsgSetItemString, opts ...grpc.CallOption) (*MsgSetItemStringResponse, error)
	CreateRecipe(ctx context.Context, in *MsgCreateRecipe, opts ...grpc.CallOption) (*MsgCreateRecipeResponse, error)
	UpdateRecipe(ctx context.Context, in *MsgUpdateRecipe, opts ...grpc.CallOption) (*MsgUpdateRecipeResponse, error)
	CreateCookbook(ctx context.Context, in *MsgCreateCookbook, opts ...grpc.CallOption) (*MsgCreateCookbookResponse, error)
	UpdateCookbook(ctx context.Context, in *MsgUpdateCookbook, opts ...grpc.CallOption) (*MsgUpdateCookbookResponse, 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 MsgCompleteExecutionEarly

type MsgCompleteExecutionEarly struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID      string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func NewMsgCompleteExecutionEarly

func NewMsgCompleteExecutionEarly(creator string, id string) *MsgCompleteExecutionEarly

func (*MsgCompleteExecutionEarly) Descriptor

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

func (*MsgCompleteExecutionEarly) GetCreator

func (m *MsgCompleteExecutionEarly) GetCreator() string

func (*MsgCompleteExecutionEarly) GetID

func (m *MsgCompleteExecutionEarly) GetID() string

func (*MsgCompleteExecutionEarly) GetSignBytes

func (msg *MsgCompleteExecutionEarly) GetSignBytes() []byte

func (*MsgCompleteExecutionEarly) GetSigners

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

func (*MsgCompleteExecutionEarly) Marshal

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

func (*MsgCompleteExecutionEarly) MarshalTo

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

func (*MsgCompleteExecutionEarly) MarshalToSizedBuffer

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

func (*MsgCompleteExecutionEarly) ProtoMessage

func (*MsgCompleteExecutionEarly) ProtoMessage()

func (*MsgCompleteExecutionEarly) Reset

func (m *MsgCompleteExecutionEarly) Reset()

func (*MsgCompleteExecutionEarly) Route

func (msg *MsgCompleteExecutionEarly) Route() string

func (*MsgCompleteExecutionEarly) Size

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

func (*MsgCompleteExecutionEarly) String

func (m *MsgCompleteExecutionEarly) String() string

func (*MsgCompleteExecutionEarly) Type

func (msg *MsgCompleteExecutionEarly) Type() string

func (*MsgCompleteExecutionEarly) Unmarshal

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

func (*MsgCompleteExecutionEarly) ValidateBasic

func (msg *MsgCompleteExecutionEarly) ValidateBasic() error

func (*MsgCompleteExecutionEarly) XXX_DiscardUnknown

func (m *MsgCompleteExecutionEarly) XXX_DiscardUnknown()

func (*MsgCompleteExecutionEarly) XXX_Marshal

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

func (*MsgCompleteExecutionEarly) XXX_Merge

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

func (*MsgCompleteExecutionEarly) XXX_Size

func (m *MsgCompleteExecutionEarly) XXX_Size() int

func (*MsgCompleteExecutionEarly) XXX_Unmarshal

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

type MsgCompleteExecutionEarlyResponse

type MsgCompleteExecutionEarlyResponse struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*MsgCompleteExecutionEarlyResponse) Descriptor

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

func (*MsgCompleteExecutionEarlyResponse) GetID

func (*MsgCompleteExecutionEarlyResponse) Marshal

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

func (*MsgCompleteExecutionEarlyResponse) MarshalTo

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

func (*MsgCompleteExecutionEarlyResponse) MarshalToSizedBuffer

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

func (*MsgCompleteExecutionEarlyResponse) ProtoMessage

func (*MsgCompleteExecutionEarlyResponse) ProtoMessage()

func (*MsgCompleteExecutionEarlyResponse) Reset

func (*MsgCompleteExecutionEarlyResponse) Size

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

func (*MsgCompleteExecutionEarlyResponse) String

func (*MsgCompleteExecutionEarlyResponse) Unmarshal

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

func (*MsgCompleteExecutionEarlyResponse) XXX_DiscardUnknown

func (m *MsgCompleteExecutionEarlyResponse) XXX_DiscardUnknown()

func (*MsgCompleteExecutionEarlyResponse) XXX_Marshal

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

func (*MsgCompleteExecutionEarlyResponse) XXX_Merge

func (*MsgCompleteExecutionEarlyResponse) XXX_Size

func (m *MsgCompleteExecutionEarlyResponse) XXX_Size() int

func (*MsgCompleteExecutionEarlyResponse) XXX_Unmarshal

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

type MsgCreateAccount

type MsgCreateAccount struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
}

func NewMsgCreateAccount

func NewMsgCreateAccount(creator string, username string) *MsgCreateAccount

func (*MsgCreateAccount) Descriptor

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

func (*MsgCreateAccount) GetCreator

func (m *MsgCreateAccount) GetCreator() string

func (*MsgCreateAccount) GetSignBytes

func (msg *MsgCreateAccount) GetSignBytes() []byte

func (*MsgCreateAccount) GetSigners

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

func (*MsgCreateAccount) GetUsername

func (m *MsgCreateAccount) GetUsername() string

func (*MsgCreateAccount) Marshal

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

func (*MsgCreateAccount) MarshalTo

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

func (*MsgCreateAccount) MarshalToSizedBuffer

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

func (*MsgCreateAccount) ProtoMessage

func (*MsgCreateAccount) ProtoMessage()

func (*MsgCreateAccount) Reset

func (m *MsgCreateAccount) Reset()

func (*MsgCreateAccount) Route

func (msg *MsgCreateAccount) Route() string

func (*MsgCreateAccount) Size

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

func (*MsgCreateAccount) String

func (m *MsgCreateAccount) String() string

func (*MsgCreateAccount) Type

func (msg *MsgCreateAccount) Type() string

func (*MsgCreateAccount) Unmarshal

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

func (*MsgCreateAccount) ValidateBasic

func (msg *MsgCreateAccount) ValidateBasic() error

func (*MsgCreateAccount) XXX_DiscardUnknown

func (m *MsgCreateAccount) XXX_DiscardUnknown()

func (*MsgCreateAccount) XXX_Marshal

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

func (*MsgCreateAccount) XXX_Merge

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

func (*MsgCreateAccount) XXX_Size

func (m *MsgCreateAccount) XXX_Size() int

func (*MsgCreateAccount) XXX_Unmarshal

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

type MsgCreateAccountResponse

type MsgCreateAccountResponse struct {
}

func (*MsgCreateAccountResponse) Descriptor

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

func (*MsgCreateAccountResponse) Marshal

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

func (*MsgCreateAccountResponse) MarshalTo

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

func (*MsgCreateAccountResponse) MarshalToSizedBuffer

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

func (*MsgCreateAccountResponse) ProtoMessage

func (*MsgCreateAccountResponse) ProtoMessage()

func (*MsgCreateAccountResponse) Reset

func (m *MsgCreateAccountResponse) Reset()

func (*MsgCreateAccountResponse) Size

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

func (*MsgCreateAccountResponse) String

func (m *MsgCreateAccountResponse) String() string

func (*MsgCreateAccountResponse) Unmarshal

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

func (*MsgCreateAccountResponse) XXX_DiscardUnknown

func (m *MsgCreateAccountResponse) XXX_DiscardUnknown()

func (*MsgCreateAccountResponse) XXX_Marshal

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

func (*MsgCreateAccountResponse) XXX_Merge

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

func (*MsgCreateAccountResponse) XXX_Size

func (m *MsgCreateAccountResponse) XXX_Size() int

func (*MsgCreateAccountResponse) XXX_Unmarshal

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

type MsgCreateCookbook

type MsgCreateCookbook struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID           string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	Name         string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description  string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Developer    string `protobuf:"bytes,5,opt,name=developer,proto3" json:"developer,omitempty"`
	Version      string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	SupportEmail string `protobuf:"bytes,7,opt,name=supportEmail,proto3" json:"supportEmail,omitempty"`
	Enabled      bool   `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

func NewMsgCreateCookbook

func NewMsgCreateCookbook(creator string, id string, name string, description string, developer string, version string, supportEmail string, enabled bool) *MsgCreateCookbook

func (*MsgCreateCookbook) Descriptor

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

func (*MsgCreateCookbook) GetCreator

func (m *MsgCreateCookbook) GetCreator() string

func (*MsgCreateCookbook) GetDescription

func (m *MsgCreateCookbook) GetDescription() string

func (*MsgCreateCookbook) GetDeveloper

func (m *MsgCreateCookbook) GetDeveloper() string

func (*MsgCreateCookbook) GetEnabled

func (m *MsgCreateCookbook) GetEnabled() bool

func (*MsgCreateCookbook) GetID

func (m *MsgCreateCookbook) GetID() string

func (*MsgCreateCookbook) GetName

func (m *MsgCreateCookbook) GetName() string

func (*MsgCreateCookbook) GetSignBytes

func (msg *MsgCreateCookbook) GetSignBytes() []byte

func (*MsgCreateCookbook) GetSigners

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

func (*MsgCreateCookbook) GetSupportEmail

func (m *MsgCreateCookbook) GetSupportEmail() string

func (*MsgCreateCookbook) GetVersion

func (m *MsgCreateCookbook) GetVersion() string

func (*MsgCreateCookbook) Marshal

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

func (*MsgCreateCookbook) MarshalTo

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

func (*MsgCreateCookbook) MarshalToSizedBuffer

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

func (*MsgCreateCookbook) ProtoMessage

func (*MsgCreateCookbook) ProtoMessage()

func (*MsgCreateCookbook) Reset

func (m *MsgCreateCookbook) Reset()

func (*MsgCreateCookbook) Route

func (msg *MsgCreateCookbook) Route() string

func (*MsgCreateCookbook) Size

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

func (*MsgCreateCookbook) String

func (m *MsgCreateCookbook) String() string

func (*MsgCreateCookbook) Type

func (msg *MsgCreateCookbook) Type() string

func (*MsgCreateCookbook) Unmarshal

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

func (*MsgCreateCookbook) ValidateBasic

func (msg *MsgCreateCookbook) ValidateBasic() error

func (*MsgCreateCookbook) XXX_DiscardUnknown

func (m *MsgCreateCookbook) XXX_DiscardUnknown()

func (*MsgCreateCookbook) XXX_Marshal

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

func (*MsgCreateCookbook) XXX_Merge

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

func (*MsgCreateCookbook) XXX_Size

func (m *MsgCreateCookbook) XXX_Size() int

func (*MsgCreateCookbook) XXX_Unmarshal

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

type MsgCreateCookbookResponse

type MsgCreateCookbookResponse struct {
}

func (*MsgCreateCookbookResponse) Descriptor

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

func (*MsgCreateCookbookResponse) Marshal

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

func (*MsgCreateCookbookResponse) MarshalTo

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

func (*MsgCreateCookbookResponse) MarshalToSizedBuffer

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

func (*MsgCreateCookbookResponse) ProtoMessage

func (*MsgCreateCookbookResponse) ProtoMessage()

func (*MsgCreateCookbookResponse) Reset

func (m *MsgCreateCookbookResponse) Reset()

func (*MsgCreateCookbookResponse) Size

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

func (*MsgCreateCookbookResponse) String

func (m *MsgCreateCookbookResponse) String() string

func (*MsgCreateCookbookResponse) Unmarshal

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

func (*MsgCreateCookbookResponse) XXX_DiscardUnknown

func (m *MsgCreateCookbookResponse) XXX_DiscardUnknown()

func (*MsgCreateCookbookResponse) XXX_Marshal

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

func (*MsgCreateCookbookResponse) XXX_Merge

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

func (*MsgCreateCookbookResponse) XXX_Size

func (m *MsgCreateCookbookResponse) XXX_Size() int

func (*MsgCreateCookbookResponse) XXX_Unmarshal

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

type MsgCreateRecipe

type MsgCreateRecipe struct {
	Creator       string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CookbookID    string            `protobuf:"bytes,2,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	ID            string            `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	Name          string            `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description   string            `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Version       string            `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	CoinInputs    []CoinInput       `protobuf:"bytes,7,rep,name=coinInputs,proto3" json:"coinInputs"`
	ItemInputs    []ItemInput       `protobuf:"bytes,8,rep,name=itemInputs,proto3" json:"itemInputs"`
	Entries       EntriesList       `protobuf:"bytes,9,opt,name=entries,proto3" json:"entries"`
	Outputs       []WeightedOutputs `protobuf:"bytes,10,rep,name=outputs,proto3" json:"outputs"`
	BlockInterval int64             `protobuf:"varint,11,opt,name=blockInterval,proto3" json:"blockInterval,omitempty"`
	CostPerBlock  types.Coin        `protobuf:"bytes,12,opt,name=costPerBlock,proto3" json:"costPerBlock"`
	Enabled       bool              `protobuf:"varint,13,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ExtraInfo     string            `protobuf:"bytes,14,opt,name=extraInfo,proto3" json:"extraInfo,omitempty"`
}

func NewMsgCreateRecipe

func NewMsgCreateRecipe(creator string, cookbookID string, id string, name string, description string, version string, coinInput []CoinInput, itemInput []ItemInput, entries EntriesList, weightedOutputs []WeightedOutputs, blockInterval int64, costPerBlock sdk.Coin, enabled bool, extraInfo string) *MsgCreateRecipe

func (*MsgCreateRecipe) Descriptor

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

func (*MsgCreateRecipe) GetBlockInterval

func (m *MsgCreateRecipe) GetBlockInterval() int64

func (*MsgCreateRecipe) GetCoinInputs

func (m *MsgCreateRecipe) GetCoinInputs() []CoinInput

func (*MsgCreateRecipe) GetCookbookID

func (m *MsgCreateRecipe) GetCookbookID() string

func (*MsgCreateRecipe) GetCostPerBlock

func (m *MsgCreateRecipe) GetCostPerBlock() types.Coin

func (*MsgCreateRecipe) GetCreator

func (m *MsgCreateRecipe) GetCreator() string

func (*MsgCreateRecipe) GetDescription

func (m *MsgCreateRecipe) GetDescription() string

func (*MsgCreateRecipe) GetEnabled

func (m *MsgCreateRecipe) GetEnabled() bool

func (*MsgCreateRecipe) GetEntries

func (m *MsgCreateRecipe) GetEntries() EntriesList

func (*MsgCreateRecipe) GetExtraInfo

func (m *MsgCreateRecipe) GetExtraInfo() string

func (*MsgCreateRecipe) GetID

func (m *MsgCreateRecipe) GetID() string

func (*MsgCreateRecipe) GetItemInputs

func (m *MsgCreateRecipe) GetItemInputs() []ItemInput

func (*MsgCreateRecipe) GetName

func (m *MsgCreateRecipe) GetName() string

func (*MsgCreateRecipe) GetOutputs

func (m *MsgCreateRecipe) GetOutputs() []WeightedOutputs

func (*MsgCreateRecipe) GetSignBytes

func (msg *MsgCreateRecipe) GetSignBytes() []byte

func (*MsgCreateRecipe) GetSigners

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

func (*MsgCreateRecipe) GetVersion

func (m *MsgCreateRecipe) GetVersion() string

func (*MsgCreateRecipe) Marshal

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

func (*MsgCreateRecipe) MarshalTo

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

func (*MsgCreateRecipe) MarshalToSizedBuffer

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

func (*MsgCreateRecipe) ProtoMessage

func (*MsgCreateRecipe) ProtoMessage()

func (*MsgCreateRecipe) Reset

func (m *MsgCreateRecipe) Reset()

func (*MsgCreateRecipe) Route

func (msg *MsgCreateRecipe) Route() string

func (*MsgCreateRecipe) Size

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

func (*MsgCreateRecipe) String

func (m *MsgCreateRecipe) String() string

func (*MsgCreateRecipe) Type

func (msg *MsgCreateRecipe) Type() string

func (*MsgCreateRecipe) Unmarshal

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

func (*MsgCreateRecipe) ValidateBasic

func (msg *MsgCreateRecipe) ValidateBasic() error

func (*MsgCreateRecipe) XXX_DiscardUnknown

func (m *MsgCreateRecipe) XXX_DiscardUnknown()

func (*MsgCreateRecipe) XXX_Marshal

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

func (*MsgCreateRecipe) XXX_Merge

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

func (*MsgCreateRecipe) XXX_Size

func (m *MsgCreateRecipe) XXX_Size() int

func (*MsgCreateRecipe) XXX_Unmarshal

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

type MsgCreateRecipeResponse

type MsgCreateRecipeResponse struct {
}

func (*MsgCreateRecipeResponse) Descriptor

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

func (*MsgCreateRecipeResponse) Marshal

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

func (*MsgCreateRecipeResponse) MarshalTo

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

func (*MsgCreateRecipeResponse) MarshalToSizedBuffer

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

func (*MsgCreateRecipeResponse) ProtoMessage

func (*MsgCreateRecipeResponse) ProtoMessage()

func (*MsgCreateRecipeResponse) Reset

func (m *MsgCreateRecipeResponse) Reset()

func (*MsgCreateRecipeResponse) Size

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

func (*MsgCreateRecipeResponse) String

func (m *MsgCreateRecipeResponse) String() string

func (*MsgCreateRecipeResponse) Unmarshal

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

func (*MsgCreateRecipeResponse) XXX_DiscardUnknown

func (m *MsgCreateRecipeResponse) XXX_DiscardUnknown()

func (*MsgCreateRecipeResponse) XXX_Marshal

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

func (*MsgCreateRecipeResponse) XXX_Merge

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

func (*MsgCreateRecipeResponse) XXX_Size

func (m *MsgCreateRecipeResponse) XXX_Size() int

func (*MsgCreateRecipeResponse) XXX_Unmarshal

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

type MsgCreateTrade

type MsgCreateTrade struct {
	Creator     string                                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CoinInputs  []CoinInput                              `protobuf:"bytes,2,rep,name=coinInputs,proto3" json:"coinInputs"`
	ItemInputs  []ItemInput                              `protobuf:"bytes,3,rep,name=itemInputs,proto3" json:"itemInputs"`
	CoinOutputs github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,4,rep,name=coinOutputs,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coinOutputs"`
	ItemOutputs []ItemRef                                `protobuf:"bytes,5,rep,name=itemOutputs,proto3" json:"itemOutputs"`
	ExtraInfo   string                                   `protobuf:"bytes,6,opt,name=extraInfo,proto3" json:"extraInfo,omitempty"`
}

func NewMsgCreateTrade

func NewMsgCreateTrade(creator string, coinInputs []CoinInput, itemInputs []ItemInput, coinOutputs sdk.Coins, itemOutputs []ItemRef, extraInfo string) *MsgCreateTrade

func (*MsgCreateTrade) Descriptor

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

func (*MsgCreateTrade) GetCoinInputs

func (m *MsgCreateTrade) GetCoinInputs() []CoinInput

func (*MsgCreateTrade) GetCoinOutputs

func (*MsgCreateTrade) GetCreator

func (m *MsgCreateTrade) GetCreator() string

func (*MsgCreateTrade) GetExtraInfo

func (m *MsgCreateTrade) GetExtraInfo() string

func (*MsgCreateTrade) GetItemInputs

func (m *MsgCreateTrade) GetItemInputs() []ItemInput

func (*MsgCreateTrade) GetItemOutputs

func (m *MsgCreateTrade) GetItemOutputs() []ItemRef

func (*MsgCreateTrade) GetSignBytes

func (msg *MsgCreateTrade) GetSignBytes() []byte

func (*MsgCreateTrade) GetSigners

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

func (*MsgCreateTrade) Marshal

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

func (*MsgCreateTrade) MarshalTo

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

func (*MsgCreateTrade) MarshalToSizedBuffer

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

func (*MsgCreateTrade) ProtoMessage

func (*MsgCreateTrade) ProtoMessage()

func (*MsgCreateTrade) Reset

func (m *MsgCreateTrade) Reset()

func (*MsgCreateTrade) Route

func (msg *MsgCreateTrade) Route() string

func (*MsgCreateTrade) Size

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

func (*MsgCreateTrade) String

func (m *MsgCreateTrade) String() string

func (*MsgCreateTrade) Type

func (msg *MsgCreateTrade) Type() string

func (*MsgCreateTrade) Unmarshal

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

func (*MsgCreateTrade) ValidateBasic

func (msg *MsgCreateTrade) ValidateBasic() error

func (*MsgCreateTrade) XXX_DiscardUnknown

func (m *MsgCreateTrade) XXX_DiscardUnknown()

func (*MsgCreateTrade) XXX_Marshal

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

func (*MsgCreateTrade) XXX_Merge

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

func (*MsgCreateTrade) XXX_Size

func (m *MsgCreateTrade) XXX_Size() int

func (*MsgCreateTrade) XXX_Unmarshal

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

type MsgCreateTradeResponse

type MsgCreateTradeResponse struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*MsgCreateTradeResponse) Descriptor

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

func (*MsgCreateTradeResponse) GetID

func (m *MsgCreateTradeResponse) GetID() uint64

func (*MsgCreateTradeResponse) Marshal

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

func (*MsgCreateTradeResponse) MarshalTo

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

func (*MsgCreateTradeResponse) MarshalToSizedBuffer

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

func (*MsgCreateTradeResponse) ProtoMessage

func (*MsgCreateTradeResponse) ProtoMessage()

func (*MsgCreateTradeResponse) Reset

func (m *MsgCreateTradeResponse) Reset()

func (*MsgCreateTradeResponse) Size

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

func (*MsgCreateTradeResponse) String

func (m *MsgCreateTradeResponse) String() string

func (*MsgCreateTradeResponse) Unmarshal

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

func (*MsgCreateTradeResponse) XXX_DiscardUnknown

func (m *MsgCreateTradeResponse) XXX_DiscardUnknown()

func (*MsgCreateTradeResponse) XXX_Marshal

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

func (*MsgCreateTradeResponse) XXX_Merge

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

func (*MsgCreateTradeResponse) XXX_Size

func (m *MsgCreateTradeResponse) XXX_Size() int

func (*MsgCreateTradeResponse) XXX_Unmarshal

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

type MsgExecuteRecipe

type MsgExecuteRecipe struct {
	Creator         string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CookbookID      string        `protobuf:"bytes,2,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	RecipeID        string        `protobuf:"bytes,3,opt,name=recipeID,proto3" json:"recipeID,omitempty"`
	CoinInputsIndex uint64        `protobuf:"varint,4,opt,name=coinInputsIndex,proto3" json:"coinInputsIndex,omitempty"`
	ItemIDs         []string      `protobuf:"bytes,5,rep,name=itemIDs,proto3" json:"itemIDs,omitempty"`
	PaymentInfos    []PaymentInfo `protobuf:"bytes,6,rep,name=paymentInfos,proto3" json:"paymentInfos"`
}

func NewMsgExecuteRecipe

func NewMsgExecuteRecipe(creator string, cookbookID string, recipeID string, coinInputsIndex uint64, itemIDs []string, paymentInfos []PaymentInfo) *MsgExecuteRecipe

func (*MsgExecuteRecipe) Descriptor

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

func (*MsgExecuteRecipe) GetCoinInputsIndex

func (m *MsgExecuteRecipe) GetCoinInputsIndex() uint64

func (*MsgExecuteRecipe) GetCookbookID

func (m *MsgExecuteRecipe) GetCookbookID() string

func (*MsgExecuteRecipe) GetCreator

func (m *MsgExecuteRecipe) GetCreator() string

func (*MsgExecuteRecipe) GetItemIDs

func (m *MsgExecuteRecipe) GetItemIDs() []string

func (*MsgExecuteRecipe) GetPaymentInfos

func (m *MsgExecuteRecipe) GetPaymentInfos() []PaymentInfo

func (*MsgExecuteRecipe) GetRecipeID

func (m *MsgExecuteRecipe) GetRecipeID() string

func (*MsgExecuteRecipe) GetSignBytes

func (msg *MsgExecuteRecipe) GetSignBytes() []byte

func (*MsgExecuteRecipe) GetSigners

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

func (*MsgExecuteRecipe) Marshal

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

func (*MsgExecuteRecipe) MarshalTo

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

func (*MsgExecuteRecipe) MarshalToSizedBuffer

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

func (*MsgExecuteRecipe) ProtoMessage

func (*MsgExecuteRecipe) ProtoMessage()

func (*MsgExecuteRecipe) Reset

func (m *MsgExecuteRecipe) Reset()

func (*MsgExecuteRecipe) Route

func (msg *MsgExecuteRecipe) Route() string

func (*MsgExecuteRecipe) Size

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

func (*MsgExecuteRecipe) String

func (m *MsgExecuteRecipe) String() string

func (*MsgExecuteRecipe) Type

func (msg *MsgExecuteRecipe) Type() string

func (*MsgExecuteRecipe) Unmarshal

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

func (*MsgExecuteRecipe) ValidateBasic

func (msg *MsgExecuteRecipe) ValidateBasic() error

func (*MsgExecuteRecipe) XXX_DiscardUnknown

func (m *MsgExecuteRecipe) XXX_DiscardUnknown()

func (*MsgExecuteRecipe) XXX_Marshal

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

func (*MsgExecuteRecipe) XXX_Merge

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

func (*MsgExecuteRecipe) XXX_Size

func (m *MsgExecuteRecipe) XXX_Size() int

func (*MsgExecuteRecipe) XXX_Unmarshal

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

type MsgExecuteRecipeResponse

type MsgExecuteRecipeResponse struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*MsgExecuteRecipeResponse) Descriptor

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

func (*MsgExecuteRecipeResponse) GetID

func (m *MsgExecuteRecipeResponse) GetID() string

func (*MsgExecuteRecipeResponse) Marshal

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

func (*MsgExecuteRecipeResponse) MarshalTo

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

func (*MsgExecuteRecipeResponse) MarshalToSizedBuffer

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

func (*MsgExecuteRecipeResponse) ProtoMessage

func (*MsgExecuteRecipeResponse) ProtoMessage()

func (*MsgExecuteRecipeResponse) Reset

func (m *MsgExecuteRecipeResponse) Reset()

func (*MsgExecuteRecipeResponse) Size

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

func (*MsgExecuteRecipeResponse) String

func (m *MsgExecuteRecipeResponse) String() string

func (*MsgExecuteRecipeResponse) Unmarshal

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

func (*MsgExecuteRecipeResponse) XXX_DiscardUnknown

func (m *MsgExecuteRecipeResponse) XXX_DiscardUnknown()

func (*MsgExecuteRecipeResponse) XXX_Marshal

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

func (*MsgExecuteRecipeResponse) XXX_Merge

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

func (*MsgExecuteRecipeResponse) XXX_Size

func (m *MsgExecuteRecipeResponse) XXX_Size() int

func (*MsgExecuteRecipeResponse) XXX_Unmarshal

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

type MsgFulfillTrade

type MsgFulfillTrade struct {
	Creator         string        `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID              uint64        `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
	CoinInputsIndex uint64        `protobuf:"varint,3,opt,name=coinInputsIndex,proto3" json:"coinInputsIndex,omitempty"`
	Items           []ItemRef     `protobuf:"bytes,4,rep,name=items,proto3" json:"items"`
	PaymentInfos    []PaymentInfo `protobuf:"bytes,5,rep,name=paymentInfos,proto3" json:"paymentInfos"`
}

func NewMsgFulfillTrade

func NewMsgFulfillTrade(creator string, id, coinInputsIndex uint64, items []ItemRef, paymentInfos []PaymentInfo) *MsgFulfillTrade

func (*MsgFulfillTrade) Descriptor

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

func (*MsgFulfillTrade) GetCoinInputsIndex

func (m *MsgFulfillTrade) GetCoinInputsIndex() uint64

func (*MsgFulfillTrade) GetCreator

func (m *MsgFulfillTrade) GetCreator() string

func (*MsgFulfillTrade) GetID

func (m *MsgFulfillTrade) GetID() uint64

func (*MsgFulfillTrade) GetItems

func (m *MsgFulfillTrade) GetItems() []ItemRef

func (*MsgFulfillTrade) GetPaymentInfos

func (m *MsgFulfillTrade) GetPaymentInfos() []PaymentInfo

func (*MsgFulfillTrade) GetSignBytes

func (msg *MsgFulfillTrade) GetSignBytes() []byte

func (*MsgFulfillTrade) GetSigners

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

func (*MsgFulfillTrade) Marshal

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

func (*MsgFulfillTrade) MarshalTo

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

func (*MsgFulfillTrade) MarshalToSizedBuffer

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

func (*MsgFulfillTrade) ProtoMessage

func (*MsgFulfillTrade) ProtoMessage()

func (*MsgFulfillTrade) Reset

func (m *MsgFulfillTrade) Reset()

func (*MsgFulfillTrade) Route

func (msg *MsgFulfillTrade) Route() string

func (*MsgFulfillTrade) Size

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

func (*MsgFulfillTrade) String

func (m *MsgFulfillTrade) String() string

func (*MsgFulfillTrade) Type

func (msg *MsgFulfillTrade) Type() string

func (*MsgFulfillTrade) Unmarshal

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

func (*MsgFulfillTrade) ValidateBasic

func (msg *MsgFulfillTrade) ValidateBasic() error

func (*MsgFulfillTrade) XXX_DiscardUnknown

func (m *MsgFulfillTrade) XXX_DiscardUnknown()

func (*MsgFulfillTrade) XXX_Marshal

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

func (*MsgFulfillTrade) XXX_Merge

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

func (*MsgFulfillTrade) XXX_Size

func (m *MsgFulfillTrade) XXX_Size() int

func (*MsgFulfillTrade) XXX_Unmarshal

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

type MsgFulfillTradeResponse

type MsgFulfillTradeResponse struct {
}

func (*MsgFulfillTradeResponse) Descriptor

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

func (*MsgFulfillTradeResponse) Marshal

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

func (*MsgFulfillTradeResponse) MarshalTo

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

func (*MsgFulfillTradeResponse) MarshalToSizedBuffer

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

func (*MsgFulfillTradeResponse) ProtoMessage

func (*MsgFulfillTradeResponse) ProtoMessage()

func (*MsgFulfillTradeResponse) Reset

func (m *MsgFulfillTradeResponse) Reset()

func (*MsgFulfillTradeResponse) Size

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

func (*MsgFulfillTradeResponse) String

func (m *MsgFulfillTradeResponse) String() string

func (*MsgFulfillTradeResponse) Unmarshal

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

func (*MsgFulfillTradeResponse) XXX_DiscardUnknown

func (m *MsgFulfillTradeResponse) XXX_DiscardUnknown()

func (*MsgFulfillTradeResponse) XXX_Marshal

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

func (*MsgFulfillTradeResponse) XXX_Merge

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

func (*MsgFulfillTradeResponse) XXX_Size

func (m *MsgFulfillTradeResponse) XXX_Size() int

func (*MsgFulfillTradeResponse) XXX_Unmarshal

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

type MsgGoogleInAppPurchaseGetCoins

type MsgGoogleInAppPurchaseGetCoins struct {
	Creator           string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ProductID         string `protobuf:"bytes,2,opt,name=productID,proto3" json:"productID,omitempty"`
	PurchaseToken     string `protobuf:"bytes,3,opt,name=purchaseToken,proto3" json:"purchaseToken,omitempty"`
	ReceiptDataBase64 string `protobuf:"bytes,4,opt,name=receiptDataBase64,proto3" json:"receiptDataBase64,omitempty"`
	Signature         string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
}

func NewMsgGoogleIAPGetCoins

func NewMsgGoogleIAPGetCoins(creator string, productID string, purchaseToken string, receiptDataBase64 string, signature string) *MsgGoogleInAppPurchaseGetCoins

func (*MsgGoogleInAppPurchaseGetCoins) Descriptor

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

func (*MsgGoogleInAppPurchaseGetCoins) GetCreator

func (m *MsgGoogleInAppPurchaseGetCoins) GetCreator() string

func (*MsgGoogleInAppPurchaseGetCoins) GetProductID

func (m *MsgGoogleInAppPurchaseGetCoins) GetProductID() string

func (*MsgGoogleInAppPurchaseGetCoins) GetPurchaseToken

func (m *MsgGoogleInAppPurchaseGetCoins) GetPurchaseToken() string

func (*MsgGoogleInAppPurchaseGetCoins) GetReceiptDataBase64

func (m *MsgGoogleInAppPurchaseGetCoins) GetReceiptDataBase64() string

func (*MsgGoogleInAppPurchaseGetCoins) GetSignBytes

func (msg *MsgGoogleInAppPurchaseGetCoins) GetSignBytes() []byte

func (*MsgGoogleInAppPurchaseGetCoins) GetSignature

func (m *MsgGoogleInAppPurchaseGetCoins) GetSignature() string

func (*MsgGoogleInAppPurchaseGetCoins) GetSigners

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

func (*MsgGoogleInAppPurchaseGetCoins) Marshal

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

func (*MsgGoogleInAppPurchaseGetCoins) MarshalTo

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

func (*MsgGoogleInAppPurchaseGetCoins) MarshalToSizedBuffer

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

func (*MsgGoogleInAppPurchaseGetCoins) ProtoMessage

func (*MsgGoogleInAppPurchaseGetCoins) ProtoMessage()

func (*MsgGoogleInAppPurchaseGetCoins) Reset

func (m *MsgGoogleInAppPurchaseGetCoins) Reset()

func (*MsgGoogleInAppPurchaseGetCoins) Route

func (*MsgGoogleInAppPurchaseGetCoins) Size

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

func (*MsgGoogleInAppPurchaseGetCoins) String

func (*MsgGoogleInAppPurchaseGetCoins) Type

func (*MsgGoogleInAppPurchaseGetCoins) Unmarshal

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

func (*MsgGoogleInAppPurchaseGetCoins) ValidateBasic

func (msg *MsgGoogleInAppPurchaseGetCoins) ValidateBasic() error

func (*MsgGoogleInAppPurchaseGetCoins) XXX_DiscardUnknown

func (m *MsgGoogleInAppPurchaseGetCoins) XXX_DiscardUnknown()

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Marshal

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

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Merge

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

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Size

func (m *MsgGoogleInAppPurchaseGetCoins) XXX_Size() int

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Unmarshal

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

type MsgGoogleInAppPurchaseGetCoinsResponse

type MsgGoogleInAppPurchaseGetCoinsResponse struct {
}

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Descriptor

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Marshal

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) MarshalTo

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) MarshalToSizedBuffer

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) ProtoMessage

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Reset

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Size

func (*MsgGoogleInAppPurchaseGetCoinsResponse) String

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Unmarshal

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_DiscardUnknown

func (m *MsgGoogleInAppPurchaseGetCoinsResponse) XXX_DiscardUnknown()

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Marshal

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Merge

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Size

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Unmarshal

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

type MsgSendItems

type MsgSendItems struct {
	Creator  string    `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Receiver string    `protobuf:"bytes,2,opt,name=receiver,proto3" json:"receiver,omitempty"`
	Items    []ItemRef `protobuf:"bytes,3,rep,name=items,proto3" json:"items"`
}

func NewMsgSendItems

func NewMsgSendItems(sender string, receiver string, items []ItemRef) *MsgSendItems

func (*MsgSendItems) Descriptor

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

func (*MsgSendItems) GetCreator

func (m *MsgSendItems) GetCreator() string

func (*MsgSendItems) GetItems

func (m *MsgSendItems) GetItems() []ItemRef

func (*MsgSendItems) GetReceiver

func (m *MsgSendItems) GetReceiver() string

func (*MsgSendItems) GetSignBytes

func (msg *MsgSendItems) GetSignBytes() []byte

func (*MsgSendItems) GetSigners

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

func (*MsgSendItems) Marshal

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

func (*MsgSendItems) MarshalTo

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

func (*MsgSendItems) MarshalToSizedBuffer

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

func (*MsgSendItems) ProtoMessage

func (*MsgSendItems) ProtoMessage()

func (*MsgSendItems) Reset

func (m *MsgSendItems) Reset()

func (*MsgSendItems) Route

func (msg *MsgSendItems) Route() string

func (*MsgSendItems) Size

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

func (*MsgSendItems) String

func (m *MsgSendItems) String() string

func (*MsgSendItems) Type

func (msg *MsgSendItems) Type() string

func (*MsgSendItems) Unmarshal

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

func (*MsgSendItems) ValidateBasic

func (msg *MsgSendItems) ValidateBasic() error

func (*MsgSendItems) XXX_DiscardUnknown

func (m *MsgSendItems) XXX_DiscardUnknown()

func (*MsgSendItems) XXX_Marshal

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

func (*MsgSendItems) XXX_Merge

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

func (*MsgSendItems) XXX_Size

func (m *MsgSendItems) XXX_Size() int

func (*MsgSendItems) XXX_Unmarshal

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

type MsgSendItemsResponse

type MsgSendItemsResponse struct {
}

func (*MsgSendItemsResponse) Descriptor

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

func (*MsgSendItemsResponse) Marshal

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

func (*MsgSendItemsResponse) MarshalTo

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

func (*MsgSendItemsResponse) MarshalToSizedBuffer

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

func (*MsgSendItemsResponse) ProtoMessage

func (*MsgSendItemsResponse) ProtoMessage()

func (*MsgSendItemsResponse) Reset

func (m *MsgSendItemsResponse) Reset()

func (*MsgSendItemsResponse) Size

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

func (*MsgSendItemsResponse) String

func (m *MsgSendItemsResponse) String() string

func (*MsgSendItemsResponse) Unmarshal

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

func (*MsgSendItemsResponse) XXX_DiscardUnknown

func (m *MsgSendItemsResponse) XXX_DiscardUnknown()

func (*MsgSendItemsResponse) XXX_Marshal

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

func (*MsgSendItemsResponse) XXX_Merge

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

func (*MsgSendItemsResponse) XXX_Size

func (m *MsgSendItemsResponse) XXX_Size() int

func (*MsgSendItemsResponse) XXX_Unmarshal

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

type MsgServer

type MsgServer interface {
	// this line is used by starport scaffolding # proto/tx/rpc
	BurnDebtToken(context.Context, *MsgBurnDebtToken) (*MsgBurnDebtTokenResponse, error)
	UpdateAccount(context.Context, *MsgUpdateAccount) (*MsgUpdateAccountResponse, error)
	FulfillTrade(context.Context, *MsgFulfillTrade) (*MsgFulfillTradeResponse, error)
	CreateTrade(context.Context, *MsgCreateTrade) (*MsgCreateTradeResponse, error)
	CancelTrade(context.Context, *MsgCancelTrade) (*MsgCancelTradeResponse, error)
	CompleteExecutionEarly(context.Context, *MsgCompleteExecutionEarly) (*MsgCompleteExecutionEarlyResponse, error)
	TransferCookbook(context.Context, *MsgTransferCookbook) (*MsgTransferCookbookResponse, error)
	GoogleInAppPurchaseGetCoins(context.Context, *MsgGoogleInAppPurchaseGetCoins) (*MsgGoogleInAppPurchaseGetCoinsResponse, error)
	CreateAccount(context.Context, *MsgCreateAccount) (*MsgCreateAccountResponse, error)
	SendItems(context.Context, *MsgSendItems) (*MsgSendItemsResponse, error)
	ExecuteRecipe(context.Context, *MsgExecuteRecipe) (*MsgExecuteRecipeResponse, error)
	SetItemString(context.Context, *MsgSetItemString) (*MsgSetItemStringResponse, error)
	CreateRecipe(context.Context, *MsgCreateRecipe) (*MsgCreateRecipeResponse, error)
	UpdateRecipe(context.Context, *MsgUpdateRecipe) (*MsgUpdateRecipeResponse, error)
	CreateCookbook(context.Context, *MsgCreateCookbook) (*MsgCreateCookbookResponse, error)
	UpdateCookbook(context.Context, *MsgUpdateCookbook) (*MsgUpdateCookbookResponse, error)
}

MsgServer is the server API for Msg service.

type MsgSetItemString

type MsgSetItemString struct {
	Creator    string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CookbookID string `protobuf:"bytes,2,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	ID         string `protobuf:"bytes,4,opt,name=ID,proto3" json:"ID,omitempty"`
	Field      string `protobuf:"bytes,5,opt,name=field,proto3" json:"field,omitempty"`
	Value      string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
}

func NewMsgSetItemString

func NewMsgSetItemString(creator string, cookbookID string, id string, field string, value string) *MsgSetItemString

func (*MsgSetItemString) Descriptor

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

func (*MsgSetItemString) GetCookbookID

func (m *MsgSetItemString) GetCookbookID() string

func (*MsgSetItemString) GetCreator

func (m *MsgSetItemString) GetCreator() string

func (*MsgSetItemString) GetField

func (m *MsgSetItemString) GetField() string

func (*MsgSetItemString) GetID

func (m *MsgSetItemString) GetID() string

func (*MsgSetItemString) GetSignBytes

func (msg *MsgSetItemString) GetSignBytes() []byte

func (*MsgSetItemString) GetSigners

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

func (*MsgSetItemString) GetValue

func (m *MsgSetItemString) GetValue() string

func (*MsgSetItemString) Marshal

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

func (*MsgSetItemString) MarshalTo

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

func (*MsgSetItemString) MarshalToSizedBuffer

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

func (*MsgSetItemString) ProtoMessage

func (*MsgSetItemString) ProtoMessage()

func (*MsgSetItemString) Reset

func (m *MsgSetItemString) Reset()

func (*MsgSetItemString) Route

func (msg *MsgSetItemString) Route() string

func (*MsgSetItemString) Size

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

func (*MsgSetItemString) String

func (m *MsgSetItemString) String() string

func (*MsgSetItemString) Type

func (msg *MsgSetItemString) Type() string

func (*MsgSetItemString) Unmarshal

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

func (*MsgSetItemString) ValidateBasic

func (msg *MsgSetItemString) ValidateBasic() error

func (*MsgSetItemString) XXX_DiscardUnknown

func (m *MsgSetItemString) XXX_DiscardUnknown()

func (*MsgSetItemString) XXX_Marshal

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

func (*MsgSetItemString) XXX_Merge

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

func (*MsgSetItemString) XXX_Size

func (m *MsgSetItemString) XXX_Size() int

func (*MsgSetItemString) XXX_Unmarshal

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

type MsgSetItemStringResponse

type MsgSetItemStringResponse struct {
}

func (*MsgSetItemStringResponse) Descriptor

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

func (*MsgSetItemStringResponse) Marshal

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

func (*MsgSetItemStringResponse) MarshalTo

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

func (*MsgSetItemStringResponse) MarshalToSizedBuffer

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

func (*MsgSetItemStringResponse) ProtoMessage

func (*MsgSetItemStringResponse) ProtoMessage()

func (*MsgSetItemStringResponse) Reset

func (m *MsgSetItemStringResponse) Reset()

func (*MsgSetItemStringResponse) Size

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

func (*MsgSetItemStringResponse) String

func (m *MsgSetItemStringResponse) String() string

func (*MsgSetItemStringResponse) Unmarshal

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

func (*MsgSetItemStringResponse) XXX_DiscardUnknown

func (m *MsgSetItemStringResponse) XXX_DiscardUnknown()

func (*MsgSetItemStringResponse) XXX_Marshal

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

func (*MsgSetItemStringResponse) XXX_Merge

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

func (*MsgSetItemStringResponse) XXX_Size

func (m *MsgSetItemStringResponse) XXX_Size() int

func (*MsgSetItemStringResponse) XXX_Unmarshal

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

type MsgTransferCookbook

type MsgTransferCookbook struct {
	Creator   string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID        string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	Recipient string `protobuf:"bytes,3,opt,name=recipient,proto3" json:"recipient,omitempty"`
}

func NewMsgTransferCookbook

func NewMsgTransferCookbook(creator string, cookbookID string, recipient string) *MsgTransferCookbook

func (*MsgTransferCookbook) Descriptor

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

func (*MsgTransferCookbook) GetCreator

func (m *MsgTransferCookbook) GetCreator() string

func (*MsgTransferCookbook) GetID

func (m *MsgTransferCookbook) GetID() string

func (*MsgTransferCookbook) GetRecipient

func (m *MsgTransferCookbook) GetRecipient() string

func (*MsgTransferCookbook) GetSignBytes

func (msg *MsgTransferCookbook) GetSignBytes() []byte

func (*MsgTransferCookbook) GetSigners

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

func (*MsgTransferCookbook) Marshal

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

func (*MsgTransferCookbook) MarshalTo

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

func (*MsgTransferCookbook) MarshalToSizedBuffer

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

func (*MsgTransferCookbook) ProtoMessage

func (*MsgTransferCookbook) ProtoMessage()

func (*MsgTransferCookbook) Reset

func (m *MsgTransferCookbook) Reset()

func (*MsgTransferCookbook) Route

func (msg *MsgTransferCookbook) Route() string

func (*MsgTransferCookbook) Size

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

func (*MsgTransferCookbook) String

func (m *MsgTransferCookbook) String() string

func (*MsgTransferCookbook) Type

func (msg *MsgTransferCookbook) Type() string

func (*MsgTransferCookbook) Unmarshal

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

func (*MsgTransferCookbook) ValidateBasic

func (msg *MsgTransferCookbook) ValidateBasic() error

func (*MsgTransferCookbook) XXX_DiscardUnknown

func (m *MsgTransferCookbook) XXX_DiscardUnknown()

func (*MsgTransferCookbook) XXX_Marshal

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

func (*MsgTransferCookbook) XXX_Merge

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

func (*MsgTransferCookbook) XXX_Size

func (m *MsgTransferCookbook) XXX_Size() int

func (*MsgTransferCookbook) XXX_Unmarshal

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

type MsgTransferCookbookResponse

type MsgTransferCookbookResponse struct {
}

func (*MsgTransferCookbookResponse) Descriptor

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

func (*MsgTransferCookbookResponse) Marshal

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

func (*MsgTransferCookbookResponse) MarshalTo

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

func (*MsgTransferCookbookResponse) MarshalToSizedBuffer

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

func (*MsgTransferCookbookResponse) ProtoMessage

func (*MsgTransferCookbookResponse) ProtoMessage()

func (*MsgTransferCookbookResponse) Reset

func (m *MsgTransferCookbookResponse) Reset()

func (*MsgTransferCookbookResponse) Size

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

func (*MsgTransferCookbookResponse) String

func (m *MsgTransferCookbookResponse) String() string

func (*MsgTransferCookbookResponse) Unmarshal

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

func (*MsgTransferCookbookResponse) XXX_DiscardUnknown

func (m *MsgTransferCookbookResponse) XXX_DiscardUnknown()

func (*MsgTransferCookbookResponse) XXX_Marshal

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

func (*MsgTransferCookbookResponse) XXX_Merge

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

func (*MsgTransferCookbookResponse) XXX_Size

func (m *MsgTransferCookbookResponse) XXX_Size() int

func (*MsgTransferCookbookResponse) XXX_Unmarshal

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

type MsgUpdateAccount

type MsgUpdateAccount struct {
	Creator  string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
}

func NewMsgUpdateAccount

func NewMsgUpdateAccount(creator string, username string) *MsgUpdateAccount

func (*MsgUpdateAccount) Descriptor

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

func (*MsgUpdateAccount) GetCreator

func (m *MsgUpdateAccount) GetCreator() string

func (*MsgUpdateAccount) GetSignBytes

func (msg *MsgUpdateAccount) GetSignBytes() []byte

func (*MsgUpdateAccount) GetSigners

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

func (*MsgUpdateAccount) GetUsername

func (m *MsgUpdateAccount) GetUsername() string

func (*MsgUpdateAccount) Marshal

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

func (*MsgUpdateAccount) MarshalTo

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

func (*MsgUpdateAccount) MarshalToSizedBuffer

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

func (*MsgUpdateAccount) ProtoMessage

func (*MsgUpdateAccount) ProtoMessage()

func (*MsgUpdateAccount) Reset

func (m *MsgUpdateAccount) Reset()

func (*MsgUpdateAccount) Route

func (msg *MsgUpdateAccount) Route() string

func (*MsgUpdateAccount) Size

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

func (*MsgUpdateAccount) String

func (m *MsgUpdateAccount) String() string

func (*MsgUpdateAccount) Type

func (msg *MsgUpdateAccount) Type() string

func (*MsgUpdateAccount) Unmarshal

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

func (*MsgUpdateAccount) ValidateBasic

func (msg *MsgUpdateAccount) ValidateBasic() error

func (*MsgUpdateAccount) XXX_DiscardUnknown

func (m *MsgUpdateAccount) XXX_DiscardUnknown()

func (*MsgUpdateAccount) XXX_Marshal

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

func (*MsgUpdateAccount) XXX_Merge

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

func (*MsgUpdateAccount) XXX_Size

func (m *MsgUpdateAccount) XXX_Size() int

func (*MsgUpdateAccount) XXX_Unmarshal

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

type MsgUpdateAccountResponse

type MsgUpdateAccountResponse struct {
}

func (*MsgUpdateAccountResponse) Descriptor

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

func (*MsgUpdateAccountResponse) Marshal

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

func (*MsgUpdateAccountResponse) MarshalTo

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

func (*MsgUpdateAccountResponse) MarshalToSizedBuffer

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

func (*MsgUpdateAccountResponse) ProtoMessage

func (*MsgUpdateAccountResponse) ProtoMessage()

func (*MsgUpdateAccountResponse) Reset

func (m *MsgUpdateAccountResponse) Reset()

func (*MsgUpdateAccountResponse) Size

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

func (*MsgUpdateAccountResponse) String

func (m *MsgUpdateAccountResponse) String() string

func (*MsgUpdateAccountResponse) Unmarshal

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

func (*MsgUpdateAccountResponse) XXX_DiscardUnknown

func (m *MsgUpdateAccountResponse) XXX_DiscardUnknown()

func (*MsgUpdateAccountResponse) XXX_Marshal

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

func (*MsgUpdateAccountResponse) XXX_Merge

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

func (*MsgUpdateAccountResponse) XXX_Size

func (m *MsgUpdateAccountResponse) XXX_Size() int

func (*MsgUpdateAccountResponse) XXX_Unmarshal

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

type MsgUpdateCookbook

type MsgUpdateCookbook struct {
	Creator      string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID           string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	Name         string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description  string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Developer    string `protobuf:"bytes,5,opt,name=developer,proto3" json:"developer,omitempty"`
	Version      string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	SupportEmail string `protobuf:"bytes,7,opt,name=supportEmail,proto3" json:"supportEmail,omitempty"`
	Enabled      bool   `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
}

func NewMsgUpdateCookbook

func NewMsgUpdateCookbook(creator string, id string, name string, description string, developer string, version string, supportEmail string, enabled bool) *MsgUpdateCookbook

func (*MsgUpdateCookbook) Descriptor

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

func (*MsgUpdateCookbook) GetCreator

func (m *MsgUpdateCookbook) GetCreator() string

func (*MsgUpdateCookbook) GetDescription

func (m *MsgUpdateCookbook) GetDescription() string

func (*MsgUpdateCookbook) GetDeveloper

func (m *MsgUpdateCookbook) GetDeveloper() string

func (*MsgUpdateCookbook) GetEnabled

func (m *MsgUpdateCookbook) GetEnabled() bool

func (*MsgUpdateCookbook) GetID

func (m *MsgUpdateCookbook) GetID() string

func (*MsgUpdateCookbook) GetName

func (m *MsgUpdateCookbook) GetName() string

func (*MsgUpdateCookbook) GetSignBytes

func (msg *MsgUpdateCookbook) GetSignBytes() []byte

func (*MsgUpdateCookbook) GetSigners

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

func (*MsgUpdateCookbook) GetSupportEmail

func (m *MsgUpdateCookbook) GetSupportEmail() string

func (*MsgUpdateCookbook) GetVersion

func (m *MsgUpdateCookbook) GetVersion() string

func (*MsgUpdateCookbook) Marshal

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

func (*MsgUpdateCookbook) MarshalTo

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

func (*MsgUpdateCookbook) MarshalToSizedBuffer

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

func (*MsgUpdateCookbook) ProtoMessage

func (*MsgUpdateCookbook) ProtoMessage()

func (*MsgUpdateCookbook) Reset

func (m *MsgUpdateCookbook) Reset()

func (*MsgUpdateCookbook) Route

func (msg *MsgUpdateCookbook) Route() string

func (*MsgUpdateCookbook) Size

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

func (*MsgUpdateCookbook) String

func (m *MsgUpdateCookbook) String() string

func (*MsgUpdateCookbook) Type

func (msg *MsgUpdateCookbook) Type() string

func (*MsgUpdateCookbook) Unmarshal

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

func (*MsgUpdateCookbook) ValidateBasic

func (msg *MsgUpdateCookbook) ValidateBasic() error

func (*MsgUpdateCookbook) XXX_DiscardUnknown

func (m *MsgUpdateCookbook) XXX_DiscardUnknown()

func (*MsgUpdateCookbook) XXX_Marshal

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

func (*MsgUpdateCookbook) XXX_Merge

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

func (*MsgUpdateCookbook) XXX_Size

func (m *MsgUpdateCookbook) XXX_Size() int

func (*MsgUpdateCookbook) XXX_Unmarshal

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

type MsgUpdateCookbookResponse

type MsgUpdateCookbookResponse struct {
}

func (*MsgUpdateCookbookResponse) Descriptor

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

func (*MsgUpdateCookbookResponse) Marshal

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

func (*MsgUpdateCookbookResponse) MarshalTo

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

func (*MsgUpdateCookbookResponse) MarshalToSizedBuffer

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

func (*MsgUpdateCookbookResponse) ProtoMessage

func (*MsgUpdateCookbookResponse) ProtoMessage()

func (*MsgUpdateCookbookResponse) Reset

func (m *MsgUpdateCookbookResponse) Reset()

func (*MsgUpdateCookbookResponse) Size

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

func (*MsgUpdateCookbookResponse) String

func (m *MsgUpdateCookbookResponse) String() string

func (*MsgUpdateCookbookResponse) Unmarshal

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

func (*MsgUpdateCookbookResponse) XXX_DiscardUnknown

func (m *MsgUpdateCookbookResponse) XXX_DiscardUnknown()

func (*MsgUpdateCookbookResponse) XXX_Marshal

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

func (*MsgUpdateCookbookResponse) XXX_Merge

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

func (*MsgUpdateCookbookResponse) XXX_Size

func (m *MsgUpdateCookbookResponse) XXX_Size() int

func (*MsgUpdateCookbookResponse) XXX_Unmarshal

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

type MsgUpdateRecipe

type MsgUpdateRecipe struct {
	Creator       string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	CookbookID    string            `protobuf:"bytes,2,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	ID            string            `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
	Name          string            `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description   string            `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Version       string            `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	CoinInputs    []CoinInput       `protobuf:"bytes,7,rep,name=coinInputs,proto3" json:"coinInputs"`
	ItemInputs    []ItemInput       `protobuf:"bytes,8,rep,name=itemInputs,proto3" json:"itemInputs"`
	Entries       EntriesList       `protobuf:"bytes,9,opt,name=entries,proto3" json:"entries"`
	Outputs       []WeightedOutputs `protobuf:"bytes,10,rep,name=outputs,proto3" json:"outputs"`
	BlockInterval int64             `protobuf:"varint,11,opt,name=blockInterval,proto3" json:"blockInterval,omitempty"`
	CostPerBlock  types.Coin        `protobuf:"bytes,12,opt,name=costPerBlock,proto3" json:"costPerBlock"`
	Enabled       bool              `protobuf:"varint,13,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ExtraInfo     string            `protobuf:"bytes,14,opt,name=extraInfo,proto3" json:"extraInfo,omitempty"`
}

func NewMsgUpdateRecipe

func NewMsgUpdateRecipe(creator string, cookbookID string, id string, name string, description string, version string, coinInput []CoinInput, itemInput []ItemInput, entries EntriesList, weightedOutputs []WeightedOutputs, blockInterval int64, costPerBlock sdk.Coin, enabled bool, extraInfo string) *MsgUpdateRecipe

func (*MsgUpdateRecipe) Descriptor

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

func (*MsgUpdateRecipe) GetBlockInterval

func (m *MsgUpdateRecipe) GetBlockInterval() int64

func (*MsgUpdateRecipe) GetCoinInputs

func (m *MsgUpdateRecipe) GetCoinInputs() []CoinInput

func (*MsgUpdateRecipe) GetCookbookID

func (m *MsgUpdateRecipe) GetCookbookID() string

func (*MsgUpdateRecipe) GetCostPerBlock

func (m *MsgUpdateRecipe) GetCostPerBlock() types.Coin

func (*MsgUpdateRecipe) GetCreator

func (m *MsgUpdateRecipe) GetCreator() string

func (*MsgUpdateRecipe) GetDescription

func (m *MsgUpdateRecipe) GetDescription() string

func (*MsgUpdateRecipe) GetEnabled

func (m *MsgUpdateRecipe) GetEnabled() bool

func (*MsgUpdateRecipe) GetEntries

func (m *MsgUpdateRecipe) GetEntries() EntriesList

func (*MsgUpdateRecipe) GetExtraInfo

func (m *MsgUpdateRecipe) GetExtraInfo() string

func (*MsgUpdateRecipe) GetID

func (m *MsgUpdateRecipe) GetID() string

func (*MsgUpdateRecipe) GetItemInputs

func (m *MsgUpdateRecipe) GetItemInputs() []ItemInput

func (*MsgUpdateRecipe) GetName

func (m *MsgUpdateRecipe) GetName() string

func (*MsgUpdateRecipe) GetOutputs

func (m *MsgUpdateRecipe) GetOutputs() []WeightedOutputs

func (*MsgUpdateRecipe) GetSignBytes

func (msg *MsgUpdateRecipe) GetSignBytes() []byte

func (*MsgUpdateRecipe) GetSigners

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

func (*MsgUpdateRecipe) GetVersion

func (m *MsgUpdateRecipe) GetVersion() string

func (*MsgUpdateRecipe) Marshal

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

func (*MsgUpdateRecipe) MarshalTo

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

func (*MsgUpdateRecipe) MarshalToSizedBuffer

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

func (*MsgUpdateRecipe) ProtoMessage

func (*MsgUpdateRecipe) ProtoMessage()

func (*MsgUpdateRecipe) Reset

func (m *MsgUpdateRecipe) Reset()

func (*MsgUpdateRecipe) Route

func (msg *MsgUpdateRecipe) Route() string

func (*MsgUpdateRecipe) Size

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

func (*MsgUpdateRecipe) String

func (m *MsgUpdateRecipe) String() string

func (*MsgUpdateRecipe) Type

func (msg *MsgUpdateRecipe) Type() string

func (*MsgUpdateRecipe) Unmarshal

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

func (*MsgUpdateRecipe) ValidateBasic

func (msg *MsgUpdateRecipe) ValidateBasic() error

func (*MsgUpdateRecipe) XXX_DiscardUnknown

func (m *MsgUpdateRecipe) XXX_DiscardUnknown()

func (*MsgUpdateRecipe) XXX_Marshal

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

func (*MsgUpdateRecipe) XXX_Merge

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

func (*MsgUpdateRecipe) XXX_Size

func (m *MsgUpdateRecipe) XXX_Size() int

func (*MsgUpdateRecipe) XXX_Unmarshal

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

type MsgUpdateRecipeResponse

type MsgUpdateRecipeResponse struct {
}

func (*MsgUpdateRecipeResponse) Descriptor

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

func (*MsgUpdateRecipeResponse) Marshal

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

func (*MsgUpdateRecipeResponse) MarshalTo

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

func (*MsgUpdateRecipeResponse) MarshalToSizedBuffer

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

func (*MsgUpdateRecipeResponse) ProtoMessage

func (*MsgUpdateRecipeResponse) ProtoMessage()

func (*MsgUpdateRecipeResponse) Reset

func (m *MsgUpdateRecipeResponse) Reset()

func (*MsgUpdateRecipeResponse) Size

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

func (*MsgUpdateRecipeResponse) String

func (m *MsgUpdateRecipeResponse) String() string

func (*MsgUpdateRecipeResponse) Unmarshal

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

func (*MsgUpdateRecipeResponse) XXX_DiscardUnknown

func (m *MsgUpdateRecipeResponse) XXX_DiscardUnknown()

func (*MsgUpdateRecipeResponse) XXX_Marshal

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

func (*MsgUpdateRecipeResponse) XXX_Merge

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

func (*MsgUpdateRecipeResponse) XXX_Size

func (m *MsgUpdateRecipeResponse) XXX_Size() int

func (*MsgUpdateRecipeResponse) XXX_Unmarshal

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

type Params

type Params struct {
	CoinIssuers               []CoinIssuer                           `protobuf:"bytes,1,rep,name=coinIssuers,proto3" json:"coinIssuers" yaml:"coin_issuers"`
	PaymentProcessors         []PaymentProcessor                     `protobuf:"bytes,2,rep,name=paymentProcessors,proto3" json:"paymentProcessors" yaml:"payment_processors"`
	RecipeFeePercentage       github_com_cosmos_cosmos_sdk_types.Dec `` /* 160-byte string literal not displayed */
	ItemTransferFeePercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 179-byte string literal not displayed */
	UpdateItemStringFee       types.Coin                             `protobuf:"bytes,5,opt,name=updateItemStringFee,proto3" json:"updateItemStringFee" yaml:"update_item_string_fee"`
	MinTransferFee            github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
	MaxTransferFee            github_com_cosmos_cosmos_sdk_types.Int `` /* 145-byte string literal not displayed */
	UpdateUsernameFee         types.Coin                             `protobuf:"bytes,8,opt,name=updateUsernameFee,proto3" json:"updateUsernameFee" yaml:"update_username_fee"`
	DistrEpochIdentifier      string                                 `protobuf:"bytes,9,opt,name=distrEpochIdentifier,proto3" json:"distrEpochIdentifier,omitempty" yaml:"distr_epoch_identifier"`
	EngineVersion             uint64                                 `protobuf:"varint,10,opt,name=engineVersion,proto3" json:"engineVersion,omitempty" yaml:"engine_version"`
}

Params represent the parameters used by the pylons module

func DefaultParams

func DefaultParams() Params

DefaultParams returns default pylons Params

func NetworkTestParams

func NetworkTestParams() Params

NetworkTestParams returns default pylons Params

func NewParams

func NewParams(
	coinIssuers []CoinIssuer,
	paymentProcessors []PaymentProcessor,
	recipeFeePercentage sdk.Dec,
	itemTransferFeePercentage sdk.Dec,
	updateItemStringFee sdk.Coin,
	minTransferFee sdk.Int,
	maxTransferFee sdk.Int,
	updateUsernameFee sdk.Coin,
	distrEpochIdentifier string,
	engineVersion uint64,
) Params

NewParams creates a new Params object

func (*Params) Descriptor

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

func (*Params) Equal

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

func (*Params) GetCoinIssuers

func (m *Params) GetCoinIssuers() []CoinIssuer

func (*Params) GetDistrEpochIdentifier

func (m *Params) GetDistrEpochIdentifier() string

func (*Params) GetEngineVersion

func (m *Params) GetEngineVersion() uint64

func (*Params) GetPaymentProcessors

func (m *Params) GetPaymentProcessors() []PaymentProcessor

func (*Params) GetUpdateItemStringFee

func (m *Params) GetUpdateItemStringFee() types.Coin

func (*Params) GetUpdateUsernameFee

func (m *Params) GetUpdateUsernameFee() types.Coin

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 returns the parameter set pairs.

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 stringer interface

func (*Params) Unmarshal

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

func (Params) ValidateBasic

func (p Params) ValidateBasic() error

ValidateBasic performs basic validation on distribution parameters.

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 PaymentInfo

type PaymentInfo struct {
	PurchaseID    string                                 `protobuf:"bytes,1,opt,name=purchaseID,proto3" json:"purchaseID,omitempty"`
	ProcessorName string                                 `protobuf:"bytes,2,opt,name=processorName,proto3" json:"processorName,omitempty"`
	PayerAddr     string                                 `protobuf:"bytes,3,opt,name=payerAddr,proto3" json:"payerAddr,omitempty"`
	Amount        github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	ProductID     string                                 `protobuf:"bytes,5,opt,name=productID,proto3" json:"productID,omitempty"`
	Signature     string                                 `protobuf:"bytes,6,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*PaymentInfo) Descriptor

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

func (*PaymentInfo) GetPayerAddr

func (m *PaymentInfo) GetPayerAddr() string

func (*PaymentInfo) GetProcessorName

func (m *PaymentInfo) GetProcessorName() string

func (*PaymentInfo) GetProductID

func (m *PaymentInfo) GetProductID() string

func (*PaymentInfo) GetPurchaseID

func (m *PaymentInfo) GetPurchaseID() string

func (*PaymentInfo) GetSignature

func (m *PaymentInfo) GetSignature() string

func (*PaymentInfo) Marshal

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

func (*PaymentInfo) MarshalTo

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

func (*PaymentInfo) MarshalToSizedBuffer

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

func (*PaymentInfo) ProtoMessage

func (*PaymentInfo) ProtoMessage()

func (*PaymentInfo) Reset

func (m *PaymentInfo) Reset()

func (*PaymentInfo) Size

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

func (*PaymentInfo) String

func (m *PaymentInfo) String() string

func (*PaymentInfo) Unmarshal

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

func (*PaymentInfo) XXX_DiscardUnknown

func (m *PaymentInfo) XXX_DiscardUnknown()

func (*PaymentInfo) XXX_Marshal

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

func (*PaymentInfo) XXX_Merge

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

func (*PaymentInfo) XXX_Size

func (m *PaymentInfo) XXX_Size() int

func (*PaymentInfo) XXX_Unmarshal

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

type PaymentProcessor

type PaymentProcessor struct {
	CoinDenom string `protobuf:"bytes,1,opt,name=CoinDenom,proto3" json:"CoinDenom,omitempty" yaml:"coin_denom"`
	// pubKey is assumed to be ed25519
	PubKey string `protobuf:"bytes,2,opt,name=pubKey,proto3" json:"pubKey,omitempty" yaml:"pub_key"`
	// Represents the percentage retained by the payment processor when new coins are minted. In the range [0, 1), this amount is burned on-chain, actual fee is retained at the source.
	ProcessorPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 159-byte string literal not displayed */
	// Represents the percentage distributed to stakers. In the range [0, 1). The sum with processingCut cannot exceed 1.
	ValidatorsPercentage github_com_cosmos_cosmos_sdk_types.Dec `` /* 161-byte string literal not displayed */
	Name                 string                                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
}

func (*PaymentProcessor) Descriptor

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

func (*PaymentProcessor) Equal

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

func (*PaymentProcessor) GetCoinDenom

func (m *PaymentProcessor) GetCoinDenom() string

func (*PaymentProcessor) GetName

func (m *PaymentProcessor) GetName() string

func (*PaymentProcessor) GetPubKey

func (m *PaymentProcessor) GetPubKey() string

func (*PaymentProcessor) Marshal

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

func (*PaymentProcessor) MarshalTo

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

func (*PaymentProcessor) MarshalToSizedBuffer

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

func (*PaymentProcessor) ProtoMessage

func (*PaymentProcessor) ProtoMessage()

func (*PaymentProcessor) Reset

func (m *PaymentProcessor) Reset()

func (*PaymentProcessor) Size

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

func (*PaymentProcessor) String

func (m *PaymentProcessor) String() string

func (*PaymentProcessor) Unmarshal

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

func (PaymentProcessor) ValidatePaymentInfo

func (pp PaymentProcessor) ValidatePaymentInfo(pi PaymentInfo) error

ValidatePaymentInfo validates the payment receipt using the provided signature

func (PaymentProcessor) ValidateRedeemInfo

func (pp PaymentProcessor) ValidateRedeemInfo(ri RedeemInfo) error

ValidateRedeemInfo validates the payment receipt using the provided signature

func (*PaymentProcessor) XXX_DiscardUnknown

func (m *PaymentProcessor) XXX_DiscardUnknown()

func (*PaymentProcessor) XXX_Marshal

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

func (*PaymentProcessor) XXX_Merge

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

func (*PaymentProcessor) XXX_Size

func (m *PaymentProcessor) XXX_Size() int

func (*PaymentProcessor) XXX_Unmarshal

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

type QueryAllPaymentInfoRequest

type QueryAllPaymentInfoRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPaymentInfoRequest) Descriptor

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

func (*QueryAllPaymentInfoRequest) GetPagination

func (m *QueryAllPaymentInfoRequest) GetPagination() *query.PageRequest

func (*QueryAllPaymentInfoRequest) Marshal

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

func (*QueryAllPaymentInfoRequest) MarshalTo

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

func (*QueryAllPaymentInfoRequest) MarshalToSizedBuffer

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

func (*QueryAllPaymentInfoRequest) ProtoMessage

func (*QueryAllPaymentInfoRequest) ProtoMessage()

func (*QueryAllPaymentInfoRequest) Reset

func (m *QueryAllPaymentInfoRequest) Reset()

func (*QueryAllPaymentInfoRequest) Size

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

func (*QueryAllPaymentInfoRequest) String

func (m *QueryAllPaymentInfoRequest) String() string

func (*QueryAllPaymentInfoRequest) Unmarshal

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

func (*QueryAllPaymentInfoRequest) XXX_DiscardUnknown

func (m *QueryAllPaymentInfoRequest) XXX_DiscardUnknown()

func (*QueryAllPaymentInfoRequest) XXX_Marshal

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

func (*QueryAllPaymentInfoRequest) XXX_Merge

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

func (*QueryAllPaymentInfoRequest) XXX_Size

func (m *QueryAllPaymentInfoRequest) XXX_Size() int

func (*QueryAllPaymentInfoRequest) XXX_Unmarshal

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

type QueryAllPaymentInfoResponse

type QueryAllPaymentInfoResponse struct {
	PaymentInfo []PaymentInfo       `protobuf:"bytes,1,rep,name=PaymentInfo,proto3" json:"PaymentInfo"`
	Pagination  *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPaymentInfoResponse) Descriptor

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

func (*QueryAllPaymentInfoResponse) GetPagination

func (m *QueryAllPaymentInfoResponse) GetPagination() *query.PageResponse

func (*QueryAllPaymentInfoResponse) GetPaymentInfo

func (m *QueryAllPaymentInfoResponse) GetPaymentInfo() []PaymentInfo

func (*QueryAllPaymentInfoResponse) Marshal

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

func (*QueryAllPaymentInfoResponse) MarshalTo

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

func (*QueryAllPaymentInfoResponse) MarshalToSizedBuffer

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

func (*QueryAllPaymentInfoResponse) ProtoMessage

func (*QueryAllPaymentInfoResponse) ProtoMessage()

func (*QueryAllPaymentInfoResponse) Reset

func (m *QueryAllPaymentInfoResponse) Reset()

func (*QueryAllPaymentInfoResponse) Size

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

func (*QueryAllPaymentInfoResponse) String

func (m *QueryAllPaymentInfoResponse) String() string

func (*QueryAllPaymentInfoResponse) Unmarshal

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

func (*QueryAllPaymentInfoResponse) XXX_DiscardUnknown

func (m *QueryAllPaymentInfoResponse) XXX_DiscardUnknown()

func (*QueryAllPaymentInfoResponse) XXX_Marshal

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

func (*QueryAllPaymentInfoResponse) XXX_Merge

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

func (*QueryAllPaymentInfoResponse) XXX_Size

func (m *QueryAllPaymentInfoResponse) XXX_Size() int

func (*QueryAllPaymentInfoResponse) XXX_Unmarshal

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

type QueryAllRedeemInfoRequest

type QueryAllRedeemInfoRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRedeemInfoRequest) Descriptor

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

func (*QueryAllRedeemInfoRequest) GetPagination

func (m *QueryAllRedeemInfoRequest) GetPagination() *query.PageRequest

func (*QueryAllRedeemInfoRequest) Marshal

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

func (*QueryAllRedeemInfoRequest) MarshalTo

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

func (*QueryAllRedeemInfoRequest) MarshalToSizedBuffer

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

func (*QueryAllRedeemInfoRequest) ProtoMessage

func (*QueryAllRedeemInfoRequest) ProtoMessage()

func (*QueryAllRedeemInfoRequest) Reset

func (m *QueryAllRedeemInfoRequest) Reset()

func (*QueryAllRedeemInfoRequest) Size

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

func (*QueryAllRedeemInfoRequest) String

func (m *QueryAllRedeemInfoRequest) String() string

func (*QueryAllRedeemInfoRequest) Unmarshal

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

func (*QueryAllRedeemInfoRequest) XXX_DiscardUnknown

func (m *QueryAllRedeemInfoRequest) XXX_DiscardUnknown()

func (*QueryAllRedeemInfoRequest) XXX_Marshal

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

func (*QueryAllRedeemInfoRequest) XXX_Merge

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

func (*QueryAllRedeemInfoRequest) XXX_Size

func (m *QueryAllRedeemInfoRequest) XXX_Size() int

func (*QueryAllRedeemInfoRequest) XXX_Unmarshal

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

type QueryAllRedeemInfoResponse

type QueryAllRedeemInfoResponse struct {
	RedeemInfo []RedeemInfo        `protobuf:"bytes,1,rep,name=RedeemInfo,proto3" json:"RedeemInfo"`
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRedeemInfoResponse) Descriptor

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

func (*QueryAllRedeemInfoResponse) GetPagination

func (m *QueryAllRedeemInfoResponse) GetPagination() *query.PageResponse

func (*QueryAllRedeemInfoResponse) GetRedeemInfo

func (m *QueryAllRedeemInfoResponse) GetRedeemInfo() []RedeemInfo

func (*QueryAllRedeemInfoResponse) Marshal

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

func (*QueryAllRedeemInfoResponse) MarshalTo

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

func (*QueryAllRedeemInfoResponse) MarshalToSizedBuffer

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

func (*QueryAllRedeemInfoResponse) ProtoMessage

func (*QueryAllRedeemInfoResponse) ProtoMessage()

func (*QueryAllRedeemInfoResponse) Reset

func (m *QueryAllRedeemInfoResponse) Reset()

func (*QueryAllRedeemInfoResponse) Size

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

func (*QueryAllRedeemInfoResponse) String

func (m *QueryAllRedeemInfoResponse) String() string

func (*QueryAllRedeemInfoResponse) Unmarshal

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

func (*QueryAllRedeemInfoResponse) XXX_DiscardUnknown

func (m *QueryAllRedeemInfoResponse) XXX_DiscardUnknown()

func (*QueryAllRedeemInfoResponse) XXX_Marshal

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

func (*QueryAllRedeemInfoResponse) XXX_Merge

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

func (*QueryAllRedeemInfoResponse) XXX_Size

func (m *QueryAllRedeemInfoResponse) XXX_Size() int

func (*QueryAllRedeemInfoResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Queries a list of listTradesByCreator items.
	ListTradesByCreator(ctx context.Context, in *QueryListTradesByCreatorRequest, opts ...grpc.CallOption) (*QueryListTradesByCreatorResponse, error)
	// Queries a redeemInfo by index.
	RedeemInfo(ctx context.Context, in *QueryGetRedeemInfoRequest, opts ...grpc.CallOption) (*QueryGetRedeemInfoResponse, error)
	// Queries a list of redeemInfo items.
	RedeemInfoAll(ctx context.Context, in *QueryAllRedeemInfoRequest, opts ...grpc.CallOption) (*QueryAllRedeemInfoResponse, error)
	// Queries a paymentInfo by index.
	PaymentInfo(ctx context.Context, in *QueryGetPaymentInfoRequest, opts ...grpc.CallOption) (*QueryGetPaymentInfoResponse, error)
	// Queries a list of paymentInfo items.
	PaymentInfoAll(ctx context.Context, in *QueryAllPaymentInfoRequest, opts ...grpc.CallOption) (*QueryAllPaymentInfoResponse, error)
	// Queries a list of getAccountByAddress items.
	UsernameByAddress(ctx context.Context, in *QueryGetUsernameByAddressRequest, opts ...grpc.CallOption) (*QueryGetUsernameByAddressResponse, error)
	// Queries a username by account.
	AddressByUsername(ctx context.Context, in *QueryGetAddressByUsernameRequest, opts ...grpc.CallOption) (*QueryGetAddressByUsernameResponse, error)
	// Queries a trade by id.
	Trade(ctx context.Context, in *QueryGetTradeRequest, opts ...grpc.CallOption) (*QueryGetTradeResponse, error)
	// Queries a list of listItemByOwner items.
	ListItemByOwner(ctx context.Context, in *QueryListItemByOwnerRequest, opts ...grpc.CallOption) (*QueryListItemByOwnerResponse, error)
	// Queries a googleIAPOrder by PurchaseToken.
	GoogleInAppPurchaseOrder(ctx context.Context, in *QueryGetGoogleInAppPurchaseOrderRequest, opts ...grpc.CallOption) (*QueryGetGoogleInAppPurchaseOrderResponse, error)
	// Queries a list of listExecutionsByItem items.
	ListExecutionsByItem(ctx context.Context, in *QueryListExecutionsByItemRequest, opts ...grpc.CallOption) (*QueryListExecutionsByItemResponse, error)
	// Queries a list of listExecutionsByRecipe items.
	ListExecutionsByRecipe(ctx context.Context, in *QueryListExecutionsByRecipeRequest, opts ...grpc.CallOption) (*QueryListExecutionsByRecipeResponse, error)
	// Queries a execution by id.
	Execution(ctx context.Context, in *QueryGetExecutionRequest, opts ...grpc.CallOption) (*QueryGetExecutionResponse, error)
	// Queries a list of listRecipesByCookbook items.
	ListRecipesByCookbook(ctx context.Context, in *QueryListRecipesByCookbookRequest, opts ...grpc.CallOption) (*QueryListRecipesByCookbookResponse, error)
	// Queries a item by ID.
	Item(ctx context.Context, in *QueryGetItemRequest, opts ...grpc.CallOption) (*QueryGetItemResponse, error)
	// Retrieves a recipe by ID.
	Recipe(ctx context.Context, in *QueryGetRecipeRequest, opts ...grpc.CallOption) (*QueryGetRecipeResponse, error)
	// Retrieves the list of cookbooks owned by an address
	ListCookbooksByCreator(ctx context.Context, in *QueryListCookbooksByCreatorRequest, opts ...grpc.CallOption) (*QueryListCookbooksByCreatorResponse, error)
	// Retrieves a cookbook by ID.
	Cookbook(ctx context.Context, in *QueryGetCookbookRequest, opts ...grpc.CallOption) (*QueryGetCookbookResponse, 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 QueryGetAddressByUsernameRequest

type QueryGetAddressByUsernameRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
}

func (*QueryGetAddressByUsernameRequest) Descriptor

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

func (*QueryGetAddressByUsernameRequest) GetUsername

func (m *QueryGetAddressByUsernameRequest) GetUsername() string

func (*QueryGetAddressByUsernameRequest) Marshal

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

func (*QueryGetAddressByUsernameRequest) MarshalTo

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

func (*QueryGetAddressByUsernameRequest) MarshalToSizedBuffer

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

func (*QueryGetAddressByUsernameRequest) ProtoMessage

func (*QueryGetAddressByUsernameRequest) ProtoMessage()

func (*QueryGetAddressByUsernameRequest) Reset

func (*QueryGetAddressByUsernameRequest) Size

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

func (*QueryGetAddressByUsernameRequest) String

func (*QueryGetAddressByUsernameRequest) Unmarshal

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

func (*QueryGetAddressByUsernameRequest) XXX_DiscardUnknown

func (m *QueryGetAddressByUsernameRequest) XXX_DiscardUnknown()

func (*QueryGetAddressByUsernameRequest) XXX_Marshal

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

func (*QueryGetAddressByUsernameRequest) XXX_Merge

func (*QueryGetAddressByUsernameRequest) XXX_Size

func (m *QueryGetAddressByUsernameRequest) XXX_Size() int

func (*QueryGetAddressByUsernameRequest) XXX_Unmarshal

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

type QueryGetAddressByUsernameResponse

type QueryGetAddressByUsernameResponse struct {
	Address AccountAddr `protobuf:"bytes,1,opt,name=address,proto3" json:"address"`
}

func (*QueryGetAddressByUsernameResponse) Descriptor

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

func (*QueryGetAddressByUsernameResponse) GetAddress

func (*QueryGetAddressByUsernameResponse) Marshal

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

func (*QueryGetAddressByUsernameResponse) MarshalTo

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

func (*QueryGetAddressByUsernameResponse) MarshalToSizedBuffer

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

func (*QueryGetAddressByUsernameResponse) ProtoMessage

func (*QueryGetAddressByUsernameResponse) ProtoMessage()

func (*QueryGetAddressByUsernameResponse) Reset

func (*QueryGetAddressByUsernameResponse) Size

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

func (*QueryGetAddressByUsernameResponse) String

func (*QueryGetAddressByUsernameResponse) Unmarshal

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

func (*QueryGetAddressByUsernameResponse) XXX_DiscardUnknown

func (m *QueryGetAddressByUsernameResponse) XXX_DiscardUnknown()

func (*QueryGetAddressByUsernameResponse) XXX_Marshal

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

func (*QueryGetAddressByUsernameResponse) XXX_Merge

func (*QueryGetAddressByUsernameResponse) XXX_Size

func (m *QueryGetAddressByUsernameResponse) XXX_Size() int

func (*QueryGetAddressByUsernameResponse) XXX_Unmarshal

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

type QueryGetCookbookRequest

type QueryGetCookbookRequest struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetCookbookRequest) Descriptor

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

func (*QueryGetCookbookRequest) GetID

func (m *QueryGetCookbookRequest) GetID() string

func (*QueryGetCookbookRequest) Marshal

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

func (*QueryGetCookbookRequest) MarshalTo

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

func (*QueryGetCookbookRequest) MarshalToSizedBuffer

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

func (*QueryGetCookbookRequest) ProtoMessage

func (*QueryGetCookbookRequest) ProtoMessage()

func (*QueryGetCookbookRequest) Reset

func (m *QueryGetCookbookRequest) Reset()

func (*QueryGetCookbookRequest) Size

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

func (*QueryGetCookbookRequest) String

func (m *QueryGetCookbookRequest) String() string

func (*QueryGetCookbookRequest) Unmarshal

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

func (*QueryGetCookbookRequest) XXX_DiscardUnknown

func (m *QueryGetCookbookRequest) XXX_DiscardUnknown()

func (*QueryGetCookbookRequest) XXX_Marshal

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

func (*QueryGetCookbookRequest) XXX_Merge

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

func (*QueryGetCookbookRequest) XXX_Size

func (m *QueryGetCookbookRequest) XXX_Size() int

func (*QueryGetCookbookRequest) XXX_Unmarshal

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

type QueryGetCookbookResponse

type QueryGetCookbookResponse struct {
	Cookbook Cookbook `protobuf:"bytes,1,opt,name=Cookbook,proto3" json:"Cookbook"`
}

func (*QueryGetCookbookResponse) Descriptor

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

func (*QueryGetCookbookResponse) GetCookbook

func (m *QueryGetCookbookResponse) GetCookbook() Cookbook

func (*QueryGetCookbookResponse) Marshal

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

func (*QueryGetCookbookResponse) MarshalTo

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

func (*QueryGetCookbookResponse) MarshalToSizedBuffer

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

func (*QueryGetCookbookResponse) ProtoMessage

func (*QueryGetCookbookResponse) ProtoMessage()

func (*QueryGetCookbookResponse) Reset

func (m *QueryGetCookbookResponse) Reset()

func (*QueryGetCookbookResponse) Size

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

func (*QueryGetCookbookResponse) String

func (m *QueryGetCookbookResponse) String() string

func (*QueryGetCookbookResponse) Unmarshal

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

func (*QueryGetCookbookResponse) XXX_DiscardUnknown

func (m *QueryGetCookbookResponse) XXX_DiscardUnknown()

func (*QueryGetCookbookResponse) XXX_Marshal

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

func (*QueryGetCookbookResponse) XXX_Merge

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

func (*QueryGetCookbookResponse) XXX_Size

func (m *QueryGetCookbookResponse) XXX_Size() int

func (*QueryGetCookbookResponse) XXX_Unmarshal

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

type QueryGetExecutionRequest

type QueryGetExecutionRequest struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetExecutionRequest) Descriptor

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

func (*QueryGetExecutionRequest) GetID

func (m *QueryGetExecutionRequest) GetID() string

func (*QueryGetExecutionRequest) Marshal

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

func (*QueryGetExecutionRequest) MarshalTo

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

func (*QueryGetExecutionRequest) MarshalToSizedBuffer

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

func (*QueryGetExecutionRequest) ProtoMessage

func (*QueryGetExecutionRequest) ProtoMessage()

func (*QueryGetExecutionRequest) Reset

func (m *QueryGetExecutionRequest) Reset()

func (*QueryGetExecutionRequest) Size

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

func (*QueryGetExecutionRequest) String

func (m *QueryGetExecutionRequest) String() string

func (*QueryGetExecutionRequest) Unmarshal

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

func (*QueryGetExecutionRequest) XXX_DiscardUnknown

func (m *QueryGetExecutionRequest) XXX_DiscardUnknown()

func (*QueryGetExecutionRequest) XXX_Marshal

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

func (*QueryGetExecutionRequest) XXX_Merge

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

func (*QueryGetExecutionRequest) XXX_Size

func (m *QueryGetExecutionRequest) XXX_Size() int

func (*QueryGetExecutionRequest) XXX_Unmarshal

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

type QueryGetExecutionResponse

type QueryGetExecutionResponse struct {
	Execution Execution `protobuf:"bytes,1,opt,name=Execution,proto3" json:"Execution"`
	Completed bool      `protobuf:"varint,2,opt,name=Completed,proto3" json:"Completed,omitempty"`
}

func (*QueryGetExecutionResponse) Descriptor

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

func (*QueryGetExecutionResponse) GetCompleted

func (m *QueryGetExecutionResponse) GetCompleted() bool

func (*QueryGetExecutionResponse) GetExecution

func (m *QueryGetExecutionResponse) GetExecution() Execution

func (*QueryGetExecutionResponse) Marshal

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

func (*QueryGetExecutionResponse) MarshalTo

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

func (*QueryGetExecutionResponse) MarshalToSizedBuffer

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

func (*QueryGetExecutionResponse) ProtoMessage

func (*QueryGetExecutionResponse) ProtoMessage()

func (*QueryGetExecutionResponse) Reset

func (m *QueryGetExecutionResponse) Reset()

func (*QueryGetExecutionResponse) Size

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

func (*QueryGetExecutionResponse) String

func (m *QueryGetExecutionResponse) String() string

func (*QueryGetExecutionResponse) Unmarshal

func (m *QueryGetExecutionResponse) Unmarshal(dAtA []byte) error

func (*QueryGetExecutionResponse) XXX_DiscardUnknown

func (m *QueryGetExecutionResponse) XXX_DiscardUnknown()

func (*QueryGetExecutionResponse) XXX_Marshal

func (m *QueryGetExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetExecutionResponse) XXX_Merge

func (m *QueryGetExecutionResponse) XXX_Merge(src proto.Message)

func (*QueryGetExecutionResponse) XXX_Size

func (m *QueryGetExecutionResponse) XXX_Size() int

func (*QueryGetExecutionResponse) XXX_Unmarshal

func (m *QueryGetExecutionResponse) XXX_Unmarshal(b []byte) error

type QueryGetGoogleInAppPurchaseOrderRequest

type QueryGetGoogleInAppPurchaseOrderRequest struct {
	PurchaseToken string `protobuf:"bytes,1,opt,name=PurchaseToken,proto3" json:"PurchaseToken,omitempty"`
}

func (*QueryGetGoogleInAppPurchaseOrderRequest) Descriptor

func (*QueryGetGoogleInAppPurchaseOrderRequest) Descriptor() ([]byte, []int)

func (*QueryGetGoogleInAppPurchaseOrderRequest) GetPurchaseToken

func (m *QueryGetGoogleInAppPurchaseOrderRequest) GetPurchaseToken() string

func (*QueryGetGoogleInAppPurchaseOrderRequest) Marshal

func (m *QueryGetGoogleInAppPurchaseOrderRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) MarshalTo

func (m *QueryGetGoogleInAppPurchaseOrderRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) MarshalToSizedBuffer

func (m *QueryGetGoogleInAppPurchaseOrderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) ProtoMessage

func (*QueryGetGoogleInAppPurchaseOrderRequest) Reset

func (*QueryGetGoogleInAppPurchaseOrderRequest) Size

func (*QueryGetGoogleInAppPurchaseOrderRequest) String

func (*QueryGetGoogleInAppPurchaseOrderRequest) Unmarshal

func (m *QueryGetGoogleInAppPurchaseOrderRequest) Unmarshal(dAtA []byte) error

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_DiscardUnknown

func (m *QueryGetGoogleInAppPurchaseOrderRequest) XXX_DiscardUnknown()

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Marshal

func (m *QueryGetGoogleInAppPurchaseOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Merge

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Size

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Unmarshal

func (m *QueryGetGoogleInAppPurchaseOrderRequest) XXX_Unmarshal(b []byte) error

type QueryGetGoogleInAppPurchaseOrderResponse

type QueryGetGoogleInAppPurchaseOrderResponse struct {
	Order GoogleInAppPurchaseOrder `protobuf:"bytes,1,opt,name=Order,proto3" json:"Order"`
}

func (*QueryGetGoogleInAppPurchaseOrderResponse) Descriptor

func (*QueryGetGoogleInAppPurchaseOrderResponse) Descriptor() ([]byte, []int)

func (*QueryGetGoogleInAppPurchaseOrderResponse) GetOrder

func (*QueryGetGoogleInAppPurchaseOrderResponse) Marshal

func (m *QueryGetGoogleInAppPurchaseOrderResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) MarshalTo

func (m *QueryGetGoogleInAppPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) MarshalToSizedBuffer

func (m *QueryGetGoogleInAppPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) ProtoMessage

func (*QueryGetGoogleInAppPurchaseOrderResponse) Reset

func (*QueryGetGoogleInAppPurchaseOrderResponse) Size

func (*QueryGetGoogleInAppPurchaseOrderResponse) String

func (*QueryGetGoogleInAppPurchaseOrderResponse) Unmarshal

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_DiscardUnknown

func (m *QueryGetGoogleInAppPurchaseOrderResponse) XXX_DiscardUnknown()

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Marshal

func (m *QueryGetGoogleInAppPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Merge

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Size

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Unmarshal

func (m *QueryGetGoogleInAppPurchaseOrderResponse) XXX_Unmarshal(b []byte) error

type QueryGetItemRequest

type QueryGetItemRequest struct {
	CookbookID string `protobuf:"bytes,1,opt,name=CookbookID,proto3" json:"CookbookID,omitempty"`
	ID         string `protobuf:"bytes,3,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetItemRequest) Descriptor

func (*QueryGetItemRequest) Descriptor() ([]byte, []int)

func (*QueryGetItemRequest) GetCookbookID

func (m *QueryGetItemRequest) GetCookbookID() string

func (*QueryGetItemRequest) GetID

func (m *QueryGetItemRequest) GetID() string

func (*QueryGetItemRequest) Marshal

func (m *QueryGetItemRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetItemRequest) MarshalTo

func (m *QueryGetItemRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetItemRequest) MarshalToSizedBuffer

func (m *QueryGetItemRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetItemRequest) ProtoMessage

func (*QueryGetItemRequest) ProtoMessage()

func (*QueryGetItemRequest) Reset

func (m *QueryGetItemRequest) Reset()

func (*QueryGetItemRequest) Size

func (m *QueryGetItemRequest) Size() (n int)

func (*QueryGetItemRequest) String

func (m *QueryGetItemRequest) String() string

func (*QueryGetItemRequest) Unmarshal

func (m *QueryGetItemRequest) Unmarshal(dAtA []byte) error

func (*QueryGetItemRequest) XXX_DiscardUnknown

func (m *QueryGetItemRequest) XXX_DiscardUnknown()

func (*QueryGetItemRequest) XXX_Marshal

func (m *QueryGetItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetItemRequest) XXX_Merge

func (m *QueryGetItemRequest) XXX_Merge(src proto.Message)

func (*QueryGetItemRequest) XXX_Size

func (m *QueryGetItemRequest) XXX_Size() int

func (*QueryGetItemRequest) XXX_Unmarshal

func (m *QueryGetItemRequest) XXX_Unmarshal(b []byte) error

type QueryGetItemResponse

type QueryGetItemResponse struct {
	Item Item `protobuf:"bytes,1,opt,name=Item,proto3" json:"Item"`
}

func (*QueryGetItemResponse) Descriptor

func (*QueryGetItemResponse) Descriptor() ([]byte, []int)

func (*QueryGetItemResponse) GetItem

func (m *QueryGetItemResponse) GetItem() Item

func (*QueryGetItemResponse) Marshal

func (m *QueryGetItemResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetItemResponse) MarshalTo

func (m *QueryGetItemResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetItemResponse) MarshalToSizedBuffer

func (m *QueryGetItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetItemResponse) ProtoMessage

func (*QueryGetItemResponse) ProtoMessage()

func (*QueryGetItemResponse) Reset

func (m *QueryGetItemResponse) Reset()

func (*QueryGetItemResponse) Size

func (m *QueryGetItemResponse) Size() (n int)

func (*QueryGetItemResponse) String

func (m *QueryGetItemResponse) String() string

func (*QueryGetItemResponse) Unmarshal

func (m *QueryGetItemResponse) Unmarshal(dAtA []byte) error

func (*QueryGetItemResponse) XXX_DiscardUnknown

func (m *QueryGetItemResponse) XXX_DiscardUnknown()

func (*QueryGetItemResponse) XXX_Marshal

func (m *QueryGetItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetItemResponse) XXX_Merge

func (m *QueryGetItemResponse) XXX_Merge(src proto.Message)

func (*QueryGetItemResponse) XXX_Size

func (m *QueryGetItemResponse) XXX_Size() int

func (*QueryGetItemResponse) XXX_Unmarshal

func (m *QueryGetItemResponse) XXX_Unmarshal(b []byte) error

type QueryGetPaymentInfoRequest

type QueryGetPaymentInfoRequest struct {
	PurchaseID string `protobuf:"bytes,1,opt,name=purchaseID,proto3" json:"purchaseID,omitempty"`
}

func (*QueryGetPaymentInfoRequest) Descriptor

func (*QueryGetPaymentInfoRequest) Descriptor() ([]byte, []int)

func (*QueryGetPaymentInfoRequest) GetPurchaseID

func (m *QueryGetPaymentInfoRequest) GetPurchaseID() string

func (*QueryGetPaymentInfoRequest) Marshal

func (m *QueryGetPaymentInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetPaymentInfoRequest) MarshalTo

func (m *QueryGetPaymentInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoRequest) MarshalToSizedBuffer

func (m *QueryGetPaymentInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoRequest) ProtoMessage

func (*QueryGetPaymentInfoRequest) ProtoMessage()

func (*QueryGetPaymentInfoRequest) Reset

func (m *QueryGetPaymentInfoRequest) Reset()

func (*QueryGetPaymentInfoRequest) Size

func (m *QueryGetPaymentInfoRequest) Size() (n int)

func (*QueryGetPaymentInfoRequest) String

func (m *QueryGetPaymentInfoRequest) String() string

func (*QueryGetPaymentInfoRequest) Unmarshal

func (m *QueryGetPaymentInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryGetPaymentInfoRequest) XXX_DiscardUnknown

func (m *QueryGetPaymentInfoRequest) XXX_DiscardUnknown()

func (*QueryGetPaymentInfoRequest) XXX_Marshal

func (m *QueryGetPaymentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPaymentInfoRequest) XXX_Merge

func (m *QueryGetPaymentInfoRequest) XXX_Merge(src proto.Message)

func (*QueryGetPaymentInfoRequest) XXX_Size

func (m *QueryGetPaymentInfoRequest) XXX_Size() int

func (*QueryGetPaymentInfoRequest) XXX_Unmarshal

func (m *QueryGetPaymentInfoRequest) XXX_Unmarshal(b []byte) error

type QueryGetPaymentInfoResponse

type QueryGetPaymentInfoResponse struct {
	PaymentInfo PaymentInfo `protobuf:"bytes,1,opt,name=PaymentInfo,proto3" json:"PaymentInfo"`
}

func (*QueryGetPaymentInfoResponse) Descriptor

func (*QueryGetPaymentInfoResponse) Descriptor() ([]byte, []int)

func (*QueryGetPaymentInfoResponse) GetPaymentInfo

func (m *QueryGetPaymentInfoResponse) GetPaymentInfo() PaymentInfo

func (*QueryGetPaymentInfoResponse) Marshal

func (m *QueryGetPaymentInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetPaymentInfoResponse) MarshalTo

func (m *QueryGetPaymentInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoResponse) MarshalToSizedBuffer

func (m *QueryGetPaymentInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoResponse) ProtoMessage

func (*QueryGetPaymentInfoResponse) ProtoMessage()

func (*QueryGetPaymentInfoResponse) Reset

func (m *QueryGetPaymentInfoResponse) Reset()

func (*QueryGetPaymentInfoResponse) Size

func (m *QueryGetPaymentInfoResponse) Size() (n int)

func (*QueryGetPaymentInfoResponse) String

func (m *QueryGetPaymentInfoResponse) String() string

func (*QueryGetPaymentInfoResponse) Unmarshal

func (m *QueryGetPaymentInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryGetPaymentInfoResponse) XXX_DiscardUnknown

func (m *QueryGetPaymentInfoResponse) XXX_DiscardUnknown()

func (*QueryGetPaymentInfoResponse) XXX_Marshal

func (m *QueryGetPaymentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPaymentInfoResponse) XXX_Merge

func (m *QueryGetPaymentInfoResponse) XXX_Merge(src proto.Message)

func (*QueryGetPaymentInfoResponse) XXX_Size

func (m *QueryGetPaymentInfoResponse) XXX_Size() int

func (*QueryGetPaymentInfoResponse) XXX_Unmarshal

func (m *QueryGetPaymentInfoResponse) XXX_Unmarshal(b []byte) error

type QueryGetRecipeRequest

type QueryGetRecipeRequest struct {
	CookbookID string `protobuf:"bytes,1,opt,name=CookbookID,proto3" json:"CookbookID,omitempty"`
	ID         string `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetRecipeRequest) Descriptor

func (*QueryGetRecipeRequest) Descriptor() ([]byte, []int)

func (*QueryGetRecipeRequest) GetCookbookID

func (m *QueryGetRecipeRequest) GetCookbookID() string

func (*QueryGetRecipeRequest) GetID

func (m *QueryGetRecipeRequest) GetID() string

func (*QueryGetRecipeRequest) Marshal

func (m *QueryGetRecipeRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetRecipeRequest) MarshalTo

func (m *QueryGetRecipeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRecipeRequest) MarshalToSizedBuffer

func (m *QueryGetRecipeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRecipeRequest) ProtoMessage

func (*QueryGetRecipeRequest) ProtoMessage()

func (*QueryGetRecipeRequest) Reset

func (m *QueryGetRecipeRequest) Reset()

func (*QueryGetRecipeRequest) Size

func (m *QueryGetRecipeRequest) Size() (n int)

func (*QueryGetRecipeRequest) String

func (m *QueryGetRecipeRequest) String() string

func (*QueryGetRecipeRequest) Unmarshal

func (m *QueryGetRecipeRequest) Unmarshal(dAtA []byte) error

func (*QueryGetRecipeRequest) XXX_DiscardUnknown

func (m *QueryGetRecipeRequest) XXX_DiscardUnknown()

func (*QueryGetRecipeRequest) XXX_Marshal

func (m *QueryGetRecipeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRecipeRequest) XXX_Merge

func (m *QueryGetRecipeRequest) XXX_Merge(src proto.Message)

func (*QueryGetRecipeRequest) XXX_Size

func (m *QueryGetRecipeRequest) XXX_Size() int

func (*QueryGetRecipeRequest) XXX_Unmarshal

func (m *QueryGetRecipeRequest) XXX_Unmarshal(b []byte) error

type QueryGetRecipeResponse

type QueryGetRecipeResponse struct {
	Recipe Recipe `protobuf:"bytes,1,opt,name=Recipe,proto3" json:"Recipe"`
}

func (*QueryGetRecipeResponse) Descriptor

func (*QueryGetRecipeResponse) Descriptor() ([]byte, []int)

func (*QueryGetRecipeResponse) GetRecipe

func (m *QueryGetRecipeResponse) GetRecipe() Recipe

func (*QueryGetRecipeResponse) Marshal

func (m *QueryGetRecipeResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetRecipeResponse) MarshalTo

func (m *QueryGetRecipeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRecipeResponse) MarshalToSizedBuffer

func (m *QueryGetRecipeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRecipeResponse) ProtoMessage

func (*QueryGetRecipeResponse) ProtoMessage()

func (*QueryGetRecipeResponse) Reset

func (m *QueryGetRecipeResponse) Reset()

func (*QueryGetRecipeResponse) Size

func (m *QueryGetRecipeResponse) Size() (n int)

func (*QueryGetRecipeResponse) String

func (m *QueryGetRecipeResponse) String() string

func (*QueryGetRecipeResponse) Unmarshal

func (m *QueryGetRecipeResponse) Unmarshal(dAtA []byte) error

func (*QueryGetRecipeResponse) XXX_DiscardUnknown

func (m *QueryGetRecipeResponse) XXX_DiscardUnknown()

func (*QueryGetRecipeResponse) XXX_Marshal

func (m *QueryGetRecipeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRecipeResponse) XXX_Merge

func (m *QueryGetRecipeResponse) XXX_Merge(src proto.Message)

func (*QueryGetRecipeResponse) XXX_Size

func (m *QueryGetRecipeResponse) XXX_Size() int

func (*QueryGetRecipeResponse) XXX_Unmarshal

func (m *QueryGetRecipeResponse) XXX_Unmarshal(b []byte) error

type QueryGetRedeemInfoRequest

type QueryGetRedeemInfoRequest struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

this line is used by starport scaffolding # 3

func (*QueryGetRedeemInfoRequest) Descriptor

func (*QueryGetRedeemInfoRequest) Descriptor() ([]byte, []int)

func (*QueryGetRedeemInfoRequest) GetID

func (m *QueryGetRedeemInfoRequest) GetID() string

func (*QueryGetRedeemInfoRequest) Marshal

func (m *QueryGetRedeemInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetRedeemInfoRequest) MarshalTo

func (m *QueryGetRedeemInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoRequest) MarshalToSizedBuffer

func (m *QueryGetRedeemInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoRequest) ProtoMessage

func (*QueryGetRedeemInfoRequest) ProtoMessage()

func (*QueryGetRedeemInfoRequest) Reset

func (m *QueryGetRedeemInfoRequest) Reset()

func (*QueryGetRedeemInfoRequest) Size

func (m *QueryGetRedeemInfoRequest) Size() (n int)

func (*QueryGetRedeemInfoRequest) String

func (m *QueryGetRedeemInfoRequest) String() string

func (*QueryGetRedeemInfoRequest) Unmarshal

func (m *QueryGetRedeemInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryGetRedeemInfoRequest) XXX_DiscardUnknown

func (m *QueryGetRedeemInfoRequest) XXX_DiscardUnknown()

func (*QueryGetRedeemInfoRequest) XXX_Marshal

func (m *QueryGetRedeemInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRedeemInfoRequest) XXX_Merge

func (m *QueryGetRedeemInfoRequest) XXX_Merge(src proto.Message)

func (*QueryGetRedeemInfoRequest) XXX_Size

func (m *QueryGetRedeemInfoRequest) XXX_Size() int

func (*QueryGetRedeemInfoRequest) XXX_Unmarshal

func (m *QueryGetRedeemInfoRequest) XXX_Unmarshal(b []byte) error

type QueryGetRedeemInfoResponse

type QueryGetRedeemInfoResponse struct {
	RedeemInfo RedeemInfo `protobuf:"bytes,1,opt,name=RedeemInfo,proto3" json:"RedeemInfo"`
}

func (*QueryGetRedeemInfoResponse) Descriptor

func (*QueryGetRedeemInfoResponse) Descriptor() ([]byte, []int)

func (*QueryGetRedeemInfoResponse) GetRedeemInfo

func (m *QueryGetRedeemInfoResponse) GetRedeemInfo() RedeemInfo

func (*QueryGetRedeemInfoResponse) Marshal

func (m *QueryGetRedeemInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetRedeemInfoResponse) MarshalTo

func (m *QueryGetRedeemInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoResponse) MarshalToSizedBuffer

func (m *QueryGetRedeemInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoResponse) ProtoMessage

func (*QueryGetRedeemInfoResponse) ProtoMessage()

func (*QueryGetRedeemInfoResponse) Reset

func (m *QueryGetRedeemInfoResponse) Reset()

func (*QueryGetRedeemInfoResponse) Size

func (m *QueryGetRedeemInfoResponse) Size() (n int)

func (*QueryGetRedeemInfoResponse) String

func (m *QueryGetRedeemInfoResponse) String() string

func (*QueryGetRedeemInfoResponse) Unmarshal

func (m *QueryGetRedeemInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryGetRedeemInfoResponse) XXX_DiscardUnknown

func (m *QueryGetRedeemInfoResponse) XXX_DiscardUnknown()

func (*QueryGetRedeemInfoResponse) XXX_Marshal

func (m *QueryGetRedeemInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRedeemInfoResponse) XXX_Merge

func (m *QueryGetRedeemInfoResponse) XXX_Merge(src proto.Message)

func (*QueryGetRedeemInfoResponse) XXX_Size

func (m *QueryGetRedeemInfoResponse) XXX_Size() int

func (*QueryGetRedeemInfoResponse) XXX_Unmarshal

func (m *QueryGetRedeemInfoResponse) XXX_Unmarshal(b []byte) error

type QueryGetTradeRequest

type QueryGetTradeRequest struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetTradeRequest) Descriptor

func (*QueryGetTradeRequest) Descriptor() ([]byte, []int)

func (*QueryGetTradeRequest) GetID

func (m *QueryGetTradeRequest) GetID() uint64

func (*QueryGetTradeRequest) Marshal

func (m *QueryGetTradeRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetTradeRequest) MarshalTo

func (m *QueryGetTradeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTradeRequest) MarshalToSizedBuffer

func (m *QueryGetTradeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTradeRequest) ProtoMessage

func (*QueryGetTradeRequest) ProtoMessage()

func (*QueryGetTradeRequest) Reset

func (m *QueryGetTradeRequest) Reset()

func (*QueryGetTradeRequest) Size

func (m *QueryGetTradeRequest) Size() (n int)

func (*QueryGetTradeRequest) String

func (m *QueryGetTradeRequest) String() string

func (*QueryGetTradeRequest) Unmarshal

func (m *QueryGetTradeRequest) Unmarshal(dAtA []byte) error

func (*QueryGetTradeRequest) XXX_DiscardUnknown

func (m *QueryGetTradeRequest) XXX_DiscardUnknown()

func (*QueryGetTradeRequest) XXX_Marshal

func (m *QueryGetTradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTradeRequest) XXX_Merge

func (m *QueryGetTradeRequest) XXX_Merge(src proto.Message)

func (*QueryGetTradeRequest) XXX_Size

func (m *QueryGetTradeRequest) XXX_Size() int

func (*QueryGetTradeRequest) XXX_Unmarshal

func (m *QueryGetTradeRequest) XXX_Unmarshal(b []byte) error

type QueryGetTradeResponse

type QueryGetTradeResponse struct {
	Trade Trade `protobuf:"bytes,1,opt,name=Trade,proto3" json:"Trade"`
}

func (*QueryGetTradeResponse) Descriptor

func (*QueryGetTradeResponse) Descriptor() ([]byte, []int)

func (*QueryGetTradeResponse) GetTrade

func (m *QueryGetTradeResponse) GetTrade() Trade

func (*QueryGetTradeResponse) Marshal

func (m *QueryGetTradeResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetTradeResponse) MarshalTo

func (m *QueryGetTradeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTradeResponse) MarshalToSizedBuffer

func (m *QueryGetTradeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTradeResponse) ProtoMessage

func (*QueryGetTradeResponse) ProtoMessage()

func (*QueryGetTradeResponse) Reset

func (m *QueryGetTradeResponse) Reset()

func (*QueryGetTradeResponse) Size

func (m *QueryGetTradeResponse) Size() (n int)

func (*QueryGetTradeResponse) String

func (m *QueryGetTradeResponse) String() string

func (*QueryGetTradeResponse) Unmarshal

func (m *QueryGetTradeResponse) Unmarshal(dAtA []byte) error

func (*QueryGetTradeResponse) XXX_DiscardUnknown

func (m *QueryGetTradeResponse) XXX_DiscardUnknown()

func (*QueryGetTradeResponse) XXX_Marshal

func (m *QueryGetTradeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTradeResponse) XXX_Merge

func (m *QueryGetTradeResponse) XXX_Merge(src proto.Message)

func (*QueryGetTradeResponse) XXX_Size

func (m *QueryGetTradeResponse) XXX_Size() int

func (*QueryGetTradeResponse) XXX_Unmarshal

func (m *QueryGetTradeResponse) XXX_Unmarshal(b []byte) error

type QueryGetUsernameByAddressRequest

type QueryGetUsernameByAddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetUsernameByAddressRequest) Descriptor

func (*QueryGetUsernameByAddressRequest) Descriptor() ([]byte, []int)

func (*QueryGetUsernameByAddressRequest) GetAddress

func (m *QueryGetUsernameByAddressRequest) GetAddress() string

func (*QueryGetUsernameByAddressRequest) Marshal

func (m *QueryGetUsernameByAddressRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetUsernameByAddressRequest) MarshalTo

func (m *QueryGetUsernameByAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressRequest) MarshalToSizedBuffer

func (m *QueryGetUsernameByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressRequest) ProtoMessage

func (*QueryGetUsernameByAddressRequest) ProtoMessage()

func (*QueryGetUsernameByAddressRequest) Reset

func (*QueryGetUsernameByAddressRequest) Size

func (m *QueryGetUsernameByAddressRequest) Size() (n int)

func (*QueryGetUsernameByAddressRequest) String

func (*QueryGetUsernameByAddressRequest) Unmarshal

func (m *QueryGetUsernameByAddressRequest) Unmarshal(dAtA []byte) error

func (*QueryGetUsernameByAddressRequest) XXX_DiscardUnknown

func (m *QueryGetUsernameByAddressRequest) XXX_DiscardUnknown()

func (*QueryGetUsernameByAddressRequest) XXX_Marshal

func (m *QueryGetUsernameByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetUsernameByAddressRequest) XXX_Merge

func (*QueryGetUsernameByAddressRequest) XXX_Size

func (m *QueryGetUsernameByAddressRequest) XXX_Size() int

func (*QueryGetUsernameByAddressRequest) XXX_Unmarshal

func (m *QueryGetUsernameByAddressRequest) XXX_Unmarshal(b []byte) error

type QueryGetUsernameByAddressResponse

type QueryGetUsernameByAddressResponse struct {
	Username Username `protobuf:"bytes,1,opt,name=username,proto3" json:"username"`
}

func (*QueryGetUsernameByAddressResponse) Descriptor

func (*QueryGetUsernameByAddressResponse) Descriptor() ([]byte, []int)

func (*QueryGetUsernameByAddressResponse) GetUsername

func (*QueryGetUsernameByAddressResponse) Marshal

func (m *QueryGetUsernameByAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetUsernameByAddressResponse) MarshalTo

func (m *QueryGetUsernameByAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressResponse) MarshalToSizedBuffer

func (m *QueryGetUsernameByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressResponse) ProtoMessage

func (*QueryGetUsernameByAddressResponse) ProtoMessage()

func (*QueryGetUsernameByAddressResponse) Reset

func (*QueryGetUsernameByAddressResponse) Size

func (m *QueryGetUsernameByAddressResponse) Size() (n int)

func (*QueryGetUsernameByAddressResponse) String

func (*QueryGetUsernameByAddressResponse) Unmarshal

func (m *QueryGetUsernameByAddressResponse) Unmarshal(dAtA []byte) error

func (*QueryGetUsernameByAddressResponse) XXX_DiscardUnknown

func (m *QueryGetUsernameByAddressResponse) XXX_DiscardUnknown()

func (*QueryGetUsernameByAddressResponse) XXX_Marshal

func (m *QueryGetUsernameByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetUsernameByAddressResponse) XXX_Merge

func (*QueryGetUsernameByAddressResponse) XXX_Size

func (m *QueryGetUsernameByAddressResponse) XXX_Size() int

func (*QueryGetUsernameByAddressResponse) XXX_Unmarshal

func (m *QueryGetUsernameByAddressResponse) XXX_Unmarshal(b []byte) error

type QueryListCookbooksByCreatorRequest

type QueryListCookbooksByCreatorRequest struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListCookbooksByCreatorRequest) Descriptor

func (*QueryListCookbooksByCreatorRequest) Descriptor() ([]byte, []int)

func (*QueryListCookbooksByCreatorRequest) GetCreator

func (*QueryListCookbooksByCreatorRequest) GetPagination

func (*QueryListCookbooksByCreatorRequest) Marshal

func (m *QueryListCookbooksByCreatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryListCookbooksByCreatorRequest) MarshalTo

func (m *QueryListCookbooksByCreatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorRequest) MarshalToSizedBuffer

func (m *QueryListCookbooksByCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorRequest) ProtoMessage

func (*QueryListCookbooksByCreatorRequest) ProtoMessage()

func (*QueryListCookbooksByCreatorRequest) Reset

func (*QueryListCookbooksByCreatorRequest) Size

func (*QueryListCookbooksByCreatorRequest) String

func (*QueryListCookbooksByCreatorRequest) Unmarshal

func (m *QueryListCookbooksByCreatorRequest) Unmarshal(dAtA []byte) error

func (*QueryListCookbooksByCreatorRequest) XXX_DiscardUnknown

func (m *QueryListCookbooksByCreatorRequest) XXX_DiscardUnknown()

func (*QueryListCookbooksByCreatorRequest) XXX_Marshal

func (m *QueryListCookbooksByCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListCookbooksByCreatorRequest) XXX_Merge

func (*QueryListCookbooksByCreatorRequest) XXX_Size

func (*QueryListCookbooksByCreatorRequest) XXX_Unmarshal

func (m *QueryListCookbooksByCreatorRequest) XXX_Unmarshal(b []byte) error

type QueryListCookbooksByCreatorResponse

type QueryListCookbooksByCreatorResponse struct {
	Cookbooks []Cookbook `protobuf:"bytes,1,rep,name=Cookbooks,proto3" json:"Cookbooks"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListCookbooksByCreatorResponse) Descriptor

func (*QueryListCookbooksByCreatorResponse) Descriptor() ([]byte, []int)

func (*QueryListCookbooksByCreatorResponse) GetCookbooks

func (m *QueryListCookbooksByCreatorResponse) GetCookbooks() []Cookbook

func (*QueryListCookbooksByCreatorResponse) GetPagination

func (*QueryListCookbooksByCreatorResponse) Marshal

func (m *QueryListCookbooksByCreatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryListCookbooksByCreatorResponse) MarshalTo

func (m *QueryListCookbooksByCreatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorResponse) MarshalToSizedBuffer

func (m *QueryListCookbooksByCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorResponse) ProtoMessage

func (*QueryListCookbooksByCreatorResponse) ProtoMessage()

func (*QueryListCookbooksByCreatorResponse) Reset

func (*QueryListCookbooksByCreatorResponse) Size

func (*QueryListCookbooksByCreatorResponse) String

func (*QueryListCookbooksByCreatorResponse) Unmarshal

func (m *QueryListCookbooksByCreatorResponse) Unmarshal(dAtA []byte) error

func (*QueryListCookbooksByCreatorResponse) XXX_DiscardUnknown

func (m *QueryListCookbooksByCreatorResponse) XXX_DiscardUnknown()

func (*QueryListCookbooksByCreatorResponse) XXX_Marshal

func (m *QueryListCookbooksByCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListCookbooksByCreatorResponse) XXX_Merge

func (*QueryListCookbooksByCreatorResponse) XXX_Size

func (*QueryListCookbooksByCreatorResponse) XXX_Unmarshal

func (m *QueryListCookbooksByCreatorResponse) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByItemRequest

type QueryListExecutionsByItemRequest struct {
	CookbookID string `protobuf:"bytes,1,opt,name=CookbookID,proto3" json:"CookbookID,omitempty"`
	ItemID     string `protobuf:"bytes,2,opt,name=ItemID,proto3" json:"ItemID,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListExecutionsByItemRequest) Descriptor

func (*QueryListExecutionsByItemRequest) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByItemRequest) Marshal

func (m *QueryListExecutionsByItemRequest) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByItemRequest) MarshalTo

func (m *QueryListExecutionsByItemRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemRequest) MarshalToSizedBuffer

func (m *QueryListExecutionsByItemRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemRequest) ProtoMessage

func (*QueryListExecutionsByItemRequest) ProtoMessage()

func (*QueryListExecutionsByItemRequest) Reset

func (*QueryListExecutionsByItemRequest) Size

func (m *QueryListExecutionsByItemRequest) Size() (n int)

func (*QueryListExecutionsByItemRequest) String

func (*QueryListExecutionsByItemRequest) Unmarshal

func (m *QueryListExecutionsByItemRequest) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByItemRequest) XXX_DiscardUnknown

func (m *QueryListExecutionsByItemRequest) XXX_DiscardUnknown()

func (*QueryListExecutionsByItemRequest) XXX_Marshal

func (m *QueryListExecutionsByItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByItemRequest) XXX_Merge

func (*QueryListExecutionsByItemRequest) XXX_Size

func (m *QueryListExecutionsByItemRequest) XXX_Size() int

func (*QueryListExecutionsByItemRequest) XXX_Unmarshal

func (m *QueryListExecutionsByItemRequest) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByItemResponse

type QueryListExecutionsByItemResponse struct {
	CompletedExecutions []Execution `protobuf:"bytes,1,rep,name=CompletedExecutions,proto3" json:"CompletedExecutions"`
	PendingExecutions   []Execution `protobuf:"bytes,2,rep,name=PendingExecutions,proto3" json:"PendingExecutions"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListExecutionsByItemResponse) Descriptor

func (*QueryListExecutionsByItemResponse) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByItemResponse) GetCompletedExecutions

func (m *QueryListExecutionsByItemResponse) GetCompletedExecutions() []Execution

func (*QueryListExecutionsByItemResponse) GetPagination

func (*QueryListExecutionsByItemResponse) GetPendingExecutions

func (m *QueryListExecutionsByItemResponse) GetPendingExecutions() []Execution

func (*QueryListExecutionsByItemResponse) Marshal

func (m *QueryListExecutionsByItemResponse) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByItemResponse) MarshalTo

func (m *QueryListExecutionsByItemResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemResponse) MarshalToSizedBuffer

func (m *QueryListExecutionsByItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemResponse) ProtoMessage

func (*QueryListExecutionsByItemResponse) ProtoMessage()

func (*QueryListExecutionsByItemResponse) Reset

func (*QueryListExecutionsByItemResponse) Size

func (m *QueryListExecutionsByItemResponse) Size() (n int)

func (*QueryListExecutionsByItemResponse) String

func (*QueryListExecutionsByItemResponse) Unmarshal

func (m *QueryListExecutionsByItemResponse) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByItemResponse) XXX_DiscardUnknown

func (m *QueryListExecutionsByItemResponse) XXX_DiscardUnknown()

func (*QueryListExecutionsByItemResponse) XXX_Marshal

func (m *QueryListExecutionsByItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByItemResponse) XXX_Merge

func (*QueryListExecutionsByItemResponse) XXX_Size

func (m *QueryListExecutionsByItemResponse) XXX_Size() int

func (*QueryListExecutionsByItemResponse) XXX_Unmarshal

func (m *QueryListExecutionsByItemResponse) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByRecipeRequest

type QueryListExecutionsByRecipeRequest struct {
	CookbookID string `protobuf:"bytes,1,opt,name=CookbookID,proto3" json:"CookbookID,omitempty"`
	RecipeID   string `protobuf:"bytes,2,opt,name=RecipeID,proto3" json:"RecipeID,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListExecutionsByRecipeRequest) Descriptor

func (*QueryListExecutionsByRecipeRequest) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByRecipeRequest) Marshal

func (m *QueryListExecutionsByRecipeRequest) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByRecipeRequest) MarshalTo

func (m *QueryListExecutionsByRecipeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeRequest) MarshalToSizedBuffer

func (m *QueryListExecutionsByRecipeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeRequest) ProtoMessage

func (*QueryListExecutionsByRecipeRequest) ProtoMessage()

func (*QueryListExecutionsByRecipeRequest) Reset

func (*QueryListExecutionsByRecipeRequest) Size

func (*QueryListExecutionsByRecipeRequest) String

func (*QueryListExecutionsByRecipeRequest) Unmarshal

func (m *QueryListExecutionsByRecipeRequest) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByRecipeRequest) XXX_DiscardUnknown

func (m *QueryListExecutionsByRecipeRequest) XXX_DiscardUnknown()

func (*QueryListExecutionsByRecipeRequest) XXX_Marshal

func (m *QueryListExecutionsByRecipeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByRecipeRequest) XXX_Merge

func (*QueryListExecutionsByRecipeRequest) XXX_Size

func (*QueryListExecutionsByRecipeRequest) XXX_Unmarshal

func (m *QueryListExecutionsByRecipeRequest) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByRecipeResponse

type QueryListExecutionsByRecipeResponse struct {
	CompletedExecutions []Execution `protobuf:"bytes,1,rep,name=CompletedExecutions,proto3" json:"CompletedExecutions"`
	PendingExecutions   []Execution `protobuf:"bytes,2,rep,name=PendingExecutions,proto3" json:"PendingExecutions"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListExecutionsByRecipeResponse) Descriptor

func (*QueryListExecutionsByRecipeResponse) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByRecipeResponse) GetCompletedExecutions

func (m *QueryListExecutionsByRecipeResponse) GetCompletedExecutions() []Execution

func (*QueryListExecutionsByRecipeResponse) GetPagination

func (*QueryListExecutionsByRecipeResponse) GetPendingExecutions

func (m *QueryListExecutionsByRecipeResponse) GetPendingExecutions() []Execution

func (*QueryListExecutionsByRecipeResponse) Marshal

func (m *QueryListExecutionsByRecipeResponse) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByRecipeResponse) MarshalTo

func (m *QueryListExecutionsByRecipeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeResponse) MarshalToSizedBuffer

func (m *QueryListExecutionsByRecipeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeResponse) ProtoMessage

func (*QueryListExecutionsByRecipeResponse) ProtoMessage()

func (*QueryListExecutionsByRecipeResponse) Reset

func (*QueryListExecutionsByRecipeResponse) Size

func (*QueryListExecutionsByRecipeResponse) String

func (*QueryListExecutionsByRecipeResponse) Unmarshal

func (m *QueryListExecutionsByRecipeResponse) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByRecipeResponse) XXX_DiscardUnknown

func (m *QueryListExecutionsByRecipeResponse) XXX_DiscardUnknown()

func (*QueryListExecutionsByRecipeResponse) XXX_Marshal

func (m *QueryListExecutionsByRecipeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByRecipeResponse) XXX_Merge

func (*QueryListExecutionsByRecipeResponse) XXX_Size

func (*QueryListExecutionsByRecipeResponse) XXX_Unmarshal

func (m *QueryListExecutionsByRecipeResponse) XXX_Unmarshal(b []byte) error

type QueryListItemByOwnerRequest

type QueryListItemByOwnerRequest struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListItemByOwnerRequest) Descriptor

func (*QueryListItemByOwnerRequest) Descriptor() ([]byte, []int)

func (*QueryListItemByOwnerRequest) GetOwner

func (m *QueryListItemByOwnerRequest) GetOwner() string

func (*QueryListItemByOwnerRequest) GetPagination

func (m *QueryListItemByOwnerRequest) GetPagination() *query.PageRequest

func (*QueryListItemByOwnerRequest) Marshal

func (m *QueryListItemByOwnerRequest) Marshal() (dAtA []byte, err error)

func (*QueryListItemByOwnerRequest) MarshalTo

func (m *QueryListItemByOwnerRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListItemByOwnerRequest) MarshalToSizedBuffer

func (m *QueryListItemByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListItemByOwnerRequest) ProtoMessage

func (*QueryListItemByOwnerRequest) ProtoMessage()

func (*QueryListItemByOwnerRequest) Reset

func (m *QueryListItemByOwnerRequest) Reset()

func (*QueryListItemByOwnerRequest) Size

func (m *QueryListItemByOwnerRequest) Size() (n int)

func (*QueryListItemByOwnerRequest) String

func (m *QueryListItemByOwnerRequest) String() string

func (*QueryListItemByOwnerRequest) Unmarshal

func (m *QueryListItemByOwnerRequest) Unmarshal(dAtA []byte) error

func (*QueryListItemByOwnerRequest) XXX_DiscardUnknown

func (m *QueryListItemByOwnerRequest) XXX_DiscardUnknown()

func (*QueryListItemByOwnerRequest) XXX_Marshal

func (m *QueryListItemByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListItemByOwnerRequest) XXX_Merge

func (m *QueryListItemByOwnerRequest) XXX_Merge(src proto.Message)

func (*QueryListItemByOwnerRequest) XXX_Size

func (m *QueryListItemByOwnerRequest) XXX_Size() int

func (*QueryListItemByOwnerRequest) XXX_Unmarshal

func (m *QueryListItemByOwnerRequest) XXX_Unmarshal(b []byte) error

type QueryListItemByOwnerResponse

type QueryListItemByOwnerResponse struct {
	Items []Item `protobuf:"bytes,1,rep,name=Items,proto3" json:"Items"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListItemByOwnerResponse) Descriptor

func (*QueryListItemByOwnerResponse) Descriptor() ([]byte, []int)

func (*QueryListItemByOwnerResponse) Marshal

func (m *QueryListItemByOwnerResponse) Marshal() (dAtA []byte, err error)

func (*QueryListItemByOwnerResponse) MarshalTo

func (m *QueryListItemByOwnerResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListItemByOwnerResponse) MarshalToSizedBuffer

func (m *QueryListItemByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListItemByOwnerResponse) ProtoMessage

func (*QueryListItemByOwnerResponse) ProtoMessage()

func (*QueryListItemByOwnerResponse) Reset

func (m *QueryListItemByOwnerResponse) Reset()

func (*QueryListItemByOwnerResponse) Size

func (m *QueryListItemByOwnerResponse) Size() (n int)

func (*QueryListItemByOwnerResponse) String

func (*QueryListItemByOwnerResponse) Unmarshal

func (m *QueryListItemByOwnerResponse) Unmarshal(dAtA []byte) error

func (*QueryListItemByOwnerResponse) XXX_DiscardUnknown

func (m *QueryListItemByOwnerResponse) XXX_DiscardUnknown()

func (*QueryListItemByOwnerResponse) XXX_Marshal

func (m *QueryListItemByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListItemByOwnerResponse) XXX_Merge

func (m *QueryListItemByOwnerResponse) XXX_Merge(src proto.Message)

func (*QueryListItemByOwnerResponse) XXX_Size

func (m *QueryListItemByOwnerResponse) XXX_Size() int

func (*QueryListItemByOwnerResponse) XXX_Unmarshal

func (m *QueryListItemByOwnerResponse) XXX_Unmarshal(b []byte) error

type QueryListRecipesByCookbookRequest

type QueryListRecipesByCookbookRequest struct {
	CookbookID string `protobuf:"bytes,1,opt,name=CookbookID,proto3" json:"CookbookID,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListRecipesByCookbookRequest) Descriptor

func (*QueryListRecipesByCookbookRequest) Descriptor() ([]byte, []int)

func (*QueryListRecipesByCookbookRequest) GetCookbookID

func (m *QueryListRecipesByCookbookRequest) GetCookbookID() string

func (*QueryListRecipesByCookbookRequest) GetPagination

func (*QueryListRecipesByCookbookRequest) Marshal

func (m *QueryListRecipesByCookbookRequest) Marshal() (dAtA []byte, err error)

func (*QueryListRecipesByCookbookRequest) MarshalTo

func (m *QueryListRecipesByCookbookRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookRequest) MarshalToSizedBuffer

func (m *QueryListRecipesByCookbookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookRequest) ProtoMessage

func (*QueryListRecipesByCookbookRequest) ProtoMessage()

func (*QueryListRecipesByCookbookRequest) Reset

func (*QueryListRecipesByCookbookRequest) Size

func (m *QueryListRecipesByCookbookRequest) Size() (n int)

func (*QueryListRecipesByCookbookRequest) String

func (*QueryListRecipesByCookbookRequest) Unmarshal

func (m *QueryListRecipesByCookbookRequest) Unmarshal(dAtA []byte) error

func (*QueryListRecipesByCookbookRequest) XXX_DiscardUnknown

func (m *QueryListRecipesByCookbookRequest) XXX_DiscardUnknown()

func (*QueryListRecipesByCookbookRequest) XXX_Marshal

func (m *QueryListRecipesByCookbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListRecipesByCookbookRequest) XXX_Merge

func (*QueryListRecipesByCookbookRequest) XXX_Size

func (m *QueryListRecipesByCookbookRequest) XXX_Size() int

func (*QueryListRecipesByCookbookRequest) XXX_Unmarshal

func (m *QueryListRecipesByCookbookRequest) XXX_Unmarshal(b []byte) error

type QueryListRecipesByCookbookResponse

type QueryListRecipesByCookbookResponse struct {
	Recipes []Recipe `protobuf:"bytes,1,rep,name=Recipes,proto3" json:"Recipes"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListRecipesByCookbookResponse) Descriptor

func (*QueryListRecipesByCookbookResponse) Descriptor() ([]byte, []int)

func (*QueryListRecipesByCookbookResponse) GetPagination

func (*QueryListRecipesByCookbookResponse) GetRecipes

func (m *QueryListRecipesByCookbookResponse) GetRecipes() []Recipe

func (*QueryListRecipesByCookbookResponse) Marshal

func (m *QueryListRecipesByCookbookResponse) Marshal() (dAtA []byte, err error)

func (*QueryListRecipesByCookbookResponse) MarshalTo

func (m *QueryListRecipesByCookbookResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookResponse) MarshalToSizedBuffer

func (m *QueryListRecipesByCookbookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookResponse) ProtoMessage

func (*QueryListRecipesByCookbookResponse) ProtoMessage()

func (*QueryListRecipesByCookbookResponse) Reset

func (*QueryListRecipesByCookbookResponse) Size

func (*QueryListRecipesByCookbookResponse) String

func (*QueryListRecipesByCookbookResponse) Unmarshal

func (m *QueryListRecipesByCookbookResponse) Unmarshal(dAtA []byte) error

func (*QueryListRecipesByCookbookResponse) XXX_DiscardUnknown

func (m *QueryListRecipesByCookbookResponse) XXX_DiscardUnknown()

func (*QueryListRecipesByCookbookResponse) XXX_Marshal

func (m *QueryListRecipesByCookbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListRecipesByCookbookResponse) XXX_Merge

func (*QueryListRecipesByCookbookResponse) XXX_Size

func (*QueryListRecipesByCookbookResponse) XXX_Unmarshal

func (m *QueryListRecipesByCookbookResponse) XXX_Unmarshal(b []byte) error

type QueryListTradesByCreatorRequest

type QueryListTradesByCreatorRequest struct {
	Creator    string             `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListTradesByCreatorRequest) Descriptor

func (*QueryListTradesByCreatorRequest) Descriptor() ([]byte, []int)

func (*QueryListTradesByCreatorRequest) GetCreator

func (m *QueryListTradesByCreatorRequest) GetCreator() string

func (*QueryListTradesByCreatorRequest) GetPagination

func (*QueryListTradesByCreatorRequest) Marshal

func (m *QueryListTradesByCreatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryListTradesByCreatorRequest) MarshalTo

func (m *QueryListTradesByCreatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorRequest) MarshalToSizedBuffer

func (m *QueryListTradesByCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorRequest) ProtoMessage

func (*QueryListTradesByCreatorRequest) ProtoMessage()

func (*QueryListTradesByCreatorRequest) Reset

func (*QueryListTradesByCreatorRequest) Size

func (m *QueryListTradesByCreatorRequest) Size() (n int)

func (*QueryListTradesByCreatorRequest) String

func (*QueryListTradesByCreatorRequest) Unmarshal

func (m *QueryListTradesByCreatorRequest) Unmarshal(dAtA []byte) error

func (*QueryListTradesByCreatorRequest) XXX_DiscardUnknown

func (m *QueryListTradesByCreatorRequest) XXX_DiscardUnknown()

func (*QueryListTradesByCreatorRequest) XXX_Marshal

func (m *QueryListTradesByCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListTradesByCreatorRequest) XXX_Merge

func (m *QueryListTradesByCreatorRequest) XXX_Merge(src proto.Message)

func (*QueryListTradesByCreatorRequest) XXX_Size

func (m *QueryListTradesByCreatorRequest) XXX_Size() int

func (*QueryListTradesByCreatorRequest) XXX_Unmarshal

func (m *QueryListTradesByCreatorRequest) XXX_Unmarshal(b []byte) error

type QueryListTradesByCreatorResponse

type QueryListTradesByCreatorResponse struct {
	Trades []Trade `protobuf:"bytes,1,rep,name=Trades,proto3" json:"Trades"`
	// pagination defines the pagination in the response.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryListTradesByCreatorResponse) Descriptor

func (*QueryListTradesByCreatorResponse) Descriptor() ([]byte, []int)

func (*QueryListTradesByCreatorResponse) Marshal

func (m *QueryListTradesByCreatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryListTradesByCreatorResponse) MarshalTo

func (m *QueryListTradesByCreatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorResponse) MarshalToSizedBuffer

func (m *QueryListTradesByCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorResponse) ProtoMessage

func (*QueryListTradesByCreatorResponse) ProtoMessage()

func (*QueryListTradesByCreatorResponse) Reset

func (*QueryListTradesByCreatorResponse) Size

func (m *QueryListTradesByCreatorResponse) Size() (n int)

func (*QueryListTradesByCreatorResponse) String

func (*QueryListTradesByCreatorResponse) Unmarshal

func (m *QueryListTradesByCreatorResponse) Unmarshal(dAtA []byte) error

func (*QueryListTradesByCreatorResponse) XXX_DiscardUnknown

func (m *QueryListTradesByCreatorResponse) XXX_DiscardUnknown()

func (*QueryListTradesByCreatorResponse) XXX_Marshal

func (m *QueryListTradesByCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListTradesByCreatorResponse) XXX_Merge

func (*QueryListTradesByCreatorResponse) XXX_Size

func (m *QueryListTradesByCreatorResponse) XXX_Size() int

func (*QueryListTradesByCreatorResponse) XXX_Unmarshal

func (m *QueryListTradesByCreatorResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Queries a list of listTradesByCreator items.
	ListTradesByCreator(context.Context, *QueryListTradesByCreatorRequest) (*QueryListTradesByCreatorResponse, error)
	// Queries a redeemInfo by index.
	RedeemInfo(context.Context, *QueryGetRedeemInfoRequest) (*QueryGetRedeemInfoResponse, error)
	// Queries a list of redeemInfo items.
	RedeemInfoAll(context.Context, *QueryAllRedeemInfoRequest) (*QueryAllRedeemInfoResponse, error)
	// Queries a paymentInfo by index.
	PaymentInfo(context.Context, *QueryGetPaymentInfoRequest) (*QueryGetPaymentInfoResponse, error)
	// Queries a list of paymentInfo items.
	PaymentInfoAll(context.Context, *QueryAllPaymentInfoRequest) (*QueryAllPaymentInfoResponse, error)
	// Queries a list of getAccountByAddress items.
	UsernameByAddress(context.Context, *QueryGetUsernameByAddressRequest) (*QueryGetUsernameByAddressResponse, error)
	// Queries a username by account.
	AddressByUsername(context.Context, *QueryGetAddressByUsernameRequest) (*QueryGetAddressByUsernameResponse, error)
	// Queries a trade by id.
	Trade(context.Context, *QueryGetTradeRequest) (*QueryGetTradeResponse, error)
	// Queries a list of listItemByOwner items.
	ListItemByOwner(context.Context, *QueryListItemByOwnerRequest) (*QueryListItemByOwnerResponse, error)
	// Queries a googleIAPOrder by PurchaseToken.
	GoogleInAppPurchaseOrder(context.Context, *QueryGetGoogleInAppPurchaseOrderRequest) (*QueryGetGoogleInAppPurchaseOrderResponse, error)
	// Queries a list of listExecutionsByItem items.
	ListExecutionsByItem(context.Context, *QueryListExecutionsByItemRequest) (*QueryListExecutionsByItemResponse, error)
	// Queries a list of listExecutionsByRecipe items.
	ListExecutionsByRecipe(context.Context, *QueryListExecutionsByRecipeRequest) (*QueryListExecutionsByRecipeResponse, error)
	// Queries a execution by id.
	Execution(context.Context, *QueryGetExecutionRequest) (*QueryGetExecutionResponse, error)
	// Queries a list of listRecipesByCookbook items.
	ListRecipesByCookbook(context.Context, *QueryListRecipesByCookbookRequest) (*QueryListRecipesByCookbookResponse, error)
	// Queries a item by ID.
	Item(context.Context, *QueryGetItemRequest) (*QueryGetItemResponse, error)
	// Retrieves a recipe by ID.
	Recipe(context.Context, *QueryGetRecipeRequest) (*QueryGetRecipeResponse, error)
	// Retrieves the list of cookbooks owned by an address
	ListCookbooksByCreator(context.Context, *QueryListCookbooksByCreatorRequest) (*QueryListCookbooksByCreatorResponse, error)
	// Retrieves a cookbook by ID.
	Cookbook(context.Context, *QueryGetCookbookRequest) (*QueryGetCookbookResponse, error)
}

QueryServer is the server API for Query service.

type Recipe

type Recipe struct {
	CookbookID    string            `protobuf:"bytes,1,opt,name=cookbookID,proto3" json:"cookbookID,omitempty"`
	ID            string            `protobuf:"bytes,2,opt,name=ID,proto3" json:"ID,omitempty"`
	NodeVersion   uint64            `protobuf:"varint,3,opt,name=nodeVersion,proto3" json:"nodeVersion,omitempty"`
	Name          string            `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description   string            `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Version       string            `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"`
	CoinInputs    []CoinInput       `protobuf:"bytes,7,rep,name=coinInputs,proto3" json:"coinInputs"`
	ItemInputs    []ItemInput       `protobuf:"bytes,8,rep,name=itemInputs,proto3" json:"itemInputs"`
	Entries       EntriesList       `protobuf:"bytes,9,opt,name=entries,proto3" json:"entries"`
	Outputs       []WeightedOutputs `protobuf:"bytes,10,rep,name=outputs,proto3" json:"outputs"`
	BlockInterval int64             `protobuf:"varint,11,opt,name=blockInterval,proto3" json:"blockInterval,omitempty"`
	CostPerBlock  types.Coin        `protobuf:"bytes,12,opt,name=costPerBlock,proto3" json:"costPerBlock"`
	Enabled       bool              `protobuf:"varint,13,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ExtraInfo     string            `protobuf:"bytes,14,opt,name=extraInfo,proto3" json:"extraInfo,omitempty"`
}

func (*Recipe) Descriptor

func (*Recipe) Descriptor() ([]byte, []int)

func (*Recipe) GetBlockInterval

func (m *Recipe) GetBlockInterval() int64

func (*Recipe) GetCoinInputs

func (m *Recipe) GetCoinInputs() []CoinInput

func (*Recipe) GetCookbookID

func (m *Recipe) GetCookbookID() string

func (*Recipe) GetCostPerBlock

func (m *Recipe) GetCostPerBlock() types.Coin

func (*Recipe) GetDescription

func (m *Recipe) GetDescription() string

func (*Recipe) GetEnabled

func (m *Recipe) GetEnabled() bool

func (*Recipe) GetEntries

func (m *Recipe) GetEntries() EntriesList

func (*Recipe) GetExtraInfo

func (m *Recipe) GetExtraInfo() string

func (*Recipe) GetID

func (m *Recipe) GetID() string

func (*Recipe) GetItemInputs

func (m *Recipe) GetItemInputs() []ItemInput

func (*Recipe) GetName

func (m *Recipe) GetName() string

func (*Recipe) GetNodeVersion

func (m *Recipe) GetNodeVersion() uint64

func (*Recipe) GetOutputs

func (m *Recipe) GetOutputs() []WeightedOutputs

func (*Recipe) GetVersion

func (m *Recipe) GetVersion() string

func (*Recipe) Marshal

func (m *Recipe) Marshal() (dAtA []byte, err error)

func (*Recipe) MarshalTo

func (m *Recipe) MarshalTo(dAtA []byte) (int, error)

func (*Recipe) MarshalToSizedBuffer

func (m *Recipe) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Recipe) ProtoMessage

func (*Recipe) ProtoMessage()

func (*Recipe) Reset

func (m *Recipe) Reset()

func (*Recipe) Size

func (m *Recipe) Size() (n int)

func (*Recipe) String

func (m *Recipe) String() string

func (*Recipe) Unmarshal

func (m *Recipe) Unmarshal(dAtA []byte) error

func (*Recipe) XXX_DiscardUnknown

func (m *Recipe) XXX_DiscardUnknown()

func (*Recipe) XXX_Marshal

func (m *Recipe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Recipe) XXX_Merge

func (m *Recipe) XXX_Merge(src proto.Message)

func (*Recipe) XXX_Size

func (m *Recipe) XXX_Size() int

func (*Recipe) XXX_Unmarshal

func (m *Recipe) XXX_Unmarshal(b []byte) error

type RedeemInfo

type RedeemInfo struct {
	ID            string                                 `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ProcessorName string                                 `protobuf:"bytes,2,opt,name=processorName,proto3" json:"processorName,omitempty"`
	Address       string                                 `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Amount        github_com_cosmos_cosmos_sdk_types.Int `protobuf:"bytes,4,opt,name=amount,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Int" json:"amount"`
	Signature     string                                 `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*RedeemInfo) Descriptor

func (*RedeemInfo) Descriptor() ([]byte, []int)

func (*RedeemInfo) GetAddress

func (m *RedeemInfo) GetAddress() string

func (*RedeemInfo) GetID

func (m *RedeemInfo) GetID() string

func (*RedeemInfo) GetProcessorName

func (m *RedeemInfo) GetProcessorName() string

func (*RedeemInfo) GetSignature

func (m *RedeemInfo) GetSignature() string

func (*RedeemInfo) Marshal

func (m *RedeemInfo) Marshal() (dAtA []byte, err error)

func (*RedeemInfo) MarshalTo

func (m *RedeemInfo) MarshalTo(dAtA []byte) (int, error)

func (*RedeemInfo) MarshalToSizedBuffer

func (m *RedeemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RedeemInfo) ProtoMessage

func (*RedeemInfo) ProtoMessage()

func (*RedeemInfo) Reset

func (m *RedeemInfo) Reset()

func (*RedeemInfo) Size

func (m *RedeemInfo) Size() (n int)

func (*RedeemInfo) String

func (m *RedeemInfo) String() string

func (*RedeemInfo) Unmarshal

func (m *RedeemInfo) Unmarshal(dAtA []byte) error

func (*RedeemInfo) XXX_DiscardUnknown

func (m *RedeemInfo) XXX_DiscardUnknown()

func (*RedeemInfo) XXX_Marshal

func (m *RedeemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedeemInfo) XXX_Merge

func (m *RedeemInfo) XXX_Merge(src proto.Message)

func (*RedeemInfo) XXX_Size

func (m *RedeemInfo) XXX_Size() int

func (*RedeemInfo) XXX_Unmarshal

func (m *RedeemInfo) XXX_Unmarshal(b []byte) error

type StakingKeeper

type StakingKeeper interface {
	Validator(sdk.Context, sdk.ValAddress) stakingtypes.ValidatorI // get a particular validator by operator address

	// Delegation allows for getting a particular delegation for a given validator
	// and delegator outside the scope of the staking module.
	Delegation(sdk.Context, sdk.AccAddress, sdk.ValAddress) stakingtypes.DelegationI

	// MaxValidators returns the maximum amount of bonded validators
	MaxValidators(sdk.Context) uint32

	IterateDelegations(ctx sdk.Context, delegator sdk.AccAddress,
		fn func(index int64, delegation stakingtypes.DelegationI) (stop bool))

	GetAllSDKDelegations(ctx sdk.Context) []stakingtypes.Delegation
}

StakingKeeper expected staking keeper (noalias)

type StringInputParam

type StringInputParam struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The value of the parameter
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

StringInputParam describes the bounds on an item input/output parameter of type string

func (*StringInputParam) Descriptor

func (*StringInputParam) Descriptor() ([]byte, []int)

func (*StringInputParam) GetKey

func (m *StringInputParam) GetKey() string

func (*StringInputParam) GetValue

func (m *StringInputParam) GetValue() string

func (*StringInputParam) Marshal

func (m *StringInputParam) Marshal() (dAtA []byte, err error)

func (*StringInputParam) MarshalTo

func (m *StringInputParam) MarshalTo(dAtA []byte) (int, error)

func (*StringInputParam) MarshalToSizedBuffer

func (m *StringInputParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringInputParam) ProtoMessage

func (*StringInputParam) ProtoMessage()

func (*StringInputParam) Reset

func (m *StringInputParam) Reset()

func (*StringInputParam) Size

func (m *StringInputParam) Size() (n int)

func (*StringInputParam) String

func (m *StringInputParam) String() string

func (*StringInputParam) Unmarshal

func (m *StringInputParam) Unmarshal(dAtA []byte) error

func (*StringInputParam) XXX_DiscardUnknown

func (m *StringInputParam) XXX_DiscardUnknown()

func (*StringInputParam) XXX_Marshal

func (m *StringInputParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringInputParam) XXX_Merge

func (m *StringInputParam) XXX_Merge(src proto.Message)

func (*StringInputParam) XXX_Size

func (m *StringInputParam) XXX_Size() int

func (*StringInputParam) XXX_Unmarshal

func (m *StringInputParam) XXX_Unmarshal(b []byte) error

type StringInputParamList

type StringInputParamList []StringInputParam

func (StringInputParamList) Actualize

func (lpm StringInputParamList) Actualize() []StringKeyValue

Actualize actualize string from StringInputParamList

type StringKeyValue

type StringKeyValue struct {
	Key   string `protobuf:"bytes,1,opt,name=Key,proto3" json:"Key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=Value,proto3" json:"Value,omitempty"`
}

StringKeyValue describes string key/value set

func (*StringKeyValue) Descriptor

func (*StringKeyValue) Descriptor() ([]byte, []int)

func (*StringKeyValue) GetKey

func (m *StringKeyValue) GetKey() string

func (*StringKeyValue) GetValue

func (m *StringKeyValue) GetValue() string

func (*StringKeyValue) Marshal

func (m *StringKeyValue) Marshal() (dAtA []byte, err error)

func (*StringKeyValue) MarshalTo

func (m *StringKeyValue) MarshalTo(dAtA []byte) (int, error)

func (*StringKeyValue) MarshalToSizedBuffer

func (m *StringKeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringKeyValue) ProtoMessage

func (*StringKeyValue) ProtoMessage()

func (*StringKeyValue) Reset

func (m *StringKeyValue) Reset()

func (*StringKeyValue) Size

func (m *StringKeyValue) Size() (n int)

func (*StringKeyValue) String

func (m *StringKeyValue) String() string

func (*StringKeyValue) Unmarshal

func (m *StringKeyValue) Unmarshal(dAtA []byte) error

func (*StringKeyValue) XXX_DiscardUnknown

func (m *StringKeyValue) XXX_DiscardUnknown()

func (*StringKeyValue) XXX_Marshal

func (m *StringKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringKeyValue) XXX_Merge

func (m *StringKeyValue) XXX_Merge(src proto.Message)

func (*StringKeyValue) XXX_Size

func (m *StringKeyValue) XXX_Size() int

func (*StringKeyValue) XXX_Unmarshal

func (m *StringKeyValue) XXX_Unmarshal(b []byte) error

type StringKeyValueList

type StringKeyValueList []StringKeyValue

type StringParam

type StringParam struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// When program is not empty, value is ignored
	Program string `protobuf:"bytes,3,opt,name=program,proto3" json:"program,omitempty"`
}

StringParam describes an item input/output parameter of type string

func (*StringParam) Descriptor

func (*StringParam) Descriptor() ([]byte, []int)

func (*StringParam) GetKey

func (m *StringParam) GetKey() string

func (*StringParam) GetProgram

func (m *StringParam) GetProgram() string

func (*StringParam) GetValue

func (m *StringParam) GetValue() string

func (*StringParam) Marshal

func (m *StringParam) Marshal() (dAtA []byte, err error)

func (*StringParam) MarshalTo

func (m *StringParam) MarshalTo(dAtA []byte) (int, error)

func (*StringParam) MarshalToSizedBuffer

func (m *StringParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringParam) ProtoMessage

func (*StringParam) ProtoMessage()

func (*StringParam) Reset

func (m *StringParam) Reset()

func (*StringParam) Size

func (m *StringParam) Size() (n int)

func (*StringParam) String

func (m *StringParam) String() string

func (*StringParam) Unmarshal

func (m *StringParam) Unmarshal(dAtA []byte) error

func (*StringParam) XXX_DiscardUnknown

func (m *StringParam) XXX_DiscardUnknown()

func (*StringParam) XXX_Marshal

func (m *StringParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringParam) XXX_Merge

func (m *StringParam) XXX_Merge(src proto.Message)

func (*StringParam) XXX_Size

func (m *StringParam) XXX_Size() int

func (*StringParam) XXX_Unmarshal

func (m *StringParam) XXX_Unmarshal(b []byte) error

type StringParamList

type StringParamList []StringParam

func (StringParamList) Actualize

Actualize actualize string param using cel program

type Trade

type Trade struct {
	Creator          string                                   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ID               uint64                                   `protobuf:"varint,2,opt,name=ID,proto3" json:"ID,omitempty"`
	CoinInputs       []CoinInput                              `protobuf:"bytes,3,rep,name=coinInputs,proto3" json:"coinInputs"`
	ItemInputs       []ItemInput                              `protobuf:"bytes,4,rep,name=itemInputs,proto3" json:"itemInputs"`
	CoinOutputs      github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,5,rep,name=coinOutputs,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"coinOutputs"`
	ItemOutputs      []ItemRef                                `protobuf:"bytes,6,rep,name=itemOutputs,proto3" json:"itemOutputs"`
	ExtraInfo        string                                   `protobuf:"bytes,7,opt,name=extraInfo,proto3" json:"extraInfo,omitempty"`
	Receiver         string                                   `protobuf:"bytes,8,opt,name=receiver,proto3" json:"receiver,omitempty"`
	TradedItemInputs []ItemRef                                `protobuf:"bytes,9,rep,name=tradedItemInputs,proto3" json:"tradedItemInputs"`
}

func (*Trade) Descriptor

func (*Trade) Descriptor() ([]byte, []int)

func (*Trade) GetCoinInputs

func (m *Trade) GetCoinInputs() []CoinInput

func (*Trade) GetCoinOutputs

func (m *Trade) GetCoinOutputs() github_com_cosmos_cosmos_sdk_types.Coins

func (*Trade) GetCreator

func (m *Trade) GetCreator() string

func (*Trade) GetExtraInfo

func (m *Trade) GetExtraInfo() string

func (*Trade) GetID

func (m *Trade) GetID() uint64

func (*Trade) GetItemInputs

func (m *Trade) GetItemInputs() []ItemInput

func (*Trade) GetItemOutputs

func (m *Trade) GetItemOutputs() []ItemRef

func (*Trade) GetReceiver

func (m *Trade) GetReceiver() string

func (*Trade) GetTradedItemInputs

func (m *Trade) GetTradedItemInputs() []ItemRef

func (*Trade) Marshal

func (m *Trade) Marshal() (dAtA []byte, err error)

func (*Trade) MarshalTo

func (m *Trade) MarshalTo(dAtA []byte) (int, error)

func (*Trade) MarshalToSizedBuffer

func (m *Trade) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Trade) ProtoMessage

func (*Trade) ProtoMessage()

func (*Trade) Reset

func (m *Trade) Reset()

func (*Trade) Size

func (m *Trade) Size() (n int)

func (*Trade) String

func (m *Trade) String() string

func (*Trade) Unmarshal

func (m *Trade) Unmarshal(dAtA []byte) error

func (*Trade) XXX_DiscardUnknown

func (m *Trade) XXX_DiscardUnknown()

func (*Trade) XXX_Marshal

func (m *Trade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trade) XXX_Merge

func (m *Trade) XXX_Merge(src proto.Message)

func (*Trade) XXX_Size

func (m *Trade) XXX_Size() int

func (*Trade) XXX_Unmarshal

func (m *Trade) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BurnDebtToken

func (*UnimplementedMsgServer) CancelTrade

func (*UnimplementedMsgServer) CompleteExecutionEarly

func (*UnimplementedMsgServer) CreateAccount

func (*UnimplementedMsgServer) CreateCookbook

func (*UnimplementedMsgServer) CreateRecipe

func (*UnimplementedMsgServer) CreateTrade

func (*UnimplementedMsgServer) ExecuteRecipe

func (*UnimplementedMsgServer) FulfillTrade

func (*UnimplementedMsgServer) SendItems

func (*UnimplementedMsgServer) SetItemString

func (*UnimplementedMsgServer) TransferCookbook

func (*UnimplementedMsgServer) UpdateAccount

func (*UnimplementedMsgServer) UpdateCookbook

func (*UnimplementedMsgServer) UpdateRecipe

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Cookbook

func (*UnimplementedQueryServer) Execution

func (*UnimplementedQueryServer) Item

func (*UnimplementedQueryServer) ListItemByOwner

func (*UnimplementedQueryServer) ListTradesByCreator

func (*UnimplementedQueryServer) PaymentInfo

func (*UnimplementedQueryServer) PaymentInfoAll

func (*UnimplementedQueryServer) Recipe

func (*UnimplementedQueryServer) RedeemInfo

func (*UnimplementedQueryServer) RedeemInfoAll

func (*UnimplementedQueryServer) Trade

type UserMap

type UserMap struct {
	AccountAddr string `protobuf:"bytes,1,opt,name=accountAddr,proto3" json:"accountAddr,omitempty"`
	Username    string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
}

func (*UserMap) Descriptor

func (*UserMap) Descriptor() ([]byte, []int)

func (*UserMap) GetAccountAddr

func (m *UserMap) GetAccountAddr() string

func (*UserMap) GetUsername

func (m *UserMap) GetUsername() string

func (*UserMap) Marshal

func (m *UserMap) Marshal() (dAtA []byte, err error)

func (*UserMap) MarshalTo

func (m *UserMap) MarshalTo(dAtA []byte) (int, error)

func (*UserMap) MarshalToSizedBuffer

func (m *UserMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserMap) ProtoMessage

func (*UserMap) ProtoMessage()

func (*UserMap) Reset

func (m *UserMap) Reset()

func (*UserMap) Size

func (m *UserMap) Size() (n int)

func (*UserMap) String

func (m *UserMap) String() string

func (*UserMap) Unmarshal

func (m *UserMap) Unmarshal(dAtA []byte) error

func (*UserMap) XXX_DiscardUnknown

func (m *UserMap) XXX_DiscardUnknown()

func (*UserMap) XXX_Marshal

func (m *UserMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserMap) XXX_Merge

func (m *UserMap) XXX_Merge(src proto.Message)

func (*UserMap) XXX_Size

func (m *UserMap) XXX_Size() int

func (*UserMap) XXX_Unmarshal

func (m *UserMap) XXX_Unmarshal(b []byte) error

type Username

type Username struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Username) Descriptor

func (*Username) Descriptor() ([]byte, []int)

func (*Username) GetValue

func (m *Username) GetValue() string

func (*Username) Marshal

func (m *Username) Marshal() (dAtA []byte, err error)

func (*Username) MarshalTo

func (m *Username) MarshalTo(dAtA []byte) (int, error)

func (*Username) MarshalToSizedBuffer

func (m *Username) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Username) ProtoMessage

func (*Username) ProtoMessage()

func (*Username) Reset

func (m *Username) Reset()

func (*Username) Size

func (m *Username) Size() (n int)

func (*Username) String

func (m *Username) String() string

func (*Username) Unmarshal

func (m *Username) Unmarshal(dAtA []byte) error

func (*Username) XXX_DiscardUnknown

func (m *Username) XXX_DiscardUnknown()

func (*Username) XXX_Marshal

func (m *Username) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Username) XXX_Merge

func (m *Username) XXX_Merge(src proto.Message)

func (*Username) XXX_Size

func (m *Username) XXX_Size() int

func (*Username) XXX_Unmarshal

func (m *Username) XXX_Unmarshal(b []byte) error

type WeightedOutputs

type WeightedOutputs struct {
	EntryIDs []string `protobuf:"bytes,1,rep,name=entryIDs,proto3" json:"entryIDs,omitempty"`
	Weight   uint64   `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
}

WeightedOutputs is to make structs which is using weight to be based on

func (*WeightedOutputs) Descriptor

func (*WeightedOutputs) Descriptor() ([]byte, []int)

func (*WeightedOutputs) GetEntryIDs

func (m *WeightedOutputs) GetEntryIDs() []string

func (*WeightedOutputs) GetWeight

func (m *WeightedOutputs) GetWeight() uint64

func (*WeightedOutputs) Marshal

func (m *WeightedOutputs) Marshal() (dAtA []byte, err error)

func (*WeightedOutputs) MarshalTo

func (m *WeightedOutputs) MarshalTo(dAtA []byte) (int, error)

func (*WeightedOutputs) MarshalToSizedBuffer

func (m *WeightedOutputs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WeightedOutputs) ProtoMessage

func (*WeightedOutputs) ProtoMessage()

func (*WeightedOutputs) Reset

func (m *WeightedOutputs) Reset()

func (*WeightedOutputs) Size

func (m *WeightedOutputs) Size() (n int)

func (*WeightedOutputs) String

func (m *WeightedOutputs) String() string

func (*WeightedOutputs) Unmarshal

func (m *WeightedOutputs) Unmarshal(dAtA []byte) error

func (*WeightedOutputs) XXX_DiscardUnknown

func (m *WeightedOutputs) XXX_DiscardUnknown()

func (*WeightedOutputs) XXX_Marshal

func (m *WeightedOutputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedOutputs) XXX_Merge

func (m *WeightedOutputs) XXX_Merge(src proto.Message)

func (*WeightedOutputs) XXX_Size

func (m *WeightedOutputs) XXX_Size() int

func (*WeightedOutputs) XXX_Unmarshal

func (m *WeightedOutputs) XXX_Unmarshal(b []byte) error

type WeightedOutputsList

type WeightedOutputsList []WeightedOutputs

func (WeightedOutputsList) Actualize

func (wol WeightedOutputsList) Actualize() ([]string, error)

Actualize generate result entries from WeightedOutputsList

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL