scalus.builtin
Members list
Packages
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BLS12_381_G1_Element.type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BLS12_381_G2_Element.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
CIP-122 + shifts & rotations from CIP-123
CIP-122 + shifts & rotations from CIP-123
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuiltinArray.type
A builtin list type corresponding to the Plutus Core builtin list.
A builtin list type corresponding to the Plutus Core builtin list.
This is the Scalus equivalent of BuiltinList in Plutus. It represents an immutable singly-linked list that can be used in Plutus smart contracts.
The list supports basic operations: checking emptiness, accessing head/tail, and prepending elements. These operations correspond directly to Plutus Core builtin functions.
Type parameters
- A
-
the element type
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Companion object for BuiltinList.
Companion object for BuiltinList.
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
BuiltinList.type
A builtin pair type corresponding to the Plutus Core builtin pair.
A builtin pair type corresponding to the Plutus Core builtin pair.
Value parameters
- fst
-
the first element
- snd
-
the second element
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
MaryEraValue (CIP-0153) - multi-asset value representation for Cardano.
MaryEraValue (CIP-0153) - multi-asset value representation for Cardano.
This is a primitive opaque type in UPLC. The inner representation is hidden - use builtin operations to work with values:
insertCointo insert/update token amountslookupCointo lookup token amountsunionValueto merge two valuesvalueContainsto check if one value contains anotherscaleValueto multiply all amounts by a scalarvalueData/unValueDatafor Data conversion
Invariants maintained by operations:
- No empty inner maps (currency symbols with no tokens are removed)
- No zero quantities (zero-amount tokens are removed)
- Keys max 32 bytes (currency symbols and token names)
- Quantities in signed 128-bit range
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
BuiltinValue.type
An immutable sequence of bytes.
An immutable sequence of bytes.
This class is used as a UPLC builtin type to represent binary data and it can be used in both onchain and offchain code.
Attributes
- Note
-
methods of this class are only available offchain with the exception of
==and!=. For onchain operations use the extension methods in the companion object - Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ByteString.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ByteStringToInteger.type
Attributes
- Companion
- object
- Supertypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IntegerToByteString.type
Attributes
- Companion
- trait
- Supertypes
- Self type
-
JVMPlatformSpecific.type
Attributes
- Companion
- object
- Supertypes
- Known subtypes
-
object JVMPlatformSpecific
This is the platform specific part of the builtins. This is mostly cryptographic primitives that have different implementations on different platforms.
This is the platform specific part of the builtins. This is mostly cryptographic primitives that have different implementations on different platforms.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait JVMPlatformSpecificobject JVMPlatformSpecific
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PlatformSpecific.type
Attributes
- Companion
- object
- Supertypes
Attributes
- Supertypes
-
trait StaticAnnotationclass Annotationclass Objecttrait Matchableclass Any
Value members
Concrete methods
Provides access to platform-specific built-in functions.
Provides access to platform-specific built-in functions.
This is used to access cryptographic primitives and other platform-specific functionality that may vary between JVM, JS, and other platforms.