diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f64ad2..7a2c9b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.18] - 2025-01-05 + +### Added +- Support of `GETFORWARDFEE` opcode: PR [#23](https://github.com/tact-lang/ton-opcode/pull/23) + ## [0.0.17] - 2025-01-03 ### Added diff --git a/package.json b/package.json index a0ff906..ff7c09e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tact-lang/opcode", - "version": "0.0.17", + "version": "0.0.18", "main": "dist/index.js", "repository": "https://github.com/tact-lang/ton-opcode.git", "author": "Steve Korshakov ", diff --git a/reference/opcodes.yaml b/reference/opcodes.yaml index 111e625..74c67cb 100644 --- a/reference/opcodes.yaml +++ b/reference/opcodes.yaml @@ -792,7 +792,7 @@ opcodes: # Opcodes to process config parameters GETGASFEE: GETSTORAGEFEE: - # GETFORWARDFEE: + GETFORWARDFEE: GETPRECOMPILEDGAS: GETORIGINALFWDFEE: GETGASFEESIMPLE: diff --git a/src/codepage/opcodes.gen.ts b/src/codepage/opcodes.gen.ts index a7f7f14..dd31b4d 100644 --- a/src/codepage/opcodes.gen.ts +++ b/src/codepage/opcodes.gen.ts @@ -670,6 +670,7 @@ export type OpCodeNoArgs = | { code: 'DUEPAYMENT' } | { code: 'GETGASFEE' } | { code: 'GETSTORAGEFEE' } + | { code: 'GETFORWARDFEE' } | { code: 'GETPRECOMPILEDGAS' } | { code: 'GETORIGINALFWDFEE' } | { code: 'GETGASFEESIMPLE' } diff --git a/src/codepage/opcodes.ts b/src/codepage/opcodes.ts index 5f951b0..7131b0e 100644 --- a/src/codepage/opcodes.ts +++ b/src/codepage/opcodes.ts @@ -1147,6 +1147,7 @@ CP0Auto.insertHex('F83401', 24, { code: 'PREVKEYBLOCK' }); CP0Auto.insertHex('F835', 16, { code: 'GLOBALID' }); CP0Auto.insertHex('F836', 16, { code: 'GETGASFEE' }); CP0Auto.insertHex('F837', 16, { code: 'GETSTORAGEFEE' }); +CP0Auto.insertHex('F838', 16, { code: 'GETFORWARDFEE' }); CP0Auto.insertHex('F839', 16, { code: 'GETPRECOMPILEDGAS' }); CP0Auto.insertHex('F83A', 16, { code: 'GETORIGINALFWDFEE' }); CP0Auto.insertHex('F83B', 16, { code: 'GETGASFEESIMPLE' });