Documentation ¶
Index ¶
- type GuardedAccountHandlerStub
- func (gahs *GuardedAccountHandlerStub) CleanOtherThanActive(uah vmcommon.UserAccountHandler)
- func (gahs *GuardedAccountHandlerStub) GetActiveGuardian(handler vmcommon.UserAccountHandler) ([]byte, error)
- func (gahs *GuardedAccountHandlerStub) GetConfiguredGuardians(uah state.UserAccountHandler) (active *guardians.Guardian, pending *guardians.Guardian, err error)
- func (gahs *GuardedAccountHandlerStub) HasActiveGuardian(uah state.UserAccountHandler) bool
- func (gahs *GuardedAccountHandlerStub) HasPendingGuardian(uah state.UserAccountHandler) bool
- func (gahs *GuardedAccountHandlerStub) IsInterfaceNil() bool
- func (gahs *GuardedAccountHandlerStub) SetGuardian(uah vmcommon.UserAccountHandler, guardianAddress []byte, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GuardedAccountHandlerStub ¶
type GuardedAccountHandlerStub struct { GetActiveGuardianCalled func(handler vmcommon.UserAccountHandler) ([]byte, error) SetGuardianCalled func(uah vmcommon.UserAccountHandler, guardianAddress []byte, txGuardianAddress []byte, guardianServiceUID []byte) error HasPendingGuardianCalled func(uah state.UserAccountHandler) bool HasActiveGuardianCalled func(uah state.UserAccountHandler) bool CleanOtherThanActiveCalled func(uah vmcommon.UserAccountHandler) GetConfiguredGuardiansCalled func(uah state.UserAccountHandler) (active *guardians.Guardian, pending *guardians.Guardian, err error) }
GuardedAccountHandlerStub -
func (*GuardedAccountHandlerStub) CleanOtherThanActive ¶
func (gahs *GuardedAccountHandlerStub) CleanOtherThanActive(uah vmcommon.UserAccountHandler)
CleanOtherThanActive -
func (*GuardedAccountHandlerStub) GetActiveGuardian ¶
func (gahs *GuardedAccountHandlerStub) GetActiveGuardian(handler vmcommon.UserAccountHandler) ([]byte, error)
GetActiveGuardian -
func (*GuardedAccountHandlerStub) GetConfiguredGuardians ¶
func (gahs *GuardedAccountHandlerStub) GetConfiguredGuardians(uah state.UserAccountHandler) (active *guardians.Guardian, pending *guardians.Guardian, err error)
GetConfiguredGuardians -
func (*GuardedAccountHandlerStub) HasActiveGuardian ¶
func (gahs *GuardedAccountHandlerStub) HasActiveGuardian(uah state.UserAccountHandler) bool
HasActiveGuardian -
func (*GuardedAccountHandlerStub) HasPendingGuardian ¶
func (gahs *GuardedAccountHandlerStub) HasPendingGuardian(uah state.UserAccountHandler) bool
HasPendingGuardian -
func (*GuardedAccountHandlerStub) IsInterfaceNil ¶
func (gahs *GuardedAccountHandlerStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*GuardedAccountHandlerStub) SetGuardian ¶
func (gahs *GuardedAccountHandlerStub) SetGuardian(uah vmcommon.UserAccountHandler, guardianAddress []byte, txGuardianAddress []byte, guardianServiceUID []byte) error
SetGuardian -
Click to show internal directories.
Click to hide internal directories.