diff --git a/launchpad/deposit.gno b/launchpad/deposit.gno index 4b58a0ba1..78bbaa5d5 100644 --- a/launchpad/deposit.gno +++ b/launchpad/deposit.gno @@ -249,7 +249,7 @@ func DepositGns(targetProjectTierId string, amount uint64) string { if updatedTier.started.height == info.Height { std.Emit( - "FirstDepoistForProjectTier", // ???? + "FirstDepoistForProjectTier", "prevAddr", prevAddr, "prevRealm", prevPkgPath, "targetProjectTierId", targetProjectTierId, diff --git a/launchpad/launchpad.gno b/launchpad/launchpad.gno index 707f8460f..d334d51d2 100644 --- a/launchpad/launchpad.gno +++ b/launchpad/launchpad.gno @@ -41,8 +41,8 @@ type ProjectInput struct { TokenPath string Recipient std.Address DepositAmount uint64 - ConditionsToken string - ConditionsAmount string + ConditionsToken string // spearated by PAD_SEP (`*PAD*`) + ConditionsAmount string // spearated by PAD_SEP (`*PAD*`) Tier30Ratio uint64 Tier90Ratio uint64 Tier180Ratio uint64 @@ -159,7 +159,7 @@ func CreateProject( // Transfer tokens tokenTeller := common.GetTokenTeller(tokenPath) tokenTeller.TransferFrom( - std.PrevRealm().Addr(), + caller, std.Address(consts.LAUNCHPAD_ADDR), depositAmount, )