Skip to content

Commit

Permalink
Merge pull request #5 from getamis/abigen-for-gnosis-safe-proxy
Browse files Browse the repository at this point in the history
contracts: abigen for gnosis safe proxy
  • Loading branch information
tailingchen authored Oct 5, 2020
2 parents 9f4692f + 44b10d6 commit 4bfb7ed
Show file tree
Hide file tree
Showing 2 changed files with 212 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ package contracts

//go:generate docker run -v $PWD/contracts:/contracts -v $PWD/build/contracts:/build ethereum/solc:0.5.17-alpine -o /build --overwrite --abi --bin /contracts/GnosisSafe.sol
//go:generate docker run -v $PWD/contracts:/contracts -v $PWD/build/contracts:/build ethereum/solc:0.5.17-alpine -o /build --overwrite --abi --bin /contracts/proxies/GnosisSafeProxyFactory.sol
//go:generate docker run -v $PWD/contracts:/contracts -v $PWD/build/contracts:/build ethereum/solc:0.5.17-alpine -o /build --overwrite --abi --bin /contracts/proxies/GnosisSafeProxy.sol

//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen --type=GnosisSafe --lang=go --pkg=contracts --abi $PWD/build/contracts/GnosisSafe.abi --bin $PWD/build/contracts/GnosisSafe.bin --out $PWD/contracts/gnosis_safe.go
//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen --type=GnosisSafeProxyFactory --lang=go --pkg=contracts --abi $PWD/build/contracts/GnosisSafeProxyFactory.abi --bin $PWD/build/contracts/GnosisSafeProxyFactory.bin --out $PWD/contracts/gnosis_safe_proxy_factory.go
//go:generate go run github.com/ethereum/go-ethereum/cmd/abigen --type=GnosisSafeProxy --lang=go --pkg=contracts --abi $PWD/build/contracts/GnosisSafeProxy.abi --bin $PWD/build/contracts/GnosisSafeProxy.bin --out $PWD/contracts/gnosis_safe_proxy.go
210 changes: 210 additions & 0 deletions contracts/gnosis_safe_proxy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4bfb7ed

Please sign in to comment.