Skip to content

Commit

Permalink
fixed stdlib.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
i582 committed Jan 20, 2025
1 parent 7c38951 commit 0f760c3
Showing 1 changed file with 17 additions and 51 deletions.
68 changes: 17 additions & 51 deletions src/stdlib/stdlib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,55 +107,21 @@ files["libs/stoppable.tact"] =
"ICAgIHNlbGYucmVxdWlyZU93bmVyKCk7CiAgICAgICAgc2VsZi5yZXF1aXJlU3RvcHBlZCgpOwogICAgICAgIHNlbGYuc3RvcHBlZCA9IGZhbHNlOwogICAgICAgIHNl" +
"bGYucmVwbHkoIlJlc3VtZWQiLmFzQ29tbWVudCgpKTsKICAgIH0KfQ==";
files["std/base.tact"] =
"Ly8vIERlc2NyaWJlcyB0aGUgYmFzZSBsb2dpYyB0aGF0IGlzIGF2YWlsYWJsZSBpbiBhbGwgY29udHJhY3RzIGFuZCB0cmFpdHMgYnkgZGVmYXVsdC4KLy8vCi8vLyBU" +
"aGlzIHRyYWl0IGlzIGltcGxpY2l0bHkgaW5oZXJpdGVkIGJ5IGV2ZXJ5IG90aGVyIGNvbnRyYWN0IGFuZCB0cmFpdC4KLy8vIEl0IGNvbnRhaW5zIGEgbnVtYmVyIG9m" +
"IHRoZSBtb3N0IHVzZWZ1bCBpbnRlcm5hbCBmdW5jdGlvbnMgZm9yIGFueSBraW5kIG9mIGNvbnRyYWN0LAovLy8gYW5kIGEgY29uc3RhbnQgYHNlbGYuc3RvcmFnZVJl" +
"c2VydmVgIGFpbWVkIGF0IGFkdmFuY2VkIHVzZXJzIG9mIFRhY3QuCi8vLwovLy8gU2VlOiBodHRwczovL2RvY3MudGFjdC1sYW5nLm9yZy9yZWYvY29yZS1iYXNlLwp0" +
"cmFpdCBCYXNlVHJhaXQgewogICAgLy8vIFRoZSBhbW91bnQgb2YgbmFub1RvbmNvaW5zIHRvIHJlc2VydmUgYmVmb3JlIGZvcndhcmRpbmcgYSBtZXNzYWdlIHdpdGgg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vIGBgYHRhY3QKICAgIC8vLyBzZWxmLmZvcndhcmQoc2VuZGVyKCksIGJvZHksIHRydWUsIG51bGwpOwogICAgLy8vICAgICAgICAgICAgICDihpEg" +
"ICAgICAgICDihpEgICAgIOKGkSAgICAg4oaRCiAgICAvLy8gICAgICAgICAgICAgIHwgICAgICAgICB8ICAgICB8ICAgICBpbml0OiBTdGF0ZUluaXQ/CiAgICAvLy8g" +
"ICAgICAgICAgICAgIHwgICAgICAgICB8ICAgICBib3VuY2U6IEJvb2wKICAgIC8vLyAgICAgICAgICAgICAgfCAgICAgICAgIGJvZHk6IENlbGw/CiAgICAvLy8gICAg" +
"ICAgICAgICAgIHRvOiBBZGRyZXNzCiAgICAvLy8gYGBgCiAgICB2aXJ0dWFsIGlubGluZSBmdW4gcmVwbHkoYm9keTogQ2VsbD8pIHsKICAgICAgICBzZWxmLmZvcndh" +
"cmQoc2VuZGVyKCksIGJvZHksIHRydWUsIG51bGwpOwogICAgfQoKICAgIC8vLyBTZW5kcyBhIG5vbi1ib3VuY2VhYmxlIG1lc3NhZ2UgYmFjayB0byB0aGUgc2VuZGVy" +
"IG9mIHRoZSBjdXJyZW50IG1lc3NhZ2UuCiAgICAvLy8gU3RvcmFnZSBmdW5jdGlvbi4gQW4gYWxpYXMgZnVuY3Rpb24gdG8gY2FsbGluZyB0aGUgYHNlbGYuZm9yd2Fy" +
"ZCgpYCBmdW5jdGlvbiB3aXRoCiAgICAvLy8gdGhlIGZvbGxvd2luZyBhcmd1bWVudHM6CiAgICAvLy8KICAgIC8vLyBgYGB0YWN0CiAgICAvLy8gc2VsZi5mb3J3YXJk" +
"KHNlbmRlcigpLCBib2R5LCBmYWxzZSwgbnVsbCk7CiAgICAvLy8gICAgICAgICAgICAgIOKGkSAgICAgICAgIOKGkSAgICAg4oaRICAgICDihpEKICAgIC8vLyAgICAg" +
"ICAgICAgICAgfCAgICAgICAgIHwgICAgIHwgICAgIGluaXQ6IFN0YXRlSW5pdD8KICAgIC8vLyAgIC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Yuc3RvcmFnZVJlc2VydmUgPiAwKSB7IC8vIE9wdGltaXplZCBpbiBjb21waWxlLXRpbWUKICAgICAgICAgICAgbGV0IGN0eDogQ29udGV4dCA9IGNv" +
"bnRleHQoKTsKICAgICAgICAgICAgbGV0IGJhbGFuY2U6IEludCA9IG15QmFsYW5jZSgpOwogICAgICAgICAgICBsZXQgYmFsYW5jZUJlZm9yZU1lc3NhZ2U6IEludCA9" +
"IGJhbGFuY2UgLSBjdHgudmFsdWU7CiAgICAgICAgICAgIGlmIChiYWxhbmNlQmVmb3JlTWVzc2FnZSA8IHNlbGYuc3RvcmFnZVJlc2VydmUpIHsKICAgICAgICAgICAg" +
"ICAgIG5hdGl2ZVJlc2VydmUoc2VsZi5zdG9yYWdlUmVzZXJ2ZSwgUmVzZXJ2ZUV4YWN0KTsKICAgICAgICAgICAgICAgIHNlbmQoU2VuZFBhcmFtZXRlcnN7CiAgICAg" +
"ICAgICAgICAgICAgICAgYm91bmNlOiBib3VuY2UsCiAgICAgICAgICAgICAgICAgICAgdG86IHRvLAogICAgICAgICAgICAgICAgICAgIHZhbHVlOiAwLAogICAgICAg" +
"ICAgICAgICAgICAgIG1vZGU6IFNlbmRSZW1haW5pbmdCYWxhbmNlIHwgU2VuZElnbm9yZUVycm9ycywKICAgICAgICAgICAgICAgICAgICBib2R5OiBib2R5LAogICAg" +
"ICAgICAgICAgICAgICAgIGNvZGU6IGNvZGUsCiAgICAgICAgICAgICAgICAgICAgZGF0YTogZGF0YSwKICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAg" +
"cmV0dXJuOwogICAgICAgICAgICB9CiAgICAgICAgfQoKICAgICAgICAvLyBKdXN0IHNlbmQgd2l0aCByZW1haW5pbmcgYmFsYW5jZQogICAgICAgIHNlbmQoU2VuZFBh" +
"cmFtZXRlcnN7CiAgICAgICAgICAgIGJvdW5jZTogYm91bmNlLAogICAgICAgICAgICB0bzogdG8sCiAgICAgICAgICAgIHZhbHVlOiAwLAogICAgICAgICAgICBtb2Rl" +
"OiBTZW5kUmVtYWluaW5nVmFsdWUgfCBTZW5kSWdub3JlRXJyb3JzLAogICAgICAgICAgICBib2R5OiBib2R5LAogICAgICAgICAgICBjb2RlOiBjb2RlLAogICAgICAg" +
"ICAgICBkYXRhOiBkYXRhLAogICAgICAgIH0pOwogICAgfQp9Cg==";
"dHJhaXQgQmFzZVRyYWl0IHsKICAgIHZpcnR1YWwgY29uc3Qgc3RvcmFnZVJlc2VydmU6IEludCA9IDA7CiAgICAKICAgIHZpcnR1YWwgaW5saW5lIGZ1biByZXBseShi" +
"b2R5OiBDZWxsPykgewogICAgICAgIHNlbGYuZm9yd2FyZChzZW5kZXIoKSwgYm9keSwgdHJ1ZSwgbnVsbCk7CiAgICB9CgogICAgdmlydHVhbCBpbmxpbmUgZnVuIG5v" +
"dGlmeShib2R5OiBDZWxsPykgewogICAgICAgIHNlbGYuZm9yd2FyZChzZW5kZXIoKSwgYm9keSwgZmFsc2UsIG51bGwpOwogICAgfQoKICAgIHZpcnR1YWwgZnVuIGZv" +
"cndhcmQodG86IEFkZHJlc3MsIGJvZHk6IENlbGw/LCBib3VuY2U6IEJvb2wsIGluaXQ6IFN0YXRlSW5pdD8pIHsKCiAgICAgICAgbGV0IGNvZGU6IENlbGw/ID0gbnVs" +
"bDsKICAgICAgICBsZXQgZGF0YTogQ2VsbD8gPSBudWxsOwogICAgICAgIGlmIChpbml0ICE9IG51bGwpIHsKICAgICAgICAgICAgbGV0IGluaXQyOiBTdGF0ZUluaXQg" +
"PSBpbml0ISE7CiAgICAgICAgICAgIGNvZGUgPSBpbml0Mi5jb2RlOwogICAgICAgICAgICBkYXRhID0gaW5pdDIuZGF0YTsKICAgICAgICB9CgogICAgICAgIC8vIExv" +
"Y2sgc3RvcmFnZSBpZiBuZWVkZWQKICAgICAgICBpZiAoc2VsZi5zdG9yYWdlUmVzZXJ2ZSA+IDApIHsgLy8gT3B0aW1pemVkIGluIGNvbXBpbGUtdGltZQogICAgICAg" +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GxhY2VkIHdpdGggYXNtICJTVElYIgpAbmFtZShzdG9yZV9pbnQpCmV4dGVuZHMgbmF0aXZlIHN0b3JlSW50KHNlbGY6IEJ1aWxkZXIsIHZhbHVlOiBJ" +
Expand Down Expand Up @@ -390,7 +356,7 @@ files["std/math.tact"] =
"bmFtZShfX3RhY3RfcG93KQpuYXRpdmUgcG93KGJhc2U6IEludCwgZXhwOiBJbnQpOiBJbnQ7Cgphc20gZnVuIHBvdzIoZXhwOiBJbnQpOiBJbnQgeyBQT1cyIH0=";
files["std/primitives.tact"] =
"cHJpbWl0aXZlIEludDsKcHJpbWl0aXZlIEJvb2w7CnByaW1pdGl2ZSBCdWlsZGVyOwpwcmltaXRpdmUgU2xpY2U7CnByaW1pdGl2ZSBDZWxsOwpwcmltaXRpdmUgQWRk" +
"cmVzczsKcHJpbWl0aXZlIFN0cmluZzsKcHJpbWl0aXZlIFN0cmluZ0J1aWxkZXI7Cg==";
"cmVzczsKcHJpbWl0aXZlIFN0cmluZzsKcHJpbWl0aXZlIFN0cmluZ0J1aWxkZXI7";
files["std/reserve.tact"] =
"YXNtIGZ1biBuYXRpdmVSZXNlcnZlKGFtb3VudDogSW50LCBtb2RlOiBJbnQpIHsgUkFXUkVTRVJWRSB9Cgpjb25zdCBSZXNlcnZlRXhhY3Q6IEludCA9IDA7CmNvbnN0" +
"IFJlc2VydmVBbGxFeGNlcHQ6IEludCA9IDE7CmNvbnN0IFJlc2VydmVBdE1vc3Q6IEludCA9IDI7CmNvbnN0IFJlc2VydmVBZGRPcmlnaW5hbEJhbGFuY2U6IEludCA9" +
Expand Down Expand Up @@ -883,5 +849,5 @@ files["stdlib.fc"] =
files["stdlib.tact"] =
"aW1wb3J0ICIuL3N0ZC9wcmltaXRpdmVzIjsKaW1wb3J0ICIuL3N0ZC9jZWxscyI7CmltcG9ydCAiLi9zdGQvY3J5cHRvIjsKaW1wb3J0ICIuL3N0ZC90ZXh0IjsKaW1w" +
"b3J0ICIuL3N0ZC9tYXRoIjsKaW1wb3J0ICIuL3N0ZC9jb250cmFjdCI7CmltcG9ydCAiLi9zdGQvZGVidWciOwppbXBvcnQgIi4vc3RkL2NvbnRleHQiOwppbXBvcnQg" +
"Ii4vc3RkL3Jlc2VydmUiOwppbXBvcnQgIi4vc3RkL3NlbmQiOwppbXBvcnQgIi4vc3RkL2NvbmZpZyI7CmltcG9ydCAiLi9zdGQvYmFzZSI7Cg==";
"Ii4vc3RkL3Jlc2VydmUiOwppbXBvcnQgIi4vc3RkL3NlbmQiOwppbXBvcnQgIi4vc3RkL2NvbmZpZyI7CmltcG9ydCAiLi9zdGQvYmFzZSI7";
export default files;

0 comments on commit 0f760c3

Please sign in to comment.