anmaplib

package
v0.2.3-rc Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AnmapABI = "" /* 867-byte string literal not displayed */

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

View Source
const AnmapBin = `` /* 3572-byte string literal not displayed */

AnmapBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type Anmap

type Anmap struct {
	AnmapCaller     // Read-only binding to the contract
	AnmapTransactor // Write-only binding to the contract
}

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

func DeployAnmap

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

DeployAnmap deploys a new Ethereum contract, binding an instance of Anmap to it.

func NewAnmap

func NewAnmap(address common.Address, backend bind.ContractBackend) (*Anmap, error)

NewAnmap creates a new instance of Anmap, bound to a specific deployed contract.

type AnmapCaller

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

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

func NewAnmapCaller

func NewAnmapCaller(address common.Address, caller bind.ContractCaller) (*AnmapCaller, error)

NewAnmapCaller creates a new read-only instance of Anmap, bound to a specific deployed contract.

func (*AnmapCaller) BindInfo

func (_Anmap *AnmapCaller) BindInfo(opts *bind.CallOptsWithNumber, addr common.Address) (struct {
	From common.Address
	Nids []common.Address
}, error)

BindInfo is a free data retrieval call binding the contract method 0x8d04cd30.

Solidity: function bindInfo(addr address) constant returns(from address, nids address[])

type AnmapCallerRaw

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

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

func (*AnmapCallerRaw) CallWithNumber

func (_Anmap *AnmapCallerRaw) CallWithNumber(opts *bind.CallOptsWithNumber, 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 AnmapCallerSession

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

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

func (*AnmapCallerSession) BindInfo

func (_Anmap *AnmapCallerSession) BindInfo(addr common.Address) (struct {
	From common.Address
	Nids []common.Address
}, error)

BindInfo is a free data retrieval call binding the contract method 0x8d04cd30.

Solidity: function bindInfo(addr address) constant returns(from address, nids address[])

type AnmapRaw

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

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

func (*AnmapRaw) CallWithNumber

func (_Anmap *AnmapRaw) CallWithNumber(opts *bind.CallOptsWithNumber, 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 (*AnmapRaw) Transact

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

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

func (*AnmapRaw) Transfer

func (_Anmap *AnmapRaw) 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 AnmapSession

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

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

func (*AnmapSession) Bind

func (_Anmap *AnmapSession) Bind(nodePub common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xf65f2eec.

Solidity: function bind(nodePub address, v uint8, r bytes32, s bytes32) returns()

func (*AnmapSession) BindInfo

func (_Anmap *AnmapSession) BindInfo(addr common.Address) (struct {
	From common.Address
	Nids []common.Address
}, error)

BindInfo is a free data retrieval call binding the contract method 0x8d04cd30.

Solidity: function bindInfo(addr address) constant returns(from address, nids address[])

func (*AnmapSession) UnbindBySig

func (_Anmap *AnmapSession) UnbindBySig(nodePub common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

UnbindBySig is a paid mutator transaction binding the contract method 0x99ab9fca.

Solidity: function unbindBySig(nodePub address, v uint8, r bytes32, s bytes32) returns()

type AnmapTransactor

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

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

func NewAnmapTransactor

func NewAnmapTransactor(address common.Address, transactor bind.ContractTransactor) (*AnmapTransactor, error)

NewAnmapTransactor creates a new write-only instance of Anmap, bound to a specific deployed contract.

func (*AnmapTransactor) Bind

func (_Anmap *AnmapTransactor) Bind(opts *bind.TransactOpts, nodePub common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xf65f2eec.

Solidity: function bind(nodePub address, v uint8, r bytes32, s bytes32) returns()

func (*AnmapTransactor) UnbindBySig

func (_Anmap *AnmapTransactor) UnbindBySig(opts *bind.TransactOpts, nodePub common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

UnbindBySig is a paid mutator transaction binding the contract method 0x99ab9fca.

Solidity: function unbindBySig(nodePub address, v uint8, r bytes32, s bytes32) returns()

type AnmapTransactorRaw

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

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

func (*AnmapTransactorRaw) Transact

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

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

func (*AnmapTransactorRaw) Transfer

func (_Anmap *AnmapTransactorRaw) 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 AnmapTransactorSession

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

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

func (*AnmapTransactorSession) Bind

func (_Anmap *AnmapTransactorSession) Bind(nodePub common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Bind is a paid mutator transaction binding the contract method 0xf65f2eec.

Solidity: function bind(nodePub address, v uint8, r bytes32, s bytes32) returns()

func (*AnmapTransactorSession) UnbindBySig

func (_Anmap *AnmapTransactorSession) UnbindBySig(nodePub common.Address, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

UnbindBySig is a paid mutator transaction binding the contract method 0x99ab9fca.

Solidity: function unbindBySig(nodePub address, v uint8, r bytes32, s bytes32) returns()

Jump to

Keyboard shortcuts

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