Skip to content

Commit

Permalink
Merge pull request #7 from Attestto-com/feature/nameService
Browse files Browse the repository at this point in the history
SNS Program WIP
  • Loading branch information
chongkan authored May 9, 2024
2 parents dd06f56 + 6f12083 commit 7e0118f
Show file tree
Hide file tree
Showing 130 changed files with 3,438 additions and 2,295 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/vendor/
/temp/
node_modules/
npm-debug.log
yarn-error.log
Expand Down Expand Up @@ -27,3 +28,5 @@ Homestead.json
.phpunit.cache
.run/
/.run/
/build/

2 changes: 1 addition & 1 deletion build/html-coverage/Account.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/Creator.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/Did/ServiceStruct.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/Did/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h3>Project Risks</h3>
<footer>
<hr/>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/Did/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h4>Legend</h4>
<span class="success"><strong>High</strong>: 90% to 100%</span>
</p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
</footer>
</div>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/DidData.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/Metadata.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/MetadataData.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
2 changes: 1 addition & 1 deletion build/html-coverage/Accounts/Sns/NtfRecordAccount.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@
<h4>Legend</h4>
<p><span class="legend covered-by-small-tests">Covered by small (and larger) tests</span><span class="legend covered-by-medium-tests">Covered by medium (and large) tests</span><span class="legend covered-by-large-tests">Covered by large tests (and tests of unknown size)</span><span class="legend not-covered">Not covered</span><span class="legend not-coverable">Not coverable</span></p>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
<a title="Back to the top" id="toplink" href="#">
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M12 11L6 5l-6 6h12z"/></svg>
Expand Down
15 changes: 5 additions & 10 deletions build/html-coverage/Accounts/Sns/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ <h3>Insufficient Coverage</h3>
</tr>
</thead>
<tbody>
<tr><td><a href="NameRegistryStateAccount.php.html#28">Attestto\SolanaPhpSdk\Accounts\NameRegistryStateAccount</a></td><td class="text-right">0%</td></tr>
<tr><td><a href="NtfRecordAccount.php.html#15">Attestto\SolanaPhpSdk\Accounts\NtfRecordAccount</a></td><td class="text-right">0%</td></tr>

</tbody>
Expand All @@ -78,7 +77,6 @@ <h3>Project Risks</h3>
</thead>
<tbody>
<tr><td><a href="NtfRecordAccount.php.html#15">Attestto\SolanaPhpSdk\Accounts\NtfRecordAccount</a></td><td class="text-right">30</td></tr>
<tr><td><a href="NameRegistryStateAccount.php.html#28">Attestto\SolanaPhpSdk\Accounts\NameRegistryStateAccount</a></td><td class="text-right">12</td></tr>

</tbody>
</table>
Expand Down Expand Up @@ -116,8 +114,6 @@ <h3>Insufficient Coverage</h3>
</tr>
</thead>
<tbody>
<tr><td><a href="NameRegistryStateAccount.php.html#45"><abbr title="Attestto\SolanaPhpSdk\Accounts\NameRegistryStateAccount::retrieve">retrieve</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="NameRegistryStateAccount.php.html#62"><abbr title="Attestto\SolanaPhpSdk\Accounts\NameRegistryStateAccount::deserialize">deserialize</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="NtfRecordAccount.php.html#34"><abbr title="Attestto\SolanaPhpSdk\Accounts\NtfRecordAccount::deserialize">deserialize</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="NtfRecordAccount.php.html#39"><abbr title="Attestto\SolanaPhpSdk\Accounts\NtfRecordAccount::retrieve">retrieve</abbr></a></td><td class="text-right">0%</td></tr>
<tr><td><a href="NtfRecordAccount.php.html#50"><abbr title="Attestto\SolanaPhpSdk\Accounts\NtfRecordAccount::findKey">findKey</abbr></a></td><td class="text-right">0%</td></tr>
Expand All @@ -138,7 +134,6 @@ <h3>Project Risks</h3>
</thead>
<tbody>
<tr><td><a href="NtfRecordAccount.php.html#39"><abbr title="Attestto\SolanaPhpSdk\Accounts\NtfRecordAccount::retrieve">retrieve</abbr></a></td><td class="text-right">12</td></tr>
<tr><td><a href="NameRegistryStateAccount.php.html#45"><abbr title="Attestto\SolanaPhpSdk\Accounts\NameRegistryStateAccount::retrieve">retrieve</abbr></a></td><td class="text-right">6</td></tr>

