Skip to content

Commit

Permalink
Merge pull request #26 from logicalmechanism/fixing-cip68-prefixes
Browse files Browse the repository at this point in the history
Fixing cip68 prefixes
  • Loading branch information
logicalmechanism authored Jun 14, 2023
2 parents 63b2727 + 5d1770a commit 1ea6837
Show file tree
Hide file tree
Showing 19 changed files with 144 additions and 143 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.2.1

CIP68 prefixes have been fixed. The unique token name function still produces correct names but any length checks needs to be adjusted. New prefix length is now 4.

# v0.1.6

Does not work with Aiken versions below v1.0.7-alpha Aiken and v1.1.0 Stdlib.
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 = "aiken-lang/assist"
version = "0.2.0"
version = "0.2.1"
license = "Apache-2.0"
description = "Aiken Assist Library"

Expand Down
18 changes: 9 additions & 9 deletions docs/assist/addresses.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="../favicon.svg"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.7-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.7-alpha"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.10-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.10-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.2.0 </span>
<span>v0.2.1 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.2.0";
const currentVersion = "v0.2.1";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -403,8 +403,8 @@ <h2 id="create_script_address"><pre class="hljs language-aiken">create_script_ad
</defs>
</svg>

<script src="../js/highlight.min.js?v=1.0.7-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.7-alpha"></script>
<script src="../js/highlight.min.js?v=1.0.10-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.10-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
if (elem.className === "") {
Expand All @@ -423,9 +423,9 @@ <h2 id="create_script_address"><pre class="hljs language-aiken">create_script_ad
el.prepend(a);
});
</script>
<script src="../js/lunr.min.js?v=1.0.7-alpha"></script>
<script src="../js/index.js?v=1686153362"></script>
<script src="../js/lunr.min.js?v=1.0.10-alpha"></script>
<script src="../js/index.js?v=1686759617"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1686153362"></script>
<script src="../search-data.js?v=1686759617"></script>
</body>
</html>
18 changes: 9 additions & 9 deletions docs/assist/certificates.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="../favicon.svg"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.7-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.7-alpha"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.10-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.10-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.2.0 </span>
<span>v0.2.1 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.2.0";
const currentVersion = "v0.2.1";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -377,8 +377,8 @@ <h2 id="create_credential_delegation"><pre class="hljs language-aiken">create_cr
</defs>
</svg>

