Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

[tezos] - Make tezos subscriber more generic #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
910 changes: 910 additions & 0 deletions blockchain/testdata/tezos/block_operations_with_internal_calls.json

Large diffs are not rendered by default.

200 changes: 200 additions & 0 deletions blockchain/testdata/tezos/contract_script_normalized.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
{
"code": [
{
"prim": "parameter",
"args": []
},
{
"prim": "storage",
"args": [
{
"prim": "pair",
"args": [
{
"prim": "pair",
"args": [
{
"prim": "pair",
"args": [
{
"prim": "bool",
"annots": [
"%active"
]
},
{
"prim": "address",
"annots": [
"%adminAddress"
]
}
]
},
{
"prim": "int",
"annots": [
"%minCancelTimeout"
]
},
{
"prim": "nat",
"annots": [
"%minPayment"
]
},
{
"prim": "address",
"annots": [
"%tokenAddress"
]
}
],
"annots": [
"%config"
]
},
{
"prim": "big_map",
"args": [
{
"prim": "bytes"
},
{
"prim": "pair",
"args": [
{
"prim": "nat",
"annots": [
"%payment"
]
},
{
"prim": "pair",
"args": [
{
"prim": "address",
"annots": [
"%callbackAddress"
]
},
{
"prim": "timestamp",
"annots": [
"%cancelTimeout"
]
},
{
"prim": "address",
"annots": [
"%clientAddress"
]
},
{
"prim": "nat",
"annots": [
"%id"
]
},
{
"prim": "string",
"annots": [
"%jobId"
]
},
{
"prim": "address",
"annots": [
"%oracleAddress"
]
},
{
"prim": "map",
"args": [
{
"prim": "string"
},
{
"prim": "or",
"args": [
{
"prim": "bytes",
"annots": [
"%bytes"
]
},
{
"prim": "or",
"args": [
{
"prim": "int",
"annots": [
"%int"
]
},
{
"prim": "string",
"annots": [
"%string"
]
}
]
}
]
}
],
"annots": [
"%parameters"
]
}
],
"annots": [
"%request"
]
}
]
}
],
"annots": [
"%requests"
]
}
]
}
]
},
{
"prim": "code",
"args": []
}
],
"storage": {
"prim": "Pair",
"args": [
[
{
"prim": "Pair",
"args": [
{
"prim": "True"
},
{
"bytes": "0000d3789f9f4223c271403bde738fd304691e796ee8"
}
]
},
{
"int": "5"
},
{
"int": "1"
},
{
"bytes": "019e5225d7e53fce0fe227ced8286460e91f78cd3e00"
}
],
{
"int": "6"
}
]
}
}
Loading