Documentation
¶
Index ¶
- func ComputeImageHash(payload *v3.CallsPayload, signature []byte, chainID *big.Int) (common.Hash, error)
- func EncodeSignature(statics []StaticSection, repeats []RepeatSection) ([]byte, error)
- func ValidateSignature(payload *v3.CallsPayload, signature []byte) error
- type Builder
- type BuilderOptions
- type Plan
- type RepeatSection
- type Section
- type SectionKind
- type SpanWithCall
- type StaticSection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeImageHash ¶
func EncodeSignature ¶
func EncodeSignature(statics []StaticSection, repeats []RepeatSection) ([]byte, error)
func ValidateSignature ¶
func ValidateSignature(payload *v3.CallsPayload, signature []byte) error
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
func NewBuilder ¶
func NewBuilder(payload *v3.CallsPayload, opts *BuilderOptions) *Builder
func (*Builder) Repeat ¶
func (b *Builder) Repeat(a abicalldata.Selector, b2 abicalldata.Selector) *Builder
type BuilderOptions ¶
type Plan ¶
type Plan struct {
Static []StaticSection
Repeat []RepeatSection
}
func (*Plan) DebugString ¶
type RepeatSection ¶
func (RepeatSection) Kind ¶
func (s RepeatSection) Kind() SectionKind
type SpanWithCall ¶
type SpanWithCall struct {
CallIndex int
abicalldata.Span
}
type StaticSection ¶
func (StaticSection) Kind ¶
func (s StaticSection) Kind() SectionKind
Click to show internal directories.
Click to hide internal directories.