deed

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const ContractABI = "" /* 1863-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Contract

type Contract struct {
	ContractCaller     // Read-only binding to the contract
	ContractTransactor // Write-only binding to the contract
	ContractFilterer   // Log filterer for contract events
}

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

func NewContract

func NewContract(address common.Address, backend bind.ContractBackend) (*Contract, error)

NewContract creates a new instance of Contract, bound to a specific deployed contract.

type ContractCaller

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

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

func NewContractCaller

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

NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.

func (*ContractCaller) CreationDate

func (_Contract *ContractCaller) CreationDate(opts *bind.CallOpts) (*big.Int, error)

CreationDate is a free data retrieval call binding the contract method 0x05b34410.

Solidity: function creationDate() returns(uint256)

func (*ContractCaller) Owner

func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() returns(address)

func (*ContractCaller) PreviousOwner

func (_Contract *ContractCaller) PreviousOwner(opts *bind.CallOpts) (common.Address, error)

PreviousOwner is a free data retrieval call binding the contract method 0x674f220f.

Solidity: function previousOwner() returns(address)

func (*ContractCaller) Registrar

func (_Contract *ContractCaller) Registrar(opts *bind.CallOpts) (common.Address, error)

Registrar is a free data retrieval call binding the contract method 0x2b20e397.

Solidity: function registrar() returns(address)

func (*ContractCaller) Value

func (_Contract *ContractCaller) Value(opts *bind.CallOpts) (*big.Int, error)

Value is a free data retrieval call binding the contract method 0x3fa4f245.

Solidity: function value() returns(uint256)

type ContractCallerRaw

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

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

func (*ContractCallerRaw) Call

func (_Contract *ContractCallerRaw) 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 ContractCallerSession

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

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

func (*ContractCallerSession) CreationDate

func (_Contract *ContractCallerSession) CreationDate() (*big.Int, error)

CreationDate is a free data retrieval call binding the contract method 0x05b34410.

Solidity: function creationDate() returns(uint256)

func (*ContractCallerSession) Owner

func (_Contract *ContractCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address)

func (*ContractCallerSession) PreviousOwner

func (_Contract *ContractCallerSession) PreviousOwner() (common.Address, error)

PreviousOwner is a free data retrieval call binding the contract method 0x674f220f.

Solidity: function previousOwner() returns(address)

func (*ContractCallerSession) Registrar

func (_Contract *ContractCallerSession) Registrar() (common.Address, error)

Registrar is a free data retrieval call binding the contract method 0x2b20e397.

Solidity: function registrar() returns(address)

func (*ContractCallerSession) Value

func (_Contract *ContractCallerSession) Value() (*big.Int, error)

Value is a free data retrieval call binding the contract method 0x3fa4f245.

Solidity: function value() returns(uint256)

type ContractDeedClosed

type ContractDeedClosed struct {
	Raw types.Log // Blockchain specific contextual infos
}

ContractDeedClosed represents a DeedClosed event raised by the Contract contract.

type ContractDeedClosedIterator

type ContractDeedClosedIterator struct {
	Event *ContractDeedClosed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractDeedClosedIterator is returned from FilterDeedClosed and is used to iterate over the raw logs and unpacked data for DeedClosed events raised by the Contract contract.

func (*ContractDeedClosedIterator) Close

func (it *ContractDeedClosedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractDeedClosedIterator) Error

func (it *ContractDeedClosedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractDeedClosedIterator) Next

func (it *ContractDeedClosedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractFilterer

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

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

func NewContractFilterer

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

NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.

func (*ContractFilterer) FilterDeedClosed

func (_Contract *ContractFilterer) FilterDeedClosed(opts *bind.FilterOpts) (*ContractDeedClosedIterator, error)

FilterDeedClosed is a free log retrieval operation binding the contract event 0xbb2ce2f51803bba16bc85282b47deeea9a5c6223eabea1077be696b3f265cf13.

Solidity: event DeedClosed()

func (*ContractFilterer) FilterOwnerChanged

func (_Contract *ContractFilterer) FilterOwnerChanged(opts *bind.FilterOpts) (*ContractOwnerChangedIterator, error)

FilterOwnerChanged is a free log retrieval operation binding the contract event 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36.

Solidity: event OwnerChanged(address newOwner)

func (*ContractFilterer) ParseDeedClosed

func (_Contract *ContractFilterer) ParseDeedClosed(log types.Log) (*ContractDeedClosed, error)

ParseDeedClosed is a log parse operation binding the contract event 0xbb2ce2f51803bba16bc85282b47deeea9a5c6223eabea1077be696b3f265cf13.

Solidity: event DeedClosed()

func (*ContractFilterer) ParseOwnerChanged

func (_Contract *ContractFilterer) ParseOwnerChanged(log types.Log) (*ContractOwnerChanged, error)

ParseOwnerChanged is a log parse operation binding the contract event 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36.

Solidity: event OwnerChanged(address newOwner)

func (*ContractFilterer) WatchDeedClosed

func (_Contract *ContractFilterer) WatchDeedClosed(opts *bind.WatchOpts, sink chan<- *ContractDeedClosed) (event.Subscription, error)

WatchDeedClosed is a free log subscription operation binding the contract event 0xbb2ce2f51803bba16bc85282b47deeea9a5c6223eabea1077be696b3f265cf13.

Solidity: event DeedClosed()

func (*ContractFilterer) WatchOwnerChanged

func (_Contract *ContractFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *ContractOwnerChanged) (event.Subscription, error)

WatchOwnerChanged is a free log subscription operation binding the contract event 0xa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf36.

Solidity: event OwnerChanged(address newOwner)

type ContractOwnerChanged

type ContractOwnerChanged struct {
	NewOwner common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

ContractOwnerChanged represents a OwnerChanged event raised by the Contract contract.

type ContractOwnerChangedIterator

type ContractOwnerChangedIterator struct {
	Event *ContractOwnerChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ContractOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the Contract contract.

func (*ContractOwnerChangedIterator) Close

func (it *ContractOwnerChangedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ContractOwnerChangedIterator) Error

func (it *ContractOwnerChangedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ContractOwnerChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ContractRaw

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

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

func (*ContractRaw) Call

func (_Contract *ContractRaw) 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 (*ContractRaw) Transact

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

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

func (*ContractRaw) Transfer

func (_Contract *ContractRaw) 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 ContractSession

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

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

func (*ContractSession) CloseDeed

func (_Contract *ContractSession) CloseDeed(refundRatio *big.Int) (*types.Transaction, error)

CloseDeed is a paid mutator transaction binding the contract method 0xbbe42771.

Solidity: function closeDeed(uint256 refundRatio) returns()

func (*ContractSession) CreationDate

func (_Contract *ContractSession) CreationDate() (*big.Int, error)

CreationDate is a free data retrieval call binding the contract method 0x05b34410.

Solidity: function creationDate() returns(uint256)

func (*ContractSession) DestroyDeed

func (_Contract *ContractSession) DestroyDeed() (*types.Transaction, error)

DestroyDeed is a paid mutator transaction binding the contract method 0x0b5ab3d5.

Solidity: function destroyDeed() returns()

func (*ContractSession) Owner

func (_Contract *ContractSession) Owner() (common.Address, error)

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

Solidity: function owner() returns(address)

func (*ContractSession) PreviousOwner

func (_Contract *ContractSession) PreviousOwner() (common.Address, error)

PreviousOwner is a free data retrieval call binding the contract method 0x674f220f.

Solidity: function previousOwner() returns(address)

func (*ContractSession) Registrar

func (_Contract *ContractSession) Registrar() (common.Address, error)

Registrar is a free data retrieval call binding the contract method 0x2b20e397.

Solidity: function registrar() returns(address)

func (*ContractSession) SetBalance

func (_Contract *ContractSession) SetBalance(newValue *big.Int, throwOnFailure bool) (*types.Transaction, error)

SetBalance is a paid mutator transaction binding the contract method 0xb0c80972.

Solidity: function setBalance(uint256 newValue, bool throwOnFailure) returns()

func (*ContractSession) SetOwner

func (_Contract *ContractSession) SetOwner(newOwner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address newOwner) returns()

func (*ContractSession) SetRegistrar

func (_Contract *ContractSession) SetRegistrar(newRegistrar common.Address) (*types.Transaction, error)

SetRegistrar is a paid mutator transaction binding the contract method 0xfaab9d39.

Solidity: function setRegistrar(address newRegistrar) returns()

func (*ContractSession) Value

func (_Contract *ContractSession) Value() (*big.Int, error)

Value is a free data retrieval call binding the contract method 0x3fa4f245.

Solidity: function value() returns(uint256)

type ContractTransactor

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

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

func NewContractTransactor

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

NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.

func (*ContractTransactor) CloseDeed

func (_Contract *ContractTransactor) CloseDeed(opts *bind.TransactOpts, refundRatio *big.Int) (*types.Transaction, error)

CloseDeed is a paid mutator transaction binding the contract method 0xbbe42771.

Solidity: function closeDeed(uint256 refundRatio) returns()

func (*ContractTransactor) DestroyDeed

func (_Contract *ContractTransactor) DestroyDeed(opts *bind.TransactOpts) (*types.Transaction, error)

DestroyDeed is a paid mutator transaction binding the contract method 0x0b5ab3d5.

Solidity: function destroyDeed() returns()

func (*ContractTransactor) SetBalance

func (_Contract *ContractTransactor) SetBalance(opts *bind.TransactOpts, newValue *big.Int, throwOnFailure bool) (*types.Transaction, error)

SetBalance is a paid mutator transaction binding the contract method 0xb0c80972.

Solidity: function setBalance(uint256 newValue, bool throwOnFailure) returns()

func (*ContractTransactor) SetOwner

func (_Contract *ContractTransactor) SetOwner(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address newOwner) returns()

func (*ContractTransactor) SetRegistrar

func (_Contract *ContractTransactor) SetRegistrar(opts *bind.TransactOpts, newRegistrar common.Address) (*types.Transaction, error)

SetRegistrar is a paid mutator transaction binding the contract method 0xfaab9d39.

Solidity: function setRegistrar(address newRegistrar) returns()

type ContractTransactorRaw

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

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

func (*ContractTransactorRaw) Transact

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

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

func (*ContractTransactorRaw) Transfer

func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession

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

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

func (*ContractTransactorSession) CloseDeed

func (_Contract *ContractTransactorSession) CloseDeed(refundRatio *big.Int) (*types.Transaction, error)

CloseDeed is a paid mutator transaction binding the contract method 0xbbe42771.

Solidity: function closeDeed(uint256 refundRatio) returns()

func (*ContractTransactorSession) DestroyDeed

func (_Contract *ContractTransactorSession) DestroyDeed() (*types.Transaction, error)

DestroyDeed is a paid mutator transaction binding the contract method 0x0b5ab3d5.

Solidity: function destroyDeed() returns()

func (*ContractTransactorSession) SetBalance

func (_Contract *ContractTransactorSession) SetBalance(newValue *big.Int, throwOnFailure bool) (*types.Transaction, error)

SetBalance is a paid mutator transaction binding the contract method 0xb0c80972.

Solidity: function setBalance(uint256 newValue, bool throwOnFailure) returns()

func (*ContractTransactorSession) SetOwner

func (_Contract *ContractTransactorSession) SetOwner(newOwner common.Address) (*types.Transaction, error)

SetOwner is a paid mutator transaction binding the contract method 0x13af4035.

Solidity: function setOwner(address newOwner) returns()

func (*ContractTransactorSession) SetRegistrar

func (_Contract *ContractTransactorSession) SetRegistrar(newRegistrar common.Address) (*types.Transaction, error)

SetRegistrar is a paid mutator transaction binding the contract method 0xfaab9d39.

Solidity: function setRegistrar(address newRegistrar) returns()

Jump to

Keyboard shortcuts

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