contracting
contracting copied to clipboard
A subset of Python for developing smart contracts.
This is a subclass on the Driver to read the current state from the block service Mongo Tables. includes test cases.
For token swaps it would be very helpful to be able to copy `balances` from one token contract to another. I tried it out but it doesn't work. Token1 ```python...
I would like to request a function that is able to copy a hash with its data to another contract. Not ForeignHash but a real copy.
Closes #298
**Describe the bug** Defining a `ForeignHash` in a contract doesn't take in account the `default_value` of the original `Hash`. **To Reproduce** Steps to reproduce the behavior: 1. Create a new...
A difference between Ethereum and Lamden is that on Lamden you need to pay a fee for executing read-only functions of a contract. On Ethereum that's free since nodes can...
It would be really good to know which function called your own contract. Maybe you could add `ctx.function` which would return the contract that called you or `None` if it...