Versions in this module Expand all Collapse all v1 v1.0.0 Oct 4, 2023 Changes in this version + var ErrInvalidOperationType = goerr.New("invalid operation type") + var ErrUnsupportedNetwork = goerr.New("unsupported network") + var ErrWrongOperationContent = goerr.New("wrong operation content") + func GetImage(metaUrl string) (url string, hash string, err error) + func MustGenerateTokenSeed(bridgeContract string) (string, string) + func MustGetPDA(bridgeContract, tokenSeed string) string + func MustPublicKeyFromHexStr(programId string) solana.PublicKey + func MustVerifyTokenSeed(bridgeContract, tokenSeed string) bool + type Metadata struct + Image string + type TransferOperator interface + VerifyTransfer func(ctx context.Context, tx, eventId string, transfer *rarimotypes.Transfer) error + type TransferVerifier struct + func NewTransferVerifier(operator TransferOperator, log *logan.Entry) *TransferVerifier + func (t *TransferVerifier) Verify(ctx context.Context, operation rarimotypes.Operation) (rarimotypes.VoteType, error)