Skip to content

Commit

Permalink
feat(predicates): update axone-protocol/axoned predicates documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bot-anik committed Nov 1, 2024
1 parent d282795 commit 74f6ef1
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 30 deletions.
14 changes: 7 additions & 7 deletions predicates/bech32_address_2.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ bech32_address(Address, 'axone15wn30a9z4uc692s0kkx5fp5d4qfr3ac77gvjg4').

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Address"]
Expand Down Expand Up @@ -72,7 +72,7 @@ bech32_address(-(Hrp, Address), 'axone15wn30a9z4uc692s0kkx5fp5d4qfr3ac77gvjg4').

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Hrp", "Address"]
Expand Down Expand Up @@ -102,7 +102,7 @@ bech32_address(-(axone, Address), 'axone15wn30a9z4uc692s0kkx5fp5d4qfr3ac77gvjg4'

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Address"]
Expand All @@ -129,7 +129,7 @@ bech32_address(-('axone', [163,167,23,244,162,175,49,162,170,15,181,141,68,134,1

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Bech32"]
Expand Down Expand Up @@ -162,7 +162,7 @@ axone_addr('axone1p8u47en82gmzfm259y6z93r9qe63l25d858vqu').

``` yaml
height: 42
gas_used: 4141
gas_used: 3976
answer:
has_more: false
results:
Expand All @@ -188,7 +188,7 @@ bech32_address(Address, axoneincorrect).

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Address"]
Expand All @@ -215,7 +215,7 @@ bech32_address(-('axone', X), foo(bar)).

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["X"]
Expand Down
4 changes: 2 additions & 2 deletions predicates/block_height_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ block_height(Height).

``` yaml
height: 100
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Height"]
Expand Down Expand Up @@ -79,7 +79,7 @@ Height > 100.

``` yaml
height: 101
gas_used: 4141
gas_used: 3976
answer:
has_more: false
variables: ["Height"]
Expand Down
4 changes: 2 additions & 2 deletions predicates/block_time_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ block_time(Time).

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Time"]
Expand Down Expand Up @@ -80,7 +80,7 @@ Time > 1709550216.

``` yaml
height: 42
gas_used: 4141
gas_used: 3976
answer:
has_more: false
variables: ["Time"]
Expand Down
6 changes: 3 additions & 3 deletions predicates/consult_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ hello(Who).

``` yaml
height: 42
gas_used: 4143
gas_used: 3978
answer:
has_more: false
variables: ["Who"]
Expand Down Expand Up @@ -129,7 +129,7 @@ response: |

``` yaml
height: 42
gas_used: 4142
gas_used: 3977
answer:
has_more: false
variables: ["X"]
Expand Down Expand Up @@ -194,7 +194,7 @@ source_file(File).

``` yaml
height: 42
gas_used: 4141
gas_used: 3976
answer:
has_more: false
variables: ["File"]
Expand Down
16 changes: 8 additions & 8 deletions predicates/current_output_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Here are the steps of the scenario:
``` json
{
"limits": {
"max_user_output_size": "5"
"max_user_output_size": 5
}
}
```
Expand All @@ -61,7 +61,7 @@ write_char_to_user_output(x).

``` yaml
height: 42
gas_used: 4241
gas_used: 4043
answer:
has_more: false
variables:
Expand All @@ -83,7 +83,7 @@ Here are the steps of the scenario:
``` json
{
"limits": {
"max_user_output_size": "15"
"max_user_output_size": 15
}
}
```
Expand All @@ -108,7 +108,7 @@ log_message('Hello world!').

``` yaml
height: 42
gas_used: 4276
gas_used: 4045
answer:
has_more: false
variables:
Expand All @@ -131,7 +131,7 @@ Here are the steps of the scenario:
``` json
{
"limits": {
"max_user_output_size": "5"
"max_user_output_size": 5
}
}
```
Expand All @@ -155,7 +155,7 @@ log_message('Hello world!').

``` yaml
height: 42
gas_used: 4242
gas_used: 4044
answer:
has_more: false
variables:
Expand All @@ -179,7 +179,7 @@ Here are the steps of the scenario:
``` json
{
"limits": {
"max_user_output_size": "5"
"max_user_output_size": 5
}
}
```
Expand All @@ -205,7 +205,7 @@ log_message("Hello 🧙!").

``` yaml
height: 42
gas_used: 4263
gas_used: 4065
answer:
has_more: false
variables:
Expand Down
2 changes: 1 addition & 1 deletion predicates/open_3.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ open(

``` yaml
height: 42
gas_used: 4141
gas_used: 3976
answer:
has_more: false
variables:
Expand Down
14 changes: 7 additions & 7 deletions predicates/open_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ open(URI, read, _, []).

``` yaml
height: 42
gas_used: 4153
gas_used: 3988
answer:
has_more: false
variables: ["URI"]
Expand Down Expand Up @@ -152,7 +152,7 @@ read_resource('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08x

``` yaml
height: 42
gas_used: 4144
gas_used: 3979
answer:
has_more: false
variables: ["Chars"]
Expand Down Expand Up @@ -202,7 +202,7 @@ read_resource('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08x

``` yaml
height: 42
gas_used: 4144
gas_used: 3979
answer:
has_more: false
variables: ["Chars"]
Expand All @@ -229,7 +229,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Stream"]
Expand All @@ -255,7 +255,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Stream"]
Expand All @@ -281,7 +281,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Stream"]
Expand All @@ -306,7 +306,7 @@ open('cosmwasm:storage:axone15ekvz3qdter33mdnk98v8whv5qdr53yusksnfgc08xd26fpdn3t

``` yaml
height: 42
gas_used: 4140
gas_used: 3975
answer:
has_more: false
variables: ["Stream"]
Expand Down

0 comments on commit 74f6ef1

Please sign in to comment.