wallets

package
v0.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: MIT Imports: 4 Imported by: 0

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.

type PublicKey

type PublicKey struct {
	X common.Hash `json:"x"`
	Y common.Hash `json:"y"`
}

PublicKey holds the X and Y coordinates of an elliptic-curve public key.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL