chainlock.go 427 B

1234567891011121314151617181920
  1. package common
  2. import (
  3. "github.com/certusone/wormhole/bridge/pkg/vaa"
  4. "time"
  5. "github.com/ethereum/go-ethereum/common"
  6. )
  7. type MessagePublication struct {
  8. TxHash common.Hash // TODO: rename to identifier? on Solana, this isn't actually the tx hash
  9. Timestamp time.Time
  10. Nonce uint32
  11. Sequence uint64
  12. EmitterChain vaa.ChainID
  13. EmitterAddress vaa.Address
  14. Payload []byte
  15. Persist bool
  16. }