</tbody>
</table>
Expand All @@ -148,7 +143,7 @@ <h3>Project Risks</h3>
<footer>
<hr/>
<p>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Sat May 4 19:31:53 UTC 2024.</small>
<small>Generated by <a href="https://github.com/sebastianbergmann/php-code-coverage" target="_top">php-code-coverage 10.1.14</a> using <a href="https://www.php.net/" target="_top">PHP 8.3.2</a> and <a href="https://phpunit.de/">PHPUnit 10.5.20</a> at Thu May 9 9:22:33 UTC 2024.</small>
</p>
</footer>
</div>
Expand All @@ -167,7 +162,7 @@ <h3>Project Risks</h3>
.yAxis.tickFormat(d3.format('d'));

d3.select('#classCoverageDistribution svg')
.datum(getCoverageDistributionData([2,0,0,0,0,0,0,0,0,0,0,0], "Class Coverage"))
.datum(getCoverageDistributionData([1,0,0,0,0,0,0,0,0,0,0,0], "Class Coverage"))
.transition().duration(500).call(chart);

nv.utils.windowResize(chart.update);
Expand All @@ -185,7 +180,7 @@ <h3>Project Risks</h3>
.yAxis.tickFormat(d3.format('d'));

d3.select('#methodCoverageDistribution svg')
.datum(getCoverageDistributionData([5,0,0,0,0,0,0,0,0,0,0,0], "Method Coverage"))
.datum(getCoverageDistributionData([3,0,0,0,0,0,0,0,0,0,0,0], "Method Coverage"))
.transition().duration(500).call(chart);

nv.utils.windowResize(chart.update);
Expand Down Expand Up @@ -235,7 +230,7 @@ <h3>Project Risks</h3>
chart.yAxis.axisLabel('Cyclomatic Complexity');

d3.select('#classComplexity svg')
.datum(getComplexityData([[0,3,"<a href=\"NameRegistryStateAccount.php.html#28\">Attestto\\SolanaPhpSdk\\Accounts\\NameRegistryStateAccount<\/a>"],[0,5,"<a href=\"NtfRecordAccount.php.html#15\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount<\/a>"]], 'Class Complexity'))
.datum(getComplexityData([[0,5,"<a href=\"NtfRecordAccount.php.html#15\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount<\/a>"]], 'Class Complexity'))
.transition()
.duration(500)
.call(chart);
Expand All @@ -259,7 +254,7 @@ <h3>Project Risks</h3>
chart.yAxis.axisLabel('Method Complexity');

d3.select('#methodComplexity svg')
.datum(getComplexityData([[0,2,"<a href=\"NameRegistryStateAccount.php.html#45\">Attestto\\SolanaPhpSdk\\Accounts\\NameRegistryStateAccount::retrieve<\/a>"],[0,1,"<a href=\"NameRegistryStateAccount.php.html#62\">Attestto\\SolanaPhpSdk\\Accounts\\NameRegistryStateAccount::deserialize<\/a>"],[0,1,"<a href=\"NtfRecordAccount.php.html#34\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount::deserialize<\/a>"],[0,3,"<a href=\"NtfRecordAccount.php.html#39\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount::retrieve<\/a>"],[0,1,"<a href=\"NtfRecordAccount.php.html#50\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount::findKey<\/a>"]], 'Method Complexity'))
.datum(getComplexityData([[0,1,"<a href=\"NtfRecordAccount.php.html#34\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount::deserialize<\/a>"],[0,3,"<a href=\"NtfRecordAccount.php.html#39\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount::retrieve<\/a>"],[0,1,"<a href=\"NtfRecordAccount.php.html#50\">Attestto\\SolanaPhpSdk\\Accounts\\NtfRecordAccount::findKey<\/a>"]], 'Method Complexity'))
.transition()
.duration(500)
.call(chart);
Expand Down
Loading

0 comments on commit 7e0118f

Please sign in to comment.