Documentation ¶
Overview ¶
Package largeMemoTC is used to test required network bandwidth for large block sizes. tries to simulate bots which exhausts resource See README.md for more details.
Index ¶
- Constants
- Variables
- func Init(accs []*account.Account, endpoint string, gp *big.Int)
- func Run()
- type LargeMemo
- type LargeMemoCaller
- type LargeMemoCallerRaw
- type LargeMemoCallerSession
- type LargeMemoFilterer
- type LargeMemoRaw
- func (_LargeMemo *LargeMemoRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_LargeMemo *LargeMemoRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LargeMemo *LargeMemoRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LargeMemoSession
- type LargeMemoTransactor
- type LargeMemoTransactorRaw
- type LargeMemoTransactorSession
Constants ¶
const LargeMemoABI = "" /* 620-byte string literal not displayed */
LargeMemoABI is the input ABI used to generate the binding from.
const LargeMemoBinRuntime = `` /* 1706-byte string literal not displayed */
LargeMemoBinRuntime is the compiled bytecode used for adding genesis block without deploying code.
const Letters = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"
const Name = "largeMemoTC"
Variables ¶
var LargeMemoBin = "" /* 2230-byte string literal not displayed */
LargeMemoBin is the compiled bytecode used for deploying new contracts.
var LargeMemoFuncSigs = map[string]string{
"c0406226": "run()",
"c47f0027": "setName(string)",
"c15bae84": "str()",
}
LargeMemoFuncSigs maps the 4-byte function signature to its string representation.
Functions ¶
Types ¶
type LargeMemo ¶
type LargeMemo struct { LargeMemoCaller // Read-only binding to the contract LargeMemoTransactor // Write-only binding to the contract LargeMemoFilterer // Log filterer for contract events }
LargeMemo is an auto generated Go binding around a Klaytn contract.
func DeployLargeMemo ¶
func DeployLargeMemo(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *LargeMemo, error)
DeployLargeMemo deploys a new Klaytn contract, binding an instance of LargeMemo to it.
func NewLargeMemo ¶
NewLargeMemo creates a new instance of LargeMemo, bound to a specific deployed contract.
type LargeMemoCaller ¶
type LargeMemoCaller struct {
// contains filtered or unexported fields
}
LargeMemoCaller is an auto generated read-only Go binding around a Klaytn contract.
func NewLargeMemoCaller ¶
func NewLargeMemoCaller(address common.Address, caller bind.ContractCaller) (*LargeMemoCaller, error)
NewLargeMemoCaller creates a new read-only instance of LargeMemo, bound to a specific deployed contract.
type LargeMemoCallerRaw ¶
type LargeMemoCallerRaw struct {
Contract *LargeMemoCaller // Generic read-only contract binding to access the raw methods on
}
LargeMemoCallerRaw is an auto generated low-level read-only Go binding around a Klaytn contract.
func (*LargeMemoCallerRaw) Call ¶
func (_LargeMemo *LargeMemoCallerRaw) 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 LargeMemoCallerSession ¶
type LargeMemoCallerSession struct { Contract *LargeMemoCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LargeMemoCallerSession is an auto generated read-only Go binding around a Klaytn contract, with pre-set call options.
func (*LargeMemoCallerSession) Run ¶
func (_LargeMemo *LargeMemoCallerSession) Run() (string, error)
Run is a free data retrieval call binding the contract method 0xc0406226.
Solidity: function run() view returns(string)
func (*LargeMemoCallerSession) Str ¶
func (_LargeMemo *LargeMemoCallerSession) Str() (string, error)
Str is a free data retrieval call binding the contract method 0xc15bae84.
Solidity: function str() view returns(string)
type LargeMemoFilterer ¶
type LargeMemoFilterer struct {
// contains filtered or unexported fields
}
LargeMemoFilterer is an auto generated log filtering Go binding around a Klaytn contract events.
func NewLargeMemoFilterer ¶
func NewLargeMemoFilterer(address common.Address, filterer bind.ContractFilterer) (*LargeMemoFilterer, error)
NewLargeMemoFilterer creates a new log filterer instance of LargeMemo, bound to a specific deployed contract.
type LargeMemoRaw ¶
type LargeMemoRaw struct {
Contract *LargeMemo // Generic contract binding to access the raw methods on
}
LargeMemoRaw is an auto generated low-level Go binding around a Klaytn contract.
func (*LargeMemoRaw) Call ¶
func (_LargeMemo *LargeMemoRaw) 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 (*LargeMemoRaw) Transact ¶
func (_LargeMemo *LargeMemoRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LargeMemoRaw) Transfer ¶
func (_LargeMemo *LargeMemoRaw) 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 LargeMemoSession ¶
type LargeMemoSession struct { Contract *LargeMemo // 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 }
LargeMemoSession is an auto generated Go binding around a Klaytn contract, with pre-set call and transact options.
func (*LargeMemoSession) Run ¶
func (_LargeMemo *LargeMemoSession) Run() (string, error)
Run is a free data retrieval call binding the contract method 0xc0406226.
Solidity: function run() view returns(string)
func (*LargeMemoSession) SetName ¶
func (_LargeMemo *LargeMemoSession) SetName(_str string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string _str) returns()
func (*LargeMemoSession) Str ¶
func (_LargeMemo *LargeMemoSession) Str() (string, error)
Str is a free data retrieval call binding the contract method 0xc15bae84.
Solidity: function str() view returns(string)
type LargeMemoTransactor ¶
type LargeMemoTransactor struct {
// contains filtered or unexported fields
}
LargeMemoTransactor is an auto generated write-only Go binding around a Klaytn contract.
func NewLargeMemoTransactor ¶
func NewLargeMemoTransactor(address common.Address, transactor bind.ContractTransactor) (*LargeMemoTransactor, error)
NewLargeMemoTransactor creates a new write-only instance of LargeMemo, bound to a specific deployed contract.
func (*LargeMemoTransactor) SetName ¶
func (_LargeMemo *LargeMemoTransactor) SetName(opts *bind.TransactOpts, _str string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string _str) returns()
type LargeMemoTransactorRaw ¶
type LargeMemoTransactorRaw struct {
Contract *LargeMemoTransactor // Generic write-only contract binding to access the raw methods on
}
LargeMemoTransactorRaw is an auto generated low-level write-only Go binding around a Klaytn contract.
func (*LargeMemoTransactorRaw) Transact ¶
func (_LargeMemo *LargeMemoTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LargeMemoTransactorRaw) Transfer ¶
func (_LargeMemo *LargeMemoTransactorRaw) 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 LargeMemoTransactorSession ¶
type LargeMemoTransactorSession struct { Contract *LargeMemoTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LargeMemoTransactorSession is an auto generated write-only Go binding around a Klaytn contract, with pre-set transact options.
func (*LargeMemoTransactorSession) SetName ¶
func (_LargeMemo *LargeMemoTransactorSession) SetName(_str string) (*types.Transaction, error)
SetName is a paid mutator transaction binding the contract method 0xc47f0027.
Solidity: function setName(string _str) returns()