types

package
v1.0.3 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: 67 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// PylonsCoinDenom is the pylons denom string with the u prefix indicating "micropylon"
	PylonsCoinDenom = "upylon"
	// StakingCoinDenom is the staking denom string with the u prefix indicating "microbedrock"
	StakingCoinDenom = "ubedrock"
	// StripeCoinDenom is the denom string for Stripe-based USD
	StripeCoinDenom = "ustripeusd"
	// CosmosCoinDenom is the atom denom string with the u prefix indicating "uatom"
	CosmosCoinDenom = "uatom"
)
View Source
const (
	ProposalStatusInvalid = "PROPOSAL_STATUS_INVALID"
	ProposalStatusPassed  = "PROPOSAL_STATUS_PASSED"
)
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 added in v1.0.3

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 added in v1.0.3

func BasicOverloads() []*functions.Overload

BasicOverloads collect basic functions

func BasicVarDefs added in v1.0.3

func BasicVarDefs() []*exprpb.Decl

BasicVarDefs collect basic variable definitions

func BasicVariables added in v1.0.3

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

BasicVariables initialize default variables

func BindFlagsLoadViper added in v0.0.9

func BindFlagsLoadViper(cmd *cobra.Command, _ []string) error

BindFlagsLoadViper binds all flags and read the config into viper

func ConvertValidatorAddressToBech32String added in v0.0.9

func ConvertValidatorAddressToBech32String(address types.Address) string

ConvertValidatorAddressToBech32String converts the given validator address to its Bech32 string representation

func ConvertValidatorPubKeyToBech32String added in v0.0.9

func ConvertValidatorPubKeyToBech32String(pubKey tmcrypto.PubKey) (string, error)

ConvertValidatorPubKeyToBech32String converts the given pubKey to a Bech32 string

func CookbookDenom added in v1.0.3

func CookbookDenom(cookbookID, denom string) (string, error)

CookbookDenom converts a cookbookID, denom pair into a valid cookbookDenom string

func CookbookModified added in v1.0.3

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 added in v1.0.3

func DecodeItemID(id string) uint64

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

func EncodeItemID added in v1.0.3

func EncodeItemID(id uint64) string

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

func EntriesListEqual added in v1.0.3

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

func EntryListsByIDs added in v1.0.3

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

EntryListsByIDs is a function to find an entry by ID

func FindAttributeByKey added in v0.0.9

func FindAttributeByKey(event abci.Event, attrKey string) (abci.EventAttribute, error)

func FindEventByType added in v0.0.9

func FindEventByType(events []abci.Event, eventType string) (abci.Event, error)

func FindEventsByType added in v0.0.9

func FindEventsByType(events []abci.Event, eventType string) []abci.Event

func FindValidPaymentsPermutation added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 IBCDenom added in v1.0.3

func IBCDenom(hash string) (string, error)

IBCDenom converts a trace hash into a properly formatted IBCDenom string

func IsCookbookDenom added in v1.0.3

func IsCookbookDenom(denom string) bool

IsCookbookDenom checks if an inputted denom is a valid cookbookDenom

func IsIBCDenomRepresentation added in v1.0.3

func IsIBCDenomRepresentation(denom string) bool

IsIBCDenomRepresentation checks if an inputted denom is a valid IBCDenom

func ItemInputsEqual added in v1.0.3

func ItemInputsEqual(original, updated []ItemInput) bool

func KeyPrefix added in v1.0.3

func KeyPrefix(p string) []byte

func OutputsEqual added in v1.0.3

func OutputsEqual(original, updated []WeightedOutputs) bool

func ParamKeyTable added in v1.0.3

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable returns the parameter by key

func ParseCoinCLI added in v1.0.3

func ParseCoinCLI(arg string) (sdk.Coin, error)

ParseCoinCLI parses a string and returns an sdk.Coin type. The string can either be in the json form of the sdk.Coin type or in the string form: "100tokenA"

func ParseCoinsCLI added in v1.0.3

func ParseCoinsCLI(arg string) (sdk.Coins, error)

ParseCoinsCLI parses a string and returns an sdk.Coins type. The string can either be in the json form of the sdk.Coins type or of form: "100tokenA,200tokenB,300tokenC"

func RecipeModified added in v1.0.3

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 added in v1.0.3

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces added in v1.0.3

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer added in v1.0.3

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateCoinOutput added in v1.0.3

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

func ValidateDoubles added in v1.0.3

func ValidateDoubles(dp []DoubleParam) error

func ValidateEmail added in v1.0.3

func ValidateEmail(email string) error

ValidateEmail validates the email string provided

func ValidateEntriesList added in v1.0.3

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

func ValidateFieldLength added in v1.0.3

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

ValidateFieldLength checks if a string field is within minLength and maxLength

func ValidateGoogleIAPSignature added in v1.0.3

func ValidateGoogleIAPSignature(msg *MsgGoogleInAppPurchaseGetCoins, coinIssuer CoinIssuer) error

ValidateGoogleIAPSignature is function for testing signature on local

func ValidateID added in v1.0.3

func ValidateID(s string) error

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

func ValidateInputDoubles added in v1.0.3

func ValidateInputDoubles(dip []DoubleInputParam) error

func ValidateInputLongs added in v1.0.3

func ValidateInputLongs(lip []LongInputParam) error

func ValidateInputStrings added in v1.0.3

func ValidateInputStrings(sip []StringInputParam) error

func ValidateItemID added in v1.0.3

func ValidateItemID(s string) error

ValidateItemID validates an ItemID

func ValidateItemInput added in v1.0.3

func ValidateItemInput(i ItemInput) error

func ValidateItemModifyOutputs added in v1.0.3

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

func ValidateItemOutputs added in v1.0.3

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

func ValidateLongs added in v1.0.3

func ValidateLongs(lp []LongParam) error

func ValidateMutableStrings added in v1.0.3

func ValidateMutableStrings(skv []StringKeyValue) error

func ValidateOutputs added in v1.0.3

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

func ValidatePaymentInfo added in v1.0.3

func ValidatePaymentInfo(p PaymentInfo) error

ValidatePaymentInfo validates a payment receipt

func ValidateRedeemInfo added in v1.0.3

func ValidateRedeemInfo(r RedeemInfo) error

ValidateRedeemInfo validates a redeem receipt

func ValidateStrings added in v1.0.3

func ValidateStrings(sp []StringParam) error

func ValidateUsername added in v1.0.3

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 added in v1.0.3

func ValidateVersion(s string) error

ValidateVersion validates the SemVer

Types

type Account added in v1.0.3

type Account struct {
	Address string
}

Account represents a chain account

func NewAccount added in v1.0.3

func NewAccount(address string) Account

NewAccount builds a new Account instance

type AccountAddr added in v1.0.3

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

func (*AccountAddr) Descriptor added in v1.0.3

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

func (*AccountAddr) GetValue added in v1.0.3

func (m *AccountAddr) GetValue() string

func (*AccountAddr) Marshal added in v1.0.3

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

func (*AccountAddr) MarshalTo added in v1.0.3

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

func (*AccountAddr) MarshalToSizedBuffer added in v1.0.3

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

func (*AccountAddr) ProtoMessage added in v1.0.3

func (*AccountAddr) ProtoMessage()

func (*AccountAddr) Reset added in v1.0.3

func (m *AccountAddr) Reset()

func (*AccountAddr) Size added in v1.0.3

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

func (*AccountAddr) String added in v1.0.3

func (m *AccountAddr) String() string

func (*AccountAddr) Unmarshal added in v1.0.3

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

func (*AccountAddr) XXX_DiscardUnknown added in v1.0.3

func (m *AccountAddr) XXX_DiscardUnknown()

func (*AccountAddr) XXX_Marshal added in v1.0.3

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

func (*AccountAddr) XXX_Merge added in v1.0.3

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

func (*AccountAddr) XXX_Size added in v1.0.3

func (m *AccountAddr) XXX_Size() int

func (*AccountAddr) XXX_Unmarshal added in v1.0.3

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

type AccountBalance added in v1.0.3

type AccountBalance struct {
	Address string
	Balance sdk.Coins
	Height  int64
}

AccountBalance represents the balance of an account at a given height

func NewAccountBalance added in v1.0.3

func NewAccountBalance(address string, balance sdk.Coins, height int64) AccountBalance

NewAccountBalance allows to build a new AccountBalance instance

type AccountBalanceHistory added in v1.0.3

type AccountBalanceHistory struct {
	Account       string
	Balance       []sdk.Coin
	Delegations   []sdk.Coin
	Redelegations []sdk.Coin
	Unbonding     []sdk.Coin
	Commission    []sdk.DecCoin
	Reward        []sdk.DecCoin
	Timestamp     time.Time
}

AccountBalanceHistory contains the information of a given balance at a specific height

func NewAccountBalanceHistory added in v1.0.3

func NewAccountBalanceHistory(
	account string, balance, delegations, redelegations, unbonding []sdk.Coin, commission, reward []sdk.DecCoin, timestamp time.Time,
) AccountBalanceHistory

NewAccountBalanceHistory allows to build a new AccountBalanceHistory instance

type AccountKeeper added in v1.0.3

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 added in v1.0.3

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 Block added in v0.0.9

type Block struct {
	Height          int64
	Hash            string
	TxNum           int
	TotalGas        uint64
	ProposerAddress string
	Timestamp       time.Time
}

Block contains the data of a single chain block

func NewBlock added in v0.0.9

func NewBlock(
	height int64, hash string, txNum int, totalGas uint64, proposerAddress string, timestamp time.Time,
) *Block

NewBlock allows to build a new Block instance

func NewBlockFromTmBlock added in v0.0.9

func NewBlockFromTmBlock(blk *tmctypes.ResultBlock, totalGas uint64) *Block

NewBlockFromTmBlock builds a new Block instance from a given ResultBlock object

type CelEnvCollection added in v1.0.3

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

CelEnvCollection struct manage cel program work flow

func NewCelEnvCollection added in v1.0.3

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

NewCelEnvCollection generate a new CelEnvCollection

func (*CelEnvCollection) Eval added in v1.0.3

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

Eval calculate a value

func (*CelEnvCollection) EvalFloat64 added in v1.0.3

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

EvalFloat64 calculate a value and convert to float64

func (*CelEnvCollection) EvalInt added in v1.0.3

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

EvalInt calculate a value and convert to int

func (*CelEnvCollection) EvalInt64 added in v1.0.3

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

EvalInt64 calculate a value and convert to int64

func (*CelEnvCollection) EvalString added in v1.0.3

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

EvalString calculate a value and convert to string

func (*CelEnvCollection) GetEnv added in v1.0.3

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

func (*CelEnvCollection) GetFuncs added in v1.0.3

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

func (*CelEnvCollection) GetVariables added in v1.0.3

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

type CobraCmdFunc added in v0.0.9

type CobraCmdFunc func(cmd *cobra.Command, args []string) error

CobraCmdFunc represents a cobra command function

func ConcatCobraCmdFuncs added in v0.0.9

func ConcatCobraCmdFuncs(fs ...CobraCmdFunc) CobraCmdFunc

ConcatCobraCmdFuncs returns a single function that calls each argument function in sequence RunE, PreRunE, PersistentPreRunE, etc. all have this same signature

type CoinInput added in v1.0.3

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 ParseCoinInputStringArray added in v1.0.3

func ParseCoinInputStringArray(coinsStr []string) ([]CoinInput, error)

ParseCoinInputStringArray converts a []string of form {"100tokenA,100tokenB","1000tokenC"} and converts it to a []CoinInput

func ParseCoinInputsCLI added in v1.0.3

func ParseCoinInputsCLI(arg string) ([]CoinInput, error)

ParseCoinInputsCLI parses a string and returns a []CoinInput. The string can either be of the json form of a []CoinInput, or be of form: {"100tokenA,100tokenB","1000tokenC"} as a string.

func (*CoinInput) Descriptor added in v1.0.3

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

func (*CoinInput) GetCoins added in v1.0.3

func (*CoinInput) Marshal added in v1.0.3

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

func (*CoinInput) MarshalTo added in v1.0.3

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

func (*CoinInput) MarshalToSizedBuffer added in v1.0.3

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

func (*CoinInput) ProtoMessage added in v1.0.3

func (*CoinInput) ProtoMessage()

func (*CoinInput) Reset added in v1.0.3

func (m *CoinInput) Reset()

func (*CoinInput) Size added in v1.0.3

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

func (*CoinInput) String added in v1.0.3

func (m *CoinInput) String() string

func (*CoinInput) Unmarshal added in v1.0.3

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

func (*CoinInput) XXX_DiscardUnknown added in v1.0.3

func (m *CoinInput) XXX_DiscardUnknown()

func (*CoinInput) XXX_Marshal added in v1.0.3

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

func (*CoinInput) XXX_Merge added in v1.0.3

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

func (*CoinInput) XXX_Size added in v1.0.3

func (m *CoinInput) XXX_Size() int

func (*CoinInput) XXX_Unmarshal added in v1.0.3

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

type CoinIssuer added in v1.0.3

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 added in v1.0.3

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

func (*CoinIssuer) Equal added in v1.0.3

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

func (*CoinIssuer) GetCoinDenom added in v1.0.3

func (m *CoinIssuer) GetCoinDenom() string

func (*CoinIssuer) GetEntityName added in v1.0.3

func (m *CoinIssuer) GetEntityName() string

func (*CoinIssuer) GetGoogleInAppPurchasePubKey added in v1.0.3

func (m *CoinIssuer) GetGoogleInAppPurchasePubKey() string

func (*CoinIssuer) GetPackages added in v1.0.3

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

func (*CoinIssuer) Marshal added in v1.0.3

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

func (*CoinIssuer) MarshalTo added in v1.0.3

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

func (*CoinIssuer) MarshalToSizedBuffer added in v1.0.3

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

func (*CoinIssuer) ProtoMessage added in v1.0.3

func (*CoinIssuer) ProtoMessage()

func (*CoinIssuer) Reset added in v1.0.3

func (m *CoinIssuer) Reset()

func (*CoinIssuer) Size added in v1.0.3

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

func (*CoinIssuer) String added in v1.0.3

func (m *CoinIssuer) String() string

func (*CoinIssuer) Unmarshal added in v1.0.3

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

func (*CoinIssuer) XXX_DiscardUnknown added in v1.0.3

func (m *CoinIssuer) XXX_DiscardUnknown()

func (*CoinIssuer) XXX_Marshal added in v1.0.3

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

func (*CoinIssuer) XXX_Merge added in v1.0.3

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

func (*CoinIssuer) XXX_Size added in v1.0.3

func (m *CoinIssuer) XXX_Size() int

func (*CoinIssuer) XXX_Unmarshal added in v1.0.3

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

type CoinOutput added in v1.0.3

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 CreateValidCoinOutputsList added in v1.0.3

func CreateValidCoinOutputsList(cookbookID string, coinOutputs []CoinOutput) ([]CoinOutput, error)

CreateValidCoinOutputsList checks a list of coinOutputs to check if they are valid. Valid coinOuputs must have cookbookDenoms that are only from the proper cookbook and cannot mint payment tokens

func (*CoinOutput) Descriptor added in v1.0.3

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

func (*CoinOutput) GetCoin added in v1.0.3

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

func (*CoinOutput) GetID added in v1.0.3

func (m *CoinOutput) GetID() string

func (*CoinOutput) GetProgram added in v1.0.3

func (m *CoinOutput) GetProgram() string

func (*CoinOutput) Marshal added in v1.0.3

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

func (*CoinOutput) MarshalTo added in v1.0.3

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

func (*CoinOutput) MarshalToSizedBuffer added in v1.0.3

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

func (*CoinOutput) ProtoMessage added in v1.0.3

func (*CoinOutput) ProtoMessage()

func (*CoinOutput) Reset added in v1.0.3

func (m *CoinOutput) Reset()

func (*CoinOutput) Size added in v1.0.3

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

func (*CoinOutput) String added in v1.0.3

func (m *CoinOutput) String() string

func (*CoinOutput) Unmarshal added in v1.0.3

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

func (*CoinOutput) XXX_DiscardUnknown added in v1.0.3

func (m *CoinOutput) XXX_DiscardUnknown()

func (*CoinOutput) XXX_Marshal added in v1.0.3

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

func (*CoinOutput) XXX_Merge added in v1.0.3

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

func (*CoinOutput) XXX_Size added in v1.0.3

func (m *CoinOutput) XXX_Size() int

func (*CoinOutput) XXX_Unmarshal added in v1.0.3

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

type CommitSig added in v0.0.9

type CommitSig struct {
	Height           int64
	ValidatorAddress string
	VotingPower      int64
	ProposerPriority int64
	Timestamp        time.Time
}

CommitSig contains the data of a single validator commit signature

func NewCommitSig added in v0.0.9

func NewCommitSig(validatorAddress string, votingPower, proposerPriority, height int64, timestamp time.Time) *CommitSig

NewCommitSig allows to build a new CommitSign object

type ConsensusEvent added in v1.0.3

type ConsensusEvent struct {
	Height int64  `json:"height"`
	Round  int32  `json:"round"`
	Step   string `json:"step"`
}

ConsensusEvent represents a consensus event

func NewConsensusEvent added in v1.0.3

func NewConsensusEvent(height int64, round int32, step string) *ConsensusEvent

NewConsensusEvent allows to easily build a new ConsensusEvent object

func (ConsensusEvent) Equal added in v1.0.3

func (c ConsensusEvent) Equal(other ConsensusEvent) bool

Equal tells whether c and other contain the same data

type Cookbook added in v1.0.3

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 added in v1.0.3

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

func (*Cookbook) GetCreator added in v1.0.3

func (m *Cookbook) GetCreator() string

func (*Cookbook) GetDescription added in v1.0.3

func (m *Cookbook) GetDescription() string

func (*Cookbook) GetDeveloper added in v1.0.3

func (m *Cookbook) GetDeveloper() string

func (*Cookbook) GetEnabled added in v1.0.3

func (m *Cookbook) GetEnabled() bool

func (*Cookbook) GetID added in v1.0.3

func (m *Cookbook) GetID() string

func (*Cookbook) GetName added in v1.0.3

func (m *Cookbook) GetName() string

func (*Cookbook) GetNodeVersion added in v1.0.3

func (m *Cookbook) GetNodeVersion() uint64

func (*Cookbook) GetSupportEmail added in v1.0.3

func (m *Cookbook) GetSupportEmail() string

func (*Cookbook) GetVersion added in v1.0.3

func (m *Cookbook) GetVersion() string

func (*Cookbook) Marshal added in v1.0.3

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

func (*Cookbook) MarshalTo added in v1.0.3

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

func (*Cookbook) MarshalToSizedBuffer added in v1.0.3

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

func (*Cookbook) ProtoMessage added in v1.0.3

func (*Cookbook) ProtoMessage()

func (*Cookbook) Reset added in v1.0.3

func (m *Cookbook) Reset()

func (*Cookbook) Size added in v1.0.3

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

func (*Cookbook) String added in v1.0.3

func (m *Cookbook) String() string

func (*Cookbook) Unmarshal added in v1.0.3

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

func (*Cookbook) XXX_DiscardUnknown added in v1.0.3

func (m *Cookbook) XXX_DiscardUnknown()

func (*Cookbook) XXX_Marshal added in v1.0.3

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

func (*Cookbook) XXX_Merge added in v1.0.3

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

func (*Cookbook) XXX_Size added in v1.0.3

func (m *Cookbook) XXX_Size() int

func (*Cookbook) XXX_Unmarshal added in v1.0.3

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

type CreatePaymentAccount added in v1.0.3

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 added in v1.0.3

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

func (*CreatePaymentAccount) GetAddress added in v1.0.3

func (m *CreatePaymentAccount) GetAddress() string

func (*CreatePaymentAccount) GetSignature added in v1.0.3

func (m *CreatePaymentAccount) GetSignature() string

func (*CreatePaymentAccount) GetToken added in v1.0.3

func (m *CreatePaymentAccount) GetToken() string

func (*CreatePaymentAccount) Marshal added in v1.0.3

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

func (*CreatePaymentAccount) MarshalTo added in v1.0.3

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

func (*CreatePaymentAccount) MarshalToSizedBuffer added in v1.0.3

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

func (*CreatePaymentAccount) ProtoMessage added in v1.0.3

func (*CreatePaymentAccount) ProtoMessage()

func (*CreatePaymentAccount) Reset added in v1.0.3

func (m *CreatePaymentAccount) Reset()

func (*CreatePaymentAccount) Size added in v1.0.3

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

func (*CreatePaymentAccount) String added in v1.0.3

func (m *CreatePaymentAccount) String() string

func (*CreatePaymentAccount) Unmarshal added in v1.0.3

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

func (*CreatePaymentAccount) XXX_DiscardUnknown added in v1.0.3

func (m *CreatePaymentAccount) XXX_DiscardUnknown()

func (*CreatePaymentAccount) XXX_Marshal added in v1.0.3

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

func (*CreatePaymentAccount) XXX_Merge added in v1.0.3

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

func (*CreatePaymentAccount) XXX_Size added in v1.0.3

func (m *CreatePaymentAccount) XXX_Size() int

func (*CreatePaymentAccount) XXX_Unmarshal added in v1.0.3

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

type Delegation added in v1.0.3

type Delegation struct {
	DelegatorAddress  string
	ValidatorOperAddr string
	Amount            sdk.Coin
	Height            int64
}

Delegation represents a single delegation made from a delegator to a specific validator at a specific height (and timestamp) containing a given amount of tokens

func NewDelegation added in v1.0.3

func NewDelegation(delegator string, validatorOperAddr string, amount sdk.Coin, height int64) Delegation

NewDelegation creates a new Delegation instance containing the given data

type DelegatorRewardAmount added in v1.0.3

type DelegatorRewardAmount struct {
	ValidatorOperAddr string
	DelegatorAddress  string
	WithdrawAddress   string
	Amount            []sdk.DecCoin
	Height            int64
}

DelegatorRewardAmount contains the data of a delegator commission amount

func NewDelegatorRewardAmount added in v1.0.3

func NewDelegatorRewardAmount(
	delegator, valOperAddr, withdrawAddress string, amount sdk.DecCoins, height int64,
) DelegatorRewardAmount

NewDelegatorRewardAmount allows to build a new DelegatorRewardAmount instance

type Deposit added in v1.0.3

type Deposit struct {
	ProposalID uint64
	Depositor  string
	Amount     sdk.Coins
	Height     int64
}

Deposit contains the data of a single deposit made towards a proposal

func NewDeposit added in v1.0.3

func NewDeposit(
	proposalID uint64,
	depositor string,
	amount sdk.Coins,
	height int64,
) Deposit

NewDeposit return a new Deposit instance

type DepositParams added in v1.0.3

type DepositParams struct {
	MinDeposit       sdk.Coins `json:"min_deposit,omitempty" yaml:"min_deposit"`
	MaxDepositPeriod int64     `json:"max_deposit_period,omitempty" yaml:"max_deposit_period"`
}

DepositParams contains the data of the deposit parameters of the x/gov module

func NewDepositParam added in v1.0.3

func NewDepositParam(d govtypes.DepositParams) DepositParams

NewDepositParam allows to build a new DepositParams

type DistributionParams added in v1.0.3

type DistributionParams struct {
	distrtypes.Params
	Height int64
}

DistributionParams represents the parameters of the x/distribution module

func NewDistributionParams added in v1.0.3

func NewDistributionParams(params distrtypes.Params, height int64) *DistributionParams

NewDistributionParams allows to build a new DistributionParams instance

type DoubleInputParam added in v1.0.3

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 added in v1.0.3

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

func (*DoubleInputParam) GetKey added in v1.0.3

func (m *DoubleInputParam) GetKey() string

func (DoubleInputParam) Has added in v1.0.3

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

Has check if an input is between double input param range

func (*DoubleInputParam) Marshal added in v1.0.3

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

func (*DoubleInputParam) MarshalTo added in v1.0.3

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

func (*DoubleInputParam) MarshalToSizedBuffer added in v1.0.3

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

func (*DoubleInputParam) ProtoMessage added in v1.0.3

func (*DoubleInputParam) ProtoMessage()

func (*DoubleInputParam) Reset added in v1.0.3

func (m *DoubleInputParam) Reset()

func (*DoubleInputParam) Size added in v1.0.3

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

func (*DoubleInputParam) String added in v1.0.3

func (m *DoubleInputParam) String() string

func (*DoubleInputParam) Unmarshal added in v1.0.3

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

func (*DoubleInputParam) XXX_DiscardUnknown added in v1.0.3

func (m *DoubleInputParam) XXX_DiscardUnknown()

func (*DoubleInputParam) XXX_Marshal added in v1.0.3

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

func (*DoubleInputParam) XXX_Merge added in v1.0.3

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

func (*DoubleInputParam) XXX_Size added in v1.0.3

func (m *DoubleInputParam) XXX_Size() int

func (*DoubleInputParam) XXX_Unmarshal added in v1.0.3

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

type DoubleInputParamList added in v1.0.3

type DoubleInputParamList []DoubleInputParam

func (DoubleInputParamList) Actualize added in v1.0.3

func (dpm DoubleInputParamList) Actualize() []DoubleKeyValue

Actualize creates a (key, value) list from ParamList

type DoubleKeyValue added in v1.0.3

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 added in v1.0.3

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

func (*DoubleKeyValue) GetKey added in v1.0.3

func (m *DoubleKeyValue) GetKey() string

func (*DoubleKeyValue) Marshal added in v1.0.3

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

func (*DoubleKeyValue) MarshalTo added in v1.0.3

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

func (*DoubleKeyValue) MarshalToSizedBuffer added in v1.0.3

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

func (*DoubleKeyValue) ProtoMessage added in v1.0.3

func (*DoubleKeyValue) ProtoMessage()

func (*DoubleKeyValue) Reset added in v1.0.3

func (m *DoubleKeyValue) Reset()

func (*DoubleKeyValue) Size added in v1.0.3

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

func (*DoubleKeyValue) String added in v1.0.3

func (m *DoubleKeyValue) String() string

func (*DoubleKeyValue) Unmarshal added in v1.0.3

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

func (*DoubleKeyValue) XXX_DiscardUnknown added in v1.0.3

func (m *DoubleKeyValue) XXX_DiscardUnknown()

func (*DoubleKeyValue) XXX_Marshal added in v1.0.3

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

func (*DoubleKeyValue) XXX_Merge added in v1.0.3

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

func (*DoubleKeyValue) XXX_Size added in v1.0.3

func (m *DoubleKeyValue) XXX_Size() int

func (*DoubleKeyValue) XXX_Unmarshal added in v1.0.3

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

type DoubleKeyValueList added in v1.0.3

type DoubleKeyValueList []DoubleKeyValue

type DoubleParam added in v1.0.3

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 added in v1.0.3

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

func (*DoubleParam) GetKey added in v1.0.3

func (m *DoubleParam) GetKey() string

func (*DoubleParam) GetProgram added in v1.0.3

func (m *DoubleParam) GetProgram() string

func (*DoubleParam) GetWeightRanges added in v1.0.3

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

func (*DoubleParam) Marshal added in v1.0.3

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

func (*DoubleParam) MarshalTo added in v1.0.3

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

func (*DoubleParam) MarshalToSizedBuffer added in v1.0.3

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

func (*DoubleParam) ProtoMessage added in v1.0.3

func (*DoubleParam) ProtoMessage()

func (*DoubleParam) Reset added in v1.0.3

func (m *DoubleParam) Reset()

func (*DoubleParam) Size added in v1.0.3

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

func (*DoubleParam) String added in v1.0.3

func (m *DoubleParam) String() string

func (*DoubleParam) Unmarshal added in v1.0.3

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

func (*DoubleParam) XXX_DiscardUnknown added in v1.0.3

func (m *DoubleParam) XXX_DiscardUnknown()

func (*DoubleParam) XXX_Marshal added in v1.0.3

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

func (*DoubleParam) XXX_Merge added in v1.0.3

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

func (*DoubleParam) XXX_Size added in v1.0.3

func (m *DoubleParam) XXX_Size() int

func (*DoubleParam) XXX_Unmarshal added in v1.0.3

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

type DoubleParamList added in v1.0.3

type DoubleParamList []DoubleParam

func (DoubleParamList) Actualize added in v1.0.3

Actualize creates a (key, value) list from ParamList

type DoubleSignEvidence added in v1.0.3

type DoubleSignEvidence struct {
	VoteA  DoubleSignVote
	VoteB  DoubleSignVote
	Height int64
}

DoubleSignEvidence represent a double sign evidence on each tendermint block

func NewDoubleSignEvidence added in v1.0.3

func NewDoubleSignEvidence(height int64, voteA DoubleSignVote, voteB DoubleSignVote) DoubleSignEvidence

NewDoubleSignEvidence return a new DoubleSignEvidence object

type DoubleSignVote added in v1.0.3

type DoubleSignVote struct {
	BlockID          string
	ValidatorAddress string
	Signature        string
	Type             int
	Height           int64
	Round            int32
	ValidatorIndex   int32
}

DoubleSignVote represents a double vote which is included inside a DoubleSignEvidence

func NewDoubleSignVote added in v1.0.3

func NewDoubleSignVote(
	roundType int,
	height int64,
	round int32,
	blockID string,
	validatorAddress string,
	validatorIndex int32,
	signature string,
) DoubleSignVote

NewDoubleSignVote allows to create a new DoubleSignVote instance

type DoubleWeightRange added in v1.0.3

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 added in v1.0.3

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

func (*DoubleWeightRange) GetWeight added in v1.0.3

func (m *DoubleWeightRange) GetWeight() uint64

func (DoubleWeightRange) Has added in v1.0.3

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

Has check if an input is between double weight range

func (*DoubleWeightRange) Marshal added in v1.0.3

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

func (*DoubleWeightRange) MarshalTo added in v1.0.3

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

func (*DoubleWeightRange) MarshalToSizedBuffer added in v1.0.3

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

func (*DoubleWeightRange) ProtoMessage added in v1.0.3

func (*DoubleWeightRange) ProtoMessage()

func (*DoubleWeightRange) Reset added in v1.0.3

func (m *DoubleWeightRange) Reset()

func (*DoubleWeightRange) Size added in v1.0.3

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

func (*DoubleWeightRange) String added in v1.0.3

func (m *DoubleWeightRange) String() string

func (*DoubleWeightRange) Unmarshal added in v1.0.3

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

func (*DoubleWeightRange) XXX_DiscardUnknown added in v1.0.3

func (m *DoubleWeightRange) XXX_DiscardUnknown()

func (*DoubleWeightRange) XXX_Marshal added in v1.0.3

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

func (*DoubleWeightRange) XXX_Merge added in v1.0.3

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

func (*DoubleWeightRange) XXX_Size added in v1.0.3

func (m *DoubleWeightRange) XXX_Size() int

func (*DoubleWeightRange) XXX_Unmarshal added in v1.0.3

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

type DoubleWeightTable added in v1.0.3

type DoubleWeightTable []DoubleWeightRange

func (DoubleWeightTable) Generate added in v1.0.3

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 added in v1.0.3

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

Has checks if any of the weight ranges has the number

type EntriesList added in v1.0.3

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 added in v1.0.3

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

func (*EntriesList) GetCoinOutputs added in v1.0.3

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

func (*EntriesList) GetItemModifyOutputs added in v1.0.3

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

func (*EntriesList) GetItemOutputs added in v1.0.3

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

func (*EntriesList) Marshal added in v1.0.3

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

func (*EntriesList) MarshalTo added in v1.0.3

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

func (*EntriesList) MarshalToSizedBuffer added in v1.0.3

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

func (*EntriesList) ProtoMessage added in v1.0.3

func (*EntriesList) ProtoMessage()

func (*EntriesList) Reset added in v1.0.3

func (m *EntriesList) Reset()

func (*EntriesList) Size added in v1.0.3

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

func (*EntriesList) String added in v1.0.3

func (m *EntriesList) String() string

