Documentation ¶
Index ¶
- type Wallet
- func (_m *Wallet) Accounts() []accounts.Account
- func (_m *Wallet) Close() error
- func (_m *Wallet) Contains(account accounts.Account) bool
- func (_m *Wallet) Derive(path go_ethereumaccounts.DerivationPath, pin bool) (accounts.Account, error)
- func (_m *Wallet) Open(passphrase string) error
- func (_m *Wallet) SignTx(account accounts.Account, tx *types.Transaction, chainID *big.Int) ([]byte, error)
- func (_m *Wallet) SignTypedData(account accounts.Account, typedData apitypes.TypedData) ([]byte, error)
- func (_m *Wallet) Status() (string, error)
- func (_m *Wallet) URL() go_ethereumaccounts.URL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wallet ¶
Wallet is an autogenerated mock type for the Wallet type
func NewWallet ¶
func NewWallet(t mockConstructorTestingTNewWallet) *Wallet
NewWallet creates a new instance of Wallet. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Wallet) Derive ¶
func (_m *Wallet) Derive(path go_ethereumaccounts.DerivationPath, pin bool) (accounts.Account, error)
Derive provides a mock function with given fields: path, pin
func (*Wallet) SignTx ¶
func (_m *Wallet) SignTx(account accounts.Account, tx *types.Transaction, chainID *big.Int) ([]byte, error)
SignTx provides a mock function with given fields: account, tx, chainID
func (*Wallet) SignTypedData ¶
func (_m *Wallet) SignTypedData(account accounts.Account, typedData apitypes.TypedData) ([]byte, error)
SignTypedData provides a mock function with given fields: account, typedData
func (*Wallet) URL ¶
func (_m *Wallet) URL() go_ethereumaccounts.URL
URL provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.