Skip to content

Commit

Permalink
Add spatial.cvx stub
Browse files Browse the repository at this point in the history
  • Loading branch information
mikera committed May 17, 2024
1 parent 7f654b3 commit 963961c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions convex-core/src/main/cvx/asset/spatial.cvx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
'asset.spatial

;; Spatial tokens

(defn build [options]
(let [end (blob (or (:end options) 0x010000000000000000))]
[
`(def supply (index ~start ~end))
]))
1 change: 1 addition & 0 deletions convex-core/src/main/java/convex/core/init/Init.java
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ private static State addStandardLibraries(State s) {
s = doActorDeploy(s, "convex/trust/whitelist.cvx");
s = doActorDeploy(s, "convex/trust/monitors.cvx");
s = doActorDeploy(s, "convex/governance.cvx");
s = doActorDeploy(s, "asset/spatial.cvx");
// s = doActorDeploy(s, "convex/user.cvx");
return s;
}
Expand Down

0 comments on commit 963961c

Please sign in to comment.