├── .github └── workflows │ └── test.yml ├── .gitignore ├── .gitmodules ├── README.md ├── circuits ├── components │ ├── depositComponent.circom │ ├── merkleTreeComponent.circom │ └── withdrawComponent.circom ├── deposit.circom ├── full_withdraw.circom ├── partial_withdraw.circom ├── shielded_claim.circom └── shielded_transfer.circom ├── ffi_helpers ├── getCommitment.js ├── getDepositProve.js ├── getFullWithdrawProve.js ├── getPartialWithdrawProve.js ├── getShieldedClaimProve.js ├── getShieldedTransferProve.js ├── merkleTree.js ├── poseidonHash.js └── tree.js ├── foundry.toml ├── package.json ├── quickSetup.sh ├── script └── Tempest.s.sol ├── src ├── Schema.sol ├── Tempest.sol ├── TempestEth.sol └── utils │ └── ReentrancyGuard.sol └── test ├── DepositAndWithdraw.t.sol ├── PartialWithdraw.t.sol ├── Shared.t.sol ├── ShieldedTransfer.t.sol └── utils └── Multicall.sol /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/.gitmodules -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/README.md -------------------------------------------------------------------------------- /circuits/components/depositComponent.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/components/depositComponent.circom -------------------------------------------------------------------------------- /circuits/components/merkleTreeComponent.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/components/merkleTreeComponent.circom -------------------------------------------------------------------------------- /circuits/components/withdrawComponent.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/components/withdrawComponent.circom -------------------------------------------------------------------------------- /circuits/deposit.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/deposit.circom -------------------------------------------------------------------------------- /circuits/full_withdraw.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/full_withdraw.circom -------------------------------------------------------------------------------- /circuits/partial_withdraw.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/partial_withdraw.circom -------------------------------------------------------------------------------- /circuits/shielded_claim.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/shielded_claim.circom -------------------------------------------------------------------------------- /circuits/shielded_transfer.circom: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/circuits/shielded_transfer.circom -------------------------------------------------------------------------------- /ffi_helpers/getCommitment.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/getCommitment.js -------------------------------------------------------------------------------- /ffi_helpers/getDepositProve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/getDepositProve.js -------------------------------------------------------------------------------- /ffi_helpers/getFullWithdrawProve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/getFullWithdrawProve.js -------------------------------------------------------------------------------- /ffi_helpers/getPartialWithdrawProve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/getPartialWithdrawProve.js -------------------------------------------------------------------------------- /ffi_helpers/getShieldedClaimProve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/getShieldedClaimProve.js -------------------------------------------------------------------------------- /ffi_helpers/getShieldedTransferProve.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/getShieldedTransferProve.js -------------------------------------------------------------------------------- /ffi_helpers/merkleTree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/merkleTree.js -------------------------------------------------------------------------------- /ffi_helpers/poseidonHash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/poseidonHash.js -------------------------------------------------------------------------------- /ffi_helpers/tree.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/ffi_helpers/tree.js -------------------------------------------------------------------------------- /foundry.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/foundry.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/package.json -------------------------------------------------------------------------------- /quickSetup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/quickSetup.sh -------------------------------------------------------------------------------- /script/Tempest.s.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/script/Tempest.s.sol -------------------------------------------------------------------------------- /src/Schema.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/src/Schema.sol -------------------------------------------------------------------------------- /src/Tempest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/src/Tempest.sol -------------------------------------------------------------------------------- /src/TempestEth.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/src/TempestEth.sol -------------------------------------------------------------------------------- /src/utils/ReentrancyGuard.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/src/utils/ReentrancyGuard.sol -------------------------------------------------------------------------------- /test/DepositAndWithdraw.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/test/DepositAndWithdraw.t.sol -------------------------------------------------------------------------------- /test/PartialWithdraw.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/test/PartialWithdraw.t.sol -------------------------------------------------------------------------------- /test/Shared.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/test/Shared.t.sol -------------------------------------------------------------------------------- /test/ShieldedTransfer.t.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/test/ShieldedTransfer.t.sol -------------------------------------------------------------------------------- /test/utils/Multicall.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/AmadiMichael/Tempest/HEAD/test/utils/Multicall.sol --------------------------------------------------------------------------------