precompiles

package
v1.16.16 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Copyright (C) 2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Copyright (C) 2025, Lux Industries Inc. All rights reserved. See the file LICENSE for licensing terms.

Index

Constants

This section is empty.

Variables

View Source
var (
	NativeMinterPrecompile = crypto.BytesToAddress(nativeminter.ContractAddress.Bytes())
	WarpPrecompile         = crypto.BytesToAddress(warp.ContractAddress.Bytes())
)

Functions

func ReadAllowList

func ReadAllowList(
	rpcURL string,
	precompile crypto.Address,
	toQuery crypto.Address,
) (*big.Int, error)

func SetAdmin

func SetAdmin(
	rpcURL string,
	precompile crypto.Address,
	privateKey string,
	toSet crypto.Address,
) error

func SetEnabled

func SetEnabled(
	rpcURL string,
	precompile crypto.Address,
	privateKey string,
	toSet crypto.Address,
) error

func SetManager

func SetManager(
	rpcURL string,
	precompile crypto.Address,
	privateKey string,
	toSet crypto.Address,
) error

func SetNone

func SetNone(
	rpcURL string,
	precompile crypto.Address,
	privateKey string,
	toSet crypto.Address,
) error

func WarpPrecompileGetBlockchainID

func WarpPrecompileGetBlockchainID(
	rpcURL string,
) (ids.ID, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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