sol2ligo icon indicating copy to clipboard operation
sol2ligo copied to clipboard

⌨️ 🔮 Transpiler from Solidity to PascalLIGO language

Results 40 sol2ligo issues
Sort by recently updated
recently updated
newest added

input: pragma solidity ^0.5.11; contract Test { struct Person { address payable account; uint age; uint skill; uint bet; mapping (address => uint) referralRewards; } function test() public { Person...

Solution should provice type-static codegenerator for serialize/deserialize for specific type. Compatibility with solidity is better, but not mandatory (e.g. int8 emulation could be problematic) https://solidity.readthedocs.io/en/v0.5.3/abi-spec.html

pragma solidity ^0.5.11; contract Test { function test() public { byte b0; byte b1 = 0x01; bytes3 b2 = hex"42"; bytes3 b3 = 0x323232; bytes memory b4 = new bytes(0);...

contract Test { function test() public { uint sum; uint j; do { sum +=j; j++; } while (j < 10); } }

7 tests are left without bodies, which makes them "pending". Would be nice to resolve that status: 1) write their bodies, 2) make sure they're passed. - transfer - nested...

Something like this: https://github.com/hu2prod/scriptscript/blob/master/test/scriptscript.coffee

Sample: ``` pragma solidity ^0.5.0; contract C { function f() public { uint8 a = 2; uint8 b = 5; uint8 c = a - b; } } ``` Translated:...

**Sample 1 - nested struct** ``` pragma solidity ^0.5.0; contract C { struct S { uint8 v; } struct T { S s; } function f() public { T memory...