Skip to content

Commit

Permalink
Define ccip ocr3 provider interfaces (#562)
Browse files Browse the repository at this point in the history
* add ccip ocr3 provider interfaces

* rename ifaces
  • Loading branch information
dimkouv authored Jun 6, 2024
1 parent 573049c commit e746659
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions pkg/types/provider_ccip_ocr3.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package types

import (
"context"

"github.com/smartcontractkit/chainlink-common/pkg/types/ccipocr3"
)

type CCIPOCR3CommitProvider interface {
PluginProvider

ReportCodec(ctx context.Context) (ccipocr3.CommitPluginCodec, error)
MsgHasher(ctx context.Context) (ccipocr3.MessageHasher, error)
}

type CCIPOCR3ExecuteProvider interface {
PluginProvider

ReportCodec(ctx context.Context) (ccipocr3.ExecutePluginCodec, error)
MsgHasher(ctx context.Context) (ccipocr3.MessageHasher, error)
}

0 comments on commit e746659

Please sign in to comment.