Skip to content

Commit

Permalink
Merge pull request #32 from Anastasia-Labs/feature/optional-owner-and…
Browse files Browse the repository at this point in the history
…-fee

Support Simple and Advanced Datums
  • Loading branch information
keyan-m authored Sep 19, 2024
2 parents c990389 + de1f653 commit 1641444
Show file tree
Hide file tree
Showing 20 changed files with 663 additions and 1,111 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ ci:

.PHONY: export
export:
cabal run smart-handles -f optimized
cabal clean && cabal run smart-handles -f optimized
305 changes: 161 additions & 144 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion compiled/smartHandleRouter.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"cborHex": "59036159035e01000022223232325333573466e1d200200213232325333573466e1d200200216153335734664646460044660040040024600446600400400244a666aae7c0045280a999ab9a3375e6ae8400400c528898011aba200135742002646eb0d5d0991aba235744646ae88c8d5d1191aba23235744646ae88d5d1000800800800800800991aab9e37540020026ae84c8d55cf1baa001007149858d55cf0011aab9d0013754646ae84c8d55cf1baa0010013235742646aae78dd5000800991919190052999ab9a3370e9000001099191919191919191924ca666aae7c00452616357440046ae84004d5d10032999ab9a3370e900000109919191919191919191919191924ca666aae7c004526163574400ca666ae68cdc3a4000004264646464646464932999aab9f001149858d5d10032999ab9a3370e900000109919191919191924ca666aae7c004526163574400ca666ae68cdc3a400000426464a666ae68cdc39b8d001480e04c8c92653335573e0022930b1aba200316375c0026ae8400454ccd5cd19b87480080084c8c94ccd5cd19b87371a002901c0991924ca666aae7c00452616357440062c6eb8004d5d08008b1aab9e00235573a0026ea8004d5d08008a999ab9a3370e900100109919191919191919191924ca666aae7c00452616357440066eb4004d5d08009aba2003375a0026ae84004d5d10019bad001357420022c6aae78008d55ce8009baa001357420022a666ae68cdc3a4004004264932999aab9f00114985858d55cf0011aab9d00137540026ae84004d5d10032999ab9a3370e9000001099192999ab9a3370e6e340052038132324994ccd55cf8008a4c2c6ae8800c58dd70009aba100115333573466e1d2002002132325333573466e1cdc6800a407026464932999aab9f001149858d5d10018b1bae001357420022c6aae78008d55ce8009baa001357420022c6aae78008d55ce8009baa001357420022c6aae78008d55ce8009baa006133333222332323002233002002001230022330020020012253335573e002244a0022a666ae68cdd79aab9d357420020082600a6ae840044c008d5d10008009191118010019bad35573c00200e646eacd5d0991aba23235744646ae88c8d5d1191aba235744002002002002002646aae78dd50008009aba13235573c6ea80040109261635573c0046aae74004dd500101",
"cborHex": "59076a59076701000022223232325333573466e1d200200213232325333573466e1d20000021323232325333573466e1d200200214a02664646460044660040040024600446600400400244a666aae7c0045280a999ab9a3375e6ae8400400c528898011aba200135742002646eb0d5d0991aba235744646ae88c8d5d1191aba23235744646ae88d5d1000800800800800800991aab9e37540020026ae84c8d55cf1baa00100b35573c0046aae74004dd51aba13235573c6ea8004004d5d08008999991991119919180111980100100091801119801001000912999aab9f001122500115333573466ebcd55ce9aba10010041300535742002260046ae880040048c888c00800cdd69aab9e00100100a3237566ae84c8d5d1191aba23235744646ae88c8d5d11aba20010010010010013235573c6ea8004004d5d0991aab9e375400200e4930b1aab9e00235573a0026ea8c8c8c8c80294ccd5cd19b87480000084c8c8c8c8c8c8c92653335573e0022930b1aba20065333573466e1d20000021323232323232323232323232324994ccd55cf8008a4c2c6ae880194ccd5cd19b87480000084c8c8c8c8c8c8c92653335573e0022930b1aba20065333573466e1d20000021323232323232324994ccd55cf8008a4c2c6ae880194ccd5cd19b87480000084c8c94ccd5cd19b87371a002901c0991924ca666aae7c00452616357440062c6eb8004d5d08008a999ab9a3370e9001001099192999ab9a3370e6e340052038132324994ccd55cf8008a4c2c6ae8800c58dd70009aba10011635573c0046aae74004dd50009aba100115333573466e1d20020021323232323232323232324994ccd55cf8008a4c2c6ae8800cdd68009aba1001357440066eb4004d5d08009aba2003375a0026ae8400458d55cf0011aab9d00137540026ae8400454ccd5cd19b87480080084c92653335573e0022930b0b1aab9e00235573a0026ea8004d5d08009aba20065333573466e1d2000002132325333573466e1cdc6800a407026464932999aab9f001149858d5d10018b1bae001357420022a666ae68cdc3a400400426464a666ae68cdc39b8d001480e04c8c92653335573e0022930b1aba200316375c0026ae8400458d55cf0011aab9d00137540026ae8400458d55cf0011aab9d00137540026ae8400454ccd5cd19b87480080084c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c8c92653335573e0022930b1aba2002357420026ae880194ccd5cd19b87480000084c8c8c94ccd5cd299919ab9a00114a266e1c005200013370e002901c09919192999ab9a337126e340052040132324994ccd55cf8008a4c2c6ae8800c58dd70009aba1001357440082c6e34004dd70009aba100115333573466e1d20020021324994ccd55cf8008a4c2c2c6aae78008d55ce8009baa001357420026ae880194ccd5cd19b87480000084c8c8c94ccd5cd299919ab9a00114a266e1c005200013370e002901c09919192999ab9a337126e340052040132324994ccd55cf8008a4c2c6ae8800c58dd70009aba1001357440082c6e34004dd70009aba100115333573466e1d20020021324994ccd55cf8008a4c2c2c6aae78008d55ce8009baa001357420026ae8800cdd68009aba1001357440066eb4004d5d08009aba20065333573466e1d20000021323232323232324994ccd55cf8008a4c2c6ae880194ccd5cd19b87480000084c8c8c8c8c8c8c8c8c8c8c8c8c92653335573e0022930b1aba20065333573466e1d20000021323232323232324994ccd55cf8008a4c2c6ae880194ccd5cd19b87480000084c8c8c8c8c8c8c92653335573e0022930b1aba20065333573466e1d2000002132325333573466e1cdc6800a407026464932999aab9f001149858d5d10018b1bae001357420022a666ae68cdc3a400400426464a666ae68cdc39b8d001480e04c8c92653335573e0022930b1aba200316375c0026ae8400458d55cf0011aab9d00137540026ae8400454ccd5cd19b87480080084c8c8c8c8c8c8c8c8c8c92653335573e0022930b1aba2003375a0026ae84004d5d10019bad001357420026ae8800cdd68009aba10011635573c0046aae74004dd50009aba100115333573466e1d20020021324994ccd55cf8008a4c2c2c6aae78008d55ce8009baa001357420026ae880194ccd5cd19b87480000084c8c94ccd5cd19b87371a002901c0991924ca666aae7c00452616357440062c6eb8004d5d08008a999ab9a3370e9001001099192999ab9a3370e6e340052038132324994ccd55cf8008a4c2c6ae8800c58dd70009aba10011635573c0046aae74004dd50009aba10011635573c0046aae74004dd50009aba100115333573466e1d20020021324994ccd55cf8008a4c2c2c6aae78008d55ce8009baa001357420022c6aae78008d55ce8009baa00613333233222332323002233002002001230022330020020012253335573e002244a0022a666ae68cdd79aab9d357420020082600a6ae840044c008d5d10008009191118010019bad35573c00200200e646eacd5d0991aba23235744646ae88c8d5d1191aba235744002002002002002646aae78dd50008009aba13235573c6ea80040109261635573c0046aae74004dd500101",
"description": "Smart Handle Router",
"type": "PlutusScriptV2"
}
2 changes: 1 addition & 1 deletion compiled/smartHandleSimple.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion compiled/smartHandleStake.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

nixConfig = {
extra-experimental-features = [ "nix-command" "flakes" "ca-derivations" ];
extra-substituters = [ "https://cache.iog.io" "https://cache.zw3rk.com" ];
extra-substituters = [ "https://cache.iog.io" ];
extra-trusted-public-keys = [ "hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=" "loony-tools:pr9m4BkM/5/eSTZlkQyRt57Jz7OMBxNSUiMC4FkcNfk=" ];
allow-import-from-derivation = "true";
max-jobs = "auto";
Expand Down
96 changes: 0 additions & 96 deletions offchain/common.ts

This file was deleted.

40 changes: 0 additions & 40 deletions offchain/config.ts

This file was deleted.

20 changes: 0 additions & 20 deletions offchain/create-swap-order.ts

This file was deleted.

7 changes: 0 additions & 7 deletions offchain/deno.json

This file was deleted.

Loading

0 comments on commit 1641444

Please sign in to comment.