@cardananium/cquisitor-lib 0.1.0-beta.33 → 0.1.0-beta.35
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/browser/cquisitor_lib.d.ts +960 -891
- package/browser/cquisitor_lib_bg.js +131 -98
- package/browser/cquisitor_lib_bg.wasm +0 -0
- package/browser/cquisitor_lib_bg.wasm.d.ts +2 -1
- package/node/cquisitor_lib.d.ts +960 -891
- package/node/cquisitor_lib.js +112 -79
- package/node/cquisitor_lib_bg.wasm +0 -0
- package/node/cquisitor_lib_bg.wasm.d.ts +2 -1
- package/package.json +1 -1
|
@@ -376,6 +376,61 @@ export function validate_transaction_js(tx_hex, validation_context) {
|
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
+
/**
|
|
380
|
+
* WASM export: Extracts all script and datum hashes from a transaction
|
|
381
|
+
* Returns JSON string with ExtractedHashes structure
|
|
382
|
+
* @param {string} tx_hex
|
|
383
|
+
* @returns {string}
|
|
384
|
+
*/
|
|
385
|
+
export function extract_hashes_from_transaction_js(tx_hex) {
|
|
386
|
+
let deferred3_0;
|
|
387
|
+
let deferred3_1;
|
|
388
|
+
try {
|
|
389
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
390
|
+
const ptr0 = passStringToWasm0(tx_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
391
|
+
const len0 = WASM_VECTOR_LEN;
|
|
392
|
+
wasm.extract_hashes_from_transaction_js(retptr, ptr0, len0);
|
|
393
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
394
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
395
|
+
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
396
|
+
var r3 = getInt32Memory0()[retptr / 4 + 3];
|
|
397
|
+
var ptr2 = r0;
|
|
398
|
+
var len2 = r1;
|
|
399
|
+
if (r3) {
|
|
400
|
+
ptr2 = 0; len2 = 0;
|
|
401
|
+
throw takeObject(r2);
|
|
402
|
+
}
|
|
403
|
+
deferred3_0 = ptr2;
|
|
404
|
+
deferred3_1 = len2;
|
|
405
|
+
return getStringFromWasm0(ptr2, len2);
|
|
406
|
+
} finally {
|
|
407
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
408
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @param {string} cbor_hex
|
|
414
|
+
* @returns {any}
|
|
415
|
+
*/
|
|
416
|
+
export function cbor_to_json(cbor_hex) {
|
|
417
|
+
try {
|
|
418
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
419
|
+
const ptr0 = passStringToWasm0(cbor_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
420
|
+
const len0 = WASM_VECTOR_LEN;
|
|
421
|
+
wasm.cbor_to_json(retptr, ptr0, len0);
|
|
422
|
+
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
423
|
+
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
424
|
+
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
425
|
+
if (r2) {
|
|
426
|
+
throw takeObject(r1);
|
|
427
|
+
}
|
|
428
|
+
return takeObject(r0);
|
|
429
|
+
} finally {
|
|
430
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
|
|
379
434
|
/**
|
|
380
435
|
* @param {string} hex
|
|
381
436
|
* @returns {any}
|
|
@@ -478,28 +533,6 @@ export function execute_tx_scripts(tx_hex, utxo_json, cost_models_json) {
|
|
|
478
533
|
}
|
|
479
534
|
}
|
|
480
535
|
|
|
481
|
-
/**
|
|
482
|
-
* @param {string} cbor_hex
|
|
483
|
-
* @returns {any}
|
|
484
|
-
*/
|
|
485
|
-
export function cbor_to_json(cbor_hex) {
|
|
486
|
-
try {
|
|
487
|
-
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
488
|
-
const ptr0 = passStringToWasm0(cbor_hex, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
489
|
-
const len0 = WASM_VECTOR_LEN;
|
|
490
|
-
wasm.cbor_to_json(retptr, ptr0, len0);
|
|
491
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
492
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
493
|
-
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
494
|
-
if (r2) {
|
|
495
|
-
throw takeObject(r1);
|
|
496
|
-
}
|
|
497
|
-
return takeObject(r0);
|
|
498
|
-
} finally {
|
|
499
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
500
|
-
}
|
|
501
|
-
}
|
|
502
|
-
|
|
503
536
|
/**
|
|
504
537
|
* @param {string} tx_hex
|
|
505
538
|
* @param {number} output_index
|
|
@@ -1118,100 +1151,37 @@ function handleError(f, args) {
|
|
|
1118
1151
|
}
|
|
1119
1152
|
/**
|
|
1120
1153
|
*/
|
|
1121
|
-
export const
|
|
1122
|
-
/**
|
|
1123
|
-
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1124
|
-
*/
|
|
1125
|
-
LargestFirst:0,"0":"LargestFirst",
|
|
1126
|
-
/**
|
|
1127
|
-
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1128
|
-
*/
|
|
1129
|
-
RandomImprove:1,"1":"RandomImprove",
|
|
1130
|
-
/**
|
|
1131
|
-
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1132
|
-
*/
|
|
1133
|
-
LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
1134
|
-
/**
|
|
1135
|
-
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1136
|
-
*/
|
|
1137
|
-
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1138
|
-
/**
|
|
1139
|
-
*/
|
|
1140
|
-
export const TransactionMetadatumKind = Object.freeze({ MetadataMap:0,"0":"MetadataMap",MetadataList:1,"1":"MetadataList",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
|
|
1141
|
-
/**
|
|
1142
|
-
*/
|
|
1143
|
-
export const RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1144
|
-
/**
|
|
1145
|
-
*/
|
|
1146
|
-
export const CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1154
|
+
export const AddressKind = Object.freeze({ Base:0,"0":"Base",Pointer:1,"1":"Pointer",Enterprise:2,"2":"Enterprise",Reward:3,"3":"Reward",Byron:4,"4":"Byron",Malformed:5,"5":"Malformed", });
|
|
1147
1155
|
/**
|
|
1148
1156
|
*/
|
|
1149
1157
|
export const RedeemerTagKind = Object.freeze({ Spend:0,"0":"Spend",Mint:1,"1":"Mint",Cert:2,"2":"Cert",Reward:3,"3":"Reward",Vote:4,"4":"Vote",VotingProposal:5,"5":"VotingProposal", });
|
|
1150
1158
|
/**
|
|
1151
|
-
* Each new language uses a different namespace for hashing its script
|
|
1152
|
-
* This is because you could have a language where the same bytes have different semantics
|
|
1153
|
-
* So this avoids scripts in different languages mapping to the same hash
|
|
1154
|
-
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1155
|
-
*/
|
|
1156
|
-
export const ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1157
|
-
/**
|
|
1158
|
-
*/
|
|
1159
|
-
export const MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1160
|
-
/**
|
|
1161
|
-
*/
|
|
1162
|
-
export const DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1163
|
-
/**
|
|
1164
1159
|
*/
|
|
1165
|
-
export const
|
|
1166
|
-
/**
|
|
1167
|
-
*/
|
|
1168
|
-
export const LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1169
|
-
/**
|
|
1170
|
-
*/
|
|
1171
|
-
export const BlockEra = Object.freeze({ Byron:0,"0":"Byron",Shelley:1,"1":"Shelley",Allegra:2,"2":"Allegra",Mary:3,"3":"Mary",Alonzo:4,"4":"Alonzo",Babbage:5,"5":"Babbage",Conway:6,"6":"Conway",Unknown:7,"7":"Unknown", });
|
|
1172
|
-
/**
|
|
1173
|
-
*/
|
|
1174
|
-
export const CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
|
|
1160
|
+
export const ByronAddressType = Object.freeze({ ATPubKey:0,"0":"ATPubKey",ATScript:1,"1":"ATScript",ATRedeem:2,"2":"ATRedeem", });
|
|
1175
1161
|
/**
|
|
1176
1162
|
*/
|
|
1177
|
-
export const
|
|
1163
|
+
export const VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
|
|
1178
1164
|
/**
|
|
1179
1165
|
*/
|
|
1180
1166
|
export const MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
|
|
1181
1167
|
/**
|
|
1182
1168
|
*/
|
|
1183
|
-
export const
|
|
1184
|
-
/**
|
|
1185
|
-
*/
|
|
1186
|
-
export const CertificateKind = Object.freeze({ StakeRegistration:0,"0":"StakeRegistration",StakeDeregistration:1,"1":"StakeDeregistration",StakeDelegation:2,"2":"StakeDelegation",PoolRegistration:3,"3":"PoolRegistration",PoolRetirement:4,"4":"PoolRetirement",GenesisKeyDelegation:5,"5":"GenesisKeyDelegation",MoveInstantaneousRewardsCert:6,"6":"MoveInstantaneousRewardsCert",CommitteeHotAuth:7,"7":"CommitteeHotAuth",CommitteeColdResign:8,"8":"CommitteeColdResign",DRepDeregistration:9,"9":"DRepDeregistration",DRepRegistration:10,"10":"DRepRegistration",DRepUpdate:11,"11":"DRepUpdate",StakeAndVoteDelegation:12,"12":"StakeAndVoteDelegation",StakeRegistrationAndDelegation:13,"13":"StakeRegistrationAndDelegation",StakeVoteRegistrationAndDelegation:14,"14":"StakeVoteRegistrationAndDelegation",VoteDelegation:15,"15":"VoteDelegation",VoteRegistrationAndDelegation:16,"16":"VoteRegistrationAndDelegation", });
|
|
1169
|
+
export const CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1187
1170
|
/**
|
|
1188
1171
|
*/
|
|
1189
|
-
export const
|
|
1172
|
+
export const TransactionMetadatumKind = Object.freeze({ MetadataMap:0,"0":"MetadataMap",MetadataList:1,"1":"MetadataList",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
|
|
1190
1173
|
/**
|
|
1191
1174
|
*/
|
|
1192
1175
|
export const PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPlutusData",Map:1,"1":"Map",List:2,"2":"List",Integer:3,"3":"Integer",Bytes:4,"4":"Bytes", });
|
|
1193
1176
|
/**
|
|
1194
1177
|
*/
|
|
1195
|
-
export const
|
|
1196
|
-
/**
|
|
1197
|
-
*/
|
|
1198
|
-
export const VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
|
|
1199
|
-
/**
|
|
1200
|
-
*/
|
|
1201
|
-
export const MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1202
|
-
/**
|
|
1203
|
-
*/
|
|
1204
|
-
export const VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1205
|
-
/**
|
|
1206
|
-
* Used to choosed the schema for a script JSON string
|
|
1207
|
-
*/
|
|
1208
|
-
export const ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1178
|
+
export const NativeScriptKind = Object.freeze({ ScriptPubkey:0,"0":"ScriptPubkey",ScriptAll:1,"1":"ScriptAll",ScriptAny:2,"2":"ScriptAny",ScriptNOfK:3,"3":"ScriptNOfK",TimelockStart:4,"4":"TimelockStart",TimelockExpiry:5,"5":"TimelockExpiry", });
|
|
1209
1179
|
/**
|
|
1210
1180
|
*/
|
|
1211
|
-
export const
|
|
1181
|
+
export const MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1212
1182
|
/**
|
|
1213
1183
|
*/
|
|
1214
|
-
export const
|
|
1184
|
+
export const DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1215
1185
|
/**
|
|
1216
1186
|
* JSON <-> PlutusData conversion schemas.
|
|
1217
1187
|
* Follows ScriptDataJsonSchema in cardano-cli defined at:
|
|
@@ -1263,6 +1233,69 @@ BasicConversions:0,"0":"BasicConversions",
|
|
|
1263
1233
|
* * all Plutus datums should be fully supported outside of the integer range limitations outlined above.
|
|
1264
1234
|
*/
|
|
1265
1235
|
DetailedSchema:1,"1":"DetailedSchema", });
|
|
1236
|
+
/**
|
|
1237
|
+
*/
|
|
1238
|
+
export const CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
|
|
1239
|
+
/**
|
|
1240
|
+
* Each new language uses a different namespace for hashing its script
|
|
1241
|
+
* This is because you could have a language where the same bytes have different semantics
|
|
1242
|
+
* So this avoids scripts in different languages mapping to the same hash
|
|
1243
|
+
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1244
|
+
*/
|
|
1245
|
+
export const ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1246
|
+
/**
|
|
1247
|
+
*/
|
|
1248
|
+
export const NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
|
|
1249
|
+
/**
|
|
1250
|
+
*/
|
|
1251
|
+
export const VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1252
|
+
/**
|
|
1253
|
+
*/
|
|
1254
|
+
export const TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1255
|
+
/**
|
|
1256
|
+
*/
|
|
1257
|
+
export const MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1258
|
+
/**
|
|
1259
|
+
*/
|
|
1260
|
+
export const CoinSelectionStrategyCIP2 = Object.freeze({
|
|
1261
|
+
/**
|
|
1262
|
+
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1263
|
+
*/
|
|
1264
|
+
LargestFirst:0,"0":"LargestFirst",
|
|
1265
|
+
/**
|
|
1266
|
+
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1267
|
+
*/
|
|
1268
|
+
RandomImprove:1,"1":"RandomImprove",
|
|
1269
|
+
/**
|
|
1270
|
+
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1271
|
+
*/
|
|
1272
|
+
LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
1273
|
+
/**
|
|
1274
|
+
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1275
|
+
*/
|
|
1276
|
+
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1277
|
+
/**
|
|
1278
|
+
*/
|
|
1279
|
+
export const BlockEra = Object.freeze({ Byron:0,"0":"Byron",Shelley:1,"1":"Shelley",Allegra:2,"2":"Allegra",Mary:3,"3":"Mary",Alonzo:4,"4":"Alonzo",Babbage:5,"5":"Babbage",Conway:6,"6":"Conway",Unknown:7,"7":"Unknown", });
|
|
1280
|
+
/**
|
|
1281
|
+
*/
|
|
1282
|
+
export const RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1283
|
+
/**
|
|
1284
|
+
*/
|
|
1285
|
+
export const LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1286
|
+
/**
|
|
1287
|
+
*/
|
|
1288
|
+
export const CertificateKind = Object.freeze({ StakeRegistration:0,"0":"StakeRegistration",StakeDeregistration:1,"1":"StakeDeregistration",StakeDelegation:2,"2":"StakeDelegation",PoolRegistration:3,"3":"PoolRegistration",PoolRetirement:4,"4":"PoolRetirement",GenesisKeyDelegation:5,"5":"GenesisKeyDelegation",MoveInstantaneousRewardsCert:6,"6":"MoveInstantaneousRewardsCert",CommitteeHotAuth:7,"7":"CommitteeHotAuth",CommitteeColdResign:8,"8":"CommitteeColdResign",DRepDeregistration:9,"9":"DRepDeregistration",DRepRegistration:10,"10":"DRepRegistration",DRepUpdate:11,"11":"DRepUpdate",StakeAndVoteDelegation:12,"12":"StakeAndVoteDelegation",StakeRegistrationAndDelegation:13,"13":"StakeRegistrationAndDelegation",StakeVoteRegistrationAndDelegation:14,"14":"StakeVoteRegistrationAndDelegation",VoteDelegation:15,"15":"VoteDelegation",VoteRegistrationAndDelegation:16,"16":"VoteRegistrationAndDelegation", });
|
|
1289
|
+
/**
|
|
1290
|
+
* Used to choosed the schema for a script JSON string
|
|
1291
|
+
*/
|
|
1292
|
+
export const ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1293
|
+
/**
|
|
1294
|
+
*/
|
|
1295
|
+
export const CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1296
|
+
/**
|
|
1297
|
+
*/
|
|
1298
|
+
export const GovernanceActionKind = Object.freeze({ ParameterChangeAction:0,"0":"ParameterChangeAction",HardForkInitiationAction:1,"1":"HardForkInitiationAction",TreasuryWithdrawalsAction:2,"2":"TreasuryWithdrawalsAction",NoConfidenceAction:3,"3":"NoConfidenceAction",UpdateCommitteeAction:4,"4":"UpdateCommitteeAction",NewConstitutionAction:5,"5":"NewConstitutionAction",InfoAction:6,"6":"InfoAction", });
|
|
1266
1299
|
|
|
1267
1300
|
const AddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1268
1301
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -39101,6 +39134,11 @@ export function __wbindgen_string_new(arg0, arg1) {
|
|
|
39101
39134
|
return addHeapObject(ret);
|
|
39102
39135
|
};
|
|
39103
39136
|
|
|
39137
|
+
export function __wbindgen_error_new(arg0, arg1) {
|
|
39138
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
39139
|
+
return addHeapObject(ret);
|
|
39140
|
+
};
|
|
39141
|
+
|
|
39104
39142
|
export function __wbindgen_is_undefined(arg0) {
|
|
39105
39143
|
const ret = getObject(arg0) === undefined;
|
|
39106
39144
|
return ret;
|
|
@@ -39146,11 +39184,6 @@ export function __wbindgen_is_object(arg0) {
|
|
|
39146
39184
|
return ret;
|
|
39147
39185
|
};
|
|
39148
39186
|
|
|
39149
|
-
export function __wbindgen_error_new(arg0, arg1) {
|
|
39150
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
39151
|
-
return addHeapObject(ret);
|
|
39152
|
-
};
|
|
39153
|
-
|
|
39154
39187
|
export function __wbindgen_object_clone_ref(arg0) {
|
|
39155
39188
|
const ret = getObject(arg0);
|
|
39156
39189
|
return addHeapObject(ret);
|
|
Binary file
|
|
@@ -7,11 +7,12 @@ export function get_possible_types_for_input(a: number, b: number, c: number): v
|
|
|
7
7
|
export function check_block_or_tx_signatures(a: number, b: number, c: number): void;
|
|
8
8
|
export function get_necessary_data_list_js(a: number, b: number, c: number): void;
|
|
9
9
|
export function validate_transaction_js(a: number, b: number, c: number, d: number, e: number): void;
|
|
10
|
+
export function extract_hashes_from_transaction_js(a: number, b: number, c: number): void;
|
|
11
|
+
export function cbor_to_json(a: number, b: number, c: number): void;
|
|
10
12
|
export function decode_plutus_program_uplc_json(a: number, b: number, c: number): void;
|
|
11
13
|
export function decode_plutus_program_pretty_uplc(a: number, b: number, c: number): void;
|
|
12
14
|
export function get_utxo_list_from_tx(a: number, b: number, c: number): void;
|
|
13
15
|
export function execute_tx_scripts(a: number, b: number, c: number, d: number, e: number): void;
|
|
14
|
-
export function cbor_to_json(a: number, b: number, c: number): void;
|
|
15
16
|
export function get_ref_script_bytes(a: number, b: number, c: number, d: number): void;
|
|
16
17
|
export function __wbg_noconfidenceaction_free(a: number): void;
|
|
17
18
|
export function noconfidenceaction_to_bytes(a: number, b: number): void;
|