Skip to content

Commit eb596b5

Browse files
committed
resolved some comments
1 parent 5504b2e commit eb596b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

launchpad/deposit.gno

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ func DepositGns(targetProjectTierId string, amount uint64) string {
249249

250250
if updatedTier.started.height == info.Height {
251251
std.Emit(
252-
"FirstDepoistForProjectTier", // ????
252+
"FirstDepoistForProjectTier",
253253
"prevAddr", prevAddr,
254254
"prevRealm", prevPkgPath,
255255
"targetProjectTierId", targetProjectTierId,

launchpad/launchpad.gno

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ type ProjectInput struct {
4141
TokenPath string
4242
Recipient std.Address
4343
DepositAmount uint64
44-
ConditionsToken string
45-
ConditionsAmount string
44+
ConditionsToken string // spearated by PAD_SEP (`*PAD*`)
45+
ConditionsAmount string // spearated by PAD_SEP (`*PAD*`)
4646
Tier30Ratio uint64
4747
Tier90Ratio uint64
4848
Tier180Ratio uint64
@@ -159,7 +159,7 @@ func CreateProject(
159159
// Transfer tokens
160160
tokenTeller := common.GetTokenTeller(tokenPath)
161161
tokenTeller.TransferFrom(
162-
std.PrevRealm().Addr(),
162+
caller,
163163
std.Address(consts.LAUNCHPAD_ADDR),
164164
depositAmount,
165165
)

0 commit comments

Comments
 (0)