(author identity.Interface, toAdd ...identity.Interface)
| 110 | } |
| 111 | |
| 112 | func NewAddAdministratorOp(author identity.Interface, toAdd ...identity.Interface) *AddAdministrator { |
| 113 | return &AddAdministrator{ |
| 114 | OpBase: dag.NewOpBase(AddAdministratorOp, author, time.Now().Unix()), |
| 115 | ToAdd: toAdd, |
| 116 | } |
| 117 | } |
| 118 | |
| 119 | func (aa *AddAdministrator) Id() entity.Id { |
| 120 | // the Id of the operation is the hash of the serialized data. |
no test coverage detected