ethereum

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthService

type EthService struct {
	// ks     *keystore.KeyStore
	Client *ethclient.Client
}

EthService ethereum service

func (*EthService) GetRewards

func (es *EthService) GetRewards(alloID, rewardsManagerContractAddress string) (*hexutil.Big, error)

GetRewards get rewards

func (*EthService) GetTokenBalance

func (es *EthService) GetTokenBalance(tokenHex, addressHex string) (*hexutil.Big, error)

GetTokenBalance gets ERC20 balance // 0xc944e90c64b2c07662a292be6244bdf05cda44a7

Directories

Path Synopsis
contracts

Jump to

Keyboard shortcuts

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