Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
3c4e74f
squash: ton explorer
patricios-space Oct 3, 2025
8a6dc1f
fix: update mod
patricios-space Oct 3, 2025
b88c276
fix: update mod
patricios-space Oct 3, 2025
a68f423
doc: explaing builder interface
patricios-space Oct 6, 2025
a7b1485
fix: bump nix sha
patricios-space Oct 6, 2025
82e927e
ref: paging
patricios-space Oct 6, 2025
8f54da1
ref: paging
patricios-space Oct 6, 2025
884a175
feat: extend with toncenter
patricios-space Oct 6, 2025
18dd90d
ref: rm extra context
patricios-space Oct 6, 2025
eaa7ccb
feat: query contract type
patricios-space Oct 7, 2025
b979934
wip: match wallet code
patricios-space Oct 7, 2025
500adad
feat: decoding ccipmessagesent
patricios-space Oct 7, 2025
a818fc7
fix: onramp opcodes
patricios-space Oct 7, 2025
ec002ed
fix: gomods tidy after rebase
patricios-space Oct 9, 2025
796268f
fix: bump nix hash
patricios-space Oct 9, 2025
9d7c1e7
fix: bump contract version
patricios-space Oct 9, 2025
b5fdd34
fix: golint
patricios-space Oct 9, 2025
c61402d
fix: false error
patricios-space Oct 10, 2025
9643466
feat: url encoding in explorer
patricios-space Oct 10, 2025
e7b4b7c
feat: expose generate cmd
patricios-space Oct 10, 2025
c31306a
feat: admint actor map in command
patricios-space Oct 10, 2025
1677c00
test
patricios-space Oct 10, 2025
7439210
fix: missing lggr
patricios-space Oct 10, 2025
5bf3b79
debug
patricios-space Oct 10, 2025
43bbf0f
debug
patricios-space Oct 10, 2025
2cd3a43
debug
patricios-space Oct 10, 2025
f3c7234
fix: format output
patricios-space Oct 10, 2025
34f7d9c
fix: nix hash
patricios-space Oct 13, 2025
7be59f3
fix: url encoding
patricios-space Oct 13, 2025
5e38d59
feat: mylocalton port scan
patricios-space Oct 13, 2025
d51b3f8
doc: usage and development guies
patricios-space Oct 13, 2025
dcf41e0
doc:development guies
patricios-space Oct 13, 2025
b474d02
fix: bump nix hash
patricios-space Oct 13, 2025
25043dc
fix: golint
patricios-space Oct 13, 2025
53fda9a
fix: typos
patricios-space Oct 13, 2025
c02d050
feat: mylocalton explorer url support
patricios-space Oct 13, 2025
b505cd3
feat: dash padding only for sequence diagram
patricios-space Oct 14, 2025
0c52c35
fix: golint
patricios-space Oct 14, 2025
bc8e48f
fix: explorer
patricios-space Oct 14, 2025
d0a03dd
fix: explorer
patricios-space Oct 14, 2025
45145f8
chore: remove codec from this pr
patricios-space Oct 14, 2025
7fb341a
fix: rm panic
patricios-space Oct 14, 2025
9c41962
fix: rm commented code
patricios-space Oct 14, 2025
7bf0bb4
chore: codehash matching not working properly
patricios-space Oct 14, 2025
17ea622
fix: golint
patricios-space Oct 14, 2025
cb0bea6
fix: gomods tidy
patricios-space Oct 14, 2025
1eeb5b7
fix: missing error handling
patricios-space Oct 14, 2025
44603b8
fix: bump nix
patricios-space Oct 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/chainlink-ton/lock.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Notice: `pkgs.lib.fakeHash` can be used as a placeholder,
# but `nix-lock-tidy` will only replace actual hashes.
{pkgs}: {
chainlink-ton = "sha256-ab9I2x47vAI0eReG+dKLMhrezubMQ0ric3tI5iMKOFA=";
chainlink-ton = "sha256-jtaFXUcjqQgoJLpOibc2RcL+2JmdZ/c0HX8DNjud9FY=";
}
19 changes: 19 additions & 0 deletions cmd/explorer/main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package main

