Search Apps Documentation Source Content File Folder Download Copy Actions Download State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

launchpad state

Back to all declarations

Counter

type

Counter manages unique incrementing IDs.

Value

launchpad.Counter

NewCounter

func() *launchpad.Counter

NewCounter creates a new Counter starting at 0.

Open
OID
0c9087…b74a:3
NewCounter details

Inspect func

Deposit

type

Deposit represents a deposit made by a user in a launchpad project. This struct contains the necessary data and methods to manage and distribute rewards for a specific deposit. Fields: - depositor (std.Address): The address of the depositor. - id (string): The unique identifier for the deposit. - projectID (string): The ID of the project associated with the deposit. - tier (int64): The tier of the deposit. - depositAmount (int64): The amount of the deposit. - withdrawnHeight (int64): The height at which the deposit was withdrawn. - withdrawnTime (int64): The time when the deposit was withdrawn. - createdTime (int64): The time when the deposit was created. - endTime (int64): The time when the deposit ends.

Value

launchpad.Deposit

NewDeposit

func(depositID string, projectID string, tier int64, depositor .uverse.address, depositAmount int64, createdHeight int64, createdTime int64, endTime int64) *launchpad.Deposit

NewDeposit returns a pointer to a new Deposit with the given values.

Open
OID
0c9087…b74a:5
NewDeposit details

Inspect func

ErrSpoofedRealm

untyped string

Value

"rlm does not match the current crossing frame"

GetProjectCount

func() int

GetProjectCount returns the total number of projects.

Open
OID
0c9087…b74a:7
GetProjectCount details

Inspect func

GetProjectIDs

func(offset int, count int) []string

GetProjectIDs returns a paginated list of project IDs.

Open
OID
0c9087…b74a:9
GetProjectIDs details

Inspect func

GetProject

func(projectId string) (*launchpad.Project, .uverse.error)

GetProject retrieves a project by its ID. Returns a cloned project to prevent external modification.

Open
OID
0c9087…b74a:10
GetProject details

Inspect func

GetProjectName

func(projectId string) (string, .uverse.error)

GetProjectName returns the name of a project by its ID.

Open
OID
0c9087…b74a:11
GetProjectName details

Inspect func

GetProjectTokenPath

func(projectId string) (string, .uverse.error)

GetProjectTokenPath returns the token path of a project by its ID.

Open
OID
0c9087…b74a:12
GetProjectTokenPath details

Inspect func

GetProjectDepositAmount

func(projectId string) (int64, .uverse.error)

GetProjectDepositAmount returns the deposit amount of a project by its ID.

Open
OID
0c9087…b74a:13
GetProjectDepositAmount details

Inspect func

GetProjectRecipient

func(projectId string) (.uverse.address, .uverse.error)
Open
OID
0c9087…b74a:14
GetProjectRecipient details

Inspect func

GetProjectCondition

func(projectId string, tokenPath string) (*launchpad.ProjectCondition, .uverse.error)

GetProjectCondition retrieves a specific condition of a project. Returns a cloned condition to prevent external modification.

Open
OID
0c9087…b74a:15
GetProjectCondition details

Inspect func

GetProjectTiersRatios

func(projectId string) (map[int64]int64, .uverse.error)

GetProjectTiersRatios returns the tiers ratios map of a project by its ID.

Open
OID
0c9087…b74a:16
GetProjectTiersRatios details

Inspect func

GetProjectCreatedHeight

func(projectId string) (int64, .uverse.error)

GetProjectCreatedHeight returns the created height of a project by its ID.

Open
OID
0c9087…b74a:17
GetProjectCreatedHeight details

Inspect func

GetProjectCreatedAt

func(projectId string) (int64, .uverse.error)

GetProjectCreatedAt returns the created time of a project by its ID.

Open
OID
0c9087…b74a:18
GetProjectCreatedAt details

Inspect func

GetProjectTier

func(projectId string, tier int64) (*launchpad.ProjectTier, .uverse.error)

GetProjectTier retrieves a specific tier of a project. Returns a cloned tier to prevent external modification.

Open
OID
0c9087…b74a:19
GetProjectTier details

Inspect func

GetProjectTierDistributeAmountPerSecondX128

func(projectId string, tier int64) (*uint256.Uint, .uverse.error)

