LodashTypes
LodashTypes:
object
Defined in: packages/store-kit/src/lodash/client.ts:152
Defines the types of available calls and state of the Lodash smart contract.
Type declaration
methods
methods:
Record<"set_contract_name(byte[])void"|"set_contract_name", {argsObj:LodashArgs["obj"]["set_contract_name(byte[])void"];argsTuple:LodashArgs["tuple"]["set_contract_name(byte[])void"];returns:LodashReturns["set_contract_name(byte[])void"]; }> &Record<"set_contract_type(byte[])void"|"set_contract_type", {argsObj:LodashArgs["obj"]["set_contract_type(byte[])void"];argsTuple:LodashArgs["tuple"]["set_contract_type(byte[])void"];returns:LodashReturns["set_contract_type(byte[])void"]; }> &Record<"set_schema_app_id(uint64)void"|"set_schema_app_id", {argsObj:LodashArgs["obj"]["set_schema_app_id(uint64)void"];argsTuple:LodashArgs["tuple"]["set_schema_app_id(uint64)void"];returns:LodashReturns["set_schema_app_id(uint64)void"]; }> &Record<"get_contract_name()byte[]"|"get_contract_name", {argsObj:LodashArgs["obj"]["get_contract_name()byte[]"];argsTuple:LodashArgs["tuple"]["get_contract_name()byte[]"];returns:LodashReturns["get_contract_name()byte[]"]; }> &Record<"get_contract_type()byte[]"|"get_contract_type", {argsObj:LodashArgs["obj"]["get_contract_type()byte[]"];argsTuple:LodashArgs["tuple"]["get_contract_type()byte[]"];returns:LodashReturns["get_contract_type()byte[]"]; }> &Record<"get_schema_app_id()uint64"|"get_schema_app_id", {argsObj:LodashArgs["obj"]["get_schema_app_id()uint64"];argsTuple:LodashArgs["tuple"]["get_schema_app_id()uint64"];returns:LodashReturns["get_schema_app_id()uint64"]; }> &Record<"set(string,string)void"|"set", {argsObj:LodashArgs["obj"]["set(string,string)void"];argsTuple:LodashArgs["tuple"]["set(string,string)void"];returns:LodashReturns["set(string,string)void"]; }> &Record<"get(string)string"|"get", {argsObj:LodashArgs["obj"]["get(string)string"];argsTuple:LodashArgs["tuple"]["get(string)string"];returns:LodashReturns["get(string)string"]; }> &Record<"remove(string)void"|"remove", {argsObj:LodashArgs["obj"]["remove(string)void"];argsTuple:LodashArgs["tuple"]["remove(string)void"];returns:LodashReturns["remove(string)void"]; }> &Record<"set_bytes(string,byte[])void"|"set_bytes", {argsObj:LodashArgs["obj"]["set_bytes(string,byte[])void"];argsTuple:LodashArgs["tuple"]["set_bytes(string,byte[])void"];returns:LodashReturns["set_bytes(string,byte[])void"]; }> &Record<"get_bytes(string)byte[]"|"get_bytes", {argsObj:LodashArgs["obj"]["get_bytes(string)byte[]"];argsTuple:LodashArgs["tuple"]["get_bytes(string)byte[]"];returns:LodashReturns["get_bytes(string)byte[]"]; }> &Record<"concat(string,string)void"|"concat", {argsObj:LodashArgs["obj"]["concat(string,string)void"];argsTuple:LodashArgs["tuple"]["concat(string,string)void"];returns:LodashReturns["concat(string,string)void"]; }> &Record<"reclaim(uint64)void"|"reclaim", {argsObj:LodashArgs["obj"]["reclaim(uint64)void"];argsTuple:LodashArgs["tuple"]["reclaim(uint64)void"];returns:LodashReturns["reclaim(uint64)void"]; }>
Maps method signatures / names to their argument and return types.
state
state:
object
Defines the shape of the state of the application.
state.global
global:
object
state.global.keys
keys:
object
state.global.keys.contractName
contractName:
BinaryState
state.global.keys.contractType
contractType:
BinaryState
state.global.keys.protocol
protocol:
BinaryState
state.global.keys.schemaAppId
schemaAppId:
bigint
state.global.maps
maps:
object