precompiles

package
v1.9.2-lux Latest Latest
Warning

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

Go to latest
Published: Aug 5, 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 = nativeminter.ContractAddress
	WarpPrecompile         = warp.ContractAddress
)

Functions

func ReadAllowList

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

func SetAdmin

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

func SetEnabled

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

func SetManager

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

func SetNone

func SetNone(
	rpcURL string,
	precompile common.Address,
	privateKey string,
	toSet common.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