payregistry

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const PayRegistryABI = "" /* 2904-byte string literal not displayed */

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

Variables

View Source
var PayRegistryBin = "" /* 5998-byte string literal not displayed */

PayRegistryBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type PayRegistry

type PayRegistry struct {
	PayRegistryCaller     // Read-only binding to the contract
	PayRegistryTransactor // Write-only binding to the contract
	PayRegistryFilterer   // Log filterer for contract events
}

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

func DeployPayRegistry

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

DeployPayRegistry deploys a new Ethereum contract, binding an instance of PayRegistry to it.

func NewPayRegistry

func NewPayRegistry(address common.Address, backend bind.ContractBackend) (*PayRegistry, error)

NewPayRegistry creates a new instance of PayRegistry, bound to a specific deployed contract.

type PayRegistryCaller

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

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

func NewPayRegistryCaller

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

NewPayRegistryCaller creates a new read-only instance of PayRegistry, bound to a specific deployed contract.

func (*PayRegistryCaller) CalculatePayId

func (_PayRegistry *PayRegistryCaller) CalculatePayId(opts *bind.CallOpts, _payHash [32]byte, _setter common.Address) ([32]byte, error)

CalculatePayId is a free data retrieval call binding the contract method 0x96efe573.

Solidity: function calculatePayId(bytes32 _payHash, address _setter) pure returns(bytes32)

func (*PayRegistryCaller) GetPayAmounts

func (_PayRegistry *PayRegistryCaller) GetPayAmounts(opts *bind.CallOpts, _payIds [][32]byte, _lastPayResolveDeadline *big.Int) ([]*big.Int, error)

GetPayAmounts is a free data retrieval call binding the contract method 0x7cac39cf.

Solidity: function getPayAmounts(bytes32[] _payIds, uint256 _lastPayResolveDeadline) view returns(uint256[])

func (*PayRegistryCaller) GetPayInfo

func (_PayRegistry *PayRegistryCaller) GetPayInfo(opts *bind.CallOpts, _payId [32]byte) (*big.Int, *big.Int, error)

GetPayInfo is a free data retrieval call binding the contract method 0x27b0e058.

Solidity: function getPayInfo(bytes32 _payId) view returns(uint256, uint256)

func (*PayRegistryCaller) PayInfoMap

func (_PayRegistry *PayRegistryCaller) PayInfoMap(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Amount          *big.Int
	ResolveDeadline *big.Int
}, error)

PayInfoMap is a free data retrieval call binding the contract method 0x8f13b2f5.

Solidity: function payInfoMap(bytes32 ) view returns(uint256 amount, uint256 resolveDeadline)

type PayRegistryCallerRaw

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

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

func (*PayRegistryCallerRaw) Call

func (_PayRegistry *PayRegistryCallerRaw) 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 PayRegistryCallerSession

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

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

func (*PayRegistryCallerSession) CalculatePayId

func (_PayRegistry *PayRegistryCallerSession) CalculatePayId(_payHash [32]byte, _setter common.Address) ([32]byte, error)

CalculatePayId is a free data retrieval call binding the contract method 0x96efe573.

Solidity: function calculatePayId(bytes32 _payHash, address _setter) pure returns(bytes32)

func (*PayRegistryCallerSession) GetPayAmounts

func (_PayRegistry *PayRegistryCallerSession) GetPayAmounts(_payIds [][32]byte, _lastPayResolveDeadline *big.Int) ([]*big.Int, error)

GetPayAmounts is a free data retrieval call binding the contract method 0x7cac39cf.

Solidity: function getPayAmounts(bytes32[] _payIds, uint256 _lastPayResolveDeadline) view returns(uint256[])

func (*PayRegistryCallerSession) GetPayInfo

func (_PayRegistry *PayRegistryCallerSession) GetPayInfo(_payId [32]byte) (*big.Int, *big.Int, error)

GetPayInfo is a free data retrieval call binding the contract method 0x27b0e058.

Solidity: function getPayInfo(bytes32 _payId) view returns(uint256, uint256)

func (*PayRegistryCallerSession) PayInfoMap

