Skip to content

Commit b56946c

Browse files
authored
Merge pull request #14 from tact-lang/howard-patch-8-JettonToken
Update: [0.5.0]
2 parents 517a508 + 75a75e5 commit b56946c

File tree

161 files changed

+4385
-611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

161 files changed

+4385
-611
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
Original goal is followed [Tact Compiler Changelog](https://github.com/tact-lang/tact/tree/main), and keep this project in sync. Enjoy! ❤️❤️❤️
99

10+
## [0.5.0] - 2023-10-05
11+
12+
### Added
13+
14+
- Add the Jetton Token Standard example.
15+
1016
## [0.4.0] - 2023-09-29
1117

1218
### Changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
1. Tact code is under the `src` directory. The `src` directory contains the following files: `src/routes/(examples)` - The source code for the examples.
99
2. The terminal output is located in `src/routes/(examples)/+layout.svelte` file.
10+
3. Run `npm run tact-build` to compile the Tact code you just added.
11+
12+
### Running the project
1013

1114
Once you've run `npm install` start a development server:
1215

docs/00-hello-world.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
<meta http-equiv="content-security-policy" content="">
3535
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
3636
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
37-
<link rel="modulepreload" href="./_app/immutable/entry/start.8747ea26.js">
37+
<link rel="modulepreload" href="./_app/immutable/entry/start.ec35243e.js">
3838
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
39-
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.511cbfba.js">
39+
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c49780f.js">
4040
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
41-
<link rel="modulepreload" href="./_app/immutable/entry/app.2e63f0e3.js">
41+
<link rel="modulepreload" href="./_app/immutable/entry/app.d3cb7c1d.js">
4242
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
4343
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
4444
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
45-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.3f22c1aa.js">
46-
<link rel="modulepreload" href="./_app/immutable/chunks/store.5f445bdf.js">
47-
<link rel="modulepreload" href="./_app/immutable/chunks/examples.650ab06c.js">
45+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.4abe3603.js">
46+
<link rel="modulepreload" href="./_app/immutable/chunks/store.476c3091.js">
47+
<link rel="modulepreload" href="./_app/immutable/chunks/examples.ec427188.js">
4848
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
49-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-00-hello-world-page.svelte.134e88e6.js">
50-
<link rel="modulepreload" href="./_app/immutable/chunks/index.5a025de5.js">
49+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-00-hello-world-page.svelte.16f8154b.js">
50+
<link rel="modulepreload" href="./_app/immutable/chunks/index.c056099e.js">
5151
</head>
5252
<body>
5353
<div style="display: contents">
@@ -100,7 +100,7 @@
100100

101101
<script>
102102
{
103-
__sveltekit_1mddt07 = {
103+
__sveltekit_16o0bmh = {
104104
env: {},
105105
base: new URL(".", location).pathname.slice(0, -1),
106106
element: document.currentScript.parentElement
@@ -109,10 +109,10 @@
109109
const data = [null,null,null];
110110

111111
Promise.all([
112-
import("./_app/immutable/entry/start.8747ea26.js"),
113-
import("./_app/immutable/entry/app.2e63f0e3.js")
112+
import("./_app/immutable/entry/start.ec35243e.js"),
113+
import("./_app/immutable/entry/app.d3cb7c1d.js")
114114
]).then(([kit, app]) => {
115-
kit.start(app, __sveltekit_1mddt07.element, {
115+
kit.start(app, __sveltekit_16o0bmh.element, {
116116
node_ids: [0, 2, 5],
117117
data,
118118
form: null,

docs/01-a-simple-counter.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
<meta http-equiv="content-security-policy" content="">
3535
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
3636
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
37-
<link rel="modulepreload" href="./_app/immutable/entry/start.8747ea26.js">
37+
<link rel="modulepreload" href="./_app/immutable/entry/start.ec35243e.js">
3838
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
39-
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.511cbfba.js">
39+
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c49780f.js">
4040
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
41-
<link rel="modulepreload" href="./_app/immutable/entry/app.2e63f0e3.js">
41+
<link rel="modulepreload" href="./_app/immutable/entry/app.d3cb7c1d.js">
4242
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
4343
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
4444
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
45-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.3f22c1aa.js">
46-
<link rel="modulepreload" href="./_app/immutable/chunks/store.5f445bdf.js">
47-
<link rel="modulepreload" href="./_app/immutable/chunks/examples.650ab06c.js">
45+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.4abe3603.js">
46+
<link rel="modulepreload" href="./_app/immutable/chunks/store.476c3091.js">
47+
<link rel="modulepreload" href="./_app/immutable/chunks/examples.ec427188.js">
4848
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
49-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-01-a-simple-counter-page.svelte.87481c0f.js">
50-
<link rel="modulepreload" href="./_app/immutable/chunks/index.5a025de5.js">
49+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-01-a-simple-counter-page.svelte.e7d6c12d.js">
50+
<link rel="modulepreload" href="./_app/immutable/chunks/index.c056099e.js">
5151
</head>
5252
<body>
5353
<div style="display: contents">
@@ -128,7 +128,7 @@ <h2 id="a-simple-interaction">A simple interaction</h2>
128128

129129
<script>
130130
{
131-
__sveltekit_1mddt07 = {
131+
__sveltekit_16o0bmh = {
132132
env: {},
133133
base: new URL(".", location).pathname.slice(0, -1),
134134
element: document.currentScript.parentElement
@@ -137,10 +137,10 @@ <h2 id="a-simple-interaction">A simple interaction</h2>
137137
const data = [null,null,null];
138138

139139
Promise.all([
140-
import("./_app/immutable/entry/start.8747ea26.js"),
141-
import("./_app/immutable/entry/app.2e63f0e3.js")
140+
import("./_app/immutable/entry/start.ec35243e.js"),
141+
import("./_app/immutable/entry/app.d3cb7c1d.js")
142142
]).then(([kit, app]) => {
143-
kit.start(app, __sveltekit_1mddt07.element, {
143+
kit.start(app, __sveltekit_16o0bmh.element, {
144144
node_ids: [0, 2, 6],
145145
data,
146146
form: null,

docs/01-the-deployable-trait.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
<meta http-equiv="content-security-policy" content="">
3535
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
3636
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
37-
<link rel="modulepreload" href="./_app/immutable/entry/start.8747ea26.js">
37+
<link rel="modulepreload" href="./_app/immutable/entry/start.ec35243e.js">
3838
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
39-
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.511cbfba.js">
39+
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c49780f.js">
4040
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
41-
<link rel="modulepreload" href="./_app/immutable/entry/app.2e63f0e3.js">
41+
<link rel="modulepreload" href="./_app/immutable/entry/app.d3cb7c1d.js">
4242
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
4343
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
4444
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
45-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.3f22c1aa.js">
46-
<link rel="modulepreload" href="./_app/immutable/chunks/store.5f445bdf.js">
47-
<link rel="modulepreload" href="./_app/immutable/chunks/examples.650ab06c.js">
45+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.4abe3603.js">
46+
<link rel="modulepreload" href="./_app/immutable/chunks/store.476c3091.js">
47+
<link rel="modulepreload" href="./_app/immutable/chunks/examples.ec427188.js">
4848
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
49-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-01-the-deployable-trait-page.svelte.f98701ef.js">
50-
<link rel="modulepreload" href="./_app/immutable/chunks/index.5a025de5.js">
49+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-01-the-deployable-trait-page.svelte.9e6b2cfe.js">
50+
<link rel="modulepreload" href="./_app/immutable/chunks/index.c056099e.js">
5151
</head>
5252
<body>
5353
<div style="display: contents">
@@ -134,7 +134,7 @@ <h2 id="receiving-messages">Receiving messages</h2>
134134

135135
<script>
136136
{
137-
__sveltekit_1mddt07 = {
137+
__sveltekit_16o0bmh = {
138138
env: {},
139139
base: new URL(".", location).pathname.slice(0, -1),
140140
element: document.currentScript.parentElement
@@ -143,10 +143,10 @@ <h2 id="receiving-messages">Receiving messages</h2>
143143
const data = [null,null,null];
144144

145145
Promise.all([
146-
import("./_app/immutable/entry/start.8747ea26.js"),
147-
import("./_app/immutable/entry/app.2e63f0e3.js")
146+
import("./_app/immutable/entry/start.ec35243e.js"),
147+
import("./_app/immutable/entry/app.d3cb7c1d.js")
148148
]).then(([kit, app]) => {
149-
kit.start(app, __sveltekit_1mddt07.element, {
149+
kit.start(app, __sveltekit_16o0bmh.element, {
150150
node_ids: [0, 2, 7],
151151
data,
152152
form: null,

docs/02-addresses.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
<meta http-equiv="content-security-policy" content="">
3535
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
3636
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
37-
<link rel="modulepreload" href="./_app/immutable/entry/start.8747ea26.js">
37+
<link rel="modulepreload" href="./_app/immutable/entry/start.ec35243e.js">
3838
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
39-
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.511cbfba.js">
39+
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c49780f.js">
4040
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
41-
<link rel="modulepreload" href="./_app/immutable/entry/app.2e63f0e3.js">
41+
<link rel="modulepreload" href="./_app/immutable/entry/app.d3cb7c1d.js">
4242
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
4343
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
4444
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
45-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.3f22c1aa.js">
46-
<link rel="modulepreload" href="./_app/immutable/chunks/store.5f445bdf.js">
47-
<link rel="modulepreload" href="./_app/immutable/chunks/examples.650ab06c.js">
45+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.4abe3603.js">
46+
<link rel="modulepreload" href="./_app/immutable/chunks/store.476c3091.js">
47+
<link rel="modulepreload" href="./_app/immutable/chunks/examples.ec427188.js">
4848
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
49-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-02-addresses-page.svelte.018d0180.js">
50-
<link rel="modulepreload" href="./_app/immutable/chunks/index.5a025de5.js">
49+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-02-addresses-page.svelte.5e6bfe1c.js">
50+
<link rel="modulepreload" href="./_app/immutable/chunks/index.c056099e.js">
5151
</head>
5252
<body>
5353
<div style="display: contents">
@@ -162,7 +162,7 @@
162162

163163
<script>
164164
{
165-
__sveltekit_1mddt07 = {
165+
__sveltekit_16o0bmh = {
166166
env: {},
167167
base: new URL(".", location).pathname.slice(0, -1),
168168
element: document.currentScript.parentElement
@@ -171,10 +171,10 @@
171171
const data = [null,null,null];
172172

173173
Promise.all([
174-
import("./_app/immutable/entry/start.8747ea26.js"),
175-
import("./_app/immutable/entry/app.2e63f0e3.js")
174+
import("./_app/immutable/entry/start.ec35243e.js"),
175+
import("./_app/immutable/entry/app.d3cb7c1d.js")
176176
]).then(([kit, app]) => {
177-
kit.start(app, __sveltekit_1mddt07.element, {
177+
kit.start(app, __sveltekit_16o0bmh.element, {
178178
node_ids: [0, 2, 8],
179179
data,
180180
form: null,

docs/02-bools.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
<meta http-equiv="content-security-policy" content="">
3535
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
3636
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
37-
<link rel="modulepreload" href="./_app/immutable/entry/start.8747ea26.js">
37+
<link rel="modulepreload" href="./_app/immutable/entry/start.ec35243e.js">
3838
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
39-
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.511cbfba.js">
39+
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c49780f.js">
4040
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
41-
<link rel="modulepreload" href="./_app/immutable/entry/app.2e63f0e3.js">
41+
<link rel="modulepreload" href="./_app/immutable/entry/app.d3cb7c1d.js">
4242
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
4343
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
4444
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
45-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.3f22c1aa.js">
46-
<link rel="modulepreload" href="./_app/immutable/chunks/store.5f445bdf.js">
47-
<link rel="modulepreload" href="./_app/immutable/chunks/examples.650ab06c.js">
45+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.4abe3603.js">
46+
<link rel="modulepreload" href="./_app/immutable/chunks/store.476c3091.js">
47+
<link rel="modulepreload" href="./_app/immutable/chunks/examples.ec427188.js">
4848
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
49-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-02-bools-page.svelte.e5dadc6f.js">
50-
<link rel="modulepreload" href="./_app/immutable/chunks/index.5a025de5.js">
49+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-02-bools-page.svelte.d829d2e7.js">
50+
<link rel="modulepreload" href="./_app/immutable/chunks/index.c056099e.js">
5151
</head>
5252
<body>
5353
<div style="display: contents">
@@ -161,7 +161,7 @@ <h2 id="state-costs">State costs</h2>
161161

162162
<script>
163163
{
164-
__sveltekit_1mddt07 = {
164+
__sveltekit_16o0bmh = {
165165
env: {},
166166
base: new URL(".", location).pathname.slice(0, -1),
167167
element: document.currentScript.parentElement
@@ -170,10 +170,10 @@ <h2 id="state-costs">State costs</h2>
170170
const data = [null,null,null];
171171

172172
Promise.all([
173-
import("./_app/immutable/entry/start.8747ea26.js"),
174-
import("./_app/immutable/entry/app.2e63f0e3.js")
173+
import("./_app/immutable/entry/start.ec35243e.js"),
174+
import("./_app/immutable/entry/app.d3cb7c1d.js")
175175
]).then(([kit, app]) => {
176-
kit.start(app, __sveltekit_1mddt07.element, {
176+
kit.start(app, __sveltekit_16o0bmh.element, {
177177
node_ids: [0, 2, 9],
178178
data,
179179
form: null,

docs/02-constants.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,20 @@
3434
<meta http-equiv="content-security-policy" content="">
3535
<link href="./_app/immutable/assets/_layout.e2caa7e1.css" rel="stylesheet">
3636
<link href="./_app/immutable/assets/app.8bddbbc4.css" rel="stylesheet">
37-
<link rel="modulepreload" href="./_app/immutable/entry/start.8747ea26.js">
37+
<link rel="modulepreload" href="./_app/immutable/entry/start.ec35243e.js">
3838
<link rel="modulepreload" href="./_app/immutable/chunks/index.9fe14626.js">
39-
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.511cbfba.js">
39+
<link rel="modulepreload" href="./_app/immutable/chunks/singletons.0c49780f.js">
4040
<link rel="modulepreload" href="./_app/immutable/chunks/index.1c761ed5.js">
41-
<link rel="modulepreload" href="./_app/immutable/entry/app.2e63f0e3.js">
41+
<link rel="modulepreload" href="./_app/immutable/entry/app.d3cb7c1d.js">
4242
<link rel="modulepreload" href="./_app/immutable/entry/layout.svelte.2cd9eabd.js">
4343
<link rel="modulepreload" href="./_app/immutable/entry/_layout.ts.984db11e.js">
4444
<link rel="modulepreload" href="./_app/immutable/chunks/_layout.da46b06b.js">
45-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.3f22c1aa.js">
46-
<link rel="modulepreload" href="./_app/immutable/chunks/store.5f445bdf.js">
47-
<link rel="modulepreload" href="./_app/immutable/chunks/examples.650ab06c.js">
45+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-layout.svelte.4abe3603.js">
46+
<link rel="modulepreload" href="./_app/immutable/chunks/store.476c3091.js">
47+
<link rel="modulepreload" href="./_app/immutable/chunks/examples.ec427188.js">
4848
<link rel="modulepreload" href="./_app/immutable/chunks/app.cf8f4105.js">
49-
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-02-constants-page.svelte.32183996.js">
50-
<link rel="modulepreload" href="./_app/immutable/chunks/index.5a025de5.js">
49+
<link rel="modulepreload" href="./_app/immutable/entry/(examples)-02-constants-page.svelte.d787b3e1.js">
50+
<link rel="modulepreload" href="./_app/immutable/chunks/index.c056099e.js">
5151
</head>
5252
<body>
5353
<div style="display: contents">
@@ -143,7 +143,7 @@ <h2 id="state-costs">State costs</h2>
143143

144144
<script>
145145
{
146-
__sveltekit_1mddt07 = {
146+
__sveltekit_16o0bmh = {
147147
env: {},
148148
base: new URL(".", location).pathname.slice(0, -1),
149149
element: document.currentScript.parentElement
@@ -152,10 +152,10 @@ <h2 id="state-costs">State costs</h2>
152152
const data = [null,null,null];
153153

154154
Promise.all([
155-
import("./_app/immutable/entry/start.8747ea26.js"),
156-
import("./_app/immutable/entry/app.2e63f0e3.js")
155+
import("./_app/immutable/entry/start.ec35243e.js"),
156+
import("./_app/immutable/entry/app.d3cb7c1d.js")
157157
]).then(([kit, app]) => {
158-
kit.start(app, __sveltekit_1mddt07.element, {
158+
kit.start(app, __sveltekit_16o0bmh.element, {
159159
node_ids: [0, 2, 10],
160160
data,
161161
form: null,

0 commit comments

Comments
 (0)