Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

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

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 = "bool"

Methods

Encode

  • Encode(args: any[]): any

EncodeObject

  • EncodeObject(val: any): { prim: string }

Execute

  • Execute(val: any): boolean

ExtractSchema

  • ExtractSchema(): string

ExtractSignature

  • ExtractSignature(): any[][]

ToBigMapKey

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

ToKey

  • ToKey(val: string): { prim: string }

annot

  • annot(): any

compare

  • compare(val1: any, val2: any): 1 | 0 | -1

hasAnnotations

  • hasAnnotations(): number | false

Protected typeWithoutAnnotations

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

Generated using TypeDoc