@parsiq/block-tracer
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -7,2 +7,3 @@ export declare type BalanceChange = { | ||
}; | ||
export declare type GasRange = readonly [number, number]; | ||
export declare type TraceItemResult<T extends boolean> = { | ||
@@ -29,2 +30,3 @@ readonly success: T; | ||
readonly gas: string; | ||
readonly gasRange: GasRange; | ||
readonly items: readonly TraceItem[] | null; | ||
@@ -55,2 +57,3 @@ readonly result: TraceItemResult<boolean> | null; | ||
readonly sigV: string; | ||
readonly gasRange: GasRange; | ||
}; | ||
@@ -57,0 +60,0 @@ export declare type TransactionTrace = TransactionBase & { |
@@ -5,5 +5,6 @@ import { BlockBase, BlockHeader, BlockReward, BlockTrace, TraceItem, TransactionBase } from './block-trace.type'; | ||
}; | ||
export declare type Decoder<T> = (item: TraceItem, contract: string) => T; | ||
export declare type TraceOptions<T> = { | ||
includeFailed: boolean; | ||
decoder: (item: TraceItem, contract: string) => T; | ||
decoder: Decoder<T>; | ||
}; | ||
@@ -10,0 +11,0 @@ export declare type Block<T> = BlockBase & { |
@@ -38,3 +38,3 @@ "use strict"; | ||
const Transaction = { | ||
fromTrace({ gasLimit, gasPrice, gasUsed, fee, nonce, origin, sigR, sigS, sigV, txHash }, context) { | ||
fromTrace({ gasLimit, gasPrice, gasUsed, fee, nonce, origin, sigR, sigS, sigV, txHash, gasRange }, context) { | ||
return { | ||
@@ -44,2 +44,3 @@ gasLimit, | ||
gasUsed, | ||
gasRange, | ||
origin, | ||
@@ -126,2 +127,3 @@ nonce, | ||
decoded: decoder(item, contract), | ||
gasRange: 'gasRange' in item ? item.gasRange : undefined, | ||
data: 'data' in item ? item.data : undefined, | ||
@@ -150,2 +152,2 @@ value: 'value' in item ? item.value : undefined, | ||
exports.traceTx = traceTx; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhY2UtYmxvY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmM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0FBQyxPQUFPLENBQUMsQ0FBQztpQkFDekI7YUFDRjtTQUNGO2dCQUFTO1lBQ1IsR0FBRyxHQUFHLEdBQUcsQ0FBQyxNQUFNLENBQUM7U0FDbEI7SUFDSCxDQUFDO0lBRUQsTUFBTSxLQUFLLEdBQUcsRUFBRSxDQUFDO0lBQ2pCLEtBQUssTUFBTSxTQUFTLElBQUksT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFO1FBQ3JDLEtBQUssQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUM7S0FDdkI7SUFDRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUM7QUFoRkQsMEJBZ0ZDIn0= |
@@ -7,2 +7,3 @@ export declare type BalanceChange = { | ||
}; | ||
export declare type GasRange = readonly [number, number]; | ||
export declare type TraceItemResult<T extends boolean> = { | ||
@@ -29,2 +30,3 @@ readonly success: T; | ||
readonly gas: string; | ||
readonly gasRange: GasRange; | ||
readonly items: readonly TraceItem[] | null; | ||
@@ -55,2 +57,3 @@ readonly result: TraceItemResult<boolean> | null; | ||
readonly sigV: string; | ||
readonly gasRange: GasRange; | ||
}; | ||
@@ -57,0 +60,0 @@ export declare type TransactionTrace = TransactionBase & { |
@@ -5,5 +5,6 @@ import { BlockBase, BlockHeader, BlockReward, BlockTrace, TraceItem, TransactionBase } from './block-trace.type'; | ||
}; | ||
export declare type Decoder<T> = (item: TraceItem, contract: string) => T; | ||
export declare type TraceOptions<T> = { | ||
includeFailed: boolean; | ||
decoder: (item: TraceItem, contract: string) => T; | ||
decoder: Decoder<T>; | ||
}; | ||
@@ -10,0 +11,0 @@ export declare type Block<T> = BlockBase & { |
@@ -34,3 +34,3 @@ const BlockHeader = { | ||
const Transaction = { | ||
fromTrace({ gasLimit, gasPrice, gasUsed, fee, nonce, origin, sigR, sigS, sigV, txHash }, context) { | ||
fromTrace({ gasLimit, gasPrice, gasUsed, fee, nonce, origin, sigR, sigS, sigV, txHash, gasRange }, context) { | ||
return { | ||
@@ -40,2 +40,3 @@ gasLimit, | ||
gasUsed, | ||
gasRange, | ||
origin, | ||
@@ -121,2 +122,3 @@ nonce, | ||
decoded: decoder(item, contract), | ||
gasRange: 'gasRange' in item ? item.gasRange : undefined, | ||
data: 'data' in item ? item.data : undefined, | ||
@@ -144,2 +146,2 @@ value: 'value' in item ? item.value : undefined, | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHJhY2UtYmxvY2suanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3RyYWNlLWJsb2NrLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVVBLE1BQU0sV0FBVyxHQUFHO0lBQ2xCLFNBQVMsQ0FBQyxFQUNSLE1BQU0sRUFBRSxFQUFFLE9BQU8sRUFBRSxVQUFVLEVBQUUsU0FBUyxFQUFFLE9BQU8sRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLFNBQVMsRUFBRSxnQkFBZ0IsRUFBRSxZQUFZLEVBQUUsR0FDckc7UUFDWCxPQUFPO1lBQ0wsT0FBTztZQUNQLFVBQVU7WUFDVixTQUFTO1lBQ1QsT0FBTztZQUNQLEtBQUs7WUFDTCxTQUFTO1lBQ1QsU0FBUztZQUNULGdCQUFnQjtZQUNoQixZQUFZO1NBQ2IsQ0FBQztJQUNKLENBQUM7Q0FDRixDQUFDO0FBaUJGLE1BQU0sS0FBSyxHQUFHO0lBQ1osU0FBUyxDQUFJLFVBQXNCLEVBQUUsWUFBNkI7UUFDaEUsTUFBTSxNQUFNLEdBQUcsV0FBVyxDQUFDLFNBQVMsQ0FBQyxVQUFVLENBQUMsQ0FBQztRQUVqRCxPQUFPO1lBQ0wsTUFBTTtZQUNOLE9BQU8sRUFBRSxVQUFVLENBQUMsT0FBTztZQUMzQixNQUFNLEVBQUUsVUFBVSxDQUFDLE1BQU0sQ0FBQyxXQUFXO1lBQ3JDLElBQUks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S0FBSyxFQUFFLENBQUM7Z0JBQ3pCLE1BQU0sUUFBUSxHQUFHLE9BQU8sSUFBSSxJQUFJLElBQUksS0FBSyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQyxDQUFDLEVBQUUsQ0FBQztnQkFDaEYsS0FBSyxNQUFNLE9BQU8sSUFBSSxRQUFRLEVBQUU7b0JBQzlCLEtBQUssQ0FBQyxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQztpQkFDekI7YUFDRjtTQUNGO2dCQUFTO1lBQ1IsR0FBRyxHQUFHLEdBQUcsQ0FBQyxNQUFNLENBQUM7U0FDbEI7SUFDSCxDQUFDO0lBRUQsTUFBTSxLQUFLLEdBQUcsRUFBRSxDQUFDO0lBQ2pCLEtBQUssTUFBTSxTQUFTLElBQUksT0FBTyxDQUFDLElBQUksQ0FBQyxFQUFFO1FBQ3JDLEtBQUssQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUM7S0FDdkI7SUFDRCxPQUFPLEtBQUssQ0FBQztBQUNmLENBQUMifQ== |
@@ -5,2 +5,10 @@ # Changelog | ||
### [0.2.5](https://github.com/parsiq/block-tracer/compare/v0.2.4...v0.2.5) (2021-02-04) | ||
### Features | ||
* add gasRange support ([11c6b59](https://github.com/parsiq/block-tracer/commit/11c6b59d3a6b57076831f99ff34ef998d367e9a1)) | ||
* introduce Decoder interface ([5a5eaf5](https://github.com/parsiq/block-tracer/commit/5a5eaf5df72b62fb33289422c639ff5fedc3ee71)) | ||
### [0.2.4](https://github.com/parsiq/block-tracer/compare/v0.2.3...v0.2.4) (2020-12-16) | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name": "@parsiq/block-tracer", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"description": "Traverse through block trace to gather events, transfers and other info", | ||
@@ -5,0 +5,0 @@ "main": "build/main/index.js", |
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
37929
593