cic-custodial/internal/nonce/nonce.go
2022-11-30 09:51:24 +00:00

12 lines
309 B
Go

package nonce
import "context"
type Noncestore interface {
Peek(context.Context, string) (uint64, error)
Acquire(context.Context, string) (uint64, error)
Return(context.Context, string) error
SyncNetworkNonce(context.Context, string) (uint64, error)
SetNewAccountNonce(context.Context, string) error
}