Alexander Slesarenko
Alexander Slesarenko
In this PR a new DirectCompiler implemented which takes typed AST (after SigmaTyper) and generates ErgoTree expression bypassing GraphBuilding.
A new Global.fromBigEndianBytes[TNum] method should be implemented which can parse big-endian two's complement binary representation of TNum type. The type TNum can be one of Byte, Short, Int, Long, BigInt....
This PR implements reduceTransactionInput, signReducedInput and generateCommitments in SigmaProver for both JVM and JS to support signing of multisig transactions. To that end, the following changes has been done: -...
The check of the argument using isValidIndex is needed for all Coll[T] implementations. This changes the semantics of the operations, thus can only be done in ErgoTree v1. This depend...
They should be implemented similar to `groupGenerator`. 1) as methods of Global type ``` def Some[T](x: T): Option[T] def None[T]: Option[T] ``` 2) they should be translated to SomeValue, NoneValue...
In this PR: - Global.serialize method is added - global operation serialize() is added and translated to Global.serializer method call - Global.serialize is properly compiled to ErgoTree (tests added) -...