SYMBOL INDEX (572 symbols across 117 files) FILE: src/components/IndicatorAssetsChange.spec.js function createComponent (line 11) | function createComponent(params = {}) { FILE: src/components/TreasuryAssetsListItem.spec.js function createComponent (line 28) | function createComponent(params = {}) { FILE: src/components/TreasuryWalletsList.spec.js function createComponent (line 14) | function createComponent(params = {}) { FILE: src/components/TreasuryWalletsListItem.spec.js function createComponent (line 24) | function createComponent(params = {}) { FILE: src/composables/useAccount.ts function getERC20Account (line 5) | async function getERC20Account( function useAccount (line 18) | function useAccount() { FILE: src/composables/useAliasAction.ts function useAliasAction (line 19) | function useAliasAction() { FILE: src/composables/useApolloQuery.ts function useApolloQuery (line 5) | function useApolloQuery() { FILE: src/composables/useApp.ts function useApp (line 24) | function useApp() { FILE: src/composables/useBalances.ts constant COINGECKO_API_URL (line 11) | const COINGECKO_API_URL = 'https://api.coingecko.com/api/v3/simple'; constant COINGECKO_PARAMS (line 12) | const COINGECKO_PARAMS = '&vs_currencies=usd&include_24hr_change=true'; function useBalances (line 14) | function useBalances() { FILE: src/composables/useBoost.ts function useBoost (line 9) | function useBoost() { FILE: src/composables/useChangeNetwork.ts function useChangeNetwork (line 4) | function useChangeNetwork() { FILE: src/composables/useClient.ts function useClient (line 4) | function useClient() { FILE: src/composables/useCopy.ts function useCopy (line 3) | function useCopy() { FILE: src/composables/useDelegate.ts function useDelegate (line 12) | function useDelegate() { FILE: src/composables/useDelegates.ts type DelegatesStats (line 10) | type DelegatesStats = Record; constant DELEGATES_LIMIT (line 12) | const DELEGATES_LIMIT = 18; function useDelegates (line 14) | function useDelegates(space: ExtendedSpace) { FILE: src/composables/useEmailFetchClient.ts function useEmailFetchClient (line 29) | function useEmailFetchClient() { FILE: src/composables/useEmailSubscription.ts type SubscriptionType (line 4) | type SubscriptionType = (typeof subscriptionTypes)[number]; type SubscriptionStatus (line 5) | type SubscriptionStatus = 'NOT_SUBSCRIBED' | 'VERIFIED' | 'UNVERIFIED'; function useEmailSubscriptionComposable (line 7) | function useEmailSubscriptionComposable() { FILE: src/composables/useEns.ts constant VALID_ENS_TLDS (line 6) | const VALID_ENS_TLDS = ['eth', 'xyz', 'com', 'org', 'io', 'app', 'art', ... function useEns (line 8) | function useEns() { FILE: src/composables/useExtendedSpaces.ts function useExtendedSpaces (line 7) | function useExtendedSpaces() { FILE: src/composables/useFlaggedMessageStatus.ts function useFlaggedMessageStatus (line 23) | function useFlaggedMessageStatus(pageId: Ref | string) { FILE: src/composables/useFlashNotification.ts type Notification (line 1) | interface Notification { function useFlashNotification (line 10) | function useFlashNotification() { FILE: src/composables/useFollowSpace.ts function useFollowSpace (line 9) | function useFollowSpace(spaceId: any = {}) { FILE: src/composables/useFormSpaceProposal.ts type ProposalForm (line 7) | interface ProposalForm { constant EMPTY_PROPOSAL (line 25) | const EMPTY_PROPOSAL: ProposalForm = { constant EMPTY_PROPOSAL_DRAFT (line 43) | const EMPTY_PROPOSAL_DRAFT = { function useFormSpaceProposal (line 58) | function useFormSpaceProposal({ spaceType = 'default' } = {}) { FILE: src/composables/useFormSpaceSettings.ts constant DEFAULT_PROPOSAL_VALIDATION (line 8) | const DEFAULT_PROPOSAL_VALIDATION = { name: 'any', params: {} }; constant DEFAULT_VOTE_VALIDATION (line 9) | const DEFAULT_VOTE_VALIDATION = { name: 'any', params: {} }; constant DEFAULT_DELEGATION (line 10) | const DEFAULT_DELEGATION = { constant EMPTY_SPACE_FORM (line 16) | const EMPTY_SPACE_FORM = { function useFormSpaceSettings (line 68) | function useFormSpaceSettings( FILE: src/composables/useFormValidation.ts function useFormValidation (line 5) | function useFormValidation(schema, form) { FILE: src/composables/useGnosis.ts function useGnosis (line 23) | function useGnosis(space?: ExtendedSpace) { FILE: src/composables/useI18n.ts function useI18n (line 10) | function useI18n() { FILE: src/composables/useImageUpload.ts function useImageUpload (line 6) | function useImageUpload() { FILE: src/composables/useInfiniteLoader.ts function useInfiniteLoader (line 1) | function useInfiniteLoader(loadBy = 6) { FILE: src/composables/useIntl.ts function useIntl (line 52) | function useIntl() { FILE: src/composables/useMeta.ts type metaInfo (line 3) | type metaInfo = { function useMeta (line 14) | function useMeta(metaInfo: metaInfo) { FILE: src/composables/useModal.ts function useModal (line 5) | function useModal() { FILE: src/composables/useModalNotification.ts type Notification (line 1) | interface Notification { function useModalNotification (line 10) | function useModalNotification() { FILE: src/composables/useNetworksFilter.ts function useNetworksFilter (line 11) | function useNetworksFilter() { FILE: src/composables/useNotifications.ts type Notification (line 10) | interface Notification { function useNotifications (line 28) | function useNotifications() { FILE: src/composables/usePayment.ts constant BASE_PRICE (line 6) | const BASE_PRICE = 1666.66666667; constant BASE_UNIT (line 7) | const BASE_UNIT = 1; constant BASE_CURRENCY (line 8) | const BASE_CURRENCY = { constant PLANS (line 12) | const PLANS = { constant CURRENCIES (line 16) | const CURRENCIES = { constant DEFAULT_CURRENCY (line 48) | const DEFAULT_CURRENCY = 'ethereum'; constant DEFAULT_PLAN (line 49) | const DEFAULT_PLAN = 'y1'; constant TRANSFER_ABI (line 50) | const TRANSFER_ABI = [ constant SNAPSHOT_WALLET (line 69) | const SNAPSHOT_WALLET = '0x01e8CEC73B020AB9f822fD0dee3Aa4da2fe39e38'; constant COINGECKO_API_URL (line 74) | const COINGECKO_API_URL = 'https://api.coingecko.com/api/v3/simple'; constant COINGECKO_PARAMS (line 75) | const COINGECKO_PARAMS = '&vs_currencies=usd&include_24hr_change=true'; function usePayment (line 77) | function usePayment(network: number) { FILE: src/composables/usePlugins.ts function usePlugins (line 92) | function usePlugins() { FILE: src/composables/useProfiles.ts function useProfiles (line 13) | function useProfiles() { FILE: src/composables/useProposalVotes.ts type QueryParams (line 4) | type QueryParams = { function useProposalVotes (line 8) | function useProposalVotes(proposal: Proposal, loadBy = 6) { FILE: src/composables/useProposals.ts type ProposalsStore (line 4) | interface ProposalsStore { function useProposals (line 24) | function useProposals() { FILE: src/composables/useQuorum.ts type QuorumProps (line 7) | interface QuorumProps { function useQuorum (line 15) | function useQuorum(props: QuorumProps) { FILE: src/composables/useReportDownload.ts function useReportDownload (line 3) | function useReportDownload() { FILE: src/composables/useResolveName.ts function useResolveName (line 4) | function useResolveName() { FILE: src/composables/useSafe.ts type ExecutionStatus (line 1) | interface ExecutionStatus { function useSafe (line 14) | function useSafe() { FILE: src/composables/useSharing.ts function useSharing (line 4) | function useSharing() { FILE: src/composables/useShortUrls.ts function useShortUrls (line 3) | function useShortUrls() { FILE: src/composables/useSkin.ts constant DARK (line 4) | const DARK = 'dark'; constant LIGHT (line 5) | const LIGHT = 'light'; function toggleUserTheme (line 11) | function toggleUserTheme() { function useSkin (line 27) | function useSkin() { FILE: src/composables/useSkinsFilter.ts function useSkinsFilter (line 11) | function useSkinsFilter() { FILE: src/composables/useSnapshot.ts function useSnapshot (line 7) | function useSnapshot() { FILE: src/composables/useSpaceController.ts function useSpaceController (line 21) | function useSpaceController() { FILE: src/composables/useSpaceSubscription.ts function useSpaceSubscription (line 8) | function useSpaceSubscription(spaceId: any) { FILE: src/composables/useSpaces.ts type Metrics (line 4) | interface Metrics { function useSpaces (line 9) | function useSpaces() { FILE: src/composables/useStatement.ts constant SET_STATEMENT_ACTION (line 5) | const SET_STATEMENT_ACTION = 'set-statement'; function useStatement (line 10) | function useStatement() { FILE: src/composables/useStrategies.ts function useStrategies (line 12) | function useStrategies() { FILE: src/composables/useTerms.ts function useTerms (line 3) | function useTerms(spaceKey) { FILE: src/composables/useTreasury.ts constant TOKEN_LIST_URL (line 5) | const TOKEN_LIST_URL = 'https://ipfs.io/ipns/tokens.uniswap.org'; function useTreasury (line 10) | function useTreasury() { FILE: src/composables/useTxStatus.ts constant PENDING_TRANSACTIONS_STORAGE_KEY (line 5) | const PENDING_TRANSACTIONS_STORAGE_KEY = 'snapshot.pendingTransactions'; function useTxStatus (line 11) | function useTxStatus() { FILE: src/composables/useUnseenProposals.ts type proposal (line 4) | type proposal = { id: string; created: number; space: { id: string } }; function useUnseenProposals (line 10) | function useUnseenProposals() { FILE: src/composables/useUsername.ts function useUsername (line 4) | function useUsername() { FILE: src/composables/useWeb3.ts function useWeb3 (line 22) | function useWeb3() { FILE: src/env.d.ts type ImportMetaEnv (line 1) | interface ImportMetaEnv { FILE: src/helpers/alchemy/index.ts constant NETWORKS (line 11) | const NETWORKS = { function getApiUrl (line 19) | function getApiUrl(networkId: number) { function request (line 25) | async function request( function batchRequest (line 45) | async function batchRequest( function getBalance (line 72) | async function getBalance( function getTokenBalances (line 86) | async function getTokenBalances( function getTokensMetadata (line 99) | async function getTokensMetadata( function getBalances (line 118) | async function getBalances( FILE: src/helpers/alchemy/types.ts type BalanceData (line 1) | type BalanceData = { contractAddress: string; tokenBalance: string }; type Metadata (line 2) | type Metadata = { type Token (line 7) | type Token = BalanceData & type GetTokenBalancesResponse (line 14) | type GetTokenBalancesResponse = { type GetTokensMetadataResponse (line 19) | type GetTokensMetadataResponse = Metadata[]; type GetBalancesResponse (line 21) | type GetBalancesResponse = Token[]; FILE: src/helpers/b64.ts constant B64U_LOOKUP (line 3) | const B64U_LOOKUP = { FILE: src/helpers/boost/api.ts constant GUARD_URL (line 8) | const GUARD_URL = 'https://boost.snapshot.org'; function getRewards (line 10) | async function getRewards( function getVouchers (line 31) | async function getVouchers( function getWinners (line 52) | async function getWinners( FILE: src/helpers/boost/index.ts constant BOOST_VERSION (line 8) | const BOOST_VERSION = '0.0.1'; constant BOOST_CONTRACTS (line 10) | const BOOST_CONTRACTS = { constant SUPPORTED_NETWORKS (line 17) | const SUPPORTED_NETWORKS = Object.keys(BOOST_CONTRACTS); constant SNAPSHOT_GUARD_ADDRESS (line 19) | const SNAPSHOT_GUARD_ADDRESS = function createBoost (line 22) | async function createBoost( function claimTokens (line 52) | async function claimTokens( function claimAllTokens (line 68) | async function claimAllTokens( function getStrategyURI (line 88) | async function getStrategyURI(strategy: BoostStrategy) { function withdrawAndBurn (line 93) | async function withdrawAndBurn( function getFees (line 104) | async function getFees(web3: Web3Provider, networkId: string) { FILE: src/helpers/boost/subgraph.ts constant SUBGRAPH_URLS (line 5) | const SUBGRAPH_URLS = { function getClaims (line 15) | async function getClaims(recipient: string) { function getBoosts (line 48) | async function getBoosts(proposalIds: string[]) { FILE: src/helpers/boost/tokens.ts constant EXCLUDED_TOKENS (line 1) | const EXCLUDED_TOKENS = [ function isExcludedToken (line 103) | function isExcludedToken(chainId: string, contractAddress: string) { FILE: src/helpers/boost/types.ts type BoostClaimSubgraph (line 1) | type BoostClaimSubgraph = { type BoostRewardGuard (line 11) | type BoostRewardGuard = { type BoostVoucherGuard (line 17) | type BoostVoucherGuard = { type BoostWinnersGuard (line 24) | type BoostWinnersGuard = { type BoostStrategy (line 29) | interface BoostStrategy { type BoostSubgraph (line 51) | type BoostSubgraph = { FILE: src/helpers/constants.ts constant ETH_CONTRACT (line 1) | const ETH_CONTRACT = '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'; constant DEFAULT_ETH_ADDRESS (line 3) | const DEFAULT_ETH_ADDRESS = '0x0000000000000000000000000000000000000000'; constant SNAPSHOT_BREAKPOINTS (line 5) | const SNAPSHOT_BREAKPOINTS = { constant KNOWN_HOSTS (line 14) | const KNOWN_HOSTS = [ constant KNOWN_DOMAINS (line 29) | const KNOWN_DOMAINS = ['blockscout.com']; constant SPACE_CATEGORIES (line 31) | const SPACE_CATEGORIES = [ constant ERC20ABI (line 52) | const ERC20ABI = [ constant COINGECKO_ASSET_PLATFORMS (line 69) | const COINGECKO_ASSET_PLATFORMS = { constant COINGECKO_BASE_ASSETS (line 74) | const COINGECKO_BASE_ASSETS = { type ChainCurrency (line 79) | type ChainCurrency = { constant CHAIN_CURRENCIES (line 86) | const CHAIN_CURRENCIES: Record = { constant TWO_WEEKS (line 119) | const TWO_WEEKS = 1209600; constant ONE_DAY (line 120) | const ONE_DAY = 86400; constant SNAPSHOT_HELP_LINK (line 122) | const SNAPSHOT_HELP_LINK = 'https://help.snapshot.org/en'; constant BOOST_ENABLED_VOTING_TYPES (line 124) | const BOOST_ENABLED_VOTING_TYPES = [ constant STRATEGIES_LIMITS (line 130) | const STRATEGIES_LIMITS = { constant PROPOSAL_BODY_LIMITS (line 136) | const PROPOSAL_BODY_LIMITS = { FILE: src/helpers/covalent.ts constant API_URL (line 3) | const API_URL = 'https://api.covalenthq.com/v1'; constant API_KEY (line 4) | const API_KEY = 'ckey_2d082caf47f04a46947f4f212a8'; constant ETHER_CONTRACT (line 5) | const ETHER_CONTRACT = '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'; function getTokenBalances (line 7) | async function getTokenBalances( function getTokenPrices (line 37) | async function getTokenPrices( FILE: src/helpers/delegation.ts function getDelegates (line 8) | async function getDelegates(network: string, address: string) { function getDelegators (line 24) | async function getDelegators(network: string, address: string) { FILE: src/helpers/delegationV2/compound/read.ts type Governance (line 11) | type Governance = { type Delegate (line 17) | type Delegate = { function adjustUrl (line 23) | function adjustUrl(apiUrl: string) { FILE: src/helpers/delegationV2/index.ts type DelegationTypes (line 9) | enum DelegationTypes { function setupDelegation (line 14) | function setupDelegation( FILE: src/helpers/delegationV2/splitDelegation/read.ts constant SPLIT_DELEGATE_BACKEND_URL (line 8) | const SPLIT_DELEGATE_BACKEND_URL = 'https://delegate-api.gnosisguild.org'; type DelegateFromSD (line 10) | type DelegateFromSD = { type AddressResponse (line 18) | type AddressResponse = { FILE: src/helpers/delegationV2/splitDelegation/write.ts constant DELEGATION_CONTRACT (line 7) | const DELEGATION_CONTRACT = '0xDE1e8A7E184Babd9F0E3af18f40634e9Ed6F0905'; FILE: src/helpers/delegationV2/types.ts type DelegationReader (line 3) | type DelegationReader = { type DelegationWriter (line 14) | type DelegationWriter = { type DelegatingTo (line 23) | type DelegatingTo = { type DelegateTreeItem (line 28) | type DelegateTreeItem = { type DelegatorTreeItem (line 35) | type DelegatorTreeItem = { FILE: src/helpers/i18n.ts function getBrowserLocale (line 8) | function getBrowserLocale() { function setI18nLanguage (line 24) | function setI18nLanguage(i18n, locale) { function loadLocaleMessages (line 33) | async function loadLocaleMessages(i18n, locale) { FILE: src/helpers/interfaces.ts type Strategy (line 5) | interface Strategy { type StrategyExample (line 15) | interface StrategyExample { type StrategySchema (line 24) | interface StrategySchema { type StrategyDefinitionProperties (line 32) | interface StrategyDefinitionProperties { type StrategyDefinition (line 42) | interface StrategyDefinition { type Profile (line 52) | interface Profile { type ProfileActivity (line 61) | interface ProfileActivity { type TreasuryAsset (line 74) | interface TreasuryAsset { type TreasuryWallet (line 86) | interface TreasuryWallet { type ExploreSpace (line 92) | interface ExploreSpace { type Space (line 109) | interface Space { type RankedSpace (line 122) | interface RankedSpace { type ExtendedSpace (line 140) | interface ExtendedSpace { type DelegatesConfig (line 190) | interface DelegatesConfig { type SpaceValidation (line 196) | interface SpaceValidation { type SpaceStrategy (line 201) | interface SpaceStrategy { type ProposalSpace (line 207) | interface ProposalSpace { type Proposal (line 217) | interface Proposal { type VoteValidation (line 248) | interface VoteValidation { type Results (line 253) | interface Results { type Choice (line 259) | type Choice = number | number[] | Record; type Vote (line 261) | interface Vote { type VoteFilters (line 273) | interface VoteFilters { type ABI (line 280) | type ABI = string | Array; type PendingTransaction (line 282) | interface PendingTransaction { type SafeTransaction (line 289) | interface SafeTransaction { type RealityOracleProposal (line 297) | interface RealityOracleProposal { type UmaOracleProposal (line 314) | interface UmaOracleProposal { type SafeAsset (line 330) | interface SafeAsset { type CollectableAsset (line 336) | interface CollectableAsset extends SafeAsset { type TokenAsset (line 341) | interface TokenAsset extends SafeAsset { type CollectableAssetTransaction (line 349) | interface CollectableAssetTransaction extends SafeTransaction { type TokenAssetTransaction (line 355) | interface TokenAssetTransaction extends SafeTransaction { type CustomContractTransaction (line 362) | interface CustomContractTransaction extends SafeTransaction { type SafeModuleTransactionBatch (line 367) | interface SafeModuleTransactionBatch { type SafeExecutionData (line 372) | interface SafeExecutionData { type Plugin (line 379) | interface Plugin { type PluginIndex (line 389) | interface PluginIndex extends Plugin { type FormError (line 393) | interface FormError { type Delegate (line 398) | interface Delegate { type DelegateWithPercent (line 404) | interface DelegateWithPercent extends Delegate { type Statement (line 409) | interface Statement { type DelegatesVote (line 418) | type DelegatesVote = { type DelegatesProposal (line 425) | type DelegatesProposal = { FILE: src/helpers/pin.ts function pinGraph (line 6) | async function pinGraph(payload: any) { function pinPineapple (line 15) | async function pinPineapple(payload: any) { FILE: src/helpers/queries.ts constant VOTES_QUERY (line 3) | const VOTES_QUERY = gql` constant PROPOSAL_QUERY (line 40) | const PROPOSAL_QUERY = gql` constant PROPOSALS_QUERY (line 86) | const PROPOSALS_QUERY = gql` constant NOTIFICATION_PROPOSALS_QUERY (line 143) | const NOTIFICATION_PROPOSALS_QUERY = gql` constant FOLLOWS_QUERY (line 168) | const FOLLOWS_QUERY = gql` constant SUBSCRIPTIONS_QUERY (line 183) | const SUBSCRIPTIONS_QUERY = gql` constant ALIASES_QUERY (line 195) | const ALIASES_QUERY = gql` constant ENS_DOMAINS_BY_ACCOUNT_QUERY (line 206) | const ENS_DOMAINS_BY_ACCOUNT_QUERY = gql` constant ENS_DOMAIN_BY_HASH_QUERY (line 221) | const ENS_DOMAIN_BY_HASH_QUERY = gql` constant SPACE_SKIN_QUERY (line 232) | const SPACE_SKIN_QUERY = gql` constant SPACE_DELEGATE_QUERY (line 240) | const SPACE_DELEGATE_QUERY = gql` constant SKINS_COUNT_QUERY (line 255) | const SKINS_COUNT_QUERY = gql` constant NETWORKS_COUNT_QUERY (line 264) | const NETWORKS_COUNT_QUERY = gql` constant PLUGINS_COUNT_QUERY (line 273) | const PLUGINS_COUNT_QUERY = gql` constant VALIDATIONS_COUNT_QUERY (line 282) | const VALIDATIONS_COUNT_QUERY = gql` constant STRATEGIES_QUERY (line 291) | const STRATEGIES_QUERY = gql` constant EXTENDED_STRATEGY_QUERY (line 302) | const EXTENDED_STRATEGY_QUERY = gql` constant ACTIVITY_VOTES_QUERY (line 316) | const ACTIVITY_VOTES_QUERY = gql` constant PROFILES_QUERY (line 348) | const PROFILES_QUERY = gql` constant USER_VOTED_PROPOSAL_IDS_QUERY (line 360) | const USER_VOTED_PROPOSAL_IDS_QUERY = gql` constant SPACES_RANKING_QUERY (line 370) | const SPACES_RANKING_QUERY = gql` constant SPACES_QUERY (line 409) | const SPACES_QUERY = gql` constant STATEMENTS_QUERY (line 426) | const STATEMENTS_QUERY = gql` constant SPACE_QUERY (line 442) | const SPACE_QUERY = gql` constant LEADERBOARD_QUERY (line 541) | const LEADERBOARD_QUERY = gql` FILE: src/helpers/shutter.ts function encryptChoice (line 8) | async function encryptChoice( FILE: src/helpers/sign.ts type DataType (line 10) | type DataType = Record; type ISubscribe (line 12) | type ISubscribe = { function sign (line 16) | async function sign( FILE: src/helpers/snapshot.ts function getProposalVotes (line 8) | async function getProposalVotes( function getProposal (line 44) | async function getProposal(id) { function getPower (line 72) | async function getPower(space, address, proposal) { function voteValidation (line 88) | async function voteValidation( function proposalValidation (line 119) | async function proposalValidation( FILE: src/helpers/transaction.ts function sendApprovalTransaction (line 4) | function sendApprovalTransaction( FILE: src/helpers/utils.ts function shortenAddress (line 9) | function shortenAddress(str = '') { function shorten (line 13) | function shorten(str: string, key?: any): string { function getChoiceString (line 25) | function getChoiceString(proposal, selected) { function jsonParse (line 30) | function jsonParse(input, fallback?) { function lsSet (line 41) | function lsSet(key: string, value: any) { function lsGet (line 45) | function lsGet(key: string, fallback?: any) { function lsRemove (line 50) | function lsRemove(key: string) { function mapOldPluginNames (line 54) | function mapOldPluginNames(space) { function formatAmount (line 65) | function formatAmount(amount, maxDecimals) { function parseAmount (line 76) | function parseAmount(input) { function parseValueInput (line 80) | function parseValueInput(input) { function getNumberWithOrdinal (line 88) | function getNumberWithOrdinal(n) { function explorerUrl (line 94) | function explorerUrl(network, str: string, type = 'address'): string { function openProfile (line 98) | function openProfile(address: string, domain: string, router: any) { function calcFromSeconds (line 107) | function calcFromSeconds(value, unit) { function calcToSeconds (line 113) | function calcToSeconds(value, unit) { function getIpfsUrl (line 119) | function getIpfsUrl(url: string) { function clearStampCache (line 125) | async function clearStampCache(id: string, type = 'space') { function resolveHandle (line 133) | async function resolveHandle(handle: string) { function lookupAddress (line 150) | async function lookupAddress( function isSnapshotUrl (line 180) | function isSnapshotUrl(url: string) { function toChecksumAddress (line 196) | function toChecksumAddress(address: string) { function addressEqual (line 204) | function addressEqual(address1: string, address2: string) { FILE: src/helpers/validation.ts function getErrorMessage (line 5) | function getErrorMessage(errorObject): string { function validateForm (line 29) | function validateForm( type ValidationErrorOutput (line 44) | interface ValidationErrorOutput { function transformAjvErrors (line 47) | function transformAjvErrors(errors): ValidationErrorOutput { function extractPathFromError (line 77) | function extractPathFromError(error): string[] { function findOrCreateNestedObject (line 84) | function findOrCreateNestedObject( FILE: src/main.ts method setup (line 39) | setup() { FILE: src/plugins/gnosis/index.ts constant UNISWAP_V2_SUBGRAPH_URL (line 4) | const UNISWAP_V2_SUBGRAPH_URL = { constant OMEN_SUBGRAPH_URL (line 10) | const OMEN_SUBGRAPH_URL = { constant WETH_ADDRESS (line 16) | const WETH_ADDRESS = { constant OMEN_GQL_QUERY (line 22) | const OMEN_GQL_QUERY = { constant UNISWAP_V2_GQL_QUERY (line 37) | const UNISWAP_V2_GQL_QUERY = { class Plugin (line 489) | class Plugin { method getTokenInfo (line 496) | async getTokenInfo(web3: any, tokenAddress: string) { method getOmenCondition (line 510) | async getOmenCondition(network: string, conditionId: any) { method getUniswapPair (line 523) | async getUniswapPair(network: string, token0: any, token1: any) { FILE: src/plugins/oSnap/components/Input/FileInput/utils.ts function isFileOfType (line 1) | function isFileOfType(file: File, type: File['type']) { function getFilesFromEvent (line 5) | function getFilesFromEvent(event: DragEvent | Event) { FILE: src/plugins/oSnap/components/Input/MethodParameter/utils.ts function getTypes (line 5) | function getTypes(param: ParamType): MaybeNestedArrays { function extractTypes (line 22) | function extractTypes(param: ParamType) { function reduceInt (line 50) | function reduceInt(value: string) { function getParamPlaceholder (line 54) | function getParamPlaceholder(param: ParamType) { function getParamLabel (line 69) | function getParamLabel(param: ParamType) { function convertToStrings (line 85) | function convertToStrings(value: unknown) { function parseInputArray (line 93) | function parseInputArray( function preprocessInputToJson (line 109) | function preprocessInputToJson(input: string): string { FILE: src/plugins/oSnap/constants.ts constant EXPLORER_API_URLS (line 1100) | const EXPLORER_API_URLS = { constant GNOSIS_SAFE_TRANSACTION_API_URLS (line 1115) | const GNOSIS_SAFE_TRANSACTION_API_URLS = { constant SAFE_APP_URLS (line 1130) | const SAFE_APP_URLS = { constant OPTIMISTIC_GOVERNOR_ABI (line 1145) | const OPTIMISTIC_GOVERNOR_ABI = [ constant OPTIMISTIC_ORACLE_V3_ABI (line 1203) | const OPTIMISTIC_ORACLE_V3_ABI = [ constant VOTING_ABI (line 1238) | const VOTING_ABI = [ constant UMA_FINDER_ABI (line 1342) | const UMA_FINDER_ABI = [ constant ERC20_ABI (line 1353) | const ERC20_ABI = [ constant ERC721_ABI (line 1365) | const ERC721_ABI = [ type ContractData (line 1370) | type ContractData = { FILE: src/plugins/oSnap/types.ts type Networks (line 14) | type Networks = typeof networks; type Network (line 20) | type Network = keyof Networks; type SafeNetworkPrefixes (line 26) | type SafeNetworkPrefixes = typeof safePrefixes; type SafeNetworkPrefix (line 32) | type SafeNetworkPrefix = SafeNetworkPrefixes[keyof SafeNetworkPrefixes]; type TransactionTypes (line 42) | type TransactionTypes = typeof transactionTypes; type TransactionType (line 52) | type TransactionType = TransactionTypes[number]; type OptimisticGovernorTransaction (line 63) | type OptimisticGovernorTransaction = [ type Transaction (line 77) | type Transaction = type BaseTransaction (line 91) | type BaseTransaction = { type SafeImportTransaction (line 108) | type SafeImportTransaction = BaseTransaction & { type RawTransaction (line 118) | type RawTransaction = BaseTransaction & { type ContractInteractionTransaction (line 131) | type ContractInteractionTransaction = BaseTransaction & { type TransferNftTransaction (line 146) | type TransferNftTransaction = BaseTransaction & { type TransferFundsTransaction (line 161) | type TransferFundsTransaction = BaseTransaction & { type Asset (line 180) | type Asset = { type Token (line 196) | type Token = Asset & { type NFT (line 210) | type NFT = Asset & { type BalanceResponse (line 222) | type BalanceResponse = { type GnosisSafe (line 244) | type GnosisSafe = { type OsnapPluginData (line 261) | type OsnapPluginData = MultiSafe; type LegacyOsnapPluginData (line 263) | type LegacyOsnapPluginData = SingleSafe; type MultiSafe (line 265) | type MultiSafe = { type SingleSafe (line 269) | type SingleSafe = { type AssertionGql (line 284) | type AssertionGql = { type OGModuleDetails (line 303) | type OGModuleDetails = { type CollateralDetails (line 319) | type CollateralDetails = { type AssertionMadeEvent (line 341) | type AssertionMadeEvent = Event & { type TransactionsProposedEvent (line 369) | type TransactionsProposedEvent = Event & { type ProposalExecutedEvent (line 391) | type ProposalExecutedEvent = Event & { type AssertionTransactionDetails (line 403) | type AssertionTransactionDetails = { type OGProposalState (line 421) | type OGProposalState = type ResultUrl (line 437) | interface ResultUrl { type TenderlySimulationResult (line 442) | interface TenderlySimulationResult { type ErrorWithMessage (line 449) | type ErrorWithMessage = InstanceType & { function isErrorWithMessage (line 454) | function isErrorWithMessage(error: unknown): error is ErrorWithMessage { type Status (line 466) | type Status = keyof typeof Status; type SpaceConfigResponse (line 468) | type SpaceConfigResponse = type ProposedTransaction (line 480) | interface ProposedTransaction { type ContractInterface (line 496) | interface ContractInterface { type Batch (line 500) | interface Batch { type BatchFile (line 506) | interface BatchFile { type BatchFileMeta (line 514) | interface BatchFileMeta { type BatchTransaction (line 523) | interface BatchTransaction { type ContractMethod (line 531) | interface ContractMethod { type ContractInput (line 537) | interface ContractInput { type InputTypes (line 545) | type InputTypes = type Integer (line 553) | type Integer = `int${number}` | `uint${number}`; function isIntegerType (line 555) | function isIntegerType(type: InputTypes): type is Integer { function nonNullable (line 559) | function nonNullable(value: T): value is NonNullable { function isLegacySingleSafe (line 564) | function isLegacySingleSafe( FILE: src/plugins/oSnap/utils/abi.ts function isArrayParameter (line 17) | function isArrayParameter(parameter: string): boolean { function getContractABI (line 43) | async function getContractABI( function isWriteFunction (line 82) | function isWriteFunction(method: FunctionFragment) { function getABIWriteFunctions (line 90) | function getABIWriteFunctions(abi: string) { function extractMethodArgs (line 109) | function extractMethodArgs(values: string[]) { function encodeMethodAndParams (line 122) | function encodeMethodAndParams( function transformSafeMethodToFunctionFragment (line 132) | function transformSafeMethodToFunctionFragment( function initializeSafeImportTransaction (line 143) | function initializeSafeImportTransaction( function encodeSafeMethodAndParams (line 161) | function encodeSafeMethodAndParams( function getERC20TokenTransferTransactionData (line 186) | function getERC20TokenTransferTransactionData( function getERC721TokenTransferTransactionData (line 200) | function getERC721TokenTransferTransactionData( FILE: src/plugins/oSnap/utils/coins.ts constant ETHEREUM_COIN (line 3) | const ETHEREUM_COIN = { constant MATIC_COIN (line 12) | const MATIC_COIN = { constant EWC_COIN (line 21) | const EWC_COIN = { constant XDAI_COIN (line 30) | const XDAI_COIN = { constant BNB_COIN (line 38) | const BNB_COIN = { constant CORE_COIN (line 46) | const CORE_COIN = { constant OPTIMISM_COIN (line 55) | const OPTIMISM_COIN = { function getNativeAsset (line 64) | function getNativeAsset(network: Network) { function isNativeAsset (line 84) | function isNativeAsset(token: Token | undefined) { FILE: src/plugins/oSnap/utils/events.ts type RangeState (line 6) | type RangeState = { function rangeStart (line 23) | function rangeStart( function rangeSuccessDescending (line 78) | function rangeSuccessDescending(state: RangeState): RangeState { function rangeFailureDescending (line 110) | function rangeFailureDescending(state: RangeState): RangeState { function pageEvents (line 130) | async function pageEvents( function getPagedEvents (line 153) | async function getPagedEvents(params: { FILE: src/plugins/oSnap/utils/getters.ts function callGnosisSafeTransactionApi (line 49) | async function callGnosisSafeTransactionApi( type Result (line 82) | type Result = { function getDeployBlock (line 96) | function getDeployBlock(params: { network: Network; name: string }): num... class ConfigError (line 105) | class ConfigError extends Error { method constructor (line 106) | constructor(message: string, responsibleVar: string) { function logIfErrorMessage (line 112) | function logIfErrorMessage(e: unknown, overrideMessage: string) { function getContractSubgraph (line 119) | function getContractSubgraph(params: { network: Network; name: string }) { function getOptimisticGovernorSubgraph (line 142) | function getOptimisticGovernorSubgraph(network: Network): string { function getOracleV3Subgraph (line 149) | function getOracleV3Subgraph(network: Network): string { type Result (line 208) | type Result = { type Result (line 242) | type Result = { function makeConfigureOsnapUrl (line 279) | function makeConfigureOsnapUrl(params: { function getAssertionGql (line 314) | async function getAssertionGql(params: { function getOgProposalGql (line 348) | async function getOgProposalGql(params: { function getCollateralDetailsForProposal (line 388) | async function getCollateralDetailsForProposal( function getUserCollateralAllowance (line 414) | async function getUserCollateralAllowance( function getUserCollateralBalance (line 425) | async function getUserCollateralBalance( function getOGModuleDetails (line 437) | async function getOGModuleDetails(params: { function getOgProposalStateFromChain (line 479) | async function getOgProposalStateFromChain(params: { function getOGProposalStateGql (line 634) | async function getOGProposalStateGql(params: { function assertionIdIsNotZero (line 719) | function assertionIdIsNotZero(assertionId: string) { function getOGProposalState (line 728) | async function getOGProposalState(params: { function getProposalHashFromTransactions (line 761) | function getProposalHashFromTransactions( function getSafeNetworkPrefix (line 777) | function getSafeNetworkPrefix(network: Network): SafeNetworkPrefix { function getSafeAppLink (line 784) | function getSafeAppLink( function getOracleUiLink (line 799) | function getOracleUiLink( function fetchImplementationAddress (line 810) | async function fetchImplementationAddress( function isConfigCompliant (line 826) | async function isConfigCompliant(safeAddress: string, chainId: string) { function fetchBalances (line 837) | async function fetchBalances(network: Network, safeAddress: string) { function fetchTokens (line 863) | async function fetchTokens(url: string): Promise { function enhanceTokensWithBalances (line 873) | function enhanceTokensWithBalances( function enhanceTokenWithBalance (line 896) | function enhanceTokenWithBalance( function getVerifiedToken (line 913) | function getVerifiedToken(tokenAddress: string, tokens: Token[]) { function fetchCollectibles (line 919) | async function fetchCollectibles( FILE: src/plugins/oSnap/utils/safeImport.ts function parseGnosisSafeFile (line 5) | async function parseGnosisSafeFile( function isCreatedFromSafe (line 36) | function isCreatedFromSafe( FILE: src/plugins/oSnap/utils/tenderly.ts constant SIMULATION_ENDPOINT (line 13) | const SIMULATION_ENDPOINT = constant OSNAP_GAS_SUBSIDY (line 16) | const OSNAP_GAS_SUBSIDY = 500_000; function validatePayload (line 18) | function validatePayload(data: OsnapPluginData): void | never { function prepareTenderlySimulationPayload (line 37) | function prepareTenderlySimulationPayload(props: { function exceedsOsnapGasSubsidy (line 60) | function exceedsOsnapGasSubsidy(res: TenderlySimulationResult): boolean { FILE: src/plugins/oSnap/utils/transactions.ts function createFormattedOptimisticGovernorTransaction (line 24) | function createFormattedOptimisticGovernorTransaction({ function createRawTransaction (line 41) | function createRawTransaction(params: { function createTransferNftTransaction (line 61) | function createTransferNftTransaction(params: { function createTransferFundsTransaction (line 92) | function createTransferFundsTransaction(params: { function createContractInteractionTransaction (line 131) | function createContractInteractionTransaction(params: { function parseAmount (line 162) | function parseAmount(input: string) { function parseValueInput (line 166) | function parseValueInput(input: string) { function createSafeImportTransaction (line 173) | function createSafeImportTransaction( FILE: src/plugins/oSnap/utils/validators.ts function validateTransaction (line 55) | function validateTransaction(transaction: BaseTransaction) { function validateModuleAddress (line 69) | async function validateModuleAddress( function isTransferFundsValid (line 87) | function isTransferFundsValid(params: { function isTransferNftValid (line 105) | function isTransferNftValid(params: { function amountPositive (line 124) | function amountPositive(amount: string, decimals = 18) { function isBytesLikeSafe (line 134) | function isBytesLikeSafe(value: string): boolean { function allTransactionsValid (line 142) | function allTransactionsValid(transactions: Transaction[]): boolean { function isContractAddress (line 146) | async function isContractAddress( function isBool (line 160) | function isBool(value: string): boolean { function validateInput (line 167) | function validateInput(inputValue: string, type: InputTypes): boolean { type Integer (line 186) | type Integer = `int${number}` | `uint${number}`; function isValidInt (line 188) | function isValidInt(value: string, type: Integer) { type MaybeNestedArrays (line 224) | type MaybeNestedArrays = T | T[] | MaybeNestedArrays[]; function validateMaybeArray (line 226) | function validateMaybeArray( function validateSingleOrArray (line 259) | function validateSingleOrArray( FILE: src/plugins/poap/index.ts constant API_BASE_URL (line 4) | const API_BASE_URL = 'https://api.poap.tech'; constant APP_BASE_URL (line 5) | const APP_BASE_URL = 'https://app.poap.xyz'; class Plugin (line 7) | class Plugin { method openScanPage (line 15) | openScanPage(address) { method getCurrentState (line 18) | async getCurrentState(snapshot, address) { method claim (line 71) | async claim(snapshot, address) { FILE: src/plugins/progress/index.ts class Plugin (line 1) | class Plugin { FILE: src/plugins/projectGalaxy/index.ts class Plugin (line 1) | class Plugin { method constructor (line 4) | constructor(apiBaseUrl) { method fetchGQL (line 10) | async fetchGQL({ query, variables }) { method getOATImage (line 23) | async getOATImage(campaignId) { method claim (line 42) | async claim(address, campaignID) { method getCurrentState (line 67) | async getCurrentState(snapshot, address, campaign) { FILE: src/plugins/safeSnap/constants.ts constant EIP712_TYPES (line 3) | const EIP712_TYPES = { constant EIP3770_PREFIXES (line 13) | const EIP3770_PREFIXES = { constant EXPLORER_API_URLS (line 26) | const EXPLORER_API_URLS = { constant GNOSIS_SAFE_TRANSACTION_API_URLS (line 39) | const GNOSIS_SAFE_TRANSACTION_API_URLS = { constant REALITY_MODULE_ABI (line 54) | const REALITY_MODULE_ABI = [ constant ORACLE_ABI (line 74) | const ORACLE_ABI = [ constant UMA_MODULE_ABI (line 110) | const UMA_MODULE_ABI = [ constant UMA_ORACLE_ABI (line 168) | const UMA_ORACLE_ABI = [ constant UMA_VOTING_ABI (line 203) | const UMA_VOTING_ABI = [ constant UMA_FINDER_ABI (line 307) | const UMA_FINDER_ABI = [ constant ERC20_ABI (line 318) | const ERC20_ABI = [ constant ERC721_ABI (line 330) | const ERC721_ABI = [ constant MULTI_SEND_ABI (line 334) | const MULTI_SEND_ABI = [ constant MULTI_SEND_V1_3_0 (line 340) | const MULTI_SEND_V1_3_0 = { constant MULTI_SEND_V1_2_0 (line 372) | const MULTI_SEND_V1_2_0 = { constant MULTI_SEND_V1_1_1 (line 381) | const MULTI_SEND_V1_1_1 = { constant MULTI_SEND_VERSIONS (line 390) | const MULTI_SEND_VERSIONS: Record< type ContractData (line 400) | type ContractData = { FILE: src/plugins/safeSnap/index.ts class Plugin (line 50) | class Plugin { method validateTransaction (line 51) | validateTransaction(transaction: SafeTransaction) { method calcTransactionHash (line 63) | calcTransactionHash( method calcTransactionHashes (line 76) | calcTransactionHashes( method getExecutionDetailsWithHashes (line 94) | async getExecutionDetailsWithHashes( method getModuleDetailsReality (line 140) | async getModuleDetailsReality(network: string, moduleAddress: string) { method validateUmaModule (line 147) | async validateUmaModule(network: string, umaAddress: string) { method getExecutionDetailsUma (line 161) | async getExecutionDetailsUma( method approveBondUma (line 182) | async *approveBondUma( method getModuleDetailsUma (line 209) | async getModuleDetailsUma( method submitProposalWithHashes (line 240) | async *submitProposalWithHashes( method submitProposalUma (line 258) | async *submitProposalUma( method loadClaimBondData (line 278) | async loadClaimBondData( method claimBond (line 386) | async *claimBond( method executeProposalWithHashes (line 427) | async *executeProposalWithHashes( method executeProposalUma (line 455) | async *executeProposalUma( method voteForQuestion (line 472) | async *voteForQuestion( FILE: src/plugins/safeSnap/types/index.ts type Networks (line 3) | type Networks = typeof networks; type Network (line 5) | type Network = keyof Networks; FILE: src/plugins/safeSnap/utils/abi.ts function isArrayParameter (line 14) | function isArrayParameter(parameter: string): boolean { function parseMethodToABI (line 37) | function parseMethodToABI(method: FunctionFragment) { function getContractABI (line 41) | async function getContractABI( function isWriteFunction (line 75) | function isWriteFunction(method: FunctionFragment) { function getABIWriteFunctions (line 80) | function getABIWriteFunctions(abi: Fragment[]) { function extractMethodArgs (line 94) | function extractMethodArgs(values: string[]) { function getContractTransactionData (line 104) | function getContractTransactionData( function getAbiFirstFunctionName (line 114) | function getAbiFirstFunctionName(abi: ABI): string { function getERC20TokenTransferTransactionData (line 119) | function getERC20TokenTransferTransactionData( function getERC721TokenTransferTransactionData (line 130) | function getERC721TokenTransferTransactionData( FILE: src/plugins/safeSnap/utils/coins.ts constant ETHEREUM_COIN (line 4) | const ETHEREUM_COIN: TokenAsset = { constant MATIC_COIN (line 12) | const MATIC_COIN: TokenAsset = { constant EWC_COIN (line 20) | const EWC_COIN: TokenAsset = { constant XDAI_COIN (line 28) | const XDAI_COIN: TokenAsset = { constant BNB_COIN (line 36) | const BNB_COIN: TokenAsset = { constant CORE_COIN (line 44) | const CORE_COIN: TokenAsset = { function getNativeAsset (line 53) | function getNativeAsset(network: Network) { FILE: src/plugins/safeSnap/utils/decoder.ts class InterfaceDecoder (line 9) | class InterfaceDecoder extends Interface { method decodeFunction (line 10) | public decodeFunction( method getMethodFragment (line 34) | public getMethodFragment( method formatParameter (line 47) | private formatParameter(parameter, value, deep = 0): string { method formatArrayValue (line 54) | private formatArrayValue(paramType, value, deep = 0) { FILE: src/plugins/safeSnap/utils/events.ts type RangeState (line 4) | type RangeState = { function rangeStart (line 21) | function rangeStart( function rangeSuccessDescending (line 76) | function rangeSuccessDescending(state: RangeState): RangeState { function rangeFailureDescending (line 108) | function rangeFailureDescending(state: RangeState): RangeState { function pageEvents (line 128) | async function pageEvents( FILE: src/plugins/safeSnap/utils/index.ts function formatBatchTransaction (line 30) | function formatBatchTransaction( function createBatch (line 42) | function createBatch( function getBatchHash (line 61) | function getBatchHash( function getSafeHash (line 78) | function getSafeHash(safe: SafeExecutionData) { function validateSafeData (line 85) | function validateSafeData(safe: SafeExecutionData) { function isValidInput (line 95) | function isValidInput( function coerceConfig (line 101) | function coerceConfig(config, network) { function fetchTextSignatures (line 164) | async function fetchTextSignatures( FILE: src/plugins/safeSnap/utils/multiSend.ts type MULTI_SEND_VERSION (line 8) | enum MULTI_SEND_VERSION { function getMultiSend (line 14) | function getMultiSend( function encodeTransactions (line 21) | function encodeTransactions(transactions: SafeTransaction[]) { function createMultiSendTx (line 41) | function createMultiSendTx( FILE: src/plugins/safeSnap/utils/safe.ts function callGnosisSafeTransactionApi (line 5) | async function callGnosisSafeTransactionApi( FILE: src/plugins/safeSnap/utils/transactions.ts function rawToModuleTransaction (line 20) | function rawToModuleTransaction({ function sendAssetToModuleTransaction (line 40) | function sendAssetToModuleTransaction({ function transferFundsToModuleTransaction (line 63) | function transferFundsToModuleTransaction({ function contractInteractionToModuleTransaction (line 102) | function contractInteractionToModuleTransaction( function decodeContractTransaction (line 130) | async function decodeContractTransaction( function getMethodSignature (line 169) | function getMethodSignature(data: string) { function isERC20TransferTransaction (line 177) | function isERC20TransferTransaction(transaction: SafeTransaction) { function decodeERC721TransferTransaction (line 182) | function decodeERC721TransferTransaction(transaction: SafeTransaction) { function decodeTransactionData (line 191) | async function decodeTransactionData( function parseAmount (line 241) | function parseAmount(input: string) { function parseValueInput (line 245) | function parseValueInput(input: string) { FILE: src/plugins/safeSnap/utils/umaModule.ts function getDeployBlock (line 19) | function getDeployBlock(network: string, name: string): number { function getContractSubgraph (line 24) | function getContractSubgraph(search: { function getOptimisticGovernorSubgraph (line 43) | function getOptimisticGovernorSubgraph(network: string): string { function getOracleV3Subgraph (line 46) | function getOracleV3Subgraph(network: string): string { function updateCurrentUserBondInfo (line 141) | async function updateCurrentUserBondInfo() { FILE: src/router/index.ts method beforeRouteEnter (line 156) | beforeRouteEnter() { method scrollBehavior (line 179) | scrollBehavior(to, _from, savedPosition) {