contracts

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Uint8Type, _   = abi.NewType("uint8", "", nil)
	Uint16Type, _  = abi.NewType("uint16", "", nil)
	Uint32Type, _  = abi.NewType("uint32", "", nil)
	Uint64Type, _  = abi.NewType("uint64", "", nil)
	AddressType, _ = abi.NewType("address", "", nil)
	BoolType, _    = abi.NewType("bool", "", nil)
)
View Source
var (
	//go:embed compiled/CrocPolicy.json
	CrocPolicyJSON []byte // nolint: golint

	// CrocPolicyContract is the compiled contract
	CrocPolicyContract evmtypes.CompiledContract
)
View Source
var (
	//go:embed compiled/LiquidInfrastructureNFT.json
	LiquidInfrastructureNFTJSON []byte // nolint: golint

	// LiquidInfrastructureNFTContract is the compiled erc20 contract
	LiquidInfrastructureNFTContract evmtypes.CompiledContract
)

Functions

func EncodeArguments

func EncodeArguments(args []abi.Argument, values []interface{}) ([]byte, error)

func EncodeTypes

func EncodeTypes(names []string, values []interface{}) ([]byte, error)

func GetType

func GetType(name string) (abi.Type, error)

func GetTypeArguments

func GetTypeArguments(names []string) ([]abi.Argument, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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