Skip to content

Commit

Permalink
resolved some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
notJoon committed Jan 8, 2025
1 parent 5504b2e commit eb596b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion launchpad/deposit.gno
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions launchpad/launchpad.gno
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -159,7 +159,7 @@ func CreateProject(
// Transfer tokens
tokenTeller := common.GetTokenTeller(tokenPath)
tokenTeller.TransferFrom(
std.PrevRealm().Addr(),
caller,
std.Address(consts.LAUNCHPAD_ADDR),
depositAmount,
)
Expand Down

0 comments on commit eb596b5

Please sign in to comment.