Skip to content

Commit

Permalink
feat: start switching to blaze
Browse files Browse the repository at this point in the history
  • Loading branch information
rvcas committed Jul 22, 2024
1 parent 6e981d7 commit 10b79d4
Show file tree
Hide file tree
Showing 19 changed files with 1,682 additions and 545 deletions.
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/adapter-cloudflare": "^4.2.0",
"@sveltejs/kit": "^2.5.5",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tailwindcss/typography": "^0.5.10",
"@types/d3-scale": "^4.0.8",
"@types/d3-shape": "^3.1.6",
Expand All @@ -41,11 +41,11 @@
"drizzle-kit": "^0.22.8",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-svelte": "^2.36.0",
"postcss": "^8.4.35",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.12",
"svelte": "^5.0.0-next.1",
"svelte-check": "^3.6.9",
"tailwindcss": "^3.4.1",
"tslib": "^2.4.1",
Expand All @@ -62,6 +62,10 @@
"type": "module",
"dependencies": {
"@aiken-lang/merkle-patricia-forestry": "^1.0.1",
"@blaze-cardano/blueprint": "^0.0.1",
"@blaze-cardano/core": "^0.2.5",
"@blaze-cardano/sdk": "^0.0.32",
"@blaze-cardano/tx": "^0.0.25",
"@utxorpc/sdk": "^0.1.0",
"@utxorpc/spec": "^0.5.1",
"blakejs": "^1.2.1",
Expand All @@ -71,7 +75,6 @@
"date-fns": "^3.6.0",
"drizzle-orm": "^0.31.2",
"layerchart": "^0.34.0",
"lucid-cardano": "^0.10.7",
"postgres": "^3.4.4",
"ws": "^8.16.0"
},
Expand Down
59 changes: 56 additions & 3 deletions plutus.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"redeemer": {
"title": "redeemer",
"schema": {
"$ref": "#/definitions/Data"
"$ref": "#/definitions/hardfork~1hftypes~1NftForkAction"
}
},
"parameters": [
Expand All @@ -72,7 +72,7 @@
"datum": {
"title": "_datum",
"schema": {
"$ref": "#/definitions/Data"
"$ref": "#/definitions/simplerfork~1LockState"
}
},
"redeemer": {
Expand Down Expand Up @@ -681,6 +681,38 @@
}
]
},
"hardfork/hftypes/NftForkAction": {
"title": "NftForkAction",
"anyOf": [
{
"title": "HardFork",
"description": "This action is only run once and it sets up the ability to convert v1 tuna tokens to v2 tuna tokens",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "lock_output_index",
"$ref": "#/definitions/Int"
}
]
},
{
"title": "Lock",
"dataType": "constructor",
"index": 1,
"fields": [
{
"title": "lock_output_index",
"$ref": "#/definitions/Int"
},
{
"title": "locking_amount",
"$ref": "#/definitions/Int"
}
]
}
]
},
"new_spend/MineAction": {
"title": "MineAction",
"anyOf": [
Expand Down Expand Up @@ -755,6 +787,27 @@
}
]
},
"simplerfork/LockState": {
"title": "LockState",
"description": "Simplified fork with only 2 actions. HardFork current tuna v1 version to v2 version\n and Lock action to lock v1 tokens and mint v2 tokens. This is simpler version that does not have miners'\n input in the hardfork action. This is mainly because there are no current miners anyway.\n Ensures that maximum lockable tuna is equal to emitted tuna at block height",
"anyOf": [
{
"title": "LockState",
"dataType": "constructor",
"index": 0,
"fields": [
{
"title": "block_height",
"$ref": "#/definitions/Int"
},
{
"title": "current_locked_tuna",
"$ref": "#/definitions/Int"
}
]
}
]
},
"tunav1/MintingAction": {
"title": "MintingAction",
"anyOf": [
Expand Down Expand Up @@ -881,4 +934,4 @@
]
}
}
}
}
Loading

0 comments on commit 10b79d4

Please sign in to comment.