MCPcopy Create free account

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

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

↓ 1 callersFunctionadd
( ctx: &impl HasReceiveContext, host: &mut impl HasHost<ContractState<S>, StateApiType = S>, )
low-code-nft-marketplace/cis2-market/src/lib.rs:67
↓ 1 callersFunctionadd
( provider: WalletApi, account: string, marketContractAddress: ContractAddress, paramJson: Add
low-code-nft-marketplace/common-ui/src/models/MarketplaceClient.ts:64
↓ 1 callersFunctionaddItem
( connection: WalletConnection, accountAddress: AccountAddress.Type, addItemParameter: AuctionCont
sponsoredTransactionsAuction/frontend/src/auction_contract.tsx:27
↓ 1 callersFunctionaddOperation
(operation)
locks/frontend/src/components/App/hooks/useLocksApp.ts:92
↓ 1 callersFunctionaddOption
(options, setOptions, newOption, setOptionInput)
voting/src/CreateElectionPage.jsx:12
↓ 1 callersFunctionaddRole
( connection: WalletConnection, accountAddress: AccountAddress.Type, grantRoleParameter: TrackAndT
trackAndTrace/frontend/src/track_and_trace_contract.tsx:200
↓ 1 callersFunctionaddToCollections
(collectionid, tokenid)
nft-minting/file-server/server.js:33
↓ 1 callersFunctionaddWCCDToWallet
( _accountAddress: string, connection: BrowserWalletConnector, tokenIds: string[], contractAdd
wCCD/src/wCCD.tsx:143
↓ 1 callersMethodas_frontend_config
Creates the JSON object required by the frontend.
trackAndTrace/indexer/src/bin/server.rs:165
↓ 1 callersFunctionauthorize
(verifier: string, presentation: VerifiablePresentation)
gallery/src/util.ts:46
↓ 1 callersFunctionblankLockCreateState
(account?: string | null)
locks/frontend/src/components/App/constants.ts:38
↓ 1 callersFunctionbootstrap
()
DevnetSponsoredTx/backend/src/main.ts:4
↓ 1 callersFunctionbootstrap
()
allowListManagerFaucet/backend/src/main.ts:7
↓ 1 callersFunctionbuildCredentialStatements
(proof: ProofConfig)
allowListManagerFaucet/frontend/src/components/AllowListDApp.tsx:88
↓ 1 callersFunctioncamelCaseToCapitalizeWords
(word: string)
rbac/frontend/src/components/App/App.tsx:18
↓ 1 callersFunctioncastVote
(client, contractIndex, vote, senderAddress)
voting/src/Wallet.jsx:131
↓ 1 callersFunctioncheckBalance
()
low-code-nft-marketplace/market-ui/src/components/cis2/Cis2BalanceOf.tsx:18
↓ 1 callersFunctioncheckBalance
()
low-code-nft-marketplace/mint-ui/src/components/cis2/Cis2BalanceOf.tsx:17
↓ 1 callersFunctioncheck_proof_worker
A common function that validates the cryptographic proofs in the request.
gallery/verifier/src/handlers.rs:204
↓ 1 callersMethodcheck_rate_limit
Check the rate limit for the account. It also updates the counter for the account. Since account addresses have aliases, we track the rate-limit by u
trackAndTrace/sponsored-transaction-service/src/types.rs:275
↓ 1 callersFunctioncheck_tweet_url_format
(url: &str)
compliant-reward-distribution/indexer-and-server/src/bin/crd_server.rs:49
↓ 1 callersFunctioncheck_zk_proof
Check that the zk proof is valid by checking that: - the cryptographic proofs are valid. - exactly one credential statement is present in the proof (n
compliant-reward-distribution/indexer-and-server/src/bin/crd_server.rs:375
↓ 1 callersFunctionconnect
()
signatureProof/client/src/App.jsx:16
↓ 1 callersFunctionconnect
(client: SignClient, setConnectedSession: (session: SessionTypes.Struct) => void)
signMessage/src/components/WalletConnect2.tsx:7
↓ 1 callersFunctionconnect
(client: WalletApi, setConnectedAccount: (a: string | undefined) => void)
signMessage/src/components/BrowserWallet.tsx:10
↓ 1 callersFunctionconnectorTypeStyle
(baseStyle: object, isSelected: boolean, isConnected: boolean)
eSealing/src/WalletConnectorTypeButton.tsx:11
↓ 1 callersFunctionconnectorTypeStyle
(baseStyle: any, isSelected: boolean, isConnected: boolean)
sponsoredTransactions/frontend/src/WalletConnectorTypeButton.tsx:14
↓ 1 callersFunctionconnectorTypeStyle
(baseStyle: object, isSelected: boolean, isConnected: boolean)
wCCD/src/WalletConnectorTypeButton.tsx:11
↓ 1 callersFunctioncontract_view_message_hash
( ctx: &ReceiveContext, _host: &mut Host<State>, crypto_primitives: &impl HasCryptoPrimitives, )
trackAndTrace/smart-contract/src/lib.rs:835
↓ 1 callersFunctioncreate
(grpcClient: SDK.ConcordiumGRPCClient)
sponsoredTransactionsAuction/frontend/generated/cis2_multi.ts:29
↓ 1 callersFunctioncreateAccountTransaction
( client: ConcordiumGRPCNodeClient, sender: string, receiver: string, )
testnet-faucet/src/lib/createAccountTrasantion.ts:12
↓ 1 callersFunctioncreateCis2MultiParameter
(parameter: Cis2MultiParameter)
sponsoredTransactionsAuction/frontend/generated/cis2_multi.ts:87
↓ 1 callersFunctioncreateCollection
(address: string)
nft-minting/src/utils.ts:27
↓ 1 callersFunctioncreateElection
( client, contractName, description, options, deadlineMinutesInput, moduleRef, sen
voting/src/Wallet.jsx:62
↓ 1 callersFunctioncreateGRPCNodeClient
()
testnet-faucet/src/lib/createGPRCClient.ts:3
↓ 1 callersFunctioncreateItem
( connection: WalletConnection, accountAddress: AccountAddress.Type, createItemParameter: TrackAnd
trackAndTrace/frontend/src/track_and_trace_contract.tsx:31
↓ 1 callersFunctioncreateRequestOptions
* Generates `POST` and `GET` request options. * * @param method - The HTTP method (`'POST'` or `'GET'`). * @param body - Optional request body (req
compliant-reward-distribution/frontend/src/apiReqeuests.ts:83
↓ 1 callersFunctioncreateSponsoredTxEnabledAuctionParameter
(parameter: SponsoredTxEnabledAuctionParameter)
sponsoredTransactionsAuction/frontend/generated/sponsored_tx_enabled_auction.ts:87
↓ 1 callersFunctioncreateTrackAndTraceParameter
(parameter: TrackAndTraceParameter)
trackAndTrace/frontend/generated/module.ts:141
↓ 1 callersFunctioncreate_frontend_config
Creates the JSON object required by the frontend.
compliant-reward-distribution/indexer-and-server/src/bin/crd_server.rs:126
↓ 1 callersMethoddecodeCborError
(details: any)
allowListManagerFaucet/backend/src/modules/concordium/concordium.service.ts:78
↓ 1 callersFunctiondecodeStrings
(buffer, offset)
voting/src/buffer.js:13
↓ 1 callersFunctiondecodeVotes
(votesResult)
voting/src/buffer.js:39
↓ 1 callersMethoddecrease_listed_quantity
(&mut self, token_info: &TokenOwnerInfo<T>, delta: A)
low-code-nft-marketplace/cis2-market/src/state.rs:119
↓ 1 callersFunctiondisconnect
(client: SignClient, session: SessionTypes.Struct, clearConnectedSession: () => void)
signMessage/src/components/WalletConnect2.tsx:36
↓ 1 callersFunctiondistribute_amounts
Distributes Selling Price, Royalty & Commission amounts.
low-code-nft-marketplace/cis2-market/src/lib.rs:294
↓ 1 callersMethodempty
()
trackAndTrace/common/src/lib.rs:29
↓ 1 callersMethodenrichTokensWithIcons
()
allowListManagerFaucet/backend/src/modules/token-distribution/token-distribution.service.ts:69
↓ 1 callersFunctionensure_balance
Calls the [balanceOf](https://proposals.concordium.software/CIS/cis-2.html#balanceof) function of the CIS2 contract. Returns error if the returned bal
low-code-nft-marketplace/cis2-market/src/lib.rs:271
↓ 1 callersFunctionensure_is_operator
Calls the [operatorOf](https://proposals.concordium.software/CIS/cis-2.html#operatorof) function of CIS contract. Returns error if Current Contract Ad
low-code-nft-marketplace/cis2-market/src/lib.rs:253
↓ 1 callersFunctionensure_supports_cis2
Calls the [supports](https://proposals.concordium.software/CIS/cis-0.html#supports) function of CIS2 contract. Returns error If the contract does not
low-code-nft-marketplace/cis2-market/src/lib.rs:231
↓ 1 callersMethodexecuteCombinedTokenOperation
* Executes combined token operations in a single atomic transaction: * 1. Adds user to allowlist * 2. Mints new tokens * 3. Transfers t
allowListManagerFaucet/backend/src/modules/token-distribution/token-distribution.service.ts:218
↓ 1 callersMethodexecuteTokenDistribution
(processId: string, dto: AddToAllowListDto, tokenConfig: TokenConfig)
allowListManagerFaucet/backend/src/modules/token-distribution/token-distribution.service.ts:181
↓ 1 callersFunctionextractITweetdFromUrl
(url: string)
testnet-faucet/src/lib/utils.ts:3
↓ 1 callersFunctionfetchCollections
()
nft-minting/src/Minting.tsx:149
↓ 1 callersFunctionfetchContracts
()
allowListManagerFaucet/frontend/src/services/credential-provider-services.tsx:40
↓ 1 callersFunctionfetchStatement
()
compliant-reward-distribution/frontend/src/components/proof/Proof.tsx:42
↓ 1 callersFunctionfetchTransactions
()
testnet-faucet/src/pages/index.tsx:190
↓ 1 callersFunctionformatTimestamp
(timestamp: number)
testnet-faucet/src/lib/utils.ts:13
↓ 1 callersFunctiongenerateMessage
( newStatus: 'Produced' | 'InTransit' | 'InStore' | 'Sold' | undefined, itemID: number | bigint, e
trackAndTrace/frontend/src/components/ChangeItemStatus.tsx:31
↓ 1 callersFunctiongenerateTransferPayload
* This function generates the transfer message to be signed in the browser wallet.
sponsoredTransactionsAuction/frontend/src/components/Bid.tsx:24
↓ 1 callersFunctiongenerateTransferPayload
(nonce: string, tokenID: string, from: string, to: string)
sponsoredTransactions/frontend/src/SponsoredTransactions.tsx:86
↓ 1 callersFunctiongenerateUpdateOperatorPayload
(nonce: string, operator: string, addOperator: boolean)
sponsoredTransactions/frontend/src/SponsoredTransactions.tsx:148
↓ 1 callersFunctiongetAccountData
( signer: string, accountAddress: string, signature: string, recentBlockHeight: bigint, )
compliant-reward-distribution/frontend/src/apiReqeuests.ts:223
↓ 1 callersFunctiongetButtonState
()
allowListManagerFaucet/frontend/src/components/AllowListDApp.tsx:448
↓ 1 callersFunctiongetChallenge
(verifier: string, accountAddress: string)
gallery/src/util.ts:15
↓ 1 callersMethodgetClient
()
DevnetSponsoredTx/backend/src/modules/concordium/concordium.service.ts:61
↓ 1 callersFunctiongetConfig
()
compliant-reward-distribution/frontend/vite.config.ts:35
↓ 1 callersFunctiongetConfig
()
trackAndTrace/frontend/vite.config.ts:36
↓ 1 callersMethodgetConnectedGenesisHash
()
compliant-reward-distribution/frontend/src/wallet-connection.tsx:85
↓ 1 callersFunctiongetExecutionEnergy
(client: ConcordiumGRPCClient, invokeInput: ContractContext)
wCCD/src/utils.ts:19
↓ 1 callersFunctiongetItemCreatedEvent
* This function gets the historical ItemCreatedEvent for a given itemID. * * @param itemID - The itemID. * @throws If the server responds with an e
trackAndTrace/frontend/src/components/Explorer.tsx:59
↓ 1 callersFunctiongetItemStatusChangedEvents
* This function gets the historical ItemStatusChangedEvents for a given itemID. * * @param itemID - The itemID. * @throws If the server responds wi
trackAndTrace/frontend/src/components/Explorer.tsx:29
↓ 1 callersFunctiongetLatestTransactions
(limit: number)
testnet-faucet/src/lib/getLatestTransactions.ts:1
↓ 1 callersFunctiongetNames
(verifier: string)
gallery/src/util.ts:6
↓ 1 callersFunctiongetPendingApprovals
( signer: string, signature: string, recentBlockHeight: bigint, limit: number, offset: num
compliant-reward-distribution/frontend/src/apiReqeuests.ts:191
↓ 1 callersMethodgetProcessStatus
(@Param('processId') processId: string)
allowListManagerFaucet/backend/src/modules/token-distribution/token-distribution.controller.ts:55
↓ 1 callersFunctiongetSenderAccountSigner
()
testnet-faucet/src/lib/getSenderAccountSigner.ts:3
↓ 1 callersMethodgetSponsorAccount
()
DevnetSponsoredTx/backend/src/modules/concordium/concordium.service.ts:72
↓ 1 callersMethodgetSponsorSigner
()
DevnetSponsoredTx/backend/src/modules/concordium/concordium.service.ts:65
↓ 1 callersFunctiongetStatement
()
compliant-reward-distribution/frontend/src/apiReqeuests.ts:249
↓ 1 callersFunctiongetStatement
(verifier: string)
gallery/src/util.ts:24
↓ 1 callersMethodgetTokenBalance
* Gets token balance for a user. * Returns null when the account has no entry for this token (never held it) — the caller * can use this to
allowListManagerFaucet/backend/src/modules/token-distribution/token-distribution.service.ts:368
↓ 1 callersFunctiongetTokenInfo
(tokenId?: string)
rbac/frontend/src/components/App/App.tsx:240
↓ 1 callersFunctiongetTokenUrl
(id: string, index: bigint, subindex = 0n)
nft-minting/src/Minting.tsx:25
↓ 1 callersFunctiongetVotes
(client, contractIndex, options)
voting/src/Wallet.jsx:107
↓ 1 callersFunctionget_challenge_worker
A common function that produces a challenge and adds it to the state.
gallery/verifier/src/handlers.rs:180
↓ 1 callersFunctionget_info_worker
A common function that checks a challenge has been proven.
gallery/verifier/src/handlers.rs:151
↓ 1 callersMethodget_item_and_transitions
Get the item and the possible state transitions for that item in its current state.
trackAndTrace/smart-contract/src/lib.rs:247
↓ 1 callersMethodget_item_created_event_submission
( &self, item_id: u64, )
trackAndTrace/indexer/src/db.rs:258
↓ 1 callersMethodget_item_status_changed_events_submissions
( &self, item_id: u64, limit: u32, offset: u32, )
trackAndTrace/indexer/src/db.rs:222
↓ 1 callersMethodget_pending_approvals
( &self, limit: u32, offset: u32, )
compliant-reward-distribution/indexer-and-server/src/db.rs:471
↓ 1 callersMethodget_settings
Get the settings recorded in the database.
trackAndTrace/indexer/src/db.rs:205
↓ 1 callersMethodget_zk_proof_data_by_unquiness_hash
( &self, uniqueness_hash: &[u8], )
compliant-reward-distribution/indexer-and-server/src/db.rs:437
↓ 1 callersFunctiongoBack
()
low-code-nft-marketplace/market-ui/src/pages/MintPage.tsx:161
↓ 1 callersFunctiongoBack
()
low-code-nft-marketplace/mint-ui/src/pages/MintPage.tsx:166
↓ 1 callersFunctionhandleChange
(index: number)
euroe-demo/src/components/BeerStore.tsx:289
↓ 1 callersFunctionhandleQuantityChanged
(value: bigint)
low-code-nft-marketplace/market-ui/src/components/MarketplaceTransferDialog.tsx:112
↓ 1 callersFunctionhandleVerify
()
compliant-reward-distribution/frontend/src/components/proof/Proof.tsx:50
↓ 1 callersFunctionhandle_clean_state
(state: Server)
gallery/verifier/src/handlers.rs:332
← previousnext →201–300 of 1,015, ranked by callers