senddata

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SenddataABI = SenddataMetaData.ABI

SenddataABI is the input ABI used to generate the binding from. Deprecated: Use SenddataMetaData.ABI instead.

View Source
var SenddataBin = SenddataMetaData.Bin

SenddataBin is the compiled bytecode used for deploying new contracts. Deprecated: Use SenddataMetaData.Bin instead.

View Source
var SenddataMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"sendData\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561000f575f80fd5b5061022f8061001d5f395ff3fe608060405234801561000f575f80fd5b5060043610610029575f3560e01c80638823d2241461002d575b5f80fd5b61004061003b3660046100d9565b610042565b005b8173ffffffffffffffffffffffffffffffffffffffff168160405161006791906101cd565b5f604051808303815f865af19150503d805f81146100a0576040519150601f19603f3d011682016040523d82523d5f602084013e6100a5565b606091505b5050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f80604083850312156100ea575f80fd5b823573ffffffffffffffffffffffffffffffffffffffff8116811461010d575f80fd5b9150602083013567ffffffffffffffff80821115610129575f80fd5b818501915085601f83011261013c575f80fd5b81358181111561014e5761014e6100ac565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715610194576101946100ac565b816040528281528860208487010111156101ac575f80fd5b826020860160208301375f6020848301015280955050505050509250929050565b5f82515f5b818110156101ec57602081860181015185830152016101d2565b505f92019182525091905056fea2646970667358221220ef2e0366db3a89e51de62bf9e5da96a3bb7ecaffc34fac584d357f16c2de1b5064736f6c63430008140033",
}

SenddataMetaData contains all meta data concerning the Senddata contract.

Functions

This section is empty.

Types

type Senddata

type Senddata struct {
	SenddataCaller     // Read-only binding to the contract
	SenddataTransactor // Write-only binding to the contract
	SenddataFilterer   // Log filterer for contract events
}

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

func DeploySenddata

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

DeploySenddata deploys a new Ethereum contract, binding an instance of Senddata to it.

func NewSenddata

func NewSenddata(address common.Address, backend bind.ContractBackend) (*Senddata, error)

NewSenddata creates a new instance of Senddata, bound to a specific deployed contract.

type SenddataCaller

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

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

func NewSenddataCaller

func NewSenddataCaller(address common.Address, caller bind.ContractCaller) (*SenddataCaller, error)

NewSenddataCaller creates a new read-only instance of Senddata, bound to a specific deployed contract.

type SenddataCallerRaw

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

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

func (*SenddataCallerRaw) Call

func (_Senddata *SenddataCallerRaw) 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 SenddataCallerSession

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

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

type SenddataFilterer

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

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

func NewSenddataFilterer

func NewSenddataFilterer(address common.Address, filterer bind.ContractFilterer) (*SenddataFilterer, error)

NewSenddataFilterer creates a new log filterer instance of Senddata, bound to a specific deployed contract.

type SenddataRaw

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

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

func (*SenddataRaw) Call

func (_Senddata *SenddataRaw) 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 (*SenddataRaw) Transact

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

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

func (*SenddataRaw) Transfer

func (_Senddata *SenddataRaw) 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 SenddataSession

type SenddataSession struct {
	Contract     *Senddata         // 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
}

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

func (*SenddataSession) SendData

func (_Senddata *SenddataSession) SendData(destination common.Address, data []byte) (*types.Transaction, error)

SendData is a paid mutator transaction binding the contract method 0x8823d224.

Solidity: function sendData(address destination, bytes data) returns()

type SenddataTransactor

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

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

func NewSenddataTransactor

func NewSenddataTransactor(address common.Address, transactor bind.ContractTransactor) (*SenddataTransactor, error)

NewSenddataTransactor creates a new write-only instance of Senddata, bound to a specific deployed contract.

func (*SenddataTransactor) SendData

func (_Senddata *SenddataTransactor) SendData(opts *bind.TransactOpts, destination common.Address, data []byte) (*types.Transaction, error)

SendData is a paid mutator transaction binding the contract method 0x8823d224.

Solidity: function sendData(address destination, bytes data) returns()

type SenddataTransactorRaw

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

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

func (*SenddataTransactorRaw) Transact

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

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

func (*SenddataTransactorRaw) Transfer

func (_Senddata *SenddataTransactorRaw) 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 SenddataTransactorSession

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

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

func (*SenddataTransactorSession) SendData

func (_Senddata *SenddataTransactorSession) SendData(destination common.Address, data []byte) (*types.Transaction, error)

SendData is a paid mutator transaction binding the contract method 0x8823d224.

Solidity: function sendData(address destination, bytes data) returns()

Jump to

Keyboard shortcuts

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