summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Guidarelli <ben.guidarelli@gmail.com>2021-12-20 18:36:26 -0500
committerGitHub <noreply@github.com>2021-12-20 18:36:26 -0500
commit6be3ffa4d2a0499b3c407475338327e758e22132 (patch)
tree42ccb469ebb7f77ab0c661092349d74809249f0e
parent0ad9900825f14538847851ed180efa0dbb4ef7df (diff)
Adding method pseudo op to readme (#3338)
-rw-r--r--data/transactions/logic/README.md2
-rw-r--r--data/transactions/logic/README_in.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/transactions/logic/README.md b/data/transactions/logic/README.md
index e1ca8efa1..49ca82780 100644
--- a/data/transactions/logic/README.md
+++ b/data/transactions/logic/README.md
@@ -487,7 +487,7 @@ Subsequent lines may contain other pragma declarations (i.e., `#pragma <some-spe
## Constants and Pseudo-Ops
-A few pseudo-ops simplify writing code. `int` and `byte` and `addr` followed by a constant record the constant to a `intcblock` or `bytecblock` at the beginning of code and insert an `intc` or `bytec` reference where the instruction appears to load that value. `addr` parses an Algorand account address base32 and converts it to a regular bytes constant.
+A few pseudo-ops simplify writing code. `int` and `byte` and `addr` and `method` followed by a constant record the constant to a `intcblock` or `bytecblock` at the beginning of code and insert an `intc` or `bytec` reference where the instruction appears to load that value. `addr` parses an Algorand account address base32 and converts it to a regular bytes constant. `method` is passed a method signature and takes the first 4 bytes of the hash to convert it to the standard method selector defined in [ARC4](https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0004.md)
`byte` constants are:
```
diff --git a/data/transactions/logic/README_in.md b/data/transactions/logic/README_in.md
index a70a2b45e..5d4e4084e 100644
--- a/data/transactions/logic/README_in.md
+++ b/data/transactions/logic/README_in.md
@@ -208,7 +208,7 @@ Subsequent lines may contain other pragma declarations (i.e., `#pragma <some-spe
## Constants and Pseudo-Ops
-A few pseudo-ops simplify writing code. `int` and `byte` and `addr` followed by a constant record the constant to a `intcblock` or `bytecblock` at the beginning of code and insert an `intc` or `bytec` reference where the instruction appears to load that value. `addr` parses an Algorand account address base32 and converts it to a regular bytes constant.
+A few pseudo-ops simplify writing code. `int` and `byte` and `addr` and `method` followed by a constant record the constant to a `intcblock` or `bytecblock` at the beginning of code and insert an `intc` or `bytec` reference where the instruction appears to load that value. `addr` parses an Algorand account address base32 and converts it to a regular bytes constant. `method` is passed a method signature and takes the first 4 bytes of the hash to convert it to the standard method selector defined in [ARC4](https://github.com/algorandfoundation/ARCs/blob/main/ARCs/arc-0004.md)
`byte` constants are:
```