Versions in this module Expand all Collapse all v1 v1.1.2 Jun 2, 2021 Changes in this version + const FungibleTransfer + const GenericTransfer + const NonFungibleTransfer + var AcknowledgeProposal utils.Method = utils.BridgePalletName + ".acknowledge_proposal" + var BlockRetryInterval = time.Second * 5 + var BlockRetryLimit = 5 + var ErrBlockNotReady = errors.New("required result to be 32 bytes, but got 0") + var Subscriptions = []struct{ ... } + var TerminatedError = errors.New("terminated") + func NewListener(conn *Connection, name string, id msg.ChainId, startBlock uint64, ...) *listener + func NewWriter(conn *Connection, log log15.Logger, sysErr chan<- error, ...) *writer + type Chain struct + func InitializeChain(cfg *core.ChainConfig, logger log15.Logger, sysErr chan<- error, ...) (*Chain, error) + func (c *Chain) Id() msg.ChainId + func (c *Chain) LatestBlock() metrics.LatestBlock + func (c *Chain) Name() string + func (c *Chain) SetRouter(r *core.Router) + func (c *Chain) Start() error + func (c *Chain) Stop() + type Connection struct + func NewConnection(url string, name string, key *signature.KeyringPair, log log15.Logger, ...) *Connection + func (c *Connection) Close() + func (c *Connection) Connect() error + func (c *Connection) SubmitTx(method utils.Method, args ...interface{}) error