contracts

package
v0.0.0-...-f4d91ac Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var QuickSortABI = QuickSortMetaData.ABI

QuickSortABI is the input ABI used to generate the binding from. Deprecated: Use QuickSortMetaData.ABI instead.

View Source
var QuickSortBin = QuickSortMetaData.Bin

QuickSortBin is the compiled bytecode used for deploying new contracts. Deprecated: Use QuickSortMetaData.Bin instead.

View Source
var QuickSortFuncSigs = QuickSortMetaData.Sigs

Deprecated: Use QuickSortMetaData.Sigs instead. QuickSortFuncSigs maps the 4-byte function signature to its string representation.

View Source
var QuickSortMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"PrintArray\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"PrintArrayInfo\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"PrintConfirmation\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"name\":\"PrintConfirmationDebug\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"PrintHash\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PrintSetElementQty\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"size\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"}],\"name\":\"debugSort\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"printAllData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"size\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"id\",\"type\":\"string\"}],\"name\":\"sort\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"61e4b057": "debugSort(uint256,string)",
		"d969f9f4": "printAllData()",
		"89b8e04c": "sort(uint256,string)",
	},
	Bin: "0x608060405234801561001057600080fd5b506108e2806100206000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806361e4b0571461004657806389b8e04c1461005b578063d969f9f41461006e575b600080fd5b6100596100543660046105c1565b610076565b005b6100596100693660046105c1565b6101fe565b610059610316565b60008367ffffffffffffffff8111156100915761009161063d565b6040519080825280602002602001820160405280156100ba578160200160208202803683370190505b50905060005b8151811015610102576100d38186610669565b8282815181106100e5576100e5610680565b6020908102919091010152806100fa81610696565b9150506100c0565b5060008160405160200161011691906106ec565b6040516020818303038152906040528051906020012090507f3428030cccc788be8ed6d0f32eb4f0fa5fa9958367fe596551a986ddd76dc90385828460405161016193929190610706565b60405180910390a16101828260006001855161017d9190610669565b6103c7565b60008260405160200161019591906106ec565b6040516020818303038152906040528051906020012090506101b78187610548565b7ff4788eb76bf7c55c259749df1e9b259a9cfec4982d8b48f926db15d10f51d64c85858884876040516101ee959493929190610757565b60405180910390a1505050505050565b60008367ffffffffffffffff8111156102195761021961063d565b604051908082528060200260200182016040528015610242578160200160208202803683370190505b50905060005b815181101561028a5761025b8186610669565b82828151811061026d5761026d610680565b60209081029190910101528061028281610696565b915050610248565b5061029f8160006001845161017d9190610669565b6000816040516020016102b291906106ec565b6040516020818303038152906040528051906020012090506102d48186610548565b7ff509cf6649381810c1e71003d0b015833d7434b9e56cf8807d83a949d88ced5d84848360405161030793929190610795565b60405180910390a15050505050565b60005b6002548110156103c457600080600201828154811061033a5761033a610680565b60009182526020808320919091015480835282825260408084205460025460018552948290205482519182529381018390529081018690526060810193909352608083019190915291507fc2a813325c8b15ae781043d7e241ff901b9a7f7403122547f1e33ee61a8c21139060a00160405180910390a150806103bc81610696565b915050610319565b50565b8181808214156103d8575050505050565b60008560026103e787876107b9565b6103f191906107f8565b6103fb9087610834565b8151811061040b5761040b610680565b602002602001015190505b81831361051a575b8086848151811061043157610431610680565b60200260200101511015610451578261044981610875565b93505061041e565b85828151811061046357610463610680565b6020026020010151811015610484578161047c8161088e565b925050610451565b8183136105155785828151811061049d5761049d610680565b60200260200101518684815181106104b7576104b7610680565b60200260200101518785815181106104d1576104d1610680565b602002602001018885815181106104ea576104ea610680565b6020908102919091010191909152528261050381610875565b93505081806105119061088e565b9250505b610416565b8185121561052d5761052d8686846103c7565b83831215610540576105408684866103c7565b505050505050565b60008281526001602052604090205461059e5760008281526020819052604081208290556002805460018101825591527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace018290555b60008281526001602052604081208054916105b883610696565b91905055505050565b6000806000604084860312156105d657600080fd5b83359250602084013567ffffffffffffffff808211156105f557600080fd5b818601915086601f83011261060957600080fd5b81358181111561061857600080fd5b87602082850101111561062a57600080fd5b6020830194508093505050509250925092565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008282101561067b5761067b610653565b500390565b634e487b7160e01b600052603260045260246000fd5b60006000198214156106aa576106aa610653565b5060010190565b600081518084526020808501945080840160005b838110156106e1578151875295820195908201906001016106c5565b509495945050505050565b6020815260006106ff60208301846106b1565b9392505050565b83815282602082015260606040820152600061072560608301846106b1565b95945050505050565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b60808152600061076b60808301878961072e565b856020840152846040840152828103606084015261078981856106b1565b98975050505050505050565b6040815260006107a960408301858761072e565b9050826020830152949350505050565b60008083128015600160ff1b8501841216156107d7576107d7610653565b6001600160ff1b03840183138116156107f2576107f2610653565b50500390565b60008261081557634e487b7160e01b600052601260045260246000fd5b600160ff1b82146000198414161561082f5761082f610653565b500590565b600080821280156001600160ff1b038490038513161561085657610856610653565b600160ff1b839003841281161561086f5761086f610653565b50500190565b60006001600160ff1b038214156106aa576106aa610653565b6000600160ff1b8214156108a4576108a4610653565b50600019019056fea2646970667358221220fd47615cfd8df5daaa808f79a48c411fda3c19dd39a6e0d3c8c84059253b3b6664736f6c63430008090033",
}

