How to use the abi-decoder.removeABI function in abi-decoder

To help you get started, we’ve selected a few abi-decoder examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github dharmaprotocol / dharma.js / __test__ / integration / token_api.spec.ts View on Github external
afterEach(async () => {
        await web3Utils.revertToSnapshot(currentSnapshotId);
        ABIDecoder.removeABI(dummyREPToken.abi);
    });
github cgewecke / eth-gas-reporter / gasStats.js View on Github external
const isInterface = contract.unlinked_binary === '0x';
        const isConstant = methodIDs[key].constant
        const isEvent = methodIDs[key].type === 'event'
        const hasName = methodIDs[key].name

        if (hasName && !isConstant && !isEvent && !isInterface) {
          methodMap[name + '_' + key] = {
            key: key,
            contract: name,
            method: methodIDs[key].name,
            gasData: [],
            numberOfCalls: 0
          }
        }
      })
      abiDecoder.removeABI(contract._json.abi)
    })
  });

abi-decoder

Nodejs and Javascript library for decoding data params and events from ethereum transactions"

GPL-3.0
Latest version published 4 years ago

Package Health Score

45 / 100
Full package analysis