Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some typos in comment #141

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<span id="L6"><span class="lineNum"> 6</span> <span class="tlaUNC tlaBgUNC"> 0 : pub fn get_svg_follow(follow_token_id: u256) -&gt; ByteArray {</span></span>
<span id="L7"><span class="lineNum"> 7</span> <span class="tlaUNC"> 0 : let mut svg = ArrayTrait::&lt;felt252&gt;::new();</span></span>
<span id="L8"><span class="lineNum"> 8</span> <span class="tlaUNC"> 0 : let color_code = get_random_color(follow_token_id);</span></span>
<span id="L9"><span class="lineNum"> 9</span> : /// TODO chnage the circle svg to desired svg</span>
<span id="L9"><span class="lineNum"> 9</span> : /// TODO change the circle svg to desired svg</span>
<span id="L10"><span class="lineNum"> 10</span> <span class="tlaUNC"> 0 : svg.append('&lt;svg width=&quot;100&quot; height=&quot;100&quot;');</span></span>
<span id="L11"><span class="lineNum"> 11</span> <span class="tlaUNC"> 0 : svg.append('xmlns=&quot;http://www.w3.org/2000/');</span></span>
<span id="L12"><span class="lineNum"> 12</span> <span class="tlaUNC"> 0 : svg.append('svg&quot;&gt; &lt;circle cx=&quot;50&quot; cy=&quot;50&quot;');</span></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<span id="L6"><span class="lineNum"> 6</span> <span class="tlaUNC tlaBgUNC"> 0 : pub fn get_svg_handle(token_id: u256, local_name: felt252, namespace: felt252) -&gt; ByteArray {</span></span>
<span id="L7"><span class="lineNum"> 7</span> <span class="tlaUNC"> 0 : let mut svg = ArrayTrait::&lt;felt252&gt;::new();</span></span>
<span id="L8"><span class="lineNum"> 8</span> <span class="tlaUNC"> 0 : let color_code = get_random_color(local_name);</span></span>
<span id="L9"><span class="lineNum"> 9</span> : /// TODO chnage the circle svg to desired svg</span>
<span id="L9"><span class="lineNum"> 9</span> : /// TODO change the circle svg to desired svg</span>
<span id="L10"><span class="lineNum"> 10</span> <span class="tlaUNC"> 0 : svg.append('&lt;svg width=&quot;100&quot; height=&quot;100&quot;');</span></span>
<span id="L11"><span class="lineNum"> 11</span> <span class="tlaUNC"> 0 : svg.append('xmlns=&quot;http://www.w3.org/2000/');</span></span>
<span id="L12"><span class="lineNum"> 12</span> <span class="tlaUNC"> 0 : svg.append('svg&quot;&gt; &lt;circle cx=&quot;50&quot; cy=&quot;50&quot;');</span></span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<span id="L22"><span class="lineNum"> 22</span> : }</span>
<span id="L23"><span class="lineNum"> 23</span> : </span>
<span id="L24"><span class="lineNum"> 24</span> : /// @notice Emitted when a new tokenbound account is deployed/created</span>
<span id="L25"><span class="lineNum"> 25</span> : /// @param account_address the deployed contract address of the tokenbound acccount</span>
<span id="L25"><span class="lineNum"> 25</span> : /// @param account_address the deployed contract address of the tokenbound account</span>
<span id="L26"><span class="lineNum"> 26</span> : /// @param token_contract the contract address of the NFT</span>
<span id="L27"><span class="lineNum"> 27</span> : /// @param token_id the ID of the NFT</span>
<span id="L28"><span class="lineNum"> 28</span> : #[derive(Drop, starknet::Event)]</span>
Expand Down
2 changes: 1 addition & 1 deletion src/base/token_uris/traits/follow.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub mod follow {
pub fn get_svg_follow(follow_token_id: u256) -> ByteArray {
let mut svg = ArrayTrait::<felt252>::new();
let color_code = get_random_color(follow_token_id);
/// TODO chnage the circle svg to desired svg
/// TODO change the circle svg to desired svg
svg.append('<svg width="100" height="100"');
svg.append('xmlns="http://www.w3.org/2000/');
svg.append('svg"> <circle cx="50" cy="50"');
Expand Down
2 changes: 1 addition & 1 deletion src/base/token_uris/traits/handle.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub mod handle {
pub fn get_svg_handle(token_id: u256, local_name: felt252, namespace: felt252) -> ByteArray {
let mut svg = ArrayTrait::<felt252>::new();
let color_code = get_random_color(local_name);
/// TODO chnage the circle svg to desired svg
/// TODO change the circle svg to desired svg
svg.append('<svg width="100" height="100"');
svg.append('xmlns="http://www.w3.org/2000/');
svg.append('svg"> <circle cx="50" cy="50"');
Expand Down
2 changes: 1 addition & 1 deletion src/mocks/registry.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub mod Registry {
}

/// @notice Emitted when a new tokenbound account is deployed/created
/// @param account_address the deployed contract address of the tokenbound acccount
/// @param account_address the deployed contract address of the tokenbound account
/// @param token_contract the contract address of the NFT
/// @param token_id the ID of the NFT
#[derive(Drop, starknet::Event)]
Expand Down