QuickSortMetaData contains all meta data concerning the QuickSort contract.

Functions

This section is empty.

Types

type QuickSort

type QuickSort struct {
	QuickSortCaller     // Read-only binding to the contract
	QuickSortTransactor // Write-only binding to the contract
	QuickSortFilterer   // Log filterer for contract events
}

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

func DeployQuickSort

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

DeployQuickSort deploys a new Ethereum contract, binding an instance of QuickSort to it.

func NewQuickSort

func NewQuickSort(address common.Address, backend bind.ContractBackend) (*QuickSort, error)

NewQuickSort creates a new instance of QuickSort, bound to a specific deployed contract.

type QuickSortCaller

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

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

func NewQuickSortCaller

func NewQuickSortCaller(address common.Address, caller bind.ContractCaller) (*QuickSortCaller, error)

NewQuickSortCaller creates a new read-only instance of QuickSort, bound to a specific deployed contract.

type QuickSortCallerRaw

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

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

func (*QuickSortCallerRaw) Call

func (_QuickSort *QuickSortCallerRaw) 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 QuickSortCallerSession

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

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

type QuickSortFilterer

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

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

func NewQuickSortFilterer

func NewQuickSortFilterer(address common.Address, filterer bind.ContractFilterer) (*QuickSortFilterer, error)

NewQuickSortFilterer creates a new log filterer instance of QuickSort, bound to a specific deployed contract.

func (*QuickSortFilterer) FilterPrintArray

func (_QuickSort *QuickSortFilterer) FilterPrintArray(opts *bind.FilterOpts) (*QuickSortPrintArrayIterator, error)

FilterPrintArray is a free log retrieval operation binding the contract event 0x043daf33342eb58a6acb2c97073a2b497d0fc1af85381229e380d60333ec0424.

Solidity: event PrintArray(uint256 arg0, uint256[] arg1)

func (*QuickSortFilterer) FilterPrintArrayInfo

func (_QuickSort *QuickSortFilterer) FilterPrintArrayInfo(opts *bind.FilterOpts) (*QuickSortPrintArrayInfoIterator, error)

FilterPrintArrayInfo is a free log retrieval operation binding the contract event 0x3428030cccc788be8ed6d0f32eb4f0fa5fa9958367fe596551a986ddd76dc903.

