SYMBOL INDEX (157 symbols across 58 files) FILE: lib/openzeppelin-contracts/scripts/checks/compareGasReports.js constant BASE_TX_COST (line 16) | const BASE_TX_COST = 21000; function sum (line 19) | function sum (...args) { function average (line 23) | function average (...args) { function variation (line 27) | function variation (current, previous, offset = 0) { class Report (line 36) | class Report { method load (line 38) | static load (filepath) { method compare (line 43) | static compare (update, ref, opts = { hideEqual: true }) { function center (line 86) | function center (text, length) { function plusSign (line 90) | function plusSign (num) { function formatCellShell (line 94) | function formatCellShell (cell) { function formatCmpShell (line 103) | function formatCmpShell (rows) { function alignPattern (line 135) | function alignPattern (align) { function trend (line 147) | function trend (value) { function formatCellMarkdown (line 155) | function formatCellMarkdown (cell) { function formatCmpMarkdown (line 163) | function formatCmpMarkdown (rows) { FILE: lib/openzeppelin-contracts/scripts/gen-nav.js function getPageTitle (line 15) | function getPageTitle (directory) { FILE: lib/openzeppelin-contracts/scripts/generate/format-lines.js function formatLines (line 1) | function formatLines (...lines) { FILE: lib/openzeppelin-contracts/scripts/generate/run.js function getVersion (line 6) | function getVersion (path) { FILE: lib/openzeppelin-contracts/scripts/generate/templates/EnumerableMap.js constant TYPES (line 4) | const TYPES = [ FILE: lib/openzeppelin-contracts/scripts/generate/templates/EnumerableMapMock.js constant TYPES (line 3) | const TYPES = [ FILE: lib/openzeppelin-contracts/scripts/generate/templates/EnumerableSet.js constant TYPES (line 4) | const TYPES = [ FILE: lib/openzeppelin-contracts/scripts/generate/templates/EnumerableSetMock.js constant TYPES (line 3) | const TYPES = [ FILE: lib/openzeppelin-contracts/scripts/generate/templates/SafeCast.js constant LENGTHS (line 5) | const LENGTHS = range(8, 256, 8).reverse(); FILE: lib/openzeppelin-contracts/scripts/generate/templates/SafeCastMock.js constant LENGTHS (line 4) | const LENGTHS = range(8, 256, 8).reverse(); FILE: lib/openzeppelin-contracts/scripts/generate/templates/conversion.js function toBytes32 (line 1) | function toBytes32 (type, value) { function fromBytes32 (line 14) | function fromBytes32 (type, value) { FILE: lib/openzeppelin-contracts/scripts/helpers.js function chunk (line 1) | function chunk (array, size = 1) { function range (line 5) | function range (start, stop = undefined, step = 1) { function unique (line 10) | function unique (array, op = x => x) { function zip (line 14) | function zip (...args) { FILE: lib/openzeppelin-contracts/scripts/migrate-imports.js function main (line 92) | async function main (paths = [ 'contracts' ]) { function listFilesRecursively (line 112) | async function listFilesRecursively (paths, filter) { function updateFile (line 133) | async function updateFile (file, update) { function updateImportPaths (line 144) | function updateImportPaths (source) { function getUpgradeablePath (line 159) | function getUpgradeablePath (file) { FILE: lib/openzeppelin-contracts/scripts/prepare-docs-solc.js function getSolc (line 9) | async function getSolc () { FILE: lib/openzeppelin-contracts/scripts/release/synchronize-versions.js function setVersion (line 11) | function setVersion (file) { FILE: lib/openzeppelin-contracts/scripts/remove-ignored-artifacts.js function readJSON (line 9) | function readJSON (path) { FILE: lib/openzeppelin-contracts/test/access/AccessControl.behavior.js constant DEFAULT_ADMIN_ROLE (line 6) | const DEFAULT_ADMIN_ROLE = '0x000000000000000000000000000000000000000000... constant ROLE (line 7) | const ROLE = web3.utils.soliditySha3('ROLE'); constant OTHER_ROLE (line 8) | const OTHER_ROLE = web3.utils.soliditySha3('OTHER_ROLE'); function shouldBehaveLikeAccessControl (line 10) | function shouldBehaveLikeAccessControl (errorPrefix, admin, authorized, ... function shouldBehaveLikeAccessControlEnumerable (line 183) | function shouldBehaveLikeAccessControlEnumerable (errorPrefix, admin, au... FILE: lib/openzeppelin-contracts/test/access/AccessControlCrossChain.test.js constant ROLE (line 15) | const ROLE = web3.utils.soliditySha3('ROLE'); FILE: lib/openzeppelin-contracts/test/crosschain/CrossChainEnabled.test.js function randomAddress (line 4) | function randomAddress () { function shouldBehaveLikeReceiver (line 14) | function shouldBehaveLikeReceiver (sender = randomAddress()) { FILE: lib/openzeppelin-contracts/test/finance/VestingWallet.behavior.js function releasedEvent (line 5) | function releasedEvent (token, amount) { function shouldBehaveLikeVesting (line 11) | function shouldBehaveLikeVesting (beneficiary) { FILE: lib/openzeppelin-contracts/test/governance/TimelockController.test.js constant MINDELAY (line 16) | const MINDELAY = time.duration.days(1); function genOperation (line 20) | function genOperation (target, value, data, predecessor, salt) { function genOperationBatch (line 37) | function genOperationBatch (targets, values, payloads, predecessor, salt) { FILE: lib/openzeppelin-contracts/test/governance/compatibility/GovernorCompatibilityBravo.test.js constant RLP (line 3) | const RLP = require('rlp'); function makeContractAddress (line 12) | function makeContractAddress (creator, nonce) { FILE: lib/openzeppelin-contracts/test/governance/extensions/GovernorTimelockCompound.test.js constant RLP (line 3) | const RLP = require('rlp'); function makeContractAddress (line 16) | function makeContractAddress (creator, nonce) { FILE: lib/openzeppelin-contracts/test/governance/utils/Votes.behavior.js function shouldBehaveLikeVotes (line 19) | function shouldBehaveLikeVotes () { FILE: lib/openzeppelin-contracts/test/helpers/create2.js function computeCreate2Address (line 1) | function computeCreate2Address (saltHex, bytecode, deployer) { FILE: lib/openzeppelin-contracts/test/helpers/crosschain.js class BridgeHelper (line 9) | class BridgeHelper { method deploy (line 10) | static async deploy (type) { method constructor (line 14) | constructor (bridge) { method call (line 19) | call (from, target, selector = undefined, args = []) { function deployBridge (line 30) | async function deployBridge (type = 'Arbitrum-L2') { FILE: lib/openzeppelin-contracts/test/helpers/customError.js function expectRevertCustomError (line 6) | async function expectRevertCustomError (promise, reason) { FILE: lib/openzeppelin-contracts/test/helpers/eip712.js function domainSeparator (line 18) | async function domainSeparator (name, version, chainId, verifyingContrac... FILE: lib/openzeppelin-contracts/test/helpers/enums.js function Enum (line 3) | function Enum (...options) { FILE: lib/openzeppelin-contracts/test/helpers/erc1967.js function labelToSlot (line 5) | function labelToSlot (label) { function getSlot (line 9) | function getSlot (address, slot) { FILE: lib/openzeppelin-contracts/test/helpers/governance.js function zip (line 3) | function zip (...args) { function concatHex (line 9) | function concatHex (...args) { function concatOpts (line 13) | function concatOpts (args, opts = null) { class GovernorHelper (line 17) | class GovernorHelper { method constructor (line 18) | constructor (governor) { method delegate (line 22) | delegate (delegation = {}, opts = null) { method propose (line 34) | propose (opts = null) { method queue (line 44) | queue (opts = null) { method execute (line 58) | execute (opts = null) { method cancel (line 72) | cancel (opts = null) { method vote (line 86) | vote (vote = {}, opts = null) { method waitForSnapshot (line 126) | waitForSnapshot (offset = 0) { method waitForDeadline (line 132) | waitForDeadline (offset = 0) { method waitForEta (line 138) | waitForEta (offset = 0) { method setProposal (line 149) | setProposal (actions, description) { FILE: lib/openzeppelin-contracts/test/helpers/sign.js function toEthSignedMessageHash (line 1) | function toEthSignedMessageHash (messageHex) { FILE: lib/openzeppelin-contracts/test/helpers/txpool.js function countPendingTransactions (line 6) | async function countPendingTransactions () { function batchInBlock (line 12) | async function batchInBlock (txs) { FILE: lib/openzeppelin-contracts/test/token/ERC1155/ERC1155.behavior.js function shouldBehaveLikeERC1155 (line 10) | function shouldBehaveLikeERC1155 ([minter, firstTokenHolder, secondToken... FILE: lib/openzeppelin-contracts/test/token/ERC20/ERC20.behavior.js function shouldBehaveLikeERC20 (line 5) | function shouldBehaveLikeERC20 (errorPrefix, initialSupply, initialHolde... function shouldBehaveLikeERC20Transfer (line 191) | function shouldBehaveLikeERC20Transfer (errorPrefix, from, to, balance, ... function shouldBehaveLikeERC20Approve (line 253) | function shouldBehaveLikeERC20Approve (errorPrefix, owner, spender, supp... FILE: lib/openzeppelin-contracts/test/token/ERC20/ERC20.test.js function shouldDecreaseApproval (line 53) | function shouldDecreaseApproval (amount) { FILE: lib/openzeppelin-contracts/test/token/ERC20/extensions/ERC20Burnable.behavior.js function shouldBehaveLikeERC20Burnable (line 6) | function shouldBehaveLikeERC20Burnable (owner, initialBalance, [burner]) { FILE: lib/openzeppelin-contracts/test/token/ERC20/extensions/ERC20Capped.behavior.js function shouldBehaveLikeERC20Capped (line 5) | function shouldBehaveLikeERC20Capped (minter, [other], cap) { FILE: lib/openzeppelin-contracts/test/token/ERC20/utils/SafeERC20.test.js function shouldRevertOnAllCalls (line 164) | function shouldRevertOnAllCalls (reason) { function shouldOnlyRevertOnErrors (line 188) | function shouldOnlyRevertOnErrors () { FILE: lib/openzeppelin-contracts/test/token/ERC721/ERC721.behavior.js constant RECEIVER_MAGIC_VALUE (line 18) | const RECEIVER_MAGIC_VALUE = '0x150b7a02'; function shouldBehaveLikeERC721 (line 20) | function shouldBehaveLikeERC721 (errorPrefix, owner, newOwner, approved,... function shouldBehaveLikeERC721Enumerable (line 713) | function shouldBehaveLikeERC721Enumerable (errorPrefix, owner, newOwner,... function shouldBehaveLikeERC721Metadata (line 876) | function shouldBehaveLikeERC721Metadata (errorPrefix, name, symbol, owne... FILE: lib/openzeppelin-contracts/test/token/ERC777/ERC777.behavior.js function shouldBehaveLikeERC777DirectSendBurn (line 8) | function shouldBehaveLikeERC777DirectSendBurn (holder, recipient, data) { function shouldBehaveLikeERC777OperatorSendBurn (line 13) | function shouldBehaveLikeERC777OperatorSendBurn (holder, recipient, oper... function shouldBehaveLikeERC777UnauthorizedOperatorSendBurn (line 18) | function shouldBehaveLikeERC777UnauthorizedOperatorSendBurn (holder, rec... function shouldBehaveLikeERC777DirectSend (line 23) | function shouldBehaveLikeERC777DirectSend (holder, recipient, data) { function shouldBehaveLikeERC777OperatorSend (line 51) | function shouldBehaveLikeERC777OperatorSend (holder, recipient, operator... function shouldBehaveLikeERC777UnauthorizedOperatorSend (line 96) | function shouldBehaveLikeERC777UnauthorizedOperatorSend (holder, recipie... function shouldBehaveLikeERC777DirectBurn (line 104) | function shouldBehaveLikeERC777DirectBurn (holder, data) { function shouldBehaveLikeERC777OperatorBurn (line 128) | function shouldBehaveLikeERC777OperatorBurn (holder, operator, data, ope... function shouldBehaveLikeERC777UnauthorizedOperatorBurn (line 165) | function shouldBehaveLikeERC777UnauthorizedOperatorBurn (holder, operato... function shouldDirectSendTokens (line 173) | function shouldDirectSendTokens (from, to, amount, data) { function shouldOperatorSendTokens (line 177) | function shouldOperatorSendTokens (from, operator, to, amount, data, ope... function shouldSendTokens (line 181) | function shouldSendTokens (from, operator, to, amount, data, operatorDat... function shouldDirectBurnTokens (line 228) | function shouldDirectBurnTokens (from, amount, data) { function shouldOperatorBurnTokens (line 232) | function shouldOperatorBurnTokens (from, operator, amount, data, operato... function shouldBurnTokens (line 236) | function shouldBurnTokens (from, operator, amount, data, operatorData) { function shouldBehaveLikeERC777InternalMint (line 278) | function shouldBehaveLikeERC777InternalMint (recipient, operator, amount... function shouldInternalMintTokens (line 289) | function shouldInternalMintTokens (operator, to, amount, data, operatorD... function shouldBehaveLikeERC777SendBurnMintInternalWithReceiveHook (line 318) | function shouldBehaveLikeERC777SendBurnMintInternalWithReceiveHook (oper... function shouldBehaveLikeERC777SendBurnWithSendHook (line 412) | function shouldBehaveLikeERC777SendBurnWithSendHook (operator, amount, d... function removeBalance (line 509) | function removeBalance (holder) { function assertTokensReceivedCalled (line 516) | async function assertTokensReceivedCalled (token, txHash, operator, from... function assertTokensToSendCalled (line 523) | async function assertTokensToSendCalled (token, txHash, operator, from, ... function sendFromHolder (line 530) | async function sendFromHolder (token, holder, to, amount, data) { function burnFromHolder (line 539) | async function burnFromHolder (token, holder, amount, data) { FILE: lib/openzeppelin-contracts/test/token/ERC777/ERC777.test.js constant ERC777 (line 20) | const ERC777 = artifacts.require('ERC777Mock'); FILE: lib/openzeppelin-contracts/test/token/common/ERC2981.behavior.js function shouldBehaveLikeERC2981 (line 7) | function shouldBehaveLikeERC2981 () { FILE: lib/openzeppelin-contracts/test/utils/Context.behavior.js function shouldBehaveLikeRegularContext (line 5) | function shouldBehaveLikeRegularContext (sender) { FILE: lib/openzeppelin-contracts/test/utils/cryptography/ECDSA.test.js constant TEST_MESSAGE (line 8) | const TEST_MESSAGE = web3.utils.sha3('OpenZeppelin'); constant WRONG_MESSAGE (line 9) | const WRONG_MESSAGE = web3.utils.sha3('Nope'); constant NON_HASH_MESSAGE (line 10) | const NON_HASH_MESSAGE = '0x' + Buffer.from('abcd').toString('hex'); function to2098Format (line 12) | function to2098Format (signature) { function split (line 25) | function split (signature) { FILE: lib/openzeppelin-contracts/test/utils/cryptography/SignatureChecker.test.js constant TEST_MESSAGE (line 9) | const TEST_MESSAGE = web3.utils.sha3('OpenZeppelin'); constant WRONG_MESSAGE (line 10) | const WRONG_MESSAGE = web3.utils.sha3('Nope'); FILE: lib/openzeppelin-contracts/test/utils/cryptography/draft-EIP712.test.js constant EIP712 (line 6) | const EIP712 = artifacts.require('EIP712External'); FILE: lib/openzeppelin-contracts/test/utils/escrow/Escrow.behavior.js function shouldBehaveLikeEscrow (line 5) | function shouldBehaveLikeEscrow (owner, [payee1, payee2]) { FILE: lib/openzeppelin-contracts/test/utils/introspection/ERC165Checker.test.js constant DUMMY_ID (line 12) | const DUMMY_ID = '0xdeadbeef'; constant DUMMY_ID_2 (line 13) | const DUMMY_ID_2 = '0xcafebabe'; constant DUMMY_ID_3 (line 14) | const DUMMY_ID_3 = '0xdecafbad'; constant DUMMY_UNSUPPORTED_ID (line 15) | const DUMMY_UNSUPPORTED_ID = '0xbaddcafe'; constant DUMMY_UNSUPPORTED_ID_2 (line 16) | const DUMMY_UNSUPPORTED_ID_2 = '0xbaadcafe'; constant DUMMY_ACCOUNT (line 17) | const DUMMY_ACCOUNT = '0x1111111111111111111111111111111111111111'; FILE: lib/openzeppelin-contracts/test/utils/introspection/SupportsInterface.behavior.js constant INTERFACES (line 5) | const INTERFACES = { constant INTERFACE_IDS (line 104) | const INTERFACE_IDS = {}; constant FN_SIGNATURES (line 105) | const FN_SIGNATURES = {}; function shouldSupportInterfaces (line 114) | function shouldSupportInterfaces (interfaces = []) { FILE: lib/openzeppelin-contracts/test/utils/math/Math.test.js function bnAverage (line 39) | function bnAverage (a, b) { FILE: lib/openzeppelin-contracts/test/utils/math/SafeCast.test.js function testToUint (line 12) | function testToUint (bits) { function testToInt (line 77) | function testToInt (bits) { FILE: lib/openzeppelin-contracts/test/utils/math/SafeMath.test.js function expectStruct (line 8) | function expectStruct (value, expected) { function testCommutative (line 23) | async function testCommutative (fn, lhs, rhs, expected, ...extra) { function testFailsCommutative (line 28) | async function testFailsCommutative (fn, lhs, rhs, reason, ...extra) { function testCommutativeIterable (line 38) | async function testCommutativeIterable (fn, lhs, rhs, expected, ...extra) { FILE: lib/openzeppelin-contracts/test/utils/math/SignedMath.test.js function bnAverage (line 36) | function bnAverage (a, b) { FILE: lib/openzeppelin-contracts/test/utils/math/SignedSafeMath.test.js function testCommutative (line 13) | async function testCommutative (fn, lhs, rhs, expected) { function testFailsCommutative (line 18) | async function testFailsCommutative (fn, lhs, rhs) { FILE: lib/openzeppelin-contracts/test/utils/structs/DoubleEndedQueue.test.js function getContent (line 7) | async function getContent (deque) { FILE: lib/openzeppelin-contracts/test/utils/structs/EnumerableMap.behavior.js function shouldBehaveLikeMap (line 6) | function shouldBehaveLikeMap (keys, values, zeroValue) { FILE: lib/openzeppelin-contracts/test/utils/structs/EnumerableSet.behavior.js function shouldBehaveLikeSet (line 4) | function shouldBehaveLikeSet (valueA, valueB, valueC) {