Sha

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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 ShaABI = ShaMetaData.ABI

ShaABI is the input ABI used to generate the binding from. Deprecated: Use ShaMetaData.ABI instead.

View Source
var ShaBin = ShaMetaData.Bin

ShaBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ShaMetaData.Bin instead.

View Source
var ShaMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"hash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5060dd8061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806309bd5a6014602d575b600080fd5b60336035565b005b6040516a1a195b1b1bc81ddbdc9b1960aa1b8152600290600b01602060405180830381855afa158015606b573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190608c9190608f565b50565b60006020828403121560a057600080fd5b505191905056fea2646970667358221220fe50f9cdaf095e844b048d17690c0862e54c7d7b550c4e2d9045215198e571d564736f6c634300080c0033",
}

ShaMetaData contains all meta data concerning the Sha contract.

Functions

This section is empty.

Types

type Sha

type Sha struct {
	ShaCaller     // Read-only binding to the contract
	ShaTransactor // Write-only binding to the contract
	ShaFilterer   // Log filterer for contract events
}

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

func DeploySha

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

DeploySha deploys a new Ethereum contract, binding an instance of Sha to it.

func NewSha

func NewSha(address common.Address, backend bind.ContractBackend) (*Sha, error)

NewSha creates a new instance of Sha, bound to a specific deployed contract.

type ShaCaller

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

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

func NewShaCaller

func NewShaCaller(address common.Address, caller bind.ContractCaller) (*ShaCaller, error)

NewShaCaller creates a new read-only instance of Sha, bound to a specific deployed contract.

type ShaCallerRaw

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

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

func (*ShaCallerRaw) Call

func (_Sha *ShaCallerRaw) 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 ShaCallerSession

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

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

type ShaFilterer

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

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

func NewShaFilterer

func NewShaFilterer(address common.Address, filterer bind.ContractFilterer) (*ShaFilterer, error)

NewShaFilterer creates a new log filterer instance of Sha, bound to a specific deployed contract.

type ShaRaw

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

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

func (*ShaRaw) Call

func (_Sha *ShaRaw) 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 (*ShaRaw) Transact

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

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

func (*ShaRaw) Transfer

func (_Sha *ShaRaw) 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 ShaSession

type ShaSession struct {
	Contract     *Sha              // 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
}

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

func (*ShaSession) Hash

func (_Sha *ShaSession) Hash() (*types.Transaction, error)

Hash is a paid mutator transaction binding the contract method 0x09bd5a60.

Solidity: function hash() returns()

type ShaTransactor

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

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

func NewShaTransactor

func NewShaTransactor(address common.Address, transactor bind.ContractTransactor) (*ShaTransactor, error)

NewShaTransactor creates a new write-only instance of Sha, bound to a specific deployed contract.

func (*ShaTransactor) Hash

func (_Sha *ShaTransactor) Hash(opts *bind.TransactOpts) (*types.Transaction, error)

Hash is a paid mutator transaction binding the contract method 0x09bd5a60.

Solidity: function hash() returns()

type ShaTransactorRaw

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

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

func (*ShaTransactorRaw) Transact

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

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

func (*ShaTransactorRaw) Transfer

func (_Sha *ShaTransactorRaw) 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 ShaTransactorSession

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

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

func (*ShaTransactorSession) Hash

func (_Sha *ShaTransactorSession) Hash() (*types.Transaction, error)

Hash is a paid mutator transaction binding the contract method 0x09bd5a60.

Solidity: function hash() returns()

Jump to

Keyboard shortcuts

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