Versions in this module Expand all Collapse all v0 v0.2.0 Dec 11, 2019 Changes in this version + const MUTEZ + type AccountService struct + func NewAccountService(tzclient tzc.TezosClient, blockService block.TezosBlockService, ...) *AccountService + func (s *AccountService) CreateWallet(mnenomic string, password string) (Wallet, error) + func (s *AccountService) GetBalance(tezosAddr string) (float64, error) + func (s *AccountService) GetBalanceAtBlock(tezosAddr string, id interface{}) (float64, error) + func (s *AccountService) GetBalanceAtSnapshot(tezosAddr string, cycle int) (float64, error) + func (s *AccountService) ImportEncryptedWallet(pw, encKey string) (Wallet, error) + func (s *AccountService) ImportWallet(address, public, secret string) (Wallet, error) + type FrozenBalance struct + Deposits string + Fees string + Rewards string + type TezosAccountService interface + CreateWallet func(mnenomic string, password string) (Wallet, error) + GetBalance func(tezosAddr string) (float64, error) + GetBalanceAtBlock func(tezosAddr string, id interface{}) (float64, error) + GetBalanceAtSnapshot func(tezosAddr string, cycle int) (float64, error) + ImportEncryptedWallet func(pw, encKey string) (Wallet, error) + ImportWallet func(address, public, secret string) (Wallet, error) + type Wallet struct + Address string + Kp keyPair + Mnemonic string + Pk string + Seed []byte + Sk string