Documentation ¶
Index ¶
- func ConvertBalanceToAlpha(eth *big.Int) uint64
- func FeeCreditRecordIDFromPublicKey(_, pubKey []byte) types.UnitID
- type Client
- type TxPublisher
- type Wallet
- func (w *Wallet) EvmCall(ctx context.Context, accNr uint64, attrs *evmclient.CallAttributes) (*evmclient.Result, error)
- func (w *Wallet) GetBalance(ctx context.Context, accNr uint64) (*big.Int, error)
- func (w *Wallet) SendEvmTx(ctx context.Context, accNr uint64, attrs *evmclient.TxAttributes) (*evmclient.Result, error)
- func (w *Wallet) Shutdown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertBalanceToAlpha ¶
func FeeCreditRecordIDFromPublicKey ¶
FeeCreditRecordIDFromPublicKey - create fee credit id from public key. For EVM shard part is ignored for now as it is not meant to shard.
Types ¶
type TxPublisher ¶
type TxPublisher struct {
// contains filtered or unexported fields
}
func NewTxPublisher ¶
func NewTxPublisher(backendClient Client) *TxPublisher
func (*TxPublisher) Close ¶
func (w *TxPublisher) Close()
Click to show internal directories.
Click to hide internal directories.