redlist

package
v0.0.0-...-64bdc9f Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RedlistABI = "" /* 1126-byte string literal not displayed */

RedlistABI is the input ABI used to generate the binding from.

View Source
const RedlistBin = `` /* 2770-byte string literal not displayed */

RedlistBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Redlist

type Redlist struct {
	RedlistCaller     // Read-only binding to the contract
	RedlistTransactor // Write-only binding to the contract
	RedlistFilterer   // Log filterer for contract events
}

Redlist is an auto generated Go binding around an Ethereum contract.

func DeployRedlist

func DeployRedlist(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Redlist, error)

DeployRedlist deploys a new Ethereum contract, binding an instance of Redlist to it.

func NewRedlist

func NewRedlist(address common.Address, backend bind.ContractBackend) (*Redlist, error)

NewRedlist creates a new instance of Redlist, bound to a specific deployed contract.

type RedlistAddressAddedToRedlist

type RedlistAddressAddedToRedlist struct {
	Address common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

RedlistAddressAddedToRedlist represents a AddressAddedToRedlist event raised by the Redlist contract.

type RedlistAddressAddedToRedlistIterator

type RedlistAddressAddedToRedlistIterator struct {
	Event *RedlistAddressAddedToRedlist // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RedlistAddressAddedToRedlistIterator is returned from FilterAddressAddedToRedlist and is used to iterate over the raw logs and unpacked data for AddressAddedToRedlist events raised by the Redlist contract.

func (*RedlistAddressAddedToRedlistIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RedlistAddressAddedToRedlistIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RedlistAddressAddedToRedlistIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RedlistCaller

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

RedlistCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRedlistCaller

func NewRedlistCaller(address common.Address, caller bind.ContractCaller) (*RedlistCaller, error)

NewRedlistCaller creates a new read-only instance of Redlist, bound to a specific deployed contract.

func (*RedlistCaller) GetAllAddresses

func (_Redlist *RedlistCaller) GetAllAddresses(opts *bind.CallOpts) ([]common.Address, error)

GetAllAddresses is a free data retrieval call binding the contract method 0x9516a104.

Solidity: function getAllAddresses() constant returns(address[])

func (*RedlistCaller) GetLastUpdate

func (_Redlist *RedlistCaller) GetLastUpdate(opts *bind.CallOpts) (*big.Int, error)

GetLastUpdate is a free data retrieval call binding the contract method 0x4c89867f.

Solidity: function getLastUpdate() constant returns(uint256)

func (*RedlistCaller) IsContainsAddress

func (_Redlist *RedlistCaller) IsContainsAddress(opts *bind.CallOpts, _address common.Address) (bool, error)

IsContainsAddress is a free data retrieval call binding the contract method 0x5b687a61.

Solidity: function isContainsAddress(_address address) constant returns(bool)

type RedlistCallerRaw

type RedlistCallerRaw struct {
	Contract *RedlistCaller // Generic read-only contract binding to access the raw methods on
}

RedlistCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RedlistCallerRaw) Call

func (_Redlist *RedlistCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type RedlistCallerSession

type RedlistCallerSession struct {
	Contract *RedlistCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts  // Call options to use throughout this session
}

RedlistCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RedlistCallerSession) GetAllAddresses

func (_Redlist *RedlistCallerSession) GetAllAddresses() ([]common.Address, error)

GetAllAddresses is a free data retrieval call binding the contract method 0x9516a104.

Solidity: function getAllAddresses() constant returns(address[])

func (*RedlistCallerSession) GetLastUpdate

func (_Redlist *RedlistCallerSession) GetLastUpdate() (*big.Int, error)

GetLastUpdate is a free data retrieval call binding the contract method 0x4c89867f.

Solidity: function getLastUpdate() constant returns(uint256)

func (*RedlistCallerSession) IsContainsAddress

func (_Redlist *RedlistCallerSession) IsContainsAddress(_address common.Address) (bool, error)

IsContainsAddress is a free data retrieval call binding the contract method 0x5b687a61.

Solidity: function isContainsAddress(_address address) constant returns(bool)

type RedlistFilterer

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

RedlistFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRedlistFilterer

func NewRedlistFilterer(address common.Address, filterer bind.ContractFilterer) (*RedlistFilterer, error)

NewRedlistFilterer creates a new log filterer instance of Redlist, bound to a specific deployed contract.

func (*RedlistFilterer) FilterAddressAddedToRedlist

func (_Redlist *RedlistFilterer) FilterAddressAddedToRedlist(opts *bind.FilterOpts) (*RedlistAddressAddedToRedlistIterator, error)

FilterAddressAddedToRedlist is a free log retrieval operation binding the contract event 0x2f203a3c141c116c8d0bf5c15a359f66807e949137f7a91ef8fca84331389f75.

Solidity: event AddressAddedToRedlist(_address address)

func (*RedlistFilterer) WatchAddressAddedToRedlist

func (_Redlist *RedlistFilterer) WatchAddressAddedToRedlist(opts *bind.WatchOpts, sink chan<- *RedlistAddressAddedToRedlist) (event.Subscription, error)

WatchAddressAddedToRedlist is a free log subscription operation binding the contract event 0x2f203a3c141c116c8d0bf5c15a359f66807e949137f7a91ef8fca84331389f75.

Solidity: event AddressAddedToRedlist(_address address)

type RedlistRaw

type RedlistRaw struct {
	Contract *Redlist // Generic contract binding to access the raw methods on
}

RedlistRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RedlistRaw) Call

func (_Redlist *RedlistRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*RedlistRaw) Transact

func (_Redlist *RedlistRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RedlistRaw) Transfer

func (_Redlist *RedlistRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RedlistSession

type RedlistSession struct {
	Contract     *Redlist          // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

RedlistSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RedlistSession) AddNewAddress

func (_Redlist *RedlistSession) AddNewAddress(_frodulentAccount common.Address) (*types.Transaction, error)

AddNewAddress is a paid mutator transaction binding the contract method 0xa2f35f44.

Solidity: function addNewAddress(_frodulentAccount address) returns(bool)

func (*RedlistSession) GetAllAddresses

func (_Redlist *RedlistSession) GetAllAddresses() ([]common.Address, error)

GetAllAddresses is a free data retrieval call binding the contract method 0x9516a104.

Solidity: function getAllAddresses() constant returns(address[])

func (*RedlistSession) GetLastUpdate

func (_Redlist *RedlistSession) GetLastUpdate() (*big.Int, error)

GetLastUpdate is a free data retrieval call binding the contract method 0x4c89867f.

Solidity: function getLastUpdate() constant returns(uint256)

func (*RedlistSession) IsContainsAddress

func (_Redlist *RedlistSession) IsContainsAddress(_address common.Address) (bool, error)

IsContainsAddress is a free data retrieval call binding the contract method 0x5b687a61.

Solidity: function isContainsAddress(_address address) constant returns(bool)

func (*RedlistSession) Kill

func (_Redlist *RedlistSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

type RedlistTransactor

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

RedlistTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRedlistTransactor

func NewRedlistTransactor(address common.Address, transactor bind.ContractTransactor) (*RedlistTransactor, error)

NewRedlistTransactor creates a new write-only instance of Redlist, bound to a specific deployed contract.

func (*RedlistTransactor) AddNewAddress

func (_Redlist *RedlistTransactor) AddNewAddress(opts *bind.TransactOpts, _frodulentAccount common.Address) (*types.Transaction, error)

AddNewAddress is a paid mutator transaction binding the contract method 0xa2f35f44.

Solidity: function addNewAddress(_frodulentAccount address) returns(bool)

func (*RedlistTransactor) Kill

func (_Redlist *RedlistTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

type RedlistTransactorRaw

type RedlistTransactorRaw struct {
	Contract *RedlistTransactor // Generic write-only contract binding to access the raw methods on
}

RedlistTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RedlistTransactorRaw) Transact

func (_Redlist *RedlistTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RedlistTransactorRaw) Transfer

func (_Redlist *RedlistTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RedlistTransactorSession

type RedlistTransactorSession struct {
	Contract     *RedlistTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

RedlistTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RedlistTransactorSession) AddNewAddress

func (_Redlist *RedlistTransactorSession) AddNewAddress(_frodulentAccount common.Address) (*types.Transaction, error)

AddNewAddress is a paid mutator transaction binding the contract method 0xa2f35f44.

Solidity: function addNewAddress(_frodulentAccount address) returns(bool)

func (*RedlistTransactorSession) Kill

func (_Redlist *RedlistTransactorSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

Jump to

Keyboard shortcuts

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