payresolver

package
v0.2.5-dev Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PayResolverABI = "" /* 1265-byte string literal not displayed */

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

Variables

View Source
var PayResolverBin = "" /* 21102-byte string literal not displayed */

PayResolverBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type PayResolver

type PayResolver struct {
	PayResolverCaller     // Read-only binding to the contract
	PayResolverTransactor // Write-only binding to the contract
	PayResolverFilterer   // Log filterer for contract events
}

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

func DeployPayResolver

func DeployPayResolver(auth *bind.TransactOpts, backend bind.ContractBackend, _registryAddr common.Address, _virtResolverAddr common.Address) (common.Address, *types.Transaction, *PayResolver, error)

DeployPayResolver deploys a new Ethereum contract, binding an instance of PayResolver to it.

func NewPayResolver

func NewPayResolver(address common.Address, backend bind.ContractBackend) (*PayResolver, error)

NewPayResolver creates a new instance of PayResolver, bound to a specific deployed contract.

type PayResolverCaller

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

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

func NewPayResolverCaller

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

NewPayResolverCaller creates a new read-only instance of PayResolver, bound to a specific deployed contract.

func (*PayResolverCaller) PayRegistry

func (_PayResolver *PayResolverCaller) PayRegistry(opts *bind.CallOpts) (common.Address, error)

PayRegistry is a free data retrieval call binding the contract method 0x53fc513f.

Solidity: function payRegistry() view returns(address)

func (*PayResolverCaller) VirtResolver

func (_PayResolver *PayResolverCaller) VirtResolver(opts *bind.CallOpts) (common.Address, error)

VirtResolver is a free data retrieval call binding the contract method 0xead54c1b.

Solidity: function virtResolver() view returns(address)

type PayResolverCallerRaw

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

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

func (*PayResolverCallerRaw) Call

func (_PayResolver *PayResolverCallerRaw) 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 PayResolverCallerSession

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

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

func (*PayResolverCallerSession) PayRegistry

func (_PayResolver *PayResolverCallerSession) PayRegistry() (common.Address, error)

PayRegistry is a free data retrieval call binding the contract method 0x53fc513f.

Solidity: function payRegistry() view returns(address)

func (*PayResolverCallerSession) VirtResolver

func (_PayResolver *PayResolverCallerSession) VirtResolver() (common.Address, error)

VirtResolver is a free data retrieval call binding the contract method 0xead54c1b.

Solidity: function virtResolver() view returns(address)

type PayResolverFilterer

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

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

func NewPayResolverFilterer

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

NewPayResolverFilterer creates a new log filterer instance of PayResolver, bound to a specific deployed contract.

func (*PayResolverFilterer) FilterResolvePayment

func (_PayResolver *PayResolverFilterer) FilterResolvePayment(opts *bind.FilterOpts, payId [][32]byte) (*PayResolverResolvePaymentIterator, error)

FilterResolvePayment is a free log retrieval operation binding the contract event 0xa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb17.

Solidity: event ResolvePayment(bytes32 indexed payId, uint256 amount, uint256 resolveDeadline)

func (*PayResolverFilterer) ParseResolvePayment

func (_PayResolver *PayResolverFilterer) ParseResolvePayment(log types.Log) (*PayResolverResolvePayment, error)

ParseResolvePayment is a log parse operation binding the contract event 0xa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb17.

Solidity: event ResolvePayment(bytes32 indexed payId, uint256 amount, uint256 resolveDeadline)

func (*PayResolverFilterer) WatchResolvePayment

func (_PayResolver *PayResolverFilterer) WatchResolvePayment(opts *bind.WatchOpts, sink chan<- *PayResolverResolvePayment, payId [][32]byte) (event.Subscription, error)

WatchResolvePayment is a free log subscription operation binding the contract event 0xa87e293885636c5018108e8ee0e41d65206d1dfc0a9066f26f2a91a78b2beb17.

Solidity: event ResolvePayment(bytes32 indexed payId, uint256 amount, uint256 resolveDeadline)

type PayResolverRaw

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

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

func (*PayResolverRaw) Call

func (_PayResolver *PayResolverRaw) 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 (*PayResolverRaw) Transact

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

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

func (*PayResolverRaw) Transfer