GetProjectTierDistributeAmountPerSecondX128 returns the distribute amount per second (Q128) of a project tier.

Open
OID
0c9087…b74a:20
GetProjectTierDistributeAmountPerSecondX128 details

Inspect func

GetProjectTierTotalDistributeAmount

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierTotalDistributeAmount returns the total distribute amount of a project tier.

Open
OID
0c9087…b74a:21
GetProjectTierTotalDistributeAmount details

Inspect func

GetProjectTierTotalDepositAmount

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierTotalDepositAmount returns the total deposit amount of a project tier.

Open
OID
0c9087…b74a:22
GetProjectTierTotalDepositAmount details

Inspect func

GetProjectTierTotalWithdrawAmount

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierTotalWithdrawAmount returns the total withdraw amount of a project tier.

Open
OID
0c9087…b74a:23
GetProjectTierTotalWithdrawAmount details

Inspect func

GetProjectTierTotalDepositCount

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierTotalDepositCount returns the total deposit count of a project tier.

Open
OID
0c9087…b74a:24
GetProjectTierTotalDepositCount details

Inspect func

GetProjectTierTotalWithdrawCount

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierTotalWithdrawCount returns the total withdraw count of a project tier.

Open
OID
0c9087…b74a:25
GetProjectTierTotalWithdrawCount details

Inspect func

GetProjectTierTotalCollectedAmount

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierTotalCollectedAmount returns the total collected amount of a project tier.

Open
OID
0c9087…b74a:26
GetProjectTierTotalCollectedAmount details

Inspect func

GetProjectTierStartTime

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierStartTime returns the start time of a project tier.

Open
OID
0c9087…b74a:27
GetProjectTierStartTime details

Inspect func

GetProjectTierEndTime

func(projectId string, tier int64) (int64, .uverse.error)

GetProjectTierEndTime returns the end time of a project tier.

Open
OID
0c9087…b74a:28
GetProjectTierEndTime details

Inspect func

GetDepositCount

func() int

GetDepositCount returns the total number of deposits.

Open
OID
0c9087…b74a:29
GetDepositCount details

Inspect func

GetCurrentDepositId

func() int64

GetCurrentDepositId returns the current deposit counter value.

Open
OID
0c9087…b74a:30
GetCurrentDepositId details

Inspect func

GetProjectTierDepositCount

func(projectId string, tier int64) int

GetProjectTierDepositCount returns the total number of deposits for a project tier.

Open
OID
0c9087…b74a:31
GetProjectTierDepositCount details

Inspect func

GetProjectTierDepositIDs

func(projectId string, tier int64, offset int, count int) []string

GetProjectTierDepositIDs returns a paginated list of deposit IDs for a project tier.

Open
OID
0c9087…b74a:32
GetProjectTierDepositIDs details

Inspect func

GetDeposit

func(depositId string) (*launchpad.Deposit, .uverse.error)

GetDeposit retrieves a deposit by its ID. Returns a cloned deposit to prevent external modification.

Open
OID
0c9087…b74a:33
GetDeposit details

Inspect func

GetDepositProjectID

func(depositId string) (string, .uverse.error)

GetDepositProjectID returns the project ID of a deposit by its ID.

Open
OID
0c9087…b74a:34
GetDepositProjectID details

Inspect func

GetDepositTier

func(depositId string) (int64, .uverse.error)

GetDepositTier returns the tier of a deposit by its ID.

Open
OID
0c9087…b74a:35
GetDepositTier details

Inspect func

GetDepositProjectTierID

func(depositId string) (string, .uverse.error)

GetDepositProjectTierID returns the project tier ID of a deposit by its ID.

Open
OID
0c9087…b74a:36
GetDepositProjectTierID details

Inspect func

GetDepositAmount

func(depositId string) (int64, .uverse.error)

GetDepositAmount returns the deposit amount of a deposit by its ID.

Open
OID
0c9087…b74a:37
GetDepositAmount details

Inspect func

GetDepositWithdrawnHeight

func(depositId string) (int64, .uverse.error)

GetDepositWithdrawnHeight returns the withdrawn height of a deposit by its ID.

Open
OID
0c9087…b74a:38
GetDepositWithdrawnHeight details

Inspect func

