account.go 168 B

1234567891011
  1. package protocol
  2. type Account interface {
  3. Equals(Account) bool
  4. }
  5. type AsAccount interface {
  6. AsAccount() (Account, error)
  7. }
  8. type NewAccountFactory func() AsAccount