mortal

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const MortalABI = "" /* 751-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Mortal

type Mortal struct {
	MortalCaller     // Read-only binding to the contract
	MortalTransactor // Write-only binding to the contract
	MortalFilterer   // Log filterer for contract events
}

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

func NewMortal

func NewMortal(address common.Address, backend bind.ContractBackend) (*Mortal, error)

NewMortal creates a new instance of Mortal, bound to a specific deployed contract.

type MortalCaller

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

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

func NewMortalCaller

func NewMortalCaller(address common.Address, caller bind.ContractCaller) (*MortalCaller, error)

NewMortalCaller creates a new read-only instance of Mortal, bound to a specific deployed contract.

func (*MortalCaller) Owner

func (_Mortal *MortalCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

type MortalCallerRaw

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

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

func (*MortalCallerRaw) Call

func (_Mortal *MortalCallerRaw) 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 MortalCallerSession

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

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

func (*MortalCallerSession) Owner

func (_Mortal *MortalCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

type MortalFilterer

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

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

func NewMortalFilterer

func NewMortalFilterer(address common.Address, filterer bind.ContractFilterer) (*MortalFilterer, error)

NewMortalFilterer creates a new log filterer instance of Mortal, bound to a specific deployed contract.

type MortalRaw

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

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

func (*MortalRaw) Call

func (_Mortal *MortalRaw) 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 (*MortalRaw) Transact

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

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

func (*MortalRaw) Transfer

func (_Mortal *MortalRaw) 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 MortalSession

type MortalSession struct {
	Contract     *Mortal           // 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
}

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

func (*MortalSession) Kill

func (_Mortal *MortalSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*MortalSession) Owner

func (_Mortal *MortalSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() constant returns(address)

func (*MortalSession) Withdraw

func (_Mortal *MortalSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*MortalSession) WithdrawAmount

func (_Mortal *MortalSession) WithdrawAmount(_amt *big.Int) (*types.Transaction, error)

WithdrawAmount is a paid mutator transaction binding the contract method 0x0562b9f7.

Solidity: function withdrawAmount(_amt uint256) returns()

type MortalTransactor

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

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

func NewMortalTransactor

func NewMortalTransactor(address common.Address, transactor bind.ContractTransactor) (*MortalTransactor, error)

NewMortalTransactor creates a new write-only instance of Mortal, bound to a specific deployed contract.

func (*MortalTransactor) Kill

func (_Mortal *MortalTransactor) Kill(opts *bind.TransactOpts) (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*MortalTransactor) Withdraw

func (_Mortal *MortalTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*MortalTransactor) WithdrawAmount

func (_Mortal *MortalTransactor) WithdrawAmount(opts *bind.TransactOpts, _amt *big.Int) (*types.Transaction, error)

WithdrawAmount is a paid mutator transaction binding the contract method 0x0562b9f7.

Solidity: function withdrawAmount(_amt uint256) returns()

type MortalTransactorRaw

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

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

func (*MortalTransactorRaw) Transact

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

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

func (*MortalTransactorRaw) Transfer

func (_Mortal *MortalTransactorRaw) 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 MortalTransactorSession

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

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

func (*MortalTransactorSession) Kill

func (_Mortal *MortalTransactorSession) Kill() (*types.Transaction, error)

Kill is a paid mutator transaction binding the contract method 0x41c0e1b5.

Solidity: function kill() returns()

func (*MortalTransactorSession) Withdraw

func (_Mortal *MortalTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

func (*MortalTransactorSession) WithdrawAmount

func (_Mortal *MortalTransactorSession) WithdrawAmount(_amt *big.Int) (*types.Transaction, error)

WithdrawAmount is a paid mutator transaction binding the contract method 0x0562b9f7.

Solidity: function withdrawAmount(_amt uint256) returns()

Jump to

Keyboard shortcuts

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