MCPcopy Create free account

hub / github.com/dexe-network/DeXe-Protocol / functions

Functions134 in github.com/dexe-network/DeXe-Protocol

↓ 2,087 callersFunctionwei
(value, decimal = 18)
scripts/utils/utils.js:5
↓ 350 callersFunctiontoBN
(value)
scripts/utils/utils.js:3
↓ 175 callersFunctionsetTime
(time)
test/helpers/block-helper.js:5
↓ 115 callersFunctiongetBytesGovVote
(proposalId, voteAmount, voteNftIds, isVoteFor = true)
test/utils/gov-pool-utils.js:808
↓ 106 callersFunctiontoPercent
(value)
test/utils/utils.js:3
↓ 98 callersFunctiongetBytesApprove
(address, amount)
test/utils/gov-pool-utils.js:5
↓ 89 callersFunctionaccounts
(index)
scripts/utils/utils.js:13
↓ 79 callersFunctiongetCurrentBlockTime
()
test/helpers/block-helper.js:10
↓ 45 callersFunctioncreateInternalProposal
(proposalType, description, amounts, users, from)
test/gov/GovValidators.test.js:36
↓ 35 callersFunctioncreateTiers
(tiers)
test/gov/proposals/TokenSaleProposal.test.js:386
↓ 30 callersFunctionchangeInternalSettings
(validatorsVote, minVotingPower)
test/gov/GovPool.test.js:599
↓ 25 callersFunctionimpersonate
(address)
test/helpers/impersonator.js:1
↓ 25 callersFunctionuserViewsToObjects
(userViews)
test/gov/proposals/TokenSaleProposal.test.js:382
↓ 24 callersFunctionacceptProposal
(actionsFor, actionsAgainst = [])
test/gov/proposals/TokenSaleProposal.test.js:311
↓ 24 callersFunctionexecuteValidatorProposal
(actionsFor, actionsAgainst = [], isVoteFor = true)
test/gov/GovPool.test.js:590
↓ 21 callersFunctiongetBytesAddSettings
(settings)
test/utils/gov-pool-utils.js:205
↓ 21 callersFunctionsetPoolInfo
(token0, reserve0, token1, reserve1, fee)
test/core/PriceFeed.test.js:467
↓ 20 callersFunctiongetGovPoolSaleConfiguredParams
()
test/factory/PoolFactory.test.js:254
↓ 19 callersFunctiondelegateTreasury
(delegatee, amount, nftIds, value = 0)
test/gov/GovPool.test.js:512
↓ 17 callersFunctiongetBytesEditSettings
(ids, settings)
test/utils/gov-pool-utils.js:289
↓ 16 callersFunctiongetBytesGovDeposit
(amount, nftIds)
test/utils/gov-pool-utils.js:842
↓ 16 callersFunctiongetInternalProposalByIndex
(index)
test/gov/GovValidators.test.js:34
↓ 14 callersFunctiongetBytesDistributionProposal
(proposalId, token, amount)
test/utils/gov-pool-utils.js:116
↓ 14 callersFunctiongetProposalByIndex
(index)
test/gov/GovPool.test.js:149
↓ 14 callersFunctionswitchWeth
(poolOffset, newWethAddress)
test/gov/GovPool.test.js:151
↓ 13 callersFunctionmint
(token, issuer)
test/gov/ERC721/ERC721Expert.test.js:83
↓ 11 callersFunctiondeployNft
(startTime, reductionPercent, nftMaxRawPower, nftRequiredCollateral)
test/gov/ERC721/ERC721RawPower.test.js:30
↓ 11 callersFunctiongetBytesAddToWhitelistTSP
(requests)
test/utils/gov-pool-utils.js:561
↓ 11 callersFunctiongetBytesApproveAll
(address, action)
test/utils/gov-pool-utils.js:25
↓ 9 callersFunctiongetBytesDelegateTreasury
(delegatee, amount, nftIds)
test/utils/gov-pool-utils.js:1073
↓ 9 callersFunctiongetBytesPolynomialPowerInit
(k1, k2, k3)
deploy/config/utils.js:41
↓ 8 callersFunctiongetBytesChangeExecutors
(executors, ids)
test/utils/gov-pool-utils.js:378
↓ 8 callersFunctiongetBytesOffTiersTSP
(tierIds)
test/utils/gov-pool-utils.js:597
↓ 8 callersFunctionmintNewToken
(amount)
test/gov/GovPool.test.js:4673
↓ 8 callersFunctionsetNftMultiplierAddress
(nftMultiplierAddress)
test/gov/GovPool.test.js:508
↓ 8 callersFunctiontoMultiplier
(value)
test/gov/ERC721/DexeERC721Multiplier.test.js:24
↓ 7 callersFunctiongetBytesMintExpertNft
(to, uri)
test/utils/gov-pool-utils.js:1030
↓ 7 callersFunctionprivateKey
()
hardhat.config.js:14
↓ 7 callersFunctionsetTags
(token, tags, setter)
test/gov/ERC721/ERC721Expert.test.js:91
↓ 6 callersFunctionburn
(token, burner)
test/gov/ERC721/ERC721Expert.test.js:87
↓ 6 callersFunctioncalculateNewQuorum
(quorum, exemptedTreasury)
test/gov/GovPool.test.js:1523
↓ 6 callersFunctioncomparePendingRewards
( user, proposalId, staticRewards = 0, presonalRewards = 0,
test/gov/GovPool.test.js:4658
↓ 6 callersFunctioncreateInternalProposal
(proposalType, description, amounts, users, from)
test/gov/GovPool.test.js:186
↓ 6 callersFunctionexecuteAndClaim
(proposalId, from)
test/gov/GovPool.test.js:180
↓ 6 callersFunctiongetBytesGovDelegate
(delegatee, amount, nftIds)
test/utils/gov-pool-utils.js:895
↓ 6 callersFunctiongetBytesUndelegateTreasury
(delegatee, amount, nftIds)
test/utils/gov-pool-utils.js:1102
↓ 6 callersFunctionsign
(hash, userPrivateKey)
test/user/UserRegistry.test.js:48
↓ 6 callersFunctiontestExp
(a)
test/libs/LogExpMath.test.js:45
↓ 5 callersFunctioncompareExpertsDao
(votes)
test/gov/voting/PolynomialPower.test.js:119
↓ 5 callersFunctioncompareExpertsDao50Percent
(votes)
test/gov/voting/PolynomialPower.test.js:129
↓ 5 callersFunctioncompareExpertsNotDao
(votes)
test/gov/voting/PolynomialPower.test.js:110
↓ 5 callersFunctioncompareHolders
(votes)
test/gov/voting/PolynomialPower.test.js:101
↓ 5 callersFunctiongetBytesChangeBalances
(newValues, addresses)
test/utils/gov-pool-utils.js:145
↓ 5 callersFunctiongetBytesChangeInternalBalances
(amounts, users)
test/utils/gov-validators-utils.js:1
↓ 5 callersFunctiongetBytesExecute
()
test/utils/gov-pool-utils.js:1
↓ 5 callersFunctiongetBytesGovExecute
(proposalId)
test/utils/gov-pool-utils.js:765
↓ 5 callersFunctiontoMultiplier
(value)
test/gov/ERC721/ERC721Multiplier.test.js:26
↓ 4 callersFunction_ln
(a)
scripts/utils/log-exp-math.js:202
↓ 4 callersFunction_ln_36
(x)
scripts/utils/log-exp-math.js:299
↓ 4 callersFunctionbadgeExists
(contract, token)
test/gov/ERC721/ERC721Expert.test.js:95
↓ 4 callersFunctionbadgeNotExists
(contract, token)
test/gov/ERC721/ERC721Expert.test.js:103
↓ 4 callersFunctiondeployPool
(poolParams)
test/gov/GovPool.test.js:306
↓ 4 callersFunctiondepositAndVote
( proposalId, depositAmount, depositNftIds, voteAmount, voteNftIds, from, isVoteFo
test/gov/GovPool.test.js:162
↓ 4 callersFunctionexecuteProposal
(actionsFor, actionsAgainst = [], isVoteFor = true)
test/gov/GovPool.test.js:584
↓ 4 callersFunctionforExpert
(votes, isDao)
test/gov/voting/PolynomialPower.test.js:50
↓ 4 callersFunctiongetBytesChangeValidatorSettings
([duration, executionDelay, quorum])
test/utils/gov-validators-utils.js:21
↓ 4 callersFunctiongetBytesERC20GovInit
(params)
test/utils/gov-create-token-utils.js:1
↓ 4 callersFunctiongetBytesRecoverTSP
(tierIds)
test/utils/gov-pool-utils.js:616
↓ 4 callersFunctiongetBytesTransfer
(address, amount)
test/utils/gov-pool-utils.js:45
↓ 4 callersFunctiongetPoolParameters
(nftAddress)
test/gov/GovPool.test.js:388
↓ 4 callersFunctionsucceedProposal
(actionsFor, actionsAgainst = [], isVoteFor = true)
test/gov/GovPool.test.js:544
↓ 4 callersFunctiontestLn
(a)
test/libs/LogExpMath.test.js:59
↓ 4 callersFunctiontestPow
(a, b)
test/libs/LogExpMath.test.js:27
↓ 4 callersFunctionundelegateTreasury
(delegatee, amount, nftIds)
test/gov/GovPool.test.js:534
↓ 3 callersFunctioncalculateUsedGas
(tx)
test/gov/GovPool.test.js:158
↓ 3 callersFunctiongetBytesBurnExpertNft
(from)
test/utils/gov-pool-utils.js:1054
↓ 3 callersFunctiongetBytesChangeVotePower
(votePower)
test/utils/gov-pool-utils.js:65
↓ 3 callersFunctiongetBytesMonthlyWithdraw
(tokens, amounts, destination)
test/utils/gov-validators-utils.js:45
↓ 3 callersFunctiongetVotingRewards
( rawCoreVotes, userVotes, coreVotes, personalRawVote, micropoolRawVot
test/gov/GovPool.test.js:4895
↓ 3 callersFunctionsetupTokens
()
test/gov/GovPool.test.js:496
↓ 3 callersFunctiontestLog
(arg, base)
test/libs/LogExpMath.test.js:52
↓ 3 callersFunctiontestPowEpsilon
(a, b)
test/libs/LogExpMath.test.js:34
↓ 3 callersFunctiontierInitParamsToObjects
(tierInitParams)
test/gov/proposals/TokenSaleProposal.test.js:350
↓ 2 callersFunctiondpClaim
(user, proposals)
test/gov/proposals/DistributionProposal.test.js:651
↓ 2 callersFunctionextractNamedFields
(array)
test/gov/proposals/StakingProposal.test.js:14
↓ 2 callersFunctiongetBytesBuyTSP
(tierId, tokenToBuyWith, amount, proof)
test/utils/gov-pool-utils.js:635
↓ 2 callersFunctiongetBytesChangeParticipationDetailsTSP
(tierId, newSettings)
test/utils/gov-pool-utils.js:525
↓ 2 callersFunctiongetBytesEditUrl
(url)
test/utils/gov-pool-utils.js:84
↓ 2 callersFunctiongetBytesPolynomialPowerInit
(k1, k2, k3)
test/utils/gov-vote-power-utils.js:12
↓ 2 callersFunctiongetBytesSetCreditInfo
(tokens, amounts)
test/utils/gov-pool-utils.js:982
↓ 2 callersFunctionlockParticipationNftAndBuy
( tierId, nftToLock, nftIdsToLock, tokenToBuyWith, amount, from, pro
test/gov/proposals/TokenSaleProposal.test.js:416
↓ 2 callersFunctionlockParticipationTokensAndBuy
( tierId, tokenToLock, amountToLock, tokenToBuyWith, amount, from, p
test/gov/proposals/TokenSaleProposal.test.js:398
↓ 2 callersFunctionsolidityExp
(x)
scripts/utils/log-exp-math.js:67
↓ 2 callersFunctionsucceedValidatorProposal
(actionsFor, actionsAgainst = [], isVoteFor = true)
test/gov/GovPool.test.js:560
↓ 2 callersFunctiontokenBalance
(user)
test/gov/GovPool.test.js:538
↓ 2 callersFunctiontypechainTarget
()
hardhat.config.js:28
↓ 1 callersFunctiondeployPool
(poolParams)
test/gov/proposals/TokenSaleProposal.test.js:219
↓ 1 callersFunctiondeployPool
(poolParams)
test/gov/proposals/DistributionProposal.test.js:160
↓ 1 callersFunctionforHolders
(votes)
test/gov/voting/PolynomialPower.test.js:23
↓ 1 callersFunctionforceTypechain
()
hardhat.config.js:34
next →1–100 of 134, ranked by callers