Commit daa2270
EIP-7702 defines a new struct Authorization which represents authority
to set a pointer to a contract address at an EOA - effectively making
the EOA perform as a smart contract.
This change adds an optional `signEip7702Authorization` method to the
`Keyring` type which is implemented on `@metamask/eth-simple-keyring`
and `@metamask/eth-hd-keyring` in
MetaMask/accounts#182.
See https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7702.md for
details
---------
Co-authored-by: Charly Chevalier <charly.chevalier@consensys.net>
1 parent 253f206 commit daa2270
1 file changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
172 | 188 | | |
173 | 189 | | |
174 | 190 | | |
| |||
0 commit comments