Skip to content

Commit 56ab8f4

Browse files
committed
Added ExtraDataDecoded ccip type
1 parent 73ee8d8 commit 56ab8f4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

pkg/types/ccipocr3/generic_types.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,3 +394,13 @@ func (pt PluginType) String() string {
394394
return "Unknown"
395395
}
396396
}
397+
398+
// ExtraDataDecoded contains a generic representation of chain specific message parameters. A
399+
// map from string to any is used to account for different parameters required for sending messages
400+
// to different destinations.
401+
type ExtraDataDecoded struct {
402+
// ExtraArgsDecoded contain message specific extra args.
403+
ExtraArgsDecoded map[string]any
404+
// DestExecDataDecoded contain token transfer specific extra args.
405+
DestExecDataDecoded []map[string]any
406+
}

0 commit comments

Comments
 (0)