Skip to content

Commit

Permalink
Merge pull request #4 from Uniswap/reference-deposit-and-register
Browse files Browse the repository at this point in the history
Add deposit & register in one signature via permit2
  • Loading branch information
0age authored Oct 28, 2024
2 parents 153101c + 03047a7 commit 067ba97
Show file tree
Hide file tree
Showing 10 changed files with 696 additions and 269 deletions.
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ solc = '0.8.28'
evm_version='cancun'
via_ir = true
# optimizer_runs = 4_294_967_295
optimizer_runs = 9
optimizer_runs = 200
bytecode_hash = 'none'
src = "src"
out = "out"
Expand Down
64 changes: 32 additions & 32 deletions snapshots/TheCompactTest.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
{
"basicTransfer": "57220",
"basicWithdrawal": "60350",
"batchClaim": "112331",
"batchClaimWithWitness": "112988",
"batchTransfer": "82936",
"batchWithdrawal": "101303",
"claim": "60821",
"claimAndWithdraw": "73704",
"claimWithWitness": "60004",
"depositBatchSingleERC20": "67765",
"depositBatchViaPermit2SingleERC20": "107820",
"depositERC20AndURI": "67076",
"depositERC20Basic": "67081",
"depositERC20ViaPermit2AndURI": "98237",
"depositETHAndURI": "26774",
"depositETHBasic": "28237",
"qualifiedBatchClaim": "113658",
"qualifiedBatchClaimWithWitness": "113117",
"qualifiedClaim": "60719",
"qualifiedClaimWithWitness": "59407",
"qualifiedSplitBatchClaim": "141263",
"qualifiedSplitBatchClaimWithWitness": "141228",
"qualifiedSplitClaim": "86947",
"qualifiedSplitClaimWithWitness": "87358",
"splitBatchClaim": "140743",
"splitBatchClaimWithWitness": "140674",
"splitBatchTransfer": "113646",
"splitBatchWithdrawal": "142938",
"splitClaim": "86873",
"splitClaimWithWitness": "86452",
"splitTransfer": "83176",
"splitWithdrawal": "94106"
"basicTransfer": "57231",
"basicWithdrawal": "60321",
"batchClaim": "112336",
"batchClaimWithWitness": "112999",
"batchTransfer": "82862",
"batchWithdrawal": "101233",
"claim": "57450",
"claimAndWithdraw": "73712",
"claimWithWitness": "59909",
"depositBatchSingleERC20": "67728",
"depositERC20AndURI": "67021",
"depositERC20Basic": "67026",
"depositERC20ViaPermit2AndURI": "98015",
"depositETHAndURI": "26694",
"depositETHBasic": "28186",
"qualifiedBatchClaim": "113663",
"qualifiedBatchClaimWithWitness": "113128",
"qualifiedClaim": "60727",
"qualifiedClaimWithWitness": "59312",
"qualifiedSplitBatchClaim": "141209",
"qualifiedSplitBatchClaimWithWitness": "141180",
"qualifiedSplitClaim": "86955",
"qualifiedSplitClaimWithWitness": "87256",
"register": "24890",
"splitBatchClaim": "140718",
"splitBatchClaimWithWitness": "140655",
"splitBatchTransfer": "113519",
"splitBatchWithdrawal": "142771",
"splitClaim": "86881",
"splitClaimWithWitness": "86379",
"splitTransfer": "83187",
"splitWithdrawal": "94053"
}
Loading

0 comments on commit 067ba97

Please sign in to comment.