Documentation ¶
Index ¶
- Variables
- type Crosschain
- type CrosschainAddChannel
- type CrosschainAddChannelIterator
- type CrosschainCaller
- func (_Crosschain *CrosschainCaller) ACKPACKAGE(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) BUCKETCHANNELID(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) BUCKETHUB(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) BatchSizeForOracle(opts *bind.CallOpts) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) CANCELTRANSFERPROPOSAL(opts *bind.CallOpts) ([32]byte, error)
- func (_Crosschain *CrosschainCaller) CROSSCHAIN(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) CallbackGasPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) ChainId(opts *bind.CallOpts) (uint16, error)
- func (_Crosschain *CrosschainCaller) ChannelHandlerMap(opts *bind.CallOpts, arg0 uint8) (common.Address, error)
- func (_Crosschain *CrosschainCaller) ChannelReceiveSequenceMap(opts *bind.CallOpts, arg0 uint8) (uint64, error)
- func (_Crosschain *CrosschainCaller) ChannelSendSequenceMap(opts *bind.CallOpts, arg0 uint8) (uint64, error)
- func (_Crosschain *CrosschainCaller) ConfigSlots(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) EMERGENCYPROPOSALEXPIREPERIOD(opts *bind.CallOpts) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) EMPTYCONTENTHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Crosschain *CrosschainCaller) EmergencyProposals(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_Crosschain *CrosschainCaller) EncodePayload(opts *bind.CallOpts, packageType uint8, _relayFee *big.Int, ...) ([]byte, error)
- func (_Crosschain *CrosschainCaller) FAILACKPACKAGE(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) GOVCHANNELID(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) GOVHUB(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) GROUPCHANNELID(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) GROUPHUB(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) GetRelayFees(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Crosschain *CrosschainCaller) GnfdChainId(opts *bind.CallOpts) (uint16, error)
- func (_Crosschain *CrosschainCaller) IsSuspended(opts *bind.CallOpts) (bool, error)
- func (_Crosschain *CrosschainCaller) LIGHTCLIENT(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) MinAckRelayFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) OBJECTCHANNELID(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) OBJECTHUB(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) OracleSequence(opts *bind.CallOpts) (int64, error)
- func (_Crosschain *CrosschainCaller) PROXYADMIN(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) PreviousTxHeight(opts *bind.CallOpts) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) QuorumMap(opts *bind.CallOpts, arg0 [32]byte) (uint16, error)
- func (_Crosschain *CrosschainCaller) RELAYERHUB(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) REOPENPROPOSAL(opts *bind.CallOpts) ([32]byte, error)
- func (_Crosschain *CrosschainCaller) RegisteredContractChannelMap(opts *bind.CallOpts, arg0 common.Address, arg1 uint8) (bool, error)
- func (_Crosschain *CrosschainCaller) RelayFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) SUSPENDPROPOSAL(opts *bind.CallOpts) ([32]byte, error)
- func (_Crosschain *CrosschainCaller) SYNPACKAGE(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) TOKENHUB(opts *bind.CallOpts) (common.Address, error)
- func (_Crosschain *CrosschainCaller) TRANSFERINCHANNELID(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) TRANSFEROUTCHANNELID(opts *bind.CallOpts) (uint8, error)
- func (_Crosschain *CrosschainCaller) TxCounter(opts *bind.CallOpts) (*big.Int, error)
- func (_Crosschain *CrosschainCaller) VersionInfo(opts *bind.CallOpts) (struct{ ... }, error)
- type CrosschainCallerRaw
- type CrosschainCallerSession
- func (_Crosschain *CrosschainCallerSession) ACKPACKAGE() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) BUCKETCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) BUCKETHUB() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) BatchSizeForOracle() (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) CANCELTRANSFERPROPOSAL() ([32]byte, error)
- func (_Crosschain *CrosschainCallerSession) CROSSCHAIN() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) CallbackGasPrice() (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) ChainId() (uint16, error)
- func (_Crosschain *CrosschainCallerSession) ChannelHandlerMap(arg0 uint8) (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) ChannelReceiveSequenceMap(arg0 uint8) (uint64, error)
- func (_Crosschain *CrosschainCallerSession) ChannelSendSequenceMap(arg0 uint8) (uint64, error)
- func (_Crosschain *CrosschainCallerSession) ConfigSlots(arg0 *big.Int) (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) EMERGENCYPROPOSALEXPIREPERIOD() (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) EMPTYCONTENTHASH() ([32]byte, error)
- func (_Crosschain *CrosschainCallerSession) EmergencyProposals(arg0 [32]byte) (struct{ ... }, error)
- func (_Crosschain *CrosschainCallerSession) EncodePayload(packageType uint8, _relayFee *big.Int, _ackRelayFee *big.Int, msgBytes []byte) ([]byte, error)
- func (_Crosschain *CrosschainCallerSession) FAILACKPACKAGE() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) GOVCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) GOVHUB() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) GROUPCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) GROUPHUB() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) GetRelayFees() (struct{ ... }, error)
- func (_Crosschain *CrosschainCallerSession) GnfdChainId() (uint16, error)
- func (_Crosschain *CrosschainCallerSession) IsSuspended() (bool, error)
- func (_Crosschain *CrosschainCallerSession) LIGHTCLIENT() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) MinAckRelayFee() (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) OBJECTCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) OBJECTHUB() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) OracleSequence() (int64, error)
- func (_Crosschain *CrosschainCallerSession) PROXYADMIN() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) PreviousTxHeight() (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) QuorumMap(arg0 [32]byte) (uint16, error)
- func (_Crosschain *CrosschainCallerSession) RELAYERHUB() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) REOPENPROPOSAL() ([32]byte, error)
- func (_Crosschain *CrosschainCallerSession) RegisteredContractChannelMap(arg0 common.Address, arg1 uint8) (bool, error)
- func (_Crosschain *CrosschainCallerSession) RelayFee() (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) SUSPENDPROPOSAL() ([32]byte, error)
- func (_Crosschain *CrosschainCallerSession) SYNPACKAGE() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) TOKENHUB() (common.Address, error)
- func (_Crosschain *CrosschainCallerSession) TRANSFERINCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) TRANSFEROUTCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainCallerSession) TxCounter() (*big.Int, error)
- func (_Crosschain *CrosschainCallerSession) VersionInfo() (struct{ ... }, error)
- type CrosschainCrossChainPackage
- type CrosschainCrossChainPackageIterator
- type CrosschainEnableOrDisableChannel
- type CrosschainEnableOrDisableChannelIterator
- type CrosschainFilterer
- func (_Crosschain *CrosschainFilterer) FilterAddChannel(opts *bind.FilterOpts, channelId []uint8, contractAddr []common.Address) (*CrosschainAddChannelIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterCrossChainPackage(opts *bind.FilterOpts, oracleSequence []uint64, packageSequence []uint64, ...) (*CrosschainCrossChainPackageIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterEnableOrDisableChannel(opts *bind.FilterOpts, channelId []uint8) (*CrosschainEnableOrDisableChannelIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterInitialized(opts *bind.FilterOpts) (*CrosschainInitializedIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterParamChange(opts *bind.FilterOpts) (*CrosschainParamChangeIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterProposalSubmitted(opts *bind.FilterOpts, proposalTypeHash [][32]byte, proposer []common.Address) (*CrosschainProposalSubmittedIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterReceivedPackage(opts *bind.FilterOpts, packageSequence []uint64, channelId []uint8) (*CrosschainReceivedPackageIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterReopened(opts *bind.FilterOpts, executor []common.Address) (*CrosschainReopenedIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterSuspended(opts *bind.FilterOpts, executor []common.Address) (*CrosschainSuspendedIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterUnexpectedFailureAssertionInPackageHandler(opts *bind.FilterOpts, contractAddr []common.Address) (*CrosschainUnexpectedFailureAssertionInPackageHandlerIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterUnexpectedRevertInPackageHandler(opts *bind.FilterOpts, contractAddr []common.Address) (*CrosschainUnexpectedRevertInPackageHandlerIterator, error)
- func (_Crosschain *CrosschainFilterer) FilterUnsupportedPackage(opts *bind.FilterOpts, packageSequence []uint64, channelId []uint8) (*CrosschainUnsupportedPackageIterator, error)
- func (_Crosschain *CrosschainFilterer) ParseAddChannel(log types.Log) (*CrosschainAddChannel, error)
- func (_Crosschain *CrosschainFilterer) ParseCrossChainPackage(log types.Log) (*CrosschainCrossChainPackage, error)
- func (_Crosschain *CrosschainFilterer) ParseEnableOrDisableChannel(log types.Log) (*CrosschainEnableOrDisableChannel, error)
- func (_Crosschain *CrosschainFilterer) ParseInitialized(log types.Log) (*CrosschainInitialized, error)
- func (_Crosschain *CrosschainFilterer) ParseParamChange(log types.Log) (*CrosschainParamChange, error)
- func (_Crosschain *CrosschainFilterer) ParseProposalSubmitted(log types.Log) (*CrosschainProposalSubmitted, error)
- func (_Crosschain *CrosschainFilterer) ParseReceivedPackage(log types.Log) (*CrosschainReceivedPackage, error)
- func (_Crosschain *CrosschainFilterer) ParseReopened(log types.Log) (*CrosschainReopened, error)
- func (_Crosschain *CrosschainFilterer) ParseSuspended(log types.Log) (*CrosschainSuspended, error)
- func (_Crosschain *CrosschainFilterer) ParseUnexpectedFailureAssertionInPackageHandler(log types.Log) (*CrosschainUnexpectedFailureAssertionInPackageHandler, error)
- func (_Crosschain *CrosschainFilterer) ParseUnexpectedRevertInPackageHandler(log types.Log) (*CrosschainUnexpectedRevertInPackageHandler, error)
- func (_Crosschain *CrosschainFilterer) ParseUnsupportedPackage(log types.Log) (*CrosschainUnsupportedPackage, error)
- func (_Crosschain *CrosschainFilterer) WatchAddChannel(opts *bind.WatchOpts, sink chan<- *CrosschainAddChannel, channelId []uint8, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchCrossChainPackage(opts *bind.WatchOpts, sink chan<- *CrosschainCrossChainPackage, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchEnableOrDisableChannel(opts *bind.WatchOpts, sink chan<- *CrosschainEnableOrDisableChannel, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *CrosschainInitialized) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchParamChange(opts *bind.WatchOpts, sink chan<- *CrosschainParamChange) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchProposalSubmitted(opts *bind.WatchOpts, sink chan<- *CrosschainProposalSubmitted, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchReceivedPackage(opts *bind.WatchOpts, sink chan<- *CrosschainReceivedPackage, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchReopened(opts *bind.WatchOpts, sink chan<- *CrosschainReopened, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchSuspended(opts *bind.WatchOpts, sink chan<- *CrosschainSuspended, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchUnexpectedFailureAssertionInPackageHandler(opts *bind.WatchOpts, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchUnexpectedRevertInPackageHandler(opts *bind.WatchOpts, sink chan<- *CrosschainUnexpectedRevertInPackageHandler, ...) (event.Subscription, error)
- func (_Crosschain *CrosschainFilterer) WatchUnsupportedPackage(opts *bind.WatchOpts, sink chan<- *CrosschainUnsupportedPackage, ...) (event.Subscription, error)
- type CrosschainInitialized
- type CrosschainInitializedIterator
- type CrosschainParamChange
- type CrosschainParamChangeIterator
- type CrosschainProposalSubmitted
- type CrosschainProposalSubmittedIterator
- type CrosschainRaw
- func (_Crosschain *CrosschainRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Crosschain *CrosschainRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Crosschain *CrosschainRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CrosschainReceivedPackage
- type CrosschainReceivedPackageIterator
- type CrosschainReopened
- type CrosschainReopenedIterator
- type CrosschainSession
- func (_Crosschain *CrosschainSession) ACKPACKAGE() (uint8, error)
- func (_Crosschain *CrosschainSession) BUCKETCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainSession) BUCKETHUB() (common.Address, error)
- func (_Crosschain *CrosschainSession) BatchSizeForOracle() (*big.Int, error)
- func (_Crosschain *CrosschainSession) CANCELTRANSFERPROPOSAL() ([32]byte, error)
- func (_Crosschain *CrosschainSession) CROSSCHAIN() (common.Address, error)
- func (_Crosschain *CrosschainSession) CallbackGasPrice() (*big.Int, error)
- func (_Crosschain *CrosschainSession) CancelTransfer(attacker common.Address) (*types.Transaction, error)
- func (_Crosschain *CrosschainSession) ChainId() (uint16, error)
- func (_Crosschain *CrosschainSession) ChannelHandlerMap(arg0 uint8) (common.Address, error)
- func (_Crosschain *CrosschainSession) ChannelReceiveSequenceMap(arg0 uint8) (uint64, error)
- func (_Crosschain *CrosschainSession) ChannelSendSequenceMap(arg0 uint8) (uint64, error)
- func (_Crosschain *CrosschainSession) ConfigSlots(arg0 *big.Int) (*big.Int, error)
- func (_Crosschain *CrosschainSession) EMERGENCYPROPOSALEXPIREPERIOD() (*big.Int, error)
- func (_Crosschain *CrosschainSession) EMPTYCONTENTHASH() ([32]byte, error)
- func (_Crosschain *CrosschainSession) EmergencyProposals(arg0 [32]byte) (struct{ ... }, error)
- func (_Crosschain *CrosschainSession) EncodePayload(packageType uint8, _relayFee *big.Int, _ackRelayFee *big.Int, msgBytes []byte) ([]byte, error)
- func (_Crosschain *CrosschainSession) FAILACKPACKAGE() (uint8, error)
- func (_Crosschain *CrosschainSession) GOVCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainSession) GOVHUB() (common.Address, error)
- func (_Crosschain *CrosschainSession) GROUPCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainSession) GROUPHUB() (common.Address, error)
- func (_Crosschain *CrosschainSession) GetRelayFees() (struct{ ... }, error)
- func (_Crosschain *CrosschainSession) GnfdChainId() (uint16, error)
- func (_Crosschain *CrosschainSession) HandlePackage(_payload []byte, _blsSignature []byte, _validatorsBitSet *big.Int) (*types.Transaction, error)
- func (_Crosschain *CrosschainSession) Initialize(_gnfdChainId uint16) (*types.Transaction, error)
- func (_Crosschain *CrosschainSession) IsSuspended() (bool, error)
- func (_Crosschain *CrosschainSession) LIGHTCLIENT() (common.Address, error)
- func (_Crosschain *CrosschainSession) MinAckRelayFee() (*big.Int, error)
- func (_Crosschain *CrosschainSession) OBJECTCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainSession) OBJECTHUB() (common.Address, error)
- func (_Crosschain *CrosschainSession) OracleSequence() (int64, error)
- func (_Crosschain *CrosschainSession) PROXYADMIN() (common.Address, error)
- func (_Crosschain *CrosschainSession) PreviousTxHeight() (*big.Int, error)
- func (_Crosschain *CrosschainSession) QuorumMap(arg0 [32]byte) (uint16, error)
- func (_Crosschain *CrosschainSession) RELAYERHUB() (common.Address, error)
- func (_Crosschain *CrosschainSession) REOPENPROPOSAL() ([32]byte, error)
- func (_Crosschain *CrosschainSession) RegisteredContractChannelMap(arg0 common.Address, arg1 uint8) (bool, error)
- func (_Crosschain *CrosschainSession) RelayFee() (*big.Int, error)
- func (_Crosschain *CrosschainSession) Reopen() (*types.Transaction, error)
- func (_Crosschain *CrosschainSession) SUSPENDPROPOSAL() ([32]byte, error)
- func (_Crosschain *CrosschainSession) SYNPACKAGE() (uint8, error)
- func (_Crosschain *CrosschainSession) SendSynPackage(channelId uint8, msgBytes []byte, _relayFee *big.Int, _ackRelayFee *big.Int) (*types.Transaction, error)
- func (_Crosschain *CrosschainSession) Suspend() (*types.Transaction, error)
- func (_Crosschain *CrosschainSession) TOKENHUB() (common.Address, error)
- func (_Crosschain *CrosschainSession) TRANSFERINCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainSession) TRANSFEROUTCHANNELID() (uint8, error)
- func (_Crosschain *CrosschainSession) TxCounter() (*big.Int, error)
- func (_Crosschain *CrosschainSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
- func (_Crosschain *CrosschainSession) VersionInfo() (struct{ ... }, error)
- type CrosschainSuspended
- type CrosschainSuspendedIterator
- type CrosschainTransactor
- func (_Crosschain *CrosschainTransactor) CancelTransfer(opts *bind.TransactOpts, attacker common.Address) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactor) HandlePackage(opts *bind.TransactOpts, _payload []byte, _blsSignature []byte, ...) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactor) Initialize(opts *bind.TransactOpts, _gnfdChainId uint16) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactor) Reopen(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactor) SendSynPackage(opts *bind.TransactOpts, channelId uint8, msgBytes []byte, _relayFee *big.Int, ...) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactor) Suspend(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactor) UpdateParam(opts *bind.TransactOpts, key string, value []byte) (*types.Transaction, error)
- type CrosschainTransactorRaw
- type CrosschainTransactorSession
- func (_Crosschain *CrosschainTransactorSession) CancelTransfer(attacker common.Address) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactorSession) HandlePackage(_payload []byte, _blsSignature []byte, _validatorsBitSet *big.Int) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactorSession) Initialize(_gnfdChainId uint16) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactorSession) Reopen() (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactorSession) SendSynPackage(channelId uint8, msgBytes []byte, _relayFee *big.Int, _ackRelayFee *big.Int) (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactorSession) Suspend() (*types.Transaction, error)
- func (_Crosschain *CrosschainTransactorSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
- type CrosschainUnexpectedFailureAssertionInPackageHandler
- type CrosschainUnexpectedFailureAssertionInPackageHandlerIterator
- type CrosschainUnexpectedRevertInPackageHandler
- type CrosschainUnexpectedRevertInPackageHandlerIterator
- type CrosschainUnsupportedPackage
- type CrosschainUnsupportedPackageIterator
Constants ¶
This section is empty.
Variables ¶
var CrosschainABI = CrosschainMetaData.ABI
CrosschainABI is the input ABI used to generate the binding from. Deprecated: Use CrosschainMetaData.ABI instead.
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\":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\":\"BUCKET_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"BUCKET_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CANCEL_TRANSFER_PROPOSAL\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CROSS_CHAIN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ConfigSlots\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"FAIL_ACK_PACKAGE\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOV_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GOV_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GROUP_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GROUP_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"LIGHT_CLIENT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OBJECT_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"OBJECT_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PROXY_ADMIN\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RELAYER_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"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\":\"TOKEN_HUB\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_IN_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"TRANSFER_OUT_CHANNEL_ID\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"batchSizeForOracle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"callbackGasPrice\",\"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\":\"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\":\"uint256\",\"name\":\"_ackRelayFee\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"msgBytes\",\"type\":\"bytes\"}],\"name\":\"encodePayload\",\"outputs\":[{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getRelayFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"_relayFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minAckRelayFee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gnfdChainId\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"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\":\"_gnfdChainId\",\"type\":\"uint16\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isSuspended\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"minAckRelayFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracleSequence\",\"outputs\":[{\"internalType\":\"int64\",\"name\":\"\",\"type\":\"int64\"}],\"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\":\"relayFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"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\"},{\"internalType\":\"uint256\",\"name\":\"_ackRelayFee\",\"type\":\"uint256\"}],\"name\":\"sendSynPackage\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"suspend\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"txCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"key\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"value\",\"type\":\"bytes\"}],\"name\":\"updateParam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"versionInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"version\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"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 ¶
func (it *CrosschainAddChannelIterator) 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 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) BUCKETCHANNELID ¶
func (_Crosschain *CrosschainCaller) BUCKETCHANNELID(opts *bind.CallOpts) (uint8, error)
BUCKETCHANNELID is a free data retrieval call binding the contract method 0x73f1e3c3.
Solidity: function BUCKET_CHANNEL_ID() view returns(uint8)
func (*CrosschainCaller) BUCKETHUB ¶
BUCKETHUB is a free data retrieval call binding the contract method 0x7afffdd2.
Solidity: function BUCKET_HUB() view returns(address)
func (*CrosschainCaller) BatchSizeForOracle ¶
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) CROSSCHAIN ¶
CROSSCHAIN is a free data retrieval call binding the contract method 0x557cf477.
Solidity: function CROSS_CHAIN() view returns(address)
func (*CrosschainCaller) CallbackGasPrice ¶
CallbackGasPrice is a free data retrieval call binding the contract method 0xbf903247.
Solidity: function callbackGasPrice() view returns(uint256)
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) ConfigSlots ¶
func (_Crosschain *CrosschainCaller) ConfigSlots(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
ConfigSlots is a free data retrieval call binding the contract method 0xb76e4aca.
Solidity: function ConfigSlots(uint256 ) view returns(uint256)
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) 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, _ackRelayFee *big.Int, msgBytes []byte) ([]byte, error)
EncodePayload is a free data retrieval call binding the contract method 0x9c06ea47.
Solidity: function encodePayload(uint8 packageType, uint256 _relayFee, uint256 _ackRelayFee, 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 0x81d91480.
Solidity: function GOV_CHANNEL_ID() view returns(uint8)
func (*CrosschainCaller) GOVHUB ¶
GOVHUB is a free data retrieval call binding the contract method 0xa9dae71c.
Solidity: function GOV_HUB() view returns(address)
func (*CrosschainCaller) GROUPCHANNELID ¶
func (_Crosschain *CrosschainCaller) GROUPCHANNELID(opts *bind.CallOpts) (uint8, error)
GROUPCHANNELID is a free data retrieval call binding the contract method 0xe02e86b0.
Solidity: function GROUP_CHANNEL_ID() view returns(uint8)
func (*CrosschainCaller) GROUPHUB ¶
GROUPHUB is a free data retrieval call binding the contract method 0x46934fc8.
Solidity: function GROUP_HUB() view returns(address)
func (*CrosschainCaller) GetRelayFees ¶
func (_Crosschain *CrosschainCaller) GetRelayFees(opts *bind.CallOpts) (struct { RelayFee *big.Int MinAckRelayFee *big.Int }, error)
GetRelayFees is a free data retrieval call binding the contract method 0x54912a97.
Solidity: function getRelayFees() view returns(uint256 _relayFee, uint256 _minAckRelayFee)
func (*CrosschainCaller) GnfdChainId ¶
func (_Crosschain *CrosschainCaller) GnfdChainId(opts *bind.CallOpts) (uint16, error)
GnfdChainId is a free data retrieval call binding the contract method 0x96b1ec6e.
Solidity: function gnfdChainId() view returns(uint16)
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) LIGHTCLIENT ¶
LIGHTCLIENT is a free data retrieval call binding the contract method 0xe613ae00.
Solidity: function LIGHT_CLIENT() view returns(address)
func (*CrosschainCaller) MinAckRelayFee ¶
MinAckRelayFee is a free data retrieval call binding the contract method 0x84597cdf.
Solidity: function minAckRelayFee() view returns(uint256)
func (*CrosschainCaller) OBJECTCHANNELID ¶
func (_Crosschain *CrosschainCaller) OBJECTCHANNELID(opts *bind.CallOpts) (uint8, error)
OBJECTCHANNELID is a free data retrieval call binding the contract method 0xeac78b33.
Solidity: function OBJECT_CHANNEL_ID() view returns(uint8)
func (*CrosschainCaller) OBJECTHUB ¶
OBJECTHUB is a free data retrieval call binding the contract method 0x7d2e3084.
Solidity: function OBJECT_HUB() view returns(address)
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) PROXYADMIN ¶
PROXYADMIN is a free data retrieval call binding the contract method 0xed9bc82a.
Solidity: function PROXY_ADMIN() view returns(address)
func (*CrosschainCaller) PreviousTxHeight ¶
PreviousTxHeight is a free data retrieval call binding the contract method 0x308325f4.
Solidity: function previousTxHeight() view returns(uint256)
func (*CrosschainCaller) QuorumMap ¶
QuorumMap is a free data retrieval call binding the contract method 0x299b533d.
Solidity: function quorumMap(bytes32 ) view returns(uint16)
func (*CrosschainCaller) RELAYERHUB ¶
RELAYERHUB is a free data retrieval call binding the contract method 0xb9d86913.
Solidity: function RELAYER_HUB() view returns(address)
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) RelayFee ¶
RelayFee is a free data retrieval call binding the contract method 0x71d30863.
Solidity: function relayFee() view returns(uint256)
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) TOKENHUB ¶
TOKENHUB is a free data retrieval call binding the contract method 0x6d3358a1.
Solidity: function TOKEN_HUB() view returns(address)
func (*CrosschainCaller) TRANSFERINCHANNELID ¶
func (_Crosschain *CrosschainCaller) TRANSFERINCHANNELID(opts *bind.CallOpts) (uint8, error)
TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0xcc12eabc.
Solidity: function TRANSFER_IN_CHANNEL_ID() 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 0x618d569c.
Solidity: function TRANSFER_OUT_CHANNEL_ID() view returns(uint8)
func (*CrosschainCaller) TxCounter ¶
TxCounter is a free data retrieval call binding the contract method 0x74f079b8.
Solidity: function txCounter() view returns(uint256)
func (*CrosschainCaller) VersionInfo ¶
func (_Crosschain *CrosschainCaller) VersionInfo(opts *bind.CallOpts) (struct { Version *big.Int Name string Description string }, error)
VersionInfo is a free data retrieval call binding the contract method 0xa21d1354.
Solidity: function versionInfo() pure returns(uint256 version, string name, string description)
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) BUCKETCHANNELID ¶
func (_Crosschain *CrosschainCallerSession) BUCKETCHANNELID() (uint8, error)
BUCKETCHANNELID is a free data retrieval call binding the contract method 0x73f1e3c3.
Solidity: function BUCKET_CHANNEL_ID() view returns(uint8)
func (*CrosschainCallerSession) BUCKETHUB ¶
func (_Crosschain *CrosschainCallerSession) BUCKETHUB() (common.Address, error)
BUCKETHUB is a free data retrieval call binding the contract method 0x7afffdd2.
Solidity: function BUCKET_HUB() view returns(address)
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) CROSSCHAIN ¶
func (_Crosschain *CrosschainCallerSession) CROSSCHAIN() (common.Address, error)
CROSSCHAIN is a free data retrieval call binding the contract method 0x557cf477.
Solidity: function CROSS_CHAIN() view returns(address)
func (*CrosschainCallerSession) CallbackGasPrice ¶
func (_Crosschain *CrosschainCallerSession) CallbackGasPrice() (*big.Int, error)
CallbackGasPrice is a free data retrieval call binding the contract method 0xbf903247.
Solidity: function callbackGasPrice() view returns(uint256)
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) ConfigSlots ¶
ConfigSlots is a free data retrieval call binding the contract method 0xb76e4aca.
Solidity: function ConfigSlots(uint256 ) view returns(uint256)
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) 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, _ackRelayFee *big.Int, msgBytes []byte) ([]byte, error)
EncodePayload is a free data retrieval call binding the contract method 0x9c06ea47.
Solidity: function encodePayload(uint8 packageType, uint256 _relayFee, uint256 _ackRelayFee, 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 0x81d91480.
Solidity: function GOV_CHANNEL_ID() view returns(uint8)
func (*CrosschainCallerSession) GOVHUB ¶
func (_Crosschain *CrosschainCallerSession) GOVHUB() (common.Address, error)
GOVHUB is a free data retrieval call binding the contract method 0xa9dae71c.
Solidity: function GOV_HUB() view returns(address)
func (*CrosschainCallerSession) GROUPCHANNELID ¶
func (_Crosschain *CrosschainCallerSession) GROUPCHANNELID() (uint8, error)
GROUPCHANNELID is a free data retrieval call binding the contract method 0xe02e86b0.
Solidity: function GROUP_CHANNEL_ID() view returns(uint8)
func (*CrosschainCallerSession) GROUPHUB ¶
func (_Crosschain *CrosschainCallerSession) GROUPHUB() (common.Address, error)
GROUPHUB is a free data retrieval call binding the contract method 0x46934fc8.
Solidity: function GROUP_HUB() view returns(address)
func (*CrosschainCallerSession) GetRelayFees ¶
func (_Crosschain *CrosschainCallerSession) GetRelayFees() (struct { RelayFee *big.Int MinAckRelayFee *big.Int }, error)
GetRelayFees is a free data retrieval call binding the contract method 0x54912a97.
Solidity: function getRelayFees() view returns(uint256 _relayFee, uint256 _minAckRelayFee)
func (*CrosschainCallerSession) GnfdChainId ¶
func (_Crosschain *CrosschainCallerSession) GnfdChainId() (uint16, error)
GnfdChainId is a free data retrieval call binding the contract method 0x96b1ec6e.
Solidity: function gnfdChainId() view returns(uint16)
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) LIGHTCLIENT ¶
func (_Crosschain *CrosschainCallerSession) LIGHTCLIENT() (common.Address, error)
LIGHTCLIENT is a free data retrieval call binding the contract method 0xe613ae00.
Solidity: function LIGHT_CLIENT() view returns(address)
func (*CrosschainCallerSession) MinAckRelayFee ¶
func (_Crosschain *CrosschainCallerSession) MinAckRelayFee() (*big.Int, error)
MinAckRelayFee is a free data retrieval call binding the contract method 0x84597cdf.
Solidity: function minAckRelayFee() view returns(uint256)
func (*CrosschainCallerSession) OBJECTCHANNELID ¶
func (_Crosschain *CrosschainCallerSession) OBJECTCHANNELID() (uint8, error)
OBJECTCHANNELID is a free data retrieval call binding the contract method 0xeac78b33.
Solidity: function OBJECT_CHANNEL_ID() view returns(uint8)
func (*CrosschainCallerSession) OBJECTHUB ¶
func (_Crosschain *CrosschainCallerSession) OBJECTHUB() (common.Address, error)
OBJECTHUB is a free data retrieval call binding the contract method 0x7d2e3084.
Solidity: function OBJECT_HUB() view returns(address)
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) PROXYADMIN ¶
func (_Crosschain *CrosschainCallerSession) PROXYADMIN() (common.Address, error)
PROXYADMIN is a free data retrieval call binding the contract method 0xed9bc82a.
Solidity: function PROXY_ADMIN() 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) RELAYERHUB ¶
func (_Crosschain *CrosschainCallerSession) RELAYERHUB() (common.Address, error)
RELAYERHUB is a free data retrieval call binding the contract method 0xb9d86913.
Solidity: function RELAYER_HUB() view returns(address)
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) RelayFee ¶
func (_Crosschain *CrosschainCallerSession) RelayFee() (*big.Int, error)
RelayFee is a free data retrieval call binding the contract method 0x71d30863.
Solidity: function relayFee() view returns(uint256)
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) TOKENHUB ¶
func (_Crosschain *CrosschainCallerSession) TOKENHUB() (common.Address, error)
TOKENHUB is a free data retrieval call binding the contract method 0x6d3358a1.
Solidity: function TOKEN_HUB() view returns(address)
func (*CrosschainCallerSession) TRANSFERINCHANNELID ¶
func (_Crosschain *CrosschainCallerSession) TRANSFERINCHANNELID() (uint8, error)
TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0xcc12eabc.
Solidity: function TRANSFER_IN_CHANNEL_ID() view returns(uint8)
func (*CrosschainCallerSession) TRANSFEROUTCHANNELID ¶
func (_Crosschain *CrosschainCallerSession) TRANSFEROUTCHANNELID() (uint8, error)
TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0x618d569c.
Solidity: function TRANSFER_OUT_CHANNEL_ID() 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) VersionInfo ¶
func (_Crosschain *CrosschainCallerSession) VersionInfo() (struct { Version *big.Int Name string Description string }, error)
VersionInfo is a free data retrieval call binding the contract method 0xa21d1354.
Solidity: function versionInfo() pure returns(uint256 version, string name, string description)
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 ¶
func (it *CrosschainCrossChainPackageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainCrossChainPackageIterator) Error ¶
func (it *CrosschainCrossChainPackageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainCrossChainPackageIterator) Next ¶
func (it *CrosschainCrossChainPackageIterator) 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 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 ¶
func (it *CrosschainEnableOrDisableChannelIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainEnableOrDisableChannelIterator) Error ¶
func (it *CrosschainEnableOrDisableChannelIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainEnableOrDisableChannelIterator) Next ¶
func (it *CrosschainEnableOrDisableChannelIterator) 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 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) 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) 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) 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 ¶
func (it *CrosschainInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainInitializedIterator) Error ¶
func (it *CrosschainInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainInitializedIterator) Next ¶
func (it *CrosschainInitializedIterator) 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 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 ¶
func (it *CrosschainParamChangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainParamChangeIterator) Error ¶
func (it *CrosschainParamChangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainParamChangeIterator) Next ¶
func (it *CrosschainParamChangeIterator) 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 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 ¶
func (it *CrosschainProposalSubmittedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainProposalSubmittedIterator) Error ¶
func (it *CrosschainProposalSubmittedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainProposalSubmittedIterator) Next ¶
func (it *CrosschainProposalSubmittedIterator) 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 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 ¶
func (it *CrosschainReceivedPackageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainReceivedPackageIterator) Error ¶
func (it *CrosschainReceivedPackageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainReceivedPackageIterator) Next ¶
func (it *CrosschainReceivedPackageIterator) 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 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) BUCKETCHANNELID ¶
func (_Crosschain *CrosschainSession) BUCKETCHANNELID() (uint8, error)
BUCKETCHANNELID is a free data retrieval call binding the contract method 0x73f1e3c3.
Solidity: function BUCKET_CHANNEL_ID() view returns(uint8)
func (*CrosschainSession) BUCKETHUB ¶
func (_Crosschain *CrosschainSession) BUCKETHUB() (common.Address, error)
BUCKETHUB is a free data retrieval call binding the contract method 0x7afffdd2.
Solidity: function BUCKET_HUB() view returns(address)
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) CROSSCHAIN ¶
func (_Crosschain *CrosschainSession) CROSSCHAIN() (common.Address, error)
CROSSCHAIN is a free data retrieval call binding the contract method 0x557cf477.
Solidity: function CROSS_CHAIN() view returns(address)
func (*CrosschainSession) CallbackGasPrice ¶
func (_Crosschain *CrosschainSession) CallbackGasPrice() (*big.Int, error)
CallbackGasPrice is a free data retrieval call binding the contract method 0xbf903247.
Solidity: function callbackGasPrice() view returns(uint256)
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) ConfigSlots ¶
ConfigSlots is a free data retrieval call binding the contract method 0xb76e4aca.
Solidity: function ConfigSlots(uint256 ) view returns(uint256)
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) 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, _ackRelayFee *big.Int, msgBytes []byte) ([]byte, error)
EncodePayload is a free data retrieval call binding the contract method 0x9c06ea47.
Solidity: function encodePayload(uint8 packageType, uint256 _relayFee, uint256 _ackRelayFee, 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 0x81d91480.
Solidity: function GOV_CHANNEL_ID() view returns(uint8)
func (*CrosschainSession) GOVHUB ¶
func (_Crosschain *CrosschainSession) GOVHUB() (common.Address, error)
GOVHUB is a free data retrieval call binding the contract method 0xa9dae71c.
Solidity: function GOV_HUB() view returns(address)
func (*CrosschainSession) GROUPCHANNELID ¶
func (_Crosschain *CrosschainSession) GROUPCHANNELID() (uint8, error)
GROUPCHANNELID is a free data retrieval call binding the contract method 0xe02e86b0.
Solidity: function GROUP_CHANNEL_ID() view returns(uint8)
func (*CrosschainSession) GROUPHUB ¶
func (_Crosschain *CrosschainSession) GROUPHUB() (common.Address, error)
GROUPHUB is a free data retrieval call binding the contract method 0x46934fc8.
Solidity: function GROUP_HUB() view returns(address)
func (*CrosschainSession) GetRelayFees ¶
func (_Crosschain *CrosschainSession) GetRelayFees() (struct { RelayFee *big.Int MinAckRelayFee *big.Int }, error)
GetRelayFees is a free data retrieval call binding the contract method 0x54912a97.
Solidity: function getRelayFees() view returns(uint256 _relayFee, uint256 _minAckRelayFee)
func (*CrosschainSession) GnfdChainId ¶
func (_Crosschain *CrosschainSession) GnfdChainId() (uint16, error)
GnfdChainId is a free data retrieval call binding the contract method 0x96b1ec6e.
Solidity: function gnfdChainId() view returns(uint16)
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) Initialize ¶
func (_Crosschain *CrosschainSession) Initialize(_gnfdChainId uint16) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x13750946.
Solidity: function initialize(uint16 _gnfdChainId) returns()
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) LIGHTCLIENT ¶
func (_Crosschain *CrosschainSession) LIGHTCLIENT() (common.Address, error)
LIGHTCLIENT is a free data retrieval call binding the contract method 0xe613ae00.
Solidity: function LIGHT_CLIENT() view returns(address)
func (*CrosschainSession) MinAckRelayFee ¶
func (_Crosschain *CrosschainSession) MinAckRelayFee() (*big.Int, error)
MinAckRelayFee is a free data retrieval call binding the contract method 0x84597cdf.
Solidity: function minAckRelayFee() view returns(uint256)
func (*CrosschainSession) OBJECTCHANNELID ¶
func (_Crosschain *CrosschainSession) OBJECTCHANNELID() (uint8, error)
OBJECTCHANNELID is a free data retrieval call binding the contract method 0xeac78b33.
Solidity: function OBJECT_CHANNEL_ID() view returns(uint8)
func (*CrosschainSession) OBJECTHUB ¶
func (_Crosschain *CrosschainSession) OBJECTHUB() (common.Address, error)
OBJECTHUB is a free data retrieval call binding the contract method 0x7d2e3084.
Solidity: function OBJECT_HUB() view returns(address)
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) PROXYADMIN ¶
func (_Crosschain *CrosschainSession) PROXYADMIN() (common.Address, error)
PROXYADMIN is a free data retrieval call binding the contract method 0xed9bc82a.
Solidity: function PROXY_ADMIN() 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) RELAYERHUB ¶
func (_Crosschain *CrosschainSession) RELAYERHUB() (common.Address, error)
RELAYERHUB is a free data retrieval call binding the contract method 0xb9d86913.
Solidity: function RELAYER_HUB() view returns(address)
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) RelayFee ¶
func (_Crosschain *CrosschainSession) RelayFee() (*big.Int, error)
RelayFee is a free data retrieval call binding the contract method 0x71d30863.
Solidity: function relayFee() view returns(uint256)
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, _ackRelayFee *big.Int) (*types.Transaction, error)
SendSynPackage is a paid mutator transaction binding the contract method 0x8f884dda.
Solidity: function sendSynPackage(uint8 channelId, bytes msgBytes, uint256 _relayFee, uint256 _ackRelayFee) 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) TOKENHUB ¶
func (_Crosschain *CrosschainSession) TOKENHUB() (common.Address, error)
TOKENHUB is a free data retrieval call binding the contract method 0x6d3358a1.
Solidity: function TOKEN_HUB() view returns(address)
func (*CrosschainSession) TRANSFERINCHANNELID ¶
func (_Crosschain *CrosschainSession) TRANSFERINCHANNELID() (uint8, error)
TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0xcc12eabc.
Solidity: function TRANSFER_IN_CHANNEL_ID() view returns(uint8)
func (*CrosschainSession) TRANSFEROUTCHANNELID ¶
func (_Crosschain *CrosschainSession) TRANSFEROUTCHANNELID() (uint8, error)
TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0x618d569c.
Solidity: function TRANSFER_OUT_CHANNEL_ID() view returns(uint8)
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) UpdateParam ¶
func (_Crosschain *CrosschainSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
UpdateParam is a paid mutator transaction binding the contract method 0xac431751.
Solidity: function updateParam(string key, bytes value) returns()
func (*CrosschainSession) VersionInfo ¶
func (_Crosschain *CrosschainSession) VersionInfo() (struct { Version *big.Int Name string Description string }, error)
VersionInfo is a free data retrieval call binding the contract method 0xa21d1354.
Solidity: function versionInfo() pure returns(uint256 version, string name, string description)
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, _gnfdChainId uint16) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x13750946.
Solidity: function initialize(uint16 _gnfdChainId) 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, _ackRelayFee *big.Int) (*types.Transaction, error)
SendSynPackage is a paid mutator transaction binding the contract method 0x8f884dda.
Solidity: function sendSynPackage(uint8 channelId, bytes msgBytes, uint256 _relayFee, uint256 _ackRelayFee) 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) UpdateParam ¶
func (_Crosschain *CrosschainTransactor) UpdateParam(opts *bind.TransactOpts, key string, value []byte) (*types.Transaction, error)
UpdateParam is a paid mutator transaction binding the contract method 0xac431751.
Solidity: function updateParam(string key, bytes value) 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(_gnfdChainId uint16) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x13750946.
Solidity: function initialize(uint16 _gnfdChainId) 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, _ackRelayFee *big.Int) (*types.Transaction, error)
SendSynPackage is a paid mutator transaction binding the contract method 0x8f884dda.
Solidity: function sendSynPackage(uint8 channelId, bytes msgBytes, uint256 _relayFee, uint256 _ackRelayFee) 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) UpdateParam ¶
func (_Crosschain *CrosschainTransactorSession) UpdateParam(key string, value []byte) (*types.Transaction, error)
UpdateParam is a paid mutator transaction binding the contract method 0xac431751.
Solidity: function updateParam(string key, bytes value) 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 ¶
func (it *CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) Error ¶
func (it *CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) Next ¶
func (it *CrosschainUnexpectedFailureAssertionInPackageHandlerIterator) 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 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 ¶
func (it *CrosschainUnexpectedRevertInPackageHandlerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainUnexpectedRevertInPackageHandlerIterator) Error ¶
func (it *CrosschainUnexpectedRevertInPackageHandlerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainUnexpectedRevertInPackageHandlerIterator) Next ¶
func (it *CrosschainUnexpectedRevertInPackageHandlerIterator) 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 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 ¶
func (it *CrosschainUnsupportedPackageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*CrosschainUnsupportedPackageIterator) Error ¶
func (it *CrosschainUnsupportedPackageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*CrosschainUnsupportedPackageIterator) Next ¶
func (it *CrosschainUnsupportedPackageIterator) 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.