Merge pull request #85 from txpipe/expose-pallas-plutus-data
This commit is contained in:
commit
11c0e4e193
|
@ -8,6 +8,8 @@
|
|||
**aiken**: Typechecking
|
||||
**aiken**: Inject `aiken/builtin` module with some functions from `DefaultFunction` in UPLC directly exposed
|
||||
**aiken-lang**: add `infer` method to `UntypedModule` which returns a `TypedModule`
|
||||
**uplc**: Expose various Pallas primitives from UPLC to make constructing
|
||||
UPLC types possible for consumers
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -8,7 +8,12 @@ mod pretty;
|
|||
pub mod program_builder;
|
||||
pub mod tx;
|
||||
|
||||
pub use pallas_primitives::alonzo::PlutusData;
|
||||
pub use pallas_codec::utils::KeyValuePairs;
|
||||
pub use pallas_crypto::hash::Hash;
|
||||
pub use pallas_primitives::{
|
||||
alonzo::{BigInt, Constr, PlutusData},
|
||||
babbage::{PostAlonzoTransactionOutput, TransactionInput, TransactionOutput, Value},
|
||||
};
|
||||
|
||||
use pallas_primitives::{Error, Fragment};
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ mod phase_one;
|
|||
pub mod script_context;
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
mod to_plutus_data;
|
||||
pub mod to_plutus_data;
|
||||
|
||||
/// Evaluate the scripts in a transaction using
|
||||
/// the UPLC Cek Machine. This function collects
|
||||
|
|
Loading…
Reference in New Issue