Commit b4a5caa
[hebao] 1.2.0 (#1926)
* [hebao] hebao optimization for gas reduction (#1891)
* [hebao] A few behavior changes and important bug fixes (#1913)
Change to use constant values instead of state variables for many configurations
Change min guardian count to 1.
Change lock period from 1 day to 3 days, change guardian addition/removal pending period from 1 day to 3 days. If a wallet owner's address is leaked, the owner now has more time to react.
Fix a bug that we didn't check the number of guardians who signed transactions
Allow guardian-approved transactions even if the wallet is locked.
add addGuardianImmediately , removeGuardianImmediately and removeFromWhitelistImmediately (not tested yet)
* [hebao 1.2] add multiple breaking changes (#1931)
* [hebao1.2] fix tests (#1985)
* BaseModule has a default bindableMethods impl
* Remove MIN_ACTIVE_GUARDIANS and onlyHaveEnoughGuardians
* Remove MIN_ACTIVE_GUARDIANS and onlyHaveEnoughGuardians
* Remove MIN_ACTIVE_GUARDIANS and onlyHaveEnoughGuardians
* [hebao 1.2] #2 lock permanently and unlock with approval (#1932)
* lock permanently
* lock permanently
* lock permanently
* more
* more
* more
* more
* more
* more
* more
* more
* more
* more
* Allow wallet owner to specify the inheritance waiting period (2 months to 10 years)
Allow wallet owner to specify the inheritance waiting period (2 months to 10 years)
Co-authored-by: wangdong <[email protected]>
* remove two funcitons
* Add guardian tx aware (#1937)
* remove two funcitons
* remove two funcitons
Co-authored-by: wangdong <[email protected]>
* more
* more
* remove addGuardiansWithTheirApproval
* [Hebao1.2]Remove guardian group (#1938)
* remove-guardian-group
* more
* more
* more
* fix calculation
* more
* more
* more
* owner himself cannot be the majority
Co-authored-by: Daniel Wang <[email protected]>
* rename trustedForwarder to metaTxForwarder (#1950)
* Improve security store & remove all pending guardians after recovery (#1940)
* remove-guardian-group
* more
* more
* more
* fix calculation
* more
* more
* more
* owner himself cannot be the majority
* Improve SecurityStore
* Improve SecurityStore
* Improve SecurityStore
* Improve SecurityStore
* cancel on recovery
* Further Improve security store impl (#1948)
* more
Co-authored-by: kongliangzhong <[email protected]>
Co-authored-by: wangdong <[email protected]>
* Shall we require at least one guardian in majority? (#1952)
* [hebao] batch call (#1955)
* change event name (#1958)
* [hebao] add `lockWA` that does not use nonce (#1956)
* [hebao 1.2] do not touch last active without inheritor (#1969)
* adjust function modifier (#1971)
* [hebao1.2] Allow unlimited quota (#1966)
* [hebao 1.2] check caller only when necessary in datastore (#1973)
* [hebao 1.2] allow disabling quota (or unlimited quota)
* more
* more
* more
* more
* more
* more
* [hebao] QuotaStore optimizations (#1970)
* fix one small bug
* fix one small bug
* check caller only when necessary in datastore
* check caller only when necessary in datastore
* Update GuardianStore.sol
* merge
* more
* more
* minor
Co-authored-by: Brecht Devos <[email protected]>
* [hebao 1.2] Start using immutable (#1979)
* [hebao] Start using immutable
* [hebao] More immutable
* [hebao] Immutable stores in modules (#1981)
* [hebao 1.2] remove unused files (#1982)
* [hebao] Start using immutable
* [hebao] More immutable
* [hebao] Immutable stores in modules (#1981)
* remove unused files
Co-authored-by: Brechtpd <[email protected]>
* [hebao1.2] fix tests
* update
* update
* update
* fix merge
* update
* update
* update
* fix testWalletCreation
* update
* update
* update
* update
* all tests fixed
* Update GuardianModule.sol
* update
Co-authored-by: Daniel Wang <[email protected]>
Co-authored-by: wangdong <[email protected]>
Co-authored-by: Brecht Devos <[email protected]>
* set MAX_REIMBURSTMENT_OVERHEAD to 70000
* Update ForwarderModule.sol
* update UpgraderModule.sol
* update build-all-flattened.sh
* [hebao 1.2] minor improvements and cleanups -part 1 (#1992)
* [hebao 1.2] minor improvements and cleanups -part 2 (#1994)
* [hebao 1.2] Minor improvements (#1999)
* [hebao 1.2] Minor improvements
* [hebao] Consistency
* [hebao 1.2] Fix skipQuota (#1996)
* [hebao 1.2] change GUARDIAN_PENDING_PERIOD to 3 days (#2006)
Co-authored-by: Brecht Devos <[email protected]>
Co-authored-by: kongliangzhong <[email protected]>
Co-authored-by: wangdong <[email protected]>1 parent a83618f commit b4a5caa
File tree
97 files changed
+3002
-3691
lines changed- packages
- hebao_v1
- contracts
- aux
- base
- iface
- lib
- modules
- aux
- base
- core
- security
- transfers
- upgrade
- price
- stores
- test
- thirdparty
- compound
- ens
- loopring
- proxy
- deployment
- 1.1.0/goerli
- legacy/version1.0/contracts/security
- migrations
- test
- helpers
- loopring_v3/test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
97 files changed
+3002
-3691
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
| 76 | + | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
82 | | - | |
| 80 | + | |
83 | 81 | | |
84 | 82 | | |
85 | 83 | | |
| |||
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
92 | | - | |
93 | 90 | | |
94 | 91 | | |
95 | 92 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 16 | | |
20 | 17 | | |
21 | 18 | | |
| |||
38 | 35 | | |
39 | 36 | | |
40 | 37 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 38 | | |
49 | 39 | | |
50 | 40 | | |
| |||
81 | 71 | | |
82 | 72 | | |
83 | 73 | | |
84 | | - | |
85 | 74 | | |
86 | 75 | | |
87 | 76 | | |
| |||
91 | 80 | | |
92 | 81 | | |
93 | 82 | | |
94 | | - | |
| 83 | + | |
95 | 84 | | |
96 | 85 | | |
97 | 86 | | |
98 | 87 | | |
99 | 88 | | |
100 | | - | |
101 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
102 | 93 | | |
103 | 94 | | |
104 | | - | |
105 | 95 | | |
106 | 96 | | |
107 | 97 | | |
| |||
111 | 101 | | |
112 | 102 | | |
113 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
114 | 109 | | |
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
118 | | - | |
| 113 | + | |
119 | 114 | | |
120 | 115 | | |
121 | 116 | | |
| |||
125 | 120 | | |
126 | 121 | | |
127 | 122 | | |
128 | | - | |
129 | 123 | | |
130 | 124 | | |
131 | 125 | | |
| |||
137 | 131 | | |
138 | 132 | | |
139 | 133 | | |
140 | | - | |
141 | 134 | | |
142 | 135 | | |
143 | 136 | | |
| |||
151 | 144 | | |
152 | 145 | | |
153 | 146 | | |
154 | | - | |
| 147 | + | |
155 | 148 | | |
156 | 149 | | |
157 | 150 | | |
| |||
167 | 160 | | |
168 | 161 | | |
169 | 162 | | |
170 | | - | |
| 163 | + | |
171 | 164 | | |
172 | 165 | | |
173 | 166 | | |
| |||
190 | 183 | | |
191 | 184 | | |
192 | 185 | | |
193 | | - | |
| 186 | + | |
194 | 187 | | |
195 | 188 | | |
196 | 189 | | |
| |||
209 | 202 | | |
210 | 203 | | |
211 | 204 | | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 205 | | |
218 | | - | |
| 206 | + | |
219 | 207 | | |
220 | 208 | | |
221 | 209 | | |
222 | 210 | | |
223 | 211 | | |
224 | 212 | | |
225 | 213 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | 214 | | |
242 | 215 | | |
243 | 216 | | |
| |||
263 | 236 | | |
264 | 237 | | |
265 | 238 | | |
266 | | - | |
267 | | - | |
268 | | - | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
269 | 254 | | |
270 | 255 | | |
271 | 256 | | |
272 | 257 | | |
273 | 258 | | |
274 | 259 | | |
275 | | - | |
276 | 260 | | |
277 | 261 | | |
278 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
17 | 24 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
22 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
23 | 25 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| |||
0 commit comments