contracts

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SelfDestructorABI = "" /* 191-byte string literal not displayed */

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

View Source
const TestcontractABI = "" /* 1796-byte string literal not displayed */

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

Variables

View Source
var SelfDestructorBin = "" /* 294-byte string literal not displayed */

SelfDestructorBin is the compiled bytecode used for deploying new contracts.

View Source
var TestcontractBin = "" /* 1144-byte string literal not displayed */

TestcontractBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type SelfDestructor

type SelfDestructor struct {
	SelfDestructorCaller     // Read-only binding to the contract
	SelfDestructorTransactor // Write-only binding to the contract
	SelfDestructorFilterer   // Log filterer for contract events
}

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

func DeploySelfDestructor

func DeploySelfDestructor(auth *bind.TransactOpts, backend bind.ContractBackend) (libcommon.Address, types.Transaction, *SelfDestructor, error)

DeploySelfDestructor deploys a new Ethereum contract, binding an instance of SelfDestructor to it.

func NewSelfDestructor

func NewSelfDestructor(address libcommon.Address, backend bind.ContractBackend) (*SelfDestructor, error)

NewSelfDestructor creates a new instance of SelfDestructor, bound to a specific deployed contract.

type SelfDestructorCaller

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

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

func NewSelfDestructorCaller

func NewSelfDestructorCaller(address libcommon.Address, caller bind.ContractCaller) (*SelfDestructorCaller, error)

NewSelfDestructorCaller creates a new read-only instance of SelfDestructor, bound to a specific deployed contract.

type SelfDestructorCallerRaw

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

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

func (*SelfDestructorCallerRaw) Call

func (_SelfDestructor *SelfDestructorCallerRaw) 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 SelfDestructorCallerSession

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

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

type SelfDestructorFilterer

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

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

func NewSelfDestructorFilterer

func NewSelfDestructorFilterer(address libcommon.Address, filterer bind.ContractFilterer) (*SelfDestructorFilterer, error)

NewSelfDestructorFilterer creates a new log filterer instance of SelfDestructor, bound to a specific deployed contract.

type SelfDestructorRaw

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

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

func (*SelfDestructorRaw) Call

func (_SelfDestructor *SelfDestructorRaw) 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 (*SelfDestructorRaw) Transact

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

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

func (*SelfDestructorRaw) Transfer

func (_SelfDestructor *SelfDestructorRaw) 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 SelfDestructorSession

type SelfDestructorSession struct {
	Contract     *SelfDestructor   // 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
}

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

func (*SelfDestructorSession) SelfDestruct

func (_SelfDestructor *SelfDestructorSession) SelfDestruct() (types.Transaction, error)

SelfDestruct is a paid mutator transaction binding the contract method 0x9cb8a26a.

Solidity: function selfDestruct() returns()

type SelfDestructorTransactor

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

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

func NewSelfDestructorTransactor

func NewSelfDestructorTransactor(address libcommon.Address, transactor bind.ContractTransactor) (*SelfDestructorTransactor, error)

NewSelfDestructorTransactor creates a new write-only instance of SelfDestructor, bound to a specific deployed contract.

func (*SelfDestructorTransactor) SelfDestruct

func (_SelfDestructor *SelfDestructorTransactor) SelfDestruct(opts *bind.TransactOpts) (types.Transaction, error)

SelfDestruct is a paid mutator transaction binding the contract method 0x9cb8a26a.

Solidity: function selfDestruct() returns()

type SelfDestructorTransactorRaw

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

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

func (*SelfDestructorTransactorRaw) Transact

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

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

func (*SelfDestructorTransactorRaw) Transfer

func (_SelfDestructor *SelfDestructorTransactorRaw) 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 SelfDestructorTransactorSession

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

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

func (*SelfDestructorTransactorSession) SelfDestruct

func (_SelfDestructor *SelfDestructorTransactorSession) SelfDestruct() (types.Transaction, error)

SelfDestruct is a paid mutator transaction binding the contract method 0x9cb8a26a.

Solidity: function selfDestruct() returns()

type Testcontract

type Testcontract struct {
	TestcontractCaller     // Read-only binding to the contract
	TestcontractTransactor // Write-only binding to the contract
	TestcontractFilterer   // Log filterer for contract events
}

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

func DeployTestcontract

func DeployTestcontract(auth *bind.TransactOpts, backend bind.ContractBackend) (libcommon.Address, types.Transaction, *Testcontract, error)

DeployTestcontract deploys a new Ethereum contract, binding an instance of Testcontract to it.

func NewTestcontract

func NewTestcontract(address libcommon.Address, backend bind.ContractBackend) (*Testcontract, error)

NewTestcontract creates a new instance of Testcontract, bound to a specific deployed contract.

type TestcontractCaller

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

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

func NewTestcontractCaller

func NewTestcontractCaller(address libcommon.Address, caller bind.ContractCaller) (*TestcontractCaller, error)

NewTestcontractCaller creates a new read-only instance of Testcontract, bound to a specific deployed contract.

