Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta interface {
// Cosigners returns cosigners' addresses and the cosigners threshold.
//
// If no cosigners are set, empty set and threshold zero is returned.
Cosigners(*instruction.DataFixed) (map[common.Address]bool, uint64, error)
// CheckConsistency validates instruction according to its opType.
//
// For example, for the F_FDC2 Prove OPCommand, it verifies the internal signature of the FDC message.
CheckConsistency(*instruction.Data, common.Address) error
// ThresholdBIPS returns custom thresholdBIPS for the instruction.
// If no specific threshold is set -1 is returned.
ThresholdBIPS(*instruction.DataFixed) (int, error)
}
Meta provides meta data for the instructions.
Click to show internal directories.
Click to hide internal directories.