rstemplates

package
v1.0.1-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Templates = []map[string]string{
	config,
	common,
	cargoToml,
	constsRs,
	contractRs,
	eventhandlersRs,
	eventsRs,
	funcsRs,
	mainRs,
	modRs,
	paramsRs,
	proxyRs,
	resultsRs,
	stateRs,
	structsRs,
	thunksRs,
	typedefsRs,
}
View Source
var TypeDependent = model.StringMapMap{
	"fldLangType": {
		"Address":   "ScAddress",
		"AgentID":   "ScAgentID",
		"BigInt":    "ScBigInt",
		"Bool":      "bool",
		"Bytes":     "Vec<u8>",
		"ChainID":   "ScChainID",
		"Hash":      "ScHash",
		"Hname":     "ScHname",
		"Int8":      "i8",
		"Int16":     "i16",
		"Int32":     "i32",
		"Int64":     "i64",
		"NftID":     "ScNftID",
		"RequestID": "ScRequestID",
		"String":    "String",
		"TokenID":   "ScTokenID",
		"Uint8":     "u8",
		"Uint16":    "u16",
		"Uint32":    "u32",
		"Uint64":    "u64",
	},
	"fldParamLangType": {
		"Address":   "ScAddress",
		"AgentID":   "ScAgentID",
		"BigInt":    "ScBigInt",
		"Bool":      "bool",
		"Bytes":     "[u8]",
		"ChainID":   "ScChainID",
		"Hash":      "ScHash",
		"Hname":     "ScHname",
		"Int8":      "i8",
		"Int16":     "i16",
		"Int32":     "i32",
		"Int64":     "i64",
		"NftID":     "ScNftID",
		"RequestID": "ScRequestID",
		"String":    "str",
		"TokenID":   "ScTokenID",
		"Uint8":     "u8",
		"Uint16":    "u16",
		"Uint32":    "u32",
		"Uint64":    "u64",
	},
	"fldRef": {
		"Address":   "&",
		"AgentID":   "&",
		"BigInt":    "&",
		"Bytes":     "&",
		"ChainID":   "&",
		"Hash":      "&",
		"NftID":     "&",
		"RequestID": "&",
		"String":    "&",
		"TokenID":   "&",
	},
}

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