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

@parity/abi

Package Overview
Dependencies
Maintainers
7
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@parity/abi - npm Package Compare versions

Comparing version 5.1.12 to 5.1.13

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [5.1.13](https://github.com/paritytech/js-libs/tree/master/packages/abi/compare/v5.1.12...v5.1.13) (2019-09-13)
**Note:** Version bump only for package @parity/abi
## [5.1.12](https://github.com/paritytech/js-libs/tree/master/packages/abi/compare/v5.1.11...v5.1.12) (2019-09-02)

@@ -8,0 +16,0 @@

16

docs/classes/_abi_.abi.md

@@ -19,3 +19,3 @@

*Defined in [spec/interface.ts:14](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L14)*
*Defined in [spec/interface.ts:14](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L14)*

@@ -42,3 +42,3 @@ **Parameters:**

*Defined in [spec/interface.ts:62](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L62)*
*Defined in [spec/interface.ts:62](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L62)*

@@ -56,3 +56,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:66](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L66)*
*Defined in [spec/interface.ts:66](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L66)*

@@ -70,3 +70,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:70](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L70)*
*Defined in [spec/interface.ts:70](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L70)*

@@ -84,3 +84,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:58](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L58)*
*Defined in [spec/interface.ts:58](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L58)*

@@ -101,3 +101,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:74](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L74)*
*Defined in [spec/interface.ts:74](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L74)*

@@ -122,3 +122,3 @@ **Parameters:**

*Defined in [spec/interface.ts:20](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L20)*
*Defined in [spec/interface.ts:20](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L20)*

@@ -143,3 +143,3 @@ **Parameters:**

*Defined in [spec/interface.ts:39](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L39)*
*Defined in [spec/interface.ts:39](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L39)*

