{
  "address": "0x81ADaa2b115c4921f3Cc412A05F9Caa521b4e1AC",
  "description": "**EGG BURN** — shared burn-ledger for egg. Any feature (e.g. Forage) registers as a named subscriber and burns egg through it, tagged with a correlation ID; tracks running totals per subscriber and globally.\n\n- **Burning**: `burnEgg` (name, amount, correlationId)\n- **Subscribers**: `subscribe`, `subscribeWithCallback` (optional callback contract invoked on burn), `getAddressBySubscriber`, `subscriberNamesByIndex`, `getSubscribers`, `count`\n- **Stats**: `getBurnTotalBySubscriber`, `globalBurnTotal`, `burnBySubscriber`, `callbackAddressBySubscriber`\n- **Config**: `eggContract`, `NOOP_SUBSCRIBER`",
  "abi": [
    {
      "inputs": [
        {
          "internalType": "address",
          "name": "_eggContract",
          "type": "address"
        }
      ],
      "stateMutability": "nonpayable",
      "type": "constructor"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "ts",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "sub",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "wallet",
          "type": "address"
        },
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "amount",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "correlationId",
          "type": "string"
        }
      ],
      "name": "EggBurned",
      "type": "event",
      "signature": "0xe82f4ce62d35629beead8bd38eb76d3d7d261f8e58745b07dbc0098f8dcc749e"
    },
    {
      "anonymous": false,
      "inputs": [
        {
          "indexed": false,
          "internalType": "uint256",
          "name": "ts",
          "type": "uint256"
        },
        {
          "indexed": false,
          "internalType": "string",
          "name": "name",
          "type": "string"
        },
        {
          "indexed": false,
          "internalType": "address",
          "name": "addr",
          "type": "address"
        }
      ],
      "name": "Subscription",
      "type": "event",
      "signature": "0x72c46c4b335d1c3f45b0d61f19b8e079d632d1790e573385d08732db14dbde84"
    },
    {
      "inputs": [],
      "name": "NOOP_SUBSCRIBER",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x8f2fcfe3"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "name": "burnBySubscriber",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x9109ec4d"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "_name",
          "type": "string"
        },
        {
          "internalType": "uint256",
          "name": "_amount",
          "type": "uint256"
        },
        {
          "internalType": "string",
          "name": "_correlationId",
          "type": "string"
        }
      ],
      "name": "burnEgg",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function",
      "signature": "0x07ab7b6f"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "name": "callbackAddressBySubscriber",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x095de192"
    },
    {
      "inputs": [],
      "name": "count",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x06661abd"
    },
    {
      "inputs": [],
      "name": "eggContract",
      "outputs": [
        {
          "internalType": "contract EggContract",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x49f2ae75"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "_name",
          "type": "string"
        }
      ],
      "name": "getAddressBySubscriber",
      "outputs": [
        {
          "internalType": "address",
          "name": "",
          "type": "address"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0xd4a6ee08"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "_name",
          "type": "string"
        }
      ],
      "name": "getBurnTotalBySubscriber",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x790c606e"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "_pageNum",
          "type": "uint256"
        }
      ],
      "name": "getSubscribers",
      "outputs": [
        {
          "internalType": "string[]",
          "name": "",
          "type": "string[]"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x3b605815"
    },
    {
      "inputs": [],
      "name": "globalBurnTotal",
      "outputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0xc07b9702"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "_name",
          "type": "string"
        }
      ],
      "name": "subscribe",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function",
      "signature": "0x507e7888"
    },
    {
      "inputs": [
        {
          "internalType": "string",
          "name": "_name",
          "type": "string"
        },
        {
          "internalType": "address",
          "name": "_callbackContractAddr",
          "type": "address"
        }
      ],
      "name": "subscribeWithCallback",
      "outputs": [],
      "stateMutability": "nonpayable",
      "type": "function",
      "signature": "0x1ae2a4bb"
    },
    {
      "inputs": [
        {
          "internalType": "uint256",
          "name": "",
          "type": "uint256"
        }
      ],
      "name": "subscriberNamesByIndex",
      "outputs": [
        {
          "internalType": "string",
          "name": "",
          "type": "string"
        }
      ],
      "stateMutability": "view",
      "type": "function",
      "constant": true,
      "signature": "0x80596a11"
    }
  ]
}
