abiutil

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package abiutil provides shared ABI type singletons parsed once at init. Seven packages previously declared their own abi.NewType("uint256", ...) etc. at package scope, silently discarding the error return 30+ times. This package centralises those declarations behind a must() wrapper.

Index

Constants

This section is empty.

Variables

View Source
var (
	Uint256 abi.Type
	Uint64  abi.Type
	Uint16  abi.Type
	Uint8   abi.Type
	Int64   abi.Type
	Bytes32 abi.Type
	Address abi.Type
	String  abi.Type
	Bool    abi.Type
	Bytes   abi.Type

	// Fixed-size array types used by the BLS signature ABI encoding.
	Uint256Arr2 abi.Type
	Uint256Arr4 abi.Type

	// Dynamic array type used by the signer-rotation digest.
	AddressArr abi.Type
)

Scalar types used across the protocol.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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