func (_PayRegistry *PayRegistryCallerSession) PayInfoMap(arg0 [32]byte) (struct {
	Amount          *big.Int
	ResolveDeadline *big.Int
}, error)

PayInfoMap is a free data retrieval call binding the contract method 0x8f13b2f5.

Solidity: function payInfoMap(bytes32 ) view returns(uint256 amount, uint256 resolveDeadline)

type PayRegistryFilterer

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

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

func NewPayRegistryFilterer

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

NewPayRegistryFilterer creates a new log filterer instance of PayRegistry, bound to a specific deployed contract.

func (*PayRegistryFilterer) FilterPayInfoUpdate

func (_PayRegistry *PayRegistryFilterer) FilterPayInfoUpdate(opts *bind.FilterOpts, payId [][32]byte) (*PayRegistryPayInfoUpdateIterator, error)

FilterPayInfoUpdate is a free log retrieval operation binding the contract event 0x9e9acc6d43d5d7bd6fa143ef0ee1d224cfe2bb010b7e3acf44878d6314ebc607.

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

func (*PayRegistryFilterer) ParsePayInfoUpdate

func (_PayRegistry *PayRegistryFilterer) ParsePayInfoUpdate(log types.Log) (*PayRegistryPayInfoUpdate, error)

ParsePayInfoUpdate is a log parse operation binding the contract event 0x9e9acc6d43d5d7bd6fa143ef0ee1d224cfe2bb010b7e3acf44878d6314ebc607.

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

func (*PayRegistryFilterer) WatchPayInfoUpdate

func (_PayRegistry *PayRegistryFilterer) WatchPayInfoUpdate(opts *bind.WatchOpts, sink chan<- *PayRegistryPayInfoUpdate, payId [][32]byte) (event.Subscription, error)

WatchPayInfoUpdate is a free log subscription operation binding the contract event 0x9e9acc6d43d5d7bd6fa143ef0ee1d224cfe2bb010b7e3acf44878d6314ebc607.

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

type PayRegistryPayInfoUpdate

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

PayRegistryPayInfoUpdate represents a PayInfoUpdate event raised by the PayRegistry contract.

type PayRegistryPayInfoUpdateIterator

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

PayRegistryPayInfoUpdateIterator is returned from FilterPayInfoUpdate and is used to iterate over the raw logs and unpacked data for PayInfoUpdate events raised by the PayRegistry contract.

func (*PayRegistryPayInfoUpdateIterator) Close

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

func (*PayRegistryPayInfoUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PayRegistryPayInfoUpdateIterator) 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 PayRegistryRaw

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

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

func (*PayRegistryRaw) Call

func (_PayRegistry *PayRegistryRaw) 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 (*PayRegistryRaw) Transact

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

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

func (*PayRegistryRaw) Transfer

func (_PayRegistry *PayRegistryRaw) 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 PayRegistrySession

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

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

func (*PayRegistrySession) CalculatePayId

func (_PayRegistry *PayRegistrySession) CalculatePayId(_payHash [32]byte, _setter common.Address) ([32]byte, error)

CalculatePayId is a free data retrieval call binding the contract method 0x96efe573.

Solidity: function calculatePayId(bytes32 _payHash, address _setter) pure returns(bytes32)

func (*PayRegistrySession) GetPayAmounts

func (_PayRegistry *PayRegistrySession) GetPayAmounts(_payIds [][32]byte, _lastPayResolveDeadline *big.Int) ([]*big.Int, error)

GetPayAmounts is a free data retrieval call binding the contract method 0x7cac39cf.

Solidity: function getPayAmounts(bytes32[] _payIds, uint256 _lastPayResolveDeadline) view returns(uint256[])

func (*PayRegistrySession) GetPayInfo

func (_PayRegistry *PayRegistrySession) GetPayInfo(_payId [32]byte) (*big.Int, *big.Int, error)

GetPayInfo is a free data retrieval call binding the contract method 0x27b0e058.

Solidity: function getPayInfo(bytes32 _payId) view returns(uint256, uint256)

func (*PayRegistrySession) PayInfoMap

func (_PayRegistry *PayRegistrySession) PayInfoMap(arg0 [32]byte) (struct {
	Amount          *big.Int
	ResolveDeadline *big.Int
}, error)

