Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigConstants ¶
type ConfigConstants struct {
AdminsPublicKeys []PublicKey `json:"adminsPublicKeys"`
AdminsThreshold uint64 `json:"adminsThreshold"`
Cosigners []common.Address `json:"cosigners"`
CosignersThreshold uint64 `json:"cosignersThreshold"`
}
ConfigConstants holds the immutable wallet configuration such as admin keys and cosigners.
type ConfigSettings ¶
type ConfigSettings struct {
PausingAddresses []common.Address `json:"pausingAddresses"`
OPTypeSettings []byte `json:"opTypeSettings"`
}
ConfigSettings holds the mutable wallet settings such as pausing addresses and op-type settings.
type KeyData ¶
type KeyData struct {
Info KeyExistence `json:"info"`
Proof *wallets.SignedKeyExistenceProof `json:"proof"`
}
KeyData holds the key existence record and its cryptographic existence proof.
type KeyExistence ¶
type KeyExistence struct {
TeeID common.Address `json:"teeId"`
WalletID common.Hash `json:"walletId"`
KeyID uint64 `json:"keyId"`
KeyType common.Hash `json:"keyType"`
SigningAlgo common.Hash `json:"signingAlgo"`
PublicKey hexutil.Bytes `json:"publicKye"`
Nonce *big.Int `json:"nonce"`
Restored bool `json:"restore"`
ConfigConstants ConfigConstants `json:"configConstants"`
SettingsVersion common.Hash `json:"settingsVersion"`
Settings hexutil.Bytes `json:"settings"`
}
KeyExistence contains the identifying attributes and public key of a wallet key.
Click to show internal directories.
Click to hide internal directories.