Expand description
Useful macros for testing and quickly constructing objects.
Macrosยง
- address
- Construct a
Mainnetaddress from a literal or from its constituents. - address_
test - Construct a
Testnetaddress from a literal or from its constituents. - assets
- Construct a multi-asset object; akin to a
Value<u64>but without lovelace. - hash
- Construct variable-length
Hashfrom base16-encoded text strings. - input
- Construct
Inputfrom base16-encoded text strings & plain numbers. - key_
credential - Construct a key
Credentialfrom base16-encoded text strings. - output
- Construct an
Outputfrom anAddressand an optionalValue. - plutus_
data - Construct a
PlutusDatafrom a serialised CBOR hex-encoded string. - plutus_
script - Construct a
PlutusScriptfrom aPlutusVersionand a base16-encoded flat-serialised program. - script_
credential - Construct a script
Credentialfrom base16-encoded text strings. - value
- Construct a
Value<u64>from a lovelace amount and a list of assets.