@canton-network/core-tx-parser 0.1.0
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/README.md +1 -0
- package/dist/constants.d.ts +14 -0
- package/dist/constants.d.ts.map +1 -0
- package/dist/index.cjs +1019 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +997 -0
- package/dist/index.js.map +1 -0
- package/dist/instrumentmap.d.ts +18 -0
- package/dist/instrumentmap.d.ts.map +1 -0
- package/dist/parser.d.ts +29 -0
- package/dist/parser.d.ts.map +1 -0
- package/dist/strict.d.ts +3 -0
- package/dist/strict.d.ts.map +1 -0
- package/dist/types.d.ts +172 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/utils.d.ts +36 -0
- package/dist/utils.d.ts.map +1 -0
- package/package.json +63 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# tx-parser
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface InterfaceIdParts {
|
|
2
|
+
packageName: string;
|
|
3
|
+
moduleName: string;
|
|
4
|
+
entityName: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function splitInterfaceId(interfaceId: string): InterfaceIdParts | null;
|
|
7
|
+
export declare function matchInterfaceIds(a: string, b: string): boolean;
|
|
8
|
+
export declare const TokenStandardTransactionInterfaces: string[];
|
|
9
|
+
export declare const TxKindMetaKey = "splice.lfdecentralizedtrust.org/tx-kind";
|
|
10
|
+
export declare const SenderMetaKey = "splice.lfdecentralizedtrust.org/sender";
|
|
11
|
+
export declare const ReasonMetaKey = "splice.lfdecentralizedtrust.org/reason";
|
|
12
|
+
export declare const BurnedMetaKey = "splice.lfdecentralizedtrust.org/burned";
|
|
13
|
+
export declare const AllKnownMetaKeys: string[];
|
|
14
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAYA,MAAM,WAAW,gBAAgB;IAC7B,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;CACrB;AAED,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM,GAAG,gBAAgB,GAAG,IAAI,CAc7E;AAED,wBAAgB,iBAAiB,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CAU/D;AAED,eAAO,MAAM,kCAAkC,UAQ9C,CAAA;AAGD,eAAO,MAAM,aAAa,4CAAkC,CAAA;AAC5D,eAAO,MAAM,aAAa,2CAAiC,CAAA;AAC3D,eAAO,MAAM,aAAa,2CAAiC,CAAA;AAC3D,eAAO,MAAM,aAAa,2CAAiC,CAAA;AAC3D,eAAO,MAAM,gBAAgB,UAK5B,CAAA"}
|