Commit 3101170
authored
Function closures for CCIP token pool hooks (#320)
* Dynamic dispatch support for CCIP Receiver contracts
* Use Function closures for token pool lock/burn release/mint hooks
* Update CCIP to handle v1 and v2 ccip receiver registration dispatch
* Add V1 V2 Compatibility tests using function closures
* Formatting move files
* Multiple token transfer test
* Remove duplicate onramp call check, slight refactor
* Clean up register pool, refactor
* Add PTT CCIP Receiver
* Remove `_proof` in V2 CCIP Receiver registry
* Add missing deployer address in ccip dummy receiver bindings
* PTT receiver to be consistent with dummy receiver
* Remove proof from pool registration.
* receiver_registered_v2_events rename
* Add persistent callbacks1 parent 3b906fb commit 3101170
44 files changed
Lines changed: 5789 additions & 162 deletions
File tree
- bindings
- ccip_dummy_receiver
- dummy_receiver
- ptt_dummy_receiver
- ccip_token_pools
- burn_mint_token_pool/burn_mint_token_pool
- lock_release_token_pool/lock_release_token_pool
- managed_token_pool/managed_token_pool
- regulated_token_pool/regulated_token_pool
- usdc_token_pool/usdc_token_pool
- ccip
- receiver_registry
- token_admin_registry
- contracts/ccip
- ccip_dummy_receiver
- sources
- ccip_offramp
- sources
- tests
- mock
- ccip_onramp/tests
- mock
- ccip_token_pools
- burn_mint_token_pool
- sources
- tests
- lock_release_token_pool
- sources
- tests
- managed_token_pool
- sources
- tests
- regulated_token_pool
- sources
- tests
- usdc_token_pool
- sources
- tests
- ccip/sources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 72 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | | - | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
35 | 42 | | |
36 | 43 | | |
| 44 | + | |
37 | 45 | | |
38 | 46 | | |
39 | | - | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
44 | 52 | | |
| 53 | + | |
45 | 54 | | |
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
51 | 60 | | |
52 | | - | |
53 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
54 | 64 | | |
55 | 65 | | |
56 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
57 | 71 | | |
58 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
59 | 76 | | |
60 | 77 | | |
61 | 78 | | |
| |||
66 | 83 | | |
67 | 84 | | |
68 | 85 | | |
| 86 | + | |
69 | 87 | | |
70 | 88 | | |
71 | 89 | | |
72 | 90 | | |
73 | 91 | | |
74 | 92 | | |
75 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments