gasaudit

package
v2.1.5 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GasAuditABI = GasAuditMetaData.ABI

GasAuditABI is the input ABI used to generate the binding from. Deprecated: Use GasAuditMetaData.ABI instead.

View Source
var GasAuditMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"callWithBytes32\",\"inputs\":[{\"name\":\"portAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"coutnerpartyChannelId\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"callWithString\",\"inputs\":[{\"name\":\"portAddress\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"channelId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"internalType\":\"string\"},{\"name\":\"coutnerpartyChannelId\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"channelIds1\",\"inputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"channelIds2\",\"inputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"OpenIbcChannel1\",\"inputs\":[{\"name\":\"portAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"channelId\",\"type\":\"bytes32\",\"indexed\":true,\"internalType\":\"bytes32\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"coutnerpartyChannelId\",\"type\":\"bytes32\",\"indexed\":false,\"internalType\":\"bytes32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OpenIbcChannel2\",\"inputs\":[{\"name\":\"portAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"channelId\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"counterpartyPortId\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"},{\"name\":\"coutnerpartyChannelId\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"}],\"anonymous\":false}]",
}

GasAuditMetaData contains all meta data concerning the GasAudit contract.

Functions

This section is empty.

Types

type GasAudit

type GasAudit struct {
	GasAuditCaller     // Read-only binding to the contract
	GasAuditTransactor // Write-only binding to the contract
	GasAuditFilterer   // Log filterer for contract events
}

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

func NewGasAudit

func NewGasAudit(address common.Address, backend bind.ContractBackend) (*GasAudit, error)

NewGasAudit creates a new instance of GasAudit, bound to a specific deployed contract.

type GasAuditCaller

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

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

func NewGasAuditCaller

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

NewGasAuditCaller creates a new read-only instance of GasAudit, bound to a specific deployed contract.

func (*GasAuditCaller) ChannelIds1

