Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiSend #23

Merged
merged 40 commits into from
May 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
e22e52a
Document missing exceptions
germartinez Apr 21, 2021
05e6daf
Add Multisend contract to tests
germartinez Apr 21, 2021
7ebe20f
Add MultiSend contract ABI
germartinez Apr 21, 2021
464d9b3
Rename safeContract variables
germartinez Apr 21, 2021
ae33f16
Add contract networks configuration
germartinez Apr 21, 2021
fc03efb
Add MultiSend utils functions
germartinez Apr 21, 2021
22569eb
Add Contract Manager
germartinez Apr 22, 2021
e7d5a05
Fix build script
germartinez Apr 22, 2021
9deadb6
Update EthersSafe to use ContractManager
germartinez Apr 22, 2021
6b98ff6
Adapt createTransaction method to support batch transactions
germartinez Apr 22, 2021
9c406c2
Add GitHub and npm badges to README file
germartinez Apr 22, 2021
1b580c5
Update README with MultiSend new changes
germartinez Apr 22, 2021
094f6cc
Test contract manager
germartinez Apr 29, 2021
58901fe
Document exceptions in README file
germartinez Apr 29, 2021
f0f54c4
Refactor tests to support batch transactions
germartinez Apr 29, 2021
49f0668
Merge branch 'main' into multisend
germartinez May 6, 2021
6d1160b
Update dependencies
germartinez May 6, 2021
323d3b0
Move safe-core-sdk to packages folder
germartinez May 6, 2021
742ef59
Add lerna
germartinez May 6, 2021
cbf558e
Add Monorepo README file
germartinez May 6, 2021
2728dfe
Add colors to scripts output when using Lerna
germartinez May 6, 2021
26de7d5
Configure tsconfig files
germartinez May 7, 2021
bcc3577
Update dependencies
germartinez May 7, 2021
2ca74ad
Fix test in GitHub action
germartinez May 7, 2021
f866e3e
Merge pull request #24 from gnosis/monorepo
germartinez May 7, 2021
c70d457
Rename getSafeAddress method
germartinez May 7, 2021
f836eec
Rename transaction types
germartinez May 7, 2021
be73eea
Update createTransaction params format
germartinez May 10, 2021
efdd601
Add ERC20Mintable contract for testing
germartinez May 16, 2021
f6f8c35
Add test case for multisend with contract calls
germartinez May 16, 2021
b1aa8df
Refactor getOwners
germartinez May 16, 2021
3ede308
Update dependencies
germartinez May 16, 2021
79e7ab9
Merge branch 'main' into multisend
germartinez May 24, 2021
0bf226b
Removed unused test setup file
germartinez May 24, 2021
de378bf
Standardize function definitions
germartinez May 24, 2021
7bcdbdb
Remove unused interface
germartinez May 24, 2021
36aaded
Update monorepo test script to run all tests from packages
germartinez May 24, 2021
cd29ee6
Add exclude to tsconfig base
germartinez May 24, 2021
f1dbacb
Improve types documentation
germartinez May 24, 2021
010c193
Fix Github workflow for testing
germartinez May 24, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
405 changes: 10 additions & 395 deletions README.md

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"packages": ["packages/*"],
"npmClient": "yarn",
"version": "independent",
"useWorkspaces": true
}
87 changes: 9 additions & 78 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,86 +1,17 @@

{
"name": "@gnosis.pm/safe-core-sdk",
"version": "0.1.2",
"description": "Safe Core SDK",
"main": "dist/src/index.js",
"keywords": [
"Ethereum",
"Gnosis",
"Safe",
"SDK"
],
"name": "safe-core-sdk",
"private": true,
"scripts": {
"build": "yarn rimraf dist && hardhat compile && tsc",
"test:ganache": "export TEST_NETWORK=ganache && hardhat --network localhost deploy && nyc hardhat --network localhost test",
"test": "hardhat deploy && nyc hardhat test",
"coverage": "nyc report --reporter=text-lcov | coveralls",
"format": "prettier --write \"{src,tests,hardhat}/**/*.ts\"",
"lint": "tslint -p tsconfig.json"
"sdk:build": "lerna run --scope @gnosis.pm/safe-core-sdk build --stream",
"test": "FORCE_COLOR=1 lerna run test --stream"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gnosis/safe-core-sdk.git"
},
"author": "Gnosis (https://gnosis.io)",
"license": "MIT",
"bugs": {
"url": "https://github.com/gnosis/safe-core-sdk/issues"
},
"files": [
"dist/**/*",
"README.md",
"LICENSE.md"
],
"homepage": "https://github.com/gnosis/safe-core-sdk#readme",
"devDependencies": {
"@gnosis.pm/safe-contracts": "^1.2.0",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@typechain/ethers-v5": "^6.0.5",
"@types/chai": "^4.2.18",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^8.2.2",
"@types/node": "^15.0.3",
"@types/yargs": "^16.0.1",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"dotenv": "^8.2.0",
"eslint": "^7.26.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.1.4",
"hardhat": "^2.2.1",
"hardhat-deploy": "^0.7.5",
"hardhat-typechain": "^0.3.5",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"mocha": "^8.4.0",
"nyc": "^15.1.0",
"prettier": "^2.3.0",
"rimraf": "^3.0.2",
"ts-generator": "^0.1.1",
"ts-node": "^9.1.1",
"typechain": "^4.0.3",
"typescript": "^4.2.4",
"yargs": "^16.2.0"
},
"lint-staged": {
"src/**/!(*test).ts": [
"yarn lint",
"prettier --write"
"workspaces": {
"packages": [
"packages/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {
"ethereumjs-util": "^7.0.10"
"lerna": "^4.0.0"
}
}
Loading