Documentation
¶
Index ¶
Constants ¶
View Source
const (
AtomicalEvent = "AtomicalEvent"
)
Variables ¶
View Source
var ErrNotExpectEvent = errors.New("not expect events")
Functions ¶
This section is empty.
Types ¶
type ARC20Response ¶
type ARC20Response struct { Success bool `json:"success"` Response AtomicalResponse `json:"response"` }
type Arc20WrappedEvent ¶
type Arc20WrappedEvent struct {
AtomicalEventParam `json:"events" yaml:"events"`
}
type AtomicalEventParam ¶
type AtomicalEventParam struct { TxHash Hash `json:"tx_hash"` AtomicalsId string `json:"atomicals_id"` AtomicalsType string `json:"atomicals_type"` Subtype string `json:"subtype"` AtomicalsFromIndexes []*big.Int `json:"atomicals_from_indexs"` AtomicalsFromValues []*big.Int `json:"atomicals_from_values"` ToAddress string `json:"to_address"` ToValueSats *big.Int `json:"to_value_sats"` MintAmount *big.Int `json:"mint_amount"` MintTicker string `json:"mint_ticker"` RequestTicker string `json:"request_ticker"` }
func UnpackArc20EventContext ¶
func UnpackArc20EventContext(ret []byte, topic common.Hash) (AtomicalEventParam, error)
type AtomicalResponse ¶
type AtomicalResponse struct {
Result []AtomicalEventParam `json:"result"`
}
Click to show internal directories.
Click to hide internal directories.