types

package
v0.79.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Txs         Txs
	Chain       common.Chain
	BlockHeight int64
	BlockHash   string
}

Block is our simplified/generic block

func (*Block) String

func (b *Block) String() string

type FnLastScannedBlockHeight

type FnLastScannedBlockHeight func(chain common.Chain) (int64, error)

FnLastScannedBlockHeight function signature for passing around the function call to get last_scanned_block_height from thorchain

type TxItem

type TxItem struct {
	From  common.Address
	To    common.Address
	Coins common.Coins
	Gas   common.Gas
	Memo  string
}

type Txs

type Txs []TxItem

type Vaults

type Vaults struct {
	Asgard    []common.PubKey `json:"asgard"`
	Yggdrasil []common.PubKey `json:"yggdrasil"`
}

TODO replace to thorNode's code once endpoint is build.

Jump to

Keyboard shortcuts

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