nonceholder

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var INonceHolderABI = INonceHolderMetaData.ABI

INonceHolderABI is the input ABI used to generate the binding from. Deprecated: Use INonceHolderMetaData.ABI instead.

View Source
var INonceHolderMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"key\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"ValueSetUnderNonce\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getDeploymentNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getMinNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getRawNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_key\",\"type\":\"uint256\"}],\"name\":\"getValueUnderNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"increaseMinNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"incrementDeploymentNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_expectedNonce\",\"type\":\"uint256\"}],\"name\":\"incrementMinNonceIfEquals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_nonce\",\"type\":\"uint256\"}],\"name\":\"isNonceUsed\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_key\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_value\",\"type\":\"uint256\"}],\"name\":\"setValueUnderNonce\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_key\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_shouldBeUsed\",\"type\":\"bool\"}],\"name\":\"validateNonceUsage\",\"outputs\":[],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

INonceHolderMetaData contains all meta data concerning the INonceHolder contract.

Functions

This section is empty.

Types

type INonceHolder

type INonceHolder struct {
	INonceHolderCaller     // Read-only binding to the contract
	INonceHolderTransactor // Write-only binding to the contract
	INonceHolderFilterer   // Log filterer for contract events
}

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

func NewINonceHolder

func NewINonceHolder(address common.Address, backend bind.ContractBackend) (*INonceHolder, error)

NewINonceHolder creates a new instance of INonceHolder, bound to a specific deployed contract.

type INonceHolderCaller

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

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

func NewINonceHolderCaller

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

NewINonceHolderCaller creates a new read-only instance of INonceHolder, bound to a specific deployed contract.

func (*INonceHolderCaller) GetDeploymentNonce