func (*EntriesList) Unmarshal added in v1.0.3

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

func (*EntriesList) XXX_DiscardUnknown added in v1.0.3

func (m *EntriesList) XXX_DiscardUnknown()

func (*EntriesList) XXX_Marshal added in v1.0.3

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

func (*EntriesList) XXX_Merge added in v1.0.3

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

func (*EntriesList) XXX_Size added in v1.0.3

func (m *EntriesList) XXX_Size() int

func (*EntriesList) XXX_Unmarshal added in v1.0.3

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

type EventBurnDebtToken added in v1.0.3

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

func (*EventBurnDebtToken) Descriptor added in v1.0.3

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

func (*EventBurnDebtToken) GetRedeemInfo added in v1.0.3

func (m *EventBurnDebtToken) GetRedeemInfo() RedeemInfo

func (*EventBurnDebtToken) Marshal added in v1.0.3

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

func (*EventBurnDebtToken) MarshalTo added in v1.0.3

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

func (*EventBurnDebtToken) MarshalToSizedBuffer added in v1.0.3

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

func (*EventBurnDebtToken) ProtoMessage added in v1.0.3

func (*EventBurnDebtToken) ProtoMessage()

func (*EventBurnDebtToken) Reset added in v1.0.3

func (m *EventBurnDebtToken) Reset()

func (*EventBurnDebtToken) Size added in v1.0.3

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

func (*EventBurnDebtToken) String added in v1.0.3

func (m *EventBurnDebtToken) String() string

func (*EventBurnDebtToken) Unmarshal added in v1.0.3

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

func (*EventBurnDebtToken) XXX_DiscardUnknown added in v1.0.3

func (m *EventBurnDebtToken) XXX_DiscardUnknown()

func (*EventBurnDebtToken) XXX_Marshal added in v1.0.3

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

func (*EventBurnDebtToken) XXX_Merge added in v1.0.3

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

func (*EventBurnDebtToken) XXX_Size added in v1.0.3

func (m *EventBurnDebtToken) XXX_Size() int

func (*EventBurnDebtToken) XXX_Unmarshal added in v1.0.3

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

type EventCancelTrade added in v1.0.3

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 added in v1.0.3

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

func (*EventCancelTrade) GetCreator added in v1.0.3

func (m *EventCancelTrade) GetCreator() string

func (*EventCancelTrade) GetID added in v1.0.3

func (m *EventCancelTrade) GetID() uint64

func (*EventCancelTrade) Marshal added in v1.0.3

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

func (*EventCancelTrade) MarshalTo added in v1.0.3

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

func (*EventCancelTrade) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCancelTrade) ProtoMessage added in v1.0.3

func (*EventCancelTrade) ProtoMessage()

func (*EventCancelTrade) Reset added in v1.0.3

func (m *EventCancelTrade) Reset()

func (*EventCancelTrade) Size added in v1.0.3

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

func (*EventCancelTrade) String added in v1.0.3

func (m *EventCancelTrade) String() string

func (*EventCancelTrade) Unmarshal added in v1.0.3

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

func (*EventCancelTrade) XXX_DiscardUnknown added in v1.0.3

func (m *EventCancelTrade) XXX_DiscardUnknown()

func (*EventCancelTrade) XXX_Marshal added in v1.0.3

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

func (*EventCancelTrade) XXX_Merge added in v1.0.3

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

func (*EventCancelTrade) XXX_Size added in v1.0.3

func (m *EventCancelTrade) XXX_Size() int

func (*EventCancelTrade) XXX_Unmarshal added in v1.0.3

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

type EventCompleteExecution added in v1.0.3

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 added in v1.0.3

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

func (*EventCompleteExecution) GetBurnCoins added in v1.0.3

func (*EventCompleteExecution) GetCoinOutputs added in v1.0.3

func (*EventCompleteExecution) GetCreator added in v1.0.3

func (m *EventCompleteExecution) GetCreator() string

func (*EventCompleteExecution) GetFeeCoins added in v1.0.3

func (*EventCompleteExecution) GetID added in v1.0.3

func (m *EventCompleteExecution) GetID() string

func (*EventCompleteExecution) GetMintItems added in v1.0.3

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

func (*EventCompleteExecution) GetModifyItems added in v1.0.3

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

func (*EventCompleteExecution) GetPayCoins added in v1.0.3

func (*EventCompleteExecution) GetTransferCoins added in v1.0.3

func (*EventCompleteExecution) Marshal added in v1.0.3

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

func (*EventCompleteExecution) MarshalTo added in v1.0.3

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

func (*EventCompleteExecution) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCompleteExecution) ProtoMessage added in v1.0.3

func (*EventCompleteExecution) ProtoMessage()

func (*EventCompleteExecution) Reset added in v1.0.3

func (m *EventCompleteExecution) Reset()

func (*EventCompleteExecution) Size added in v1.0.3

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

func (*EventCompleteExecution) String added in v1.0.3

func (m *EventCompleteExecution) String() string

func (*EventCompleteExecution) Unmarshal added in v1.0.3

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

func (*EventCompleteExecution) XXX_DiscardUnknown added in v1.0.3

func (m *EventCompleteExecution) XXX_DiscardUnknown()

func (*EventCompleteExecution) XXX_Marshal added in v1.0.3

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

func (*EventCompleteExecution) XXX_Merge added in v1.0.3

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

func (*EventCompleteExecution) XXX_Size added in v1.0.3

func (m *EventCompleteExecution) XXX_Size() int

func (*EventCompleteExecution) XXX_Unmarshal added in v1.0.3

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

type EventCompleteExecutionEarly added in v1.0.3

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 added in v1.0.3

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

func (*EventCompleteExecutionEarly) GetCreator added in v1.0.3

func (m *EventCompleteExecutionEarly) GetCreator() string

func (*EventCompleteExecutionEarly) GetID added in v1.0.3

func (*EventCompleteExecutionEarly) Marshal added in v1.0.3

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

func (*EventCompleteExecutionEarly) MarshalTo added in v1.0.3

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

func (*EventCompleteExecutionEarly) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCompleteExecutionEarly) ProtoMessage added in v1.0.3

func (*EventCompleteExecutionEarly) ProtoMessage()

func (*EventCompleteExecutionEarly) Reset added in v1.0.3

func (m *EventCompleteExecutionEarly) Reset()

func (*EventCompleteExecutionEarly) Size added in v1.0.3

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

func (*EventCompleteExecutionEarly) String added in v1.0.3

func (m *EventCompleteExecutionEarly) String() string

func (*EventCompleteExecutionEarly) Unmarshal added in v1.0.3

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

func (*EventCompleteExecutionEarly) XXX_DiscardUnknown added in v1.0.3

func (m *EventCompleteExecutionEarly) XXX_DiscardUnknown()

func (*EventCompleteExecutionEarly) XXX_Marshal added in v1.0.3

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

func (*EventCompleteExecutionEarly) XXX_Merge added in v1.0.3

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

func (*EventCompleteExecutionEarly) XXX_Size added in v1.0.3

func (m *EventCompleteExecutionEarly) XXX_Size() int

func (*EventCompleteExecutionEarly) XXX_Unmarshal added in v1.0.3

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

type EventCreateAccount added in v1.0.3

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 added in v1.0.3

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

func (*EventCreateAccount) GetAddress added in v1.0.3

func (m *EventCreateAccount) GetAddress() string

func (*EventCreateAccount) GetUsername added in v1.0.3

func (m *EventCreateAccount) GetUsername() string

func (*EventCreateAccount) Marshal added in v1.0.3

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

func (*EventCreateAccount) MarshalTo added in v1.0.3

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

func (*EventCreateAccount) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCreateAccount) ProtoMessage added in v1.0.3

func (*EventCreateAccount) ProtoMessage()

func (*EventCreateAccount) Reset added in v1.0.3

func (m *EventCreateAccount) Reset()

func (*EventCreateAccount) Size added in v1.0.3

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

func (*EventCreateAccount) String added in v1.0.3

func (m *EventCreateAccount) String() string

func (*EventCreateAccount) Unmarshal added in v1.0.3

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

func (*EventCreateAccount) XXX_DiscardUnknown added in v1.0.3

func (m *EventCreateAccount) XXX_DiscardUnknown()

func (*EventCreateAccount) XXX_Marshal added in v1.0.3

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

func (*EventCreateAccount) XXX_Merge added in v1.0.3

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

func (*EventCreateAccount) XXX_Size added in v1.0.3

func (m *EventCreateAccount) XXX_Size() int

func (*EventCreateAccount) XXX_Unmarshal added in v1.0.3

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

type EventCreateCookbook added in v1.0.3

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 added in v1.0.3

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

func (*EventCreateCookbook) GetCreator added in v1.0.3

func (m *EventCreateCookbook) GetCreator() string

func (*EventCreateCookbook) GetID added in v1.0.3

func (m *EventCreateCookbook) GetID() string

func (*EventCreateCookbook) Marshal added in v1.0.3

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

func (*EventCreateCookbook) MarshalTo added in v1.0.3

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

func (*EventCreateCookbook) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCreateCookbook) ProtoMessage added in v1.0.3

func (*EventCreateCookbook) ProtoMessage()

func (*EventCreateCookbook) Reset added in v1.0.3

func (m *EventCreateCookbook) Reset()

func (*EventCreateCookbook) Size added in v1.0.3

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

func (*EventCreateCookbook) String added in v1.0.3

func (m *EventCreateCookbook) String() string

func (*EventCreateCookbook) Unmarshal added in v1.0.3

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

func (*EventCreateCookbook) XXX_DiscardUnknown added in v1.0.3

func (m *EventCreateCookbook) XXX_DiscardUnknown()

func (*EventCreateCookbook) XXX_Marshal added in v1.0.3

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

func (*EventCreateCookbook) XXX_Merge added in v1.0.3

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

func (*EventCreateCookbook) XXX_Size added in v1.0.3

func (m *EventCreateCookbook) XXX_Size() int

func (*EventCreateCookbook) XXX_Unmarshal added in v1.0.3

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

type EventCreateExecution added in v1.0.3

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 added in v1.0.3

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

func (*EventCreateExecution) GetCreator added in v1.0.3

func (m *EventCreateExecution) GetCreator() string

func (*EventCreateExecution) GetID added in v1.0.3

func (m *EventCreateExecution) GetID() string

func (*EventCreateExecution) GetPaymentInfos added in v1.0.3

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

func (*EventCreateExecution) Marshal added in v1.0.3

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

func (*EventCreateExecution) MarshalTo added in v1.0.3

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

func (*EventCreateExecution) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCreateExecution) ProtoMessage added in v1.0.3

func (*EventCreateExecution) ProtoMessage()

func (*EventCreateExecution) Reset added in v1.0.3

func (m *EventCreateExecution) Reset()

func (*EventCreateExecution) Size added in v1.0.3

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

func (*EventCreateExecution) String added in v1.0.3

func (m *EventCreateExecution) String() string

func (*EventCreateExecution) Unmarshal added in v1.0.3

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

func (*EventCreateExecution) XXX_DiscardUnknown added in v1.0.3

func (m *EventCreateExecution) XXX_DiscardUnknown()

func (*EventCreateExecution) XXX_Marshal added in v1.0.3

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

func (*EventCreateExecution) XXX_Merge added in v1.0.3

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

func (*EventCreateExecution) XXX_Size added in v1.0.3

func (m *EventCreateExecution) XXX_Size() int

func (*EventCreateExecution) XXX_Unmarshal added in v1.0.3

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

type EventCreateRecipe added in v1.0.3

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 added in v1.0.3

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

func (*EventCreateRecipe) GetCookbookID added in v1.0.3

func (m *EventCreateRecipe) GetCookbookID() string

func (*EventCreateRecipe) GetCreator added in v1.0.3

func (m *EventCreateRecipe) GetCreator() string

func (*EventCreateRecipe) GetID added in v1.0.3

func (m *EventCreateRecipe) GetID() string

func (*EventCreateRecipe) Marshal added in v1.0.3

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

func (*EventCreateRecipe) MarshalTo added in v1.0.3

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

func (*EventCreateRecipe) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCreateRecipe) ProtoMessage added in v1.0.3

func (*EventCreateRecipe) ProtoMessage()

func (*EventCreateRecipe) Reset added in v1.0.3

func (m *EventCreateRecipe) Reset()

func (*EventCreateRecipe) Size added in v1.0.3

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

func (*EventCreateRecipe) String added in v1.0.3

func (m *EventCreateRecipe) String() string

func (*EventCreateRecipe) Unmarshal added in v1.0.3

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

func (*EventCreateRecipe) XXX_DiscardUnknown added in v1.0.3

func (m *EventCreateRecipe) XXX_DiscardUnknown()

func (*EventCreateRecipe) XXX_Marshal added in v1.0.3

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

func (*EventCreateRecipe) XXX_Merge added in v1.0.3

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

func (*EventCreateRecipe) XXX_Size added in v1.0.3

func (m *EventCreateRecipe) XXX_Size() int

func (*EventCreateRecipe) XXX_Unmarshal added in v1.0.3

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

type EventCreateTrade added in v1.0.3

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 added in v1.0.3

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

func (*EventCreateTrade) GetCreator added in v1.0.3

func (m *EventCreateTrade) GetCreator() string

func (*EventCreateTrade) GetID added in v1.0.3

func (m *EventCreateTrade) GetID() uint64

func (*EventCreateTrade) Marshal added in v1.0.3

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

func (*EventCreateTrade) MarshalTo added in v1.0.3

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

func (*EventCreateTrade) MarshalToSizedBuffer added in v1.0.3

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

func (*EventCreateTrade) ProtoMessage added in v1.0.3

func (*EventCreateTrade) ProtoMessage()

func (*EventCreateTrade) Reset added in v1.0.3

func (m *EventCreateTrade) Reset()

func (*EventCreateTrade) Size added in v1.0.3

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

func (*EventCreateTrade) String added in v1.0.3

func (m *EventCreateTrade) String() string

func (*EventCreateTrade) Unmarshal added in v1.0.3

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

func (*EventCreateTrade) XXX_DiscardUnknown added in v1.0.3

func (m *EventCreateTrade) XXX_DiscardUnknown()

func (*EventCreateTrade) XXX_Marshal added in v1.0.3

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

func (*EventCreateTrade) XXX_Merge added in v1.0.3

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

func (*EventCreateTrade) XXX_Size added in v1.0.3

func (m *EventCreateTrade) XXX_Size() int

func (*EventCreateTrade) XXX_Unmarshal added in v1.0.3

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

type EventDropExecution added in v1.0.3

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 added in v1.0.3

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

func (*EventDropExecution) GetCreator added in v1.0.3

func (m *EventDropExecution) GetCreator() string

func (*EventDropExecution) GetID added in v1.0.3

func (m *EventDropExecution) GetID() string

func (*EventDropExecution) Marshal added in v1.0.3

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

func (*EventDropExecution) MarshalTo added in v1.0.3

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

func (*EventDropExecution) MarshalToSizedBuffer added in v1.0.3

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

func (*EventDropExecution) ProtoMessage added in v1.0.3

func (*EventDropExecution) ProtoMessage()

func (*EventDropExecution) Reset added in v1.0.3

func (m *EventDropExecution) Reset()

func (*EventDropExecution) Size added in v1.0.3

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

func (*EventDropExecution) String added in v1.0.3

func (m *EventDropExecution) String() string

func (*EventDropExecution) Unmarshal added in v1.0.3

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

func (*EventDropExecution) XXX_DiscardUnknown added in v1.0.3

func (m *EventDropExecution) XXX_DiscardUnknown()

func (*EventDropExecution) XXX_Marshal added in v1.0.3

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

func (*EventDropExecution) XXX_Merge added in v1.0.3

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

func (*EventDropExecution) XXX_Size added in v1.0.3

func (m *EventDropExecution) XXX_Size() int

func (*EventDropExecution) XXX_Unmarshal added in v1.0.3

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

type EventFulfillTrade added in v1.0.3

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 added in v1.0.3

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

func (*EventFulfillTrade) GetCoinInputs added in v1.0.3

func (*EventFulfillTrade) GetCoinOutputs added in v1.0.3

func (*EventFulfillTrade) GetCreator added in v1.0.3

func (m *EventFulfillTrade) GetCreator() string

func (*EventFulfillTrade) GetFulfiller added in v1.0.3

func (m *EventFulfillTrade) GetFulfiller() string

func (*EventFulfillTrade) GetID added in v1.0.3

func (m *EventFulfillTrade) GetID() uint64

func (*EventFulfillTrade) GetItemInputs added in v1.0.3

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

func (*EventFulfillTrade) GetItemOutputs added in v1.0.3

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

func (*EventFulfillTrade) GetPaymentInfos added in v1.0.3

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

func (*EventFulfillTrade) Marshal added in v1.0.3

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

func (*EventFulfillTrade) MarshalTo added in v1.0.3

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

func (*EventFulfillTrade) MarshalToSizedBuffer added in v1.0.3

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

func (*EventFulfillTrade) ProtoMessage added in v1.0.3

func (*EventFulfillTrade) ProtoMessage()

func (*EventFulfillTrade) Reset added in v1.0.3

func (m *EventFulfillTrade) Reset()

func (*EventFulfillTrade) Size added in v1.0.3

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

func (*EventFulfillTrade) String added in v1.0.3

func (m *EventFulfillTrade) String() string

func (*EventFulfillTrade) Unmarshal added in v1.0.3

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

func (*EventFulfillTrade) XXX_DiscardUnknown added in v1.0.3

func (m *EventFulfillTrade) XXX_DiscardUnknown()

func (*EventFulfillTrade) XXX_Marshal added in v1.0.3

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

func (*EventFulfillTrade) XXX_Merge added in v1.0.3

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

func (*EventFulfillTrade) XXX_Size added in v1.0.3

func (m *EventFulfillTrade) XXX_Size() int

func (*EventFulfillTrade) XXX_Unmarshal added in v1.0.3

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

type EventGooglePurchase added in v1.0.3

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 added in v1.0.3

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

func (*EventGooglePurchase) GetCreator added in v1.0.3

func (m *EventGooglePurchase) GetCreator() string

func (*EventGooglePurchase) GetProductID added in v1.0.3

func (m *EventGooglePurchase) GetProductID() string

func (*EventGooglePurchase) GetPurchaseToken added in v1.0.3

func (m *EventGooglePurchase) GetPurchaseToken() string

func (*EventGooglePurchase) GetReceiptDataBase64 added in v1.0.3

func (m *EventGooglePurchase) GetReceiptDataBase64() string

func (*EventGooglePurchase) GetSignature added in v1.0.3

func (m *EventGooglePurchase) GetSignature() string

func (*EventGooglePurchase) Marshal added in v1.0.3

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

func (*EventGooglePurchase) MarshalTo added in v1.0.3

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

func (*EventGooglePurchase) MarshalToSizedBuffer added in v1.0.3

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

func (*EventGooglePurchase) ProtoMessage added in v1.0.3

func (*EventGooglePurchase) ProtoMessage()

func (*EventGooglePurchase) Reset added in v1.0.3

func (m *EventGooglePurchase) Reset()

func (*EventGooglePurchase) Size added in v1.0.3

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

func (*EventGooglePurchase) String added in v1.0.3

func (m *EventGooglePurchase) String() string

func (*EventGooglePurchase) Unmarshal added in v1.0.3

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

func (*EventGooglePurchase) XXX_DiscardUnknown added in v1.0.3

func (m *EventGooglePurchase) XXX_DiscardUnknown()

func (*EventGooglePurchase) XXX_Marshal added in v1.0.3

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

func (*EventGooglePurchase) XXX_Merge added in v1.0.3

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

func (*EventGooglePurchase) XXX_Size added in v1.0.3

func (m *EventGooglePurchase) XXX_Size() int

func (*EventGooglePurchase) XXX_Unmarshal added in v1.0.3

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

type EventSendItems added in v1.0.3

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 added in v1.0.3

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

func (*EventSendItems) GetItems added in v1.0.3

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

func (*EventSendItems) GetReceiver added in v1.0.3

func (m *EventSendItems) GetReceiver() string

func (*EventSendItems) GetSender added in v1.0.3

func (m *EventSendItems) GetSender() string

func (*EventSendItems) Marshal added in v1.0.3

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

func (*EventSendItems) MarshalTo added in v1.0.3

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

func (*EventSendItems) MarshalToSizedBuffer added in v1.0.3

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

func (*EventSendItems) ProtoMessage added in v1.0.3

func (*EventSendItems) ProtoMessage()

func (*EventSendItems) Reset added in v1.0.3

func (m *EventSendItems) Reset()

func (*EventSendItems) Size added in v1.0.3

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

func (*EventSendItems) String added in v1.0.3

func (m *EventSendItems) String() string

func (*EventSendItems) Unmarshal added in v1.0.3

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

func (*EventSendItems) XXX_DiscardUnknown added in v1.0.3

func (m *EventSendItems) XXX_DiscardUnknown()

func (*EventSendItems) XXX_Marshal added in v1.0.3

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

func (*EventSendItems) XXX_Merge added in v1.0.3

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

func (*EventSendItems) XXX_Size added in v1.0.3

func (m *EventSendItems) XXX_Size() int

func (*EventSendItems) XXX_Unmarshal added in v1.0.3

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

type EventSetItemString added in v1.0.3

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 added in v1.0.3

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

func (*EventSetItemString) GetCookbookID added in v1.0.3

func (m *EventSetItemString) GetCookbookID() string

func (*EventSetItemString) GetCreator added in v1.0.3

func (m *EventSetItemString) GetCreator() string

func (*EventSetItemString) GetID added in v1.0.3

func (m *EventSetItemString) GetID() string

func (*EventSetItemString) GetOriginalMutableStrings added in v1.0.3

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

func (*EventSetItemString) Marshal added in v1.0.3

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

func (*EventSetItemString) MarshalTo added in v1.0.3

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

func (*EventSetItemString) MarshalToSizedBuffer added in v1.0.3

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

func (*EventSetItemString) ProtoMessage added in v1.0.3

func (*EventSetItemString) ProtoMessage()

func (*EventSetItemString) Reset added in v1.0.3

func (m *EventSetItemString) Reset()

func (*EventSetItemString) Size added in v1.0.3

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

func (*EventSetItemString) String added in v1.0.3

func (m *EventSetItemString) String() string

func (*EventSetItemString) Unmarshal added in v1.0.3

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

func (*EventSetItemString) XXX_DiscardUnknown added in v1.0.3

func (m *EventSetItemString) XXX_DiscardUnknown()

func (*EventSetItemString) XXX_Marshal added in v1.0.3

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

func (*EventSetItemString) XXX_Merge added in v1.0.3

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

func (*EventSetItemString) XXX_Size added in v1.0.3

func (m *EventSetItemString) XXX_Size() int

func (*EventSetItemString) XXX_Unmarshal added in v1.0.3

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

type EventStripePurchase added in v1.0.3

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 added in v1.0.3

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

func (*EventStripePurchase) GetCreator added in v1.0.3

func (m *EventStripePurchase) GetCreator() string

func (*EventStripePurchase) GetID added in v1.0.3

func (m *EventStripePurchase) GetID() string

func (*EventStripePurchase) Marshal added in v1.0.3

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

func (*EventStripePurchase) MarshalTo added in v1.0.3

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

func (*EventStripePurchase) MarshalToSizedBuffer added in v1.0.3

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

func (*EventStripePurchase) ProtoMessage added in v1.0.3

func (*EventStripePurchase) ProtoMessage()

func (*EventStripePurchase) Reset added in v1.0.3

func (m *EventStripePurchase) Reset()

func (*EventStripePurchase) Size added in v1.0.3

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

func (*EventStripePurchase) String added in v1.0.3

func (m *EventStripePurchase) String() string

func (*EventStripePurchase) Unmarshal added in v1.0.3

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

func (*EventStripePurchase) XXX_DiscardUnknown added in v1.0.3

func (m *EventStripePurchase) XXX_DiscardUnknown()

func (*EventStripePurchase) XXX_Marshal added in v1.0.3

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

func (*EventStripePurchase) XXX_Merge added in v1.0.3

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

func (*EventStripePurchase) XXX_Size added in v1.0.3

func (m *EventStripePurchase) XXX_Size() int

func (*EventStripePurchase) XXX_Unmarshal added in v1.0.3

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

type EventTransferCookbook added in v1.0.3

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 added in v1.0.3

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

func (*EventTransferCookbook) GetID added in v1.0.3

func (m *EventTransferCookbook) GetID() string

func (*EventTransferCookbook) GetReceiver added in v1.0.3

func (m *EventTransferCookbook) GetReceiver() string

func (*EventTransferCookbook) GetSender added in v1.0.3

func (m *EventTransferCookbook) GetSender() string

func (*EventTransferCookbook) Marshal added in v1.0.3

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

func (*EventTransferCookbook) MarshalTo added in v1.0.3

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

func (*EventTransferCookbook) MarshalToSizedBuffer added in v1.0.3

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

func (*EventTransferCookbook) ProtoMessage added in v1.0.3

func (*EventTransferCookbook) ProtoMessage()

func (*EventTransferCookbook) Reset added in v1.0.3

func (m *EventTransferCookbook) Reset()

func (*EventTransferCookbook) Size added in v1.0.3

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

func (*EventTransferCookbook) String added in v1.0.3

func (m *EventTransferCookbook) String() string

func (*EventTransferCookbook) Unmarshal added in v1.0.3

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

func (*EventTransferCookbook) XXX_DiscardUnknown added in v1.0.3

func (m *EventTransferCookbook) XXX_DiscardUnknown()

func (*EventTransferCookbook) XXX_Marshal added in v1.0.3

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

func (*EventTransferCookbook) XXX_Merge added in v1.0.3

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

func (*EventTransferCookbook) XXX_Size added in v1.0.3

func (m *EventTransferCookbook) XXX_Size() int

func (*EventTransferCookbook) XXX_Unmarshal added in v1.0.3

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

type EventUpdateAccount added in v1.0.3

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 added in v1.0.3

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

func (*EventUpdateAccount) GetAddress added in v1.0.3

func (m *EventUpdateAccount) GetAddress() string

func (*EventUpdateAccount) GetUsername added in v1.0.3

func (m *EventUpdateAccount) GetUsername() string

func (*EventUpdateAccount) Marshal added in v1.0.3

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

func (*EventUpdateAccount) MarshalTo added in v1.0.3

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

func (*EventUpdateAccount) MarshalToSizedBuffer added in v1.0.3

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

func (*EventUpdateAccount) ProtoMessage added in v1.0.3

func (*EventUpdateAccount) ProtoMessage()

func (*EventUpdateAccount) Reset added in v1.0.3

func (m *EventUpdateAccount) Reset()

func (*EventUpdateAccount) Size added in v1.0.3

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

func (*EventUpdateAccount) String added in v1.0.3

func (m *EventUpdateAccount) String() string

func (*EventUpdateAccount) Unmarshal added in v1.0.3

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

func (*EventUpdateAccount) XXX_DiscardUnknown added in v1.0.3

func (m *EventUpdateAccount) XXX_DiscardUnknown()

func (*EventUpdateAccount) XXX_Marshal added in v1.0.3

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

func (*EventUpdateAccount) XXX_Merge added in v1.0.3

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

func (*EventUpdateAccount) XXX_Size added in v1.0.3

func (m *EventUpdateAccount) XXX_Size() int

func (*EventUpdateAccount) XXX_Unmarshal added in v1.0.3

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

type EventUpdateCookbook added in v1.0.3

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 added in v1.0.3

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

func (*EventUpdateCookbook) GetOriginalCookbook added in v1.0.3

func (m *EventUpdateCookbook) GetOriginalCookbook() Cookbook

func (*EventUpdateCookbook) Marshal added in v1.0.3

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

func (*EventUpdateCookbook) MarshalTo added in v1.0.3

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

func (*EventUpdateCookbook) MarshalToSizedBuffer added in v1.0.3

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

func (*EventUpdateCookbook) ProtoMessage added in v1.0.3

func (*EventUpdateCookbook) ProtoMessage()

func (*EventUpdateCookbook) Reset added in v1.0.3

func (m *EventUpdateCookbook) Reset()

func (*EventUpdateCookbook) Size added in v1.0.3

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

func (*EventUpdateCookbook) String added in v1.0.3

func (m *EventUpdateCookbook) String() string

func (*EventUpdateCookbook) Unmarshal added in v1.0.3

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

func (*EventUpdateCookbook) XXX_DiscardUnknown added in v1.0.3

func (m *EventUpdateCookbook) XXX_DiscardUnknown()

func (*EventUpdateCookbook) XXX_Marshal added in v1.0.3

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

func (*EventUpdateCookbook) XXX_Merge added in v1.0.3

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

func (*EventUpdateCookbook) XXX_Size added in v1.0.3

func (m *EventUpdateCookbook) XXX_Size() int

func (*EventUpdateCookbook) XXX_Unmarshal added in v1.0.3

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

type EventUpdateRecipe added in v1.0.3

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 added in v1.0.3

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

func (*EventUpdateRecipe) GetOriginalRecipe added in v1.0.3

func (m *EventUpdateRecipe) GetOriginalRecipe() Recipe

func (*EventUpdateRecipe) Marshal added in v1.0.3

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

func (*EventUpdateRecipe) MarshalTo added in v1.0.3

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

func (*EventUpdateRecipe) MarshalToSizedBuffer added in v1.0.3

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

func (*EventUpdateRecipe) ProtoMessage added in v1.0.3

func (*EventUpdateRecipe) ProtoMessage()

func (*EventUpdateRecipe) Reset added in v1.0.3

func (m *EventUpdateRecipe) Reset()

func (*EventUpdateRecipe) Size added in v1.0.3

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

func (*EventUpdateRecipe) String added in v1.0.3

func (m *EventUpdateRecipe) String() string

func (*EventUpdateRecipe) Unmarshal added in v1.0.3

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

func (*EventUpdateRecipe) XXX_DiscardUnknown added in v1.0.3

func (m *EventUpdateRecipe) XXX_DiscardUnknown()

func (*EventUpdateRecipe) XXX_Marshal added in v1.0.3

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

func (*EventUpdateRecipe) XXX_Merge added in v1.0.3

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

func (*EventUpdateRecipe) XXX_Size added in v1.0.3

func (m *EventUpdateRecipe) XXX_Size() int

func (*EventUpdateRecipe) XXX_Unmarshal added in v1.0.3

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

type Execution added in v1.0.3

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 added in v1.0.3

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

func (*Execution) GetBlockHeight added in v1.0.3

func (m *Execution) GetBlockHeight() int64

func (*Execution) GetCoinInputs added in v1.0.3

func (*Execution) GetCoinOutputs added in v1.0.3

func (*Execution) GetCookbookID added in v1.0.3

func (m *Execution) GetCookbookID() string

func (*Execution) GetCreator added in v1.0.3

func (m *Execution) GetCreator() string

func (*Execution) GetID added in v1.0.3

func (m *Execution) GetID() string

func (*Execution) GetItemInputs added in v1.0.3

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

func (*Execution) GetItemModifyOutputIDs added in v1.0.3

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

func (*Execution) GetItemOutputIDs added in v1.0.3

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

func (*Execution) GetNodeVersion added in v1.0.3

func (m *Execution) GetNodeVersion() uint64

func (*Execution) GetRecipeID added in v1.0.3

func (m *Execution) GetRecipeID() string

func (*Execution) GetRecipeVersion added in v1.0.3

func (m *Execution) GetRecipeVersion() string

func (*Execution) Marshal added in v1.0.3

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

func (*Execution) MarshalTo added in v1.0.3

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

func (*Execution) MarshalToSizedBuffer added in v1.0.3

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

func (*Execution) ProtoMessage added in v1.0.3

func (*Execution) ProtoMessage()

func (*Execution) Reset added in v1.0.3

func (m *Execution) Reset()

func (*Execution) Size added in v1.0.3

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

