crosschain

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CrosschainABI = CrosschainMetaData.ABI

CrosschainABI is the input ABI used to generate the binding from. Deprecated: Use CrosschainMetaData.ABI instead.

View Source
var CrosschainMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"channelId\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"}],\"name\":\"AddChannel\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"srcChainId\",\"type\":\"uint32\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"dstChainId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"oracleSequence\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"packageSequence\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"channelId\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"CrossChainPackage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"channelId\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"isEnable\",\"type\":\"bool\"}],\"name\":\"EnableOrDisableChannel\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"ParamChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"proposalTypeHash\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"quorum\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"expiredAt\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"contentHash\",\"type\":\"bytes32\"}],\"name\":\"ProposalSubmitted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"packageType\",\"type\":\"uint8\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"packageSequence\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"channelId\",\"type\":\"uint8\"}],\"name\":\"ReceivedPackage\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"Reopened\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"Suspended\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"lowLevelData\",\"type\":\"bytes\"}],\"name\":\"UnexpectedFailureAssertionInPackageHandler\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"contractAddr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"UnexpectedRevertInPackageHandler\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"packageSequence\",\"type\":\"uint64\"},{\"indexed\":true,\"internalType\":\"uint8\",\"name\":\"channelId\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"UnsupportedPackage\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ACK_PACKAGE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"APP_CHANNELID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CANCEL_TRANSFER_PROPOSAL\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CODE_OK\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EMERGENCY_PROPOSAL_EXPIRE_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EMPTY_CONTENT_HASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ERROR_FAIL_DECODE\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"FAIL_ACK_PACKAGE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOV_CHANNELID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"IN_TURN_RELAYER_VALIDITY_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OUT_TURN_RELAYER_BACKOFF_PERIOD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"REOPEN_PROPOSAL\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUSPEND_PROPOSAL\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SYN_PACKAGE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_IN_CHANNELID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_OUT_CHANNELID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"VALIDATORSET_CHANNELID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"batchSizeForOracle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"attacker\",\"type\":\"address\"}],\"name\":\"cancelTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"chainId\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"channelHandlerMap\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"channelReceiveSequenceMap\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"channelSendSequenceMap\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"channelSyncedHeaderMap\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"emergencyProposals\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"quorum\",\"type\":\"uint16\"},{\"internalType\":\"uint128\",\"name\":\"expiredAt\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"contentHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"packageType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"relayFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"msgBytes\",\"type\":\"bytes\"}],\"name\":\"encodePayload\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"govHub\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"_payload\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"_blsSignature\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_validatorsBitSet\",\"type\":\"uint256\"}],\"name\":\"handlePackage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_insChainId\",\"type\":\"uint16\"},{\"internalType\":\"address\",\"name\":\"_govHub\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"insChainId\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"isRelayRewardFromSystemReward\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isSuspended\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracleSequence\",\"outputs\":[{\"internalType\":\"int64\",\"name\":\"\",\"type\":\"int64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"previousTxHeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"quorumMap\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"name\":\"registeredContractChannelMap\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reopen\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"channelId\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"msgBytes\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"relayFee\",\"type\":\"uint256\"}],\"name\":\"sendSynPackage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"suspend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"txCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

CrosschainMetaData contains all meta data concerning the Crosschain contract.

Functions

This section is empty.

Types

type Crosschain

type Crosschain struct {
	CrosschainCaller     // Read-only binding to the contract
	CrosschainTransactor // Write-only binding to the contract
	CrosschainFilterer   // Log filterer for contract events
}

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

func NewCrosschain

func NewCrosschain(address common.Address, backend bind.ContractBackend) (*Crosschain, error)

NewCrosschain creates a new instance of Crosschain, bound to a specific deployed contract.

type CrosschainAddChannel

type CrosschainAddChannel struct {
	ChannelId    uint8
	ContractAddr common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

CrosschainAddChannel represents a AddChannel event raised by the Crosschain contract.

type CrosschainAddChannelIterator

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

CrosschainAddChannelIterator is returned from FilterAddChannel and is used to iterate over the raw logs and unpacked data for AddChannel events raised by the Crosschain contract.

func (*CrosschainAddChannelIterator) Close

func (it *CrosschainAddChannelIterator) Close() error

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

func (*CrosschainAddChannelIterator) Error

func (it *CrosschainAddChannelIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainAddChannelIterator) 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 CrosschainCaller

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

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

func NewCrosschainCaller

func NewCrosschainCaller(address common.Address, caller bind.ContractCaller) (*CrosschainCaller, error)

NewCrosschainCaller creates a new read-only instance of Crosschain, bound to a specific deployed contract.

func (*CrosschainCaller) ACKPACKAGE

func (_Crosschain *CrosschainCaller) ACKPACKAGE(opts *bind.CallOpts) (uint8, error)

ACKPACKAGE is a free data retrieval call binding the contract method 0xb0355f5b.

Solidity: function ACK_PACKAGE() view returns(uint8)

func (*CrosschainCaller) APPCHANNELID

func (_Crosschain *CrosschainCaller) APPCHANNELID(opts *bind.CallOpts) (uint8, error)

APPCHANNELID is a free data retrieval call binding the contract method 0x63ee4ac4.

Solidity: function APP_CHANNELID() view returns(uint8)

func (*CrosschainCaller) BatchSizeForOracle

func (_Crosschain *CrosschainCaller) BatchSizeForOracle(opts *bind.CallOpts) (*big.Int, error)

BatchSizeForOracle is a free data retrieval call binding the contract method 0x14b3023b.

Solidity: function batchSizeForOracle() view returns(uint256)

func (*CrosschainCaller) CANCELTRANSFERPROPOSAL

func (_Crosschain *CrosschainCaller) CANCELTRANSFERPROPOSAL(opts *bind.CallOpts) ([32]byte, error)

CANCELTRANSFERPROPOSAL is a free data retrieval call binding the contract method 0x5692ddd3.

Solidity: function CANCEL_TRANSFER_PROPOSAL() view returns(bytes32)

func (*CrosschainCaller) CODEOK

func (_Crosschain *CrosschainCaller) CODEOK(opts *bind.CallOpts) (uint32, error)

CODEOK is a free data retrieval call binding the contract method 0xab51bb96.

Solidity: function CODE_OK() view returns(uint32)

func (*CrosschainCaller) ChainId

func (_Crosschain *CrosschainCaller) ChainId(opts *bind.CallOpts) (uint16, error)

ChainId is a free data retrieval call binding the contract method 0x9a8a0592.

Solidity: function chainId() view returns(uint16)

func (*CrosschainCaller) ChannelHandlerMap

func (_Crosschain *CrosschainCaller) ChannelHandlerMap(opts *bind.CallOpts, arg0 uint8) (common.Address, error)

ChannelHandlerMap is a free data retrieval call binding the contract method 0xf77d0a34.

Solidity: function channelHandlerMap(uint8 ) view returns(address)

func (*CrosschainCaller) ChannelReceiveSequenceMap

func (_Crosschain *CrosschainCaller) ChannelReceiveSequenceMap(opts *bind.CallOpts, arg0 uint8) (uint64, error)

ChannelReceiveSequenceMap is a free data retrieval call binding the contract method 0xc27cdcfb.

Solidity: function channelReceiveSequenceMap(uint8 ) view returns(uint64)

func (*CrosschainCaller) ChannelSendSequenceMap

func (_Crosschain *CrosschainCaller) ChannelSendSequenceMap(opts *bind.CallOpts, arg0 uint8) (uint64, error)

ChannelSendSequenceMap is a free data retrieval call binding the contract method 0xe3b04805.

Solidity: function channelSendSequenceMap(uint8 ) view returns(uint64)

func (*CrosschainCaller) ChannelSyncedHeaderMap

func (_Crosschain *CrosschainCaller) ChannelSyncedHeaderMap(opts *bind.CallOpts, arg0 uint8) (uint64, error)

ChannelSyncedHeaderMap is a free data retrieval call binding the contract method 0x3a648b15.

Solidity: function channelSyncedHeaderMap(uint8 ) view returns(uint64)

func (*CrosschainCaller) EMERGENCYPROPOSALEXPIREPERIOD

func (_Crosschain *CrosschainCaller) EMERGENCYPROPOSALEXPIREPERIOD(opts *bind.CallOpts) (*big.Int, error)

EMERGENCYPROPOSALEXPIREPERIOD is a free data retrieval call binding the contract method 0xdc404331.

Solidity: function EMERGENCY_PROPOSAL_EXPIRE_PERIOD() view returns(uint256)

func (*CrosschainCaller) EMPTYCONTENTHASH

func (_Crosschain *CrosschainCaller) EMPTYCONTENTHASH(opts *bind.CallOpts) ([32]byte, error)

EMPTYCONTENTHASH is a free data retrieval call binding the contract method 0xc780e9de.

Solidity: function EMPTY_CONTENT_HASH() view returns(bytes32)

func (*CrosschainCaller) ERRORFAILDECODE

func (_Crosschain *CrosschainCaller) ERRORFAILDECODE(opts *bind.CallOpts) (uint32, error)

ERRORFAILDECODE is a free data retrieval call binding the contract method 0x0bee7a67.

Solidity: function ERROR_FAIL_DECODE() view returns(uint32)

func (*CrosschainCaller) EmergencyProposals

func (_Crosschain *CrosschainCaller) EmergencyProposals(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Quorum      uint16
	ExpiredAt   *big.Int
	ContentHash [32]byte
}, error,
)

