File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -614,14 +614,6 @@ charging the calling contract. Note that this won't be visible in `Call.value`
614
614
in the ` init ` call of the new contract. It will be included in
615
615
` Contract.balance ` , however.
616
616
617
- #### poseidon
618
- ```
619
- Crypto.poseidon(x1 : int, x2 : int) : int
620
- ```
621
-
622
- Hash two integers (in the scalar field of BLS12-381) to another integer (in the scalar
623
- field of BLS12-281). This is a ZK/SNARK-friendly hash function.
624
-
625
617
The type ` 'c ` must be instantiated with a contract.
626
618
627
619
@@ -748,6 +740,15 @@ Chain.network\_id : string
748
740
The network id of the chain.
749
741
750
742
743
+ #### poseidon
744
+ ```
745
+ Crypto.poseidon(x1 : int, x2 : int) : int
746
+ ```
747
+
748
+ Hash two integers (in the scalar field of BLS12-381) to another integer (in the scalar
749
+ field of BLS12-281). This is a ZK/SNARK-friendly hash function.
750
+
751
+
751
752
##### spend
752
753
```
753
754
Chain.spend(to : address, amount : int) : unit
You can’t perform that action at this time.
0 commit comments