scryclient

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScryClient

type ScryClient struct {
	Account *accounts.Account
}

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) GetEth

func (client ScryClient) GetEth(owner common.Address, ec *ethclient.Client) (*big.Int, error)

func (ScryClient) GetScryToken

func (client ScryClient) GetScryToken(owner common.Address) (*big.Int, error)

func (ScryClient) SubscribeEvent

func (client ScryClient) SubscribeEvent(eventName string, callback chainevents.EventCallback) error

func (ScryClient) TransferEthFrom

func (client ScryClient) TransferEthFrom(from common.Address, password string, value *big.Int, ec *ethclient.Client) error

func (ScryClient) TransferTokenFrom

func (client ScryClient) TransferTokenFrom(from common.Address, password string, value *big.Int) error

func (ScryClient) UnSubscribeEvent

func (client ScryClient) UnSubscribeEvent(eventName string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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