Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@phala/typedefs

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@phala/typedefs - npm Package Compare versions

Comparing version 0.0.9 to 0.1.0

dist/phala-dev.d.ts

100

dist/index.d.ts

@@ -0,1 +1,4 @@

import poc3 from './phala-poc3';
import poc4 from './phala-poc4';
import dev from './phala-dev';
export declare const typesChain: {

@@ -119,2 +122,7 @@ 'Phala PoC-3': {

};
StashWorkerStats: {
slash: string;
computeReceived: string;
onlineReceived: string;
};
MinerStatsDelta: {

@@ -185,2 +193,7 @@ numWorker: string;

};
StashWorkerStats: {
slash: string;
computeReceived: string;
onlineReceived: string;
};
MinerStatsDelta: {

@@ -253,4 +266,4 @@ numWorker: string;

slash: string;
compute_received: string;
online_received: string;
computeReceived: string;
onlineReceived: string;
};

@@ -324,4 +337,4 @@ MinerStatsDelta: {

slash: string;
compute_received: string;
online_received: string;
computeReceived: string;
onlineReceived: string;
};

@@ -395,4 +408,4 @@ MinerStatsDelta: {

slash: string;
compute_received: string;
online_received: string;
computeReceived: string;
onlineReceived: string;
};

@@ -466,4 +479,4 @@ MinerStatsDelta: {

slash: string;
compute_received: string;
online_received: string;
computeReceived: string;
onlineReceived: string;
};

@@ -482,72 +495,3 @@ MinerStatsDelta: {

};
export declare const latest: {
Address: string;
LookupSource: string;
EthereumAddress: string;
EcdsaSignature: string;
EthereumTxHash: string;
WorkerStateEnum: {
_enum: {
Empty: null;
Free: null;
Gatekeeper: null;
MiningPending: null;
Mining: string;
MiningStopping: null;
};
};
WorkerInfo: {
machineId: string;
pubkey: string;
lastUpdated: string;
state: string;
score: string;
confidenceLevel: string;
runtimeVersion: string;
};
Score: {
overallScore: string;
features: string;
};
StashInfo: {
controller: string;
payoutPrefs: string;
};
PayoutPrefs: {
commission: string;
target: string;
};
BlockRewardInfo: {
seed: string;
onlineTarget: string;
computeTarget: string;
};
RoundInfo: {
round: string;
startBlock: string;
};
RoundStats: {
round: string;
onlineWorkers: string;
computeWorkers: string;
fracTargetOnlineReward: string;
totalPower: string;
fracTargetComputeReward: string;
};
StashWorkerStats: {
slash: string;
compute_received: string;
online_received: string;
};
MinerStatsDelta: {
numWorker: string;
numPower: string;
};
PayoutReason: {
_enum: {
OnlineReward: null;
ComputeReward: null;
};
};
};
export { poc3, poc3 as Poc3, poc4, poc4 as Poc4, dev, dev as Dev, dev as latest, dev as Latest, };
//# sourceMappingURL=index.d.ts.map

@@ -8,6 +8,14 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.latest = exports.typesChain = void 0;
exports.Latest = exports.latest = exports.Dev = exports.dev = exports.Poc4 = exports.poc4 = exports.Poc3 = exports.poc3 = exports.typesChain = void 0;
var phala_poc3_1 = __importDefault(require("./phala-poc3"));
exports.poc3 = phala_poc3_1.default;
exports.Poc3 = phala_poc3_1.default;
var phala_poc4_1 = __importDefault(require("./phala-poc4"));
var phala_latest_1 = __importDefault(require("./phala-latest"));
exports.poc4 = phala_poc4_1.default;
exports.Poc4 = phala_poc4_1.default;
var phala_dev_1 = __importDefault(require("./phala-dev"));
exports.dev = phala_dev_1.default;
exports.Dev = phala_dev_1.default;
exports.latest = phala_dev_1.default;
exports.Latest = phala_dev_1.default;
// alphabetical

@@ -18,8 +26,7 @@ exports.typesChain = {

'Phala Local Testnet': phala_poc4_1.default,
'Integration Test': phala_latest_1.default,
'Staging Testnet': phala_latest_1.default,
'Phala Development': phala_latest_1.default,
'Local Testnet': phala_latest_1.default,
'Integration Test': phala_dev_1.default,
'Staging Testnet': phala_dev_1.default,
'Phala Development': phala_dev_1.default,
'Local Testnet': phala_dev_1.default,
};
exports.latest = phala_latest_1.default;
//# sourceMappingURL=index.js.map

@@ -55,2 +55,7 @@ declare const _default: {

};
StashWorkerStats: {
slash: string;
computeReceived: string;
onlineReceived: string;
};
MinerStatsDelta: {

@@ -57,0 +62,0 @@ numWorker: string;

@@ -58,2 +58,7 @@ "use strict";

},
"StashWorkerStats": {
"slash": "Balance",
"computeReceived": "Balance",
"onlineReceived": "Balance"
},
"MinerStatsDelta": {

@@ -60,0 +65,0 @@ "numWorker": "i32",

{
"name": "@phala/typedefs",
"version": "0.0.9",
"version": "0.1.0",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc