Skip to content

Commit

Permalink
Added new types for v5 (paritytech#190)
Browse files Browse the repository at this point in the history
* added new types

* bump version
  • Loading branch information
joelamouche authored Jan 20, 2021
1 parent c044446 commit 0ed2f6a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion moonbeam-types-bundle/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export const moonbeamDefinitions = {
nonce: "U256",
balance: "u128",
},
RoundIndex: "u32",
},
},
{
Expand All @@ -45,6 +44,14 @@ export const moonbeamDefinitions = {
},
ExtrinsicSignature: "EthereumSignature",
RoundIndex: "u32",
Candidate: {
validator: "AccountId",
fee: "Perbill",
nominators: "OrderedSet<Bond<AccountId, Balance>>",
total: "Balance",
state: "ValidatorStatus<RoundIndex>",
},
OrderedSet: "Vec",
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion moonbeam-types-bundle/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moonbeam-types-bundle",
"version": "1.0.5",
"version": "1.0.6",
"description": "Bundled types to instantiate the Polkadot JS api with a Moonbeam network",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 0ed2f6a

Please sign in to comment.