Documentation ¶
Index ¶
- Variables
- func GetSyncStatus(indexClient *client.IndexClient, db *store.DB, containerType string, ...) (*model.SyncStatus, error)
- func PrepareInput(input *avax.TransferableInput, idx int, txID ids.ID) (model.Output, error)
- func PrepareInputs(inputs []*avax.TransferableInput, txID ids.ID) ([]model.Output, error)
- func PrepareOutput(output verify.State, asset string, idx int, txID ids.ID) (*model.Output, error)
- func PrepareOutputs(outputs []*avax.TransferableOutput, txID ids.ID) ([]model.Output, error)
- func PrepareRewardsOwner(txID ids.ID, outputsCount int, owner verify.Verifiable) (*model.RewardsOwner, error)
- func PrepareTxCredentials(verifiables []verify.Verifiable, unsignedBytes []byte) ([]model.Credential, error)
- func ProcessContainerRange(status *model.SyncStatus, indexClient *client.IndexClient, db *store.DB, ...) error
- func SetAp5ActivationTime(t time.Time)
- func SetAvaxAssetID(id string)
- func SetBech32HRP(network uint32)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HRP string Asset string )
View Source
var (
Ap5ActivationTime uint64
)
Functions ¶
func GetSyncStatus ¶
func GetSyncStatus(indexClient *client.IndexClient, db *store.DB, containerType string, chain string) (*model.SyncStatus, error)
func PrepareInput ¶
func PrepareInputs ¶
func PrepareOutput ¶
func PrepareOutputs ¶
func PrepareRewardsOwner ¶
func PrepareRewardsOwner(txID ids.ID, outputsCount int, owner verify.Verifiable) (*model.RewardsOwner, error)
func PrepareTxCredentials ¶
func PrepareTxCredentials(verifiables []verify.Verifiable, unsignedBytes []byte) ([]model.Credential, error)
func ProcessContainerRange ¶
func ProcessContainerRange( status *model.SyncStatus, indexClient *client.IndexClient, db *store.DB, containerType string, batchSize int, handlerFn func(*model.RawMessage) error, ) error
func SetAp5ActivationTime ¶ added in v0.9.0
func SetAvaxAssetID ¶
func SetAvaxAssetID(id string)
func SetBech32HRP ¶
func SetBech32HRP(network uint32)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.