contracts

package
v0.0.0-...-7b97167 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const Contrato1ABI = "" /* 693-byte string literal not displayed */

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

View Source
const Contrato2ABI = "" /* 946-byte string literal not displayed */

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

View Source
const Contrato3ABI = "" /* 1115-byte string literal not displayed */

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

Variables

View Source
var Contrato1Bin = "" /* 1234-byte string literal not displayed */

Contrato1Bin is the compiled bytecode used for deploying new contracts.

View Source
var Contrato1FuncSigs = map[string]string{
	"e38f39e7": "GetCustomer()",
	"7b0bfc27": "IsAuthenticated()",
	"ca8474a1": "SetIsAuthentication(bool)",
}

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

View Source
var Contrato2Bin = "" /* 1304-byte string literal not displayed */

Contrato2Bin is the compiled bytecode used for deploying new contracts.

View Source
var Contrato2FuncSigs = map[string]string{
	"b521fae5": "ExpirationTime()",
	"e38f39e7": "GetCustomer()",
	"7b0bfc27": "IsAuthenticated()",
	"f5728984": "SetAuthentication(bool,uint256)",
}

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

View Source
var Contrato3Bin = "" /* 1370-byte string literal not displayed */

Contrato3Bin is the compiled bytecode used for deploying new contracts.

View Source
var Contrato3FuncSigs = map[string]string{
	"b521fae5": "ExpirationTime()",
	"e38f39e7": "GetCustomer()",
	"0ae50a39": "GetOwner()",
	"7b0bfc27": "IsAuthenticated()",
	"f5728984": "SetAuthentication(bool,uint256)",
}

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

Functions

This section is empty.

Types

type Contrato1

type Contrato1 struct {
	Contrato1Caller     // Read-only binding to the contract
	Contrato1Transactor // Write-only binding to the contract
	Contrato1Filterer   // Log filterer for contract events
}

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

func DeployContrato1

func DeployContrato1(auth *bind.TransactOpts, backend bind.ContractBackend, customerAdress common.Address) (common.Address, *types.Transaction, *Contrato1, error)

DeployContrato1 deploys a new Ethereum contract, binding an instance of Contrato1 to it.

func NewContrato1

func NewContrato1(address common.Address, backend bind.ContractBackend) (*Contrato1, error)

NewContrato1 creates a new instance of Contrato1, bound to a specific deployed contract.

type Contrato1Caller

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

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

func NewContrato1Caller

func NewContrato1Caller(address common.Address, caller bind.ContractCaller) (*Contrato1Caller, error)

NewContrato1Caller creates a new read-only instance of Contrato1, bound to a specific deployed contract.

func (*Contrato1Caller) GetCustomer

func (_Contrato1 *Contrato1Caller) GetCustomer(opts *bind.CallOpts) (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato1Caller) IsAuthenticated

