extensionContracts

package
v20.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const ContractExtenderABI = "" /* 4694-byte string literal not displayed */

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

Variables

View Source
var AllNodesHaveAcceptedTopicHash = "0xf20540914db019dd7c8d05ed165316a58d1583642772ac46f3d0c29b8644bd36"
View Source
var CanPerformStateShareTopicHash = "0xfd46cafaa71d87561071b8095703a7f081265fad232945049f5cf2d2c39b3d28"
View Source
var ContractExtenderBin = "" /* 9904-byte string literal not displayed */

ContractExtenderBin is the compiled bytecode used for deploying new contracts.

View Source
var ContractExtenderParsedABI, _ = abi.JSON(strings.NewReader(ContractExtenderABI))
View Source
var ExtensionFinishedTopicHash = "0x79c47b570b18a8a814b785800e5fcbf104e067663589cef1bba07756e3c6ede9"
View Source
var NewContractExtensionContractCreatedTopicHash = "0x04576ede6057794ada68966eebc285c98a2726cbc4929ffd1ad9900336728d93"
View Source
var NewVoteTopicHash = "0x225708d30006b0cc86d855ab91047edb5fe9c2e416412f36c18c6e90fe4e461f"
View Source
var StateSharedTopicHash = "0x67a92539f3cbd7c5a9b36c23c0e2beceb27d2e1b3cd8eda02c623689267ae71e"
View Source
var UpdateMembersTopicHash = "0x8adc4573f947f9930560525736f61b116be55049125cb63a36887a40f92f3b44"

Functions

func UnpackStateSharedLog

func UnpackStateSharedLog(logData []byte) (common.Address, string, string, error)

Types

type AccountWithMetadata

type AccountWithMetadata struct {
	State state.DumpAccount `json:"state"`
}

type ContractExtender

type ContractExtender struct {
	ContractExtenderCaller     // Read-only binding to the contract
	ContractExtenderTransactor // Write-only binding to the contract
	ContractExtenderFilterer   // Log filterer for contract events
}

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

func DeployContractExtender

func DeployContractExtender(auth *bind.TransactOpts, backend bind.ContractBackend, contractAddress common.Address, recipientAddress common.Address, recipientPTMKey string) (common.Address, *types.Transaction, *ContractExtender, error)

DeployContractExtender deploys a new Ethereum contract, binding an instance of ContractExtender to it.

func NewContractExtender

func NewContractExtender(address common.Address, backend bind.ContractBackend) (*ContractExtender, error)

NewContractExtender creates a new instance of ContractExtender, bound to a specific deployed contract.

type ContractExtenderAllNodesHaveAccepted

type ContractExtenderAllNodesHaveAccepted struct {
	Outcome bool
	Raw     types.Log // Blockchain specific contextual infos
}

ContractExtenderAllNodesHaveAccepted represents a AllNodesHaveAccepted event raised by the ContractExtender contract.

type ContractExtenderAllNodesHaveAcceptedIterator

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

ContractExtenderAllNodesHaveAcceptedIterator is returned from FilterAllNodesHaveAccepted and is used to iterate over the raw logs and unpacked data for AllNodesHaveAccepted events raised by the ContractExtender contract.

func (*ContractExtenderAllNodesHaveAcceptedIterator) Close

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

func (*ContractExtenderAllNodesHaveAcceptedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractExtenderAllNodesHaveAcceptedIterator) 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 ContractExtenderCaller

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

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

func NewContractExtenderCaller

func NewContractExtenderCaller(address common.Address, caller bind.ContractCaller) (*ContractExtenderCaller, error)

NewContractExtenderCaller creates a new read-only instance of ContractExtender, bound to a specific deployed contract.

func (*ContractExtenderCaller) CheckIfExtensionFinished

func (_ContractExtender *ContractExtenderCaller) CheckIfExtensionFinished(opts *bind.CallOpts) (bool, error)

CheckIfExtensionFinished is a free data retrieval call binding the contract method 0x1962cb9b.

Solidity: function checkIfExtensionFinished() constant returns(bool)

func (*ContractExtenderCaller) CheckIfVoted

func (_ContractExtender *ContractExtenderCaller) CheckIfVoted(opts *bind.CallOpts) (bool, error)

CheckIfVoted is a free data retrieval call binding the contract method 0xcb2805ec.

Solidity: function checkIfVoted() constant returns(bool)

func (*ContractExtenderCaller) ContractToExtend

