|
1 | 1 | { |
2 | | - "_format": "hh-sol-artifact-1", |
3 | | - "contractName": "FastBridgeSender", |
4 | | - "sourceName": "src/bridge/FastBridgeSender.sol", |
| 2 | + "address": "0x0b9e03455Fed83f209Fa7ce596c93ba6aBAd1f46", |
5 | 3 | "abi": [ |
6 | 4 | { |
7 | 5 | "inputs": [ |
8 | 6 | { |
9 | | - "internalType": "uint256", |
10 | | - "name": "_epochPeriod", |
11 | | - "type": "uint256" |
| 7 | + "internalType": "contract ISafeBridge", |
| 8 | + "name": "_safebridge", |
| 9 | + "type": "address" |
12 | 10 | }, |
13 | 11 | { |
14 | | - "internalType": "address", |
15 | | - "name": "_safeBridgeReceiver", |
| 12 | + "internalType": "contract IFastBridgeReceiver", |
| 13 | + "name": "_fastBridgeReceiver", |
16 | 14 | "type": "address" |
17 | 15 | } |
18 | 16 | ], |
|
24 | 22 | "inputs": [ |
25 | 23 | { |
26 | 24 | "indexed": false, |
27 | | - "internalType": "bytes", |
28 | | - "name": "fastMessage", |
29 | | - "type": "bytes" |
30 | | - }, |
31 | | - { |
32 | | - "indexed": false, |
33 | | - "internalType": "bytes32", |
34 | | - "name": "fastMessageHash", |
35 | | - "type": "bytes32" |
36 | | - } |
37 | | - ], |
38 | | - "name": "MessageReceived", |
39 | | - "type": "event" |
40 | | - }, |
41 | | - { |
42 | | - "anonymous": false, |
43 | | - "inputs": [ |
44 | | - { |
45 | | - "indexed": true, |
46 | | - "internalType": "uint256", |
47 | | - "name": "batchID", |
48 | | - "type": "uint256" |
49 | | - }, |
50 | | - { |
51 | | - "indexed": false, |
52 | | - "internalType": "uint256", |
53 | | - "name": "batchSize", |
54 | | - "type": "uint256" |
55 | | - }, |
56 | | - { |
57 | | - "indexed": false, |
58 | | - "internalType": "uint256", |
59 | | - "name": "epoch", |
60 | | - "type": "uint256" |
| 25 | + "internalType": "address", |
| 26 | + "name": "target", |
| 27 | + "type": "address" |
61 | 28 | }, |
62 | 29 | { |
63 | 30 | "indexed": false, |
64 | 31 | "internalType": "bytes32", |
65 | | - "name": "batchMerkleRoot", |
| 32 | + "name": "messageHash", |
66 | 33 | "type": "bytes32" |
67 | | - } |
68 | | - ], |
69 | | - "name": "SendBatch", |
70 | | - "type": "event" |
71 | | - }, |
72 | | - { |
73 | | - "anonymous": false, |
74 | | - "inputs": [ |
75 | | - { |
76 | | - "indexed": true, |
77 | | - "internalType": "uint256", |
78 | | - "name": "epoch", |
79 | | - "type": "uint256" |
80 | 34 | }, |
81 | 35 | { |
82 | 36 | "indexed": false, |
83 | | - "internalType": "bytes32", |
84 | | - "name": "canonicalBridgeMessageID", |
85 | | - "type": "bytes32" |
| 37 | + "internalType": "bytes", |
| 38 | + "name": "message", |
| 39 | + "type": "bytes" |
86 | 40 | } |
87 | 41 | ], |
88 | | - "name": "SentSafe", |
| 42 | + "name": "OutgoingMessage", |
89 | 43 | "type": "event" |
90 | 44 | }, |
91 | 45 | { |
92 | 46 | "inputs": [], |
93 | | - "name": "ARB_SYS", |
| 47 | + "name": "fastBridgeReceiver", |
94 | 48 | "outputs": [ |
95 | 49 | { |
96 | | - "internalType": "contract IArbSys", |
| 50 | + "internalType": "contract IFastBridgeReceiver", |
97 | 51 | "name": "", |
98 | 52 | "type": "address" |
99 | 53 | } |
100 | 54 | ], |
101 | 55 | "stateMutability": "view", |
102 | 56 | "type": "function" |
103 | 57 | }, |
104 | | - { |
105 | | - "inputs": [ |
106 | | - { |
107 | | - "internalType": "uint256", |
108 | | - "name": "", |
109 | | - "type": "uint256" |
110 | | - } |
111 | | - ], |
112 | | - "name": "batch", |
113 | | - "outputs": [ |
114 | | - { |
115 | | - "internalType": "bytes32", |
116 | | - "name": "", |
117 | | - "type": "bytes32" |
118 | | - } |
119 | | - ], |
120 | | - "stateMutability": "view", |
121 | | - "type": "function" |
122 | | - }, |
123 | 58 | { |
124 | 59 | "inputs": [], |
125 | | - "name": "batchSize", |
| 60 | + "name": "fastSender", |
126 | 61 | "outputs": [ |
127 | 62 | { |
128 | | - "internalType": "uint256", |
129 | | - "name": "", |
130 | | - "type": "uint256" |
131 | | - } |
132 | | - ], |
133 | | - "stateMutability": "view", |
134 | | - "type": "function" |
135 | | - }, |
136 | | - { |
137 | | - "inputs": [], |
138 | | - "name": "currentBatchID", |
139 | | - "outputs": [ |
140 | | - { |
141 | | - "internalType": "uint256", |
| 63 | + "internalType": "address", |
142 | 64 | "name": "", |
143 | | - "type": "uint256" |
| 65 | + "type": "address" |
144 | 66 | } |
145 | 67 | ], |
146 | 68 | "stateMutability": "view", |
147 | 69 | "type": "function" |
148 | 70 | }, |
149 | 71 | { |
150 | 72 | "inputs": [], |
151 | | - "name": "epochPeriod", |
| 73 | + "name": "safebridge", |
152 | 74 | "outputs": [ |
153 | 75 | { |
154 | | - "internalType": "uint256", |
| 76 | + "internalType": "contract ISafeBridge", |
155 | 77 | "name": "", |
156 | | - "type": "uint256" |
| 78 | + "type": "address" |
157 | 79 | } |
158 | 80 | ], |
159 | 81 | "stateMutability": "view", |
160 | 82 | "type": "function" |
161 | 83 | }, |
162 | 84 | { |
163 | 85 | "inputs": [ |
164 | | - { |
165 | | - "internalType": "uint256", |
166 | | - "name": "", |
167 | | - "type": "uint256" |
168 | | - } |
169 | | - ], |
170 | | - "name": "fastOutbox", |
171 | | - "outputs": [ |
172 | | - { |
173 | | - "internalType": "bytes32", |
174 | | - "name": "", |
175 | | - "type": "bytes32" |
176 | | - } |
177 | | - ], |
178 | | - "stateMutability": "view", |
179 | | - "type": "function" |
180 | | - }, |
181 | | - { |
182 | | - "inputs": [], |
183 | | - "name": "safeBridgeReceiver", |
184 | | - "outputs": [ |
185 | 86 | { |
186 | 87 | "internalType": "address", |
187 | | - "name": "", |
| 88 | + "name": "_receiver", |
188 | 89 | "type": "address" |
| 90 | + }, |
| 91 | + { |
| 92 | + "internalType": "bytes", |
| 93 | + "name": "_calldata", |
| 94 | + "type": "bytes" |
189 | 95 | } |
190 | 96 | ], |
191 | | - "stateMutability": "view", |
192 | | - "type": "function" |
193 | | - }, |
194 | | - { |
195 | | - "inputs": [], |
196 | | - "name": "sendBatch", |
| 97 | + "name": "sendFast", |
197 | 98 | "outputs": [], |
198 | 99 | "stateMutability": "nonpayable", |
199 | 100 | "type": "function" |
|
211 | 112 | "type": "bytes" |
212 | 113 | } |
213 | 114 | ], |
214 | | - "name": "sendFast", |
| 115 | + "name": "sendSafe", |
215 | 116 | "outputs": [], |
216 | | - "stateMutability": "nonpayable", |
| 117 | + "stateMutability": "payable", |
217 | 118 | "type": "function" |
218 | 119 | }, |
219 | 120 | { |
220 | 121 | "inputs": [ |
221 | 122 | { |
222 | | - "internalType": "uint256", |
223 | | - "name": "_epoch", |
224 | | - "type": "uint256" |
| 123 | + "internalType": "address", |
| 124 | + "name": "_fastSender", |
| 125 | + "type": "address" |
225 | 126 | } |
226 | 127 | ], |
227 | | - "name": "sendSafeFallback", |
| 128 | + "name": "setFastSender", |
228 | 129 | "outputs": [], |
229 | | - "stateMutability": "payable", |
| 130 | + "stateMutability": "nonpayable", |
230 | 131 | "type": "function" |
231 | 132 | } |
232 | | - ], |
233 | | - "linkReferences": {}, |
234 | | - "deployedLinkReferences": {} |
| 133 | + ] |
235 | 134 | } |
0 commit comments