export const MAINNET_TETHER_ABI = [
  {
    inputs: [{ name: '_admin', internalType: 'address', type: 'address' }],
    stateMutability: 'nonpayable',
    type: 'constructor',
  },
  {
    inputs: [],
    name: 'admin',
    outputs: [{ name: '', internalType: 'address', type: 'address' }],
    stateMutability: 'view',
    type: 'function',
  },
  {
    inputs: [],
    name: 'paused',
    outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
    stateMutability: 'view',
    type: 'function',
  },
  {
    inputs: [],
    name: 'CHAIN_138',
    outputs: [{ name: '', internalType: 'uint64', type: 'uint64' }],
    stateMutability: 'view',
    type: 'function',
  },
  {
    inputs: [
      { name: 'blockNumber', internalType: 'uint256', type: 'uint256' },
      { name: 'blockHash', internalType: 'bytes32', type: 'bytes32' },
      { name: 'stateRoot', internalType: 'bytes32', type: 'bytes32' },
      { name: 'previousBlockHash', internalType: 'bytes32', type: 'bytes32' },
      { name: 'timestamp', internalType: 'uint256', type: 'uint256' },
      { name: 'signatures', internalType: 'bytes', type: 'bytes' },
      { name: 'validatorCount', internalType: 'uint256', type: 'uint256' },
    ],
    name: 'anchorStateProof',
    outputs: [],
    stateMutability: 'nonpayable',
    type: 'function',
  },
  {
    inputs: [{ name: 'blockNumber', internalType: 'uint256', type: 'uint256' }],
    name: 'getStateProof',
    outputs: [
      {
        components: [
          { name: 'blockNumber', internalType: 'uint256', type: 'uint256' },
          { name: 'blockHash', internalType: 'bytes32', type: 'bytes32' },
          { name: 'stateRoot', internalType: 'bytes32', type: 'bytes32' },
          { name: 'previousBlockHash', internalType: 'bytes32', type: 'bytes32' },
          { name: 'timestamp', internalType: 'uint256', type: 'uint256' },
          { name: 'signatures', internalType: 'bytes', type: 'bytes' },
          { name: 'validatorCount', internalType: 'uint256', type: 'uint256' },
          { name: 'proofHash', internalType: 'bytes32', type: 'bytes32' },
        ],
        internalType: 'struct MainnetTether.StateProof',
        name: 'proof',
        type: 'tuple',
      },
    ],
    stateMutability: 'view',
    type: 'function',
  },
  {
    inputs: [{ name: 'blockNumber', internalType: 'uint256', type: 'uint256' }],
    name: 'isAnchored',
    outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
    stateMutability: 'view',
    type: 'function',
  },
  {
    inputs: [],
    name: 'getAnchoredBlockCount',
    outputs: [{ name: 'count', internalType: 'uint256', type: 'uint256' }],
    stateMutability: 'view',
    type: 'function',
  },
  {
    inputs: [{ name: 'index', internalType: 'uint256', type: 'uint256' }],
    name: 'getAnchoredBlock',
    outputs: [{ name: 'blockNumber', internalType: 'uint256', type: 'uint256' }],
    stateMutability: 'view',
    type: 'function',
  },
  {
    inputs: [{ name: 'newAdmin', internalType: 'address', type: 'address' }],
    name: 'setAdmin',
    outputs: [],
    stateMutability: 'nonpayable',
    type: 'function',
  },
  {
    inputs: [],
    name: 'pause',
    outputs: [],
    stateMutability: 'nonpayable',
    type: 'function',
  },
  {
    inputs: [],
    name: 'unpause',
    outputs: [],
    stateMutability: 'nonpayable',
    type: 'function',
  },
  {
    anonymous: false,
    inputs: [{ indexed: true, name: 'newAdmin', internalType: 'address', type: 'address' }],
    name: 'AdminChanged',
    type: 'event',
  },
  {
    anonymous: false,
    inputs: [],
    name: 'Paused',
    type: 'event',
  },
  {
    anonymous: false,
    inputs: [],
    name: 'Unpaused',
    type: 'event',
  },
  {
    anonymous: false,
    inputs: [
      { indexed: true, name: 'blockNumber', internalType: 'uint256', type: 'uint256' },
      { indexed: true, name: 'blockHash', internalType: 'bytes32', type: 'bytes32' },
      { indexed: true, name: 'stateRoot', internalType: 'bytes32', type: 'bytes32' },
      { indexed: false, name: 'timestamp', internalType: 'uint256', type: 'uint256' },
      { indexed: false, name: 'validatorCount', internalType: 'uint256', type: 'uint256' },
    ],
    name: 'StateProofAnchored',
    type: 'event',
  },
] as const
