Skip to content

Commit

Permalink
[Ceres]: Update FATE documentation (operations, etc.) (#515)
Browse files Browse the repository at this point in the history
* Update FATE documentation with more CERES information

* Extend FATE op table with VM-version
  • Loading branch information
hanssv committed Jun 13, 2023
1 parent dd4a186 commit 7172e2c
Show file tree
Hide file tree
Showing 2 changed files with 221 additions and 181 deletions.
6 changes: 4 additions & 2 deletions contracts/contract_vms.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,11 @@ See [The AEVM](./aevm.md).
* `Chain.create`, `Chain.clone`, `Chain.bytecode_hash`, `Call.fee`
* Bug fixes
* Gas model adjustments
### FATE_02 -> FATE_03
### FATE\_02 -> FATE\_03
* Added operations:
* bitwise operations on integers (`band`, `bor`, `bxor`, `bnot`, `<<` and `>>`)
* Address.to_bytes - converting an address to its binary representation
* Address.to\_bytes - converting an address to its binary representation
* Int.mulmod - a combined multiplication and modulus operation for efficiency
* Crypto.poseidon - a ZK/SNARK friendly hash function
* Arbitrary sized binary arrays: `Bytes.split_any`, `Bytes.to_fixed_size`,
`Bytes.size`, `String.to_bytes`, and `Int.to_bytes`
Loading

0 comments on commit 7172e2c

Please sign in to comment.