func (*Execution) String added in v1.0.3

func (m *Execution) String() string

func (*Execution) Unmarshal added in v1.0.3

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

func (*Execution) XXX_DiscardUnknown added in v1.0.3

func (m *Execution) XXX_DiscardUnknown()

func (*Execution) XXX_Marshal added in v1.0.3

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

func (*Execution) XXX_Merge added in v1.0.3

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

func (*Execution) XXX_Size added in v1.0.3

func (m *Execution) XXX_Size() int

func (*Execution) XXX_Unmarshal added in v1.0.3

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

type FeeGrant added in v1.0.3

type FeeGrant struct {
	feegranttypes.Grant
	Height int64
}

FeeGrant represents the x/feegrant module

func NewFeeGrant added in v1.0.3

func NewFeeGrant(feegrant feegranttypes.Grant, height int64) FeeGrant

NewFeeGrant allows to build a new FeeGrant instance

type Genesis added in v1.0.3

type Genesis struct {
	ChainID       string
	Time          time.Time
	InitialHeight int64
}

Genesis contains the useful information about the genesis

func NewGenesis added in v1.0.3

func NewGenesis(chainID string, startTime time.Time, initialHeight int64) *Genesis

NewGenesis allows to build a new Genesis instance

func (*Genesis) Equal added in v1.0.3

func (g *Genesis) Equal(other *Genesis) bool

Equal returns true iff g and other contain the same data

type GenesisState added in v1.0.3

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 added in v1.0.3

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Pylons genesis state

func NetworkTestGenesis added in v1.0.3

func NetworkTestGenesis() *GenesisState

NetworkTestGenesis returns the network test Pylons genesis state

func (*GenesisState) Descriptor added in v1.0.3

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

func (*GenesisState) GetAccountList added in v1.0.3

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

func (*GenesisState) GetCookbookList added in v1.0.3

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

func (*GenesisState) GetEntityCount added in v1.0.3

func (m *GenesisState) GetEntityCount() uint64

func (*GenesisState) GetExecutionCount added in v1.0.3

func (m *GenesisState) GetExecutionCount() uint64

func (*GenesisState) GetExecutionList added in v1.0.3

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

func (*GenesisState) GetGoogleIAPOrderCount added in v1.0.3

func (m *GenesisState) GetGoogleIAPOrderCount() uint64

func (*GenesisState) GetGoogleInAppPurchaseOrderList added in v1.0.3

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

func (*GenesisState) GetItemList added in v1.0.3

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

func (*GenesisState) GetParams added in v1.0.3

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetPaymentInfoList added in v1.0.3

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

func (*GenesisState) GetPendingExecutionCount added in v1.0.3

func (m *GenesisState) GetPendingExecutionCount() uint64

func (*GenesisState) GetPendingExecutionList added in v1.0.3

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

func (*GenesisState) GetRecipeList added in v1.0.3

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

func (*GenesisState) GetRedeemInfoList added in v1.0.3

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

func (*GenesisState) GetTradeCount added in v1.0.3

func (m *GenesisState) GetTradeCount() uint64

func (*GenesisState) GetTradeList added in v1.0.3

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

func (*GenesisState) Marshal added in v1.0.3

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

func (*GenesisState) MarshalTo added in v1.0.3

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

func (*GenesisState) MarshalToSizedBuffer added in v1.0.3

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

func (*GenesisState) ProtoMessage added in v1.0.3

func (*GenesisState) ProtoMessage()

func (*GenesisState) Reset added in v1.0.3

func (m *GenesisState) Reset()

func (*GenesisState) Size added in v1.0.3

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

func (*GenesisState) String added in v1.0.3

func (m *GenesisState) String() string

func (*GenesisState) Unmarshal added in v1.0.3

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

func (GenesisState) Validate added in v1.0.3

func (gs GenesisState) Validate() error

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

func (*GenesisState) XXX_DiscardUnknown added in v1.0.3

func (m *GenesisState) XXX_DiscardUnknown()

func (*GenesisState) XXX_Marshal added in v1.0.3

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

func (*GenesisState) XXX_Merge added in v1.0.3

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

func (*GenesisState) XXX_Size added in v1.0.3

func (m *GenesisState) XXX_Size() int

func (*GenesisState) XXX_Unmarshal added in v1.0.3

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

type GoogleInAppPurchaseOrder added in v1.0.3

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 added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) GetCreator added in v1.0.3

func (m *GoogleInAppPurchaseOrder) GetCreator() string

func (*GoogleInAppPurchaseOrder) GetProductID added in v1.0.3

func (m *GoogleInAppPurchaseOrder) GetProductID() string

func (*GoogleInAppPurchaseOrder) GetPurchaseToken added in v1.0.3

func (m *GoogleInAppPurchaseOrder) GetPurchaseToken() string

func (*GoogleInAppPurchaseOrder) GetReceiptDataBase64 added in v1.0.3

func (m *GoogleInAppPurchaseOrder) GetReceiptDataBase64() string

func (*GoogleInAppPurchaseOrder) GetSignature added in v1.0.3

func (m *GoogleInAppPurchaseOrder) GetSignature() string

func (*GoogleInAppPurchaseOrder) Marshal added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) MarshalTo added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) MarshalToSizedBuffer added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) ProtoMessage added in v1.0.3

func (*GoogleInAppPurchaseOrder) ProtoMessage()

func (*GoogleInAppPurchaseOrder) Reset added in v1.0.3

func (m *GoogleInAppPurchaseOrder) Reset()

func (*GoogleInAppPurchaseOrder) Size added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) String added in v1.0.3

func (m *GoogleInAppPurchaseOrder) String() string

func (*GoogleInAppPurchaseOrder) Unmarshal added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) XXX_DiscardUnknown added in v1.0.3

func (m *GoogleInAppPurchaseOrder) XXX_DiscardUnknown()

func (*GoogleInAppPurchaseOrder) XXX_Marshal added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) XXX_Merge added in v1.0.3

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

func (*GoogleInAppPurchaseOrder) XXX_Size added in v1.0.3

func (m *GoogleInAppPurchaseOrder) XXX_Size() int

func (*GoogleInAppPurchaseOrder) XXX_Unmarshal added in v1.0.3

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

type GoogleInAppPurchasePackage added in v1.0.3

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 added in v1.0.3

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

func (*GoogleInAppPurchasePackage) Equal added in v1.0.3

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

func (*GoogleInAppPurchasePackage) GetPackageName added in v1.0.3

func (m *GoogleInAppPurchasePackage) GetPackageName() string

func (*GoogleInAppPurchasePackage) GetProductID added in v1.0.3

func (m *GoogleInAppPurchasePackage) GetProductID() string

func (*GoogleInAppPurchasePackage) Marshal added in v1.0.3

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

func (*GoogleInAppPurchasePackage) MarshalTo added in v1.0.3

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

func (*GoogleInAppPurchasePackage) MarshalToSizedBuffer added in v1.0.3

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

func (*GoogleInAppPurchasePackage) ProtoMessage added in v1.0.3

func (*GoogleInAppPurchasePackage) ProtoMessage()

func (*GoogleInAppPurchasePackage) Reset added in v1.0.3

func (m *GoogleInAppPurchasePackage) Reset()

func (*GoogleInAppPurchasePackage) Size added in v1.0.3

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

func (*GoogleInAppPurchasePackage) String added in v1.0.3

func (m *GoogleInAppPurchasePackage) String() string

func (*GoogleInAppPurchasePackage) Unmarshal added in v1.0.3

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

func (*GoogleInAppPurchasePackage) XXX_DiscardUnknown added in v1.0.3

func (m *GoogleInAppPurchasePackage) XXX_DiscardUnknown()

func (*GoogleInAppPurchasePackage) XXX_Marshal added in v1.0.3

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

func (*GoogleInAppPurchasePackage) XXX_Merge added in v1.0.3

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

func (*GoogleInAppPurchasePackage) XXX_Size added in v1.0.3

func (m *GoogleInAppPurchasePackage) XXX_Size() int

func (*GoogleInAppPurchasePackage) XXX_Unmarshal added in v1.0.3

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

type GovParams added in v1.0.3

type GovParams struct {
	DepositParams DepositParams `json:"deposit_params" yaml:"deposit_params"`
	VotingParams  VotingParams  `json:"voting_params" yaml:"voting_params"`
	TallyParams   TallyParams   `json:"tally_params" yaml:"tally_params"`
	Height        int64         `json:"height" ymal:"height"`
}

GovParams contains the data of the x/gov module parameters

func NewGovParams added in v1.0.3

func NewGovParams(votingParams VotingParams, depositParams DepositParams, tallyParams TallyParams, height int64) *GovParams

NewGovParams allows to build a new GovParams instance

type GrantRemoval added in v1.0.3

type GrantRemoval struct {
	Grantee string
	Granter string
	Height  int64
}

func NewGrantRemoval added in v1.0.3

func NewGrantRemoval(grantee string, granter string, height int64) GrantRemoval

NewGrantRemoval allows to build a new GrantRemoval instance

type HeightQueue added in v0.0.9

type HeightQueue chan int64

HeightQueue is a simple type alias for a (buffered) channel of block heights.

func NewQueue

func NewQueue(size int) HeightQueue

type IntWeightRange added in v1.0.3

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 added in v1.0.3

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

func (*IntWeightRange) GetLower added in v1.0.3

func (m *IntWeightRange) GetLower() int64

func (*IntWeightRange) GetUpper added in v1.0.3

func (m *IntWeightRange) GetUpper() int64

func (*IntWeightRange) GetWeight added in v1.0.3

func (m *IntWeightRange) GetWeight() uint64

func (IntWeightRange) Has added in v1.0.3

func (wr IntWeightRange) Has(number int64) bool

Has check if a number is under IntWeightRange

func (*IntWeightRange) Marshal added in v1.0.3

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

func (*IntWeightRange) MarshalTo added in v1.0.3

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

func (*IntWeightRange) MarshalToSizedBuffer added in v1.0.3

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

func (*IntWeightRange) ProtoMessage added in v1.0.3

func (*IntWeightRange) ProtoMessage()

func (*IntWeightRange) Reset added in v1.0.3

func (m *IntWeightRange) Reset()

func (*IntWeightRange) Size added in v1.0.3

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

func (*IntWeightRange) String added in v1.0.3

func (m *IntWeightRange) String() string

func (*IntWeightRange) Unmarshal added in v1.0.3

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

func (*IntWeightRange) XXX_DiscardUnknown added in v1.0.3

func (m *IntWeightRange) XXX_DiscardUnknown()

func (*IntWeightRange) XXX_Marshal added in v1.0.3

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

func (*IntWeightRange) XXX_Merge added in v1.0.3

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

func (*IntWeightRange) XXX_Size added in v1.0.3

func (m *IntWeightRange) XXX_Size() int

func (*IntWeightRange) XXX_Unmarshal added in v1.0.3

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

type IntWeightTable added in v1.0.3

type IntWeightTable []IntWeightRange

func (IntWeightTable) Generate added in v1.0.3

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 added in v1.0.3

func (wt IntWeightTable) Has(number int) bool

Has checks if any of the weight ranges has the number

type Item added in v1.0.3

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 added in v1.0.3

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

func (Item) FindDouble added in v1.0.3

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

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

func (Item) FindDoubleKey added in v1.0.3

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

FindDoubleKey is a function get double key index

func (Item) FindLong added in v1.0.3

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

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

func (Item) FindLongKey added in v1.0.3

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

FindLongKey is a function to get long key index

func (Item) FindString added in v1.0.3

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

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

func (Item) FindStringKey added in v1.0.3

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

FindStringKey is a function to get string key index

func (*Item) GetCookbookID added in v1.0.3

func (m *Item) GetCookbookID() string

func (*Item) GetDoubles added in v1.0.3

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

func (*Item) GetID added in v1.0.3

func (m *Item) GetID() string

func (*Item) GetLastUpdate added in v1.0.3

func (m *Item) GetLastUpdate() int64

func (*Item) GetLongs added in v1.0.3

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

func (*Item) GetMutableStrings added in v1.0.3

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

func (*Item) GetNodeVersion added in v1.0.3

func (m *Item) GetNodeVersion() uint64

func (*Item) GetOwner added in v1.0.3

func (m *Item) GetOwner() string

func (*Item) GetStrings added in v1.0.3

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

func (*Item) GetTradeable added in v1.0.3

func (m *Item) GetTradeable() bool

func (*Item) GetTransferFee added in v1.0.3

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

func (*Item) Marshal added in v1.0.3

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

func (*Item) MarshalTo added in v1.0.3

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

func (*Item) MarshalToSizedBuffer added in v1.0.3

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

func (*Item) ProtoMessage added in v1.0.3

func (*Item) ProtoMessage()

func (*Item) Reset added in v1.0.3

func (m *Item) Reset()

func (*Item) Size added in v1.0.3

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

func (*Item) String added in v1.0.3

func (m *Item) String() string

func (*Item) Unmarshal added in v1.0.3

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

func (*Item) XXX_DiscardUnknown added in v1.0.3

func (m *Item) XXX_DiscardUnknown()

func (*Item) XXX_Marshal added in v1.0.3

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

func (*Item) XXX_Merge added in v1.0.3

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

func (*Item) XXX_Size added in v1.0.3

func (m *Item) XXX_Size() int

func (*Item) XXX_Unmarshal added in v1.0.3

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

type ItemInput added in v1.0.3

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 added in v1.0.3

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

func (*ItemInput) GetDoubles added in v1.0.3

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

func (*ItemInput) GetID added in v1.0.3

func (m *ItemInput) GetID() string

func (*ItemInput) GetLongs added in v1.0.3

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

func (*ItemInput) GetStrings added in v1.0.3

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

func (*ItemInput) Marshal added in v1.0.3

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

func (*ItemInput) MarshalTo added in v1.0.3

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

func (*ItemInput) MarshalToSizedBuffer added in v1.0.3

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

func (ItemInput) MatchItem added in v1.0.3

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

MatchItem checks if all the constraint match the given item

func (*ItemInput) ProtoMessage added in v1.0.3

func (*ItemInput) ProtoMessage()

func (*ItemInput) Reset added in v1.0.3

func (m *ItemInput) Reset()

func (*ItemInput) Size added in v1.0.3

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

func (*ItemInput) String added in v1.0.3

func (m *ItemInput) String() string

func (*ItemInput) Unmarshal added in v1.0.3

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

func (*ItemInput) XXX_DiscardUnknown added in v1.0.3

func (m *ItemInput) XXX_DiscardUnknown()

func (*ItemInput) XXX_Marshal added in v1.0.3

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

func (*ItemInput) XXX_Merge added in v1.0.3

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

func (*ItemInput) XXX_Size added in v1.0.3

func (m *ItemInput) XXX_Size() int

func (*ItemInput) XXX_Unmarshal added in v1.0.3

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

type ItemInputList added in v1.0.3

type ItemInputList []ItemInput

type ItemList added in v1.0.3

type ItemList []Item

type ItemModifyOutput added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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

func (*ItemModifyOutput) GetAmountMinted added in v1.0.3

func (m *ItemModifyOutput) GetAmountMinted() uint64

func (*ItemModifyOutput) GetDoubles added in v1.0.3

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

func (*ItemModifyOutput) GetID added in v1.0.3

func (m *ItemModifyOutput) GetID() string

func (*ItemModifyOutput) GetItemInputRef added in v1.0.3

func (m *ItemModifyOutput) GetItemInputRef() string

func (*ItemModifyOutput) GetLongs added in v1.0.3

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

func (*ItemModifyOutput) GetMutableStrings added in v1.0.3

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

func (*ItemModifyOutput) GetQuantity added in v1.0.3

func (m *ItemModifyOutput) GetQuantity() uint64

func (*ItemModifyOutput) GetStrings added in v1.0.3

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

func (*ItemModifyOutput) GetTradeable added in v1.0.3

func (m *ItemModifyOutput) GetTradeable() bool

func (*ItemModifyOutput) GetTransferFee added in v1.0.3

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

func (*ItemModifyOutput) Marshal added in v1.0.3

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

func (*ItemModifyOutput) MarshalTo added in v1.0.3

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

func (*ItemModifyOutput) MarshalToSizedBuffer added in v1.0.3

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

func (*ItemModifyOutput) ProtoMessage added in v1.0.3

func (*ItemModifyOutput) ProtoMessage()

func (*ItemModifyOutput) Reset added in v1.0.3

func (m *ItemModifyOutput) Reset()

func (*ItemModifyOutput) Size added in v1.0.3

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

func (*ItemModifyOutput) String added in v1.0.3

func (m *ItemModifyOutput) String() string

func (*ItemModifyOutput) Unmarshal added in v1.0.3

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

func (*ItemModifyOutput) XXX_DiscardUnknown added in v1.0.3

func (m *ItemModifyOutput) XXX_DiscardUnknown()

func (*ItemModifyOutput) XXX_Marshal added in v1.0.3

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

func (*ItemModifyOutput) XXX_Merge added in v1.0.3

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

func (*ItemModifyOutput) XXX_Size added in v1.0.3

func (m *ItemModifyOutput) XXX_Size() int

func (*ItemModifyOutput) XXX_Unmarshal added in v1.0.3

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

type ItemOutput added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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

func (*ItemOutput) GetAmountMinted added in v1.0.3

func (m *ItemOutput) GetAmountMinted() uint64

func (*ItemOutput) GetDoubles added in v1.0.3

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

func (*ItemOutput) GetID added in v1.0.3

func (m *ItemOutput) GetID() string

func (*ItemOutput) GetLongs added in v1.0.3

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

func (*ItemOutput) GetMutableStrings added in v1.0.3

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

func (*ItemOutput) GetQuantity added in v1.0.3

func (m *ItemOutput) GetQuantity() uint64

func (*ItemOutput) GetStrings added in v1.0.3

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

func (*ItemOutput) GetTradeable added in v1.0.3

func (m *ItemOutput) GetTradeable() bool

func (*ItemOutput) GetTransferFee added in v1.0.3

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

func (*ItemOutput) Marshal added in v1.0.3

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

func (*ItemOutput) MarshalTo added in v1.0.3

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

func (*ItemOutput) MarshalToSizedBuffer added in v1.0.3

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

func (*ItemOutput) ProtoMessage added in v1.0.3

func (*ItemOutput) ProtoMessage()

func (*ItemOutput) Reset added in v1.0.3

func (m *ItemOutput) Reset()

func (*ItemOutput) Size added in v1.0.3

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

func (*ItemOutput) String added in v1.0.3

func (m *ItemOutput) String() string

func (*ItemOutput) Unmarshal added in v1.0.3

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

func (*ItemOutput) XXX_DiscardUnknown added in v1.0.3

func (m *ItemOutput) XXX_DiscardUnknown()

func (*ItemOutput) XXX_Marshal added in v1.0.3

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

func (*ItemOutput) XXX_Merge added in v1.0.3

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

func (*ItemOutput) XXX_Size added in v1.0.3

func (m *ItemOutput) XXX_Size() int

func (*ItemOutput) XXX_Unmarshal added in v1.0.3

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

type ItemRecord added in v1.0.3

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 added in v1.0.3

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

func (*ItemRecord) GetDoubles added in v1.0.3

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

func (*ItemRecord) GetID added in v1.0.3

func (m *ItemRecord) GetID() string

func (*ItemRecord) GetLongs added in v1.0.3

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

func (*ItemRecord) GetStrings added in v1.0.3

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

func (*ItemRecord) Marshal added in v1.0.3

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

func (*ItemRecord) MarshalTo added in v1.0.3

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

func (*ItemRecord) MarshalToSizedBuffer added in v1.0.3

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

func (*ItemRecord) ProtoMessage added in v1.0.3

func (*ItemRecord) ProtoMessage()

func (*ItemRecord) Reset added in v1.0.3

func (m *ItemRecord) Reset()

func (*ItemRecord) Size added in v1.0.3

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

func (*ItemRecord) String added in v1.0.3

func (m *ItemRecord) String() string

func (*ItemRecord) Unmarshal added in v1.0.3

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

func (*ItemRecord) XXX_DiscardUnknown added in v1.0.3

func (m *ItemRecord) XXX_DiscardUnknown()

func (*ItemRecord) XXX_Marshal added in v1.0.3

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

func (*ItemRecord) XXX_Merge added in v1.0.3

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

func (*ItemRecord) XXX_Size added in v1.0.3

func (m *ItemRecord) XXX_Size() int

func (*ItemRecord) XXX_Unmarshal added in v1.0.3

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

type ItemRef added in v1.0.3

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 added in v1.0.3

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

func (*ItemRef) GetCookbookID added in v1.0.3

func (m *ItemRef) GetCookbookID() string

func (*ItemRef) GetItemID added in v1.0.3

func (m *ItemRef) GetItemID() string

func (*ItemRef) Marshal added in v1.0.3

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

func (*ItemRef) MarshalTo added in v1.0.3

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

func (*ItemRef) MarshalToSizedBuffer added in v1.0.3

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

func (*ItemRef) ProtoMessage added in v1.0.3

func (*ItemRef) ProtoMessage()

func (*ItemRef) Reset added in v1.0.3

func (m *ItemRef) Reset()

func (*ItemRef) Size added in v1.0.3

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

func (*ItemRef) String added in v1.0.3

func (m *ItemRef) String() string

func (*ItemRef) Unmarshal added in v1.0.3

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

func (*ItemRef) XXX_DiscardUnknown added in v1.0.3

func (m *ItemRef) XXX_DiscardUnknown()

func (*ItemRef) XXX_Marshal added in v1.0.3

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

func (*ItemRef) XXX_Merge added in v1.0.3

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

func (*ItemRef) XXX_Size added in v1.0.3

func (m *ItemRef) XXX_Size() int

func (*ItemRef) XXX_Unmarshal added in v1.0.3

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

type LongInputParam added in v1.0.3

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 added in v1.0.3

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

func (*LongInputParam) GetKey added in v1.0.3

func (m *LongInputParam) GetKey() string

func (*LongInputParam) GetMaxValue added in v1.0.3

func (m *LongInputParam) GetMaxValue() int64

func (*LongInputParam) GetMinValue added in v1.0.3

func (m *LongInputParam) GetMinValue() int64

func (LongInputParam) Has added in v1.0.3

func (lp LongInputParam) Has(input int) bool

Has validate if input is between min max range

func (*LongInputParam) Marshal added in v1.0.3

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

func (*LongInputParam) MarshalTo added in v1.0.3

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

func (*LongInputParam) MarshalToSizedBuffer added in v1.0.3

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

func (*LongInputParam) ProtoMessage added in v1.0.3

func (*LongInputParam) ProtoMessage()

func (*LongInputParam) Reset added in v1.0.3

func (m *LongInputParam) Reset()

func (*LongInputParam) Size added in v1.0.3

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

func (*LongInputParam) String added in v1.0.3

func (m *LongInputParam) String() string

func (*LongInputParam) Unmarshal added in v1.0.3

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

func (*LongInputParam) XXX_DiscardUnknown added in v1.0.3

func (m *LongInputParam) XXX_DiscardUnknown()

func (*LongInputParam) XXX_Marshal added in v1.0.3

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

func (*LongInputParam) XXX_Merge added in v1.0.3

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

func (*LongInputParam) XXX_Size added in v1.0.3

func (m *LongInputParam) XXX_Size() int

func (*LongInputParam) XXX_Unmarshal added in v1.0.3

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

type LongInputParamList added in v1.0.3

type LongInputParamList []LongInputParam

func (LongInputParamList) Actualize added in v1.0.3

func (lpm LongInputParamList) Actualize() []LongKeyValue

Actualize generate a value from range

type LongKeyValue added in v1.0.3

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 added in v1.0.3

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

func (*LongKeyValue) GetKey added in v1.0.3

func (m *LongKeyValue) GetKey() string

func (*LongKeyValue) GetValue added in v1.0.3

func (m *LongKeyValue) GetValue() int64

func (*LongKeyValue) Marshal added in v1.0.3

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

func (*LongKeyValue) MarshalTo added in v1.0.3

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

func (*LongKeyValue) MarshalToSizedBuffer added in v1.0.3

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

func (*LongKeyValue) ProtoMessage added in v1.0.3

func (*LongKeyValue) ProtoMessage()

func (*LongKeyValue) Reset added in v1.0.3

func (m *LongKeyValue) Reset()

func (*LongKeyValue) Size added in v1.0.3

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

func (*LongKeyValue) String added in v1.0.3

func (m *LongKeyValue) String() string

func (*LongKeyValue) Unmarshal added in v1.0.3

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

func (*LongKeyValue) XXX_DiscardUnknown added in v1.0.3

func (m *LongKeyValue) XXX_DiscardUnknown()

func (*LongKeyValue) XXX_Marshal added in v1.0.3

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

func (*LongKeyValue) XXX_Merge added in v1.0.3

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

func (*LongKeyValue) XXX_Size added in v1.0.3

func (m *LongKeyValue) XXX_Size() int

func (*LongKeyValue) XXX_Unmarshal added in v1.0.3

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

type LongKeyValueList added in v1.0.3

type LongKeyValueList []LongKeyValue

type LongParam added in v1.0.3

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 added in v1.0.3

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

func (*LongParam) GetKey added in v1.0.3

func (m *LongParam) GetKey() string

func (*LongParam) GetProgram added in v1.0.3

func (m *LongParam) GetProgram() string

func (*LongParam) GetWeightRanges added in v1.0.3

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

func (*LongParam) Marshal added in v1.0.3

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

func (*LongParam) MarshalTo added in v1.0.3

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

func (*LongParam) MarshalToSizedBuffer added in v1.0.3

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

func (*LongParam) ProtoMessage added in v1.0.3

func (*LongParam) ProtoMessage()

func (*LongParam) Reset added in v1.0.3

func (m *LongParam) Reset()

func (*LongParam) Size added in v1.0.3

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

func (*LongParam) String added in v1.0.3

func (m *LongParam) String() string

func (*LongParam) Unmarshal added in v1.0.3

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

func (*LongParam) XXX_DiscardUnknown added in v1.0.3

func (m *LongParam) XXX_DiscardUnknown()

func (*LongParam) XXX_Marshal added in v1.0.3

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

func (*LongParam) XXX_Merge added in v1.0.3

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

func (*LongParam) XXX_Size added in v1.0.3

func (m *LongParam) XXX_Size() int

func (*LongParam) XXX_Unmarshal added in v1.0.3

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

type LongParamList added in v1.0.3

type LongParamList []LongParam

func (LongParamList) Actualize added in v1.0.3

Actualize builds the params

type Message added in v0.0.9

type Message struct {
	TxHash    string
	Index     int
	Type      string
	Value     string
	Addresses []string
}

Message represents the data of a single message

func NewMessage added in v0.0.9

func NewMessage(txHash string, index int, msgType string, value string, addresses []string) *Message

NewMessage allows to build a new Message instance

type MintParams added in v1.0.3

type MintParams struct {
	minttypes.Params
	Height int64
}

MintParams represents the x/mint parameters

func NewMintParams added in v1.0.3

func NewMintParams(params minttypes.Params, height int64) *MintParams

NewMintParams allows to build a new MintParams instance

type MsgBurnDebtToken added in v1.0.3

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 added in v1.0.3

func NewMsgBurnDebtToken(creator string, redeemInfo RedeemInfo) *MsgBurnDebtToken

func (*MsgBurnDebtToken) Descriptor added in v1.0.3

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

func (*MsgBurnDebtToken) GetCreator added in v1.0.3

func (m *MsgBurnDebtToken) GetCreator() string

func (*MsgBurnDebtToken) GetRedeemInfo added in v1.0.3

func (m *MsgBurnDebtToken) GetRedeemInfo() RedeemInfo

func (*MsgBurnDebtToken) GetSignBytes added in v1.0.3

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

func (*MsgBurnDebtToken) GetSigners added in v1.0.3

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

func (*MsgBurnDebtToken) Marshal added in v1.0.3

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

func (*MsgBurnDebtToken) MarshalTo added in v1.0.3

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

func (*MsgBurnDebtToken) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgBurnDebtToken) ProtoMessage added in v1.0.3

func (*MsgBurnDebtToken) ProtoMessage()

func (*MsgBurnDebtToken) Reset added in v1.0.3

func (m *MsgBurnDebtToken) Reset()

func (*MsgBurnDebtToken) Route added in v1.0.3

func (msg *MsgBurnDebtToken) Route() string

func (*MsgBurnDebtToken) Size added in v1.0.3

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

func (*MsgBurnDebtToken) String added in v1.0.3

func (m *MsgBurnDebtToken) String() string

func (*MsgBurnDebtToken) Type added in v1.0.3

func (msg *MsgBurnDebtToken) Type() string

func (*MsgBurnDebtToken) Unmarshal added in v1.0.3

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

func (*MsgBurnDebtToken) ValidateBasic added in v1.0.3

func (msg *MsgBurnDebtToken) ValidateBasic() error

func (*MsgBurnDebtToken) XXX_DiscardUnknown added in v1.0.3

func (m *MsgBurnDebtToken) XXX_DiscardUnknown()

func (*MsgBurnDebtToken) XXX_Marshal added in v1.0.3

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

func (*MsgBurnDebtToken) XXX_Merge added in v1.0.3

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

func (*MsgBurnDebtToken) XXX_Size added in v1.0.3

func (m *MsgBurnDebtToken) XXX_Size() int

func (*MsgBurnDebtToken) XXX_Unmarshal added in v1.0.3

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

type MsgBurnDebtTokenResponse added in v1.0.3

type MsgBurnDebtTokenResponse struct {
}

func (*MsgBurnDebtTokenResponse) Descriptor added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) Marshal added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) MarshalTo added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) ProtoMessage added in v1.0.3

func (*MsgBurnDebtTokenResponse) ProtoMessage()

func (*MsgBurnDebtTokenResponse) Reset added in v1.0.3

func (m *MsgBurnDebtTokenResponse) Reset()

func (*MsgBurnDebtTokenResponse) Size added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) String added in v1.0.3

func (m *MsgBurnDebtTokenResponse) String() string

func (*MsgBurnDebtTokenResponse) Unmarshal added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgBurnDebtTokenResponse) XXX_DiscardUnknown()

func (*MsgBurnDebtTokenResponse) XXX_Marshal added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) XXX_Merge added in v1.0.3

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

func (*MsgBurnDebtTokenResponse) XXX_Size added in v1.0.3

func (m *MsgBurnDebtTokenResponse) XXX_Size() int

func (*MsgBurnDebtTokenResponse) XXX_Unmarshal added in v1.0.3

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

type MsgCancelTrade added in v1.0.3

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 added in v1.0.3

func NewMsgCancelTrade(creator string, id uint64) *MsgCancelTrade

func (*MsgCancelTrade) Descriptor added in v1.0.3

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

func (*MsgCancelTrade) GetCreator added in v1.0.3

func (m *MsgCancelTrade) GetCreator() string

func (*MsgCancelTrade) GetID added in v1.0.3

func (m *MsgCancelTrade) GetID() uint64

func (*MsgCancelTrade) GetSignBytes added in v1.0.3

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

func (*MsgCancelTrade) GetSigners added in v1.0.3

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

func (*MsgCancelTrade) Marshal added in v1.0.3

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

func (*MsgCancelTrade) MarshalTo added in v1.0.3

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

func (*MsgCancelTrade) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCancelTrade) ProtoMessage added in v1.0.3

func (*MsgCancelTrade) ProtoMessage()

func (*MsgCancelTrade) Reset added in v1.0.3

func (m *MsgCancelTrade) Reset()

func (*MsgCancelTrade) Route added in v1.0.3

func (msg *MsgCancelTrade) Route() string

func (*MsgCancelTrade) Size added in v1.0.3

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

func (*MsgCancelTrade) String added in v1.0.3

func (m *MsgCancelTrade) String() string

func (*MsgCancelTrade) Type added in v1.0.3

func (msg *MsgCancelTrade) Type() string

func (*MsgCancelTrade) Unmarshal added in v1.0.3

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

