Skip to content

Commit

Permalink
Added transform parsing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhmakAS committed Jan 3, 2025
1 parent a33bbd4 commit f2ed55b
Show file tree
Hide file tree
Showing 9 changed files with 1,866 additions and 2 deletions.
1,257 changes: 1,257 additions & 0 deletions tests/data/transaction/get_transaction_install_contract.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions tests/data/transform/contract_package_v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"key": "hash-f1740bb7fecb174954378ced69b2ced7d0fedd0f37957f6bf00da27670a113ae",
"transform": "WriteContractPackage"
}
20 changes: 20 additions & 0 deletions tests/data/transform/contract_package_v2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"key": "hash-b71675d8cf701d9bc584cb5152706873110e5158b004fb966ed28be49c66b39a",
"kind": {
"Write": {
"ContractPackage": {
"access_key": "uref-5268245ec93d03335ed91c860ac48885fa6ee15156871458a84daa93b2d04f06-007",
"versions": [
{
"protocol_version_major": 2,
"contract_version": 1,
"contract_hash": "contract-94b21891ae273b17eeb6a1899a52ab952bcc4da2e19626563f88d6cf7ab6a2bd"
}
],
"disabled_versions": [],
"groups": [],
"lock_status": "Locked"
}
}
}
}
4 changes: 4 additions & 0 deletions tests/data/transform/contract_v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"key": "hash-000022b5e09c1c45c35b228f0be16864d7da3985c69ea3c4e16133e9f476e03e",
"transform": "WriteContract"
}
Loading

0 comments on commit f2ed55b

Please sign in to comment.