GetDepositWithdrawnTime

func(depositId string) (int64, .uverse.error)

GetDepositWithdrawnTime returns the withdrawn time of a deposit by its ID.

Open
OID
0c9087…b74a:39
GetDepositWithdrawnTime details

Inspect func

GetDepositCreatedHeight

func(depositId string) (int64, .uverse.error)

GetDepositCreatedHeight returns the created height of a deposit by its ID.

Open
OID
0c9087…b74a:40
GetDepositCreatedHeight details

Inspect func

GetDepositCreatedAt

func(depositId string) (int64, .uverse.error)

GetDepositCreatedAt returns the created time of a deposit by its ID.

Open
OID
0c9087…b74a:41
GetDepositCreatedAt details

Inspect func

GetDepositEndTime

func(depositId string) (int64, .uverse.error)

GetDepositEndTime returns the end time of a deposit by its ID.

Open
OID
0c9087…b74a:42
GetDepositEndTime details

Inspect func

GetTotalGNSStakedAmount

func() int64

GetTotalGNSStakedAmount returns the total amount of GNS currently staked across all launchpad deposits.

Open
OID
0c9087…b74a:43
GetTotalGNSStakedAmount details

Inspect func

GetProjectTierRewardManagerCount

func() int

GetProjectTierRewardManagerCount returns the total number of reward managers.

Open
OID
0c9087…b74a:44
GetProjectTierRewardManagerCount details

Inspect func

GetProjectTierRewardManager

func(projectTierId string) (*launchpad.RewardManager, .uverse.error)

GetProjectTierRewardManager retrieves a reward manager by project tier ID. Returns a cloned reward manager to prevent external modification.

Open
OID
0c9087…b74a:45
GetProjectTierRewardManager details

Inspect func

GetProjectTierRewardDistributeAmountPerSecondX128

func(projectTierId string) (*uint256.Uint, .uverse.error)

GetProjectTierRewardDistributeAmountPerSecondX128 returns the distribute amount per second (Q128) of a reward manager.

Open
OID
0c9087…b74a:46
GetProjectTierRewardDistributeAmountPerSecondX128 details

Inspect func

GetProjectTierRewardAccumulatedRewardPerDepositX128

func(projectTierId string) (*uint256.Uint, .uverse.error)

GetProjectTierRewardAccumulatedRewardPerDepositX128 returns the accumulated reward per deposit (Q128) of a reward manager.

Open
OID
0c9087…b74a:47
GetProjectTierRewardAccumulatedRewardPerDepositX128 details

Inspect func

GetProjectTierRewardTotalDistributeAmount

func(projectTierId string) (int64, .uverse.error)

GetProjectTierRewardTotalDistributeAmount returns the total distribute amount of a reward manager.

Open
OID
0c9087…b74a:48
GetProjectTierRewardTotalDistributeAmount details

Inspect func

GetProjectTierRewardTotalClaimedAmount

func(projectTierId string) (int64, .uverse.error)

GetProjectTierRewardTotalClaimedAmount returns the total claimed amount of a reward manager.

Open
OID
0c9087…b74a:49
GetProjectTierRewardTotalClaimedAmount details

Inspect func

GetProjectTierRewardDistributeStartTime

func(projectTierId string) (int64, .uverse.error)

GetProjectTierRewardDistributeStartTime returns the distribute start time of a reward manager.

Open
OID
0c9087…b74a:50
GetProjectTierRewardDistributeStartTime details

Inspect func

GetProjectTierRewardDistributeEndTime

func(projectTierId string) (int64, .uverse.error)

GetProjectTierRewardDistributeEndTime returns the distribute end time of a reward manager.

Open
OID
0c9087…b74a:51
GetProjectTierRewardDistributeEndTime details

Inspect func

GetProjectTierRewardAccumulatedDistributeAmount

func(projectTierId string) (int64, .uverse.error)

GetProjectTierRewardAccumulatedDistributeAmount returns the accumulated distribute amount of a reward manager.

Open
OID
0c9087…b74a:52
GetProjectTierRewardAccumulatedDistributeAmount details

Inspect func

GetProjectTierRewardAccumulatedTime

func(projectTierId string) (int64, .uverse.error)

GetProjectTierRewardAccumulatedTime returns the accumulated time of a reward manager.

