Documentation
¶
Index ¶
- func GetWalletAccount(mnemonic, path string) (accounts.Account, string, error)
- type Service
- func (es *Service) CloseAllocation(privateKeyHex, address, contract, alloID, poi string) (*types.Transaction, error)
- func (es *Service) GetAllocation(contractAddress, alloID string) (staking.IStakingDataAllocation, error)
- func (es *Service) GetAllocationState(contractAddress, alloID string) (uint8, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
EthService ethereum service
func (*Service) CloseAllocation ¶
func (es *Service) CloseAllocation(privateKeyHex, address, contract, alloID, poi string) (*types.Transaction, error)
func (*Service) GetAllocation ¶
func (es *Service) GetAllocation(contractAddress, alloID string) (staking.IStakingDataAllocation, error)
Click to show internal directories.
Click to hide internal directories.