GetProjectCondition
GetProjectCondition retrieves a specific condition of a project. Returns a cloned condition to prevent external modification.
Parameters:
- projectId: unique identifier of the project containing the condition.
- tokenPath: token contract path used as the condition key.
Returns:
- condition: cloned condition for the requested token; nil when the implementation returns no condition without an error.
- err: non-nil when the project or condition cannot be found.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/launchpad.GetProjectCondition(,)"
Result