blacklist

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2026 License: GPL-3.0, LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package blacklist provides a lightweight wrapper to interact with the on-chain blacklist contract.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Oracle

type Oracle struct {
	// contains filtered or unexported fields
}

Oracle wraps the blacklist contract to expose a typed Go API.

func NewOracle

func NewOracle(contractAddr common.Address, backend bind.ContractBackend) (*Oracle, error)

NewOracle binds the blacklist contract at the given address using the provided backend. The backend is expected to implement the read-call path; transactor and filterer can be nil.

func NewOracleCaller

func NewOracleCaller(contractAddr common.Address, caller bind.ContractCaller) (*Oracle, error)

NewOracleCaller binds the blacklist contract using only a read-only caller backend.

func (*Oracle) ContractAddr

func (o *Oracle) ContractAddr() common.Address

ContractAddr returns the contract address.

func (*Oracle) IsBlacklisted

func (o *Oracle) IsBlacklisted(opts *bind.CallOpts, account common.Address) (bool, error)

IsBlacklisted calls the on-chain isBlacklisted(account) view to check status.

Jump to

Keyboard shortcuts

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