Variable paymentDetailsSchemaConst

paymentDetailsSchema: ZodObject<{
    defaultWrapAmount: ZodDefault<ZodObject<{
        multiplier: ZodNumber;
        period: ZodOptional<ZodEnum<["day", "week", "month", "year"]>>;
    }, "strip", ZodTypeAny, {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    }, {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    }>>;
    modifyFlowRateBehaviour: ZodDefault<ZodPipeline<ZodString, ZodEnum<["ADD", "SET", "ENSURE"]>>>;
    paymentOptions: ZodEffects<ZodUnion<[ZodEffects<ZodEffects<ZodObject<{
        chainId: ZodType<1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111, ZodTypeDef, 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111>;
        flowRate: ZodOptional<ZodEffects<ZodObject<{
            amountEther: ZodEffects<ZodString, `${number}`, string>;
            period: ZodEnum<["day", "week", "month", "year"]>;
        }, "strip", ZodTypeAny, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>>;
        receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
        superToken: ZodObject<{
            address: ZodEffects<ZodString, `0x${string}`, string>;
        }, "strip", ZodTypeAny, {
            address: `0x${string}`;
        }, {
            address: string;
        }>;
        transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
        userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
    }, "strip", ZodTypeAny, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }[], {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, ZodArray<ZodEffects<ZodObject<{
        chainId: ZodType<1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111, ZodTypeDef, 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111>;
        flowRate: ZodOptional<ZodEffects<ZodObject<{
            amountEther: ZodEffects<ZodString, `${number}`, string>;
            period: ZodEnum<["day", "week", "month", "year"]>;
        }, "strip", ZodTypeAny, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>>;
        receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
        superToken: ZodObject<{
            address: ZodEffects<ZodString, `0x${string}`, string>;
        }, "strip", ZodTypeAny, {
            address: `0x${string}`;
        }, {
            address: string;
        }>;
        transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
        userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
    }, "strip", ZodTypeAny, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, "many">]>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }[], {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    } | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }[]>;
}, "strip", ZodTypeAny, {
    defaultWrapAmount: {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    };
    modifyFlowRateBehaviour: "ADD" | "SET" | "ENSURE";
    paymentOptions: {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }[];
}, {
    defaultWrapAmount?: {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    };
    modifyFlowRateBehaviour?: string;
    paymentOptions: ({
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    } | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }[]) & (undefined | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    } | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }[]);
}> = ...

Type declaration

  • defaultWrapAmount: ZodDefault<ZodObject<{
        multiplier: ZodNumber;
        period: ZodOptional<ZodEnum<["day", "week", "month", "year"]>>;
    }, "strip", ZodTypeAny, {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    }, {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    }>>
  • modifyFlowRateBehaviour: ZodDefault<ZodPipeline<ZodString, ZodEnum<["ADD", "SET", "ENSURE"]>>>
  • paymentOptions: ZodEffects<ZodUnion<[ZodEffects<ZodEffects<ZodObject<{
        chainId: ZodType<1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111, ZodTypeDef, 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111>;
        flowRate: ZodOptional<ZodEffects<ZodObject<{
            amountEther: ZodEffects<ZodString, `${number}`, string>;
            period: ZodEnum<["day", "week", "month", "year"]>;
        }, "strip", ZodTypeAny, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>>;
        receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
        superToken: ZodObject<{
            address: ZodEffects<ZodString, `0x${string}`, string>;
        }, "strip", ZodTypeAny, {
            address: `0x${string}`;
        }, {
            address: string;
        }>;
        transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
        userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
    }, "strip", ZodTypeAny, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }[], {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, ZodArray<ZodEffects<ZodObject<{
        chainId: ZodType<1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111, ZodTypeDef, 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111>;
        flowRate: ZodOptional<ZodEffects<ZodObject<{
            amountEther: ZodEffects<ZodString, `${number}`, string>;
            period: ZodEnum<["day", "week", "month", "year"]>;
        }, "strip", ZodTypeAny, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>, {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        }, {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        }>>;
        receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
        superToken: ZodObject<{
            address: ZodEffects<ZodString, `0x${string}`, string>;
        }, "strip", ZodTypeAny, {
            address: `0x${string}`;
        }, {
            address: string;
        }>;
        transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
        userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
    }, "strip", ZodTypeAny, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }>, "many">]>, {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }[], {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    } | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }[]>

Type declaration

  • defaultWrapAmount: {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    }
    • multiplier: number
    • Optional period?: "day" | "week" | "month" | "year"
  • modifyFlowRateBehaviour: "ADD" | "SET" | "ENSURE"
  • paymentOptions: {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: `${number}`;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: `0x${string}`;
        superToken: {
            address: `0x${string}`;
        };
        transferAmountEther?: `${number}`;
        userData?: `0x${string}`;
    }[]

Type declaration

  • Optional defaultWrapAmount?: {
        multiplier: number;
        period?: "day" | "week" | "month" | "year";
    }
    • multiplier: number
    • Optional period?: "day" | "week" | "month" | "year"
  • Optional modifyFlowRateBehaviour?: string
  • paymentOptions: ({
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    } | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }[]) & (undefined | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    } | {
        chainId: 1 | 42161 | 43114 | 43113 | 8453 | 56 | 42220 | 100 | 10 | 11155420 | 137 | 534352 | 534351 | 11155111;
        flowRate?: {
            amountEther: string;
            period: "day" | "week" | "month" | "year";
        };
        receiverAddress: string;
        superToken: {
            address: string;
        };
        transferAmountEther?: string;
        userData?: string;
    }[])

Generated using TypeDoc