MCPcopy Create free account

hub / github.com/0xEigenLabs/eigen-secret / functions

Functions307 in github.com/0xEigenLabs/eigen-secret

↓ 85 callersMethodtoString
()
core/lib/transaction.ts:18
↓ 59 callersMethodserialize
(proofAndPublicSignals: any)
core/lib/prover.ts:225
↓ 42 callersFunctionerrResp
(errno: ErrCode, message: string)
core/lib/error.ts:9
↓ 32 callersFunctionsuccResp
(data: any, hasBigInt: boolean = false)
core/lib/error.ts:2
↓ 32 callersMethodtoCircuitInput
(babyJub: any)
core/lib/note.ts:44
↓ 29 callersMethodsend
* Creates proof for sending an asset from the sender to the receiver in L2. * @param {Context} ctx * @param {string} receiver The receiver a
core/lib/sdk.ts:752
↓ 23 callersFunctionsignEOASignature
( EOAAccount: any, rawMessage: string, ethAddress: string, timestamp: string )
core/lib/utils.ts:180
↓ 20 callersMethodupdate
(_key: bigint, _newValue: bigint, transaction:any)
core/lib/smt.ts:49
↓ 18 callersMethoddeserialize
(serialized: string)
core/lib/context.ts:24
↓ 17 callersMethoddeploy
()
test/rollup.helper.ts:140
↓ 16 callersMethodget
(key: any)
core/lib/state_tree.ts:88
↓ 16 callersMethodupdateStateTree
( ctx: Context, outputNc1: bigint, nullifier1: bigint, outputNc2: bigint,
core/lib/sdk.ts:221
↓ 14 callersMethodcheck
()
core/lib/context.ts:39
↓ 14 callersMethodinitSDKFromAccount
* Initializes the SDK from either an existing account or no account. * @param {Context} ctx * @param {string} serverAddr The address of the
core/lib/sdk.ts:159
↓ 12 callersMethodcurl
(resource: string, params: any)
core/lib/sdk.ts:70
↓ 12 callersMethodinit
()
core/lib/prover.ts:40
↓ 12 callersMethodinsert
(_key: bigint, _value: bigint, transaction: any)
core/lib/smt.ts:184
↓ 12 callersFunctionprepareJson
(data: any)
core/lib/utils.ts:200
↓ 11 callersMethodcommit
(ctx: Context)
core/lib/sdk.ts:268
↓ 11 callersMethodupdateState
(circuitPath: string, input: any)
core/lib/prover.ts:71
↓ 10 callersMethodfind
(_key: bigint, transaction: any)
core/lib/smt.ts:266
↓ 9 callersMethodcompress
(babyJub: any)
core/lib/note.ts:55
↓ 9 callersMethodcreateJoinSplitInput
( eddsa: any, accountKey: SigningKey, signingKey: SigningKey, acStateKey: bigi
core/lib/update_state.ts:175
↓ 7 callersFunctionpad
(_sib: any)
core/lib/state_tree.ts:12
↓ 7 callersFunctionsiblingsPad
(siblings: any, F: any, padding: boolean = true)
core/lib/state_tree.ts:4
↓ 7 callersMethodupdate
(i: number, proofAndPublicSignal: any)
test/rollup.helper.ts:189
↓ 7 callersMethodverify
()
aggregation/src/aggregation_prover.ts:112
↓ 6 callersFunctioncalcAliasHash
(eddsa: any, alias: string)
core/lib/digest.ts:4
↓ 6 callersMethodcreateAccountInput
( eddsa: any, proofId: number, accountKey: SigningKey, signingKey: SigningKey,
core/lib/update_state.ts:128
↓ 6 callersMethodcreateProofInput
( eddsa: any, proofId: number, accountKey: SigningKey, signingKey: SigningKey,
core/lib/account.ts:288
↓ 6 callersMethodencryptNote
()
core/lib/transaction.ts:61
↓ 6 callersMethodencryptTx
(sender: SigningKey, amount: bigint)
core/lib/transaction.ts:74
↓ 6 callersMethodexportVerificationKey
()
aggregation/src/aggregation_prover.ts:50
↓ 6 callersMethodgetAndDecryptNote
* Retrieve all current user's unspent notes. * @param {Context} ctx * @param {Array<NoteState>} noteState: Get current user's adopted notes
core/lib/sdk.ts:556
↓ 6 callersMethodgetTokenInfo
(token: string)
core/lib/sdk.ts:1105
↓ 6 callersFunctionindex
()
core/lib/utils.ts:10
↓ 6 callersMethodowner
(babyJub: any)
core/lib/note.ts:38
↓ 6 callersFunctionpathJoin
(parts: Array<string>, sep="/")
core/lib/utils.ts:216
↓ 5 callersMethod_splitBits
(_key: any)
core/lib/smt.ts:40
↓ 5 callersFunctiondeployPoseidons
( ethers: any, deployer: SignerWithAddress, poseidonSizeParams: number[] )
core/lib/deploy_poseidons.util.ts:18
↓ 5 callersMethodgetRegisteredToken
(id: number)
core/lib/sdk.ts:1151
↓ 5 callersFunctionhasValue
(variable: any)
core/lib/utils.ts:206
↓ 5 callersFunctionrawCompress
( npk: bigint[], spk: bigint[], aliasHash: bigint)
core/lib/account.ts:114
↓ 4 callersMethodaddNotes
(encryptedNotes: any)
core/lib/sdk.ts:254
↓ 4 callersMethodcalculateNullifier
(eddsa: any, nc: bigint, inputNoteInUse: bigint, nk: SigningKey)
core/lib/join_split.ts:367
↓ 4 callersMethodcalculateWTNSBin
(input, sanityCheck)
circuits/main_update_state_js/witness_calculator.js:208
↓ 4 callersMethoddecrypt
(_cipherData: string, key: any)
core/lib/note.ts:87
↓ 4 callersFunctiondecryptNotes
(accountKey: SigningKey, encryptedNotes: any, skipZeroNote: boolean = true)
core/lib/account.ts:390
↓ 4 callersMethodencrypt
(key: any)
core/lib/note.ts:72
↓ 4 callersMethodencrypt
(text: any)
core/lib/aes_gcm.ts:21
↓ 4 callersMethodformatValue
(_ctx: Context, value: string | bigint, decimals: number = 18)
core/lib/sdk.ts:1131
↓ 4 callersMethodgetAllBalance
* Obtain user balance. * @param {Context} ctx * @return {Promise<AppResp>} An `AppResp` object with `data` property of type 'Map' which cont
core/lib/sdk.ts:484
↓ 4 callersFunctionparseProof
(proof: any)
core/lib/utils.ts:154
↓ 4 callersMethodparseValue
(_ctx: Context, value: string, decimals: number = 18)
core/lib/sdk.ts:1127
↓ 4 callersFunctionposeidonSponge
( values: bigint[] )
core/lib/sponge_poseidon.ts:3
↓ 4 callersMethodroot
()
core/lib/state_tree.ts:163
↓ 4 callersMethodtoCircuitInput
(babyJub: any, proof: any)
core/lib/join_split.ts:40
↓ 4 callersFunctionuint8Array2Bigint
(x: Uint8Array)
core/lib/utils.ts:139
↓ 4 callersMethodupdate
()
docs/assets/main.js:4
↓ 3 callersFunctionG
(t,e)
docs/assets/main.js:3
↓ 3 callersFunctionK
(t)
docs/assets/main.js:3
↓ 3 callersMethod_doCalculateWitness
(input, sanityCheck)
circuits/main_update_state_js/witness_calculator.js:131
↓ 3 callersMethod_key2str
(k: any)
core/lib/state_tree.ts:65
↓ 3 callersMethod_normalize
(n: any, join: boolean = true)
core/lib/state_tree.ts:70
↓ 3 callersMethodapprove
(token: string, value: bigint)
core/lib/sdk.ts:1135
↓ 3 callersMethodcreateTx
(txData: string, proofAndPublicSignals: any, operation: string)
core/lib/sdk.ts:258
↓ 3 callersMethoddecrypt
(cipherData_: string)
core/lib/aes_gcm.ts:39
↓ 3 callersFunctiondeploySpongePoseidon
(ethers: any, poseidon6ContractAddress: string)
core/lib/deploy_poseidons.util.ts:5
↓ 3 callersMethodensureFocusedElementVisible
()
docs/assets/main.js:3
↓ 3 callersMethodfetchRemoteFile
(url: string)
core/lib/prover.ts:66
↓ 3 callersFunctionfromArray32
(arr)
circuits/main_update_state_js/witness_calculator.js:294
↓ 3 callersMethodmultiDel
(dels: any)
core/lib/state_tree.ts:126
↓ 3 callersMethodmultiIns
(inserts: any)
core/lib/state_tree.ts:111
↓ 3 callersMethodsetActive
(r)
docs/assets/main.js:3
↓ 3 callersMethodsetRoot
(rt: any)
core/lib/state_tree.ts:107
↓ 3 callersMethodsubmitProofs
(ctx: Context, proofs: any)
core/lib/sdk.ts:368
↓ 3 callersMethodtoNonMembershipUpdateInput
(tree: any)
core/lib/state_tree.ts:32
↓ 3 callersMethodverifyState
(circuitPath: string, proofAndPublicSignals: any)
core/lib/prover.ts:79
↓ 3 callersMethodwithdraw
(i: number, receiverI: number, txInfo: any, proofAndPublicSignal: any)
test/rollup.helper.ts:207
↓ 2 callersMethodapproveToken
* register testToken to rollup contract * @param {string} token
core/lib/sdk.ts:1098
↓ 2 callersFunctionbitArray2Buffer
(a: Array<number>)
core/lib/utils.ts:39
↓ 2 callersMethodcalculateSignature
( accountKey: SigningKey, nf1: bigint, nf2: bigint, outputNc1: bigint, outputNc2: bigi
core/lib/join_split.ts:350
↓ 2 callersFunctioncreateAccountForUser
(user:any, alias:string, password:any)
tasks/account.ts:16
↓ 2 callersMethodcurlEx
(serverAddr: string, resource: string, params: any)
core/lib/sdk.ts:74
↓ 2 callersMethoddecryptTx
(content: String, sender: SigningKey)
core/lib/transaction.ts:90
↓ 2 callersMethoddeposit
(index: number, assetId: number, value: bigint, nonce: number, keysFound: bigint[], valuesFound: bigint[], sib
test/rollup.helper.ts:169
↓ 2 callersMethodfetchTransaction
(ctx: Context, options: any)
core/lib/sdk.ts:288
↓ 2 callersFunctiongetAccountInternal
(alias: string, ethAddress: string)
server/lib/account.ts:59
↓ 2 callersMethodgetAssetInfo
* Fetch registered token list from server * @param {Context} ctx * @param {Object} assetInfo * @return {Map<string, Map>} token symbol
core/lib/sdk.ts:426
↓ 2 callersFunctiongetBalanceForUser
(ethers: any, user: any, alias: string, password: string, assetId: number, expectedL2Balance: string)
tasks/transaction.ts:121
↓ 2 callersMethodgetInstance
()
server/lib/state_tree.ts:13
↓ 2 callersMethodgetKey
(salt: Buffer)
core/lib/aes_gcm.ts:16
↓ 2 callersFunctiongetMessage
()
circuits/main_update_state_js/witness_calculator.js:81
↓ 2 callersFunctiongetTokenInfoByAddress
(contractAddress: any)
server/lib/asset.ts:36
↓ 2 callersFunctionle
(t,e)
docs/assets/main.js:3
↓ 2 callersMethodregisterToken
* register testToken to rollup contract * @param {string} token
core/lib/sdk.ts:1090
↓ 2 callersFunctionrunDepositTask
(alias: string, assetId: number, password: string, value: any, user:any)
tasks/transaction.ts:14
↓ 2 callersFunctionrunSendTask
(alias: string, assetId: number, password: string, value: any, user:any, receiver:any, receiverAlias: string)
tasks/transaction.ts:57
↓ 2 callersFunctionrunWithdrawTask
(alias: string, assetId: number, password: string, value: any, user:any)
tasks/transaction.ts:90
↓ 2 callersMethodsetLocalStorage
(r)
docs/assets/main.js:4
next →1–100 of 307, ranked by callers