Pendle · Schema

JoinExitEvent

Web3DeFiYield TokenizationCryptoPrincipal TokensYield TokensAMMLiquidity Pools

Properties

Name Type Description
block object Block data
txnId string Transaction hash
txnIndex number Transaction index
eventIndex number Event index
maker string Transaction maker
pairId string Pair ID
reserves object Reserves after the swap
eventType string Type of event
amount0 string Amount of token0
amount1 string Amount of token1
View JSON Schema on GitHub

JSON Schema

JoinExitEvent.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "JoinExitEvent",
  "type": "object",
  "properties": {
    "block": {
      "description": "Block data",
      "allOf": [
        {
          "$ref": "#/components/schemas/BlockEntity"
        }
      ]
    },
    "txnId": {
      "type": "string",
      "description": "Transaction hash"
    },
    "txnIndex": {
      "type": "number",
      "description": "Transaction index"
    },
    "eventIndex": {
      "type": "number",
      "description": "Event index"
    },
    "maker": {
      "type": "string",
      "description": "Transaction maker"
    },
    "pairId": {
      "type": "string",
      "description": "Pair ID"
    },
    "reserves": {
      "description": "Reserves after the swap",
      "allOf": [
        {
          "$ref": "#/components/schemas/Reserves"
        }
      ]
    },
    "eventType": {
      "type": "string",
      "description": "Type of event",
      "enum": [
        "swap",
        "join",
        "exit"
      ],
      "example": "join",
      "examples": [
        "join",
        "exit"
      ]
    },
    "amount0": {
      "type": "string",
      "description": "Amount of token0"
    },
    "amount1": {
      "type": "string",
      "description": "Amount of token1"
    }
  },
  "required": [
    "block",
    "txnId",
    "txnIndex",
    "eventIndex",
    "maker",
    "pairId",
    "reserves",
    "eventType",
    "amount0",
    "amount1"
  ]
}