Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new NatToken(val: { annots: any[]; args: any[]; prim: string }, idx: number, fac: TokenFactory): NatToken

Properties

createToken

createToken: (val: any, idx: number) => Token = this.fac

Type declaration

    • (val: any, idx: number): Token
    • Parameters

      • val: any
      • idx: number

      Returns Token

Protected fac

Protected idx

idx: number

Protected val

val: { annots: any[]; args: any[]; prim: string }

Type declaration

  • annots: any[]
  • args: any[]
  • prim: string

Static prim

prim: string = "nat"

Methods

Encode

  • Encode(args: any[]): any

EncodeObject

  • EncodeObject(val: any): any

Execute

  • Execute(val: any): {}

ExtractSchema

  • ExtractSchema(): string

ExtractSignature

  • ExtractSignature(): any[][]

ToBigMapKey

  • ToBigMapKey(val: string): { key: object; type: object }

ToKey

  • ToKey(__namedParameters: { int: any }): any

annot

  • annot(): any

compare

  • compare(o1: string, o2: string): number

hasAnnotations

  • hasAnnotations(): number | false

Protected typeWithoutAnnotations

  • typeWithoutAnnotations(): { args?: any[]; prim: string }

Generated using TypeDoc