MakeDeposit
MakeDeposit returns a new Deposit value with the given values.
Parameters:
- depositID: unique identifier to assign to the new deposit.
- projectID: launchpad project identifier associated with the deposit.
- tier: tier duration in days; launchpad tiers use 30, 90, or 180.
- depositor: account address making the deposit.
- depositAmount: amount of GNS deposited for the project.
- createdHeight: block height at which the deposit was created.
- createdTime: creation timestamp in Unix seconds.
- endTime: tier end timestamp in Unix seconds.
Returns:
- deposit: new Deposit populated with the supplied fields and zero withdrawal markers.
Command
gnokey query vm/qeval -remote "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/launchpad.MakeDeposit(,,,,,,,)"
Result