Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit ae1d156

Browse files
authored
Add internalType prop to the AbiParameter type. (#6052)
1 parent b90aba0 commit ae1d156

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/web3-types/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
101101
### Added
102102

103103
- Added `filters` param to the `Filter` type (#6010)
104-
105104
### Changed
106105

107106
- Replaced Buffer for Uint8Array (#6004)
108107
- types `FMT_BYTES.BUFFER`, `Bytes` and `FormatType` and encryption option types for `salt` and `iv` has replaced support for `Buffer` for `Uint8Array` (#6004)
108+
- Added `internalType` property to the `AbiParameter` type.

packages/web3-types/src/eth_abi_types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export type AbiParameter = {
8181
readonly components?: ReadonlyArray<AbiParameter>;
8282
readonly arrayLength?: number;
8383
readonly arrayChildren?: ReadonlyArray<AbiParameter>;
84+
readonly internalType?: string;
8485
};
8586

8687
type FragmentTypes = 'constructor' | 'event' | 'function' | 'fallback';

0 commit comments

Comments
 (0)