Solidity: event PrintArrayInfo(uint256 arg0, bytes32 arg1, uint256[] arg2)

func (*QuickSortFilterer) FilterPrintConfirmation

func (_QuickSort *QuickSortFilterer) FilterPrintConfirmation(opts *bind.FilterOpts) (*QuickSortPrintConfirmationIterator, error)

FilterPrintConfirmation is a free log retrieval operation binding the contract event 0xf509cf6649381810c1e71003d0b015833d7434b9e56cf8807d83a949d88ced5d.

Solidity: event PrintConfirmation(string arg0, bytes32 arg1)

func (*QuickSortFilterer) FilterPrintConfirmationDebug

func (_QuickSort *QuickSortFilterer) FilterPrintConfirmationDebug(opts *bind.FilterOpts) (*QuickSortPrintConfirmationDebugIterator, error)

FilterPrintConfirmationDebug is a free log retrieval operation binding the contract event 0xf4788eb76bf7c55c259749df1e9b259a9cfec4982d8b48f926db15d10f51d64c.

Solidity: event PrintConfirmationDebug(string arg0, uint256 arg1, bytes32 arg2, uint256[] arg3)

func (*QuickSortFilterer) FilterPrintHash

func (_QuickSort *QuickSortFilterer) FilterPrintHash(opts *bind.FilterOpts) (*QuickSortPrintHashIterator, error)

FilterPrintHash is a free log retrieval operation binding the contract event 0xff5f0f4ae79415c7d9c291f9207f5a799f2fcfc9cb2ba600fe443ad1674ae286.

Solidity: event PrintHash(bytes32 arg0)

func (*QuickSortFilterer) FilterPrintSetElementQty

func (_QuickSort *QuickSortFilterer) FilterPrintSetElementQty(opts *bind.FilterOpts) (*QuickSortPrintSetElementQtyIterator, error)

FilterPrintSetElementQty is a free log retrieval operation binding the contract event 0xc2a813325c8b15ae781043d7e241ff901b9a7f7403122547f1e33ee61a8c2113.

Solidity: event PrintSetElementQty(uint256 arg0, bytes32 arg1, uint256 arg2, uint256 arg3, uint256 arg4)

func (*QuickSortFilterer) ParsePrintArray

func (_QuickSort *QuickSortFilterer) ParsePrintArray(log types.Log) (*QuickSortPrintArray, error)

ParsePrintArray is a log parse operation binding the contract event 0x043daf33342eb58a6acb2c97073a2b497d0fc1af85381229e380d60333ec0424.

Solidity: event PrintArray(uint256 arg0, uint256[] arg1)

func (*QuickSortFilterer) ParsePrintArrayInfo

func (_QuickSort *QuickSortFilterer) ParsePrintArrayInfo(log types.Log) (*QuickSortPrintArrayInfo, error)

ParsePrintArrayInfo is a log parse operation binding the contract event 0x3428030cccc788be8ed6d0f32eb4f0fa5fa9958367fe596551a986ddd76dc903.

Solidity: event PrintArrayInfo(uint256 arg0, bytes32 arg1, uint256[] arg2)

func (*QuickSortFilterer) ParsePrintConfirmation

func (_QuickSort *QuickSortFilterer) ParsePrintConfirmation(log types.Log) (*QuickSortPrintConfirmation, error)

ParsePrintConfirmation is a log parse operation binding the contract event 0xf509cf6649381810c1e71003d0b015833d7434b9e56cf8807d83a949d88ced5d.

Solidity: event PrintConfirmation(string arg0, bytes32 arg1)

func (*QuickSortFilterer) ParsePrintConfirmationDebug

func (_QuickSort *QuickSortFilterer) ParsePrintConfirmationDebug(log types.Log) (*QuickSortPrintConfirmationDebug, error)

ParsePrintConfirmationDebug is a log parse operation binding the contract event 0xf4788eb76bf7c55c259749df1e9b259a9cfec4982d8b48f926db15d10f51d64c.

Solidity: event PrintConfirmationDebug(string arg0, uint256 arg1, bytes32 arg2, uint256[] arg3)

