@cardananium/cquisitor-lib 0.1.0-beta.4 → 0.1.0-beta.5
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.js +46 -46
- package/browser/cquisitor_lib_bg.wasm +0 -0
- package/node/cquisitor_lib.js +40 -40
- package/node/cquisitor_lib_bg.wasm +0 -0
- package/package.json +1 -1
package/browser/cquisitor_lib.js
CHANGED
|
@@ -1013,25 +1013,51 @@ function handleError(f, args) {
|
|
|
1013
1013
|
}
|
|
1014
1014
|
/**
|
|
1015
1015
|
*/
|
|
1016
|
-
export const
|
|
1016
|
+
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", });
|
|
1017
1017
|
/**
|
|
1018
1018
|
*/
|
|
1019
1019
|
export const DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1020
1020
|
/**
|
|
1021
1021
|
*/
|
|
1022
|
-
export const
|
|
1022
|
+
export const CoinSelectionStrategyCIP2 = Object.freeze({
|
|
1023
|
+
/**
|
|
1024
|
+
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1025
|
+
*/
|
|
1026
|
+
LargestFirst:0,"0":"LargestFirst",
|
|
1027
|
+
/**
|
|
1028
|
+
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1029
|
+
*/
|
|
1030
|
+
RandomImprove:1,"1":"RandomImprove",
|
|
1031
|
+
/**
|
|
1032
|
+
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1033
|
+
*/
|
|
1034
|
+
LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
1035
|
+
/**
|
|
1036
|
+
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1037
|
+
*/
|
|
1038
|
+
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1039
|
+
/**
|
|
1040
|
+
*/
|
|
1041
|
+
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", });
|
|
1042
|
+
/**
|
|
1043
|
+
*/
|
|
1044
|
+
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", });
|
|
1023
1045
|
/**
|
|
1024
1046
|
*/
|
|
1025
1047
|
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", });
|
|
1026
1048
|
/**
|
|
1027
1049
|
*/
|
|
1028
|
-
export const
|
|
1050
|
+
export const MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
|
|
1029
1051
|
/**
|
|
1052
|
+
* Each new language uses a different namespace for hashing its script
|
|
1053
|
+
* This is because you could have a language where the same bytes have different semantics
|
|
1054
|
+
* So this avoids scripts in different languages mapping to the same hash
|
|
1055
|
+
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1030
1056
|
*/
|
|
1031
|
-
export const
|
|
1057
|
+
export const ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1032
1058
|
/**
|
|
1033
1059
|
*/
|
|
1034
|
-
export const
|
|
1060
|
+
export const LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1035
1061
|
/**
|
|
1036
1062
|
*/
|
|
1037
1063
|
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", });
|
|
@@ -1088,73 +1114,47 @@ BasicConversions:0,"0":"BasicConversions",
|
|
|
1088
1114
|
DetailedSchema:1,"1":"DetailedSchema", });
|
|
1089
1115
|
/**
|
|
1090
1116
|
*/
|
|
1091
|
-
export const
|
|
1092
|
-
/**
|
|
1093
|
-
*/
|
|
1094
|
-
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", });
|
|
1095
|
-
/**
|
|
1096
|
-
*/
|
|
1097
|
-
export const TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1098
|
-
/**
|
|
1099
|
-
*/
|
|
1100
|
-
export const MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1101
|
-
/**
|
|
1102
|
-
* Used to choosed the schema for a script JSON string
|
|
1103
|
-
*/
|
|
1104
|
-
export const ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1105
|
-
/**
|
|
1106
|
-
*/
|
|
1107
|
-
export const MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1108
|
-
/**
|
|
1109
|
-
*/
|
|
1110
|
-
export const CoinSelectionStrategyCIP2 = Object.freeze({
|
|
1117
|
+
export const CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
|
|
1111
1118
|
/**
|
|
1112
|
-
* Performs CIP2's Largest First ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1113
1119
|
*/
|
|
1114
|
-
|
|
1120
|
+
export const RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1115
1121
|
/**
|
|
1116
|
-
* Performs CIP2's Random Improve ada-only selection. Will error if outputs contain non-ADA assets.
|
|
1117
1122
|
*/
|
|
1118
|
-
|
|
1123
|
+
export const CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1119
1124
|
/**
|
|
1120
|
-
* Same as LargestFirst, but before adding ADA, will insert by largest-first for each asset type.
|
|
1121
1125
|
*/
|
|
1122
|
-
|
|
1126
|
+
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", });
|
|
1123
1127
|
/**
|
|
1124
|
-
* Same as RandomImprove, but before adding ADA, will insert by random-improve for each asset type.
|
|
1125
1128
|
*/
|
|
1126
|
-
|
|
1129
|
+
export const NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
|
|
1127
1130
|
/**
|
|
1128
1131
|
*/
|
|
1129
|
-
export const
|
|
1132
|
+
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", });
|
|
1130
1133
|
/**
|
|
1131
1134
|
*/
|
|
1132
|
-
export const
|
|
1135
|
+
export const MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1133
1136
|
/**
|
|
1134
1137
|
*/
|
|
1135
|
-
export const
|
|
1138
|
+
export const TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1136
1139
|
/**
|
|
1137
1140
|
*/
|
|
1138
|
-
export const
|
|
1141
|
+
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", });
|
|
1139
1142
|
/**
|
|
1140
|
-
* Each new language uses a different namespace for hashing its script
|
|
1141
|
-
* This is because you could have a language where the same bytes have different semantics
|
|
1142
|
-
* So this avoids scripts in different languages mapping to the same hash
|
|
1143
|
-
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1144
1143
|
*/
|
|
1145
|
-
export const
|
|
1144
|
+
export const CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1146
1145
|
/**
|
|
1147
1146
|
*/
|
|
1148
|
-
export const
|
|
1147
|
+
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", });
|
|
1149
1148
|
/**
|
|
1149
|
+
* Used to choosed the schema for a script JSON string
|
|
1150
1150
|
*/
|
|
1151
|
-
export const
|
|
1151
|
+
export const ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1152
1152
|
/**
|
|
1153
1153
|
*/
|
|
1154
|
-
export const
|
|
1154
|
+
export const MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1155
1155
|
/**
|
|
1156
1156
|
*/
|
|
1157
|
-
export const
|
|
1157
|
+
export const VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1158
1158
|
|
|
1159
1159
|
const AddressFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1160
1160
|
? { register: () => {}, unregister: () => {} }
|
|
Binary file
|
package/node/cquisitor_lib.js
CHANGED
|
@@ -1016,20 +1016,45 @@ function handleError(f, args) {
|
|
|
1016
1016
|
}
|
|
1017
1017
|
/**
|
|
1018
1018
|
*/
|
|
1019
|
-
module.exports.
|
|
1019
|
+
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", });
|
|
1020
1020
|
/**
|
|
1021
1021
|
*/
|
|
1022
|
-
module.exports.
|
|
1022
|
+
module.exports.NetworkIdKind = Object.freeze({ Testnet:0,"0":"Testnet",Mainnet:1,"1":"Mainnet", });
|
|
1023
1023
|
/**
|
|
1024
1024
|
*/
|
|
1025
|
-
module.exports.
|
|
1025
|
+
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", });
|
|
1026
1026
|
/**
|
|
1027
1027
|
*/
|
|
1028
1028
|
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", });
|
|
1029
1029
|
/**
|
|
1030
1030
|
*/
|
|
1031
|
+
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", });
|
|
1032
|
+
/**
|
|
1033
|
+
*/
|
|
1034
|
+
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", });
|
|
1035
|
+
/**
|
|
1036
|
+
*/
|
|
1031
1037
|
module.exports.CredKind = Object.freeze({ Key:0,"0":"Key",Script:1,"1":"Script", });
|
|
1032
1038
|
/**
|
|
1039
|
+
* Each new language uses a different namespace for hashing its script
|
|
1040
|
+
* This is because you could have a language where the same bytes have different semantics
|
|
1041
|
+
* So this avoids scripts in different languages mapping to the same hash
|
|
1042
|
+
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1043
|
+
*/
|
|
1044
|
+
module.exports.ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1045
|
+
/**
|
|
1046
|
+
*/
|
|
1047
|
+
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", });
|
|
1048
|
+
/**
|
|
1049
|
+
*/
|
|
1050
|
+
module.exports.LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1051
|
+
/**
|
|
1052
|
+
*/
|
|
1053
|
+
module.exports.CborSetType = Object.freeze({ Tagged:0,"0":"Tagged",Untagged:1,"1":"Untagged", });
|
|
1054
|
+
/**
|
|
1055
|
+
*/
|
|
1056
|
+
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", });
|
|
1057
|
+
/**
|
|
1033
1058
|
*/
|
|
1034
1059
|
module.exports.MIRPot = Object.freeze({ Reserves:0,"0":"Reserves",Treasury:1,"1":"Treasury", });
|
|
1035
1060
|
/**
|
|
@@ -1085,25 +1110,32 @@ BasicConversions:0,"0":"BasicConversions",
|
|
|
1085
1110
|
DetailedSchema:1,"1":"DetailedSchema", });
|
|
1086
1111
|
/**
|
|
1087
1112
|
*/
|
|
1088
|
-
module.exports.
|
|
1113
|
+
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", });
|
|
1089
1114
|
/**
|
|
1090
1115
|
*/
|
|
1091
1116
|
module.exports.MetadataJsonSchema = Object.freeze({ NoConversions:0,"0":"NoConversions",BasicConversions:1,"1":"BasicConversions",DetailedSchema:2,"2":"DetailedSchema", });
|
|
1092
1117
|
/**
|
|
1093
1118
|
*/
|
|
1094
|
-
module.exports.
|
|
1119
|
+
module.exports.VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1120
|
+
/**
|
|
1121
|
+
*/
|
|
1122
|
+
module.exports.DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1095
1123
|
/**
|
|
1096
1124
|
*/
|
|
1097
1125
|
module.exports.TransactionSetsState = Object.freeze({ AllSetsHaveTag:0,"0":"AllSetsHaveTag",AllSetsHaveNoTag:1,"1":"AllSetsHaveNoTag",MixedSets:2,"2":"MixedSets", });
|
|
1098
1126
|
/**
|
|
1127
|
+
* Used to choosed the schema for a script JSON string
|
|
1099
1128
|
*/
|
|
1100
|
-
module.exports.
|
|
1129
|
+
module.exports.ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1101
1130
|
/**
|
|
1102
1131
|
*/
|
|
1103
|
-
module.exports.
|
|
1132
|
+
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", });
|
|
1104
1133
|
/**
|
|
1105
1134
|
*/
|
|
1106
|
-
module.exports.
|
|
1135
|
+
module.exports.MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1136
|
+
/**
|
|
1137
|
+
*/
|
|
1138
|
+
module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1107
1139
|
/**
|
|
1108
1140
|
*/
|
|
1109
1141
|
module.exports.CoinSelectionStrategyCIP2 = Object.freeze({
|
|
@@ -1124,38 +1156,6 @@ LargestFirstMultiAsset:2,"2":"LargestFirstMultiAsset",
|
|
|
1124
1156
|
*/
|
|
1125
1157
|
RandomImproveMultiAsset:3,"3":"RandomImproveMultiAsset", });
|
|
1126
1158
|
/**
|
|
1127
|
-
* Each new language uses a different namespace for hashing its script
|
|
1128
|
-
* This is because you could have a language where the same bytes have different semantics
|
|
1129
|
-
* So this avoids scripts in different languages mapping to the same hash
|
|
1130
|
-
* Note that the enum value here is different than the enum value for deciding the cost model of a script
|
|
1131
|
-
*/
|
|
1132
|
-
module.exports.ScriptHashNamespace = Object.freeze({ NativeScript:0,"0":"NativeScript",PlutusScript:1,"1":"PlutusScript",PlutusScriptV2:2,"2":"PlutusScriptV2",PlutusScriptV3:3,"3":"PlutusScriptV3", });
|
|
1133
|
-
/**
|
|
1134
|
-
*/
|
|
1135
|
-
module.exports.VoteKind = Object.freeze({ No:0,"0":"No",Yes:1,"1":"Yes",Abstain:2,"2":"Abstain", });
|
|
1136
|
-
/**
|
|
1137
|
-
*/
|
|
1138
|
-
module.exports.DRepKind = Object.freeze({ KeyHash:0,"0":"KeyHash",ScriptHash:1,"1":"ScriptHash",AlwaysAbstain:2,"2":"AlwaysAbstain",AlwaysNoConfidence:3,"3":"AlwaysNoConfidence", });
|
|
1139
|
-
/**
|
|
1140
|
-
*/
|
|
1141
|
-
module.exports.LanguageKind = Object.freeze({ PlutusV1:0,"0":"PlutusV1",PlutusV2:1,"1":"PlutusV2",PlutusV3:2,"2":"PlutusV3", });
|
|
1142
|
-
/**
|
|
1143
|
-
*/
|
|
1144
|
-
module.exports.RelayKind = Object.freeze({ SingleHostAddr:0,"0":"SingleHostAddr",SingleHostName:1,"1":"SingleHostName",MultiHostName:2,"2":"MultiHostName", });
|
|
1145
|
-
/**
|
|
1146
|
-
*/
|
|
1147
|
-
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", });
|
|
1148
|
-
/**
|
|
1149
|
-
*/
|
|
1150
|
-
module.exports.MIRKind = Object.freeze({ ToOtherPot:0,"0":"ToOtherPot",ToStakeCredentials:1,"1":"ToStakeCredentials", });
|
|
1151
|
-
/**
|
|
1152
|
-
* Used to choosed the schema for a script JSON string
|
|
1153
|
-
*/
|
|
1154
|
-
module.exports.ScriptSchema = Object.freeze({ Wallet:0,"0":"Wallet",Node:1,"1":"Node", });
|
|
1155
|
-
/**
|
|
1156
|
-
*/
|
|
1157
|
-
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", });
|
|
1158
|
-
/**
|
|
1159
1159
|
*/
|
|
1160
1160
|
module.exports.CborContainerType = Object.freeze({ Array:0,"0":"Array",Map:1,"1":"Map", });
|
|
1161
1161
|
|
|
Binary file
|