func (_Contrato1 *Contrato1Caller) IsAuthenticated(opts *bind.CallOpts) (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

type Contrato1CallerRaw

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

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

func (*Contrato1CallerRaw) Call

func (_Contrato1 *Contrato1CallerRaw) 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 Contrato1CallerSession

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

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

func (*Contrato1CallerSession) GetCustomer

func (_Contrato1 *Contrato1CallerSession) GetCustomer() (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato1CallerSession) IsAuthenticated

func (_Contrato1 *Contrato1CallerSession) IsAuthenticated() (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

type Contrato1Filterer

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

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

func NewContrato1Filterer

func NewContrato1Filterer(address common.Address, filterer bind.ContractFilterer) (*Contrato1Filterer, error)

NewContrato1Filterer creates a new log filterer instance of Contrato1, bound to a specific deployed contract.

type Contrato1Raw

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

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

func (*Contrato1Raw) Call

func (_Contrato1 *Contrato1Raw) 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 (*Contrato1Raw) Transact

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

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

func (*Contrato1Raw) Transfer

func (_Contrato1 *Contrato1Raw) 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 Contrato1Session

type Contrato1Session struct {
	Contract     *Contrato1        // 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
}

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

func (*Contrato1Session) GetCustomer

func (_Contrato1 *Contrato1Session) GetCustomer() (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato1Session) IsAuthenticated

func (_Contrato1 *Contrato1Session) IsAuthenticated() (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

func (*Contrato1Session) SetIsAuthentication

func (_Contrato1 *Contrato1Session) SetIsAuthentication(isAuthenticated bool) (*types.Transaction, error)

SetIsAuthentication is a paid mutator transaction binding the contract method 0xca8474a1.

Solidity: function SetIsAuthentication(bool isAuthenticated) returns()

type Contrato1Transactor

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

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

func NewContrato1Transactor

func NewContrato1Transactor(address common.Address, transactor bind.ContractTransactor) (*Contrato1Transactor, error)

NewContrato1Transactor creates a new write-only instance of Contrato1, bound to a specific deployed contract.

func (*Contrato1Transactor) SetIsAuthentication

func (_Contrato1 *Contrato1Transactor) SetIsAuthentication(opts *bind.TransactOpts, isAuthenticated bool) (*types.Transaction, error)

SetIsAuthentication is a paid mutator transaction binding the contract method 0xca8474a1.

Solidity: function SetIsAuthentication(bool isAuthenticated) returns()

type Contrato1TransactorRaw

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

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

func (*Contrato1TransactorRaw) Transact

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

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

func (*Contrato1TransactorRaw) Transfer

func (_Contrato1 *Contrato1TransactorRaw) 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 Contrato1TransactorSession

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

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

func (*Contrato1TransactorSession) SetIsAuthentication

func (_Contrato1 *Contrato1TransactorSession) SetIsAuthentication(isAuthenticated bool) (*types.Transaction, error)

SetIsAuthentication is a paid mutator transaction binding the contract method 0xca8474a1.

Solidity: function SetIsAuthentication(bool isAuthenticated) returns()

type Contrato2

type Contrato2 struct {
	Contrato2Caller     // Read-only binding to the contract
	Contrato2Transactor // Write-only binding to the contract
	Contrato2Filterer   // Log filterer for contract events
}

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

func DeployContrato2

func DeployContrato2(auth *bind.TransactOpts, backend bind.ContractBackend, customerAdress common.Address) (common.Address, *types.Transaction, *Contrato2, error)

DeployContrato2 deploys a new Ethereum contract, binding an instance of Contrato2 to it.

func NewContrato2

func NewContrato2(address common.Address, backend bind.ContractBackend) (*Contrato2, error)

NewContrato2 creates a new instance of Contrato2, bound to a specific deployed contract.

type Contrato2Caller

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

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

func NewContrato2Caller

func NewContrato2Caller(address common.Address, caller bind.ContractCaller) (*Contrato2Caller, error)

NewContrato2Caller creates a new read-only instance of Contrato2, bound to a specific deployed contract.

func (*Contrato2Caller) ExpirationTime

func (_Contrato2 *Contrato2Caller) ExpirationTime(opts *bind.CallOpts) (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xb521fae5.

Solidity: function ExpirationTime() constant returns(uint256)

func (*Contrato2Caller) GetCustomer

func (_Contrato2 *Contrato2Caller) GetCustomer(opts *bind.CallOpts) (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato2Caller) IsAuthenticated

func (_Contrato2 *Contrato2Caller) IsAuthenticated(opts *bind.CallOpts) (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

type Contrato2CallerRaw

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

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

func (*Contrato2CallerRaw) Call

func (_Contrato2 *Contrato2CallerRaw) 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 Contrato2CallerSession

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

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

func (*Contrato2CallerSession) ExpirationTime

func (_Contrato2 *Contrato2CallerSession) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xb521fae5.

Solidity: function ExpirationTime() constant returns(uint256)

func (*Contrato2CallerSession) GetCustomer

func (_Contrato2 *Contrato2CallerSession) GetCustomer() (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato2CallerSession) IsAuthenticated

func (_Contrato2 *Contrato2CallerSession) IsAuthenticated() (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

type Contrato2Filterer

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

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

func NewContrato2Filterer

func NewContrato2Filterer(address common.Address, filterer bind.ContractFilterer) (*Contrato2Filterer, error)

NewContrato2Filterer creates a new log filterer instance of Contrato2, bound to a specific deployed contract.

type Contrato2Raw

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

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

func (*Contrato2Raw) Call

func (_Contrato2 *Contrato2Raw) 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 (*Contrato2Raw) Transact

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

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

func (*Contrato2Raw) Transfer

func (_Contrato2 *Contrato2Raw) 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 Contrato2Session

type Contrato2Session struct {
	Contract     *Contrato2        // 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
}

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

func (*Contrato2Session) ExpirationTime

func (_Contrato2 *Contrato2Session) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xb521fae5.

Solidity: function ExpirationTime() constant returns(uint256)

func (*Contrato2Session) GetCustomer

func (_Contrato2 *Contrato2Session) GetCustomer() (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato2Session) IsAuthenticated

func (_Contrato2 *Contrato2Session) IsAuthenticated() (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

func (*Contrato2Session) SetAuthentication

func (_Contrato2 *Contrato2Session) SetAuthentication(isAuthenticated bool, expirationTime *big.Int) (*types.Transaction, error)

SetAuthentication is a paid mutator transaction binding the contract method 0xf5728984.

Solidity: function SetAuthentication(bool isAuthenticated, uint256 expirationTime) returns()

type Contrato2Transactor

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

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

func NewContrato2Transactor

func NewContrato2Transactor(address common.Address, transactor bind.ContractTransactor) (*Contrato2Transactor, error)

NewContrato2Transactor creates a new write-only instance of Contrato2, bound to a specific deployed contract.

func (*Contrato2Transactor) SetAuthentication

func (_Contrato2 *Contrato2Transactor) SetAuthentication(opts *bind.TransactOpts, isAuthenticated bool, expirationTime *big.Int) (*types.Transaction, error)

SetAuthentication is a paid mutator transaction binding the contract method 0xf5728984.

Solidity: function SetAuthentication(bool isAuthenticated, uint256 expirationTime) returns()

type Contrato2TransactorRaw

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

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

func (*Contrato2TransactorRaw) Transact

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

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

func (*Contrato2TransactorRaw) Transfer

func (_Contrato2 *Contrato2TransactorRaw) 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 Contrato2TransactorSession

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

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

func (*Contrato2TransactorSession) SetAuthentication

func (_Contrato2 *Contrato2TransactorSession) SetAuthentication(isAuthenticated bool, expirationTime *big.Int) (*types.Transaction, error)

SetAuthentication is a paid mutator transaction binding the contract method 0xf5728984.

Solidity: function SetAuthentication(bool isAuthenticated, uint256 expirationTime) returns()

type Contrato3

type Contrato3 struct {
	Contrato3Caller     // Read-only binding to the contract
	Contrato3Transactor // Write-only binding to the contract
	Contrato3Filterer   // Log filterer for contract events
}

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

func DeployContrato3

func DeployContrato3(auth *bind.TransactOpts, backend bind.ContractBackend, customerAdress common.Address) (common.Address, *types.Transaction, *Contrato3, error)

DeployContrato3 deploys a new Ethereum contract, binding an instance of Contrato3 to it.

func NewContrato3

func NewContrato3(address common.Address, backend bind.ContractBackend) (*Contrato3, error)

NewContrato3 creates a new instance of Contrato3, bound to a specific deployed contract.

type Contrato3Caller

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

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

func NewContrato3Caller

func NewContrato3Caller(address common.Address, caller bind.ContractCaller) (*Contrato3Caller, error)

NewContrato3Caller creates a new read-only instance of Contrato3, bound to a specific deployed contract.

func (*Contrato3Caller) ExpirationTime

func (_Contrato3 *Contrato3Caller) ExpirationTime(opts *bind.CallOpts) (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xb521fae5.

Solidity: function ExpirationTime() constant returns(uint256)

func (*Contrato3Caller) GetCustomer

func (_Contrato3 *Contrato3Caller) GetCustomer(opts *bind.CallOpts) (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato3Caller) GetOwner

func (_Contrato3 *Contrato3Caller) GetOwner(opts *bind.CallOpts) (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x0ae50a39.

Solidity: function GetOwner() constant returns(address)

func (*Contrato3Caller) IsAuthenticated

func (_Contrato3 *Contrato3Caller) IsAuthenticated(opts *bind.CallOpts) (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

type Contrato3CallerRaw

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

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

func (*Contrato3CallerRaw) Call

func (_Contrato3 *Contrato3CallerRaw) 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 Contrato3CallerSession

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

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

func (*Contrato3CallerSession) ExpirationTime

func (_Contrato3 *Contrato3CallerSession) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xb521fae5.

Solidity: function ExpirationTime() constant returns(uint256)

func (*Contrato3CallerSession) GetCustomer

func (_Contrato3 *Contrato3CallerSession) GetCustomer() (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato3CallerSession) GetOwner

func (_Contrato3 *Contrato3CallerSession) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x0ae50a39.

Solidity: function GetOwner() constant returns(address)

func (*Contrato3CallerSession) IsAuthenticated

func (_Contrato3 *Contrato3CallerSession) IsAuthenticated() (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

type Contrato3Filterer

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

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

func NewContrato3Filterer

func NewContrato3Filterer(address common.Address, filterer bind.ContractFilterer) (*Contrato3Filterer, error)

NewContrato3Filterer creates a new log filterer instance of Contrato3, bound to a specific deployed contract.

type Contrato3Raw

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

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

func (*Contrato3Raw) Call

func (_Contrato3 *Contrato3Raw) 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 (*Contrato3Raw) Transact

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

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

func (*Contrato3Raw) Transfer

func (_Contrato3 *Contrato3Raw) 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 Contrato3Session

type Contrato3Session struct {
	Contract     *Contrato3        // 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
}

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

func (*Contrato3Session) ExpirationTime

func (_Contrato3 *Contrato3Session) ExpirationTime() (*big.Int, error)

ExpirationTime is a free data retrieval call binding the contract method 0xb521fae5.

Solidity: function ExpirationTime() constant returns(uint256)

func (*Contrato3Session) GetCustomer

func (_Contrato3 *Contrato3Session) GetCustomer() (common.Address, error)

GetCustomer is a free data retrieval call binding the contract method 0xe38f39e7.

Solidity: function GetCustomer() constant returns(address)

func (*Contrato3Session) GetOwner

func (_Contrato3 *Contrato3Session) GetOwner() (common.Address, error)

GetOwner is a free data retrieval call binding the contract method 0x0ae50a39.

Solidity: function GetOwner() constant returns(address)

func (*Contrato3Session) IsAuthenticated

func (_Contrato3 *Contrato3Session) IsAuthenticated() (bool, error)

IsAuthenticated is a free data retrieval call binding the contract method 0x7b0bfc27.

Solidity: function IsAuthenticated() constant returns(bool)

func (*Contrato3Session) SetAuthentication

func (_Contrato3 *Contrato3Session) SetAuthentication(isAuthenticated bool, expirationTime *big.Int) (*types.Transaction, error)

SetAuthentication is a paid mutator transaction binding the contract method 0xf5728984.

Solidity: function SetAuthentication(bool isAuthenticated, uint256 expirationTime) returns()

type Contrato3Transactor

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

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

func NewContrato3Transactor

func NewContrato3Transactor(address common.Address, transactor bind.ContractTransactor) (*Contrato3Transactor, error)

NewContrato3Transactor creates a new write-only instance of Contrato3, bound to a specific deployed contract.

func (*Contrato3Transactor) SetAuthentication

func (_Contrato3 *Contrato3Transactor) SetAuthentication(opts *bind.TransactOpts, isAuthenticated bool, expirationTime *big.Int) (*types.Transaction, error)

SetAuthentication is a paid mutator transaction binding the contract method 0xf5728984.

Solidity: function SetAuthentication(bool isAuthenticated, uint256 expirationTime) returns()

type Contrato3TransactorRaw

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

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

func (*Contrato3TransactorRaw) Transact

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

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

func (*Contrato3TransactorRaw) Transfer

func (_Contrato3 *Contrato3TransactorRaw) 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 Contrato3TransactorSession

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

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

func (*Contrato3TransactorSession) SetAuthentication

func (_Contrato3 *Contrato3TransactorSession) SetAuthentication(isAuthenticated bool, expirationTime *big.Int) (*types.Transaction, error)

SetAuthentication is a paid mutator transaction binding the contract method 0xf5728984.

Solidity: function SetAuthentication(bool isAuthenticated, uint256 expirationTime) returns()

Jump to

Keyboard shortcuts

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