G2Element

scalus.uplc.builtin.bls12_381.G2Element
See theG2Element companion class
object G2Element

Attributes

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

Members list

Value members

Concrete methods

def apply(value: P2): G2Element
def apply(value: ByteString): G2Element

Inherited methods

The generator element in G2.

The generator element in G2.

Works on and offchain.

Attributes

Note

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

Inherited from:
G2ElementOffchainApi (hidden)

The zero (identity) element in G2.

The zero (identity) element in G2.

Works on and offchain.

Attributes

Note

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

Inherited from:
G2ElementOffchainApi (hidden)

Extensions

Inherited extensions

extension (sc: StringContext)
def g2(args: Any*): G2Element

G2 element string interpolator

G2 element string interpolator

Works on and offchain. Converts a compressed hex bytestring (96 bytes) to a G2 element.

Attributes

Note

This method is specially treated by the Scalus compiler plugin.

Inherited from:
G2ElementOffchainApi (hidden)