Open
OID
0c9087…b74a:53
GetProjectTierRewardAccumulatedTime details

Inspect func

GetProjectTierRewardClaimableDuration

func(projectTierId string) (int64, .uverse.error)

GetProjectTierRewardClaimableDuration returns the reward claimable duration of a reward manager.

Open
OID
0c9087…b74a:54
GetProjectTierRewardClaimableDuration details

Inspect func

GetRewardState

func(projectTierId string, depositId string) (*launchpad.RewardState, .uverse.error)

GetRewardState retrieves a reward state by project tier ID and deposit ID. Returns a cloned reward state to prevent external modification.

Open
OID
0c9087…b74a:55
GetRewardState details

Inspect func

GetProjectActiveStatus

func(projectId string) (bool, .uverse.error)

GetProjectActiveStatus returns whether a project is currently active.

Open
OID
0c9087…b74a:56
GetProjectActiveStatus details

Inspect func

cloneStringSlice

func(src []string) []string
Open
OID
0c9087…b74a:57
cloneStringSlice details

Inspect func

cloneInt64Map

func(src map[int64]int64) map[int64]int64
Open
OID
0c9087…b74a:59
cloneInt64Map details

Inspect func

Project

type

Project represents a launchpad project. This struct contains the necessary data and methods to manage and distribute rewards for a specific project. Fields: - id (string): The unique identifier for the project, formatted as "{tokenPath}:{createdHeight}". - name (string): The name of the project. - tokenPath (string): The path of the token associated with the project. - depositAmount (int64): The total amount of tokens deposited for the project. - recipient (std.Address): The address to receive the project's rewards. - conditions (map\[string]\*ProjectCondition): A map of token paths to their associated conditions. - tiers (map\[int64]\*ProjectTier): A map of tier durations to their associated tiers. - tiersRatios (map\[int64]int64): A map of tier durations to their associated ratios. - createdBlockTimeInfo (BlockTimeInfo): The block time and height information for the creation of the project.

Value

launchpad.Project

NewProject

func(name string, tokenPath string, depositAmount int64, recipient .uverse.address, createdHeight int64, createdAt int64) *launchpad.Project
Open
OID
0c9087…b74a:60
NewProject details

Inspect func

MakeProjectID

func(tokenPath string, createdHeight int64) string

