8000 ft_event scope missing transfer events · Issue #469 · hirosystems/chainhook · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
ft_event scope missing transfer events #469
Closed
@Xarek-Wizard

Description

@Xarek-Wizard

Utilising the following predicate:

{
  "chain": "stacks",
  "uuid": "51807662-9ed2-4f39-9ba2-8ad1ed732c95",
  "name": "Leo Transfer",
  "version": 1,
  "networks": {
    "mainnet": {
      "start_block": 133683,
      "end_block": 134292,
      "if_this": {
        "scope": "ft_event",
        "asset_identifier": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token::leo",
        "actions": ["mint", "burn", "transfer"]
      },
      "then_that": {
        "file_append": {
          "path": "leo/leo-sip-transfer.txt"
        }
      }
    }
  }
}

The transaction ID 0xa62ad0db39c4dbc9cef589e653e003935dfc1413624c1c7d287cbe0e94d9dc41 does not appear. This transaction contains the following receipt event, which makes me believe it should be present:

{
  "data": {
    "amount": "52105343749",
    "asset_identifier": "SP1AY6K3PQV5MRT6R4S671NWW2FRVPKM0BR162CT6.leo-token::leo",
    "recipient": "SP23Q75G4RSWGWQNEBXHKEZQYG6JYGA5579GN6VZ8",
    "sender": "SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9.alex-vault-v1-1"
  },
  "type": "FTTransferEvent"
}

Snagging predicate:

{
  "chain": "stacks",
  "uuid": "3a78f219-c223-4b5d-9e0c-f17379646de6",
  "name": "Leo Transfer Snag",
  "version": 1,
  "networks": {
    "mainnet": {
      "start_block": 133683,
      "end_block": 134292,
      "if_this": {
        "scope": "txid",
        "equals": "0xa62ad0db39c4dbc9cef589e653e003935dfc1413624c1c7d287cbe0e94d9dc41"
      },
      "then_that": {
        "file_append": {
          "path": "leo/leo-sip-transfer-snag.txt"
        }
      }
    }
  }
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0