# Packages
No description provided by the author
# Functions
DecodeTransaction takes a rawTx bytearray as input and returns a transaction.
GenerateKey returns an secp256k1 key for use with Ethereum.
No description provided by the author
No description provided by the author
GetToken takes a tokenlist and token address as input .
No description provided by the author
Returns a new Service, should be passed as an RPC handler.
ParseErc20Lock parses the the ERC20 Lock transaction and returns LockErcRequest .
ParseERC20RedeemParams Parses the ERC Redeem Request and returns the RedeemERCRequest struct RedeemERCRequest contains the parameters that were passed when the redeem function in the LOCKREDEEMERC smart contract was called by the user.
ParseERC20RedeemToken Parses the ERC Redeem Request and returns the Token which is being redeemed.
ParseLock takes a rawTX byteArray as input and returns a LockRequest struct LockRequest struct contains the amount which the user is trying to lock .
ParseRedeem Parses the ERC Redeem Request and returns the RedeemRequest struct RedeemRequest contains the parameters that were passed when the redeem function in the LOCKREDEEM smart contract was called by the user.
ReadUnsafeKeyDump reads a privateKeyDump from a given JSON file, and unmarshals the contents into an ecdsa.PrivateKey.
SaveUnsafeKeyDump saves a given ecdsa.PrivateKey into a JSON file at the given location.
StringTOABI takes string as an input and converts it into an ABI.
VerifyLock verifies ERC lock transaction to check whether the ERC20 Token is being sent to our Smart Contract Address.
VerifyLock verifies ETHER lock transaction to check whether the ETHER is being sent to our Smart Contract Address.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
Alias some helper funcs.
Alias some helper funcs.
Alias some helper funcs.
Alias some helper funcs.
Alias some helper funcs.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
TODO: embed and implement SContract is the stub implementation thereof the.
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author