<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Developers Forum for XinFin XDC Network: Haedarah Ali</title>
    <description>The latest articles on Developers Forum for XinFin XDC Network by Haedarah Ali (@haedarah_ali).</description>
    <link>https://www.xdc.dev/haedarah_ali</link>
    <image>
      <url>https://www.xdc.dev/images/cgdKE62tO6dkHWuOC1JSnZKKUtXj0pU_YSFri7xx9G8/rs:fill:90:90/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL3VzZXIvcHJv/ZmlsZV9pbWFnZS8z/MjQ5Lzg4MTAzMTUy/LWM2ZDYtNDY4Yi04/NGJmLWQxMTdjYTBh/YjM3OS5wbmc</url>
      <title>Developers Forum for XinFin XDC Network: Haedarah Ali</title>
      <link>https://www.xdc.dev/haedarah_ali</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.xdc.dev/feed/haedarah_ali"/>
    <language>en</language>
    <item>
      <title>Some function calls aren't getting executed correctly</title>
      <dc:creator>Haedarah Ali</dc:creator>
      <pubDate>Mon, 29 Jul 2024 13:16:16 +0000</pubDate>
      <link>https://www.xdc.dev/haedarah_ali/some-function-calls-arent-getting-executed-correctly-2mco</link>
      <guid>https://www.xdc.dev/haedarah_ali/some-function-calls-arent-getting-executed-correctly-2mco</guid>
      <description>&lt;p&gt;Greetings,&lt;/p&gt;

&lt;p&gt;I have deployed and verified 3 contracts on xdc apothem testnet. The contracts are: an &lt;a href="https://explorer.apothem.network/address/0x9a302F3aa5138EAe9dE01CB6Cd8aA5a5286B2fA3"&gt;implementation&lt;/a&gt; contract, a &lt;a href="https://explorer.apothem.network/address/0xb035BAeb5C1b77A7C094Da8C7CEF182d67e289Ad"&gt;proxy&lt;/a&gt; that points to the above implementation initially, and a &lt;a href="https://explorer.apothem.network/address/0x80ad4c4a88d1f8e80642199240bb5dccf28ab1a3"&gt;Factory&lt;/a&gt; that is responsible for creating instances of the implementation.&lt;/p&gt;

&lt;p&gt;The implementation contract is an &lt;code&gt;ERC-20&lt;/code&gt; contract with custom logic.&lt;br&gt;
In the factory contract, there is an ownable function &lt;code&gt;create(address,uint8,string,string)&lt;/code&gt;. Once called, it should deploy an instance of the implementation, and return the address of that newly-created contract.&lt;/p&gt;

&lt;p&gt;When I am trying to call &lt;code&gt;create(address,uint8,string,string)&lt;/code&gt; from the Factory, I am getting an error which implies that the &lt;code&gt;uint8&lt;/code&gt; value that is getting passed as an argument, is being read as a value of the transaction, as shown in the below snapshots.&lt;/p&gt;

&lt;p&gt;What could be the reason of this? Thanks for your time!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.xdc.dev/images/7g86Atk7Zjz3cbZ42itKRV7KtnY4mdAzRs5AeRpg_-Y/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L283bzh2Y3o3bnRt/ZHRmampvbjdxLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/7g86Atk7Zjz3cbZ42itKRV7KtnY4mdAzRs5AeRpg_-Y/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L283bzh2Y3o3bnRt/ZHRmampvbjdxLnBu/Zw" alt="Image description" width="880" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.xdc.dev/images/7apiqJNaXVvE9KW-O1Xtm3NuGwfyvD4AvPWL-FMva3w/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3kzMGE1cHI3MzNq/MmZhbjZzeW5iLnBu/Zw" class="article-body-image-wrapper"&gt;&lt;img src="https://www.xdc.dev/images/7apiqJNaXVvE9KW-O1Xtm3NuGwfyvD4AvPWL-FMva3w/w:880/mb:500000/ar:1/aHR0cHM6Ly93d3cu/eGRjLmRldi91cGxv/YWRzL2FydGljbGVz/L3kzMGE1cHI3MzNq/MmZhbjZzeW5iLnBu/Zw" alt="Image description" width="880" height="434"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>xdc</category>
      <category>apothem</category>
      <category>verification</category>
      <category>wip</category>
    </item>
  </channel>
</rss>
