diff --git a/plutus-core/plutus-core/src/PlutusCore/Default/Builtins.hs b/plutus-core/plutus-core/src/PlutusCore/Default/Builtins.hs index 682895dbafa..f09bc14acec 100644 --- a/plutus-core/plutus-core/src/PlutusCore/Default/Builtins.hs +++ b/plutus-core/plutus-core/src/PlutusCore/Default/Builtins.hs @@ -173,6 +173,1051 @@ data DefaultFun -- Ripemd_160 | Ripemd_160 | ExpModInteger + + -- Integers1 + | AddInteger1 + | SubtractInteger1 + | MultiplyInteger1 + | DivideInteger1 + | QuotientInteger1 + | RemainderInteger1 + | ModInteger1 + | EqualsInteger1 + | LessThanInteger1 + | LessThanEqualsInteger1 + -- Bytestrings1 + | AppendByteString1 + | ConsByteString1 + | SliceByteString1 + | LengthOfByteString1 + | IndexByteString1 + | EqualsByteString1 + | LessThanByteString1 + | LessThanEqualsByteString1 + -- Cryptography and hashes1 + | Sha2_2561 + | Sha3_2561 + | Blake2b_2561 + | VerifyEd25519Signature1 + | VerifyEcdsaSecp256k1Signature1 + | VerifySchnorrSecp256k1Signature1 + -- Strings1 + | AppendString1 + | EqualsString1 + | EncodeUtf81 + | DecodeUtf81 + -- Bool1 + | IfThenElse1 + -- Unit1 + | ChooseUnit1 + -- Tracing1 + | Trace1 + -- Pairs1 + | FstPair1 + | SndPair1 + -- Lists1 + | ChooseList1 + | MkCons1 + | HeadList1 + | TailList1 + | NullList1 + -- Data1 + -- See Note [Pattern matching on built-in types].1 + -- It is convenient to have a "choosing" function for a data type that has more than two1 + -- constructors to get pattern matching over it and we may end up having multiple such data1 + -- types, hence we include the name of the data type as a suffix.1 + | ChooseData1 + | ConstrData1 + | MapData1 + | ListData1 + | IData1 + | BData1 + | UnConstrData1 + | UnMapData1 + | UnListData1 + | UnIData1 + | UnBData1 + | EqualsData1 + | SerialiseData1 + -- Misc monomorphized constructors.1 + -- We could simply replace those with constants, but we use built-in functions for consistency1 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,1 + -- See Note [Representable built-in functions over polymorphic built-in types].1 + | MkPairData1 + | MkNilData1 + | MkNilPairData1 + -- BLS12_381 operations1 + -- G11 + | Bls12_381_G1_add1 + | Bls12_381_G1_neg1 + | Bls12_381_G1_scalarMul1 + | Bls12_381_G1_equal1 + | Bls12_381_G1_hashToGroup1 + | Bls12_381_G1_compress1 + | Bls12_381_G1_uncompress1 + -- G21 + | Bls12_381_G2_add1 + | Bls12_381_G2_neg1 + | Bls12_381_G2_scalarMul1 + | Bls12_381_G2_equal1 + | Bls12_381_G2_hashToGroup1 + | Bls12_381_G2_compress1 + | Bls12_381_G2_uncompress1 + -- Pairing1 + | Bls12_381_millerLoop1 + | Bls12_381_mulMlResult1 + | Bls12_381_finalVerify1 + -- Keccak_256, Blake2b_2241 + | Keccak_2561 + | Blake2b_2241 + -- Conversions1 + | IntegerToByteString1 + | ByteStringToInteger1 + -- Logical1 + | AndByteString1 + | OrByteString1 + | XorByteString1 + | ComplementByteString1 + | ReadBit1 + | WriteBits1 + | ReplicateByte1 + -- Bitwise1 + | ShiftByteString1 + | RotateByteString1 + | CountSetBits1 + | FindFirstSetBit1 + -- Ripemd_1601 + | Ripemd_1601 + | ExpModInteger1 + + -- Integers2 + | AddInteger2 + | SubtractInteger2 + | MultiplyInteger2 + | DivideInteger2 + | QuotientInteger2 + | RemainderInteger2 + | ModInteger2 + | EqualsInteger2 + | LessThanInteger2 + | LessThanEqualsInteger2 + -- Bytestrings2 + | AppendByteString2 + | ConsByteString2 + | SliceByteString2 + | LengthOfByteString2 + | IndexByteString2 + | EqualsByteString2 + | LessThanByteString2 + | LessThanEqualsByteString2 + -- Cryptography and hashes2 + | Sha2_2562 + | Sha3_2562 + | Blake2b_2562 + | VerifyEd25519Signature2 + | VerifyEcdsaSecp256k1Signature2 + | VerifySchnorrSecp256k1Signature2 + -- Strings2 + | AppendString2 + | EqualsString2 + | EncodeUtf82 + | DecodeUtf82 + -- Bool2 + | IfThenElse2 + -- Unit2 + | ChooseUnit2 + -- Tracing2 + | Trace2 + -- Pairs2 + | FstPair2 + | SndPair2 + -- Lists2 + | ChooseList2 + | MkCons2 + | HeadList2 + | TailList2 + | NullList2 + -- Data2 + -- See Note [Pattern matching on built-in types].2 + -- It is convenient to have a "choosing" function for a data type that has more than two2 + -- constructors to get pattern matching over it and we may end up having multiple such data2 + -- types, hence we include the name of the data type as a suffix.2 + | ChooseData2 + | ConstrData2 + | MapData2 + | ListData2 + | IData2 + | BData2 + | UnConstrData2 + | UnMapData2 + | UnListData2 + | UnIData2 + | UnBData2 + | EqualsData2 + | SerialiseData2 + -- Misc monomorphized constructors.2 + -- We could simply replace those with constants, but we use built-in functions for consistency2 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,2 + -- See Note [Representable built-in functions over polymorphic built-in types].2 + | MkPairData2 + | MkNilData2 + | MkNilPairData2 + -- BLS12_381 operations2 + -- G12 + | Bls12_381_G1_add2 + | Bls12_381_G1_neg2 + | Bls12_381_G1_scalarMul2 + | Bls12_381_G1_equal2 + | Bls12_381_G1_hashToGroup2 + | Bls12_381_G1_compress2 + | Bls12_381_G1_uncompress2 + -- G22 + | Bls12_381_G2_add2 + | Bls12_381_G2_neg2 + | Bls12_381_G2_scalarMul2 + | Bls12_381_G2_equal2 + | Bls12_381_G2_hashToGroup2 + | Bls12_381_G2_compress2 + | Bls12_381_G2_uncompress2 + -- Pairing2 + | Bls12_381_millerLoop2 + | Bls12_381_mulMlResult2 + | Bls12_381_finalVerify2 + -- Keccak_256, Blake2b_2242 + | Keccak_2562 + | Blake2b_2242 + -- Conversions2 + | IntegerToByteString2 + | ByteStringToInteger2 + -- Logical2 + | AndByteString2 + | OrByteString2 + | XorByteString2 + | ComplementByteString2 + | ReadBit2 + | WriteBits2 + | ReplicateByte2 + -- Bitwise2 + | ShiftByteString2 + | RotateByteString2 + | CountSetBits2 + | FindFirstSetBit2 + -- Ripemd_1602 + | Ripemd_1602 + | ExpModInteger2 + + -- Integers3 + | AddInteger3 + | SubtractInteger3 + | MultiplyInteger3 + | DivideInteger3 + | QuotientInteger3 + | RemainderInteger3 + | ModInteger3 + | EqualsInteger3 + | LessThanInteger3 + | LessThanEqualsInteger3 + -- Bytestrings3 + | AppendByteString3 + | ConsByteString3 + | SliceByteString3 + | LengthOfByteString3 + | IndexByteString3 + | EqualsByteString3 + | LessThanByteString3 + | LessThanEqualsByteString3 + -- Cryptography and hashes3 + | Sha2_2563 + | Sha3_2563 + | Blake2b_2563 + | VerifyEd25519Signature3 + | VerifyEcdsaSecp256k1Signature3 + | VerifySchnorrSecp256k1Signature3 + -- Strings3 + | AppendString3 + | EqualsString3 + | EncodeUtf83 + | DecodeUtf83 + -- Bool3 + | IfThenElse3 + -- Unit3 + | ChooseUnit3 + -- Tracing3 + | Trace3 + -- Pairs3 + | FstPair3 + | SndPair3 + -- Lists3 + | ChooseList3 + | MkCons3 + | HeadList3 + | TailList3 + | NullList3 + -- Data3 + -- See Note [Pattern matching on built-in types].3 + -- It is convenient to have a "choosing" function for a data type that has more than two3 + -- constructors to get pattern matching over it and we may end up having multiple such data3 + -- types, hence we include the name of the data type as a suffix.3 + | ChooseData3 + | ConstrData3 + | MapData3 + | ListData3 + | IData3 + | BData3 + | UnConstrData3 + | UnMapData3 + | UnListData3 + | UnIData3 + | UnBData3 + | EqualsData3 + | SerialiseData3 + -- Misc monomorphized constructors.3 + -- We could simply replace those with constants, but we use built-in functions for consistency3 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,3 + -- See Note [Representable built-in functions over polymorphic built-in types].3 + | MkPairData3 + | MkNilData3 + | MkNilPairData3 + -- BLS12_381 operations3 + -- G13 + | Bls12_381_G1_add3 + | Bls12_381_G1_neg3 + | Bls12_381_G1_scalarMul3 + | Bls12_381_G1_equal3 + | Bls12_381_G1_hashToGroup3 + | Bls12_381_G1_compress3 + | Bls12_381_G1_uncompress3 + -- G23 + | Bls12_381_G2_add3 + | Bls12_381_G2_neg3 + | Bls12_381_G2_scalarMul3 + | Bls12_381_G2_equal3 + | Bls12_381_G2_hashToGroup3 + | Bls12_381_G2_compress3 + | Bls12_381_G2_uncompress3 + -- Pairing3 + | Bls12_381_millerLoop3 + | Bls12_381_mulMlResult3 + | Bls12_381_finalVerify3 + -- Keccak_256, Blake2b_2243 + | Keccak_2563 + | Blake2b_2243 + -- Conversions3 + | IntegerToByteString3 + | ByteStringToInteger3 + -- Logical3 + | AndByteString3 + | OrByteString3 + | XorByteString3 + | ComplementByteString3 + | ReadBit3 + | WriteBits3 + | ReplicateByte3 + -- Bitwise3 + | ShiftByteString3 + | RotateByteString3 + | CountSetBits3 + | FindFirstSetBit3 + -- Ripemd_1603 + | Ripemd_1603 + | ExpModInteger3 + + -- Integers4 + | AddInteger4 + | SubtractInteger4 + | MultiplyInteger4 + | DivideInteger4 + | QuotientInteger4 + | RemainderInteger4 + | ModInteger4 + | EqualsInteger4 + | LessThanInteger4 + | LessThanEqualsInteger4 + -- Bytestrings4 + | AppendByteString4 + | ConsByteString4 + | SliceByteString4 + | LengthOfByteString4 + | IndexByteString4 + | EqualsByteString4 + | LessThanByteString4 + | LessThanEqualsByteString4 + -- Cryptography and hashes4 + | Sha2_2564 + | Sha3_2564 + | Blake2b_2564 + | VerifyEd25519Signature4 + | VerifyEcdsaSecp256k1Signature4 + | VerifySchnorrSecp256k1Signature4 + -- Strings4 + | AppendString4 + | EqualsString4 + | EncodeUtf84 + | DecodeUtf84 + -- Bool4 + | IfThenElse4 + -- Unit4 + | ChooseUnit4 + -- Tracing4 + | Trace4 + -- Pairs4 + | FstPair4 + | SndPair4 + -- Lists4 + | ChooseList4 + | MkCons4 + | HeadList4 + | TailList4 + | NullList4 + -- Data4 + -- See Note [Pattern matching on built-in types].4 + -- It is convenient to have a "choosing" function for a data type that has more than two4 + -- constructors to get pattern matching over it and we may end up having multiple such data4 + -- types, hence we include the name of the data type as a suffix.4 + | ChooseData4 + | ConstrData4 + | MapData4 + | ListData4 + | IData4 + | BData4 + | UnConstrData4 + | UnMapData4 + | UnListData4 + | UnIData4 + | UnBData4 + | EqualsData4 + | SerialiseData4 + -- Misc monomorphized constructors.4 + -- We could simply replace those with constants, but we use built-in functions for consistency4 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,4 + -- See Note [Representable built-in functions over polymorphic built-in types].4 + | MkPairData4 + | MkNilData4 + | MkNilPairData4 + -- BLS12_381 operations4 + -- G14 + | Bls12_381_G1_add4 + | Bls12_381_G1_neg4 + | Bls12_381_G1_scalarMul4 + | Bls12_381_G1_equal4 + | Bls12_381_G1_hashToGroup4 + | Bls12_381_G1_compress4 + | Bls12_381_G1_uncompress4 + -- G24 + | Bls12_381_G2_add4 + | Bls12_381_G2_neg4 + | Bls12_381_G2_scalarMul4 + | Bls12_381_G2_equal4 + | Bls12_381_G2_hashToGroup4 + | Bls12_381_G2_compress4 + | Bls12_381_G2_uncompress4 + -- Pairing4 + | Bls12_381_millerLoop4 + | Bls12_381_mulMlResult4 + | Bls12_381_finalVerify4 + -- Keccak_256, Blake2b_2244 + | Keccak_2564 + | Blake2b_2244 + -- Conversions4 + | IntegerToByteString4 + | ByteStringToInteger4 + -- Logical4 + | AndByteString4 + | OrByteString4 + | XorByteString4 + | ComplementByteString4 + | ReadBit4 + | WriteBits4 + | ReplicateByte4 + -- Bitwise4 + | ShiftByteString4 + | RotateByteString4 + | CountSetBits4 + | FindFirstSetBit4 + -- Ripemd_1604 + | Ripemd_1604 + | ExpModInteger4 + + -- Integers5 + | AddInteger5 + | SubtractInteger5 + | MultiplyInteger5 + | DivideInteger5 + | QuotientInteger5 + | RemainderInteger5 + | ModInteger5 + | EqualsInteger5 + | LessThanInteger5 + | LessThanEqualsInteger5 + -- Bytestrings5 + | AppendByteString5 + | ConsByteString5 + | SliceByteString5 + | LengthOfByteString5 + | IndexByteString5 + | EqualsByteString5 + | LessThanByteString5 + | LessThanEqualsByteString5 + -- Cryptography and hashes5 + | Sha2_2565 + | Sha3_2565 + | Blake2b_2565 + | VerifyEd25519Signature5 + | VerifyEcdsaSecp256k1Signature5 + | VerifySchnorrSecp256k1Signature5 + -- Strings5 + | AppendString5 + | EqualsString5 + | EncodeUtf85 + | DecodeUtf85 + -- Bool5 + | IfThenElse5 + -- Unit5 + | ChooseUnit5 + -- Tracing5 + | Trace5 + -- Pairs5 + | FstPair5 + | SndPair5 + -- Lists5 + | ChooseList5 + | MkCons5 + | HeadList5 + | TailList5 + | NullList5 + -- Data5 + -- See Note [Pattern matching on built-in types].5 + -- It is convenient to have a "choosing" function for a data type that has more than two5 + -- constructors to get pattern matching over it and we may end up having multiple such data5 + -- types, hence we include the name of the data type as a suffix.5 + | ChooseData5 + | ConstrData5 + | MapData5 + | ListData5 + | IData5 + | BData5 + | UnConstrData5 + | UnMapData5 + | UnListData5 + | UnIData5 + | UnBData5 + | EqualsData5 + | SerialiseData5 + -- Misc monomorphized constructors.5 + -- We could simply replace those with constants, but we use built-in functions for consistency5 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,5 + -- See Note [Representable built-in functions over polymorphic built-in types].5 + | MkPairData5 + | MkNilData5 + | MkNilPairData5 + -- BLS12_381 operations5 + -- G15 + | Bls12_381_G1_add5 + | Bls12_381_G1_neg5 + | Bls12_381_G1_scalarMul5 + | Bls12_381_G1_equal5 + | Bls12_381_G1_hashToGroup5 + | Bls12_381_G1_compress5 + | Bls12_381_G1_uncompress5 + -- G25 + | Bls12_381_G2_add5 + | Bls12_381_G2_neg5 + | Bls12_381_G2_scalarMul5 + | Bls12_381_G2_equal5 + | Bls12_381_G2_hashToGroup5 + | Bls12_381_G2_compress5 + | Bls12_381_G2_uncompress5 + -- Pairing5 + | Bls12_381_millerLoop5 + | Bls12_381_mulMlResult5 + | Bls12_381_finalVerify5 + -- Keccak_256, Blake2b_2245 + | Keccak_2565 + | Blake2b_2245 + -- Conversions5 + | IntegerToByteString5 + | ByteStringToInteger5 + -- Logical5 + | AndByteString5 + | OrByteString5 + | XorByteString5 + | ComplementByteString5 + | ReadBit5 + | WriteBits5 + | ReplicateByte5 + -- Bitwise5 + | ShiftByteString5 + | RotateByteString5 + | CountSetBits5 + | FindFirstSetBit5 + -- Ripemd_1605 + | Ripemd_1605 + | ExpModInteger5 + + -- Integers6 + | AddInteger6 + | SubtractInteger6 + | MultiplyInteger6 + | DivideInteger6 + | QuotientInteger6 + | RemainderInteger6 + | ModInteger6 + | EqualsInteger6 + | LessThanInteger6 + | LessThanEqualsInteger6 + -- Bytestrings6 + | AppendByteString6 + | ConsByteString6 + | SliceByteString6 + | LengthOfByteString6 + | IndexByteString6 + | EqualsByteString6 + | LessThanByteString6 + | LessThanEqualsByteString6 + -- Cryptography and hashes6 + | Sha2_2566 + | Sha3_2566 + | Blake2b_2566 + | VerifyEd25519Signature6 + | VerifyEcdsaSecp256k1Signature6 + | VerifySchnorrSecp256k1Signature6 + -- Strings6 + | AppendString6 + | EqualsString6 + | EncodeUtf86 + | DecodeUtf86 + -- Bool6 + | IfThenElse6 + -- Unit6 + | ChooseUnit6 + -- Tracing6 + | Trace6 + -- Pairs6 + | FstPair6 + | SndPair6 + -- Lists6 + | ChooseList6 + | MkCons6 + | HeadList6 + | TailList6 + | NullList6 + -- Data6 + -- See Note [Pattern matching on built-in types].6 + -- It is convenient to have a "choosing" function for a data type that has more than two6 + -- constructors to get pattern matching over it and we may end up having multiple such data6 + -- types, hence we include the name of the data type as a suffix.6 + | ChooseData6 + | ConstrData6 + | MapData6 + | ListData6 + | IData6 + | BData6 + | UnConstrData6 + | UnMapData6 + | UnListData6 + | UnIData6 + | UnBData6 + | EqualsData6 + | SerialiseData6 + -- Misc monomorphized constructors.6 + -- We could simply replace those with constants, but we use built-in functions for consistency6 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,6 + -- See Note [Representable built-in functions over polymorphic built-in types].6 + | MkPairData6 + | MkNilData6 + | MkNilPairData6 + -- BLS12_381 operations6 + -- G16 + | Bls12_381_G1_add6 + | Bls12_381_G1_neg6 + | Bls12_381_G1_scalarMul6 + | Bls12_381_G1_equal6 + | Bls12_381_G1_hashToGroup6 + | Bls12_381_G1_compress6 + | Bls12_381_G1_uncompress6 + -- G26 + | Bls12_381_G2_add6 + | Bls12_381_G2_neg6 + | Bls12_381_G2_scalarMul6 + | Bls12_381_G2_equal6 + | Bls12_381_G2_hashToGroup6 + | Bls12_381_G2_compress6 + | Bls12_381_G2_uncompress6 + -- Pairing6 + | Bls12_381_millerLoop6 + | Bls12_381_mulMlResult6 + | Bls12_381_finalVerify6 + -- Keccak_256, Blake2b_2246 + | Keccak_2566 + | Blake2b_2246 + -- Conversions6 + | IntegerToByteString6 + | ByteStringToInteger6 + -- Logical6 + | AndByteString6 + | OrByteString6 + | XorByteString6 + | ComplementByteString6 + | ReadBit6 + | WriteBits6 + | ReplicateByte6 + -- Bitwise6 + | ShiftByteString6 + | RotateByteString6 + | CountSetBits6 + | FindFirstSetBit6 + -- Ripemd_1606 + | Ripemd_1606 + | ExpModInteger6 + + -- Integers7 + | AddInteger7 + | SubtractInteger7 + | MultiplyInteger7 + | DivideInteger7 + | QuotientInteger7 + | RemainderInteger7 + | ModInteger7 + | EqualsInteger7 + | LessThanInteger7 + | LessThanEqualsInteger7 + -- Bytestrings7 + | AppendByteString7 + | ConsByteString7 + | SliceByteString7 + | LengthOfByteString7 + | IndexByteString7 + | EqualsByteString7 + | LessThanByteString7 + | LessThanEqualsByteString7 + -- Cryptography and hashes7 + | Sha2_2567 + | Sha3_2567 + | Blake2b_2567 + | VerifyEd25519Signature7 + | VerifyEcdsaSecp256k1Signature7 + | VerifySchnorrSecp256k1Signature7 + -- Strings7 + | AppendString7 + | EqualsString7 + | EncodeUtf87 + | DecodeUtf87 + -- Bool7 + | IfThenElse7 + -- Unit7 + | ChooseUnit7 + -- Tracing7 + | Trace7 + -- Pairs7 + | FstPair7 + | SndPair7 + -- Lists7 + | ChooseList7 + | MkCons7 + | HeadList7 + | TailList7 + | NullList7 + -- Data7 + -- See Note [Pattern matching on built-in types].7 + -- It is convenient to have a "choosing" function for a data type that has more than two7 + -- constructors to get pattern matching over it and we may end up having multiple such data7 + -- types, hence we include the name of the data type as a suffix.7 + | ChooseData7 + | ConstrData7 + | MapData7 + | ListData7 + | IData7 + | BData7 + | UnConstrData7 + | UnMapData7 + | UnListData7 + | UnIData7 + | UnBData7 + | EqualsData7 + | SerialiseData7 + -- Misc monomorphized constructors.7 + -- We could simply replace those with constants, but we use built-in functions for consistency7 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,7 + -- See Note [Representable built-in functions over polymorphic built-in types].7 + | MkPairData7 + | MkNilData7 + | MkNilPairData7 + -- BLS12_381 operations7 + -- G17 + | Bls12_381_G1_add7 + | Bls12_381_G1_neg7 + | Bls12_381_G1_scalarMul7 + | Bls12_381_G1_equal7 + | Bls12_381_G1_hashToGroup7 + | Bls12_381_G1_compress7 + | Bls12_381_G1_uncompress7 + -- G27 + | Bls12_381_G2_add7 + | Bls12_381_G2_neg7 + | Bls12_381_G2_scalarMul7 + | Bls12_381_G2_equal7 + | Bls12_381_G2_hashToGroup7 + | Bls12_381_G2_compress7 + | Bls12_381_G2_uncompress7 + -- Pairing7 + | Bls12_381_millerLoop7 + | Bls12_381_mulMlResult7 + | Bls12_381_finalVerify7 + -- Keccak_256, Blake2b_2247 + | Keccak_2567 + | Blake2b_2247 + -- Conversions7 + | IntegerToByteString7 + | ByteStringToInteger7 + -- Logical7 + | AndByteString7 + | OrByteString7 + | XorByteString7 + | ComplementByteString7 + | ReadBit7 + | WriteBits7 + | ReplicateByte7 + -- Bitwise7 + | ShiftByteString7 + | RotateByteString7 + | CountSetBits7 + | FindFirstSetBit7 + -- Ripemd_1607 + | Ripemd_1607 + | ExpModInteger7 + + -- Integers8 + | AddInteger8 + | SubtractInteger8 + | MultiplyInteger8 + | DivideInteger8 + | QuotientInteger8 + | RemainderInteger8 + | ModInteger8 + | EqualsInteger8 + | LessThanInteger8 + | LessThanEqualsInteger8 + -- Bytestrings8 + | AppendByteString8 + | ConsByteString8 + | SliceByteString8 + | LengthOfByteString8 + | IndexByteString8 + | EqualsByteString8 + | LessThanByteString8 + | LessThanEqualsByteString8 + -- Cryptography and hashes8 + | Sha2_2568 + | Sha3_2568 + | Blake2b_2568 + | VerifyEd25519Signature8 + | VerifyEcdsaSecp256k1Signature8 + | VerifySchnorrSecp256k1Signature8 + -- Strings8 + | AppendString8 + | EqualsString8 + | EncodeUtf88 + | DecodeUtf88 + -- Bool8 + | IfThenElse8 + -- Unit8 + | ChooseUnit8 + -- Tracing8 + | Trace8 + -- Pairs8 + | FstPair8 + | SndPair8 + -- Lists8 + | ChooseList8 + | MkCons8 + | HeadList8 + | TailList8 + | NullList8 + -- Data8 + -- See Note [Pattern matching on built-in types].8 + -- It is convenient to have a "choosing" function for a data type that has more than two8 + -- constructors to get pattern matching over it and we may end up having multiple such data8 + -- types, hence we include the name of the data type as a suffix.8 + | ChooseData8 + | ConstrData8 + | MapData8 + | ListData8 + | IData8 + | BData8 + | UnConstrData8 + | UnMapData8 + | UnListData8 + | UnIData8 + | UnBData8 + | EqualsData8 + | SerialiseData8 + -- Misc monomorphized constructors.8 + -- We could simply replace those with constants, but we use built-in functions for consistency8 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,8 + -- See Note [Representable built-in functions over polymorphic built-in types].8 + | MkPairData8 + | MkNilData8 + | MkNilPairData8 + -- BLS12_381 operations8 + -- G18 + | Bls12_381_G1_add8 + | Bls12_381_G1_neg8 + | Bls12_381_G1_scalarMul8 + | Bls12_381_G1_equal8 + | Bls12_381_G1_hashToGroup8 + | Bls12_381_G1_compress8 + | Bls12_381_G1_uncompress8 + -- G28 + | Bls12_381_G2_add8 + | Bls12_381_G2_neg8 + | Bls12_381_G2_scalarMul8 + | Bls12_381_G2_equal8 + | Bls12_381_G2_hashToGroup8 + | Bls12_381_G2_compress8 + | Bls12_381_G2_uncompress8 + -- Pairing8 + | Bls12_381_millerLoop8 + | Bls12_381_mulMlResult8 + | Bls12_381_finalVerify8 + -- Keccak_256, Blake2b_2248 + | Keccak_2568 + | Blake2b_2248 + -- Conversions8 + | IntegerToByteString8 + | ByteStringToInteger8 + -- Logical8 + | AndByteString8 + | OrByteString8 + | XorByteString8 + | ComplementByteString8 + | ReadBit8 + | WriteBits8 + | ReplicateByte8 + -- Bitwise8 + | ShiftByteString8 + | RotateByteString8 + | CountSetBits8 + | FindFirstSetBit8 + -- Ripemd_1608 + | Ripemd_1608 + | ExpModInteger8 + + -- Integers9 + | AddInteger9 + | SubtractInteger9 + | MultiplyInteger9 + | DivideInteger9 + | QuotientInteger9 + | RemainderInteger9 + | ModInteger9 + | EqualsInteger9 + | LessThanInteger9 + | LessThanEqualsInteger9 + -- Bytestrings9 + | AppendByteString9 + | ConsByteString9 + | SliceByteString9 + | LengthOfByteString9 + | IndexByteString9 + | EqualsByteString9 + | LessThanByteString9 + | LessThanEqualsByteString9 + -- Cryptography and hashes9 + | Sha2_2569 + | Sha3_2569 + | Blake2b_2569 + | VerifyEd25519Signature9 + | VerifyEcdsaSecp256k1Signature9 + | VerifySchnorrSecp256k1Signature9 + -- Strings9 + | AppendString9 + | EqualsString9 + | EncodeUtf89 + | DecodeUtf89 + -- Bool9 + | IfThenElse9 + -- Unit9 + | ChooseUnit9 + -- Tracing9 + | Trace9 + -- Pairs9 + | FstPair9 + | SndPair9 + -- Lists9 + | ChooseList9 + | MkCons9 + | HeadList9 + | TailList9 + | NullList9 + -- Data9 + -- See Note [Pattern matching on built-in types].9 + -- It is convenient to have a "choosing" function for a data type that has more than two9 + -- constructors to get pattern matching over it and we may end up having multiple such data9 + -- types, hence we include the name of the data type as a suffix.9 + | ChooseData9 + | ConstrData9 + | MapData9 + | ListData9 + | IData9 + | BData9 + | UnConstrData9 + | UnMapData9 + | UnListData9 + | UnIData9 + | UnBData9 + | EqualsData9 + | SerialiseData9 + -- Misc monomorphized constructors.9 + -- We could simply replace those with constants, but we use built-in functions for consistency9 + -- with monomorphic built-in types. Polymorphic built-in constructors are generally problematic,9 + -- See Note [Representable built-in functions over polymorphic built-in types].9 + | MkPairData9 + | MkNilData9 + | MkNilPairData9 + -- BLS12_381 operations9 + -- G19 + | Bls12_381_G1_add9 + | Bls12_381_G1_neg9 + | Bls12_381_G1_scalarMul9 + | Bls12_381_G1_equal9 + | Bls12_381_G1_hashToGroup9 + | Bls12_381_G1_compress9 + | Bls12_381_G1_uncompress9 + -- G29 + | Bls12_381_G2_add9 + | Bls12_381_G2_neg9 + | Bls12_381_G2_scalarMul9 + | Bls12_381_G2_equal9 + | Bls12_381_G2_hashToGroup9 + | Bls12_381_G2_compress9 + | Bls12_381_G2_uncompress9 + -- Pairing9 + | Bls12_381_millerLoop9 + | Bls12_381_mulMlResult9 + | Bls12_381_finalVerify9 + -- Keccak_256, Blake2b_2249 + | Keccak_2569 + | Blake2b_2249 + -- Conversions9 + | IntegerToByteString9 + | ByteStringToInteger9 + -- Logical9 + | AndByteString9 + | OrByteString9 + | XorByteString9 + | ComplementByteString9 + | ReadBit9 + | WriteBits9 + | ReplicateByte9 + -- Bitwise9 + | ShiftByteString9 + | RotateByteString9 + | CountSetBits9 + | FindFirstSetBit9 + -- Ripemd_1609 + | Ripemd_1609 + | ExpModInteger9 + deriving stock (Show, Eq, Ord, Enum, Bounded, Generic, Ix) deriving anyclass (NFData, Hashable, PrettyBy PrettyConfigPlc) @@ -2042,6 +3087,7863 @@ instance uni ~ DefaultUni => ToBuiltinMeaning uni DefaultFun where expModIntegerDenotation (runCostingFunThreeArguments . paramExpModInteger) + toBuiltinMeaning _semvar AddInteger1 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger1 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger1 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger1 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger1 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger1 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger1 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger1 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger1 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger1 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString1 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString1 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString1 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString1 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString1 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString1 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString1 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString1 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2561 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2561 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2561 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature1 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature1 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature1 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString1 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString1 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf81 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf81 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse1 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit1 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace1 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair1 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair1 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList1 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons1 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList1 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList1 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList1 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData1 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData1 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData1 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData1 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData1 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData1 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData1 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData1 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData1 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData1 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData1 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData1 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData1 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData1 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData1 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData1 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add1 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg1 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul1 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress1 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress1 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup1 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal1 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add1 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg1 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul1 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress1 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress1 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup1 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal1 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop1 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult1 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify1 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2561 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2241 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString1 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger1 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString1 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString1 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString1 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString1 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit1 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits1 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte1 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString1 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString1 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits1 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit1 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1601 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger1 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger2 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger2 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger2 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger2 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger2 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger2 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger2 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger2 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger2 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger2 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString2 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString2 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString2 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString2 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString2 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString2 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString2 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString2 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2562 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2562 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2562 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature2 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature2 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature2 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString2 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString2 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf82 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf82 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse2 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit2 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace2 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair2 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair2 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList2 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons2 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList2 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList2 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList2 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData2 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData2 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData2 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData2 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData2 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData2 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData2 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData2 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData2 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData2 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData2 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData2 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData2 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData2 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData2 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData2 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add2 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg2 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul2 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress2 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress2 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup2 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal2 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add2 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg2 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul2 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress2 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress2 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup2 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal2 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop2 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult2 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify2 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2562 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2242 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString2 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger2 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString2 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString2 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString2 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString2 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit2 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits2 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte2 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString2 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString2 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits2 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit2 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1602 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger2 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger3 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger3 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger3 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger3 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger3 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger3 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger3 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger3 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger3 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger3 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString3 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString3 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString3 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString3 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString3 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString3 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString3 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString3 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2563 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2563 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2563 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature3 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature3 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature3 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString3 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString3 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf83 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf83 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse3 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit3 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace3 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair3 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair3 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList3 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons3 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList3 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList3 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList3 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData3 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData3 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData3 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData3 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData3 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData3 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData3 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData3 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData3 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData3 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData3 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData3 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData3 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData3 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData3 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData3 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add3 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg3 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul3 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress3 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress3 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup3 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal3 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add3 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg3 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul3 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress3 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress3 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup3 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal3 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop3 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult3 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify3 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2563 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2243 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString3 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger3 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString3 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString3 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString3 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString3 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit3 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits3 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte3 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString3 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString3 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits3 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit3 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1603 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger3 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger4 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger4 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger4 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger4 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger4 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger4 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger4 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger4 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger4 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger4 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString4 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString4 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString4 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString4 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString4 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString4 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString4 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString4 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2564 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2564 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2564 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature4 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature4 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature4 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString4 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString4 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf84 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf84 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse4 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit4 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace4 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair4 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair4 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList4 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons4 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList4 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList4 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList4 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData4 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData4 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData4 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData4 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData4 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData4 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData4 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData4 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData4 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData4 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData4 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData4 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData4 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData4 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData4 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData4 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add4 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg4 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul4 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress4 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress4 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup4 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal4 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add4 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg4 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul4 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress4 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress4 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup4 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal4 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop4 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult4 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify4 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2564 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2244 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString4 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger4 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString4 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString4 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString4 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString4 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit4 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits4 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte4 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString4 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString4 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits4 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit4 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1604 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger4 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger5 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger5 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger5 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger5 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger5 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger5 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger5 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger5 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger5 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger5 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString5 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString5 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString5 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString5 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString5 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString5 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString5 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString5 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2565 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2565 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2565 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature5 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature5 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature5 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString5 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString5 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf85 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf85 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse5 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit5 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace5 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair5 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair5 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList5 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons5 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList5 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList5 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList5 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData5 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData5 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData5 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData5 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData5 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData5 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData5 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData5 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData5 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData5 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData5 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData5 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData5 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData5 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData5 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData5 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add5 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg5 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul5 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress5 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress5 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup5 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal5 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add5 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg5 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul5 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress5 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress5 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup5 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal5 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop5 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult5 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify5 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2565 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2245 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString5 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger5 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString5 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString5 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString5 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString5 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit5 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits5 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte5 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString5 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString5 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits5 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit5 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1605 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger5 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger6 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger6 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger6 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger6 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger6 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger6 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger6 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger6 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger6 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger6 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString6 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString6 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString6 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString6 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString6 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString6 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString6 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString6 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2566 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2566 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2566 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature6 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature6 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature6 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString6 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString6 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf86 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf86 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse6 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit6 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace6 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair6 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair6 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList6 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons6 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList6 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList6 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList6 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData6 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData6 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData6 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData6 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData6 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData6 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData6 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData6 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData6 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData6 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData6 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData6 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData6 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData6 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData6 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData6 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add6 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg6 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul6 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress6 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress6 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup6 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal6 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add6 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg6 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul6 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress6 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress6 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup6 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal6 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop6 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult6 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify6 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2566 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2246 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString6 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger6 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString6 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString6 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString6 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString6 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit6 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits6 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte6 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString6 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString6 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits6 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit6 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1606 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger6 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger7 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger7 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger7 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger7 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger7 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger7 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger7 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger7 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger7 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger7 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString7 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString7 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString7 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString7 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString7 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString7 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString7 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString7 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2567 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2567 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2567 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature7 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature7 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature7 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString7 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString7 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf87 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf87 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse7 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit7 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace7 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair7 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair7 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList7 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons7 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList7 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList7 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList7 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData7 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData7 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData7 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData7 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData7 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData7 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData7 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData7 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData7 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData7 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData7 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData7 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData7 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData7 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData7 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData7 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add7 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg7 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul7 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress7 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress7 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup7 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal7 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add7 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg7 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul7 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress7 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress7 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup7 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal7 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop7 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult7 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify7 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2567 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2247 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString7 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger7 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString7 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString7 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString7 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString7 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit7 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits7 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte7 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString7 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString7 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits7 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit7 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1607 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger7 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger8 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger8 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger8 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger8 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger8 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger8 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger8 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger8 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger8 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger8 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString8 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString8 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..255]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString8 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString8 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString8 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString8 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString8 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString8 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2568 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2568 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2568 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature8 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature8 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature8 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString8 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString8 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf88 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf88 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse8 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit8 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace8 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair8 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair8 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList8 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons8 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList8 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList8 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList8 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData8 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData8 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData8 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData8 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData8 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData8 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData8 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData8 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData8 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData8 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData8 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData8 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData8 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData8 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData8 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData8 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add8 = + let bls12_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls12_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg8 = + let bls12_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls12_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul8 = + let bls12_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls12_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls12_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress8 = + let bls12_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls12_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls12_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress8 = + let bls12_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls12_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup8 = + let bls12_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls12_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls12_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal8 = + let bls12_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls12_381_G1_equalDenotation = (==) + {-# INLINE bls12_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add8 = + let bls12_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls12_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg8 = + let bls12_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls12_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul8 = + let bls12_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls12_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls12_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress8 = + let bls12_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls12_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls12_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress8 = + let bls12_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls12_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup8 = + let bls12_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls12_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls12_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal8 = + let bls12_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls12_381_G2_equalDenotation = (==) + {-# INLINE bls12_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls12_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop8 = + let bls12_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls12_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls12_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls12_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult8 = + let bls12_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls12_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls12_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls12_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify8 = + let bls12_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls12_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls12_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls12_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2568 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2248 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString8 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger8 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString8 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString8 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString8 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString8 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit8 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits8 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte8 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString8 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString8 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits8 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit8 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1608 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger8 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + + toBuiltinMeaning _semvar AddInteger9 = + let addIntegerDenotation :: Integer -> Integer -> Integer + addIntegerDenotation = (+) + {-# INLINE addIntegerDenotation #-} + in makeBuiltinMeaning + addIntegerDenotation + (runCostingFunTwoArguments . paramAddInteger) + + toBuiltinMeaning _semvar SubtractInteger9 = + let subtractIntegerDenotation :: Integer -> Integer -> Integer + subtractIntegerDenotation = (-) + {-# INLINE subtractIntegerDenotation #-} + in makeBuiltinMeaning + subtractIntegerDenotation + (runCostingFunTwoArguments . paramSubtractInteger) + + toBuiltinMeaning _semvar MultiplyInteger9 = + let multiplyIntegerDenotation :: Integer -> Integer -> Integer + multiplyIntegerDenotation = (*) + {-# INLINE multiplyIntegerDenotation #-} + in makeBuiltinMeaning + multiplyIntegerDenotation + (runCostingFunTwoArguments . paramMultiplyInteger) + + toBuiltinMeaning _semvar DivideInteger9 = + let divideIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + divideIntegerDenotation = nonZeroSecondArg div + {-# INLINE divideIntegerDenotation #-} + in makeBuiltinMeaning + divideIntegerDenotation + (runCostingFunTwoArguments . paramDivideInteger) + + toBuiltinMeaning _semvar QuotientInteger9 = + let quotientIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + quotientIntegerDenotation = nonZeroSecondArg quot + {-# INLINE quotientIntegerDenotation #-} + in makeBuiltinMeaning + quotientIntegerDenotation + (runCostingFunTwoArguments . paramQuotientInteger) + + toBuiltinMeaning _semvar RemainderInteger9 = + let remainderIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + remainderIntegerDenotation = nonZeroSecondArg rem + {-# INLINE remainderIntegerDenotation #-} + in makeBuiltinMeaning + remainderIntegerDenotation + (runCostingFunTwoArguments . paramRemainderInteger) + + toBuiltinMeaning _semvar ModInteger9 = + let modIntegerDenotation :: Integer -> Integer -> BuiltinResult Integer + modIntegerDenotation = nonZeroSecondArg mod + {-# INLINE modIntegerDenotation #-} + in makeBuiltinMeaning + modIntegerDenotation + (runCostingFunTwoArguments . paramModInteger) + + toBuiltinMeaning _semvar EqualsInteger9 = + let equalsIntegerDenotation :: Integer -> Integer -> Bool + equalsIntegerDenotation = (==) + {-# INLINE equalsIntegerDenotation #-} + in makeBuiltinMeaning + equalsIntegerDenotation + (runCostingFunTwoArguments . paramEqualsInteger) + + toBuiltinMeaning _semvar LessThanInteger9 = + let lessThanIntegerDenotation :: Integer -> Integer -> Bool + lessThanIntegerDenotation = (<) + {-# INLINE lessThanIntegerDenotation #-} + in makeBuiltinMeaning + lessThanIntegerDenotation + (runCostingFunTwoArguments . paramLessThanInteger) + + toBuiltinMeaning _semvar LessThanEqualsInteger9 = + let lessThanEqualsIntegerDenotation :: Integer -> Integer -> Bool + lessThanEqualsIntegerDenotation = (<=) + {-# INLINE lessThanEqualsIntegerDenotation #-} + in makeBuiltinMeaning + lessThanEqualsIntegerDenotation + (runCostingFunTwoArguments . paramLessThanEqualsInteger) + + -- Bytestrings + toBuiltinMeaning _semvar AppendByteString9 = + let appendByteStringDenotation :: BS.ByteString -> BS.ByteString -> BS.ByteString + appendByteStringDenotation = BS.append + {-# INLINE appendByteStringDenotation #-} + in makeBuiltinMeaning + appendByteStringDenotation + (runCostingFunTwoArguments . paramAppendByteString) + + -- See Note [Builtin semantics variants] + toBuiltinMeaning semvar ConsByteString9 = + -- The costing function is the same for all variants of this builtin, + -- but since the denotation of the builtin accepts constants of + -- different types ('Integer' vs 'Word8'), the costing function needs to + -- by polymorphic over the type of constant. + let costingFun + :: ExMemoryUsage a => BuiltinCostModel -> a -> BS.ByteString -> ExBudgetStream + costingFun = runCostingFunTwoArguments . paramConsByteString + {-# INLINE costingFun #-} + consByteStringMeaning_V1 = + let consByteStringDenotation :: Integer -> BS.ByteString -> BS.ByteString + consByteStringDenotation n xs = BS.cons (fromIntegral n) xs + -- Earlier instructions say never to use `fromIntegral` in the definition of a + -- builtin; however in this case it reduces its argument modulo 256 to get a + -- `Word8`, which is exactly what we want. + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + -- For builtin semantics variants larger than 'DefaultFunSemanticsVariantA', the first + -- input must be in range @[0..955]@. + consByteStringMeaning_V2 = + let consByteStringDenotation :: Word8 -> BS.ByteString -> BS.ByteString + consByteStringDenotation = BS.cons + {-# INLINE consByteStringDenotation #-} + in makeBuiltinMeaning + consByteStringDenotation + costingFun + in case semvar of + DefaultFunSemanticsVariantA -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantB -> consByteStringMeaning_V1 + DefaultFunSemanticsVariantC -> consByteStringMeaning_V2 + + toBuiltinMeaning _semvar SliceByteString9 = + let sliceByteStringDenotation :: Int -> Int -> BS.ByteString -> BS.ByteString + sliceByteStringDenotation start n xs = BS.take n (BS.drop start xs) + {-# INLINE sliceByteStringDenotation #-} + in makeBuiltinMeaning + sliceByteStringDenotation + (runCostingFunThreeArguments . paramSliceByteString) + + toBuiltinMeaning _semvar LengthOfByteString9 = + let lengthOfByteStringDenotation :: BS.ByteString -> Int + lengthOfByteStringDenotation = BS.length + {-# INLINE lengthOfByteStringDenotation #-} + in makeBuiltinMeaning + lengthOfByteStringDenotation + (runCostingFunOneArgument . paramLengthOfByteString) + + toBuiltinMeaning _semvar IndexByteString9 = + let indexByteStringDenotation :: BS.ByteString -> Int -> BuiltinResult Word8 + indexByteStringDenotation xs n = do + unless (n >= 0 && n < BS.length xs) $ + -- See Note [Operational vs structural errors within builtins]. + -- The arguments are going to be printed in the "cause" part of the error + -- message, so we don't need to repeat them here. + fail "Index out of bounds" + pure $ BS.index xs n + {-# INLINE indexByteStringDenotation #-} + in makeBuiltinMeaning + indexByteStringDenotation + (runCostingFunTwoArguments . paramIndexByteString) + + toBuiltinMeaning _semvar EqualsByteString9 = + let equalsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + equalsByteStringDenotation = (==) + {-# INLINE equalsByteStringDenotation #-} + in makeBuiltinMeaning + equalsByteStringDenotation + (runCostingFunTwoArguments . paramEqualsByteString) + + toBuiltinMeaning _semvar LessThanByteString9 = + let lessThanByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanByteStringDenotation = (<) + {-# INLINE lessThanByteStringDenotation #-} + in makeBuiltinMeaning + lessThanByteStringDenotation + (runCostingFunTwoArguments . paramLessThanByteString) + + toBuiltinMeaning _semvar LessThanEqualsByteString9 = + let lessThanEqualsByteStringDenotation :: BS.ByteString -> BS.ByteString -> Bool + lessThanEqualsByteStringDenotation = (<=) + {-# INLINE lessThanEqualsByteStringDenotation #-} + in makeBuiltinMeaning + lessThanEqualsByteStringDenotation + (runCostingFunTwoArguments . paramLessThanEqualsByteString) + + -- Cryptography and hashes + toBuiltinMeaning _semvar Sha2_2569 = + let sha2_256Denotation :: BS.ByteString -> BS.ByteString + sha2_256Denotation = Hash.sha2_256 + {-# INLINE sha2_256Denotation #-} + in makeBuiltinMeaning + sha2_256Denotation + (runCostingFunOneArgument . paramSha2_256) + + toBuiltinMeaning _semvar Sha3_2569 = + let sha3_256Denotation :: BS.ByteString -> BS.ByteString + sha3_256Denotation = Hash.sha3_256 + {-# INLINE sha3_256Denotation #-} + in makeBuiltinMeaning + sha3_256Denotation + (runCostingFunOneArgument . paramSha3_256) + + toBuiltinMeaning _semvar Blake2b_2569 = + let blake2b_256Denotation :: BS.ByteString -> BS.ByteString + blake2b_256Denotation = Hash.blake2b_256 + {-# INLINE blake2b_256Denotation #-} + in makeBuiltinMeaning + blake2b_256Denotation + (runCostingFunOneArgument . paramBlake2b_256) + + toBuiltinMeaning semvar VerifyEd25519Signature9 = + let verifyEd25519SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEd25519SignatureDenotation = + case semvar of + DefaultFunSemanticsVariantA -> verifyEd25519Signature_V1 + DefaultFunSemanticsVariantB -> verifyEd25519Signature_V2 + DefaultFunSemanticsVariantC -> verifyEd25519Signature_V2 + {-# INLINE verifyEd25519SignatureDenotation #-} + in makeBuiltinMeaning + verifyEd25519SignatureDenotation + -- Benchmarks indicate that the two variants have very similar + -- execution times, so it's safe to use the same costing function for + -- both. + (runCostingFunThreeArguments . paramVerifyEd25519Signature) + + {- Note [ECDSA secp256k1 signature verification]. An ECDSA signature + consists of a pair of values (r,s), and for each value of r there are in + fact two valid values of s, one effectively the negative of the other. + The Bitcoin implementation that underlies `verifyEcdsaSecp256k1Signature` + expects that the lower of the two possible values of the s component of + the signature is used, returning `false` immediately if that's not the + case. It appears that this restriction is peculiar to Bitcoin, and ECDSA + schemes in general don't require it. Thus this function may be more + restrictive than expected. See + + https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#LOW_S + + and the implementation of secp256k1_ecdsa_verify in + + https://github.com/bitcoin-core/secp256k1. + -} + toBuiltinMeaning _semvar VerifyEcdsaSecp256k1Signature9 = + let verifyEcdsaSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifyEcdsaSecp256k1SignatureDenotation = verifyEcdsaSecp256k1Signature + {-# INLINE verifyEcdsaSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifyEcdsaSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifyEcdsaSecp256k1Signature) + + toBuiltinMeaning _semvar VerifySchnorrSecp256k1Signature9 = + let verifySchnorrSecp256k1SignatureDenotation + :: BS.ByteString -> BS.ByteString -> BS.ByteString -> BuiltinResult Bool + verifySchnorrSecp256k1SignatureDenotation = verifySchnorrSecp256k1Signature + {-# INLINE verifySchnorrSecp256k1SignatureDenotation #-} + in makeBuiltinMeaning + verifySchnorrSecp256k1SignatureDenotation + (runCostingFunThreeArguments . paramVerifySchnorrSecp256k1Signature) + + -- Strings + toBuiltinMeaning _semvar AppendString9 = + let appendStringDenotation :: Text -> Text -> Text + appendStringDenotation = (<>) + {-# INLINE appendStringDenotation #-} + in makeBuiltinMeaning + appendStringDenotation + (runCostingFunTwoArguments . paramAppendString) + + toBuiltinMeaning _semvar EqualsString9 = + let equalsStringDenotation :: Text -> Text -> Bool + equalsStringDenotation = (==) + {-# INLINE equalsStringDenotation #-} + in makeBuiltinMeaning + equalsStringDenotation + (runCostingFunTwoArguments . paramEqualsString) + + toBuiltinMeaning _semvar EncodeUtf89 = + let encodeUtf8Denotation :: Text -> BS.ByteString + encodeUtf8Denotation = encodeUtf8 + {-# INLINE encodeUtf8Denotation #-} + in makeBuiltinMeaning + encodeUtf8Denotation + (runCostingFunOneArgument . paramEncodeUtf8) + + toBuiltinMeaning _semvar DecodeUtf89 = + let decodeUtf8Denotation :: BS.ByteString -> BuiltinResult Text + decodeUtf8Denotation = eitherToBuiltinResult . decodeUtf8' + {-# INLINE decodeUtf8Denotation #-} + in makeBuiltinMeaning + decodeUtf8Denotation + (runCostingFunOneArgument . paramDecodeUtf8) + + -- Bool + toBuiltinMeaning _semvar IfThenElse9 = + let ifThenElseDenotation :: Bool -> a -> a -> a + ifThenElseDenotation b x y = if b then x else y + {-# INLINE ifThenElseDenotation #-} + in makeBuiltinMeaning + ifThenElseDenotation + (runCostingFunThreeArguments . paramIfThenElse) + + -- Unit + toBuiltinMeaning _semvar ChooseUnit9 = + let chooseUnitDenotation :: () -> a -> a + chooseUnitDenotation () x = x + {-# INLINE chooseUnitDenotation #-} + in makeBuiltinMeaning + chooseUnitDenotation + (runCostingFunTwoArguments . paramChooseUnit) + + -- Tracing + toBuiltinMeaning _semvar Trace9 = + let traceDenotation :: Text -> a -> BuiltinResult a + traceDenotation text a = a <$ emit text + {-# INLINE traceDenotation #-} + in makeBuiltinMeaning + traceDenotation + (runCostingFunTwoArguments . paramTrace) + + -- Pairs + toBuiltinMeaning _semvar FstPair9 = + let fstPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val a) + fstPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair uniA _ -> pure . fromValueOf uniA $ fst xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE fstPairDenotation #-} + in makeBuiltinMeaning + fstPairDenotation + (runCostingFunOneArgument . paramFstPair) + + toBuiltinMeaning _semvar SndPair9 = + let sndPairDenotation :: SomeConstant uni (a, b) -> BuiltinResult (Opaque val b) + sndPairDenotation (SomeConstant (Some (ValueOf uniPairAB xy))) = do + case uniPairAB of + DefaultUniPair _ uniB -> pure . fromValueOf uniB $ snd xy + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a pair but got something else" + {-# INLINE sndPairDenotation #-} + in makeBuiltinMeaning + sndPairDenotation + (runCostingFunOneArgument . paramSndPair) + + -- Lists + toBuiltinMeaning _semvar ChooseList9 = + let chooseListDenotation :: SomeConstant uni [a] -> b -> b -> BuiltinResult b + chooseListDenotation (SomeConstant (Some (ValueOf uniListA xs))) a b = do + case uniListA of + DefaultUniList _ -> pure $ case xs of + [] -> a + _ : _ -> b + -- See Note [Operational vs structural errors within builtins]. + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE chooseListDenotation #-} + in makeBuiltinMeaning + chooseListDenotation + (runCostingFunThreeArguments . paramChooseList) + + toBuiltinMeaning _semvar MkCons9 = + let mkConsDenotation + :: SomeConstant uni a -> SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + mkConsDenotation + (SomeConstant (Some (ValueOf uniA x))) + (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA' -> case uniA `geq` uniA' of + Just Refl -> pure . fromValueOf uniListA $ x : xs + _ -> throwing _StructuralUnliftingError + "The type of the value does not match the type of elements in the list" + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE mkConsDenotation #-} + in makeBuiltinMeaning + mkConsDenotation + (runCostingFunTwoArguments . paramMkCons) + + toBuiltinMeaning _semvar HeadList9 = + let headListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val a) + headListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList uniA -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + x : _ -> pure $ fromValueOf uniA x + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE headListDenotation #-} + in makeBuiltinMeaning + headListDenotation + (runCostingFunOneArgument . paramHeadList) + + toBuiltinMeaning _semvar TailList9 = + let tailListDenotation :: SomeConstant uni [a] -> BuiltinResult (Opaque val [a]) + tailListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + -- See Note [Operational vs structural errors within builtins]. + case uniListA of + DefaultUniList _ -> case xs of + [] -> fail "Expected a non-empty list but got an empty one" + _ : xs' -> pure $ fromValueOf uniListA xs' + _ -> throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE tailListDenotation #-} + in makeBuiltinMeaning + tailListDenotation + (runCostingFunOneArgument . paramTailList) + + toBuiltinMeaning _semvar NullList9 = + let nullListDenotation :: SomeConstant uni [a] -> BuiltinResult Bool + nullListDenotation (SomeConstant (Some (ValueOf uniListA xs))) = do + case uniListA of + DefaultUniList _ -> pure $ null xs + _ -> + -- See Note [Operational vs structural errors within builtins]. + throwing _StructuralUnliftingError "Expected a list but got something else" + {-# INLINE nullListDenotation #-} + in makeBuiltinMeaning + nullListDenotation + (runCostingFunOneArgument . paramNullList) + + -- Data + toBuiltinMeaning _semvar ChooseData9 = + let chooseDataDenotation :: Data -> a -> a -> a -> a -> a -> a + chooseDataDenotation d xConstr xMap xList xI xB = + case d of + Constr {} -> xConstr + Map {} -> xMap + List {} -> xList + I {} -> xI + B {} -> xB + {-# INLINE chooseDataDenotation #-} + in makeBuiltinMeaning + chooseDataDenotation + (runCostingFunSixArguments . paramChooseData) + + toBuiltinMeaning _semvar ConstrData9 = + let constrDataDenotation :: Integer -> [Data] -> Data + constrDataDenotation = Constr + {-# INLINE constrDataDenotation #-} + in makeBuiltinMeaning + constrDataDenotation + (runCostingFunTwoArguments . paramConstrData) + + toBuiltinMeaning _semvar MapData9 = + let mapDataDenotation :: [(Data, Data)] -> Data + mapDataDenotation = Map + {-# INLINE mapDataDenotation #-} + in makeBuiltinMeaning + mapDataDenotation + (runCostingFunOneArgument . paramMapData) + + toBuiltinMeaning _semvar ListData9 = + let listDataDenotation :: [Data] -> Data + listDataDenotation = List + {-# INLINE listDataDenotation #-} + in makeBuiltinMeaning + listDataDenotation + (runCostingFunOneArgument . paramListData) + + toBuiltinMeaning _semvar IData9 = + let iDataDenotation :: Integer -> Data + iDataDenotation = I + {-# INLINE iDataDenotation #-} + in makeBuiltinMeaning + iDataDenotation + (runCostingFunOneArgument . paramIData) + + toBuiltinMeaning _semvar BData9 = + let bDataDenotation :: BS.ByteString -> Data + bDataDenotation = B + {-# INLINE bDataDenotation #-} + in makeBuiltinMeaning + bDataDenotation + (runCostingFunOneArgument . paramBData) + + toBuiltinMeaning _semvar UnConstrData9 = + let unConstrDataDenotation :: Data -> BuiltinResult (Integer, [Data]) + unConstrDataDenotation = \case + Constr i ds -> pure (i, ds) + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Constr constructor but got a different one" + {-# INLINE unConstrDataDenotation #-} + in makeBuiltinMeaning + unConstrDataDenotation + (runCostingFunOneArgument . paramUnConstrData) + + toBuiltinMeaning _semvar UnMapData9 = + let unMapDataDenotation :: Data -> BuiltinResult [(Data, Data)] + unMapDataDenotation = \case + Map es -> pure es + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the Map constructor but got a different one" + {-# INLINE unMapDataDenotation #-} + in makeBuiltinMeaning + unMapDataDenotation + (runCostingFunOneArgument . paramUnMapData) + + toBuiltinMeaning _semvar UnListData9 = + let unListDataDenotation :: Data -> BuiltinResult [Data] + unListDataDenotation = \case + List ds -> pure ds + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the List constructor but got a different one" + {-# INLINE unListDataDenotation #-} + in makeBuiltinMeaning + unListDataDenotation + (runCostingFunOneArgument . paramUnListData) + + toBuiltinMeaning _semvar UnIData9 = + let unIDataDenotation :: Data -> BuiltinResult Integer + unIDataDenotation = \case + I i -> pure i + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the I constructor but got a different one" + {-# INLINE unIDataDenotation #-} + in makeBuiltinMeaning + unIDataDenotation + (runCostingFunOneArgument . paramUnIData) + + toBuiltinMeaning _semvar UnBData9 = + let unBDataDenotation :: Data -> BuiltinResult BS.ByteString + unBDataDenotation = \case + B b -> pure b + -- See Note [Operational vs structural errors within builtins]. + _ -> fail "Expected the B constructor but got a different one" + {-# INLINE unBDataDenotation #-} + in makeBuiltinMeaning + unBDataDenotation + (runCostingFunOneArgument . paramUnBData) + + toBuiltinMeaning _semvar EqualsData9 = + let equalsDataDenotation :: Data -> Data -> Bool + equalsDataDenotation = (==) + {-# INLINE equalsDataDenotation #-} + in makeBuiltinMeaning + equalsDataDenotation + (runCostingFunTwoArguments . paramEqualsData) + + toBuiltinMeaning _semvar SerialiseData9 = + let serialiseDataDenotation :: Data -> BS.ByteString + serialiseDataDenotation = BSL.toStrict . serialise + {-# INLINE serialiseDataDenotation #-} + in makeBuiltinMeaning + serialiseDataDenotation + (runCostingFunOneArgument . paramSerialiseData) + + -- Misc constructors + toBuiltinMeaning _semvar MkPairData9 = + let mkPairDataDenotation :: Data -> Data -> (Data, Data) + mkPairDataDenotation = (,) + {-# INLINE mkPairDataDenotation #-} + in makeBuiltinMeaning + mkPairDataDenotation + (runCostingFunTwoArguments . paramMkPairData) + + toBuiltinMeaning _semvar MkNilData9 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilDataDenotation :: () -> [Data] + mkNilDataDenotation () = [] + {-# INLINE mkNilDataDenotation #-} + in makeBuiltinMeaning + mkNilDataDenotation + (runCostingFunOneArgument . paramMkNilData) + + toBuiltinMeaning _semvar MkNilPairData9 = + -- Nullary built-in functions don't work, so we need a unit argument. + -- We don't really need this built-in function, see Note [Constants vs built-in functions], + -- but we keep it around for historical reasons and convenience. + let mkNilPairDataDenotation :: () -> [(Data, Data)] + mkNilPairDataDenotation () = [] + {-# INLINE mkNilPairDataDenotation #-} + in makeBuiltinMeaning + mkNilPairDataDenotation + (runCostingFunOneArgument . paramMkNilPairData) + + -- BLS12_381.G1 + toBuiltinMeaning _semvar Bls12_381_G1_add9 = + let bls19_381_G1_addDenotation + :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls19_381_G1_addDenotation = BLS12_381.G1.add + {-# INLINE bls19_381_G1_addDenotation #-} + in makeBuiltinMeaning + bls19_381_G1_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_add) + + toBuiltinMeaning _semvar Bls12_381_G1_neg9 = + let bls19_381_G1_negDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element + bls19_381_G1_negDenotation = BLS12_381.G1.neg + {-# INLINE bls19_381_G1_negDenotation #-} + in makeBuiltinMeaning + bls19_381_G1_negDenotation + (runCostingFunOneArgument . paramBls12_381_G1_neg) + + toBuiltinMeaning _semvar Bls12_381_G1_scalarMul9 = + let bls19_381_G1_scalarMulDenotation + :: Integer -> BLS12_381.G1.Element -> BLS12_381.G1.Element + bls19_381_G1_scalarMulDenotation = BLS12_381.G1.scalarMul + {-# INLINE bls19_381_G1_scalarMulDenotation #-} + in makeBuiltinMeaning + bls19_381_G1_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G1_compress9 = + let bls19_381_G1_compressDenotation :: BLS12_381.G1.Element -> BS.ByteString + bls19_381_G1_compressDenotation = BLS12_381.G1.compress + {-# INLINE bls19_381_G1_compressDenotation #-} + in makeBuiltinMeaning + bls19_381_G1_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_compress) + + toBuiltinMeaning _semvar Bls12_381_G1_uncompress9 = + let bls19_381_G1_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls19_381_G1_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G1.uncompress + {-# INLINE bls19_381_G1_uncompressDenotation #-} + in makeBuiltinMeaning + bls19_381_G1_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G1_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G1_hashToGroup9 = + let bls19_381_G1_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G1.Element + bls19_381_G1_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G1.hashToGroup + {-# INLINE bls19_381_G1_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls19_381_G1_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G1_equal9 = + let bls19_381_G1_equalDenotation :: BLS12_381.G1.Element -> BLS12_381.G1.Element -> Bool + bls19_381_G1_equalDenotation = (==) + {-# INLINE bls19_381_G1_equalDenotation #-} + in makeBuiltinMeaning + bls19_381_G1_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G1_equal) + + -- BLS12_381.G2 + toBuiltinMeaning _semvar Bls12_381_G2_add9 = + let bls19_381_G2_addDenotation + :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls19_381_G2_addDenotation = BLS12_381.G2.add + {-# INLINE bls19_381_G2_addDenotation #-} + in makeBuiltinMeaning + bls19_381_G2_addDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_add) + + toBuiltinMeaning _semvar Bls12_381_G2_neg9 = + let bls19_381_G2_negDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element + bls19_381_G2_negDenotation = BLS12_381.G2.neg + {-# INLINE bls19_381_G2_negDenotation #-} + in makeBuiltinMeaning + bls19_381_G2_negDenotation + (runCostingFunOneArgument . paramBls12_381_G2_neg) + + toBuiltinMeaning _semvar Bls12_381_G2_scalarMul9 = + let bls19_381_G2_scalarMulDenotation + :: Integer -> BLS12_381.G2.Element -> BLS12_381.G2.Element + bls19_381_G2_scalarMulDenotation = BLS12_381.G2.scalarMul + {-# INLINE bls19_381_G2_scalarMulDenotation #-} + in makeBuiltinMeaning + bls19_381_G2_scalarMulDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_scalarMul) + + toBuiltinMeaning _semvar Bls12_381_G2_compress9 = + let bls19_381_G2_compressDenotation :: BLS12_381.G2.Element -> BS.ByteString + bls19_381_G2_compressDenotation = BLS12_381.G2.compress + {-# INLINE bls19_381_G2_compressDenotation #-} + in makeBuiltinMeaning + bls19_381_G2_compressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_compress) + + toBuiltinMeaning _semvar Bls12_381_G2_uncompress9 = + let bls19_381_G2_uncompressDenotation + :: BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls19_381_G2_uncompressDenotation = eitherToBuiltinResult . BLS12_381.G2.uncompress + {-# INLINE bls19_381_G2_uncompressDenotation #-} + in makeBuiltinMeaning + bls19_381_G2_uncompressDenotation + (runCostingFunOneArgument . paramBls12_381_G2_uncompress) + + toBuiltinMeaning _semvar Bls12_381_G2_hashToGroup9 = + let bls19_381_G2_hashToGroupDenotation + :: BS.ByteString -> BS.ByteString -> BuiltinResult BLS12_381.G2.Element + bls19_381_G2_hashToGroupDenotation = eitherToBuiltinResult .* BLS12_381.G2.hashToGroup + {-# INLINE bls19_381_G2_hashToGroupDenotation #-} + in makeBuiltinMeaning + bls19_381_G2_hashToGroupDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_hashToGroup) + + toBuiltinMeaning _semvar Bls12_381_G2_equal9 = + let bls19_381_G2_equalDenotation :: BLS12_381.G2.Element -> BLS12_381.G2.Element -> Bool + bls19_381_G2_equalDenotation = (==) + {-# INLINE bls19_381_G2_equalDenotation #-} + in makeBuiltinMeaning + bls19_381_G2_equalDenotation + (runCostingFunTwoArguments . paramBls12_381_G2_equal) + + -- BLS12_381.Pairing + toBuiltinMeaning _semvar Bls12_381_millerLoop9 = + let bls19_381_millerLoopDenotation + :: BLS12_381.G1.Element -> BLS12_381.G2.Element -> BLS12_381.Pairing.MlResult + bls19_381_millerLoopDenotation = BLS12_381.Pairing.millerLoop + {-# INLINE bls19_381_millerLoopDenotation #-} + in makeBuiltinMeaning + bls19_381_millerLoopDenotation + (runCostingFunTwoArguments . paramBls12_381_millerLoop) + + toBuiltinMeaning _semvar Bls12_381_mulMlResult9 = + let bls19_381_mulMlResultDenotation + :: BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + -> BLS12_381.Pairing.MlResult + bls19_381_mulMlResultDenotation = BLS12_381.Pairing.mulMlResult + {-# INLINE bls19_381_mulMlResultDenotation #-} + in makeBuiltinMeaning + bls19_381_mulMlResultDenotation + (runCostingFunTwoArguments . paramBls12_381_mulMlResult) + + toBuiltinMeaning _semvar Bls12_381_finalVerify9 = + let bls19_381_finalVerifyDenotation + :: BLS12_381.Pairing.MlResult -> BLS12_381.Pairing.MlResult -> Bool + bls19_381_finalVerifyDenotation = BLS12_381.Pairing.finalVerify + {-# INLINE bls19_381_finalVerifyDenotation #-} + in makeBuiltinMeaning + bls19_381_finalVerifyDenotation + (runCostingFunTwoArguments . paramBls12_381_finalVerify) + + toBuiltinMeaning _semvar Keccak_2569 = + let keccak_256Denotation :: BS.ByteString -> BS.ByteString + keccak_256Denotation = Hash.keccak_256 + {-# INLINE keccak_256Denotation #-} + in makeBuiltinMeaning + keccak_256Denotation + (runCostingFunOneArgument . paramKeccak_256) + + toBuiltinMeaning _semvar Blake2b_2249 = + let blake2b_224Denotation :: BS.ByteString -> BS.ByteString + blake2b_224Denotation = Hash.blake2b_224 + {-# INLINE blake2b_224Denotation #-} + in makeBuiltinMeaning + blake2b_224Denotation + (runCostingFunOneArgument . paramBlake2b_224) + + + -- Extra bytestring operations + + -- Conversions + {- See Note [Input length limitation for IntegerToByteString] -} + toBuiltinMeaning _semvar IntegerToByteString9 = + let integerToByteStringDenotation :: Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult BS.ByteString + {- The second argument is wrapped in a NumBytesCostedAsNumWords to allow us to + interpret it as a size during costing. -} + integerToByteStringDenotation b (NumBytesCostedAsNumWords w) = Bitwise.integerToByteString b w + {-# INLINE integerToByteStringDenotation #-} + in makeBuiltinMeaning + integerToByteStringDenotation + (runCostingFunThreeArguments . paramIntegerToByteString) + + toBuiltinMeaning _semvar ByteStringToInteger9 = + let byteStringToIntegerDenotation :: Bool -> BS.ByteString -> Integer + byteStringToIntegerDenotation = Bitwise.byteStringToInteger + {-# INLINE byteStringToIntegerDenotation #-} + in makeBuiltinMeaning + byteStringToIntegerDenotation + (runCostingFunTwoArguments . paramByteStringToInteger) + + -- Logical + toBuiltinMeaning _semvar AndByteString9 = + let andByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + andByteStringDenotation = Bitwise.andByteString + {-# INLINE andByteStringDenotation #-} + in makeBuiltinMeaning + andByteStringDenotation + (runCostingFunThreeArguments . paramAndByteString) + + toBuiltinMeaning _semvar OrByteString9 = + let orByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + orByteStringDenotation = Bitwise.orByteString + {-# INLINE orByteStringDenotation #-} + in makeBuiltinMeaning + orByteStringDenotation + (runCostingFunThreeArguments . paramOrByteString) + + toBuiltinMeaning _semvar XorByteString9 = + let xorByteStringDenotation :: Bool -> BS.ByteString -> BS.ByteString -> BS.ByteString + xorByteStringDenotation = Bitwise.xorByteString + {-# INLINE xorByteStringDenotation #-} + in makeBuiltinMeaning + xorByteStringDenotation + (runCostingFunThreeArguments . paramXorByteString) + + toBuiltinMeaning _semvar ComplementByteString9 = + let complementByteStringDenotation :: BS.ByteString -> BS.ByteString + complementByteStringDenotation = Bitwise.complementByteString + {-# INLINE complementByteStringDenotation #-} + in makeBuiltinMeaning + complementByteStringDenotation + (runCostingFunOneArgument . paramComplementByteString) + + -- Bitwise operations + + toBuiltinMeaning _semvar ReadBit9 = + let readBitDenotation :: BS.ByteString -> Int -> BuiltinResult Bool + readBitDenotation = Bitwise.readBit + {-# INLINE readBitDenotation #-} + in makeBuiltinMeaning + readBitDenotation + (runCostingFunTwoArguments . paramReadBit) + + toBuiltinMeaning _semvar WriteBits9 = + let writeBitsDenotation + :: BS.ByteString + -> ListCostedByLength Integer + -> Bool + -> BuiltinResult BS.ByteString + writeBitsDenotation s (ListCostedByLength ixs) bit = + Bitwise.writeBits s ixs bit + {-# INLINE writeBitsDenotation #-} + in makeBuiltinMeaning + writeBitsDenotation + (runCostingFunThreeArguments . paramWriteBits) + + toBuiltinMeaning _semvar ReplicateByte9 = + let replicateByteDenotation :: NumBytesCostedAsNumWords -> Word8 -> BuiltinResult BS.ByteString + replicateByteDenotation (NumBytesCostedAsNumWords n) w = Bitwise.replicateByte n w + {-# INLINE replicateByteDenotation #-} + in makeBuiltinMeaning + replicateByteDenotation + (runCostingFunTwoArguments . paramReplicateByte) + + toBuiltinMeaning _semvar ShiftByteString9 = + let shiftByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + shiftByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.shiftByteString s n + {-# INLINE shiftByteStringDenotation #-} + in makeBuiltinMeaning + shiftByteStringDenotation + (runCostingFunTwoArguments . paramShiftByteString) + + toBuiltinMeaning _semvar RotateByteString9 = + let rotateByteStringDenotation :: BS.ByteString -> IntegerCostedLiterally -> BS.ByteString + rotateByteStringDenotation s (IntegerCostedLiterally n) = Bitwise.rotateByteString s n + {-# INLINE rotateByteStringDenotation #-} + in makeBuiltinMeaning + rotateByteStringDenotation + (runCostingFunTwoArguments . paramRotateByteString) + + toBuiltinMeaning _semvar CountSetBits9 = + let countSetBitsDenotation :: BS.ByteString -> Int + countSetBitsDenotation = Bitwise.countSetBits + {-# INLINE countSetBitsDenotation #-} + in makeBuiltinMeaning + countSetBitsDenotation + (runCostingFunOneArgument . paramCountSetBits) + + toBuiltinMeaning _semvar FindFirstSetBit9 = + let findFirstSetBitDenotation :: BS.ByteString -> Int + findFirstSetBitDenotation = Bitwise.findFirstSetBit + {-# INLINE findFirstSetBitDenotation #-} + in makeBuiltinMeaning + findFirstSetBitDenotation + (runCostingFunOneArgument . paramFindFirstSetBit) + + toBuiltinMeaning _semvar Ripemd_1609 = + let ripemd_160Denotation :: BS.ByteString -> BS.ByteString + ripemd_160Denotation = Hash.ripemd_160 + {-# INLINE ripemd_160Denotation #-} + in makeBuiltinMeaning + ripemd_160Denotation + (runCostingFunOneArgument . paramRipemd_160) + + toBuiltinMeaning _semvar ExpModInteger9 = + let expModIntegerDenotation :: Integer -> Integer -> Natural -> BuiltinResult Natural + expModIntegerDenotation = ExpMod.expMod + {-# INLINE expModIntegerDenotation #-} + in makeBuiltinMeaning + expModIntegerDenotation + (runCostingFunThreeArguments . paramExpModInteger) + -- See Note [Inlining meanings of builtins]. {-# INLINE toBuiltinMeaning #-} diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger1.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger2.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger3.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger4.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger5.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger6.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger7.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger8.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger9.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AddInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString1.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString1.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString2.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString2.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString3.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString3.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString4.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString4.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString5.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString5.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString6.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString6.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString7.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString7.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString8.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString8.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString9.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AndByteString9.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString1.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString2.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString3.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString4.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString5.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString6.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString7.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString8.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString9.plc.golden new file mode 100644 index 00000000000..b478c5de3a6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString1.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString1.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString2.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString2.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString3.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString3.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString4.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString4.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString5.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString5.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString6.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString6.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString7.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString7.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString8.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString8.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString9.plc.golden new file mode 100644 index 00000000000..f4bedbfc343 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/AppendString9.plc.golden @@ -0,0 +1 @@ +string -> string -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData1.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData1.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData2.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData2.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData3.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData3.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData4.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData4.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData5.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData5.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData6.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData6.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData7.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData7.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData8.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData8.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData9.plc.golden new file mode 100644 index 00000000000..7f8d263eada --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/BData9.plc.golden @@ -0,0 +1 @@ +bytestring -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2241.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2241.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2241.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2242.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2242.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2242.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2243.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2243.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2243.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2244.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2244.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2244.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2245.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2245.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2245.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2246.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2246.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2246.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2247.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2247.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2247.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2248.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2248.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2248.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2249.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2249.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2249.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2561.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2561.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2561.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2562.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2562.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2562.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2563.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2563.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2563.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2564.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2564.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2564.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2565.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2565.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2565.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2566.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2566.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2566.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2567.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2567.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2567.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2568.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2568.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2568.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2569.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2569.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Blake2b_2569.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add1.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add1.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add2.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add2.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add3.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add3.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add4.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add4.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add5.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add5.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add6.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add6.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add7.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add7.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add8.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add8.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add9.plc.golden new file mode 100644 index 00000000000..8b3873644d8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_add9.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress1.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress1.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress2.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress2.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress3.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress3.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress4.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress4.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress5.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress5.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress6.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress6.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress7.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress7.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress8.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress8.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress9.plc.golden new file mode 100644 index 00000000000..9daeda573ce --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_compress9.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal1.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal1.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal2.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal2.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal3.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal3.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal4.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal4.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal5.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal5.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal6.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal6.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal7.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal7.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal8.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal8.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal9.plc.golden new file mode 100644 index 00000000000..fc94df098e7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_equal9.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup1.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup2.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup3.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup4.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup5.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup6.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup7.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup8.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup9.plc.golden new file mode 100644 index 00000000000..4befb6401e1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_hashToGroup9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg1.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg1.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg2.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg2.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg3.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg3.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg4.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg4.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg5.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg5.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg6.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg6.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg7.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg7.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg8.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg8.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg9.plc.golden new file mode 100644 index 00000000000..5583cd785c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_neg9.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul1.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul1.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul2.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul2.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul3.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul3.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul4.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul4.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul5.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul5.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul6.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul6.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul7.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul7.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul8.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul8.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul9.plc.golden new file mode 100644 index 00000000000..2ef82236791 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_scalarMul9.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G1_element -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress1.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress1.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress2.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress2.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress3.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress3.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress4.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress4.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress5.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress5.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress6.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress6.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress7.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress7.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress8.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress8.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress9.plc.golden new file mode 100644 index 00000000000..79bf25b0fe6 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G1_uncompress9.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G1_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add1.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add1.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add2.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add2.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add3.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add3.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add4.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add4.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add5.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add5.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add6.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add6.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add7.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add7.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add8.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add8.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add9.plc.golden new file mode 100644 index 00000000000..638cb5f4058 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_add9.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress1.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress1.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress2.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress2.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress3.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress3.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress4.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress4.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress5.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress5.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress6.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress6.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress7.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress7.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress8.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress8.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress9.plc.golden new file mode 100644 index 00000000000..efca9ec9f7d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_compress9.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal1.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal1.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal2.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal2.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal3.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal3.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal4.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal4.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal5.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal5.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal6.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal6.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal7.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal7.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal8.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal8.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal9.plc.golden new file mode 100644 index 00000000000..346c0c6c1e5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_equal9.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup1.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup2.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup3.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup4.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup5.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup6.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup7.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup8.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup9.plc.golden new file mode 100644 index 00000000000..82edeeb53c3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_hashToGroup9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg1.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg1.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg2.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg2.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg3.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg3.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg4.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg4.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg5.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg5.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg6.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg6.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg7.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg7.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg8.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg8.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg9.plc.golden new file mode 100644 index 00000000000..fb50d8630bf --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_neg9.plc.golden @@ -0,0 +1 @@ +bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul1.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul1.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul2.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul2.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul3.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul3.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul4.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul4.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul5.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul5.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul6.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul6.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul7.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul7.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul8.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul8.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul9.plc.golden new file mode 100644 index 00000000000..2cb7c805614 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_scalarMul9.plc.golden @@ -0,0 +1 @@ +integer -> bls12_381_G2_element -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress1.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress1.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress2.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress2.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress3.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress3.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress4.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress4.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress5.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress5.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress6.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress6.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress7.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress7.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress8.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress8.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress9.plc.golden new file mode 100644 index 00000000000..ef543355550 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_G2_uncompress9.plc.golden @@ -0,0 +1 @@ +bytestring -> bls12_381_G2_element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify1.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify1.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify2.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify2.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify3.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify3.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify4.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify4.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify5.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify5.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify6.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify6.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify7.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify7.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify8.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify8.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify9.plc.golden new file mode 100644 index 00000000000..c22c0116639 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_finalVerify9.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop1.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop1.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop2.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop2.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop3.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop3.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop4.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop4.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop5.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop5.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop6.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop6.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop7.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop7.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop8.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop8.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop9.plc.golden new file mode 100644 index 00000000000..8b881ffea55 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_millerLoop9.plc.golden @@ -0,0 +1 @@ +bls12_381_G1_element -> bls12_381_G2_element -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult1.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult1.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult2.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult2.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult3.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult3.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult4.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult4.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult5.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult5.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult6.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult6.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult7.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult7.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult8.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult8.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult9.plc.golden new file mode 100644 index 00000000000..cae56dc4ebb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Bls12_381_mulMlResult9.plc.golden @@ -0,0 +1 @@ +bls12_381_mlresult -> bls12_381_mlresult -> bls12_381_mlresult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger1.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger1.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger2.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger2.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger3.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger3.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger4.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger4.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger5.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger5.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger6.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger6.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger7.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger7.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger8.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger8.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger9.plc.golden new file mode 100644 index 00000000000..cf68b6194e9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ByteStringToInteger9.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData1.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData1.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData2.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData2.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData3.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData3.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData4.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData4.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData5.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData5.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData6.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData6.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData7.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData7.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData8.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData8.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData9.plc.golden new file mode 100644 index 00000000000..49dcc90b22d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseData9.plc.golden @@ -0,0 +1 @@ +all a. data -> a -> a -> a -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList1.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList1.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList2.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList2.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList3.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList3.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList4.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList4.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList5.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList5.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList6.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList6.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList7.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList7.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList8.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList8.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList9.plc.golden new file mode 100644 index 00000000000..65363cc2549 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseList9.plc.golden @@ -0,0 +1 @@ +all a b. list a -> b -> b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit1.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit1.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit2.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit2.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit3.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit3.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit4.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit4.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit5.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit5.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit6.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit6.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit7.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit7.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit8.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit8.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit9.plc.golden new file mode 100644 index 00000000000..e68a088c4f2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ChooseUnit9.plc.golden @@ -0,0 +1 @@ +all a. unit -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString1.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString2.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString3.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString4.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString5.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString6.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString7.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString8.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString9.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ComplementByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString1.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString1.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString2.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString2.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString3.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString3.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString4.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString4.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString5.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString5.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString6.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString6.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString7.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString7.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString8.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString8.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString9.plc.golden new file mode 100644 index 00000000000..0d47d89b31b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConsByteString9.plc.golden @@ -0,0 +1 @@ +integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData1.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData1.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData2.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData2.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData3.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData3.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData4.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData4.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData5.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData5.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData6.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData6.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData7.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData7.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData8.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData8.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData9.plc.golden new file mode 100644 index 00000000000..59423f52cff --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ConstrData9.plc.golden @@ -0,0 +1 @@ +integer -> list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits1.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits1.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits2.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits2.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits3.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits3.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits4.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits4.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits5.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits5.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits6.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits6.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits7.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits7.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits8.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits8.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits9.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/CountSetBits9.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf81.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf81.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf81.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf82.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf82.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf82.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf83.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf83.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf83.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf84.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf84.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf84.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf85.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf85.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf85.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf86.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf86.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf86.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf87.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf87.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf87.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf88.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf88.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf88.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf89.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf89.plc.golden new file mode 100644 index 00000000000..1ffc8d92919 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DecodeUtf89.plc.golden @@ -0,0 +1 @@ +bytestring -> string \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger1.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger2.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger3.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger4.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger5.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger6.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger7.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger8.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger9.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/DivideInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf81.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf81.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf81.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf82.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf82.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf82.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf83.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf83.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf83.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf84.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf84.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf84.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf85.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf85.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf85.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf86.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf86.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf86.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf87.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf87.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf87.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf88.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf88.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf88.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf89.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf89.plc.golden new file mode 100644 index 00000000000..c1e14e14091 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EncodeUtf89.plc.golden @@ -0,0 +1 @@ +string -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString1.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString2.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString3.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString4.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString5.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString6.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString7.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString8.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString9.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData1.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData1.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData2.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData2.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData3.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData3.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData4.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData4.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData5.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData5.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData6.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData6.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData7.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData7.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData8.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData8.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData9.plc.golden new file mode 100644 index 00000000000..675d3f3bbf9 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsData9.plc.golden @@ -0,0 +1 @@ +data -> data -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger1.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger2.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger3.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger4.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger5.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger6.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger7.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger8.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger9.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString1.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString1.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString2.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString2.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString3.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString3.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString4.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString4.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString5.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString5.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString6.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString6.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString7.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString7.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString8.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString8.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString9.plc.golden new file mode 100644 index 00000000000..2a5db585579 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/EqualsString9.plc.golden @@ -0,0 +1 @@ +string -> string -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger1.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger2.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger3.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger4.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger5.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger6.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger7.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger8.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger9.plc.golden new file mode 100644 index 00000000000..c78f4787d46 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ExpModInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit1.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit1.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit2.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit2.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit3.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit3.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit4.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit4.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit5.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit5.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit6.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit6.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit7.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit7.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit8.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit8.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit9.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FindFirstSetBit9.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair1.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair1.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair2.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair2.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair3.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair3.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair4.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair4.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair5.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair5.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair6.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair6.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair7.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair7.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair8.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair8.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair9.plc.golden new file mode 100644 index 00000000000..8dd3336a587 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/FstPair9.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList1.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList1.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList2.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList2.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList3.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList3.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList4.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList4.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList5.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList5.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList6.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList6.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList7.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList7.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList8.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList8.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList9.plc.golden new file mode 100644 index 00000000000..3120420c62d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/HeadList9.plc.golden @@ -0,0 +1 @@ +all a. list a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData1.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData1.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData2.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData2.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData3.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData3.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData4.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData4.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData5.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData5.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData6.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData6.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData7.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData7.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData8.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData8.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData9.plc.golden new file mode 100644 index 00000000000..0c153164190 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IData9.plc.golden @@ -0,0 +1 @@ +integer -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse1.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse1.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse2.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse2.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse3.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse3.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse4.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse4.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse5.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse5.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse6.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse6.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse7.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse7.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse8.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse8.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse9.plc.golden new file mode 100644 index 00000000000..b451f7add22 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IfThenElse9.plc.golden @@ -0,0 +1 @@ +all a. bool -> a -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString1.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString2.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString3.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString4.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString5.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString6.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString7.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString8.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString9.plc.golden new file mode 100644 index 00000000000..73662d69f3a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IndexByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString1.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString1.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString2.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString2.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString3.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString3.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString4.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString4.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString5.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString5.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString6.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString6.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString7.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString7.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString8.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString8.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString9.plc.golden new file mode 100644 index 00000000000..32b9162ed53 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/IntegerToByteString9.plc.golden @@ -0,0 +1 @@ +bool -> integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2561.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2561.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2561.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2562.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2562.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2562.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2563.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2563.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2563.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2564.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2564.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2564.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2565.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2565.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2565.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2566.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2566.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2566.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2567.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2567.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2567.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2568.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2568.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2568.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2569.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2569.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Keccak_2569.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString1.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString2.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString3.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString4.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString5.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString6.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString7.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString8.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString9.plc.golden new file mode 100644 index 00000000000..aa49a117436 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LengthOfByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString1.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString2.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString3.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString4.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString5.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString6.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString7.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString8.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString9.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString1.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString2.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString3.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString4.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString5.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString6.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString7.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString8.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString9.plc.golden new file mode 100644 index 00000000000..eddc06092f0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger1.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger2.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger3.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger4.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger5.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger6.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger7.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger8.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger9.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanEqualsInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger1.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger2.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger3.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger4.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger5.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger6.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger7.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger8.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger9.plc.golden new file mode 100644 index 00000000000..141470f4674 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/LessThanInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData1.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData1.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData2.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData2.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData3.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData3.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData4.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData4.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData5.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData5.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData6.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData6.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData7.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData7.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData8.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData8.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData9.plc.golden new file mode 100644 index 00000000000..13b9db44731 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ListData9.plc.golden @@ -0,0 +1 @@ +list data -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData1.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData1.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData2.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData2.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData3.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData3.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData4.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData4.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData5.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData5.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData6.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData6.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData7.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData7.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData8.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData8.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData9.plc.golden new file mode 100644 index 00000000000..1e901a910be --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MapData9.plc.golden @@ -0,0 +1 @@ +list (pair data data) -> data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons1.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons1.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons2.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons2.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons3.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons3.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons4.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons4.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons5.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons5.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons6.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons6.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons7.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons7.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons8.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons8.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons9.plc.golden new file mode 100644 index 00000000000..b05a45591c2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkCons9.plc.golden @@ -0,0 +1 @@ +all a. a -> list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData1.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData1.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData2.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData2.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData3.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData3.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData4.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData4.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData5.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData5.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData6.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData6.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData7.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData7.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData8.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData8.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData9.plc.golden new file mode 100644 index 00000000000..ea465828f68 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilData9.plc.golden @@ -0,0 +1 @@ +unit -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData1.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData1.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData2.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData2.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData3.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData3.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData4.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData4.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData5.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData5.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData6.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData6.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData7.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData7.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData8.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData8.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData9.plc.golden new file mode 100644 index 00000000000..9a3a337b0fe --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkNilPairData9.plc.golden @@ -0,0 +1 @@ +unit -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData1.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData1.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData2.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData2.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData3.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData3.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData4.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData4.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData5.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData5.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData6.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData6.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData7.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData7.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData8.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData8.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData9.plc.golden new file mode 100644 index 00000000000..fb6b01b2d6a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MkPairData9.plc.golden @@ -0,0 +1 @@ +data -> data -> pair data data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger1.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger2.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger3.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger4.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger5.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger6.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger7.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger8.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger9.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ModInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger1.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger2.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger3.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger4.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger5.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger6.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger7.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger8.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger9.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/MultiplyInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList1.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList1.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList2.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList2.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList3.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList3.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList4.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList4.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList5.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList5.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList6.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList6.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList7.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList7.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList8.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList8.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList9.plc.golden new file mode 100644 index 00000000000..8a9b372752a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/NullList9.plc.golden @@ -0,0 +1 @@ +all a. list a -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString1.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString1.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString2.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString2.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString3.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString3.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString4.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString4.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString5.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString5.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString6.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString6.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString7.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString7.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString8.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString8.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString9.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/OrByteString9.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger1.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger2.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger3.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger4.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger5.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger6.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger7.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger8.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger9.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/QuotientInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit1.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit1.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit2.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit2.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit3.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit3.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit4.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit4.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit5.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit5.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit6.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit6.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit7.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit7.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit8.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit8.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit9.plc.golden new file mode 100644 index 00000000000..bfbe9abb46f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReadBit9.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger1.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger2.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger3.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger4.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger5.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger6.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger7.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger8.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger9.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RemainderInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte1.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte2.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte3.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte4.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte5.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte6.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte7.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte8.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte9.plc.golden new file mode 100644 index 00000000000..fcb192a96ed --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ReplicateByte9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1601.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1601.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1601.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1602.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1602.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1602.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1603.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1603.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1603.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1604.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1604.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1604.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1605.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1605.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1605.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1606.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1606.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1606.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1607.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1607.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1607.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1608.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1608.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1608.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1609.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1609.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Ripemd_1609.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString1.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString2.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString3.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString4.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString5.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString6.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString7.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString8.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString9.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/RotateByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData1.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData1.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData2.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData2.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData3.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData3.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData4.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData4.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData5.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData5.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData6.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData6.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData7.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData7.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData8.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData8.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData9.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SerialiseData9.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2561.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2561.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2561.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2562.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2562.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2562.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2563.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2563.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2563.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2564.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2564.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2564.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2565.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2565.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2565.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2566.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2566.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2566.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2567.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2567.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2567.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2568.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2568.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2568.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2569.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2569.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha2_2569.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2561.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2561.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2561.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2562.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2562.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2562.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2563.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2563.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2563.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2564.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2564.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2564.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2565.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2565.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2565.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2566.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2566.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2566.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2567.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2567.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2567.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2568.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2568.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2568.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2569.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2569.plc.golden new file mode 100644 index 00000000000..770236177ca --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Sha3_2569.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString1.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString1.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString2.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString2.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString3.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString3.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString4.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString4.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString5.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString5.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString6.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString6.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString7.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString7.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString8.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString8.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString9.plc.golden new file mode 100644 index 00000000000..fbda7bdf852 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/ShiftByteString9.plc.golden @@ -0,0 +1 @@ +bytestring -> integer -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString1.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString2.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString3.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString4.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString5.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString6.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString7.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString8.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString9.plc.golden new file mode 100644 index 00000000000..99ffdcda17a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SliceByteString9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair1.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair1.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair2.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair2.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair3.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair3.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair4.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair4.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair5.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair5.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair6.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair6.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair7.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair7.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair8.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair8.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair9.plc.golden new file mode 100644 index 00000000000..21cfd0fa7ae --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SndPair9.plc.golden @@ -0,0 +1 @@ +all a b. pair a b -> b \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger1.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger1.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger2.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger2.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger3.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger3.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger4.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger4.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger5.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger5.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger6.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger6.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger7.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger7.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger8.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger8.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger9.plc.golden new file mode 100644 index 00000000000..593095a5443 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/SubtractInteger9.plc.golden @@ -0,0 +1 @@ +integer -> integer -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList1.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList1.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList2.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList2.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList3.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList3.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList4.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList4.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList5.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList5.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList6.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList6.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList7.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList7.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList8.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList8.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList9.plc.golden new file mode 100644 index 00000000000..197c0e40d6d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/TailList9.plc.golden @@ -0,0 +1 @@ +all a. list a -> list a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace1.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace1.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace2.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace2.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace3.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace3.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace4.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace4.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace5.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace5.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace6.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace6.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace7.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace7.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace8.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace8.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace9.plc.golden new file mode 100644 index 00000000000..bba8f2550d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/Trace9.plc.golden @@ -0,0 +1 @@ +all a. string -> a -> a \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData1.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData1.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData2.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData2.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData3.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData3.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData4.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData4.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData5.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData5.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData6.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData6.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData7.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData7.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData8.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData8.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData9.plc.golden new file mode 100644 index 00000000000..774e84c7048 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnBData9.plc.golden @@ -0,0 +1 @@ +data -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData1.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData1.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData2.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData2.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData3.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData3.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData4.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData4.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData5.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData5.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData6.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData6.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData7.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData7.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData8.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData8.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData9.plc.golden new file mode 100644 index 00000000000..ed5978c8339 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnConstrData9.plc.golden @@ -0,0 +1 @@ +data -> pair integer (list data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData1.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData1.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData2.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData2.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData3.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData3.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData4.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData4.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData5.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData5.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData6.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData6.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData7.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData7.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData8.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData8.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData9.plc.golden new file mode 100644 index 00000000000..8987efe938f --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnIData9.plc.golden @@ -0,0 +1 @@ +data -> integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData1.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData1.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData2.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData2.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData3.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData3.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData4.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData4.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData5.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData5.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData6.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData6.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData7.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData7.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData8.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData8.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData9.plc.golden new file mode 100644 index 00000000000..c44c8c3e5ee --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnListData9.plc.golden @@ -0,0 +1 @@ +data -> list data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData1.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData1.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData2.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData2.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData3.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData3.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData4.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData4.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData5.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData5.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData6.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData6.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData7.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData7.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData8.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData8.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData9.plc.golden new file mode 100644 index 00000000000..d83c3b6af6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/UnMapData9.plc.golden @@ -0,0 +1 @@ +data -> list (pair data data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature1.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature2.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature3.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature4.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature5.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature6.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature7.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature8.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature9.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEcdsaSecp256k1Signature9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature1.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature2.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature3.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature4.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature5.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature6.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature7.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature8.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature9.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifyEd25519Signature9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature1.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature1.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature2.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature2.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature3.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature3.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature4.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature4.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature5.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature5.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature6.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature6.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature7.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature7.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature8.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature8.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature9.plc.golden new file mode 100644 index 00000000000..391c688a66e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/VerifySchnorrSecp256k1Signature9.plc.golden @@ -0,0 +1 @@ +bytestring -> bytestring -> bytestring -> bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits1.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits1.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits2.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits2.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits3.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits3.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits4.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits4.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits5.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits5.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits6.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits6.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits7.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits7.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits8.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits8.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits9.plc.golden new file mode 100644 index 00000000000..04ea843e481 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/WriteBits9.plc.golden @@ -0,0 +1 @@ +bytestring -> list integer -> bool -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString1.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString1.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString1.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString2.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString2.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString2.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString3.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString3.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString3.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString4.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString4.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString4.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString5.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString5.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString5.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString6.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString6.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString6.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString7.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString7.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString7.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString8.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString8.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString8.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString9.plc.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString9.plc.golden new file mode 100644 index 00000000000..9180582f930 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/DefaultFun/XorByteString9.plc.golden @@ -0,0 +1 @@ +bool -> bytestring -> bytestring -> bytestring \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger1.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger2.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger3.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger4.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger5.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger6.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger7.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger8.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger9.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AddInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString1.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString1.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString2.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString2.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString3.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString3.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString4.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString4.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString5.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString5.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString6.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString6.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString7.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString7.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString8.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString8.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString9.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AndByteString9.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString1.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString2.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString3.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString4.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString5.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString6.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString7.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString8.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString9.sig.golden new file mode 100644 index 00000000000..a2735706b79 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString1.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString1.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString2.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString2.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString3.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString3.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString4.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString4.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString5.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString5.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString6.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString6.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString7.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString7.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString8.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString8.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString9.sig.golden new file mode 100644 index 00000000000..b1fc0049c58 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/AppendString9.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData1.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData1.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData2.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData2.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData3.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData3.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData4.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData4.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData5.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData5.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData6.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData6.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData7.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData7.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData8.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData8.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData9.sig.golden new file mode 100644 index 00000000000..652a9588e52 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/BData9.sig.golden @@ -0,0 +1 @@ +ByteString -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2241.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2241.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2241.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2242.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2242.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2242.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2243.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2243.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2243.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2244.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2244.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2244.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2245.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2245.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2245.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2246.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2246.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2246.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2247.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2247.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2247.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2248.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2248.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2248.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2249.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2249.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2249.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2561.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2561.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2561.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2562.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2562.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2562.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2563.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2563.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2563.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2564.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2564.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2564.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2565.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2565.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2565.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2566.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2566.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2566.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2567.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2567.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2567.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2568.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2568.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2568.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2569.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2569.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Blake2b_2569.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add1.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add1.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add2.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add2.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add3.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add3.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add4.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add4.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add5.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add5.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add6.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add6.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add7.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add7.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add8.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add8.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add9.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_add9.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress1.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress1.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress2.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress2.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress3.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress3.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress4.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress4.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress5.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress5.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress6.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress6.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress7.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress7.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress8.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress8.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress9.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_compress9.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal1.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal1.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal2.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal2.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal3.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal3.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal4.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal4.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal5.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal5.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal6.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal6.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal7.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal7.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal8.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal8.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal9.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_equal9.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup1.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup2.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup3.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup4.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup5.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup6.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup7.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup8.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup9.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_hashToGroup9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg1.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg1.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg2.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg2.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg3.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg3.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg4.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg4.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg5.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg5.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg6.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg6.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg7.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg7.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg8.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg8.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg9.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_neg9.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul1.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul1.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul2.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul2.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul3.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul3.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul4.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul4.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul5.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul5.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul6.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul6.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul7.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul7.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul8.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul8.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul9.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_scalarMul9.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress1.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress1.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress2.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress2.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress3.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress3.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress4.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress4.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress5.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress5.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress6.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress6.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress7.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress7.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress8.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress8.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress9.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G1_uncompress9.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add1.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add1.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add2.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add2.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add3.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add3.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add4.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add4.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add5.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add5.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add6.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add6.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add7.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add7.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add8.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add8.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add9.sig.golden new file mode 100644 index 00000000000..14c00904e3b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_add9.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress1.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress1.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress2.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress2.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress3.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress3.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress4.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress4.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress5.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress5.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress6.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress6.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress7.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress7.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress8.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress8.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress9.sig.golden new file mode 100644 index 00000000000..44a720209b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_compress9.sig.golden @@ -0,0 +1 @@ +Element -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal1.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal1.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal2.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal2.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal3.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal3.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal4.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal4.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal5.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal5.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal6.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal6.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal7.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal7.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal8.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal8.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal9.sig.golden new file mode 100644 index 00000000000..04dc2895e06 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_equal9.sig.golden @@ -0,0 +1 @@ +Element -> Element -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup1.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup2.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup3.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup4.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup5.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup6.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup7.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup8.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup9.sig.golden new file mode 100644 index 00000000000..8d3f9a8b6e8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_hashToGroup9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg1.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg1.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg2.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg2.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg3.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg3.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg4.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg4.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg5.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg5.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg6.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg6.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg7.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg7.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg8.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg8.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg9.sig.golden new file mode 100644 index 00000000000..aed54a8b585 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_neg9.sig.golden @@ -0,0 +1 @@ +Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul1.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul1.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul2.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul2.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul3.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul3.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul4.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul4.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul5.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul5.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul6.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul6.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul7.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul7.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul8.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul8.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul9.sig.golden new file mode 100644 index 00000000000..0e343ae8af7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_scalarMul9.sig.golden @@ -0,0 +1 @@ +Integer -> Element -> Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress1.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress1.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress2.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress2.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress3.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress3.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress4.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress4.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress5.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress5.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress6.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress6.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress7.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress7.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress8.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress8.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress9.sig.golden new file mode 100644 index 00000000000..f50142aeed1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_G2_uncompress9.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Element \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify1.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify1.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify2.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify2.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify3.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify3.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify4.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify4.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify5.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify5.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify6.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify6.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify7.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify7.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify8.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify8.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify9.sig.golden new file mode 100644 index 00000000000..d6982b00a12 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_finalVerify9.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop1.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop1.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop2.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop2.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop3.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop3.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop4.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop4.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop5.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop5.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop6.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop6.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop7.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop7.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop8.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop8.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop9.sig.golden new file mode 100644 index 00000000000..4e31dec1a6b --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_millerLoop9.sig.golden @@ -0,0 +1 @@ +Element -> Element -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult1.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult1.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult2.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult2.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult3.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult3.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult4.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult4.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult5.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult5.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult6.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult6.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult7.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult7.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult8.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult8.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult9.sig.golden new file mode 100644 index 00000000000..b2368ebdf5c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Bls12_381_mulMlResult9.sig.golden @@ -0,0 +1 @@ +MlResult -> MlResult -> MlResult \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger1.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger1.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger2.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger2.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger3.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger3.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger4.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger4.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger5.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger5.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger6.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger6.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger7.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger7.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger8.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger8.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger9.sig.golden new file mode 100644 index 00000000000..1bd9bdecfd3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ByteStringToInteger9.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData1.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData1.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData2.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData2.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData3.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData3.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData4.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData4.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData5.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData5.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData6.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData6.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData7.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData7.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData8.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData8.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData9.sig.golden new file mode 100644 index 00000000000..b40c83a0f39 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseData9.sig.golden @@ -0,0 +1 @@ +forall a. Data -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList1.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList1.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList2.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList2.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList3.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList3.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList4.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList4.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList5.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList5.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList6.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList6.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList7.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList7.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList8.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList8.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList9.sig.golden new file mode 100644 index 00000000000..7db2209fc91 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseList9.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> Opaque Val (TyVarRep * ('TyNameRep * "b" 1)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit1.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit1.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit2.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit2.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit3.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit3.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit4.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit4.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit5.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit5.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit6.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit6.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit7.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit7.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit8.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit8.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit9.sig.golden new file mode 100644 index 00000000000..f9e9dae56a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ChooseUnit9.sig.golden @@ -0,0 +1 @@ +forall a. () -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString1.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString2.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString3.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString4.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString5.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString6.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString7.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString8.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString9.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ComplementByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString1.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString1.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString2.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString2.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString3.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString3.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString4.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString4.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString5.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString5.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString6.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString6.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString7.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString7.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString8.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString8.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString9.sig.golden new file mode 100644 index 00000000000..23b17bd07d3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConsByteString9.sig.golden @@ -0,0 +1 @@ +Word8 -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData1.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData1.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData2.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData2.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData3.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData3.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData4.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData4.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData5.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData5.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData6.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData6.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData7.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData7.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData8.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData8.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData9.sig.golden new file mode 100644 index 00000000000..66a5f9acae7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ConstrData9.sig.golden @@ -0,0 +1 @@ +Integer -> [Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits1.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits1.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits2.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits2.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits3.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits3.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits4.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits4.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits5.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits5.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits6.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits6.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits7.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits7.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits8.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits8.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits9.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/CountSetBits9.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf81.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf81.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf81.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf82.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf82.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf82.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf83.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf83.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf83.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf84.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf84.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf84.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf85.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf85.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf85.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf86.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf86.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf86.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf87.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf87.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf87.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf88.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf88.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf88.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf89.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf89.sig.golden new file mode 100644 index 00000000000..5960119daba --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DecodeUtf89.sig.golden @@ -0,0 +1 @@ +ByteString -> BuiltinResult Text \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger1.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger2.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger3.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger4.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger5.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger6.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger7.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger8.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger9.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/DivideInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf81.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf81.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf81.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf82.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf82.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf82.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf83.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf83.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf83.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf84.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf84.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf84.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf85.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf85.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf85.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf86.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf86.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf86.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf87.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf87.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf87.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf88.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf88.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf88.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf89.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf89.sig.golden new file mode 100644 index 00000000000..9e479742c71 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EncodeUtf89.sig.golden @@ -0,0 +1 @@ +Text -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString1.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString2.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString3.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString4.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString5.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString6.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString7.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString8.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString9.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData1.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData1.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData2.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData2.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData3.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData3.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData4.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData4.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData5.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData5.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData6.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData6.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData7.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData7.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData8.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData8.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData9.sig.golden new file mode 100644 index 00000000000..eba843131d0 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsData9.sig.golden @@ -0,0 +1 @@ +Data -> Data -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger1.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger2.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger3.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger4.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger5.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger6.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger7.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger8.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger9.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString1.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString1.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString2.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString2.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString3.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString3.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString4.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString4.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString5.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString5.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString6.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString6.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString7.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString7.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString8.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString8.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString9.sig.golden new file mode 100644 index 00000000000..b3b670488d7 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/EqualsString9.sig.golden @@ -0,0 +1 @@ +Text -> Text -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger1.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger2.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger3.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger4.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger5.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger6.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger7.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger8.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger9.sig.golden new file mode 100644 index 00000000000..bd41d4c56f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ExpModInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Natural -> BuiltinResult Natural \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit1.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit1.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit2.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit2.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit3.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit3.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit4.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit4.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit5.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit5.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit6.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit6.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit7.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit7.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit8.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit8.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit9.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FindFirstSetBit9.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair1.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair1.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair2.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair2.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair3.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair3.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair4.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair4.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair5.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair5.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair6.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair6.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair7.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair7.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair8.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair8.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair9.sig.golden new file mode 100644 index 00000000000..5cff04b76e4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/FstPair9.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList1.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList1.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList2.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList2.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList3.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList3.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList4.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList4.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList5.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList5.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList6.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList6.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList7.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList7.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList8.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList8.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList9.sig.golden new file mode 100644 index 00000000000..4d2efe7c54e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/HeadList9.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData1.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData1.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData2.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData2.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData3.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData3.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData4.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData4.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData5.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData5.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData6.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData6.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData7.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData7.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData8.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData8.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData9.sig.golden new file mode 100644 index 00000000000..b3a10750a29 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IData9.sig.golden @@ -0,0 +1 @@ +Integer -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse1.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse1.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse2.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse2.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse3.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse3.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse4.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse4.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse5.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse5.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse6.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse6.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse7.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse7.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse8.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse8.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse9.sig.golden new file mode 100644 index 00000000000..b17703a79c5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IfThenElse9.sig.golden @@ -0,0 +1 @@ +forall a. Bool -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString1.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString2.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString3.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString4.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString5.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString6.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString7.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString8.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString9.sig.golden new file mode 100644 index 00000000000..2c43a3fd958 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IndexByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Word8 \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString1.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString1.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString2.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString2.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString3.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString3.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString4.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString4.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString5.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString5.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString6.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString6.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString7.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString7.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString8.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString8.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString9.sig.golden new file mode 100644 index 00000000000..4492683945c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/IntegerToByteString9.sig.golden @@ -0,0 +1 @@ +Bool -> NumBytesCostedAsNumWords -> Integer -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2561.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2561.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2561.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2562.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2562.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2562.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2563.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2563.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2563.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2564.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2564.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2564.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2565.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2565.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2565.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2566.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2566.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2566.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2567.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2567.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2567.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2568.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2568.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2568.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2569.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2569.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Keccak_2569.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString1.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString2.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString3.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString4.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString5.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString6.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString7.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString8.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString9.sig.golden new file mode 100644 index 00000000000..52c4017d423 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LengthOfByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> Int \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString1.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString2.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString3.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString4.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString5.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString6.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString7.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString8.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString9.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString1.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString2.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString3.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString4.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString5.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString6.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString7.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString8.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString9.sig.golden new file mode 100644 index 00000000000..5a8169ebb16 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger1.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger2.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger3.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger4.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger5.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger6.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger7.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger8.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger9.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanEqualsInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger1.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger2.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger3.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger4.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger5.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger6.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger7.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger8.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger9.sig.golden new file mode 100644 index 00000000000..afd473eafd5 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/LessThanInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData1.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData1.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData2.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData2.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData3.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData3.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData4.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData4.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData5.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData5.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData6.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData6.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData7.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData7.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData8.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData8.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData9.sig.golden new file mode 100644 index 00000000000..9a2ca5c9072 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ListData9.sig.golden @@ -0,0 +1 @@ +[Data] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData1.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData1.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData2.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData2.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData3.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData3.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData4.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData4.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData5.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData5.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData6.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData6.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData7.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData7.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData8.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData8.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData9.sig.golden new file mode 100644 index 00000000000..063f365f7c4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MapData9.sig.golden @@ -0,0 +1 @@ +[(Data,Data)] -> Data \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons1.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons1.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons2.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons2.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons3.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons3.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons4.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons4.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons5.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons5.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons6.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons6.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons7.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons7.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons8.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons8.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons9.sig.golden new file mode 100644 index 00000000000..3a4c26409a8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkCons9.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni (TyVarRep * ('TyNameRep * "a" 0)) -> SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData1.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData1.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData2.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData2.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData3.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData3.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData4.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData4.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData5.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData5.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData6.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData6.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData7.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData7.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData8.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData8.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData9.sig.golden new file mode 100644 index 00000000000..90154644bf2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilData9.sig.golden @@ -0,0 +1 @@ +() -> [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData1.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData1.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData2.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData2.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData3.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData3.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData4.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData4.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData5.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData5.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData6.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData6.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData7.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData7.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData8.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData8.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData9.sig.golden new file mode 100644 index 00000000000..e57d01fe55c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkNilPairData9.sig.golden @@ -0,0 +1 @@ +() -> [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData1.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData1.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData2.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData2.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData3.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData3.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData4.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData4.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData5.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData5.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData6.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData6.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData7.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData7.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData8.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData8.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData9.sig.golden new file mode 100644 index 00000000000..c08796151b2 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MkPairData9.sig.golden @@ -0,0 +1 @@ +Data -> Data -> (Data,Data) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger1.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger2.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger3.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger4.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger5.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger6.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger7.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger8.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger9.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ModInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger1.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger2.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger3.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger4.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger5.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger6.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger7.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger8.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger9.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/MultiplyInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList1.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList1.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList2.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList2.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList3.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList3.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList4.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList4.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList5.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList5.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList6.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList6.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList7.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList7.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList8.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList8.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList9.sig.golden new file mode 100644 index 00000000000..8a158ba9266 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/NullList9.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString1.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString1.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString2.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString2.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString3.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString3.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString4.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString4.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString5.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString5.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString6.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString6.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString7.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString7.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString8.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString8.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString9.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/OrByteString9.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger1.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger2.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger3.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger4.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger5.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger6.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger7.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger8.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger9.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/QuotientInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit1.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit1.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit2.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit2.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit3.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit3.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit4.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit4.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit5.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit5.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit6.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit6.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit7.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit7.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit8.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit8.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit9.sig.golden new file mode 100644 index 00000000000..1fc844f538c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReadBit9.sig.golden @@ -0,0 +1 @@ +ByteString -> Int -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger1.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger2.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger3.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger4.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger5.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger6.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger7.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger8.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger9.sig.golden new file mode 100644 index 00000000000..f3d69f31f7a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RemainderInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte1.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte1.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte2.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte2.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte3.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte3.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte4.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte4.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte5.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte5.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte6.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte6.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte7.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte7.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte8.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte8.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte9.sig.golden new file mode 100644 index 00000000000..681a17f855a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ReplicateByte9.sig.golden @@ -0,0 +1 @@ +NumBytesCostedAsNumWords -> Word8 -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1601.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1601.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1601.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1602.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1602.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1602.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1603.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1603.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1603.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1604.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1604.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1604.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1605.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1605.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1605.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1606.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1606.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1606.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1607.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1607.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1607.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1608.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1608.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1608.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1609.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1609.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Ripemd_1609.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString1.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString2.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString3.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString4.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString5.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString6.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString7.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString8.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString9.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/RotateByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData1.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData1.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData2.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData2.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData3.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData3.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData4.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData4.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData5.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData5.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData6.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData6.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData7.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData7.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData8.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData8.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData9.sig.golden new file mode 100644 index 00000000000..c4ad5e6543d --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SerialiseData9.sig.golden @@ -0,0 +1 @@ +Data -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2561.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2561.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2561.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2562.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2562.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2562.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2563.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2563.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2563.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2564.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2564.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2564.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2565.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2565.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2565.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2566.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2566.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2566.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2567.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2567.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2567.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2568.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2568.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2568.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2569.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2569.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha2_2569.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2561.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2561.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2561.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2562.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2562.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2562.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2563.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2563.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2563.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2564.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2564.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2564.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2565.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2565.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2565.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2566.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2566.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2566.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2567.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2567.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2567.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2568.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2568.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2568.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2569.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2569.sig.golden new file mode 100644 index 00000000000..514ca902d6e --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Sha3_2569.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString1.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString1.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString2.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString2.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString3.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString3.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString4.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString4.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString5.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString5.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString6.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString6.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString7.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString7.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString8.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString8.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString9.sig.golden new file mode 100644 index 00000000000..0acd8872054 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/ShiftByteString9.sig.golden @@ -0,0 +1 @@ +ByteString -> IntegerCostedLiterally -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString1.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString1.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString2.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString2.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString3.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString3.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString4.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString4.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString5.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString5.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString6.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString6.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString7.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString7.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString8.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString8.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString9.sig.golden new file mode 100644 index 00000000000..ceeb2dda01c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SliceByteString9.sig.golden @@ -0,0 +1 @@ +Int -> Int -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair1.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair1.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair2.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair2.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair3.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair3.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair4.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair4.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair5.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair5.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair6.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair6.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair7.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair7.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair8.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair8.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair9.sig.golden new file mode 100644 index 00000000000..6c671aeb914 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SndPair9.sig.golden @@ -0,0 +1 @@ +forall a. forall b. SomeConstant DefaultUni ((TyVarRep * ('TyNameRep * "a" 0)),(TyVarRep * ('TyNameRep * "b" 1))) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "b" 1))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger1.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger1.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger2.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger2.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger3.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger3.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger4.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger4.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger5.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger5.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger6.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger6.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger7.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger7.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger8.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger8.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger9.sig.golden new file mode 100644 index 00000000000..eb324ddd2d1 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/SubtractInteger9.sig.golden @@ -0,0 +1 @@ +Integer -> Integer -> Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList1.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList1.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList2.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList2.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList3.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList3.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList4.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList4.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList5.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList5.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList6.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList6.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList7.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList7.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList8.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList8.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList9.sig.golden new file mode 100644 index 00000000000..5c4ab2a6bcb --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/TailList9.sig.golden @@ -0,0 +1 @@ +forall a. SomeConstant DefaultUni [TyVarRep * ('TyNameRep * "a" 0)] -> BuiltinResult (Opaque Val [TyVarRep * ('TyNameRep * "a" 0)]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace1.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace1.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace2.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace2.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace3.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace3.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace4.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace4.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace5.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace5.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace6.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace6.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace7.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace7.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace8.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace8.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace9.sig.golden new file mode 100644 index 00000000000..bd188e5f944 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/Trace9.sig.golden @@ -0,0 +1 @@ +forall a. Text -> Opaque Val (TyVarRep * ('TyNameRep * "a" 0)) -> BuiltinResult (Opaque Val (TyVarRep * ('TyNameRep * "a" 0))) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData1.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData1.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData2.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData2.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData3.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData3.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData4.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData4.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData5.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData5.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData6.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData6.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData7.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData7.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData8.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData8.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData9.sig.golden new file mode 100644 index 00000000000..c1b0bfbcda8 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnBData9.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData1.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData1.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData2.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData2.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData3.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData3.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData4.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData4.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData5.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData5.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData6.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData6.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData7.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData7.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData8.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData8.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData9.sig.golden new file mode 100644 index 00000000000..c975ba3cac4 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnConstrData9.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult (Integer,[Data]) \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData1.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData1.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData2.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData2.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData3.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData3.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData4.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData4.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData5.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData5.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData6.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData6.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData7.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData7.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData8.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData8.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData9.sig.golden new file mode 100644 index 00000000000..6f40da94863 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnIData9.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult Integer \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData1.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData1.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData2.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData2.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData3.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData3.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData4.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData4.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData5.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData5.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData6.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData6.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData7.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData7.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData8.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData8.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData9.sig.golden new file mode 100644 index 00000000000..dbd1a333535 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnListData9.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [Data] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData1.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData1.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData2.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData2.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData3.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData3.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData4.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData4.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData5.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData5.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData6.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData6.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData7.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData7.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData8.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData8.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData9.sig.golden new file mode 100644 index 00000000000..99e8a8bb46c --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/UnMapData9.sig.golden @@ -0,0 +1 @@ +Data -> BuiltinResult [(Data,Data)] \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature1.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature2.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature3.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature4.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature5.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature6.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature7.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature8.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature9.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEcdsaSecp256k1Signature9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature1.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature2.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature3.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature4.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature5.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature6.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature7.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature8.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature9.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifyEd25519Signature9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature1.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature1.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature2.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature2.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature3.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature3.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature4.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature4.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature5.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature5.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature6.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature6.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature7.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature7.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature8.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature8.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature9.sig.golden new file mode 100644 index 00000000000..992c663087a --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/VerifySchnorrSecp256k1Signature9.sig.golden @@ -0,0 +1 @@ +ByteString -> ByteString -> ByteString -> BuiltinResult Bool \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits1.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits1.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits2.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits2.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits3.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits3.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits4.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits4.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits5.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits5.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits6.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits6.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits7.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits7.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits8.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits8.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits9.sig.golden new file mode 100644 index 00000000000..be183f563f3 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/WriteBits9.sig.golden @@ -0,0 +1 @@ +ByteString -> ListCostedByLength Integer -> Bool -> BuiltinResult ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString1.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString1.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString1.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString2.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString2.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString2.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString3.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString3.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString3.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString4.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString4.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString4.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString5.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString5.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString5.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString6.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString6.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString6.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString7.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString7.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString7.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString8.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString8.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString8.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString9.sig.golden b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString9.sig.golden new file mode 100644 index 00000000000..faf5b859837 --- /dev/null +++ b/plutus-core/plutus-core/test/TypeSynthesis/Golden/Signatures/DefaultFun/XorByteString9.sig.golden @@ -0,0 +1 @@ +Bool -> ByteString -> ByteString -> ByteString \ No newline at end of file diff --git a/plutus-ledger-api/src/PlutusLedgerApi/Common/Versions.hs b/plutus-ledger-api/src/PlutusLedgerApi/Common/Versions.hs index 45c38ef1e3e..d4c892f0ea9 100644 --- a/plutus-ledger-api/src/PlutusLedgerApi/Common/Versions.hs +++ b/plutus-ledger-api/src/PlutusLedgerApi/Common/Versions.hs @@ -89,45 +89,45 @@ See Note [New builtins/language versions and protocol versions] builtinsIntroducedIn :: Map.Map (PlutusLedgerLanguage, MajorProtocolVersion) (Set.Set DefaultFun) builtinsIntroducedIn = Map.fromList [ ((PlutusV1, alonzoPV), Set.fromList [ - AddInteger, SubtractInteger, MultiplyInteger, DivideInteger, QuotientInteger, RemainderInteger, ModInteger, EqualsInteger, LessThanInteger, LessThanEqualsInteger, - AppendByteString, ConsByteString, SliceByteString, LengthOfByteString, IndexByteString, EqualsByteString, LessThanByteString, LessThanEqualsByteString, - Sha2_256, Sha3_256, Blake2b_256, VerifyEd25519Signature, - AppendString, EqualsString, EncodeUtf8, DecodeUtf8, - IfThenElse, - ChooseUnit, - Trace, - FstPair, SndPair, - ChooseList, MkCons, HeadList, TailList, NullList, - ChooseData, ConstrData, MapData, ListData, IData, BData, UnConstrData, UnMapData, UnListData, UnIData, UnBData, EqualsData, - MkPairData, MkNilData, MkNilPairData + AddInteger, AddInteger1, AddInteger2, AddInteger3, AddInteger4, AddInteger5, AddInteger6, AddInteger7, AddInteger8, AddInteger9, SubtractInteger, SubtractInteger1, SubtractInteger2, SubtractInteger3, SubtractInteger4, SubtractInteger5, SubtractInteger6, SubtractInteger7, SubtractInteger8, SubtractInteger9, MultiplyInteger, MultiplyInteger1, MultiplyInteger2, MultiplyInteger3, MultiplyInteger4, MultiplyInteger5, MultiplyInteger6, MultiplyInteger7, MultiplyInteger8, MultiplyInteger9, DivideInteger, DivideInteger1, DivideInteger2, DivideInteger3, DivideInteger4, DivideInteger5, DivideInteger6, DivideInteger7, DivideInteger8, DivideInteger9, QuotientInteger, QuotientInteger1, QuotientInteger2, QuotientInteger3, QuotientInteger4, QuotientInteger5, QuotientInteger6, QuotientInteger7, QuotientInteger8, QuotientInteger9, RemainderInteger, RemainderInteger1, RemainderInteger2, RemainderInteger3, RemainderInteger4, RemainderInteger5, RemainderInteger6, RemainderInteger7, RemainderInteger8, RemainderInteger9, ModInteger, ModInteger1, ModInteger2, ModInteger3, ModInteger4, ModInteger5, ModInteger6, ModInteger7, ModInteger8, ModInteger9, EqualsInteger, EqualsInteger1, EqualsInteger2, EqualsInteger3, EqualsInteger4, EqualsInteger5, EqualsInteger6, EqualsInteger7, EqualsInteger8, EqualsInteger9, LessThanInteger, LessThanInteger1, LessThanInteger2, LessThanInteger3, LessThanInteger4, LessThanInteger5, LessThanInteger6, LessThanInteger7, LessThanInteger8, LessThanInteger9, LessThanEqualsInteger, LessThanEqualsInteger1, LessThanEqualsInteger2, LessThanEqualsInteger3, LessThanEqualsInteger4, LessThanEqualsInteger5, LessThanEqualsInteger6, LessThanEqualsInteger7, LessThanEqualsInteger8, LessThanEqualsInteger9, + AppendByteString, AppendByteString1, AppendByteString2, AppendByteString3, AppendByteString4, AppendByteString5, AppendByteString6, AppendByteString7, AppendByteString8, AppendByteString9, ConsByteString, ConsByteString1, ConsByteString2, ConsByteString3, ConsByteString4, ConsByteString5, ConsByteString6, ConsByteString7, ConsByteString8, ConsByteString9, SliceByteString, SliceByteString1, SliceByteString2, SliceByteString3, SliceByteString4, SliceByteString5, SliceByteString6, SliceByteString7, SliceByteString8, SliceByteString9, LengthOfByteString, LengthOfByteString1, LengthOfByteString2, LengthOfByteString3, LengthOfByteString4, LengthOfByteString5, LengthOfByteString6, LengthOfByteString7, LengthOfByteString8, LengthOfByteString9, IndexByteString, IndexByteString1, IndexByteString2, IndexByteString3, IndexByteString4, IndexByteString5, IndexByteString6, IndexByteString7, IndexByteString8, IndexByteString9, EqualsByteString, EqualsByteString1, EqualsByteString2, EqualsByteString3, EqualsByteString4, EqualsByteString5, EqualsByteString6, EqualsByteString7, EqualsByteString8, EqualsByteString9, LessThanByteString, LessThanByteString1, LessThanByteString2, LessThanByteString3, LessThanByteString4, LessThanByteString5, LessThanByteString6, LessThanByteString7, LessThanByteString8, LessThanByteString9, LessThanEqualsByteString, LessThanEqualsByteString1, LessThanEqualsByteString2, LessThanEqualsByteString3, LessThanEqualsByteString4, LessThanEqualsByteString5, LessThanEqualsByteString6, LessThanEqualsByteString7, LessThanEqualsByteString8, LessThanEqualsByteString9, + Sha2_256, Sha2_2561, Sha2_2562, Sha2_2563, Sha2_2564, Sha2_2565, Sha2_2566, Sha2_2567, Sha2_2568, Sha2_2569, Sha3_256, Sha3_2561, Sha3_2562, Sha3_2563, Sha3_2564, Sha3_2565, Sha3_2566, Sha3_2567, Sha3_2568, Sha3_2569, Blake2b_256, Blake2b_2561, Blake2b_2562, Blake2b_2563, Blake2b_2564, Blake2b_2565, Blake2b_2566, Blake2b_2567, Blake2b_2568, Blake2b_2569, VerifyEd25519Signature, VerifyEd25519Signature1, VerifyEd25519Signature2, VerifyEd25519Signature3, VerifyEd25519Signature4, VerifyEd25519Signature5, VerifyEd25519Signature6, VerifyEd25519Signature7, VerifyEd25519Signature8, VerifyEd25519Signature9, + AppendString, AppendString1, AppendString2, AppendString3, AppendString4, AppendString5, AppendString6, AppendString7, AppendString8, AppendString9, EqualsString, EqualsString1, EqualsString2, EqualsString3, EqualsString4, EqualsString5, EqualsString6, EqualsString7, EqualsString8, EqualsString9, EncodeUtf8, EncodeUtf81, EncodeUtf82, EncodeUtf83, EncodeUtf84, EncodeUtf85, EncodeUtf86, EncodeUtf87, EncodeUtf88, EncodeUtf89, DecodeUtf8, DecodeUtf81, DecodeUtf82, DecodeUtf83, DecodeUtf84, DecodeUtf85, DecodeUtf86, DecodeUtf87, DecodeUtf88, DecodeUtf89, + IfThenElse, IfThenElse1, IfThenElse2, IfThenElse3, IfThenElse4, IfThenElse5, IfThenElse6, IfThenElse7, IfThenElse8, IfThenElse9, + ChooseUnit, ChooseUnit1, ChooseUnit2, ChooseUnit3, ChooseUnit4, ChooseUnit5, ChooseUnit6, ChooseUnit7, ChooseUnit8, ChooseUnit9, + Trace, Trace1, Trace2, Trace3, Trace4, Trace5, Trace6, Trace7, Trace8, Trace9, + FstPair, FstPair1, FstPair2, FstPair3, FstPair4, FstPair5, FstPair6, FstPair7, FstPair8, FstPair9, SndPair, SndPair1, SndPair2, SndPair3, SndPair4, SndPair5, SndPair6, SndPair7, SndPair8, SndPair9, + ChooseList, ChooseList1, ChooseList2, ChooseList3, ChooseList4, ChooseList5, ChooseList6, ChooseList7, ChooseList8, ChooseList9, MkCons, MkCons1, MkCons2, MkCons3, MkCons4, MkCons5, MkCons6, MkCons7, MkCons8, MkCons9, HeadList, HeadList1, HeadList2, HeadList3, HeadList4, HeadList5, HeadList6, HeadList7, HeadList8, HeadList9, TailList, TailList1, TailList2, TailList3, TailList4, TailList5, TailList6, TailList7, TailList8, TailList9, NullList, NullList1, NullList2, NullList3, NullList4, NullList5, NullList6, NullList7, NullList8, NullList9, + ChooseData, ChooseData1, ChooseData2, ChooseData3, ChooseData4, ChooseData5, ChooseData6, ChooseData7, ChooseData8, ChooseData9, ConstrData, ConstrData1, ConstrData2, ConstrData3, ConstrData4, ConstrData5, ConstrData6, ConstrData7, ConstrData8, ConstrData9, MapData, MapData1, MapData2, MapData3, MapData4, MapData5, MapData6, MapData7, MapData8, MapData9, ListData, ListData1, ListData2, ListData3, ListData4, ListData5, ListData6, ListData7, ListData8, ListData9, IData, IData1, IData2, IData3, IData4, IData5, IData6, IData7, IData8, IData9, BData, BData1, BData2, BData3, BData4, BData5, BData6, BData7, BData8, BData9, UnConstrData, UnConstrData1, UnConstrData2, UnConstrData3, UnConstrData4, UnConstrData5, UnConstrData6, UnConstrData7, UnConstrData8, UnConstrData9, UnMapData, UnMapData1, UnMapData2, UnMapData3, UnMapData4, UnMapData5, UnMapData6, UnMapData7, UnMapData8, UnMapData9, UnListData, UnListData1, UnListData2, UnListData3, UnListData4, UnListData5, UnListData6, UnListData7, UnListData8, UnListData9, UnIData, UnIData1, UnIData2, UnIData3, UnIData4, UnIData5, UnIData6, UnIData7, UnIData8, UnIData9, UnBData, UnBData1, UnBData2, UnBData3, UnBData4, UnBData5, UnBData6, UnBData7, UnBData8, UnBData9, EqualsData, EqualsData1, EqualsData2, EqualsData3, EqualsData4, EqualsData5, EqualsData6, EqualsData7, EqualsData8, EqualsData9, + MkPairData, MkPairData1, MkPairData2, MkPairData3, MkPairData4, MkPairData5, MkPairData6, MkPairData7, MkPairData8, MkPairData9, MkNilData, MkNilData1, MkNilData2, MkNilData3, MkNilData4, MkNilData5, MkNilData6, MkNilData7, MkNilData8, MkNilData9, MkNilPairData, MkNilPairData1, MkNilPairData2, MkNilPairData3, MkNilPairData4, MkNilPairData5, MkNilPairData6, MkNilPairData7, MkNilPairData8, MkNilPairData9 ]), ((PlutusV2, vasilPV), Set.fromList [ - SerialiseData + SerialiseData, SerialiseData1, SerialiseData2, SerialiseData3, SerialiseData4, SerialiseData5, SerialiseData6, SerialiseData7, SerialiseData8, SerialiseData9 ]), ((PlutusV2, valentinePV), Set.fromList [ - VerifyEcdsaSecp256k1Signature, VerifySchnorrSecp256k1Signature + VerifyEcdsaSecp256k1Signature, VerifyEcdsaSecp256k1Signature1, VerifyEcdsaSecp256k1Signature2, VerifyEcdsaSecp256k1Signature3, VerifyEcdsaSecp256k1Signature4, VerifyEcdsaSecp256k1Signature5, VerifyEcdsaSecp256k1Signature6, VerifyEcdsaSecp256k1Signature7, VerifyEcdsaSecp256k1Signature8, VerifyEcdsaSecp256k1Signature9, VerifySchnorrSecp256k1Signature, VerifySchnorrSecp256k1Signature1, VerifySchnorrSecp256k1Signature2, VerifySchnorrSecp256k1Signature3, VerifySchnorrSecp256k1Signature4, VerifySchnorrSecp256k1Signature5, VerifySchnorrSecp256k1Signature6, VerifySchnorrSecp256k1Signature7, VerifySchnorrSecp256k1Signature8, VerifySchnorrSecp256k1Signature9 ]), ((PlutusV2, changPlus1PV), Set.fromList [ - IntegerToByteString, ByteStringToInteger + IntegerToByteString, IntegerToByteString1, IntegerToByteString2, IntegerToByteString3, IntegerToByteString4, IntegerToByteString5, IntegerToByteString6, IntegerToByteString7, IntegerToByteString8, IntegerToByteString9, ByteStringToInteger, ByteStringToInteger1, ByteStringToInteger2, ByteStringToInteger3, ByteStringToInteger4, ByteStringToInteger5, ByteStringToInteger6, ByteStringToInteger7, ByteStringToInteger8, ByteStringToInteger9 ]), ((PlutusV3, changPV), Set.fromList [ - Bls12_381_G1_add, Bls12_381_G1_neg, Bls12_381_G1_scalarMul, - Bls12_381_G1_equal, Bls12_381_G1_hashToGroup, - Bls12_381_G1_compress, Bls12_381_G1_uncompress, - Bls12_381_G2_add, Bls12_381_G2_neg, Bls12_381_G2_scalarMul, - Bls12_381_G2_equal, Bls12_381_G2_hashToGroup, - Bls12_381_G2_compress, Bls12_381_G2_uncompress, - Bls12_381_millerLoop, Bls12_381_mulMlResult, Bls12_381_finalVerify, - Keccak_256, Blake2b_224, IntegerToByteString, ByteStringToInteger + Bls12_381_G1_add, Bls12_381_G1_add1, Bls12_381_G1_add2, Bls12_381_G1_add3, Bls12_381_G1_add4, Bls12_381_G1_add5, Bls12_381_G1_add6, Bls12_381_G1_add7, Bls12_381_G1_add8, Bls12_381_G1_add9, Bls12_381_G1_neg, Bls12_381_G1_neg1, Bls12_381_G1_neg2, Bls12_381_G1_neg3, Bls12_381_G1_neg4, Bls12_381_G1_neg5, Bls12_381_G1_neg6, Bls12_381_G1_neg7, Bls12_381_G1_neg8, Bls12_381_G1_neg9, Bls12_381_G1_scalarMul, Bls12_381_G1_scalarMul1, Bls12_381_G1_scalarMul2, Bls12_381_G1_scalarMul3, Bls12_381_G1_scalarMul4, Bls12_381_G1_scalarMul5, Bls12_381_G1_scalarMul6, Bls12_381_G1_scalarMul7, Bls12_381_G1_scalarMul8, Bls12_381_G1_scalarMul9, + Bls12_381_G1_equal, Bls12_381_G1_equal1, Bls12_381_G1_equal2, Bls12_381_G1_equal3, Bls12_381_G1_equal4, Bls12_381_G1_equal5, Bls12_381_G1_equal6, Bls12_381_G1_equal7, Bls12_381_G1_equal8, Bls12_381_G1_equal9, Bls12_381_G1_hashToGroup, Bls12_381_G1_hashToGroup1, Bls12_381_G1_hashToGroup2, Bls12_381_G1_hashToGroup3, Bls12_381_G1_hashToGroup4, Bls12_381_G1_hashToGroup5, Bls12_381_G1_hashToGroup6, Bls12_381_G1_hashToGroup7, Bls12_381_G1_hashToGroup8, Bls12_381_G1_hashToGroup9, + Bls12_381_G1_compress, Bls12_381_G1_compress1, Bls12_381_G1_compress2, Bls12_381_G1_compress3, Bls12_381_G1_compress4, Bls12_381_G1_compress5, Bls12_381_G1_compress6, Bls12_381_G1_compress7, Bls12_381_G1_compress8, Bls12_381_G1_compress9, Bls12_381_G1_uncompress, Bls12_381_G1_uncompress1, Bls12_381_G1_uncompress2, Bls12_381_G1_uncompress3, Bls12_381_G1_uncompress4, Bls12_381_G1_uncompress5, Bls12_381_G1_uncompress6, Bls12_381_G1_uncompress7, Bls12_381_G1_uncompress8, Bls12_381_G1_uncompress9, + Bls12_381_G2_add, Bls12_381_G2_add1, Bls12_381_G2_add2, Bls12_381_G2_add3, Bls12_381_G2_add4, Bls12_381_G2_add5, Bls12_381_G2_add6, Bls12_381_G2_add7, Bls12_381_G2_add8, Bls12_381_G2_add9, Bls12_381_G2_neg, Bls12_381_G2_neg1, Bls12_381_G2_neg2, Bls12_381_G2_neg3, Bls12_381_G2_neg4, Bls12_381_G2_neg5, Bls12_381_G2_neg6, Bls12_381_G2_neg7, Bls12_381_G2_neg8, Bls12_381_G2_neg9, Bls12_381_G2_scalarMul, Bls12_381_G2_scalarMul1, Bls12_381_G2_scalarMul2, Bls12_381_G2_scalarMul3, Bls12_381_G2_scalarMul4, Bls12_381_G2_scalarMul5, Bls12_381_G2_scalarMul6, Bls12_381_G2_scalarMul7, Bls12_381_G2_scalarMul8, Bls12_381_G2_scalarMul9, + Bls12_381_G2_equal, Bls12_381_G2_equal1, Bls12_381_G2_equal2, Bls12_381_G2_equal3, Bls12_381_G2_equal4, Bls12_381_G2_equal5, Bls12_381_G2_equal6, Bls12_381_G2_equal7, Bls12_381_G2_equal8, Bls12_381_G2_equal9, Bls12_381_G2_hashToGroup, Bls12_381_G2_hashToGroup1, Bls12_381_G2_hashToGroup2, Bls12_381_G2_hashToGroup3, Bls12_381_G2_hashToGroup4, Bls12_381_G2_hashToGroup5, Bls12_381_G2_hashToGroup6, Bls12_381_G2_hashToGroup7, Bls12_381_G2_hashToGroup8, Bls12_381_G2_hashToGroup9, + Bls12_381_G2_compress, Bls12_381_G2_compress1, Bls12_381_G2_compress2, Bls12_381_G2_compress3, Bls12_381_G2_compress4, Bls12_381_G2_compress5, Bls12_381_G2_compress6, Bls12_381_G2_compress7, Bls12_381_G2_compress8, Bls12_381_G2_compress9, Bls12_381_G2_uncompress, Bls12_381_G2_uncompress1, Bls12_381_G2_uncompress2, Bls12_381_G2_uncompress3, Bls12_381_G2_uncompress4, Bls12_381_G2_uncompress5, Bls12_381_G2_uncompress6, Bls12_381_G2_uncompress7, Bls12_381_G2_uncompress8, Bls12_381_G2_uncompress9, + Bls12_381_millerLoop, Bls12_381_millerLoop1, Bls12_381_millerLoop2, Bls12_381_millerLoop3, Bls12_381_millerLoop4, Bls12_381_millerLoop5, Bls12_381_millerLoop6, Bls12_381_millerLoop7, Bls12_381_millerLoop8, Bls12_381_millerLoop9, Bls12_381_mulMlResult, Bls12_381_mulMlResult1, Bls12_381_mulMlResult2, Bls12_381_mulMlResult3, Bls12_381_mulMlResult4, Bls12_381_mulMlResult5, Bls12_381_mulMlResult6, Bls12_381_mulMlResult7, Bls12_381_mulMlResult8, Bls12_381_mulMlResult9, Bls12_381_finalVerify, Bls12_381_finalVerify1, Bls12_381_finalVerify2, Bls12_381_finalVerify3, Bls12_381_finalVerify4, Bls12_381_finalVerify5, Bls12_381_finalVerify6, Bls12_381_finalVerify7, Bls12_381_finalVerify8, Bls12_381_finalVerify9, + Keccak_256, Keccak_2561, Keccak_2562, Keccak_2563, Keccak_2564, Keccak_2565, Keccak_2566, Keccak_2567, Keccak_2568, Keccak_2569, Blake2b_224, Blake2b_2241, Blake2b_2242, Blake2b_2243, Blake2b_2244, Blake2b_2245, Blake2b_2246, Blake2b_2247, Blake2b_2248, Blake2b_2249, IntegerToByteString, IntegerToByteString1, IntegerToByteString2, IntegerToByteString3, IntegerToByteString4, IntegerToByteString5, IntegerToByteString6, IntegerToByteString7, IntegerToByteString8, IntegerToByteString9, ByteStringToInteger, ByteStringToInteger1, ByteStringToInteger2, ByteStringToInteger3, ByteStringToInteger4, ByteStringToInteger5, ByteStringToInteger6, ByteStringToInteger7, ByteStringToInteger8, ByteStringToInteger9 ]), ((PlutusV3, changPlus1PV), Set.fromList [ - AndByteString, OrByteString, XorByteString, ComplementByteString, - ReadBit, WriteBits, ReplicateByte, - ShiftByteString, RotateByteString, CountSetBits, FindFirstSetBit, - Ripemd_160 + AndByteString, AndByteString1, AndByteString2, AndByteString3, AndByteString4, AndByteString5, AndByteString6, AndByteString7, AndByteString8, AndByteString9, OrByteString, OrByteString1, OrByteString2, OrByteString3, OrByteString4, OrByteString5, OrByteString6, OrByteString7, OrByteString8, OrByteString9, XorByteString, XorByteString1, XorByteString2, XorByteString3, XorByteString4, XorByteString5, XorByteString6, XorByteString7, XorByteString8, XorByteString9, ComplementByteString, ComplementByteString1, ComplementByteString2, ComplementByteString3, ComplementByteString4, ComplementByteString5, ComplementByteString6, ComplementByteString7, ComplementByteString8, ComplementByteString9, + ReadBit, ReadBit1, ReadBit2, ReadBit3, ReadBit4, ReadBit5, ReadBit6, ReadBit7, ReadBit8, ReadBit9, WriteBits, WriteBits1, WriteBits2, WriteBits3, WriteBits4, WriteBits5, WriteBits6, WriteBits7, WriteBits8, WriteBits9, ReplicateByte, ReplicateByte1, ReplicateByte2, ReplicateByte3, ReplicateByte4, ReplicateByte5, ReplicateByte6, ReplicateByte7, ReplicateByte8, ReplicateByte9, + ShiftByteString, ShiftByteString1, ShiftByteString2, ShiftByteString3, ShiftByteString4, ShiftByteString5, ShiftByteString6, ShiftByteString7, ShiftByteString8, ShiftByteString9, RotateByteString, RotateByteString1, RotateByteString2, RotateByteString3, RotateByteString4, RotateByteString5, RotateByteString6, RotateByteString7, RotateByteString8, RotateByteString9, CountSetBits, CountSetBits1, CountSetBits2, CountSetBits3, CountSetBits4, CountSetBits5, CountSetBits6, CountSetBits7, CountSetBits8, CountSetBits9, FindFirstSetBit, FindFirstSetBit1, FindFirstSetBit2, FindFirstSetBit3, FindFirstSetBit4, FindFirstSetBit5, FindFirstSetBit6, FindFirstSetBit7, FindFirstSetBit8, FindFirstSetBit9, + Ripemd_160, Ripemd_1601, Ripemd_1602, Ripemd_1603, Ripemd_1604, Ripemd_1605, Ripemd_1606, Ripemd_1607, Ripemd_1608, Ripemd_1609 ]), ((PlutusV3, futurePV), Set.fromList [ - ExpModInteger, + ExpModInteger, ExpModInteger1, ExpModInteger2, ExpModInteger3, ExpModInteger4, ExpModInteger5, ExpModInteger6, ExpModInteger7, ExpModInteger8, ExpModInteger9, CaseList, CaseData ]) ]