func (*MsgCancelTrade) ValidateBasic added in v1.0.3

func (msg *MsgCancelTrade) ValidateBasic() error

func (*MsgCancelTrade) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCancelTrade) XXX_DiscardUnknown()

func (*MsgCancelTrade) XXX_Marshal added in v1.0.3

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

func (*MsgCancelTrade) XXX_Merge added in v1.0.3

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

func (*MsgCancelTrade) XXX_Size added in v1.0.3

func (m *MsgCancelTrade) XXX_Size() int

func (*MsgCancelTrade) XXX_Unmarshal added in v1.0.3

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

type MsgCancelTradeResponse added in v1.0.3

type MsgCancelTradeResponse struct {
}

func (*MsgCancelTradeResponse) Descriptor added in v1.0.3

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

func (*MsgCancelTradeResponse) Marshal added in v1.0.3

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

func (*MsgCancelTradeResponse) MarshalTo added in v1.0.3

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

func (*MsgCancelTradeResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCancelTradeResponse) ProtoMessage added in v1.0.3

func (*MsgCancelTradeResponse) ProtoMessage()

func (*MsgCancelTradeResponse) Reset added in v1.0.3

func (m *MsgCancelTradeResponse) Reset()

func (*MsgCancelTradeResponse) Size added in v1.0.3

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

func (*MsgCancelTradeResponse) String added in v1.0.3

func (m *MsgCancelTradeResponse) String() string

func (*MsgCancelTradeResponse) Unmarshal added in v1.0.3

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

func (*MsgCancelTradeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCancelTradeResponse) XXX_DiscardUnknown()

func (*MsgCancelTradeResponse) XXX_Marshal added in v1.0.3

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

func (*MsgCancelTradeResponse) XXX_Merge added in v1.0.3

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

func (*MsgCancelTradeResponse) XXX_Size added in v1.0.3

func (m *MsgCancelTradeResponse) XXX_Size() int

func (*MsgCancelTradeResponse) XXX_Unmarshal added in v1.0.3

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

type MsgClient added in v1.0.3

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 added in v1.0.3

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgCompleteExecutionEarly added in v1.0.3

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 added in v1.0.3

func NewMsgCompleteExecutionEarly(creator string, id string) *MsgCompleteExecutionEarly

func (*MsgCompleteExecutionEarly) Descriptor added in v1.0.3

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

func (*MsgCompleteExecutionEarly) GetCreator added in v1.0.3

func (m *MsgCompleteExecutionEarly) GetCreator() string

func (*MsgCompleteExecutionEarly) GetID added in v1.0.3

func (m *MsgCompleteExecutionEarly) GetID() string

func (*MsgCompleteExecutionEarly) GetSignBytes added in v1.0.3

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

func (*MsgCompleteExecutionEarly) GetSigners added in v1.0.3

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

func (*MsgCompleteExecutionEarly) Marshal added in v1.0.3

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

func (*MsgCompleteExecutionEarly) MarshalTo added in v1.0.3

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

func (*MsgCompleteExecutionEarly) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCompleteExecutionEarly) ProtoMessage added in v1.0.3

func (*MsgCompleteExecutionEarly) ProtoMessage()

func (*MsgCompleteExecutionEarly) Reset added in v1.0.3

func (m *MsgCompleteExecutionEarly) Reset()

func (*MsgCompleteExecutionEarly) Route added in v1.0.3

func (msg *MsgCompleteExecutionEarly) Route() string

func (*MsgCompleteExecutionEarly) Size added in v1.0.3

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

func (*MsgCompleteExecutionEarly) String added in v1.0.3

func (m *MsgCompleteExecutionEarly) String() string

func (*MsgCompleteExecutionEarly) Type added in v1.0.3

func (msg *MsgCompleteExecutionEarly) Type() string

func (*MsgCompleteExecutionEarly) Unmarshal added in v1.0.3

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

func (*MsgCompleteExecutionEarly) ValidateBasic added in v1.0.3

func (msg *MsgCompleteExecutionEarly) ValidateBasic() error

func (*MsgCompleteExecutionEarly) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCompleteExecutionEarly) XXX_DiscardUnknown()

func (*MsgCompleteExecutionEarly) XXX_Marshal added in v1.0.3

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

func (*MsgCompleteExecutionEarly) XXX_Merge added in v1.0.3

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

func (*MsgCompleteExecutionEarly) XXX_Size added in v1.0.3

func (m *MsgCompleteExecutionEarly) XXX_Size() int

func (*MsgCompleteExecutionEarly) XXX_Unmarshal added in v1.0.3

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

type MsgCompleteExecutionEarlyResponse added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) Descriptor added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) GetID added in v1.0.3

func (*MsgCompleteExecutionEarlyResponse) Marshal added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) MarshalTo added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) ProtoMessage added in v1.0.3

func (*MsgCompleteExecutionEarlyResponse) ProtoMessage()

func (*MsgCompleteExecutionEarlyResponse) Reset added in v1.0.3

func (*MsgCompleteExecutionEarlyResponse) Size added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) String added in v1.0.3

func (*MsgCompleteExecutionEarlyResponse) Unmarshal added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCompleteExecutionEarlyResponse) XXX_DiscardUnknown()

func (*MsgCompleteExecutionEarlyResponse) XXX_Marshal added in v1.0.3

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

func (*MsgCompleteExecutionEarlyResponse) XXX_Merge added in v1.0.3

func (*MsgCompleteExecutionEarlyResponse) XXX_Size added in v1.0.3

func (m *MsgCompleteExecutionEarlyResponse) XXX_Size() int

func (*MsgCompleteExecutionEarlyResponse) XXX_Unmarshal added in v1.0.3

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

type MsgCreateAccount added in v1.0.3

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 added in v1.0.3

func NewMsgCreateAccount(creator string, username string) *MsgCreateAccount

func (*MsgCreateAccount) Descriptor added in v1.0.3

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

func (*MsgCreateAccount) GetCreator added in v1.0.3

func (m *MsgCreateAccount) GetCreator() string

func (*MsgCreateAccount) GetSignBytes added in v1.0.3

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

func (*MsgCreateAccount) GetSigners added in v1.0.3

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

func (*MsgCreateAccount) GetUsername added in v1.0.3

func (m *MsgCreateAccount) GetUsername() string

func (*MsgCreateAccount) Marshal added in v1.0.3

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

func (*MsgCreateAccount) MarshalTo added in v1.0.3

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

func (*MsgCreateAccount) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateAccount) ProtoMessage added in v1.0.3

func (*MsgCreateAccount) ProtoMessage()

func (*MsgCreateAccount) Reset added in v1.0.3

func (m *MsgCreateAccount) Reset()

func (*MsgCreateAccount) Route added in v1.0.3

func (msg *MsgCreateAccount) Route() string

func (*MsgCreateAccount) Size added in v1.0.3

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

func (*MsgCreateAccount) String added in v1.0.3

func (m *MsgCreateAccount) String() string

func (*MsgCreateAccount) Type added in v1.0.3

func (msg *MsgCreateAccount) Type() string

func (*MsgCreateAccount) Unmarshal added in v1.0.3

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

func (*MsgCreateAccount) ValidateBasic added in v1.0.3

func (msg *MsgCreateAccount) ValidateBasic() error

func (*MsgCreateAccount) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateAccount) XXX_DiscardUnknown()

func (*MsgCreateAccount) XXX_Marshal added in v1.0.3

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

func (*MsgCreateAccount) XXX_Merge added in v1.0.3

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

func (*MsgCreateAccount) XXX_Size added in v1.0.3

func (m *MsgCreateAccount) XXX_Size() int

func (*MsgCreateAccount) XXX_Unmarshal added in v1.0.3

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

type MsgCreateAccountResponse added in v1.0.3

type MsgCreateAccountResponse struct {
}

func (*MsgCreateAccountResponse) Descriptor added in v1.0.3

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

func (*MsgCreateAccountResponse) Marshal added in v1.0.3

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

func (*MsgCreateAccountResponse) MarshalTo added in v1.0.3

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

func (*MsgCreateAccountResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateAccountResponse) ProtoMessage added in v1.0.3

func (*MsgCreateAccountResponse) ProtoMessage()

func (*MsgCreateAccountResponse) Reset added in v1.0.3

func (m *MsgCreateAccountResponse) Reset()

func (*MsgCreateAccountResponse) Size added in v1.0.3

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

func (*MsgCreateAccountResponse) String added in v1.0.3

func (m *MsgCreateAccountResponse) String() string

func (*MsgCreateAccountResponse) Unmarshal added in v1.0.3

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

func (*MsgCreateAccountResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateAccountResponse) XXX_DiscardUnknown()

func (*MsgCreateAccountResponse) XXX_Marshal added in v1.0.3

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

func (*MsgCreateAccountResponse) XXX_Merge added in v1.0.3

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

func (*MsgCreateAccountResponse) XXX_Size added in v1.0.3

func (m *MsgCreateAccountResponse) XXX_Size() int

func (*MsgCreateAccountResponse) XXX_Unmarshal added in v1.0.3

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

type MsgCreateCookbook added in v1.0.3

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 added in v1.0.3

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

func (*MsgCreateCookbook) Descriptor added in v1.0.3

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

func (*MsgCreateCookbook) GetCreator added in v1.0.3

func (m *MsgCreateCookbook) GetCreator() string

func (*MsgCreateCookbook) GetDescription added in v1.0.3

func (m *MsgCreateCookbook) GetDescription() string

func (*MsgCreateCookbook) GetDeveloper added in v1.0.3

func (m *MsgCreateCookbook) GetDeveloper() string

func (*MsgCreateCookbook) GetEnabled added in v1.0.3

func (m *MsgCreateCookbook) GetEnabled() bool

func (*MsgCreateCookbook) GetID added in v1.0.3

func (m *MsgCreateCookbook) GetID() string

func (*MsgCreateCookbook) GetName added in v1.0.3

func (m *MsgCreateCookbook) GetName() string

func (*MsgCreateCookbook) GetSignBytes added in v1.0.3

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

func (*MsgCreateCookbook) GetSigners added in v1.0.3

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

func (*MsgCreateCookbook) GetSupportEmail added in v1.0.3

func (m *MsgCreateCookbook) GetSupportEmail() string

func (*MsgCreateCookbook) GetVersion added in v1.0.3

func (m *MsgCreateCookbook) GetVersion() string

func (*MsgCreateCookbook) Marshal added in v1.0.3

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

func (*MsgCreateCookbook) MarshalTo added in v1.0.3

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

func (*MsgCreateCookbook) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateCookbook) ProtoMessage added in v1.0.3

func (*MsgCreateCookbook) ProtoMessage()

func (*MsgCreateCookbook) Reset added in v1.0.3

func (m *MsgCreateCookbook) Reset()

func (*MsgCreateCookbook) Route added in v1.0.3

func (msg *MsgCreateCookbook) Route() string

func (*MsgCreateCookbook) Size added in v1.0.3

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

func (*MsgCreateCookbook) String added in v1.0.3

func (m *MsgCreateCookbook) String() string

func (*MsgCreateCookbook) Type added in v1.0.3

func (msg *MsgCreateCookbook) Type() string

func (*MsgCreateCookbook) Unmarshal added in v1.0.3

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

func (*MsgCreateCookbook) ValidateBasic added in v1.0.3

func (msg *MsgCreateCookbook) ValidateBasic() error

func (*MsgCreateCookbook) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateCookbook) XXX_DiscardUnknown()

func (*MsgCreateCookbook) XXX_Marshal added in v1.0.3

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

func (*MsgCreateCookbook) XXX_Merge added in v1.0.3

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

func (*MsgCreateCookbook) XXX_Size added in v1.0.3

func (m *MsgCreateCookbook) XXX_Size() int

func (*MsgCreateCookbook) XXX_Unmarshal added in v1.0.3

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

type MsgCreateCookbookResponse added in v1.0.3

type MsgCreateCookbookResponse struct {
}

func (*MsgCreateCookbookResponse) Descriptor added in v1.0.3

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

func (*MsgCreateCookbookResponse) Marshal added in v1.0.3

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

func (*MsgCreateCookbookResponse) MarshalTo added in v1.0.3

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

func (*MsgCreateCookbookResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateCookbookResponse) ProtoMessage added in v1.0.3

func (*MsgCreateCookbookResponse) ProtoMessage()

func (*MsgCreateCookbookResponse) Reset added in v1.0.3

func (m *MsgCreateCookbookResponse) Reset()

func (*MsgCreateCookbookResponse) Size added in v1.0.3

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

func (*MsgCreateCookbookResponse) String added in v1.0.3

func (m *MsgCreateCookbookResponse) String() string

func (*MsgCreateCookbookResponse) Unmarshal added in v1.0.3

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

func (*MsgCreateCookbookResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateCookbookResponse) XXX_DiscardUnknown()

func (*MsgCreateCookbookResponse) XXX_Marshal added in v1.0.3

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

func (*MsgCreateCookbookResponse) XXX_Merge added in v1.0.3

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

func (*MsgCreateCookbookResponse) XXX_Size added in v1.0.3

func (m *MsgCreateCookbookResponse) XXX_Size() int

func (*MsgCreateCookbookResponse) XXX_Unmarshal added in v1.0.3

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

type MsgCreateRecipe added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

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

func (*MsgCreateRecipe) GetBlockInterval added in v1.0.3

func (m *MsgCreateRecipe) GetBlockInterval() int64

func (*MsgCreateRecipe) GetCoinInputs added in v1.0.3

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

func (*MsgCreateRecipe) GetCookbookID added in v1.0.3

func (m *MsgCreateRecipe) GetCookbookID() string

func (*MsgCreateRecipe) GetCostPerBlock added in v1.0.3

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

func (*MsgCreateRecipe) GetCreator added in v1.0.3

func (m *MsgCreateRecipe) GetCreator() string

func (*MsgCreateRecipe) GetDescription added in v1.0.3

func (m *MsgCreateRecipe) GetDescription() string

func (*MsgCreateRecipe) GetEnabled added in v1.0.3

func (m *MsgCreateRecipe) GetEnabled() bool

func (*MsgCreateRecipe) GetEntries added in v1.0.3

func (m *MsgCreateRecipe) GetEntries() EntriesList

func (*MsgCreateRecipe) GetExtraInfo added in v1.0.3

func (m *MsgCreateRecipe) GetExtraInfo() string

func (*MsgCreateRecipe) GetID added in v1.0.3

func (m *MsgCreateRecipe) GetID() string

func (*MsgCreateRecipe) GetItemInputs added in v1.0.3

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

func (*MsgCreateRecipe) GetName added in v1.0.3

func (m *MsgCreateRecipe) GetName() string

func (*MsgCreateRecipe) GetOutputs added in v1.0.3

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

func (*MsgCreateRecipe) GetSignBytes added in v1.0.3

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

func (*MsgCreateRecipe) GetSigners added in v1.0.3

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

func (*MsgCreateRecipe) GetVersion added in v1.0.3

func (m *MsgCreateRecipe) GetVersion() string

func (*MsgCreateRecipe) Marshal added in v1.0.3

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

func (*MsgCreateRecipe) MarshalTo added in v1.0.3

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

func (*MsgCreateRecipe) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateRecipe) ProtoMessage added in v1.0.3

func (*MsgCreateRecipe) ProtoMessage()

func (*MsgCreateRecipe) Reset added in v1.0.3

func (m *MsgCreateRecipe) Reset()

func (*MsgCreateRecipe) Route added in v1.0.3

func (msg *MsgCreateRecipe) Route() string

func (*MsgCreateRecipe) Size added in v1.0.3

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

func (*MsgCreateRecipe) String added in v1.0.3

func (m *MsgCreateRecipe) String() string

func (*MsgCreateRecipe) Type added in v1.0.3

func (msg *MsgCreateRecipe) Type() string

func (*MsgCreateRecipe) Unmarshal added in v1.0.3

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

func (*MsgCreateRecipe) ValidateBasic added in v1.0.3

func (msg *MsgCreateRecipe) ValidateBasic() error

func (*MsgCreateRecipe) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateRecipe) XXX_DiscardUnknown()

func (*MsgCreateRecipe) XXX_Marshal added in v1.0.3

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

func (*MsgCreateRecipe) XXX_Merge added in v1.0.3

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

func (*MsgCreateRecipe) XXX_Size added in v1.0.3

func (m *MsgCreateRecipe) XXX_Size() int

func (*MsgCreateRecipe) XXX_Unmarshal added in v1.0.3

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

type MsgCreateRecipeResponse added in v1.0.3

type MsgCreateRecipeResponse struct {
}

func (*MsgCreateRecipeResponse) Descriptor added in v1.0.3

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

func (*MsgCreateRecipeResponse) Marshal added in v1.0.3

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

func (*MsgCreateRecipeResponse) MarshalTo added in v1.0.3

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

func (*MsgCreateRecipeResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateRecipeResponse) ProtoMessage added in v1.0.3

func (*MsgCreateRecipeResponse) ProtoMessage()

func (*MsgCreateRecipeResponse) Reset added in v1.0.3

func (m *MsgCreateRecipeResponse) Reset()

func (*MsgCreateRecipeResponse) Size added in v1.0.3

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

func (*MsgCreateRecipeResponse) String added in v1.0.3

func (m *MsgCreateRecipeResponse) String() string

func (*MsgCreateRecipeResponse) Unmarshal added in v1.0.3

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

func (*MsgCreateRecipeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateRecipeResponse) XXX_DiscardUnknown()

func (*MsgCreateRecipeResponse) XXX_Marshal added in v1.0.3

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

func (*MsgCreateRecipeResponse) XXX_Merge added in v1.0.3

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

func (*MsgCreateRecipeResponse) XXX_Size added in v1.0.3

func (m *MsgCreateRecipeResponse) XXX_Size() int

func (*MsgCreateRecipeResponse) XXX_Unmarshal added in v1.0.3

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

type MsgCreateTrade added in v1.0.3

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 added in v1.0.3

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

func (*MsgCreateTrade) Descriptor added in v1.0.3

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

func (*MsgCreateTrade) GetCoinInputs added in v1.0.3

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

func (*MsgCreateTrade) GetCoinOutputs added in v1.0.3

func (*MsgCreateTrade) GetCreator added in v1.0.3

func (m *MsgCreateTrade) GetCreator() string

func (*MsgCreateTrade) GetExtraInfo added in v1.0.3

func (m *MsgCreateTrade) GetExtraInfo() string

func (*MsgCreateTrade) GetItemInputs added in v1.0.3

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

func (*MsgCreateTrade) GetItemOutputs added in v1.0.3

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

func (*MsgCreateTrade) GetSignBytes added in v1.0.3

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

func (*MsgCreateTrade) GetSigners added in v1.0.3

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

func (*MsgCreateTrade) Marshal added in v1.0.3

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

func (*MsgCreateTrade) MarshalTo added in v1.0.3

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

func (*MsgCreateTrade) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateTrade) ProtoMessage added in v1.0.3

func (*MsgCreateTrade) ProtoMessage()

func (*MsgCreateTrade) Reset added in v1.0.3

func (m *MsgCreateTrade) Reset()

func (*MsgCreateTrade) Route added in v1.0.3

func (msg *MsgCreateTrade) Route() string

func (*MsgCreateTrade) Size added in v1.0.3

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

func (*MsgCreateTrade) String added in v1.0.3

func (m *MsgCreateTrade) String() string

func (*MsgCreateTrade) Type added in v1.0.3

func (msg *MsgCreateTrade) Type() string

func (*MsgCreateTrade) Unmarshal added in v1.0.3

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

func (*MsgCreateTrade) ValidateBasic added in v1.0.3

func (msg *MsgCreateTrade) ValidateBasic() error

func (*MsgCreateTrade) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateTrade) XXX_DiscardUnknown()

func (*MsgCreateTrade) XXX_Marshal added in v1.0.3

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

func (*MsgCreateTrade) XXX_Merge added in v1.0.3

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

func (*MsgCreateTrade) XXX_Size added in v1.0.3

func (m *MsgCreateTrade) XXX_Size() int

func (*MsgCreateTrade) XXX_Unmarshal added in v1.0.3

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

type MsgCreateTradeResponse added in v1.0.3

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

func (*MsgCreateTradeResponse) Descriptor added in v1.0.3

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

func (*MsgCreateTradeResponse) GetID added in v1.0.3

func (m *MsgCreateTradeResponse) GetID() uint64

func (*MsgCreateTradeResponse) Marshal added in v1.0.3

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

func (*MsgCreateTradeResponse) MarshalTo added in v1.0.3

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

func (*MsgCreateTradeResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgCreateTradeResponse) ProtoMessage added in v1.0.3

func (*MsgCreateTradeResponse) ProtoMessage()

func (*MsgCreateTradeResponse) Reset added in v1.0.3

func (m *MsgCreateTradeResponse) Reset()

func (*MsgCreateTradeResponse) Size added in v1.0.3

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

func (*MsgCreateTradeResponse) String added in v1.0.3

func (m *MsgCreateTradeResponse) String() string

func (*MsgCreateTradeResponse) Unmarshal added in v1.0.3

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

func (*MsgCreateTradeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgCreateTradeResponse) XXX_DiscardUnknown()

func (*MsgCreateTradeResponse) XXX_Marshal added in v1.0.3

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

func (*MsgCreateTradeResponse) XXX_Merge added in v1.0.3

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

func (*MsgCreateTradeResponse) XXX_Size added in v1.0.3

func (m *MsgCreateTradeResponse) XXX_Size() int

func (*MsgCreateTradeResponse) XXX_Unmarshal added in v1.0.3

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

type MsgExecuteRecipe added in v1.0.3

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 added in v1.0.3

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

func (*MsgExecuteRecipe) Descriptor added in v1.0.3

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

func (*MsgExecuteRecipe) GetCoinInputsIndex added in v1.0.3

func (m *MsgExecuteRecipe) GetCoinInputsIndex() uint64

func (*MsgExecuteRecipe) GetCookbookID added in v1.0.3

func (m *MsgExecuteRecipe) GetCookbookID() string

func (*MsgExecuteRecipe) GetCreator added in v1.0.3

func (m *MsgExecuteRecipe) GetCreator() string

func (*MsgExecuteRecipe) GetItemIDs added in v1.0.3

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

func (*MsgExecuteRecipe) GetPaymentInfos added in v1.0.3

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

func (*MsgExecuteRecipe) GetRecipeID added in v1.0.3

func (m *MsgExecuteRecipe) GetRecipeID() string

func (*MsgExecuteRecipe) GetSignBytes added in v1.0.3

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

func (*MsgExecuteRecipe) GetSigners added in v1.0.3

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

func (*MsgExecuteRecipe) Marshal added in v1.0.3

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

func (*MsgExecuteRecipe) MarshalTo added in v1.0.3

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

func (*MsgExecuteRecipe) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgExecuteRecipe) ProtoMessage added in v1.0.3

func (*MsgExecuteRecipe) ProtoMessage()

func (*MsgExecuteRecipe) Reset added in v1.0.3

func (m *MsgExecuteRecipe) Reset()

func (*MsgExecuteRecipe) Route added in v1.0.3

func (msg *MsgExecuteRecipe) Route() string

func (*MsgExecuteRecipe) Size added in v1.0.3

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

func (*MsgExecuteRecipe) String added in v1.0.3

func (m *MsgExecuteRecipe) String() string

func (*MsgExecuteRecipe) Type added in v1.0.3

func (msg *MsgExecuteRecipe) Type() string

func (*MsgExecuteRecipe) Unmarshal added in v1.0.3

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

func (*MsgExecuteRecipe) ValidateBasic added in v1.0.3

func (msg *MsgExecuteRecipe) ValidateBasic() error

func (*MsgExecuteRecipe) XXX_DiscardUnknown added in v1.0.3

func (m *MsgExecuteRecipe) XXX_DiscardUnknown()

func (*MsgExecuteRecipe) XXX_Marshal added in v1.0.3

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

func (*MsgExecuteRecipe) XXX_Merge added in v1.0.3

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

func (*MsgExecuteRecipe) XXX_Size added in v1.0.3

func (m *MsgExecuteRecipe) XXX_Size() int

func (*MsgExecuteRecipe) XXX_Unmarshal added in v1.0.3

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

type MsgExecuteRecipeResponse added in v1.0.3

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

func (*MsgExecuteRecipeResponse) Descriptor added in v1.0.3

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

func (*MsgExecuteRecipeResponse) GetID added in v1.0.3

func (m *MsgExecuteRecipeResponse) GetID() string

func (*MsgExecuteRecipeResponse) Marshal added in v1.0.3

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

func (*MsgExecuteRecipeResponse) MarshalTo added in v1.0.3

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

func (*MsgExecuteRecipeResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgExecuteRecipeResponse) ProtoMessage added in v1.0.3

func (*MsgExecuteRecipeResponse) ProtoMessage()

func (*MsgExecuteRecipeResponse) Reset added in v1.0.3

func (m *MsgExecuteRecipeResponse) Reset()

func (*MsgExecuteRecipeResponse) Size added in v1.0.3

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

func (*MsgExecuteRecipeResponse) String added in v1.0.3

func (m *MsgExecuteRecipeResponse) String() string

func (*MsgExecuteRecipeResponse) Unmarshal added in v1.0.3

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

func (*MsgExecuteRecipeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgExecuteRecipeResponse) XXX_DiscardUnknown()

func (*MsgExecuteRecipeResponse) XXX_Marshal added in v1.0.3

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

func (*MsgExecuteRecipeResponse) XXX_Merge added in v1.0.3

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

func (*MsgExecuteRecipeResponse) XXX_Size added in v1.0.3

func (m *MsgExecuteRecipeResponse) XXX_Size() int

func (*MsgExecuteRecipeResponse) XXX_Unmarshal added in v1.0.3

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

type MsgFulfillTrade added in v1.0.3

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 added in v1.0.3

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

func (*MsgFulfillTrade) Descriptor added in v1.0.3

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

func (*MsgFulfillTrade) GetCoinInputsIndex added in v1.0.3

func (m *MsgFulfillTrade) GetCoinInputsIndex() uint64

func (*MsgFulfillTrade) GetCreator added in v1.0.3

func (m *MsgFulfillTrade) GetCreator() string

func (*MsgFulfillTrade) GetID added in v1.0.3

func (m *MsgFulfillTrade) GetID() uint64

func (*MsgFulfillTrade) GetItems added in v1.0.3

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

func (*MsgFulfillTrade) GetPaymentInfos added in v1.0.3

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

func (*MsgFulfillTrade) GetSignBytes added in v1.0.3

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

func (*MsgFulfillTrade) GetSigners added in v1.0.3

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

func (*MsgFulfillTrade) Marshal added in v1.0.3

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

func (*MsgFulfillTrade) MarshalTo added in v1.0.3

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

func (*MsgFulfillTrade) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgFulfillTrade) ProtoMessage added in v1.0.3

func (*MsgFulfillTrade) ProtoMessage()

func (*MsgFulfillTrade) Reset added in v1.0.3

func (m *MsgFulfillTrade) Reset()

func (*MsgFulfillTrade) Route added in v1.0.3

func (msg *MsgFulfillTrade) Route() string

func (*MsgFulfillTrade) Size added in v1.0.3

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

func (*MsgFulfillTrade) String added in v1.0.3

func (m *MsgFulfillTrade) String() string

func (*MsgFulfillTrade) Type added in v1.0.3

func (msg *MsgFulfillTrade) Type() string

func (*MsgFulfillTrade) Unmarshal added in v1.0.3

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

func (*MsgFulfillTrade) ValidateBasic added in v1.0.3

func (msg *MsgFulfillTrade) ValidateBasic() error

func (*MsgFulfillTrade) XXX_DiscardUnknown added in v1.0.3

func (m *MsgFulfillTrade) XXX_DiscardUnknown()

func (*MsgFulfillTrade) XXX_Marshal added in v1.0.3

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

func (*MsgFulfillTrade) XXX_Merge added in v1.0.3

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

func (*MsgFulfillTrade) XXX_Size added in v1.0.3

func (m *MsgFulfillTrade) XXX_Size() int

func (*MsgFulfillTrade) XXX_Unmarshal added in v1.0.3

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

type MsgFulfillTradeResponse added in v1.0.3

type MsgFulfillTradeResponse struct {
}

func (*MsgFulfillTradeResponse) Descriptor added in v1.0.3

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

func (*MsgFulfillTradeResponse) Marshal added in v1.0.3

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

func (*MsgFulfillTradeResponse) MarshalTo added in v1.0.3

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

func (*MsgFulfillTradeResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgFulfillTradeResponse) ProtoMessage added in v1.0.3

func (*MsgFulfillTradeResponse) ProtoMessage()

func (*MsgFulfillTradeResponse) Reset added in v1.0.3

func (m *MsgFulfillTradeResponse) Reset()

func (*MsgFulfillTradeResponse) Size added in v1.0.3

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

func (*MsgFulfillTradeResponse) String added in v1.0.3

func (m *MsgFulfillTradeResponse) String() string

func (*MsgFulfillTradeResponse) Unmarshal added in v1.0.3

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

func (*MsgFulfillTradeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgFulfillTradeResponse) XXX_DiscardUnknown()

func (*MsgFulfillTradeResponse) XXX_Marshal added in v1.0.3

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

func (*MsgFulfillTradeResponse) XXX_Merge added in v1.0.3

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

func (*MsgFulfillTradeResponse) XXX_Size added in v1.0.3

func (m *MsgFulfillTradeResponse) XXX_Size() int

func (*MsgFulfillTradeResponse) XXX_Unmarshal added in v1.0.3

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

type MsgGoogleInAppPurchaseGetCoins added in v1.0.3

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 added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) Descriptor added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) GetCreator added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) GetCreator() string

func (*MsgGoogleInAppPurchaseGetCoins) GetProductID added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) GetProductID() string

func (*MsgGoogleInAppPurchaseGetCoins) GetPurchaseToken added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) GetPurchaseToken() string

func (*MsgGoogleInAppPurchaseGetCoins) GetReceiptDataBase64 added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) GetReceiptDataBase64() string

func (*MsgGoogleInAppPurchaseGetCoins) GetSignBytes added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) GetSignature added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) GetSignature() string

func (*MsgGoogleInAppPurchaseGetCoins) GetSigners added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) Marshal added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) MarshalTo added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) ProtoMessage added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoins) ProtoMessage()

func (*MsgGoogleInAppPurchaseGetCoins) Reset added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) Reset()

func (*MsgGoogleInAppPurchaseGetCoins) Route added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoins) Size added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) String added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoins) Type added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoins) Unmarshal added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) ValidateBasic added in v1.0.3

func (msg *MsgGoogleInAppPurchaseGetCoins) ValidateBasic() error

func (*MsgGoogleInAppPurchaseGetCoins) XXX_DiscardUnknown added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) XXX_DiscardUnknown()

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Marshal added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Merge added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Size added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoins) XXX_Size() int

func (*MsgGoogleInAppPurchaseGetCoins) XXX_Unmarshal added in v1.0.3

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

type MsgGoogleInAppPurchaseGetCoinsResponse added in v1.0.3

type MsgGoogleInAppPurchaseGetCoinsResponse struct {
}

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Descriptor added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Marshal added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) MarshalTo added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) ProtoMessage added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Reset added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Size added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoinsResponse) String added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoinsResponse) Unmarshal added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgGoogleInAppPurchaseGetCoinsResponse) XXX_DiscardUnknown()

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Marshal added in v1.0.3

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

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Merge added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Size added in v1.0.3

func (*MsgGoogleInAppPurchaseGetCoinsResponse) XXX_Unmarshal added in v1.0.3

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

type MsgSendItems added in v1.0.3

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 added in v1.0.3

func NewMsgSendItems(sender string, receiver string, items []ItemRef) *MsgSendItems

func (*MsgSendItems) Descriptor added in v1.0.3

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

