Documentation ¶
Index ¶
- type Keeps
- func (k *Keeps) GetKeepsAddresses() []common.Address
- func (k *Keeps) GetSigner(keepAddress common.Address) (*tss.ThresholdSigner, error)
- func (k *Keeps) HasSigner(keepAddress common.Address) bool
- func (k *Keeps) LoadExistingKeeps()
- func (k *Keeps) RegisterSigner(keepAddress common.Address, signer *tss.ThresholdSigner) error
- func (k *Keeps) SnapshotSigner(keepAddress common.Address, signer *tss.ThresholdSigner) error
- func (k *Keeps) UnregisterKeep(keepAddress common.Address)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keeps ¶
type Keeps struct {
// contains filtered or unexported fields
}
Keeps represents a collection of keeps in which the given client is a member.
func NewKeepsRegistry ¶
func NewKeepsRegistry(persistence persistence.Handle) *Keeps
NewKeepsRegistry returns an empty keeps registry.
func (*Keeps) GetKeepsAddresses ¶
GetKeepsAddresses returns addresses of all registered keeps.
func (*Keeps) HasSigner ¶ added in v1.1.0
HasSigner returns true if at least one signer exists in the registry for the keep with the given addres.
func (*Keeps) LoadExistingKeeps ¶
func (k *Keeps) LoadExistingKeeps()
LoadExistingKeeps iterates over all signers stored on disk and loads them into memory
func (*Keeps) RegisterSigner ¶
RegisterSigner registers that a signer was successfully created for the given keep.
func (*Keeps) SnapshotSigner ¶ added in v1.4.0
func (*Keeps) UnregisterKeep ¶
UnregisterKeep archives threeshold signer info for the given keep address.
Click to show internal directories.
Click to hide internal directories.