diff --git a/yarn-project/noir-contracts/src/examples/non_native_token_contract.json b/yarn-project/noir-contracts/src/examples/non_native_token_contract.json index e8768fde684d..c9978eae3004 100644 --- a/yarn-project/noir-contracts/src/examples/non_native_token_contract.json +++ b/yarn-project/noir-contracts/src/examples/non_native_token_contract.json @@ -366,9 +366,7 @@ "visibility": "private" } ], - "returnTypes": [ - null - ], + "returnTypes": [null], "bytecode": "cd9df973d35517c69b6e5ed119f53f505f505196ac4dc2da742fb42c2dfb9e36df94409a84242d2dab71c15d935370c5958220a2ef3bee3beedb41fdd579fd1fdc7745130b42a13dcdf2046e67fa43e69979b8e79393fb3df7f661b2fb98c9ff55c9ff13ffad097a3b37d684fb1a7a429db5de6030b1bfcd33afb13e45e52641ac90c44a53e2294f34105fdf6dc4039d03c9147d596d3357d9ed86d36a586c16afd9eaee7039cc76474795cbe2b2385c0e9fd565b3192ebbcbe9ee703bcd6e8bdd6658fc0eb7cd6f1efab9fccb6a73613f76fca2ae287851d611301e5c60f88c68cc080d0cd0e57c9cae48ff9af878095df99fc49335d1403018e8da934a1c680f84ba82c65025052ec37265c116e67f56d41d091ae3930f25f6b5867bc95492d85f1b0ec5e254922adc3f71b8211c35025da10ca481c3b17838eaed32da0caf2f9538d46478239e68d4db4fa5a654e2489bd11588c58d6873c867f4994eaea21cb18a2335819037dadf103082bef991dd15fb3c3e5f697962b025ecf55159c550e515652708542406e7f4744752170ebd2e310db6c7c391a389437581a8d1190ff41a89830b7bc2f180118aefc1bc95e30b2f722099ccc2c422cb574d382aec1113fa04f12ade35fcc33a00f8b08e07b09d40002e80262c62fb5ca249fb5c73b5d43e574bed734d31dae71200dbab01ed730da07de070269c2b386378f0ff0a079c071da748c7321140f85a80475674f2dc7a48972e2abc0120dbd7c46ba5edeb5a69fb9a683a35e6917663dea9059126bbea78e0ec7a5d72efd0a4566a2afe0cfbf4891976697abf31860db165263a6b881dfebaf4e4b22a8a30d4566686daf42c3b34d496570ea1a82c3f81a4f2c4503b6ed8508b39524d2cbc1f848fd62425889325718a244e9544b3245a24d12a893649b44ba24312ab24d129892e49744be234499c2e89332471a624ce92c4d992582d891e49ac91c45a49ac93c47a496c90c446496c92c466499c238973d5880396ad804dc33227ed61f517b4f158e62206ace78a389c5bf2adace9a4872f7f3acd083acf17f9e862cea7b286d33dccf9d16944d079e11c1cec5cb95656778687db9f3b9d7a049d17cfcdb1d7eecfa5b29a913c9cb9d1a945d079e91c5e0a38b2adac7a340f7bf6743c083a2f9fe32b13733695cd923cccd9d1998da0f3ca79b850ea1cabb219637938c7a6331341e7d5f374dd66952a9b06b8949a8ea0f3da79bc8c748e56992b5b0fe7e874dc083aaf9fe7ab5ad7489555e5e2e11a998e1341e70d0d2eb2cd675666cfd1a3ca7f361d0782ce9b9a5cf39b4fafcc9a8f8775381d1b82ce5b1afd11c47ab23273be1ef653742c083a4775fa1391e1f7671666995290c7109da9083a6f17834e8186163e8a30791bc1e71d2df9bc8930790bc1e75d2df9bc8e307903c1e73d2df9bc8a30790dc1e77d2df9bc8c307905c1e7032df9bc88307909c1e7432df93c8f307901c1e723dda69ff4fc63998cc0f31c02cfc75ab6cf4708938f117c3ed192cf0708930f117c3ed592cf7b0893f7117c584b3eef204cde45f039a6251f46981c43f0f94c4b3e9f204c3e45f0f95c473e97002a9b8440fc8596ddf319c2e47344f77c814dc01e5a146e31dabcbe40df8036e9fbaf4a2e9f3479cad4f46dadcdeea872badcd3a6cf98396b76b5a7a6b6aebea1b1a979cedc63a61221a1d322c5775a25719e24ce97c40592b85012db24b15d121749e262495c22894b257199242e97c41592b852125749e26a495c23896b25719d247a25b143123b25d127898624fa25b14b12d74b6240123748e2c62284e4360042721b117bf0d73a86e4d603427201049d6f740cc9f90121b92e049d6f750cc9f90021390341e73b1d43721d80905c2782cef73a86e4d60142725e049d1f740cc9ad0184e4d622e8fca863486e152024b71a41e7271d43722b0021b995083a3feb18925b0608c92d47d0f945c790dc1240486e2982ceaf3a86e4160142728b11747ed33124d70608c9b523e8fcae63486e012024b71041e70f1d4372f30021b9f9083a7f6a798ffc07c2e44f049fe35af2f90d61f23b82cf5f5af2f90561f22b804ffa025e4b403f214c7e8600326909e80784c98f1040a55a02fa0e61f23d0450999680be41987c0b0154ae6352ae15c1e76b089f0a1d1b28fdb6415c2a20882af544540a71298320ba404f44251017130491d272a73e8e30f90b02e8423d7b48415c2e84201aa727a24a88cb05104417e988e85240692d10c817ebd941e3202e17413ae862cde3739742e2732dadf3e62f58d8d6be68f192a5cb96af58b96af59ab5ebbc1d9d3ec3dfb53eb061a31c9f0b4ac19e6e490c496258122392b84912a3921893c4b824f64862af246e96c43e49ec97c42d92b85512b749e27649dc21893b2591af17d584a8de20aa378aea4da27ab3a8ee12d55b44f55651bd4d546f17d53b8a10a5e3db01593abe03b2255fa7639a8e6f05c4e9f83608a0493a06ea78172051c7b740004dd63153c7370142757c3304d0141d63757c032057c73742004dd53159c7d703a2759c800032eb18aedb0108d7ed84e0b1e898aedb0648d76d87e0b1ea18afdb0288d76d85e0b1e998afeb03e4ebfa2178ec3a06ec7a0101bbcd103c0e1d13767140c2ae0782a74ac7885d1410b18b41f03875ccd8450019bb4d103c2e1d43762140c82e0cc1e3d6f3c6d905717143104dd3135115c4c50941345d4f4476888b038268869e88ac10171b04d14c3d1199212e1608a2597a229a0271990a41345b4f4493202e932188aa754cdd7543005d0701e4d1b387aa212e1e08a21a3d11cd82b8cc8620aad513d10c88cb4c08a23a3d114d83b84c8720aad713511dc4a51e82a8414f443510975a08a2461d115d06282d0881dca4670735405c1a211dd4a479f0ee3248f02ed81d0a47364563f19edecd7dfd5bb66edbbe63275fcf09be816fe49bf866dec5b7f0ad7c1bdfce77644278c3de74c4b7cff29d85d6d1612fc2aaee2a745555e622aceaee4257e5f5176155f714ba2ab77d8438d981f6268fd551455f95f888ef54c477a57fef4effdea368aea2398a9a1535296a54d4a0a85e519da25a45358a3c8aaa15cd56344bd14c4533144d57344d915b914b91535195228722bb229b22ab228b22b3a2a98aa6289aac6892a28d8a36280a285aafa84b915f91a1c8a7a853518722afa2758ad62a5aa368b5a2558a562a5aa168b9a2658a962a5aa268b1a2458ada15b5295aa86881a2f98ae6296a55d4a23211b94c882e13b3cb04f13251bd4c982f13f7cb04023391c14ca830133bcc041369a7a21d8ab62bdaa668aba22d8afa15f529daaca857518fa2b8a298a2a8a24d8a228ac28a428aba150555fa33ce494e31f100efe63d7c2fdfc7f7f303fc203fc47bf9617e841fe5c7f8717e82f7f120efe703fc241fe443fc141fe6a7f9083fc3cf9efa6ef4d4a9af224ffb6636314b61ef3c278776c2826cf8dfedb4001ba6537b72de363cec3198a70def1efe74c8cb86f79cf988c9c386ef3dfb3995b30ddf37d2c32e471bbe7fe427664e36fcc0688fdd1c6cf8c1d19fdd59dbf043d20090a50def95a788ac6cf8e1b146912c6cf891b1e799316df8d16c86a2316cf8b1ec262bd1861fcf763c136cf889ec67bc516d785f2e83e228363c98dbb439a20defcf75641dc1860fe43ef79e65c34fe6333c9f61c307f39bc087d9f0a17cc7f8d36cf8a9fccf02ffdaf0e1420e14276cf8e9c24e25ffd8f091428f36691b7e06f1ff409f2dfc80944cee4dec6b0df752fae4b3bf361c8ac5a9240538171e6e08478d40572833e80e3cd71935bc71a3c59a3e215a5a8d58ccdb65a412879a0c6fc4138d7afba9d4944a1c6933ba02b1b8116d0ef98c3ed3c9d594235673a42610f246fb1b0246d0373fb2bb629fc7e72b2d4f0cb684bd3e2aab28eabf75a07e538f37182b2b4f1c98d3d31d69f653c5b8c145516f243198799dba68b03d1e8e0c249385374432f937", "verificationKey": "0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f" } diff --git a/yarn-project/noir-contracts/src/examples/public_private_contract.json b/yarn-project/noir-contracts/src/examples/public_private_contract.json index 0e34292d30cd..c73fe8715bf6 100644 --- a/yarn-project/noir-contracts/src/examples/public_private_contract.json +++ b/yarn-project/noir-contracts/src/examples/public_private_contract.json @@ -28,9 +28,7 @@ "visibility": "private" } ], - "returnTypes": [ - null - ], + "returnTypes": [null], "bytecode": "b590414ec24018855b685de8424f801e013c812da18a296a800b4c3abfcdc471a6ceb406967383ce1476ee285563484cbc8007e0025e861816ee0c9beadbbd7cc97b2f6f763257ef3e45d19dcf2741c6a22ea2542d87ded5794f1bc7de01dd5d70ef37f87203188404561873b8de98a3f5c632ad63f5ec0b422989e75a5523c2620a45aecdd759bb9e3aadda11ed3c7f528b017f34b6a5965dce646a2c5d3f56bd055c0089d9f697e223128052084fc73cec0c404a148356af1780124f0834350d5babd510622253107d866162ffac71fe62cdca270c89694080e2eb64e62e3c8c1b8e2a438eb069baffda55f51e324465d351d565769ff46f8dbb5f8e054a54b9f5faa01ca53cf9ccf36f", "verificationKey": "0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f" }, @@ -158,9 +156,7 @@ "visibility": "private" } ], - "returnTypes": [ - null - ], + "returnTypes": [null], "bytecode": "b5904f4ec24018c529b42e74a137406f8037b06da862fc17f00293f6b399389da9d3a981e57783ce1476ee28556348388207e0025e861816ee0c9beadbbdfc92f75edef464862b8f91f0d113e320e7a14f18c3c5d0bd39ef6b635b3ba0b30beefd06dfee200299012f8d395c6fccd17ad332dd637cf524658cc6338df588f298415968f375d66ba6d36ee3885e51bce0fc5a3c1bab850b5ff04c99966e1e8b1f81904063befda55c851288025f2409550970a5f1fd0248ea4a4926a66d695c0e21a6990239e0118cad9f29f65f4c597a9413390928b0e8369d3a73378ada3656578244a6e3fc6b57dd7fca09cb3a36d69779920e1e8cb35fdd4b9262b5f5faa01a29917e16c537", "verificationKey": "0000000200000800000000740000000f00000003515f3109623eb3c25aa5b16a1a79fd558bac7a7ce62c4560a8c537c77ce80dd339128d1d37b6582ee9e6df9567efb64313471dfa18f520f9ce53161b50dbf7731bc5f900000003515f322bc4cce83a486a92c92fd59bd84e0f92595baa639fc2ed86b00ffa0dfded2a092a669a3bdb7a273a015eda494457cc7ed5236f26cee330c290d45a33b9daa94800000003515f332729426c008c085a81bd34d8ef12dd31e80130339ef99d50013a89e4558eee6d0fa4ffe2ee7b7b62eb92608b2251ac31396a718f9b34978888789042b790a30100000003515f342be6b6824a913eb7a57b03cb1ee7bfb4de02f2f65fe8a4e97baa7766ddb353a82a8a25c49dc63778cd9fe96173f12a2bc77f3682f4c4448f98f1df82c75234a100000003515f351f85760d6ab567465aadc2f180af9eae3800e6958fec96aef53fd8a7b195d7c000c6267a0dd5cfc22b3fe804f53e266069c0e36f51885baec1e7e67650c62e170000000c515f41524954484d455449430d9d0f8ece2aa12012fa21e6e5c859e97bd5704e5c122064a66051294bc5e04213f61f54a0ebdf6fee4d4a6ecf693478191de0c2899bcd8e86a636c8d3eff43400000003515f43224a99d02c86336737c8dd5b746c40d2be6aead8393889a76a18d664029096e90f7fe81adcc92a74350eada9622ac453f49ebac24a066a1f83b394df54dfa0130000000c515f46495845445f42415345060e8a013ed289c2f9fd7473b04f6594b138ddb4b4cf6b901622a14088f04b8d2c83ff74fce56e3d5573b99c7b26d85d5046ce0c6559506acb7a675e7713eb3a00000007515f4c4f4749430721a91cb8da4b917e054f72147e1760cfe0ef3d45090ac0f4961d84ec1996961a25e787b26bd8b50b1a99450f77a424a83513c2b33af268cd253b0587ff50c700000003515f4d05dbd8623b8652511e1eb38d38887a69eceb082f807514f09e127237c5213b401b9325b48c6c225968002318095f89d0ef9cf629b2b7f0172e03bc39aacf6ed800000007515f52414e474504b57a3805e41df328f5ca9aefa40fad5917391543b7b65c6476e60b8f72e9ad07c92f3b3e11c8feae96dedc4b14a6226ef3201244f37cfc1ee5b96781f48d2b000000075349474d415f3125001d1954a18571eaa007144c5a567bb0d2be4def08a8be918b8c05e3b27d312c59ed41e09e144eab5de77ca89a2fd783be702a47c951d3112e3de02ce6e47c000000075349474d415f3223994e6a23618e60fa01c449a7ab88378709197e186d48d604bfb6931ffb15ad11c5ec7a0700570f80088fd5198ab5d5c227f2ad2a455a6edeec024156bb7beb000000075349474d415f3300cda5845f23468a13275d18bddae27c6bb189cf9aa95b6a03a0cb6688c7e8d829639b45cf8607c525cc400b55ebf90205f2f378626dc3406cc59b2d1b474fba000000075349474d415f342d299e7928496ea2d37f10b43afd6a80c90a33b483090d18069ffa275eedb2fc2f82121e8de43dc036d99b478b6227ceef34248939987a19011f065d8b5cef5c0000000010000000000000000100000002000000030000000400000005000000060000000700000008000000090000000a0000000b0000000c0000000d0000000e0000000f" }