func (*MsgSendItems) GetCreator added in v1.0.3

func (m *MsgSendItems) GetCreator() string

func (*MsgSendItems) GetItems added in v1.0.3

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

func (*MsgSendItems) GetReceiver added in v1.0.3

func (m *MsgSendItems) GetReceiver() string

func (*MsgSendItems) GetSignBytes added in v1.0.3

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

func (*MsgSendItems) GetSigners added in v1.0.3

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

func (*MsgSendItems) Marshal added in v1.0.3

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

func (*MsgSendItems) MarshalTo added in v1.0.3

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

func (*MsgSendItems) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgSendItems) ProtoMessage added in v1.0.3

func (*MsgSendItems) ProtoMessage()

func (*MsgSendItems) Reset added in v1.0.3

func (m *MsgSendItems) Reset()

func (*MsgSendItems) Route added in v1.0.3

func (msg *MsgSendItems) Route() string

func (*MsgSendItems) Size added in v1.0.3

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

func (*MsgSendItems) String added in v1.0.3

func (m *MsgSendItems) String() string

func (*MsgSendItems) Type added in v1.0.3

func (msg *MsgSendItems) Type() string

func (*MsgSendItems) Unmarshal added in v1.0.3

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

func (*MsgSendItems) ValidateBasic added in v1.0.3

func (msg *MsgSendItems) ValidateBasic() error

func (*MsgSendItems) XXX_DiscardUnknown added in v1.0.3

func (m *MsgSendItems) XXX_DiscardUnknown()

func (*MsgSendItems) XXX_Marshal added in v1.0.3

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

func (*MsgSendItems) XXX_Merge added in v1.0.3

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

func (*MsgSendItems) XXX_Size added in v1.0.3

func (m *MsgSendItems) XXX_Size() int

func (*MsgSendItems) XXX_Unmarshal added in v1.0.3

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

type MsgSendItemsResponse added in v1.0.3

type MsgSendItemsResponse struct {
}

func (*MsgSendItemsResponse) Descriptor added in v1.0.3

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

func (*MsgSendItemsResponse) Marshal added in v1.0.3

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

func (*MsgSendItemsResponse) MarshalTo added in v1.0.3

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

func (*MsgSendItemsResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgSendItemsResponse) ProtoMessage added in v1.0.3

func (*MsgSendItemsResponse) ProtoMessage()

func (*MsgSendItemsResponse) Reset added in v1.0.3

func (m *MsgSendItemsResponse) Reset()

func (*MsgSendItemsResponse) Size added in v1.0.3

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

func (*MsgSendItemsResponse) String added in v1.0.3

func (m *MsgSendItemsResponse) String() string

func (*MsgSendItemsResponse) Unmarshal added in v1.0.3

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

func (*MsgSendItemsResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgSendItemsResponse) XXX_DiscardUnknown()

func (*MsgSendItemsResponse) XXX_Marshal added in v1.0.3

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

func (*MsgSendItemsResponse) XXX_Merge added in v1.0.3

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

func (*MsgSendItemsResponse) XXX_Size added in v1.0.3

func (m *MsgSendItemsResponse) XXX_Size() int

func (*MsgSendItemsResponse) XXX_Unmarshal added in v1.0.3

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

type MsgServer added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func NewMsgSetItemString(creator string, cookbookID string, id string, field string, value string) *MsgSetItemString

func (*MsgSetItemString) Descriptor added in v1.0.3

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

func (*MsgSetItemString) GetCookbookID added in v1.0.3

func (m *MsgSetItemString) GetCookbookID() string

func (*MsgSetItemString) GetCreator added in v1.0.3

func (m *MsgSetItemString) GetCreator() string

func (*MsgSetItemString) GetField added in v1.0.3

func (m *MsgSetItemString) GetField() string

func (*MsgSetItemString) GetID added in v1.0.3

func (m *MsgSetItemString) GetID() string

func (*MsgSetItemString) GetSignBytes added in v1.0.3

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

func (*MsgSetItemString) GetSigners added in v1.0.3

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

func (*MsgSetItemString) GetValue added in v1.0.3

func (m *MsgSetItemString) GetValue() string

func (*MsgSetItemString) Marshal added in v1.0.3

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

func (*MsgSetItemString) MarshalTo added in v1.0.3

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

func (*MsgSetItemString) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgSetItemString) ProtoMessage added in v1.0.3

func (*MsgSetItemString) ProtoMessage()

func (*MsgSetItemString) Reset added in v1.0.3

func (m *MsgSetItemString) Reset()

func (*MsgSetItemString) Route added in v1.0.3

func (msg *MsgSetItemString) Route() string

func (*MsgSetItemString) Size added in v1.0.3

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

func (*MsgSetItemString) String added in v1.0.3

func (m *MsgSetItemString) String() string

func (*MsgSetItemString) Type added in v1.0.3

func (msg *MsgSetItemString) Type() string

func (*MsgSetItemString) Unmarshal added in v1.0.3

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

func (*MsgSetItemString) ValidateBasic added in v1.0.3

func (msg *MsgSetItemString) ValidateBasic() error

func (*MsgSetItemString) XXX_DiscardUnknown added in v1.0.3

func (m *MsgSetItemString) XXX_DiscardUnknown()

func (*MsgSetItemString) XXX_Marshal added in v1.0.3

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

func (*MsgSetItemString) XXX_Merge added in v1.0.3

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

func (*MsgSetItemString) XXX_Size added in v1.0.3

func (m *MsgSetItemString) XXX_Size() int

func (*MsgSetItemString) XXX_Unmarshal added in v1.0.3

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

type MsgSetItemStringResponse added in v1.0.3

type MsgSetItemStringResponse struct {
}

func (*MsgSetItemStringResponse) Descriptor added in v1.0.3

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

func (*MsgSetItemStringResponse) Marshal added in v1.0.3

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

func (*MsgSetItemStringResponse) MarshalTo added in v1.0.3

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

func (*MsgSetItemStringResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgSetItemStringResponse) ProtoMessage added in v1.0.3

func (*MsgSetItemStringResponse) ProtoMessage()

func (*MsgSetItemStringResponse) Reset added in v1.0.3

func (m *MsgSetItemStringResponse) Reset()

func (*MsgSetItemStringResponse) Size added in v1.0.3

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

func (*MsgSetItemStringResponse) String added in v1.0.3

func (m *MsgSetItemStringResponse) String() string

func (*MsgSetItemStringResponse) Unmarshal added in v1.0.3

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

func (*MsgSetItemStringResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgSetItemStringResponse) XXX_DiscardUnknown()

func (*MsgSetItemStringResponse) XXX_Marshal added in v1.0.3

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

func (*MsgSetItemStringResponse) XXX_Merge added in v1.0.3

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

func (*MsgSetItemStringResponse) XXX_Size added in v1.0.3

func (m *MsgSetItemStringResponse) XXX_Size() int

func (*MsgSetItemStringResponse) XXX_Unmarshal added in v1.0.3

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

type MsgTransferCookbook added in v1.0.3

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 added in v1.0.3

func NewMsgTransferCookbook(creator string, cookbookID string, recipient string) *MsgTransferCookbook

func (*MsgTransferCookbook) Descriptor added in v1.0.3

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

func (*MsgTransferCookbook) GetCreator added in v1.0.3

func (m *MsgTransferCookbook) GetCreator() string

func (*MsgTransferCookbook) GetID added in v1.0.3

func (m *MsgTransferCookbook) GetID() string

func (*MsgTransferCookbook) GetRecipient added in v1.0.3

func (m *MsgTransferCookbook) GetRecipient() string

func (*MsgTransferCookbook) GetSignBytes added in v1.0.3

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

func (*MsgTransferCookbook) GetSigners added in v1.0.3

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

func (*MsgTransferCookbook) Marshal added in v1.0.3

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

func (*MsgTransferCookbook) MarshalTo added in v1.0.3

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

func (*MsgTransferCookbook) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgTransferCookbook) ProtoMessage added in v1.0.3

func (*MsgTransferCookbook) ProtoMessage()

func (*MsgTransferCookbook) Reset added in v1.0.3

func (m *MsgTransferCookbook) Reset()

func (*MsgTransferCookbook) Route added in v1.0.3

func (msg *MsgTransferCookbook) Route() string

func (*MsgTransferCookbook) Size added in v1.0.3

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

func (*MsgTransferCookbook) String added in v1.0.3

func (m *MsgTransferCookbook) String() string

func (*MsgTransferCookbook) Type added in v1.0.3

func (msg *MsgTransferCookbook) Type() string

func (*MsgTransferCookbook) Unmarshal added in v1.0.3

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

func (*MsgTransferCookbook) ValidateBasic added in v1.0.3

func (msg *MsgTransferCookbook) ValidateBasic() error

func (*MsgTransferCookbook) XXX_DiscardUnknown added in v1.0.3

func (m *MsgTransferCookbook) XXX_DiscardUnknown()

func (*MsgTransferCookbook) XXX_Marshal added in v1.0.3

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

func (*MsgTransferCookbook) XXX_Merge added in v1.0.3

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

func (*MsgTransferCookbook) XXX_Size added in v1.0.3

func (m *MsgTransferCookbook) XXX_Size() int

func (*MsgTransferCookbook) XXX_Unmarshal added in v1.0.3

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

type MsgTransferCookbookResponse added in v1.0.3

type MsgTransferCookbookResponse struct {
}

func (*MsgTransferCookbookResponse) Descriptor added in v1.0.3

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

func (*MsgTransferCookbookResponse) Marshal added in v1.0.3

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

func (*MsgTransferCookbookResponse) MarshalTo added in v1.0.3

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

func (*MsgTransferCookbookResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgTransferCookbookResponse) ProtoMessage added in v1.0.3

func (*MsgTransferCookbookResponse) ProtoMessage()

func (*MsgTransferCookbookResponse) Reset added in v1.0.3

func (m *MsgTransferCookbookResponse) Reset()

func (*MsgTransferCookbookResponse) Size added in v1.0.3

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

func (*MsgTransferCookbookResponse) String added in v1.0.3

func (m *MsgTransferCookbookResponse) String() string

func (*MsgTransferCookbookResponse) Unmarshal added in v1.0.3

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

func (*MsgTransferCookbookResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgTransferCookbookResponse) XXX_DiscardUnknown()

func (*MsgTransferCookbookResponse) XXX_Marshal added in v1.0.3

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

func (*MsgTransferCookbookResponse) XXX_Merge added in v1.0.3

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

func (*MsgTransferCookbookResponse) XXX_Size added in v1.0.3

func (m *MsgTransferCookbookResponse) XXX_Size() int

func (*MsgTransferCookbookResponse) XXX_Unmarshal added in v1.0.3

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

type MsgUpdateAccount added in v1.0.3

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 added in v1.0.3

func NewMsgUpdateAccount(creator string, username string) *MsgUpdateAccount

func (*MsgUpdateAccount) Descriptor added in v1.0.3

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

func (*MsgUpdateAccount) GetCreator added in v1.0.3

func (m *MsgUpdateAccount) GetCreator() string

func (*MsgUpdateAccount) GetSignBytes added in v1.0.3

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

func (*MsgUpdateAccount) GetSigners added in v1.0.3

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

func (*MsgUpdateAccount) GetUsername added in v1.0.3

func (m *MsgUpdateAccount) GetUsername() string

func (*MsgUpdateAccount) Marshal added in v1.0.3

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

func (*MsgUpdateAccount) MarshalTo added in v1.0.3

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

func (*MsgUpdateAccount) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgUpdateAccount) ProtoMessage added in v1.0.3

func (*MsgUpdateAccount) ProtoMessage()

func (*MsgUpdateAccount) Reset added in v1.0.3

func (m *MsgUpdateAccount) Reset()

func (*MsgUpdateAccount) Route added in v1.0.3

func (msg *MsgUpdateAccount) Route() string

func (*MsgUpdateAccount) Size added in v1.0.3

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

func (*MsgUpdateAccount) String added in v1.0.3

func (m *MsgUpdateAccount) String() string

func (*MsgUpdateAccount) Type added in v1.0.3

func (msg *MsgUpdateAccount) Type() string

func (*MsgUpdateAccount) Unmarshal added in v1.0.3

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

func (*MsgUpdateAccount) ValidateBasic added in v1.0.3

func (msg *MsgUpdateAccount) ValidateBasic() error

func (*MsgUpdateAccount) XXX_DiscardUnknown added in v1.0.3

func (m *MsgUpdateAccount) XXX_DiscardUnknown()

func (*MsgUpdateAccount) XXX_Marshal added in v1.0.3

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

func (*MsgUpdateAccount) XXX_Merge added in v1.0.3

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

func (*MsgUpdateAccount) XXX_Size added in v1.0.3

func (m *MsgUpdateAccount) XXX_Size() int

func (*MsgUpdateAccount) XXX_Unmarshal added in v1.0.3

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

type MsgUpdateAccountResponse added in v1.0.3

type MsgUpdateAccountResponse struct {
}

func (*MsgUpdateAccountResponse) Descriptor added in v1.0.3

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

func (*MsgUpdateAccountResponse) Marshal added in v1.0.3

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

func (*MsgUpdateAccountResponse) MarshalTo added in v1.0.3

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

func (*MsgUpdateAccountResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgUpdateAccountResponse) ProtoMessage added in v1.0.3

func (*MsgUpdateAccountResponse) ProtoMessage()

func (*MsgUpdateAccountResponse) Reset added in v1.0.3

func (m *MsgUpdateAccountResponse) Reset()

func (*MsgUpdateAccountResponse) Size added in v1.0.3

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

func (*MsgUpdateAccountResponse) String added in v1.0.3

func (m *MsgUpdateAccountResponse) String() string

func (*MsgUpdateAccountResponse) Unmarshal added in v1.0.3

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

func (*MsgUpdateAccountResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgUpdateAccountResponse) XXX_DiscardUnknown()

func (*MsgUpdateAccountResponse) XXX_Marshal added in v1.0.3

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

func (*MsgUpdateAccountResponse) XXX_Merge added in v1.0.3

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

func (*MsgUpdateAccountResponse) XXX_Size added in v1.0.3

func (m *MsgUpdateAccountResponse) XXX_Size() int

func (*MsgUpdateAccountResponse) XXX_Unmarshal added in v1.0.3

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

type MsgUpdateCookbook added in v1.0.3

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 added in v1.0.3

func NewMsgUpdateCookbook(creator string, id string, name string, description string, developer string, version string, supportEmail string, enabled bool) *MsgUpdateCookbook

func (*MsgUpdateCookbook) Descriptor added in v1.0.3

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

func (*MsgUpdateCookbook) GetCreator added in v1.0.3

func (m *MsgUpdateCookbook) GetCreator() string

func (*MsgUpdateCookbook) GetDescription added in v1.0.3

func (m *MsgUpdateCookbook) GetDescription() string

func (*MsgUpdateCookbook) GetDeveloper added in v1.0.3

func (m *MsgUpdateCookbook) GetDeveloper() string

func (*MsgUpdateCookbook) GetEnabled added in v1.0.3

func (m *MsgUpdateCookbook) GetEnabled() bool

func (*MsgUpdateCookbook) GetID added in v1.0.3

func (m *MsgUpdateCookbook) GetID() string

func (*MsgUpdateCookbook) GetName added in v1.0.3

func (m *MsgUpdateCookbook) GetName() string

func (*MsgUpdateCookbook) GetSignBytes added in v1.0.3

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

func (*MsgUpdateCookbook) GetSigners added in v1.0.3

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

func (*MsgUpdateCookbook) GetSupportEmail added in v1.0.3

func (m *MsgUpdateCookbook) GetSupportEmail() string

func (*MsgUpdateCookbook) GetVersion added in v1.0.3

func (m *MsgUpdateCookbook) GetVersion() string

func (*MsgUpdateCookbook) Marshal added in v1.0.3

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

func (*MsgUpdateCookbook) MarshalTo added in v1.0.3

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

func (*MsgUpdateCookbook) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgUpdateCookbook) ProtoMessage added in v1.0.3

func (*MsgUpdateCookbook) ProtoMessage()

func (*MsgUpdateCookbook) Reset added in v1.0.3

func (m *MsgUpdateCookbook) Reset()

func (*MsgUpdateCookbook) Route added in v1.0.3

func (msg *MsgUpdateCookbook) Route() string

func (*MsgUpdateCookbook) Size added in v1.0.3

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

func (*MsgUpdateCookbook) String added in v1.0.3

func (m *MsgUpdateCookbook) String() string

func (*MsgUpdateCookbook) Type added in v1.0.3

func (msg *MsgUpdateCookbook) Type() string

func (*MsgUpdateCookbook) Unmarshal added in v1.0.3

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

func (*MsgUpdateCookbook) ValidateBasic added in v1.0.3

func (msg *MsgUpdateCookbook) ValidateBasic() error

func (*MsgUpdateCookbook) XXX_DiscardUnknown added in v1.0.3

func (m *MsgUpdateCookbook) XXX_DiscardUnknown()

func (*MsgUpdateCookbook) XXX_Marshal added in v1.0.3

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

func (*MsgUpdateCookbook) XXX_Merge added in v1.0.3

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

func (*MsgUpdateCookbook) XXX_Size added in v1.0.3

func (m *MsgUpdateCookbook) XXX_Size() int

func (*MsgUpdateCookbook) XXX_Unmarshal added in v1.0.3

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

type MsgUpdateCookbookResponse added in v1.0.3

type MsgUpdateCookbookResponse struct {
}

func (*MsgUpdateCookbookResponse) Descriptor added in v1.0.3

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

func (*MsgUpdateCookbookResponse) Marshal added in v1.0.3

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

func (*MsgUpdateCookbookResponse) MarshalTo added in v1.0.3

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

func (*MsgUpdateCookbookResponse) MarshalToSizedBuffer added in v1.0.3

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

func (*MsgUpdateCookbookResponse) ProtoMessage added in v1.0.3

func (*MsgUpdateCookbookResponse) ProtoMessage()

func (*MsgUpdateCookbookResponse) Reset added in v1.0.3

func (m *MsgUpdateCookbookResponse) Reset()

func (*MsgUpdateCookbookResponse) Size added in v1.0.3

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

func (*MsgUpdateCookbookResponse) String added in v1.0.3

func (m *MsgUpdateCookbookResponse) String() string

func (*MsgUpdateCookbookResponse) Unmarshal added in v1.0.3

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

func (*MsgUpdateCookbookResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgUpdateCookbookResponse) XXX_DiscardUnknown()

func (*MsgUpdateCookbookResponse) XXX_Marshal added in v1.0.3

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

func (*MsgUpdateCookbookResponse) XXX_Merge added in v1.0.3

func (m *MsgUpdateCookbookResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateCookbookResponse) XXX_Size added in v1.0.3

func (m *MsgUpdateCookbookResponse) XXX_Size() int

func (*MsgUpdateCookbookResponse) XXX_Unmarshal added in v1.0.3

func (m *MsgUpdateCookbookResponse) XXX_Unmarshal(b []byte) error

type MsgUpdateRecipe added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func (*MsgUpdateRecipe) Descriptor() ([]byte, []int)

func (*MsgUpdateRecipe) GetBlockInterval added in v1.0.3

func (m *MsgUpdateRecipe) GetBlockInterval() int64

func (*MsgUpdateRecipe) GetCoinInputs added in v1.0.3

func (m *MsgUpdateRecipe) GetCoinInputs() []CoinInput

func (*MsgUpdateRecipe) GetCookbookID added in v1.0.3

func (m *MsgUpdateRecipe) GetCookbookID() string

func (*MsgUpdateRecipe) GetCostPerBlock added in v1.0.3

func (m *MsgUpdateRecipe) GetCostPerBlock() types.Coin

func (*MsgUpdateRecipe) GetCreator added in v1.0.3

func (m *MsgUpdateRecipe) GetCreator() string

func (*MsgUpdateRecipe) GetDescription added in v1.0.3

func (m *MsgUpdateRecipe) GetDescription() string

func (*MsgUpdateRecipe) GetEnabled added in v1.0.3

func (m *MsgUpdateRecipe) GetEnabled() bool

func (*MsgUpdateRecipe) GetEntries added in v1.0.3

func (m *MsgUpdateRecipe) GetEntries() EntriesList

func (*MsgUpdateRecipe) GetExtraInfo added in v1.0.3

func (m *MsgUpdateRecipe) GetExtraInfo() string

func (*MsgUpdateRecipe) GetID added in v1.0.3

func (m *MsgUpdateRecipe) GetID() string

func (*MsgUpdateRecipe) GetItemInputs added in v1.0.3

func (m *MsgUpdateRecipe) GetItemInputs() []ItemInput

func (*MsgUpdateRecipe) GetName added in v1.0.3

func (m *MsgUpdateRecipe) GetName() string

func (*MsgUpdateRecipe) GetOutputs added in v1.0.3

func (m *MsgUpdateRecipe) GetOutputs() []WeightedOutputs

func (*MsgUpdateRecipe) GetSignBytes added in v1.0.3

func (msg *MsgUpdateRecipe) GetSignBytes() []byte

func (*MsgUpdateRecipe) GetSigners added in v1.0.3

func (msg *MsgUpdateRecipe) GetSigners() []sdk.AccAddress

func (*MsgUpdateRecipe) GetVersion added in v1.0.3

func (m *MsgUpdateRecipe) GetVersion() string

func (*MsgUpdateRecipe) Marshal added in v1.0.3

func (m *MsgUpdateRecipe) Marshal() (dAtA []byte, err error)

func (*MsgUpdateRecipe) MarshalTo added in v1.0.3

func (m *MsgUpdateRecipe) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateRecipe) MarshalToSizedBuffer added in v1.0.3

func (m *MsgUpdateRecipe) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateRecipe) ProtoMessage added in v1.0.3

func (*MsgUpdateRecipe) ProtoMessage()

func (*MsgUpdateRecipe) Reset added in v1.0.3

func (m *MsgUpdateRecipe) Reset()

func (*MsgUpdateRecipe) Route added in v1.0.3

func (msg *MsgUpdateRecipe) Route() string

func (*MsgUpdateRecipe) Size added in v1.0.3

func (m *MsgUpdateRecipe) Size() (n int)

func (*MsgUpdateRecipe) String added in v1.0.3

func (m *MsgUpdateRecipe) String() string

func (*MsgUpdateRecipe) Type added in v1.0.3

func (msg *MsgUpdateRecipe) Type() string

func (*MsgUpdateRecipe) Unmarshal added in v1.0.3

func (m *MsgUpdateRecipe) Unmarshal(dAtA []byte) error

func (*MsgUpdateRecipe) ValidateBasic added in v1.0.3

func (msg *MsgUpdateRecipe) ValidateBasic() error

func (*MsgUpdateRecipe) XXX_DiscardUnknown added in v1.0.3

func (m *MsgUpdateRecipe) XXX_DiscardUnknown()

func (*MsgUpdateRecipe) XXX_Marshal added in v1.0.3

func (m *MsgUpdateRecipe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateRecipe) XXX_Merge added in v1.0.3

func (m *MsgUpdateRecipe) XXX_Merge(src proto.Message)

func (*MsgUpdateRecipe) XXX_Size added in v1.0.3

func (m *MsgUpdateRecipe) XXX_Size() int

func (*MsgUpdateRecipe) XXX_Unmarshal added in v1.0.3

func (m *MsgUpdateRecipe) XXX_Unmarshal(b []byte) error

type MsgUpdateRecipeResponse added in v1.0.3

type MsgUpdateRecipeResponse struct {
}

func (*MsgUpdateRecipeResponse) Descriptor added in v1.0.3

func (*MsgUpdateRecipeResponse) Descriptor() ([]byte, []int)

func (*MsgUpdateRecipeResponse) Marshal added in v1.0.3

func (m *MsgUpdateRecipeResponse) Marshal() (dAtA []byte, err error)

func (*MsgUpdateRecipeResponse) MarshalTo added in v1.0.3

func (m *MsgUpdateRecipeResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUpdateRecipeResponse) MarshalToSizedBuffer added in v1.0.3

func (m *MsgUpdateRecipeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUpdateRecipeResponse) ProtoMessage added in v1.0.3

func (*MsgUpdateRecipeResponse) ProtoMessage()

func (*MsgUpdateRecipeResponse) Reset added in v1.0.3

func (m *MsgUpdateRecipeResponse) Reset()

func (*MsgUpdateRecipeResponse) Size added in v1.0.3

func (m *MsgUpdateRecipeResponse) Size() (n int)

func (*MsgUpdateRecipeResponse) String added in v1.0.3

func (m *MsgUpdateRecipeResponse) String() string

func (*MsgUpdateRecipeResponse) Unmarshal added in v1.0.3

func (m *MsgUpdateRecipeResponse) Unmarshal(dAtA []byte) error

func (*MsgUpdateRecipeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *MsgUpdateRecipeResponse) XXX_DiscardUnknown()

func (*MsgUpdateRecipeResponse) XXX_Marshal added in v1.0.3

func (m *MsgUpdateRecipeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUpdateRecipeResponse) XXX_Merge added in v1.0.3

func (m *MsgUpdateRecipeResponse) XXX_Merge(src proto.Message)

func (*MsgUpdateRecipeResponse) XXX_Size added in v1.0.3

func (m *MsgUpdateRecipeResponse) XXX_Size() int

func (*MsgUpdateRecipeResponse) XXX_Unmarshal added in v1.0.3

func (m *MsgUpdateRecipeResponse) XXX_Unmarshal(b []byte) error

type Params added in v1.0.3

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 added in v1.0.3

func DefaultParams() Params

DefaultParams returns default pylons Params

func NetworkTestParams added in v1.0.3

func NetworkTestParams() Params

NetworkTestParams returns default pylons Params

func NewParams added in v1.0.3

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 added in v1.0.3

func (*Params) Descriptor() ([]byte, []int)

func (*Params) Equal added in v1.0.3

func (this *Params) Equal(that interface{}) bool

func (*Params) GetCoinIssuers added in v1.0.3

func (m *Params) GetCoinIssuers() []CoinIssuer

func (*Params) GetDistrEpochIdentifier added in v1.0.3

func (m *Params) GetDistrEpochIdentifier() string

func (*Params) GetEngineVersion added in v1.0.3

func (m *Params) GetEngineVersion() uint64

func (*Params) GetPaymentProcessors added in v1.0.3

func (m *Params) GetPaymentProcessors() []PaymentProcessor

func (*Params) GetUpdateItemStringFee added in v1.0.3

func (m *Params) GetUpdateItemStringFee() types.Coin

func (*Params) GetUpdateUsernameFee added in v1.0.3

func (m *Params) GetUpdateUsernameFee() types.Coin

func (*Params) Marshal added in v1.0.3

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo added in v1.0.3

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer added in v1.0.3

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs added in v1.0.3

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs returns the parameter set pairs.

func (*Params) ProtoMessage added in v1.0.3

func (*Params) ProtoMessage()

func (*Params) Reset added in v1.0.3

func (m *Params) Reset()

func (*Params) Size added in v1.0.3

func (m *Params) Size() (n int)

func (Params) String added in v1.0.3

func (p Params) String() string

String implements stringer interface

func (*Params) Unmarshal added in v1.0.3

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) ValidateBasic added in v1.0.3

func (p Params) ValidateBasic() error

ValidateBasic performs basic validation on distribution parameters.

func (*Params) XXX_DiscardUnknown added in v1.0.3

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal added in v1.0.3

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge added in v1.0.3

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size added in v1.0.3

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal added in v1.0.3

func (m *Params) XXX_Unmarshal(b []byte) error

type PaymentInfo added in v1.0.3

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 added in v1.0.3

func (*PaymentInfo) Descriptor() ([]byte, []int)

func (*PaymentInfo) GetPayerAddr added in v1.0.3

func (m *PaymentInfo) GetPayerAddr() string

func (*PaymentInfo) GetProcessorName added in v1.0.3

func (m *PaymentInfo) GetProcessorName() string

func (*PaymentInfo) GetProductID added in v1.0.3

func (m *PaymentInfo) GetProductID() string

func (*PaymentInfo) GetPurchaseID added in v1.0.3

func (m *PaymentInfo) GetPurchaseID() string

func (*PaymentInfo) GetSignature added in v1.0.3

func (m *PaymentInfo) GetSignature() string

func (*PaymentInfo) Marshal added in v1.0.3

func (m *PaymentInfo) Marshal() (dAtA []byte, err error)

func (*PaymentInfo) MarshalTo added in v1.0.3

func (m *PaymentInfo) MarshalTo(dAtA []byte) (int, error)

func (*PaymentInfo) MarshalToSizedBuffer added in v1.0.3

func (m *PaymentInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PaymentInfo) ProtoMessage added in v1.0.3

func (*PaymentInfo) ProtoMessage()

func (*PaymentInfo) Reset added in v1.0.3

func (m *PaymentInfo) Reset()

func (*PaymentInfo) Size added in v1.0.3

func (m *PaymentInfo) Size() (n int)

func (*PaymentInfo) String added in v1.0.3

func (m *PaymentInfo) String() string

func (*PaymentInfo) Unmarshal added in v1.0.3

func (m *PaymentInfo) Unmarshal(dAtA []byte) error

func (*PaymentInfo) XXX_DiscardUnknown added in v1.0.3

func (m *PaymentInfo) XXX_DiscardUnknown()

func (*PaymentInfo) XXX_Marshal added in v1.0.3

func (m *PaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaymentInfo) XXX_Merge added in v1.0.3

func (m *PaymentInfo) XXX_Merge(src proto.Message)

func (*PaymentInfo) XXX_Size added in v1.0.3

func (m *PaymentInfo) XXX_Size() int

func (*PaymentInfo) XXX_Unmarshal added in v1.0.3

func (m *PaymentInfo) XXX_Unmarshal(b []byte) error

type PaymentProcessor added in v1.0.3

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 added in v1.0.3

func (*PaymentProcessor) Descriptor() ([]byte, []int)

func (*PaymentProcessor) Equal added in v1.0.3

func (this *PaymentProcessor) Equal(that interface{}) bool

func (*PaymentProcessor) GetCoinDenom added in v1.0.3

func (m *PaymentProcessor) GetCoinDenom() string

func (*PaymentProcessor) GetName added in v1.0.3

func (m *PaymentProcessor) GetName() string

func (*PaymentProcessor) GetPubKey added in v1.0.3

func (m *PaymentProcessor) GetPubKey() string

func (*PaymentProcessor) Marshal added in v1.0.3

func (m *PaymentProcessor) Marshal() (dAtA []byte, err error)

func (*PaymentProcessor) MarshalTo added in v1.0.3

func (m *PaymentProcessor) MarshalTo(dAtA []byte) (int, error)

func (*PaymentProcessor) MarshalToSizedBuffer added in v1.0.3

func (m *PaymentProcessor) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PaymentProcessor) ProtoMessage added in v1.0.3

func (*PaymentProcessor) ProtoMessage()

func (*PaymentProcessor) Reset added in v1.0.3

func (m *PaymentProcessor) Reset()

func (*PaymentProcessor) Size added in v1.0.3

func (m *PaymentProcessor) Size() (n int)

func (*PaymentProcessor) String added in v1.0.3

func (m *PaymentProcessor) String() string

func (*PaymentProcessor) Unmarshal added in v1.0.3

func (m *PaymentProcessor) Unmarshal(dAtA []byte) error

func (PaymentProcessor) ValidatePaymentInfo added in v1.0.3

func (pp PaymentProcessor) ValidatePaymentInfo(pi PaymentInfo) error

ValidatePaymentInfo validates the payment receipt using the provided signature

func (PaymentProcessor) ValidateRedeemInfo added in v1.0.3

func (pp PaymentProcessor) ValidateRedeemInfo(ri RedeemInfo) error

ValidateRedeemInfo validates the payment receipt using the provided signature

func (*PaymentProcessor) XXX_DiscardUnknown added in v1.0.3