import (
"fmt"
"os"

"github.com/smartcontractkit/chainlink-deployments-framework/deployment"

"github.com/smartcontractkit/chainlink-ton/pkg/ton/debug/explorer"
)

var rootCmd = explorer.GenerateExplorerCmd(nil, map[string]deployment.TypeAndVersion{}, nil)

func main() {
if err := rootCmd.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "Error: %v\n", err)
os.Exit(1)
}
}
11 changes: 10 additions & 1 deletion contracts/contracts/ccip/ccipsend_executor/contract.tolk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "../onramp/types"
import "../common/messages"
import "../../lib/utils"

const CONTRACT_VERSION = "0.0.3";
const CONTRACT_VERSION = "0.0.4";
const FACILITY_NAME = "com.chainlink.ton.ccip.CCIPSendExecutor";

fun onInternalMessage(in: InMessage) {
Expand Down Expand Up @@ -168,3 +168,12 @@ get fun errorCode(local: uint16): uint16 {
return getErrorCode(stringCrc32("com.chainlink.ton.ccip.CCIPSendExecutor"), local);
}

// Returns the current code of the contract.
get fun code(): cell {
return contract.getCode();
}

// Returns the sha256 hash of the current code of the contract.
get fun codeHash(): int {
return contract.getCode().hash();
}
37 changes: 13 additions & 24 deletions deployment/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ require (
github.com/Masterminds/semver/v3 v3.4.0
github.com/hashicorp/consul/sdk v0.16.2
github.com/rs/zerolog v1.33.0
github.com/smartcontractkit/chain-selectors v1.0.67
github.com/smartcontractkit/chain-selectors v1.0.72
github.com/smartcontractkit/chainlink-ccip v0.1.1-solana.0.20250930202440-88c08e65d960
github.com/smartcontractkit/chainlink-common v0.9.6-0.20251003171904-99a82a53b142
github.com/smartcontractkit/chainlink-deployments-framework v0.42.0
github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.23
github.com/smartcontractkit/chainlink-deployments-framework v0.52.0
github.com/smartcontractkit/chainlink-testing-framework/framework v0.10.30
github.com/smartcontractkit/chainlink-ton v0.0.0-20250904183752-4ea5c19ee886
github.com/smartcontractkit/mcms v0.21.1
github.com/stretchr/testify v1.10.0
github.com/smartcontractkit/mcms v0.25.0
github.com/stretchr/testify v1.11.1
github.com/xssnick/tonutils-go v1.14.1
golang.org/x/sync v0.16.0
)
Expand All @@ -33,26 +33,12 @@ require (
github.com/XSAM/otelsql v0.37.0 // indirect
github.com/aptos-labs/aptos-go-sdk v1.9.1-0.20250613185448-581cb03acb8f // indirect
github.com/avast/retry-go/v4 v4.6.1 // indirect
github.com/aws/aws-sdk-go-v2 v1.38.1 // indirect
github.com/aws/aws-sdk-go-v2/config v1.29.14 // indirect
github.com/aws/aws-sdk-go-v2/credentials v1.17.67 // indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.30 // indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.4 // indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.4 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.12.3 // indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.12.15 // indirect
github.com/aws/aws-sdk-go-v2/service/secretsmanager v1.34.2 // indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.25.3 // indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.30.1 // indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.33.19 // indirect
github.com/aws/smithy-go v1.22.5 // indirect
github.com/bahlo/generic-list-go v0.2.0 // indirect
github.com/benbjohnson/clock v1.3.5 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bits-and-blooms/bitset v1.20.0 // indirect
github.com/blendle/zapdriver v1.3.1 // indirect
github.com/block-vision/sui-go-sdk v1.0.6 // indirect
github.com/block-vision/sui-go-sdk v1.0.9 // indirect
github.com/btcsuite/btcd v0.24.2 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.4 // indirect
github.com/btcsuite/btcd/btcutil v1.1.6 // indirect
Expand All @@ -77,7 +63,7 @@ require (
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
github.com/distribution/reference v0.6.0 // indirect
github.com/docker/docker v28.3.2+incompatible // indirect
github.com/docker/docker v28.3.3+incompatible // indirect
github.com/docker/go-connections v0.5.0 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/ebitengine/purego v0.8.4 // indirect
Expand Down Expand Up @@ -124,6 +110,7 @@ require (
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
github.com/jackc/pgtype v1.14.4 // indirect
github.com/jackc/pgx/v4 v4.18.3 // indirect
github.com/jinzhu/copier v0.4.0 // indirect
github.com/jmoiron/sqlx v1.4.0 // indirect
github.com/jpillora/backoff v1.0.0 // indirect
github.com/json-iterator/go v1.1.12 // indirect
Expand Down Expand Up @@ -164,24 +151,26 @@ require (
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.65.0 // indirect
github.com/prometheus/procfs v0.16.1 // indirect
github.com/samber/lo v1.49.1 // indirect
github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 // indirect
github.com/scylladb/go-reflectx v1.0.1 // indirect
github.com/shirou/gopsutil v3.21.11+incompatible // indirect
github.com/shirou/gopsutil/v4 v4.25.6 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
github.com/sigurn/crc16 v0.0.0-20211026045750-20ab5afb07e3 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/smartcontractkit/chainlink-aptos v0.0.0-20250818164129-fa2e60d95157 // indirect
github.com/smartcontractkit/chainlink-aptos v0.0.0-20250905094443-ac02b032b32b // indirect
github.com/smartcontractkit/chainlink-ccip/chains/solana v0.0.0-20250805210128-7f8a0f403c3a // indirect
github.com/smartcontractkit/chainlink-ccip/chains/solana/gobindings v0.0.0-20250805210128-7f8a0f403c3a // indirect
github.com/smartcontractkit/chainlink-common/pkg/chipingress v0.0.4 // indirect
github.com/smartcontractkit/chainlink-protos/cre/go v0.0.0-20250911124514-5874cc6d62b2 // indirect
github.com/smartcontractkit/chainlink-protos/job-distributor v0.13.1 // indirect
github.com/smartcontractkit/chainlink-sui v0.0.0-20250916193659-4becc28a467f // indirect
github.com/smartcontractkit/chainlink-tron/relayer v0.0.11-0.20250815105909-75499abc4335 // indirect
github.com/smartcontractkit/freeport v0.1.3-0.20250716200817-cb5dfd0e369e // indirect
github.com/smartcontractkit/grpc-proxy v0.0.0-20240830132753-a7e17fec5ab7 // indirect
github.com/smartcontractkit/libocr v0.0.0-20250905115425-2785a5cee79d // indirect
github.com/spf13/cast v1.7.1 // indirect
github.com/spf13/cast v1.10.0 // indirect
github.com/stephenlacy/go-ethereum-hdwallet v0.0.0-20230913225845-a4fa94429863 // indirect
github.com/streamingfast/logging v0.0.0-20230608130331-f22c91403091 // indirect
github.com/supranational/blst v0.3.14 // indirect
Expand Down Expand Up @@ -228,7 +217,7 @@ require (
golang.org/x/net v0.42.0 // indirect
golang.org/x/sys v0.34.0 // indirect
golang.org/x/term v0.33.0 // indirect
golang.org/x/text v0.27.0 // indirect
golang.org/x/text v0.28.0 // indirect
golang.org/x/time v0.12.0 // indirect
golang.org/x/tools v0.35.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a // indirect
Expand Down
Loading
Loading