Documentation ¶
Index ¶
- Variables
- type Api
- type Client
- func (c *Client) Deposit(amount *big.Int) error
- func (c *Client) GetBalance(accountAddress *string) (*big.Int, error)
- func (c *Client) NewTxOpts() (*bind.TransactOpts, error)
- func (c *Client) Prepare(cfg *Config) (err error)
- func (c *Client) Transfer(receiver string, amount *big.Int) error
- func (c *Client) Withdraw(amount *big.Int) error
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
IP: "localhost",
HttpPort: "22000",
WsPort: "32000",
AddressPath: "",
PrivateKeyPath: "",
}
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.