func (m *PaymentProcessor) XXX_DiscardUnknown()

func (*PaymentProcessor) XXX_Marshal added in v1.0.3

func (m *PaymentProcessor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaymentProcessor) XXX_Merge added in v1.0.3

func (m *PaymentProcessor) XXX_Merge(src proto.Message)

func (*PaymentProcessor) XXX_Size added in v1.0.3

func (m *PaymentProcessor) XXX_Size() int

func (*PaymentProcessor) XXX_Unmarshal added in v1.0.3

func (m *PaymentProcessor) XXX_Unmarshal(b []byte) error

type Pool added in v1.0.3

type Pool struct {
	BondedTokens    sdk.Int
	NotBondedTokens sdk.Int
	Height          int64
}

Pool contains the data of the staking pool at the given height

func NewPool added in v1.0.3

func NewPool(bondedTokens, notBondedTokens sdk.Int, height int64) *Pool

NewPool allows to build a new Pool instance

type Proposal added in v1.0.3

type Proposal struct {
	ProposalRoute   string
	ProposalType    string
	ProposalID      uint64
	Content         govtypes.Content
	Status          string
	SubmitTime      time.Time
	DepositEndTime  time.Time
	VotingStartTime time.Time
	VotingEndTime   time.Time
	Proposer        string
}

Proposal represents a single governance proposal

func NewProposal added in v1.0.3

func NewProposal(
	proposalID uint64,
	proposalRoute string,
	proposalType string,
	content govtypes.Content,
	status string,
	submitTime time.Time,
	depositEndTime time.Time,
	votingStartTime time.Time,
	votingEndTime time.Time,
	proposer string,
) Proposal

NewProposal return a new Proposal instance

func (Proposal) Equal added in v1.0.3

func (p Proposal) Equal(other Proposal) bool

Equal tells whether p and other contain the same data

type ProposalStakingPoolSnapshot added in v1.0.3

type ProposalStakingPoolSnapshot struct {
	ProposalID uint64
	Pool       *Pool
}

ProposalStakingPoolSnapshot contains the data about a single staking pool snapshot to be associated with a proposal

func NewProposalStakingPoolSnapshot added in v1.0.3

func NewProposalStakingPoolSnapshot(proposalID uint64, pool *Pool) ProposalStakingPoolSnapshot

NewProposalStakingPoolSnapshot returns a new ProposalStakingPoolSnapshot instance

type ProposalUpdate added in v1.0.3

type ProposalUpdate struct {
	ProposalID      uint64
	Status          string
	VotingStartTime time.Time
	VotingEndTime   time.Time
}

ProposalUpdate contains the data that should be used when updating a governance proposal

func NewProposalUpdate added in v1.0.3

func NewProposalUpdate(
	proposalID uint64, status string, votingStartTime, votingEndTime time.Time,
) ProposalUpdate

NewProposalUpdate allows to build a new ProposalUpdate instance

type ProposalValidatorStatusSnapshot added in v1.0.3

type ProposalValidatorStatusSnapshot struct {
	ProposalID           uint64
	ValidatorConsAddress string
	ValidatorVotingPower int64
	ValidatorStatus      int
	ValidatorJailed      bool
	Height               int64
}

ProposalValidatorStatusSnapshot represents a single snapshot of the status of a validator associated with a single proposal

func NewProposalValidatorStatusSnapshot added in v1.0.3

func NewProposalValidatorStatusSnapshot(
	proposalID uint64,
	validatorConsAddr string,
	validatorVotingPower int64,
	validatorStatus int,
	validatorJailed bool,
	height int64,
) ProposalValidatorStatusSnapshot

NewProposalValidatorStatusSnapshot returns a new ProposalValidatorStatusSnapshot instance

type QueryAllPaymentInfoRequest added in v1.0.3

type QueryAllPaymentInfoRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllPaymentInfoRequest) Descriptor added in v1.0.3

func (*QueryAllPaymentInfoRequest) Descriptor() ([]byte, []int)

func (*QueryAllPaymentInfoRequest) GetPagination added in v1.0.3

func (m *QueryAllPaymentInfoRequest) GetPagination() *query.PageRequest

func (*QueryAllPaymentInfoRequest) Marshal added in v1.0.3

func (m *QueryAllPaymentInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllPaymentInfoRequest) MarshalTo added in v1.0.3

func (m *QueryAllPaymentInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllPaymentInfoRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryAllPaymentInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPaymentInfoRequest) ProtoMessage added in v1.0.3

func (*QueryAllPaymentInfoRequest) ProtoMessage()

func (*QueryAllPaymentInfoRequest) Reset added in v1.0.3

func (m *QueryAllPaymentInfoRequest) Reset()

func (*QueryAllPaymentInfoRequest) Size added in v1.0.3

func (m *QueryAllPaymentInfoRequest) Size() (n int)

func (*QueryAllPaymentInfoRequest) String added in v1.0.3

func (m *QueryAllPaymentInfoRequest) String() string

func (*QueryAllPaymentInfoRequest) Unmarshal added in v1.0.3

func (m *QueryAllPaymentInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryAllPaymentInfoRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryAllPaymentInfoRequest) XXX_DiscardUnknown()

func (*QueryAllPaymentInfoRequest) XXX_Marshal added in v1.0.3

func (m *QueryAllPaymentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPaymentInfoRequest) XXX_Merge added in v1.0.3

func (m *QueryAllPaymentInfoRequest) XXX_Merge(src proto.Message)

func (*QueryAllPaymentInfoRequest) XXX_Size added in v1.0.3

func (m *QueryAllPaymentInfoRequest) XXX_Size() int

func (*QueryAllPaymentInfoRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryAllPaymentInfoRequest) XXX_Unmarshal(b []byte) error

type QueryAllPaymentInfoResponse added in v1.0.3

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 added in v1.0.3

func (*QueryAllPaymentInfoResponse) Descriptor() ([]byte, []int)

func (*QueryAllPaymentInfoResponse) GetPagination added in v1.0.3

func (m *QueryAllPaymentInfoResponse) GetPagination() *query.PageResponse

func (*QueryAllPaymentInfoResponse) GetPaymentInfo added in v1.0.3

func (m *QueryAllPaymentInfoResponse) GetPaymentInfo() []PaymentInfo

func (*QueryAllPaymentInfoResponse) Marshal added in v1.0.3

func (m *QueryAllPaymentInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllPaymentInfoResponse) MarshalTo added in v1.0.3

func (m *QueryAllPaymentInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllPaymentInfoResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryAllPaymentInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllPaymentInfoResponse) ProtoMessage added in v1.0.3

func (*QueryAllPaymentInfoResponse) ProtoMessage()

func (*QueryAllPaymentInfoResponse) Reset added in v1.0.3

func (m *QueryAllPaymentInfoResponse) Reset()

func (*QueryAllPaymentInfoResponse) Size added in v1.0.3

func (m *QueryAllPaymentInfoResponse) Size() (n int)

func (*QueryAllPaymentInfoResponse) String added in v1.0.3

func (m *QueryAllPaymentInfoResponse) String() string

func (*QueryAllPaymentInfoResponse) Unmarshal added in v1.0.3

func (m *QueryAllPaymentInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryAllPaymentInfoResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryAllPaymentInfoResponse) XXX_DiscardUnknown()

func (*QueryAllPaymentInfoResponse) XXX_Marshal added in v1.0.3

func (m *QueryAllPaymentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllPaymentInfoResponse) XXX_Merge added in v1.0.3

func (m *QueryAllPaymentInfoResponse) XXX_Merge(src proto.Message)

func (*QueryAllPaymentInfoResponse) XXX_Size added in v1.0.3

func (m *QueryAllPaymentInfoResponse) XXX_Size() int

func (*QueryAllPaymentInfoResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryAllPaymentInfoResponse) XXX_Unmarshal(b []byte) error

type QueryAllRedeemInfoRequest added in v1.0.3

type QueryAllRedeemInfoRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllRedeemInfoRequest) Descriptor added in v1.0.3

func (*QueryAllRedeemInfoRequest) Descriptor() ([]byte, []int)

func (*QueryAllRedeemInfoRequest) GetPagination added in v1.0.3

func (m *QueryAllRedeemInfoRequest) GetPagination() *query.PageRequest

func (*QueryAllRedeemInfoRequest) Marshal added in v1.0.3

func (m *QueryAllRedeemInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllRedeemInfoRequest) MarshalTo added in v1.0.3

func (m *QueryAllRedeemInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllRedeemInfoRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryAllRedeemInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllRedeemInfoRequest) ProtoMessage added in v1.0.3

func (*QueryAllRedeemInfoRequest) ProtoMessage()

func (*QueryAllRedeemInfoRequest) Reset added in v1.0.3

func (m *QueryAllRedeemInfoRequest) Reset()

func (*QueryAllRedeemInfoRequest) Size added in v1.0.3

func (m *QueryAllRedeemInfoRequest) Size() (n int)

func (*QueryAllRedeemInfoRequest) String added in v1.0.3

func (m *QueryAllRedeemInfoRequest) String() string

func (*QueryAllRedeemInfoRequest) Unmarshal added in v1.0.3

func (m *QueryAllRedeemInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryAllRedeemInfoRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryAllRedeemInfoRequest) XXX_DiscardUnknown()

func (*QueryAllRedeemInfoRequest) XXX_Marshal added in v1.0.3

func (m *QueryAllRedeemInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllRedeemInfoRequest) XXX_Merge added in v1.0.3

func (m *QueryAllRedeemInfoRequest) XXX_Merge(src proto.Message)

func (*QueryAllRedeemInfoRequest) XXX_Size added in v1.0.3

func (m *QueryAllRedeemInfoRequest) XXX_Size() int

func (*QueryAllRedeemInfoRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryAllRedeemInfoRequest) XXX_Unmarshal(b []byte) error

type QueryAllRedeemInfoResponse added in v1.0.3

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 added in v1.0.3

func (*QueryAllRedeemInfoResponse) Descriptor() ([]byte, []int)

func (*QueryAllRedeemInfoResponse) GetPagination added in v1.0.3

func (m *QueryAllRedeemInfoResponse) GetPagination() *query.PageResponse

func (*QueryAllRedeemInfoResponse) GetRedeemInfo added in v1.0.3

func (m *QueryAllRedeemInfoResponse) GetRedeemInfo() []RedeemInfo

func (*QueryAllRedeemInfoResponse) Marshal added in v1.0.3

func (m *QueryAllRedeemInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllRedeemInfoResponse) MarshalTo added in v1.0.3

func (m *QueryAllRedeemInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllRedeemInfoResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryAllRedeemInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllRedeemInfoResponse) ProtoMessage added in v1.0.3

func (*QueryAllRedeemInfoResponse) ProtoMessage()

func (*QueryAllRedeemInfoResponse) Reset added in v1.0.3

func (m *QueryAllRedeemInfoResponse) Reset()

func (*QueryAllRedeemInfoResponse) Size added in v1.0.3

func (m *QueryAllRedeemInfoResponse) Size() (n int)

func (*QueryAllRedeemInfoResponse) String added in v1.0.3

func (m *QueryAllRedeemInfoResponse) String() string

func (*QueryAllRedeemInfoResponse) Unmarshal added in v1.0.3

func (m *QueryAllRedeemInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryAllRedeemInfoResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryAllRedeemInfoResponse) XXX_DiscardUnknown()

func (*QueryAllRedeemInfoResponse) XXX_Marshal added in v1.0.3

func (m *QueryAllRedeemInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllRedeemInfoResponse) XXX_Merge added in v1.0.3

func (m *QueryAllRedeemInfoResponse) XXX_Merge(src proto.Message)

func (*QueryAllRedeemInfoResponse) XXX_Size added in v1.0.3

func (m *QueryAllRedeemInfoResponse) XXX_Size() int

func (*QueryAllRedeemInfoResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryAllRedeemInfoResponse) XXX_Unmarshal(b []byte) error

type QueryClient added in v1.0.3

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 added in v1.0.3

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryGetAddressByUsernameRequest added in v1.0.3

type QueryGetAddressByUsernameRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
}

func (*QueryGetAddressByUsernameRequest) Descriptor added in v1.0.3

func (*QueryGetAddressByUsernameRequest) Descriptor() ([]byte, []int)

func (*QueryGetAddressByUsernameRequest) GetUsername added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) GetUsername() string

func (*QueryGetAddressByUsernameRequest) Marshal added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetAddressByUsernameRequest) MarshalTo added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetAddressByUsernameRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetAddressByUsernameRequest) ProtoMessage added in v1.0.3

func (*QueryGetAddressByUsernameRequest) ProtoMessage()

func (*QueryGetAddressByUsernameRequest) Reset added in v1.0.3

func (*QueryGetAddressByUsernameRequest) Size added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) Size() (n int)

func (*QueryGetAddressByUsernameRequest) String added in v1.0.3

func (*QueryGetAddressByUsernameRequest) Unmarshal added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) Unmarshal(dAtA []byte) error

func (*QueryGetAddressByUsernameRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) XXX_DiscardUnknown()

func (*QueryGetAddressByUsernameRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetAddressByUsernameRequest) XXX_Merge added in v1.0.3

func (*QueryGetAddressByUsernameRequest) XXX_Size added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) XXX_Size() int

func (*QueryGetAddressByUsernameRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetAddressByUsernameRequest) XXX_Unmarshal(b []byte) error

type QueryGetAddressByUsernameResponse added in v1.0.3

type QueryGetAddressByUsernameResponse struct {
	Address AccountAddr `protobuf:"bytes,1,opt,name=address,proto3" json:"address"`
}

func (*QueryGetAddressByUsernameResponse) Descriptor added in v1.0.3

func (*QueryGetAddressByUsernameResponse) Descriptor() ([]byte, []int)

func (*QueryGetAddressByUsernameResponse) GetAddress added in v1.0.3

func (*QueryGetAddressByUsernameResponse) Marshal added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetAddressByUsernameResponse) MarshalTo added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetAddressByUsernameResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetAddressByUsernameResponse) ProtoMessage added in v1.0.3

func (*QueryGetAddressByUsernameResponse) ProtoMessage()

func (*QueryGetAddressByUsernameResponse) Reset added in v1.0.3

func (*QueryGetAddressByUsernameResponse) Size added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) Size() (n int)

func (*QueryGetAddressByUsernameResponse) String added in v1.0.3

func (*QueryGetAddressByUsernameResponse) Unmarshal added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) Unmarshal(dAtA []byte) error

func (*QueryGetAddressByUsernameResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) XXX_DiscardUnknown()

func (*QueryGetAddressByUsernameResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetAddressByUsernameResponse) XXX_Merge added in v1.0.3

func (*QueryGetAddressByUsernameResponse) XXX_Size added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) XXX_Size() int

func (*QueryGetAddressByUsernameResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetAddressByUsernameResponse) XXX_Unmarshal(b []byte) error

type QueryGetCookbookRequest added in v1.0.3

type QueryGetCookbookRequest struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetCookbookRequest) Descriptor added in v1.0.3

func (*QueryGetCookbookRequest) Descriptor() ([]byte, []int)

func (*QueryGetCookbookRequest) GetID added in v1.0.3

func (m *QueryGetCookbookRequest) GetID() string

func (*QueryGetCookbookRequest) Marshal added in v1.0.3

func (m *QueryGetCookbookRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetCookbookRequest) MarshalTo added in v1.0.3

func (m *QueryGetCookbookRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetCookbookRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetCookbookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetCookbookRequest) ProtoMessage added in v1.0.3

func (*QueryGetCookbookRequest) ProtoMessage()

func (*QueryGetCookbookRequest) Reset added in v1.0.3

func (m *QueryGetCookbookRequest) Reset()

func (*QueryGetCookbookRequest) Size added in v1.0.3

func (m *QueryGetCookbookRequest) Size() (n int)

func (*QueryGetCookbookRequest) String added in v1.0.3

func (m *QueryGetCookbookRequest) String() string

func (*QueryGetCookbookRequest) Unmarshal added in v1.0.3

func (m *QueryGetCookbookRequest) Unmarshal(dAtA []byte) error

func (*QueryGetCookbookRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetCookbookRequest) XXX_DiscardUnknown()

func (*QueryGetCookbookRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetCookbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetCookbookRequest) XXX_Merge added in v1.0.3

func (m *QueryGetCookbookRequest) XXX_Merge(src proto.Message)

func (*QueryGetCookbookRequest) XXX_Size added in v1.0.3

func (m *QueryGetCookbookRequest) XXX_Size() int

func (*QueryGetCookbookRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetCookbookRequest) XXX_Unmarshal(b []byte) error

type QueryGetCookbookResponse added in v1.0.3

type QueryGetCookbookResponse struct {
	Cookbook Cookbook `protobuf:"bytes,1,opt,name=Cookbook,proto3" json:"Cookbook"`
}

func (*QueryGetCookbookResponse) Descriptor added in v1.0.3

func (*QueryGetCookbookResponse) Descriptor() ([]byte, []int)

func (*QueryGetCookbookResponse) GetCookbook added in v1.0.3

func (m *QueryGetCookbookResponse) GetCookbook() Cookbook

func (*QueryGetCookbookResponse) Marshal added in v1.0.3

func (m *QueryGetCookbookResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetCookbookResponse) MarshalTo added in v1.0.3

func (m *QueryGetCookbookResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetCookbookResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetCookbookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetCookbookResponse) ProtoMessage added in v1.0.3

func (*QueryGetCookbookResponse) ProtoMessage()

func (*QueryGetCookbookResponse) Reset added in v1.0.3

func (m *QueryGetCookbookResponse) Reset()

func (*QueryGetCookbookResponse) Size added in v1.0.3

func (m *QueryGetCookbookResponse) Size() (n int)

func (*QueryGetCookbookResponse) String added in v1.0.3

func (m *QueryGetCookbookResponse) String() string

func (*QueryGetCookbookResponse) Unmarshal added in v1.0.3

func (m *QueryGetCookbookResponse) Unmarshal(dAtA []byte) error

func (*QueryGetCookbookResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetCookbookResponse) XXX_DiscardUnknown()

func (*QueryGetCookbookResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetCookbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetCookbookResponse) XXX_Merge added in v1.0.3

func (m *QueryGetCookbookResponse) XXX_Merge(src proto.Message)

func (*QueryGetCookbookResponse) XXX_Size added in v1.0.3

func (m *QueryGetCookbookResponse) XXX_Size() int

func (*QueryGetCookbookResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetCookbookResponse) XXX_Unmarshal(b []byte) error

type QueryGetExecutionRequest added in v1.0.3

type QueryGetExecutionRequest struct {
	ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetExecutionRequest) Descriptor added in v1.0.3

func (*QueryGetExecutionRequest) Descriptor() ([]byte, []int)

func (*QueryGetExecutionRequest) GetID added in v1.0.3

func (m *QueryGetExecutionRequest) GetID() string

func (*QueryGetExecutionRequest) Marshal added in v1.0.3

func (m *QueryGetExecutionRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetExecutionRequest) MarshalTo added in v1.0.3

func (m *QueryGetExecutionRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetExecutionRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetExecutionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetExecutionRequest) ProtoMessage added in v1.0.3

func (*QueryGetExecutionRequest) ProtoMessage()

func (*QueryGetExecutionRequest) Reset added in v1.0.3

func (m *QueryGetExecutionRequest) Reset()

func (*QueryGetExecutionRequest) Size added in v1.0.3

func (m *QueryGetExecutionRequest) Size() (n int)

func (*QueryGetExecutionRequest) String added in v1.0.3

func (m *QueryGetExecutionRequest) String() string

func (*QueryGetExecutionRequest) Unmarshal added in v1.0.3

func (m *QueryGetExecutionRequest) Unmarshal(dAtA []byte) error

func (*QueryGetExecutionRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetExecutionRequest) XXX_DiscardUnknown()

func (*QueryGetExecutionRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetExecutionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetExecutionRequest) XXX_Merge added in v1.0.3

func (m *QueryGetExecutionRequest) XXX_Merge(src proto.Message)

func (*QueryGetExecutionRequest) XXX_Size added in v1.0.3

func (m *QueryGetExecutionRequest) XXX_Size() int

func (*QueryGetExecutionRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetExecutionRequest) XXX_Unmarshal(b []byte) error

type QueryGetExecutionResponse added in v1.0.3

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 added in v1.0.3

func (*QueryGetExecutionResponse) Descriptor() ([]byte, []int)

func (*QueryGetExecutionResponse) GetCompleted added in v1.0.3

func (m *QueryGetExecutionResponse) GetCompleted() bool

func (*QueryGetExecutionResponse) GetExecution added in v1.0.3

func (m *QueryGetExecutionResponse) GetExecution() Execution

func (*QueryGetExecutionResponse) Marshal added in v1.0.3

func (m *QueryGetExecutionResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetExecutionResponse) MarshalTo added in v1.0.3

func (m *QueryGetExecutionResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetExecutionResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetExecutionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetExecutionResponse) ProtoMessage added in v1.0.3

func (*QueryGetExecutionResponse) ProtoMessage()

func (*QueryGetExecutionResponse) Reset added in v1.0.3

func (m *QueryGetExecutionResponse) Reset()

func (*QueryGetExecutionResponse) Size added in v1.0.3

func (m *QueryGetExecutionResponse) Size() (n int)

func (*QueryGetExecutionResponse) String added in v1.0.3

func (m *QueryGetExecutionResponse) String() string

func (*QueryGetExecutionResponse) Unmarshal added in v1.0.3

func (m *QueryGetExecutionResponse) Unmarshal(dAtA []byte) error

func (*QueryGetExecutionResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetExecutionResponse) XXX_DiscardUnknown()

func (*QueryGetExecutionResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetExecutionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetExecutionResponse) XXX_Merge added in v1.0.3

func (m *QueryGetExecutionResponse) XXX_Merge(src proto.Message)

func (*QueryGetExecutionResponse) XXX_Size added in v1.0.3

func (m *QueryGetExecutionResponse) XXX_Size() int

func (*QueryGetExecutionResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetExecutionResponse) XXX_Unmarshal(b []byte) error

type QueryGetGoogleInAppPurchaseOrderRequest added in v1.0.3

type QueryGetGoogleInAppPurchaseOrderRequest struct {
	PurchaseToken string `protobuf:"bytes,1,opt,name=PurchaseToken,proto3" json:"PurchaseToken,omitempty"`
}

func (*QueryGetGoogleInAppPurchaseOrderRequest) Descriptor added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderRequest) Descriptor() ([]byte, []int)

func (*QueryGetGoogleInAppPurchaseOrderRequest) GetPurchaseToken added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) GetPurchaseToken() string

func (*QueryGetGoogleInAppPurchaseOrderRequest) Marshal added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) MarshalTo added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) ProtoMessage added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderRequest) Reset added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderRequest) Size added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderRequest) String added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderRequest) Unmarshal added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) Unmarshal(dAtA []byte) error

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) XXX_DiscardUnknown()

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Merge added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Size added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderRequest) XXX_Unmarshal(b []byte) error

type QueryGetGoogleInAppPurchaseOrderResponse added in v1.0.3

type QueryGetGoogleInAppPurchaseOrderResponse struct {
	Order GoogleInAppPurchaseOrder `protobuf:"bytes,1,opt,name=Order,proto3" json:"Order"`
}

func (*QueryGetGoogleInAppPurchaseOrderResponse) Descriptor added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) Descriptor() ([]byte, []int)

func (*QueryGetGoogleInAppPurchaseOrderResponse) GetOrder added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) Marshal added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) MarshalTo added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) ProtoMessage added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) Reset added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) Size added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) String added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) Unmarshal added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderResponse) XXX_DiscardUnknown()

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Merge added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Size added in v1.0.3

func (*QueryGetGoogleInAppPurchaseOrderResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetGoogleInAppPurchaseOrderResponse) XXX_Unmarshal(b []byte) error

type QueryGetItemRequest added in v1.0.3

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 added in v1.0.3

func (*QueryGetItemRequest) Descriptor() ([]byte, []int)

func (*QueryGetItemRequest) GetCookbookID added in v1.0.3

func (m *QueryGetItemRequest) GetCookbookID() string

func (*QueryGetItemRequest) GetID added in v1.0.3

func (m *QueryGetItemRequest) GetID() string

func (*QueryGetItemRequest) Marshal added in v1.0.3

func (m *QueryGetItemRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetItemRequest) MarshalTo added in v1.0.3

func (m *QueryGetItemRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetItemRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetItemRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetItemRequest) ProtoMessage added in v1.0.3

func (*QueryGetItemRequest) ProtoMessage()

func (*QueryGetItemRequest) Reset added in v1.0.3

func (m *QueryGetItemRequest) Reset()

func (*QueryGetItemRequest) Size added in v1.0.3

func (m *QueryGetItemRequest) Size() (n int)

func (*QueryGetItemRequest) String added in v1.0.3

func (m *QueryGetItemRequest) String() string

func (*QueryGetItemRequest) Unmarshal added in v1.0.3

func (m *QueryGetItemRequest) Unmarshal(dAtA []byte) error

func (*QueryGetItemRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetItemRequest) XXX_DiscardUnknown()

func (*QueryGetItemRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetItemRequest) XXX_Merge added in v1.0.3

func (m *QueryGetItemRequest) XXX_Merge(src proto.Message)

func (*QueryGetItemRequest) XXX_Size added in v1.0.3

func (m *QueryGetItemRequest) XXX_Size() int

func (*QueryGetItemRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetItemRequest) XXX_Unmarshal(b []byte) error

type QueryGetItemResponse added in v1.0.3

type QueryGetItemResponse struct {
	Item Item `protobuf:"bytes,1,opt,name=Item,proto3" json:"Item"`
}

func (*QueryGetItemResponse) Descriptor added in v1.0.3

func (*QueryGetItemResponse) Descriptor() ([]byte, []int)

func (*QueryGetItemResponse) GetItem added in v1.0.3

func (m *QueryGetItemResponse) GetItem() Item

func (*QueryGetItemResponse) Marshal added in v1.0.3

func (m *QueryGetItemResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetItemResponse) MarshalTo added in v1.0.3

func (m *QueryGetItemResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetItemResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetItemResponse) ProtoMessage added in v1.0.3

func (*QueryGetItemResponse) ProtoMessage()

func (*QueryGetItemResponse) Reset added in v1.0.3

func (m *QueryGetItemResponse) Reset()

func (*QueryGetItemResponse) Size added in v1.0.3

func (m *QueryGetItemResponse) Size() (n int)

func (*QueryGetItemResponse) String added in v1.0.3

func (m *QueryGetItemResponse) String() string

func (*QueryGetItemResponse) Unmarshal added in v1.0.3

func (m *QueryGetItemResponse) Unmarshal(dAtA []byte) error

func (*QueryGetItemResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetItemResponse) XXX_DiscardUnknown()

func (*QueryGetItemResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetItemResponse) XXX_Merge added in v1.0.3

func (m *QueryGetItemResponse) XXX_Merge(src proto.Message)

func (*QueryGetItemResponse) XXX_Size added in v1.0.3

func (m *QueryGetItemResponse) XXX_Size() int

func (*QueryGetItemResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetItemResponse) XXX_Unmarshal(b []byte) error

type QueryGetPaymentInfoRequest added in v1.0.3

type QueryGetPaymentInfoRequest struct {
	PurchaseID string `protobuf:"bytes,1,opt,name=purchaseID,proto3" json:"purchaseID,omitempty"`
}

func (*QueryGetPaymentInfoRequest) Descriptor added in v1.0.3

func (*QueryGetPaymentInfoRequest) Descriptor() ([]byte, []int)

func (*QueryGetPaymentInfoRequest) GetPurchaseID added in v1.0.3

func (m *QueryGetPaymentInfoRequest) GetPurchaseID() string

func (*QueryGetPaymentInfoRequest) Marshal added in v1.0.3

func (m *QueryGetPaymentInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetPaymentInfoRequest) MarshalTo added in v1.0.3

func (m *QueryGetPaymentInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetPaymentInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoRequest) ProtoMessage added in v1.0.3

func (*QueryGetPaymentInfoRequest) ProtoMessage()

func (*QueryGetPaymentInfoRequest) Reset added in v1.0.3

func (m *QueryGetPaymentInfoRequest) Reset()

func (*QueryGetPaymentInfoRequest) Size added in v1.0.3

func (m *QueryGetPaymentInfoRequest) Size() (n int)

func (*QueryGetPaymentInfoRequest) String added in v1.0.3

func (m *QueryGetPaymentInfoRequest) String() string

func (*QueryGetPaymentInfoRequest) Unmarshal added in v1.0.3

func (m *QueryGetPaymentInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryGetPaymentInfoRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetPaymentInfoRequest) XXX_DiscardUnknown()

func (*QueryGetPaymentInfoRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetPaymentInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPaymentInfoRequest) XXX_Merge added in v1.0.3

func (m *QueryGetPaymentInfoRequest) XXX_Merge(src proto.Message)

func (*QueryGetPaymentInfoRequest) XXX_Size added in v1.0.3

func (m *QueryGetPaymentInfoRequest) XXX_Size() int

func (*QueryGetPaymentInfoRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetPaymentInfoRequest) XXX_Unmarshal(b []byte) error

type QueryGetPaymentInfoResponse added in v1.0.3

type QueryGetPaymentInfoResponse struct {
	PaymentInfo PaymentInfo `protobuf:"bytes,1,opt,name=PaymentInfo,proto3" json:"PaymentInfo"`
}

func (*QueryGetPaymentInfoResponse) Descriptor added in v1.0.3

func (*QueryGetPaymentInfoResponse) Descriptor() ([]byte, []int)

func (*QueryGetPaymentInfoResponse) GetPaymentInfo added in v1.0.3

func (m *QueryGetPaymentInfoResponse) GetPaymentInfo() PaymentInfo

func (*QueryGetPaymentInfoResponse) Marshal added in v1.0.3

func (m *QueryGetPaymentInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetPaymentInfoResponse) MarshalTo added in v1.0.3

func (m *QueryGetPaymentInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetPaymentInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPaymentInfoResponse) ProtoMessage added in v1.0.3

func (*QueryGetPaymentInfoResponse) ProtoMessage()

func (*QueryGetPaymentInfoResponse) Reset added in v1.0.3

func (m *QueryGetPaymentInfoResponse) Reset()

func (*QueryGetPaymentInfoResponse) Size added in v1.0.3

func (m *QueryGetPaymentInfoResponse) Size() (n int)

func (*QueryGetPaymentInfoResponse) String added in v1.0.3

func (m *QueryGetPaymentInfoResponse) String() string

func (*QueryGetPaymentInfoResponse) Unmarshal added in v1.0.3

func (m *QueryGetPaymentInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryGetPaymentInfoResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetPaymentInfoResponse) XXX_DiscardUnknown()

func (*QueryGetPaymentInfoResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetPaymentInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPaymentInfoResponse) XXX_Merge added in v1.0.3

func (m *QueryGetPaymentInfoResponse) XXX_Merge(src proto.Message)

func (*QueryGetPaymentInfoResponse) XXX_Size added in v1.0.3

func (m *QueryGetPaymentInfoResponse) XXX_Size() int

func (*QueryGetPaymentInfoResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetPaymentInfoResponse) XXX_Unmarshal(b []byte) error

type QueryGetRecipeRequest added in v1.0.3

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 added in v1.0.3

func (*QueryGetRecipeRequest) Descriptor() ([]byte, []int)

func (*QueryGetRecipeRequest) GetCookbookID added in v1.0.3

func (m *QueryGetRecipeRequest) GetCookbookID() string

func (*QueryGetRecipeRequest) GetID added in v1.0.3

func (m *QueryGetRecipeRequest) GetID() string

func (*QueryGetRecipeRequest) Marshal added in v1.0.3