func (*QuickSortFilterer) ParsePrintHash

func (_QuickSort *QuickSortFilterer) ParsePrintHash(log types.Log) (*QuickSortPrintHash, error)

ParsePrintHash is a log parse operation binding the contract event 0xff5f0f4ae79415c7d9c291f9207f5a799f2fcfc9cb2ba600fe443ad1674ae286.

Solidity: event PrintHash(bytes32 arg0)

func (*QuickSortFilterer) ParsePrintSetElementQty

func (_QuickSort *QuickSortFilterer) ParsePrintSetElementQty(log types.Log) (*QuickSortPrintSetElementQty, error)

ParsePrintSetElementQty is a log parse operation binding the contract event 0xc2a813325c8b15ae781043d7e241ff901b9a7f7403122547f1e33ee61a8c2113.

Solidity: event PrintSetElementQty(uint256 arg0, bytes32 arg1, uint256 arg2, uint256 arg3, uint256 arg4)

func (*QuickSortFilterer) WatchPrintArray

func (_QuickSort *QuickSortFilterer) WatchPrintArray(opts *bind.WatchOpts, sink chan<- *QuickSortPrintArray) (event.Subscription, error)

WatchPrintArray is a free log subscription operation binding the contract event 0x043daf33342eb58a6acb2c97073a2b497d0fc1af85381229e380d60333ec0424.

Solidity: event PrintArray(uint256 arg0, uint256[] arg1)

func (*QuickSortFilterer) WatchPrintArrayInfo

func (_QuickSort *QuickSortFilterer) WatchPrintArrayInfo(opts *bind.WatchOpts, sink chan<- *QuickSortPrintArrayInfo) (event.Subscription, error)

WatchPrintArrayInfo is a free log subscription operation binding the contract event 0x3428030cccc788be8ed6d0f32eb4f0fa5fa9958367fe596551a986ddd76dc903.

Solidity: event PrintArrayInfo(uint256 arg0, bytes32 arg1, uint256[] arg2)

func (*QuickSortFilterer) WatchPrintConfirmation

func (_QuickSort *QuickSortFilterer) WatchPrintConfirmation(opts *bind.WatchOpts, sink chan<- *QuickSortPrintConfirmation) (event.Subscription, error)

WatchPrintConfirmation is a free log subscription operation binding the contract event 0xf509cf6649381810c1e71003d0b015833d7434b9e56cf8807d83a949d88ced5d.

Solidity: event PrintConfirmation(string arg0, bytes32 arg1)

func (*QuickSortFilterer) WatchPrintConfirmationDebug

func (_QuickSort *QuickSortFilterer) WatchPrintConfirmationDebug(opts *bind.WatchOpts, sink chan<- *QuickSortPrintConfirmationDebug) (event.Subscription, error)

WatchPrintConfirmationDebug is a free log subscription operation binding the contract event 0xf4788eb76bf7c55c259749df1e9b259a9cfec4982d8b48f926db15d10f51d64c.

Solidity: event PrintConfirmationDebug(string arg0, uint256 arg1, bytes32 arg2, uint256[] arg3)

func (*QuickSortFilterer) WatchPrintHash

func (_QuickSort *QuickSortFilterer) WatchPrintHash(opts *bind.WatchOpts, sink chan<- *QuickSortPrintHash) (event.Subscription, error)

WatchPrintHash is a free log subscription operation binding the contract event 0xff5f0f4ae79415c7d9c291f9207f5a799f2fcfc9cb2ba600fe443ad1674ae286.

Solidity: event PrintHash(bytes32 arg0)

func (*QuickSortFilterer) WatchPrintSetElementQty

func (_QuickSort *QuickSortFilterer) WatchPrintSetElementQty(opts *bind.WatchOpts, sink chan<- *QuickSortPrintSetElementQty) (event.Subscription, error)

WatchPrintSetElementQty is a free log subscription operation binding the contract event 0xc2a813325c8b15ae781043d7e241ff901b9a7f7403122547f1e33ee61a8c2113.

Solidity: event PrintSetElementQty(uint256 arg0, bytes32 arg1, uint256 arg2, uint256 arg3, uint256 arg4)

type QuickSortPrintArray

type QuickSortPrintArray struct {
	Arg0 *big.Int
	Arg1 []*big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

QuickSortPrintArray represents a PrintArray event raised by the QuickSort contract.

type QuickSortPrintArrayInfo

type QuickSortPrintArrayInfo struct {
	Arg0 *big.Int
	Arg1 [32]byte
	Arg2 []*big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

QuickSortPrintArrayInfo represents a PrintArrayInfo event raised by the QuickSort contract.

type QuickSortPrintArrayInfoIterator

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

QuickSortPrintArrayInfoIterator is returned from FilterPrintArrayInfo and is used to iterate over the raw logs and unpacked data for PrintArrayInfo events raised by the QuickSort contract.

func (*QuickSortPrintArrayInfoIterator) Close

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

func (*QuickSortPrintArrayInfoIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuickSortPrintArrayInfoIterator) 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 QuickSortPrintArrayIterator

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

QuickSortPrintArrayIterator is returned from FilterPrintArray and is used to iterate over the raw logs and unpacked data for PrintArray events raised by the QuickSort contract.

func (*QuickSortPrintArrayIterator) Close

func (it *QuickSortPrintArrayIterator) Close() error

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

func (*QuickSortPrintArrayIterator) Error

func (it *QuickSortPrintArrayIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuickSortPrintArrayIterator) Next

func (it *QuickSortPrintArrayIterator) 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 QuickSortPrintConfirmation

type QuickSortPrintConfirmation struct {
	Arg0 string
	Arg1 [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

QuickSortPrintConfirmation represents a PrintConfirmation event raised by the QuickSort contract.

type QuickSortPrintConfirmationDebug

type QuickSortPrintConfirmationDebug struct {
	Arg0 string
	Arg1 *big.Int
	Arg2 [32]byte
	Arg3 []*big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

QuickSortPrintConfirmationDebug represents a PrintConfirmationDebug event raised by the QuickSort contract.

type QuickSortPrintConfirmationDebugIterator

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

QuickSortPrintConfirmationDebugIterator is returned from FilterPrintConfirmationDebug and is used to iterate over the raw logs and unpacked data for PrintConfirmationDebug events raised by the QuickSort contract.

func (*QuickSortPrintConfirmationDebugIterator) Close

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

func (*QuickSortPrintConfirmationDebugIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuickSortPrintConfirmationDebugIterator) 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 QuickSortPrintConfirmationIterator

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

QuickSortPrintConfirmationIterator is returned from FilterPrintConfirmation and is used to iterate over the raw logs and unpacked data for PrintConfirmation events raised by the QuickSort contract.

func (*QuickSortPrintConfirmationIterator) Close

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

func (*QuickSortPrintConfirmationIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuickSortPrintConfirmationIterator) 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 QuickSortPrintHash

type QuickSortPrintHash struct {
	Arg0 [32]byte
	Raw  types.Log // Blockchain specific contextual infos
}

QuickSortPrintHash represents a PrintHash event raised by the QuickSort contract.

type QuickSortPrintHashIterator

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

QuickSortPrintHashIterator is returned from FilterPrintHash and is used to iterate over the raw logs and unpacked data for PrintHash events raised by the QuickSort contract.

func (*QuickSortPrintHashIterator) Close

func (it *QuickSortPrintHashIterator) Close() error

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

func (*QuickSortPrintHashIterator) Error

func (it *QuickSortPrintHashIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuickSortPrintHashIterator) Next

func (it *QuickSortPrintHashIterator) 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 QuickSortPrintSetElementQty

type QuickSortPrintSetElementQty struct {
	Arg0 *big.Int
	Arg1 [32]byte
	Arg2 *big.Int
	Arg3 *big.Int
	Arg4 *big.Int
	Raw  types.Log // Blockchain specific contextual infos
}

QuickSortPrintSetElementQty represents a PrintSetElementQty event raised by the QuickSort contract.

type QuickSortPrintSetElementQtyIterator

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

QuickSortPrintSetElementQtyIterator is returned from FilterPrintSetElementQty and is used to iterate over the raw logs and unpacked data for PrintSetElementQty events raised by the QuickSort contract.

func (*QuickSortPrintSetElementQtyIterator) Close

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

func (*QuickSortPrintSetElementQtyIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*QuickSortPrintSetElementQtyIterator) 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 QuickSortRaw

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

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

func (*QuickSortRaw) Call

func (_QuickSort *QuickSortRaw) 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 (*QuickSortRaw) Transact

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

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

func (*QuickSortRaw) Transfer

func (_QuickSort *QuickSortRaw) 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 QuickSortSession

type QuickSortSession struct {
	Contract     *QuickSort        // 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
}

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

func (*QuickSortSession) DebugSort

func (_QuickSort *QuickSortSession) DebugSort(size *big.Int, id string) (*types.Transaction, error)

DebugSort is a paid mutator transaction binding the contract method 0x61e4b057.

Solidity: function debugSort(uint256 size, string id) returns()

func (*QuickSortSession) PrintAllData

func (_QuickSort *QuickSortSession) PrintAllData() (*types.Transaction, error)

PrintAllData is a paid mutator transaction binding the contract method 0xd969f9f4.

Solidity: function printAllData() returns()

func (*QuickSortSession) Sort

func (_QuickSort *QuickSortSession) Sort(size *big.Int, id string) (*types.Transaction, error)

Sort is a paid mutator transaction binding the contract method 0x89b8e04c.

Solidity: function sort(uint256 size, string id) returns()

type QuickSortTransactor

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

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

func NewQuickSortTransactor

func NewQuickSortTransactor(address common.Address, transactor bind.ContractTransactor) (*QuickSortTransactor, error)

NewQuickSortTransactor creates a new write-only instance of QuickSort, bound to a specific deployed contract.

func (*QuickSortTransactor) DebugSort

func (_QuickSort *QuickSortTransactor) DebugSort(opts *bind.TransactOpts, size *big.Int, id string) (*types.Transaction, error)

DebugSort is a paid mutator transaction binding the contract method 0x61e4b057.

Solidity: function debugSort(uint256 size, string id) returns()

func (*QuickSortTransactor) PrintAllData

func (_QuickSort *QuickSortTransactor) PrintAllData(opts *bind.TransactOpts) (*types.Transaction, error)

PrintAllData is a paid mutator transaction binding the contract method 0xd969f9f4.

Solidity: function printAllData() returns()

func (*QuickSortTransactor) Sort

func (_QuickSort *QuickSortTransactor) Sort(opts *bind.TransactOpts, size *big.Int, id string) (*types.Transaction, error)

Sort is a paid mutator transaction binding the contract method 0x89b8e04c.

Solidity: function sort(uint256 size, string id) returns()

type QuickSortTransactorRaw

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

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

func (*QuickSortTransactorRaw) Transact

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

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

func (*QuickSortTransactorRaw) Transfer

func (_QuickSort *QuickSortTransactorRaw) 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 QuickSortTransactorSession

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

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

func (*QuickSortTransactorSession) DebugSort

func (_QuickSort *QuickSortTransactorSession) DebugSort(size *big.Int, id string) (*types.Transaction, error)

DebugSort is a paid mutator transaction binding the contract method 0x61e4b057.

Solidity: function debugSort(uint256 size, string id) returns()

func (*QuickSortTransactorSession) PrintAllData

func (_QuickSort *QuickSortTransactorSession) PrintAllData() (*types.Transaction, error)

PrintAllData is a paid mutator transaction binding the contract method 0xd969f9f4.

Solidity: function printAllData() returns()

func (*QuickSortTransactorSession) Sort

func (_QuickSort *QuickSortTransactorSession) Sort(size *big.Int, id string) (*types.Transaction, error)

Sort is a paid mutator transaction binding the contract method 0x89b8e04c.

Solidity: function sort(uint256 size, string id) returns()

Jump to

Keyboard shortcuts

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