LodashParamsFactory
Defined in: packages/store-kit/src/lodash/client.ts:299
Exposes methods for constructing AppClient params objects for ABI calls to the Lodash smart contract
Constructors
new LodashParamsFactory()
new LodashParamsFactory():
LodashParamsFactory
Returns
Methods
concat()
staticconcat(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:475
Constructs a no op call for the concat(string,string)void ABI method
Concatenates a value to an existing box.
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
get()
staticget(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:415
Constructs a no op call for the get(string)string ABI method
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
getBytes()
staticgetBytes(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:460
Constructs a no op call for the get_bytes(string)byte[] ABI method
Read raw ARC4 bytes from path (schema-typed paths).
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
getContractName()
staticgetContractName(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:359
Constructs a no op call for the get_contract_name()byte[] ABI method
Return the human-readable contract name, or empty bytes if unset.
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
getContractType()
staticgetContractType(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:374
Constructs a no op call for the get_contract_type()byte[] ABI method
Return the contract type discriminator (b"object" or b"schema").
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
getSchemaAppId()
staticgetSchemaAppId(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:389
Constructs a no op call for the get_schema_app_id()uint64 ABI method
Return the bound schema app id, or 0 if unbound.
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
reclaim()
staticreclaim(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:488
Constructs a no op call for the reclaim(uint64)void ABI method
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
remove()
staticremove(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:428
Constructs a no op call for the remove(string)void ABI method
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
set()
staticset(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:402
Constructs a no op call for the set(string,string)void ABI method
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
setBytes()
staticsetBytes(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:445
Constructs a no op call for the set_bytes(string,byte[])void ABI method
Write raw ARC4 bytes to path (schema-typed paths).
Bypasses the JSON envelope so another contract can decode the payload directly with arc4.decode. The box namespace is shared with set — only the on-the-wire type differs.
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
setContractName()
staticsetContractName(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:310
Constructs a no op call for the set_contract_name(byte[])void ABI method
Set (or clear) the human-readable contract name. Pass empty bytes to clear. Creator-only.
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
setContractType()
staticsetContractType(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:327
Constructs a no op call for the set_contract_type(byte[])void ABI method
Set the contract type discriminator.
Must be either b"object" or b"schema". Creator-only.
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call
setSchemaAppId()
staticsetSchemaAppId(params):object&CallOnComplete
Defined in: packages/store-kit/src/lodash/client.ts:344
Constructs a no op call for the set_schema_app_id(uint64)void ABI method
Bind (or clear) the schema-app pointer.
Pass 0 to clear. Creator-only. The referenced app is expected to be a Lodash instance with contract_type == b"schema" whose boxes hold the canonical JSON Schema document.
Parameters
params
object & CallOnComplete
Parameters for the call
Returns
object & CallOnComplete
An AppClientMethodCallParams object for the call