Documentation ¶
Index ¶
- type KeyPair
- type KeyPairs
- func (kp *KeyPairs) AddMigratedKeyPairOrAddAccountsIfKeyPairIsAdded(keyPair KeyPair) (addedKc bool, addedAccs bool, err error)
- func (kp *KeyPairs) DeleteKeycard(kcUID string, clock uint64) (err error)
- func (kp *KeyPairs) DeleteKeypair(keyUID string) (err error)
- func (kp *KeyPairs) GetAllKnownKeycards() ([]*KeyPair, error)
- func (kp *KeyPairs) GetAllMigratedKeyPairs() ([]*KeyPair, error)
- func (kp *KeyPairs) GetMigratedKeyPairByKeyUID(keyUID string) ([]*KeyPair, error)
- func (kp *KeyPairs) KeycardLocked(kcUID string, clock uint64) (err error)
- func (kp *KeyPairs) KeycardUnlocked(kcUID string, clock uint64) (err error)
- func (kp *KeyPairs) RemoveMigratedAccountsForKeycard(kcUID string, accountAddresses []types.Address, clock uint64) (err error)
- func (kp *KeyPairs) SetKeycardName(kcUID string, kpName string, clock uint64) (err error)
- func (kp *KeyPairs) SyncKeycards(syncingClock uint64, keypairsToSync []*KeyPair) (err error)
- func (kp *KeyPairs) UpdateKeycardUID(oldKcUID string, newKcUID string, clock uint64) (err error)
- type KeycardAction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyPair ¶
type KeyPair struct { KeycardUID string `json:"keycard-uid"` KeycardName string `json:"keycard-name"` KeycardLocked bool `json:"keycard-locked"` AccountsAddresses []types.Address `json:"accounts-addresses"` KeyUID string `json:"key-uid"` LastUpdateClock uint64 }
func (*KeyPair) FromSyncKeycard ¶ added in v0.133.2
func (kp *KeyPair) FromSyncKeycard(kc *protobuf.SyncKeycard)
func (*KeyPair) ToSyncKeycard ¶ added in v0.133.2
func (kp *KeyPair) ToSyncKeycard() *protobuf.SyncKeycard
type KeyPairs ¶
type KeyPairs struct {
// contains filtered or unexported fields
}
func NewKeyPairs ¶
func (*KeyPairs) AddMigratedKeyPairOrAddAccountsIfKeyPairIsAdded ¶ added in v0.133.2
func (*KeyPairs) DeleteKeycard ¶
func (*KeyPairs) DeleteKeypair ¶ added in v0.125.4
func (*KeyPairs) GetAllKnownKeycards ¶ added in v0.117.1
func (*KeyPairs) GetAllMigratedKeyPairs ¶
func (*KeyPairs) GetMigratedKeyPairByKeyUID ¶
func (*KeyPairs) KeycardLocked ¶
func (*KeyPairs) KeycardUnlocked ¶
func (*KeyPairs) RemoveMigratedAccountsForKeycard ¶ added in v0.125.0
func (*KeyPairs) SetKeycardName ¶
func (*KeyPairs) SyncKeycards ¶ added in v0.133.2
type KeycardAction ¶ added in v0.133.2
Click to show internal directories.
Click to hide internal directories.