Skip to content

Template using EIP-3074 - AUTH and AUTHCALL in Solidity

Notifications You must be signed in to change notification settings

anna-carroll/3074

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EIP-3074 - AUTH and AUTHCALL

EIP-3074 introduces two EVM instructions, AUTH and AUTHCALL

This repo contains

  • contractAuth, which exposes basic usage of AUTH and AUTHCALL via inline assembly
  • contract BatchInvoker, which illustrates an implementation of a safe Invoker contract which executes simple batched calls

Todo

  • implement 3074 in geth - WIP
  • implement 3074 in revm - WIP
  • add a flag to Foundry that allows it to run against 3074 revm fork - WIP
  • expose AUTH and AUTHCALL via inline assembly within solc - WIP
  • implement Auth and BatchInvoker example in Solidity - WIP
  • expose AUTH and AUTHCALL via inline assembly within Huff - WIP, TODO add link
  • implement example in Huff - WIP, TODO add link

Usage

Build

$ forge build

Test

$ forge test

Format

$ forge fmt

Gas Snapshots

$ forge snapshot

About

Template using EIP-3074 - AUTH and AUTHCALL in Solidity

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published