@phala/typedefs
Advanced tools
Comparing version 0.2.4 to 0.2.5
@@ -7,3 +7,23 @@ import khala from './khala'; | ||
export declare const typesChain: { | ||
Khala: {}; | ||
Khala: { | ||
Address: string; | ||
LookupSource: string; | ||
ChainId: string; | ||
ResourceId: string; | ||
TokenId: string; | ||
DepositNonce: string; | ||
ProposalStatus: { | ||
_enum: { | ||
Initiated: null; | ||
Approved: null; | ||
Rejected: null; | ||
}; | ||
}; | ||
ProposalVotes: { | ||
votes_for: string; | ||
votes_against: string; | ||
status: string; | ||
expiry: string; | ||
}; | ||
}; | ||
'Khala Testnet': { | ||
@@ -74,8 +94,2 @@ Address: string; | ||
}; | ||
PoolState: { | ||
_enum: { | ||
Ready: null; | ||
Mining: null; | ||
}; | ||
}; | ||
PoolInfo: { | ||
@@ -259,8 +273,2 @@ pid: string; | ||
}; | ||
PoolState: { | ||
_enum: { | ||
Ready: null; | ||
Mining: null; | ||
}; | ||
}; | ||
PoolInfo: { | ||
@@ -267,0 +275,0 @@ pid: string; |
@@ -66,8 +66,2 @@ declare const _default: { | ||
}; | ||
PoolState: { | ||
_enum: { | ||
Ready: null; | ||
Mining: null; | ||
}; | ||
}; | ||
PoolInfo: { | ||
@@ -74,0 +68,0 @@ pid: string; |
@@ -69,12 +69,6 @@ "use strict"; | ||
}, | ||
"PoolState": { | ||
"_enum": { | ||
"Ready": null, | ||
"Mining": null | ||
} | ||
}, | ||
"PoolInfo": { | ||
"pid": "u64", | ||
"owner": "AccountId", | ||
"payoutCommission": "u16", | ||
"payoutCommission": "Option<Permill>", | ||
"ownerReward": "Balance", | ||
@@ -144,3 +138,3 @@ "cap": "Option<Balance>", | ||
"seed": "U256", | ||
"onlineTarget": "U256", | ||
"onlineTarget": "U256" | ||
}, | ||
@@ -187,5 +181,5 @@ "GatekeeperEvent": { | ||
"availableRewards": "Balance", | ||
"userDebt": "Balance", | ||
"userDebt": "Balance" | ||
} | ||
}; | ||
//# sourceMappingURL=khala-dev.js.map |
@@ -1,3 +0,23 @@ | ||
declare const _default: {}; | ||
declare const _default: { | ||
Address: string; | ||
LookupSource: string; | ||
ChainId: string; | ||
ResourceId: string; | ||
TokenId: string; | ||
DepositNonce: string; | ||
ProposalStatus: { | ||
_enum: { | ||
Initiated: null; | ||
Approved: null; | ||
Rejected: null; | ||
}; | ||
}; | ||
ProposalVotes: { | ||
votes_for: string; | ||
votes_against: string; | ||
status: string; | ||
expiry: string; | ||
}; | ||
}; | ||
export default _default; | ||
//# sourceMappingURL=khala.d.ts.map |
"use strict"; | ||
// SPDX-License-Identifier: Apache-2.0 | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = {}; | ||
exports.default = { | ||
"Address": "MultiAddress", | ||
"LookupSource": "MultiAddress", | ||
"ChainId": "u8", | ||
"ResourceId": "[u8; 32]", | ||
"TokenId": "u256", | ||
"DepositNonce": "u64", | ||
"ProposalStatus": { | ||
"_enum": { | ||
"Initiated": null, | ||
"Approved": null, | ||
"Rejected": null | ||
} | ||
}, | ||
"ProposalVotes": { | ||
"votes_for": "Vec<AccountId>", | ||
"votes_against": "Vec<AccountId>", | ||
"status": "ProposalStatus", | ||
"expiry": "BlockNumber" | ||
} | ||
}; | ||
//# sourceMappingURL=khala.js.map |
{ | ||
"name": "@phala/typedefs", | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"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
Sorry, the diff of this file is not supported yet
80235
2182