@meshsdk/common 1.9.0-beta.4 → 1.9.0-beta.41

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/index.d.cts CHANGED
@@ -112,6 +112,10 @@ type DataSignature = {
112
112
 
113
113
  type Era = "ALONZO" | "BABBAGE";
114
114
 
115
+ type Extension = {
116
+ cip: number;
117
+ };
118
+
115
119
  type Message = {
116
120
  payload: string;
117
121
  externalAAD?: string;
@@ -216,6 +220,23 @@ declare const castProtocol: (data: Partial<Record<keyof Protocol, any>>) => Prot
216
220
 
217
221
  type Token = keyof typeof SUPPORTED_TOKENS;
218
222
 
223
+ type TxOutput = {
224
+ address: string;
225
+ amount: Asset[];
226
+ dataHash?: string;
227
+ plutusData?: string;
228
+ scriptRef?: string;
229
+ scriptHash?: string;
230
+ };
231
+
232
+ type UTxO = {
233
+ input: {
234
+ outputIndex: number;
235
+ txHash: string;
236
+ };
237
+ output: TxOutput;
238
+ };
239
+
219
240
  type TransactionInfo = {
220
241
  index: number;
221
242
  block: string;
@@ -226,21 +247,10 @@ type TransactionInfo = {
226
247
  deposit: string;
227
248
  invalidBefore: string;
228
249
  invalidAfter: string;
229
- };
230
-
231
- type UTxO = {
232
- input: {
233
- outputIndex: number;
234
- txHash: string;
235
- };
236
- output: {
237
- address: string;
238
- amount: Asset[];
239
- dataHash?: string;
240
- plutusData?: string;
241
- scriptRef?: string;
242
- scriptHash?: string;
243
- };
250
+ inputs: UTxO[];
251
+ outputs: UTxO[];
252
+ blockHeight?: number;
253
+ blockTime?: number;
244
254
  };
245
255
 
246
256
  type Wallet = {
@@ -416,6 +426,16 @@ type Anchor = {
416
426
  anchorDataHash: string;
417
427
  };
418
428
 
429
+ type MintParam = {
430
+ type: "Plutus" | "Native";
431
+ policyId: string;
432
+ mintValue: {
433
+ assetName: string;
434
+ amount: string;
435
+ }[];
436
+ redeemer?: Redeemer;
437
+ scriptSource?: ScriptSource | SimpleScriptSourceInfo;
438
+ };
419
439
  type MintItem = {
420
440
  type: "Plutus" | "Native";
421
441
  policyId: string;
@@ -472,7 +492,7 @@ type ScriptTxIn = {
472
492
  };
473
493
  declare const txInToUtxo: (txIn: TxInParameter) => UTxO;
474
494
 
475
- type Credential = {
495
+ type Credential$1 = {
476
496
  type: "ScriptHash";
477
497
  scriptHash: string;
478
498
  } | {
@@ -503,7 +523,7 @@ type VoteType = {
503
523
  };
504
524
  type Voter = {
505
525
  type: "ConstitutionalCommittee";
506
- hotCred: Credential;
526
+ hotCred: Credential$1;
507
527
  } | {
508
528
  type: "DRep";
509
529
  drepId: string;
@@ -540,10 +560,11 @@ type SimpleScriptWithdrawal = {
540
560
  type MeshTxBuilderBody = {
541
561
  inputs: TxIn[];
542
562
  outputs: Output[];
563
+ fee: Quantity;
543
564
  collaterals: PubKeyTxIn[];
544
565
  requiredSignatures: string[];
545
566
  referenceInputs: RefTxIn[];
546
- mints: MintItem[];
567
+ mints: MintParam[];
547
568
  changeAddress: string;
548
569
  metadata: TxMetadata;
549
570
  validityRange: ValidityRange;
@@ -559,10 +580,14 @@ type MeshTxBuilderBody = {
559
580
  };
560
581
  chainedTxs: string[];
561
582
  inputsForEvaluation: Record<string, UTxO>;
562
- fee?: string;
563
583
  network: Network | number[][];
584
+ expectedNumberKeyWitnesses: number;
585
+ expectedByronAddressWitnesses: string[];
586
+ totalCollateral?: Quantity;
587
+ collateralReturnAddress?: string;
564
588
  };
565
589
  declare const emptyTxBuilderBody: () => MeshTxBuilderBody;
590
+ declare function cloneTxBuilderBody(body: MeshTxBuilderBody): MeshTxBuilderBody;
566
591
  type ValidityRange = {
567
592
  invalidBefore?: number;
568
593
  invalidHereafter?: number;
@@ -665,7 +690,7 @@ type MTxOutRef = MConStr0<[MConStr0<[string]>, number]>;
665
690
  * Aiken alias
666
691
  * The Mesh Data tuple
667
692
  */
668
- type MTuple<K, V> = [K, V];
693
+ type MTuple<T extends any> = T[];
669
694
  /**
670
695
  * Aiken alias
671
696
  * The Mesh Data Option type
@@ -704,11 +729,10 @@ declare const mOutputReference: (txHash: string, index: number) => MOutputRefere
704
729
  declare const mTxOutRef: (txHash: string, index: number) => MTxOutRef;
705
730
  /**
706
731
  * The utility function to create a Mesh Data tuple in Mesh Data type
707
- * @param key The key of the tuple
708
- * @param value The value of the tuple
732
+ * @param args The arguments of the tuple
709
733
  * @returns The Mesh Data tuple object
710
734
  */
711
- declare const mTuple: <K, V>(key: K, value: V) => MTuple<K, V>;
735
+ declare const mTuple: <T extends any[]>(...args: T) => MTuple<T>;
712
736
  /**
713
737
  * The utility function to create a Mesh Data Option type in Mesh Data type
714
738
  * @param value The value of the option
@@ -727,18 +751,42 @@ declare const mSome: <T extends Data>(value: T) => MSome<T>;
727
751
  */
728
752
  declare const mNone: () => MNone;
729
753
 
754
+ /**
755
+ * The Mesh Data verification key
756
+ */
757
+ type MVerificationKey = MConStr0<[string]>;
758
+ /**
759
+ * The Mesh Data script key
760
+ */
761
+ type MScript = MConStr1<[string]>;
730
762
  /**
731
763
  * The Mesh Data staking credential
732
764
  */
733
- type MMaybeStakingHash = MConStr1<[]> | MConStr0<[MConStr0<[MConStr0<[string]>]>]> | MConStr0<[MConStr0<[MConStr1<[string]>]>]>;
765
+ type MMaybeStakingHash = MConStr1<[]> | MConStr0<[MConStr0<[MVerificationKey]>]> | MConStr0<[MConStr0<[MScript]>]>;
734
766
  /**
735
767
  * The Mesh Data public key address
736
768
  */
737
- type MPubKeyAddress = MConStr0<[MConStr0<[string]>, MMaybeStakingHash]>;
769
+ type MPubKeyAddress = MConStr0<[MVerificationKey, MMaybeStakingHash]>;
738
770
  /**
739
771
  * The Mesh Data script address
740
772
  */
741
- type MScriptAddress = MConStr0<[MConStr1<[string]>, MMaybeStakingHash]>;
773
+ type MScriptAddress = MConStr0<[MScript, MMaybeStakingHash]>;
774
+ /**
775
+ * The Mesh Data credential
776
+ */
777
+ type MCredential = MVerificationKey | MScript;
778
+ /**
779
+ * The utility function to create a Mesh Data verification key
780
+ * @param bytes The public key hash in hex
781
+ * @returns The Mesh Data verification key object
782
+ */
783
+ declare const mVerificationKey: (bytes: string) => MVerificationKey;
784
+ /**
785
+ * The utility function to create a Mesh Data script key
786
+ * @param bytes The script hash in hex
787
+ * @returns The Mesh Data script key object
788
+ */
789
+ declare const mScript: (bytes: string) => MScript;
742
790
  /**
743
791
  * The utility function to create a Mesh Data staking hash
744
792
  * @param stakeCredential The staking credential in hex
@@ -762,6 +810,13 @@ declare const mPubKeyAddress: (bytes: string, stakeCredential?: string, isStakeS
762
810
  * @returns The Mesh Data script address object
763
811
  */
764
812
  declare const mScriptAddress: (bytes: string, stakeCredential?: string, isStakeScriptCredential?: boolean) => MScriptAddress;
813
+ /**
814
+ * The utility function to create a Mesh Data credential
815
+ * @param hash The pub key hash or script hash
816
+ * @param isScriptCredential Indicate if the credential is script hash (false for pub key hash)
817
+ * @returns Mesh Data credential object
818
+ */
819
+ declare const mCredential: (hash: string, isScriptCredential?: boolean) => MCredential;
765
820
 
766
821
  /**
767
822
  * The Mesh Data boolean
@@ -878,11 +933,27 @@ type AssocMapItem<K, V> = {
878
933
  v: V;
879
934
  };
880
935
  /**
936
+ * PlutusTx alias
881
937
  * The Plutus Data association map in JSON
882
938
  */
883
939
  type AssocMap<K = any, V = any> = {
884
940
  map: AssocMapItem<K, V>[];
885
941
  };
942
+ /**
943
+ * Aiken alias
944
+ * The Plutus Data association map item in JSON
945
+ */
946
+ type Pair<K, V> = {
947
+ k: K;
948
+ v: V;
949
+ };
950
+ /**
951
+ * Aiken alias
952
+ * The Plutus Data association map in JSON
953
+ */
954
+ type Pairs<K = any, V = any> = {
955
+ map: Pair<K, V>[];
956
+ };
886
957
  /**
887
958
  * The utility function to create a Plutus Data boolean in JSON
888
959
  * @param b boolean value
@@ -933,6 +1004,13 @@ declare const plutusBSArrayToString: (bsArray: List<ByteString>) => string;
933
1004
  * @returns The Plutus Data association map object
934
1005
  */
935
1006
  declare const assocMap: <K, V>(mapItems: [K, V][], validation?: boolean) => AssocMap<K, V>;
1007
+ /**
1008
+ * The utility function to create a Plutus Data Pairs in JSON
1009
+ * @param mapItems The items map in array
1010
+ * @param validation Default true - If current data construction would perform validation (introducing this flag due to possible performance issue in loop validation)
1011
+ * @returns The Plutus Data Pairs object
1012
+ */
1013
+ declare const pairs: <K, V>(mapItems: [K, V][], validation?: boolean) => Pairs<K, V>;
936
1014
 
937
1015
  /**
938
1016
  * All the type aliases here represent the type name used in smart contracts from PlutusTx or Aiken.
@@ -1006,8 +1084,8 @@ type Dict<V> = {
1006
1084
  * Aiken alias
1007
1085
  * The Plutus Data tuple in JSON
1008
1086
  */
1009
- type Tuple<K, V> = {
1010
- list: [K, V];
1087
+ type Tuple<T extends any[]> = {
1088
+ list: T;
1011
1089
  };
1012
1090
  /**
1013
1091
  * Aiken alias
@@ -1041,7 +1119,7 @@ declare const scriptHash: (bytes: string) => ScriptHash;
1041
1119
  * @param bytes The script hash in hex
1042
1120
  * @returns The Plutus Data script hash object
1043
1121
  */
1044
- declare const pubKeyHash: (bytes: string) => ScriptHash;
1122
+ declare const pubKeyHash: (bytes: string) => PubKeyHash;
1045
1123
  /**
1046
1124
  * The utility function to create a Plutus Data policy id in JSON
1047
1125
  * @param bytes The policy id in hex
@@ -1103,11 +1181,10 @@ declare const posixTime: (int: number) => POSIXTime;
1103
1181
  declare const dict: <V>(itemsMap: [ByteString, V][]) => Dict<V>;
1104
1182
  /**
1105
1183
  * The utility function to create a Plutus Data tuple in JSON
1106
- * @param key The key of the tuple
1107
- * @param value The value of the tuple
1184
+ * @param args The arguments of the tuple
1108
1185
  * @returns The Plutus Data tuple object
1109
1186
  */
1110
- declare const tuple: <K = PlutusData, V = PlutusData>(key: K, value: V) => Tuple<K, V>;
1187
+ declare const tuple: <T extends PlutusData[]>(...args: T) => Tuple<T>;
1111
1188
  /**
1112
1189
  * The utility function to create a Plutus Data Option in JSON
1113
1190
  * @param value The optional value of the option
@@ -1126,18 +1203,42 @@ declare const some: <T>(value: T) => Some<T>;
1126
1203
  */
1127
1204
  declare const none: () => None;
1128
1205
 
1206
+ /**
1207
+ * The Plutus Data verification key in JSON
1208
+ */
1209
+ type VerificationKey = ConStr0<[PubKeyHash]>;
1210
+ /**
1211
+ * The Plutus Data Script key in JSON
1212
+ */
1213
+ type Script = ConStr1<[ScriptHash]>;
1129
1214
  /**
1130
1215
  * The Plutus Data staking credential in JSON
1131
1216
  */
1132
- type MaybeStakingHash = ConStr1<[]> | ConStr0<[ConStr0<[ConStr0<[PubKeyHash]>]>]> | ConStr0<[ConStr0<[ConStr1<[ScriptHash]>]>]>;
1217
+ type MaybeStakingHash = ConStr1<[]> | ConStr0<[ConStr0<[VerificationKey]>]> | ConStr0<[ConStr0<[Script]>]>;
1133
1218
  /**
1134
1219
  * The Plutus Data public key address in JSON
1135
1220
  */
1136
- type PubKeyAddress = ConStr0<[ConStr0<[PubKeyHash]>, MaybeStakingHash]>;
1221
+ type PubKeyAddress = ConStr0<[VerificationKey, MaybeStakingHash]>;
1137
1222
  /**
1138
1223
  * The Plutus Data script address in JSON
1139
1224
  */
1140
- type ScriptAddress = ConStr0<[ConStr1<[ScriptHash]>, MaybeStakingHash]>;
1225
+ type ScriptAddress = ConStr0<[Script, MaybeStakingHash]>;
1226
+ /**
1227
+ * The Plutus Data credential in JSON
1228
+ */
1229
+ type Credential = VerificationKey | Script;
1230
+ /**
1231
+ * The utility function to create a Plutus Data verification key in JSON
1232
+ * @param bytes The public key hash in hex
1233
+ * @returns The Plutus Data verification key object
1234
+ */
1235
+ declare const verificationKey: (bytes: string) => VerificationKey;
1236
+ /**
1237
+ * The utility function to create a Plutus Data script key in JSON
1238
+ * @param bytes The script hash in hex
1239
+ * @returns The Plutus Data script key object
1240
+ * */
1241
+ declare const script: (bytes: string) => Script;
1141
1242
  /**
1142
1243
  * The utility function to create a Plutus Data staking hash in JSON
1143
1244
  * @param stakeCredential The staking credential in hex
@@ -1161,8 +1262,41 @@ declare const pubKeyAddress: (bytes: string, stakeCredential?: string, isStakeSc
1161
1262
  * @returns The Plutus Data script address object
1162
1263
  */
1163
1264
  declare const scriptAddress: (bytes: string, stakeCredential?: string, isStakeScriptCredential?: boolean) => ScriptAddress;
1265
+ /**
1266
+ * The utility function to create a Plutus Data credential in JSON
1267
+ * @param hash The pub key hash or script hash
1268
+ * @param isScriptCredential Indicate if the credential is script hash (false for pub key hash)
1269
+ * @returns Plutus Data credential object
1270
+ */
1271
+ declare const credential: (hash: string, isScriptCredential?: boolean) => Credential;
1272
+
1273
+ type ProofStep = ProofStepBranch | ProofStepFork | ProofStepLeaf;
1274
+ type ProofStepBranch = ConStr0<[
1275
+ Integer,
1276
+ ByteString
1277
+ ]>;
1278
+ type ProofStepFork = ConStr1<[
1279
+ Integer,
1280
+ ForkNeighbor
1281
+ ]>;
1282
+ type ProofStepLeaf = ConStr2<[
1283
+ Integer,
1284
+ ByteString,
1285
+ ByteString
1286
+ ]>;
1287
+ type ForkNeighbor = ConStr0<[
1288
+ Integer,
1289
+ ByteString,
1290
+ ByteString
1291
+ ]>;
1292
+ /**
1293
+ * The utility function to transform a JSON proof from Aiken TS offchain library to Mesh JSON Data type
1294
+ * @param proof The proof object from Aiken TS offchain library
1295
+ * @returns The proof object in Mesh JSON Data type
1296
+ */
1297
+ declare const jsonProofToPlutusData: (proof: object) => ProofStep[];
1164
1298
 
1165
- type PlutusData = ConStr | Bool | ByteString | Integer | List | AssocMap | MaybeStakingHash | PubKeyAddress | ScriptAddress | AssetClass | OutputReference | PubKeyHash | POSIXTime | Dict<any> | Tuple<any, any>;
1299
+ type PlutusData = ConStr | Bool | ByteString | Integer | List | AssocMap | Pairs | MaybeStakingHash | PubKeyAddress | ScriptAddress | AssetClass | OutputReference | PubKeyHash | POSIXTime | Dict<any> | Tuple<any>;
1166
1300
 
1167
1301
  /**
1168
1302
  * Converting bytes to hex string
@@ -1357,6 +1491,19 @@ declare class MeshValue {
1357
1491
  * @returns boolean
1358
1492
  */
1359
1493
  leqUnit: (unit: string, other: MeshValue) => boolean;
1494
+ /**
1495
+ * Check if the value is equal to another value
1496
+ * @param other - The value to compare against
1497
+ * @returns boolean
1498
+ */
1499
+ eq: (other: MeshValue) => boolean;
1500
+ /**
1501
+ * Check if the specific unit of value is equal to that unit of another value
1502
+ * @param unit - The unit to compare
1503
+ * @param other - The value to compare against
1504
+ * @returns boolean
1505
+ */
1506
+ eqUnit: (unit: string, other: MeshValue) => boolean;
1360
1507
  /**
1361
1508
  * Check if the value is empty
1362
1509
  * @returns boolean
@@ -1412,7 +1559,6 @@ interface IWithdrawalBlueprint {
1412
1559
  cbor: string;
1413
1560
  hash: string;
1414
1561
  address: string;
1415
- isStakeScriptCredential: boolean;
1416
1562
  paramScript(compiledCode: string, params: string[], paramsType: PlutusDataType): this;
1417
1563
  noParamScript(compiledCode: string): this;
1418
1564
  }
@@ -1504,12 +1650,19 @@ declare const CIP68_100: (tokenNameHex: string) => string;
1504
1650
  */
1505
1651
  declare const CIP68_222: (tokenNameHex: string) => string;
1506
1652
 
1653
+ type IFetcherOptions = {
1654
+ maxPage?: number;
1655
+ order?: "asc" | "desc";
1656
+ [key: string]: any;
1657
+ };
1658
+ declare const DEFAULT_FETCHER_OPTIONS: IFetcherOptions;
1507
1659
  /**
1508
1660
  * Fetcher interface defines end points to query blockchain data.
1509
1661
  */
1510
1662
  interface IFetcher {
1511
1663
  fetchAccountInfo(address: string): Promise<AccountInfo>;
1512
1664
  fetchAddressUTxOs(address: string, asset?: string): Promise<UTxO[]>;
1665
+ fetchAddressTxs(address: string, options?: IFetcherOptions): Promise<TransactionInfo[]>;
1513
1666
  fetchAssetAddresses(asset: string): Promise<{
1514
1667
  address: string;
1515
1668
  quantity: string;
@@ -1542,8 +1695,8 @@ interface ISubmitter {
1542
1695
  }
1543
1696
 
1544
1697
  interface IMeshTxSerializer {
1545
- verbose: boolean;
1546
1698
  serializeTxBody(txBuilderBody: MeshTxBuilderBody, protocolParams: Protocol): string;
1699
+ serializeTxBodyWithMockSignatures(txBuilderBody: MeshTxBuilderBody, protocolParams: Protocol): string;
1547
1700
  addSigningKeys(txHex: string, signingKeys: string[]): string;
1548
1701
  resolver: IResolver;
1549
1702
  deserializer: IDeserializer;
@@ -1551,6 +1704,8 @@ interface IMeshTxSerializer {
1551
1704
  serializeAddress(address: DeserializedAddress, networkId?: 0 | 1): string;
1552
1705
  serializePoolId(hash: string): string;
1553
1706
  serializeRewardAddress(stakeKeyHash: string, isScriptHash?: boolean, network_id?: 0 | 1): string;
1707
+ serializeOutput(output: Output): string;
1708
+ serializeValue(value: Asset[]): string;
1554
1709
  }
1555
1710
  interface IResolver {
1556
1711
  keys: {
@@ -1563,7 +1718,7 @@ interface IResolver {
1563
1718
  resolveTxHash(txHex: string): string;
1564
1719
  };
1565
1720
  data: {
1566
- resolveDataHash(data: Data): string;
1721
+ resolveDataHash(rawData: BuilderData["content"], type?: PlutusDataType): string;
1567
1722
  };
1568
1723
  script: {
1569
1724
  resolveScriptRef(script: NativeScript | PlutusScript): string;
@@ -1649,4 +1804,4 @@ declare const hashDrepAnchor: (jsonLD: object) => string;
1649
1804
 
1650
1805
  declare function getFile(url: string): string;
1651
1806
 
1652
- export { type AccountInfo, type Action, type Anchor, type Asset, type AssetClass, type AssetExtended, AssetFingerprint, type AssetMetadata, type AssetName, type AssocMap, type AssocMapItem, type BasicVote, BigNum, type BlockInfo, type Bool, type Budget, type BuilderData, type BuiltinByteString, type ByteString, CIP68_100, CIP68_222, type Certificate, type CertificateType, type ConStr, type ConStr0, type ConStr1, type ConStr2, type ConStr3, type CurrencySymbol, DEFAULT_PROTOCOL_PARAMETERS, DEFAULT_REDEEMER_BUDGET, DEFAULT_V1_COST_MODEL_LIST, DEFAULT_V2_COST_MODEL_LIST, DEFAULT_V3_COST_MODEL_LIST, DREP_DEPOSIT, type DRep, type Data, type DataSignature, type DatumSource, type DeserializedAddress, type DeserializedScript, type Dict, type DictItem, type Era, type Files, type FungibleAssetMetadata, type GovernanceProposalInfo, HARDENED_KEY_START, type IDeserializer, type IEvaluator, type IFetcher, type IInitiator, type IListener, type IMeshTxSerializer, type IMintingBlueprint, type IResolver, type ISigner, type ISpendingBlueprint, type ISubmitter, type IWallet, type IWithdrawalBlueprint, type ImageAssetMetadata, type Integer, LANGUAGE_VERSIONS, type LanguageVersion, type List, type MAssetClass, type MBool, type MConStr, type MConStr0, type MConStr1, type MConStr2, type MConStr3, type MMaybeStakingHash, type MNone, type MOption, type MOutputReference, type MPubKeyAddress, type MScriptAddress, type MSome, type MTuple, type MTxOutRef, type MValue, type MaybeStakingHash, type MeshTxBuilderBody, MeshValue, type Message, type Metadata, type Metadatum, type MetadatumMap, type Mint, type MintItem, type NativeScript, type Network, type NonFungibleAssetMetadata, type None, type Option, type Output, type OutputReference, POLICY_ID_LENGTH, type POSIXTime, type PlutusData, type PlutusDataType, type PlutusScript, type PolicyId, type PoolMetadata, type PoolParams, type Protocol, type PubKeyAddress, type PubKeyHash, type PubKeyTxIn, type PubKeyWithdrawal, type Quantity, type Recipient, type Redeemer, type RedeemerTagType, type RefTxIn, type Relay, type RequiredWith, type RoyaltiesStandard, SLOT_CONFIG_NETWORK, SUPPORTED_CLOCKS, SUPPORTED_HANDLES, SUPPORTED_LANGUAGE_VIEWS, SUPPORTED_OGMIOS_LINKS, SUPPORTED_TOKENS, SUPPORTED_WALLETS, type ScriptAddress, type ScriptHash, type ScriptSource, type ScriptTxIn, type ScriptTxInParameter, type ScriptVote, type ScriptWithdrawal, type SimpleScriptSourceInfo, type SimpleScriptTxIn, type SimpleScriptTxInParameter, type SimpleScriptVote, type SimpleScriptWithdrawal, type SlotConfig, type Some, type Token, type TokenName, type TransactionInfo, type Tuple, type TxIn, type TxInParameter, type TxMetadata, type TxOutRef, type UTxO, type Unit, UtxoSelection, type UtxoSelectionStrategy, type ValidityRange, type Value, type Vote, type VoteKind, type VoteType, type Voter, type VotingProcedure, type Wallet, type Withdrawal, assetClass, assetName, assocMap, bool, builtinByteString, byteString, bytesToHex, castProtocol, conStr, conStr0, conStr1, conStr2, conStr3, currencySymbol, dict, emptyTxBuilderBody, experimentalSelectUtxos, fromUTF8, fungibleAssetKeys, getFile, hashByteString, hashDrepAnchor, hexToBytes, hexToString, integer, isNetwork, keepRelevant, largestFirst, largestFirstMultiAsset, list, mAssetClass, mBool, mConStr, mConStr0, mConStr1, mConStr2, mConStr3, mMaybeStakingHash, mNone, mOption, mOutputReference, mPlutusBSArrayToString, mPubKeyAddress, mScriptAddress, mSome, mStringToPlutusBSArray, mTuple, mTxOutRef, mValue, maybeStakingHash, mergeAssets, metadataStandardKeys, metadataToCip68, none, option, outputReference, parseAssetUnit, plutusBSArrayToString, policyId, posixTime, pubKeyAddress, pubKeyHash, resolveEpochNo, resolveFingerprint, resolveLanguageView, resolveSlotNo, resolveTxFees, royaltiesStandardKeys, scriptAddress, scriptHash, slotToBeginUnixTime, some, stringToBSArray, stringToHex, toBytes, toUTF8, tokenName, tuple, txInToUtxo, txOutRef, unixTimeToEnclosingSlot, validityRangeToObj, value };
1807
+ export { type AccountInfo, type Action, type Anchor, type Asset, type AssetClass, type AssetExtended, AssetFingerprint, type AssetMetadata, type AssetName, type AssocMap, type AssocMapItem, type BasicVote, BigNum, type BlockInfo, type Bool, type Budget, type BuilderData, type BuiltinByteString, type ByteString, CIP68_100, CIP68_222, type Certificate, type CertificateType, type ConStr, type ConStr0, type ConStr1, type ConStr2, type ConStr3, type Credential, type CurrencySymbol, DEFAULT_FETCHER_OPTIONS, DEFAULT_PROTOCOL_PARAMETERS, DEFAULT_REDEEMER_BUDGET, DEFAULT_V1_COST_MODEL_LIST, DEFAULT_V2_COST_MODEL_LIST, DEFAULT_V3_COST_MODEL_LIST, DREP_DEPOSIT, type DRep, type Data, type DataSignature, type DatumSource, type DeserializedAddress, type DeserializedScript, type Dict, type DictItem, type Era, type Extension, type Files, type ForkNeighbor, type FungibleAssetMetadata, type GovernanceProposalInfo, HARDENED_KEY_START, type IDeserializer, type IEvaluator, type IFetcher, type IFetcherOptions, type IInitiator, type IListener, type IMeshTxSerializer, type IMintingBlueprint, type IResolver, type ISigner, type ISpendingBlueprint, type ISubmitter, type IWallet, type IWithdrawalBlueprint, type ImageAssetMetadata, type Integer, LANGUAGE_VERSIONS, type LanguageVersion, type List, type MAssetClass, type MBool, type MConStr, type MConStr0, type MConStr1, type MConStr2, type MConStr3, type MCredential, type MMaybeStakingHash, type MNone, type MOption, type MOutputReference, type MPubKeyAddress, type MScript, type MScriptAddress, type MSome, type MTuple, type MTxOutRef, type MValue, type MVerificationKey, type MaybeStakingHash, type MeshTxBuilderBody, MeshValue, type Message, type Metadata, type Metadatum, type MetadatumMap, type Mint, type MintItem, type MintParam, type NativeScript, type Network, type NonFungibleAssetMetadata, type None, type Option, type Output, type OutputReference, POLICY_ID_LENGTH, type POSIXTime, type Pair, type Pairs, type PlutusData, type PlutusDataType, type PlutusScript, type PolicyId, type PoolMetadata, type PoolParams, type ProofStep, type ProofStepBranch, type ProofStepFork, type ProofStepLeaf, type Protocol, type PubKeyAddress, type PubKeyHash, type PubKeyTxIn, type PubKeyWithdrawal, type Quantity, type Recipient, type Redeemer, type RedeemerTagType, type RefTxIn, type Relay, type RequiredWith, type RoyaltiesStandard, SLOT_CONFIG_NETWORK, SUPPORTED_CLOCKS, SUPPORTED_HANDLES, SUPPORTED_LANGUAGE_VIEWS, SUPPORTED_OGMIOS_LINKS, SUPPORTED_TOKENS, SUPPORTED_WALLETS, type Script, type ScriptAddress, type ScriptHash, type ScriptSource, type ScriptTxIn, type ScriptTxInParameter, type ScriptVote, type ScriptWithdrawal, type SimpleScriptSourceInfo, type SimpleScriptTxIn, type SimpleScriptTxInParameter, type SimpleScriptVote, type SimpleScriptWithdrawal, type SlotConfig, type Some, type Token, type TokenName, type TransactionInfo, type Tuple, type TxIn, type TxInParameter, type TxMetadata, type TxOutRef, type TxOutput, type UTxO, type Unit, UtxoSelection, type UtxoSelectionStrategy, type ValidityRange, type Value, type VerificationKey, type Vote, type VoteKind, type VoteType, type Voter, type VotingProcedure, type Wallet, type Withdrawal, assetClass, assetName, assocMap, bool, builtinByteString, byteString, bytesToHex, castProtocol, cloneTxBuilderBody, conStr, conStr0, conStr1, conStr2, conStr3, credential, currencySymbol, dict, emptyTxBuilderBody, experimentalSelectUtxos, fromUTF8, fungibleAssetKeys, getFile, hashByteString, hashDrepAnchor, hexToBytes, hexToString, integer, isNetwork, jsonProofToPlutusData, keepRelevant, largestFirst, largestFirstMultiAsset, list, mAssetClass, mBool, mConStr, mConStr0, mConStr1, mConStr2, mConStr3, mCredential, mMaybeStakingHash, mNone, mOption, mOutputReference, mPlutusBSArrayToString, mPubKeyAddress, mScript, mScriptAddress, mSome, mStringToPlutusBSArray, mTuple, mTxOutRef, mValue, mVerificationKey, maybeStakingHash, mergeAssets, metadataStandardKeys, metadataToCip68, none, option, outputReference, pairs, parseAssetUnit, plutusBSArrayToString, policyId, posixTime, pubKeyAddress, pubKeyHash, resolveEpochNo, resolveFingerprint, resolveLanguageView, resolveSlotNo, resolveTxFees, royaltiesStandardKeys, script, scriptAddress, scriptHash, slotToBeginUnixTime, some, stringToBSArray, stringToHex, toBytes, toUTF8, tokenName, tuple, txInToUtxo, txOutRef, unixTimeToEnclosingSlot, validityRangeToObj, value, verificationKey };