tstemplates

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates = []map[string]string{
	config,
	common,
	constsTs,
	contractTs,
	eventsTs,
	eventhandlersTs,
	funcsTs,
	indexTs,
	libTs,
	paramsTs,
	proxyTs,
	resultsTs,
	stateTs,
	structsTs,
	typedefsTs,
}
View Source
var TypeDependent = model.StringMapMap{
	"fldLangType": {
		"Address":   "wasmtypes.ScAddress",
		"AgentID":   "wasmtypes.ScAgentID",
		"BigInt":    "wasmtypes.ScBigInt",
		"Bool":      "bool",
		"Bytes":     "u8[]",
		"ChainID":   "wasmtypes.ScChainID",
		"Hash":      "wasmtypes.ScHash",
		"Hname":     "wasmtypes.ScHname",
		"Int8":      "i8",
		"Int16":     "i16",
		"Int32":     "i32",
		"Int64":     "i64",
		"NftID":     "wasmtypes.ScNftID",
		"RequestID": "wasmtypes.ScRequestID",
		"String":    "string",
		"TokenID":   "wasmtypes.ScTokenID",
		"Uint8":     "u8",
		"Uint16":    "u16",
		"Uint32":    "u32",
		"Uint64":    "u64",
	},
	"fldTypeInit": {
		"Address":   "new wasmtypes.ScAddress()",
		"AgentID":   "wasmtypes.agentIDFromBytes([])",
		"BigInt":    "new wasmtypes.ScBigInt()",
		"Bool":      "false",
		"Bytes":     "[]",
		"ChainID":   "new wasmtypes.ScChainID()",
		"Hash":      "new wasmtypes.ScHash()",
		"Hname":     "new wasmtypes.ScHname(0)",
		"Int8":      "0",
		"Int16":     "0",
		"Int32":     "0",
		"Int64":     "0",
		"NftID":     "new wasmtypes.ScNftID()",
		"RequestID": "new wasmtypes.ScRequestID()",
		"String":    "\"\"",
		"TokenID":   "new wasmtypes.ScTokenID()",
		"Uint8":     "0",
		"Uint16":    "0",
		"Uint32":    "0",
		"Uint64":    "0",
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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