func (_INonceHolder *INonceHolderCaller) GetDeploymentNonce(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

GetDeploymentNonce is a free data retrieval call binding the contract method 0xfb1a9a57.

Solidity: function getDeploymentNonce(address _address) view returns(uint256)

func (*INonceHolderCaller) GetMinNonce

func (_INonceHolder *INonceHolderCaller) GetMinNonce(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

GetMinNonce is a free data retrieval call binding the contract method 0x896909dc.

Solidity: function getMinNonce(address _address) view returns(uint256)

func (*INonceHolderCaller) GetRawNonce

func (_INonceHolder *INonceHolderCaller) GetRawNonce(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

GetRawNonce is a free data retrieval call binding the contract method 0x5aa9b6b5.

Solidity: function getRawNonce(address _address) view returns(uint256)

func (*INonceHolderCaller) GetValueUnderNonce

func (_INonceHolder *INonceHolderCaller) GetValueUnderNonce(opts *bind.CallOpts, _key *big.Int) (*big.Int, error)

GetValueUnderNonce is a free data retrieval call binding the contract method 0x55d35d18.

Solidity: function getValueUnderNonce(uint256 _key) view returns(uint256)

func (*INonceHolderCaller) IsNonceUsed

func (_INonceHolder *INonceHolderCaller) IsNonceUsed(opts *bind.CallOpts, _address common.Address, _nonce *big.Int) (bool, error)

IsNonceUsed is a free data retrieval call binding the contract method 0xcab7e8eb.

Solidity: function isNonceUsed(address _address, uint256 _nonce) view returns(bool)

func (*INonceHolderCaller) ValidateNonceUsage

func (_INonceHolder *INonceHolderCaller) ValidateNonceUsage(opts *bind.CallOpts, _address common.Address, _key *big.Int, _shouldBeUsed bool) error

ValidateNonceUsage is a free data retrieval call binding the contract method 0x6ee1dc20.

Solidity: function validateNonceUsage(address _address, uint256 _key, bool _shouldBeUsed) view returns()

type INonceHolderCallerRaw

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

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

func (*INonceHolderCallerRaw) Call

func (_INonceHolder *INonceHolderCallerRaw) 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 INonceHolderCallerSession

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

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

func (*INonceHolderCallerSession) GetDeploymentNonce

func (_INonceHolder *INonceHolderCallerSession) GetDeploymentNonce(_address common.Address) (*big.Int, error)

GetDeploymentNonce is a free data retrieval call binding the contract method 0xfb1a9a57.

Solidity: function getDeploymentNonce(address _address) view returns(uint256)

func (*INonceHolderCallerSession) GetMinNonce

func (_INonceHolder *INonceHolderCallerSession) GetMinNonce(_address common.Address) (*big.Int, error)

GetMinNonce is a free data retrieval call binding the contract method 0x896909dc.

Solidity: function getMinNonce(address _address) view returns(uint256)

func (*INonceHolderCallerSession) GetRawNonce

func (_INonceHolder *INonceHolderCallerSession) GetRawNonce(_address common.Address) (*big.Int, error)

GetRawNonce is a free data retrieval call binding the contract method 0x5aa9b6b5.

Solidity: function getRawNonce(address _address) view returns(uint256)

func (*INonceHolderCallerSession) GetValueUnderNonce

func (_INonceHolder *INonceHolderCallerSession) GetValueUnderNonce(_key *big.Int) (*big.Int, error)

GetValueUnderNonce is a free data retrieval call binding the contract method 0x55d35d18.

Solidity: function getValueUnderNonce(uint256 _key) view returns(uint256)

func (*INonceHolderCallerSession) IsNonceUsed

func (_INonceHolder *INonceHolderCallerSession) IsNonceUsed(_address common.Address, _nonce *big.Int) (bool, error)

IsNonceUsed is a free data retrieval call binding the contract method 0xcab7e8eb.

Solidity: function isNonceUsed(address _address, uint256 _nonce) view returns(bool)

func (*INonceHolderCallerSession) ValidateNonceUsage

func (_INonceHolder *INonceHolderCallerSession) ValidateNonceUsage(_address common.Address, _key *big.Int, _shouldBeUsed bool) error

ValidateNonceUsage is a free data retrieval call binding the contract method 0x6ee1dc20.

Solidity: function validateNonceUsage(address _address, uint256 _key, bool _shouldBeUsed) view returns()

type INonceHolderFilterer

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

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

func NewINonceHolderFilterer

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

NewINonceHolderFilterer creates a new log filterer instance of INonceHolder, bound to a specific deployed contract.

func (*INonceHolderFilterer) FilterValueSetUnderNonce

func (_INonceHolder *INonceHolderFilterer) FilterValueSetUnderNonce(opts *bind.FilterOpts, accountAddress []common.Address, key []*big.Int) (*INonceHolderValueSetUnderNonceIterator, error)

FilterValueSetUnderNonce is a free log retrieval operation binding the contract event 0xda2b716e5a5d5f602b9a5842bcd89c215b125258dfea271a03e5e0e801d93a8c.

Solidity: event ValueSetUnderNonce(address indexed accountAddress, uint256 indexed key, uint256 value)

func (*INonceHolderFilterer) ParseValueSetUnderNonce

func (_INonceHolder *INonceHolderFilterer) ParseValueSetUnderNonce(log types.Log) (*INonceHolderValueSetUnderNonce, error)

ParseValueSetUnderNonce is a log parse operation binding the contract event 0xda2b716e5a5d5f602b9a5842bcd89c215b125258dfea271a03e5e0e801d93a8c.

Solidity: event ValueSetUnderNonce(address indexed accountAddress, uint256 indexed key, uint256 value)

func (*INonceHolderFilterer) WatchValueSetUnderNonce

func (_INonceHolder *INonceHolderFilterer) WatchValueSetUnderNonce(opts *bind.WatchOpts, sink chan<- *INonceHolderValueSetUnderNonce, accountAddress []common.Address, key []*big.Int) (event.Subscription, error)

WatchValueSetUnderNonce is a free log subscription operation binding the contract event 0xda2b716e5a5d5f602b9a5842bcd89c215b125258dfea271a03e5e0e801d93a8c.

Solidity: event ValueSetUnderNonce(address indexed accountAddress, uint256 indexed key, uint256 value)

type INonceHolderRaw

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

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

func (*INonceHolderRaw) Call

func (_INonceHolder *INonceHolderRaw) 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 (*INonceHolderRaw) Transact

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

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

func (*INonceHolderRaw) Transfer

func (_INonceHolder *INonceHolderRaw) 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 INonceHolderSession

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

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

func (*INonceHolderSession) GetDeploymentNonce

func (_INonceHolder *INonceHolderSession) GetDeploymentNonce(_address common.Address) (*big.Int, error)

GetDeploymentNonce is a free data retrieval call binding the contract method 0xfb1a9a57.

Solidity: function getDeploymentNonce(address _address) view returns(uint256)

func (*INonceHolderSession) GetMinNonce

func (_INonceHolder *INonceHolderSession) GetMinNonce(_address common.Address) (*big.Int, error)

GetMinNonce is a free data retrieval call binding the contract method 0x896909dc.

Solidity: function getMinNonce(address _address) view returns(uint256)

func (*INonceHolderSession) GetRawNonce

func (_INonceHolder *INonceHolderSession) GetRawNonce(_address common.Address) (*big.Int, error)

GetRawNonce is a free data retrieval call binding the contract method 0x5aa9b6b5.

Solidity: function getRawNonce(address _address) view returns(uint256)

func (*INonceHolderSession) GetValueUnderNonce

func (_INonceHolder *INonceHolderSession) GetValueUnderNonce(_key *big.Int) (*big.Int, error)

GetValueUnderNonce is a free data retrieval call binding the contract method 0x55d35d18.

Solidity: function getValueUnderNonce(uint256 _key) view returns(uint256)

func (*INonceHolderSession) IncreaseMinNonce

func (_INonceHolder *INonceHolderSession) IncreaseMinNonce(_value *big.Int) (*types.Transaction, error)

IncreaseMinNonce is a paid mutator transaction binding the contract method 0x38a78092.

Solidity: function increaseMinNonce(uint256 _value) returns(uint256)

func (*INonceHolderSession) IncrementDeploymentNonce

func (_INonceHolder *INonceHolderSession) IncrementDeploymentNonce(_address common.Address) (*types.Transaction, error)

IncrementDeploymentNonce is a paid mutator transaction binding the contract method 0x306395c6.

Solidity: function incrementDeploymentNonce(address _address) returns(uint256)

func (*INonceHolderSession) IncrementMinNonceIfEquals

func (_INonceHolder *INonceHolderSession) IncrementMinNonceIfEquals(_expectedNonce *big.Int) (*types.Transaction, error)

IncrementMinNonceIfEquals is a paid mutator transaction binding the contract method 0xe1239cd8.

Solidity: function incrementMinNonceIfEquals(uint256 _expectedNonce) returns()

func (*INonceHolderSession) IsNonceUsed

func (_INonceHolder *INonceHolderSession) IsNonceUsed(_address common.Address, _nonce *big.Int) (bool, error)

IsNonceUsed is a free data retrieval call binding the contract method 0xcab7e8eb.

Solidity: function isNonceUsed(address _address, uint256 _nonce) view returns(bool)

func (*INonceHolderSession) SetValueUnderNonce

func (_INonceHolder *INonceHolderSession) SetValueUnderNonce(_key *big.Int, _value *big.Int) (*types.Transaction, error)

SetValueUnderNonce is a paid mutator transaction binding the contract method 0x155fd27a.

Solidity: function setValueUnderNonce(uint256 _key, uint256 _value) returns()

func (*INonceHolderSession) ValidateNonceUsage

func (_INonceHolder *INonceHolderSession) ValidateNonceUsage(_address common.Address, _key *big.Int, _shouldBeUsed bool) error

ValidateNonceUsage is a free data retrieval call binding the contract method 0x6ee1dc20.

Solidity: function validateNonceUsage(address _address, uint256 _key, bool _shouldBeUsed) view returns()

type INonceHolderTransactor

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

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

func NewINonceHolderTransactor

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

NewINonceHolderTransactor creates a new write-only instance of INonceHolder, bound to a specific deployed contract.

func (*INonceHolderTransactor) IncreaseMinNonce

func (_INonceHolder *INonceHolderTransactor) IncreaseMinNonce(opts *bind.TransactOpts, _value *big.Int) (*types.Transaction, error)

IncreaseMinNonce is a paid mutator transaction binding the contract method 0x38a78092.

Solidity: function increaseMinNonce(uint256 _value) returns(uint256)

func (*INonceHolderTransactor) IncrementDeploymentNonce

func (_INonceHolder *INonceHolderTransactor) IncrementDeploymentNonce(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

IncrementDeploymentNonce is a paid mutator transaction binding the contract method 0x306395c6.

Solidity: function incrementDeploymentNonce(address _address) returns(uint256)

func (*INonceHolderTransactor) IncrementMinNonceIfEquals

func (_INonceHolder *INonceHolderTransactor) IncrementMinNonceIfEquals(opts *bind.TransactOpts, _expectedNonce *big.Int) (*types.Transaction, error)

IncrementMinNonceIfEquals is a paid mutator transaction binding the contract method 0xe1239cd8.

Solidity: function incrementMinNonceIfEquals(uint256 _expectedNonce) returns()

func (*INonceHolderTransactor) SetValueUnderNonce

func (_INonceHolder *INonceHolderTransactor) SetValueUnderNonce(opts *bind.TransactOpts, _key *big.Int, _value *big.Int) (*types.Transaction, error)

SetValueUnderNonce is a paid mutator transaction binding the contract method 0x155fd27a.

Solidity: function setValueUnderNonce(uint256 _key, uint256 _value) returns()

type INonceHolderTransactorRaw

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

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

func (*INonceHolderTransactorRaw) Transact

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

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

func (*INonceHolderTransactorRaw) Transfer

func (_INonceHolder *INonceHolderTransactorRaw) 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 INonceHolderTransactorSession

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

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

func (*INonceHolderTransactorSession) IncreaseMinNonce

func (_INonceHolder *INonceHolderTransactorSession) IncreaseMinNonce(_value *big.Int) (*types.Transaction, error)

IncreaseMinNonce is a paid mutator transaction binding the contract method 0x38a78092.

Solidity: function increaseMinNonce(uint256 _value) returns(uint256)

func (*INonceHolderTransactorSession) IncrementDeploymentNonce

func (_INonceHolder *INonceHolderTransactorSession) IncrementDeploymentNonce(_address common.Address) (*types.Transaction, error)

IncrementDeploymentNonce is a paid mutator transaction binding the contract method 0x306395c6.

Solidity: function incrementDeploymentNonce(address _address) returns(uint256)

func (*INonceHolderTransactorSession) IncrementMinNonceIfEquals

func (_INonceHolder *INonceHolderTransactorSession) IncrementMinNonceIfEquals(_expectedNonce *big.Int) (*types.Transaction, error)

IncrementMinNonceIfEquals is a paid mutator transaction binding the contract method 0xe1239cd8.

Solidity: function incrementMinNonceIfEquals(uint256 _expectedNonce) returns()

func (*INonceHolderTransactorSession) SetValueUnderNonce

func (_INonceHolder *INonceHolderTransactorSession) SetValueUnderNonce(_key *big.Int, _value *big.Int) (*types.Transaction, error)

SetValueUnderNonce is a paid mutator transaction binding the contract method 0x155fd27a.

Solidity: function setValueUnderNonce(uint256 _key, uint256 _value) returns()

type INonceHolderValueSetUnderNonce

type INonceHolderValueSetUnderNonce struct {
	AccountAddress common.Address
	Key            *big.Int
	Value          *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

INonceHolderValueSetUnderNonce represents a ValueSetUnderNonce event raised by the INonceHolder contract.

type INonceHolderValueSetUnderNonceIterator

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

INonceHolderValueSetUnderNonceIterator is returned from FilterValueSetUnderNonce and is used to iterate over the raw logs and unpacked data for ValueSetUnderNonce events raised by the INonceHolder contract.

func (*INonceHolderValueSetUnderNonceIterator) Close

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

func (*INonceHolderValueSetUnderNonceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INonceHolderValueSetUnderNonceIterator) 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.

Jump to

Keyboard shortcuts

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