Files
fhevm-solidity/lib/Common.sol
Petar Ivanov c5a3c9a183 Remove the cast and delegate precompiles
Rationale is that cast is not yet supported and delegate is obsolete.

Furthermore, add a few minor style fixes.
2023-06-13 18:50:50 +03:00

15 lines
360 B
Solidity

// SPDX-License-Identifier: BSD-3-Clause-Clear
pragma solidity >=0.8.13 <0.9.0;
type euint8 is uint256;
type euint16 is uint256;
type euint32 is uint256;
library Common {
// Values used to communicate types to the runtime.
uint8 internal constant euint8_t = 0;
uint8 internal constant euint16_t = 1;
uint8 internal constant euint32_t = 2;
}