Skip to content

Commit

Permalink
Merge pull request #58 from logicalmechanism/candidate-for-v0.4.2
Browse files Browse the repository at this point in the history
updating v0.4.1 to v0.4.2
  • Loading branch information
logicalmechanism authored Jan 22, 2024
2 parents caad8f4 + 294a71e commit ef37859
Show file tree
Hide file tree
Showing 28 changed files with 139 additions and 113 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.2

- Updated moment `is_contained` to check if a validity range is inside a moment.
- Wrote additional tests for moment and payout
- Updated README
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
Please add an entry into [CHANGELOG.md](./CHANGELOG.md) when submitting changes. New entries should go into the top `# v0.x.y` section. This let's us keep track of unreleased changes for use in release notes.

Once a release is ready `# v0.x.y` gets replaced with a version number, i.e. `# v0.4.2`. Usually the maintainers will handle the section renaming along with creating a new empty `# v0.x.y` section at the top of the changelog.
Once a release is ready `# v0.x.y` gets replaced with a version number, i.e. `# v0.4.0`. Usually the maintainers will handle the section renaming along with creating a new empty `# v0.x.y` section at the top of the changelog.

Example:

Expand Down
4 changes: 2 additions & 2 deletions 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.1"
version = "v0.4.2"
source = "github"
```

Expand All @@ -26,7 +26,7 @@ rm -fr build || true
aiken check
```

- Stay up to date by updating the version to the newest tag when applicable, i.e. `v0.4.1` -> `v0.4.x`.
- Stay up to date by updating the version to the newest tag when applicable, i.e. `v0.4.2` -> `v0.4.x`.

## Usage

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.1"
version = "0.4.2"
license = "Apache-2.0"
description = "Aiken Assist Library"

Expand Down
18 changes: 10 additions & 8 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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -376,15 +376,16 @@ <h2 id="create_address"><pre class="hljs language-aiken">create_address(pkh: Pub

</div>
<div class="rendered-markdown"><p>Creates a enterprise or base address from the public key hash and stake
credential. An empty sc means enterpise address by default.</p>
credential. An empty sc means enterpise address by default. This function
assumes proper key lengths for <code>pkh</code> and <code>sc</code>.</p>
<pre><code class="language-aiken">addresses.create_address(datum.wallet.pkh, datum.wallet.sc)
</code></pre>
</div>
</div>

<div class="member">
<div class="member-name">
<h2 id="create_script_address"><pre class="hljs language-aiken">create_script_address(pkh: ValidatorHash, sc: ValidatorHash) -&gt; Address</pre></h2>
<h2 id="create_script_address"><pre class="hljs language-aiken">create_script_address(vkh: ValidatorHash, sc: ValidatorHash) -&gt; Address</pre></h2>

<!-- TODO: support source linking
<a class="member-source" alt="View Source" title="View Source" href="#todo">
Expand All @@ -395,8 +396,9 @@ <h2 id="create_script_address"><pre class="hljs language-aiken">create_script_ad
</div>
<div class="rendered-markdown"><p>Creates a script address for a smart contract. The type does not mix address
types. Staked smart contracts are contracts as well. An empty sc is
assumed to be not staked.</p>
<pre><code class="language-aiken">addresses.create_script_address(datum.script.pkh, datum.script.sc)
assumed to be not staked. This function assumes proper key lengths for <code>vkh</code>
and <code>sc</code>.</p>
<pre><code class="language-aiken">addresses.create_script_address(datum.script.vkh, datum.script.sc)
</code></pre>
</div>
</div>
Expand Down Expand Up @@ -491,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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></script>
</body>
</html>
8 changes: 4 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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -536,8 +536,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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></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.1 </span>
<span>v0.4.2 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.4.1";
const currentVersion = "v0.4.2";
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=1705877441"></script>
<script src="../js/index.js?v=1705952101"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1705877441"></script>
<script src="../search-data.js?v=1705952101"></script>
</body>
</html>
Loading

0 comments on commit ef37859

Please sign in to comment.