Skip to content

Instantly share code, notes, and snippets.

@arwer13
Created December 5, 2023 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arwer13/6e432030c4ee400065d51411beea8dca to your computer and use it in GitHub Desktop.
Save arwer13/6e432030c4ee400065d51411beea8dca to your computer and use it in GitHub Desktop.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />
<title></title>
<style type="text/css">
table.diff {font-family:Courier; border:medium;}
.diff_header {background-color:#e0e0e0}
td.diff_header {text-align:right}
.diff_next {background-color:#c0c0c0}
.diff_add {background-color:#aaffaa}
.diff_chg {background-color:#ffff77}
.diff_sub {background-color:#ffaaaa}
</style>
</head>
<body>
<table class="diff" id="difflib_chg_to188__top"
cellspacing="0" cellpadding="0" rules="groups" >
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
<colgroup></colgroup> <colgroup></colgroup> <colgroup></colgroup>
<tbody>
<tr><td class="diff_next"><a href="#difflib_chg_to188__0">f</a></td><td class="diff_header" id="from188_1">1</td><td nowrap="nowrap">//&nbsp;SPDX-License-Identifier:&nbsp;AGPL-3.0</td><td class="diff_next"><a href="#difflib_chg_to188__0">f</a></td><td class="diff_header" id="to188_1">1</td><td nowrap="nowrap">//&nbsp;SPDX-License-Identifier:&nbsp;AGPL-3.0</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_2">2</td><td nowrap="nowrap">pragma&nbsp;solidity&nbsp;0.8.19;</td><td class="diff_next"></td><td class="diff_header" id="to188_2">2</td><td nowrap="nowrap">pragma&nbsp;solidity&nbsp;0.8.19;</td></tr>
<tr><td class="diff_next" id="difflib_chg_to188__0"></td><td class="diff_header" id="from188_3">3</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to188_3">3</td><td nowrap="nowrap"></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_4">4</td><td nowrap="nowrap">import&nbsp;{&nbsp;BridgedToken&nbsp;}&nbsp;from&nbsp;"./BridgedToken.sol";</td><td class="diff_next"></td><td class="diff_header" id="to188_4">4</td><td nowrap="nowrap">import&nbsp;{&nbsp;BridgedToken&nbsp;}&nbsp;from&nbsp;"./BridgedToken.sol";</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_5">5</td><td nowrap="nowrap"></td><td class="diff_next"></td><td class="diff_header" id="to188_5">5</td><td nowrap="nowrap"></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_6">6</td><td nowrap="nowrap">/**</td><td class="diff_next"></td><td class="diff_header" id="to188_6">6</td><td nowrap="nowrap">/**</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_7">7</td><td nowrap="nowrap">&nbsp;*&nbsp;@title&nbsp;Custom&nbsp;BridgedToken&nbsp;Contract</td><td class="diff_next"></td><td class="diff_header" id="to188_7">7</td><td nowrap="nowrap">&nbsp;*&nbsp;@title&nbsp;Custom&nbsp;BridgedToken&nbsp;Contract</td></tr>
<tr><td class="diff_next"><a href="#difflib_chg_to188__top">t</a></td><td class="diff_header" id="from188_8">8</td><td nowrap="nowrap"><span class="diff_sub">&nbsp;*&nbsp;@notice&nbsp;Custom&nbsp;ERC20&nbsp;token&nbsp;manually&nbsp;deployed&nbsp;for&nbsp;the&nbsp;Linea&nbsp;TokenBridge</span></td><td class="diff_next"><a href="#difflib_chg_to188__top">t</a></td><td class="diff_header" id="to188_8">8</td><td nowrap="nowrap"><span class="diff_add">&nbsp;*&nbsp;@notice&nbsp;ERC20&nbsp;token&nbsp;created&nbsp;when&nbsp;a&nbsp;native&nbsp;token&nbsp;is&nbsp;bridged&nbsp;to&nbsp;a&nbsp;target&nbsp;chain.</span></td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_9">9</td><td nowrap="nowrap">&nbsp;*/</td><td class="diff_next"></td><td class="diff_header" id="to188_9">9</td><td nowrap="nowrap">&nbsp;*/</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_10">10</td><td nowrap="nowrap">contract&nbsp;CustomBridgedToken&nbsp;is&nbsp;BridgedToken&nbsp;{</td><td class="diff_next"></td><td class="diff_header" id="to188_10">10</td><td nowrap="nowrap">contract&nbsp;CustomBridgedToken&nbsp;is&nbsp;BridgedToken&nbsp;{</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_11">11</td><td nowrap="nowrap">&nbsp;&nbsp;function&nbsp;initializeV2(</td><td class="diff_next"></td><td class="diff_header" id="to188_11">11</td><td nowrap="nowrap">&nbsp;&nbsp;function&nbsp;initializeV2(</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_12">12</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;string&nbsp;memory&nbsp;_tokenName,</td><td class="diff_next"></td><td class="diff_header" id="to188_12">12</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;string&nbsp;memory&nbsp;_tokenName,</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_13">13</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;string&nbsp;memory&nbsp;_tokenSymbol,</td><td class="diff_next"></td><td class="diff_header" id="to188_13">13</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;string&nbsp;memory&nbsp;_tokenSymbol,</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_14">14</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;uint8&nbsp;_tokenDecimals,</td><td class="diff_next"></td><td class="diff_header" id="to188_14">14</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;uint8&nbsp;_tokenDecimals,</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_15">15</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;address&nbsp;_bridge</td><td class="diff_next"></td><td class="diff_header" id="to188_15">15</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;address&nbsp;_bridge</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_16">16</td><td nowrap="nowrap">&nbsp;&nbsp;)&nbsp;public&nbsp;reinitializer(2)&nbsp;{</td><td class="diff_next"></td><td class="diff_header" id="to188_16">16</td><td nowrap="nowrap">&nbsp;&nbsp;)&nbsp;public&nbsp;reinitializer(2)&nbsp;{</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_17">17</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;__ERC20_init(_tokenName,&nbsp;_tokenSymbol);</td><td class="diff_next"></td><td class="diff_header" id="to188_17">17</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;__ERC20_init(_tokenName,&nbsp;_tokenSymbol);</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_18">18</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;__ERC20Permit_init(_tokenName);</td><td class="diff_next"></td><td class="diff_header" id="to188_18">18</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;__ERC20Permit_init(_tokenName);</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_19">19</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;bridge&nbsp;=&nbsp;_bridge;</td><td class="diff_next"></td><td class="diff_header" id="to188_19">19</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;bridge&nbsp;=&nbsp;_bridge;</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_20">20</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;_decimals&nbsp;=&nbsp;_tokenDecimals;</td><td class="diff_next"></td><td class="diff_header" id="to188_20">20</td><td nowrap="nowrap">&nbsp;&nbsp;&nbsp;&nbsp;_decimals&nbsp;=&nbsp;_tokenDecimals;</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_21">21</td><td nowrap="nowrap">&nbsp;&nbsp;}</td><td class="diff_next"></td><td class="diff_header" id="to188_21">21</td><td nowrap="nowrap">&nbsp;&nbsp;}</td></tr>
<tr><td class="diff_next"></td><td class="diff_header" id="from188_22">22</td><td nowrap="nowrap">}</td><td class="diff_next"></td><td class="diff_header" id="to188_22">22</td><td nowrap="nowrap">}</td></tr>
</tbody>
</table>
<table class="diff" summary="Legends">
<tr> <th colspan="2"> Legends </th> </tr>
<tr> <td> <table border="" summary="Colors">
<tr><th> Colors </th> </tr>
<tr><td class="diff_add">&nbsp;Added&nbsp;</td></tr>
<tr><td class="diff_chg">Changed</td> </tr>
<tr><td class="diff_sub">Deleted</td> </tr>
</table></td>
<td> <table border="" summary="Links">
<tr><th colspan="2"> Links </th> </tr>
<tr><td>(f)irst change</td> </tr>
<tr><td>(n)ext change</td> </tr>
<tr><td>(t)op</td> </tr>
</table></td> </tr>
</table>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment