OpShin provides a few features in its standard libary.
You can import modules from there (i.e. the
opshin.std.fractions module) with
from opshin.std.fractions import *
Expand source code
""" OpShin provides a few features in its standard libary. You can import modules from there (i.e. the `fractions` module) with ```python from opshin.std.fractions import * ``` """
The BitMap library provides tools to interact with a highly efficient datastructure that stores boolean values with minimal overhead (1 bit per bool)
A special libary that gives direct access to UPLC built-ins It is valid code and parts of it may be copied if not all built-ins are required by the user.
An implementation of fractions in opshin This does not maintain smallest possible notation invariants for the sake of efficiency - the user has full …
A std library that imports all valid hash functions from the builtin python hashlib library: If you want to have all hash functions in scope, simply …
A special libary that gives access to a function that checks the integrity of PlutusDatum objects.
An implementation of some math operations in opshin