NewProjectConditionsWithError
NewProjectConditionsWithError parses parallel *PAD*-separated token paths and minimum amounts.
Parameters:
- conditionTokens: *PAD*-separated token contract paths, in condition order.
- conditionAmounts: *PAD*-separated decimal int64 minimum amounts paired by index with conditionTokens; entries beyond the token list are not consumed.
Returns:
- conditions: parsed available conditions in the same order as their token paths; empty when both inputs are empty.
- err: nil on successful parsing; non-nil when a token lacks a matching amount, an amount is not a valid int64, or a condition is unavailable.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/launchpad.NewProjectConditionsWithError(,)"
Result