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

Commit 023f02d

Browse files
TuditiAlex
andauthored
fix: add 'receive' to FragmentTypes (#6204)
* fix: add 'receive' to FragmentTypes * chore: update changelog --------- Co-authored-by: Alex <[email protected]>
1 parent ab0f4cb commit 023f02d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1603,3 +1603,7 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
16031603
#### web3-eth-contract
16041604

16051605
- Event filtering using non-indexed and indexed string event arguments (#6167)
1606+
1607+
#### web3-eth-types
1608+
1609+
- Receive fragment type added (#6204)

packages/web3-types/src/eth_abi_types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export type AbiParameter = {
8484
readonly internalType?: string;
8585
};
8686

87-
type FragmentTypes = 'constructor' | 'event' | 'function' | 'fallback';
87+
type FragmentTypes = 'constructor' | 'event' | 'function' | 'fallback' | 'receive';
8888

8989
export type AbiBaseFragment = {
9090
// type will default to string if passed ABI is declared without "as const"

0 commit comments

Comments
 (0)