19 lines
730 B
Go
19 lines
730 B
Go
package buscompose
|
|
|
|
import "time"
|
|
|
|
// AccountIssuedEvent is what the vault says when it minted an account: AccountIssued, never a value or a hash. The state of
|
|
// wanted accounts it mints from is the grants part's (grantsstate.AccountsState; novox/hq ADR 0634 §1).
|
|
const AccountIssuedEvent = "account-issued"
|
|
|
|
// AccountIssued is the vault's account-issued: which account it minted, and its generation. Never a value or a hash.
|
|
type AccountIssued struct {
|
|
User string `json:"user"`
|
|
Kind Kind `json:"kind"`
|
|
Node string `json:"node"`
|
|
Module string `json:"module"`
|
|
Process string `json:"process,omitempty"`
|
|
Generation int `json:"generation"`
|
|
At time.Time `json:"at"`
|
|
}
|