PayInfoMap is a free data retrieval call binding the contract method 0x8f13b2f5.

Solidity: function payInfoMap(bytes32 ) view returns(uint256 amount, uint256 resolveDeadline)

func (*PayRegistrySession) SetPayAmount

func (_PayRegistry *PayRegistrySession) SetPayAmount(_payHash [32]byte, _amt *big.Int) (*types.Transaction, error)

SetPayAmount is a paid mutator transaction binding the contract method 0xf8fb012f.

Solidity: function setPayAmount(bytes32 _payHash, uint256 _amt) returns()

func (*PayRegistrySession) SetPayAmounts

func (_PayRegistry *PayRegistrySession) SetPayAmounts(_payHashes [][32]byte, _amts []*big.Int) (*types.Transaction, error)

SetPayAmounts is a paid mutator transaction binding the contract method 0x204a95ee.

Solidity: function setPayAmounts(bytes32[] _payHashes, uint256[] _amts) returns()

func (*PayRegistrySession) SetPayDeadline

func (_PayRegistry *PayRegistrySession) SetPayDeadline(_payHash [32]byte, _deadline *big.Int) (*types.Transaction, error)

SetPayDeadline is a paid mutator transaction binding the contract method 0xcdfa146b.

Solidity: function setPayDeadline(bytes32 _payHash, uint256 _deadline) returns()

func (*PayRegistrySession) SetPayDeadlines

func (_PayRegistry *PayRegistrySession) SetPayDeadlines(_payHashes [][32]byte, _deadlines []*big.Int) (*types.Transaction, error)

SetPayDeadlines is a paid mutator transaction binding the contract method 0x0daddd34.

Solidity: function setPayDeadlines(bytes32[] _payHashes, uint256[] _deadlines) returns()

func (*PayRegistrySession) SetPayInfo

func (_PayRegistry *PayRegistrySession) SetPayInfo(_payHash [32]byte, _amt *big.Int, _deadline *big.Int) (*types.Transaction, error)

SetPayInfo is a paid mutator transaction binding the contract method 0xe1e35490.

Solidity: function setPayInfo(bytes32 _payHash, uint256 _amt, uint256 _deadline) returns()

func (*PayRegistrySession) SetPayInfos

func (_PayRegistry *PayRegistrySession) SetPayInfos(_payHashes [][32]byte, _amts []*big.Int, _deadlines []*big.Int) (*types.Transaction, error)

SetPayInfos is a paid mutator transaction binding the contract method 0x414f7e0e.

Solidity: function setPayInfos(bytes32[] _payHashes, uint256[] _amts, uint256[] _deadlines) returns()

type PayRegistryTransactor

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

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

func NewPayRegistryTransactor

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

NewPayRegistryTransactor creates a new write-only instance of PayRegistry, bound to a specific deployed contract.

func (*PayRegistryTransactor) SetPayAmount

func (_PayRegistry *PayRegistryTransactor) SetPayAmount(opts *bind.TransactOpts, _payHash [32]byte, _amt *big.Int) (*types.Transaction, error)

SetPayAmount is a paid mutator transaction binding the contract method 0xf8fb012f.

Solidity: function setPayAmount(bytes32 _payHash, uint256 _amt) returns()

func (*PayRegistryTransactor) SetPayAmounts

func (_PayRegistry *PayRegistryTransactor) SetPayAmounts(opts *bind.TransactOpts, _payHashes [][32]byte, _amts []*big.Int) (*types.Transaction, error)

SetPayAmounts is a paid mutator transaction binding the contract method 0x204a95ee.

Solidity: function setPayAmounts(bytes32[] _payHashes, uint256[] _amts) returns()

func (*PayRegistryTransactor) SetPayDeadline

func (_PayRegistry *PayRegistryTransactor) SetPayDeadline(opts *bind.TransactOpts, _payHash [32]byte, _deadline *big.Int) (*types.Transaction, error)

SetPayDeadline is a paid mutator transaction binding the contract method 0xcdfa146b.

Solidity: function setPayDeadline(bytes32 _payHash, uint256 _deadline) returns()

func (*PayRegistryTransactor) SetPayDeadlines

