Docs

ProposalOutputSchema

let ProposalOutputSchema: ZodObject<
  {
    calldatas: ZodArray<ZodString, "many">;
    description: ZodString;
    endBlock: ZodEffects<
      ZodUnion<
        [
          ZodString,
          ZodNumber,
          ZodBigInt,
          ZodType<BigNumber, ZodTypeDef, BigNumber>,
        ]
      >,
      BigNumber,
      string | number | bigint | BigNumber
    >;
    proposalId: ZodEffects<
      ZodUnion<
        [
          ZodString,
          ZodNumber,
          ZodBigInt,
          ZodType<BigNumber, ZodTypeDef, BigNumber>,
        ]
      >,
      BigNumber,
      string | number | bigint | BigNumber
    >;
    proposer: ZodString;
    signatures: ZodArray<ZodString, "many">;
    startBlock: ZodEffects<
      ZodUnion<
        [
          ZodString,
          ZodNumber,
          ZodBigInt,
          ZodType<BigNumber, ZodTypeDef, BigNumber>,
        ]
      >,
      BigNumber,
      string | number | bigint | BigNumber
    >;
    targets: ZodArray<ZodString, "many">;
    values: ZodArray<
      ZodEffects<
        ZodUnion<
          [
            ZodString,
            ZodNumber,
            ZodBigInt,
            ZodType<BigNumber, ZodTypeDef, BigNumber>,
          ]
        >,
        BigNumber,
        string | number | bigint | BigNumber
      >,
      "many"
    >;
  },
  "strip",
  ZodTypeAny,
  {
    calldatas: string[];
    description: string;
    endBlock: BigNumber;
    proposalId: BigNumber;
    proposer: string;
    signatures: string[];
    startBlock: BigNumber;
    targets: string[];
    values: BigNumber[];
  },
  {
    calldatas: string[];
    description: string;
    endBlock: Object;
    proposalId: Object;
    proposer: string;
    signatures: string[];
    startBlock: Object;
    targets: string[];
    values: string | number | bigint | BigNumber[];
  }
>;