Skip to content

Commit

Permalink
abi and types
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Aug 9, 2024
1 parent de0efeb commit fc946de
Show file tree
Hide file tree
Showing 131 changed files with 38 additions and 145,612 deletions.
82 changes: 38 additions & 44 deletions v2/package.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,39 @@
{
"name": "@zetachain/protocol-contracts",
"version": "1.0.0",
"author": "zetachain",
"exports": {
"./types": {
"types": "./typechain-types/index.ts"
{
"name": "@zetachain/protocol-contracts",
"version": "1.0.0",
"author": "zetachain",
"files": [
"abi",
"types"
],
"scripts": {
"lint": "npx eslint . --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern abi --ignore-pattern cache_forge/",
"lint:fix": "npx eslint . --fix --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern abi --ignore-pattern cache_forge/",
"localnet": "concurrently --names \"NODE,WORKER\" --prefix-colors \"blue.bold,green.bold\" \"anvil --auto-impersonate\" \"wait-on tcp:8545 && npx ts-node scripts/localnet/worker.ts\"",
"test": "forge clean && forge test -vvv",
"coverage": "forge clean && forge coverage --no-match-coverage \"(script|test)\" --report lcov",
"typechain": "npx typechain --target ethers-v6 \"abi/**/!(*.t|test).sol/!(*.abi).json\" --out-dir types",
"generate": "rm -rf abi && forge clean && forge build --out abi && forge fmt && ./scripts/generate_go.sh || true && yarn lint:fix && yarn typechain"
},
"./abi/*": "./out/*"
},
"files": [
"out",
"typechain-types"
],
"scripts": {
"lint": "npx eslint . --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern out --ignore-pattern cache_forge/",
"lint:fix": "npx eslint . --fix --ignore-pattern coverage/ --ignore-pattern coverage.json --ignore-pattern lib/ --ignore-pattern out --ignore-pattern cache_forge/",
"localnet": "concurrently --names \"NODE,WORKER\" --prefix-colors \"blue.bold,green.bold\" \"anvil --auto-impersonate\" \"wait-on tcp:8545 && npx ts-node scripts/localnet/worker.ts\"",
"test": "forge clean && forge test -vvv",
"coverage": "forge clean && forge coverage --no-match-coverage \"(script|test)\" --report lcov",
"typechain": "npx typechain --target ethers-v6 \"out/**/!(*.t|test).sol/!(*.abi).json\" --out-dir typechain-types",
"generate": "forge clean && forge build && forge fmt && ./scripts/generate_go.sh || true && yarn lint:fix && yarn typechain"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@openzeppelin/upgrades-core": "1.35.0",
"@typechain/ethers-v6": "^0.5.1",
"@types/eslint__js": "^8.42.3",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"concurrently": "^8.2.2",
"del-cli": "^5.1.0",
"eslint": "^9.8.0",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.5.4",
"typescript-eslint": "^7.17.0",
"wait-on": "^7.2.0"
},
"license": "MIT",
"dependencies": {
"ethers": "^6.13.1"
},
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}
"devDependencies": {
"@eslint/js": "^9.7.0",
"@openzeppelin/upgrades-core": "1.35.0",
"@typechain/ethers-v6": "^0.5.1",
"@types/eslint__js": "^8.42.3",
"@typescript-eslint/eslint-plugin": "^8.0.1",
"@typescript-eslint/parser": "^8.0.1",
"concurrently": "^8.2.2",
"del-cli": "^5.1.0",
"eslint": "^9.8.0",
"ts-node": "^10.9.2",
"typechain": "^8.3.2",
"typescript": "^5.5.4",
"typescript-eslint": "^7.17.0",
"wait-on": "^7.2.0"
},
"license": "MIT",
"dependencies": {
"ethers": "^6.13.1"
},
"packageManager": "[email protected]+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
}
854 changes: 0 additions & 854 deletions v2/pkg/accesscontrol.sol/accesscontrol.go

This file was deleted.

988 changes: 0 additions & 988 deletions v2/pkg/accesscontrolupgradeable.sol/accesscontrolupgradeable.go

This file was deleted.

203 changes: 0 additions & 203 deletions v2/pkg/address.sol/address.go

This file was deleted.

Loading

0 comments on commit fc946de

Please sign in to comment.