@helios-lang/effect 0.5.0 → 0.5.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"AssetClass.d.ts","sourceRoot":"","sources":["../../../src/Cardano/Ledger/AssetClass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAA;AAC9C,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AAEnD,wBAAgB,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,IAAI,UAAU,CAUpE;AAED,eAAO,MAAM,UAAU,yGAyCtB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAA;AAE9D,eAAO,MAAM,GAAG,EAAS,UAAU,CAAA;AAEnC,wBAAgB,IAAI,CAClB,MAAM,EAAE,aAAa,CAAC,aAAa,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS,uDAc3B;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oHA4BxB,CAAA;AAED,wBAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMjD;AAED,wBAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa,CAAC,aAAa,CAMtE;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMpD"}
1
+ {"version":3,"file":"AssetClass.d.ts","sourceRoot":"","sources":["../../../src/Cardano/Ledger/AssetClass.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,MAAM,EAAE,MAAM,QAAQ,CAAA;AACzC,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAA;AAC9C,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AAEnD,wBAAgB,OAAO,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,IAAI,UAAU,CAUpE;AAED,eAAO,MAAM,UAAU,yGAyCtB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAA;AAE9D,eAAO,MAAM,GAAG,EAAS,UAAU,CAAA;AAEnC,wBAAgB,IAAI,CAClB,MAAM,EAAE,aAAa,CAAC,aAAa,EACnC,SAAS,EAAE,KAAK,CAAC,SAAS,uDAc3B;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oHA4BxB,CAAA;AAED,wBAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMjD;AAED,wBAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,aAAa,CAAC,aAAa,CAYtE;AAED;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAMpD"}
@@ -98,7 +98,7 @@ export declare function negate(x: Assets): Assets;
98
98
  export declare function isEmpty(assets: Assets): boolean;
99
99
  export declare function containsOnlyAda(assets: Assets): boolean;
100
100
  export declare function allPositive(assets: Assets): boolean;
101
- declare const SomeNonPositive_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
101
+ declare const SomeNonPositive_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
102
102
  readonly _tag: "Cardano.Ledger.Assets.SomeNonPositive";
103
103
  } & Readonly<A>;
104
104
  export declare class SomeNonPositive extends SomeNonPositive_base<{
@@ -1 +1 @@
1
- {"version":3,"file":"RewardAddress.d.ts","sourceRoot":"","sources":["../../../src/Cardano/Ledger/RewardAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAuB,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC5D,OAAO,KAAK,KAAK,MAAM,uBAAuB,CAAA;AAE9C,OAAO,KAAK,IAAI,MAAM,sBAAsB,CAAA;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAA;AACnD,OAAO,KAAK,IAAI,MAAM,iBAAiB,CAAA;AACvC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAE7C,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AAEnD,wBAAgB,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAM7C;AAED,eAAO,MAAM,aAAa,oEAKzB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC,CAAA;AAEpE,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iKAYxB,CAAA;AAED,eAAO,MAAM,MAAM,GAAI,IAAI,aAAa,CAAC,aAAa,4FAKlD,CAAA;AAEJ,wBAAgB,IAAI,CAClB,SAAS,EAAE,OAAO,EAClB,IAAI,EAAE,UAAU,CAAC,UAAU,GAC1B,aAAa,CAKf;AAyDD,eAAO,MAAM,MAAM,GACjB,OAAO,KAAK,CAAC,SAAS,KACrB,IAAI,CAAC,YAAY,CAAC,aAAa,CAkB/B,CAAA;AAEH,wBAAgB,MAAM,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,EAAE,CAEpD;AAED,wBAAgB,KAAK,CAAC,OAA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Aa,CAkB/B,CAAA;AAEH,wBAAgB,MAAM,CAAC,IAAI,EAAE,aAAa,GAAG,MAAM,EAAE,CAEpD;AAED,wBAAgB,KAAK,CAAC,OAAO,EAAE,aAAa,GAAG,MAAM,EAAE,CAEtD;AAED,wBAAgB,SAAS,CAAC,OAAO,EAAE,aAAa,GAAG,OAAO,CAEzD;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,aAAa,GAAG,UAAU,CAAC,UAAU,CAExE;AAED,wBAAgB,OAAO,CAAC,CAAC,EAAE,aAAa,EAAE,CAAC,EAAE,aAAa,GAAG,MAAM,CAElE"}
@@ -136,7 +136,7 @@ export declare const minCollateral: (tx: Tx) => Effect.Effect<bigint, never, Par
136
136
  export declare const inputDatum: (inputIndex: number) => (tx: Tx) => Data.Data | undefined;
137
137
  export declare function isSmart(tx: Tx): boolean;
138
138
  export declare const scriptDataHash: (tx: Tx) => Effect.Effect<number[] | undefined, never, Params.params>;
139
- declare const InvalidTx_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
139
+ declare const InvalidTx_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
140
140
  readonly _tag: "Cardano.Ledger.Tx.InvalidTx";
141
141
  } & Readonly<A>;
142
142
  export declare class InvalidTx extends InvalidTx_base<{
@@ -558,7 +558,6 @@ export declare const FromUplcData: Schema.transform<Schema.transformOrFail<Schem
558
558
  } | undefined;
559
559
  }, never>>;
