@cashscript/utils
Advanced tools
Comparing version 0.7.4 to 0.8.0-next.0
@@ -20,3 +20,9 @@ import { OpcodesBCH } from '@bitauth/libauth'; | ||
OP_OUTPUTVALUE = 204, | ||
OP_OUTPUTBYTECODE = 205 | ||
OP_OUTPUTBYTECODE = 205, | ||
OP_UTXOTOKENCATEGORY = 206, | ||
OP_UTXOTOKENCOMMITMENT = 207, | ||
OP_UTXOTOKENAMOUNT = 208, | ||
OP_OUTPUTTOKENCATEGORY = 209, | ||
OP_OUTPUTTOKENCOMMITMENT = 210, | ||
OP_OUTPUTTOKENAMOUNT = 211 | ||
} | ||
@@ -23,0 +29,0 @@ export declare const introspectionOpMapping: any; |
@@ -28,2 +28,8 @@ "use strict"; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTBYTECODE"] = 205] = "OP_OUTPUTBYTECODE"; | ||
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCATEGORY"] = 206] = "OP_UTXOTOKENCATEGORY"; | ||
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCOMMITMENT"] = 207] = "OP_UTXOTOKENCOMMITMENT"; | ||
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENAMOUNT"] = 208] = "OP_UTXOTOKENAMOUNT"; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCATEGORY"] = 209] = "OP_OUTPUTTOKENCATEGORY"; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCOMMITMENT"] = 210] = "OP_OUTPUTTOKENCOMMITMENT"; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENAMOUNT"] = 211] = "OP_OUTPUTTOKENAMOUNT"; | ||
})(IntrospectionOp = exports.IntrospectionOp || (exports.IntrospectionOp = {})); | ||
@@ -45,2 +51,8 @@ exports.introspectionOpMapping = { | ||
OP_OUTPUTBYTECODE: 'OP_UNKNOWN205', | ||
OP_UTXOTOKENCATEGORY: 'OP_UNKNOWN206', | ||
OP_UTXOTOKENCOMMITMENT: 'OP_UNKNOWN207', | ||
OP_UTXOTOKENAMOUNT: 'OP_UNKNOWN208', | ||
OP_OUTPUTTOKENCATEGORY: 'OP_UNKNOWN209', | ||
OP_OUTPUTTOKENCOMMITMENT: 'OP_UNKNOWN210', | ||
OP_OUTPUTTOKENAMOUNT: 'OP_UNKNOWN211', | ||
}; | ||
@@ -47,0 +59,0 @@ exports.reverseIntrospectionOpMapping = Object.fromEntries(Object.entries(exports.introspectionOpMapping).map(([k, v]) => ([v, k]))); |
@@ -20,3 +20,9 @@ import { OpcodesBCH } from '@bitauth/libauth'; | ||
OP_OUTPUTVALUE = 204, | ||
OP_OUTPUTBYTECODE = 205 | ||
OP_OUTPUTBYTECODE = 205, | ||
OP_UTXOTOKENCATEGORY = 206, | ||
OP_UTXOTOKENCOMMITMENT = 207, | ||
OP_UTXOTOKENAMOUNT = 208, | ||
OP_OUTPUTTOKENCATEGORY = 209, | ||
OP_OUTPUTTOKENCOMMITMENT = 210, | ||
OP_OUTPUTTOKENAMOUNT = 211 | ||
} | ||
@@ -23,0 +29,0 @@ export declare const introspectionOpMapping: any; |
@@ -22,2 +22,8 @@ import { OpcodesBCH, encodeDataPush, parseBytecode, serializeAuthenticationInstructions, hexToBin, disassembleBytecodeBCH, flattenBinArray, } from '@bitauth/libauth'; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTBYTECODE"] = 205] = "OP_OUTPUTBYTECODE"; | ||
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCATEGORY"] = 206] = "OP_UTXOTOKENCATEGORY"; | ||
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENCOMMITMENT"] = 207] = "OP_UTXOTOKENCOMMITMENT"; | ||
IntrospectionOp[IntrospectionOp["OP_UTXOTOKENAMOUNT"] = 208] = "OP_UTXOTOKENAMOUNT"; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCATEGORY"] = 209] = "OP_OUTPUTTOKENCATEGORY"; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENCOMMITMENT"] = 210] = "OP_OUTPUTTOKENCOMMITMENT"; | ||
IntrospectionOp[IntrospectionOp["OP_OUTPUTTOKENAMOUNT"] = 211] = "OP_OUTPUTTOKENAMOUNT"; | ||
})(IntrospectionOp || (IntrospectionOp = {})); | ||
@@ -39,2 +45,8 @@ export const introspectionOpMapping = { | ||
OP_OUTPUTBYTECODE: 'OP_UNKNOWN205', | ||
OP_UTXOTOKENCATEGORY: 'OP_UNKNOWN206', | ||
OP_UTXOTOKENCOMMITMENT: 'OP_UNKNOWN207', | ||
OP_UTXOTOKENAMOUNT: 'OP_UNKNOWN208', | ||
OP_OUTPUTTOKENCATEGORY: 'OP_UNKNOWN209', | ||
OP_OUTPUTTOKENCOMMITMENT: 'OP_UNKNOWN210', | ||
OP_OUTPUTTOKENAMOUNT: 'OP_UNKNOWN211', | ||
}; | ||
@@ -41,0 +53,0 @@ export const reverseIntrospectionOpMapping = Object.fromEntries(Object.entries(introspectionOpMapping).map(([k, v]) => ([v, k]))); |
{ | ||
"name": "@cashscript/utils", | ||
"version": "0.7.4", | ||
"version": "0.8.0-next.0", | ||
"description": "CashScript utilities and types", | ||
@@ -50,3 +50,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "21624782464044609cb6e018a8d8afd028db01d5" | ||
"gitHead": "18d793bbb5aa4aef1a07587cd1565ae2a63b0728" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78382
1503