- Preparing search index...
- The search index is not available
@premia/v3-sdk
Methods
Static
GetAllLastVaultVotes
- GetAllLastVaultVotes(subgraph, orderBy, order, first?, skip?): DocumentNode
-
Parameters
-
-
orderBy: string
-
order: string
-
first: number = 100
-
skip: number = 0
Returns DocumentNode
Static
GetLastUserStakeFromTimestamp
- GetLastUserStakeFromTimestamp(subgraph, timestamp, user): DocumentNode
-
Parameters
-
-
timestamp: number
-
user: string
Returns DocumentNode
Static
GetLastUserStakes
- GetLastUserStakes(subgraph): DocumentNode
-
Returns DocumentNode
Static
GetStakeHistories
- GetStakeHistories(subgraph, startTime, first?, skip?): DocumentNode
-
Parameters
-
-
startTime: number
-
first: number = 100
-
skip: number = 0
Returns DocumentNode
Static
GetStakeHistoryFromId
- GetStakeHistoryFromId(subgraph, id): DocumentNode
-
Returns DocumentNode
Static
GetUserStakes
- GetUserStakes(subgraph, startTime, user, first?, skip?): DocumentNode
-
Parameters
-
-
startTime: number
-
user: string
-
first: number = 100
-
skip: number = 0
Returns DocumentNode
Static
GetUserVaultVotesFromTimestamp
- GetUserVaultVotesFromTimestamp(subgraph, user, timestampFrom, timestampTo, first?, skip?): DocumentNode
-
Parameters
-
-
user: string
-
timestampFrom: number
-
timestampTo: number
-
first: number = 100
-
skip: number = 0
Returns DocumentNode
Static
GetVaultVotes
- GetVaultVotes(subgraph, user, first?, skip?): DocumentNode
-
Parameters
-
-
user: string
-
first: number = 100
-
skip: number = 0
Returns DocumentNode
Static
GetVoteHistoryFromId
- GetVoteHistoryFromId(subgraph, id): DocumentNode
-
Returns DocumentNode