G1Element

scalus.uplc.builtin.bls12_381.G1Element
See theG1Element companion class
object G1Element

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
G1Element.type

Members list

Value members

Concrete methods

def apply(value: P1): G1Element
def apply(value: ByteString): G1Element

Inherited methods

The generator element in G1.

The generator element in G1.

Works on and offchain.

Attributes

Note

TODO: change to lazy val when lazy vals are implemented in the compiler

Inherited from:
G1ElementOffchainApi (hidden)

The zero (identity) element in G1.

The zero (identity) element in G1.

Works on and offchain.

Attributes

Note

TODO: change to lazy val when lazy vals are implemented in the compiler

Inherited from:
G1ElementOffchainApi (hidden)

Extensions

Inherited extensions

extension (sc: StringContext)
def g1(args: Any*): G1Element

G1 element string interpolator

G1 element string interpolator

Works on and offchain. Converts a compressed hex bytestring (48 bytes) to a G1 element.

Attributes

Note

This method is specially treated by the Scalus compiler plugin.

Inherited from:
G1ElementOffchainApi (hidden)