# Packages
Package backend is a generated GoMock package.
Package swap provides the management layer used by swapd for tracking current and past swaps.
Package txsender provides a common Sender interface for swapd instances.
Package xmrmaker manages the swap state of individual swaps where the local swapd instance is offering Monero and accepting Ethereum assets in return.
Package xmrtaker manages the swap state of individual swaps where the local swapd instance is offering Ethereum assets and accepting Monero in return.
# Functions
AssetSymbol returns the symbol for the given asset.
CheckSwapID checks if the given log is for the given swap ID.
ClaimMonero claims the XMR located in the wallet controlled by the private keypair `kpAB`.
GenerateKeysAndProof generates keys on the secp256k1 and ed25519 curves as well as a DLEq proof between the two.
GetClaimKeypair returns the private key pair required for a monero claim.
VerifyKeysAndProof verifies the given DLEq proof and asserts that the resulting secp256k1 key corresponds to the given key.
# Variables
ErrLogNotForUs is returned when a log is found that doesn't have the given contract swap ID.
# Structs
KeysAndProof contains a DLEq proof, a secp256k1 public key, and ed25519 public and private keypairs.
VerifyResult is returned from verifying a DLEq proof.
# Interfaces
SwapManager is the subset of the swap.Manager interface needed by ClaimMonero.