Destruct

package
v0.0.3-RC15 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DestructABI = DestructMetaData.ABI

DestructABI is the input ABI used to generate the binding from. Deprecated: Use DestructMetaData.ABI instead.

View Source
var DestructBin = DestructMetaData.Bin

DestructBin is the compiled bytecode used for deploying new contracts. Deprecated: Use DestructMetaData.Bin instead.

View Source
var DestructMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"close\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"retrieve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"num\",\"type\":\"uint256\"}],\"name\":\"store\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b50600080546001600160a01b0319163317905560ca806100316000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c80632e64cec114604157806343d726d61460565780636057361d14605e575b600080fd5b60015460405190815260200160405180910390f35b605c606e565b005b605c6069366004607c565b600155565b6000546001600160a01b0316ff5b600060208284031215608d57600080fd5b503591905056fea264697066735822122015cbc07a79a8777510730b6ff6f623fa6dd76c1fe4d437f703c8031715714cbb64736f6c634300080c0033",
}

DestructMetaData contains all meta data concerning the Destruct contract.

Functions

This section is empty.

Types

type Destruct

type Destruct struct {
	DestructCaller     // Read-only binding to the contract
	DestructTransactor // Write-only binding to the contract
	DestructFilterer   // Log filterer for contract events
}

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

func DeployDestruct

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

DeployDestruct deploys a new Ethereum contract, binding an instance of Destruct to it.

func NewDestruct

func NewDestruct(address common.Address, backend bind.ContractBackend) (*Destruct, error)

NewDestruct creates a new instance of Destruct, bound to a specific deployed contract.

type DestructCaller

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

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

func NewDestructCaller

func NewDestructCaller(address common.Address, caller bind.ContractCaller) (*DestructCaller, error)

NewDestructCaller creates a new read-only instance of Destruct, bound to a specific deployed contract.

func (*DestructCaller) Retrieve

func (_Destruct *DestructCaller) Retrieve(opts *bind.CallOpts) (*big.Int, error)

Retrieve is a free data retrieval call binding the contract method 0x2e64cec1.

Solidity: function retrieve() view returns(uint256)

type DestructCallerRaw

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

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

func (*DestructCallerRaw) Call

func (_Destruct *DestructCallerRaw) 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 DestructCallerSession

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

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

func (*DestructCallerSession) Retrieve

func (_Destruct *DestructCallerSession) Retrieve() (*big.Int, error)

Retrieve is a free data retrieval call binding the contract method 0x2e64cec1.

Solidity: function retrieve() view returns(uint256)

type DestructFilterer

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

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

func NewDestructFilterer

func NewDestructFilterer(address common.Address, filterer bind.ContractFilterer) (*DestructFilterer, error)

NewDestructFilterer creates a new log filterer instance of Destruct, bound to a specific deployed contract.

type DestructRaw

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

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

func (*DestructRaw) Call

func (_Destruct *DestructRaw) 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 (*DestructRaw) Transact

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

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

func (*DestructRaw) Transfer

func (_Destruct *DestructRaw) 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 DestructSession

type DestructSession struct {
	Contract     *Destruct         // 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
}

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

func (*DestructSession) Close

func (_Destruct *DestructSession) Close() (*types.Transaction, error)

Close is a paid mutator transaction binding the contract method 0x43d726d6.

Solidity: function close() returns()

func (*DestructSession) Retrieve

func (_Destruct *DestructSession) Retrieve() (*big.Int, error)

Retrieve is a free data retrieval call binding the contract method 0x2e64cec1.

Solidity: function retrieve() view returns(uint256)

func (*DestructSession) Store

func (_Destruct *DestructSession) Store(num *big.Int) (*types.Transaction, error)

Store is a paid mutator transaction binding the contract method 0x6057361d.

Solidity: function store(uint256 num) returns()

type DestructTransactor

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

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

func NewDestructTransactor

func NewDestructTransactor(address common.Address, transactor bind.ContractTransactor) (*DestructTransactor, error)

NewDestructTransactor creates a new write-only instance of Destruct, bound to a specific deployed contract.

func (*DestructTransactor) Close

func (_Destruct *DestructTransactor) Close(opts *bind.TransactOpts) (*types.Transaction, error)

Close is a paid mutator transaction binding the contract method 0x43d726d6.

Solidity: function close() returns()

func (*DestructTransactor) Store

func (_Destruct *DestructTransactor) Store(opts *bind.TransactOpts, num *big.Int) (*types.Transaction, error)

Store is a paid mutator transaction binding the contract method 0x6057361d.

Solidity: function store(uint256 num) returns()

type DestructTransactorRaw

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

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

func (*DestructTransactorRaw) Transact

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

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

func (*DestructTransactorRaw) Transfer

func (_Destruct *DestructTransactorRaw) 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 DestructTransactorSession

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

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

func (*DestructTransactorSession) Close

func (_Destruct *DestructTransactorSession) Close() (*types.Transaction, error)

Close is a paid mutator transaction binding the contract method 0x43d726d6.

Solidity: function close() returns()

func (*DestructTransactorSession) Store

func (_Destruct *DestructTransactorSession) Store(num *big.Int) (*types.Transaction, error)

Store is a paid mutator transaction binding the contract method 0x6057361d.

Solidity: function store(uint256 num) returns()

Jump to

Keyboard shortcuts

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