func (m *QueryGetRecipeRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetRecipeRequest) MarshalTo added in v1.0.3

func (m *QueryGetRecipeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRecipeRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetRecipeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRecipeRequest) ProtoMessage added in v1.0.3

func (*QueryGetRecipeRequest) ProtoMessage()

func (*QueryGetRecipeRequest) Reset added in v1.0.3

func (m *QueryGetRecipeRequest) Reset()

func (*QueryGetRecipeRequest) Size added in v1.0.3

func (m *QueryGetRecipeRequest) Size() (n int)

func (*QueryGetRecipeRequest) String added in v1.0.3

func (m *QueryGetRecipeRequest) String() string

func (*QueryGetRecipeRequest) Unmarshal added in v1.0.3

func (m *QueryGetRecipeRequest) Unmarshal(dAtA []byte) error

func (*QueryGetRecipeRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetRecipeRequest) XXX_DiscardUnknown()

func (*QueryGetRecipeRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetRecipeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRecipeRequest) XXX_Merge added in v1.0.3

func (m *QueryGetRecipeRequest) XXX_Merge(src proto.Message)

func (*QueryGetRecipeRequest) XXX_Size added in v1.0.3

func (m *QueryGetRecipeRequest) XXX_Size() int

func (*QueryGetRecipeRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetRecipeRequest) XXX_Unmarshal(b []byte) error

type QueryGetRecipeResponse added in v1.0.3

type QueryGetRecipeResponse struct {
	Recipe Recipe `protobuf:"bytes,1,opt,name=Recipe,proto3" json:"Recipe"`
}

func (*QueryGetRecipeResponse) Descriptor added in v1.0.3

func (*QueryGetRecipeResponse) Descriptor() ([]byte, []int)

func (*QueryGetRecipeResponse) GetRecipe added in v1.0.3

func (m *QueryGetRecipeResponse) GetRecipe() Recipe

func (*QueryGetRecipeResponse) Marshal added in v1.0.3

func (m *QueryGetRecipeResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetRecipeResponse) MarshalTo added in v1.0.3

func (m *QueryGetRecipeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRecipeResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetRecipeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRecipeResponse) ProtoMessage added in v1.0.3

func (*QueryGetRecipeResponse) ProtoMessage()

func (*QueryGetRecipeResponse) Reset added in v1.0.3

func (m *QueryGetRecipeResponse) Reset()

func (*QueryGetRecipeResponse) Size added in v1.0.3

func (m *QueryGetRecipeResponse) Size() (n int)

func (*QueryGetRecipeResponse) String added in v1.0.3

func (m *QueryGetRecipeResponse) String() string

func (*QueryGetRecipeResponse) Unmarshal added in v1.0.3

func (m *QueryGetRecipeResponse) Unmarshal(dAtA []byte) error

func (*QueryGetRecipeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetRecipeResponse) XXX_DiscardUnknown()

func (*QueryGetRecipeResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetRecipeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRecipeResponse) XXX_Merge added in v1.0.3

func (m *QueryGetRecipeResponse) XXX_Merge(src proto.Message)

func (*QueryGetRecipeResponse) XXX_Size added in v1.0.3

func (m *QueryGetRecipeResponse) XXX_Size() int

func (*QueryGetRecipeResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetRecipeResponse) XXX_Unmarshal(b []byte) error

type QueryGetRedeemInfoRequest added in v1.0.3

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 added in v1.0.3

func (*QueryGetRedeemInfoRequest) Descriptor() ([]byte, []int)

func (*QueryGetRedeemInfoRequest) GetID added in v1.0.3

func (m *QueryGetRedeemInfoRequest) GetID() string

func (*QueryGetRedeemInfoRequest) Marshal added in v1.0.3

func (m *QueryGetRedeemInfoRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetRedeemInfoRequest) MarshalTo added in v1.0.3

func (m *QueryGetRedeemInfoRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetRedeemInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoRequest) ProtoMessage added in v1.0.3

func (*QueryGetRedeemInfoRequest) ProtoMessage()

func (*QueryGetRedeemInfoRequest) Reset added in v1.0.3

func (m *QueryGetRedeemInfoRequest) Reset()

func (*QueryGetRedeemInfoRequest) Size added in v1.0.3

func (m *QueryGetRedeemInfoRequest) Size() (n int)

func (*QueryGetRedeemInfoRequest) String added in v1.0.3

func (m *QueryGetRedeemInfoRequest) String() string

func (*QueryGetRedeemInfoRequest) Unmarshal added in v1.0.3

func (m *QueryGetRedeemInfoRequest) Unmarshal(dAtA []byte) error

func (*QueryGetRedeemInfoRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetRedeemInfoRequest) XXX_DiscardUnknown()

func (*QueryGetRedeemInfoRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetRedeemInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRedeemInfoRequest) XXX_Merge added in v1.0.3

func (m *QueryGetRedeemInfoRequest) XXX_Merge(src proto.Message)

func (*QueryGetRedeemInfoRequest) XXX_Size added in v1.0.3

func (m *QueryGetRedeemInfoRequest) XXX_Size() int

func (*QueryGetRedeemInfoRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetRedeemInfoRequest) XXX_Unmarshal(b []byte) error

type QueryGetRedeemInfoResponse added in v1.0.3

type QueryGetRedeemInfoResponse struct {
	RedeemInfo RedeemInfo `protobuf:"bytes,1,opt,name=RedeemInfo,proto3" json:"RedeemInfo"`
}

func (*QueryGetRedeemInfoResponse) Descriptor added in v1.0.3

func (*QueryGetRedeemInfoResponse) Descriptor() ([]byte, []int)

func (*QueryGetRedeemInfoResponse) GetRedeemInfo added in v1.0.3

func (m *QueryGetRedeemInfoResponse) GetRedeemInfo() RedeemInfo

func (*QueryGetRedeemInfoResponse) Marshal added in v1.0.3

func (m *QueryGetRedeemInfoResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetRedeemInfoResponse) MarshalTo added in v1.0.3

func (m *QueryGetRedeemInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetRedeemInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetRedeemInfoResponse) ProtoMessage added in v1.0.3

func (*QueryGetRedeemInfoResponse) ProtoMessage()

func (*QueryGetRedeemInfoResponse) Reset added in v1.0.3

func (m *QueryGetRedeemInfoResponse) Reset()

func (*QueryGetRedeemInfoResponse) Size added in v1.0.3

func (m *QueryGetRedeemInfoResponse) Size() (n int)

func (*QueryGetRedeemInfoResponse) String added in v1.0.3

func (m *QueryGetRedeemInfoResponse) String() string

func (*QueryGetRedeemInfoResponse) Unmarshal added in v1.0.3

func (m *QueryGetRedeemInfoResponse) Unmarshal(dAtA []byte) error

func (*QueryGetRedeemInfoResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetRedeemInfoResponse) XXX_DiscardUnknown()

func (*QueryGetRedeemInfoResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetRedeemInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetRedeemInfoResponse) XXX_Merge added in v1.0.3

func (m *QueryGetRedeemInfoResponse) XXX_Merge(src proto.Message)

func (*QueryGetRedeemInfoResponse) XXX_Size added in v1.0.3

func (m *QueryGetRedeemInfoResponse) XXX_Size() int

func (*QueryGetRedeemInfoResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetRedeemInfoResponse) XXX_Unmarshal(b []byte) error

type QueryGetTradeRequest added in v1.0.3