560
560
  }>, never>, Schema.SchemaClass<{
561
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
562
561
  readonly output: {
563
562
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
564
563
  readonly assets: {
@@ -596,8 +595,8 @@ export declare const FromUplcData: Schema.transform<Schema.transformOrFail<Schem
596
595
  readonly strictBabbage?: boolean | undefined;
597
596
  } | undefined;
598
597
  };
599
- }, {
600
598
  readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
599
+ }, {
601
600
  readonly output: {
602
601
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
603
602
  readonly assets: {
@@ -635,6 +634,7 @@ export declare const FromUplcData: Schema.transform<Schema.transformOrFail<Schem
635
634
  readonly strictBabbage?: boolean | undefined;
636
635
  } | undefined;
637
636
  };
637
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
638
638
  }, never>>;
639
639
  export declare const FromUplcDataV3: Schema.transform<Schema.transformOrFail<Schema.SchemaClass<{
640
640
  readonly bytes: Uint8Array<ArrayBufferLike>;
@@ -1105,7 +1105,6 @@ export declare const FromUplcDataV3: Schema.transform<Schema.transformOrFail<Sch
1105
1105
  } | undefined;
1106
1106
  }, never>>;
1107
1107
  }>, never>, Schema.SchemaClass<{
1108
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1109
1108
  readonly output: {
1110
1109
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
1111
1110
  readonly assets: {
@@ -1143,8 +1142,8 @@ export declare const FromUplcDataV3: Schema.transform<Schema.transformOrFail<Sch
1143
1142
  readonly strictBabbage?: boolean | undefined;
1144
1143
  } | undefined;
1145
1144
  };
1146
- }, {
1147
1145
  readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1146
+ }, {
1148
1147
  readonly output: {
1149
1148
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
1150
1149
  readonly assets: {
@@ -1182,6 +1181,7 @@ export declare const FromUplcDataV3: Schema.transform<Schema.transformOrFail<Sch
1182
1181
  readonly strictBabbage?: boolean | undefined;
1183
1182
  } | undefined;
1184
1183
  };
1184
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1185
1185
  }, never>>;
1186
1186
  export declare function make(ref: UTxORef.UTxORef, output: TxOutput.TxOutput): UTxO;
1187
1187
  export declare const decode: (bytes: Bytes.BytesLike) => Cbor.DecodeResult<UTxO | UTxORef.UTxORef>;