func (*TestcontractCaller) Balances

func (_Testcontract *TestcontractCaller) Balances(opts *bind.CallOpts, arg0 libcommon.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances(address ) view returns(uint256)

type TestcontractCallerRaw

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

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

func (*TestcontractCallerRaw) Call

func (_Testcontract *TestcontractCallerRaw) 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 TestcontractCallerSession

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

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

func (*TestcontractCallerSession) Balances

func (_Testcontract *TestcontractCallerSession) Balances(arg0 libcommon.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances(address ) view returns(uint256)

type TestcontractFilterer

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

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

func NewTestcontractFilterer

func NewTestcontractFilterer(address libcommon.Address, filterer bind.ContractFilterer) (*TestcontractFilterer, error)

NewTestcontractFilterer creates a new log filterer instance of Testcontract, bound to a specific deployed contract.

type TestcontractRaw

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

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

func (*TestcontractRaw) Call

func (_Testcontract *TestcontractRaw) 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 (*TestcontractRaw) Transact

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

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

func (*TestcontractRaw) Transfer

func (_Testcontract *TestcontractRaw) 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 TestcontractSession

type TestcontractSession struct {
	Contract     *Testcontract     // 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
}

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

func (*TestcontractSession) Balances

func (_Testcontract *TestcontractSession) Balances(arg0 libcommon.Address) (*big.Int, error)

Balances is a free data retrieval call binding the contract method 0x27e235e3.

Solidity: function balances(address ) view returns(uint256)

func (*TestcontractSession) Create

func (_Testcontract *TestcontractSession) Create(newBalance *big.Int) (types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x780900dc.

Solidity: function create(uint256 newBalance) returns()

func (*TestcontractSession) CreateAndException

func (_Testcontract *TestcontractSession) CreateAndException(newBalance *big.Int) (types.Transaction, error)

CreateAndException is a paid mutator transaction binding the contract method 0xc2ce0ef7.

Solidity: function createAndException(uint256 newBalance) returns()

func (*TestcontractSession) CreateAndRevert

func (_Testcontract *TestcontractSession) CreateAndRevert(newBalance *big.Int) (types.Transaction, error)

CreateAndRevert is a paid mutator transaction binding the contract method 0xc53e5ae3.

Solidity: function createAndRevert(uint256 newBalance) returns()

func (*TestcontractSession) Remove

func (_Testcontract *TestcontractSession) Remove() (types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0xa7f43779.

Solidity: function remove() returns()

func (*TestcontractSession) RemoveAndException

func (_Testcontract *TestcontractSession) RemoveAndException() (types.Transaction, error)

RemoveAndException is a paid mutator transaction binding the contract method 0x660cc200.

Solidity: function removeAndException() returns()

func (*TestcontractSession) RemoveAndRevert

func (_Testcontract *TestcontractSession) RemoveAndRevert() (types.Transaction, error)

RemoveAndRevert is a paid mutator transaction binding the contract method 0xd592ed1f.

Solidity: function removeAndRevert() returns()

func (*TestcontractSession) Update

func (_Testcontract *TestcontractSession) Update(newBalance *big.Int) (types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x82ab890a.

Solidity: function update(uint256 newBalance) returns()

func (*TestcontractSession) UpdateAndException

func (_Testcontract *TestcontractSession) UpdateAndException(newBalance *big.Int) (types.Transaction, error)

UpdateAndException is a paid mutator transaction binding the contract method 0xf64c050d.

Solidity: function updateAndException(uint256 newBalance) returns()

func (*TestcontractSession) UpdateAndRevert

func (_Testcontract *TestcontractSession) UpdateAndRevert(newBalance *big.Int) (types.Transaction, error)

UpdateAndRevert is a paid mutator transaction binding the contract method 0xcb946a07.

Solidity: function updateAndRevert(uint256 newBalance) returns()

type TestcontractTransactor

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

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

func NewTestcontractTransactor

func NewTestcontractTransactor(address libcommon.Address, transactor bind.ContractTransactor) (*TestcontractTransactor, error)

NewTestcontractTransactor creates a new write-only instance of Testcontract, bound to a specific deployed contract.

func (*TestcontractTransactor) Create

func (_Testcontract *TestcontractTransactor) Create(opts *bind.TransactOpts, newBalance *big.Int) (types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x780900dc.

Solidity: function create(uint256 newBalance) returns()

func (*TestcontractTransactor) CreateAndException

func (_Testcontract *TestcontractTransactor) CreateAndException(opts *bind.TransactOpts, newBalance *big.Int) (types.Transaction, error)

CreateAndException is a paid mutator transaction binding the contract method 0xc2ce0ef7.

Solidity: function createAndException(uint256 newBalance) returns()

func (*TestcontractTransactor) CreateAndRevert

func (_Testcontract *TestcontractTransactor) CreateAndRevert(opts *bind.TransactOpts, newBalance *big.Int) (types.Transaction, error)

CreateAndRevert is a paid mutator transaction binding the contract method 0xc53e5ae3.

Solidity: function createAndRevert(uint256 newBalance) returns()

func (*TestcontractTransactor) Remove

func (_Testcontract *TestcontractTransactor) Remove(opts *bind.TransactOpts) (types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0xa7f43779.

Solidity: function remove() returns()

func (*TestcontractTransactor) RemoveAndException

func (_Testcontract *TestcontractTransactor) RemoveAndException(opts *bind.TransactOpts) (types.Transaction, error)

RemoveAndException is a paid mutator transaction binding the contract method 0x660cc200.

Solidity: function removeAndException() returns()

func (*TestcontractTransactor) RemoveAndRevert

func (_Testcontract *TestcontractTransactor) RemoveAndRevert(opts *bind.TransactOpts) (types.Transaction, error)

RemoveAndRevert is a paid mutator transaction binding the contract method 0xd592ed1f.

Solidity: function removeAndRevert() returns()

func (*TestcontractTransactor) Update

func (_Testcontract *TestcontractTransactor) Update(opts *bind.TransactOpts, newBalance *big.Int) (types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x82ab890a.

Solidity: function update(uint256 newBalance) returns()

func (*TestcontractTransactor) UpdateAndException

func (_Testcontract *TestcontractTransactor) UpdateAndException(opts *bind.TransactOpts, newBalance *big.Int) (types.Transaction, error)

UpdateAndException is a paid mutator transaction binding the contract method 0xf64c050d.

Solidity: function updateAndException(uint256 newBalance) returns()

func (*TestcontractTransactor) UpdateAndRevert

func (_Testcontract *TestcontractTransactor) UpdateAndRevert(opts *bind.TransactOpts, newBalance *big.Int) (types.Transaction, error)

UpdateAndRevert is a paid mutator transaction binding the contract method 0xcb946a07.

Solidity: function updateAndRevert(uint256 newBalance) returns()

type TestcontractTransactorRaw

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

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

func (*TestcontractTransactorRaw) Transact

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

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

func (*TestcontractTransactorRaw) Transfer

func (_Testcontract *TestcontractTransactorRaw) 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 TestcontractTransactorSession

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

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

func (*TestcontractTransactorSession) Create

func (_Testcontract *TestcontractTransactorSession) Create(newBalance *big.Int) (types.Transaction, error)

Create is a paid mutator transaction binding the contract method 0x780900dc.

Solidity: function create(uint256 newBalance) returns()

func (*TestcontractTransactorSession) CreateAndException

func (_Testcontract *TestcontractTransactorSession) CreateAndException(newBalance *big.Int) (types.Transaction, error)

CreateAndException is a paid mutator transaction binding the contract method 0xc2ce0ef7.

Solidity: function createAndException(uint256 newBalance) returns()

func (*TestcontractTransactorSession) CreateAndRevert

func (_Testcontract *TestcontractTransactorSession) CreateAndRevert(newBalance *big.Int) (types.Transaction, error)

CreateAndRevert is a paid mutator transaction binding the contract method 0xc53e5ae3.

Solidity: function createAndRevert(uint256 newBalance) returns()

func (*TestcontractTransactorSession) Remove

func (_Testcontract *TestcontractTransactorSession) Remove() (types.Transaction, error)

Remove is a paid mutator transaction binding the contract method 0xa7f43779.

Solidity: function remove() returns()

func (*TestcontractTransactorSession) RemoveAndException

func (_Testcontract *TestcontractTransactorSession) RemoveAndException() (types.Transaction, error)

RemoveAndException is a paid mutator transaction binding the contract method 0x660cc200.

Solidity: function removeAndException() returns()

func (*TestcontractTransactorSession) RemoveAndRevert

func (_Testcontract *TestcontractTransactorSession) RemoveAndRevert() (types.Transaction, error)

RemoveAndRevert is a paid mutator transaction binding the contract method 0xd592ed1f.

Solidity: function removeAndRevert() returns()

func (*TestcontractTransactorSession) Update

func (_Testcontract *TestcontractTransactorSession) Update(newBalance *big.Int) (types.Transaction, error)

Update is a paid mutator transaction binding the contract method 0x82ab890a.

Solidity: function update(uint256 newBalance) returns()

func (*TestcontractTransactorSession) UpdateAndException

func (_Testcontract *TestcontractTransactorSession) UpdateAndException(newBalance *big.Int) (types.Transaction, error)

UpdateAndException is a paid mutator transaction binding the contract method 0xf64c050d.

Solidity: function updateAndException(uint256 newBalance) returns()

func (*TestcontractTransactorSession) UpdateAndRevert

func (_Testcontract *TestcontractTransactorSession) UpdateAndRevert(newBalance *big.Int) (types.Transaction, error)

UpdateAndRevert is a paid mutator transaction binding the contract method 0xcb946a07.

Solidity: function updateAndRevert(uint256 newBalance) returns()

Jump to

Keyboard shortcuts

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