func (_ContractExtender *ContractExtenderCaller) ContractToExtend(opts *bind.CallOpts) (common.Address, error)

ContractToExtend is a free data retrieval call binding the contract method 0x15e56a6a.

Solidity: function contractToExtend() constant returns(address)

func (*ContractExtenderCaller) Creator

func (_ContractExtender *ContractExtenderCaller) Creator(opts *bind.CallOpts) (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x02d05d3f.

Solidity: function creator() constant returns(address)

func (*ContractExtenderCaller) HaveAllNodesVoted

func (_ContractExtender *ContractExtenderCaller) HaveAllNodesVoted(opts *bind.CallOpts) (bool, error)

HaveAllNodesVoted is a free data retrieval call binding the contract method 0xf57077d8.

Solidity: function haveAllNodesVoted() constant returns(bool)

func (*ContractExtenderCaller) IsFinished

func (_ContractExtender *ContractExtenderCaller) IsFinished(opts *bind.CallOpts) (bool, error)

IsFinished is a free data retrieval call binding the contract method 0x7b352962.

Solidity: function isFinished() constant returns(bool)

func (*ContractExtenderCaller) SharedDataHash

func (_ContractExtender *ContractExtenderCaller) SharedDataHash(opts *bind.CallOpts) (string, error)

SharedDataHash is a free data retrieval call binding the contract method 0x88f520a0.

Solidity: function sharedDataHash() constant returns(string)

func (*ContractExtenderCaller) TargetRecipientPTMKey

func (_ContractExtender *ContractExtenderCaller) TargetRecipientPTMKey(opts *bind.CallOpts) (string, error)

TargetRecipientPTMKey is a free data retrieval call binding the contract method 0xe5af0f30.

Solidity: function targetRecipientPTMKey() constant returns(string)

func (*ContractExtenderCaller) TotalNumberOfVoters

func (_ContractExtender *ContractExtenderCaller) TotalNumberOfVoters(opts *bind.CallOpts) (*big.Int, error)

TotalNumberOfVoters is a free data retrieval call binding the contract method 0x38527727.

Solidity: function totalNumberOfVoters() constant returns(uint256)

func (*ContractExtenderCaller) VoteOutcome

func (_ContractExtender *ContractExtenderCaller) VoteOutcome(opts *bind.CallOpts) (bool, error)

VoteOutcome is a free data retrieval call binding the contract method 0xb5da45bb.

Solidity: function voteOutcome() constant returns(bool)

func (*ContractExtenderCaller) Votes

func (_ContractExtender *ContractExtenderCaller) Votes(opts *bind.CallOpts, arg0 common.Address) (bool, error)

Votes is a free data retrieval call binding the contract method 0xd8bff5a5.

Solidity: function votes(address ) constant returns(bool)

func (*ContractExtenderCaller) WalletAddressesToVote

func (_ContractExtender *ContractExtenderCaller) WalletAddressesToVote(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

WalletAddressesToVote is a free data retrieval call binding the contract method 0x79d41b8f.

Solidity: function walletAddressesToVote(uint256 ) constant returns(address)

type ContractExtenderCallerRaw

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

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

func (*ContractExtenderCallerRaw) Call

func (_ContractExtender *ContractExtenderCallerRaw) 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 ContractExtenderCallerSession

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

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

func (*ContractExtenderCallerSession) CheckIfExtensionFinished

func (_ContractExtender *ContractExtenderCallerSession) CheckIfExtensionFinished() (bool, error)

CheckIfExtensionFinished is a free data retrieval call binding the contract method 0x1962cb9b.

Solidity: function checkIfExtensionFinished() constant returns(bool)

func (*ContractExtenderCallerSession) CheckIfVoted

func (_ContractExtender *ContractExtenderCallerSession) CheckIfVoted() (bool, error)

CheckIfVoted is a free data retrieval call binding the contract method 0xcb2805ec.

Solidity: function checkIfVoted() constant returns(bool)

func (*ContractExtenderCallerSession) ContractToExtend

func (_ContractExtender *ContractExtenderCallerSession) ContractToExtend() (common.Address, error)

ContractToExtend is a free data retrieval call binding the contract method 0x15e56a6a.

Solidity: function contractToExtend() constant returns(address)

func (*ContractExtenderCallerSession) Creator

func (_ContractExtender *ContractExtenderCallerSession) Creator() (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x02d05d3f.

Solidity: function creator() constant returns(address)

func (*ContractExtenderCallerSession) HaveAllNodesVoted

func (_ContractExtender *ContractExtenderCallerSession) HaveAllNodesVoted() (bool, error)

HaveAllNodesVoted is a free data retrieval call binding the contract method 0xf57077d8.

Solidity: function haveAllNodesVoted() constant returns(bool)

func (*ContractExtenderCallerSession) IsFinished

func (_ContractExtender *ContractExtenderCallerSession) IsFinished() (bool, error)

IsFinished is a free data retrieval call binding the contract method 0x7b352962.

Solidity: function isFinished() constant returns(bool)

func (*ContractExtenderCallerSession) SharedDataHash

func (_ContractExtender *ContractExtenderCallerSession) SharedDataHash() (string, error)

SharedDataHash is a free data retrieval call binding the contract method 0x88f520a0.

Solidity: function sharedDataHash() constant returns(string)

func (*ContractExtenderCallerSession) TargetRecipientPTMKey

func (_ContractExtender *ContractExtenderCallerSession) TargetRecipientPTMKey() (string, error)

TargetRecipientPTMKey is a free data retrieval call binding the contract method 0xe5af0f30.

Solidity: function targetRecipientPTMKey() constant returns(string)

func (*ContractExtenderCallerSession) TotalNumberOfVoters

func (_ContractExtender *ContractExtenderCallerSession) TotalNumberOfVoters() (*big.Int, error)

TotalNumberOfVoters is a free data retrieval call binding the contract method 0x38527727.

Solidity: function totalNumberOfVoters() constant returns(uint256)

func (*ContractExtenderCallerSession) VoteOutcome

func (_ContractExtender *ContractExtenderCallerSession) VoteOutcome() (bool, error)

VoteOutcome is a free data retrieval call binding the contract method 0xb5da45bb.

Solidity: function voteOutcome() constant returns(bool)

func (*ContractExtenderCallerSession) Votes

func (_ContractExtender *ContractExtenderCallerSession) Votes(arg0 common.Address) (bool, error)

Votes is a free data retrieval call binding the contract method 0xd8bff5a5.

Solidity: function votes(address ) constant returns(bool)

func (*ContractExtenderCallerSession) WalletAddressesToVote

func (_ContractExtender *ContractExtenderCallerSession) WalletAddressesToVote(arg0 *big.Int) (common.Address, error)

WalletAddressesToVote is a free data retrieval call binding the contract method 0x79d41b8f.

Solidity: function walletAddressesToVote(uint256 ) constant returns(address)

type ContractExtenderCanPerformStateShare

type ContractExtenderCanPerformStateShare struct {
	Raw types.Log // Blockchain specific contextual infos
}

ContractExtenderCanPerformStateShare represents a CanPerformStateShare event raised by the ContractExtender contract.

type ContractExtenderCanPerformStateShareIterator

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

ContractExtenderCanPerformStateShareIterator is returned from FilterCanPerformStateShare and is used to iterate over the raw logs and unpacked data for CanPerformStateShare events raised by the ContractExtender contract.

func (*ContractExtenderCanPerformStateShareIterator) Close

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

func (*ContractExtenderCanPerformStateShareIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractExtenderCanPerformStateShareIterator) 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 ContractExtenderExtensionFinished

type ContractExtenderExtensionFinished struct {
	Raw types.Log // Blockchain specific contextual infos
}

ContractExtenderExtensionFinished represents a ExtensionFinished event raised by the ContractExtender contract.

type ContractExtenderExtensionFinishedIterator

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

ContractExtenderExtensionFinishedIterator is returned from FilterExtensionFinished and is used to iterate over the raw logs and unpacked data for ExtensionFinished events raised by the ContractExtender contract.

func (*ContractExtenderExtensionFinishedIterator) Close

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

func (*ContractExtenderExtensionFinishedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractExtenderExtensionFinishedIterator) 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 ContractExtenderFilterer

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

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

func NewContractExtenderFilterer

func NewContractExtenderFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractExtenderFilterer, error)

NewContractExtenderFilterer creates a new log filterer instance of ContractExtender, bound to a specific deployed contract.

func (*ContractExtenderFilterer) FilterAllNodesHaveAccepted

func (_ContractExtender *ContractExtenderFilterer) FilterAllNodesHaveAccepted(opts *bind.FilterOpts) (*ContractExtenderAllNodesHaveAcceptedIterator, error)

FilterAllNodesHaveAccepted is a free log retrieval operation binding the contract event 0xf20540914db019dd7c8d05ed165316a58d1583642772ac46f3d0c29b8644bd36.

Solidity: event AllNodesHaveAccepted(bool outcome)

func (*ContractExtenderFilterer) FilterCanPerformStateShare

func (_ContractExtender *ContractExtenderFilterer) FilterCanPerformStateShare(opts *bind.FilterOpts) (*ContractExtenderCanPerformStateShareIterator, error)

FilterCanPerformStateShare is a free log retrieval operation binding the contract event 0xfd46cafaa71d87561071b8095703a7f081265fad232945049f5cf2d2c39b3d28.

Solidity: event CanPerformStateShare()

func (*ContractExtenderFilterer) FilterExtensionFinished

func (_ContractExtender *ContractExtenderFilterer) FilterExtensionFinished(opts *bind.FilterOpts) (*ContractExtenderExtensionFinishedIterator, error)

FilterExtensionFinished is a free log retrieval operation binding the contract event 0x79c47b570b18a8a814b785800e5fcbf104e067663589cef1bba07756e3c6ede9.

Solidity: event ExtensionFinished()

func (*ContractExtenderFilterer) FilterNewContractExtensionContractCreated

func (_ContractExtender *ContractExtenderFilterer) FilterNewContractExtensionContractCreated(opts *bind.FilterOpts) (*ContractExtenderNewContractExtensionContractCreatedIterator, error)

FilterNewContractExtensionContractCreated is a free log retrieval operation binding the contract event 0x04576ede6057794ada68966eebc285c98a2726cbc4929ffd1ad9900336728d93.

Solidity: event NewContractExtensionContractCreated(address toExtend, string recipientPTMKey, address recipientAddress)

func (*ContractExtenderFilterer) FilterNewVote

func (_ContractExtender *ContractExtenderFilterer) FilterNewVote(opts *bind.FilterOpts) (*ContractExtenderNewVoteIterator, error)

FilterNewVote is a free log retrieval operation binding the contract event 0x225708d30006b0cc86d855ab91047edb5fe9c2e416412f36c18c6e90fe4e461f.

Solidity: event NewVote(bool vote, address voter)

func (*ContractExtenderFilterer) FilterStateShared

func (_ContractExtender *ContractExtenderFilterer) FilterStateShared(opts *bind.FilterOpts) (*ContractExtenderStateSharedIterator, error)

FilterStateShared is a free log retrieval operation binding the contract event 0x67a92539f3cbd7c5a9b36c23c0e2beceb27d2e1b3cd8eda02c623689267ae71e.

Solidity: event StateShared(address toExtend, string tesserahash, string uuid)

func (*ContractExtenderFilterer) FilterUpdateMembers

func (_ContractExtender *ContractExtenderFilterer) FilterUpdateMembers(opts *bind.FilterOpts) (*ContractExtenderUpdateMembersIterator, error)

FilterUpdateMembers is a free log retrieval operation binding the contract event 0x8adc4573f947f9930560525736f61b116be55049125cb63a36887a40f92f3b44.

Solidity: event UpdateMembers(address toExtend, string uuid)

func (*ContractExtenderFilterer) ParseAllNodesHaveAccepted

func (_ContractExtender *ContractExtenderFilterer) ParseAllNodesHaveAccepted(log types.Log) (*ContractExtenderAllNodesHaveAccepted, error)

ParseAllNodesHaveAccepted is a log parse operation binding the contract event 0xf20540914db019dd7c8d05ed165316a58d1583642772ac46f3d0c29b8644bd36.

Solidity: event AllNodesHaveAccepted(bool outcome)

func (*ContractExtenderFilterer) ParseCanPerformStateShare

func (_ContractExtender *ContractExtenderFilterer) ParseCanPerformStateShare(log types.Log) (*ContractExtenderCanPerformStateShare, error)

ParseCanPerformStateShare is a log parse operation binding the contract event 0xfd46cafaa71d87561071b8095703a7f081265fad232945049f5cf2d2c39b3d28.

Solidity: event CanPerformStateShare()

func (*ContractExtenderFilterer) ParseExtensionFinished

func (_ContractExtender *ContractExtenderFilterer) ParseExtensionFinished(log types.Log) (*ContractExtenderExtensionFinished, error)

ParseExtensionFinished is a log parse operation binding the contract event 0x79c47b570b18a8a814b785800e5fcbf104e067663589cef1bba07756e3c6ede9.

Solidity: event ExtensionFinished()

func (*ContractExtenderFilterer) ParseNewContractExtensionContractCreated

func (_ContractExtender *ContractExtenderFilterer) ParseNewContractExtensionContractCreated(log types.Log) (*ContractExtenderNewContractExtensionContractCreated, error)

ParseNewContractExtensionContractCreated is a log parse operation binding the contract event 0x04576ede6057794ada68966eebc285c98a2726cbc4929ffd1ad9900336728d93.

Solidity: event NewContractExtensionContractCreated(address toExtend, string recipientPTMKey, address recipientAddress)

func (*ContractExtenderFilterer) ParseNewVote

func (_ContractExtender *ContractExtenderFilterer) ParseNewVote(log types.Log) (*ContractExtenderNewVote, error)

ParseNewVote is a log parse operation binding the contract event 0x225708d30006b0cc86d855ab91047edb5fe9c2e416412f36c18c6e90fe4e461f.

Solidity: event NewVote(bool vote, address voter)

func (*ContractExtenderFilterer) ParseStateShared

func (_ContractExtender *ContractExtenderFilterer) ParseStateShared(log types.Log) (*ContractExtenderStateShared, error)

ParseStateShared is a log parse operation binding the contract event 0x67a92539f3cbd7c5a9b36c23c0e2beceb27d2e1b3cd8eda02c623689267ae71e.

Solidity: event StateShared(address toExtend, string tesserahash, string uuid)

func (*ContractExtenderFilterer) ParseUpdateMembers

func (_ContractExtender *ContractExtenderFilterer) ParseUpdateMembers(log types.Log) (*ContractExtenderUpdateMembers, error)

ParseUpdateMembers is a log parse operation binding the contract event 0x8adc4573f947f9930560525736f61b116be55049125cb63a36887a40f92f3b44.

Solidity: event UpdateMembers(address toExtend, string uuid)

func (*ContractExtenderFilterer) WatchAllNodesHaveAccepted

func (_ContractExtender *ContractExtenderFilterer) WatchAllNodesHaveAccepted(opts *bind.WatchOpts, sink chan<- *ContractExtenderAllNodesHaveAccepted) (event.Subscription, error)

WatchAllNodesHaveAccepted is a free log subscription operation binding the contract event 0xf20540914db019dd7c8d05ed165316a58d1583642772ac46f3d0c29b8644bd36.

Solidity: event AllNodesHaveAccepted(bool outcome)

func (*ContractExtenderFilterer) WatchCanPerformStateShare

func (_ContractExtender *ContractExtenderFilterer) WatchCanPerformStateShare(opts *bind.WatchOpts, sink chan<- *ContractExtenderCanPerformStateShare) (event.Subscription, error)

WatchCanPerformStateShare is a free log subscription operation binding the contract event 0xfd46cafaa71d87561071b8095703a7f081265fad232945049f5cf2d2c39b3d28.

Solidity: event CanPerformStateShare()

func (*ContractExtenderFilterer) WatchExtensionFinished

func (_ContractExtender *ContractExtenderFilterer) WatchExtensionFinished(opts *bind.WatchOpts, sink chan<- *ContractExtenderExtensionFinished) (event.Subscription, error)

WatchExtensionFinished is a free log subscription operation binding the contract event 0x79c47b570b18a8a814b785800e5fcbf104e067663589cef1bba07756e3c6ede9.

Solidity: event ExtensionFinished()

func (*ContractExtenderFilterer) WatchNewContractExtensionContractCreated

func (_ContractExtender *ContractExtenderFilterer) WatchNewContractExtensionContractCreated(opts *bind.WatchOpts, sink chan<- *ContractExtenderNewContractExtensionContractCreated) (event.Subscription, error)

WatchNewContractExtensionContractCreated is a free log subscription operation binding the contract event 0x04576ede6057794ada68966eebc285c98a2726cbc4929ffd1ad9900336728d93.

Solidity: event NewContractExtensionContractCreated(address toExtend, string recipientPTMKey, address recipientAddress)

func (*ContractExtenderFilterer) WatchNewVote

func (_ContractExtender *ContractExtenderFilterer) WatchNewVote(opts *bind.WatchOpts, sink chan<- *ContractExtenderNewVote) (event.Subscription, error)

WatchNewVote is a free log subscription operation binding the contract event 0x225708d30006b0cc86d855ab91047edb5fe9c2e416412f36c18c6e90fe4e461f.

Solidity: event NewVote(bool vote, address voter)

func (*ContractExtenderFilterer) WatchStateShared

func (_ContractExtender *ContractExtenderFilterer) WatchStateShared(opts *bind.WatchOpts, sink chan<- *ContractExtenderStateShared) (event.Subscription, error)

WatchStateShared is a free log subscription operation binding the contract event 0x67a92539f3cbd7c5a9b36c23c0e2beceb27d2e1b3cd8eda02c623689267ae71e.

Solidity: event StateShared(address toExtend, string tesserahash, string uuid)

func (*ContractExtenderFilterer) WatchUpdateMembers

func (_ContractExtender *ContractExtenderFilterer) WatchUpdateMembers(opts *bind.WatchOpts, sink chan<- *ContractExtenderUpdateMembers) (event.Subscription, error)

WatchUpdateMembers is a free log subscription operation binding the contract event 0x8adc4573f947f9930560525736f61b116be55049125cb63a36887a40f92f3b44.

Solidity: event UpdateMembers(address toExtend, string uuid)

type ContractExtenderNewContractExtensionContractCreated

type ContractExtenderNewContractExtensionContractCreated struct {
	ToExtend         common.Address
	RecipientPTMKey  string
	RecipientAddress common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

ContractExtenderNewContractExtensionContractCreated represents a NewContractExtensionContractCreated event raised by the ContractExtender contract.

type ContractExtenderNewContractExtensionContractCreatedIterator

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

ContractExtenderNewContractExtensionContractCreatedIterator is returned from FilterNewContractExtensionContractCreated and is used to iterate over the raw logs and unpacked data for NewContractExtensionContractCreated events raised by the ContractExtender contract.

func (*ContractExtenderNewContractExtensionContractCreatedIterator) Close

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

func (*ContractExtenderNewContractExtensionContractCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractExtenderNewContractExtensionContractCreatedIterator) 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 ContractExtenderNewVote

type ContractExtenderNewVote struct {
	Vote  bool
	Voter common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

ContractExtenderNewVote represents a NewVote event raised by the ContractExtender contract.

type ContractExtenderNewVoteIterator

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

ContractExtenderNewVoteIterator is returned from FilterNewVote and is used to iterate over the raw logs and unpacked data for NewVote events raised by the ContractExtender contract.

func (*ContractExtenderNewVoteIterator) Close

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

func (*ContractExtenderNewVoteIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractExtenderNewVoteIterator) 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 ContractExtenderRaw

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

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

func (*ContractExtenderRaw) Call

func (_ContractExtender *ContractExtenderRaw) 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 (*ContractExtenderRaw) Transact

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

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

func (*ContractExtenderRaw) Transfer

func (_ContractExtender *ContractExtenderRaw) 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 ContractExtenderSession

type ContractExtenderSession struct {
	Contract     *ContractExtender // 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
}

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

func (*ContractExtenderSession) CheckIfExtensionFinished

func (_ContractExtender *ContractExtenderSession) CheckIfExtensionFinished() (bool, error)

CheckIfExtensionFinished is a free data retrieval call binding the contract method 0x1962cb9b.

Solidity: function checkIfExtensionFinished() constant returns(bool)

func (*ContractExtenderSession) CheckIfVoted

func (_ContractExtender *ContractExtenderSession) CheckIfVoted() (bool, error)

CheckIfVoted is a free data retrieval call binding the contract method 0xcb2805ec.

Solidity: function checkIfVoted() constant returns(bool)

func (*ContractExtenderSession) ContractToExtend

func (_ContractExtender *ContractExtenderSession) ContractToExtend() (common.Address, error)

ContractToExtend is a free data retrieval call binding the contract method 0x15e56a6a.

Solidity: function contractToExtend() constant returns(address)

func (*ContractExtenderSession) Creator

func (_ContractExtender *ContractExtenderSession) Creator() (common.Address, error)

Creator is a free data retrieval call binding the contract method 0x02d05d3f.

Solidity: function creator() constant returns(address)

func (*ContractExtenderSession) DoVote

func (_ContractExtender *ContractExtenderSession) DoVote(vote bool, nextuuid string) (*types.Transaction, error)

DoVote is a paid mutator transaction binding the contract method 0xde5828cb.

Solidity: function doVote(bool vote, string nextuuid) returns()

func (*ContractExtenderSession) Finish

func (_ContractExtender *ContractExtenderSession) Finish() (*types.Transaction, error)

Finish is a paid mutator transaction binding the contract method 0xd56b2889.

Solidity: function finish() returns()

func (*ContractExtenderSession) HaveAllNodesVoted

func (_ContractExtender *ContractExtenderSession) HaveAllNodesVoted() (bool, error)

HaveAllNodesVoted is a free data retrieval call binding the contract method 0xf57077d8.

Solidity: function haveAllNodesVoted() constant returns(bool)

func (*ContractExtenderSession) IsFinished

func (_ContractExtender *ContractExtenderSession) IsFinished() (bool, error)

IsFinished is a free data retrieval call binding the contract method 0x7b352962.

Solidity: function isFinished() constant returns(bool)

func (*ContractExtenderSession) SetSharedStateHash

func (_ContractExtender *ContractExtenderSession) SetSharedStateHash(hash string) (*types.Transaction, error)

SetSharedStateHash is a paid mutator transaction binding the contract method 0x893971ba.

Solidity: function setSharedStateHash(string hash) returns()

func (*ContractExtenderSession) SetUuid

func (_ContractExtender *ContractExtenderSession) SetUuid(nextuuid string) (*types.Transaction, error)

SetUuid is a paid mutator transaction binding the contract method 0x821e93da.

Solidity: function setUuid(string nextuuid) returns()

func (*ContractExtenderSession) SharedDataHash

func (_ContractExtender *ContractExtenderSession) SharedDataHash() (string, error)

SharedDataHash is a free data retrieval call binding the contract method 0x88f520a0.

Solidity: function sharedDataHash() constant returns(string)

func (*ContractExtenderSession) TargetRecipientPTMKey

func (_ContractExtender *ContractExtenderSession) TargetRecipientPTMKey() (string, error)

TargetRecipientPTMKey is a free data retrieval call binding the contract method 0xe5af0f30.

Solidity: function targetRecipientPTMKey() constant returns(string)

func (*ContractExtenderSession) TotalNumberOfVoters

func (_ContractExtender *ContractExtenderSession) TotalNumberOfVoters() (*big.Int, error)

TotalNumberOfVoters is a free data retrieval call binding the contract method 0x38527727.

Solidity: function totalNumberOfVoters() constant returns(uint256)

func (*ContractExtenderSession) UpdatePartyMembers

func (_ContractExtender *ContractExtenderSession) UpdatePartyMembers() (*types.Transaction, error)

UpdatePartyMembers is a paid mutator transaction binding the contract method 0xac8b9205.

Solidity: function updatePartyMembers() returns()

func (*ContractExtenderSession) VoteOutcome

func (_ContractExtender *ContractExtenderSession) VoteOutcome() (bool, error)

VoteOutcome is a free data retrieval call binding the contract method 0xb5da45bb.

Solidity: function voteOutcome() constant returns(bool)

func (*ContractExtenderSession) Votes

func (_ContractExtender *ContractExtenderSession) Votes(arg0 common.Address) (bool, error)

Votes is a free data retrieval call binding the contract method 0xd8bff5a5.

Solidity: function votes(address ) constant returns(bool)

func (*ContractExtenderSession) WalletAddressesToVote

func (_ContractExtender *ContractExtenderSession) WalletAddressesToVote(arg0 *big.Int) (common.Address, error)

WalletAddressesToVote is a free data retrieval call binding the contract method 0x79d41b8f.

Solidity: function walletAddressesToVote(uint256 ) constant returns(address)

type ContractExtenderStateShared

type ContractExtenderStateShared struct {
	ToExtend    common.Address
	Tesserahash string
	Uuid        string
	Raw         types.Log // Blockchain specific contextual infos
}

ContractExtenderStateShared represents a StateShared event raised by the ContractExtender contract.

type ContractExtenderStateSharedIterator

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

ContractExtenderStateSharedIterator is returned from FilterStateShared and is used to iterate over the raw logs and unpacked data for StateShared events raised by the ContractExtender contract.

func (*ContractExtenderStateSharedIterator) Close

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

func (*ContractExtenderStateSharedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractExtenderStateSharedIterator) 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 ContractExtenderTransactor

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

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

func NewContractExtenderTransactor

func NewContractExtenderTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractExtenderTransactor, error)

NewContractExtenderTransactor creates a new write-only instance of ContractExtender, bound to a specific deployed contract.

func (*ContractExtenderTransactor) DoVote

func (_ContractExtender *ContractExtenderTransactor) DoVote(opts *bind.TransactOpts, vote bool, nextuuid string) (*types.Transaction, error)

DoVote is a paid mutator transaction binding the contract method 0xde5828cb.

Solidity: function doVote(bool vote, string nextuuid) returns()

func (*ContractExtenderTransactor) Finish

func (_ContractExtender *ContractExtenderTransactor) Finish(opts *bind.TransactOpts) (*types.Transaction, error)

Finish is a paid mutator transaction binding the contract method 0xd56b2889.

Solidity: function finish() returns()

func (*ContractExtenderTransactor) SetSharedStateHash

func (_ContractExtender *ContractExtenderTransactor) SetSharedStateHash(opts *bind.TransactOpts, hash string) (*types.Transaction, error)

SetSharedStateHash is a paid mutator transaction binding the contract method 0x893971ba.

Solidity: function setSharedStateHash(string hash) returns()

func (*ContractExtenderTransactor) SetUuid

func (_ContractExtender *ContractExtenderTransactor) SetUuid(opts *bind.TransactOpts, nextuuid string) (*types.Transaction, error)

SetUuid is a paid mutator transaction binding the contract method 0x821e93da.

Solidity: function setUuid(string nextuuid) returns()

func (*ContractExtenderTransactor) UpdatePartyMembers

func (_ContractExtender *ContractExtenderTransactor) UpdatePartyMembers(opts *bind.TransactOpts) (*types.Transaction, error)

UpdatePartyMembers is a paid mutator transaction binding the contract method 0xac8b9205.

Solidity: function updatePartyMembers() returns()

type ContractExtenderTransactorRaw

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

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

func (*ContractExtenderTransactorRaw) Transact

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

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

func (*ContractExtenderTransactorRaw) Transfer

func (_ContractExtender *ContractExtenderTransactorRaw) 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 ContractExtenderTransactorSession

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

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

func (*ContractExtenderTransactorSession) DoVote

func (_ContractExtender *ContractExtenderTransactorSession) DoVote(vote bool, nextuuid string) (*types.Transaction, error)

DoVote is a paid mutator transaction binding the contract method 0xde5828cb.

Solidity: function doVote(bool vote, string nextuuid) returns()

func (*ContractExtenderTransactorSession) Finish

func (_ContractExtender *ContractExtenderTransactorSession) Finish() (*types.Transaction, error)

Finish is a paid mutator transaction binding the contract method 0xd56b2889.

Solidity: function finish() returns()

func (*ContractExtenderTransactorSession) SetSharedStateHash

func (_ContractExtender *ContractExtenderTransactorSession) SetSharedStateHash(hash string) (*types.Transaction, error)

SetSharedStateHash is a paid mutator transaction binding the contract method 0x893971ba.

Solidity: function setSharedStateHash(string hash) returns()

func (*ContractExtenderTransactorSession) SetUuid

func (_ContractExtender *ContractExtenderTransactorSession) SetUuid(nextuuid string) (*types.Transaction, error)

SetUuid is a paid mutator transaction binding the contract method 0x821e93da.

Solidity: function setUuid(string nextuuid) returns()

func (*ContractExtenderTransactorSession) UpdatePartyMembers

func (_ContractExtender *ContractExtenderTransactorSession) UpdatePartyMembers() (*types.Transaction, error)

UpdatePartyMembers is a paid mutator transaction binding the contract method 0xac8b9205.

Solidity: function updatePartyMembers() returns()

type ContractExtenderUpdateMembers

type ContractExtenderUpdateMembers struct {
	ToExtend common.Address
	Uuid     string
	Raw      types.Log // Blockchain specific contextual infos
}

ContractExtenderUpdateMembers represents a UpdateMembers event raised by the ContractExtender contract.

type ContractExtenderUpdateMembersIterator

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

ContractExtenderUpdateMembersIterator is returned from FilterUpdateMembers and is used to iterate over the raw logs and unpacked data for UpdateMembers events raised by the ContractExtender contract.

func (*ContractExtenderUpdateMembersIterator) Close

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

func (*ContractExtenderUpdateMembersIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractExtenderUpdateMembersIterator) 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.

Jump to

Keyboard shortcuts

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