Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Concordium/concordium-dapp-examples
/ functions
Functions
1,015 in github.com/Concordium/concordium-dapp-examples
⨍
Functions
1,015
◇
Types & classes
317
↓ 100 callers
Method
catch
(exception: unknown, host: ArgumentsHost)
allowListManagerFaucet/backend/src/common/filters/htttp-exception.filter.ts:7
↓ 83 callers
Method
get
Get a [`Database`] connection from the pool.
trackAndTrace/indexer/src/db.rs:324
↓ 49 callers
Method
create
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 callers
Function
requireValue
(value: string, label: string)
locks/frontend/src/components/App/utils.ts:9
↓ 17 callers
Function
mk_reply
Helper function to make the reply.
sponsoredTransactions/backend/src/handlers.rs:305
↓ 17 callers
Function
mk_reply
Helper function to make the reply.
gallery/verifier/src/handlers.rs:171
↓ 16 callers
Method
connect
()
compliant-reward-distribution/frontend/src/wallet-connection.tsx:132
↓ 14 callers
Method
as_ref
(&self)
compliant-reward-distribution/indexer-and-server/src/db.rs:254
↓ 11 callers
Method
from
(token_info: TokenInfo<T>, owner: &AccountAddress)
low-code-nft-marketplace/cis2-market/src/state.rs:22
↓ 11 callers
Method
get
Get a [`Database`] connection from the pool.
compliant-reward-distribution/indexer-and-server/src/db.rs:540
↓ 11 callers
Function
register
( connection: WalletConnection, grpcClient: ConcordiumGRPCClient, account: string, fileHashHex
eSealing/src/utils.ts:21
↓ 9 callers
Function
setField
(field: Field, value: TokenFormState[Field])
locks/frontend/src/components/App/token/TokenOperationForm.tsx:60
↓ 8 callers
Function
toCborAccount
(account: string)
locks/frontend/src/components/App/utils.ts:32
↓ 6 callers
Method
as_ref
(&self)
trackAndTrace/indexer/src/db.rs:175
↓ 6 callers
Function
sendBackendRequest
* 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 callers
Function
setField
(field: keyof LockSimpleState, value: string)
locks/frontend/src/components/App/lock/LockOperationForm.tsx:54
↓ 5 callers
Function
check_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 callers
Function
create
(grpcClient: SDK.ConcordiumGRPCClient)
trackAndTrace/frontend/generated/module.ts:29
↓ 5 callers
Method
disconnect
()
compliant-reward-distribution/frontend/src/wallet-connection.tsx:300
↓ 5 callers
Method
getInstance
* @description gets a singleton instance, allowing existing session to be restored.
compliant-reward-distribution/frontend/src/wallet-connection.tsx:92
↓ 5 callers
Function
getRecentBlock
(grpcClient: ConcordiumGRPCClient | undefined)
compliant-reward-distribution/frontend/src/utils.ts:21
↓ 5 callers
Function
handleCloseNavMenu
(href?: string)
low-code-nft-marketplace/market-ui/src/components/ui/Header.tsx:55
↓ 5 callers
Function
handleCloseNavMenu
(href?: string)
low-code-nft-marketplace/mint-ui/src/components/ui/Header.tsx:55
↓ 5 callers
Function
parseError
(error: unknown)
locks/frontend/src/components/App/utils.ts:7
↓ 5 callers
Method
requestVerifiablePresentation
( challenge: HexString, statement: CredentialStatements, )
compliant-reward-distribution/frontend/src/wallet-connection.tsx:138
↓ 5 callers
Function
requirePositiveAmount
(value: string)
locks/frontend/src/components/App/utils.ts:18
↓ 5 callers
Function
send
* Shared method for wrap and unwrap
wCCD/src/utils.ts:37
↓ 5 callers
Function
toIpfsGatewayUrl
(ipfsUrl?: string)
low-code-nft-marketplace/market-ui/src/utils.ts:3
↓ 5 callers
Function
useWallet
()
compliant-reward-distribution/frontend/src/context/WalletContext.tsx:26
↓ 5 callers
Method
waitForTransactionFinalization
( txHash: TransactionHash.Type, timeoutMs: number = 10000 )
DevnetSponsoredTx/backend/src/modules/concordium/concordium.service.ts:79
↓ 4 callers
Function
check_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 callers
Function
connect
(client, setConnectedAccount)
voting/src/Wallet.jsx:42
↓ 4 callers
Method
from
(client: Object)
compliant-reward-distribution/indexer-and-server/src/db.rs:248
↓ 4 callers
Method
getClient
()
allowListManagerFaucet/backend/src/modules/concordium/concordium.service.ts:34
↓ 4 callers
Function
initialize_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 callers
Function
requestSignature
( recentBlockHash: BlockHash.Type, schema: string, message: string | string[] | object, signer
compliant-reward-distribution/frontend/src/utils.ts:55
↓ 4 callers
Method
signMessage
( accountAddress: string, message: string | string[] | object, recentBlockHash: BlockH
compliant-reward-distribution/frontend/src/wallet-connection.tsx:107
↓ 4 callers
Function
toTokenId
(integer: number, contractInfo: conClient.Cis2ContractInfo)
low-code-nft-marketplace/common-ui/src/models/Cis2Client.ts:78
↓ 4 callers
Function
toTokenId
(tokenId: string)
locks/frontend/src/components/App/utils.ts:35
↓ 3 callers
Method
add
Add a new transition. Return if the transition was fresh.
trackAndTrace/smart-contract/src/lib.rs:212
↓ 3 callers
Function
checkUsageLimit
(receiver: string)
testnet-faucet/src/pages/index.tsx:71
↓ 3 callers
Function
connectProvider
(provider: WalletProvider)
compliant-reward-distribution/frontend/src/components/Admin/ConnectWalletAdmin.tsx:16
↓ 3 callers
Function
fetchAllBalances
(accountAddress: string, tokens: TokenConfig[])
allowListManagerFaucet/frontend/src/components/AllowListDApp.tsx:191
↓ 3 callers
Function
fetchJson
(metadataUrl: string)
low-code-nft-marketplace/common-ui/src/models/Utils.ts:1
↓ 3 callers
Function
fetchJsonString
(metadataUrl: string)
low-code-nft-marketplace/common-ui/src/models/Utils.ts:6
↓ 3 callers
Method
from
(client: Object)
trackAndTrace/indexer/src/db.rs:169
↓ 3 callers
Function
getTokenEligibility
(token: TokenConfig)
allowListManagerFaucet/frontend/src/components/AllowListDApp.tsx:143
↓ 3 callers
Function
getView
(client, contractIndex)
voting/src/Wallet.jsx:100
↓ 3 callers
Method
get_account_data
( &self, account_address: AccountAddress, )
compliant-reward-distribution/indexer-and-server/src/db.rs:404
↓ 3 callers
Method
get_settings
(&self)
compliant-reward-distribution/indexer-and-server/src/db.rs:393
↓ 3 callers
Method
get_tweet_data
( &self, account_address: AccountAddress, )
compliant-reward-distribution/indexer-and-server/src/db.rs:421
↓ 3 callers
Method
get_zk_proof_data_by_account
( &self, account_address: AccountAddress, )
compliant-reward-distribution/indexer-and-server/src/db.rs:455
↓ 3 callers
Function
initContract
( provider: WalletApi, contractInfo: ContractInfo, account: string, params?: SmartContractPara
low-code-nft-marketplace/common-ui/src/models/ConcordiumContractClient.ts:40
↓ 3 callers
Method
list_token
Adds a token to Buyable Token List.
low-code-nft-marketplace/cis2-market/src/state.rs:90
↓ 3 callers
Function
operationTitle
(operationType: string)
locks/frontend/src/components/App/utils.ts:52
↓ 3 callers
Function
optionalMemo
(memo: string)
locks/frontend/src/components/App/utils.ts:27
↓ 3 callers
Method
parseAccountAddress
(address: string)
allowListManagerFaucet/backend/src/modules/concordium/concordium.service.ts:51
↓ 3 callers
Method
remove
Remove a transition. Return if the transition was present.
trackAndTrace/smart-contract/src/lib.rs:230
↓ 3 callers
Function
resultFromTruthy
(value: T | undefined, msg: E)
signMessage/src/util.ts:3
↓ 3 callers
Function
setTokensState
(tokens: Record<string, TokenState>, isMinting: boolean, isMinted: boolean, error?: string)
low-code-nft-marketplace/market-ui/src/components/cis2/Cis2BatchMint.tsx:112
↓ 3 callers
Function
setTokensState
(tokens: Record<string, TokenState>, isMinting: boolean, isMinted: boolean, error?: string)
low-code-nft-marketplace/mint-ui/src/components/cis2/Cis2BatchMint.tsx:111
↓ 3 callers
Function
waitAndThrowError
(provider: WalletApi, txnHash: string)
low-code-nft-marketplace/common-ui/src/models/ConcordiumContractClient.ts:158
↓ 2 callers
Function
ageCheck
()
simpleAgeVerification/src/components/BeerStore.tsx:25
↓ 2 callers
Method
allowed
Check whether the entity is allowed.
trackAndTrace/sponsored-transaction-service/src/types.rs:360
↓ 2 callers
Function
calculate_amounts
Calculates the amounts (Commission, Royalty & Selling Price) to be distributed
low-code-nft-marketplace/cis2-market/src/lib.rs:333
↓ 2 callers
Function
change_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 callers
Method
check
Check if a transition is allowed.
trackAndTrace/smart-contract/src/lib.rs:185
↓ 2 callers
Function
checkConnectedToTestnet
(client)
voting/src/Wallet.jsx:49
↓ 2 callers
Function
checkOperator
()
low-code-nft-marketplace/market-ui/src/components/cis2/Cis2OperatorOf.tsx:15
↓ 2 callers
Function
checkOperator
()
low-code-nft-marketplace/mint-ui/src/components/cis2/Cis2OperatorOf.tsx:14
↓ 2 callers
Function
check_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 callers
Function
clearInputFields
()
sponsoredTransactions/frontend/src/SponsoredTransactions.tsx:266
↓ 2 callers
Function
commaList
(values: string[])
locks/frontend/src/components/App/utils.ts:50
↓ 2 callers
Function
connect
()
low-code-nft-marketplace/market-ui/src/App.tsx:53
↓ 2 callers
Function
connectProvider
(provider: WalletProvider)
compliant-reward-distribution/frontend/src/components/connect-wallet/ConnectWallet.tsx:23
↓ 2 callers
Function
createAddItemParameter
(parameter: AddItemParameter)
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:155
↓ 2 callers
Function
createAddItemParameterSchemaJson
* 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 callers
Function
createBalanceOfParameter
(parameter: BalanceOfParameter)
sponsoredTransactionsAuction/frontend/generated/cis2_multi_cis2_multi.ts:1857
↓ 2 callers
Function
createBalanceOfParameterSchemaJson
* 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 callers
Function
createBidParameter
(parameter: BidParameter)
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:386
↓ 2 callers
Function
createBidParameterSchemaJson
* 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 callers
Function
createChangeItemStatusParameter
(parameter: ChangeItemStatusParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:997
↓ 2 callers
Function
createChangeItemStatusParameterSchemaJson
* 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 callers
Function
createCis2MultiParameterSchemaJson
* 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 callers
Function
createCreateItemParameter
(parameter: CreateItemParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:787
↓ 2 callers
Function
createCreateItemParameterSchemaJson
* 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 callers
Function
createFinalizeParameter
(parameter: FinalizeParameter)
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction_sponsored_tx_enabled_auction.ts:584
↓ 2 callers
Function
createFinalizeParameterSchemaJson
* 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 callers
Function
createGetItemStateParameter
(parameter: GetItemStateParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:571
↓ 2 callers
Function
createGetItemStateParameterSchemaJson
* 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 callers
Function
createGetRolesParameter
(parameter: GetRolesParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:458
↓ 2 callers
Function
createGetRolesParameterSchemaJson
* 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 callers
Function
createGrantRoleParameter
(parameter: GrantRoleParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:1431
↓ 2 callers
Function
createGrantRoleParameterSchemaJson
* 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 callers
Function
createHasRoleParameter
(parameter: HasRoleParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:3057
↓ 2 callers
Function
createHasRoleParameterSchemaJson
* 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 callers
Function
createIsTransitionEdgeParameter
(parameter: IsTransitionEdgeParameter)
trackAndTrace/frontend/generated/module_track_and_trace.ts:3298
↓ 2 callers
Function
createIsTransitionEdgeParameterSchemaJson
* 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 callers
Function
createMintParameter
(parameter: MintParameter)
sponsoredTransactionsAuction/frontend/generated/cis2_multi_cis2_multi.ts:595
↓ 2 callers
Function
createMintParameterSchemaJson
* 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