Skip to content

Commit

Permalink
Merge pull request #68 from logicalmechanism/candidate-for-v0.4.3
Browse files Browse the repository at this point in the history
updating version numbers
  • Loading branch information
logicalmechanism authored Jan 24, 2024
2 parents 2a7147d + bd64365 commit d184e70
Show file tree
Hide file tree
Showing 27 changed files with 346 additions and 97 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# v0.x.y

# v0.4.3

- Added `is_valid` to the wallet submodule.
- Changed `add_tokens_to_value` from private to public in the token type submodule.
- Added `multiply` and `subtraction_only` to the token type submodule.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ To start using the library, follow these steps:
```toml
[[dependencies]]
name = "logicalmechanism/assist"
version = "v0.4.2"
version = "v0.4.3"
source = "github"
```

Expand Down
2 changes: 1 addition & 1 deletion aiken.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "logicalmechanism/assist"
version = "0.4.2"
version = "0.4.3"
license = "Apache-2.0"
description = "Aiken Assist Library"

Expand Down
8 changes: 4 additions & 4 deletions docs/assist/addresses.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -493,8 +493,8 @@ <h2 id="from_wallet"><pre class="hljs language-aiken">from_wallet(wallet: Wallet
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/boolean.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -590,8 +590,8 @@ <h2 id="xor_"><pre class="hljs language-aiken">xor_(x: Int, y: Int) -&gt; Int</p
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/certificates.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -451,8 +451,8 @@ <h2 id="create_credential_delegation"><pre class="hljs language-aiken">create_cr
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/circuits.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -582,8 +582,8 @@ <h2 id="xor_"><pre class="hljs language-aiken">xor_(x: Int, y: Int, p: Int) -&gt
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
48 changes: 44 additions & 4 deletions docs/assist/count.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -337,10 +337,14 @@ <h2>Functions</h2>

<li><a href="#inputs_by_datum">inputs_by_datum</a></li>

<li><a href="#inputs_by_vkh">inputs_by_vkh</a></li>

<li><a href="#outputs_by_addr">outputs_by_addr</a></li>

<li><a href="#outputs_by_datum">outputs_by_datum</a></li>

<li><a href="#outputs_by_vkh">outputs_by_vkh</a></li>

<li><a href="#single_input_with_bypass">single_input_with_bypass</a></li>

</ul>
Expand Down Expand Up @@ -403,6 +407,24 @@ <h2 id="inputs_by_datum"><pre class="hljs language-aiken">inputs_by_datum(inputs
</div>
</div>

<div class="member">
<div class="member-name">
<h2 id="inputs_by_vkh"><pre class="hljs language-aiken">inputs_by_vkh(inputs: List&lt;Input&gt;, amount: Int) -&gt; Bool</pre></h2>

<!-- TODO: support source linking
<a class="member-source" alt="View Source" title="View Source" href="#todo">
&lt;/&gt;
</a>
-->

</div>
<div class="rendered-markdown"><p>Count the number of inputs with a payment credential that is a script.
This does not take in an address but is a general count of validator hashes.</p>
<pre><code class="language-aiken">count.inputs_by_vkh(tx.inputs, 1)
</code></pre>
</div>
</div>

<div class="member">
<div class="member-name">
<h2 id="outputs_by_addr"><pre class="hljs language-aiken">outputs_by_addr(outputs: List&lt;Output&gt;, addr: Address, amount: Int) -&gt; Bool</pre></h2>
Expand Down Expand Up @@ -439,6 +461,24 @@ <h2 id="outputs_by_datum"><pre class="hljs language-aiken">outputs_by_datum(outp
</div>
</div>

<div class="member">
<div class="member-name">
<h2 id="outputs_by_vkh"><pre class="hljs language-aiken">outputs_by_vkh(outputs: List&lt;Output&gt;, amount: Int) -&gt; Bool</pre></h2>

<!-- TODO: support source linking
<a class="member-source" alt="View Source" title="View Source" href="#todo">
&lt;/&gt;
</a>
-->

</div>
<div class="rendered-markdown"><p>Count the number of outputs with a payment credential that is a script.
This does not take in an address but is a general count of validator hashes.</p>
<pre><code class="language-aiken">count.outputs_by_vkh(tx.outputs, 1)
</code></pre>
</div>
</div>

<div class="member">
<div class="member-name">
<h2 id="single_input_with_bypass"><pre class="hljs language-aiken">single_input_with_bypass(
Expand Down Expand Up @@ -536,8 +576,8 @@ <h2 id="single_input_with_bypass"><pre class="hljs language-aiken">single_input_
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -451,8 +451,8 @@ <h2 id="create_stake_credential"><pre class="hljs language-aiken">create_stake_c
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -538,8 +538,8 @@ <h2 id="output_datum_by_hash"><pre class="hljs language-aiken">output_datum_by_h
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/find.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -691,8 +691,8 @@ <h2 id="stake_reward_by_sc"><pre class="hljs language-aiken">stake_reward_by_sc(
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/maths.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -714,8 +714,8 @@ <h2 id="to_int"><pre class="hljs language-aiken">to_int(self: ByteArray) -&gt; I
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/minting.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -510,8 +510,8 @@ <h2 id="is_occurring"><pre class="hljs language-aiken">is_occurring(
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/assist/payout.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.4.2 </span>
<span>v0.4.3 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.2";
const currentVersion = "v0.4.3";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -499,8 +499,8 @@ <h2 id="exact"><pre class="hljs language-aiken">exact(
});
</script>
<script src="../js/lunr.min.js?v=1.0.21-alpha"></script>
<script src="../js/index.js?v=1705952101"></script>
<script src="../js/index.js?v=1706058210"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705952101"></script>
<script src="../search-data.js?v=1706058210"></script>
</body>
</html>
Loading

0 comments on commit d184e70

Please sign in to comment.