Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Templates = []map[string]string{
config,
common,
constsTs,
contractTs,
eventsTs,
eventhandlersTs,
funcsTs,
indexTs,
mainTs,
paramsTs,
proxyTs,
resultsTs,
stateTs,
structsTs,
thunksTs,
typedefsTs,
}
View Source
var TypeDependent = model.StringMapMap{
"fldLangType": {
"Address": "wasmtypes.ScAddress",
"AgentID": "wasmtypes.ScAgentID",
"BigInt": "wasmtypes.ScBigInt",
"Bool": "bool",
"Bytes": "Uint8Array",
"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(null)",
"BigInt": "new wasmtypes.ScBigInt()",
"Bool": "false",
"Bytes": "new Uint8Array(0)",
"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.
Click to show internal directories.
Click to hide internal directories.