Documentation ¶
Index ¶
- type ScryClient
- func (client ScryClient) Authenticate(password string) (bool, error)
- func (client ScryClient) GetEth(owner common.Address, ec *ethclient.Client) (*big.Int, error)
- func (client ScryClient) GetScryToken(owner common.Address) (*big.Int, error)
- func (client ScryClient) SubscribeEvent(eventName string, callback chainevents.EventCallback) error
- func (client ScryClient) TransferEthFrom(from common.Address, password string, value *big.Int, ec *ethclient.Client) error
- func (client ScryClient) TransferTokenFrom(from common.Address, password string, value *big.Int) error
- func (client ScryClient) UnSubscribeEvent(eventName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScryClient ¶
func CreateScryClient ¶
func CreateScryClient(password string) (*ScryClient, error)
func NewScryClient ¶
func NewScryClient(publicKey string) *ScryClient
func (ScryClient) Authenticate ¶
func (client ScryClient) Authenticate(password string) (bool, error)
func (ScryClient) GetScryToken ¶
func (ScryClient) SubscribeEvent ¶
func (client ScryClient) SubscribeEvent(eventName string, callback chainevents.EventCallback) error
func (ScryClient) TransferEthFrom ¶
func (ScryClient) TransferTokenFrom ¶
func (ScryClient) UnSubscribeEvent ¶
func (client ScryClient) UnSubscribeEvent(eventName string) error
Click to show internal directories.
Click to hide internal directories.