Documentation ¶
Index ¶
- Constants
- Variables
- type BridgeCounter
- type BridgeCounterCaller
- func (_BridgeCounter *BridgeCounterCaller) Bridge(opts *bind.CallOpts) (common.ContractAddress, error)
- func (_BridgeCounter *BridgeCounterCaller) DepositCounts(opts *bind.CallOpts, arg0 uint8) (uint64, error)
- func (_BridgeCounter *BridgeCounterCaller) Owner(opts *bind.CallOpts) (common.ContractAddress, error)
- type BridgeCounterCallerRaw
- type BridgeCounterCallerSession
- type BridgeCounterFilterer
- type BridgeCounterRaw
- func (_BridgeCounter *BridgeCounterRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BridgeCounter *BridgeCounterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BridgeCounter *BridgeCounterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BridgeCounterSession
- func (_BridgeCounter *BridgeCounterSession) Bridge() (common.ContractAddress, error)
- func (_BridgeCounter *BridgeCounterSession) DepositCounts(arg0 uint8) (uint64, error)
- func (_BridgeCounter *BridgeCounterSession) Incr(destinationChainID uint8) (*types.Transaction, error)
- func (_BridgeCounter *BridgeCounterSession) Owner() (common.ContractAddress, error)
- func (_BridgeCounter *BridgeCounterSession) SetBridge(bridge_ common.Address) (*types.Transaction, error)
- func (_BridgeCounter *BridgeCounterSession) SetDestStartNonce(destinationChainID uint8, start uint64) (*types.Transaction, error)
- type BridgeCounterTransactor
- func (_BridgeCounter *BridgeCounterTransactor) Incr(opts *bind.TransactOpts, destinationChainID uint8) (*types.Transaction, error)
- func (_BridgeCounter *BridgeCounterTransactor) SetBridge(opts *bind.TransactOpts, bridge_ common.Address) (*types.Transaction, error)
- func (_BridgeCounter *BridgeCounterTransactor) SetDestStartNonce(opts *bind.TransactOpts, destinationChainID uint8, start uint64) (*types.Transaction, error)
- type BridgeCounterTransactorRaw
- type BridgeCounterTransactorSession
- func (_BridgeCounter *BridgeCounterTransactorSession) Incr(destinationChainID uint8) (*types.Transaction, error)
- func (_BridgeCounter *BridgeCounterTransactorSession) SetBridge(bridge_ common.Address) (*types.Transaction, error)
- func (_BridgeCounter *BridgeCounterTransactorSession) SetDestStartNonce(destinationChainID uint8, start uint64) (*types.Transaction, error)
Constants ¶
const BridgeCounterABI = "" /* 1413-byte string literal not displayed */
BridgeCounterABI is the input ABI used to generate the binding from.
Variables ¶
var BridgeCounterBin = "" /* 2128-byte string literal not displayed */
BridgeCounterBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type BridgeCounter ¶
type BridgeCounter struct { BridgeCounterCaller // Read-only binding to the contract BridgeCounterTransactor // Write-only binding to the contract BridgeCounterFilterer // Log filterer for contract events }
BridgeCounter is an auto generated Go binding around an Ethereum contract.
func DeployBridgeCounter ¶
func DeployBridgeCounter(auth *bind.TransactOpts, backend bind.ContractBackend, bridge_ common.Address) (common.Address, *types.Transaction, *BridgeCounter, error)
DeployBridgeCounter deploys a new Ethereum contract, binding an instance of BridgeCounter to it.
func NewBridgeCounter ¶
func NewBridgeCounter(address common.Address, backend bind.ContractBackend) (*BridgeCounter, error)
NewBridgeCounter creates a new instance of BridgeCounter, bound to a specific deployed contract.
type BridgeCounterCaller ¶
type BridgeCounterCaller struct {
// contains filtered or unexported fields
}
BridgeCounterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBridgeCounterCaller ¶
func NewBridgeCounterCaller(address common.Address, caller bind.ContractCaller) (*BridgeCounterCaller, error)
NewBridgeCounterCaller creates a new read-only instance of BridgeCounter, bound to a specific deployed contract.
func (*BridgeCounterCaller) Bridge ¶
func (_BridgeCounter *BridgeCounterCaller) Bridge(opts *bind.CallOpts) (common.ContractAddress, error)
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*BridgeCounterCaller) DepositCounts ¶
func (_BridgeCounter *BridgeCounterCaller) DepositCounts(opts *bind.CallOpts, arg0 uint8) (uint64, error)
DepositCounts is a free data retrieval call binding the contract method 0x8b8ddc7a.
Solidity: function depositCounts(uint8 ) view returns(uint64)
func (*BridgeCounterCaller) Owner ¶
func (_BridgeCounter *BridgeCounterCaller) Owner(opts *bind.CallOpts) (common.ContractAddress, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
type BridgeCounterCallerRaw ¶
type BridgeCounterCallerRaw struct {
Contract *BridgeCounterCaller // Generic read-only contract binding to access the raw methods on
}
BridgeCounterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BridgeCounterCallerRaw) Call ¶
func (_BridgeCounter *BridgeCounterCallerRaw) 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 BridgeCounterCallerSession ¶
type BridgeCounterCallerSession struct { Contract *BridgeCounterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BridgeCounterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BridgeCounterCallerSession) Bridge ¶
func (_BridgeCounter *BridgeCounterCallerSession) Bridge() (common.ContractAddress, error)
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*BridgeCounterCallerSession) DepositCounts ¶
func (_BridgeCounter *BridgeCounterCallerSession) DepositCounts(arg0 uint8) (uint64, error)
DepositCounts is a free data retrieval call binding the contract method 0x8b8ddc7a.
Solidity: function depositCounts(uint8 ) view returns(uint64)
func (*BridgeCounterCallerSession) Owner ¶
func (_BridgeCounter *BridgeCounterCallerSession) Owner() (common.ContractAddress, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
type BridgeCounterFilterer ¶
type BridgeCounterFilterer struct {
// contains filtered or unexported fields
}
BridgeCounterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBridgeCounterFilterer ¶
func NewBridgeCounterFilterer(address common.Address, filterer bind.ContractFilterer) (*BridgeCounterFilterer, error)
NewBridgeCounterFilterer creates a new log filterer instance of BridgeCounter, bound to a specific deployed contract.
type BridgeCounterRaw ¶
type BridgeCounterRaw struct {
Contract *BridgeCounter // Generic contract binding to access the raw methods on
}
BridgeCounterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BridgeCounterRaw) Call ¶
func (_BridgeCounter *BridgeCounterRaw) 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 (*BridgeCounterRaw) Transact ¶
func (_BridgeCounter *BridgeCounterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeCounterRaw) Transfer ¶
func (_BridgeCounter *BridgeCounterRaw) 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 BridgeCounterSession ¶
type BridgeCounterSession struct { Contract *BridgeCounter // 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 }
BridgeCounterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BridgeCounterSession) Bridge ¶
func (_BridgeCounter *BridgeCounterSession) Bridge() (common.ContractAddress, error)
Bridge is a free data retrieval call binding the contract method 0xe78cea92.
Solidity: function bridge() view returns(address)
func (*BridgeCounterSession) DepositCounts ¶
func (_BridgeCounter *BridgeCounterSession) DepositCounts(arg0 uint8) (uint64, error)
DepositCounts is a free data retrieval call binding the contract method 0x8b8ddc7a.
Solidity: function depositCounts(uint8 ) view returns(uint64)
func (*BridgeCounterSession) Incr ¶
func (_BridgeCounter *BridgeCounterSession) Incr(destinationChainID uint8) (*types.Transaction, error)
Incr is a paid mutator transaction binding the contract method 0x71af5099.
Solidity: function incr(uint8 destinationChainID) returns(uint64)
func (*BridgeCounterSession) Owner ¶
func (_BridgeCounter *BridgeCounterSession) Owner() (common.ContractAddress, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*BridgeCounterSession) SetBridge ¶
func (_BridgeCounter *BridgeCounterSession) SetBridge(bridge_ common.Address) (*types.Transaction, error)
SetBridge is a paid mutator transaction binding the contract method 0x8dd14802.
Solidity: function setBridge(address bridge_) returns()
func (*BridgeCounterSession) SetDestStartNonce ¶
func (_BridgeCounter *BridgeCounterSession) SetDestStartNonce(destinationChainID uint8, start uint64) (*types.Transaction, error)
SetDestStartNonce is a paid mutator transaction binding the contract method 0x3b8e7811.
Solidity: function setDestStartNonce(uint8 destinationChainID, uint64 start) returns()
type BridgeCounterTransactor ¶
type BridgeCounterTransactor struct {
// contains filtered or unexported fields
}
BridgeCounterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBridgeCounterTransactor ¶
func NewBridgeCounterTransactor(address common.Address, transactor bind.ContractTransactor) (*BridgeCounterTransactor, error)
NewBridgeCounterTransactor creates a new write-only instance of BridgeCounter, bound to a specific deployed contract.
func (*BridgeCounterTransactor) Incr ¶
func (_BridgeCounter *BridgeCounterTransactor) Incr(opts *bind.TransactOpts, destinationChainID uint8) (*types.Transaction, error)
Incr is a paid mutator transaction binding the contract method 0x71af5099.
Solidity: function incr(uint8 destinationChainID) returns(uint64)
func (*BridgeCounterTransactor) SetBridge ¶
func (_BridgeCounter *BridgeCounterTransactor) SetBridge(opts *bind.TransactOpts, bridge_ common.Address) (*types.Transaction, error)
SetBridge is a paid mutator transaction binding the contract method 0x8dd14802.
Solidity: function setBridge(address bridge_) returns()
func (*BridgeCounterTransactor) SetDestStartNonce ¶
func (_BridgeCounter *BridgeCounterTransactor) SetDestStartNonce(opts *bind.TransactOpts, destinationChainID uint8, start uint64) (*types.Transaction, error)
SetDestStartNonce is a paid mutator transaction binding the contract method 0x3b8e7811.
Solidity: function setDestStartNonce(uint8 destinationChainID, uint64 start) returns()
type BridgeCounterTransactorRaw ¶
type BridgeCounterTransactorRaw struct {
Contract *BridgeCounterTransactor // Generic write-only contract binding to access the raw methods on
}
BridgeCounterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BridgeCounterTransactorRaw) Transact ¶
func (_BridgeCounter *BridgeCounterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BridgeCounterTransactorRaw) Transfer ¶
func (_BridgeCounter *BridgeCounterTransactorRaw) 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 BridgeCounterTransactorSession ¶
type BridgeCounterTransactorSession struct { Contract *BridgeCounterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BridgeCounterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BridgeCounterTransactorSession) Incr ¶
func (_BridgeCounter *BridgeCounterTransactorSession) Incr(destinationChainID uint8) (*types.Transaction, error)
Incr is a paid mutator transaction binding the contract method 0x71af5099.
Solidity: function incr(uint8 destinationChainID) returns(uint64)
func (*BridgeCounterTransactorSession) SetBridge ¶
func (_BridgeCounter *BridgeCounterTransactorSession) SetBridge(bridge_ common.Address) (*types.Transaction, error)
SetBridge is a paid mutator transaction binding the contract method 0x8dd14802.
Solidity: function setBridge(address bridge_) returns()
func (*BridgeCounterTransactorSession) SetDestStartNonce ¶
func (_BridgeCounter *BridgeCounterTransactorSession) SetDestStartNonce(destinationChainID uint8, start uint64) (*types.Transaction, error)
SetDestStartNonce is a paid mutator transaction binding the contract method 0x3b8e7811.
Solidity: function setDestStartNonce(uint8 destinationChainID, uint64 start) returns()