typechain-polkadot-parser
/
0.0.7
typechain-polkadot-parser 0.0.7
Install from the command line:
Learn more about npm packages
$ npm install @supercolony-net/typechain-polkadot-parser@0.0.7
Install via package.json:
"@supercolony-net/typechain-polkadot-parser": "0.0.7"
About this version
Utility package for parsing ABIs of Polkadot smart contracts.
-
class TypeParser
- Parser for ABIs of Polkadot smart contracts. It contains only one public methodgetType
that takes type id as a parameter and returns aTypeInfo
object. Also it has public fieldtsTypes
that contains a map of all parsed types. -
class TypeInfo
- Contains information about a type.
TypeInfo {
id: number; // - id of the type
tsArgType: string; // - TypeScript type of the type's arguments
tsReturnType: string; // - TypeScript type of the type's return value
bodyArgType ?: string; // - TypeScript type of the type's body arguments
bodyReturnType ?: string; // - TypeScript type of the type's body return value
static get EMPTY_TYPE_INFO(); // - Returns an empty `TypeInfo` object.
}
Details
- typechain-polkadot-parser
- Supercolony-net
- over 2 years ago
- MIT
- 5 dependencies
Assets
- typechain-polkadot-parser-0.0.7-npm.tgz
Download activity
- Total downloads 1
- Last 30 days 0
- Last week 0
- Today 0