@helios-lang/effect 0.1.14 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Cardano/CoinSelection.js +130 -0
- package/dist/Cardano/CoinSelection.js.map +1 -0
- package/dist/{Ledger → Cardano/Ledger}/Address.js +30 -20
- package/dist/Cardano/Ledger/Address.js.map +1 -0
- package/dist/{Ledger → Cardano/Ledger}/AssetClass.js +16 -11
- package/dist/Cardano/Ledger/AssetClass.js.map +1 -0
- package/dist/Cardano/Ledger/Assets.js +235 -0
- package/dist/Cardano/Ledger/Assets.js.map +1 -0
- package/dist/Cardano/Ledger/Credential.js +53 -0
- package/dist/Cardano/Ledger/Credential.js.map +1 -0
- package/dist/Cardano/Ledger/DCert.js +117 -0
- package/dist/Cardano/Ledger/DCert.js.map +1 -0
- package/dist/Cardano/Ledger/DatumHash.js +25 -0
- package/dist/Cardano/Ledger/DatumHash.js.map +1 -0
- package/dist/Cardano/Ledger/MintingPolicy.js +40 -0
- package/dist/Cardano/Ledger/MintingPolicy.js.map +1 -0
- package/dist/Cardano/Ledger/NativeScript.js +140 -0
- package/dist/Cardano/Ledger/NativeScript.js.map +1 -0
- package/dist/Cardano/Ledger/PubKey.js +22 -0
- package/dist/Cardano/Ledger/PubKey.js.map +1 -0
- package/dist/{Ledger → Cardano/Ledger}/PubKeyHash.js +5 -5
- package/dist/Cardano/Ledger/PubKeyHash.js.map +1 -0
- package/dist/Cardano/Ledger/Redeemer.js +155 -0
- package/dist/Cardano/Ledger/Redeemer.js.map +1 -0
- package/dist/Cardano/Ledger/RewardAddress.js +93 -0
- package/dist/Cardano/Ledger/RewardAddress.js.map +1 -0
- package/dist/Cardano/Ledger/Signature.js +23 -0
- package/dist/Cardano/Ledger/Signature.js.map +1 -0
- package/dist/Cardano/Ledger/Tx.js +498 -0
- package/dist/Cardano/Ledger/Tx.js.map +1 -0
- package/dist/Cardano/Ledger/TxHash.js +38 -0
- package/dist/Cardano/Ledger/TxHash.js.map +1 -0
- package/dist/Cardano/Ledger/TxOutput.js +167 -0
- package/dist/Cardano/Ledger/TxOutput.js.map +1 -0
- package/dist/{Ledger → Cardano/Ledger}/TxOutputDatum.js +44 -8
- package/dist/Cardano/Ledger/TxOutputDatum.js.map +1 -0
- package/dist/Cardano/Ledger/UTxO.js +100 -0
- package/dist/Cardano/Ledger/UTxO.js.map +1 -0
- package/dist/{Ledger → Cardano/Ledger}/UTxORef.js +28 -6
- package/dist/Cardano/Ledger/UTxORef.js.map +1 -0
- package/dist/{Ledger → Cardano/Ledger}/ValidatorHash.js +5 -5
- package/dist/Cardano/Ledger/ValidatorHash.js.map +1 -0
- package/dist/{Ledger → Cardano/Ledger}/index.js +5 -0
- package/dist/Cardano/Ledger/index.js.map +1 -0
- package/dist/Cardano/Network/IsMainnet.js.map +1 -0
- package/dist/{Network → Cardano/Network}/Params.js +27 -3
- package/dist/Cardano/Network/Params.js.map +1 -0
- package/dist/Cardano/Network/UTxO.js +20 -0
- package/dist/Cardano/Network/UTxO.js.map +1 -0
- package/dist/Cardano/Network/UTxOsAt.js +4 -0
- package/dist/Cardano/Network/UTxOsAt.js.map +1 -0
- package/dist/Cardano/Network/errors.js +33 -0
- package/dist/Cardano/Network/errors.js.map +1 -0
- package/dist/{Network → Cardano/Network}/index.js +1 -0
- package/dist/Cardano/Network/index.js.map +1 -0
- package/dist/Cardano/TxBuilder.js +946 -0
- package/dist/Cardano/TxBuilder.js.map +1 -0
- package/dist/Cardano/Uplc/Builtins.js +1820 -0
- package/dist/Cardano/Uplc/Builtins.js.map +1 -0
- package/dist/Cardano/Uplc/Cek.js +716 -0
- package/dist/Cardano/Uplc/Cek.js.map +1 -0
- package/dist/Cardano/Uplc/Cost.js +956 -0
- package/dist/Cardano/Uplc/Cost.js.map +1 -0
- package/dist/{Uplc → Cardano/Uplc}/Data.js +143 -22
- package/dist/Cardano/Uplc/Data.js.map +1 -0
- package/dist/Cardano/Uplc/Script.js +118 -0
- package/dist/Cardano/Uplc/Script.js.map +1 -0
- package/dist/Cardano/Uplc/ScriptContext.js +259 -0
- package/dist/Cardano/Uplc/ScriptContext.js.map +1 -0
- package/dist/Cardano/Uplc/Term.js +384 -0
- package/dist/Cardano/Uplc/Term.js.map +1 -0
- package/dist/Cardano/Uplc/Type.js +131 -0
- package/dist/Cardano/Uplc/Type.js.map +1 -0
- package/dist/Cardano/Uplc/Value.js +315 -0
- package/dist/Cardano/Uplc/Value.js.map +1 -0
- package/dist/Cardano/Uplc/index.js +7 -0
- package/dist/Cardano/Uplc/index.js.map +1 -0
- package/dist/Cardano/index.js +6 -0
- package/dist/Cardano/index.js.map +1 -0
- package/dist/{internal → Codecs}/Base32.js +2 -2
- package/dist/Codecs/Base32.js.map +1 -0
- package/dist/{Bech32.js → Codecs/Bech32.js} +2 -2
- package/dist/Codecs/Bech32.js.map +1 -0
- package/dist/Codecs/BigEndian.js.map +1 -0
- package/dist/Codecs/Bits.js.map +1 -0
- package/dist/{internal → Codecs}/Bytes.js +23 -12
- package/dist/Codecs/Bytes.js.map +1 -0
- package/dist/{Cbor.js → Codecs/Cbor.js} +559 -328
- package/dist/Codecs/Cbor.js.map +1 -0
- package/dist/{internal → Codecs}/Flat.js +16 -0
- package/dist/Codecs/Flat.js.map +1 -0
- package/dist/Codecs/Float.js.map +1 -0
- package/dist/Codecs/LittleEndian.js +27 -0
- package/dist/Codecs/LittleEndian.js.map +1 -0
- package/dist/Codecs/Uint64.js +89 -0
- package/dist/Codecs/Uint64.js.map +1 -0
- package/dist/{internal → Codecs}/Utf8.js +7 -2
- package/dist/Codecs/Utf8.js.map +1 -0
- package/dist/Codecs/ZigZag.js +26 -0
- package/dist/Codecs/ZigZag.js.map +1 -0
- package/dist/Codecs/index.js +8 -0
- package/dist/Codecs/index.js.map +1 -0
- package/dist/Crypto/Blake2b.js +156 -0
- package/dist/Crypto/Blake2b.js.map +1 -0
- package/dist/Crypto/Curve.js +92 -0
- package/dist/Crypto/Curve.js.map +1 -0
- package/dist/Crypto/Ed25519.js +323 -0
- package/dist/Crypto/Ed25519.js.map +1 -0
- package/dist/Crypto/EdDSA.js +222 -0
- package/dist/Crypto/EdDSA.js.map +1 -0
- package/dist/Crypto/Field.js +323 -0
- package/dist/Crypto/Field.js.map +1 -0
- package/dist/Crypto/Hmac.js +51 -0
- package/dist/Crypto/Hmac.js.map +1 -0
- package/dist/Crypto/Keccak.js +167 -0
- package/dist/Crypto/Keccak.js.map +1 -0
- package/dist/Crypto/Pbkdf2.js +45 -0
- package/dist/Crypto/Pbkdf2.js.map +1 -0
- package/dist/Crypto/Sha2_256.js +200 -0
- package/dist/Crypto/Sha2_256.js.map +1 -0
- package/dist/Crypto/Sha2_512.js +264 -0
- package/dist/Crypto/Sha2_512.js.map +1 -0
- package/dist/Crypto/Sha3_256.js +10 -0
- package/dist/Crypto/Sha3_256.js.map +1 -0
- package/dist/Crypto/errors.js +9 -0
- package/dist/Crypto/errors.js.map +1 -0
- package/dist/Crypto/index.js +12 -0
- package/dist/Crypto/index.js.map +1 -0
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/package.json +24 -6
- package/tsconfig.build.json +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/types/Cardano/CoinSelection.d.ts +26 -0
- package/types/Cardano/CoinSelection.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/Address.d.ts +7 -6
- package/types/Cardano/Ledger/Address.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/AssetClass.d.ts +2 -2
- package/types/Cardano/Ledger/AssetClass.d.ts.map +1 -0
- package/types/Cardano/Ledger/Assets.d.ts +114 -0
- package/types/Cardano/Ledger/Assets.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/Credential.d.ts +10 -4
- package/types/Cardano/Ledger/Credential.d.ts.map +1 -0
- package/types/Cardano/Ledger/DCert.d.ts +40 -0
- package/types/Cardano/Ledger/DCert.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/DatumHash.d.ts +6 -5
- package/types/Cardano/Ledger/DatumHash.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/MintingPolicy.d.ts +11 -8
- package/types/Cardano/Ledger/MintingPolicy.d.ts.map +1 -0
- package/types/Cardano/Ledger/NativeScript.d.ts +105 -0
- package/types/Cardano/Ledger/NativeScript.d.ts.map +1 -0
- package/types/Cardano/Ledger/PubKey.d.ts +41 -0
- package/types/Cardano/Ledger/PubKey.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/PubKeyHash.d.ts +5 -5
- package/types/Cardano/Ledger/PubKeyHash.d.ts.map +1 -0
- package/types/Cardano/Ledger/Redeemer.d.ts +303 -0
- package/types/Cardano/Ledger/Redeemer.d.ts.map +1 -0
- package/types/Cardano/Ledger/RewardAddress.d.ts +60 -0
- package/types/Cardano/Ledger/RewardAddress.d.ts.map +1 -0
- package/types/Cardano/Ledger/Signature.d.ts +13 -0
- package/types/Cardano/Ledger/Signature.d.ts.map +1 -0
- package/types/Cardano/Ledger/Tx.d.ts +375 -0
- package/types/Cardano/Ledger/Tx.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/TxHash.d.ts +35 -5
- package/types/Cardano/Ledger/TxHash.d.ts.map +1 -0
- package/types/Cardano/Ledger/TxOutput.d.ts +438 -0
- package/types/Cardano/Ledger/TxOutput.d.ts.map +1 -0
- package/types/Cardano/Ledger/TxOutputDatum.d.ts +98 -0
- package/types/Cardano/Ledger/TxOutputDatum.d.ts.map +1 -0
- package/types/Cardano/Ledger/UTxO.d.ts +1420 -0
- package/types/Cardano/Ledger/UTxO.d.ts.map +1 -0
- package/types/Cardano/Ledger/UTxORef.d.ts +222 -0
- package/types/Cardano/Ledger/UTxORef.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/ValidatorHash.d.ts +5 -5
- package/types/Cardano/Ledger/ValidatorHash.d.ts.map +1 -0
- package/types/{Ledger → Cardano/Ledger}/index.d.ts +5 -0
- package/types/Cardano/Ledger/index.d.ts.map +1 -0
- package/types/Cardano/Network/IsMainnet.d.ts.map +1 -0
- package/types/{Network → Cardano/Network}/Params.d.ts +32 -4
- package/types/Cardano/Network/Params.d.ts.map +1 -0
- package/types/Cardano/Network/UTxO.d.ts +15 -0
- package/types/Cardano/Network/UTxO.d.ts.map +1 -0
- package/types/Cardano/Network/UTxOsAt.d.ts +9 -0
- package/types/Cardano/Network/UTxOsAt.d.ts.map +1 -0
- package/types/Cardano/Network/errors.d.ts +39 -0
- package/types/Cardano/Network/errors.d.ts.map +1 -0
- package/types/{Network → Cardano/Network}/index.d.ts +1 -0
- package/types/Cardano/Network/index.d.ts.map +1 -0
- package/types/Cardano/TxBuilder.d.ts +261 -0
- package/types/Cardano/TxBuilder.d.ts.map +1 -0
- package/types/Cardano/Uplc/Builtins.d.ts +163 -0
- package/types/Cardano/Uplc/Builtins.d.ts.map +1 -0
- package/types/Cardano/Uplc/Cek.d.ts +165 -0
- package/types/Cardano/Uplc/Cek.d.ts.map +1 -0
- package/types/Cardano/Uplc/Cost.d.ts +93 -0
- package/types/Cardano/Uplc/Cost.d.ts.map +1 -0
- package/types/{Uplc → Cardano/Uplc}/Data.d.ts +149 -15
- package/types/Cardano/Uplc/Data.d.ts.map +1 -0
- package/types/Cardano/Uplc/Script.d.ts +87 -0
- package/types/Cardano/Uplc/Script.d.ts.map +1 -0
- package/types/Cardano/Uplc/ScriptContext.d.ts +21 -0
- package/types/Cardano/Uplc/ScriptContext.d.ts.map +1 -0
- package/types/Cardano/Uplc/Term.d.ts +454 -0
- package/types/Cardano/Uplc/Term.d.ts.map +1 -0
- package/types/Cardano/Uplc/Type.d.ts +29 -0
- package/types/Cardano/Uplc/Type.d.ts.map +1 -0
- package/types/Cardano/Uplc/Value.d.ts +152 -0
- package/types/Cardano/Uplc/Value.d.ts.map +1 -0
- package/types/Cardano/Uplc/index.d.ts +7 -0
- package/types/Cardano/Uplc/index.d.ts.map +1 -0
- package/types/Cardano/index.d.ts +6 -0
- package/types/Cardano/index.d.ts.map +1 -0
- package/types/Codecs/Base32.d.ts.map +1 -0
- package/types/Codecs/Bech32.d.ts.map +1 -0
- package/types/Codecs/BigEndian.d.ts.map +1 -0
- package/types/Codecs/Bits.d.ts.map +1 -0
- package/types/{internal → Codecs}/Bytes.d.ts +7 -6
- package/types/Codecs/Bytes.d.ts.map +1 -0
- package/types/{Cbor.d.ts → Codecs/Cbor.d.ts} +77 -55
- package/types/Codecs/Cbor.d.ts.map +1 -0
- package/types/{internal → Codecs}/Flat.d.ts +2 -0
- package/types/Codecs/Flat.d.ts.map +1 -0
- package/types/Codecs/Float.d.ts.map +1 -0
- package/types/Codecs/LittleEndian.d.ts +18 -0
- package/types/Codecs/LittleEndian.d.ts.map +1 -0
- package/types/Codecs/Uint64.d.ts +16 -0
- package/types/Codecs/Uint64.d.ts.map +1 -0
- package/types/{internal → Codecs}/Utf8.d.ts +2 -2
- package/types/Codecs/Utf8.d.ts.map +1 -0
- package/types/Codecs/ZigZag.d.ts +3 -0
- package/types/Codecs/ZigZag.d.ts.map +1 -0
- package/types/Codecs/index.d.ts +8 -0
- package/types/Codecs/index.d.ts.map +1 -0
- package/types/Crypto/Blake2b.d.ts +16 -0
- package/types/Crypto/Blake2b.d.ts.map +1 -0
- package/types/Crypto/Curve.d.ts +161 -0
- package/types/Crypto/Curve.d.ts.map +1 -0
- package/types/Crypto/Ed25519.d.ts +155 -0
- package/types/Crypto/Ed25519.d.ts.map +1 -0
- package/types/Crypto/EdDSA.d.ts +159 -0
- package/types/Crypto/EdDSA.d.ts.map +1 -0
- package/types/Crypto/Field.d.ts +273 -0
- package/types/Crypto/Field.d.ts.map +1 -0
- package/types/Crypto/Hmac.d.ts +20 -0
- package/types/Crypto/Hmac.d.ts.map +1 -0
- package/types/Crypto/Keccak.d.ts +16 -0
- package/types/Crypto/Keccak.d.ts.map +1 -0
- package/types/Crypto/Pbkdf2.d.ts +15 -0
- package/types/Crypto/Pbkdf2.d.ts.map +1 -0
- package/types/Crypto/Sha2_256.d.ts +36 -0
- package/types/Crypto/Sha2_256.d.ts.map +1 -0
- package/types/Crypto/Sha2_512.d.ts +31 -0
- package/types/Crypto/Sha2_512.d.ts.map +1 -0
- package/types/Crypto/Sha3_256.d.ts +8 -0
- package/types/Crypto/Sha3_256.d.ts.map +1 -0
- package/types/Crypto/errors.d.ts +10 -0
- package/types/Crypto/errors.d.ts.map +1 -0
- package/types/Crypto/index.d.ts +12 -0
- package/types/Crypto/index.d.ts.map +1 -0
- package/types/index.d.ts +3 -5
- package/types/index.d.ts.map +1 -1
- package/dist/Address.js +0 -13
- package/dist/Address.js.map +0 -1
- package/dist/Bech32.js.map +0 -1
- package/dist/Cbor.js.map +0 -1
- package/dist/Ledger/Address.js.map +0 -1
- package/dist/Ledger/AssetClass.js.map +0 -1
- package/dist/Ledger/Assets.js +0 -120
- package/dist/Ledger/Assets.js.map +0 -1
- package/dist/Ledger/Credential.js +0 -17
- package/dist/Ledger/Credential.js.map +0 -1
- package/dist/Ledger/DatumHash.js +0 -21
- package/dist/Ledger/DatumHash.js.map +0 -1
- package/dist/Ledger/IsMainnet.js +0 -4
- package/dist/Ledger/IsMainnet.js.map +0 -1
- package/dist/Ledger/MintingPolicy.js +0 -45
- package/dist/Ledger/MintingPolicy.js.map +0 -1
- package/dist/Ledger/NetworkParams.js +0 -40
- package/dist/Ledger/NetworkParams.js.map +0 -1
- package/dist/Ledger/PubKeyHash.js.map +0 -1
- package/dist/Ledger/TxHash.js +0 -23
- package/dist/Ledger/TxHash.js.map +0 -1
- package/dist/Ledger/TxId.js +0 -23
- package/dist/Ledger/TxId.js.map +0 -1
- package/dist/Ledger/TxInput.js +0 -51
- package/dist/Ledger/TxInput.js.map +0 -1
- package/dist/Ledger/TxOutput.js +0 -118
- package/dist/Ledger/TxOutput.js.map +0 -1
- package/dist/Ledger/TxOutputDatum.js.map +0 -1
- package/dist/Ledger/TxOutputId.js +0 -55
- package/dist/Ledger/TxOutputId.js.map +0 -1
- package/dist/Ledger/UTxO.js +0 -43
- package/dist/Ledger/UTxO.js.map +0 -1
- package/dist/Ledger/UTxORef.js.map +0 -1
- package/dist/Ledger/ValidatorHash.js.map +0 -1
- package/dist/Ledger/index.js.map +0 -1
- package/dist/Network/IsMainnet.js.map +0 -1
- package/dist/Network/Params.js.map +0 -1
- package/dist/Network/UTxOsAt.js +0 -4
- package/dist/Network/UTxOsAt.js.map +0 -1
- package/dist/Network/errors.js +0 -16
- package/dist/Network/errors.js.map +0 -1
- package/dist/Network/index.js.map +0 -1
- package/dist/Uplc/Cek.js +0 -3
- package/dist/Uplc/Cek.js.map +0 -1
- package/dist/Uplc/Data.js.map +0 -1
- package/dist/Uplc/DataSchema.js +0 -118
- package/dist/Uplc/DataSchema.js.map +0 -1
- package/dist/Uplc/Primitive.js +0 -23
- package/dist/Uplc/Primitive.js.map +0 -1
- package/dist/Uplc/index.js +0 -3
- package/dist/Uplc/index.js.map +0 -1
- package/dist/internal/Base32.js.map +0 -1
- package/dist/internal/BigEndian.js.map +0 -1
- package/dist/internal/Bits.js.map +0 -1
- package/dist/internal/Bytes.js.map +0 -1
- package/dist/internal/Flat.js.map +0 -1
- package/dist/internal/Float.js.map +0 -1
- package/dist/internal/Utf8.js.map +0 -1
- package/tsconfig.check.tsbuildinfo +0 -1
- package/types/Address.d.ts +0 -5
- package/types/Address.d.ts.map +0 -1
- package/types/Bech32.d.ts.map +0 -1
- package/types/Cbor.d.ts.map +0 -1
- package/types/Ledger/Address.d.ts.map +0 -1
- package/types/Ledger/AssetClass.d.ts.map +0 -1
- package/types/Ledger/Assets.d.ts +0 -70
- package/types/Ledger/Assets.d.ts.map +0 -1
- package/types/Ledger/Credential.d.ts.map +0 -1
- package/types/Ledger/DatumHash.d.ts.map +0 -1
- package/types/Ledger/IsMainnet.d.ts +0 -6
- package/types/Ledger/IsMainnet.d.ts.map +0 -1
- package/types/Ledger/MintingPolicy.d.ts.map +0 -1
- package/types/Ledger/NetworkParams.d.ts +0 -40
- package/types/Ledger/NetworkParams.d.ts.map +0 -1
- package/types/Ledger/PubKeyHash.d.ts.map +0 -1
- package/types/Ledger/TxHash.d.ts.map +0 -1
- package/types/Ledger/TxId.d.ts +0 -70
- package/types/Ledger/TxId.d.ts.map +0 -1
- package/types/Ledger/TxInput.d.ts +0 -55
- package/types/Ledger/TxInput.d.ts.map +0 -1
- package/types/Ledger/TxOutput.d.ts +0 -63
- package/types/Ledger/TxOutput.d.ts.map +0 -1
- package/types/Ledger/TxOutputDatum.d.ts +0 -41
- package/types/Ledger/TxOutputDatum.d.ts.map +0 -1
- package/types/Ledger/TxOutputId.d.ts +0 -133
- package/types/Ledger/TxOutputId.d.ts.map +0 -1
- package/types/Ledger/UTxO.d.ts +0 -55
- package/types/Ledger/UTxO.d.ts.map +0 -1
- package/types/Ledger/UTxORef.d.ts +0 -133
- package/types/Ledger/UTxORef.d.ts.map +0 -1
- package/types/Ledger/ValidatorHash.d.ts.map +0 -1
- package/types/Ledger/index.d.ts.map +0 -1
- package/types/Network/IsMainnet.d.ts.map +0 -1
- package/types/Network/Params.d.ts.map +0 -1
- package/types/Network/UTxOsAt.d.ts +0 -9
- package/types/Network/UTxOsAt.d.ts.map +0 -1
- package/types/Network/errors.d.ts +0 -18
- package/types/Network/errors.d.ts.map +0 -1
- package/types/Network/index.d.ts.map +0 -1
- package/types/Uplc/Cek.d.ts +0 -72
- package/types/Uplc/Cek.d.ts.map +0 -1
- package/types/Uplc/Data.d.ts.map +0 -1
- package/types/Uplc/DataSchema.d.ts +0 -227
- package/types/Uplc/DataSchema.d.ts.map +0 -1
- package/types/Uplc/Primitive.d.ts +0 -26
- package/types/Uplc/Primitive.d.ts.map +0 -1
- package/types/Uplc/index.d.ts +0 -3
- package/types/Uplc/index.d.ts.map +0 -1
- package/types/internal/Base32.d.ts.map +0 -1
- package/types/internal/BigEndian.d.ts.map +0 -1
- package/types/internal/Bits.d.ts.map +0 -1
- package/types/internal/Bytes.d.ts.map +0 -1
- package/types/internal/Flat.d.ts.map +0 -1
- package/types/internal/Float.d.ts.map +0 -1
- package/types/internal/Utf8.d.ts.map +0 -1
- /package/dist/{Network → Cardano/Network}/IsMainnet.js +0 -0
- /package/dist/{internal → Codecs}/BigEndian.js +0 -0
- /package/dist/{internal → Codecs}/Bits.js +0 -0
- /package/dist/{internal → Codecs}/Float.js +0 -0
- /package/types/{Network → Cardano/Network}/IsMainnet.d.ts +0 -0
- /package/types/{internal → Codecs}/Base32.d.ts +0 -0
- /package/types/{Bech32.d.ts → Codecs/Bech32.d.ts} +0 -0
- /package/types/{internal → Codecs}/BigEndian.d.ts +0 -0
- /package/types/{internal → Codecs}/Bits.d.ts +0 -0
- /package/types/{internal → Codecs}/Float.d.ts +0 -0
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
/**
|
|
3
|
-
* The raw JSON can be downloaded from the following CDN locations:
|
|
4
|
-
*
|
|
5
|
-
* - Preview: [https://network-status.helios-lang.io/preview/config](https://network-status.helios-lang.io/preview/config)
|
|
6
|
-
* - Preprod: [https://network-status.helios-lang.io/preprod/config](https://network-status.helios-lang.io/preprod/config)
|
|
7
|
-
* - Mainnet: [https://network-status.helios-lang.io/mainnet/config](https://network-status.helios-lang.io/mainnet/config)
|
|
8
|
-
*
|
|
9
|
-
* These JSONs are updated every 15 minutes.
|
|
10
|
-
*
|
|
11
|
-
* Only include the minimum fields needed. flattened so it can be extended more easily
|
|
12
|
-
*
|
|
13
|
-
* NetworkParams are a summary of the Era-specific params, relevant for tx building and validation
|
|
14
|
-
*
|
|
15
|
-
* Optionally, NetworkParams returned by a private node can specify a `collateralUTXO` to use (<txID>#<outputIndex> format). Any transaction submitted through that same node will then add the signature necessary to spend the collateral UTXO.
|
|
16
|
-
* This allows the collateral UTXO managed to be done in a central place (i.e. the node).
|
|
17
|
-
*/
|
|
18
|
-
export declare const NetworkParams: Schema.Struct<{
|
|
19
|
-
txFeeFixed: typeof Schema.Number;
|
|
20
|
-
txFeePerByte: typeof Schema.Number;
|
|
21
|
-
exMemFeePerUnit: typeof Schema.Number;
|
|
22
|
-
exCpuFeePerUnit: typeof Schema.Number;
|
|
23
|
-
utxoDepositPerByte: typeof Schema.Number;
|
|
24
|
-
refScriptsFeePerByte: typeof Schema.Number;
|
|
25
|
-
collateralPercentage: typeof Schema.Number;
|
|
26
|
-
maxCollateralInputs: typeof Schema.Number;
|
|
27
|
-
maxTxExMem: typeof Schema.Number;
|
|
28
|
-
maxTxExCpu: typeof Schema.Number;
|
|
29
|
-
maxTxSize: typeof Schema.Number;
|
|
30
|
-
secondsPerSlot: typeof Schema.Number;
|
|
31
|
-
stakeAddrDeposit: typeof Schema.Number;
|
|
32
|
-
refTopSlot: typeof Schema.Number;
|
|
33
|
-
refTipTime: typeof Schema.Number;
|
|
34
|
-
costModelParamsV1: Schema.Array$<typeof Schema.Number>;
|
|
35
|
-
costModelParamsV2: Schema.Array$<typeof Schema.Number>;
|
|
36
|
-
costModelParamsV3: Schema.Array$<typeof Schema.Number>;
|
|
37
|
-
collateralUTXO: Schema.optional<Schema.transform<typeof Schema.String, Schema.brand<Schema.filter<typeof Schema.String>, "TxOutputId">>>;
|
|
38
|
-
}>;
|
|
39
|
-
export type NetworkParams = Schema.Schema.Type<typeof NetworkParams>;
|
|
40
|
-
//# sourceMappingURL=NetworkParams.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkParams.d.ts","sourceRoot":"","sources":["../../src/Ledger/NetworkParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAG/B;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PubKeyHash.d.ts","sourceRoot":"","sources":["../../src/Ledger/PubKeyHash.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAY,MAAM,EAAE,MAAM,QAAQ,CAAA;AACjD,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAe,YAAY,EAAe,MAAM,YAAY,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,UAAU,CAEtD;AAED,eAAO,MAAM,UAAU,iEAGtB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAA;AAE9D,wBAAgB,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,sHAE1C;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;qHAIvB,CAAA;AAEF,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,YAAY,CAAC,UAAU,CAKpE,CAAA;AAEH,wBAAgB,MAAM,CAAC,GAAG,EAAE,UAAU,GAAG,MAAM,EAAE,CAEhD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TxHash.d.ts","sourceRoot":"","sources":["../../src/Ledger/TxHash.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAY,MAAM,EAAE,MAAM,QAAQ,CAAA;AACjD,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAA;AAEvC,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,MAAM,CAEpD;AAED,eAAO,MAAM,MAAM,6DAGlB,CAAA;AAED,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,MAAM,CAAC,CAAA;AAEtD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wEAUxB,CAAA;AAED,wBAAgB,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,kHAEzC;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAOrE,CAAA;AAEH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAE7C"}
|
package/types/Ledger/TxId.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { Effect, Schema } from "effect";
|
|
2
|
-
import * as Bytes from "../internal/Bytes.js";
|
|
3
|
-
import * as Cbor from "../Cbor.js";
|
|
4
|
-
import { Data } from "../Uplc";
|
|
5
|
-
export declare function isValid(txId: string): txId is TxId;
|
|
6
|
-
export declare const TxId: Schema.brand<Schema.filter<typeof Schema.String>, "TxId">;
|
|
7
|
-
export type TxId = Schema.Schema.Type<typeof TxId>;
|
|
8
|
-
export declare const FromUplcData: Schema.transform<Schema.transformOrFail<Schema.SchemaClass<{
|
|
9
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
10
|
-
} | {
|
|
11
|
-
readonly int: bigint;
|
|
12
|
-
} | {
|
|
13
|
-
readonly list: readonly Data.Data[];
|
|
14
|
-
} | {
|
|
15
|
-
readonly map: readonly {
|
|
16
|
-
readonly k: Data.Data;
|
|
17
|
-
readonly v: Data.Data;
|
|
18
|
-
}[];
|
|
19
|
-
} | {
|
|
20
|
-
readonly fields: readonly Data.Data[];
|
|
21
|
-
readonly constructor: number;
|
|
22
|
-
}, {
|
|
23
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
24
|
-
} | {
|
|
25
|
-
readonly int: bigint;
|
|
26
|
-
} | {
|
|
27
|
-
readonly list: readonly Data.Data[];
|
|
28
|
-
} | {
|
|
29
|
-
readonly map: readonly {
|
|
30
|
-
readonly k: Data.Data;
|
|
31
|
-
readonly v: Data.Data;
|
|
32
|
-
}[];
|
|
33
|
-
} | {
|
|
34
|
-
readonly fields: readonly Data.Data[];
|
|
35
|
-
readonly constructor: number;
|
|
36
|
-
}, never>, Schema.Struct<{
|
|
37
|
-
bytes: Schema.transformOrFail<Schema.SchemaClass<{
|
|
38
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
39
|
-
} | {
|
|
40
|
-
readonly int: bigint;
|
|
41
|
-
} | {
|
|
42
|
-
readonly list: readonly Data.Data[];
|
|
43
|
-
} | {
|
|
44
|
-
readonly map: readonly {
|
|
45
|
-
readonly k: Data.Data;
|
|
46
|
-
readonly v: Data.Data;
|
|
47
|
-
}[];
|
|
48
|
-
} | {
|
|
49
|
-
readonly fields: readonly Data.Data[];
|
|
50
|
-
readonly constructor: number;
|
|
51
|
-
}, {
|
|
52
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
53
|
-
} | {
|
|
54
|
-
readonly int: bigint;
|
|
55
|
-
} | {
|
|
56
|
-
readonly list: readonly Data.Data[];
|
|
57
|
-
} | {
|
|
58
|
-
readonly map: readonly {
|
|
59
|
-
readonly k: Data.Data;
|
|
60
|
-
readonly v: Data.Data;
|
|
61
|
-
}[];
|
|
62
|
-
} | {
|
|
63
|
-
readonly fields: readonly Data.Data[];
|
|
64
|
-
readonly constructor: number;
|
|
65
|
-
}, never>, typeof Schema.Uint8ArrayFromSelf, never>;
|
|
66
|
-
}>, never>, Schema.brand<Schema.filter<typeof Schema.String>, "TxId">>;
|
|
67
|
-
export declare function make(txId: Bytes.BytesLike): Effect.Effect<string & import("effect/Brand").Brand<"TxId">, import("effect/ParseResult").ParseError, never>;
|
|
68
|
-
export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<TxId>;
|
|
69
|
-
export declare function encode(txId: TxId): number[];
|
|
70
|
-
//# sourceMappingURL=TxId.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TxId.d.ts","sourceRoot":"","sources":["../../src/Ledger/TxId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAY,MAAM,EAAE,MAAM,QAAQ,CAAA;AACjD,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,IAAI,IAAI,CAElD;AAED,eAAO,MAAM,IAAI,2DAGhB,CAAA;AAED,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAA;AAElD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sEAUxB,CAAA;AAED,wBAAgB,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,SAAS,gHAEzC;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAOnE,CAAA;AAEH,wBAAgB,MAAM,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,EAAE,CAE3C"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import * as Bytes from "../internal/Bytes.js";
|
|
3
|
-
import * as Cbor from "../Cbor.js";
|
|
4
|
-
import * as TxOutput from "./TxOutput.js";
|
|
5
|
-
import * as TxOutputId from "./TxOutputId.js";
|
|
6
|
-
export declare const TxInput: Schema.TaggedStruct<"TxInput", {
|
|
7
|
-
id: Schema.transform<typeof Schema.String, Schema.brand<Schema.filter<typeof Schema.String>, "TxOutputId">>;
|
|
8
|
-
output: Schema.optional<Schema.TaggedStruct<"TxOutput", {
|
|
9
|
-
address: Schema.brand<Schema.filter<typeof Schema.String>, "Address">;
|
|
10
|
-
assets: Schema.filter<Schema.Record$<typeof Schema.String, typeof Schema.BigIntFromSelf>>;
|
|
11
|
-
datum: Schema.optional<Schema.Union<[Schema.TaggedStruct<"Inline", {
|
|
12
|
-
data: Schema.SchemaClass<{
|
|
13
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
14
|
-
} | {
|
|
15
|
-
readonly int: bigint;
|
|
16
|
-
} | {
|
|
17
|
-
readonly list: readonly import("../Uplc/Data.js").Data[];
|
|
18
|
-
} | {
|
|
19
|
-
readonly map: readonly {
|
|
20
|
-
readonly k: import("../Uplc/Data.js").Data;
|
|
21
|
-
readonly v: import("../Uplc/Data.js").Data;
|
|
22
|
-
}[];
|
|
23
|
-
} | {
|
|
24
|
-
readonly fields: readonly import("../Uplc/Data.js").Data[];
|
|
25
|
-
readonly constructor: number;
|
|
26
|
-
}, {
|
|
27
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
28
|
-
} | {
|
|
29
|
-
readonly int: bigint;
|
|
30
|
-
} | {
|
|
31
|
-
readonly list: readonly import("../Uplc/Data.js").Data[];
|
|
32
|
-
} | {
|
|
33
|
-
readonly map: readonly {
|
|
34
|
-
readonly k: import("../Uplc/Data.js").Data;
|
|
35
|
-
readonly v: import("../Uplc/Data.js").Data;
|
|
36
|
-
}[];
|
|
37
|
-
} | {
|
|
38
|
-
readonly fields: readonly import("../Uplc/Data.js").Data[];
|
|
39
|
-
readonly constructor: number;
|
|
40
|
-
}, never>;
|
|
41
|
-
}>, Schema.TaggedStruct<"Hash", {
|
|
42
|
-
hash: Schema.brand<Schema.filter<typeof Schema.String>, "DatumHash">;
|
|
43
|
-
}>]>>;
|
|
44
|
-
refScript: Schema.optional<typeof Schema.Uint8ArrayFromSelf>;
|
|
45
|
-
encodingConfig: Schema.Struct<{
|
|
46
|
-
strictBabbage: Schema.optional<typeof Schema.Boolean>;
|
|
47
|
-
}>;
|
|
48
|
-
}>>;
|
|
49
|
-
}>;
|
|
50
|
-
export type TxInput = Schema.Schema.Type<typeof TxInput>;
|
|
51
|
-
export declare function make(id: TxOutputId.TxOutputId, output?: TxOutput.TxOutput | undefined): TxInput;
|
|
52
|
-
export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<TxInput>;
|
|
53
|
-
export declare function encode(txInput: TxInput, full?: boolean): number[];
|
|
54
|
-
export declare function output(txInput: TxInput): TxOutput.TxOutput;
|
|
55
|
-
//# sourceMappingURL=TxInput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TxInput.d.ts","sourceRoot":"","sources":["../../src/Ledger/TxInput.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAE7C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGlB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,OAAO,CAAC,CAAA;AAExD,wBAAgB,IAAI,CAClB,EAAE,EAAE,UAAU,CAAC,UAAU,EACzB,MAAM,GAAE,QAAQ,CAAC,QAAQ,GAAG,SAAqB,GAChD,OAAO,CAMT;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAsBrE,CAAA;AAEJ,wBAAgB,MAAM,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,GAAE,OAAe,YAS7D;AAED,wBAAgB,MAAM,CAAC,OAAO,EAAE,OAAO,GAAG,QAAQ,CAAC,QAAQ,CAM1D"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import * as Bytes from "../internal/Bytes.js";
|
|
3
|
-
import * as Cbor from "../Cbor.js";
|
|
4
|
-
import * as Address from "./Address.js";
|
|
5
|
-
import * as Assets from "./Assets.js";
|
|
6
|
-
import * as TxOutputDatum from "./TxOutputDatum.js";
|
|
7
|
-
export declare const TxOutputEncodingConfig: Schema.Struct<{
|
|
8
|
-
strictBabbage: Schema.optional<typeof Schema.Boolean>;
|
|
9
|
-
}>;
|
|
10
|
-
export type TxOutputEncodingConfig = Schema.Schema.Type<typeof TxOutputEncodingConfig>;
|
|
11
|
-
export declare const DEFAULT_TX_OUTPUT_ENCODING_CONFIG: TxOutputEncodingConfig;
|
|
12
|
-
export declare const TxOutput: Schema.Struct<{
|
|
13
|
-
address: Schema.brand<Schema.filter<typeof Schema.String>, "Address">;
|
|
14
|
-
assets: Schema.filter<Schema.Record$<typeof Schema.String, typeof Schema.BigIntFromSelf>>;
|
|
15
|
-
datum: Schema.optional<Schema.Union<[Schema.TaggedStruct<"Inline", {
|
|
16
|
-
data: Schema.SchemaClass<{
|
|
17
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
18
|
-
} | {
|
|
19
|
-
readonly int: bigint;
|
|
20
|
-
} | {
|
|
21
|
-
readonly list: readonly import("../Uplc/Data.js").Data[];
|
|
22
|
-
} | {
|
|
23
|
-
readonly map: readonly {
|
|
24
|
-
readonly k: import("../Uplc/Data.js").Data;
|
|
25
|
-
readonly v: import("../Uplc/Data.js").Data;
|
|
26
|
-
}[];
|
|
27
|
-
} | {
|
|
28
|
-
readonly fields: readonly import("../Uplc/Data.js").Data[];
|
|
29
|
-
readonly constructor: number;
|
|
30
|
-
}, {
|
|
31
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
32
|
-
} | {
|
|
33
|
-
readonly int: bigint;
|
|
34
|
-
} | {
|
|
35
|
-
readonly list: readonly import("../Uplc/Data.js").Data[];
|
|
36
|
-
} | {
|
|
37
|
-
readonly map: readonly {
|
|
38
|
-
readonly k: import("../Uplc/Data.js").Data;
|
|
39
|
-
readonly v: import("../Uplc/Data.js").Data;
|
|
40
|
-
}[];
|
|
41
|
-
} | {
|
|
42
|
-
readonly fields: readonly import("../Uplc/Data.js").Data[];
|
|
43
|
-
readonly constructor: number;
|
|
44
|
-
}, never>;
|
|
45
|
-
}>, Schema.TaggedStruct<"Hash", {
|
|
46
|
-
hash: Schema.brand<Schema.filter<typeof Schema.String>, "DatumHash">;
|
|
47
|
-
}>]>>;
|
|
48
|
-
refScript: Schema.optional<typeof Schema.Uint8ArrayFromSelf>;
|
|
49
|
-
encodingConfig: Schema.optional<Schema.Struct<{
|
|
50
|
-
strictBabbage: Schema.optional<typeof Schema.Boolean>;
|
|
51
|
-
}>>;
|
|
52
|
-
}>;
|
|
53
|
-
export type TxOutput = Schema.Schema.Type<typeof TxOutput>;
|
|
54
|
-
export declare function make({ address, assets, datum, refScript, encodingConfig }: {
|
|
55
|
-
address: Address.Address;
|
|
56
|
-
assets: Assets.Assets;
|
|
57
|
-
datum?: TxOutputDatum.TxOutputDatum;
|
|
58
|
-
refScript?: Uint8Array;
|
|
59
|
-
encodingConfig?: TxOutputEncodingConfig;
|
|
60
|
-
}): TxOutput;
|
|
61
|
-
export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<TxOutput>;
|
|
62
|
-
export declare function encode(txOutput: TxOutput): number[];
|
|
63
|
-
//# sourceMappingURL=TxOutput.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TxOutput.d.ts","sourceRoot":"","sources":["../../src/Ledger/TxOutput.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAErC,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AAEnD,eAAO,MAAM,sBAAsB;;EAEjC,CAAA;AAEF,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CACrD,OAAO,sBAAsB,CAC9B,CAAA;AAED,eAAO,MAAM,iCAAiC,EAAE,sBAE/C,CAAA;AAGD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQnB,CAAA;AAEF,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,QAAQ,CAAC,CAAA;AAE1D,wBAAgB,IAAI,CAAC,EACnB,OAAO,EACP,MAAM,EACN,KAAiB,EACjB,SAAqB,EACrB,cAAkD,EACnD,EAAE;IACD,OAAO,EAAE,OAAO,CAAC,OAAO,CAAA;IACxB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,aAAa,CAAC,aAAa,CAAA;IACnC,SAAS,CAAC,EAAE,UAAU,CAAA;IACtB,cAAc,CAAC,EAAE,sBAAsB,CAAA;CACxC,GAAG,QAAQ,CAQX;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CA0DtE,CAAA;AAEJ,wBAAgB,MAAM,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM,EAAE,CAiDnD"}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import * as Bytes from "../internal/Bytes.js";
|
|
3
|
-
import * as Cbor from "../Cbor.js";
|
|
4
|
-
import { Data } from "../Uplc";
|
|
5
|
-
export declare const TxOutputDatum: Schema.Union<[Schema.TaggedStruct<"Inline", {
|
|
6
|
-
data: Schema.SchemaClass<{
|
|
7
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
8
|
-
} | {
|
|
9
|
-
readonly int: bigint;
|
|
10
|
-
} | {
|
|
11
|
-
readonly list: readonly Data.Data[];
|
|
12
|
-
} | {
|
|
13
|
-
readonly map: readonly {
|
|
14
|
-
readonly k: Data.Data;
|
|
15
|
-
readonly v: Data.Data;
|
|
16
|
-
}[];
|
|
17
|
-
} | {
|
|
18
|
-
readonly fields: readonly Data.Data[];
|
|
19
|
-
readonly constructor: number;
|
|
20
|
-
}, {
|
|
21
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
22
|
-
} | {
|
|
23
|
-
readonly int: bigint;
|
|
24
|
-
} | {
|
|
25
|
-
readonly list: readonly Data.Data[];
|
|
26
|
-
} | {
|
|
27
|
-
readonly map: readonly {
|
|
28
|
-
readonly k: Data.Data;
|
|
29
|
-
readonly v: Data.Data;
|
|
30
|
-
}[];
|
|
31
|
-
} | {
|
|
32
|
-
readonly fields: readonly Data.Data[];
|
|
33
|
-
readonly constructor: number;
|
|
34
|
-
}, never>;
|
|
35
|
-
}>, Schema.TaggedStruct<"Hash", {
|
|
36
|
-
hash: Schema.brand<Schema.filter<typeof Schema.String>, "DatumHash">;
|
|
37
|
-
}>]>;
|
|
38
|
-
export type TxOutputDatum = Schema.Schema.Type<typeof TxOutputDatum>;
|
|
39
|
-
export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<TxOutputDatum>;
|
|
40
|
-
export declare function encode(txOutputDatum: TxOutputDatum): number[];
|
|
41
|
-
//# sourceMappingURL=TxOutputDatum.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TxOutputDatum.d.ts","sourceRoot":"","sources":["../../src/Ledger/TxOutputDatum.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAG9B,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAGzB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAA;AAEpE,eAAO,MAAM,MAAM,GACjB,OAAO,KAAK,CAAC,SAAS,KACrB,IAAI,CAAC,YAAY,CAAC,aAAa,CA+B9B,CAAA;AAEJ,wBAAgB,MAAM,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,EAAE,CAe7D"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import * as Bytes from "../internal/Bytes.js";
|
|
3
|
-
import * as Cbor from "../Cbor.js";
|
|
4
|
-
import * as Uplc from "../Uplc";
|
|
5
|
-
import * as TxId from "./TxId.js";
|
|
6
|
-
export declare function isValid(txOutputId: string): txOutputId is TxOutputId;
|
|
7
|
-
export declare const TxOutputId: Schema.transform<typeof Schema.String, Schema.brand<Schema.filter<typeof Schema.String>, "TxOutputId">>;
|
|
8
|
-
export type TxOutputId = Schema.Schema.Type<typeof TxOutputId>;
|
|
9
|
-
export declare function make(txId: TxId.TxId, utxoIdx: number | bigint): TxOutputId;
|
|
10
|
-
export declare const FromUplcData: Schema.transform<Schema.transformOrFail<Schema.SchemaClass<{
|
|
11
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
12
|
-
} | {
|
|
13
|
-
readonly int: bigint;
|
|
14
|
-
} | {
|
|
15
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
16
|
-
} | {
|
|
17
|
-
readonly map: readonly {
|
|
18
|
-
readonly k: Uplc.Data.Data;
|
|
19
|
-
readonly v: Uplc.Data.Data;
|
|
20
|
-
}[];
|
|
21
|
-
} | {
|
|
22
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
23
|
-
readonly constructor: number;
|
|
24
|
-
}, {
|
|
25
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
26
|
-
} | {
|
|
27
|
-
readonly int: bigint;
|
|
28
|
-
} | {
|
|
29
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
30
|
-
} | {
|
|
31
|
-
readonly map: readonly {
|
|
32
|
-
readonly k: Uplc.Data.Data;
|
|
33
|
-
readonly v: Uplc.Data.Data;
|
|
34
|
-
}[];
|
|
35
|
-
} | {
|
|
36
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
37
|
-
readonly constructor: number;
|
|
38
|
-
}, never>, Schema.Struct<{
|
|
39
|
-
txId: Schema.transform<Schema.transformOrFail<Schema.SchemaClass<{
|
|
40
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
41
|
-
} | {
|
|
42
|
-
readonly int: bigint;
|
|
43
|
-
} | {
|
|
44
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
45
|
-
} | {
|
|
46
|
-
readonly map: readonly {
|
|
47
|
-
readonly k: Uplc.Data.Data;
|
|
48
|
-
readonly v: Uplc.Data.Data;
|
|
49
|
-
}[];
|
|
50
|
-
} | {
|
|
51
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
52
|
-
readonly constructor: number;
|
|
53
|
-
}, {
|
|
54
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
55
|
-
} | {
|
|
56
|
-
readonly int: bigint;
|
|
57
|
-
} | {
|
|
58
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
59
|
-
} | {
|
|
60
|
-
readonly map: readonly {
|
|
61
|
-
readonly k: Uplc.Data.Data;
|
|
62
|
-
readonly v: Uplc.Data.Data;
|
|
63
|
-
}[];
|
|
64
|
-
} | {
|
|
65
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
66
|
-
readonly constructor: number;
|
|
67
|
-
}, never>, Schema.Struct<{
|
|
68
|
-
bytes: Schema.transformOrFail<Schema.SchemaClass<{
|
|
69
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
70
|
-
} | {
|
|
71
|
-
readonly int: bigint;
|
|
72
|
-
} | {
|
|
73
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
74
|
-
} | {
|
|
75
|
-
readonly map: readonly {
|
|
76
|
-
readonly k: Uplc.Data.Data;
|
|
77
|
-
readonly v: Uplc.Data.Data;
|
|
78
|
-
}[];
|
|
79
|
-
} | {
|
|
80
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
81
|
-
readonly constructor: number;
|
|
82
|
-
}, {
|
|
83
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
84
|
-
} | {
|
|
85
|
-
readonly int: bigint;
|
|
86
|
-
} | {
|
|
87
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
88
|
-
} | {
|
|
89
|
-
readonly map: readonly {
|
|
90
|
-
readonly k: Uplc.Data.Data;
|
|
91
|
-
readonly v: Uplc.Data.Data;
|
|
92
|
-
}[];
|
|
93
|
-
} | {
|
|
94
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
95
|
-
readonly constructor: number;
|
|
96
|
-
}, never>, typeof Schema.Uint8ArrayFromSelf, never>;
|
|
97
|
-
}>, never>, Schema.brand<Schema.filter<typeof Schema.String>, "TxId">>;
|
|
98
|
-
utxoIdx: Schema.transformOrFail<Schema.SchemaClass<{
|
|
99
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
100
|
-
} | {
|
|
101
|
-
readonly int: bigint;
|
|
102
|
-
} | {
|
|
103
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
104
|
-
} | {
|
|
105
|
-
readonly map: readonly {
|
|
106
|
-
readonly k: Uplc.Data.Data;
|
|
107
|
-
readonly v: Uplc.Data.Data;
|
|
108
|
-
}[];
|
|
109
|
-
} | {
|
|
110
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
111
|
-
readonly constructor: number;
|
|
112
|
-
}, {
|
|
113
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
114
|
-
} | {
|
|
115
|
-
readonly int: bigint;
|
|
116
|
-
} | {
|
|
117
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
118
|
-
} | {
|
|
119
|
-
readonly map: readonly {
|
|
120
|
-
readonly k: Uplc.Data.Data;
|
|
121
|
-
readonly v: Uplc.Data.Data;
|
|
122
|
-
}[];
|
|
123
|
-
} | {
|
|
124
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
125
|
-
readonly constructor: number;
|
|
126
|
-
}, never>, typeof Schema.Int, never>;
|
|
127
|
-
}>, never>, Schema.transform<typeof Schema.String, Schema.brand<Schema.filter<typeof Schema.String>, "TxOutputId">>>;
|
|
128
|
-
export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<TxOutputId>;
|
|
129
|
-
export declare function encode(txOutputId: TxOutputId): number[];
|
|
130
|
-
export declare function pretty(txOutputId: TxOutputId): string;
|
|
131
|
-
export declare function txId(txOutputId: TxOutputId): TxId.TxId;
|
|
132
|
-
export declare function utxoIdx(txOutputId: TxOutputId): number;
|
|
133
|
-
//# sourceMappingURL=TxOutputId.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TxOutputId.d.ts","sourceRoot":"","sources":["../../src/Ledger/TxOutputId.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,KAAK,IAAI,MAAM,SAAS,CAAA;AAC/B,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AAEjC,wBAAgB,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,IAAI,UAAU,CAcpE;AAED,eAAO,MAAM,UAAU,yGAWtB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAA;AAE9D,wBAAgB,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,UAAU,CAE1E;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oHAkBxB,CAAA;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,UAAU,CAGzE,CAAA;AAEH,wBAAgB,MAAM,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,EAAE,CAKvD;AAED,wBAAgB,MAAM,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAErD;AAED,wBAAgB,IAAI,CAAC,UAAU,EAAE,UAAU,GAAG,IAAI,CAAC,IAAI,CAEtD;AAED,wBAAgB,OAAO,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,CAEtD"}
|
package/types/Ledger/UTxO.d.ts
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import * as Bytes from "../internal/Bytes.js";
|
|
3
|
-
import * as Cbor from "../Cbor.js";
|
|
4
|
-
import * as TxOutput from "./TxOutput.js";
|
|
5
|
-
import * as UTxORef from "./UTxORef.js";
|
|
6
|
-
export declare const UTxO: Schema.Struct<{
|
|
7
|
-
ref: Schema.transform<typeof Schema.String, Schema.brand<Schema.filter<typeof Schema.String>, "UTxORef">>;
|
|
8
|
-
output: Schema.Struct<{
|
|
9
|
-
address: Schema.brand<Schema.filter<typeof Schema.String>, "Address">;
|
|
10
|
-
assets: Schema.filter<Schema.Record$<typeof Schema.String, typeof Schema.BigIntFromSelf>>;
|
|
11
|
-
datum: Schema.optional<Schema.Union<[Schema.TaggedStruct<"Inline", {
|
|
12
|
-
data: Schema.SchemaClass<{
|
|
13
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
14
|
-
} | {
|
|
15
|
-
readonly int: bigint;
|
|
16
|
-
} | {
|
|
17
|
-
readonly list: readonly import("../Uplc/Data.js").Data[];
|
|
18
|
-
} | {
|
|
19
|
-
readonly map: readonly {
|
|
20
|
-
readonly k: import("../Uplc/Data.js").Data;
|
|
21
|
-
readonly v: import("../Uplc/Data.js").Data;
|
|
22
|
-
}[];
|
|
23
|
-
} | {
|
|
24
|
-
readonly fields: readonly import("../Uplc/Data.js").Data[];
|
|
25
|
-
readonly constructor: number;
|
|
26
|
-
}, {
|
|
27
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
28
|
-
} | {
|
|
29
|
-
readonly int: bigint;
|
|
30
|
-
} | {
|
|
31
|
-
readonly list: readonly import("../Uplc/Data.js").Data[];
|
|
32
|
-
} | {
|
|
33
|
-
readonly map: readonly {
|
|
34
|
-
readonly k: import("../Uplc/Data.js").Data;
|
|
35
|
-
readonly v: import("../Uplc/Data.js").Data;
|
|
36
|
-
}[];
|
|
37
|
-
} | {
|
|
38
|
-
readonly fields: readonly import("../Uplc/Data.js").Data[];
|
|
39
|
-
readonly constructor: number;
|
|
40
|
-
}, never>;
|
|
41
|
-
}>, Schema.TaggedStruct<"Hash", {
|
|
42
|
-
hash: Schema.brand<Schema.filter<typeof Schema.String>, "DatumHash">;
|
|
43
|
-
}>]>>;
|
|
44
|
-
refScript: Schema.optional<typeof Schema.Uint8ArrayFromSelf>;
|
|
45
|
-
encodingConfig: Schema.optional<Schema.Struct<{
|
|
46
|
-
strictBabbage: Schema.optional<typeof Schema.Boolean>;
|
|
47
|
-
}>>;
|
|
48
|
-
}>;
|
|
49
|
-
}>;
|
|
50
|
-
export type UTxO = Schema.Schema.Type<typeof UTxO>;
|
|
51
|
-
export declare function make(ref: UTxORef.UTxORef, output: TxOutput.TxOutput): UTxO;
|
|
52
|
-
export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<UTxO | UTxORef.UTxORef>;
|
|
53
|
-
export declare const decodeFull: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<UTxO>;
|
|
54
|
-
export declare function encode(txInput: UTxO, full?: boolean): number[];
|
|
55
|
-
//# sourceMappingURL=UTxO.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UTxO.d.ts","sourceRoot":"","sources":["../../src/Ledger/UTxO.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AAEvC,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGf,CAAA;AAEF,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAA;AAElD,wBAAgB,IAAI,CAClB,GAAG,EAAE,OAAO,CAAC,OAAO,EACpB,MAAM,EAAE,QAAQ,CAAC,QAAQ,GACxB,IAAI,CAKN;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,IAAI,GAAG,OAAO,CAAC,OAAO,CAepF,CAAA;AAEJ,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,IAAI,CAGR,CAAA;AAElE,wBAAgB,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,GAAE,OAAe,YAS1D"}
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
import { Schema } from "effect";
|
|
2
|
-
import * as Bytes from "../internal/Bytes.js";
|
|
3
|
-
import * as Cbor from "../Cbor.js";
|
|
4
|
-
import * as Uplc from "../Uplc/index.js";
|
|
5
|
-
import * as TxHash from "./TxHash.js";
|
|
6
|
-
export declare function isValid(ref: string): ref is UTxORef;
|
|
7
|
-
export declare const UTxORef: Schema.transform<typeof Schema.String, Schema.brand<Schema.filter<typeof Schema.String>, "UTxORef">>;
|
|
8
|
-
export type UTxORef = Schema.Schema.Type<typeof UTxORef>;
|
|
9
|
-
export declare function make(txHash: TxHash.TxHash, index: number | bigint): UTxORef;
|
|
10
|
-
export declare const FromUplcData: Schema.transform<Schema.transformOrFail<Schema.SchemaClass<{
|
|
11
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
12
|
-
} | {
|
|
13
|
-
readonly int: bigint;
|
|
14
|
-
} | {
|
|
15
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
16
|
-
} | {
|
|
17
|
-
readonly map: readonly {
|
|
18
|
-
readonly k: Uplc.Data.Data;
|
|
19
|
-
readonly v: Uplc.Data.Data;
|
|
20
|
-
}[];
|
|
21
|
-
} | {
|
|
22
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
23
|
-
readonly constructor: number;
|
|
24
|
-
}, {
|
|
25
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
26
|
-
} | {
|
|
27
|
-
readonly int: bigint;
|
|
28
|
-
} | {
|
|
29
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
30
|
-
} | {
|
|
31
|
-
readonly map: readonly {
|
|
32
|
-
readonly k: Uplc.Data.Data;
|
|
33
|
-
readonly v: Uplc.Data.Data;
|
|
34
|
-
}[];
|
|
35
|
-
} | {
|
|
36
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
37
|
-
readonly constructor: number;
|
|
38
|
-
}, never>, Schema.Struct<{
|
|
39
|
-
txHash: Schema.transform<Schema.transformOrFail<Schema.SchemaClass<{
|
|
40
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
41
|
-
} | {
|
|
42
|
-
readonly int: bigint;
|
|
43
|
-
} | {
|
|
44
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
45
|
-
} | {
|
|
46
|
-
readonly map: readonly {
|
|
47
|
-
readonly k: Uplc.Data.Data;
|
|
48
|
-
readonly v: Uplc.Data.Data;
|
|
49
|
-
}[];
|
|
50
|
-
} | {
|
|
51
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
52
|
-
readonly constructor: number;
|
|
53
|
-
}, {
|
|
54
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
55
|
-
} | {
|
|
56
|
-
readonly int: bigint;
|
|
57
|
-
} | {
|
|
58
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
59
|
-
} | {
|
|
60
|
-
readonly map: readonly {
|
|
61
|
-
readonly k: Uplc.Data.Data;
|
|
62
|
-
readonly v: Uplc.Data.Data;
|
|
63
|
-
}[];
|
|
64
|
-
} | {
|
|
65
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
66
|
-
readonly constructor: number;
|
|
67
|
-
}, never>, Schema.Struct<{
|
|
68
|
-
bytes: Schema.transformOrFail<Schema.SchemaClass<{
|
|
69
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
70
|
-
} | {
|
|
71
|
-
readonly int: bigint;
|
|
72
|
-
} | {
|
|
73
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
74
|
-
} | {
|
|
75
|
-
readonly map: readonly {
|
|
76
|
-
readonly k: Uplc.Data.Data;
|
|
77
|
-
readonly v: Uplc.Data.Data;
|
|
78
|
-
}[];
|
|
79
|
-
} | {
|
|
80
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
81
|
-
readonly constructor: number;
|
|
82
|
-
}, {
|
|
83
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
84
|
-
} | {
|
|
85
|
-
readonly int: bigint;
|
|
86
|
-
} | {
|
|
87
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
88
|
-
} | {
|
|
89
|
-
readonly map: readonly {
|
|
90
|
-
readonly k: Uplc.Data.Data;
|
|
91
|
-
readonly v: Uplc.Data.Data;
|
|
92
|
-
}[];
|
|
93
|
-
} | {
|
|
94
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
95
|
-
readonly constructor: number;
|
|
96
|
-
}, never>, typeof Schema.Uint8ArrayFromSelf, never>;
|
|
97
|
-
}>, never>, Schema.brand<Schema.filter<typeof Schema.String>, "TxHash">>;
|
|
98
|
-
index: Schema.transformOrFail<Schema.SchemaClass<{
|
|
99
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
100
|
-
} | {
|
|
101
|
-
readonly int: bigint;
|
|
102
|
-
} | {
|
|
103
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
104
|
-
} | {
|
|
105
|
-
readonly map: readonly {
|
|
106
|
-
readonly k: Uplc.Data.Data;
|
|
107
|
-
readonly v: Uplc.Data.Data;
|
|
108
|
-
}[];
|
|
109
|
-
} | {
|
|
110
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
111
|
-
readonly constructor: number;
|
|
112
|
-
}, {
|
|
113
|
-
readonly bytes: Uint8Array<ArrayBufferLike>;
|
|
114
|
-
} | {
|
|
115
|
-
readonly int: bigint;
|
|
116
|
-
} | {
|
|
117
|
-
readonly list: readonly Uplc.Data.Data[];
|
|
118
|
-
} | {
|
|
119
|
-
readonly map: readonly {
|
|
120
|
-
readonly k: Uplc.Data.Data;
|
|
121
|
-
readonly v: Uplc.Data.Data;
|
|
122
|
-
}[];
|
|
123
|
-
} | {
|
|
124
|
-
readonly fields: readonly Uplc.Data.Data[];
|
|
125
|
-
readonly constructor: number;
|
|
126
|
-
}, never>, typeof Schema.Int, never>;
|
|
127
|
-
}>, never>, Schema.transform<typeof Schema.String, Schema.brand<Schema.filter<typeof Schema.String>, "UTxORef">>>;
|
|
128
|
-
export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeEffect<UTxORef>;
|
|
129
|
-
export declare function encode(ref: UTxORef): number[];
|
|
130
|
-
export declare function pretty(ref: UTxORef): string;
|
|
131
|
-
export declare function txHash(ref: UTxORef): TxHash.TxHash;
|
|
132
|
-
export declare function index(ref: UTxORef): number;
|
|
133
|
-
//# sourceMappingURL=UTxORef.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UTxORef.d.ts","sourceRoot":"","sources":["../../src/Ledger/UTxORef.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,MAAM,EAAE,MAAM,QAAQ,CAAA;AACvC,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAA;AAClC,OAAO,KAAK,IAAI,MAAM,kBAAkB,CAAA;AACxC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AAErC,wBAAgB,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,IAAI,OAAO,CAanD;AAED,eAAO,MAAM,OAAO,sGAWnB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,OAAO,CAAC,CAAA;AAExD,wBAAgB,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAE3E;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iHAkBxB,CAAA;AAED,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,IAAI,CAAC,YAAY,CAAC,OAAO,CAGtE,CAAA;AAEH,wBAAgB,MAAM,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,EAAE,CAK7C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAE3C;AAED,wBAAgB,MAAM,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,CAElD;AAED,wBAAgB,KAAK,CAAC,GAAG,EAAE,OAAO,GAAG,MAAM,CAE1C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ValidatorHash.d.ts","sourceRoot":"","sources":["../../src/Ledger/ValidatorHash.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAY,MAAM,EAAE,MAAM,QAAQ,CAAA;AACjD,OAAO,KAAK,KAAK,MAAM,sBAAsB,CAAA;AAC7C,OAAO,EAAe,YAAY,EAAe,MAAM,YAAY,CAAA;AACnE,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;AAE9B,wBAAgB,OAAO,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAE3C;AAED,eAAO,MAAM,aAAa,oEAGzB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAA;AAEpE,wBAAgB,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,SAAS,yHAE1C;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;wHAIvB,CAAA;AAEF,eAAO,MAAM,MAAM,GAAI,OAAO,KAAK,CAAC,SAAS,KAAG,YAAY,CAAC,aAAa,CAKvE,CAAA;AAEH,wBAAgB,MAAM,CAAC,EAAE,EAAE,aAAa,GAAG,MAAM,EAAE,CAElD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Ledger/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA;AACjC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IsMainnet.d.ts","sourceRoot":"","sources":["../../src/Network/IsMainnet.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;;AAEhC,qBAAa,SAAU,SAAQ,cAG5B;CAAG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../src/Network/Params.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEhD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE/D;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;EAoBjB,CAAA;AAEF,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,MAAM,CAAC,CAAA;8EAI9C,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,eAAe,GAAG,gBAAgB,EAAE,KAAK,CAAC;AAFxE,qBAAa,KAAM,SAAQ,UAGxB;CAAG"}
|