# Functions
DecodeHTLC decode HTLC information.
GetContractByAddress get system contract by the address.
NewContext creates a system contract context.
No description provided by the author
Sha256Hash used consist with solidity HTLC contract sha function.
ValidateDomainName validate domain name.
# Constants
CmdCreateDomainName create a domain.
CmdDeposit deposit seele and register as masternode.
CmdGetBlockHeader is the command byte to get btc block header.
CmdGetContract get HTLC.
CmdGetDomainNameOwner query the registrar of specified domain name.
CmdNewContract create HTLC.
CmdQueryMasternode query masternode.
CmdQuit quitCmd masternode.
CmdRecall recallCmd seele and unregister as masternode.
CmdRefund refund seele from HTLC.
CmdRelayTx is the command byte to relay btc tx.
CmdStoreBlockHeader is the command byte to store btc block header.
CmdSubChainQuery query a sub-chain.
CmdSubChainRegister register a sub-chain.
CmdVerifyTx is the command byte to verify btc tx.
CmdWithdraw withdraw seele from HTLC.
# Variables
BTCRelayContractAddress btc-relay contract address.
No description provided by the author
No description provided by the author
DomainNameContractAddress domain contract address.
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
HashTimeLockContractAddress HTLC contract address.
MasternodeContractAddress masternode contract address.
SubChainContractAddress subchain contract address.
# Structs
BTCBlock btc block structure.
Context provides information that required in system contract.
HashTimeLock payload information.
RelayRequest is a request structure using btc-relay.
SubChainInfo represents the sub-chain registration information.
Withdrawing used to withdraw from contract.
# Interfaces
Contract is the basic interface for native Go contracts in Seele.