wormhole/bridge/pkg/common/chainlock.go

29 lines
403 B
Go
Raw Normal View History

package common
import (
"math/big"
2020-08-20 12:48:58 -07:00
"time"
"github.com/ethereum/go-ethereum/common"
"github.com/certusone/wormhole/bridge/pkg/vaa"
)
type ChainLock struct {
2020-08-20 12:48:58 -07:00
TxHash common.Hash
Timestamp time.Time
Nonce uint32
SourceAddress vaa.Address
TargetAddress vaa.Address
SourceChain vaa.ChainID
TargetChain vaa.ChainID
TokenChain vaa.ChainID
TokenAddress vaa.Address
Amount *big.Int
}