proxycontracts

package
v0.0.0-...-5068487 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const RegistroABI = "" /* 612-byte string literal not displayed */

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

Variables

View Source
var RegistroBin = "" /* 2350-byte string literal not displayed */

RegistroBin is the compiled bytecode used for deploying new contracts.

View Source
var RegistroFuncSigs = map[string]string{
	"c6c65728": "RegistrarMensagem(string)",
	"160c5063": "mensagem()",
}

RegistroFuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type Registro

type Registro struct {
	RegistroCaller     // Read-only binding to the contract
	RegistroTransactor // Write-only binding to the contract
	RegistroFilterer   // Log filterer for contract events
}

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

func DeployRegistro

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

DeployRegistro deploys a new Ethereum contract, binding an instance of Registro to it.

func NewRegistro

func NewRegistro(address common.Address, backend bind.ContractBackend) (*Registro, error)

NewRegistro creates a new instance of Registro, bound to a specific deployed contract.

type RegistroCaller

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

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

func NewRegistroCaller

func NewRegistroCaller(address common.Address, caller bind.ContractCaller) (*RegistroCaller, error)

NewRegistroCaller creates a new read-only instance of Registro, bound to a specific deployed contract.

func (*RegistroCaller) Mensagem

func (_Registro *RegistroCaller) Mensagem(opts *bind.CallOpts) (string, error)

Mensagem is a free data retrieval call binding the contract method 0x160c5063.

Solidity: function mensagem() constant returns(string)

type RegistroCallerRaw

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

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

func (*RegistroCallerRaw) Call

func (_Registro *RegistroCallerRaw) 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 RegistroCallerSession

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

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

func (*RegistroCallerSession) Mensagem

func (_Registro *RegistroCallerSession) Mensagem() (string, error)

Mensagem is a free data retrieval call binding the contract method 0x160c5063.

Solidity: function mensagem() constant returns(string)

type RegistroFilterer

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

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

func NewRegistroFilterer

func NewRegistroFilterer(address common.Address, filterer bind.ContractFilterer) (*RegistroFilterer, error)

NewRegistroFilterer creates a new log filterer instance of Registro, bound to a specific deployed contract.

func (*RegistroFilterer) FilterNovaMensagem

func (_Registro *RegistroFilterer) FilterNovaMensagem(opts *bind.FilterOpts) (*RegistroNovaMensagemIterator, error)

FilterNovaMensagem is a free log retrieval operation binding the contract event 0x3ea7d0fcf026f7eb4d355a230e84ee80e817b99ed1757333c7a24592915bc7c4.

Solidity: event NovaMensagem(string _novaMsg)

func (*RegistroFilterer) ParseNovaMensagem

func (_Registro *RegistroFilterer) ParseNovaMensagem(log types.Log) (*RegistroNovaMensagem, error)

ParseNovaMensagem is a log parse operation binding the contract event 0x3ea7d0fcf026f7eb4d355a230e84ee80e817b99ed1757333c7a24592915bc7c4.

Solidity: event NovaMensagem(string _novaMsg)

func (*RegistroFilterer) WatchNovaMensagem

func (_Registro *RegistroFilterer) WatchNovaMensagem(opts *bind.WatchOpts, sink chan<- *RegistroNovaMensagem) (event.Subscription, error)

WatchNovaMensagem is a free log subscription operation binding the contract event 0x3ea7d0fcf026f7eb4d355a230e84ee80e817b99ed1757333c7a24592915bc7c4.

Solidity: event NovaMensagem(string _novaMsg)

type RegistroNovaMensagem

type RegistroNovaMensagem struct {
	NovaMsg string
	Raw     types.Log // Blockchain specific contextual infos
}

RegistroNovaMensagem represents a NovaMensagem event raised by the Registro contract.

type RegistroNovaMensagemIterator

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

RegistroNovaMensagemIterator is returned from FilterNovaMensagem and is used to iterate over the raw logs and unpacked data for NovaMensagem events raised by the Registro contract.

func (*RegistroNovaMensagemIterator) Close

func (it *RegistroNovaMensagemIterator) Close() error

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

func (*RegistroNovaMensagemIterator) Error

func (it *RegistroNovaMensagemIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*RegistroNovaMensagemIterator) 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 RegistroRaw

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

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

func (*RegistroRaw) Call

func (_Registro *RegistroRaw) 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 (*RegistroRaw) Transact

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

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

func (*RegistroRaw) Transfer

func (_Registro *RegistroRaw) 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 RegistroSession

type RegistroSession struct {
	Contract     *Registro         // 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
}

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

func (*RegistroSession) Mensagem

func (_Registro *RegistroSession) Mensagem() (string, error)

Mensagem is a free data retrieval call binding the contract method 0x160c5063.

Solidity: function mensagem() constant returns(string)

func (*RegistroSession) RegistrarMensagem

func (_Registro *RegistroSession) RegistrarMensagem(_mensagem string) (*types.Transaction, error)

RegistrarMensagem is a paid mutator transaction binding the contract method 0xc6c65728.

Solidity: function RegistrarMensagem(string _mensagem) returns()

type RegistroTransactor

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

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

func NewRegistroTransactor

func NewRegistroTransactor(address common.Address, transactor bind.ContractTransactor) (*RegistroTransactor, error)

NewRegistroTransactor creates a new write-only instance of Registro, bound to a specific deployed contract.

func (*RegistroTransactor) RegistrarMensagem

func (_Registro *RegistroTransactor) RegistrarMensagem(opts *bind.TransactOpts, _mensagem string) (*types.Transaction, error)

RegistrarMensagem is a paid mutator transaction binding the contract method 0xc6c65728.

Solidity: function RegistrarMensagem(string _mensagem) returns()

type RegistroTransactorRaw

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

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

func (*RegistroTransactorRaw) Transact

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

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

func (*RegistroTransactorRaw) Transfer

func (_Registro *RegistroTransactorRaw) 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 RegistroTransactorSession

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

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

func (*RegistroTransactorSession) RegistrarMensagem

func (_Registro *RegistroTransactorSession) RegistrarMensagem(_mensagem string) (*types.Transaction, error)

RegistrarMensagem is a paid mutator transaction binding the contract method 0xc6c65728.

Solidity: function RegistrarMensagem(string _mensagem) returns()

Jump to

Keyboard shortcuts

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