func (_PayResolver *PayResolverRaw) 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 PayResolverResolvePayment

type PayResolverResolvePayment struct {
	PayId           [32]byte
	Amount          *big.Int
	ResolveDeadline *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

PayResolverResolvePayment represents a ResolvePayment event raised by the PayResolver contract.

type PayResolverResolvePaymentIterator

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

PayResolverResolvePaymentIterator is returned from FilterResolvePayment and is used to iterate over the raw logs and unpacked data for ResolvePayment events raised by the PayResolver contract.

func (*PayResolverResolvePaymentIterator) Close

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

func (*PayResolverResolvePaymentIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PayResolverResolvePaymentIterator) 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 PayResolverSession

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

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

func (*PayResolverSession) PayRegistry

func (_PayResolver *PayResolverSession) PayRegistry() (common.Address, error)

PayRegistry is a free data retrieval call binding the contract method 0x53fc513f.

Solidity: function payRegistry() view returns(address)

func (*PayResolverSession) ResolvePaymentByConditions

func (_PayResolver *PayResolverSession) ResolvePaymentByConditions(_resolvePayRequest []byte) (*types.Transaction, error)

ResolvePaymentByConditions is a paid mutator transaction binding the contract method 0x4367e45e.

Solidity: function resolvePaymentByConditions(bytes _resolvePayRequest) returns()

func (*PayResolverSession) ResolvePaymentByVouchedResult

func (_PayResolver *PayResolverSession) ResolvePaymentByVouchedResult(_vouchedPayResult []byte) (*types.Transaction, error)

ResolvePaymentByVouchedResult is a paid mutator transaction binding the contract method 0x5fff88c8.

Solidity: function resolvePaymentByVouchedResult(bytes _vouchedPayResult) returns()

func (*PayResolverSession) VirtResolver

func (_PayResolver *PayResolverSession) VirtResolver() (common.Address, error)

VirtResolver is a free data retrieval call binding the contract method 0xead54c1b.

Solidity: function virtResolver() view returns(address)

type PayResolverTransactor

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

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

func NewPayResolverTransactor

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

NewPayResolverTransactor creates a new write-only instance of PayResolver, bound to a specific deployed contract.

func (*PayResolverTransactor) ResolvePaymentByConditions

func (_PayResolver *PayResolverTransactor) ResolvePaymentByConditions(opts *bind.TransactOpts, _resolvePayRequest []byte) (*types.Transaction, error)

ResolvePaymentByConditions is a paid mutator transaction binding the contract method 0x4367e45e.

Solidity: function resolvePaymentByConditions(bytes _resolvePayRequest) returns()

func (*PayResolverTransactor) ResolvePaymentByVouchedResult

func (_PayResolver *PayResolverTransactor) ResolvePaymentByVouchedResult(opts *bind.TransactOpts, _vouchedPayResult []byte) (*types.Transaction, error)

ResolvePaymentByVouchedResult is a paid mutator transaction binding the contract method 0x5fff88c8.

Solidity: function resolvePaymentByVouchedResult(bytes _vouchedPayResult) returns()

type PayResolverTransactorRaw

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

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

func (*PayResolverTransactorRaw) Transact

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

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

func (*PayResolverTransactorRaw) Transfer

func (_PayResolver *PayResolverTransactorRaw) 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 PayResolverTransactorSession

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

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

func (*PayResolverTransactorSession) ResolvePaymentByConditions

func (_PayResolver *PayResolverTransactorSession) ResolvePaymentByConditions(_resolvePayRequest []byte) (*types.Transaction, error)

ResolvePaymentByConditions is a paid mutator transaction binding the contract method 0x4367e45e.

Solidity: function resolvePaymentByConditions(bytes _resolvePayRequest) returns()

func (*PayResolverTransactorSession) ResolvePaymentByVouchedResult

func (_PayResolver *PayResolverTransactorSession) ResolvePaymentByVouchedResult(_vouchedPayResult []byte) (*types.Transaction, error)

ResolvePaymentByVouchedResult is a paid mutator transaction binding the contract method 0x5fff88c8.

Solidity: function resolvePaymentByVouchedResult(bytes _vouchedPayResult) returns()

Jump to

Keyboard shortcuts

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