dioneDispute

package
v0.0.0-...-041d6b2 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DioneDisputeABI = "" /* 2006-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type DioneDispute

type DioneDispute struct {
	DioneDisputeCaller     // Read-only binding to the contract
	DioneDisputeTransactor // Write-only binding to the contract
	DioneDisputeFilterer   // Log filterer for contract events
}

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

func NewDioneDispute

func NewDioneDispute(address common.Address, backend bind.ContractBackend) (*DioneDispute, error)

NewDioneDispute creates a new instance of DioneDispute, bound to a specific deployed contract.

type DioneDisputeCaller

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

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

func NewDioneDisputeCaller

func NewDioneDisputeCaller(address common.Address, caller bind.ContractCaller) (*DioneDisputeCaller, error)

NewDioneDisputeCaller creates a new read-only instance of DioneDispute, bound to a specific deployed contract.

func (*DioneDisputeCaller) DioneStaking

func (_DioneDispute *DioneDisputeCaller) DioneStaking(opts *bind.CallOpts) (common.Address, error)

DioneStaking is a free data retrieval call binding the contract method 0xe7013ddd.

Solidity: function dioneStaking() view returns(address)

type DioneDisputeCallerRaw

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

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

func (*DioneDisputeCallerRaw) Call

func (_DioneDispute *DioneDisputeCallerRaw) 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 DioneDisputeCallerSession

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

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

func (*DioneDisputeCallerSession) DioneStaking

func (_DioneDispute *DioneDisputeCallerSession) DioneStaking() (common.Address, error)

DioneStaking is a free data retrieval call binding the contract method 0xe7013ddd.

Solidity: function dioneStaking() view returns(address)

type DioneDisputeDisputeFinished

type DioneDisputeDisputeFinished struct {
	Dhash  [32]byte
	Status bool
	Raw    types.Log // Blockchain specific contextual infos
}

DioneDisputeDisputeFinished represents a DisputeFinished event raised by the DioneDispute contract.

type DioneDisputeDisputeFinishedIterator

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

DioneDisputeDisputeFinishedIterator is returned from FilterDisputeFinished and is used to iterate over the raw logs and unpacked data for DisputeFinished events raised by the DioneDispute contract.

func (*DioneDisputeDisputeFinishedIterator) Close

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

func (*DioneDisputeDisputeFinishedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DioneDisputeDisputeFinishedIterator) 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 DioneDisputeFilterer

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

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

func NewDioneDisputeFilterer

func NewDioneDisputeFilterer(address common.Address, filterer bind.ContractFilterer) (*DioneDisputeFilterer, error)

NewDioneDisputeFilterer creates a new log filterer instance of DioneDispute, bound to a specific deployed contract.

func (*DioneDisputeFilterer) FilterDisputeFinished

func (_DioneDispute *DioneDisputeFilterer) FilterDisputeFinished(opts *bind.FilterOpts) (*DioneDisputeDisputeFinishedIterator, error)

FilterDisputeFinished is a free log retrieval operation binding the contract event 0x4d9456641532b60dd6621cc1147a253cb157757d8df5b07c92aab0e82d4c3359.

Solidity: event DisputeFinished(bytes32 dhash, bool status)

func (*DioneDisputeFilterer) FilterNewDispute

func (_DioneDispute *DioneDisputeFilterer) FilterNewDispute(opts *bind.FilterOpts, miner []common.Address, disputeInitiator []common.Address) (*DioneDisputeNewDisputeIterator, error)

FilterNewDispute is a free log retrieval operation binding the contract event 0x2ce1dcf0fdc2fa2126a7df604e89d10856ef74891a365a93e779a5c4aff5370a.

Solidity: event NewDispute(bytes32 dhash, uint256 requestID, address indexed miner, address indexed disputeInitiator)

func (*DioneDisputeFilterer) FilterNewVote

func (_DioneDispute *DioneDisputeFilterer) FilterNewVote(opts *bind.FilterOpts, votedMiner []common.Address) (*DioneDisputeNewVoteIterator, error)

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

Solidity: event NewVote(bytes32 dhash, address indexed votedMiner)

func (*DioneDisputeFilterer) ParseDisputeFinished

func (_DioneDispute *DioneDisputeFilterer) ParseDisputeFinished(log types.Log) (*DioneDisputeDisputeFinished, error)

ParseDisputeFinished is a log parse operation binding the contract event 0x4d9456641532b60dd6621cc1147a253cb157757d8df5b07c92aab0e82d4c3359.

Solidity: event DisputeFinished(bytes32 dhash, bool status)

func (*DioneDisputeFilterer) ParseNewDispute

func (_DioneDispute *DioneDisputeFilterer) ParseNewDispute(log types.Log) (*DioneDisputeNewDispute, error)

ParseNewDispute is a log parse operation binding the contract event 0x2ce1dcf0fdc2fa2126a7df604e89d10856ef74891a365a93e779a5c4aff5370a.

Solidity: event NewDispute(bytes32 dhash, uint256 requestID, address indexed miner, address indexed disputeInitiator)

func (*DioneDisputeFilterer) ParseNewVote

func (_DioneDispute *DioneDisputeFilterer) ParseNewVote(log types.Log) (*DioneDisputeNewVote, error)

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

Solidity: event NewVote(bytes32 dhash, address indexed votedMiner)

func (*DioneDisputeFilterer) WatchDisputeFinished

func (_DioneDispute *DioneDisputeFilterer) WatchDisputeFinished(opts *bind.WatchOpts, sink chan<- *DioneDisputeDisputeFinished) (event.Subscription, error)

WatchDisputeFinished is a free log subscription operation binding the contract event 0x4d9456641532b60dd6621cc1147a253cb157757d8df5b07c92aab0e82d4c3359.

Solidity: event DisputeFinished(bytes32 dhash, bool status)

func (*DioneDisputeFilterer) WatchNewDispute

func (_DioneDispute *DioneDisputeFilterer) WatchNewDispute(opts *bind.WatchOpts, sink chan<- *DioneDisputeNewDispute, miner []common.Address, disputeInitiator []common.Address) (event.Subscription, error)

WatchNewDispute is a free log subscription operation binding the contract event 0x2ce1dcf0fdc2fa2126a7df604e89d10856ef74891a365a93e779a5c4aff5370a.

Solidity: event NewDispute(bytes32 dhash, uint256 requestID, address indexed miner, address indexed disputeInitiator)

func (*DioneDisputeFilterer) WatchNewVote

func (_DioneDispute *DioneDisputeFilterer) WatchNewVote(opts *bind.WatchOpts, sink chan<- *DioneDisputeNewVote, votedMiner []common.Address) (event.Subscription, error)

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

Solidity: event NewVote(bytes32 dhash, address indexed votedMiner)

type DioneDisputeNewDispute

type DioneDisputeNewDispute struct {
	Dhash            [32]byte
	RequestID        *big.Int
	Miner            common.Address
	DisputeInitiator common.Address
	Raw              types.Log // Blockchain specific contextual infos
}

DioneDisputeNewDispute represents a NewDispute event raised by the DioneDispute contract.

type DioneDisputeNewDisputeIterator

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

DioneDisputeNewDisputeIterator is returned from FilterNewDispute and is used to iterate over the raw logs and unpacked data for NewDispute events raised by the DioneDispute contract.

func (*DioneDisputeNewDisputeIterator) Close

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

func (*DioneDisputeNewDisputeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DioneDisputeNewDisputeIterator) 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 DioneDisputeNewVote

type DioneDisputeNewVote struct {
	Dhash      [32]byte
	VotedMiner common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

DioneDisputeNewVote represents a NewVote event raised by the DioneDispute contract.

type DioneDisputeNewVoteIterator

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

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

func (*DioneDisputeNewVoteIterator) Close

func (it *DioneDisputeNewVoteIterator) Close() error

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

func (*DioneDisputeNewVoteIterator) Error

func (it *DioneDisputeNewVoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DioneDisputeNewVoteIterator) Next

func (it *DioneDisputeNewVoteIterator) Next() bool

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 DioneDisputeRaw

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

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

func (*DioneDisputeRaw) Call

func (_DioneDispute *DioneDisputeRaw) 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 (*DioneDisputeRaw) Transact

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

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

func (*DioneDisputeRaw) Transfer

func (_DioneDispute *DioneDisputeRaw) 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 DioneDisputeSession

type DioneDisputeSession struct {
	Contract     *DioneDispute     // 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
}

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

func (*DioneDisputeSession) BeginDispute

func (_DioneDispute *DioneDisputeSession) BeginDispute(miner common.Address, requestID *big.Int) (*types.Transaction, error)

BeginDispute is a paid mutator transaction binding the contract method 0x0b5e2057.

Solidity: function beginDispute(address miner, uint256 requestID) returns()

func (*DioneDisputeSession) DioneStaking

func (_DioneDispute *DioneDisputeSession) DioneStaking() (common.Address, error)

DioneStaking is a free data retrieval call binding the contract method 0xe7013ddd.

Solidity: function dioneStaking() view returns(address)

func (*DioneDisputeSession) FinishDispute

func (_DioneDispute *DioneDisputeSession) FinishDispute(dhash [32]byte) (*types.Transaction, error)

FinishDispute is a paid mutator transaction binding the contract method 0xa597d7c5.

Solidity: function finishDispute(bytes32 dhash) returns()

func (*DioneDisputeSession) Vote

func (_DioneDispute *DioneDisputeSession) Vote(dhash [32]byte, voteStatus bool) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x9f2ce678.

Solidity: function vote(bytes32 dhash, bool voteStatus) returns()

type DioneDisputeTransactor

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

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

func NewDioneDisputeTransactor

func NewDioneDisputeTransactor(address common.Address, transactor bind.ContractTransactor) (*DioneDisputeTransactor, error)

NewDioneDisputeTransactor creates a new write-only instance of DioneDispute, bound to a specific deployed contract.

func (*DioneDisputeTransactor) BeginDispute

func (_DioneDispute *DioneDisputeTransactor) BeginDispute(opts *bind.TransactOpts, miner common.Address, requestID *big.Int) (*types.Transaction, error)

BeginDispute is a paid mutator transaction binding the contract method 0x0b5e2057.

Solidity: function beginDispute(address miner, uint256 requestID) returns()

func (*DioneDisputeTransactor) FinishDispute

func (_DioneDispute *DioneDisputeTransactor) FinishDispute(opts *bind.TransactOpts, dhash [32]byte) (*types.Transaction, error)

FinishDispute is a paid mutator transaction binding the contract method 0xa597d7c5.

Solidity: function finishDispute(bytes32 dhash) returns()

func (*DioneDisputeTransactor) Vote

func (_DioneDispute *DioneDisputeTransactor) Vote(opts *bind.TransactOpts, dhash [32]byte, voteStatus bool) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x9f2ce678.

Solidity: function vote(bytes32 dhash, bool voteStatus) returns()

type DioneDisputeTransactorRaw

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

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

func (*DioneDisputeTransactorRaw) Transact

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

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

func (*DioneDisputeTransactorRaw) Transfer

func (_DioneDispute *DioneDisputeTransactorRaw) 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 DioneDisputeTransactorSession

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

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

func (*DioneDisputeTransactorSession) BeginDispute

func (_DioneDispute *DioneDisputeTransactorSession) BeginDispute(miner common.Address, requestID *big.Int) (*types.Transaction, error)

BeginDispute is a paid mutator transaction binding the contract method 0x0b5e2057.

Solidity: function beginDispute(address miner, uint256 requestID) returns()

func (*DioneDisputeTransactorSession) FinishDispute

func (_DioneDispute *DioneDisputeTransactorSession) FinishDispute(dhash [32]byte) (*types.Transaction, error)

FinishDispute is a paid mutator transaction binding the contract method 0xa597d7c5.

Solidity: function finishDispute(bytes32 dhash) returns()

func (*DioneDisputeTransactorSession) Vote

func (_DioneDispute *DioneDisputeTransactorSession) Vote(dhash [32]byte, voteStatus bool) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x9f2ce678.

Solidity: function vote(bytes32 dhash, bool voteStatus) returns()

Jump to

Keyboard shortcuts

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