You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Sequence represents the base type, for any chain's sequence object.
// It should be convertible to a string
type Sequence interface {
fmt.Stringer
Int64() int64 // needed for numeric sequence confirmation - to be removed with confirmation logic generalization: https://smartcontract-it.atlassian.net/browse/BCI-860
}
// Generate the next usable sequence for a transaction
type GenerateNextSequenceFunc[SEQ Sequence] func(prev SEQ) SEQ
// ID represents the base type, for any chain's ID.
// It should be convertible to a string, that can uniquely identify this chain