func (_PayRegistry *PayRegistryTransactor) SetPayDeadlines(opts *bind.TransactOpts, _payHashes [][32]byte, _deadlines []*big.Int) (*types.Transaction, error)

SetPayDeadlines is a paid mutator transaction binding the contract method 0x0daddd34.

Solidity: function setPayDeadlines(bytes32[] _payHashes, uint256[] _deadlines) returns()

func (*PayRegistryTransactor) SetPayInfo

func (_PayRegistry *PayRegistryTransactor) SetPayInfo(opts *bind.TransactOpts, _payHash [32]byte, _amt *big.Int, _deadline *big.Int) (*types.Transaction, error)

SetPayInfo is a paid mutator transaction binding the contract method 0xe1e35490.

Solidity: function setPayInfo(bytes32 _payHash, uint256 _amt, uint256 _deadline) returns()

func (*PayRegistryTransactor) SetPayInfos

func (_PayRegistry *PayRegistryTransactor) SetPayInfos(opts *bind.TransactOpts, _payHashes [][32]byte, _amts []*big.Int, _deadlines []*big.Int) (*types.Transaction, error)

SetPayInfos is a paid mutator transaction binding the contract method 0x414f7e0e.

Solidity: function setPayInfos(bytes32[] _payHashes, uint256[] _amts, uint256[] _deadlines) returns()

type PayRegistryTransactorRaw

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

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

func (*PayRegistryTransactorRaw) Transact

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

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

func (*PayRegistryTransactorRaw) Transfer

func (_PayRegistry *PayRegistryTransactorRaw) 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 PayRegistryTransactorSession

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

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

func (*PayRegistryTransactorSession) SetPayAmount

func (_PayRegistry *PayRegistryTransactorSession) SetPayAmount(_payHash [32]byte, _amt *big.Int) (*types.Transaction, error)

SetPayAmount is a paid mutator transaction binding the contract method 0xf8fb012f.

Solidity: function setPayAmount(bytes32 _payHash, uint256 _amt) returns()

func (*PayRegistryTransactorSession) SetPayAmounts

func (_PayRegistry *PayRegistryTransactorSession) SetPayAmounts(_payHashes [][32]byte, _amts []*big.Int) (*types.Transaction, error)

SetPayAmounts is a paid mutator transaction binding the contract method 0x204a95ee.

Solidity: function setPayAmounts(bytes32[] _payHashes, uint256[] _amts) returns()

func (*PayRegistryTransactorSession) SetPayDeadline

func (_PayRegistry *PayRegistryTransactorSession) SetPayDeadline(_payHash [32]byte, _deadline *big.Int) (*types.Transaction, error)

SetPayDeadline is a paid mutator transaction binding the contract method 0xcdfa146b.

Solidity: function setPayDeadline(bytes32 _payHash, uint256 _deadline) returns()

func (*PayRegistryTransactorSession) SetPayDeadlines

func (_PayRegistry *PayRegistryTransactorSession) SetPayDeadlines(_payHashes [][32]byte, _deadlines []*big.Int) (*types.Transaction, error)

SetPayDeadlines is a paid mutator transaction binding the contract method 0x0daddd34.

Solidity: function setPayDeadlines(bytes32[] _payHashes, uint256[] _deadlines) returns()

func (*PayRegistryTransactorSession) SetPayInfo

func (_PayRegistry *PayRegistryTransactorSession) SetPayInfo(_payHash [32]byte, _amt *big.Int, _deadline *big.Int) (*types.Transaction, error)

SetPayInfo is a paid mutator transaction binding the contract method 0xe1e35490.

Solidity: function setPayInfo(bytes32 _payHash, uint256 _amt, uint256 _deadline) returns()

func (*PayRegistryTransactorSession) SetPayInfos

func (_PayRegistry *PayRegistryTransactorSession) SetPayInfos(_payHashes [][32]byte, _amts []*big.Int, _deadlines []*big.Int) (*types.Transaction, error)

SetPayInfos is a paid mutator transaction binding the contract method 0x414f7e0e.

Solidity: function setPayInfos(bytes32[] _payHashes, uint256[] _amts, uint256[] _deadlines) returns()

Jump to

Keyboard shortcuts

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