MakeProjectID generates a unique project ID based on the given token path and the current block height. The generated ID combines the \`tokenPath\` and the current block height in the following format: "{tokenPath}:{height}" Parameters: - tokenPath (string): The path of the token associated with the project. Returns: - string: A unique project ID in the format "tokenPath:height".

Open
OID
0c9087…b74a:62
MakeProjectID details

Inspect func

stringSplitterPad

untyped string

Value

"*PAD*"

ProjectCondition

type

ProjectCondition represents a condition for a project. This struct contains the necessary data and methods to manage and distribute rewards for a specific project. Fields: - tokenPath (string): The path of the token associated with the project. - minimumAmount (int64): The minimum amount of the token required for the project.

Value

launchpad.ProjectCondition

NewProjectCondition

func(tokenPath string, minimumAmount int64) *launchpad.ProjectCondition
Open
OID
0c9087…b74a:63
NewProjectCondition details

Inspect func

NewProjectConditionsWithError

func(conditionTokens string, conditionAmounts string) ([]*launchpad.ProjectCondition, .uverse.error)
Open
OID
0c9087…b74a:65
NewProjectConditionsWithError details

Inspect func

ProjectTier

type

ProjectTier represents a tier within a project. This struct contains the necessary data and methods to manage and distribute rewards for a specific tier of a project. Fields: - distributeAmountPerSecondX128 (u256.Uint): The amount of tokens to be distributed per second, represented as a Q128 fixed-point number. - startTime (int64): The time for the start of the tier. - endTime (int64): The time for the end of the tier. - id (string): The unique identifier for the tier, formatted as "{projectID}:duration". - totalDistributeAmount (int64): The total amount of tokens to be distributed for the tier. - totalDepositAmount (int64): The total amount of tokens deposited for the tier. - totalWithdrawAmount (int64): The total amount of tokens withdrawn from the tier. - totalDepositCount (int64): The total number of deposits made to the tier. - totalWithdrawCount (int64): The total number of withdrawals from the tier. - totalCollectedAmount (int64): The total amount of tokens collected as rewards for the tier.

Value

launchpad.ProjectTier

NewProjectTier

func(projectID string, tierDuration int64, totalDistributeAmount int64, startTime int64, endTime int64) *launchpad.ProjectTier

NewProjectTier returns a pointer to a new ProjectTier with the given values.

Open
OID
0c9087…b74a:66
NewProjectTier details

Inspect func

MakeProjectTierID

func(projectID string, duration int64) string

MakeProjectTierID generates a unique tier ID based on the given project ID and the tier duration. The generated ID combines the \`projectId\` and the \`duration\` in the following format: "{projectId}:{duration}" Parameters: - projectId (string): The unique ID of the project associated with the tier. - duration (uint64): The duration of the tier (e.g., 30, 90, 180 days). Returns: - string: A unique tier ID in the format "projectId:duration".

Open
OID
0c9087…b74a:68
MakeProjectTierID details

Inspect func

CreateProject

func(name string, tokenPath string, recipient .uverse.address, depositAmount int64, conditionTokens string, conditionAmounts string, tier30Ratio int64, tier90Ratio int64, tier180Ratio int64, startTime int64) string

CreateProject creates a new launchpad project with tiered allocations.

Open
OID
0c9087…b74a:69
CreateProject details

Inspect func

CollectProtocolFee

func()

CollectProtocolFee collects accumulated protocol fees from launchpad operations.

Open
OID
0c9087…b74a:71
CollectProtocolFee details

Inspect func

CollectEmissionReward

func()

CollectEmissionReward collects accumulated launchpad emission rewards.

Open
OID
0c9087…b74a:72
CollectEmissionReward details

Inspect func

CollectProtocolFeeReward

func(tokenPath string)

CollectProtocolFeeReward collects accumulated launchpad protocol fee rewards for the provided token path.

Open
OID
0c9087…b74a:73
CollectProtocolFeeReward details

Inspect func

TransferLeftFromProjectByAdmin

func(projectID string, recipient .uverse.address) int64

TransferLeftFromProjectByAdmin transfers the remaining rewards of a project to a specified recipient.

Open
OID
0c9087…b74a:74
TransferLeftFromProjectByAdmin details

Inspect func

DepositGns

func(targetProjectTierID string, depositAmount int64, referrer string) string

DepositGns deposits GNS tokens to a launchpad project tier.

Open
OID
0c9087…b74a:75
DepositGns details

Inspect func

CollectDepositGns

func(depositID string) (int64, .uverse.error)

CollectDepositGns collects rewards from a deposit.

Open
OID
0c9087…b74a:76
CollectDepositGns details

Inspect func

CollectRewardByDepositId

func(depositID string) int64

CollectRewardByDepositId collects rewards from a deposit.

Open
OID
0c9087…b74a:77
CollectRewardByDepositId details

Inspect func

RewardManager

type

RewardManager manages the distribution of rewards for a project tier. This struct contains the necessary data and methods to calculate and track rewards for deposits associated with a project tier. Fields: - rewards (bptree.BPTree): A map of deposit IDs to their associated reward states. - distributeAmountPerSecondX128 (u256.Uint): The amount of tokens to be distributed per second, represented as a Q128 fixed-point number. - accumulatedRewardPerDepositX128 (u256.Uint): The accumulated reward per GNS stake, represented as a Q128 fixed-point number. - totalDistributeAmount (int64): The total amount of tokens to be distributed. - totalClaimedAmount (int64): The total amount of tokens claimed. - distributeStartTime (int64): The start time of the reward calculation. - distributeEndTime (int64): The end time of the reward calculation. - accumulatedDistributeAmount (int64): The accumulated amount of tokens distributed. - rewardClaimableDuration (int64): The duration of reward claimable.

Value

launchpad.RewardManager

NewRewardManager

func(totalDistributeAmount int64, distributeStartTime int64, distributeEndTime int64, rewardCollectableDuration int64) *launchpad.RewardManager

NewRewardManager returns a pointer to a new RewardManager with the given values.

Open
OID
0c9087…b74a:78
NewRewardManager details

Inspect func

RewardState

type

RewardState represents the state of a reward for a deposit. It contains the necessary data to manage and distribute rewards for a specific deposit.

Value

launchpad.RewardState

NewRewardState

func(accumulatedRewardPerDepositX128 *uint256.Uint, depositAmount int64, distributeStartTime int64, distributeEndTime int64, claimableTime int64) *launchpad.RewardState

NewRewardState returns a pointer to a new RewardState with the given values.

Open
OID
0c9087…b74a:80
NewRewardState details

Inspect func

versionManager

*version_manager.versionManager
Open
OID
0c9087…b74a:104
versionManager details

Inspect pointer

initializeDomainStore

func(int, rlm .uverse.realm, kvStore store.KVStore) interface{...}
Open
OID
0c9087…b74a:87
initializeDomainStore details

Inspect func

getImplementation

func() launchpad.ILaunchpad
Open
OID
0c9087…b74a:88
getImplementation details

Inspect func

updateImplementation

func() .uverse.error
Open
OID
0c9087…b74a:89
updateImplementation details

Inspect func

NewBPTreeN

func(fanout int) *v0.BPTree

NewBPTreeN allocates a BP-tree under /r/gnoswap/launchpad's realm context (the realm that declares Project/Deposit/RewardManager). The tree's PkgID is therefore /r/gnoswap/launchpad, matching the domain values it stores, so tree.Set leaf-slot writes clear the readonly-taint gate regardless of which realm (launchpad/v1, mock, tests) calls Set. Implementations, mocks, and tests must allocate launchpad trees through here rather than calling bptree.NewBPTreeN directly in their own realm.

Open
OID
0c9087…b74a:90
NewBPTreeN details

Inspect func

StoreKey

type

Value

launchpad.StoreKey

StoreKeyProjects

launchpad.StoreKey

// Projects tree

Value

<gnolang.StringValue>

StoreKeyProjectTierRewardManagers

launchpad.StoreKey

// Project tier reward managers tree

Value

<gnolang.StringValue>

StoreKeyDepositCounter

launchpad.StoreKey

// Deposit counter

Value

<gnolang.StringValue>

StoreKeyDeposits

launchpad.StoreKey

// Deposits tree

Value

<gnolang.StringValue>

StoreKeyTotalGNSStakedAmount

launchpad.StoreKey

// Total active launchpad GNS stake

Value

<gnolang.StringValue>

launchpadStore

type

Value

launchpad.launchpadStore

NewLaunchpadStore

func(kvStore store.KVStore) launchpad.ILaunchpadStore

NewLaunchpadStore creates a new launchpad store instance with the provided KV store. This function is used by the upgrade system to create storage instances for each implementation.

Open
OID
0c9087…b74a:92
NewLaunchpadStore details

Inspect func

ILaunchpad

type

Value

launchpad.ILaunchpad

ILaunchpadProject

type

Value

launchpad.ILaunchpadProject

ILaunchpadDeposit

type

Value

launchpad.ILaunchpadDeposit

ILaunchpadGetter

type

Value

launchpad.ILaunchpadGetter

ILaunchpadStore

type

Value

launchpad.ILaunchpadStore

RegisterInitializer

func(initializer func(...))

RegisterInitializer registers a new launchpad implementation version. This function is called by each version (v1, v2, etc.) during initialization to register their implementation with the proxy system. The initializer function creates a new instance of the implementation using the provided launchpadStore interface. Security: Only contracts within the domain path can register initializers. Each package path can only register once to prevent duplicate registrations.

Open
OID
0c9087…b74a:93
RegisterInitializer details

Inspect func

UpgradeImpl

func(packagePath string)

UpgradeImpl switches the active launchpad implementation to a different version. This function allows seamless upgrades from one version to another without data migration or downtime. Security: Only admin or governance can perform upgrades. The new implementation must have been previously registered via RegisterInitializer.

Open
OID
0c9087…b74a:95
UpgradeImpl details

Inspect func

GetImplementationPackagePath

func() string

GetImplementationPackagePath returns the package path of the currently active implementation.

Open
OID
0c9087…b74a:96
GetImplementationPackagePath details

Inspect func
Counter : type =launchpad.Counter
NewCounter : func() *launchpad.Counter Inspect
Deposit : type =launchpad.Deposit
NewDeposit : func(depositID string, projectID string, tier int64, depositor .uverse.address, depositAmount int64, createdHeight int64, createdTime int64, endTime int64) *launchpad.Deposit Inspect
ErrSpoofedRealm : untyped string ="rlm does not match the current crossing frame"
GetProjectCount : func() int Inspect
GetProjectIDs : func(offset int, count int) []string Inspect
GetProject : func(projectId string) (*launchpad.Project, .uverse.error) Inspect
GetProjectName : func(projectId string) (string, .uverse.error) Inspect
GetProjectTokenPath : func(projectId string) (string, .uverse.error) Inspect
GetProjectDepositAmount : func(projectId string) (int64, .uverse.error) Inspect
GetProjectRecipient : func(projectId string) (.uverse.address, .uverse.error) Inspect
GetProjectCondition : func(projectId string, tokenPath string) (*launchpad.ProjectCondition, .uverse.error) Inspect
GetProjectTiersRatios : func(projectId string) (map[int64]int64, .uverse.error) Inspect
GetProjectCreatedHeight : func(projectId string) (int64, .uverse.error) Inspect
GetProjectCreatedAt : func(projectId string) (int64, .uverse.error) Inspect
GetProjectTier : func(projectId string, tier int64) (*launchpad.ProjectTier, .uverse.error) Inspect
GetProjectTierDistributeAmountPerSecondX128 : func(projectId string, tier int64) (*uint256.Uint, .uverse.error) Inspect
GetProjectTierTotalDistributeAmount : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetProjectTierTotalDepositAmount : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetProjectTierTotalWithdrawAmount : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetProjectTierTotalDepositCount : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetProjectTierTotalWithdrawCount : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetProjectTierTotalCollectedAmount : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetProjectTierStartTime : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetProjectTierEndTime : func(projectId string, tier int64) (int64, .uverse.error) Inspect
GetDepositCount : func() int Inspect
GetCurrentDepositId : func() int64 Inspect
GetProjectTierDepositCount : func(projectId string, tier int64) int Inspect
GetProjectTierDepositIDs : func(projectId string, tier int64, offset int, count int) []string Inspect
GetDeposit : func(depositId string) (*launchpad.Deposit, .uverse.error) Inspect
GetDepositProjectID : func(depositId string) (string, .uverse.error) Inspect
GetDepositTier : func(depositId string) (int64, .uverse.error) Inspect
GetDepositProjectTierID : func(depositId string) (string, .uverse.error) Inspect
GetDepositAmount : func(depositId string) (int64, .uverse.error) Inspect
GetDepositWithdrawnHeight : func(depositId string) (int64, .uverse.error) Inspect
GetDepositWithdrawnTime : func(depositId string) (int64, .uverse.error) Inspect
GetDepositCreatedHeight : func(depositId string) (int64, .uverse.error) Inspect
GetDepositCreatedAt : func(depositId string) (int64, .uverse.error) Inspect
GetDepositEndTime : func(depositId string) (int64, .uverse.error) Inspect
GetTotalGNSStakedAmount : func() int64 Inspect
GetProjectTierRewardManagerCount : func() int Inspect
GetProjectTierRewardManager : func(projectTierId string) (*launchpad.RewardManager, .uverse.error) Inspect
GetProjectTierRewardDistributeAmountPerSecondX128 : func(projectTierId string) (*uint256.Uint, .uverse.error) Inspect
GetProjectTierRewardAccumulatedRewardPerDepositX128 : func(projectTierId string) (*uint256.Uint, .uverse.error) Inspect
GetProjectTierRewardTotalDistributeAmount : func(projectTierId string) (int64, .uverse.error) Inspect
GetProjectTierRewardTotalClaimedAmount : func(projectTierId string) (int64, .uverse.error) Inspect
GetProjectTierRewardDistributeStartTime : func(projectTierId string) (int64, .uverse.error) Inspect
GetProjectTierRewardDistributeEndTime : func(projectTierId string) (int64, .uverse.error) Inspect
GetProjectTierRewardAccumulatedDistributeAmount : func(projectTierId string) (int64, .uverse.error) Inspect
GetProjectTierRewardAccumulatedTime : func(projectTierId string) (int64, .uverse.error) Inspect
GetProjectTierRewardClaimableDuration : func(projectTierId string) (int64, .uverse.error) Inspect
GetRewardState : func(projectTierId string, depositId string) (*launchpad.RewardState, .uverse.error) Inspect
GetProjectActiveStatus : func(projectId string) (bool, .uverse.error) Inspect
cloneStringSlice : func(src []string) []string Inspect
cloneInt64Map : func(src map[int64]int64) map[int64]int64 Inspect
Project : type =launchpad.Project
NewProject : func(name string, tokenPath string, depositAmount int64, recipient .uverse.address, createdHeight int64, createdAt int64) *launchpad.Project Inspect
MakeProjectID : func(tokenPath string, createdHeight int64) string Inspect
stringSplitterPad : untyped string ="*PAD*"
ProjectCondition : type =launchpad.ProjectCondition
NewProjectCondition : func(tokenPath string, minimumAmount int64) *launchpad.ProjectCondition Inspect
NewProjectConditionsWithError : func(conditionTokens string, conditionAmounts string) ([]*launchpad.ProjectCondition, .uverse.error) Inspect
ProjectTier : type =launchpad.ProjectTier
NewProjectTier : func(projectID string, tierDuration int64, totalDistributeAmount int64, startTime int64, endTime int64) *launchpad.ProjectTier Inspect
MakeProjectTierID : func(projectID string, duration int64) string Inspect
CreateProject : func(name string, tokenPath string, recipient .uverse.address, depositAmount int64, conditionTokens string, conditionAmounts string, tier30Ratio int64, tier90Ratio int64, tier180Ratio int64, startTime int64) string Inspect
CollectProtocolFee : func() Inspect
CollectEmissionReward : func() Inspect
CollectProtocolFeeReward : func(tokenPath string) Inspect
TransferLeftFromProjectByAdmin : func(projectID string, recipient .uverse.address) int64 Inspect
DepositGns : func(targetProjectTierID string, depositAmount int64, referrer string) string Inspect
CollectDepositGns : func(depositID string) (int64, .uverse.error) Inspect
CollectRewardByDepositId : func(depositID string) int64 Inspect
RewardManager : type =launchpad.RewardManager
NewRewardManager : func(totalDistributeAmount int64, distributeStartTime int64, distributeEndTime int64, rewardCollectableDuration int64) *launchpad.RewardManager Inspect
RewardState : type =launchpad.RewardState
NewRewardState : func(accumulatedRewardPerDepositX128 *uint256.Uint, depositAmount int64, distributeStartTime int64, distributeEndTime int64, claimableTime int64) *launchpad.RewardState Inspect
kvStore : *store.kvStore Inspect
versionManager : *version_manager.versionManager Inspect
implementation : *v1.launchpadV1 Inspect
init.81 : func() Inspect
initializeDomainStore : func(int, rlm .uverse.realm, kvStore store.KVStore) interface{...} Inspect
getImplementation : func() launchpad.ILaunchpad Inspect
updateImplementation : func() .uverse.error Inspect
NewBPTreeN : func(fanout int) *v0.BPTree Inspect
StoreKey : type =launchpad.StoreKey
StoreKeyProjects : launchpad.StoreKey =<gnolang.StringValue>
StoreKeyProjectTierRewardManagers : launchpad.StoreKey =<gnolang.StringValue>
StoreKeyDepositCounter : launchpad.StoreKey =<gnolang.StringValue>
StoreKeyDeposits : launchpad.StoreKey =<gnolang.StringValue>
StoreKeyTotalGNSStakedAmount : launchpad.StoreKey =<gnolang.StringValue>
launchpadStore : type =launchpad.launchpadStore
NewLaunchpadStore : func(kvStore store.KVStore) launchpad.ILaunchpadStore Inspect
ILaunchpad : type =launchpad.ILaunchpad
ILaunchpadProject : type =launchpad.ILaunchpadProject
ILaunchpadDeposit : type =launchpad.ILaunchpadDeposit
ILaunchpadGetter : type =launchpad.ILaunchpadGetter
ILaunchpadStore : type =launchpad.ILaunchpadStore
RegisterInitializer : func(initializer func(...)) Inspect
UpgradeImpl : func(packagePath string) Inspect
GetImplementationPackagePath : func() string Inspect