<script src="../js/highlight.min.js?v=1.0.7-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.7-alpha"></script>
<script src="../js/highlight.min.js?v=1.0.10-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.10-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
if (elem.className === "") {
Expand All @@ -397,9 +397,9 @@ <h2 id="create_credential_delegation"><pre class="hljs language-aiken">create_cr
el.prepend(a);
});
</script>
<script src="../js/lunr.min.js?v=1.0.7-alpha"></script>
<script src="../js/index.js?v=1686153362"></script>
<script src="../js/lunr.min.js?v=1.0.10-alpha"></script>
<script src="../js/index.js?v=1686759617"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1686153362"></script>
<script src="../search-data.js?v=1686759617"></script>
</body>
</html>
18 changes: 9 additions & 9 deletions docs/assist/count.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="../favicon.svg"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.7-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.7-alpha"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.10-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.10-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.2.0 </span>
<span>v0.2.1 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.2.0";
const currentVersion = "v0.2.1";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -435,8 +435,8 @@ <h2 id="outputs_by_datum"><pre class="hljs language-aiken">outputs_by_datum(outp
</defs>
</svg>

<script src="../js/highlight.min.js?v=1.0.7-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.7-alpha"></script>
<script src="../js/highlight.min.js?v=1.0.10-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.10-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
if (elem.className === "") {
Expand All @@ -455,9 +455,9 @@ <h2 id="outputs_by_datum"><pre class="hljs language-aiken">outputs_by_datum(outp
el.prepend(a);
});
</script>
<script src="../js/lunr.min.js?v=1.0.7-alpha"></script>
<script src="../js/index.js?v=1686153362"></script>
<script src="../js/lunr.min.js?v=1.0.10-alpha"></script>
<script src="../js/index.js?v=1686759617"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1686153362"></script>
<script src="../search-data.js?v=1686759617"></script>
</body>
</html>
18 changes: 9 additions & 9 deletions docs/assist/credentials.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="../favicon.svg"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.7-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.7-alpha"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.10-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.10-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.2.0 </span>
<span>v0.2.1 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.2.0";
const currentVersion = "v0.2.1";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -376,8 +376,8 @@ <h2 id="create_stake_credential"><pre class="hljs language-aiken">create_stake_c
</defs>
</svg>

<script src="../js/highlight.min.js?v=1.0.7-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.7-alpha"></script>
<script src="../js/highlight.min.js?v=1.0.10-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.10-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
if (elem.className === "") {
Expand All @@ -396,9 +396,9 @@ <h2 id="create_stake_credential"><pre class="hljs language-aiken">create_stake_c
el.prepend(a);
});
</script>
<script src="../js/lunr.min.js?v=1.0.7-alpha"></script>
<script src="../js/index.js?v=1686153362"></script>
<script src="../js/lunr.min.js?v=1.0.10-alpha"></script>
<script src="../js/index.js?v=1686759617"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1686153362"></script>
<script src="../search-data.js?v=1686759617"></script>
</body>
</html>
18 changes: 9 additions & 9 deletions docs/assist/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="../favicon.svg"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.7-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.7-alpha"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.10-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.10-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.2.0 </span>
<span>v0.2.1 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.2.0";
const currentVersion = "v0.2.1";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -395,8 +395,8 @@ <h2 id="output_datum"><pre class="hljs language-aiken">output_datum(possible_out
</defs>
</svg>

<script src="../js/highlight.min.js?v=1.0.7-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.7-alpha"></script>
<script src="../js/highlight.min.js?v=1.0.10-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.10-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
if (elem.className === "") {
Expand All @@ -415,9 +415,9 @@ <h2 id="output_datum"><pre class="hljs language-aiken">output_datum(possible_out
el.prepend(a);
});
</script>
<script src="../js/lunr.min.js?v=1.0.7-alpha"></script>
<script src="../js/index.js?v=1686153362"></script>
<script src="../js/lunr.min.js?v=1.0.10-alpha"></script>
<script src="../js/index.js?v=1686759617"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1686153362"></script>
<script src="../search-data.js?v=1686759617"></script>
</body>
</html>
18 changes: 9 additions & 9 deletions docs/assist/find.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="../favicon.svg"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.7-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.7-alpha"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.10-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.10-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.2.0 </span>
<span>v0.2.1 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.2.0";
const currentVersion = "v0.2.1";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -548,8 +548,8 @@ <h2 id="stake_reward_by_sc"><pre class="hljs language-aiken">stake_reward_by_sc(
</defs>
</svg>

<script src="../js/highlight.min.js?v=1.0.7-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.7-alpha"></script>
<script src="../js/highlight.min.js?v=1.0.10-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.10-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
if (elem.className === "") {
Expand All @@ -568,9 +568,9 @@ <h2 id="stake_reward_by_sc"><pre class="hljs language-aiken">stake_reward_by_sc(
el.prepend(a);
});
</script>
<script src="../js/lunr.min.js?v=1.0.7-alpha"></script>
<script src="../js/index.js?v=1686153362"></script>
<script src="../js/lunr.min.js?v=1.0.10-alpha"></script>
<script src="../js/index.js?v=1686759617"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1686153362"></script>
<script src="../search-data.js?v=1686759617"></script>
</body>
</html>
18 changes: 9 additions & 9 deletions docs/assist/maths.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
<meta name="theme-color" content="#eff1f5" media="(prefers-color-scheme: light)"/>
<meta name="theme-color" content="#1e1e2e" media="(prefers-color-scheme: dark)"/>
<link rel="icon" type="image/svg+xml" sizes="any" href="../favicon.svg"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.7-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.7-alpha"/>
<link rel="stylesheet" href="../css/index.css?v=1.0.10-alpha" type="text/css"/>
<link id="syntax-theme" rel="stylesheet" href="../css/atom-one-light.min.css?v=1.0.10-alpha"/>
</head>
<body class="prewrap-off theme-light drawer-closed">
<script>
Expand Down Expand Up @@ -120,13 +120,13 @@
<h2>
<a href="../">assist</a>
<span id="project-version">
<span>v0.2.0 </span>
<span>v0.2.1 </span>
</span>
<script>
"use strict";

if ("undefined" !== typeof versionNodes) {
const currentVersion = "v0.2.0";
const currentVersion = "v0.2.1";
if (! versionNodes.find(element => element.version === currentVersion)) {
versionNodes.unshift({ version: currentVersion, url: "#" });
}
Expand Down Expand Up @@ -640,8 +640,8 @@ <h2 id="to_int"><pre class="hljs language-aiken">to_int(self: ByteArray) -&gt; I
</defs>
</svg>

<script src="../js/highlight.min.js?v=1.0.7-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.7-alpha"></script>
<script src="../js/highlight.min.js?v=1.0.10-alpha"></script>
<script src="../js/highlightjs-aiken.js?v=1.0.10-alpha"></script>
<script>
document.querySelectorAll("pre code").forEach((elem) => {
if (elem.className === "") {
Expand All @@ -660,9 +660,9 @@ <h2 id="to_int"><pre class="hljs language-aiken">to_int(self: ByteArray) -&gt; I
el.prepend(a);
});
</script>
<script src="../js/lunr.min.js?v=1.0.7-alpha"></script>
<script src="../js/index.js?v=1686153362"></script>
<script src="../js/lunr.min.js?v=1.0.10-alpha"></script>
<script src="../js/index.js?v=1686759617"></script>
<!-- Load the search index using JSONP to avoid CORS issues -->
<script src="../search-data.js?v=1686153362"></script>
<script src="../search-data.js?v=1686759617"></script>
</body>
</html>
Loading

0 comments on commit 1ea6837

Please sign in to comment.