All Downloads are FREE. Search and download functionalities are using the official Maven repository.

encrywm.frontend.semantics.scope.ESPredefScope.scala Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package encrywm.frontend.semantics.scope

import encrywm.lib.Types._
import encrywm.lib.predef.functions.hash._
import encrywm.lib.predef.functions.signature._
import encrywm.lib.predef.functions.time._

object ESPredefScope {

  val predefNames: Seq[Symbol] = Seq(
    Symbol(ESContext.ident.toLowerCase, ESContext),
    Symbol(CheckSig.name, ESFunc(CheckSig.args.toList, ESBoolean)),
    Symbol(Blake2b256Hash.name, ESFunc(Blake2b256Hash.args.toList, ESByteVector)),
    Symbol(Blake2b512Hash.name, ESFunc(Blake2b512Hash.args.toList, ESByteVector)),
    Symbol(Keccak256Hash.name, ESFunc(Keccak256Hash.args.toList, ESByteVector)),
    Symbol(Keccak512Hash.name, ESFunc(Keccak512Hash.args.toList, ESByteVector)),
    Symbol(Sha256Hash.name, ESFunc(Sha256Hash.args.toList, ESByteVector)),
    Symbol(Str2Time.name, ESFunc(Str2Time.args.toList, ESLong))
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy