Skip to content

Commit

Permalink
Refactor licenses to LGPL-3.0-only across the project.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmv08 committed Aug 30, 2024
1 parent bc55911 commit 6dfab23
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/4337-gas-metering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"description": "Gas Metering Analysis for Safe with 4337 Module",
"homepage": "https://github.com/safe-global/safe-modules/4337-gas-metering",
"license": "GPL-3.0",
"license": "LGPL-3.0-only",
"type": "module",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion modules/4337/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,4 +253,4 @@ All contracts are WITHOUT ANY WARRANTY; without even the implied warranty of MER

## License

All smart contracts are released under LGPL-3.0.
All smart contracts are released under LGPL-3.0-only.
2 changes: 1 addition & 1 deletion modules/4337/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.3.0-1",
"description": "Safe Module for ERC-4337 support",
"homepage": "https://github.com/safe-global/safe-modules/tree/main/modules/4337",
"license": "GPL-3.0",
"license": "LGPL-3.0-only",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion modules/4337/src/tasks/deployContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { task } from 'hardhat/config'
task('deploy-contracts', 'Deploys and verifies Safe contracts').setAction(async (_, hre) => {
await hre.run('deploy')
await hre.run('local-verify')
await hre.run('etherscan-verify', { forceLicense: true, license: 'LGPL-3.0' })
await hre.run('etherscan-verify', { forceLicense: true, license: 'LGPL-3.0-only' })
await hre.run('sourcify')
})

Expand Down
2 changes: 1 addition & 1 deletion modules/allowances/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"fmt:ts:write": "prettier 'tasks/**/*.ts' 'test/**/*.ts' --write"
},
"author": "safe-global",
"license": "GPL-3.0",
"license": "LGPL-3.0-only",
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.7",
Expand Down
2 changes: 1 addition & 1 deletion modules/allowances/tasks/deploy_verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ task('deploy-verify', 'Deploys and verifies Safe contracts').setAction(async (_,
await hre.run('sourcify')
await hre.run('etherscan-verify', {
forceLicense: true,
license: 'LGPL-3.0',
license: 'LGPL-3.0-only',
})
})

Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"Safe",
"Safe module"
],
"license": "GPL-3.0",
"license": "LGPL-3.0-only",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion modules/passkey/src/tasks/deployContracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ task('deploy-contracts', 'Deploys and verifies Safe contracts').setAction(async
const { address: fclP256Verifier } = await deployments.get('FCLP256Verifier')
await run('verify', { address: fclP256Verifier, contract: 'contracts/verifiers/FCLP256Verifier.sol:FCLP256Verifier' })

await run('etherscan-verify', { forceLicense: true, license: 'LGPL-3.0' })
await run('etherscan-verify', { forceLicense: true, license: 'LGPL-3.0-only' })
await run('sourcify')

// The `SafeWebAuthnSignerSingleton` is deployed by the `SafeWebAuthnSignerFactory` contructor
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"url": "git+https://github.com/safe-global/safe-modules.git"
},
"author": "@safe-global",
"license": "GPL-3.0",
"license": "LGPL-3.0-only",
"bugs": {
"url": "https://github.com/safe-global/safe-modules/issues"
},
Expand Down

0 comments on commit 6dfab23

Please sign in to comment.