- addForNextEpoch<T0 = any, T1 = any, T2 = any>(
tx: Transaction,
args: [
| string
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] },
| string
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] },
TransactionArgument | T1,
TransactionArgument | T2,
],
typeArguments: [
string
| TypeDescriptor<T0>,
string | TypeDescriptor<T1>,
string | TypeDescriptor<T2>,
],
): TransactionArgument & [
TransactionArgument,
TransactionArgument,
TransactionArgument,
TransactionArgument,
] Parameters
- tx: Transaction
- args: [
| string
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] },
| string
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] }
| (
tx: Transaction,
) =>
| { GasCoin: true }
| { Input: number; type?: "object" | "pure" }
| { Result: number }
| { NestedResult: [number, number] },
TransactionArgument | T1,
TransactionArgument | T2,
] - typeArguments: [
string
| TypeDescriptor<T0>,
string | TypeDescriptor<T1>,
string | TypeDescriptor<T2>,
]
Returns TransactionArgument & [
TransactionArgument,
TransactionArgument,
TransactionArgument,
TransactionArgument,
]