@@ -146,0 +146,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [decoder/bytesTaken.ts:8](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/bytesTaken.ts#L8)*
*Defined in [decoder/bytesTaken.ts:8](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/bytesTaken.ts#L8)*

@@ -37,3 +37,3 @@ **Parameters:**

*Defined in [decoder/bytesTaken.ts:15](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/bytesTaken.ts#L15)*
*Defined in [decoder/bytesTaken.ts:15](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/bytesTaken.ts#L15)*

@@ -49,3 +49,3 @@ **Returns:** `number`[]

*Defined in [decoder/bytesTaken.ts:19](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/bytesTaken.ts#L19)*
*Defined in [decoder/bytesTaken.ts:19](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/bytesTaken.ts#L19)*

@@ -52,0 +52,0 @@ **Returns:** `number`

@@ -15,3 +15,3 @@

*Defined in [decoder/decoder.ts:20](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decoder.ts#L20)*
*Defined in [decoder/decoder.ts:20](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decoder.ts#L20)*

@@ -34,3 +34,3 @@ **Parameters:**

*Defined in [decoder/decoder.ts:59](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decoder.ts#L59)*
*Defined in [decoder/decoder.ts:59](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decoder.ts#L59)*

@@ -54,3 +54,3 @@ **Parameters:**

*Defined in [decoder/decoder.ts:36](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decoder.ts#L36)*
*Defined in [decoder/decoder.ts:36](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decoder.ts#L36)*

@@ -73,3 +73,3 @@ **Parameters:**

*Defined in [decoder/decoder.ts:44](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decoder.ts#L44)*
*Defined in [decoder/decoder.ts:44](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decoder.ts#L44)*

@@ -76,0 +76,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [decoder/decodeResult.ts:10](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decodeResult.ts#L10)*
*Defined in [decoder/decodeResult.ts:10](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decodeResult.ts#L10)*

@@ -37,3 +37,3 @@ **Parameters:**

*Defined in [decoder/decodeResult.ts:10](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decodeResult.ts#L10)*
*Defined in [decoder/decodeResult.ts:10](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decodeResult.ts#L10)*

@@ -47,3 +47,3 @@ ___

*Defined in [decoder/decodeResult.ts:9](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decodeResult.ts#L9)*
*Defined in [decoder/decodeResult.ts:9](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decodeResult.ts#L9)*

@@ -60,3 +60,3 @@ ___

*Defined in [decoder/decodeResult.ts:21](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decodeResult.ts#L21)*
*Defined in [decoder/decodeResult.ts:21](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decodeResult.ts#L21)*

@@ -72,3 +72,3 @@ **Returns:** `number`

*Defined in [decoder/decodeResult.ts:17](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decodeResult.ts#L17)*
*Defined in [decoder/decodeResult.ts:17](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decodeResult.ts#L17)*

@@ -75,0 +75,0 @@ **Returns:** [Token](_token_token_.token.md)

@@ -15,3 +15,3 @@

*Defined in [encoder/encoder.ts:27](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/encoder.ts#L27)*
*Defined in [encoder/encoder.ts:27](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/encoder.ts#L27)*

@@ -33,3 +33,3 @@ **Parameters:**

*Defined in [encoder/encoder.ts:47](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/encoder.ts#L47)*
*Defined in [encoder/encoder.ts:47](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/encoder.ts#L47)*

@@ -36,0 +36,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [encoder/mediate.ts:15](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L15)*
*Defined in [encoder/mediate.ts:15](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L15)*

@@ -37,3 +37,3 @@ **Parameters:**

*Defined in [encoder/mediate.ts:154](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L154)*
*Defined in [encoder/mediate.ts:156](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L156)*

@@ -47,7 +47,7 @@ **Returns:** "fixedArray" \| "array" \| "raw" \| "prefixed"

**get value**(): `string` \| `number` \| `Boolean` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][] \| [Mediate](_encoder_mediate_.mediate.md)[]
**get value**(): `string` \| `number` \| `false` \| `true` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][] \| [Mediate](_encoder_mediate_.mediate.md)[]
*Defined in [encoder/mediate.ts:158](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L158)*
*Defined in [encoder/mediate.ts:160](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L160)*
**Returns:** `string` \| `number` \| `Boolean` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][] \| [Mediate](_encoder_mediate_.mediate.md)[]
**Returns:** `string` \| `number` \| `false` \| `true` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][] \| [Mediate](_encoder_mediate_.mediate.md)[]

@@ -64,3 +64,3 @@ ___

*Defined in [encoder/mediate.ts:106](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L106)*
*Defined in [encoder/mediate.ts:106](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L106)*

@@ -82,3 +82,3 @@ **Parameters:**

*Defined in [encoder/mediate.ts:64](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L64)*
*Defined in [encoder/mediate.ts:64](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L64)*

@@ -94,3 +94,3 @@ **Returns:** `number`

*Defined in [encoder/mediate.ts:84](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L84)*
*Defined in [encoder/mediate.ts:84](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L84)*

@@ -112,3 +112,3 @@ **Parameters:**

*Defined in [encoder/mediate.ts:48](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L48)*
*Defined in [encoder/mediate.ts:48](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L48)*

@@ -124,3 +124,3 @@ **Returns:** `number`

*Defined in [encoder/mediate.ts:24](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L24)*
*Defined in [encoder/mediate.ts:24](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L24)*

@@ -143,3 +143,3 @@ **Parameters:**

*Defined in [encoder/mediate.ts:40](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L40)*
*Defined in [encoder/mediate.ts:40](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L40)*

@@ -146,0 +146,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [spec/constructor.ts:12](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/constructor.ts#L12)*
*Defined in [spec/constructor.ts:12](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/constructor.ts#L12)*

@@ -36,3 +36,3 @@ **Parameters:**

*Defined in [spec/constructor.ts:18](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/constructor.ts#L18)*
*Defined in [spec/constructor.ts:18](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/constructor.ts#L18)*

@@ -51,3 +51,3 @@ **Returns:** [Param](_spec_param_.param.md)[]

*Defined in [spec/constructor.ts:26](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/constructor.ts#L26)*
*Defined in [spec/constructor.ts:26](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/constructor.ts#L26)*

@@ -69,3 +69,3 @@ **Parameters:**

*Defined in [spec/constructor.ts:22](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/constructor.ts#L22)*
*Defined in [spec/constructor.ts:22](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/constructor.ts#L22)*

@@ -72,0 +72,0 @@ **Returns:** [ParamType](_spec_paramtype_paramtype_.paramtype.md)[]

@@ -15,3 +15,3 @@

*Defined in [spec/event/decodedLog.ts:10](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/decodedLog.ts#L10)*
*Defined in [spec/event/decodedLog.ts:10](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/decodedLog.ts#L10)*

@@ -37,3 +37,3 @@ **Parameters:**

*Defined in [spec/event/decodedLog.ts:17](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/decodedLog.ts#L17)*
*Defined in [spec/event/decodedLog.ts:17](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/decodedLog.ts#L17)*

@@ -49,3 +49,3 @@ **Returns:** `string`

*Defined in [spec/event/decodedLog.ts:21](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/decodedLog.ts#L21)*
*Defined in [spec/event/decodedLog.ts:21](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/decodedLog.ts#L21)*

@@ -52,0 +52,0 @@ **Returns:** [DecodedLogParam](_spec_event_decodedlogparam_.decodedlogparam.md)[]

@@ -15,3 +15,3 @@

*Defined in [spec/event/decodedLogParam.ts:13](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/decodedLogParam.ts#L13)*
*Defined in [spec/event/decodedLogParam.ts:13](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/decodedLogParam.ts#L13)*

@@ -38,3 +38,3 @@ **Parameters:**

*Defined in [spec/event/decodedLogParam.ts:31](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/decodedLogParam.ts#L31)*
*Defined in [spec/event/decodedLogParam.ts:31](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/decodedLogParam.ts#L31)*

@@ -50,3 +50,3 @@ **Returns:** [ParamType](_spec_paramtype_paramtype_.paramtype.md)

*Defined in [spec/event/decodedLogParam.ts:27](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/decodedLogParam.ts#L27)*
*Defined in [spec/event/decodedLogParam.ts:27](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/decodedLogParam.ts#L27)*

@@ -62,3 +62,3 @@ **Returns:** `undefined` \| `string`

*Defined in [spec/event/decodedLogParam.ts:35](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/decodedLogParam.ts#L35)*
*Defined in [spec/event/decodedLogParam.ts:35](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/decodedLogParam.ts#L35)*

@@ -65,0 +65,0 @@ **Returns:** [Token](_token_token_.token.md)

@@ -15,3 +15,3 @@

*Defined in [spec/event/event.ts:20](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L20)*
*Defined in [spec/event/event.ts:20](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L20)*

@@ -36,3 +36,3 @@ **Parameters:**

*Defined in [spec/event/event.ts:36](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L36)*
*Defined in [spec/event/event.ts:36](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L36)*

@@ -48,3 +48,3 @@ **Returns:** `boolean`

*Defined in [spec/event/event.ts:40](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L40)*
*Defined in [spec/event/event.ts:40](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L40)*

@@ -60,3 +60,3 @@ **Returns:** `string`

*Defined in [spec/event/event.ts:44](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L44)*
*Defined in [spec/event/event.ts:44](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L44)*

@@ -72,3 +72,3 @@ **Returns:** [EventParam](_spec_event_eventparam_.eventparam.md)[]

*Defined in [spec/event/event.ts:48](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L48)*
*Defined in [spec/event/event.ts:48](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L48)*

@@ -84,3 +84,3 @@ **Returns:** `undefined` \| `string`

*Defined in [spec/event/event.ts:52](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L52)*
*Defined in [spec/event/event.ts:52](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L52)*

@@ -99,3 +99,3 @@ **Returns:** `string`

*Defined in [spec/event/event.ts:68](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L68)*
*Defined in [spec/event/event.ts:68](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L68)*

@@ -118,3 +118,3 @@ **Parameters:**

*Defined in [spec/event/event.ts:64](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L64)*
*Defined in [spec/event/event.ts:64](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L64)*

@@ -136,3 +136,3 @@ **Parameters:**

*Defined in [spec/event/event.ts:60](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L60)*
*Defined in [spec/event/event.ts:60](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L60)*

@@ -148,3 +148,3 @@ **Returns:** (`undefined` \| `string`)[]

*Defined in [spec/event/event.ts:56](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/event.ts#L56)*
*Defined in [spec/event/event.ts:56](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/event.ts#L56)*

@@ -151,0 +151,0 @@ **Returns:** [ParamType](_spec_paramtype_paramtype_.paramtype.md)[]

@@ -15,3 +15,3 @@

*Defined in [spec/event/eventParam.ts:27](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/eventParam.ts#L27)*
*Defined in [spec/event/eventParam.ts:27](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/eventParam.ts#L27)*

@@ -38,3 +38,3 @@ **Parameters:**

*Defined in [spec/event/eventParam.ts:43](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/eventParam.ts#L43)*
*Defined in [spec/event/eventParam.ts:43](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/eventParam.ts#L43)*

@@ -50,3 +50,3 @@ **Returns:** `boolean`

*Defined in [spec/event/eventParam.ts:39](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/eventParam.ts#L39)*
*Defined in [spec/event/eventParam.ts:39](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/eventParam.ts#L39)*

@@ -62,3 +62,3 @@ **Returns:** [ParamType](_spec_paramtype_paramtype_.paramtype.md)

*Defined in [spec/event/eventParam.ts:35](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/eventParam.ts#L35)*
*Defined in [spec/event/eventParam.ts:35](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/eventParam.ts#L35)*

@@ -77,3 +77,3 @@ **Returns:** `undefined` \| `string`

*Defined in [spec/event/eventParam.ts:16](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/event/eventParam.ts#L16)*
*Defined in [spec/event/eventParam.ts:16](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/event/eventParam.ts#L16)*

@@ -80,0 +80,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [spec/function.ts:21](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L21)*
*Defined in [spec/function.ts:21](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L21)*

@@ -36,3 +36,3 @@ **Parameters:**

*Defined in [spec/function.ts:40](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L40)*
*Defined in [spec/function.ts:40](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L40)*

@@ -48,3 +48,3 @@ **Returns:** [AbiItem](../interfaces/_types_.abiitem.md)

*Defined in [spec/function.ts:44](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L44)*
*Defined in [spec/function.ts:44](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L44)*

@@ -60,3 +60,3 @@ **Returns:** `boolean`

*Defined in [spec/function.ts:48](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L48)*
*Defined in [spec/function.ts:48](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L48)*

@@ -72,3 +72,3 @@ **Returns:** `string`

*Defined in [spec/function.ts:52](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L52)*
*Defined in [spec/function.ts:52](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L52)*

@@ -84,3 +84,3 @@ **Returns:** [Param](_spec_param_.param.md)[]

*Defined in [spec/function.ts:56](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L56)*
*Defined in [spec/function.ts:56](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L56)*

@@ -96,3 +96,3 @@ **Returns:** `undefined` \| `string`

*Defined in [spec/function.ts:60](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L60)*
*Defined in [spec/function.ts:60](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L60)*

@@ -108,3 +108,3 @@ **Returns:** [Param](_spec_param_.param.md)[]

*Defined in [spec/function.ts:64](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L64)*
*Defined in [spec/function.ts:64](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L64)*

@@ -120,3 +120,3 @@ **Returns:** `boolean`

*Defined in [spec/function.ts:68](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L68)*
*Defined in [spec/function.ts:68](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L68)*

@@ -135,3 +135,3 @@ **Returns:** `string`

*Defined in [spec/function.ts:72](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L72)*
*Defined in [spec/function.ts:72](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L72)*

@@ -153,3 +153,3 @@ **Parameters:**

*Defined in [spec/function.ts:76](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L76)*
*Defined in [spec/function.ts:76](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L76)*

@@ -171,3 +171,3 @@ **Parameters:**

*Defined in [spec/function.ts:80](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L80)*
*Defined in [spec/function.ts:80](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L80)*

@@ -189,3 +189,3 @@ **Parameters:**

*Defined in [spec/function.ts:84](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L84)*
*Defined in [spec/function.ts:84](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L84)*

@@ -201,3 +201,3 @@ **Returns:** [ParamType](_spec_paramtype_paramtype_.paramtype.md)[]

*Defined in [spec/function.ts:88](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/function.ts#L88)*
*Defined in [spec/function.ts:88](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/function.ts#L88)*

@@ -204,0 +204,0 @@ **Returns:** [ParamType](_spec_paramtype_paramtype_.paramtype.md)[]

@@ -17,3 +17,3 @@

*Defined in [spec/interface.ts:14](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L14)*
*Defined in [spec/interface.ts:14](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L14)*

@@ -38,3 +38,3 @@ **Parameters:**

*Defined in [spec/interface.ts:62](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L62)*
*Defined in [spec/interface.ts:62](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L62)*

@@ -50,3 +50,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:66](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L66)*
*Defined in [spec/interface.ts:66](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L66)*

@@ -62,3 +62,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:70](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L70)*
*Defined in [spec/interface.ts:70](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L70)*

@@ -74,3 +74,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:58](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L58)*
*Defined in [spec/interface.ts:58](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L58)*

@@ -89,3 +89,3 @@ **Returns:** ([Constructor](_spec_constructor_.constructor.md) \| [Event](_spec_event_event_.event.md) \| [Func](_spec_function_.func.md))[]

*Defined in [spec/interface.ts:74](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L74)*
*Defined in [spec/interface.ts:74](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L74)*

@@ -108,3 +108,3 @@ **Parameters:**

*Defined in [spec/interface.ts:20](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L20)*
*Defined in [spec/interface.ts:20](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L20)*

@@ -127,3 +127,3 @@ **Parameters:**

*Defined in [spec/interface.ts:39](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/interface.ts#L39)*
*Defined in [spec/interface.ts:39](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/interface.ts#L39)*

@@ -130,0 +130,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [spec/param.ts:12](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/param.ts#L12)*
*Defined in [spec/param.ts:12](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/param.ts#L12)*

@@ -37,3 +37,3 @@ **Parameters:**

*Defined in [spec/param.ts:33](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/param.ts#L33)*
*Defined in [spec/param.ts:33](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/param.ts#L33)*

@@ -49,3 +49,3 @@ **Returns:** [ParamType](_spec_paramtype_paramtype_.paramtype.md)

*Defined in [spec/param.ts:29](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/param.ts#L29)*
*Defined in [spec/param.ts:29](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/param.ts#L29)*

@@ -64,3 +64,3 @@ **Returns:** `undefined` \| `string`

*Defined in [spec/param.ts:19](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/param.ts#L19)*
*Defined in [spec/param.ts:19](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/param.ts#L19)*

@@ -67,0 +67,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [spec/paramType/paramType.ts:13](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/paramType.ts#L13)*
*Defined in [spec/paramType/paramType.ts:13](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/paramType.ts#L13)*

@@ -39,3 +39,3 @@ **Parameters:**

*Defined in [spec/paramType/paramType.ts:49](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/paramType.ts#L49)*
*Defined in [spec/paramType/paramType.ts:49](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/paramType.ts#L49)*

@@ -51,3 +51,3 @@ **Returns:** `undefined` \| `false` \| `true`

*Defined in [spec/paramType/paramType.ts:45](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/paramType.ts#L45)*
*Defined in [spec/paramType/paramType.ts:45](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/paramType.ts#L45)*

@@ -63,3 +63,3 @@ **Returns:** `number`

*Defined in [spec/paramType/paramType.ts:41](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/paramType.ts#L41)*
*Defined in [spec/paramType/paramType.ts:41](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/paramType.ts#L41)*

@@ -75,3 +75,3 @@ **Returns:** `undefined` \| [ParamType](_spec_paramtype_paramtype_.paramtype.md)

*Defined in [spec/paramType/paramType.ts:37](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/paramType.ts#L37)*
*Defined in [spec/paramType/paramType.ts:37](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/paramType.ts#L37)*

@@ -90,3 +90,3 @@ **Returns:** "string" \| "address" \| "bool" \| "bytes" \| "bytes1" \| "bytes2" \| "bytes3" \| "bytes4" \| "bytes5" \| "bytes6" \| "bytes7" \| "bytes8" \| "bytes9" \| "bytes10" \| "bytes11" \| "bytes12" \| "bytes13" \| "bytes14" \| "bytes15" \| "bytes16" \| "bytes17" \| "bytes18" \| "bytes19" \| "bytes20" \| "bytes21" \| "bytes22" \| "bytes23" \| "bytes24" \| "bytes25" \| "bytes26" \| "bytes27" \| "bytes28" \| "bytes29" \| "bytes30" \| "bytes31" \| "bytes32" \| "int" \| "int8" \| "int16" \| "int32" \| "int64" \| "int128" \| "int256" \| "uint" \| "uint8" \| "uint16" \| "uint32" \| "uint64" \| "uint128" \| "uint256" \| "fixedBytes" \| "fixedArray" \| "array"

*Defined in [spec/paramType/paramType.ts:29](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/paramType.ts#L29)*
*Defined in [spec/paramType/paramType.ts:29](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/paramType.ts#L29)*

@@ -93,0 +93,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [token/token.ts:11](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/token/token.ts#L11)*
*Defined in [token/token.ts:11](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/token/token.ts#L11)*

@@ -37,3 +37,3 @@ **Parameters:**

*Defined in [token/token.ts:28](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/token/token.ts#L28)*
*Defined in [token/token.ts:28](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/token/token.ts#L28)*

@@ -47,7 +47,7 @@ **Returns:** "string" \| "address" \| "bool" \| "bytes" \| "bytes1" \| "bytes2" \| "bytes3" \| "bytes4" \| "bytes5" \| "bytes6" \| "bytes7" \| "bytes8" \| "bytes9" \| "bytes10" \| "bytes11" \| "bytes12" \| "bytes13" \| "bytes14" \| "bytes15" \| "bytes16" \| "bytes17" \| "bytes18" \| "bytes19" \| "bytes20" \| "bytes21" \| "bytes22" \| "bytes23" \| "bytes24" \| "bytes25" \| "bytes26" \| "bytes27" \| "bytes28" \| "bytes29" \| "bytes30" \| "bytes31" \| "bytes32" \| "int" \| "int8" \| "int16" \| "int32" \| "int64" \| "int128" \| "int256" \| "uint" \| "uint8" \| "uint16" \| "uint32" \| "uint64" \| "uint128" \| "uint256" \| "fixedBytes" \| "fixedArray" \| "array"

**get value**(): `undefined` \| `string` \| `number` \| `Boolean` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][]
**get value**(): `undefined` \| `string` \| `number` \| `false` \| `true` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][]
*Defined in [token/token.ts:32](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/token/token.ts#L32)*
*Defined in [token/token.ts:32](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/token/token.ts#L32)*
**Returns:** `undefined` \| `string` \| `number` \| `Boolean` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][]
**Returns:** `undefined` \| `string` \| `number` \| `false` \| `true` \| `number`[] \| `BigNumber` \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[] \| (`string` \| `number` \| `false` \| `true` \| `BigNumber` \| [Token](_token_token_.token.md))[][]

@@ -64,3 +64,3 @@ ___

*Defined in [token/token.ts:20](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/token/token.ts#L20)*
*Defined in [token/token.ts:20](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/token/token.ts#L20)*

@@ -67,0 +67,0 @@ **Parameters:**

@@ -15,3 +15,3 @@

*Defined in [types.ts:11](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L11)*
*Defined in [types.ts:11](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L11)*

@@ -25,3 +25,3 @@ ___

*Defined in [types.ts:12](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L12)*
*Defined in [types.ts:12](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L12)*

@@ -35,5 +35,5 @@ ___

*Defined in [types.ts:13](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L13)*
*Defined in [types.ts:13](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L13)*
___

@@ -15,3 +15,3 @@

*Defined in [types.ts:101](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L101)*
*Defined in [types.ts:101](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L101)*

@@ -25,3 +25,3 @@ ___

*Defined in [types.ts:102](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L102)*
*Defined in [types.ts:102](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L102)*

@@ -35,3 +35,3 @@ ___

*Defined in [types.ts:103](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L103)*
*Defined in [types.ts:103](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L103)*

@@ -45,3 +45,3 @@ ___

*Defined in [types.ts:104](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L104)*
*Defined in [types.ts:104](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L104)*

@@ -55,3 +55,3 @@ ___

*Defined in [types.ts:106](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L106)*
*Defined in [types.ts:106](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L106)*

@@ -65,3 +65,3 @@ ___

*Defined in [types.ts:105](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L105)*
*Defined in [types.ts:105](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L105)*

@@ -75,5 +75,5 @@ ___

*Defined in [types.ts:107](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L107)*
*Defined in [types.ts:107](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L107)*
___

@@ -23,5 +23,5 @@

*Defined in [decoder/decoder.ts:17](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/decoder/decoder.ts#L17)*
*Defined in [decoder/decoder.ts:17](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/decoder/decoder.ts#L17)*
___

@@ -27,3 +27,3 @@

*Defined in [encoder/mediate.ts:11](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L11)*
*Defined in [encoder/mediate.ts:11](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L11)*

@@ -40,5 +40,5 @@ ___

*Defined in [encoder/mediate.ts:9](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/encoder/mediate.ts#L9)*
*Defined in [encoder/mediate.ts:9](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/encoder/mediate.ts#L9)*
___

@@ -11,3 +11,3 @@

*Defined in [spec/paramType/format.ts:72](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/format.ts#L72)*
*Defined in [spec/paramType/format.ts:72](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/format.ts#L72)*

@@ -31,3 +31,3 @@ Convert a ParamType to its string representation.

*Defined in [spec/paramType/format.ts:15](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/format.ts#L15)*
*Defined in [spec/paramType/format.ts:15](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/format.ts#L15)*

@@ -34,0 +34,0 @@ Convert a string to a ParamType.

@@ -21,5 +21,5 @@

*Defined in [spec/paramType/types.ts:8](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/spec/paramType/types.ts#L8)*
*Defined in [spec/paramType/types.ts:8](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/spec/paramType/types.ts#L8)*
___

@@ -38,3 +38,3 @@

*Defined in [types.ts:16](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L16)*
*Defined in [types.ts:16](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L16)*

@@ -48,3 +48,3 @@ ___

*Defined in [types.ts:110](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L110)*
*Defined in [types.ts:110](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L110)*

@@ -58,3 +58,3 @@ ___

*Defined in [types.ts:79](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L79)*
*Defined in [types.ts:79](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L79)*

@@ -68,3 +68,3 @@ ___

*Defined in [types.ts:87](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L87)*
*Defined in [types.ts:87](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L87)*

@@ -78,3 +78,3 @@ ___

*Defined in [types.ts:80](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L80)*
*Defined in [types.ts:80](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L80)*

@@ -88,3 +88,3 @@ ___

*Defined in [types.ts:81](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L81)*
*Defined in [types.ts:81](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L81)*

@@ -98,3 +98,3 @@ ___

*Defined in [types.ts:86](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L86)*
*Defined in [types.ts:86](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L86)*

@@ -108,3 +108,3 @@ ___

*Defined in [types.ts:85](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L85)*
*Defined in [types.ts:85](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L85)*

@@ -118,3 +118,3 @@ ___

*Defined in [types.ts:83](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L83)*
*Defined in [types.ts:83](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L83)*

@@ -128,3 +128,3 @@ ___

*Defined in [types.ts:18](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L18)*
*Defined in [types.ts:18](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L18)*

@@ -138,3 +138,3 @@ ___

*Defined in [types.ts:20](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L20)*
*Defined in [types.ts:20](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L20)*

@@ -148,3 +148,3 @@ ___

*Defined in [types.ts:82](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L82)*
*Defined in [types.ts:82](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L82)*

@@ -158,3 +158,3 @@ ___

*Defined in [types.ts:23](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L23)*
*Defined in [types.ts:23](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L23)*

@@ -166,5 +166,5 @@ ___

**Ƭ TokenValue**: *[AddressValue](_types_.md#addressvalue) \| `Boolean` \| [BytesValue](_types_.md#bytesvalue) \| [StringValue](_types_.md#stringvalue) \| [IntValue](_types_.md#intvalue) \| [UintValue](_types_.md#uintvalue) \| [FixedBytesValue](_types_.md#fixedbytesvalue) \| [FixedArrayValue](_types_.md#fixedarrayvalue) \| [ArrayValue](_types_.md#arrayvalue)*
**Ƭ TokenValue**: *[AddressValue](_types_.md#addressvalue) \| `boolean` \| [BytesValue](_types_.md#bytesvalue) \| [StringValue](_types_.md#stringvalue) \| [IntValue](_types_.md#intvalue) \| [UintValue](_types_.md#uintvalue) \| [FixedBytesValue](_types_.md#fixedbytesvalue) \| [FixedArrayValue](_types_.md#fixedarrayvalue) \| [ArrayValue](_types_.md#arrayvalue)*
*Defined in [types.ts:89](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L89)*
*Defined in [types.ts:89](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L89)*

@@ -178,5 +178,5 @@ ___

*Defined in [types.ts:84](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/types.ts#L84)*
*Defined in [types.ts:84](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/types.ts#L84)*
___

@@ -11,3 +11,3 @@

*Defined in [util/address.ts:36](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/address.ts#L36)*
*Defined in [util/address.ts:36](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/address.ts#L36)*

@@ -31,3 +31,3 @@ Verify that an address is a valid Ethereum address.

*Defined in [util/address.ts:13](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/address.ts#L13)*
*Defined in [util/address.ts:13](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/address.ts#L13)*

@@ -51,3 +51,3 @@ Verify that an address has a valid checksum.

*Defined in [util/address.ts:58](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/address.ts#L58)*
*Defined in [util/address.ts:58](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/address.ts#L58)*

@@ -54,0 +54,0 @@ Convert an Ethereum address to its checksum-valid version.

@@ -11,3 +11,3 @@

*Defined in [util/pad.ts:18](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L18)*
*Defined in [util/pad.ts:18](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L18)*

@@ -24,3 +24,3 @@ ___

*Defined in [util/pad.ts:26](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L26)*
*Defined in [util/pad.ts:26](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L26)*

@@ -44,3 +44,3 @@ Pad an address with zeros on the left.

*Defined in [util/pad.ts:37](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L37)*
*Defined in [util/pad.ts:37](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L37)*

@@ -64,3 +64,3 @@ Pad a boolean with zeros on the left.

*Defined in [util/pad.ts:91](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L91)*
*Defined in [util/pad.ts:91](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L91)*

@@ -84,3 +84,3 @@ Pad bytes with zeros on the left.

*Defined in [util/pad.ts:102](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L102)*
*Defined in [util/pad.ts:103](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L103)*

@@ -104,3 +104,3 @@ Pad fixed bytes.

*Defined in [util/pad.ts:117](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L117)*
*Defined in [util/pad.ts:118](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L118)*

@@ -124,3 +124,3 @@ Pad string.

*Defined in [util/pad.ts:46](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L46)*
*Defined in [util/pad.ts:46](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L46)*

@@ -144,3 +144,3 @@ Pad a u32 with zeros on the left.

*Defined in [util/pad.ts:70](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/pad.ts#L70)*
*Defined in [util/pad.ts:70](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/pad.ts#L70)*

@@ -147,0 +147,0 @@ Convert an input string to bytes.

@@ -11,3 +11,3 @@

*Defined in [util/signature.ts:14](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/signature.ts#L14)*
*Defined in [util/signature.ts:14](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/signature.ts#L14)*

@@ -32,3 +32,3 @@ Get event signature.

*Defined in [util/signature.ts:32](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/signature.ts#L32)*
*Defined in [util/signature.ts:33](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/signature.ts#L33)*

@@ -53,3 +53,3 @@ Get method signature.

*Defined in [util/signature.ts:46](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/signature.ts#L46)*
*Defined in [util/signature.ts:47](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/signature.ts#L47)*

@@ -56,0 +56,0 @@ Parse name.

@@ -11,3 +11,3 @@

*Defined in [util/slice.ts:13](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/slice.ts#L13)*
*Defined in [util/slice.ts:13](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/slice.ts#L13)*

@@ -14,0 +14,0 @@ Slice data.

@@ -11,3 +11,3 @@

*Defined in [util/sliceAs.ts:46](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/sliceAs.ts#L46)*
*Defined in [util/sliceAs.ts:46](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/sliceAs.ts#L46)*

@@ -31,3 +31,3 @@ Convert slice to checksum address.

*Defined in [util/sliceAs.ts:57](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/sliceAs.ts#L57)*
*Defined in [util/sliceAs.ts:57](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/sliceAs.ts#L57)*

@@ -51,3 +51,3 @@ Convert slice to boolean.

*Defined in [util/sliceAs.ts:26](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/sliceAs.ts#L26)*
*Defined in [util/sliceAs.ts:26](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/sliceAs.ts#L26)*

@@ -71,3 +71,3 @@ Convert slice to i32.

*Defined in [util/sliceAs.ts:15](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/sliceAs.ts#L15)*
*Defined in [util/sliceAs.ts:15](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/sliceAs.ts#L15)*

@@ -74,0 +74,0 @@ Convert slice to u32.

@@ -28,3 +28,3 @@

*Defined in [util/types.ts:6](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L6)*
*Defined in [util/types.ts:6](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L6)*

@@ -41,3 +41,3 @@ ___

*Defined in [util/types.ts:25](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L25)*
*Defined in [util/types.ts:25](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L25)*

@@ -62,3 +62,3 @@ **Type parameters:**

*Defined in [util/types.ts:29](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L29)*
*Defined in [util/types.ts:29](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L29)*

@@ -80,3 +80,3 @@ **Parameters:**

*Defined in [util/types.ts:33](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L33)*
*Defined in [util/types.ts:33](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L33)*

@@ -98,3 +98,3 @@ **Parameters:**

*Defined in [util/types.ts:37](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L37)*
*Defined in [util/types.ts:37](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L37)*

@@ -116,3 +116,3 @@ **Parameters:**

*Defined in [util/types.ts:63](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L63)*
*Defined in [util/types.ts:64](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L64)*

@@ -135,3 +135,3 @@ **Parameters:**

*Defined in [util/types.ts:55](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L55)*
*Defined in [util/types.ts:56](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L56)*

@@ -153,3 +153,3 @@ **Parameters:**

*Defined in [util/types.ts:59](https://github.com/paritytech/js-libs/blob/852e67c/packages/abi/src/util/types.ts#L59)*
*Defined in [util/types.ts:60](https://github.com/paritytech/js-libs/blob/e0c2d92/packages/abi/src/util/types.ts#L60)*

@@ -156,0 +156,0 @@ **Parameters:**

import Interface from './spec/interface';
declare class Abi extends Interface {
}
declare class Abi extends Interface {}
export default Abi;
declare class BytesTaken {
private _bytes;
private _newOffset;
constructor(bytes: number[], newOffset: number);
readonly bytes: number[];
readonly newOffset: number;
private _bytes;
private _newOffset;
constructor(bytes: number[], newOffset: number);
readonly bytes: number[];
readonly newOffset: number;
}
export default BytesTaken;

@@ -7,7 +7,15 @@ import Token from '../token/token';

declare class Decoder {
static decode(params: ParamType[] | undefined, data?: string): Token[];
static peek(slices: Slices, position: number): string;
static takeBytes(slices: Slices, position: number, length: number): BytesTaken;
static decodeParam(param: ParamType, slices: Slices, offset?: number): DecodeResult;
static decode(params: ParamType[] | undefined, data?: string): Token[];
static peek(slices: Slices, position: number): string;
static takeBytes(
slices: Slices,
position: number,
length: number
): BytesTaken;
static decodeParam(
param: ParamType,
slices: Slices,
offset?: number
): DecodeResult;
}
export default Decoder;
import Token from '../token';
declare class DecodeResult {
_token: Token;
_newOffset: number;
constructor(token: Token, newOffset: number);
readonly token: Token;
readonly newOffset: number;
_token: Token;
_newOffset: number;
constructor(token: Token, newOffset: number);
readonly token: Token;
readonly newOffset: number;
}
export default DecodeResult;
import Mediate from './mediate';
import Token from '../token/token';
declare class Encoder {
static encode(tokens: Token[]): string;
static encodeToken(token: Token, index?: number): Mediate;
static encode(tokens: Token[]): string;
static encodeToken(token: Token, index?: number): Mediate;
}
export default Encoder;
import { MediateType, TokenValue } from '../types';
declare type MediateValue = TokenValue | Mediate[];
declare class Mediate {
private _type;
private _value;
constructor(type: MediateType, value: MediateValue);
static offsetFor(mediates: Mediate[], position: number): number;
static validateType(type: MediateType): boolean;
initLength(): number;
closingLength(): number;
init(suffixOffset: number): string;
closing(offset: number): string;
readonly type: MediateType;
readonly value: MediateValue;
private _type;
private _value;
constructor(type: MediateType, value: MediateValue);
static offsetFor(mediates: Mediate[], position: number): number;
static validateType(type: MediateType): boolean;
initLength(): number;
closingLength(): number;
init(suffixOffset: number): string;
closing(offset: number): string;
readonly type: MediateType;
readonly value: MediateValue;
}
export default Mediate;

@@ -99,2 +99,3 @@ "use strict";

case 'array':
/* eslint-disable no-case-declarations */
var prefix = pad_1.padU32(this._value.length);

@@ -119,2 +120,3 @@ var inits = this._value

.join('');
/* eslint-enable no-case-declarations */
return "" + prefix + inits + closings;

@@ -121,0 +123,0 @@ }

@@ -5,8 +5,8 @@ import { AbiItem } from '../types';

declare class Constructor {
private _inputs;
constructor(abi: AbiItem);
readonly inputs: Param[];
inputParamTypes(): import("./paramType/paramType").default[];
encodeCall(tokens: Token[]): string;
private _inputs;
constructor(abi: AbiItem);
readonly inputs: Param[];
inputParamTypes(): import('./paramType/paramType').default[];
encodeCall(tokens: Token[]): string;
}
export default Constructor;
import DecodedLogParam from './decodedLogParam';
declare class DecodedLog {
private _address;
private _params;
constructor(params: DecodedLogParam[], address: string);
readonly address: string;
readonly params: DecodedLogParam[];
private _address;
private _params;
constructor(params: DecodedLogParam[], address: string);
readonly address: string;
readonly params: DecodedLogParam[];
}
export default DecodedLog;
import ParamType from '../paramType';
import Token from '../../token';
declare class DecodedLogParam {
private _kind;
private _name;
private _token;
constructor(name: string | undefined, kind: ParamType, token: Token);
readonly name: string | undefined;
readonly kind: ParamType;
readonly token: Token;
private _kind;
private _name;
private _token;
constructor(name: string | undefined, kind: ParamType, token: Token);
readonly name: string | undefined;
readonly kind: ParamType;
readonly token: Token;
}
export default DecodedLogParam;

@@ -5,18 +5,18 @@ import { AbiItem } from '../../types';

declare class Event {
private _anonymous;
private _id;
private _inputs;
private _name;
private _signature;
constructor(abi: AbiItem);
readonly anonymous: boolean;
readonly id: string;
readonly inputs: EventParam[];
readonly name: string | undefined;
readonly signature: string;
inputParamTypes(): import("../paramType/paramType").default[];
inputParamNames(): (string | undefined)[];
indexedParams(indexed: boolean): EventParam[];
decodeLog(topics: string[], data: string): DecodedLog;
private _anonymous;
private _id;
private _inputs;
private _name;
private _signature;
constructor(abi: AbiItem);
readonly anonymous: boolean;
readonly id: string;
readonly inputs: EventParam[];
readonly name: string | undefined;
readonly signature: string;
inputParamTypes(): import('../paramType/paramType').default[];
inputParamNames(): (string | undefined)[];
indexedParams(indexed: boolean): EventParam[];
decodeLog(topics: string[], data: string): DecodedLog;
}
export default Event;

@@ -5,11 +5,11 @@ import { AbiInput, TokenTypeEnum } from '../../types';

declare class EventParam {
private _indexed;
private _kind;
private _name;
static toEventParams(params: (Param | AbiInput)[]): EventParam[];
constructor(name: string | undefined, type: TokenTypeEnum, indexed?: boolean);
readonly name: string | undefined;
readonly kind: ParamType;
readonly indexed: boolean;
private _indexed;
private _kind;
private _name;
static toEventParams(params: (Param | AbiInput)[]): EventParam[];
constructor(name: string | undefined, type: TokenTypeEnum, indexed?: boolean);
readonly name: string | undefined;
readonly kind: ParamType;
readonly indexed: boolean;
}
export default EventParam;

@@ -5,25 +5,25 @@ import { AbiItem } from '../types';

declare class Func {
private _abi;
private _constant;
private _id;
private _inputs;
private _name;
private _outputs;
private _payable;
private _signature;
constructor(abi: AbiItem);
readonly abi: AbiItem;
readonly constant: boolean;
readonly id: string;
readonly inputs: Param[];
readonly name: string | undefined;
readonly outputs: Param[];
readonly payable: boolean;
readonly signature: string;
decodeInput(data?: string): Token[];
decodeOutput(data?: string): Token[];
encodeCall(tokens: Token[]): string;
inputParamTypes(): import("./paramType/paramType").default[];
outputParamTypes(): import("./paramType/paramType").default[];
private _abi;
private _constant;
private _id;
private _inputs;
private _name;
private _outputs;
private _payable;
private _signature;
constructor(abi: AbiItem);
readonly abi: AbiItem;
readonly constant: boolean;
readonly id: string;
readonly inputs: Param[];
readonly name: string | undefined;
readonly outputs: Param[];
readonly payable: boolean;
readonly signature: string;
decodeInput(data?: string): Token[];
decodeOutput(data?: string): Token[];
encodeCall(tokens: Token[]): string;
inputParamTypes(): import('./paramType/paramType').default[];
outputParamTypes(): import('./paramType/paramType').default[];
}
export default Func;

@@ -8,12 +8,12 @@ import { AbiObject, TokenValue } from '../types';

declare class Interface {
private _interface;
constructor(abi: AbiObject);
static encodeTokens(paramTypes: ParamType[], values: TokenValue[]): Token[];
static parseABI(abi: AbiObject): (Constructor | Event | Func)[];
readonly interface: (Constructor | Event | Func)[];
readonly constructors: (Constructor | Event | Func)[];
readonly events: (Constructor | Event | Func)[];
readonly functions: (Constructor | Event | Func)[];
encodeTokens(paramTypes: ParamType[], values: TokenValue[]): Token[];
private _interface;
constructor(abi: AbiObject);
static encodeTokens(paramTypes: ParamType[], values: TokenValue[]): Token[];
static parseABI(abi: AbiObject): (Constructor | Event | Func)[];
readonly interface: (Constructor | Event | Func)[];
readonly constructors: (Constructor | Event | Func)[];
readonly events: (Constructor | Event | Func)[];
readonly functions: (Constructor | Event | Func)[];
encodeTokens(paramTypes: ParamType[], values: TokenValue[]): Token[];
}
export default Interface;
import { AbiInput } from '../types';
import ParamType from './paramType';
declare class Param {
private _kind;
private _name;
constructor(name: string | undefined, type: string);
static toParams(params: (Param | AbiInput)[]): Param[];
readonly name: string | undefined;
readonly kind: ParamType;
private _kind;
private _name;
constructor(name: string | undefined, type: string);
static toParams(params: (Param | AbiInput)[]): Param[];
readonly name: string | undefined;
readonly kind: ParamType;
}
export default Param;

@@ -8,3 +8,6 @@ import ParamType from './paramType';

*/
export declare const toParamType: (type: string, indexed?: boolean | undefined) => ParamType;
export declare const toParamType: (
type: string,
indexed?: boolean | undefined
) => ParamType;
/**

@@ -11,0 +14,0 @@ * Convert a ParamType to its string representation.

import { TokenTypeEnum } from '../../types';
declare class ParamType {
private _indexed?;
private _length;
private _subtype?;
private _type;
constructor(type: TokenTypeEnum, subtype?: ParamType | undefined, length?: number, indexed?: boolean);
static validateType(type: TokenTypeEnum): boolean;
readonly type: TokenTypeEnum;
readonly subtype: ParamType | undefined;
readonly length: number;
readonly indexed: boolean | undefined;
private _indexed?;
private _length;
private _subtype?;
private _type;
constructor(
type: TokenTypeEnum,
subtype?: ParamType | undefined,
length?: number,
indexed?: boolean
);
static validateType(type: TokenTypeEnum): boolean;
readonly type: TokenTypeEnum;
readonly subtype: ParamType | undefined;
readonly length: number;
readonly indexed: boolean | undefined;
}
export default ParamType;
import { TokenTypeEnum, TokenValue } from '../types';
declare class Token {
private _type;
private _value;
constructor(type: TokenTypeEnum, value?: TokenValue);
static validateType(type: TokenTypeEnum): boolean;
readonly type: TokenTypeEnum;
readonly value: string | number | Boolean | number[] | import("bignumber.js").BigNumber | (string | number | boolean | import("bignumber.js").BigNumber | Token)[] | (string | number | boolean | import("bignumber.js").BigNumber | Token)[][] | undefined;
private _type;
private _value;
constructor(type: TokenTypeEnum, value?: TokenValue);
static validateType(type: TokenTypeEnum): boolean;
readonly type: TokenTypeEnum;
readonly value:
| string
| number
| boolean
| number[]
| import('bignumber.js').BigNumber
| (string | number | boolean | import('bignumber.js').BigNumber | Token)[]
| (string | number | boolean | import('bignumber.js').BigNumber | Token)[][]
| undefined;
}
export default Token;
import BigNumber from 'bignumber.js';
import Token from './token';
export interface AbiInput {
indexed?: boolean;
name?: string;
type: TokenTypeEnum;
indexed?: boolean;
name?: string;
type: TokenTypeEnum;
}
export declare type AbiItemType = 'function' | 'event' | 'constructor' | 'fallback';
export declare type AbiItemType =
| 'function'
| 'event'
| 'constructor'
| 'fallback';
export declare type MediateType = 'raw' | 'prefixed' | 'fixedArray' | 'array';
export declare type Slices = string[] | null | undefined;
export declare type TokenTypeEnum = 'address' | 'bool' | 'bytes' | 'bytes1' | 'bytes2' | 'bytes3' | 'bytes4' | 'bytes5' | 'bytes6' | 'bytes7' | 'bytes8' | 'bytes9' | 'bytes10' | 'bytes11' | 'bytes12' | 'bytes13' | 'bytes14' | 'bytes15' | 'bytes16' | 'bytes17' | 'bytes18' | 'bytes19' | 'bytes20' | 'bytes21' | 'bytes22' | 'bytes23' | 'bytes24' | 'bytes25' | 'bytes26' | 'bytes27' | 'bytes28' | 'bytes29' | 'bytes30' | 'bytes31' | 'bytes32' | 'string' | 'int' | 'int8' | 'int16' | 'int32' | 'int64' | 'int128' | 'int256' | 'uint' | 'uint8' | 'uint16' | 'uint32' | 'uint64' | 'uint128' | 'uint256' | 'fixedBytes' | 'fixedArray' | 'array';
export declare type TokenTypeEnum =
| 'address'
| 'bool'
| 'bytes'
| 'bytes1'
| 'bytes2'
| 'bytes3'
| 'bytes4'
| 'bytes5'
| 'bytes6'
| 'bytes7'
| 'bytes8'
| 'bytes9'
| 'bytes10'
| 'bytes11'
| 'bytes12'
| 'bytes13'
| 'bytes14'
| 'bytes15'
| 'bytes16'
| 'bytes17'
| 'bytes18'
| 'bytes19'
| 'bytes20'
| 'bytes21'
| 'bytes22'
| 'bytes23'
| 'bytes24'
| 'bytes25'
| 'bytes26'
| 'bytes27'
| 'bytes28'
| 'bytes29'
| 'bytes30'
| 'bytes31'
| 'bytes32'
| 'string'
| 'int'
| 'int8'
| 'int16'
| 'int32'
| 'int64'
| 'int128'
| 'int256'
| 'uint'
| 'uint8'
| 'uint16'
| 'uint32'
| 'uint64'
| 'uint128'
| 'uint256'
| 'fixedBytes'
| 'fixedArray'
| 'array';
export declare type AddressValue = string;

@@ -19,14 +76,28 @@ export declare type BoolValue = boolean | string;

export declare type FixedBytesValue = BytesValue;
export declare type FixedArrayValue = (boolean | string | number | BigNumber | Token)[];
export declare type FixedArrayValue = (
| boolean
| string
| number
| BigNumber
| Token)[];
export declare type ArrayValue = FixedArrayValue[];
export declare type TokenValue = AddressValue | Boolean | BytesValue | StringValue | IntValue | UintValue | FixedBytesValue | FixedArrayValue | ArrayValue;
export declare type TokenValue =
| AddressValue
| boolean
| BytesValue
| StringValue
| IntValue
| UintValue
| FixedBytesValue
| FixedArrayValue
| ArrayValue;
export interface AbiItem {
anonymous?: boolean;
constant?: boolean;
inputs?: AbiInput[];
name?: string;
payable?: boolean;
outputs?: AbiInput[];
type?: AbiItemType;
anonymous?: boolean;
constant?: boolean;
inputs?: AbiInput[];
name?: string;
payable?: boolean;
outputs?: AbiInput[];
type?: AbiItemType;
}
export declare type AbiObject = AbiItem[];

@@ -18,2 +18,4 @@ /**

*/
export declare const toChecksumAddress: (address?: string | null | undefined) => string;
export declare const toChecksumAddress: (
address?: string | null | undefined
) => string;

@@ -72,2 +72,3 @@ "use strict";

var inputBytes = exports.stringToBytes(input);
// eslint-disable-next-line @typescript-eslint/no-use-before-define
return "" + exports.padU32(inputBytes.length) + exports.padFixedBytes(inputBytes);

@@ -74,0 +75,0 @@ };

@@ -5,6 +5,9 @@ import ParamType from '../spec/paramType';

*/
export declare const eventSignature: (eventName: string | undefined, params?: ParamType[]) => {
id: string;
name: string | undefined;
signature: string;
export declare const eventSignature: (
eventName: string | undefined,
params?: ParamType[]
) => {
id: string;
name: string | undefined;
signature: string;
};

@@ -17,6 +20,9 @@ /**

*/
export declare const methodSignature: (methodName: string | undefined, params?: ParamType[]) => {
id: string;
name: string | undefined;
signature: string;
export declare const methodSignature: (
methodName: string | undefined,
params?: ParamType[]
) => {
id: string;
name: string | undefined;
signature: string;
};

@@ -28,5 +34,7 @@ /**

*/
export declare const parseName: (name: string | undefined) => {
strName: string;
name: string | undefined;
export declare const parseName: (
name: string | undefined
) => {
strName: string;
name: string | undefined;
};

@@ -14,2 +14,3 @@ "use strict";

if (params === void 0) { params = []; }
// eslint-disable-next-line @typescript-eslint/no-use-before-define
var _a = exports.parseName(eventName), strName = _a.strName, name = _a.name;

@@ -16,0 +17,0 @@ var types = (params || []).map(format_1.fromParamType).join(',');

@@ -38,2 +38,3 @@ "use strict";

function isHex(input) {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
if (!isString(input)) {

@@ -40,0 +41,0 @@ return false;

@@ -37,2 +37,3 @@ "use strict";

it('correctly identifies build-in instanceof', function () {
// eslint-disable-next-line no-new-wrappers
expect(types_1.isInstanceOf(new String('123'), String)).toBe(true);

@@ -39,0 +40,0 @@ });

{
"name": "@parity/abi",
"description": "Ethereum ABI encoder and decoder",
"version": "5.1.12",
"version": "5.1.13",
"author": "Parity Team <admin@parity.io>",

@@ -20,2 +20,3 @@ "license": "MIT",

"prebuild": "rimraf lib",
"typecheck": "tsc --noEmit",
"build": "tsc",

@@ -33,3 +34,3 @@ "test": "jest"

},
"gitHead": "e2ec3f149be5d5df0fe88bc4a8bd9ab70505acdb"
"gitHead": "6cb07a70d326d8f55a8e75a34b9378cb70c302a1"
}

@@ -62,3 +62,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

slices: Slices,
offset: number = 0
offset = 0
): DecodeResult {

@@ -65,0 +65,0 @@ if (!isInstanceOf(param, ParamType)) {

@@ -86,5 +86,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

throw new Error(
`Cannot encode token #${index} [${token.type}: ${token.value}]. ${
e.message
}`
`Cannot encode token #${index} [${token.type}: ${token.value}]. ${e.message}`
);

@@ -91,0 +89,0 @@ }

@@ -126,2 +126,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

case 'array':
/* eslint-disable no-case-declarations */
const prefix = padU32((this._value as Mediate[]).length);

@@ -150,2 +151,3 @@ const inits = (this._value as Mediate[])

.join('');
/* eslint-enable no-case-declarations */

@@ -152,0 +154,0 @@ return `${prefix}${inits}${closings}`;

@@ -91,3 +91,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

| AddressValue
| Boolean
| boolean
| BytesValue

@@ -94,0 +94,0 @@ | StringValue

@@ -94,2 +94,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

// eslint-disable-next-line @typescript-eslint/no-use-before-define
return `${padU32(inputBytes.length)}${padFixedBytes(inputBytes)}`;

@@ -96,0 +97,0 @@ };

@@ -18,2 +18,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

) => {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
const { strName, name } = parseName(eventName);

@@ -20,0 +21,0 @@ const types = (params || []).map(fromParamType).join(',');

@@ -52,2 +52,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

it('correctly identifies build-in instanceof', () => {
// eslint-disable-next-line no-new-wrappers
expect(isInstanceOf(new String('123'), String)).toBe(true);

@@ -54,0 +55,0 @@ });

@@ -38,2 +38,3 @@ // Copyright 2015-2019 Parity Technologies (UK) Ltd.

export function isHex (input?: any): boolean {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
if (!isString(input)) {

@@ -40,0 +41,0 @@ return false;

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

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

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

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

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

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

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

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

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 too big to display

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