type QueryGetTradeRequest struct {
	ID uint64 `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
}

func (*QueryGetTradeRequest) Descriptor added in v1.0.3

func (*QueryGetTradeRequest) Descriptor() ([]byte, []int)

func (*QueryGetTradeRequest) GetID added in v1.0.3

func (m *QueryGetTradeRequest) GetID() uint64

func (*QueryGetTradeRequest) Marshal added in v1.0.3

func (m *QueryGetTradeRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetTradeRequest) MarshalTo added in v1.0.3

func (m *QueryGetTradeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTradeRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetTradeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTradeRequest) ProtoMessage added in v1.0.3

func (*QueryGetTradeRequest) ProtoMessage()

func (*QueryGetTradeRequest) Reset added in v1.0.3

func (m *QueryGetTradeRequest) Reset()

func (*QueryGetTradeRequest) Size added in v1.0.3

func (m *QueryGetTradeRequest) Size() (n int)

func (*QueryGetTradeRequest) String added in v1.0.3

func (m *QueryGetTradeRequest) String() string

func (*QueryGetTradeRequest) Unmarshal added in v1.0.3

func (m *QueryGetTradeRequest) Unmarshal(dAtA []byte) error

func (*QueryGetTradeRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetTradeRequest) XXX_DiscardUnknown()

func (*QueryGetTradeRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetTradeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTradeRequest) XXX_Merge added in v1.0.3

func (m *QueryGetTradeRequest) XXX_Merge(src proto.Message)

func (*QueryGetTradeRequest) XXX_Size added in v1.0.3

func (m *QueryGetTradeRequest) XXX_Size() int

func (*QueryGetTradeRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetTradeRequest) XXX_Unmarshal(b []byte) error

type QueryGetTradeResponse added in v1.0.3

type QueryGetTradeResponse struct {
	Trade Trade `protobuf:"bytes,1,opt,name=Trade,proto3" json:"Trade"`
}

func (*QueryGetTradeResponse) Descriptor added in v1.0.3

func (*QueryGetTradeResponse) Descriptor() ([]byte, []int)

func (*QueryGetTradeResponse) GetTrade added in v1.0.3

func (m *QueryGetTradeResponse) GetTrade() Trade

func (*QueryGetTradeResponse) Marshal added in v1.0.3

func (m *QueryGetTradeResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetTradeResponse) MarshalTo added in v1.0.3

func (m *QueryGetTradeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetTradeResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetTradeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetTradeResponse) ProtoMessage added in v1.0.3

func (*QueryGetTradeResponse) ProtoMessage()

func (*QueryGetTradeResponse) Reset added in v1.0.3

func (m *QueryGetTradeResponse) Reset()

func (*QueryGetTradeResponse) Size added in v1.0.3

func (m *QueryGetTradeResponse) Size() (n int)

func (*QueryGetTradeResponse) String added in v1.0.3

func (m *QueryGetTradeResponse) String() string

func (*QueryGetTradeResponse) Unmarshal added in v1.0.3

func (m *QueryGetTradeResponse) Unmarshal(dAtA []byte) error

func (*QueryGetTradeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetTradeResponse) XXX_DiscardUnknown()

func (*QueryGetTradeResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetTradeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetTradeResponse) XXX_Merge added in v1.0.3

func (m *QueryGetTradeResponse) XXX_Merge(src proto.Message)

func (*QueryGetTradeResponse) XXX_Size added in v1.0.3

func (m *QueryGetTradeResponse) XXX_Size() int

func (*QueryGetTradeResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetTradeResponse) XXX_Unmarshal(b []byte) error

type QueryGetUsernameByAddressRequest added in v1.0.3

type QueryGetUsernameByAddressRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}

func (*QueryGetUsernameByAddressRequest) Descriptor added in v1.0.3

func (*QueryGetUsernameByAddressRequest) Descriptor() ([]byte, []int)

func (*QueryGetUsernameByAddressRequest) GetAddress added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) GetAddress() string

func (*QueryGetUsernameByAddressRequest) Marshal added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetUsernameByAddressRequest) MarshalTo added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressRequest) ProtoMessage added in v1.0.3

func (*QueryGetUsernameByAddressRequest) ProtoMessage()

func (*QueryGetUsernameByAddressRequest) Reset added in v1.0.3

func (*QueryGetUsernameByAddressRequest) Size added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) Size() (n int)

func (*QueryGetUsernameByAddressRequest) String added in v1.0.3

func (*QueryGetUsernameByAddressRequest) Unmarshal added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) Unmarshal(dAtA []byte) error

func (*QueryGetUsernameByAddressRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) XXX_DiscardUnknown()

func (*QueryGetUsernameByAddressRequest) XXX_Marshal added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetUsernameByAddressRequest) XXX_Merge added in v1.0.3

func (*QueryGetUsernameByAddressRequest) XXX_Size added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) XXX_Size() int

func (*QueryGetUsernameByAddressRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryGetUsernameByAddressRequest) XXX_Unmarshal(b []byte) error

type QueryGetUsernameByAddressResponse added in v1.0.3

type QueryGetUsernameByAddressResponse struct {
	Username Username `protobuf:"bytes,1,opt,name=username,proto3" json:"username"`
}

func (*QueryGetUsernameByAddressResponse) Descriptor added in v1.0.3

func (*QueryGetUsernameByAddressResponse) Descriptor() ([]byte, []int)

func (*QueryGetUsernameByAddressResponse) GetUsername added in v1.0.3

func (*QueryGetUsernameByAddressResponse) Marshal added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetUsernameByAddressResponse) MarshalTo added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetUsernameByAddressResponse) ProtoMessage added in v1.0.3

func (*QueryGetUsernameByAddressResponse) ProtoMessage()

func (*QueryGetUsernameByAddressResponse) Reset added in v1.0.3

func (*QueryGetUsernameByAddressResponse) Size added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) Size() (n int)

func (*QueryGetUsernameByAddressResponse) String added in v1.0.3

func (*QueryGetUsernameByAddressResponse) Unmarshal added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) Unmarshal(dAtA []byte) error

func (*QueryGetUsernameByAddressResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) XXX_DiscardUnknown()

func (*QueryGetUsernameByAddressResponse) XXX_Marshal added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetUsernameByAddressResponse) XXX_Merge added in v1.0.3

func (*QueryGetUsernameByAddressResponse) XXX_Size added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) XXX_Size() int

func (*QueryGetUsernameByAddressResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryGetUsernameByAddressResponse) XXX_Unmarshal(b []byte) error

type QueryListCookbooksByCreatorRequest added in v1.0.3

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 added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) Descriptor() ([]byte, []int)

func (*QueryListCookbooksByCreatorRequest) GetCreator added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) GetPagination added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) Marshal added in v1.0.3

func (m *QueryListCookbooksByCreatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryListCookbooksByCreatorRequest) MarshalTo added in v1.0.3

func (m *QueryListCookbooksByCreatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListCookbooksByCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorRequest) ProtoMessage added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) ProtoMessage()

func (*QueryListCookbooksByCreatorRequest) Reset added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) Size added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) String added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) Unmarshal added in v1.0.3

func (m *QueryListCookbooksByCreatorRequest) Unmarshal(dAtA []byte) error

func (*QueryListCookbooksByCreatorRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListCookbooksByCreatorRequest) XXX_DiscardUnknown()

func (*QueryListCookbooksByCreatorRequest) XXX_Marshal added in v1.0.3

func (m *QueryListCookbooksByCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListCookbooksByCreatorRequest) XXX_Merge added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) XXX_Size added in v1.0.3

func (*QueryListCookbooksByCreatorRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryListCookbooksByCreatorRequest) XXX_Unmarshal(b []byte) error

type QueryListCookbooksByCreatorResponse added in v1.0.3

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 added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) Descriptor() ([]byte, []int)

func (*QueryListCookbooksByCreatorResponse) GetCookbooks added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) GetCookbooks() []Cookbook

func (*QueryListCookbooksByCreatorResponse) GetPagination added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) Marshal added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryListCookbooksByCreatorResponse) MarshalTo added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListCookbooksByCreatorResponse) ProtoMessage added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) ProtoMessage()

func (*QueryListCookbooksByCreatorResponse) Reset added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) Size added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) String added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) Unmarshal added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) Unmarshal(dAtA []byte) error

func (*QueryListCookbooksByCreatorResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) XXX_DiscardUnknown()

func (*QueryListCookbooksByCreatorResponse) XXX_Marshal added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListCookbooksByCreatorResponse) XXX_Merge added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) XXX_Size added in v1.0.3

func (*QueryListCookbooksByCreatorResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryListCookbooksByCreatorResponse) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByItemRequest added in v1.0.3

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 added in v1.0.3

func (*QueryListExecutionsByItemRequest) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByItemRequest) Marshal added in v1.0.3

func (m *QueryListExecutionsByItemRequest) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByItemRequest) MarshalTo added in v1.0.3

func (m *QueryListExecutionsByItemRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListExecutionsByItemRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemRequest) ProtoMessage added in v1.0.3

func (*QueryListExecutionsByItemRequest) ProtoMessage()

func (*QueryListExecutionsByItemRequest) Reset added in v1.0.3

func (*QueryListExecutionsByItemRequest) Size added in v1.0.3

func (m *QueryListExecutionsByItemRequest) Size() (n int)

func (*QueryListExecutionsByItemRequest) String added in v1.0.3

func (*QueryListExecutionsByItemRequest) Unmarshal added in v1.0.3

func (m *QueryListExecutionsByItemRequest) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByItemRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListExecutionsByItemRequest) XXX_DiscardUnknown()

func (*QueryListExecutionsByItemRequest) XXX_Marshal added in v1.0.3

func (m *QueryListExecutionsByItemRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByItemRequest) XXX_Merge added in v1.0.3

func (*QueryListExecutionsByItemRequest) XXX_Size added in v1.0.3

func (m *QueryListExecutionsByItemRequest) XXX_Size() int

func (*QueryListExecutionsByItemRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryListExecutionsByItemRequest) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByItemResponse added in v1.0.3

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 added in v1.0.3

func (*QueryListExecutionsByItemResponse) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByItemResponse) GetCompletedExecutions added in v1.0.3

func (m *QueryListExecutionsByItemResponse) GetCompletedExecutions() []Execution

func (*QueryListExecutionsByItemResponse) GetPagination added in v1.0.3

func (*QueryListExecutionsByItemResponse) GetPendingExecutions added in v1.0.3

func (m *QueryListExecutionsByItemResponse) GetPendingExecutions() []Execution

func (*QueryListExecutionsByItemResponse) Marshal added in v1.0.3

func (m *QueryListExecutionsByItemResponse) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByItemResponse) MarshalTo added in v1.0.3

func (m *QueryListExecutionsByItemResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListExecutionsByItemResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByItemResponse) ProtoMessage added in v1.0.3

func (*QueryListExecutionsByItemResponse) ProtoMessage()

func (*QueryListExecutionsByItemResponse) Reset added in v1.0.3

func (*QueryListExecutionsByItemResponse) Size added in v1.0.3

func (m *QueryListExecutionsByItemResponse) Size() (n int)

func (*QueryListExecutionsByItemResponse) String added in v1.0.3

func (*QueryListExecutionsByItemResponse) Unmarshal added in v1.0.3

func (m *QueryListExecutionsByItemResponse) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByItemResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListExecutionsByItemResponse) XXX_DiscardUnknown()

func (*QueryListExecutionsByItemResponse) XXX_Marshal added in v1.0.3

func (m *QueryListExecutionsByItemResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByItemResponse) XXX_Merge added in v1.0.3

func (*QueryListExecutionsByItemResponse) XXX_Size added in v1.0.3

func (m *QueryListExecutionsByItemResponse) XXX_Size() int

func (*QueryListExecutionsByItemResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryListExecutionsByItemResponse) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByRecipeRequest added in v1.0.3

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 added in v1.0.3

func (*QueryListExecutionsByRecipeRequest) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByRecipeRequest) Marshal added in v1.0.3

func (m *QueryListExecutionsByRecipeRequest) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByRecipeRequest) MarshalTo added in v1.0.3

func (m *QueryListExecutionsByRecipeRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListExecutionsByRecipeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeRequest) ProtoMessage added in v1.0.3

func (*QueryListExecutionsByRecipeRequest) ProtoMessage()

func (*QueryListExecutionsByRecipeRequest) Reset added in v1.0.3

func (*QueryListExecutionsByRecipeRequest) Size added in v1.0.3

func (*QueryListExecutionsByRecipeRequest) String added in v1.0.3

func (*QueryListExecutionsByRecipeRequest) Unmarshal added in v1.0.3

func (m *QueryListExecutionsByRecipeRequest) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByRecipeRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListExecutionsByRecipeRequest) XXX_DiscardUnknown()

func (*QueryListExecutionsByRecipeRequest) XXX_Marshal added in v1.0.3

func (m *QueryListExecutionsByRecipeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByRecipeRequest) XXX_Merge added in v1.0.3

func (*QueryListExecutionsByRecipeRequest) XXX_Size added in v1.0.3

func (*QueryListExecutionsByRecipeRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryListExecutionsByRecipeRequest) XXX_Unmarshal(b []byte) error

type QueryListExecutionsByRecipeResponse added in v1.0.3

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 added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) Descriptor() ([]byte, []int)

func (*QueryListExecutionsByRecipeResponse) GetCompletedExecutions added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) GetCompletedExecutions() []Execution

func (*QueryListExecutionsByRecipeResponse) GetPagination added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) GetPendingExecutions added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) GetPendingExecutions() []Execution

func (*QueryListExecutionsByRecipeResponse) Marshal added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) Marshal() (dAtA []byte, err error)

func (*QueryListExecutionsByRecipeResponse) MarshalTo added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListExecutionsByRecipeResponse) ProtoMessage added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) ProtoMessage()

func (*QueryListExecutionsByRecipeResponse) Reset added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) Size added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) String added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) Unmarshal added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) Unmarshal(dAtA []byte) error

func (*QueryListExecutionsByRecipeResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) XXX_DiscardUnknown()

func (*QueryListExecutionsByRecipeResponse) XXX_Marshal added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListExecutionsByRecipeResponse) XXX_Merge added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) XXX_Size added in v1.0.3

func (*QueryListExecutionsByRecipeResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryListExecutionsByRecipeResponse) XXX_Unmarshal(b []byte) error

type QueryListItemByOwnerRequest added in v1.0.3

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 added in v1.0.3

func (*QueryListItemByOwnerRequest) Descriptor() ([]byte, []int)

func (*QueryListItemByOwnerRequest) GetOwner added in v1.0.3

func (m *QueryListItemByOwnerRequest) GetOwner() string

func (*QueryListItemByOwnerRequest) GetPagination added in v1.0.3

func (m *QueryListItemByOwnerRequest) GetPagination() *query.PageRequest

func (*QueryListItemByOwnerRequest) Marshal added in v1.0.3

func (m *QueryListItemByOwnerRequest) Marshal() (dAtA []byte, err error)

func (*QueryListItemByOwnerRequest) MarshalTo added in v1.0.3

func (m *QueryListItemByOwnerRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListItemByOwnerRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListItemByOwnerRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListItemByOwnerRequest) ProtoMessage added in v1.0.3

func (*QueryListItemByOwnerRequest) ProtoMessage()

func (*QueryListItemByOwnerRequest) Reset added in v1.0.3

func (m *QueryListItemByOwnerRequest) Reset()

func (*QueryListItemByOwnerRequest) Size added in v1.0.3

func (m *QueryListItemByOwnerRequest) Size() (n int)

func (*QueryListItemByOwnerRequest) String added in v1.0.3

func (m *QueryListItemByOwnerRequest) String() string

func (*QueryListItemByOwnerRequest) Unmarshal added in v1.0.3

func (m *QueryListItemByOwnerRequest) Unmarshal(dAtA []byte) error

func (*QueryListItemByOwnerRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListItemByOwnerRequest) XXX_DiscardUnknown()

func (*QueryListItemByOwnerRequest) XXX_Marshal added in v1.0.3

func (m *QueryListItemByOwnerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListItemByOwnerRequest) XXX_Merge added in v1.0.3

func (m *QueryListItemByOwnerRequest) XXX_Merge(src proto.Message)

func (*QueryListItemByOwnerRequest) XXX_Size added in v1.0.3

func (m *QueryListItemByOwnerRequest) XXX_Size() int

func (*QueryListItemByOwnerRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryListItemByOwnerRequest) XXX_Unmarshal(b []byte) error

type QueryListItemByOwnerResponse added in v1.0.3

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 added in v1.0.3

func (*QueryListItemByOwnerResponse) Descriptor() ([]byte, []int)

func (*QueryListItemByOwnerResponse) Marshal added in v1.0.3

func (m *QueryListItemByOwnerResponse) Marshal() (dAtA []byte, err error)

func (*QueryListItemByOwnerResponse) MarshalTo added in v1.0.3

func (m *QueryListItemByOwnerResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListItemByOwnerResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListItemByOwnerResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListItemByOwnerResponse) ProtoMessage added in v1.0.3

func (*QueryListItemByOwnerResponse) ProtoMessage()

func (*QueryListItemByOwnerResponse) Reset added in v1.0.3

func (m *QueryListItemByOwnerResponse) Reset()

func (*QueryListItemByOwnerResponse) Size added in v1.0.3

func (m *QueryListItemByOwnerResponse) Size() (n int)

func (*QueryListItemByOwnerResponse) String added in v1.0.3

func (*QueryListItemByOwnerResponse) Unmarshal added in v1.0.3

func (m *QueryListItemByOwnerResponse) Unmarshal(dAtA []byte) error

func (*QueryListItemByOwnerResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListItemByOwnerResponse) XXX_DiscardUnknown()

func (*QueryListItemByOwnerResponse) XXX_Marshal added in v1.0.3

func (m *QueryListItemByOwnerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListItemByOwnerResponse) XXX_Merge added in v1.0.3

func (m *QueryListItemByOwnerResponse) XXX_Merge(src proto.Message)

func (*QueryListItemByOwnerResponse) XXX_Size added in v1.0.3

func (m *QueryListItemByOwnerResponse) XXX_Size() int

func (*QueryListItemByOwnerResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryListItemByOwnerResponse) XXX_Unmarshal(b []byte) error

type QueryListRecipesByCookbookRequest added in v1.0.3

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 added in v1.0.3

func (*QueryListRecipesByCookbookRequest) Descriptor() ([]byte, []int)

func (*QueryListRecipesByCookbookRequest) GetCookbookID added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) GetCookbookID() string

func (*QueryListRecipesByCookbookRequest) GetPagination added in v1.0.3

func (*QueryListRecipesByCookbookRequest) Marshal added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) Marshal() (dAtA []byte, err error)

func (*QueryListRecipesByCookbookRequest) MarshalTo added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookRequest) ProtoMessage added in v1.0.3

func (*QueryListRecipesByCookbookRequest) ProtoMessage()

func (*QueryListRecipesByCookbookRequest) Reset added in v1.0.3

func (*QueryListRecipesByCookbookRequest) Size added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) Size() (n int)

func (*QueryListRecipesByCookbookRequest) String added in v1.0.3

func (*QueryListRecipesByCookbookRequest) Unmarshal added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) Unmarshal(dAtA []byte) error

func (*QueryListRecipesByCookbookRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) XXX_DiscardUnknown()

func (*QueryListRecipesByCookbookRequest) XXX_Marshal added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListRecipesByCookbookRequest) XXX_Merge added in v1.0.3

func (*QueryListRecipesByCookbookRequest) XXX_Size added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) XXX_Size() int

func (*QueryListRecipesByCookbookRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryListRecipesByCookbookRequest) XXX_Unmarshal(b []byte) error

type QueryListRecipesByCookbookResponse added in v1.0.3

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 added in v1.0.3

func (*QueryListRecipesByCookbookResponse) Descriptor() ([]byte, []int)

func (*QueryListRecipesByCookbookResponse) GetPagination added in v1.0.3

func (*QueryListRecipesByCookbookResponse) GetRecipes added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) GetRecipes() []Recipe

func (*QueryListRecipesByCookbookResponse) Marshal added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) Marshal() (dAtA []byte, err error)

func (*QueryListRecipesByCookbookResponse) MarshalTo added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListRecipesByCookbookResponse) ProtoMessage added in v1.0.3

func (*QueryListRecipesByCookbookResponse) ProtoMessage()

func (*QueryListRecipesByCookbookResponse) Reset added in v1.0.3

func (*QueryListRecipesByCookbookResponse) Size added in v1.0.3

func (*QueryListRecipesByCookbookResponse) String added in v1.0.3

func (*QueryListRecipesByCookbookResponse) Unmarshal added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) Unmarshal(dAtA []byte) error

func (*QueryListRecipesByCookbookResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) XXX_DiscardUnknown()

func (*QueryListRecipesByCookbookResponse) XXX_Marshal added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListRecipesByCookbookResponse) XXX_Merge added in v1.0.3

func (*QueryListRecipesByCookbookResponse) XXX_Size added in v1.0.3

func (*QueryListRecipesByCookbookResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryListRecipesByCookbookResponse) XXX_Unmarshal(b []byte) error

type QueryListTradesByCreatorRequest added in v1.0.3

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 added in v1.0.3

func (*QueryListTradesByCreatorRequest) Descriptor() ([]byte, []int)

func (*QueryListTradesByCreatorRequest) GetCreator added in v1.0.3

func (m *QueryListTradesByCreatorRequest) GetCreator() string

func (*QueryListTradesByCreatorRequest) GetPagination added in v1.0.3

func (*QueryListTradesByCreatorRequest) Marshal added in v1.0.3

func (m *QueryListTradesByCreatorRequest) Marshal() (dAtA []byte, err error)

func (*QueryListTradesByCreatorRequest) MarshalTo added in v1.0.3

func (m *QueryListTradesByCreatorRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorRequest) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListTradesByCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorRequest) ProtoMessage added in v1.0.3

func (*QueryListTradesByCreatorRequest) ProtoMessage()

func (*QueryListTradesByCreatorRequest) Reset added in v1.0.3

func (*QueryListTradesByCreatorRequest) Size added in v1.0.3

func (m *QueryListTradesByCreatorRequest) Size() (n int)

func (*QueryListTradesByCreatorRequest) String added in v1.0.3

func (*QueryListTradesByCreatorRequest) Unmarshal added in v1.0.3

func (m *QueryListTradesByCreatorRequest) Unmarshal(dAtA []byte) error

func (*QueryListTradesByCreatorRequest) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListTradesByCreatorRequest) XXX_DiscardUnknown()

func (*QueryListTradesByCreatorRequest) XXX_Marshal added in v1.0.3

func (m *QueryListTradesByCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListTradesByCreatorRequest) XXX_Merge added in v1.0.3

func (m *QueryListTradesByCreatorRequest) XXX_Merge(src proto.Message)

func (*QueryListTradesByCreatorRequest) XXX_Size added in v1.0.3

func (m *QueryListTradesByCreatorRequest) XXX_Size() int

func (*QueryListTradesByCreatorRequest) XXX_Unmarshal added in v1.0.3

func (m *QueryListTradesByCreatorRequest) XXX_Unmarshal(b []byte) error

type QueryListTradesByCreatorResponse added in v1.0.3

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 added in v1.0.3

func (*QueryListTradesByCreatorResponse) Descriptor() ([]byte, []int)

func (*QueryListTradesByCreatorResponse) Marshal added in v1.0.3

func (m *QueryListTradesByCreatorResponse) Marshal() (dAtA []byte, err error)

func (*QueryListTradesByCreatorResponse) MarshalTo added in v1.0.3

func (m *QueryListTradesByCreatorResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorResponse) MarshalToSizedBuffer added in v1.0.3

func (m *QueryListTradesByCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryListTradesByCreatorResponse) ProtoMessage added in v1.0.3

func (*QueryListTradesByCreatorResponse) ProtoMessage()

func (*QueryListTradesByCreatorResponse) Reset added in v1.0.3

func (*QueryListTradesByCreatorResponse) Size added in v1.0.3

func (m *QueryListTradesByCreatorResponse) Size() (n int)

func (*QueryListTradesByCreatorResponse) String added in v1.0.3

func (*QueryListTradesByCreatorResponse) Unmarshal added in v1.0.3

func (m *QueryListTradesByCreatorResponse) Unmarshal(dAtA []byte) error

func (*QueryListTradesByCreatorResponse) XXX_DiscardUnknown added in v1.0.3

func (m *QueryListTradesByCreatorResponse) XXX_DiscardUnknown()

func (*QueryListTradesByCreatorResponse) XXX_Marshal added in v1.0.3

func (m *QueryListTradesByCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryListTradesByCreatorResponse) XXX_Merge added in v1.0.3

func (*QueryListTradesByCreatorResponse) XXX_Size added in v1.0.3

func (m *QueryListTradesByCreatorResponse) XXX_Size() int

func (*QueryListTradesByCreatorResponse) XXX_Unmarshal added in v1.0.3

func (m *QueryListTradesByCreatorResponse) XXX_Unmarshal(b []byte) error

type QueryServer added in v1.0.3

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 added in v1.0.3

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 added in v1.0.3

func (*Recipe) Descriptor() ([]byte, []int)

func (*Recipe) GetBlockInterval added in v1.0.3

func (m *Recipe) GetBlockInterval() int64

func (*Recipe) GetCoinInputs added in v1.0.3

func (m *Recipe) GetCoinInputs() []CoinInput

func (*Recipe) GetCookbookID added in v1.0.3

func (m *Recipe) GetCookbookID() string

func (*Recipe) GetCostPerBlock added in v1.0.3

func (m *Recipe) GetCostPerBlock() types.Coin

func (*Recipe) GetDescription added in v1.0.3

func (m *Recipe) GetDescription() string

func (*Recipe) GetEnabled added in v1.0.3

func (m *Recipe) GetEnabled() bool

func (*Recipe) GetEntries added in v1.0.3

func (m *Recipe) GetEntries() EntriesList

func (*Recipe) GetExtraInfo added in v1.0.3

func (m *Recipe) GetExtraInfo() string

func (*Recipe) GetID added in v1.0.3

func (m *Recipe) GetID() string

func (*Recipe) GetItemInputs added in v1.0.3

func (m *Recipe) GetItemInputs() []ItemInput

func (*Recipe) GetName added in v1.0.3

func (m *Recipe) GetName() string

func (*Recipe) GetNodeVersion added in v1.0.3

func (m *Recipe) GetNodeVersion() uint64

func (*Recipe) GetOutputs added in v1.0.3

func (m *Recipe) GetOutputs() []WeightedOutputs

func (*Recipe) GetVersion added in v1.0.3

func (m *Recipe) GetVersion() string

func (*Recipe) Marshal added in v1.0.3

func (m *Recipe) Marshal() (dAtA []byte, err error)

func (*Recipe) MarshalTo added in v1.0.3

func (m *Recipe) MarshalTo(dAtA []byte) (int, error)

func (*Recipe) MarshalToSizedBuffer added in v1.0.3

func (m *Recipe) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Recipe) ProtoMessage added in v1.0.3

func (*Recipe) ProtoMessage()

func (*Recipe) Reset added in v1.0.3

func (m *Recipe) Reset()

func (*Recipe) Size added in v1.0.3

func (m *Recipe) Size() (n int)

func (*Recipe) String added in v1.0.3

func (m *Recipe) String() string

func (*Recipe) Unmarshal added in v1.0.3

func (m *Recipe) Unmarshal(dAtA []byte) error

func (*Recipe) XXX_DiscardUnknown added in v1.0.3

func (m *Recipe) XXX_DiscardUnknown()

func (*Recipe) XXX_Marshal added in v1.0.3

func (m *Recipe) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Recipe) XXX_Merge added in v1.0.3

func (m *Recipe) XXX_Merge(src proto.Message)

func (*Recipe) XXX_Size added in v1.0.3

func (m *Recipe) XXX_Size() int

func (*Recipe) XXX_Unmarshal added in v1.0.3

func (m *Recipe) XXX_Unmarshal(b []byte) error

type RedeemInfo added in v1.0.3

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 added in v1.0.3

func (*RedeemInfo) Descriptor() ([]byte, []int)

func (*RedeemInfo) GetAddress added in v1.0.3

func (m *RedeemInfo) GetAddress() string

func (*RedeemInfo) GetID added in v1.0.3

func (m *RedeemInfo) GetID() string

func (*RedeemInfo) GetProcessorName added in v1.0.3

func (m *RedeemInfo) GetProcessorName() string

func (*RedeemInfo) GetSignature added in v1.0.3

func (m *RedeemInfo) GetSignature() string

func (*RedeemInfo) Marshal added in v1.0.3

func (m *RedeemInfo) Marshal() (dAtA []byte, err error)

func (*RedeemInfo) MarshalTo added in v1.0.3

func (m *RedeemInfo) MarshalTo(dAtA []byte) (int, error)

func (*RedeemInfo) MarshalToSizedBuffer added in v1.0.3

func (m *RedeemInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RedeemInfo) ProtoMessage added in v1.0.3

func (*RedeemInfo) ProtoMessage()

func (*RedeemInfo) Reset added in v1.0.3

func (m *RedeemInfo) Reset()

func (*RedeemInfo) Size added in v1.0.3

func (m *RedeemInfo) Size() (n int)

func (*RedeemInfo) String added in v1.0.3

func (m *RedeemInfo) String() string

func (*RedeemInfo) Unmarshal added in v1.0.3

func (m *RedeemInfo) Unmarshal(dAtA []byte) error

func (*RedeemInfo) XXX_DiscardUnknown added in v1.0.3

func (m *RedeemInfo) XXX_DiscardUnknown()

func (*RedeemInfo) XXX_Marshal added in v1.0.3

func (m *RedeemInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RedeemInfo) XXX_Merge added in v1.0.3

func (m *RedeemInfo) XXX_Merge(src proto.Message)

func (*RedeemInfo) XXX_Size added in v1.0.3

func (m *RedeemInfo) XXX_Size() int

func (*RedeemInfo) XXX_Unmarshal added in v1.0.3

func (m *RedeemInfo) XXX_Unmarshal(b []byte) error

type Redelegation added in v1.0.3

type Redelegation struct {
	DelegatorAddress string
	SrcValidator     string
	DstValidator     string
	Amount           sdk.Coin
	CompletionTime   time.Time
	Height           int64
}

Redelegation represents a single re-delegations

func NewRedelegation added in v1.0.3

func NewRedelegation(
	delegator string, srcValidator, dstValidator string, amount sdk.Coin, completionTime time.Time, height int64,
) Redelegation

NewRedelegation build a new Redelegation object

func (Redelegation) Equal added in v1.0.3

func (r Redelegation) Equal(s Redelegation) bool

Equal returns true iff r and s contain the same data

type SlashingParams added in v1.0.3

type SlashingParams struct {
	slashingtypes.Params
	Height int64
}

SlashingParams represents the parameters of the slashing module at a given height

func NewSlashingParams added in v1.0.3

func NewSlashingParams(params slashingtypes.Params, height int64) *SlashingParams

NewSlashingParams allows to build a new SlashingParams instance

type StakingKeeper added in v1.0.3

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 StakingParams added in v1.0.3

type StakingParams struct {
	stakingtypes.Params
	Height int64
}

StakingParams represents the parameters of the x/staking module

func NewStakingParams added in v1.0.3

func NewStakingParams(params stakingtypes.Params, height int64) StakingParams

NewStakingParams returns a new StakingParams instance

type StringInputParam added in v1.0.3

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 added in v1.0.3

func (*StringInputParam) Descriptor() ([]byte, []int)

func (*StringInputParam) GetKey added in v1.0.3

func (m *StringInputParam) GetKey() string

func (*StringInputParam) GetValue added in v1.0.3

func (m *StringInputParam) GetValue() string

func (*StringInputParam) Marshal added in v1.0.3

func (m *StringInputParam) Marshal() (dAtA []byte, err error)

func (*StringInputParam) MarshalTo added in v1.0.3

func (m *StringInputParam) MarshalTo(dAtA []byte) (int, error)

func (*StringInputParam) MarshalToSizedBuffer added in v1.0.3

func (m *StringInputParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringInputParam) ProtoMessage added in v1.0.3

func (*StringInputParam) ProtoMessage()

func (*StringInputParam) Reset added in v1.0.3

func (m *StringInputParam) Reset()

func (*StringInputParam) Size added in v1.0.3

func (m *StringInputParam) Size() (n int)

func (*StringInputParam) String added in v1.0.3

func (m *StringInputParam) String() string

func (*StringInputParam) Unmarshal added in v1.0.3

func (m *StringInputParam) Unmarshal(dAtA []byte) error

func (*StringInputParam) XXX_DiscardUnknown added in v1.0.3

func (m *StringInputParam) XXX_DiscardUnknown()

func (*StringInputParam) XXX_Marshal added in v1.0.3

func (m *StringInputParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringInputParam) XXX_Merge added in v1.0.3

func (m *StringInputParam) XXX_Merge(src proto.Message)

func (*StringInputParam) XXX_Size added in v1.0.3

func (m *StringInputParam) XXX_Size() int

func (*StringInputParam) XXX_Unmarshal added in v1.0.3

func (m *StringInputParam) XXX_Unmarshal(b []byte) error

type StringInputParamList added in v1.0.3

type StringInputParamList []StringInputParam

func (StringInputParamList) Actualize added in v1.0.3

func (lpm StringInputParamList) Actualize() []StringKeyValue

Actualize actualize string from StringInputParamList

type StringKeyValue added in v1.0.3

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 added in v1.0.3

func (*StringKeyValue) Descriptor() ([]byte, []int)

func (*StringKeyValue) GetKey added in v1.0.3

func (m *StringKeyValue) GetKey() string

func (*StringKeyValue) GetValue added in v1.0.3

func (m *StringKeyValue) GetValue() string

func (*StringKeyValue) Marshal added in v1.0.3

func (m *StringKeyValue) Marshal() (dAtA []byte, err error)

func (*StringKeyValue) MarshalTo added in v1.0.3

func (m *StringKeyValue) MarshalTo(dAtA []byte) (int, error)

func (*StringKeyValue) MarshalToSizedBuffer added in v1.0.3

func (m *StringKeyValue) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringKeyValue) ProtoMessage added in v1.0.3

func (*StringKeyValue) ProtoMessage()

func (*StringKeyValue) Reset added in v1.0.3

func (m *StringKeyValue) Reset()

func (*StringKeyValue) Size added in v1.0.3

func (m *StringKeyValue) Size() (n int)

func (*StringKeyValue) String added in v1.0.3

func (m *StringKeyValue) String() string

func (*StringKeyValue) Unmarshal added in v1.0.3

func (m *StringKeyValue) Unmarshal(dAtA []byte) error

func (*StringKeyValue) XXX_DiscardUnknown added in v1.0.3

func (m *StringKeyValue) XXX_DiscardUnknown()

func (*StringKeyValue) XXX_Marshal added in v1.0.3

func (m *StringKeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringKeyValue) XXX_Merge added in v1.0.3

func (m *StringKeyValue) XXX_Merge(src proto.Message)

func (*StringKeyValue) XXX_Size added in v1.0.3

func (m *StringKeyValue) XXX_Size() int

func (*StringKeyValue) XXX_Unmarshal added in v1.0.3

func (m *StringKeyValue) XXX_Unmarshal(b []byte) error

type StringKeyValueList added in v1.0.3

type StringKeyValueList []StringKeyValue

type StringParam added in v1.0.3

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 added in v1.0.3

func (*StringParam) Descriptor() ([]byte, []int)

func (*StringParam) GetKey added in v1.0.3

func (m *StringParam) GetKey() string

func (*StringParam) GetProgram added in v1.0.3

func (m *StringParam) GetProgram() string

func (*StringParam) GetValue added in v1.0.3

func (m *StringParam) GetValue() string

func (*StringParam) Marshal added in v1.0.3

func (m *StringParam) Marshal() (dAtA []byte, err error)

func (*StringParam) MarshalTo added in v1.0.3

func (m *StringParam) MarshalTo(dAtA []byte) (int, error)

func (*StringParam) MarshalToSizedBuffer added in v1.0.3

func (m *StringParam) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StringParam) ProtoMessage added in v1.0.3

func (*StringParam) ProtoMessage()

func (*StringParam) Reset added in v1.0.3

func (m *StringParam) Reset()

func (*StringParam) Size added in v1.0.3

func (m *StringParam) Size() (n int)

func (*StringParam) String added in v1.0.3

func (m *StringParam) String() string

func (*StringParam) Unmarshal added in v1.0.3

func (m *StringParam) Unmarshal(dAtA []byte) error

func (*StringParam) XXX_DiscardUnknown added in v1.0.3

func (m *StringParam) XXX_DiscardUnknown()

func (*StringParam) XXX_Marshal added in v1.0.3

func (m *StringParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringParam) XXX_Merge added in v1.0.3

func (m *StringParam) XXX_Merge(src proto.Message)

func (*StringParam) XXX_Size added in v1.0.3

func (m *StringParam) XXX_Size() int

func (*StringParam) XXX_Unmarshal added in v1.0.3

func (m *StringParam) XXX_Unmarshal(b []byte) error

type StringParamList added in v1.0.3

type StringParamList []StringParam

func (StringParamList) Actualize added in v1.0.3

Actualize actualize string param using cel program

type TallyParams added in v1.0.3

type TallyParams struct {
	Quorum        sdk.Dec `json:"quorum,omitempty"`
	Threshold     sdk.Dec `json:"threshold,omitempty"`
	VetoThreshold sdk.Dec `json:"veto_threshold,omitempty" yaml:"veto_threshold"`
}

TallyParams contains the tally parameters of the x/gov module

func NewTallyParams added in v1.0.3

func NewTallyParams(t govtypes.TallyParams) TallyParams

NewTallyParams allows to build a new TallyParams instance

type TallyResult added in v1.0.3

type TallyResult struct {
	ProposalID uint64
	Yes        string
	Abstain    string
	No         string
	NoWithVeto string
	Height     int64
}

TallyResult contains the data about the final results of a proposal

func NewTallyResult added in v1.0.3

func NewTallyResult(
	proposalID uint64,
	yes string,
	abstain string,
	no string,
	noWithVeto string,
	height int64,
) TallyResult

NewTallyResult return a new TallyResult instance

type Token added in v1.0.3

type Token struct {
	Name  string      `yaml:"name"`
	Units []TokenUnit `yaml:"units"`
}

Token represents a valid token inside the chain

func NewToken added in v1.0.3

func NewToken(name string, units []TokenUnit) Token

type TokenPrice added in v1.0.3

type TokenPrice struct {
	UnitName  string
	Price     float64
	MarketCap int64
	Timestamp time.Time
}

TokenPrice represents the price at a given moment in time of a token unit

func NewTokenPrice added in v1.0.3

func NewTokenPrice(unitName string, price float64, marketCap int64, timestamp time.Time) TokenPrice

NewTokenPrice returns a new TokenPrice instance containing the given data

type TokenUnit added in v1.0.3

type TokenUnit struct {
	Denom    string   `yaml:"denom"`
	Exponent int      `yaml:"exponent"`
	Aliases  []string `yaml:"aliases,omitempty"`
	PriceID  string   `yaml:"price_id,omitempty"`
}

TokenUnit represents a unit of a token

func NewTokenUnit added in v1.0.3

func NewTokenUnit(denom string, exponent int, aliases []string, priceID string) TokenUnit

type Trade added in v1.0.3

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 added in v1.0.3

func (*Trade) Descriptor() ([]byte, []int)

func (*Trade) GetCoinInputs added in v1.0.3

func (m *Trade) GetCoinInputs() []CoinInput

func (*Trade) GetCoinOutputs added in v1.0.3

func (m *Trade) GetCoinOutputs() github_com_cosmos_cosmos_sdk_types.Coins

func (*Trade) GetCreator added in v1.0.3

func (m *Trade) GetCreator() string

func (*Trade) GetExtraInfo added in v1.0.3

func (m *Trade) GetExtraInfo() string

func (*Trade) GetID added in v1.0.3

func (m *Trade) GetID() uint64

func (*Trade) GetItemInputs added in v1.0.3

func (m *Trade) GetItemInputs() []ItemInput

func (*Trade) GetItemOutputs added in v1.0.3

func (m *Trade) GetItemOutputs() []ItemRef

func (*Trade) GetReceiver added in v1.0.3

func (m *Trade) GetReceiver() string

func (*Trade) GetTradedItemInputs added in v1.0.3

func (m *Trade) GetTradedItemInputs() []ItemRef

func (*Trade) Marshal added in v1.0.3

func (m *Trade) Marshal() (dAtA []byte, err error)

func (*Trade) MarshalTo added in v1.0.3

func (m *Trade) MarshalTo(dAtA []byte) (int, error)

func (*Trade) MarshalToSizedBuffer added in v1.0.3

func (m *Trade) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Trade) ProtoMessage added in v1.0.3

func (*Trade) ProtoMessage()

func (*Trade) Reset added in v1.0.3

func (m *Trade) Reset()

func (*Trade) Size added in v1.0.3

func (m *Trade) Size() (n int)

func (*Trade) String added in v1.0.3

func (m *Trade) String() string

func (*Trade) Unmarshal added in v1.0.3

func (m *Trade) Unmarshal(dAtA []byte) error

func (*Trade) XXX_DiscardUnknown added in v1.0.3

func (m *Trade) XXX_DiscardUnknown()

func (*Trade) XXX_Marshal added in v1.0.3

func (m *Trade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Trade) XXX_Merge added in v1.0.3

func (m *Trade) XXX_Merge(src proto.Message)

func (*Trade) XXX_Size added in v1.0.3

func (m *Trade) XXX_Size() int

func (*Trade) XXX_Unmarshal added in v1.0.3

func (m *Trade) XXX_Unmarshal(b []byte) error

type Tx

type Tx struct {
	*tx.Tx
	*sdk.TxResponse
}

Tx represents an already existing blockchain transaction

func NewTx

func NewTx(txResponse *sdk.TxResponse, tx *tx.Tx) (*Tx, error)

NewTx allows to create a new Tx instance from the given txResponse

func (Tx) FindAttributeByKey

func (tx Tx) FindAttributeByKey(event sdk.StringEvent, attrKey string) (string, error)

FindAttributeByKey searches inside the specified event of the given tx to find the attribute having the given key. If the specified event does not contain a such attribute, returns an error instead.

func (Tx) FindEventByType

func (tx Tx) FindEventByType(index int, eventType string) (sdk.StringEvent, error)

FindEventByType searches inside the given tx events for the message having the specified index, in order to find the event having the given type, and returns it. If no such event is found, returns an error instead.

func (Tx) Successful

func (tx Tx) Successful() bool

Successful tells whether this tx is successful or not

type UnbondingDelegation added in v1.0.3

type UnbondingDelegation struct {
	DelegatorAddress    string
	ValidatorOperAddr   string
	Amount              sdk.Coin
	CompletionTimestamp time.Time
	Height              int64
}

UnbondingDelegation represents a single unbonding delegation

func NewUnbondingDelegation added in v1.0.3

func NewUnbondingDelegation(
	delegator string, validatorOperAddr string, amount sdk.Coin, completionTimestamp time.Time, height int64,
) UnbondingDelegation

NewUnbondingDelegation allows to create a new UnbondingDelegation instance

func (UnbondingDelegation) Equal added in v1.0.3

Equal returns true iff u and v contain the same data

type UnimplementedMsgServer added in v1.0.3

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) BurnDebtToken added in v1.0.3

func (*UnimplementedMsgServer) CancelTrade added in v1.0.3

func (*UnimplementedMsgServer) CompleteExecutionEarly added in v1.0.3

func (*UnimplementedMsgServer) CreateAccount added in v1.0.3

func (*UnimplementedMsgServer) CreateCookbook added in v1.0.3

func (*UnimplementedMsgServer) CreateRecipe added in v1.0.3

func (*UnimplementedMsgServer) CreateTrade added in v1.0.3

func (*UnimplementedMsgServer) ExecuteRecipe added in v1.0.3

func (*UnimplementedMsgServer) FulfillTrade added in v1.0.3

func (*UnimplementedMsgServer) GoogleInAppPurchaseGetCoins added in v1.0.3

func (*UnimplementedMsgServer) SendItems added in v1.0.3

func (*UnimplementedMsgServer) SetItemString added in v1.0.3

func (*UnimplementedMsgServer) TransferCookbook added in v1.0.3

func (*UnimplementedMsgServer) UpdateAccount added in v1.0.3

func (*UnimplementedMsgServer) UpdateCookbook added in v1.0.3

func (*UnimplementedMsgServer) UpdateRecipe added in v1.0.3

type UnimplementedQueryServer added in v1.0.3

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) AddressByUsername added in v1.0.3

func (*UnimplementedQueryServer) Cookbook added in v1.0.3

func (*UnimplementedQueryServer) Execution added in v1.0.3

func (*UnimplementedQueryServer) GoogleInAppPurchaseOrder added in v1.0.3

func (*UnimplementedQueryServer) Item added in v1.0.3

func (*UnimplementedQueryServer) ListCookbooksByCreator added in v1.0.3

func (*UnimplementedQueryServer) ListExecutionsByItem added in v1.0.3

func (*UnimplementedQueryServer) ListExecutionsByRecipe added in v1.0.3

func (*UnimplementedQueryServer) ListItemByOwner added in v1.0.3

func (*UnimplementedQueryServer) ListRecipesByCookbook added in v1.0.3

func (*UnimplementedQueryServer) ListTradesByCreator added in v1.0.3

func (*UnimplementedQueryServer) PaymentInfo added in v1.0.3

func (*UnimplementedQueryServer) PaymentInfoAll added in v1.0.3

func (*UnimplementedQueryServer) Recipe added in v1.0.3

func (*UnimplementedQueryServer) RedeemInfo added in v1.0.3

func (*UnimplementedQueryServer) RedeemInfoAll added in v1.0.3

func (*UnimplementedQueryServer) Trade added in v1.0.3

func (*UnimplementedQueryServer) UsernameByAddress added in v1.0.3

type UserMap added in v1.0.3

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 added in v1.0.3

func (*UserMap) Descriptor() ([]byte, []int)

func (*UserMap) GetAccountAddr added in v1.0.3

func (m *UserMap) GetAccountAddr() string

func (*UserMap) GetUsername added in v1.0.3

func (m *UserMap) GetUsername() string

func (*UserMap) Marshal added in v1.0.3

func (m *UserMap) Marshal() (dAtA []byte, err error)

func (*UserMap) MarshalTo added in v1.0.3

func (m *UserMap) MarshalTo(dAtA []byte) (int, error)

func (*UserMap) MarshalToSizedBuffer added in v1.0.3

func (m *UserMap) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UserMap) ProtoMessage added in v1.0.3

func (*UserMap) ProtoMessage()

func (*UserMap) Reset added in v1.0.3

func (m *UserMap) Reset()

func (*UserMap) Size added in v1.0.3

func (m *UserMap) Size() (n int)

func (*UserMap) String added in v1.0.3

func (m *UserMap) String() string

func (*UserMap) Unmarshal added in v1.0.3

func (m *UserMap) Unmarshal(dAtA []byte) error

func (*UserMap) XXX_DiscardUnknown added in v1.0.3

func (m *UserMap) XXX_DiscardUnknown()

func (*UserMap) XXX_Marshal added in v1.0.3

func (m *UserMap) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UserMap) XXX_Merge added in v1.0.3

func (m *UserMap) XXX_Merge(src proto.Message)

func (*UserMap) XXX_Size added in v1.0.3

func (m *UserMap) XXX_Size() int

func (*UserMap) XXX_Unmarshal added in v1.0.3

func (m *UserMap) XXX_Unmarshal(b []byte) error

type Username added in v1.0.3

type Username struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Username) Descriptor added in v1.0.3

func (*Username) Descriptor() ([]byte, []int)

func (*Username) GetValue added in v1.0.3

func (m *Username) GetValue() string

func (*Username) Marshal added in v1.0.3

func (m *Username) Marshal() (dAtA []byte, err error)

func (*Username) MarshalTo added in v1.0.3

func (m *Username) MarshalTo(dAtA []byte) (int, error)

func (*Username) MarshalToSizedBuffer added in v1.0.3

func (m *Username) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Username) ProtoMessage added in v1.0.3

func (*Username) ProtoMessage()

func (*Username) Reset added in v1.0.3

func (m *Username) Reset()

func (*Username) Size added in v1.0.3

func (m *Username) Size() (n int)

func (*Username) String added in v1.0.3

func (m *Username) String() string

func (*Username) Unmarshal added in v1.0.3

func (m *Username) Unmarshal(dAtA []byte) error

func (*Username) XXX_DiscardUnknown added in v1.0.3

func (m *Username) XXX_DiscardUnknown()

func (*Username) XXX_Marshal added in v1.0.3

func (m *Username) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Username) XXX_Merge added in v1.0.3

func (m *Username) XXX_Merge(src proto.Message)

func (*Username) XXX_Size added in v1.0.3

func (m *Username) XXX_Size() int

func (*Username) XXX_Unmarshal added in v1.0.3

func (m *Username) XXX_Unmarshal(b []byte) error

type Validator added in v0.0.9

type Validator interface {
	GetConsAddr() string
	GetConsPubKey() string
	GetOperator() string
	GetSelfDelegateAddress() string
	GetMaxChangeRate() *sdk.Dec
	GetMaxRate() *sdk.Dec
	GetHeight() int64
}

Validator represents a single validator. This is defined as an interface so that we can use the SDK types as well as database types properly.

func NewValidator added in v0.0.9

func NewValidator(
	consAddr string, opAddr string, consPubKey string,
	selfDelegateAddress string, maxChangeRate *sdk.Dec,
	maxRate *sdk.Dec, height int64,
) Validator

NewValidator allows to build a new Validator implementation having the given data

type ValidatorCommission added in v1.0.3

type ValidatorCommission struct {
	ValAddress        string
	Commission        *sdk.Dec
	MinSelfDelegation *sdk.Int
	Height            int64
}

ValidatorCommission contains the data of a validator commission at a given height

func NewValidatorCommission added in v1.0.3

func NewValidatorCommission(
	valAddress string, rate *sdk.Dec, minSelfDelegation *sdk.Int, height int64,
) ValidatorCommission

NewValidatorCommission return a new validator commission instance

type ValidatorCommissionAmount added in v1.0.3

type ValidatorCommissionAmount struct {
	ValidatorOperAddr         string
	ValidatorSelfDelegateAddr string
	Amount                    []sdk.DecCoin
	Height                    int64
}

ValidatorCommissionAmount represents the commission amount for a specific validator

func NewValidatorCommissionAmount added in v1.0.3

func NewValidatorCommissionAmount(
	valOperAddr, valSelfDelegateAddress string, amount sdk.DecCoins, height int64,
) ValidatorCommissionAmount

NewValidatorCommissionAmount allows to build a new ValidatorCommissionAmount instance

type ValidatorDescription added in v1.0.3

type ValidatorDescription struct {
	OperatorAddress string
	Description     stakingtypes.Description
	AvatarURL       string // URL of the avatar to be used. Will be [do-no-modify] if it shouldn't be edited
	Height          int64
}

ValidatorDescription contains the description of a validator and timestamp do the description get changed

func NewValidatorDescription added in v1.0.3

func NewValidatorDescription(
	opAddr string, description stakingtypes.Description, avatarURL string, height int64,
) ValidatorDescription

NewValidatorDescription return a new ValidatorDescription object

type ValidatorSigningInfo added in v1.0.3

type ValidatorSigningInfo struct {
	ValidatorAddress    string
	StartHeight         int64
	IndexOffset         int64
	JailedUntil         time.Time
	Tombstoned          bool
	MissedBlocksCounter int64
	Height              int64
}

ValidatorSigningInfo contains the signing info of a validator at a given height

func NewValidatorSigningInfo added in v1.0.3

func NewValidatorSigningInfo(
	validatorAddress string,
	startHeight int64,
	indexOffset int64,
	jailedUntil time.Time,
	tombstoned bool,
	missedBlocksCounter int64,
	height int64,
) ValidatorSigningInfo

ValidatorSigningInfo allows to build a new ValidatorSigningInfo

func (ValidatorSigningInfo) Equal added in v1.0.3

Equal tells whether v and w represent the same rows

type ValidatorStatus added in v1.0.3

type ValidatorStatus struct {
	ConsensusAddress string
	ConsensusPubKey  string
	Status           int
	Jailed           bool
	Tombstoned       bool
	Height           int64
}

ValidatorStatus represents the current state for the specified validator at the specific height

func NewValidatorStatus added in v1.0.3

func NewValidatorStatus(valConsAddr, pubKey string, status int, jailed bool, tombstoned bool, height int64) ValidatorStatus

NewValidatorStatus creates a new ValidatorVotingPower

type ValidatorVotingPower added in v1.0.3

type ValidatorVotingPower struct {
	ConsensusAddress string
	VotingPower      int64
	Height           int64
}

ValidatorVotingPower represents the voting power of a validator at a specific block height

func NewValidatorVotingPower added in v1.0.3

func NewValidatorVotingPower(address string, votingPower int64, height int64) ValidatorVotingPower

NewValidatorVotingPower creates a new ValidatorVotingPower

type Vote added in v1.0.3

type Vote struct {
	ProposalID uint64
	Voter      string
	Option     govtypes.VoteOption
	Height     int64
}

Vote contains the data of a single proposal vote

func NewVote added in v1.0.3

func NewVote(
	proposalID uint64,
	voter string,
	option govtypes.VoteOption,
	height int64,
) Vote

NewVote return a new Vote instance

type VotingParams added in v1.0.3

type VotingParams struct {
	VotingPeriod int64 `json:"voting_period,omitempty" yaml:"voting_period"`
}

VotingParams contains the voting parameters of the x/gov module

func NewVotingParams added in v1.0.3

func NewVotingParams(v govtypes.VotingParams) VotingParams

NewVotingParams allows to build a new VotingParams instance

type WeightedOutputs added in v1.0.3

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 added in v1.0.3

func (*WeightedOutputs) Descriptor() ([]byte, []int)

func (*WeightedOutputs) GetEntryIDs added in v1.0.3

func (m *WeightedOutputs) GetEntryIDs() []string

func (*WeightedOutputs) GetWeight added in v1.0.3

func (m *WeightedOutputs) GetWeight() uint64

func (*WeightedOutputs) Marshal added in v1.0.3

func (m *WeightedOutputs) Marshal() (dAtA []byte, err error)

func (*WeightedOutputs) MarshalTo added in v1.0.3

func (m *WeightedOutputs) MarshalTo(dAtA []byte) (int, error)

func (*WeightedOutputs) MarshalToSizedBuffer added in v1.0.3

func (m *WeightedOutputs) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WeightedOutputs) ProtoMessage added in v1.0.3

func (*WeightedOutputs) ProtoMessage()

func (*WeightedOutputs) Reset added in v1.0.3

func (m *WeightedOutputs) Reset()

func (*WeightedOutputs) Size added in v1.0.3

func (m *WeightedOutputs) Size() (n int)

func (*WeightedOutputs) String added in v1.0.3

func (m *WeightedOutputs) String() string

func (*WeightedOutputs) Unmarshal added in v1.0.3

func (m *WeightedOutputs) Unmarshal(dAtA []byte) error

func (*WeightedOutputs) XXX_DiscardUnknown added in v1.0.3

func (m *WeightedOutputs) XXX_DiscardUnknown()

func (*WeightedOutputs) XXX_Marshal added in v1.0.3

func (m *WeightedOutputs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WeightedOutputs) XXX_Merge added in v1.0.3

func (m *WeightedOutputs) XXX_Merge(src proto.Message)

func (*WeightedOutputs) XXX_Size added in v1.0.3

func (m *WeightedOutputs) XXX_Size() int

func (*WeightedOutputs) XXX_Unmarshal added in v1.0.3

func (m *WeightedOutputs) XXX_Unmarshal(b []byte) error

type WeightedOutputsList added in v1.0.3

type WeightedOutputsList []WeightedOutputs

func (WeightedOutputsList) Actualize added in v1.0.3

func (wol WeightedOutputsList) Actualize() ([]string, error)

Actualize generate result entries from WeightedOutputsList

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL