cpuHeavyTC

package
v1.9.0-tc.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const CPUHeavyABI = "" /* 941-byte string literal not displayed */

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

View Source
const CPUHeavyBin = `` /* 2880-byte string literal not displayed */

CPUHeavyBin is the compiled bytecode used for deploying new contracts.

View Source
const CPUHeavyBinRuntime = `` /* 2816-byte string literal not displayed */

CPUHeavyBinRuntime is the compiled bytecode used for adding genesis block without deploying code.

View Source
const Name = "cpuHeavyTx"

Variables

This section is empty.

Functions

func CheckResult

func CheckResult() (result bool, err error)

CheckResult returns true and nil error, if expected results are observed. Otherewise returns false and error.

func Init

func Init(accs []*account.Account, endpoint string, gp *big.Int)

func Run

func Run()

func RunSingle

func RunSingle() (tx *types.Transaction, err error)

Types

type CPUHeavy

type CPUHeavy struct {
	CPUHeavyCaller     // Read-only binding to the contract
	CPUHeavyTransactor // Write-only binding to the contract
	CPUHeavyFilterer   // Log filterer for contract events
}

CPUHeavy is an auto generated Go binding around a Klaytn contract.

func DeployCPUHeavy

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

DeployCPUHeavy deploys a new Klaytn contract, binding an instance of CPUHeavy to it.

func NewCPUHeavy

func NewCPUHeavy(address common.Address, backend bind.ContractBackend) (*CPUHeavy, error)

NewCPUHeavy creates a new instance of CPUHeavy, bound to a specific deployed contract.

type CPUHeavyCaller

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

CPUHeavyCaller is an auto generated read-only Go binding around a Klaytn contract.

func NewCPUHeavyCaller

func NewCPUHeavyCaller(address common.Address, caller bind.ContractCaller) (*CPUHeavyCaller, error)

NewCPUHeavyCaller creates a new read-only instance of CPUHeavy, bound to a specific deployed contract.

func (*CPUHeavyCaller) CheckResult

func (_CPUHeavy *CPUHeavyCaller) CheckResult(opts *bind.CallOpts) (bool, error)

CheckResult is a free data retrieval call binding the contract method 0xa21d942f.

Solidity: function checkResult() constant returns(bool)

type CPUHeavyCallerRaw

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

CPUHeavyCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.

func (*CPUHeavyCallerRaw) Call

func (_CPUHeavy *CPUHeavyCallerRaw) 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 CPUHeavyCallerSession

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

CPUHeavyCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.

func (*CPUHeavyCallerSession) CheckResult

func (_CPUHeavy *CPUHeavyCallerSession) CheckResult() (bool, error)

CheckResult is a free data retrieval call binding the contract method 0xa21d942f.

Solidity: function checkResult() constant returns(bool)

type CPUHeavyFilterer

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

CPUHeavyFilterer is an auto generated log filtering Go binding around a Klaytn contract events.

func NewCPUHeavyFilterer

func NewCPUHeavyFilterer(address common.Address, filterer bind.ContractFilterer) (*CPUHeavyFilterer, error)

NewCPUHeavyFilterer creates a new log filterer instance of CPUHeavy, bound to a specific deployed contract.

func (*CPUHeavyFilterer) FilterFinish

func (_CPUHeavy *CPUHeavyFilterer) FilterFinish(opts *bind.FilterOpts) (*CPUHeavyFinishIterator, error)

FilterFinish is a free log retrieval operation binding the contract event 0xd596fdad182d29130ce218f4c1590c4b5ede105bee36690727baa6592bd2bfc8.

Solidity: e finish(size uint256, signature uint256)

func (*CPUHeavyFilterer) WatchFinish

func (_CPUHeavy *CPUHeavyFilterer) WatchFinish(opts *bind.WatchOpts, sink chan<- *CPUHeavyFinish) (event.Subscription, error)

WatchFinish is a free log subscription operation binding the contract event 0xd596fdad182d29130ce218f4c1590c4b5ede105bee36690727baa6592bd2bfc8.

Solidity: e finish(size uint256, signature uint256)

type CPUHeavyFinish

type CPUHeavyFinish struct {
	Size      *big.Int
	Signature *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

CPUHeavyFinish represents a Finish event raised by the CPUHeavy contract.

type CPUHeavyFinishIterator

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

CPUHeavyFinishIterator is returned from FilterFinish and is used to iterate over the raw logs and unpacked data for Finish events raised by the CPUHeavy contract.

func (*CPUHeavyFinishIterator) Close

func (it *CPUHeavyFinishIterator) Close() error

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

func (*CPUHeavyFinishIterator) Error

func (it *CPUHeavyFinishIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CPUHeavyFinishIterator) Next

func (it *CPUHeavyFinishIterator) 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 CPUHeavyRaw

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

CPUHeavyRaw is an auto generated low-level Go binding around a Klaytn contract.

func (*CPUHeavyRaw) Call

func (_CPUHeavy *CPUHeavyRaw) 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 (*CPUHeavyRaw) Transact

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

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

func (*CPUHeavyRaw) Transfer

func (_CPUHeavy *CPUHeavyRaw) 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 CPUHeavySession

type CPUHeavySession struct {
	Contract     *CPUHeavy         // 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
}

CPUHeavySession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.

func (*CPUHeavySession) CheckResult

func (_CPUHeavy *CPUHeavySession) CheckResult() (bool, error)

CheckResult is a free data retrieval call binding the contract method 0xa21d942f.

Solidity: function checkResult() constant returns(bool)

func (*CPUHeavySession) Empty

func (_CPUHeavy *CPUHeavySession) Empty() (*types.Transaction, error)

Empty is a paid mutator transaction binding the contract method 0xf2a75fe4.

Solidity: function empty() returns()

func (*CPUHeavySession) Sort

func (_CPUHeavy *CPUHeavySession) Sort(size *big.Int, signature *big.Int) (*types.Transaction, error)

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

Solidity: function sort(size uint256, signature uint256) returns()

func (*CPUHeavySession) SortSingle

func (_CPUHeavy *CPUHeavySession) SortSingle(signature *big.Int) (*types.Transaction, error)

SortSingle is a paid mutator transaction binding the contract method 0xe71c6c82.

Solidity: function sortSingle(signature uint256) returns()

type CPUHeavyTransactor

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

CPUHeavyTransactor is an auto generated write-only Go binding around a Klaytn contract.

func NewCPUHeavyTransactor

func NewCPUHeavyTransactor(address common.Address, transactor bind.ContractTransactor) (*CPUHeavyTransactor, error)

NewCPUHeavyTransactor creates a new write-only instance of CPUHeavy, bound to a specific deployed contract.

func (*CPUHeavyTransactor) Empty

func (_CPUHeavy *CPUHeavyTransactor) Empty(opts *bind.TransactOpts) (*types.Transaction, error)

Empty is a paid mutator transaction binding the contract method 0xf2a75fe4.

Solidity: function empty() returns()

func (*CPUHeavyTransactor) Sort

func (_CPUHeavy *CPUHeavyTransactor) Sort(opts *bind.TransactOpts, size *big.Int, signature *big.Int) (*types.Transaction, error)

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

Solidity: function sort(size uint256, signature uint256) returns()

func (*CPUHeavyTransactor) SortSingle

func (_CPUHeavy *CPUHeavyTransactor) SortSingle(opts *bind.TransactOpts, signature *big.Int) (*types.Transaction, error)

SortSingle is a paid mutator transaction binding the contract method 0xe71c6c82.

Solidity: function sortSingle(signature uint256) returns()

type CPUHeavyTransactorRaw

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

CPUHeavyTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.

func (*CPUHeavyTransactorRaw) Transact

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

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

func (*CPUHeavyTransactorRaw) Transfer

func (_CPUHeavy *CPUHeavyTransactorRaw) 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 CPUHeavyTransactorSession

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

CPUHeavyTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.

func (*CPUHeavyTransactorSession) Empty

func (_CPUHeavy *CPUHeavyTransactorSession) Empty() (*types.Transaction, error)

Empty is a paid mutator transaction binding the contract method 0xf2a75fe4.

Solidity: function empty() returns()

func (*CPUHeavyTransactorSession) Sort

func (_CPUHeavy *CPUHeavyTransactorSession) Sort(size *big.Int, signature *big.Int) (*types.Transaction, error)

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

Solidity: function sort(size uint256, signature uint256) returns()

func (*CPUHeavyTransactorSession) SortSingle

func (_CPUHeavy *CPUHeavyTransactorSession) SortSingle(signature *big.Int) (*types.Transaction, error)

SortSingle is a paid mutator transaction binding the contract method 0xe71c6c82.

Solidity: function sortSingle(signature uint256) returns()

Jump to

Keyboard shortcuts

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