Skip to content

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

LodashParamsFactory

Methods

concat()

static concat(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()

static get(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()

static getBytes(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()

static getContractName(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()

static getContractType(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()

static getSchemaAppId(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()

static reclaim(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()

static remove(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()

static set(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()

static setBytes(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()

static setContractName(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()

static setContractType(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()

static setSchemaAppId(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