@cardananium/cquisitor-lib 0.1.0-beta.20 → 0.1.0-beta.21
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.
|
@@ -1085,30 +1085,39 @@ function handleError(f, args) {
|
|
|
1085
1085
|
}
|
|
1086
1086
|
}
|
|
1087
1087
|
/**
|
|
1088
|
-
* Used to choosed the schema for a script JSON string
|
|
1089
1088
|
*/
|
|
1090
|
-
export const
|
|
1089
|
+
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", });
|
|
1091
1090
|
/**
|
|
1092
1091
|
*/
|
|
1093
|
-
export const
|
|
1092
|
+
export const RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1094
1093
|
/**
|
|
1095
1094
|
*/
|
|
1096
|
-
export const
|
|
1095
|
+
export const MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1097
1096
|
/**
|
|
1098
1097
|
*/
|
|
1099
|
-
export const
|
|
1098
|
+
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", });
|
|
1100
1099
|
/**
|
|
1101
1100
|
*/
|
|
1102
|
-
export const
|
|
1101
|
+
export const LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1103
1102
|
/**
|
|
1104
1103
|
*/
|
|
1105
|
-
export const
|
|
1104
|
+
export const CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1106
1105
|
/**
|
|
1107
1106
|
*/
|
|
1108
|
-
export const
|
|
1107
|
+
export const MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1109
1108
|
/**
|
|
1109
|
+
* Used to choosed the schema for a script JSON string
|
|
1110
1110
|
*/
|
|
1111
|
-
export const
|
|
1111
|
+
export const ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1112
|
+
/**
|
|
1113
|
+
*/
|
|
1114
|
+
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", });
|
|
1115
|
+
/**
|
|
1116
|
+
*/
|
|
1117
|
+
export const CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1118
|
+
/**
|
|
1119
|
+
*/
|
|
1120
|
+
export const MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
|
|
1112
1121
|
/**
|
|
1113
1122
|
* Each new language uses a different namespace for hashing its script
|
|
1114
1123
|
* This is because you could have a language where the same bytes have different semantics
|
|
@@ -1118,14 +1127,60 @@ export const BlockEra = Object.freeze({ Byron:0,"0":"Byron",Shelley:1,"1":"Shell
|
|
|
1118
1127
|
export const ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1119
1128
|
/**
|
|
1120
1129
|
*/
|
|
1121
|
-
export const
|
|
1130
|
+
export const TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1122
1131
|
/**
|
|
1123
1132
|
*/
|
|
1124
|
-
export const
|
|
1133
|
+
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", });
|
|
1134
|
+
/**
|
|
1135
|
+
*/
|
|
1136
|
+
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", });
|
|
1137
|
+
/**
|
|
1138
|
+
*/
|
|
1139
|
+
export const ByronAddressType = Object.freeze({ ATPubKey:0,"0":"ATPubKey",ATScript:1,"1":"ATScript",ATRedeem:2,"2":"ATRedeem", });
|
|
1140
|
+
/**
|
|
1141
|
+
*/
|
|
1142
|
+
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", });
|
|
1143
|
+
/**
|
|
1144
|
+
*/
|
|
1145
|
+
export const CoinSelectionStrategyCIP2 = Object.freeze({
|
|
1146
|
+
/**
|
|
1147
|
+
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1148
|
+
*/
|
|
1149
|
+
LargestFirst:0,"0":"LargestFirst",
|
|
1150
|
+
/**
|
|
1151
|
+
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1152
|
+
*/
|
|
1153
|
+
RandomImprove:1,"1":"RandomImprove",
|
|
1154
|
+
/**
|
|
1155
|
+
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1156
|
+
*/
|
|
1157
|
+
LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
1158
|
+
/**
|
|
1159
|
+
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1160
|
+
*/
|
|
1161
|
+
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1125
1162
|
/**
|
|
1126
1163
|
*/
|
|
1127
1164
|
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", });
|
|
1128
1165
|
/**
|
|
1166
|
+
*/
|
|
1167
|
+
export const DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1168
|
+
/**
|
|
1169
|
+
*/
|
|
1170
|
+
export const VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1171
|
+
/**
|
|
1172
|
+
*/
|
|
1173
|
+
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", });
|
|
1174
|
+
/**
|
|
1175
|
+
*/
|
|
1176
|
+
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", });
|
|
1177
|
+
/**
|
|
1178
|
+
*/
|
|
1179
|
+
export const CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
|
|
1180
|
+
/**
|
|
1181
|
+
*/
|
|
1182
|
+
export const NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
|
|
1183
|
+
/**
|
|
1129
1184
|
* JSON <-> PlutusData conversion schemas.
|
|
1130
1185
|
* Follows ScriptDataJsonSchema in cardano-cli defined at:
|
|
1131
1186
|
* https://github.com/input-output-hk/cardano-node/blob/master/cardano-api/src/Cardano/Api/ScriptData.hs#L254
|
|
@@ -1176,61 +1231,6 @@ BasicConversions:0,"0":"BasicConversions",
|
|
|
1176
1231
|
* * all Plutus datums should be fully supported outside of the integer range limitations outlined above.
|
|
1177
1232
|
*/
|
|
1178
1233
|
DetailedSchema:1,"1":"DetailedSchema", });
|
|
1179
|
-
/**
|
|
1180
|
-
*/
|
|
1181
|
-
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", });
|
|
1182
|
-
/**
|
|
1183
|
-
*/
|
|
1184
|
-
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", });
|
|
1185
|
-
/**
|
|
1186
|
-
*/
|
|
1187
|
-
export const RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1188
|
-
/**
|
|
1189
|
-
*/
|
|
1190
|
-
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", });
|
|
1191
|
-
/**
|
|
1192
|
-
*/
|
|
1193
|
-
export const VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1194
|
-
/**
|
|
1195
|
-
*/
|
|
1196
|
-
export const TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1197
|
-
/**
|
|
1198
|
-
*/
|
|
1199
|
-
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", });
|
|
1200
|
-
/**
|
|
1201
|
-
*/
|
|
1202
|
-
export const LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1203
|
-
/**
|
|
1204
|
-
*/
|
|
1205
|
-
export const MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1206
|
-
/**
|
|
1207
|
-
*/
|
|
1208
|
-
export const MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1209
|
-
/**
|
|
1210
|
-
*/
|
|
1211
|
-
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", });
|
|
1212
|
-
/**
|
|
1213
|
-
*/
|
|
1214
|
-
export const CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1215
|
-
/**
|
|
1216
|
-
*/
|
|
1217
|
-
export const CoinSelectionStrategyCIP2 = Object.freeze({
|
|
1218
|
-
/**
|
|
1219
|
-
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1220
|
-
*/
|
|
1221
|
-
LargestFirst:0,"0":"LargestFirst",
|
|
1222
|
-
/**
|
|
1223
|
-
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1224
|
-
*/
|
|
1225
|
-
RandomImprove:1,"1":"RandomImprove",
|
|
1226
|
-
/**
|
|
1227
|
-
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1228
|
-
*/
|
|
1229
|
-
LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
1230
|
-
/**
|
|
1231
|
-
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1232
|
-
*/
|
|
1233
|
-
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1234
1234
|
|
|
1235
1235
|
const AddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1236
1236
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -39089,8 +39089,8 @@ export function __wbindgen_is_bigint(arg0) {
|
|
|
39089
39089
|
return ret;
|
|
39090
39090
|
};
|
|
39091
39091
|
|
|
39092
|
-
export function
|
|
39093
|
-
const ret =
|
|
39092
|
+
export function __wbindgen_bigint_from_i64(arg0) {
|
|
39093
|
+
const ret = arg0;
|
|
39094
39094
|
return addHeapObject(ret);
|
|
39095
39095
|
};
|
|
39096
39096
|
|
|
Binary file
|
package/node/cquisitor_lib.js
CHANGED
|
@@ -1081,53 +1081,66 @@ function handleError(f, args) {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
/**
|
|
1083
1083
|
*/
|
|
1084
|
-
module.exports.
|
|
1084
|
+
module.exports.LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1085
1085
|
/**
|
|
1086
1086
|
*/
|
|
1087
|
-
module.exports.
|
|
1087
|
+
module.exports.PlutusDataKind = Object.freeze({ ConstrPlutusData:0,"0":"ConstrPlutusData",Map:1,"1":"Map",List:2,"2":"List",Integer:3,"3":"Integer",Bytes:4,"4":"Bytes", });
|
|
1088
1088
|
/**
|
|
1089
1089
|
*/
|
|
1090
|
-
module.exports.
|
|
1090
|
+
module.exports.MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1091
1091
|
/**
|
|
1092
1092
|
*/
|
|
1093
|
-
module.exports.
|
|
1093
|
+
module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1094
1094
|
/**
|
|
1095
1095
|
*/
|
|
1096
|
-
module.exports.
|
|
1096
|
+
module.exports.MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1097
1097
|
/**
|
|
1098
|
-
*
|
|
1098
|
+
* Used to choosed the schema for a script JSON string
|
|
1099
1099
|
*/
|
|
1100
|
-
|
|
1100
|
+
module.exports.ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1101
1101
|
/**
|
|
1102
|
-
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1103
1102
|
*/
|
|
1104
|
-
|
|
1103
|
+
module.exports.ByronAddressType = Object.freeze({ ATPubKey:0,"0":"ATPubKey",ATScript:1,"1":"ATScript",ATRedeem:2,"2":"ATRedeem", });
|
|
1105
1104
|
/**
|
|
1106
|
-
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1107
1105
|
*/
|
|
1108
|
-
|
|
1106
|
+
module.exports.TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1109
1107
|
/**
|
|
1110
|
-
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1111
1108
|
*/
|
|
1112
|
-
|
|
1109
|
+
module.exports.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", });
|
|
1113
1110
|
/**
|
|
1114
1111
|
*/
|
|
1115
|
-
module.exports.
|
|
1112
|
+
module.exports.DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1116
1113
|
/**
|
|
1117
1114
|
*/
|
|
1118
|
-
module.exports.
|
|
1115
|
+
module.exports.VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1119
1116
|
/**
|
|
1120
1117
|
*/
|
|
1121
|
-
module.exports.
|
|
1118
|
+
module.exports.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", });
|
|
1122
1119
|
/**
|
|
1123
1120
|
*/
|
|
1124
|
-
module.exports.
|
|
1121
|
+
module.exports.CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
|
|
1125
1122
|
/**
|
|
1126
1123
|
*/
|
|
1127
|
-
module.exports.
|
|
1124
|
+
module.exports.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", });
|
|
1128
1125
|
/**
|
|
1129
1126
|
*/
|
|
1130
|
-
module.exports.
|
|
1127
|
+
module.exports.TransactionMetadatumKind = Object.freeze({ MetadataMap:0,"0":"MetadataMap",MetadataList:1,"1":"MetadataList",Int:2,"2":"Int",Bytes:3,"3":"Bytes",Text:4,"4":"Text", });
|
|
1128
|
+
/**
|
|
1129
|
+
*/
|
|
1130
|
+
module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
|
|
1131
|
+
/**
|
|
1132
|
+
* Each new language uses a different namespace for hashing its script
|
|
1133
|
+
* This is because you could have a language where the same bytes have different semantics
|
|
1134
|
+
* So this avoids scripts in different languages mapping to the same hash
|
|
1135
|
+
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1136
|
+
*/
|
|
1137
|
+
module.exports.ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1138
|
+
/**
|
|
1139
|
+
*/
|
|
1140
|
+
module.exports.VoterKind = Object.freeze({ ConstitutionalCommitteeHotKeyHash:0,"0":"ConstitutionalCommitteeHotKeyHash",ConstitutionalCommitteeHotScriptHash:1,"1":"ConstitutionalCommitteeHotScriptHash",DRepKeyHash:2,"2":"DRepKeyHash",DRepScriptHash:3,"3":"DRepScriptHash",StakingPoolKeyHash:4,"4":"StakingPoolKeyHash", });
|
|
1141
|
+
/**
|
|
1142
|
+
*/
|
|
1143
|
+
module.exports.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", });
|
|
1131
1144
|
/**
|
|
1132
1145
|
* JSON <-> PlutusData conversion schemas.
|
|
1133
1146
|
* Follows ScriptDataJsonSchema in cardano-cli defined at:
|
|
@@ -1181,51 +1194,38 @@ BasicConversions:0,"0":"BasicConversions",
|
|
|
1181
1194
|
DetailedSchema:1,"1":"DetailedSchema", });
|
|
1182
1195
|
/**
|
|
1183
1196
|
*/
|
|
1184
|
-
module.exports.
|
|
1185
|
-
/**
|
|
1186
|
-
*/
|
|
1187
|
-
module.exports.CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1188
|
-
/**
|
|
1189
|
-
* Each new language uses a different namespace for hashing its script
|
|
1190
|
-
* This is because you could have a language where the same bytes have different semantics
|
|
1191
|
-
* So this avoids scripts in different languages mapping to the same hash
|
|
1192
|
-
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1193
|
-
*/
|
|
1194
|
-
module.exports.ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1197
|
+
module.exports.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", });
|
|
1195
1198
|
/**
|
|
1196
1199
|
*/
|
|
1197
1200
|
module.exports.NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
|
|
1198
1201
|
/**
|
|
1199
1202
|
*/
|
|
1200
|
-
module.exports.
|
|
1201
|
-
/**
|
|
1202
|
-
*/
|
|
1203
|
-
module.exports.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", });
|
|
1204
|
-
/**
|
|
1205
|
-
*/
|
|
1206
|
-
module.exports.CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1203
|
+
module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
|
|
1207
1204
|
/**
|
|
1205
|
+
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1208
1206
|
*/
|
|
1209
|
-
|
|
1207
|
+
LargestFirst:0,"0":"LargestFirst",
|
|
1210
1208
|
/**
|
|
1209
|
+
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1211
1210
|
*/
|
|
1212
|
-
|
|
1211
|
+
RandomImprove:1,"1":"RandomImprove",
|
|
1213
1212
|
/**
|
|
1214
|
-
*
|
|
1213
|
+
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1215
1214
|
*/
|
|
1216
|
-
|
|
1215
|
+
LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
1217
1216
|
/**
|
|
1217
|
+
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1218
1218
|
*/
|
|
1219
|
-
|
|
1219
|
+
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1220
1220
|
/**
|
|
1221
1221
|
*/
|
|
1222
|
-
module.exports.
|
|
1222
|
+
module.exports.CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1223
1223
|
/**
|
|
1224
1224
|
*/
|
|
1225
|
-
module.exports.
|
|
1225
|
+
module.exports.CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1226
1226
|
/**
|
|
1227
1227
|
*/
|
|
1228
|
-
module.exports.
|
|
1228
|
+
module.exports.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", });
|
|
1229
1229
|
|
|
1230
1230
|
const AddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1231
1231
|
? { register: () => {}, unregister: () => {} }
|
|
@@ -39281,8 +39281,8 @@ module.exports.__wbindgen_is_bigint = function(arg0) {
|
|
|
39281
39281
|
return ret;
|
|
39282
39282
|
};
|
|
39283
39283
|
|
|
39284
|
-
module.exports.
|
|
39285
|
-
const ret =
|
|
39284
|
+
module.exports.__wbindgen_bigint_from_i64 = function(arg0) {
|
|
39285
|
+
const ret = arg0;
|
|
39286
39286
|
return addHeapObject(ret);
|
|
39287
39287
|
};
|
|
39288
39288
|
|
|
Binary file
|