MCPcopy Create free account

hub / github.com/Concordium/concordium-dapp-examples / functions

Functions1,015 in github.com/Concordium/concordium-dapp-examples

↓ 100 callersMethodcatch
(exception: unknown, host: ArgumentsHost)
allowListManagerFaucet/backend/src/common/filters/htttp-exception.filter.ts:7
↓ 83 callersMethodget
Get a [`Database`] connection from the pool.
trackAndTrace/indexer/src/db.rs:324
↓ 49 callersMethodcreate
Create a new [`DatabasePool`] from [`tokio_postgres::Config`] of size `pool_size`. If `try_create_tables` is true, database tables are created using `
trackAndTrace/indexer/src/db.rs:291
↓ 18 callersFunctionrequireValue
(value: string, label: string)
locks/frontend/src/components/App/utils.ts:9
↓ 17 callersFunctionmk_reply
Helper function to make the reply.
sponsoredTransactions/backend/src/handlers.rs:305
↓ 17 callersFunctionmk_reply
Helper function to make the reply.
gallery/verifier/src/handlers.rs:171
↓ 16 callersMethodconnect
()
compliant-reward-distribution/frontend/src/wallet-connection.tsx:132
↓ 14 callersMethodas_ref
(&self)
compliant-reward-distribution/indexer-and-server/src/db.rs:254
↓ 11 callersMethodfrom
(token_info: TokenInfo<T>, owner: &AccountAddress)
low-code-nft-marketplace/cis2-market/src/state.rs:22
↓ 11 callersMethodget
Get a [`Database`] connection from the pool.
compliant-reward-distribution/indexer-and-server/src/db.rs:540
↓ 11 callersFunctionregister
( connection: WalletConnection, grpcClient: ConcordiumGRPCClient, account: string, fileHashHex
eSealing/src/utils.ts:21
↓ 9 callersFunctionsetField
(field: Field, value: TokenFormState[Field])
locks/frontend/src/components/App/token/TokenOperationForm.tsx:60
↓ 8 callersFunctiontoCborAccount
(account: string)
locks/frontend/src/components/App/utils.ts:32
↓ 6 callersMethodas_ref
(&self)
trackAndTrace/indexer/src/db.rs:175
↓ 6 callersFunctionsendBackendRequest
* Sends a `GET`/`POST` request to the backend. * * @param endpoint - The API endpoint. * @param method - The HTTP method (`'POST'` or `'GET'`). *
compliant-reward-distribution/frontend/src/apiReqeuests.ts:114
↓ 6 callersFunctionsetField
(field: keyof LockSimpleState, value: string)
locks/frontend/src/components/App/lock/LockOperationForm.tsx:54
↓ 5 callersFunctioncheck_state
Invoke the several getter functions and check that the contract state is as expected. Exactly one item is expected to be in the state.
trackAndTrace/smart-contract/tests/tests.rs:386
↓ 5 callersFunctioncreate
(grpcClient: SDK.ConcordiumGRPCClient)
trackAndTrace/frontend/generated/module.ts:29
↓ 5 callersMethoddisconnect
()
compliant-reward-distribution/frontend/src/wallet-connection.tsx:300
↓ 5 callersMethodgetInstance
* @description gets a singleton instance, allowing existing session to be restored.
compliant-reward-distribution/frontend/src/wallet-connection.tsx:92
↓ 5 callersFunctiongetRecentBlock
(grpcClient: ConcordiumGRPCClient | undefined)
compliant-reward-distribution/frontend/src/utils.ts:21
↓ 5 callersFunctionhandleCloseNavMenu
(href?: string)
low-code-nft-marketplace/market-ui/src/components/ui/Header.tsx:55
↓ 5 callersFunctionhandleCloseNavMenu
(href?: string)
low-code-nft-marketplace/mint-ui/src/components/ui/Header.tsx:55
↓ 5 callersFunctionparseError
(error: unknown)
locks/frontend/src/components/App/utils.ts:7
↓ 5 callersMethodrequestVerifiablePresentation
( challenge: HexString, statement: CredentialStatements, )
compliant-reward-distribution/frontend/src/wallet-connection.tsx:138
↓ 5 callersFunctionrequirePositiveAmount
(value: string)
locks/frontend/src/components/App/utils.ts:18
↓ 5 callersFunctionsend
* Shared method for wrap and unwrap
wCCD/src/utils.ts:37
↓ 5 callersFunctiontoIpfsGatewayUrl
(ipfsUrl?: string)
low-code-nft-marketplace/market-ui/src/utils.ts:3
↓ 5 callersFunctionuseWallet
()
compliant-reward-distribution/frontend/src/context/WalletContext.tsx:26
↓ 5 callersMethodwaitForTransactionFinalization
( txHash: TransactionHash.Type, timeoutMs: number = 10000 )
DevnetSponsoredTx/backend/src/modules/concordium/concordium.service.ts:79
↓ 4 callersFunctioncheck_signature
Check that the signer account has signed the message by checking that: - the signature is valid. - the signature is not expired. - the signature was i
compliant-reward-distribution/indexer-and-server/src/bin/crd_server.rs:545
↓ 4 callersFunctionconnect
(client, setConnectedAccount)
voting/src/Wallet.jsx:42
↓ 4 callersMethodfrom
(client: Object)
compliant-reward-distribution/indexer-and-server/src/db.rs:248
↓ 4 callersMethodgetClient
()
allowListManagerFaucet/backend/src/modules/concordium/concordium.service.ts:34
↓ 4 callersFunctioninitialize_chain_and_contract
Setup chain and contract. Returns the chain, keys of the ADMIN and PRODUCER, and the contract address.
trackAndTrace/smart-contract/tests/tests.rs:463
↓ 4 callersFunctionrequestSignature
( recentBlockHash: BlockHash.Type, schema: string, message: string | string[] | object, signer
compliant-reward-distribution/frontend/src/utils.ts:55
↓ 4 callersMethodsignMessage
( accountAddress: string, message: string | string[] | object, recentBlockHash: BlockH
compliant-reward-distribution/frontend/src/wallet-connection.tsx:107
↓ 4 callersFunctiontoTokenId
(integer: number, contractInfo: conClient.Cis2ContractInfo)
low-code-nft-marketplace/common-ui/src/models/Cis2Client.ts:78
↓ 4 callersFunctiontoTokenId
(tokenId: string)
locks/frontend/src/components/App/utils.ts:35
↓ 3 callersMethodadd
Add a new transition. Return if the transition was fresh.
trackAndTrace/smart-contract/src/lib.rs:212
↓ 3 callersFunctioncheckUsageLimit
(receiver: string)
testnet-faucet/src/pages/index.tsx:71
↓ 3 callersFunctionconnectProvider
(provider: WalletProvider)
compliant-reward-distribution/frontend/src/components/Admin/ConnectWalletAdmin.tsx:16
↓ 3 callersFunctionfetchAllBalances
(accountAddress: string, tokens: TokenConfig[])
allowListManagerFaucet/frontend/src/components/AllowListDApp.tsx:191
↓ 3 callersFunctionfetchJson
(metadataUrl: string)
low-code-nft-marketplace/common-ui/src/models/Utils.ts:1
↓ 3 callersFunctionfetchJsonString
(metadataUrl: string)
low-code-nft-marketplace/common-ui/src/models/Utils.ts:6
↓ 3 callersMethodfrom
(client: Object)
trackAndTrace/indexer/src/db.rs:169
↓ 3 callersFunctiongetTokenEligibility
(token: TokenConfig)
allowListManagerFaucet/frontend/src/components/AllowListDApp.tsx:143
↓ 3 callersFunctiongetView
(client, contractIndex)
voting/src/Wallet.jsx:100
↓ 3 callersMethodget_account_data
( &self, account_address: AccountAddress, )
compliant-reward-distribution/indexer-and-server/src/db.rs:404
↓ 3 callersMethodget_settings
(&self)
compliant-reward-distribution/indexer-and-server/src/db.rs:393
↓ 3 callersMethodget_tweet_data
( &self, account_address: AccountAddress, )
compliant-reward-distribution/indexer-and-server/src/db.rs:421
↓ 3 callersMethodget_zk_proof_data_by_account
( &self, account_address: AccountAddress, )
compliant-reward-distribution/indexer-and-server/src/db.rs:455
↓ 3 callersFunctioninitContract
( provider: WalletApi, contractInfo: ContractInfo, account: string, params?: SmartContractPara
low-code-nft-marketplace/common-ui/src/models/ConcordiumContractClient.ts:40
↓ 3 callersMethodlist_token
Adds a token to Buyable Token List.
low-code-nft-marketplace/cis2-market/src/state.rs:90
↓ 3 callersFunctionoperationTitle
(operationType: string)
locks/frontend/src/components/App/utils.ts:52
↓ 3 callersFunctionoptionalMemo
(memo: string)
locks/frontend/src/components/App/utils.ts:27
↓ 3 callersMethodparseAccountAddress
(address: string)
allowListManagerFaucet/backend/src/modules/concordium/concordium.service.ts:51
↓ 3 callersMethodremove
Remove a transition. Return if the transition was present.
trackAndTrace/smart-contract/src/lib.rs:230
↓ 3 callersFunctionresultFromTruthy
(value: T | undefined, msg: E)
signMessage/src/util.ts:3
↓ 3 callersFunctionsetTokensState
(tokens: Record<string, TokenState>, isMinting: boolean, isMinted: boolean, error?: string)
low-code-nft-marketplace/market-ui/src/components/cis2/Cis2BatchMint.tsx:112
↓ 3 callersFunctionsetTokensState
(tokens: Record<string, TokenState>, isMinting: boolean, isMinted: boolean, error?: string)
low-code-nft-marketplace/mint-ui/src/components/cis2/Cis2BatchMint.tsx:111
↓ 3 callersFunctionwaitAndThrowError
(provider: WalletApi, txnHash: string)
low-code-nft-marketplace/common-ui/src/models/ConcordiumContractClient.ts:158
↓ 2 callersFunctionageCheck
()
simpleAgeVerification/src/components/BeerStore.tsx:25
↓ 2 callersMethodallowed
Check whether the entity is allowed.
trackAndTrace/sponsored-transaction-service/src/types.rs:360
↓ 2 callersFunctioncalculate_amounts
Calculates the amounts (Commission, Royalty & Selling Price) to be distributed
low-code-nft-marketplace/cis2-market/src/lib.rs:333
↓ 2 callersFunctionchange_item_status
Helper function to update the item's status based on the rules of the state.
trackAndTrace/smart-contract/src/lib.rs:491
↓ 2 callersMethodcheck
Check if a transition is allowed.
trackAndTrace/smart-contract/src/lib.rs:185
↓ 2 callersFunctioncheckConnectedToTestnet
(client)
voting/src/Wallet.jsx:49
↓ 2 callersFunctioncheckOperator
()
low-code-nft-marketplace/market-ui/src/components/cis2/Cis2OperatorOf.tsx:15
↓ 2 callersFunctioncheckOperator
()
low-code-nft-marketplace/mint-ui/src/components/cis2/Cis2OperatorOf.tsx:14
↓ 2 callersFunctioncheck_account_eligible
Check that the account is eligible for claiming the reward by checking that: - the account exists in the database. - the account creation has not expi
compliant-reward-distribution/indexer-and-server/src/bin/crd_server.rs:340
↓ 2 callersFunctionclearInputFields
()
sponsoredTransactions/frontend/src/SponsoredTransactions.tsx:266
↓ 2 callersFunctioncommaList
(values: string[])
locks/frontend/src/components/App/utils.ts:50
↓ 2 callersFunctionconnect
()
low-code-nft-marketplace/market-ui/src/App.tsx:53
↓ 2 callersFunctionconnectProvider
(provider: WalletProvider)
compliant-reward-distribution/frontend/src/components/connect-wallet/ConnectWallet.tsx:23
↓ 2 callersFunctioncreateAddItemParameter
(parameter: AddItemParameter)
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:155
↓ 2 callersFunctioncreateAddItemParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'addItem' entrypoint of the 'sponsored_tx_enabled_auction' contract. * @param {
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:131
↓ 2 callersFunctioncreateBalanceOfParameter
(parameter: BalanceOfParameter)
sponsoredTransactionsAuction/frontend/generated/cis2_multi_cis2_multi.ts:1857
↓ 2 callersFunctioncreateBalanceOfParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'balanceOf' entrypoint of the 'cis2_multi' contract. * @param {BalanceOfParamet
sponsoredTransactionsAuction/frontend/generated/cis2_multi_cis2_multi.ts:1827
↓ 2 callersFunctioncreateBidParameter
(parameter: BidParameter)
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:386
↓ 2 callersFunctioncreateBidParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'bid' entrypoint of the 'sponsored_tx_enabled_auction' contract. * @param {BidP
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:354
↓ 2 callersFunctioncreateChangeItemStatusParameter
(parameter: ChangeItemStatusParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:997
↓ 2 callersFunctioncreateChangeItemStatusParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'changeItemStatus' entrypoint of the 'track_and_trace' contract. * @param {Chan
trackAndTrace/frontend/generated/module_track_and_trace.ts:960
↓ 2 callersFunctioncreateCis2MultiParameterSchemaJson
* Construct schema JSON representation used in transactions for instantiating a new 'cis2_multi' smart contract instance. * @param {Cis2MultiParamete
sponsoredTransactionsAuction/frontend/generated/cis2_multi.ts:77
↓ 2 callersFunctioncreateCreateItemParameter
(parameter: CreateItemParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:787
↓ 2 callersFunctioncreateCreateItemParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'createItem' entrypoint of the 'track_and_trace' contract. * @param {CreateItem
trackAndTrace/frontend/generated/module_track_and_trace.ts:749
↓ 2 callersFunctioncreateFinalizeParameter
(parameter: FinalizeParameter)
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:584
↓ 2 callersFunctioncreateFinalizeParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'finalize' entrypoint of the 'sponsored_tx_enabled_auction' contract. * @param
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:575
↓ 2 callersFunctioncreateGetItemStateParameter
(parameter: GetItemStateParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:571
↓ 2 callersFunctioncreateGetItemStateParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'getItemState' entrypoint of the 'track_and_trace' contract. * @param {GetItemS
trackAndTrace/frontend/generated/module_track_and_trace.ts:562
↓ 2 callersFunctioncreateGetRolesParameter
(parameter: GetRolesParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:458
↓ 2 callersFunctioncreateGetRolesParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'getRoles' entrypoint of the 'track_and_trace' contract. * @param {GetRolesPara
trackAndTrace/frontend/generated/module_track_and_trace.ts:437
↓ 2 callersFunctioncreateGrantRoleParameter
(parameter: GrantRoleParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:1431
↓ 2 callersFunctioncreateGrantRoleParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'grantRole' entrypoint of the 'track_and_trace' contract. * @param {GrantRolePa
trackAndTrace/frontend/generated/module_track_and_trace.ts:1397
↓ 2 callersFunctioncreateHasRoleParameter
(parameter: HasRoleParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:3057
↓ 2 callersFunctioncreateHasRoleParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'hasRole' entrypoint of the 'track_and_trace' contract. * @param {HasRoleParame
trackAndTrace/frontend/generated/module_track_and_trace.ts:3023
↓ 2 callersFunctioncreateIsTransitionEdgeParameter
(parameter: IsTransitionEdgeParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:3298
↓ 2 callersFunctioncreateIsTransitionEdgeParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'isTransitionEdge' entrypoint of the 'track_and_trace' contract. * @param {IsTr
trackAndTrace/frontend/generated/module_track_and_trace.ts:3248
↓ 2 callersFunctioncreateMintParameter
(parameter: MintParameter)
sponsoredTransactionsAuction/frontend/generated/cis2_multi_cis2_multi.ts:595
↓ 2 callersFunctioncreateMintParameterSchemaJson
* Construct schema JSON representation used in update transaction for 'mint' entrypoint of the 'cis2_multi' contract. * @param {MintParameter} parame
sponsoredTransactionsAuction/frontend/generated/cis2_multi_cis2_multi.ts:550
next →1–100 of 1,015, ranked by callers