func (_GasAudit *GasAuditCaller) ChannelIds1(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

ChannelIds1 is a free data retrieval call binding the contract method 0x5160f9e7.

Solidity: function channelIds1(bytes32 ) view returns(bool)

func (*GasAuditCaller) ChannelIds2

func (_GasAudit *GasAuditCaller) ChannelIds2(opts *bind.CallOpts, arg0 string) (bool, error)

ChannelIds2 is a free data retrieval call binding the contract method 0x187c35e5.

Solidity: function channelIds2(string ) view returns(bool)

type GasAuditCallerRaw

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

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

func (*GasAuditCallerRaw) Call

func (_GasAudit *GasAuditCallerRaw) 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 GasAuditCallerSession

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

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

func (*GasAuditCallerSession) ChannelIds1

func (_GasAudit *GasAuditCallerSession) ChannelIds1(arg0 [32]byte) (bool, error)

ChannelIds1 is a free data retrieval call binding the contract method 0x5160f9e7.

Solidity: function channelIds1(bytes32 ) view returns(bool)

func (*GasAuditCallerSession) ChannelIds2

func (_GasAudit *GasAuditCallerSession) ChannelIds2(arg0 string) (bool, error)

ChannelIds2 is a free data retrieval call binding the contract method 0x187c35e5.

Solidity: function channelIds2(string ) view returns(bool)

type GasAuditFilterer

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

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

func NewGasAuditFilterer

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

NewGasAuditFilterer creates a new log filterer instance of GasAudit, bound to a specific deployed contract.

func (*GasAuditFilterer) FilterOpenIbcChannel1

func (_GasAudit *GasAuditFilterer) FilterOpenIbcChannel1(opts *bind.FilterOpts, portAddress []common.Address, channelId [][32]byte) (*GasAuditOpenIbcChannel1Iterator, error)

FilterOpenIbcChannel1 is a free log retrieval operation binding the contract event 0x9bfa7e679cc290246349f80646c1c53a881353ed5b17ad82b5eb6ba283718155.

Solidity: event OpenIbcChannel1(address indexed portAddress, bytes32 indexed channelId, string counterpartyPortId, bytes32 coutnerpartyChannelId)

func (*GasAuditFilterer) FilterOpenIbcChannel2

func (_GasAudit *GasAuditFilterer) FilterOpenIbcChannel2(opts *bind.FilterOpts, portAddress []common.Address) (*GasAuditOpenIbcChannel2Iterator, error)

FilterOpenIbcChannel2 is a free log retrieval operation binding the contract event 0x57ddcf2e4fd363065bccadcdb56928237fb413c06e42c021b0dca4a3b8e58051.

Solidity: event OpenIbcChannel2(address indexed portAddress, string channelId, string counterpartyPortId, string coutnerpartyChannelId)

func (*GasAuditFilterer) ParseOpenIbcChannel1

func (_GasAudit *GasAuditFilterer) ParseOpenIbcChannel1(log types.Log) (*GasAuditOpenIbcChannel1, error)

ParseOpenIbcChannel1 is a log parse operation binding the contract event 0x9bfa7e679cc290246349f80646c1c53a881353ed5b17ad82b5eb6ba283718155.

Solidity: event OpenIbcChannel1(address indexed portAddress, bytes32 indexed channelId, string counterpartyPortId, bytes32 coutnerpartyChannelId)

func (*GasAuditFilterer) ParseOpenIbcChannel2

func (_GasAudit *GasAuditFilterer) ParseOpenIbcChannel2(log types.Log) (*GasAuditOpenIbcChannel2, error)

ParseOpenIbcChannel2 is a log parse operation binding the contract event 0x57ddcf2e4fd363065bccadcdb56928237fb413c06e42c021b0dca4a3b8e58051.

Solidity: event OpenIbcChannel2(address indexed portAddress, string channelId, string counterpartyPortId, string coutnerpartyChannelId)

func (*GasAuditFilterer) WatchOpenIbcChannel1

func (_GasAudit *GasAuditFilterer) WatchOpenIbcChannel1(opts *bind.WatchOpts, sink chan<- *GasAuditOpenIbcChannel1, portAddress []common.Address, channelId [][32]byte) (event.Subscription, error)

WatchOpenIbcChannel1 is a free log subscription operation binding the contract event 0x9bfa7e679cc290246349f80646c1c53a881353ed5b17ad82b5eb6ba283718155.

Solidity: event OpenIbcChannel1(address indexed portAddress, bytes32 indexed channelId, string counterpartyPortId, bytes32 coutnerpartyChannelId)

func (*GasAuditFilterer) WatchOpenIbcChannel2

func (_GasAudit *GasAuditFilterer) WatchOpenIbcChannel2(opts *bind.WatchOpts, sink chan<- *GasAuditOpenIbcChannel2, portAddress []common.Address) (event.Subscription, error)

WatchOpenIbcChannel2 is a free log subscription operation binding the contract event 0x57ddcf2e4fd363065bccadcdb56928237fb413c06e42c021b0dca4a3b8e58051.

Solidity: event OpenIbcChannel2(address indexed portAddress, string channelId, string counterpartyPortId, string coutnerpartyChannelId)

type GasAuditOpenIbcChannel1

type GasAuditOpenIbcChannel1 struct {
	PortAddress           common.Address
	ChannelId             [32]byte
	CounterpartyPortId    string
	CoutnerpartyChannelId [32]byte
	Raw                   types.Log // Blockchain specific contextual infos
}

GasAuditOpenIbcChannel1 represents a OpenIbcChannel1 event raised by the GasAudit contract.

type GasAuditOpenIbcChannel1Iterator

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

GasAuditOpenIbcChannel1Iterator is returned from FilterOpenIbcChannel1 and is used to iterate over the raw logs and unpacked data for OpenIbcChannel1 events raised by the GasAudit contract.

func (*GasAuditOpenIbcChannel1Iterator) Close

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

func (*GasAuditOpenIbcChannel1Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasAuditOpenIbcChannel1Iterator) 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 GasAuditOpenIbcChannel2

type GasAuditOpenIbcChannel2 struct {
	PortAddress           common.Address
	ChannelId             string
	CounterpartyPortId    string
	CoutnerpartyChannelId string
	Raw                   types.Log // Blockchain specific contextual infos
}

GasAuditOpenIbcChannel2 represents a OpenIbcChannel2 event raised by the GasAudit contract.

type GasAuditOpenIbcChannel2Iterator

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

GasAuditOpenIbcChannel2Iterator is returned from FilterOpenIbcChannel2 and is used to iterate over the raw logs and unpacked data for OpenIbcChannel2 events raised by the GasAudit contract.

func (*GasAuditOpenIbcChannel2Iterator) Close

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

func (*GasAuditOpenIbcChannel2Iterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GasAuditOpenIbcChannel2Iterator) 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 GasAuditRaw

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

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

func (*GasAuditRaw) Call

func (_GasAudit *GasAuditRaw) 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 (*GasAuditRaw) Transact

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

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

func (*GasAuditRaw) Transfer

func (_GasAudit *GasAuditRaw) 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 GasAuditSession

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

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

func (*GasAuditSession) CallWithBytes32

func (_GasAudit *GasAuditSession) CallWithBytes32(portAddress common.Address, channelId [32]byte, counterpartyPortId string, coutnerpartyChannelId [32]byte) (*types.Transaction, error)

CallWithBytes32 is a paid mutator transaction binding the contract method 0xfca6eb29.

Solidity: function callWithBytes32(address portAddress, bytes32 channelId, string counterpartyPortId, bytes32 coutnerpartyChannelId) returns()

func (*GasAuditSession) CallWithString

func (_GasAudit *GasAuditSession) CallWithString(portAddress common.Address, channelId string, counterpartyPortId string, coutnerpartyChannelId string) (*types.Transaction, error)

CallWithString is a paid mutator transaction binding the contract method 0x485b39b5.

Solidity: function callWithString(address portAddress, string channelId, string counterpartyPortId, string coutnerpartyChannelId) returns()

func (*GasAuditSession) ChannelIds1

func (_GasAudit *GasAuditSession) ChannelIds1(arg0 [32]byte) (bool, error)

ChannelIds1 is a free data retrieval call binding the contract method 0x5160f9e7.

Solidity: function channelIds1(bytes32 ) view returns(bool)

func (*GasAuditSession) ChannelIds2

func (_GasAudit *GasAuditSession) ChannelIds2(arg0 string) (bool, error)

ChannelIds2 is a free data retrieval call binding the contract method 0x187c35e5.

Solidity: function channelIds2(string ) view returns(bool)

type GasAuditTransactor

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

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

func NewGasAuditTransactor

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

NewGasAuditTransactor creates a new write-only instance of GasAudit, bound to a specific deployed contract.

func (*GasAuditTransactor) CallWithBytes32

func (_GasAudit *GasAuditTransactor) CallWithBytes32(opts *bind.TransactOpts, portAddress common.Address, channelId [32]byte, counterpartyPortId string, coutnerpartyChannelId [32]byte) (*types.Transaction, error)

CallWithBytes32 is a paid mutator transaction binding the contract method 0xfca6eb29.

Solidity: function callWithBytes32(address portAddress, bytes32 channelId, string counterpartyPortId, bytes32 coutnerpartyChannelId) returns()

func (*GasAuditTransactor) CallWithString

func (_GasAudit *GasAuditTransactor) CallWithString(opts *bind.TransactOpts, portAddress common.Address, channelId string, counterpartyPortId string, coutnerpartyChannelId string) (*types.Transaction, error)

CallWithString is a paid mutator transaction binding the contract method 0x485b39b5.

Solidity: function callWithString(address portAddress, string channelId, string counterpartyPortId, string coutnerpartyChannelId) returns()

type GasAuditTransactorRaw

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

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

func (*GasAuditTransactorRaw) Transact

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

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

func (*GasAuditTransactorRaw) Transfer

func (_GasAudit *GasAuditTransactorRaw) 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 GasAuditTransactorSession

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

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

func (*GasAuditTransactorSession) CallWithBytes32

func (_GasAudit *GasAuditTransactorSession) CallWithBytes32(portAddress common.Address, channelId [32]byte, counterpartyPortId string, coutnerpartyChannelId [32]byte) (*types.Transaction, error)

CallWithBytes32 is a paid mutator transaction binding the contract method 0xfca6eb29.

Solidity: function callWithBytes32(address portAddress, bytes32 channelId, string counterpartyPortId, bytes32 coutnerpartyChannelId) returns()

func (*GasAuditTransactorSession) CallWithString

func (_GasAudit *GasAuditTransactorSession) CallWithString(portAddress common.Address, channelId string, counterpartyPortId string, coutnerpartyChannelId string) (*types.Transaction, error)

CallWithString is a paid mutator transaction binding the contract method 0x485b39b5.

Solidity: function callWithString(address portAddress, string channelId, string counterpartyPortId, string coutnerpartyChannelId) returns()

Jump to

Keyboard shortcuts

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