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 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001, ZodTypeDef, 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001>;
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 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, ZodArray<ZodEffects<ZodObject<{
chainId: ZodType<1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001, ZodTypeDef, 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001>;
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 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, "many">]>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
} | {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
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" | undefined; };
modifyFlowRateBehaviour: "ADD" | "SET" | "ENSURE";
paymentOptions: ({ chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001; receiverAddress: `0x${string}`; superToken: { address: `0x${string}`; }; transferAmountEther?: `${number}` | undefined; flowRate?: { ...; } | undefined; userData?: `0x${string}` | undefined; })[];
}, {
defaultWrapAmount?: { multiplier: number; period?: "day" | "week" | "month" | "year" | undefined; };
modifyFlowRateBehaviour?: string;
paymentOptions: Object;
}> = ...
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 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001, ZodTypeDef, 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001>;
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 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, ZodArray<ZodEffects<ZodObject<{
chainId: ZodType<1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001, ZodTypeDef, 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001>;
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 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, "many">]>, {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
} | {
chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001;
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" | undefined; }
-
modifyFlowRateBehaviour: "ADD" | "SET" | "ENSURE"
-
paymentOptions: ({ chainId: 1 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 5 | 11155111 | 10 | 420 | 137 | 80001; receiverAddress: `0x${string}`; superToken: { address: `0x${string}`; }; transferAmountEther?: `${number}` | undefined; flowRate?: { ...; } | undefined; userData?: `0x${string}` | undefined; })[]
Type declaration
-
Optional
defaultWrapAmount?: { multiplier: number; period?: "day" | "week" | "month" | "year" | undefined; }
-
Optional
modifyFlowRateBehaviour?: string
-
paymentOptions: Object