Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TxOutputFromV2QueryTxOutput ¶
func TxOutputFromV2QueryTxOutput(output engine.LockMintBurnReleaseOutput) pack.Typed
v0.4 darknodes respond with empty strings instead of omitting nil fields This causes issues with ren-js v2 so we need to manually strip the responses
Types ¶
type AccountState ¶
type AccountState struct {
Address string `json:"address"`
Gascap string `json:"gasCap"`
Gaslimit string `json:"gasLimit"`
Gasprice string `json:"gasPrice"`
Gnonces []Gnonces `json:"gnonces"`
Latestchainhash string `json:"latestChainHash"`
Latestchainheight string `json:"latestChainHeight"`
Minimumamount string `json:"minimumAmount"`
Nonce string `json:"nonce"`
Pubkey string `json:"pubKey"`
}
type GpubkeyCompatStore ¶
type QueryStateResponse ¶
type QueryStateResponse struct {
State State `json:"state"`
}
type State ¶
type State struct {
Bitcoin UTXOState `json:"Bitcoin,omitempty"`
Bitcoincash UTXOState `json:"BitcoinCash,omitempty"`
Digibyte UTXOState `json:"DigiByte,omitempty"`
Dogecoin UTXOState `json:"Dogecoin,omitempty"`
Filecoin AccountState `json:"Filecoin,omitempty"`
Terra AccountState `json:"Terra,omitempty"`
Zcash UTXOState `json:"Zcash,omitempty"`
}
type UTXOState ¶
type UTXOState struct {
Address string `json:"address"`
Dust string `json:"dust"`
Gascap string `json:"gasCap"`
Gaslimit string `json:"gasLimit"`
Gasprice string `json:"gasPrice"`
Latestchainhash string `json:"latestChainHash"`
Latestchainheight string `json:"latestChainHeight"`
Minimumamount string `json:"minimumAmount"`
Output Output `json:"output"`
Pubkey string `json:"pubKey"`
}
Click to show internal directories.
Click to hide internal directories.