Documentation
¶
Index ¶
- Variables
- func EvmUtxos(ctx context.Context, client evm.Client, sourceChainID ids.ID, addrs []string, ...) (utxos map[ids.ID]*UTXOContainer, err error)
- func Utxos(ctx context.Context, client UTXOClient, sourceChainID string, ...) (utxos map[ids.ID]*UTXOContainer, err error)
- type Client
- type EvmClient
- type Genesis
- type UTXOClient
- type UTXOContainer
- type UTXOMap
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LocalNetPrivateKeysIDs = []string{ "PrivateKey-ewoqjP7PxY4yr3iLTpLisriqt94hdyDFNgchSxGGztUrTXtNN", "PrivateKey-wHR4zmr9am94KVYnV2aRR4QXt78cuGebt1GpYNwJYEbfAGonj", "PrivateKey-AR874kuHtHpDk7ntffuEQ9cwiQLL2dz1DmJankW1EyXnz5fc7", "PrivateKey-Ntk8vV7zaWzAot2wuDXK4e9ZGFUnU49AYTDew5XUyYaNz2u9d", "PrivateKey-oLM8XbXxXmBHVbdKm2tRYQ1WdMj3b2NggftQpvDUXWSMtdY4i", "PrivateKey-2kjfDc9RVUQJnu3HQDGiVdxvhM9BmR3UTx7Aq8AJ82G2MspATy", "PrivateKey-2Rh5Gtu28ca7PS6rLfN6uou9ext8Y5xhoAJDdWPU7GESBLHtv6", "PrivateKey-2ZcbEPKkXjswsNRBGViGzruReAtTAxW9hsGeMc2GgppnJnDgne", "PrivateKey-22SYvqaRgFtPJfiZmswrCyE57UcssLVnNPDJ48PYAiCjKVAGy7", "PrivateKey-tYRsRPijLo6KD2azMLzkcB2ZUndU3a2dJ8kEqBtqesa85pWhB", } PrimaryLocalNetPrivateKey = LocalNetPrivateKeysIDs[0] LocalNetPrivateKeys = make([]*privatekey.PkInfo, len(LocalNetPrivateKeysIDs)) )
View Source
var ErrIncorrectGenesisChainTxType = errors.New("incorrect genesis chain tx type")
Functions ¶
Types ¶
type EvmClient ¶
func NewEvmClient ¶
type Genesis ¶
type Genesis struct { Bytes []byte AvaxAssetID ids.ID Platform *platformgenesis.Genesis Chains map[ids.ID]*platformtxs.CreateChainTx ChainsByStr map[string]*platformtxs.CreateChainTx AvmCodec codec.Manager PlatformvmCodec codec.Manager AvmParser avmtxs.Parser AVMChain *platformtxs.CreateChainTx EVMChain *platformtxs.CreateChainTx AVMChainTx *platformtxs.Tx EVMChainTX *platformtxs.Tx }
Genesis the genesis components
func NewGenesis ¶
NewGenesis fetch and parse the genesis into components.
type UTXOClient ¶
type UTXOContainer ¶
type UTXOMap ¶
type UTXOMap struct {
M map[ids.ID]*UTXOContainer
}
func NewUtxoMap ¶
func NewUtxoMap() *UTXOMap
Click to show internal directories.
Click to hide internal directories.