Documentation ¶
Index ¶
Constants ¶
View Source
const ( TagSequencer = "Sequencer" TagSequencerOwner = "Sequencer-Owner" TagSequencerMillis = "Sequencer-Mills" TagSequencerSortKey = "Sequencer-Sort-Key" TagSequencerLastSortKey = "Sequencer-Last-Sort-Key" TagSequencerTxId = "Sequencer-Tx-Id" TagSequencerBlockHeight = "Sequencer-Block-Height" TagSequencerBlockId = "Sequencer-Block-Id" TagSequencerBlockTimestamp = "Sequencer-Block-Timestamp" TagSequencerNonce = "Sequencer-Nonce" TagInitState = "Init-State" TagInitStateTx = "Init-State-TX" TagInteractWrite = "Interact-Write" TagWasmLang = "Wasm-Lang" TagWasmLangVersion = "Wasm-Lang-Version" TagWasmMeta = "Wasm-Meta" TagRequestVrf = "Request-Vrf" TagSignatureType = "Signature-Type" TagWarpTestnet = "Warp-Testnet" TagManifest = "Contract-Manifest" TagNonce = "Nonce" )
Variables ¶
This section is empty.
Functions ¶
func GetWalletAddress ¶
func GetWalletAddress(tx *arweave.Transaction) (owner string, err error)
func ValidateTag ¶
Types ¶
type InteractionParser ¶
type InteractionParser struct {
// contains filtered or unexported fields
}
func NewInteractionParser ¶
func NewInteractionParser(config *config.Config) (self *InteractionParser, err error)
func (*InteractionParser) Parse ¶
func (self *InteractionParser) Parse(tx *arweave.Transaction, blockHeight int64, blockId arweave.Base64String, blockTimestamp int64) (out *model.Interaction, err error)
type PstInitState ¶
type PstInitState struct { Ticker *string `json:"ticker"` Name *string `json:"name"` Balances *interface{} `json:"balances"` }
func ParsePstInitState ¶
func ParsePstInitState(buf []byte) (out *PstInitState, err error)
func (*PstInitState) IsPst ¶
func (self *PstInitState) IsPst() bool
type Validator ¶
type Validator func(arweave.Base64String) error
Click to show internal directories.
Click to hide internal directories.