Created
December 5, 2023 11:17
-
-
Save arwer13/6e432030c4ee400065d51411beea8dca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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">// SPDX-License-Identifier: 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">// SPDX-License-Identifier: AGPL-3.0</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_2">2</td><td nowrap="nowrap">pragma solidity 0.8.19;</td><td class="diff_next"></td><td class="diff_header" id="to188_2">2</td><td nowrap="nowrap">pragma solidity 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 { BridgedToken } from "./BridgedToken.sol";</td><td class="diff_next"></td><td class="diff_header" id="to188_4">4</td><td nowrap="nowrap">import { BridgedToken } from "./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"> * @title Custom BridgedToken Contract</td><td class="diff_next"></td><td class="diff_header" id="to188_7">7</td><td nowrap="nowrap"> * @title Custom BridgedToken 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"> * @notice Custom ERC20 token manually deployed for the Linea 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"> * @notice ERC20 token created when a native token is bridged to a target chain.</span></td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_9">9</td><td nowrap="nowrap"> */</td><td class="diff_next"></td><td class="diff_header" id="to188_9">9</td><td nowrap="nowrap"> */</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_10">10</td><td nowrap="nowrap">contract CustomBridgedToken is BridgedToken {</td><td class="diff_next"></td><td class="diff_header" id="to188_10">10</td><td nowrap="nowrap">contract CustomBridgedToken is BridgedToken {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_11">11</td><td nowrap="nowrap"> function initializeV2(</td><td class="diff_next"></td><td class="diff_header" id="to188_11">11</td><td nowrap="nowrap"> function initializeV2(</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_12">12</td><td nowrap="nowrap"> string memory _tokenName,</td><td class="diff_next"></td><td class="diff_header" id="to188_12">12</td><td nowrap="nowrap"> string memory _tokenName,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_13">13</td><td nowrap="nowrap"> string memory _tokenSymbol,</td><td class="diff_next"></td><td class="diff_header" id="to188_13">13</td><td nowrap="nowrap"> string memory _tokenSymbol,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_14">14</td><td nowrap="nowrap"> uint8 _tokenDecimals,</td><td class="diff_next"></td><td class="diff_header" id="to188_14">14</td><td nowrap="nowrap"> uint8 _tokenDecimals,</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_15">15</td><td nowrap="nowrap"> address _bridge</td><td class="diff_next"></td><td class="diff_header" id="to188_15">15</td><td nowrap="nowrap"> address _bridge</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_16">16</td><td nowrap="nowrap"> ) public reinitializer(2) {</td><td class="diff_next"></td><td class="diff_header" id="to188_16">16</td><td nowrap="nowrap"> ) public reinitializer(2) {</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_17">17</td><td nowrap="nowrap"> __ERC20_init(_tokenName, _tokenSymbol);</td><td class="diff_next"></td><td class="diff_header" id="to188_17">17</td><td nowrap="nowrap"> __ERC20_init(_tokenName, _tokenSymbol);</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_18">18</td><td nowrap="nowrap"> __ERC20Permit_init(_tokenName);</td><td class="diff_next"></td><td class="diff_header" id="to188_18">18</td><td nowrap="nowrap"> __ERC20Permit_init(_tokenName);</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_19">19</td><td nowrap="nowrap"> bridge = _bridge;</td><td class="diff_next"></td><td class="diff_header" id="to188_19">19</td><td nowrap="nowrap"> bridge = _bridge;</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_20">20</td><td nowrap="nowrap"> _decimals = _tokenDecimals;</td><td class="diff_next"></td><td class="diff_header" id="to188_20">20</td><td nowrap="nowrap"> _decimals = _tokenDecimals;</td></tr> | |
<tr><td class="diff_next"></td><td class="diff_header" id="from188_21">21</td><td nowrap="nowrap"> }</td><td class="diff_next"></td><td class="diff_header" id="to188_21">21</td><td nowrap="nowrap"> }</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"> Added </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