Slither Action – 滑动作用区块链毕设代写

区块链毕设代写本文提供国外最新区块链项目源码下载,包括solidity,eth,fabric等blockchain区块链,Slither Action – 滑动作用区块链毕设代写 是一篇很好的国外资料

Slither Action

This action is a wrapper for slither, a static vulnerability tool for Solidity smart contracts.

Inputs

run-npm-install

By default the action will run npm install on the source folder. Set this variable as false to disable it Default: true Required: no

slither-version

Specify slither version to use. It will download it from official github project. Default: “0.6.14” Required: no

high-threshold

Action will fail if the number of High findings is equal or bigger then this value (0 to disable) Default: 1 Required: no

medium-threshold

Action will fail if the number of Medium findings is equal or bigger then this value (0 to disable) Default: 1 Required: no

low-threshold

Action will fail if the number of Low findings is equal or bigger then this value (0 to disable) Default: 1 Required: no

optimization-threshold

Action will fail if the number of Optimization findings is equal or bigger then this value (0 to disable) Default: 1 Required: no

informative-threshold

Action will fail if the number of Informative findings is equal or bigger then this value (0 to disable) Default: 10 Required: no

projectPath

The path to the smart contract’s project Default: “.” Required: no

slither-params

Extra slither params to be appended. By default the action runnins with: slither --json - . Required: no

Example usage

uses: luisfontes19/slither-static-analysis-action@v0.3.0

Full Action Example

on: [push]  jobs:   main_job:     runs-on: ubuntu-latest     name: Solidity Security      steps:       - name: Checkout         uses: actions/checkout@v2       - name: Slither Static Analysis         uses: luisfontes19/slither-static-analysis-action@v0.3.0         with:           slither-version: '0.6.13'           run-npm-install: true           high-threshold: 1           medium-threshold: 1           low-threshold: 1           optimization-threshold: 1           informative-threshold: 10           projectPath: "."

For Developers

npm install #do some changes npm run build #commit #push

Sliter操作

输入

运行npm安装

Sliter版本

高阈值

中阈值

低阈值

优化阈值

信息阈值

项目路径

Slither参数

示例用法

针对开发人员的完整操作示例

此操作是用于Solidity智能合约的静态漏洞工具sliter的包装器。

输入

运行npm安装

默认情况下,该操作将在源文件夹上运行npm install。将此变量设置为false以禁用它默认值:true必需:no

Sliter版本

指定要使用的slither版本。它将从官方的github项目下载它。默认值:“0.6.14”必需:如果高发现数等于或大于此值,则无操作将失败(0表示禁用)默认值:1必需:如果中等发现数等于或大于此值,则无操作将失败(0表示禁用)默认值:1必需:如果低发现数等于或大于此值,则无操作将失败结果等于或大于此值(0表示禁用)默认值:1必需:如果优化结果的数量等于或大于此值(0表示禁用),则无

高阈值

操作将失败默认:1必需:如果信息性结果的数量等于或大于此值(0表示禁用),则操作将失败默认值:10必需:否

中阈值

智能合约的项目默认路径:“.”必需:否

低阈值

要附加的额外滑动参数。默认情况下,操作运行时使用:slither–json-。必需:无

优化阈值

Action will fail if the number of Optimization findings is equal or bigger then this value (0 to disable) Default: 1 Required: no

信息阈值

Action will fail if the number of Informative findings is equal or bigger then this value (0 to disable) Default: 10 Required: no

项目路径

The path to the smart contract’s project Default: “.” Required: no

Slither参数

Extra slither params to be appended. By default the action runnins with: slither --json - . Required: no

示例用法

uses: luisfontes19/slither-static-analysis-action@v0.3.0

针对开发人员的完整操作示例

on: [push]  jobs:   main_job:     runs-on: ubuntu-latest     name: Solidity Security      steps:       - name: Checkout         uses: actions/checkout@v2       - name: Slither Static Analysis         uses: luisfontes19/slither-static-analysis-action@v0.3.0         with:           slither-version: '0.6.13'           run-npm-install: true           high-threshold: 1           medium-threshold: 1           low-threshold: 1           optimization-threshold: 1           informative-threshold: 10           projectPath: "."

For Developers

npm install #do some changes npm run build #commit #push

部分转自网络,侵权联系删除区块链源码网

www.interchains.cc

https://www.interchains.cc/19417.html

区块链毕设网(www.interchains.cc)全网最靠谱的原创区块链毕设代做网站 部分资料来自网络,侵权联系删除! 最全最大的区块链源码站 ! QQ3039046426
区块链知识分享网, 以太坊dapp资源网, 区块链教程, fabric教程下载, 区块链书籍下载, 区块链资料下载, 区块链视频教程下载, 区块链基础教程, 区块链入门教程, 区块链资源 » Slither Action – 滑动作用区块链毕设代写

提供最优质的资源集合

立即查看 了解详情