Rosco Kalis
Rosco Kalis
Right now I don't really want to add type inference to the language, as I think the time could be better spent on other things. So I don't want to...
Solidity uses the `constant` keyword in Solidity to indicate that a variable can't be changed ([Source](https://ethereum.stackexchange.com/questions/3737/can-you-create-a-constant-read-only-state-variable-in-solidity)). This can be added to CashScript as well. Shouldn't change anything about the compiler...
I just realised that we probably should add this modifier for tuple assignment as well. What do you think @nathanielCherian?
@nathanielCherian looks like we might need an array of modifiers after all 😬
After discussion on Telegram I realised that `OP_INPUTINDEX OP_UTXOBYTECODE` only pushes the locking script (not the redeem script). While `OP_ACTIVEBYTECODE` pushes the redeem script. So I'll need to include `OP_ACTIVEBYTECODE`...
In the past two weeks I've been looking into Authentication Templates more. When considering a CashScript source file, there is a number of things that can be generated and a...
Nice, that's a great example! I think this issue is just a sort of placeholder for some form of better SLP support. I don't have a very clear idea on...
You could probably have destructured assignment like this: ```solidity { bytes4 blockheight, bytes4 price } = message; ``` Or direct access llike this: ```solidity message.price ```
This could also be done for the SizeOp, SplitOp, and TupleIndexOp
I replaced SizeOp and SplitOp with Unary and Binary operator nodes.