HomeOverviewValsValidatorsGovGovernanceIBCRelayersN/AInfraInfra
/
powered by GATA HUB

r/gnoswap/launchpad

Gno.land

Realm
Files19
Lines of code3,527excluding tests
Functions71exported
Storage1,412.4 KB141.24 GNOT deposit
DeployedSep 16, 2026block 77,262

Realm

Pathgno.land/r/gnoswap/launchpad
Accountg1x6r75sxlkp…8uaqkru9
Deployerg1q5tjjv3kks…h8xfsk04
Transaction769EDB2BCC…C6D7B672
counter.gno34 lines
1package launchpad
2
3// Counter manages unique incrementing IDs.
4type Counter struct {
5 id int64
6}
7
8// NewCounter creates a new Counter starting at zero.
9//
10// Returns:
11// - counter: counter initialized with current ID zero.
12func NewCounter() *Counter {
13 return &Counter{
14 id: 0,
15 }
16}
17
18// Next increments the counter and returns the next unique ID.
19//
20// Returns:
21// - id: incremented counter value.
22func (c *Counter) Next() int64 {
23 c.id++
24
25 return c.id
26}
27
28// Get returns the current counter ID without incrementing it.
29//
30// Returns:
31// - id: current counter value.
32func (c *Counter) Get() int64 {
33 return c.id
34}
FunctionParametersReturnsKind
NewCounter()*Counter-
MakeDeposit(depositID string, projectID string, tier int64, depositor string, depositAmount int64, createdHeight int64, createdTime int64, endTime int64)struct{depositor .uverse.address; id string; projectID string; tier int64; depositAmount int64; withdrawnHeight int64; withdrawnTime int64; createdHeight int64; createdAt int64; endTime int64}-
DefaultDeposit()struct{depositor .uverse.address; id string; projectID string; tier int64; depositAmount int64; withdrawnHeight int64; withdrawnTime int64; createdHeight int64; createdAt int64; endTime int64}-
GetProjects()*gno.land/p/nt/bptree/rotree/v0.ReadOnlyTree-
GetProjectName(projectId string)string, error-
GetProjectTokenPath(projectId string)string, error-
GetProjectDepositAmount(projectId string)int64, error-
GetProjectRecipient(projectId string)string, error-
GetProjectCondition(projectId string, tokenPath string)*ProjectCondition, error-
GetProjectTiersRatios(projectId string)map[int64]int64, error-
GetProjectCreatedHeight(projectId string)int64, error-
GetProjectCreatedAt(projectId string)int64, error-
1–12 of 711/6

Gnoswap Launchpad

All GNS amounts use the token's six-decimal base units. Project reward amounts use the project token's own base units.

Implementation and access

| Field | Value | | --- | --- | | Realm address | g1x6r75sxlkp9zfqufew0vcuq9sfclsq8uaqkru9 | | Active implementation | gno\.land/r/gnoswap/launchpad/v1 | | Launchpad operations halted | false | | Withdrawal operations halted | false | | Project creation role (admin) | g1qvtuwyxcwezfqu3fp56pr5krgfjjyumeeecmzg | | Project creation role (governance) | g109hw2sc704c2vnxy2y89vjyqluvzra8rhp4l8w |

Deposit accounting and configuration

| Field | Value | | --- | --- | | Stored project records | 1 | | Stored unique project-recipient records | 1 | | Stored project-tier reward-manager records | 3 | | Stored deposit records (including withdrawn) | 288 | | Deposit ID counter (allocated IDs) | 288 | | Current GNS staked amount (base units; 6 decimals) | 1132038000000 | | Minimum GNS deposit (base units; 6 decimals) | 1000000 | | Minimum project start delay (seconds) | 259200 | | Project tiers (days) | 30 / 90 / 180 | | Reward claimable duration (seconds) | 86400 |

Loading calls…
Calls1,747from 124 accounts
FunctionCallerStatusBlockAge
CollectRewardByDepositIdg1fq7vr6…5frll0Success804,76613m ago
CollectRewardByDepositIdg1fq7vr6…5frll0Success804,76013m ago
DepositGnsg1423lrk…myzwuhSuccess804,29342m ago
DepositGnsg108gvrs…pq5ugqSuccess804,21147m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
CollectRewardByDepositIdg108gvrs…pq5ugqSuccess804,19348m ago
1–12 of 5001/42