params

package
v1.0.2-legacy-migration Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ParamAgentID              = "agentID"
	ParamBlobHash             = "blobHash"
	ParamBlockIndex           = "blockIndex"
	ParamChainID              = "chainID"
	ParamContractHName        = "contractHname"
	ParamFieldKey             = "fieldKey"
	ParamNFTID                = "nftID"
	ParamPeer                 = "peer"
	ParamPublicKey            = "publicKey"
	ParamRequestID            = "requestID"
	ParamSharedAddress        = "sharedAddress"
	ParamStateKey             = "stateKey"
	ParamTxHash               = "txHash"
	ParamUsername             = "username"
	ParamBlockIndexOrTrieRoot = "block"
)
View Source
const (
	DescriptionAgentID              = "AgentID (Bech32 for WasmVM | Hex for EVM)"
	DescriptionBlobHash             = "BlobHash (Hex)"
	DescriptionChainID              = "ChainID (Bech32)"
	DescriptionContractHName        = "The contract hname (Hex)"
	DescriptionFieldKey             = "FieldKey (String)"
	DescriptionNFTID                = "NFT ID (Hex)"
	DescriptionPeer                 = "Name or PubKey (hex) of the trusted peer"
	DescriptionRequestID            = "RequestID (Hex)"
	DescriptionSharedAddress        = "SharedAddress (Bech32)"
	DescriptionStateKey             = "State Key (Hex)"
	DescriptionTxHash               = "Transaction hash (Hex)"
	DescriptionUsername             = "The username"
	DescriptionBlockIndexOrTrieRoot = "Block index or trie root"
)

Variables

This section is empty.

Functions

func DecodeAgentID

func DecodeAgentID(e echo.Context) (isc.AgentID, error)

func DecodeBlobHash

func DecodeBlobHash(e echo.Context) (*hashing.HashValue, error)

func DecodeChainID

func DecodeChainID(e echo.Context) (isc.ChainID, error)

func DecodeHNameFromHNameHexString

func DecodeHNameFromHNameHexString(e echo.Context, key string) (isc.Hname, error)

func DecodeNFTID

func DecodeNFTID(e echo.Context) (*iotago.NFTID, error)

func DecodePublicKey

func DecodePublicKey(e echo.Context) (*cryptolib.PublicKey, error)

func DecodeRequestID

func DecodeRequestID(e echo.Context) (isc.RequestID, error)

func DecodeUInt

func DecodeUInt(e echo.Context, key string) (uint64, error)

DecodeUInt decodes params to Uint64. If a lower Uint is expected it can be casted with uintX(returnValue) but validate the result

Types

This section is empty.

Jump to

Keyboard shortcuts

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