EmergencyProposals is a free data retrieval call binding the contract method 0x6bacff2c.

Solidity: function emergencyProposals(bytes32 ) view returns(uint16 quorum, uint128 expiredAt, bytes32 contentHash)

func (*CrosschainCaller) EncodePayload

func (_Crosschain *CrosschainCaller) EncodePayload(opts *bind.CallOpts, packageType uint8, relayFee *big.Int, msgBytes []byte) ([]byte, error)

EncodePayload is a free data retrieval call binding the contract method 0x3bdc47a6.

Solidity: function encodePayload(uint8 packageType, uint256 relayFee, bytes msgBytes) view returns(bytes)

func (*CrosschainCaller) FAILACKPACKAGE

func (_Crosschain *CrosschainCaller) FAILACKPACKAGE(opts *bind.CallOpts) (uint8, error)

FAILACKPACKAGE is a free data retrieval call binding the contract method 0x8cc8f561.

Solidity: function FAIL_ACK_PACKAGE() view returns(uint8)

func (*CrosschainCaller) GOVCHANNELID

func (_Crosschain *CrosschainCaller) GOVCHANNELID(opts *bind.CallOpts) (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x96713da9.

Solidity: function GOV_CHANNELID() view returns(uint8)

func (*CrosschainCaller) GovHub

func (_Crosschain *CrosschainCaller) GovHub(opts *bind.CallOpts) (common.Address, error)

GovHub is a free data retrieval call binding the contract method 0x3f9c44ec.

Solidity: function govHub() view returns(address)

func (*CrosschainCaller) INTURNRELAYERVALIDITYPERIOD

func (_Crosschain *CrosschainCaller) INTURNRELAYERVALIDITYPERIOD(opts *bind.CallOpts) (*big.Int, error)

INTURNRELAYERVALIDITYPERIOD is a free data retrieval call binding the contract method 0xe036ead6.

Solidity: function IN_TURN_RELAYER_VALIDITY_PERIOD() view returns(uint256)

func (*CrosschainCaller) InsChainId

func (_Crosschain *CrosschainCaller) InsChainId(opts *bind.CallOpts) (uint16, error)

InsChainId is a free data retrieval call binding the contract method 0x70b6dca6.

Solidity: function insChainId() view returns(uint16)

func (*CrosschainCaller) IsRelayRewardFromSystemReward

func (_Crosschain *CrosschainCaller) IsRelayRewardFromSystemReward(opts *bind.CallOpts, arg0 uint8) (bool, error)

IsRelayRewardFromSystemReward is a free data retrieval call binding the contract method 0x422f9050.

Solidity: function isRelayRewardFromSystemReward(uint8 ) view returns(bool)

func (*CrosschainCaller) IsSuspended

func (_Crosschain *CrosschainCaller) IsSuspended(opts *bind.CallOpts) (bool, error)

IsSuspended is a free data retrieval call binding the contract method 0x1d130935.

Solidity: function isSuspended() view returns(bool)

func (*CrosschainCaller) OUTTURNRELAYERBACKOFFPERIOD

func (_Crosschain *CrosschainCaller) OUTTURNRELAYERBACKOFFPERIOD(opts *bind.CallOpts) (*big.Int, error)

OUTTURNRELAYERBACKOFFPERIOD is a free data retrieval call binding the contract method 0x34809881.

Solidity: function OUT_TURN_RELAYER_BACKOFF_PERIOD() view returns(uint256)

func (*CrosschainCaller) OracleSequence

func (_Crosschain *CrosschainCaller) OracleSequence(opts *bind.CallOpts) (int64, error)

OracleSequence is a free data retrieval call binding the contract method 0x2ff32aea.

Solidity: function oracleSequence() view returns(int64)

func (*CrosschainCaller) Owner

func (_Crosschain *CrosschainCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CrosschainCaller) PreviousTxHeight

func (_Crosschain *CrosschainCaller) PreviousTxHeight(opts *bind.CallOpts) (*big.Int, error)

PreviousTxHeight is a free data retrieval call binding the contract method 0x308325f4.

Solidity: function previousTxHeight() view returns(uint256)

func (*CrosschainCaller) QuorumMap

func (_Crosschain *CrosschainCaller) QuorumMap(opts *bind.CallOpts, arg0 [32]byte) (uint16, error)

QuorumMap is a free data retrieval call binding the contract method 0x299b533d.

Solidity: function quorumMap(bytes32 ) view returns(uint16)

func (*CrosschainCaller) REOPENPROPOSAL

func (_Crosschain *CrosschainCaller) REOPENPROPOSAL(opts *bind.CallOpts) ([32]byte, error)

REOPENPROPOSAL is a free data retrieval call binding the contract method 0x6de380bd.

Solidity: function REOPEN_PROPOSAL() view returns(bytes32)

func (*CrosschainCaller) RegisteredContractChannelMap

func (_Crosschain *CrosschainCaller) RegisteredContractChannelMap(opts *bind.CallOpts, arg0 common.Address, arg1 uint8) (bool, error)

RegisteredContractChannelMap is a free data retrieval call binding the contract method 0xd31f968d.

Solidity: function registeredContractChannelMap(address , uint8 ) view returns(bool)

func (*CrosschainCaller) SUSPENDPROPOSAL

func (_Crosschain *CrosschainCaller) SUSPENDPROPOSAL(opts *bind.CallOpts) ([32]byte, error)

SUSPENDPROPOSAL is a free data retrieval call binding the contract method 0x63e1394e.

Solidity: function SUSPEND_PROPOSAL() view returns(bytes32)

func (*CrosschainCaller) SYNPACKAGE

func (_Crosschain *CrosschainCaller) SYNPACKAGE(opts *bind.CallOpts) (uint8, error)

SYNPACKAGE is a free data retrieval call binding the contract method 0x05e68258.

Solidity: function SYN_PACKAGE() view returns(uint8)

func (*CrosschainCaller) TRANSFERINCHANNELID

func (_Crosschain *CrosschainCaller) TRANSFERINCHANNELID(opts *bind.CallOpts) (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0x70fd5bad.

Solidity: function TRANSFER_IN_CHANNELID() view returns(uint8)

func (*CrosschainCaller) TRANSFEROUTCHANNELID

func (_Crosschain *CrosschainCaller) TRANSFEROUTCHANNELID(opts *bind.CallOpts) (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0xfc3e5908.

Solidity: function TRANSFER_OUT_CHANNELID() view returns(uint8)

func (*CrosschainCaller) TxCounter

func (_Crosschain *CrosschainCaller) TxCounter(opts *bind.CallOpts) (*big.Int, error)

TxCounter is a free data retrieval call binding the contract method 0x74f079b8.

Solidity: function txCounter() view returns(uint256)

func (*CrosschainCaller) VALIDATORSETCHANNELID

func (_Crosschain *CrosschainCaller) VALIDATORSETCHANNELID(opts *bind.CallOpts) (uint8, error)

VALIDATORSETCHANNELID is a free data retrieval call binding the contract method 0x99770281.

Solidity: function VALIDATORSET_CHANNELID() view returns(uint8)

type CrosschainCallerRaw

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

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

func (*CrosschainCallerRaw) Call

func (_Crosschain *CrosschainCallerRaw) 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 CrosschainCallerSession

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

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

func (*CrosschainCallerSession) ACKPACKAGE

func (_Crosschain *CrosschainCallerSession) ACKPACKAGE() (uint8, error)

ACKPACKAGE is a free data retrieval call binding the contract method 0xb0355f5b.

Solidity: function ACK_PACKAGE() view returns(uint8)

func (*CrosschainCallerSession) APPCHANNELID

func (_Crosschain *CrosschainCallerSession) APPCHANNELID() (uint8, error)

APPCHANNELID is a free data retrieval call binding the contract method 0x63ee4ac4.

Solidity: function APP_CHANNELID() view returns(uint8)

func (*CrosschainCallerSession) BatchSizeForOracle

func (_Crosschain *CrosschainCallerSession) BatchSizeForOracle() (*big.Int, error)

BatchSizeForOracle is a free data retrieval call binding the contract method 0x14b3023b.

Solidity: function batchSizeForOracle() view returns(uint256)

func (*CrosschainCallerSession) CANCELTRANSFERPROPOSAL

func (_Crosschain *CrosschainCallerSession) CANCELTRANSFERPROPOSAL() ([32]byte, error)

CANCELTRANSFERPROPOSAL is a free data retrieval call binding the contract method 0x5692ddd3.

Solidity: function CANCEL_TRANSFER_PROPOSAL() view returns(bytes32)

func (*CrosschainCallerSession) CODEOK

func (_Crosschain *CrosschainCallerSession) CODEOK() (uint32, error)

CODEOK is a free data retrieval call binding the contract method 0xab51bb96.

Solidity: function CODE_OK() view returns(uint32)

func (*CrosschainCallerSession) ChainId

func (_Crosschain *CrosschainCallerSession) ChainId() (uint16, error)

ChainId is a free data retrieval call binding the contract method 0x9a8a0592.

Solidity: function chainId() view returns(uint16)

func (*CrosschainCallerSession) ChannelHandlerMap

func (_Crosschain *CrosschainCallerSession) ChannelHandlerMap(arg0 uint8) (common.Address, error)

ChannelHandlerMap is a free data retrieval call binding the contract method 0xf77d0a34.

Solidity: function channelHandlerMap(uint8 ) view returns(address)

func (*CrosschainCallerSession) ChannelReceiveSequenceMap

func (_Crosschain *CrosschainCallerSession) ChannelReceiveSequenceMap(arg0 uint8) (uint64, error)

ChannelReceiveSequenceMap is a free data retrieval call binding the contract method 0xc27cdcfb.

Solidity: function channelReceiveSequenceMap(uint8 ) view returns(uint64)

func (*CrosschainCallerSession) ChannelSendSequenceMap

func (_Crosschain *CrosschainCallerSession) ChannelSendSequenceMap(arg0 uint8) (uint64, error)

ChannelSendSequenceMap is a free data retrieval call binding the contract method 0xe3b04805.

Solidity: function channelSendSequenceMap(uint8 ) view returns(uint64)

func (*CrosschainCallerSession) ChannelSyncedHeaderMap

func (_Crosschain *CrosschainCallerSession) ChannelSyncedHeaderMap(arg0 uint8) (uint64, error)

ChannelSyncedHeaderMap is a free data retrieval call binding the contract method 0x3a648b15.

Solidity: function channelSyncedHeaderMap(uint8 ) view returns(uint64)

func (*CrosschainCallerSession) EMERGENCYPROPOSALEXPIREPERIOD

func (_Crosschain *CrosschainCallerSession) EMERGENCYPROPOSALEXPIREPERIOD() (*big.Int, error)

EMERGENCYPROPOSALEXPIREPERIOD is a free data retrieval call binding the contract method 0xdc404331.

Solidity: function EMERGENCY_PROPOSAL_EXPIRE_PERIOD() view returns(uint256)

func (*CrosschainCallerSession) EMPTYCONTENTHASH

func (_Crosschain *CrosschainCallerSession) EMPTYCONTENTHASH() ([32]byte, error)

EMPTYCONTENTHASH is a free data retrieval call binding the contract method 0xc780e9de.

Solidity: function EMPTY_CONTENT_HASH() view returns(bytes32)

func (*CrosschainCallerSession) ERRORFAILDECODE

func (_Crosschain *CrosschainCallerSession) ERRORFAILDECODE() (uint32, error)

ERRORFAILDECODE is a free data retrieval call binding the contract method 0x0bee7a67.

Solidity: function ERROR_FAIL_DECODE() view returns(uint32)

func (*CrosschainCallerSession) EmergencyProposals

func (_Crosschain *CrosschainCallerSession) EmergencyProposals(arg0 [32]byte) (struct {
	Quorum      uint16
	ExpiredAt   *big.Int
	ContentHash [32]byte
}, error,
)

EmergencyProposals is a free data retrieval call binding the contract method 0x6bacff2c.

Solidity: function emergencyProposals(bytes32 ) view returns(uint16 quorum, uint128 expiredAt, bytes32 contentHash)

func (*CrosschainCallerSession) EncodePayload

func (_Crosschain *CrosschainCallerSession) EncodePayload(packageType uint8, relayFee *big.Int, msgBytes []byte) ([]byte, error)

EncodePayload is a free data retrieval call binding the contract method 0x3bdc47a6.

Solidity: function encodePayload(uint8 packageType, uint256 relayFee, bytes msgBytes) view returns(bytes)

func (*CrosschainCallerSession) FAILACKPACKAGE

func (_Crosschain *CrosschainCallerSession) FAILACKPACKAGE() (uint8, error)

FAILACKPACKAGE is a free data retrieval call binding the contract method 0x8cc8f561.

Solidity: function FAIL_ACK_PACKAGE() view returns(uint8)

func (*CrosschainCallerSession) GOVCHANNELID

func (_Crosschain *CrosschainCallerSession) GOVCHANNELID() (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x96713da9.

Solidity: function GOV_CHANNELID() view returns(uint8)

func (*CrosschainCallerSession) GovHub

func (_Crosschain *CrosschainCallerSession) GovHub() (common.Address, error)

GovHub is a free data retrieval call binding the contract method 0x3f9c44ec.

Solidity: function govHub() view returns(address)

func (*CrosschainCallerSession) INTURNRELAYERVALIDITYPERIOD

func (_Crosschain *CrosschainCallerSession) INTURNRELAYERVALIDITYPERIOD() (*big.Int, error)

INTURNRELAYERVALIDITYPERIOD is a free data retrieval call binding the contract method 0xe036ead6.

Solidity: function IN_TURN_RELAYER_VALIDITY_PERIOD() view returns(uint256)

func (*CrosschainCallerSession) InsChainId

func (_Crosschain *CrosschainCallerSession) InsChainId() (uint16, error)

InsChainId is a free data retrieval call binding the contract method 0x70b6dca6.

Solidity: function insChainId() view returns(uint16)

func (*CrosschainCallerSession) IsRelayRewardFromSystemReward

func (_Crosschain *CrosschainCallerSession) IsRelayRewardFromSystemReward(arg0 uint8) (bool, error)

IsRelayRewardFromSystemReward is a free data retrieval call binding the contract method 0x422f9050.

Solidity: function isRelayRewardFromSystemReward(uint8 ) view returns(bool)

func (*CrosschainCallerSession) IsSuspended

func (_Crosschain *CrosschainCallerSession) IsSuspended() (bool, error)

IsSuspended is a free data retrieval call binding the contract method 0x1d130935.

Solidity: function isSuspended() view returns(bool)

func (*CrosschainCallerSession) OUTTURNRELAYERBACKOFFPERIOD

func (_Crosschain *CrosschainCallerSession) OUTTURNRELAYERBACKOFFPERIOD() (*big.Int, error)

OUTTURNRELAYERBACKOFFPERIOD is a free data retrieval call binding the contract method 0x34809881.

Solidity: function OUT_TURN_RELAYER_BACKOFF_PERIOD() view returns(uint256)

func (*CrosschainCallerSession) OracleSequence

func (_Crosschain *CrosschainCallerSession) OracleSequence() (int64, error)

OracleSequence is a free data retrieval call binding the contract method 0x2ff32aea.

Solidity: function oracleSequence() view returns(int64)

func (*CrosschainCallerSession) Owner

func (_Crosschain *CrosschainCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CrosschainCallerSession) PreviousTxHeight

func (_Crosschain *CrosschainCallerSession) PreviousTxHeight() (*big.Int, error)

PreviousTxHeight is a free data retrieval call binding the contract method 0x308325f4.

Solidity: function previousTxHeight() view returns(uint256)

func (*CrosschainCallerSession) QuorumMap

func (_Crosschain *CrosschainCallerSession) QuorumMap(arg0 [32]byte) (uint16, error)

QuorumMap is a free data retrieval call binding the contract method 0x299b533d.

Solidity: function quorumMap(bytes32 ) view returns(uint16)

func (*CrosschainCallerSession) REOPENPROPOSAL

func (_Crosschain *CrosschainCallerSession) REOPENPROPOSAL() ([32]byte, error)

REOPENPROPOSAL is a free data retrieval call binding the contract method 0x6de380bd.

Solidity: function REOPEN_PROPOSAL() view returns(bytes32)

func (*CrosschainCallerSession) RegisteredContractChannelMap

func (_Crosschain *CrosschainCallerSession) RegisteredContractChannelMap(arg0 common.Address, arg1 uint8) (bool, error)

RegisteredContractChannelMap is a free data retrieval call binding the contract method 0xd31f968d.

Solidity: function registeredContractChannelMap(address , uint8 ) view returns(bool)

func (*CrosschainCallerSession) SUSPENDPROPOSAL

func (_Crosschain *CrosschainCallerSession) SUSPENDPROPOSAL() ([32]byte, error)

SUSPENDPROPOSAL is a free data retrieval call binding the contract method 0x63e1394e.

Solidity: function SUSPEND_PROPOSAL() view returns(bytes32)

func (*CrosschainCallerSession) SYNPACKAGE

func (_Crosschain *CrosschainCallerSession) SYNPACKAGE() (uint8, error)

SYNPACKAGE is a free data retrieval call binding the contract method 0x05e68258.

Solidity: function SYN_PACKAGE() view returns(uint8)

func (*CrosschainCallerSession) TRANSFERINCHANNELID

func (_Crosschain *CrosschainCallerSession) TRANSFERINCHANNELID() (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0x70fd5bad.

Solidity: function TRANSFER_IN_CHANNELID() view returns(uint8)

func (*CrosschainCallerSession) TRANSFEROUTCHANNELID

func (_Crosschain *CrosschainCallerSession) TRANSFEROUTCHANNELID() (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0xfc3e5908.

Solidity: function TRANSFER_OUT_CHANNELID() view returns(uint8)

func (*CrosschainCallerSession) TxCounter

func (_Crosschain *CrosschainCallerSession) TxCounter() (*big.Int, error)

TxCounter is a free data retrieval call binding the contract method 0x74f079b8.

Solidity: function txCounter() view returns(uint256)

func (*CrosschainCallerSession) VALIDATORSETCHANNELID

func (_Crosschain *CrosschainCallerSession) VALIDATORSETCHANNELID() (uint8, error)

VALIDATORSETCHANNELID is a free data retrieval call binding the contract method 0x99770281.

Solidity: function VALIDATORSET_CHANNELID() view returns(uint8)

type CrosschainCrossChainPackage

type CrosschainCrossChainPackage struct {
	SrcChainId      uint32
	DstChainId      uint32
	OracleSequence  uint64
	PackageSequence uint64
	ChannelId       uint8
	Payload         []byte
	Raw             types.Log // Blockchain specific contextual infos
}

CrosschainCrossChainPackage represents a CrossChainPackage event raised by the Crosschain contract.

type CrosschainCrossChainPackageIterator

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

CrosschainCrossChainPackageIterator is returned from FilterCrossChainPackage and is used to iterate over the raw logs and unpacked data for CrossChainPackage events raised by the Crosschain contract.

func (*CrosschainCrossChainPackageIterator) Close

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

func (*CrosschainCrossChainPackageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainCrossChainPackageIterator) 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 CrosschainEnableOrDisableChannel

type CrosschainEnableOrDisableChannel struct {
	ChannelId uint8
	IsEnable  bool
	Raw       types.Log // Blockchain specific contextual infos
}

CrosschainEnableOrDisableChannel represents a EnableOrDisableChannel event raised by the Crosschain contract.

type CrosschainEnableOrDisableChannelIterator

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

CrosschainEnableOrDisableChannelIterator is returned from FilterEnableOrDisableChannel and is used to iterate over the raw logs and unpacked data for EnableOrDisableChannel events raised by the Crosschain contract.

func (*CrosschainEnableOrDisableChannelIterator) Close

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

func (*CrosschainEnableOrDisableChannelIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainEnableOrDisableChannelIterator) 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 CrosschainFilterer

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

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

func NewCrosschainFilterer

func NewCrosschainFilterer(address common.Address, filterer bind.ContractFilterer) (*CrosschainFilterer, error)

NewCrosschainFilterer creates a new log filterer instance of Crosschain, bound to a specific deployed contract.

func (*CrosschainFilterer) FilterAddChannel

func (_Crosschain *CrosschainFilterer) FilterAddChannel(opts *bind.FilterOpts, channelId []uint8, contractAddr []common.Address) (*CrosschainAddChannelIterator, error)

FilterAddChannel is a free log retrieval operation binding the contract event 0x50509989df6f2738ba0458b9a89f29591b60973aa0556c6ce0db9be78f5d5688.

Solidity: event AddChannel(uint8 indexed channelId, address indexed contractAddr)

func (*CrosschainFilterer) FilterCrossChainPackage

func (_Crosschain *CrosschainFilterer) FilterCrossChainPackage(opts *bind.FilterOpts, oracleSequence []uint64, packageSequence []uint64, channelId []uint8) (*CrosschainCrossChainPackageIterator, error)

FilterCrossChainPackage is a free log retrieval operation binding the contract event 0x64998dc5a229e7324e622192f111c691edccc3534bbea4b2bd90fbaec936845a.

Solidity: event CrossChainPackage(uint32 srcChainId, uint32 dstChainId, uint64 indexed oracleSequence, uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)

func (*CrosschainFilterer) FilterEnableOrDisableChannel

func (_Crosschain *CrosschainFilterer) FilterEnableOrDisableChannel(opts *bind.FilterOpts, channelId []uint8) (*CrosschainEnableOrDisableChannelIterator, error)

FilterEnableOrDisableChannel is a free log retrieval operation binding the contract event 0x7aa83b30cf2563aa45de6f2f23245bf55fa4f2a8425f37a0cbf027c8281bdc82.

Solidity: event EnableOrDisableChannel(uint8 indexed channelId, bool isEnable)

func (*CrosschainFilterer) FilterInitialized

func (_Crosschain *CrosschainFilterer) FilterInitialized(opts *bind.FilterOpts) (*CrosschainInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*CrosschainFilterer) FilterOwnershipTransferred

func (_Crosschain *CrosschainFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*CrosschainOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*CrosschainFilterer) FilterParamChange

func (_Crosschain *CrosschainFilterer) FilterParamChange(opts *bind.FilterOpts) (*CrosschainParamChangeIterator, error)

FilterParamChange is a free log retrieval operation binding the contract event 0xf1ce9b2cbf50eeb05769a29e2543fd350cab46894a7dd9978a12d534bb20e633.

Solidity: event ParamChange(string key, bytes value)

func (*CrosschainFilterer) FilterProposalSubmitted

func (_Crosschain *CrosschainFilterer) FilterProposalSubmitted(opts *bind.FilterOpts, proposalTypeHash [][32]byte, proposer []common.Address) (*CrosschainProposalSubmittedIterator, error)

FilterProposalSubmitted is a free log retrieval operation binding the contract event 0x9e109f0e55ef32e99e4880be2ec357f1ddb3469c79d0747ef4762da6e89fabe5.

Solidity: event ProposalSubmitted(bytes32 indexed proposalTypeHash, address indexed proposer, uint128 quorum, uint128 expiredAt, bytes32 contentHash)

func (*CrosschainFilterer) FilterReceivedPackage

func (_Crosschain *CrosschainFilterer) FilterReceivedPackage(opts *bind.FilterOpts, packageSequence []uint64, channelId []uint8) (*CrosschainReceivedPackageIterator, error)

FilterReceivedPackage is a free log retrieval operation binding the contract event 0x48484b8ae53584e6447d0535a274159337a74351c4adf243a6bf94b4c7a16c2e.

Solidity: event ReceivedPackage(uint8 packageType, uint64 indexed packageSequence, uint8 indexed channelId)

func (*CrosschainFilterer) FilterReopened

func (_Crosschain *CrosschainFilterer) FilterReopened(opts *bind.FilterOpts, executor []common.Address) (*CrosschainReopenedIterator, error)

FilterReopened is a free log retrieval operation binding the contract event 0x899fe8c37dc61708a3aaa99c4bf143346c1d1da69af79be9e8920c0a6785b752.

Solidity: event Reopened(address indexed executor)

func (*CrosschainFilterer) FilterSuspended

func (_Crosschain *CrosschainFilterer) FilterSuspended(opts *bind.FilterOpts, executor []common.Address) (*CrosschainSuspendedIterator, error)

FilterSuspended is a free log retrieval operation binding the contract event 0x6f123d3d54c84a7960a573b31c221dcd86e13fd849c5adb0c6ca851468cc1ae4.

Solidity: event Suspended(address indexed executor)

func (*CrosschainFilterer) FilterUnexpectedFailureAssertionInPackageHandler

func (_Crosschain *CrosschainFilterer) FilterUnexpectedFailureAssertionInPackageHandler(opts *bind.FilterOpts, contractAddr []common.Address) (*CrosschainUnexpectedFailureAssertionInPackageHandlerIterator, error)

FilterUnexpectedFailureAssertionInPackageHandler is a free log retrieval operation binding the contract event 0xfb111707dba108ae503813ed49a361e67f4720ac104ff7f5e9692e32039a1a68.

Solidity: event UnexpectedFailureAssertionInPackageHandler(address indexed contractAddr, bytes lowLevelData)

func (*CrosschainFilterer) FilterUnexpectedRevertInPackageHandler

func (_Crosschain *CrosschainFilterer) FilterUnexpectedRevertInPackageHandler(opts *bind.FilterOpts, contractAddr []common.Address) (*CrosschainUnexpectedRevertInPackageHandlerIterator, error)

FilterUnexpectedRevertInPackageHandler is a free log retrieval operation binding the contract event 0xad48df68de34d2557f1ab71adc0bf7d0a1e23c433408e7b17ff51d588e28b136.

Solidity: event UnexpectedRevertInPackageHandler(address indexed contractAddr, string reason)

func (*CrosschainFilterer) FilterUnsupportedPackage

func (_Crosschain *CrosschainFilterer) FilterUnsupportedPackage(opts *bind.FilterOpts, packageSequence []uint64, channelId []uint8) (*CrosschainUnsupportedPackageIterator, error)

FilterUnsupportedPackage is a free log retrieval operation binding the contract event 0xdee9845a11ea343955bc9858cfa6d6fbcce9c8c1cc4ca22a12997e88b1726b97.

Solidity: event UnsupportedPackage(uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)

func (*CrosschainFilterer) ParseAddChannel

func (_Crosschain *CrosschainFilterer) ParseAddChannel(log types.Log) (*CrosschainAddChannel, error)

ParseAddChannel is a log parse operation binding the contract event 0x50509989df6f2738ba0458b9a89f29591b60973aa0556c6ce0db9be78f5d5688.

Solidity: event AddChannel(uint8 indexed channelId, address indexed contractAddr)

func (*CrosschainFilterer) ParseCrossChainPackage

func (_Crosschain *CrosschainFilterer) ParseCrossChainPackage(log types.Log) (*CrosschainCrossChainPackage, error)

ParseCrossChainPackage is a log parse operation binding the contract event 0x64998dc5a229e7324e622192f111c691edccc3534bbea4b2bd90fbaec936845a.

Solidity: event CrossChainPackage(uint32 srcChainId, uint32 dstChainId, uint64 indexed oracleSequence, uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)

func (*CrosschainFilterer) ParseEnableOrDisableChannel

func (_Crosschain *CrosschainFilterer) ParseEnableOrDisableChannel(log types.Log) (*CrosschainEnableOrDisableChannel, error)

ParseEnableOrDisableChannel is a log parse operation binding the contract event 0x7aa83b30cf2563aa45de6f2f23245bf55fa4f2a8425f37a0cbf027c8281bdc82.

Solidity: event EnableOrDisableChannel(uint8 indexed channelId, bool isEnable)

func (*CrosschainFilterer) ParseInitialized

func (_Crosschain *CrosschainFilterer) ParseInitialized(log types.Log) (*CrosschainInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*CrosschainFilterer) ParseOwnershipTransferred

func (_Crosschain *CrosschainFilterer) ParseOwnershipTransferred(log types.Log) (*CrosschainOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*CrosschainFilterer) ParseParamChange

func (_Crosschain *CrosschainFilterer) ParseParamChange(log types.Log) (*CrosschainParamChange, error)

ParseParamChange is a log parse operation binding the contract event 0xf1ce9b2cbf50eeb05769a29e2543fd350cab46894a7dd9978a12d534bb20e633.

Solidity: event ParamChange(string key, bytes value)

func (*CrosschainFilterer) ParseProposalSubmitted

func (_Crosschain *CrosschainFilterer) ParseProposalSubmitted(log types.Log) (*CrosschainProposalSubmitted, error)

ParseProposalSubmitted is a log parse operation binding the contract event 0x9e109f0e55ef32e99e4880be2ec357f1ddb3469c79d0747ef4762da6e89fabe5.

Solidity: event ProposalSubmitted(bytes32 indexed proposalTypeHash, address indexed proposer, uint128 quorum, uint128 expiredAt, bytes32 contentHash)

func (*CrosschainFilterer) ParseReceivedPackage

func (_Crosschain *CrosschainFilterer) ParseReceivedPackage(log types.Log) (*CrosschainReceivedPackage, error)

ParseReceivedPackage is a log parse operation binding the contract event 0x48484b8ae53584e6447d0535a274159337a74351c4adf243a6bf94b4c7a16c2e.

Solidity: event ReceivedPackage(uint8 packageType, uint64 indexed packageSequence, uint8 indexed channelId)

func (*CrosschainFilterer) ParseReopened

func (_Crosschain *CrosschainFilterer) ParseReopened(log types.Log) (*CrosschainReopened, error)

ParseReopened is a log parse operation binding the contract event 0x899fe8c37dc61708a3aaa99c4bf143346c1d1da69af79be9e8920c0a6785b752.

Solidity: event Reopened(address indexed executor)

func (*CrosschainFilterer) ParseSuspended

func (_Crosschain *CrosschainFilterer) ParseSuspended(log types.Log) (*CrosschainSuspended, error)

ParseSuspended is a log parse operation binding the contract event 0x6f123d3d54c84a7960a573b31c221dcd86e13fd849c5adb0c6ca851468cc1ae4.

Solidity: event Suspended(address indexed executor)

func (*CrosschainFilterer) ParseUnexpectedFailureAssertionInPackageHandler

func (_Crosschain *CrosschainFilterer) ParseUnexpectedFailureAssertionInPackageHandler(log types.Log) (*CrosschainUnexpectedFailureAssertionInPackageHandler, error)

ParseUnexpectedFailureAssertionInPackageHandler is a log parse operation binding the contract event 0xfb111707dba108ae503813ed49a361e67f4720ac104ff7f5e9692e32039a1a68.

Solidity: event UnexpectedFailureAssertionInPackageHandler(address indexed contractAddr, bytes lowLevelData)

func (*CrosschainFilterer) ParseUnexpectedRevertInPackageHandler

func (_Crosschain *CrosschainFilterer) ParseUnexpectedRevertInPackageHandler(log types.Log) (*CrosschainUnexpectedRevertInPackageHandler, error)

ParseUnexpectedRevertInPackageHandler is a log parse operation binding the contract event 0xad48df68de34d2557f1ab71adc0bf7d0a1e23c433408e7b17ff51d588e28b136.

Solidity: event UnexpectedRevertInPackageHandler(address indexed contractAddr, string reason)

func (*CrosschainFilterer) ParseUnsupportedPackage

func (_Crosschain *CrosschainFilterer) ParseUnsupportedPackage(log types.Log) (*CrosschainUnsupportedPackage, error)

ParseUnsupportedPackage is a log parse operation binding the contract event 0xdee9845a11ea343955bc9858cfa6d6fbcce9c8c1cc4ca22a12997e88b1726b97.

Solidity: event UnsupportedPackage(uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)

func (*CrosschainFilterer) WatchAddChannel

func (_Crosschain *CrosschainFilterer) WatchAddChannel(opts *bind.WatchOpts, sink chan<- *CrosschainAddChannel, channelId []uint8, contractAddr []common.Address) (event.Subscription, error)

WatchAddChannel is a free log subscription operation binding the contract event 0x50509989df6f2738ba0458b9a89f29591b60973aa0556c6ce0db9be78f5d5688.

Solidity: event AddChannel(uint8 indexed channelId, address indexed contractAddr)

func (*CrosschainFilterer) WatchCrossChainPackage

func (_Crosschain *CrosschainFilterer) WatchCrossChainPackage(opts *bind.WatchOpts, sink chan<- *CrosschainCrossChainPackage, oracleSequence []uint64, packageSequence []uint64, channelId []uint8) (event.Subscription, error)

WatchCrossChainPackage is a free log subscription operation binding the contract event 0x64998dc5a229e7324e622192f111c691edccc3534bbea4b2bd90fbaec936845a.

Solidity: event CrossChainPackage(uint32 srcChainId, uint32 dstChainId, uint64 indexed oracleSequence, uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)

func (*CrosschainFilterer) WatchEnableOrDisableChannel

func (_Crosschain *CrosschainFilterer) WatchEnableOrDisableChannel(opts *bind.WatchOpts, sink chan<- *CrosschainEnableOrDisableChannel, channelId []uint8) (event.Subscription, error)

WatchEnableOrDisableChannel is a free log subscription operation binding the contract event 0x7aa83b30cf2563aa45de6f2f23245bf55fa4f2a8425f37a0cbf027c8281bdc82.

Solidity: event EnableOrDisableChannel(uint8 indexed channelId, bool isEnable)

func (*CrosschainFilterer) WatchInitialized

func (_Crosschain *CrosschainFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *CrosschainInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*CrosschainFilterer) WatchOwnershipTransferred

func (_Crosschain *CrosschainFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *CrosschainOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*CrosschainFilterer) WatchParamChange

func (_Crosschain *CrosschainFilterer) WatchParamChange(opts *bind.WatchOpts, sink chan<- *CrosschainParamChange) (event.Subscription, error)

WatchParamChange is a free log subscription operation binding the contract event 0xf1ce9b2cbf50eeb05769a29e2543fd350cab46894a7dd9978a12d534bb20e633.

Solidity: event ParamChange(string key, bytes value)

func (*CrosschainFilterer) WatchProposalSubmitted

func (_Crosschain *CrosschainFilterer) WatchProposalSubmitted(opts *bind.WatchOpts, sink chan<- *CrosschainProposalSubmitted, proposalTypeHash [][32]byte, proposer []common.Address) (event.Subscription, error)

WatchProposalSubmitted is a free log subscription operation binding the contract event 0x9e109f0e55ef32e99e4880be2ec357f1ddb3469c79d0747ef4762da6e89fabe5.

Solidity: event ProposalSubmitted(bytes32 indexed proposalTypeHash, address indexed proposer, uint128 quorum, uint128 expiredAt, bytes32 contentHash)

func (*CrosschainFilterer) WatchReceivedPackage

func (_Crosschain *CrosschainFilterer) WatchReceivedPackage(opts *bind.WatchOpts, sink chan<- *CrosschainReceivedPackage, packageSequence []uint64, channelId []uint8) (event.Subscription, error)

WatchReceivedPackage is a free log subscription operation binding the contract event 0x48484b8ae53584e6447d0535a274159337a74351c4adf243a6bf94b4c7a16c2e.

Solidity: event ReceivedPackage(uint8 packageType, uint64 indexed packageSequence, uint8 indexed channelId)

func (*CrosschainFilterer) WatchReopened

func (_Crosschain *CrosschainFilterer) WatchReopened(opts *bind.WatchOpts, sink chan<- *CrosschainReopened, executor []common.Address) (event.Subscription, error)

WatchReopened is a free log subscription operation binding the contract event 0x899fe8c37dc61708a3aaa99c4bf143346c1d1da69af79be9e8920c0a6785b752.

Solidity: event Reopened(address indexed executor)

func (*CrosschainFilterer) WatchSuspended

func (_Crosschain *CrosschainFilterer) WatchSuspended(opts *bind.WatchOpts, sink chan<- *CrosschainSuspended, executor []common.Address) (event.Subscription, error)

WatchSuspended is a free log subscription operation binding the contract event 0x6f123d3d54c84a7960a573b31c221dcd86e13fd849c5adb0c6ca851468cc1ae4.

Solidity: event Suspended(address indexed executor)

func (*CrosschainFilterer) WatchUnexpectedFailureAssertionInPackageHandler

func (_Crosschain *CrosschainFilterer) WatchUnexpectedFailureAssertionInPackageHandler(opts *bind.WatchOpts, sink chan<- *CrosschainUnexpectedFailureAssertionInPackageHandler, contractAddr []common.Address) (event.Subscription, error)

WatchUnexpectedFailureAssertionInPackageHandler is a free log subscription operation binding the contract event 0xfb111707dba108ae503813ed49a361e67f4720ac104ff7f5e9692e32039a1a68.

Solidity: event UnexpectedFailureAssertionInPackageHandler(address indexed contractAddr, bytes lowLevelData)

func (*CrosschainFilterer) WatchUnexpectedRevertInPackageHandler

func (_Crosschain *CrosschainFilterer) WatchUnexpectedRevertInPackageHandler(opts *bind.WatchOpts, sink chan<- *CrosschainUnexpectedRevertInPackageHandler, contractAddr []common.Address) (event.Subscription, error)

WatchUnexpectedRevertInPackageHandler is a free log subscription operation binding the contract event 0xad48df68de34d2557f1ab71adc0bf7d0a1e23c433408e7b17ff51d588e28b136.

Solidity: event UnexpectedRevertInPackageHandler(address indexed contractAddr, string reason)

func (*CrosschainFilterer) WatchUnsupportedPackage

func (_Crosschain *CrosschainFilterer) WatchUnsupportedPackage(opts *bind.WatchOpts, sink chan<- *CrosschainUnsupportedPackage, packageSequence []uint64, channelId []uint8) (event.Subscription, error)

WatchUnsupportedPackage is a free log subscription operation binding the contract event 0xdee9845a11ea343955bc9858cfa6d6fbcce9c8c1cc4ca22a12997e88b1726b97.

Solidity: event UnsupportedPackage(uint64 indexed packageSequence, uint8 indexed channelId, bytes payload)

type CrosschainInitialized

type CrosschainInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

CrosschainInitialized represents a Initialized event raised by the Crosschain contract.

type CrosschainInitializedIterator

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

CrosschainInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Crosschain contract.

func (*CrosschainInitializedIterator) Close

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

func (*CrosschainInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainInitializedIterator) 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 CrosschainOwnershipTransferred

type CrosschainOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

CrosschainOwnershipTransferred represents a OwnershipTransferred event raised by the Crosschain contract.

type CrosschainOwnershipTransferredIterator

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

CrosschainOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Crosschain contract.

func (*CrosschainOwnershipTransferredIterator) Close

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

func (*CrosschainOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainOwnershipTransferredIterator) 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 CrosschainParamChange

type CrosschainParamChange struct {
	Key   string
	Value []byte
	Raw   types.Log // Blockchain specific contextual infos
}

CrosschainParamChange represents a ParamChange event raised by the Crosschain contract.

type CrosschainParamChangeIterator

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

CrosschainParamChangeIterator is returned from FilterParamChange and is used to iterate over the raw logs and unpacked data for ParamChange events raised by the Crosschain contract.

func (*CrosschainParamChangeIterator) Close

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

func (*CrosschainParamChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainParamChangeIterator) 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 CrosschainProposalSubmitted

type CrosschainProposalSubmitted struct {
	ProposalTypeHash [32]byte
	Proposer         common.Address
	Quorum           *big.Int
	ExpiredAt        *big.Int
	ContentHash      [32]byte
	Raw              types.Log // Blockchain specific contextual infos
}

CrosschainProposalSubmitted represents a ProposalSubmitted event raised by the Crosschain contract.

type CrosschainProposalSubmittedIterator

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

CrosschainProposalSubmittedIterator is returned from FilterProposalSubmitted and is used to iterate over the raw logs and unpacked data for ProposalSubmitted events raised by the Crosschain contract.

func (*CrosschainProposalSubmittedIterator) Close

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

func (*CrosschainProposalSubmittedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainProposalSubmittedIterator) 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 CrosschainRaw

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

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

func (*CrosschainRaw) Call

func (_Crosschain *CrosschainRaw) 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 (*CrosschainRaw) Transact

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

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

func (*CrosschainRaw) Transfer

func (_Crosschain *CrosschainRaw) 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 CrosschainReceivedPackage

type CrosschainReceivedPackage struct {
	PackageType     uint8
	PackageSequence uint64
	ChannelId       uint8
	Raw             types.Log // Blockchain specific contextual infos
}

CrosschainReceivedPackage represents a ReceivedPackage event raised by the Crosschain contract.

type CrosschainReceivedPackageIterator

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

CrosschainReceivedPackageIterator is returned from FilterReceivedPackage and is used to iterate over the raw logs and unpacked data for ReceivedPackage events raised by the Crosschain contract.

func (*CrosschainReceivedPackageIterator) Close

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

func (*CrosschainReceivedPackageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainReceivedPackageIterator) 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 CrosschainReopened

type CrosschainReopened struct {
	Executor common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CrosschainReopened represents a Reopened event raised by the Crosschain contract.

type CrosschainReopenedIterator

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

CrosschainReopenedIterator is returned from FilterReopened and is used to iterate over the raw logs and unpacked data for Reopened events raised by the Crosschain contract.

func (*CrosschainReopenedIterator) Close

func (it *CrosschainReopenedIterator) Close() error

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

func (*CrosschainReopenedIterator) Error

func (it *CrosschainReopenedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainReopenedIterator) Next

func (it *CrosschainReopenedIterator) Next() bool

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 CrosschainSession

type CrosschainSession struct {
	Contract     *Crosschain       // 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
}

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

func (*CrosschainSession) ACKPACKAGE

func (_Crosschain *CrosschainSession) ACKPACKAGE() (uint8, error)

ACKPACKAGE is a free data retrieval call binding the contract method 0xb0355f5b.

Solidity: function ACK_PACKAGE() view returns(uint8)

func (*CrosschainSession) APPCHANNELID

func (_Crosschain *CrosschainSession) APPCHANNELID() (uint8, error)

APPCHANNELID is a free data retrieval call binding the contract method 0x63ee4ac4.

Solidity: function APP_CHANNELID() view returns(uint8)

func (*CrosschainSession) BatchSizeForOracle

func (_Crosschain *CrosschainSession) BatchSizeForOracle() (*big.Int, error)

BatchSizeForOracle is a free data retrieval call binding the contract method 0x14b3023b.

Solidity: function batchSizeForOracle() view returns(uint256)

func (*CrosschainSession) CANCELTRANSFERPROPOSAL

func (_Crosschain *CrosschainSession) CANCELTRANSFERPROPOSAL() ([32]byte, error)

CANCELTRANSFERPROPOSAL is a free data retrieval call binding the contract method 0x5692ddd3.

Solidity: function CANCEL_TRANSFER_PROPOSAL() view returns(bytes32)

func (*CrosschainSession) CODEOK

func (_Crosschain *CrosschainSession) CODEOK() (uint32, error)

CODEOK is a free data retrieval call binding the contract method 0xab51bb96.

Solidity: function CODE_OK() view returns(uint32)

func (*CrosschainSession) CancelTransfer

func (_Crosschain *CrosschainSession) CancelTransfer(attacker common.Address) (*types.Transaction, error)

CancelTransfer is a paid mutator transaction binding the contract method 0xa7c1e629.

Solidity: function cancelTransfer(address attacker) returns()

func (*CrosschainSession) ChainId

func (_Crosschain *CrosschainSession) ChainId() (uint16, error)

ChainId is a free data retrieval call binding the contract method 0x9a8a0592.

Solidity: function chainId() view returns(uint16)

func (*CrosschainSession) ChannelHandlerMap

func (_Crosschain *CrosschainSession) ChannelHandlerMap(arg0 uint8) (common.Address, error)

ChannelHandlerMap is a free data retrieval call binding the contract method 0xf77d0a34.

Solidity: function channelHandlerMap(uint8 ) view returns(address)

func (*CrosschainSession) ChannelReceiveSequenceMap

func (_Crosschain *CrosschainSession) ChannelReceiveSequenceMap(arg0 uint8) (uint64, error)

ChannelReceiveSequenceMap is a free data retrieval call binding the contract method 0xc27cdcfb.

Solidity: function channelReceiveSequenceMap(uint8 ) view returns(uint64)

func (*CrosschainSession) ChannelSendSequenceMap

func (_Crosschain *CrosschainSession) ChannelSendSequenceMap(arg0 uint8) (uint64, error)

ChannelSendSequenceMap is a free data retrieval call binding the contract method 0xe3b04805.

Solidity: function channelSendSequenceMap(uint8 ) view returns(uint64)

func (*CrosschainSession) ChannelSyncedHeaderMap

func (_Crosschain *CrosschainSession) ChannelSyncedHeaderMap(arg0 uint8) (uint64, error)

ChannelSyncedHeaderMap is a free data retrieval call binding the contract method 0x3a648b15.

Solidity: function channelSyncedHeaderMap(uint8 ) view returns(uint64)

func (*CrosschainSession) EMERGENCYPROPOSALEXPIREPERIOD

func (_Crosschain *CrosschainSession) EMERGENCYPROPOSALEXPIREPERIOD() (*big.Int, error)

EMERGENCYPROPOSALEXPIREPERIOD is a free data retrieval call binding the contract method 0xdc404331.

Solidity: function EMERGENCY_PROPOSAL_EXPIRE_PERIOD() view returns(uint256)

func (*CrosschainSession) EMPTYCONTENTHASH

func (_Crosschain *CrosschainSession) EMPTYCONTENTHASH() ([32]byte, error)

EMPTYCONTENTHASH is a free data retrieval call binding the contract method 0xc780e9de.

Solidity: function EMPTY_CONTENT_HASH() view returns(bytes32)

func (*CrosschainSession) ERRORFAILDECODE

func (_Crosschain *CrosschainSession) ERRORFAILDECODE() (uint32, error)

ERRORFAILDECODE is a free data retrieval call binding the contract method 0x0bee7a67.

Solidity: function ERROR_FAIL_DECODE() view returns(uint32)

func (*CrosschainSession) EmergencyProposals

func (_Crosschain *CrosschainSession) EmergencyProposals(arg0 [32]byte) (struct {
	Quorum      uint16
	ExpiredAt   *big.Int
	ContentHash [32]byte
}, error,
)

EmergencyProposals is a free data retrieval call binding the contract method 0x6bacff2c.

Solidity: function emergencyProposals(bytes32 ) view returns(uint16 quorum, uint128 expiredAt, bytes32 contentHash)

func (*CrosschainSession) EncodePayload

func (_Crosschain *CrosschainSession) EncodePayload(packageType uint8, relayFee *big.Int, msgBytes []byte) ([]byte, error)

EncodePayload is a free data retrieval call binding the contract method 0x3bdc47a6.

Solidity: function encodePayload(uint8 packageType, uint256 relayFee, bytes msgBytes) view returns(bytes)

func (*CrosschainSession) FAILACKPACKAGE

func (_Crosschain *CrosschainSession) FAILACKPACKAGE() (uint8, error)

FAILACKPACKAGE is a free data retrieval call binding the contract method 0x8cc8f561.

Solidity: function FAIL_ACK_PACKAGE() view returns(uint8)

func (*CrosschainSession) GOVCHANNELID

func (_Crosschain *CrosschainSession) GOVCHANNELID() (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x96713da9.

Solidity: function GOV_CHANNELID() view returns(uint8)

func (*CrosschainSession) GovHub

func (_Crosschain *CrosschainSession) GovHub() (common.Address, error)

GovHub is a free data retrieval call binding the contract method 0x3f9c44ec.

Solidity: function govHub() view returns(address)

func (*CrosschainSession) HandlePackage

func (_Crosschain *CrosschainSession) HandlePackage(_payload []byte, _blsSignature []byte, _validatorsBitSet *big.Int) (*types.Transaction, error)

HandlePackage is a paid mutator transaction binding the contract method 0xc9978d24.

Solidity: function handlePackage(bytes _payload, bytes _blsSignature, uint256 _validatorsBitSet) returns()

func (*CrosschainSession) INTURNRELAYERVALIDITYPERIOD

func (_Crosschain *CrosschainSession) INTURNRELAYERVALIDITYPERIOD() (*big.Int, error)

INTURNRELAYERVALIDITYPERIOD is a free data retrieval call binding the contract method 0xe036ead6.

Solidity: function IN_TURN_RELAYER_VALIDITY_PERIOD() view returns(uint256)

func (*CrosschainSession) Initialize

func (_Crosschain *CrosschainSession) Initialize(_insChainId uint16, _govHub common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe0dbcde5.

Solidity: function initialize(uint16 _insChainId, address _govHub) returns()

func (*CrosschainSession) InsChainId

func (_Crosschain *CrosschainSession) InsChainId() (uint16, error)

InsChainId is a free data retrieval call binding the contract method 0x70b6dca6.

Solidity: function insChainId() view returns(uint16)

func (*CrosschainSession) IsRelayRewardFromSystemReward

func (_Crosschain *CrosschainSession) IsRelayRewardFromSystemReward(arg0 uint8) (bool, error)

IsRelayRewardFromSystemReward is a free data retrieval call binding the contract method 0x422f9050.

Solidity: function isRelayRewardFromSystemReward(uint8 ) view returns(bool)

func (*CrosschainSession) IsSuspended

func (_Crosschain *CrosschainSession) IsSuspended() (bool, error)

IsSuspended is a free data retrieval call binding the contract method 0x1d130935.

Solidity: function isSuspended() view returns(bool)

func (*CrosschainSession) OUTTURNRELAYERBACKOFFPERIOD

func (_Crosschain *CrosschainSession) OUTTURNRELAYERBACKOFFPERIOD() (*big.Int, error)

OUTTURNRELAYERBACKOFFPERIOD is a free data retrieval call binding the contract method 0x34809881.

Solidity: function OUT_TURN_RELAYER_BACKOFF_PERIOD() view returns(uint256)

func (*CrosschainSession) OracleSequence

func (_Crosschain *CrosschainSession) OracleSequence() (int64, error)

OracleSequence is a free data retrieval call binding the contract method 0x2ff32aea.

Solidity: function oracleSequence() view returns(int64)

func (*CrosschainSession) Owner

func (_Crosschain *CrosschainSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*CrosschainSession) PreviousTxHeight

func (_Crosschain *CrosschainSession) PreviousTxHeight() (*big.Int, error)

PreviousTxHeight is a free data retrieval call binding the contract method 0x308325f4.

Solidity: function previousTxHeight() view returns(uint256)

func (*CrosschainSession) QuorumMap

func (_Crosschain *CrosschainSession) QuorumMap(arg0 [32]byte) (uint16, error)

QuorumMap is a free data retrieval call binding the contract method 0x299b533d.

Solidity: function quorumMap(bytes32 ) view returns(uint16)

func (*CrosschainSession) REOPENPROPOSAL

func (_Crosschain *CrosschainSession) REOPENPROPOSAL() ([32]byte, error)

REOPENPROPOSAL is a free data retrieval call binding the contract method 0x6de380bd.

Solidity: function REOPEN_PROPOSAL() view returns(bytes32)

func (*CrosschainSession) RegisteredContractChannelMap

func (_Crosschain *CrosschainSession) RegisteredContractChannelMap(arg0 common.Address, arg1 uint8) (bool, error)

RegisteredContractChannelMap is a free data retrieval call binding the contract method 0xd31f968d.

Solidity: function registeredContractChannelMap(address , uint8 ) view returns(bool)

func (*CrosschainSession) RenounceOwnership

func (_Crosschain *CrosschainSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CrosschainSession) Reopen

func (_Crosschain *CrosschainSession) Reopen() (*types.Transaction, error)

Reopen is a paid mutator transaction binding the contract method 0xccc108d7.

Solidity: function reopen() returns()

func (*CrosschainSession) SUSPENDPROPOSAL

func (_Crosschain *CrosschainSession) SUSPENDPROPOSAL() ([32]byte, error)

SUSPENDPROPOSAL is a free data retrieval call binding the contract method 0x63e1394e.

Solidity: function SUSPEND_PROPOSAL() view returns(bytes32)

func (*CrosschainSession) SYNPACKAGE

func (_Crosschain *CrosschainSession) SYNPACKAGE() (uint8, error)

SYNPACKAGE is a free data retrieval call binding the contract method 0x05e68258.

Solidity: function SYN_PACKAGE() view returns(uint8)

func (*CrosschainSession) SendSynPackage

func (_Crosschain *CrosschainSession) SendSynPackage(channelId uint8, msgBytes []byte, relayFee *big.Int) (*types.Transaction, error)

SendSynPackage is a paid mutator transaction binding the contract method 0xf7a251d7.

Solidity: function sendSynPackage(uint8 channelId, bytes msgBytes, uint256 relayFee) returns()

func (*CrosschainSession) Suspend

func (_Crosschain *CrosschainSession) Suspend() (*types.Transaction, error)

Suspend is a paid mutator transaction binding the contract method 0xe6400bbe.

Solidity: function suspend() returns()

func (*CrosschainSession) TRANSFERINCHANNELID

func (_Crosschain *CrosschainSession) TRANSFERINCHANNELID() (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0x70fd5bad.

Solidity: function TRANSFER_IN_CHANNELID() view returns(uint8)

func (*CrosschainSession) TRANSFEROUTCHANNELID

func (_Crosschain *CrosschainSession) TRANSFEROUTCHANNELID() (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0xfc3e5908.

Solidity: function TRANSFER_OUT_CHANNELID() view returns(uint8)

func (*CrosschainSession) TransferOwnership

func (_Crosschain *CrosschainSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*CrosschainSession) TxCounter

func (_Crosschain *CrosschainSession) TxCounter() (*big.Int, error)

TxCounter is a free data retrieval call binding the contract method 0x74f079b8.

Solidity: function txCounter() view returns(uint256)

func (*CrosschainSession) VALIDATORSETCHANNELID

func (_Crosschain *CrosschainSession) VALIDATORSETCHANNELID() (uint8, error)

VALIDATORSETCHANNELID is a free data retrieval call binding the contract method 0x99770281.

Solidity: function VALIDATORSET_CHANNELID() view returns(uint8)

type CrosschainSuspended

type CrosschainSuspended struct {
	Executor common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

CrosschainSuspended represents a Suspended event raised by the Crosschain contract.

type CrosschainSuspendedIterator

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

CrosschainSuspendedIterator is returned from FilterSuspended and is used to iterate over the raw logs and unpacked data for Suspended events raised by the Crosschain contract.

func (*CrosschainSuspendedIterator) Close

func (it *CrosschainSuspendedIterator) Close() error

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

func (*CrosschainSuspendedIterator) Error

func (it *CrosschainSuspendedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainSuspendedIterator) Next

func (it *CrosschainSuspendedIterator) Next() bool

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 CrosschainTransactor

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

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

func NewCrosschainTransactor

func NewCrosschainTransactor(address common.Address, transactor bind.ContractTransactor) (*CrosschainTransactor, error)

NewCrosschainTransactor creates a new write-only instance of Crosschain, bound to a specific deployed contract.

func (*CrosschainTransactor) CancelTransfer

func (_Crosschain *CrosschainTransactor) CancelTransfer(opts *bind.TransactOpts, attacker common.Address) (*types.Transaction, error)

CancelTransfer is a paid mutator transaction binding the contract method 0xa7c1e629.

Solidity: function cancelTransfer(address attacker) returns()

func (*CrosschainTransactor) HandlePackage

func (_Crosschain *CrosschainTransactor) HandlePackage(opts *bind.TransactOpts, _payload []byte, _blsSignature []byte, _validatorsBitSet *big.Int) (*types.Transaction, error)

HandlePackage is a paid mutator transaction binding the contract method 0xc9978d24.

Solidity: function handlePackage(bytes _payload, bytes _blsSignature, uint256 _validatorsBitSet) returns()

func (*CrosschainTransactor) Initialize

func (_Crosschain *CrosschainTransactor) Initialize(opts *bind.TransactOpts, _insChainId uint16, _govHub common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe0dbcde5.

Solidity: function initialize(uint16 _insChainId, address _govHub) returns()

func (*CrosschainTransactor) RenounceOwnership

func (_Crosschain *CrosschainTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CrosschainTransactor) Reopen

func (_Crosschain *CrosschainTransactor) Reopen(opts *bind.TransactOpts) (*types.Transaction, error)

Reopen is a paid mutator transaction binding the contract method 0xccc108d7.

Solidity: function reopen() returns()

func (*CrosschainTransactor) SendSynPackage

func (_Crosschain *CrosschainTransactor) SendSynPackage(opts *bind.TransactOpts, channelId uint8, msgBytes []byte, relayFee *big.Int) (*types.Transaction, error)

SendSynPackage is a paid mutator transaction binding the contract method 0xf7a251d7.

Solidity: function sendSynPackage(uint8 channelId, bytes msgBytes, uint256 relayFee) returns()

func (*CrosschainTransactor) Suspend

func (_Crosschain *CrosschainTransactor) Suspend(opts *bind.TransactOpts) (*types.Transaction, error)

Suspend is a paid mutator transaction binding the contract method 0xe6400bbe.

Solidity: function suspend() returns()

func (*CrosschainTransactor) TransferOwnership

func (_Crosschain *CrosschainTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type CrosschainTransactorRaw

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

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

func (*CrosschainTransactorRaw) Transact

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

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

func (*CrosschainTransactorRaw) Transfer

func (_Crosschain *CrosschainTransactorRaw) 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 CrosschainTransactorSession

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

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

func (*CrosschainTransactorSession) CancelTransfer

func (_Crosschain *CrosschainTransactorSession) CancelTransfer(attacker common.Address) (*types.Transaction, error)

CancelTransfer is a paid mutator transaction binding the contract method 0xa7c1e629.

Solidity: function cancelTransfer(address attacker) returns()

func (*CrosschainTransactorSession) HandlePackage

func (_Crosschain *CrosschainTransactorSession) HandlePackage(_payload []byte, _blsSignature []byte, _validatorsBitSet *big.Int) (*types.Transaction, error)

HandlePackage is a paid mutator transaction binding the contract method 0xc9978d24.

Solidity: function handlePackage(bytes _payload, bytes _blsSignature, uint256 _validatorsBitSet) returns()

func (*CrosschainTransactorSession) Initialize

func (_Crosschain *CrosschainTransactorSession) Initialize(_insChainId uint16, _govHub common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe0dbcde5.

Solidity: function initialize(uint16 _insChainId, address _govHub) returns()

func (*CrosschainTransactorSession) RenounceOwnership

func (_Crosschain *CrosschainTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*CrosschainTransactorSession) Reopen

func (_Crosschain *CrosschainTransactorSession) Reopen() (*types.Transaction, error)

Reopen is a paid mutator transaction binding the contract method 0xccc108d7.

Solidity: function reopen() returns()

func (*CrosschainTransactorSession) SendSynPackage

func (_Crosschain *CrosschainTransactorSession) SendSynPackage(channelId uint8, msgBytes []byte, relayFee *big.Int) (*types.Transaction, error)

SendSynPackage is a paid mutator transaction binding the contract method 0xf7a251d7.

Solidity: function sendSynPackage(uint8 channelId, bytes msgBytes, uint256 relayFee) returns()

func (*CrosschainTransactorSession) Suspend

func (_Crosschain *CrosschainTransactorSession) Suspend() (*types.Transaction, error)

Suspend is a paid mutator transaction binding the contract method 0xe6400bbe.

Solidity: function suspend() returns()

func (*CrosschainTransactorSession) TransferOwnership

func (_Crosschain *CrosschainTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type CrosschainUnexpectedFailureAssertionInPackageHandler

type CrosschainUnexpectedFailureAssertionInPackageHandler struct {
	ContractAddr common.Address
	LowLevelData []byte
	Raw          types.Log // Blockchain specific contextual infos
}

CrosschainUnexpectedFailureAssertionInPackageHandler represents a UnexpectedFailureAssertionInPackageHandler event raised by the Crosschain contract.

type CrosschainUnexpectedFailureAssertionInPackageHandlerIterator

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

CrosschainUnexpectedFailureAssertionInPackageHandlerIterator is returned from FilterUnexpectedFailureAssertionInPackageHandler and is used to iterate over the raw logs and unpacked data for UnexpectedFailureAssertionInPackageHandler events raised by the Crosschain contract.

func (*CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) Close

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

func (*CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) 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 CrosschainUnexpectedRevertInPackageHandler

type CrosschainUnexpectedRevertInPackageHandler struct {
	ContractAddr common.Address
	Reason       string
	Raw          types.Log // Blockchain specific contextual infos
}

CrosschainUnexpectedRevertInPackageHandler represents a UnexpectedRevertInPackageHandler event raised by the Crosschain contract.

type CrosschainUnexpectedRevertInPackageHandlerIterator

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

CrosschainUnexpectedRevertInPackageHandlerIterator is returned from FilterUnexpectedRevertInPackageHandler and is used to iterate over the raw logs and unpacked data for UnexpectedRevertInPackageHandler events raised by the Crosschain contract.

func (*CrosschainUnexpectedRevertInPackageHandlerIterator) Close

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

func (*CrosschainUnexpectedRevertInPackageHandlerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*CrosschainUnexpectedRevertInPackageHandlerIterator) 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 CrosschainUnsupportedPackage

type CrosschainUnsupportedPackage struct {
	PackageSequence uint64
	ChannelId       uint8
	Payload         []byte
	Raw             types.Log // Blockchain specific contextual infos
}

CrosschainUnsupportedPackage represents a UnsupportedPackage event raised by the Crosschain contract.

type CrosschainUnsupportedPackageIterator

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

CrosschainUnsupportedPackageIterator is returned from FilterUnsupportedPackage and is used to iterate over the raw logs and unpacked data for UnsupportedPackage events raised by the Crosschain contract.

func (*CrosschainUnsupportedPackageIterator) Close

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

func (*CrosschainUnsupportedPackageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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