<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>m0t0k1ch1</title>
        <link>https://paragraph.com/@m0t0k1ch1</link>
        <description>undefined</description>
        <lastBuildDate>Thu, 20 Aug 2026 12:33:17 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>m0t0k1ch1</title>
            <url>https://storage.googleapis.com/papyrus_images/23214da8477ca6fdd3020801264fc4bbee46a6def3f7e112e767f843fcf82acd.jpg</url>
            <link>https://paragraph.com/@m0t0k1ch1</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[CREATE2 Factory]]></title>
            <link>https://paragraph.com/@m0t0k1ch1/create2-factory</link>
            <guid>2XA3xuwSAJqK6YGiWLMW</guid>
            <pubDate>Mon, 13 Dec 2021 12:41:54 GMT</pubDate>
            <description><![CDATA[pragma solidity ^0.8.10; contract Factory { event Created(address indexed addr); function create( bytes memory code, uint256 salt, bytes calldata data ) external returns (address) { address addr; assembly { addr := create2(0, add(code, 0x20), mload(code), salt) if iszero(extcodesize(addr)) { revert(0, 0) } } if (data.length > 0) { (bool success, ) = addr.call(data); if (!success) { assembly { returndatacopy(0, 0, returndatasize()) revert(0, returndatasize()) } } } emit Created(addr); return a...]]></description>
            <content:encoded><![CDATA[<pre data-type="codeBlock" text="pragma solidity ^0.8.10;

contract Factory {
    event Created(address indexed addr);

    function create(
        bytes memory code,
        uint256 salt,
        bytes calldata data
    ) external returns (address) {
        address addr;

        assembly {
            addr := create2(0, add(code, 0x20), mload(code), salt)
            if iszero(extcodesize(addr)) {
                revert(0, 0)
            }
        }

        if (data.length &gt; 0) {
            (bool success, ) = addr.call(data);
            if (!success) {
                assembly {
                    returndatacopy(0, 0, returndatasize())
                    revert(0, returndatasize())
                }
            }
        }

        emit Created(addr);

        return addr;
    }
}
"><code><span class="hljs-meta"><span class="hljs-keyword">pragma</span> <span class="hljs-keyword">solidity</span> ^0.8.10;</span>

<span class="hljs-class"><span class="hljs-keyword">contract</span> <span class="hljs-title">Factory</span> </span>{
    <span class="hljs-function"><span class="hljs-keyword">event</span> <span class="hljs-title">Created</span>(<span class="hljs-params"><span class="hljs-keyword">address</span> <span class="hljs-keyword">indexed</span> addr</span>)</span>;

    <span class="hljs-function"><span class="hljs-keyword">function</span> <span class="hljs-title">create</span>(<span class="hljs-params">
        <span class="hljs-keyword">bytes</span> <span class="hljs-keyword">memory</span> code,
        <span class="hljs-keyword">uint256</span> salt,
        <span class="hljs-keyword">bytes</span> <span class="hljs-keyword">calldata</span> data
    </span>) <span class="hljs-title"><span class="hljs-keyword">external</span></span> <span class="hljs-title"><span class="hljs-keyword">returns</span></span> (<span class="hljs-params"><span class="hljs-keyword">address</span></span>) </span>{
        <span class="hljs-keyword">address</span> addr;

        <span class="hljs-keyword">assembly</span> {
            addr <span class="hljs-operator">:=</span> <span class="hljs-built_in">create2</span>(<span class="hljs-number">0</span>, <span class="hljs-built_in">add</span>(code, <span class="hljs-number">0x20</span>), <span class="hljs-built_in">mload</span>(code), salt)
            <span class="hljs-keyword">if</span> <span class="hljs-built_in">iszero</span>(<span class="hljs-built_in">extcodesize</span>(addr)) {
                <span class="hljs-keyword">revert</span>(<span class="hljs-number">0</span>, <span class="hljs-number">0</span>)
            }
        }

        <span class="hljs-keyword">if</span> (data.<span class="hljs-built_in">length</span> <span class="hljs-operator">></span> <span class="hljs-number">0</span>) {
            (<span class="hljs-keyword">bool</span> success, ) <span class="hljs-operator">=</span> addr.<span class="hljs-built_in">call</span>(data);
            <span class="hljs-keyword">if</span> (<span class="hljs-operator">!</span>success) {
                <span class="hljs-keyword">assembly</span> {
                    <span class="hljs-built_in">returndatacopy</span>(<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-built_in">returndatasize</span>())
                    <span class="hljs-keyword">revert</span>(<span class="hljs-number">0</span>, <span class="hljs-built_in">returndatasize</span>())
                }
            }
        }

        <span class="hljs-keyword">emit</span> Created(addr);

        <span class="hljs-keyword">return</span> addr;
    }
}
</code></pre>]]></content:encoded>
            <author>m0t0k1ch1@newsletter.paragraph.com (m0t0k1ch1)</author>
        </item>
        <item>
            <title><![CDATA[Get Jinxed]]></title>
            <link>https://paragraph.com/@m0t0k1ch1/get-jinxed</link>
            <guid>BOgNnDaCvIDbs83Qil4w</guid>
            <pubDate>Wed, 01 Dec 2021 14:48:06 GMT</pubDate>
            <description><![CDATA[Let’s blow this city to ashes And see what Pow-Pow thinks It’s such pathetic neatness But not for long ’cause it’ll get jinxed! https://open.spotify.com/track/0WpRF4X2LyMTZnqqrXX19U?si=229ea05d93724921]]></description>
            <content:encoded><![CDATA[<p>Let’s blow this city to ashes</p><p>And see what Pow-Pow thinks</p><p>It’s such pathetic neatness</p><p>But not for long ’cause it’ll get jinxed!</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://open.spotify.com/track/0WpRF4X2LyMTZnqqrXX19U?si=229ea05d93724921">https://open.spotify.com/track/0WpRF4X2LyMTZnqqrXX19U?si=229ea05d93724921</a></p>]]></content:encoded>
            <author>m0t0k1ch1@newsletter.paragraph.com (m0t0k1ch1)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/09b47d4514a29bf3d1c70f0ff87f400d4cc4185faa61fe790d73a1062dc0ba97.png" length="0" type="image/png"/>
        </item>
    </channel>
</rss>