Skip to content

nooschain v0.1.0


nooschain / chain/domain-handlers/state-values / createContractCodeStateValue

Function: createContractCodeStateValue()

createContractCodeStateValue(code): object

Defined in: chain/domain-handlers/state-values.ts:207

Parameters

code

code_hash

string

created_at_height

string

created_by_organization_id

string | null

created_by_user_id

string | null

metadata

unknown

Returns

object

code_hash

code_hash: string = code.code_hash

created_at_height

created_at_height: string = code.created_at_height

created_by_organization_id

created_by_organization_id: string | null = code.created_by_organization_id

created_by_user_id

created_by_user_id: string | null = code.created_by_user_id

metadata

metadata: unknown = code.metadata

Audience-first NOOSChain documentation.