Commit Graph

148 Commits

Author SHA1 Message Date
0xSage
14238cd152 Merge pull request #31 from 0xSage/contractTests
test: Contract tests
2022-04-18 18:43:20 +01:00
nczhu
7ad47a05a3 test: seller can delist 2022-04-18 18:40:22 +01:00
nczhu
d4f4f03f53 chore: refactor test constants 2022-04-18 17:48:05 +01:00
nczhu
ae3b337d15 chore: typescript contracts dir 2022-04-18 17:26:18 +01:00
nczhu
697161a1a0 test: list passing, but need refactor 2022-04-18 12:11:37 +01:00
nczhu
20b3b26225 chore: tsc postinstall 2022-04-17 17:49:39 +01:00
nczhu
42ce80586a test: cannot list with invalid proof 2022-04-16 13:21:37 +01:00
nczhu
054c9f1d5b test: modifier test passing 2022-04-16 12:26:17 +01:00
nczhu
0aff790c30 test: can test modifier 2022-04-15 20:05:36 +01:00
nczhu
bd5174ddc4 feat: safemath contract 2022-04-15 19:02:51 +01:00
0xSage
aaac08e31c Merge pull request #29 from 0xSage/contractTests
test: Contract tests
2022-04-15 18:29:03 +01:00
nczhu
5522e6f0aa test: deployment should work 2022-04-15 18:26:21 +01:00
nczhu
c576d7637c test: making mock contract for game 2022-04-15 15:29:16 +01:00
nczhu
23096cbb18 test: scaffold tests 2022-04-15 15:04:04 +01:00
nczhu
635c3ce494 chore: capitalize verifier contract names 2022-04-15 14:27:25 +01:00
nczhu
acad4c2ca2 chore: import contract deps 2022-04-15 14:20:51 +01:00
nczhu
bc2ac61044 chore: install sol hardhat deps 2022-04-15 11:53:13 +01:00
nczhu
0303e2e81a docs: smart contract docs 2022-04-14 15:01:39 +01:00
0xSage
2ba43e9455 Merge pull request #26 from 0xSage/sellerList
feat: contracts completed
2022-04-14 13:51:42 +00:00
nczhu
d18e45dfcf docs: nit 2022-04-14 14:51:25 +01:00
nczhu
b47b785e0e feat: orders can be refunded 2022-04-14 14:50:40 +01:00
nczhu
17794bb507 Merge branch 'sellerList' of https://github.com/0xSage/df-zkmarketplace into sellerList 2022-04-14 13:56:44 +01:00
nczhu
20476d8b3c fix: cannot sale to closed order 2022-04-14 13:56:30 +01:00
nczhu
dcf4bae519 fix: verifier contract interface 2022-04-14 13:19:45 +01:00
0xSage
da9f9794bd Merge pull request #25 from 0xSage/sellerList
fix: call df contract through diamond
2022-04-14 12:07:50 +00:00
nczhu
270f406238 fix: call df contract through diamond 2022-04-14 13:06:16 +01:00
0xSage
5815f8ea8b Merge pull request #24 from 0xSage/sellerList
feat(contract): sellers can list valid coordinates
2022-04-11 22:38:56 +00:00
nczhu
427524beb5 chore: scaffoled rest of contract 2022-04-11 22:37:46 +00:00
nczhu
2d4730c193 feat: buyer can list valid coords 2022-04-11 20:39:38 +00:00
nczhu
781984a221 chore: working through valdiPlanet modifier 2022-04-11 17:43:40 +00:00
nczhu
773e6dc2fe feat: scaffold interface around DFGetter contract 2022-04-11 16:35:56 +00:00
nczhu
d59f220a60 fix: add missing SPACETYPE key 2022-04-11 14:40:45 +00:00
0xSage
33725b9698 Merge pull request #23 from 0xSage/ts
feat: export verifier.sol in nicer format
2022-04-11 12:44:05 +00:00
nczhu
f9bfa0364c chore: clean up devdependencies 2022-04-11 12:43:12 +00:00
nczhu
3272b5c5cb chore: can export Verifiers in friendlier format 2022-04-10 16:51:21 +00:00
0xSage
c4359f13ee Merge pull request #21 from 0xSage/contracts
chore: refactor circuits into util
2022-04-08 18:42:55 +00:00
nczhu
648ec805c3 docs: nit 2022-04-08 18:42:08 +00:00
nczhu
601acca3d7 chore: refactor dupe circuits to util 2022-04-08 18:41:35 +00:00
0xSage
c078b183e0 Merge pull request #20 from 0xSage/contracts
chore: change circuit interface for contract compat
2022-04-07 23:44:51 +01:00
nczhu
9f39f41950 chore: circom outputs 2022-04-07 23:30:01 +01:00
nczhu
5dd4cef6c1 test: all tests passing 2022-04-07 22:52:48 +01:00
nczhu
f713ec9679 test: list circuit is all inputs 2022-04-07 17:36:18 +01:00
nczhu
d4ff103f4e feat: change outputs to inputs 2022-04-07 17:07:49 +01:00
0xSage
fc4e526443 Merge pull request #18 from 0xSage/circomSale
feat: hardhat-circom sale circuit
2022-04-06 19:29:40 +01:00
nczhu
d74e7be8fd fix: hardhat flow works for sale 2022-04-06 19:29:17 +01:00
nczhu
26ccfdc209 fix: use correct constants in sale.json 2022-04-06 19:18:53 +01:00
nczhu
1c6fea55f4 chore: hardhat configs for sale circuit 2022-04-06 18:22:33 +01:00
nczhu
a3fc9db4f0 docs: add to readme 2022-04-06 18:19:08 +01:00
0xSage
d8b883709d Merge pull request #17 from 0xSage/testHash
test: checks shared key commitment
2022-04-06 18:15:59 +01:00
nczhu
e2515fa972 chore: list input.json works 2022-04-06 18:15:16 +01:00