I am getting the following error
> deployedSmartTokenContract.c();
Error: invalid solidity type!: safeuint
at web3-cmt.js:8993:15
at web3-cmt.js:9179:16
at map (<native code>)
at web3-cmt.js:9178:12
at web3-cmt.js:9151:25
at web3-cmt.js:12393:18
at web3-cmt.js:12416:16
at apply (<native code>)
at web3-cmt.js:12540:12
at <anonymous>:1:1
If I compile and deploy the the contract C and then call its function c as per the example at https://lity.readthedocs.io/en/latest/safeuint.html#example
pragma solidity ^0.4.22;
contract C{
function c() public pure returns (safeuint) {
safeuint a = 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
safeuint b = 0x8fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
return (a*b);
}
}
I am getting the following error
If I compile and deploy the the contract C and then call its function c as per the example at https://lity.readthedocs.io/en/latest/safeuint.html#example