Skip to content

nooschain v0.1.0


nooschain / contracts/manifest / parseContractManifest

Function: parseContractManifest()

parseContractManifest(manifest): object

Defined in: contracts/manifest.ts:166

Parameters

manifest

unknown

Returns

object

calls

calls: object[]

exports

exports: object

exports.init?

optional init?: string

exports.methods

methods: Record<string, { abi?: { description?: string; events: object[]; input?: ContractAbiValue; output?: ContractAbiValue; }; buckets: object[]; entrypoint: string; invoke: { allow: ({ principalType: "anyUser"; } | { principalType: "anyContract"; } | { principalType: "any"; } | { principalType: "system"; } | { principalId: string; principalType: "user"; } | { principalId: string; principalType: "organization"; } | { principalId: string; principalType: "contract"; })[]; }; maxFuel?: number; }>

migrations

migrations: object[]

name

name: string

runtime

runtime: "wasm-assemblyscript-v1"

schemaVersion

schemaVersion: 1

version

version: string

Audience-first NOOSChain documentation.