├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── README.md ├── circuits ├── deposit.circom ├── merkleTree.circom └── withdraw.circom ├── demo.md ├── ffi_helpers ├── getCommitment.js ├── getDepositProve.js ├── getPoseidonBytecode.js ├── getWithdrawProve.js ├── merkleTree.js ├── poseidonHash.js └── tree.js ├── foundry.toml ├── package.json ├── quickSetup.sh ├── script └── Counter.s.sol ├── src ├── Huff │ ├── Deposit.huff │ ├── ETHZyclone.huff │ ├── Getters.huff │ ├── Utils.huff │ ├── Withdraw.huff │ └── Zyclone.huff ├── InlineAssembly │ ├── ETHZyclone.sol │ └── Zyclone.sol ├── Shared │ ├── Interfaces.sol │ └── ReentrancyGuard.sol └── Solidity │ ├── ETHZyclone.sol │ └── Zyclone.sol └── test ├── Huff └── Zyclone.t.sol ├── InlineAssembly └── Zyclone.t.sol ├── Solidity └── Zyclone.t.sol └── Zyclone.t.sol /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/README.md -------------------------------------------------------------------------------- /circuits/deposit.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/circuits/deposit.circom -------------------------------------------------------------------------------- /circuits/merkleTree.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/circuits/merkleTree.circom -------------------------------------------------------------------------------- /circuits/withdraw.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/circuits/withdraw.circom -------------------------------------------------------------------------------- /demo.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/demo.md -------------------------------------------------------------------------------- /ffi_helpers/getCommitment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/ffi_helpers/getCommitment.js -------------------------------------------------------------------------------- /ffi_helpers/getDepositProve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/ffi_helpers/getDepositProve.js -------------------------------------------------------------------------------- /ffi_helpers/getPoseidonBytecode.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/ffi_helpers/getPoseidonBytecode.js -------------------------------------------------------------------------------- /ffi_helpers/getWithdrawProve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/ffi_helpers/getWithdrawProve.js -------------------------------------------------------------------------------- /ffi_helpers/merkleTree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/ffi_helpers/merkleTree.js -------------------------------------------------------------------------------- /ffi_helpers/poseidonHash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/ffi_helpers/poseidonHash.js -------------------------------------------------------------------------------- /ffi_helpers/tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/ffi_helpers/tree.js -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/foundry.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/package.json -------------------------------------------------------------------------------- /quickSetup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/quickSetup.sh -------------------------------------------------------------------------------- /script/Counter.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/script/Counter.s.sol -------------------------------------------------------------------------------- /src/Huff/Deposit.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Huff/Deposit.huff -------------------------------------------------------------------------------- /src/Huff/ETHZyclone.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Huff/ETHZyclone.huff -------------------------------------------------------------------------------- /src/Huff/Getters.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Huff/Getters.huff -------------------------------------------------------------------------------- /src/Huff/Utils.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Huff/Utils.huff -------------------------------------------------------------------------------- /src/Huff/Withdraw.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Huff/Withdraw.huff -------------------------------------------------------------------------------- /src/Huff/Zyclone.huff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Huff/Zyclone.huff -------------------------------------------------------------------------------- /src/InlineAssembly/ETHZyclone.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/InlineAssembly/ETHZyclone.sol -------------------------------------------------------------------------------- /src/InlineAssembly/Zyclone.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/InlineAssembly/Zyclone.sol -------------------------------------------------------------------------------- /src/Shared/Interfaces.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Shared/Interfaces.sol -------------------------------------------------------------------------------- /src/Shared/ReentrancyGuard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Shared/ReentrancyGuard.sol -------------------------------------------------------------------------------- /src/Solidity/ETHZyclone.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Solidity/ETHZyclone.sol -------------------------------------------------------------------------------- /src/Solidity/Zyclone.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/src/Solidity/Zyclone.sol -------------------------------------------------------------------------------- /test/Huff/Zyclone.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/test/Huff/Zyclone.t.sol -------------------------------------------------------------------------------- /test/InlineAssembly/Zyclone.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/test/InlineAssembly/Zyclone.t.sol -------------------------------------------------------------------------------- /test/Solidity/Zyclone.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/test/Solidity/Zyclone.t.sol -------------------------------------------------------------------------------- /test/Zyclone.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Zyclone/HEAD/test/Zyclone.t.sol --------------------------------------------------------------------------------