Clément 'birdy' Danjou
9212a32e7c
fix: fix typo and add test for cast ebool from euint4 and euint8
2024-03-01 13:53:47 +01:00
Clément 'birdy' Danjou
42de399ce9
feat: add generator for overloads and implement 4bits tests
2024-02-29 12:52:59 +01:00
Clément 'birdy' Danjou
b511101b1b
feat: add 4bits
2024-02-28 14:03:52 +01:00
Clément 'birdy' Danjou
31dbeced23
fix: update Lib for new ebool type
2024-02-28 01:37:11 +01:00
Joseph-André Turk
5afe40218f
fix: removed gasEstimation test
2024-02-27 16:09:08 +01:00
Joseph-André Turk
696445b52f
fix: silence warnings and fix _transfer in CompliantERC20
2024-02-27 16:07:32 +01:00
Joseph-André Turk
f506c4cd20
fix: custom owner address in constructor, moved decryptTest
2024-02-26 19:26:32 +01:00
Joseph-André Turk
00bb216822
feat: added the oracle contracts and library
2024-02-22 12:58:44 +01:00
Clément 'birdy' Danjou
6111441224
feat: add test for cast bool to 64bits
2024-02-09 10:58:23 +01:00
Clément 'birdy' Danjou
dc18f050e0
feat: add 64bits support
2024-02-09 10:04:55 +01:00
Joseph-André Turk
ddb6db7c3f
Added virtual modifier for easier extensibility - also deleted useless public modifier in Timelock constructor
2024-01-12 14:06:56 +01:00
Joseph-André Turk
297c5a563f
Added name and symbol parameters in constructor of EncryptedERC20 and CompliantERC20
2024-01-11 16:59:24 +01:00
Joseph-André Turk
db547ce395
fixed bugs in CompliantERC20 and ERC20Rules and made CompliantERC20 inherit from EncryptedERC20 for cleaner code
2024-01-10 15:32:13 +01:00
Joseph-André Turk
c45b2030b3
draft of improvements for the EncryptedERC20
...
synced with main
fixed transferFrom bug and error reporting
transfer test not passing yet
improved EncryptedERC20 features
removed error handling from EncryptedERC20
2024-01-10 12:26:53 +01:00
Petar Ivanov
fe1e97065e
feat: add upper bound for encrypted random integers
...
Add overloads of TFHE.randEuint() methods that accept an upper bound,
e.g. TFHE.randEuint32(uint32 upperBound). The returned integer will be
in the [0, upperBound) range. Moreover, upperBound must be a power of
2 - that is a design choice for performance reasons.
Note that, as of now, the random numbers are generated in the plain and
are completely public and predictable. An FHE version is coming soon.
Add tests to cover above functionality.
2024-01-09 17:17:40 +02:00
Joseph-André Turk
535b055fc8
Updated Solidity version to ^0.8.20 and OpenZeppelin Contracts to ^5.0.1
...
updated to ethermint node
updated node dev version
removed parallel flag from hardhat test
reput inband test for ci
setup evm version to Paris to avoid PUSH0 error and updated hardhat version
removed utils.ts.new file
synced package.json and package-lock.json
prettier
2024-01-09 11:05:38 +01:00
Joseph-André Turk
ff075c72b2
Added Reencrypt abstract contract to replace use of EIP712WithModifier
2024-01-05 12:21:41 +01:00
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