Commit Graph

85 Commits

Author SHA1 Message Date
Clément 'birdy' Danjou
84650328a8 docs() Upgrade client part 2023-12-22 15:27:21 +01:00
Clément 'birdy' Danjou
443276fb99 docs() Change summary and add new section 2023-12-22 15:27:21 +01:00
Joseph-André Turk
bc6649def1 made shl and shr more consistent with cleartext shift operators by restraining second operand to 8 bits
reset signers.ts

made shl and shr more consistent with cleartext shift operators by restraining second operand to 8 bits
2023-12-21 10:36:21 +01:00
David
edd0e11ecf Fix ebool not + tests for ebool ops 2023-11-27 11:44:22 +08:00
Clément 'birdy' Danjou
39dddad4d2 fix() rename to whitelisted 2023-11-23 19:09:05 +01:00
Clément 'birdy' Danjou
8b9b723615 feat() Add error handling on ERC20 2023-11-20 15:10:08 +01:00
Clément 'birdy' Danjou
051f3feefa feat() avoid decryption in transaction 2023-11-20 14:44:06 +01:00
Clément 'birdy' Danjou
fed03d320b feat() Avoid delegate call 2023-11-13 15:18:21 +01:00
Clément 'birdy' Danjou
ffc8b4de6a feat() add deploy task 2023-11-13 12:57:06 +01:00
Clément 'birdy' Danjou
38b39a30e4 feat() add countries and restriction in ERC20Rules contract 2023-11-12 17:30:34 +01:00
Clément 'birdy' Danjou
a79963b394 feat() remove balanceOf to have one function for both 2023-11-12 03:53:01 +01:00
Clément 'birdy' Danjou
ab3bf8e00a feat() grantAccess take an array of identifiers 2023-11-12 03:38:49 +01:00
Clément 'birdy' Danjou
17372cfd33 feat() rename identified with compliant 2023-11-10 16:06:46 +01:00
Clément 'birdy' Danjou
6dd601ea68 feat() add feature for government to access balance of their citizen 2023-11-10 14:47:19 +01:00
Clément 'birdy' Danjou
3fb4719494 feat() remove possibility for registrar to see user aset 2023-11-09 16:35:52 +01:00
Clément 'birdy' Danjou
8d5adb4981 feat() change model from country registrar to independent registrar 2023-11-09 16:10:14 +01:00
Clément 'birdy' Danjou
0077259eb7 fix() simplify by removing casting to euint8 2023-11-09 13:13:47 +01:00
Clément 'birdy' Danjou
c85d0f0dcf fix() uncomment condition on blacklist 2023-11-09 13:13:26 +01:00
Clément 'birdy' Danjou
e5c50b5568 feat() Implement feature explained in the article 2023-11-08 16:33:10 +01:00
David
3dea37c956 Fix network1 tests waiting for new block 2023-11-02 14:47:23 +08:00
Clément 'birdy' Danjou
ea2a0385ce feat() Add method for ebool (not,and,or,cmux) 2023-10-26 10:58:13 +02:00
Clément 'birdy' Danjou
7a13748180 fix() fix default amount 2023-10-20 14:27:12 +02:00
Clément 'birdy' Danjou
4252ed9a3d fix() remove useless import 2023-10-20 14:27:12 +02:00
Clément 'birdy' Danjou
31215d4006 contracts() add identity 2023-10-20 14:27:12 +02:00
youben11
d35e512aa0 feat(lib): add support for the remainder operation 2023-10-10 14:58:18 +01:00
David
0b1eca810e Add stateful opt req test 2023-10-09 12:41:31 +08:00
David
ba72900223 Fix optimistic requires 2023-10-06 11:19:18 +08:00
Clément Danjou
e8acd26d80 Merge pull request #184 from zama-ai/feat/simplify-dao
feat() simplify DAO process
2023-10-02 10:51:59 +02:00
David
e68a07fc4e Add explicit casting from ebool to euint16/euint32 2023-10-02 12:35:19 +08:00
Clément 'birdy' Danjou
c29425ddf8 feat() simplify DAO process 2023-09-30 18:49:32 +02:00
Clément 'birdy' Danjou
47eb9132ff fix() fix some issue with governor contract 2023-09-29 16:49:14 +02:00
Clément 'birdy' Danjou
b983d29877 feat() use operator instead of .add/.sub/.mul 2023-09-27 17:00:12 +02:00
Clément 'birdy' Danjou
cb1b8a27f1 fix() force 0.8.19 2023-09-25 16:37:13 +02:00
Clément 'birdy' Danjou
59f3480e3f fix() force 0.8.19 version for everything 2023-09-25 16:03:23 +02:00
David
3d133c6951 Implement operator overloading
following operators are supported:
+, - (unary and binary), *, &, |, ^, ~ (unary)
2023-09-21 10:16:47 +03:00
david-zama
227b5416ef Merge branch 'main' into use-fhe-lib 2023-09-21 10:15:52 +03:00
David
f9a7ee72bf Use fheLib precompile for all internal functions 2023-09-19 14:29:01 +03:00
Petar Ivanov
c91c2c2556 Add tests for storing decrypted random values (#136)
Tests apply to: https://github.com/zama-ai/go-ethereum/pull/167
2023-09-19 13:48:17 +03:00
David
2773902230 Rework overload tests not to use trivial encryption 2023-09-18 10:00:40 +03:00
Petar Ivanov
6e35f79e87 Fix input type for the fheRand precompile
Change from bytes32[1] to bytes1[1] as we only send 1 byte for the int
type.

Fix compiler warning in GovernorZama.sol.
2023-09-14 15:06:36 +03:00
Clément 'birdy' Danjou
dd385a2a40 feat() move contracts folder to examples folder 2023-09-11 13:42:57 +02:00
Clément 'birdy' Danjou
d7ab5c3db2 feat() add hardhat test and template 2023-07-27 17:09:19 +02:00
Louis Tremblay Thibault
35d94658a3 feat(tfhe): add support for ebool type (#86)
* feat(tfhe): add support for `ebool` type

* fix(auction): use `ebool` adequately

* fix(cmux): fix CMUX example

* fix(lib): rename variables to be consistent

* fix(lib): fix comments
2023-07-14 11:43:47 +02:00
Louis Tremblay Thibault
1ed0f52fd9 fix(auction): remove use of euint32.wrap(0) (#84) 2023-07-12 14:38:40 +02:00
Louis Tremblay Thibault
1ae6cdc592 fix(lib): make solc max version 0.8.19 (#81)
* fix(lib): make solc max version 0.8.19

* fix(tfhe): delete Trivial.sol
2023-07-11 10:30:59 +02:00
Clément 'birdy' Danjou
6afba4e468 feat() make abstract available in the npm package 2023-07-07 19:10:04 +02:00
Clément 'birdy' Danjou
6d66b33af2 feat() make stop only available to contract owner 2023-07-07 19:09:30 +02:00
Clément 'birdy' Danjou
83b9e00e47 feat() add default value for reencrypt 2023-06-29 16:23:15 +02:00
Clément 'birdy' Danjou
db08a35e08 dev() Add hardhat framework to compile and test contracts 2023-06-28 16:41:04 +02:00
Clément 'birdy' Danjou
318a6e2450 package() prepare repository for npm package 2023-06-27 16:56:01 +02:00