Documentation ¶
Index ¶
Constants ¶
View Source
const ( EthereumWalletTypeKeyStore ethereumWalletType = "key-store" EthereumWalletTypeClef ethereumWalletType = "clef" )
Variables ¶
View Source
var (
ErrWrongPassphrase = errors.New("wrong passphrase")
)
Functions ¶
This section is empty.
Types ¶
type EthereumClefWallet ¶
type EthereumClefWallet struct { Name string `json:"name"` AccountAddress string `json:"account-address"` ClefAddress string `json:"clef-address"` }
func (EthereumClefWallet) ETHWallet ¶
func (e EthereumClefWallet) ETHWallet()
type EthereumKeyStoreWallet ¶
type EthereumKeyStoreWallet struct { Name string `json:"name"` Passphrase string `json:"passphrase"` }
func (EthereumKeyStoreWallet) ETHWallet ¶
func (e EthereumKeyStoreWallet) ETHWallet()
type EthereumWalletDetails ¶
type EthereumWalletDetails interface {
ETHWallet()
}
type Loader ¶
type Loader struct {
// contains filtered or unexported fields
}
func (*Loader) RegistryFilePath ¶
type RegisteredEthereumWallet ¶
type RegisteredEthereumWallet struct { Type ethereumWalletType `json:"type"` Details EthereumWalletDetails `json:"details"` }
func (*RegisteredEthereumWallet) UnmarshalJSON ¶
func (rw *RegisteredEthereumWallet) UnmarshalJSON(data []byte) error
type RegisteredTendermintPubkey ¶
type RegisteredTendermintPubkey struct {
Pubkey string `json:"pubkey"`
}
type RegisteredVegaWallet ¶
type Registry ¶
type Registry struct { Tendermint *RegisteredTendermintPubkey `json:"tendermint,omitempty"` Ethereum *RegisteredEthereumWallet `json:"ethereum,omitempty"` Vega *RegisteredVegaWallet `json:"vega,omitempty"` }
Click to show internal directories.
Click to hide internal directories.