abi

This file contains the balanceOf ABI, which is used to make smart contract calls to check user balances for checkTokenRules and checkNftRules.

/* src/constants/abi.ts */

export const abi = [
  {
    constant: true,
    inputs: [
      {
        name: "_owner",
        type: "address",
      },
    ],
    name: "balanceOf",
    outputs: [
      {
        name: "balance",
        type: "uint256",
      },
    ],
    payable: false,
    stateMutability: "view",
    type: "function",
  },
];

Last updated