@@ -1192,7 +1192,6 @@ export declare const encode: (options: {
1192
1192
  export declare const resolve: (options: {
1193
1193
  trusted?: boolean;
1194
1194
  }) => (utxo: UTxO | UTxORef.UTxORef) => Effect.Effect<{
1195
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1196
1195
  readonly output: {
1197
1196
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
1198
1197
  readonly assets: {
@@ -1230,11 +1229,11 @@ export declare const resolve: (options: {
1230
1229
  readonly strictBabbage?: boolean | undefined;
1231
1230
  } | undefined;
1232
1231
  };
1232
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1233
1233
  }, Network.ConnectionError | Network.UnexpectedFormat | Network.UTxONotFound, Network.UTxO>;
1234
1234
  export declare const resolveAll: (options: {
1235
1235
  trusted?: boolean;
1236
1236
  }) => (utxos: (UTxO | UTxORef.UTxORef)[]) => Effect.Effect<{
1237
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1238
1237
  readonly output: {
1239
1238
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
1240
1239
  readonly assets: {
@@ -1272,6 +1271,7 @@ export declare const resolveAll: (options: {
1272
1271
  readonly strictBabbage?: boolean | undefined;
1273
1272
  } | undefined;
1274
1273
  };
1274
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1275
1275
  }[], Network.ConnectionError | Network.UnexpectedFormat | Network.UTxONotFound, Network.UTxO>;
1276
1276
  /**
1277
1277
  * For sorting lists of UTxOs
@@ -1281,7 +1281,6 @@ export declare const resolveAll: (options: {
1281
1281
  export declare function compare(a: UTxO, b: UTxO): number;
1282
1282
  export declare const sumAssets: (...utxos: readonly UTxO[]) => Assets.Assets;
1283
1283
  export declare const difference: (set: readonly UTxO[], exclude: readonly UTxO[]) => {
1284
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1285
1284
  readonly output: {
1286
1285
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
1287
1286
  readonly assets: {
@@ -1319,6 +1318,7 @@ export declare const difference: (set: readonly UTxO[], exclude: readonly UTxO[]
1319
1318
  readonly strictBabbage?: boolean | undefined;
1320
1319
  } | undefined;
1321
1320
  };
1321
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1322
1322
  }[];
1323
1323
  /**
1324
1324
  * Resorts the list after appending
@@ -1328,7 +1328,6 @@ export declare const difference: (set: readonly UTxO[], exclude: readonly UTxO[]
1328
1328
  * @returns
1329
1329
  */
1330
1330
  export declare const append: (list: readonly UTxO[], ...utxos: UTxO[]) => {
1331
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1332
1331
  readonly output: {
1333
1332
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
1334
1333
  readonly assets: {
@@ -1366,5 +1365,6 @@ export declare const append: (list: readonly UTxO[], ...utxos: UTxO[]) => {
1366
1365
  readonly strictBabbage?: boolean | undefined;
1367
1366
  } | undefined;
1368
1367
  };
1368
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
1369
1369
  }[];
1370
1370
  //# sourceMappingURL=UTxO.d.ts.map
@@ -2,7 +2,7 @@ import type { Tx } from "../Ledger/Tx.js";
2
2
  import type { TxHash } from "../Ledger/TxHash.js";
3
3
  import type { UTxO } from "../Ledger/UTxO.js";
4
4
  import type { UTxORef } from "../Ledger/UTxORef.js";
5
- declare const ConnectionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
5
+ declare const ConnectionError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
6
6
  readonly _tag: "Cardano.Network.ConnectionError";
7
7
  } & Readonly<A>;
8
8
  export declare class ConnectionError extends ConnectionError_base<{
@@ -10,7 +10,7 @@ export declare class ConnectionError extends ConnectionError_base<{
10
10
  }> {
11
11
  constructor(message: string);
12
12
  }
13
- declare const UnexpectedFormat_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
13
+ declare const UnexpectedFormat_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
14
14
  readonly _tag: "Cardano.Network.UnexpectedFormat";
15
15
  } & Readonly<A>;
16
16
  export declare class UnexpectedFormat extends UnexpectedFormat_base<{
@@ -18,7 +18,7 @@ export declare class UnexpectedFormat extends UnexpectedFormat_base<{
18
18
  }> {
19
19
  constructor(message: string);
20
20
  }
21
- declare const UTxONotFound_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
21
+ declare const UTxONotFound_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
22
22
  readonly _tag: "Cardano.Network.UTxONotFound";
23
23
  } & Readonly<A>;
24
24
  export declare class UTxONotFound extends UTxONotFound_base<{
@@ -27,7 +27,7 @@ export declare class UTxONotFound extends UTxONotFound_base<{
27
27
  }> {
28
28
  constructor(ref: UTxORef);
29
29
  }
30
- declare const UTxOAlreadySpent_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
30
+ declare const UTxOAlreadySpent_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
31
31
  readonly _tag: "Cardano.Network.UTxOAlreadySpent";
32
32
  } & Readonly<A>;
33
33
  export declare class UTxOAlreadySpent extends UTxOAlreadySpent_base<{
@@ -37,7 +37,7 @@ export declare class UTxOAlreadySpent extends UTxOAlreadySpent_base<{
37
37
  }> {
38
38
  constructor(utxo: UTxO, spendingTx: TxHash);
39
39
  }
40
- declare const SubmitTxFailed_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
40
+ declare const SubmitTxFailed_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
41
41
  readonly _tag: "Cardano.Network.SubmitTxFailed";
42
42
  } & Readonly<A>;
43
43
  export declare class SubmitTxFailed extends SubmitTxFailed_base<{
@@ -46,7 +46,7 @@ export declare class SubmitTxFailed extends SubmitTxFailed_base<{
46
46
  }> {
47
47
  constructor(message: string, tx: Tx);
48
48
  }
49
- declare const TxNotFound_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
49
+ declare const TxNotFound_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
50
50
  readonly _tag: "Cardano.Network.TxNotFound";
51
51
  } & Readonly<A>;
52
52
  export declare class TxNotFound extends TxNotFound_base<{
@@ -18,7 +18,7 @@ export declare const makeArgs: (version: 1 | 2 | 3, tx: Tx, redeemerIndex: numbe
18
18
  readonly fields: readonly Data.Data[];
19
19
  readonly constructor: number;
20
20
  };
21
- }[], ParseResult.ParseError, import("./Network/IsMainnet.js").IsMainnet | Params.params>;
21
+ }[], ParseResult.ParseError, Params.params | import("./Network/IsMainnet.js").IsMainnet>;
22
22
  /**
23
23
  * Only use for testing!
24
24
  */
@@ -80,7 +80,6 @@ export declare const TxInfoV3: Schema.transformOrFail<Schema.SchemaClass<{
80
80
  readonly fields: readonly Data.Data[];
81
81
  readonly constructor: number;
82
82
  }, never>, Schema.Array$<Schema.Schema<{
83
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
84
83
  readonly output: {
85
84
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
86
85
  readonly assets: {
@@ -118,6 +117,7 @@ export declare const TxInfoV3: Schema.transformOrFail<Schema.SchemaClass<{
118
117
  readonly strictBabbage?: boolean | undefined;
119
118
  } | undefined;
120
119
  };
120
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
121
121
  }, {
122
122
  readonly bytes: Uint8Array<ArrayBufferLike>;
123
123
  } | {
@@ -162,7 +162,6 @@ export declare const TxInfoV3: Schema.transformOrFail<Schema.SchemaClass<{
162
162
  readonly fields: readonly Data.Data[];
163
163
  readonly constructor: number;
164
164
  }, never>, Schema.Array$<Schema.Schema<{
165
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
166
165
  readonly output: {
167
166
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
168
167
  readonly assets: {
@@ -200,6 +199,7 @@ export declare const TxInfoV3: Schema.transformOrFail<Schema.SchemaClass<{
200
199
  readonly strictBabbage?: boolean | undefined;
201
200
  } | undefined;
202
201
  };
202
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
203
203
  }, {
204
204
  readonly bytes: Uint8Array<ArrayBufferLike>;
205
205
  } | {
@@ -1160,6 +1160,11 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1160
1160
  } & {
1161
1161
  dcert: import("./Ledger/DCert.js").DCert;
1162
1162
  }), Data.Data, never>, Schema.SchemaClass<{
1163
+ readonly _tag: "Minting";
1164
+ readonly cost: {
1165
+ readonly cpu: bigint;
1166
+ readonly mem: bigint;
1167
+ };
1163
1168
  readonly data: {
1164
1169
  readonly bytes: Uint8Array<ArrayBufferLike>;
1165
1170
  } | {
@@ -1175,13 +1180,13 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1175
1180
  readonly fields: readonly Data.Data[];
1176
1181
  readonly constructor: number;
1177
1182
  };
1178
- readonly _tag: "Minting";
1179
1183
  readonly policyIndex: number;
1184
+ } | {
1185
+ readonly _tag: "Spending";
1180
1186
  readonly cost: {
1181
1187
  readonly cpu: bigint;
1182
1188
  readonly mem: bigint;
1183
1189
  };
1184
- } | {
1185
1190
  readonly data: {
1186
1191
  readonly bytes: Uint8Array<ArrayBufferLike>;
1187
1192
  } | {
@@ -1197,13 +1202,13 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1197
1202
  readonly fields: readonly Data.Data[];
1198
1203
  readonly constructor: number;
1199
1204
  };
1200
- readonly _tag: "Spending";
1205
+ readonly inputIndex: number;
1206
+ } | {
1207
+ readonly _tag: "Rewarding";
1201
1208
  readonly cost: {
1202
1209
  readonly cpu: bigint;
1203
1210
  readonly mem: bigint;
1204
1211
  };
1205
- readonly inputIndex: number;
1206
- } | {
1207
1212
  readonly data: {
1208
1213
  readonly bytes: Uint8Array<ArrayBufferLike>;
1209
1214
  } | {
@@ -1219,13 +1224,13 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1219
1224
  readonly fields: readonly Data.Data[];
1220
1225
  readonly constructor: number;
1221
1226
  };
1222
- readonly _tag: "Rewarding";
1227
+ readonly withdrawalIndex: number;
1228
+ } | {
1229
+ readonly _tag: "Certifying";
1223
1230
  readonly cost: {
1224
1231
  readonly cpu: bigint;
1225
1232
  readonly mem: bigint;
1226
1233
  };
1227
- readonly withdrawalIndex: number;
1228
- } | {
1229
1234
  readonly data: {
1230
1235
  readonly bytes: Uint8Array<ArrayBufferLike>;
1231
1236
  } | {
@@ -1241,13 +1246,13 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1241
1246
  readonly fields: readonly Data.Data[];
1242
1247
  readonly constructor: number;
1243
1248
  };
1244
- readonly _tag: "Certifying";
1249
+ readonly dcertIndex: number;
1250
+ }, {
1251
+ readonly _tag: "Minting";
1245
1252
  readonly cost: {
1246
1253
  readonly cpu: bigint;
1247
1254
  readonly mem: bigint;
1248
1255
  };
1249
- readonly dcertIndex: number;
1250
- }, {
1251
1256
  readonly data: {
1252
1257
  readonly bytes: Uint8Array<ArrayBufferLike>;
1253
1258
  } | {
@@ -1263,13 +1268,13 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1263
1268
  readonly fields: readonly Data.Data[];
1264
1269
  readonly constructor: number;
1265
1270
  };
1266
- readonly _tag: "Minting";
1267
1271
  readonly policyIndex: number;
1272
+ } | {
1273
+ readonly _tag: "Spending";
1268
1274
  readonly cost: {
1269
1275
  readonly cpu: bigint;
1270
1276
  readonly mem: bigint;
1271
1277
  };
1272
- } | {
1273
1278
  readonly data: {
1274
1279
  readonly bytes: Uint8Array<ArrayBufferLike>;
1275
1280
  } | {
@@ -1285,13 +1290,13 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1285
1290
  readonly fields: readonly Data.Data[];
1286
1291
  readonly constructor: number;
1287
1292
  };
1288
- readonly _tag: "Spending";
1293
+ readonly inputIndex: number;
1294
+ } | {
1295
+ readonly _tag: "Rewarding";
1289
1296
  readonly cost: {
1290
1297
  readonly cpu: bigint;
1291
1298
  readonly mem: bigint;
1292
1299
  };
1293
- readonly inputIndex: number;
1294
- } | {
1295
1300
  readonly data: {
1296
1301
  readonly bytes: Uint8Array<ArrayBufferLike>;
1297
1302
  } | {
@@ -1307,13 +1312,13 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1307
1312
  readonly fields: readonly Data.Data[];
1308
1313
  readonly constructor: number;
1309
1314
  };
1310
- readonly _tag: "Rewarding";
1315
+ readonly withdrawalIndex: number;
1316
+ } | {
1317
+ readonly _tag: "Certifying";
1311
1318
  readonly cost: {
1312
1319
  readonly cpu: bigint;
1313
1320
  readonly mem: bigint;
1314
1321
  };
1315
- readonly withdrawalIndex: number;
1316
- } | {
1317
1322
  readonly data: {
1318
1323
  readonly bytes: Uint8Array<ArrayBufferLike>;
1319
1324
  } | {
@@ -1329,11 +1334,6 @@ export declare const PurposeV3: Schema.transformOrFail<Schema.Schema<({
1329
1334
  readonly fields: readonly Data.Data[];
1330
1335
  readonly constructor: number;
1331
1336
  };
1332
- readonly _tag: "Certifying";
1333
- readonly cost: {
1334
- readonly cpu: bigint;
1335
- readonly mem: bigint;
1336
- };
1337
1337
  readonly dcertIndex: number;
1338
1338
  }, never>, CurrentTx>;
1339
1339
  export {};
@@ -7,7 +7,7 @@ import { Balancing as BalancingWallet } from "./Wallet.js";
7
7
  * It is difficult to give RedeemerBuilder access to the whole Tx including to Tx.Witnesses, because this leads to circular dependencies
8
8
  */
9
9
  export type RedeemerBuilder = (tx: Tx.Tx) => Uplc.Data.Data;
10
- declare const UTxOAlreadyAdded_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
10
+ declare const UTxOAlreadyAdded_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
11
11
  readonly _tag: "Cardano.TxBuilder.UTxOAlreadyAdded";
12
12
  } & Readonly<A>;
13
13
  export declare class UTxOAlreadyAdded extends UTxOAlreadyAdded_base<{
@@ -16,7 +16,7 @@ export declare class UTxOAlreadyAdded extends UTxOAlreadyAdded_base<{
16
16
  }> {
17
17
  constructor(ref: UTxORef.UTxORef);
18
18
  }
19
- declare const MissingDatum_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
19
+ declare const MissingDatum_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
20
20
  readonly _tag: "Cardano.TxBuilder.MissingDatum";
21
21
  } & Readonly<A>;
22
22
  export declare class MissingDatum extends MissingDatum_base<{
@@ -24,7 +24,7 @@ export declare class MissingDatum extends MissingDatum_base<{
24
24
  }> {
25
25
  constructor();
26
26
  }
27
- declare const MissingRedeemer_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
27
+ declare const MissingRedeemer_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
28
28
  readonly _tag: "Cardano.TxBuilder.MissingRedeemer";
29
29
  } & Readonly<A>;
30
30
  export declare class MissingRedeemer extends MissingRedeemer_base<{
@@ -32,7 +32,7 @@ export declare class MissingRedeemer extends MissingRedeemer_base<{
32
32
  }> {
33
33
  constructor();
34
34
  }
35
- declare const RedundantRedeemer_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
35
+ declare const RedundantRedeemer_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
36
36
  readonly _tag: "Cardano.TxBuilder.RedundantRedeemer";
37
37
  } & Readonly<A>;
38
38
  export declare class RedundantRedeemer extends RedundantRedeemer_base<{
@@ -40,7 +40,7 @@ export declare class RedundantRedeemer extends RedundantRedeemer_base<{
40
40
  }> {
41
41
  constructor();
42
42
  }
43
- declare const RedeemerAlreadyAdded_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
43
+ declare const RedeemerAlreadyAdded_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
44
44
  readonly _tag: "Cardano.TxBuilder.RedeemerAlreadyAdded";
45
45
  } & Readonly<A>;
46
46
  export declare class RedeemerAlreadyAdded extends RedeemerAlreadyAdded_base<{
@@ -48,7 +48,7 @@ export declare class RedeemerAlreadyAdded extends RedeemerAlreadyAdded_base<{
48
48
  }> {
49
49
  constructor();
50
50
  }
51
- declare const MissingScript_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
51
+ declare const MissingScript_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
52
52
  readonly _tag: "Cardano.TxBuilder.MissingScript";
53
53
  } & Readonly<A>;
54
54
  export declare class MissingScript extends MissingScript_base<{
@@ -56,7 +56,7 @@ export declare class MissingScript extends MissingScript_base<{
56
56
  }> {
57
57
  constructor(hash: ValidatorHash.ValidatorHash);
58
58
  }
59
- declare const DatumNotFound_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
59
+ declare const DatumNotFound_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
60
60
  readonly _tag: "Cardano.TxBuilder.DatumNotFound";
61
61
  } & Readonly<A>;
62
62
  export declare class DatumNotFound extends DatumNotFound_base<{
@@ -64,7 +64,7 @@ export declare class DatumNotFound extends DatumNotFound_base<{
64
64
  }> {
65
65
  constructor(hash: DatumHash.DatumHash, cause?: string);
66
66
  }
67
- declare const ColleteralNotAvailable_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
67
+ declare const ColleteralNotAvailable_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
68
68
  readonly _tag: "Cardano.TxBuilder.CollateralNotAvailable";
69
69
  } & Readonly<A>;
70
70
  export declare class ColleteralNotAvailable extends ColleteralNotAvailable_base<{
@@ -149,28 +149,28 @@ export declare const start: Effect.Effect<TxBuilder, never, never>;
149
149
  */
150
150
  export declare const attachScript: (script: NativeScript.NativeScript | Uplc.Script.Script) => (b: TxBuilder) => TxBuilder;
151
151
  export declare const attachScriptEffect: (script: NativeScript.NativeScript | Uplc.Script.Script) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, E, R>;
152
- export declare const delegate: (credential: Credential.Credential, poolId: PubKeyHash.PubKeyHash, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingRedeemer | RedeemerAlreadyAdded, never>;
153
- export declare const delegateEffect: (credential: Credential.Credential, poolId: PubKeyHash.PubKeyHash, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingRedeemer | RedeemerAlreadyAdded | E, R>;
154
- export declare const deregister: (credential: Credential.Credential, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingRedeemer | RedeemerAlreadyAdded, never>;
155
- export declare const deregisterEffect: (credential: Credential.Credential, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingRedeemer | RedeemerAlreadyAdded | E, R>;
152
+ export declare const delegate: (credential: Credential.Credential, poolId: PubKeyHash.PubKeyHash, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript, never>;
153
+ export declare const delegateEffect: (credential: Credential.Credential, poolId: PubKeyHash.PubKeyHash, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript | E, R>;
154
+ export declare const deregister: (credential: Credential.Credential, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript, never>;
155
+ export declare const deregisterEffect: (credential: Credential.Credential, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript | E, R>;
156
156
  export declare const metadata: (mdata: Tx.Metadata) => (b: TxBuilder) => TxBuilder;
157
157
  export declare const metadataEffect: (mdata: Tx.Metadata) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, E, R>;
158
158
  /**
159
159
  * Filters out ADA
160
160
  * Entries in assets can be negative for burning
161
161
  */
162
- export declare const mint: (assets: Assets.Assets, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingRedeemer | RedeemerAlreadyAdded, never>;
163
- export declare const mintEffect: (assets: Assets.Assets, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingRedeemer | RedeemerAlreadyAdded | E, R>;
162
+ export declare const mint: (assets: Assets.Assets, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript, never>;
163
+ export declare const mintEffect: (assets: Assets.Assets, redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript | E, R>;
164
164
  export declare const pay: (...outputs: TxOutput.TxOutput[]) => (b: TxBuilder) => Effect.Effect<TxBuilder, Assets.SomeNonPositive, never>;
165
165
  export declare const payEffect: (...outputs: TxOutput.TxOutput[]) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, Assets.SomeNonPositive | E, R>;
166
- export declare const refer: (...utxos: UTxO.UTxO[]) => (b: TxBuilder) => Effect.Effect<TxBuilder, UTxOAlreadyAdded | Assets.SomeNonPositive, never>;
167
- export declare const referEffect: (...utxos: UTxO.UTxO[]) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, UTxOAlreadyAdded | Assets.SomeNonPositive | E, R>;
166
+ export declare const refer: (...utxos: UTxO.UTxO[]) => (b: TxBuilder) => Effect.Effect<TxBuilder, Assets.SomeNonPositive | UTxOAlreadyAdded, never>;
167
+ export declare const referEffect: (...utxos: UTxO.UTxO[]) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, Assets.SomeNonPositive | UTxOAlreadyAdded | E, R>;
168
168
  export declare const register: (credential: Credential.Credential) => (b: TxBuilder) => TxBuilder;
169
169
  export declare const registerEffect: (credential: Credential.Credential) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, E, R>;
170
170
  export declare const sign: (...signers: PubKeyHash.PubKeyHash[]) => (b: TxBuilder) => TxBuilder;
171
171
  export declare const signEffect: (...signers: PubKeyHash.PubKeyHash[]) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, E, R>;
172
- export declare const spend: (utxos: UTxO.UTxO | UTxO.UTxO[], redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingDatum | MissingRedeemer | UTxOAlreadyAdded | Assets.SomeNonPositive | RedeemerAlreadyAdded | DatumNotFound, GetDatum>;
173
- export declare const spendEffect: (utxos: UTxO.UTxO | UTxO.UTxO[], redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, RedundantRedeemer | MissingScript | MissingDatum | MissingRedeemer | UTxOAlreadyAdded | Assets.SomeNonPositive | RedeemerAlreadyAdded | DatumNotFound | E, GetDatum | R>;
172
+ export declare const spend: (utxos: UTxO.UTxO | UTxO.UTxO[], redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => (b: TxBuilder) => Effect.Effect<TxBuilder, Assets.SomeNonPositive | UTxOAlreadyAdded | MissingDatum | MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript | DatumNotFound, GetDatum>;
173
+ export declare const spendEffect: (utxos: UTxO.UTxO | UTxO.UTxO[], redeemer?: Uplc.Data.Data | RedeemerBuilder | undefined) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, Assets.SomeNonPositive | UTxOAlreadyAdded | MissingDatum | MissingRedeemer | RedundantRedeemer | RedeemerAlreadyAdded | MissingScript | DatumNotFound | E, GetDatum | R>;
174
174
  export declare const validFromSlot: (slot: number) => (b: TxBuilder) => TxBuilder;
175
175
  export declare const validFromSlotEffect: (slot: number) => <E, R>(self: Effect.Effect<TxBuilder, E, R>) => Effect.Effect<TxBuilder, E, R>;
176
176
  /**
@@ -229,6 +229,6 @@ export interface BabelFeeOptions {
229
229
  */
230
230
  readonly assetClass: AssetClass.AssetClass;
231
231
  }
232
- export declare const build: (options?: BuildOptions) => (b: TxBuilder) => Effect.Effect<Tx.Tx, import("effect/ParseResult").ParseError | Error, Network.IsMainnet | Network.UTxO | Network.Params.params | BalancingWallet>;
232
+ export declare const build: (options?: BuildOptions) => (b: TxBuilder) => Effect.Effect<Tx.Tx, Error | import("effect/ParseResult").ParseError, Network.Params.params | Network.IsMainnet | Network.UTxO | BalancingWallet>;
233
233
  export {};
234
234
  //# sourceMappingURL=TxBuilder.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { Either, Encoding } from "effect";
2
2
  import type { MachineContext, Value as CekValue } from "./Cek.js";
3
3
  import * as Cost from "./Cost.js";
4
- declare const WrongArgType_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
4
+ declare const WrongArgType_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
5
5
  readonly _tag: "Uplc.Builtins.WrongArgType";
6
6
  } & Readonly<A>;
7
7
  export declare class WrongArgType extends WrongArgType_base<{
@@ -9,7 +9,7 @@ export declare class WrongArgType extends WrongArgType_base<{
9
9
  }> {
10
10
  constructor(argIndex: number, expected: string, actual: string);
11
11
  }
12
- declare const DivisionByZero_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
12
+ declare const DivisionByZero_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
13
13
  readonly _tag: "Uplc.Builtins.DivisionByZero";
14
14
  } & Readonly<A>;
15
15
  export declare class DivisionByZero extends DivisionByZero_base<{
@@ -17,7 +17,7 @@ export declare class DivisionByZero extends DivisionByZero_base<{
17
17
  }> {
18
18
  constructor(fnName: string);
19
19
  }
20
- declare const OutOfRange_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
20
+ declare const OutOfRange_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
21
21
  readonly _tag: "Uplc.Builtins.OutOfRange";
22
22
  } & Readonly<A>;
23
23
  export declare class OutOfRange extends OutOfRange_base<{
@@ -25,7 +25,7 @@ export declare class OutOfRange extends OutOfRange_base<{
25
25
  }> {
26
26
  constructor(containerSize: number, index: number);
27
27
  }
28
- declare const InvalidLength_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
28
+ declare const InvalidLength_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
29
29
  readonly _tag: "Uplc.Builtin.InvalidLength";
30
30
  } & Readonly<A>;
31
31
  export declare class Inv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
82
  }[];
83
83
  breakdown: Cost.Breakdown;
84
84
  }, Error, never>;
85
- export declare const apply: (script: Script, args: readonly Value.Value[]) => Effect.Effect<Script<2 | 1 | 3>, Error, never>;
85
+ export declare const apply: (script: Script, args: readonly Value.Value[]) => Effect.Effect<Script<1 | 2 | 3>, Error, never>;
86
86
  export declare const extractParams: (script: Script) => Effect.Effect<Value.Value[], Error, never>;
87
87
  export { eval$ as eval };
88
88
  export declare function hash(script: Script): ValidatorHash;
@@ -23,7 +23,6 @@ export declare const Phrase: (phrase: string | string[], account?: number, subAc
23
23
  addressSync: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
24
24
  changeAddress: Effect.Effect<string & import("effect/Brand").Brand<"Cardano.Ledger.Address">, never, never>;
25
25
  utxos: Effect.Effect<{
26
- readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
27
26
  readonly output: {
28
27
  readonly address: string & import("effect/Brand").Brand<"Cardano.Ledger.Address">;
29
28
  readonly assets: {
@@ -61,6 +60,7 @@ export declare const Phrase: (phrase: string | string[], account?: number, subAc
61
60
  readonly strictBabbage?: boolean | undefined;
62
61
  } | undefined;
63
62
  };
63
+ readonly ref: string & import("effect/Brand").Brand<"UTxORef">;
64
64
  }[], Error, never>;
65
65
  signData: (candidateAddress: Address.Address, data: Uint8Array | number[] | string) => Effect.Effect<{
66
66
  signature: import("effect/Either").Either<Cose.Sign1.Sign1, Cose.Sign1.InvalidAddress>;
@@ -1,6 +1,6 @@
1
1
  import { Either, Encoding } from "effect";
2
2
  export type BytesLike = string | number[] | Uint8Array | Stream;
3
- declare const EndOfStreamError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
3
+ declare const EndOfStreamError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
4
4
  readonly _tag: "EndOfStreamError";
5
5
  } & Readonly<A>;
6
6
  export declare class EndOfStreamError extends EndOfStreamError_base<{
@@ -8,7 +8,7 @@ export type Decoder<T> = (stream: Bytes.Stream) => Either.Either<T, Bytes.EndOfS
8
8
  export type IndexedDecoder<T> = (stream: Bytes.Stream, index: number) => Either.Either<T, Bytes.EndOfStreamError | DecodeError>;
9
9
  export type DecodeResult<T> = Either.Either<T, Bytes.EndOfStreamError | DecodeError>;
10
10
  export type PeekResult<T> = Either.Either<T, Bytes.EndOfStreamError>;
11
- declare const DecodeError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
11
+ declare const DecodeError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
12
12
  readonly _tag: "Cbor.DecodeError";
13
13
  } & Readonly<A>;
14
14
  export declare class DecodeError extends DecodeError_base<{