greeter_wrapper

package
v2.2.0-mercury-20230616-1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GreeterABI = GreeterMetaData.ABI
View Source
var GreeterBin = GreeterMetaData.Bin
View Source
var GreeterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"getGreeting\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"greeting\",\"type\":\"string\"}],\"name\":\"setGreeting\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
	Bin: "0x608060405234801561001057600080fd5b5061044a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100365760003560e01c8063a41368621461003b578063fe50cc7214610050575b600080fd5b61004e61004936600461013f565b61006e565b005b61005861007e565b604051610065919061020e565b60405180910390f35b600061007a8282610323565b5050565b60606000805461008d90610281565b80601f01602080910402602001604051908101604052809291908181526020018280546100b990610281565b80156101065780601f106100db57610100808354040283529160200191610106565b820191906000526020600020905b8154815290600101906020018083116100e957829003601f168201915b5050505050905090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60006020828403121561015157600080fd5b813567ffffffffffffffff8082111561016957600080fd5b818401915084601f83011261017d57600080fd5b81358181111561018f5761018f610110565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156101d5576101d5610110565b816040528281528760208487010111156101ee57600080fd5b826020860160208301376000928101602001929092525095945050505050565b600060208083528351808285015260005b8181101561023b5785810183015185820160400152820161021f565b8181111561024d576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b600181811c9082168061029557607f821691505b6020821081036102ce577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f82111561031e57600081815260208120601f850160051c810160208610156102fb5750805b601f850160051c820191505b8181101561031a57828155600101610307565b5050505b505050565b815167ffffffffffffffff81111561033d5761033d610110565b6103518161034b8454610281565b846102d4565b602080601f8311600181146103a4576000841561036e5750858301515b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600386901b1c1916600185901b17855561031a565b6000858152602081207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08616915b828110156103f1578886015182559484019460019091019084016103d2565b508582101561042d57878501517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff600388901b60f8161c191681555b5050505050600190811b0190555056fea164736f6c634300080f000a",
}

Functions

This section is empty.

Types

type Greeter

type Greeter struct {
	GreeterCaller
	GreeterTransactor
	GreeterFilterer
	// contains filtered or unexported fields
}

func NewGreeter

func NewGreeter(address common.Address, backend bind.ContractBackend) (*Greeter, error)

func (*Greeter) Address

func (_Greeter *Greeter) Address() common.Address

type GreeterCaller

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

func NewGreeterCaller

func NewGreeterCaller(address common.Address, caller bind.ContractCaller) (*GreeterCaller, error)

func (*GreeterCaller) GetGreeting

func (_Greeter *GreeterCaller) GetGreeting(opts *bind.CallOpts) (string, error)

type GreeterCallerRaw

type GreeterCallerRaw struct {
	Contract *GreeterCaller
}

func (*GreeterCallerRaw) Call

func (_Greeter *GreeterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

type GreeterCallerSession

type GreeterCallerSession struct {
	Contract *GreeterCaller
	CallOpts bind.CallOpts
}

func (*GreeterCallerSession) GetGreeting

func (_Greeter *GreeterCallerSession) GetGreeting() (string, error)

type GreeterFilterer

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

func NewGreeterFilterer

func NewGreeterFilterer(address common.Address, filterer bind.ContractFilterer) (*GreeterFilterer, error)

type GreeterInterface

type GreeterInterface interface {
	GetGreeting(opts *bind.CallOpts) (string, error)

	SetGreeting(opts *bind.TransactOpts, greeting string) (*types.Transaction, error)

	Address() common.Address
}

type GreeterRaw

type GreeterRaw struct {
	Contract *Greeter
}

func (*GreeterRaw) Call

func (_Greeter *GreeterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

func (*GreeterRaw) Transact

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

func (*GreeterRaw) Transfer

func (_Greeter *GreeterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type GreeterSession

type GreeterSession struct {
	Contract     *Greeter
	CallOpts     bind.CallOpts
	TransactOpts bind.TransactOpts
}

func (*GreeterSession) GetGreeting

func (_Greeter *GreeterSession) GetGreeting() (string, error)

func (*GreeterSession) SetGreeting

func (_Greeter *GreeterSession) SetGreeting(greeting string) (*types.Transaction, error)

type GreeterTransactor

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

func NewGreeterTransactor

func NewGreeterTransactor(address common.Address, transactor bind.ContractTransactor) (*GreeterTransactor, error)

func (*GreeterTransactor) SetGreeting

func (_Greeter *GreeterTransactor) SetGreeting(opts *bind.TransactOpts, greeting string) (*types.Transaction, error)

type GreeterTransactorRaw

type GreeterTransactorRaw struct {
	Contract *GreeterTransactor
}

func (*GreeterTransactorRaw) Transact

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

func (*GreeterTransactorRaw) Transfer

func (_Greeter *GreeterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

type GreeterTransactorSession

type GreeterTransactorSession struct {
	Contract     *GreeterTransactor
	TransactOpts bind.TransactOpts
}

func (*GreeterTransactorSession) SetGreeting

func (_Greeter *GreeterTransactorSession) SetGreeting(greeting string) (*types.Transaction, error)

Jump to

Keyboard shortcuts

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