-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added `messagesTypes` to `JsonAbi` * Changeset * feat: added `messagesTypes` to the `abi-typegen` package * Updated changeset
- Loading branch information
1 parent
685829b
commit f76aa57
Showing
9 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@fuel-ts/abi-coder": patch | ||
"@fuel-ts/abi-typegen": patch | ||
--- | ||
|
||
chore: added `messagesTypes` to `JsonAbi` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
import type { IRawAbiConfigurable } from './IRawAbiConfigurable'; | ||
import type { IRawAbiFunction } from './IRawAbiFunction'; | ||
import type { IRawAbiLoggedTypes } from './IRawAbiLoggedTypes'; | ||
import type { IRawAbiMessagesType } from './IRawAbiMessagesType'; | ||
import type { IRawAbiTypeRoot } from './IRawAbiType'; | ||
|
||
export interface IRawAbi { | ||
types: IRawAbiTypeRoot[]; | ||
functions: IRawAbiFunction[]; | ||
loggedTypes: IRawAbiLoggedTypes[]; | ||
configurables: IRawAbiConfigurable[]; | ||
messagesTypes: IRawAbiMessagesType[]; | ||
} |
8 changes: 8 additions & 0 deletions
8
packages/abi-typegen/src/types/interfaces/IRawAbiMessagesType.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export interface IRawAbiMessagesType { | ||
messageDataType: IRawAbiMessageDataType; | ||
} | ||
|
||
export interface IRawAbiMessageDataType { | ||
type: number; | ||
typeArguments: null | IRawAbiMessageDataType[]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,5 +34,6 @@ export const predicateAbi: JsonAbi = { | |
}, | ||
], | ||
loggedTypes: [], | ||
messagesTypes: [], | ||
configurables: [], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ const ABI: JsonAbi = { | |
}, | ||
], | ||
loggedTypes: [], | ||
messagesTypes: [], | ||
configurables: [], | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters