From 21cf0ce8662fdb57e5bc9812f1ab73b8b4afb06d Mon Sep 17 00:00:00 2001 From: sarahschwartz <58856580+sarahschwartz@users.noreply.github.com> Date: Mon, 20 Mar 2023 08:09:35 -0600 Subject: [PATCH] Beta 3 updates (#89) Includes updates to the quickstart, networks page, and a new page for the beta-3 network --- .github/workflows/ci.yml | 10 +- .../factories/CounterContractAbi__factory.ts | 64 - .../frontend/src/contracts/index.ts | 6 - book.toml | 3 + .../README.md | 0 .../counter-contract/.gitignore | 0 .../counter-contract/Cargo.toml | 4 +- .../counter-contract/Forc.lock | 4 +- .../counter-contract/Forc.toml | 0 .../counter-contract/src/main.sw | 0 .../counter-contract/tests/harness.rs | 5 +- .../frontend/.gitignore | 0 .../frontend/README.md | 0 .../frontend/createWallet.js | 0 .../frontend/package-lock.json | 1652 +++++++---------- .../frontend/package.json | 6 +- .../frontend/public/favicon.ico | Bin .../frontend/public/index.html | 0 .../frontend/public/logo192.png | Bin .../frontend/public/logo512.png | Bin .../frontend/public/manifest.json | 0 .../frontend/public/robots.txt | 0 .../frontend/src/App.css | 0 .../frontend/src/App.test.tsx | 0 .../frontend/src/App.tsx | 8 +- .../src/contracts/CounterContractAbi.d.ts | 36 +- .../frontend/src/contracts/common.d.ts | 0 .../factories/CounterContractAbi__factory.ts | 84 + .../frontend/src/contracts/index.ts | 14 + .../frontend/src/index.css | 0 .../frontend/src/index.tsx | 0 .../frontend/src/logo.svg | 0 .../frontend/src/react-app-env.d.ts | 0 .../frontend/src/reportWebVitals.ts | 0 .../frontend/src/setupTests.ts | 0 .../frontend/tsconfig.json | 0 src/SUMMARY.md | 3 +- src/networks/beta-2.md | 2 +- src/networks/beta-3.md | 65 + src/networks/networks.md | 10 +- src/quickstart/frontend.md | 16 +- src/quickstart/smart-contract.md | 36 +- 42 files changed, 864 insertions(+), 1164 deletions(-) delete mode 100644 beta2-quickstart-master/frontend/src/contracts/factories/CounterContractAbi__factory.ts delete mode 100644 beta2-quickstart-master/frontend/src/contracts/index.ts rename {beta2-quickstart-master => quickstart-example}/README.md (100%) rename {beta2-quickstart-master => quickstart-example}/counter-contract/.gitignore (100%) rename {beta2-quickstart-master => quickstart-example}/counter-contract/Cargo.toml (70%) rename {beta2-quickstart-master => quickstart-example}/counter-contract/Forc.lock (52%) rename {beta2-quickstart-master => quickstart-example}/counter-contract/Forc.toml (100%) rename {beta2-quickstart-master => quickstart-example}/counter-contract/src/main.sw (100%) rename {beta2-quickstart-master => quickstart-example}/counter-contract/tests/harness.rs (93%) rename {beta2-quickstart-master => quickstart-example}/frontend/.gitignore (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/README.md (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/createWallet.js (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/package-lock.json (96%) rename {beta2-quickstart-master => quickstart-example}/frontend/package.json (88%) rename {beta2-quickstart-master => quickstart-example}/frontend/public/favicon.ico (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/public/index.html (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/public/logo192.png (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/public/logo512.png (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/public/manifest.json (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/public/robots.txt (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/App.css (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/App.test.tsx (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/App.tsx (89%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/contracts/CounterContractAbi.d.ts (59%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/contracts/common.d.ts (100%) create mode 100644 quickstart-example/frontend/src/contracts/factories/CounterContractAbi__factory.ts create mode 100644 quickstart-example/frontend/src/contracts/index.ts rename {beta2-quickstart-master => quickstart-example}/frontend/src/index.css (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/index.tsx (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/logo.svg (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/react-app-env.d.ts (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/reportWebVitals.ts (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/src/setupTests.ts (100%) rename {beta2-quickstart-master => quickstart-example}/frontend/tsconfig.json (100%) create mode 100644 src/networks/beta-3.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 258ab13..17d2ff3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,17 +23,17 @@ jobs: curl --proto '=https' --tlsv1.2 -sSf https://install.fuel.network/fuelup-init.sh | sh - name: Modify Path run: echo "$HOME/.fuelup/bin:${GITHUB_PATH}" >> $GITHUB_PATH - - name: Set Default Beta-2 Toolchain - run: fuelup toolchain install beta-2 && fuelup default beta-2 + - name: Set Default Beta-3 Toolchain + run: fuelup toolchain install beta-3 && fuelup default beta-3 - name: Build Contract - run: forc build --path ./beta2-quickstart-master/counter-contract + run: forc build --path ./quickstart-example/counter-contract - name: Run contract tests uses: actions-rs/cargo@v1 with: command: test - args: --manifest-path ./beta2-quickstart-master/counter-contract/Cargo.toml + args: --manifest-path ./quickstart-example/counter-contract/Cargo.toml - name: Check Cargo fmt & clippy run: | - cd beta2-quickstart-master/counter-contract + cd quickstart-example/counter-contract cargo fmt --all --check cargo clippy --all-targets --all-features \ No newline at end of file diff --git a/beta2-quickstart-master/frontend/src/contracts/factories/CounterContractAbi__factory.ts b/beta2-quickstart-master/frontend/src/contracts/factories/CounterContractAbi__factory.ts deleted file mode 100644 index b4c3eb4..0000000 --- a/beta2-quickstart-master/frontend/src/contracts/factories/CounterContractAbi__factory.ts +++ /dev/null @@ -1,64 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ - -import type { Provider, BaseWalletLocked, AbstractAddress } from "fuels"; -import { Interface, Contract } from "fuels"; -import type { - CounterContractAbi, - CounterContractAbiInterface, -} from "../CounterContractAbi"; -const _abi = { - types: [ - { - typeId: 0, - type: "()", - components: [], - typeParameters: null, - }, - { - typeId: 1, - type: "u64", - components: null, - typeParameters: null, - }, - ], - functions: [ - { - inputs: [], - name: "count", - output: { - name: "", - type: 1, - typeArguments: null, - }, - }, - { - inputs: [], - name: "increment", - output: { - name: "", - type: 0, - typeArguments: null, - }, - }, - ], - loggedTypes: [], -}; - -export class CounterContractAbi__factory { - static readonly abi = _abi; - static createInterface(): CounterContractAbiInterface { - return new Interface(_abi) as unknown as CounterContractAbiInterface; - } - static connect( - id: string | AbstractAddress, - walletOrProvider: BaseWalletLocked | Provider - ): CounterContractAbi { - return new Contract( - id, - _abi, - walletOrProvider - ) as unknown as CounterContractAbi; - } -} diff --git a/beta2-quickstart-master/frontend/src/contracts/index.ts b/beta2-quickstart-master/frontend/src/contracts/index.ts deleted file mode 100644 index aff65ad..0000000 --- a/beta2-quickstart-master/frontend/src/contracts/index.ts +++ /dev/null @@ -1,6 +0,0 @@ -/* Autogenerated file. Do not edit manually. */ -/* tslint:disable */ -/* eslint-disable */ -export type { CounterContractAbi } from "./CounterContractAbi"; - -export { CounterContractAbi__factory } from "./factories/CounterContractAbi__factory"; diff --git a/book.toml b/book.toml index 18eff4c..803bc7a 100644 --- a/book.toml +++ b/book.toml @@ -10,3 +10,6 @@ git-repository-url = "https://github.com/FuelLabs/fuel-docs" [rust] edition = "2021" + +[output.html.redirect] +"/developer-quickstart.html" = "https://fuelbook.fuel.network/master/quickstart/developer-quickstart.html" \ No newline at end of file diff --git a/beta2-quickstart-master/README.md b/quickstart-example/README.md similarity index 100% rename from beta2-quickstart-master/README.md rename to quickstart-example/README.md diff --git a/beta2-quickstart-master/counter-contract/.gitignore b/quickstart-example/counter-contract/.gitignore similarity index 100% rename from beta2-quickstart-master/counter-contract/.gitignore rename to quickstart-example/counter-contract/.gitignore diff --git a/beta2-quickstart-master/counter-contract/Cargo.toml b/quickstart-example/counter-contract/Cargo.toml similarity index 70% rename from beta2-quickstart-master/counter-contract/Cargo.toml rename to quickstart-example/counter-contract/Cargo.toml index 72b8c5e..1cf8053 100644 --- a/beta2-quickstart-master/counter-contract/Cargo.toml +++ b/quickstart-example/counter-contract/Cargo.toml @@ -3,11 +3,11 @@ name = "counter-contract" description = "A cargo-generate template for Rust + Sway integration testing." version = "0.1.0" edition = "2021" -authors = ["camiinthisthang"] +authors = ["sarahschwartz <58856580+sarahschwartz@users.noreply.github.com>"] license = "Apache-2.0" [dev-dependencies] -fuels = { version = "0.31" } +fuels = { version = "0.37", features = ["fuel-core-lib"] } tokio = { version = "1.12", features = ["rt", "macros"] } [[test]] diff --git a/beta2-quickstart-master/counter-contract/Forc.lock b/quickstart-example/counter-contract/Forc.lock similarity index 52% rename from beta2-quickstart-master/counter-contract/Forc.lock rename to quickstart-example/counter-contract/Forc.lock index 5de4024..50f0fcb 100644 --- a/beta2-quickstart-master/counter-contract/Forc.lock +++ b/quickstart-example/counter-contract/Forc.lock @@ -1,6 +1,6 @@ [[package]] name = 'core' -source = 'path+from-root-E6BBD1A08F478960' +source = 'path+from-root-894BF76E6DA2FFD3' [[package]] name = 'counter-contract' @@ -9,5 +9,5 @@ dependencies = ['std'] [[package]] name = 'std' -source = 'git+https://github.com/fuellabs/sway?tag=v0.32.2#b9996f13463c324e256014935c053c334b880ab5' +source = 'git+https://github.com/fuellabs/sway?tag=v0.35.3#5d2b10bd83791d2eaff04206dbd45bfdd9cf23ff' dependencies = ['core'] diff --git a/beta2-quickstart-master/counter-contract/Forc.toml b/quickstart-example/counter-contract/Forc.toml similarity index 100% rename from beta2-quickstart-master/counter-contract/Forc.toml rename to quickstart-example/counter-contract/Forc.toml diff --git a/beta2-quickstart-master/counter-contract/src/main.sw b/quickstart-example/counter-contract/src/main.sw similarity index 100% rename from beta2-quickstart-master/counter-contract/src/main.sw rename to quickstart-example/counter-contract/src/main.sw diff --git a/beta2-quickstart-master/counter-contract/tests/harness.rs b/quickstart-example/counter-contract/tests/harness.rs similarity index 93% rename from beta2-quickstart-master/counter-contract/tests/harness.rs rename to quickstart-example/counter-contract/tests/harness.rs index 11d8be9..ee2ebf0 100644 --- a/beta2-quickstart-master/counter-contract/tests/harness.rs +++ b/quickstart-example/counter-contract/tests/harness.rs @@ -1,7 +1,10 @@ use fuels::{prelude::*, tx::ContractId}; // Load abi from json -abigen!(MyContract, "out/debug/counter-contract-abi.json"); +abigen!(Contract( + name = "MyContract", + abi = "out/debug/counter-contract-abi.json" +)); async fn get_contract_instance() -> (MyContract, ContractId) { // Launch a local network and deploy the contract diff --git a/beta2-quickstart-master/frontend/.gitignore b/quickstart-example/frontend/.gitignore similarity index 100% rename from beta2-quickstart-master/frontend/.gitignore rename to quickstart-example/frontend/.gitignore diff --git a/beta2-quickstart-master/frontend/README.md b/quickstart-example/frontend/README.md similarity index 100% rename from beta2-quickstart-master/frontend/README.md rename to quickstart-example/frontend/README.md diff --git a/beta2-quickstart-master/frontend/createWallet.js b/quickstart-example/frontend/createWallet.js similarity index 100% rename from beta2-quickstart-master/frontend/createWallet.js rename to quickstart-example/frontend/createWallet.js diff --git a/beta2-quickstart-master/frontend/package-lock.json b/quickstart-example/frontend/package-lock.json similarity index 96% rename from beta2-quickstart-master/frontend/package-lock.json rename to quickstart-example/frontend/package-lock.json index 3199726..aeba4cc 100644 --- a/beta2-quickstart-master/frontend/package-lock.json +++ b/quickstart-example/frontend/package-lock.json @@ -15,16 +15,12 @@ "@types/node": "^16.18.8", "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", - "fuels": "^0.24.2", + "fuels": "^0.35.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", "typescript": "^4.9.4", "web-vitals": "^2.1.4" - }, - "devDependencies": { - "fuelchain": "^0.24.2", - "typechain-target-fuels": "^0.24.2" } }, "node_modules/@adobe/css-tools": { @@ -2638,9 +2634,9 @@ } }, "node_modules/@fuel-ts/abi-coder": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/abi-coder/-/abi-coder-0.24.2.tgz", - "integrity": "sha512-/upqpe04+b2giTK/SWxyVjVqrPRl2DfimwYEMZLizIoW80I6jssWJ5e9x4vuLEJs5zdOGWka+27b9de20Nm61A==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/abi-coder/-/abi-coder-0.35.0.tgz", + "integrity": "sha512-Qt5HVV+c3PbJIgByM0s8v0va61FNGnXIPwRU12X2Dq0bCBdrz8EJobQvvSXACAVt/ciMqVvxvCTlKMePjtyXyw==", "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", @@ -2649,15 +2645,15 @@ "@ethersproject/properties": "^5.7.0", "@ethersproject/sha2": "^5.7.0", "@ethersproject/strings": "^5.7.0", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/versions": "0.24.2", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/versions": "0.35.0", "type-fest": "^3.1.0" } }, "node_modules/@fuel-ts/abi-coder/node_modules/type-fest": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.3.0.tgz", - "integrity": "sha512-gezeeOIZyQLGW5uuCeEnXF1aXmtt2afKspXz3YqoOcZ3l/YMJq1pujvgT+cz/Nw1O/7q/kSav5fihJHsC/AOUg==", + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.6.1.tgz", + "integrity": "sha512-htXWckxlT6U4+ilVgweNliPqlsVSSucbxVexRYllyMVJDtf5rTjv6kF/s+qAd4QSL1BZcnJPEJavYBPQiWuZDA==", "engines": { "node": ">=14.16" }, @@ -2665,166 +2661,260 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@fuel-ts/abi-typegen": { + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/abi-typegen/-/abi-typegen-0.35.0.tgz", + "integrity": "sha512-gyajD01XgZub5amkCAQgPCnTxH0HKJEqJc0tgntiOqAuJZMnLhsfBYEnj5gl+A8Pe3VxW9Fg54fqRJrhQcS1Eg==", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@fuel-ts/versions": "0.35.0", + "commander": "^9.4.1", + "glob": "^8.0.3", + "handlebars": "^4.7.7", + "lodash.uniq": "^4.5.0", + "lodash.upperfirst": "^4.3.1", + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "bin": { + "fuels-typegen": "dist/bin.js" + } + }, + "node_modules/@fuel-ts/abi-typegen/node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/@fuel-ts/abi-typegen/node_modules/commander": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==", + "engines": { + "node": "^12.20.0 || >=14" + } + }, + "node_modules/@fuel-ts/abi-typegen/node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/@fuel-ts/abi-typegen/node_modules/minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@fuel-ts/abi-typegen/node_modules/mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "bin": { + "mkdirp": "bin/cmd.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/@fuel-ts/address": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/address/-/address-0.24.2.tgz", - "integrity": "sha512-EJy7YWKbnvVAyRICFSoUL2U+zdxobyJjttC6m02utHIZf7ZEL5Q/lreWKNlcaFdAwRWkJRFxe57JWGrEiMTS6A==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/address/-/address-0.35.0.tgz", + "integrity": "sha512-ypPiLlLXctyt267y63zQXIi1fnhaBucRv791uUcgdXULvhOE1UocqbuDF5bhpuIIUW8sgLRvjH+G6r70V4YK0A==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/versions": "0.24.2", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/versions": "0.35.0", "bech32": "^2.0.0" } }, "node_modules/@fuel-ts/constants": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/constants/-/constants-0.24.2.tgz", - "integrity": "sha512-wp1bpjcJ4SY/avNYIsw4s2yPQhfGuXXuLM3qJE4ja05NBaYr2pYyWY+InuQfBlEPXRRs1pXRVFctTT7eMDJ7ZQ==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/constants/-/constants-0.35.0.tgz", + "integrity": "sha512-vEHw6I0RmABoFWGXXsJ9prp2Mt3NsSxIZ7BS4czAcStV+zZYzSkVRyTxJnwRkoWJT+yN9vxKt20DTDKCNb/tFA==" }, "node_modules/@fuel-ts/contract": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/contract/-/contract-0.24.2.tgz", - "integrity": "sha512-DlMzU9nbMEC58k2ax9qM9M2FMuZHFS229K+itBF38Qp+DAnA8FwoGjFsIXUmX8Es1mhzLEcbG/YtgmSiAN05FQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/contract/-/contract-0.35.0.tgz", + "integrity": "sha512-bIIIzsbpnKgMkGzwcXLlV65xpfHBsFZkCA5+gbeTLBcQH/yMWOExstujYx3IdxTtFpoH0g3G1XrEB8BoBDlZhQ==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/script": "0.24.2", - "@fuel-ts/sparsemerkle": "0.24.2", - "@fuel-ts/transactions": "0.24.2", - "@fuel-ts/versions": "0.24.2", - "@fuel-ts/wallet": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/merkle": "0.35.0", + "@fuel-ts/program": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/sparsemerkle": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" } }, "node_modules/@fuel-ts/hasher": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/hasher/-/hasher-0.24.2.tgz", - "integrity": "sha512-5xzFVyGmh2HxysNgirfpmyC8jAn6UHBClmmE1w5neNvSzrFCoZUJ1Y2dBF6qzMYbBweEJPD7Ys7qmHFKNWCEKA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/hasher/-/hasher-0.35.0.tgz", + "integrity": "sha512-Q6FpCfGkYY0CECGDq7KBfaUGKH/EsVA9esXwe4Brr4lrjl10Tb6yzpwXWEe1D0TEyHH+r6mfJnLMH4Jplnz6NA==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/transactions": "0.24.2", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", "lodash.clonedeep": "^4.5.0" } }, "node_modules/@fuel-ts/hdwallet": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/hdwallet/-/hdwallet-0.24.2.tgz", - "integrity": "sha512-6r5wuhV98jXbMOA910Z0fPQ1Tz1Gv4J7Y1JAkcJMPqWjaFRLtT3T5Etu5cQOCF1r56RQg4tX7vNYD3ul5TJSjA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/hdwallet/-/hdwallet-0.35.0.tgz", + "integrity": "sha512-ZciSVGYMqkoHsxeMXOqSAoXRLaSOIfB122NNCNL4pWdERbV69ouIyj+2y8mrfopbcgucim0cvmgrzgnzYQsDgg==", "dependencies": { "@ethersproject/basex": "^5.7.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/signer": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/signer": "0.35.0" } }, "node_modules/@fuel-ts/interfaces": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/interfaces/-/interfaces-0.24.2.tgz", - "integrity": "sha512-JANcF9tpS2DcrXJEvVuuCi0PBZoXaEPeUacVUae6pLtAnx+hhnWWKfO8RnFXCPCa2lLn+qsyAvUF+ZHVHq1zcw==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/interfaces/-/interfaces-0.35.0.tgz", + "integrity": "sha512-jwT97X3BTlrGTglQAHBGJWuDErT37P2Z8DIRgNNhrErp8gLcFQY7ebV4/88s6J/up3vRvZ7a5U9RNo3sm1RJvA==" }, "node_modules/@fuel-ts/keystore": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/keystore/-/keystore-0.24.2.tgz", - "integrity": "sha512-ydcFxUYIaDL9TI+nr33ZgxLXb78k3zw4gbAS/3Xjc/YawkPOc8yVTOv6hh0U1EBM2aLJGS6iwFdYwisfsM49Mg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/keystore/-/keystore-0.35.0.tgz", + "integrity": "sha512-dwLumNwW5jK3wCarcroQH9DEg0UYKrv67F4LQ7EmtqlfqO5NFFAdn1V8uX0aDQNL6Q+9cbvab0eLfLsrDZNXnQ==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/pbkdf2": "^5.7.0" } }, "node_modules/@fuel-ts/math": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/math/-/math-0.24.2.tgz", - "integrity": "sha512-oGJkI8X9EtiNeABIGj1l4LLG3UmDWq5D4OOjANRYmvNpjpfIWyvIiYcIhujX8IYzWlsQwPg4GXZ64SwzUgyfQw==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/math/-/math-0.35.0.tgz", + "integrity": "sha512-2ljmk9XsBYgvZ5GgT7MNh8np1rSlQ65NjIncF3lCP8d+fF43mBIGbW83hwdXXg9/3ZjVYfRzszKRPnZXZrM1gA==", "dependencies": { "@types/bn.js": "^5.1.1", "bn.js": "^5.2.1" } }, "node_modules/@fuel-ts/merkle": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/merkle/-/merkle-0.24.2.tgz", - "integrity": "sha512-DHpc323F6uECRHsAVEwrfZRavuy0XA5aPmJP4oKKN+kBDj1ppBQn/6VQWkfyhx8v5O6E6g5yghxPSi+5idADfg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/merkle/-/merkle-0.35.0.tgz", + "integrity": "sha512-U3QBxVCqSacH2XDW2IdXtGuA3YkjWrfPhsGAmNuW7RvNteh4e8D3JbT5xtHrgt89V2D5zGyRhKy5p5GOkUrFOg==", "dependencies": { - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0" } }, "node_modules/@fuel-ts/merkle-shared": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/merkle-shared/-/merkle-shared-0.24.2.tgz", - "integrity": "sha512-XIKxnW6Bn1VYqcpclQx6fVYSXJ7Ou7kwR/b+sKTfiHyIBFHOiLNIPQS+4tjLENY/ZNBXqAxB4qumIJxcKuIBng==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/merkle-shared/-/merkle-shared-0.35.0.tgz", + "integrity": "sha512-kbbfehG6CitzwlBPsLVD2J38nIWkGRgzpzqCYil5ntY41k0mKBDHdPEonK2yN+SxexnG0FrBUdpNGoRRI05XMg==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0" } }, "node_modules/@fuel-ts/merklesum": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/merklesum/-/merklesum-0.24.2.tgz", - "integrity": "sha512-MoSTKlIG1v4vmLJiDC0kvQQkobEvejf7lc0/vrX+VPNOolo+2amTXpSSbHbLugNHA05fsMTzd0uebfY0tu7axw==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/merklesum/-/merklesum-0.35.0.tgz", + "integrity": "sha512-9GnnySDARFPDrFmIzEgo4YYI94hE/V0NORh0osPDzyeZw4ymPN8oVEOFfzQWL0Yonf38my/PWiTc2P4FM+KARg==", "dependencies": { - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0" } }, "node_modules/@fuel-ts/mnemonic": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/mnemonic/-/mnemonic-0.24.2.tgz", - "integrity": "sha512-GW5H5vDM3xsOddLPzO/lfrQW8DjpywC2IMuVBErNm9K0QqZcQCKL1q1tSGyYFcb6Oi/piJJXqCYcnztJhLKuTw==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/mnemonic/-/mnemonic-0.35.0.tgz", + "integrity": "sha512-o5fVKHzwUeWC+Tdu7Vdw5ySI6Z1rYLsdUNgeAsKWTPKPz8Y+RGZ+t5kiWo+dNU10FJNy/dMDXS7vEaamOKv4Xg==", "dependencies": { "@ethersproject/basex": "^5.7.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/pbkdf2": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/wordlists": "0.24.2" + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/wordlists": "0.35.0" } }, "node_modules/@fuel-ts/predicate": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/predicate/-/predicate-0.24.2.tgz", - "integrity": "sha512-cXCK7E2S40Spr9Lv6LNmu5h92f6dKFOJ8LJnEPzShuV72dah5yxUm8E8bDA71cq7JoYnAcjVpwsdBaCR0Wgp1Q==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/predicate/-/predicate-0.35.0.tgz", + "integrity": "sha512-6gTxwjWzEjPry8VXE+j3aEK9nUze1uWSP3inEVY+OvwmHJaEAfydgQCvdjGQyzMQyIsbpOAOFK+tdTDZs0zLjA==", + "dependencies": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/merkle": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" + } + }, + "node_modules/@fuel-ts/program": { + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/program/-/program-0.35.0.tgz", + "integrity": "sha512-nxuNfneAJT7n2i1kCYnqYx1PkQxc1wtB9VhWk7PP6Ne/6E39paN2leoqxtIkio0Vli9qzbjKqx1VJG0fiuyLsQ==", "dependencies": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/contract": "0.24.2", - "@fuel-ts/interfaces": "0.24.2" + "@ethersproject/logger": "^5.7.0", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" } }, "node_modules/@fuel-ts/providers": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/providers/-/providers-0.24.2.tgz", - "integrity": "sha512-RsixDCofjuzSiv63V/Qvq0XZCOhSPwaT1Wal3JDO4qMJIxU3cShzpA4DLZ4bc/4f4r2Js0aGskXG9/NKG1munQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/providers/-/providers-0.35.0.tgz", + "integrity": "sha512-CK2h4FMybxJqsb/7LsoV0Nsxwcij4LmKslphnp7kNEREv5ysdOiYVnb9wJaaHvT1YI/vut2wsHqbfPdisu7Y5w==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/networks": "^5.7.1", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/transactions": "0.24.2", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/transactions": "0.35.0", "graphql": "^16.6.0", "graphql-request": "^5.0.0", "graphql-tag": "^2.12.6", @@ -2832,66 +2922,67 @@ } }, "node_modules/@fuel-ts/script": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/script/-/script-0.24.2.tgz", - "integrity": "sha512-RoMy0C9xKou9OrHt6H9HlGZ/mq1EDpmJKL9/QvcUyMlizlnE86Sx/C8QNEIL2ZYY/Etv01NT+Nzd2YE3BCsFGQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/script/-/script-0.35.0.tgz", + "integrity": "sha512-Jd9nvKGjdlGj3pLDph0mdswDCyuzniQDDNvAQUFqJgH+gNir3nLgfTwKiZHf06gvXbKluuWyswIA4W/Kdwcy0A==", "dependencies": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/transactions": "0.24.2", - "@fuel-ts/wallet": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/abi-typegen": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/program": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" } }, "node_modules/@fuel-ts/signer": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/signer/-/signer-0.24.2.tgz", - "integrity": "sha512-Xg5XJnFsqBJ3wB7dd2B0CKLhLTkCeSpG7hEPkOTVTBa+5yre62CUgx+bWzQOXomxNFGP7bm6ej2p6aI38Umfug==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/signer/-/signer-0.35.0.tgz", + "integrity": "sha512-ES7wHlvQCDJoTJ6ggwn+IoIDrKwAAX4csiNWlzb6WL4JlpduQEMcrKUcPu7Jy6uhoQ7cQm2gtz2JsrDukwrQvA==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/hasher": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/hasher": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", "elliptic": "^6.5.4" } }, "node_modules/@fuel-ts/sparsemerkle": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/sparsemerkle/-/sparsemerkle-0.24.2.tgz", - "integrity": "sha512-kzNCm7vyXWbhcMwx3D0WUX6Db/6n79QjsnCCoQ9NpAIb2vWNizIfNEfQVNaSzwQKmKmfRsx/tVnvB2k3ijDjsA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/sparsemerkle/-/sparsemerkle-0.35.0.tgz", + "integrity": "sha512-dMsgfLsid5LSYbMX8bIEC/L1k3aNxXlhiugeJ3iFOWjA3UHEiKGjLr/PX0l5l6ktUOsbE3TN70WRdAMxP1JLUQ==", "dependencies": { - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0" } }, "node_modules/@fuel-ts/testcases": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/testcases/-/testcases-0.24.2.tgz", - "integrity": "sha512-w1KyLg+1HGFTkkwlN58Jdt96/+XR5d1op522186xNDl3j3hRLSXNVq3tK46oPihrIkad0YMi8ZQP6RddmHjZtg==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/testcases/-/testcases-0.35.0.tgz", + "integrity": "sha512-KH7wG5Fy1ZUt6K+WEpumUGrsnZ19e5HSvXaytKnETJQ7sGl2YKp6DPPWVN+0vVbFVLyKxXlBOW4/B6yIFZ/ldw==" }, "node_modules/@fuel-ts/transactions": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/transactions/-/transactions-0.24.2.tgz", - "integrity": "sha512-mpxK8GTq+wrCNcB532VAevSaisxuwgqKxPo6tjEz6QG7GMOQe3hQULP81Hg6y3ygFsNpe1s4alD217GnusLNxg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/transactions/-/transactions-0.35.0.tgz", + "integrity": "sha512-DRSu1dAdi7oPoNtz19AWap5U0t70AfYdjsTUwvwygs66ud8RCi5ezpWXxt0jUVk1UpPw5byIc7s06B/U50iD1Q==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/math": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/math": "0.35.0" } }, "node_modules/@fuel-ts/versions": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/versions/-/versions-0.24.2.tgz", - "integrity": "sha512-a3wYc1SiGrJj1ldft9d7KhEJHk1KVn3bdXjjHB5TW9JfLn/iTkmqYHp1AuPCBltTSEpIxukPLE4r7UEMsKVKRg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/versions/-/versions-0.35.0.tgz", + "integrity": "sha512-ygjnFAOldjZg4iRSlNowxVuoUH4d1JEU6NcsTc095OOP8D4YJB1NQP1i0KKDFDGs2qRYjOApA5S2p0+KRDduYw==", "dependencies": { - "@types/cli-table": "^0.3.1", - "@types/yargs": "^17.0.13", "chalk": "4", "cli-table": "^0.3.11", "semver": "^7.3.8" @@ -2900,14 +2991,6 @@ "fuels-versions": "dist/bin.js" } }, - "node_modules/@fuel-ts/versions/node_modules/@types/yargs": { - "version": "17.0.17", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.17.tgz", - "integrity": "sha512-72bWxFKTK6uwWJAVT+3rF6Jo6RTojiJ27FQo8Rf60AL+VZbzoVPnMFhKsUnbjR8A3BTCYQ7Mv3hnl8T0A+CX9g==", - "dependencies": { - "@types/yargs-parser": "*" - } - }, "node_modules/@fuel-ts/versions/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -2973,48 +3056,48 @@ } }, "node_modules/@fuel-ts/wallet": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/wallet/-/wallet-0.24.2.tgz", - "integrity": "sha512-BFX9NXmXywo5/iMJa1nWCvbJ2838QL1kJyLYBIoxeszuLljNclzs6lK6GrF5unSZVio9DNENHZK96GOTk9AfoA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/wallet/-/wallet-0.35.0.tgz", + "integrity": "sha512-rdFWz95u59aM3Fy+JCN/u/WG8jOT/MG/pETCJEP72GHAmFlpD6zE5lJJvHXUzuSGE2AIkGVkRalJ80TIUhfprg==", "dependencies": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/hasher": "0.24.2", - "@fuel-ts/hdwallet": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/signer": "0.24.2", - "@fuel-ts/transactions": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/hasher": "0.35.0", + "@fuel-ts/hdwallet": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/signer": "0.35.0", + "@fuel-ts/transactions": "0.35.0" } }, "node_modules/@fuel-ts/wallet-manager": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/wallet-manager/-/wallet-manager-0.24.2.tgz", - "integrity": "sha512-jnYw4XpbmC03v5GBuKvQfBNGqBEDLOGeGNS3id7nSfzQ9e1gCfsYeIRzWJO2HT1voCIAytsouOLZ59W4JewvwA==", - "dependencies": { - "@fuel-ts/address": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/wallet": "0.24.2", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/wallet-manager/-/wallet-manager-0.35.0.tgz", + "integrity": "sha512-z7cW98Ul6UncMhoggLo/Rr9tJEhmLotk5Y8jgJcfCB4zus5BIx0tMJujBb/2q2A7O0ZKlbcF2Emj6R8/1HJAHg==", + "dependencies": { + "@fuel-ts/address": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/wallet": "0.35.0", "events": "^3.3.0" } }, "node_modules/@fuel-ts/wordlists": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/wordlists/-/wordlists-0.24.2.tgz", - "integrity": "sha512-kRoqKcCeLbXwQIBNFqqzCjeMQxV0FtLIaznI4urAbAqm/a9YaevdekEjPwb6BGruZlQ9mb3aktrR1Rom1JWo9w==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/wordlists/-/wordlists-0.35.0.tgz", + "integrity": "sha512-MuyozQd/hFAb6OEA6zvYtU8kHKTeyBMCscvlz6Sma7b/EqFzXX2puwSuKu9U7qijdKv7cZHDECIAQPPMAWs8fg==" }, "node_modules/@graphql-typed-document-node/core": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.1.tgz", - "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.2.tgz", + "integrity": "sha512-9anpBMM9mEgZN4wr2v8wHJI2/u5TnnggewRN6OlvXTTnuVyoY19X6rOv9XTqKRw6dcGKwZsBi8n0kDE2I5i4VA==", "peerDependencies": { - "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0" + "graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" } }, "node_modules/@humanwhocodes/config-array": { @@ -4501,11 +4584,6 @@ "@types/node": "*" } }, - "node_modules/@types/cli-table": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@types/cli-table/-/cli-table-0.3.1.tgz", - "integrity": "sha512-m3+6WWfSSl6zqoXy8uQQifbgqV7Gt6fsyWnHLgUWVtJQk75+OfUB+edSZ52YDj7leSiZtX7w1/E4w2x/Hb0orA==" - }, "node_modules/@types/connect": { "version": "3.4.35", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", @@ -5395,15 +5473,6 @@ "node": ">=6.0" } }, - "node_modules/array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/array-flatten": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", @@ -6353,54 +6422,6 @@ "node": ">= 0.8" } }, - "node_modules/command-line-args": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.1.tgz", - "integrity": "sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==", - "dev": true, - "dependencies": { - "array-back": "^3.1.0", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/command-line-usage": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.3.tgz", - "integrity": "sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw==", - "dev": true, - "dependencies": { - "array-back": "^4.0.2", - "chalk": "^2.4.2", - "table-layout": "^1.0.2", - "typical": "^5.2.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/command-line-usage/node_modules/array-back": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", - "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/command-line-usage/node_modules/typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -7072,15 +7093,6 @@ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==" }, - "node_modules/deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -8689,18 +8701,6 @@ "url": "https://github.com/avajs/find-cache-dir?sponsor=1" } }, - "node_modules/find-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", - "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", - "dev": true, - "dependencies": { - "array-back": "^3.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -8993,112 +8993,38 @@ "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, - "node_modules/fuelchain": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/fuelchain/-/fuelchain-0.24.2.tgz", - "integrity": "sha512-WXTpkLZ9yItjfN1P9bG1obddXQrrX9zmkUS99ODsrJuwgfOYebFHOqdIydeizeOhzdoIqLW1d7jr3c1QsbcuPw==", - "dev": true, - "dependencies": { - "@types/prettier": "^2.7.1", - "debug": "^4.3.4", - "fs-extra": "^10.1.0", - "glob": "8.0.3", - "js-sha3": "^0.8.0", - "lodash": "^4.17.21", - "mkdirp": "^1.0.4", - "prettier": "^2.7.1", - "ts-command-line-args": "^2.3.1", - "ts-essentials": "^9.3.0" - }, - "bin": { - "fuelchain": "dist/cli/cli.js" - }, - "peerDependencies": { - "typescript": "^4.5.2" - } - }, - "node_modules/fuelchain/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/fuelchain/node_modules/glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/fuelchain/node_modules/minimatch": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz", - "integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fuelchain/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/fuels": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/fuels/-/fuels-0.24.2.tgz", - "integrity": "sha512-A+5DGJeWutVTOyDWqHPLRmOOCQ4t5pWzh0ad/9AwAOWP0QIuPxlBF5CFJF2XZOg5xMb7O6tnpTlrVBisn31+AQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/fuels/-/fuels-0.35.0.tgz", + "integrity": "sha512-a0YTD+AJ7WeQHaj1cRW3M6YnumC0tLfd8Ay/KJ0FLAmr77BqVfh3cKDy6459Yjpeitc60K8+nAk0G36rIn6Ezw==", "dependencies": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/contract": "0.24.2", - "@fuel-ts/hasher": "0.24.2", - "@fuel-ts/hdwallet": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2", - "@fuel-ts/merklesum": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/predicate": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/script": "0.24.2", - "@fuel-ts/signer": "0.24.2", - "@fuel-ts/sparsemerkle": "0.24.2", - "@fuel-ts/testcases": "0.24.2", - "@fuel-ts/transactions": "0.24.2", - "@fuel-ts/versions": "0.24.2", - "@fuel-ts/wallet": "0.24.2", - "@fuel-ts/wallet-manager": "0.24.2", - "@fuel-ts/wordlists": "0.24.2", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/abi-typegen": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/contract": "0.35.0", + "@fuel-ts/hasher": "0.35.0", + "@fuel-ts/hdwallet": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0", + "@fuel-ts/merklesum": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/predicate": "0.35.0", + "@fuel-ts/program": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/script": "0.35.0", + "@fuel-ts/signer": "0.35.0", + "@fuel-ts/sparsemerkle": "0.35.0", + "@fuel-ts/testcases": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0", + "@fuel-ts/wallet-manager": "0.35.0", + "@fuel-ts/wordlists": "0.35.0", "commander": "^9.4.1" }, "bin": { @@ -9338,9 +9264,9 @@ } }, "node_modules/graphql-request": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-5.0.0.tgz", - "integrity": "sha512-SpVEnIo2J5k2+Zf76cUkdvIRaq5FMZvGQYnA4lUWYbc99m+fHh4CZYRRO/Ff4tCLQ613fzCm3SiDT64ubW5Gyw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-5.2.0.tgz", + "integrity": "sha512-pLhKIvnMyBERL0dtFI3medKqWOz/RhHdcgbZ+hMMIb32mEPa5MJSzS4AuXxfI4sRAu6JVVk5tvXuGfCWl9JYWQ==", "dependencies": { "@graphql-typed-document-node/core": "^3.1.1", "cross-fetch": "^3.1.5", @@ -9384,6 +9310,34 @@ "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==" }, + "node_modules/handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/handlebars/node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/harmony-reflect": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/harmony-reflect/-/harmony-reflect-1.6.2.tgz", @@ -12549,12 +12503,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", - "dev": true - }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -12585,6 +12533,11 @@ "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==" }, + "node_modules/lodash.upperfirst": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", + "integrity": "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==" + }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -14746,21 +14699,6 @@ "node": ">= 0.8.0" } }, - "node_modules/prettier": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz", - "integrity": "sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, "node_modules/pretty-bytes": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", @@ -15294,15 +15232,6 @@ "node": ">=8" } }, - "node_modules/reduce-flatten": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", - "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/regenerate": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", @@ -16165,12 +16094,6 @@ "safe-buffer": "~5.2.0" } }, - "node_modules/string-format": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string-format/-/string-format-2.0.0.tgz", - "integrity": "sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA==", - "dev": true - }, "node_modules/string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -16493,39 +16416,6 @@ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" }, - "node_modules/table-layout": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.2.tgz", - "integrity": "sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==", - "dev": true, - "dependencies": { - "array-back": "^4.0.1", - "deep-extend": "~0.6.0", - "typical": "^5.2.0", - "wordwrapjs": "^4.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/table-layout/node_modules/array-back": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", - "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/table-layout/node_modules/typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/tailwindcss": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.2.4.tgz", @@ -16783,100 +16673,6 @@ "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==" }, - "node_modules/ts-command-line-args": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/ts-command-line-args/-/ts-command-line-args-2.3.1.tgz", - "integrity": "sha512-FR3y7pLl/fuUNSmnPhfLArGqRrpojQgIEEOVzYx9DhTmfIN7C9RWSfpkJEF4J+Gk7aVx5pak8I7vWZsaN4N84g==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "command-line-args": "^5.1.1", - "command-line-usage": "^6.1.0", - "string-format": "^2.0.0" - }, - "bin": { - "write-markdown": "dist/write-markdown.js" - } - }, - "node_modules/ts-command-line-args/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/ts-command-line-args/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/ts-command-line-args/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/ts-command-line-args/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/ts-command-line-args/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ts-command-line-args/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ts-essentials": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-9.3.0.tgz", - "integrity": "sha512-XeiCboEyBG8UqXZtXl59bWEi4ZgOqRsogFDI6WDGIF1LmzbYiAkIwjkXN6zZWWl4re/lsOqMlYfe8KA0XiiEPw==", - "dev": true, - "peerDependencies": { - "typescript": ">=4.1.0" - } - }, "node_modules/tsconfig-paths": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", @@ -16973,17 +16769,6 @@ "node": ">= 0.6" } }, - "node_modules/typechain-target-fuels": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/typechain-target-fuels/-/typechain-target-fuels-0.24.2.tgz", - "integrity": "sha512-QnxcvFil+zcTjr/vCnlTiu/hiKDFBlrJ+NU0tssuhX9IRxqgEGeiHwSJIlkx9HpkfY9+H6zY1KLLL0Y50RX9gA==", - "dev": true, - "dependencies": { - "fuelchain": "0.24.2", - "ts-essentials": "^9.3.0", - "typescript": "^4.8.4" - } - }, "node_modules/typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -17004,13 +16789,16 @@ "node": ">=4.2.0" } }, - "node_modules/typical": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", - "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", - "dev": true, + "node_modules/uglify-js": { + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, "engines": { - "node": ">=8" + "node": ">=0.8.0" } }, "node_modules/unbox-primitive": { @@ -17709,27 +17497,10 @@ "node": ">=0.10.0" } }, - "node_modules/wordwrapjs": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.1.tgz", - "integrity": "sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA==", - "dev": true, - "dependencies": { - "reduce-flatten": "^2.0.0", - "typical": "^5.2.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/wordwrapjs/node_modules/typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true, - "engines": { - "node": ">=8" - } + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" }, "node_modules/workbox-background-sync": { "version": "6.5.4", @@ -19818,9 +19589,9 @@ } }, "@fuel-ts/abi-coder": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/abi-coder/-/abi-coder-0.24.2.tgz", - "integrity": "sha512-/upqpe04+b2giTK/SWxyVjVqrPRl2DfimwYEMZLizIoW80I6jssWJ5e9x4vuLEJs5zdOGWka+27b9de20Nm61A==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/abi-coder/-/abi-coder-0.35.0.tgz", + "integrity": "sha512-Qt5HVV+c3PbJIgByM0s8v0va61FNGnXIPwRU12X2Dq0bCBdrz8EJobQvvSXACAVt/ciMqVvxvCTlKMePjtyXyw==", "requires": { "@ethersproject/abi": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", @@ -19829,178 +19600,253 @@ "@ethersproject/properties": "^5.7.0", "@ethersproject/sha2": "^5.7.0", "@ethersproject/strings": "^5.7.0", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/versions": "0.24.2", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/versions": "0.35.0", "type-fest": "^3.1.0" }, "dependencies": { "type-fest": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.3.0.tgz", - "integrity": "sha512-gezeeOIZyQLGW5uuCeEnXF1aXmtt2afKspXz3YqoOcZ3l/YMJq1pujvgT+cz/Nw1O/7q/kSav5fihJHsC/AOUg==" + "version": "3.6.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-3.6.1.tgz", + "integrity": "sha512-htXWckxlT6U4+ilVgweNliPqlsVSSucbxVexRYllyMVJDtf5rTjv6kF/s+qAd4QSL1BZcnJPEJavYBPQiWuZDA==" + } + } + }, + "@fuel-ts/abi-typegen": { + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/abi-typegen/-/abi-typegen-0.35.0.tgz", + "integrity": "sha512-gyajD01XgZub5amkCAQgPCnTxH0HKJEqJc0tgntiOqAuJZMnLhsfBYEnj5gl+A8Pe3VxW9Fg54fqRJrhQcS1Eg==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@fuel-ts/versions": "0.35.0", + "commander": "^9.4.1", + "glob": "^8.0.3", + "handlebars": "^4.7.7", + "lodash.uniq": "^4.5.0", + "lodash.upperfirst": "^4.3.1", + "mkdirp": "^1.0.4", + "rimraf": "^3.0.2" + }, + "dependencies": { + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "requires": { + "balanced-match": "^1.0.0" + } + }, + "commander": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz", + "integrity": "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==" + }, + "glob": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + } + }, + "minimatch": { + "version": "5.1.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", + "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" } } }, "@fuel-ts/address": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/address/-/address-0.24.2.tgz", - "integrity": "sha512-EJy7YWKbnvVAyRICFSoUL2U+zdxobyJjttC6m02utHIZf7ZEL5Q/lreWKNlcaFdAwRWkJRFxe57JWGrEiMTS6A==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/address/-/address-0.35.0.tgz", + "integrity": "sha512-ypPiLlLXctyt267y63zQXIi1fnhaBucRv791uUcgdXULvhOE1UocqbuDF5bhpuIIUW8sgLRvjH+G6r70V4YK0A==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/versions": "0.24.2", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/versions": "0.35.0", "bech32": "^2.0.0" } }, "@fuel-ts/constants": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/constants/-/constants-0.24.2.tgz", - "integrity": "sha512-wp1bpjcJ4SY/avNYIsw4s2yPQhfGuXXuLM3qJE4ja05NBaYr2pYyWY+InuQfBlEPXRRs1pXRVFctTT7eMDJ7ZQ==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/constants/-/constants-0.35.0.tgz", + "integrity": "sha512-vEHw6I0RmABoFWGXXsJ9prp2Mt3NsSxIZ7BS4czAcStV+zZYzSkVRyTxJnwRkoWJT+yN9vxKt20DTDKCNb/tFA==" }, "@fuel-ts/contract": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/contract/-/contract-0.24.2.tgz", - "integrity": "sha512-DlMzU9nbMEC58k2ax9qM9M2FMuZHFS229K+itBF38Qp+DAnA8FwoGjFsIXUmX8Es1mhzLEcbG/YtgmSiAN05FQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/contract/-/contract-0.35.0.tgz", + "integrity": "sha512-bIIIzsbpnKgMkGzwcXLlV65xpfHBsFZkCA5+gbeTLBcQH/yMWOExstujYx3IdxTtFpoH0g3G1XrEB8BoBDlZhQ==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/logger": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/script": "0.24.2", - "@fuel-ts/sparsemerkle": "0.24.2", - "@fuel-ts/transactions": "0.24.2", - "@fuel-ts/versions": "0.24.2", - "@fuel-ts/wallet": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/merkle": "0.35.0", + "@fuel-ts/program": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/sparsemerkle": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" } }, "@fuel-ts/hasher": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/hasher/-/hasher-0.24.2.tgz", - "integrity": "sha512-5xzFVyGmh2HxysNgirfpmyC8jAn6UHBClmmE1w5neNvSzrFCoZUJ1Y2dBF6qzMYbBweEJPD7Ys7qmHFKNWCEKA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/hasher/-/hasher-0.35.0.tgz", + "integrity": "sha512-Q6FpCfGkYY0CECGDq7KBfaUGKH/EsVA9esXwe4Brr4lrjl10Tb6yzpwXWEe1D0TEyHH+r6mfJnLMH4Jplnz6NA==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/transactions": "0.24.2", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", "lodash.clonedeep": "^4.5.0" } }, "@fuel-ts/hdwallet": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/hdwallet/-/hdwallet-0.24.2.tgz", - "integrity": "sha512-6r5wuhV98jXbMOA910Z0fPQ1Tz1Gv4J7Y1JAkcJMPqWjaFRLtT3T5Etu5cQOCF1r56RQg4tX7vNYD3ul5TJSjA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/hdwallet/-/hdwallet-0.35.0.tgz", + "integrity": "sha512-ZciSVGYMqkoHsxeMXOqSAoXRLaSOIfB122NNCNL4pWdERbV69ouIyj+2y8mrfopbcgucim0cvmgrzgnzYQsDgg==", "requires": { "@ethersproject/basex": "^5.7.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/signer": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/signer": "0.35.0" } }, "@fuel-ts/interfaces": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/interfaces/-/interfaces-0.24.2.tgz", - "integrity": "sha512-JANcF9tpS2DcrXJEvVuuCi0PBZoXaEPeUacVUae6pLtAnx+hhnWWKfO8RnFXCPCa2lLn+qsyAvUF+ZHVHq1zcw==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/interfaces/-/interfaces-0.35.0.tgz", + "integrity": "sha512-jwT97X3BTlrGTglQAHBGJWuDErT37P2Z8DIRgNNhrErp8gLcFQY7ebV4/88s6J/up3vRvZ7a5U9RNo3sm1RJvA==" }, "@fuel-ts/keystore": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/keystore/-/keystore-0.24.2.tgz", - "integrity": "sha512-ydcFxUYIaDL9TI+nr33ZgxLXb78k3zw4gbAS/3Xjc/YawkPOc8yVTOv6hh0U1EBM2aLJGS6iwFdYwisfsM49Mg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/keystore/-/keystore-0.35.0.tgz", + "integrity": "sha512-dwLumNwW5jK3wCarcroQH9DEg0UYKrv67F4LQ7EmtqlfqO5NFFAdn1V8uX0aDQNL6Q+9cbvab0eLfLsrDZNXnQ==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/pbkdf2": "^5.7.0" } }, "@fuel-ts/math": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/math/-/math-0.24.2.tgz", - "integrity": "sha512-oGJkI8X9EtiNeABIGj1l4LLG3UmDWq5D4OOjANRYmvNpjpfIWyvIiYcIhujX8IYzWlsQwPg4GXZ64SwzUgyfQw==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/math/-/math-0.35.0.tgz", + "integrity": "sha512-2ljmk9XsBYgvZ5GgT7MNh8np1rSlQ65NjIncF3lCP8d+fF43mBIGbW83hwdXXg9/3ZjVYfRzszKRPnZXZrM1gA==", "requires": { "@types/bn.js": "^5.1.1", "bn.js": "^5.2.1" } }, "@fuel-ts/merkle": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/merkle/-/merkle-0.24.2.tgz", - "integrity": "sha512-DHpc323F6uECRHsAVEwrfZRavuy0XA5aPmJP4oKKN+kBDj1ppBQn/6VQWkfyhx8v5O6E6g5yghxPSi+5idADfg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/merkle/-/merkle-0.35.0.tgz", + "integrity": "sha512-U3QBxVCqSacH2XDW2IdXtGuA3YkjWrfPhsGAmNuW7RvNteh4e8D3JbT5xtHrgt89V2D5zGyRhKy5p5GOkUrFOg==", "requires": { - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0" } }, "@fuel-ts/merkle-shared": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/merkle-shared/-/merkle-shared-0.24.2.tgz", - "integrity": "sha512-XIKxnW6Bn1VYqcpclQx6fVYSXJ7Ou7kwR/b+sKTfiHyIBFHOiLNIPQS+4tjLENY/ZNBXqAxB4qumIJxcKuIBng==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/merkle-shared/-/merkle-shared-0.35.0.tgz", + "integrity": "sha512-kbbfehG6CitzwlBPsLVD2J38nIWkGRgzpzqCYil5ntY41k0mKBDHdPEonK2yN+SxexnG0FrBUdpNGoRRI05XMg==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0" } }, "@fuel-ts/merklesum": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/merklesum/-/merklesum-0.24.2.tgz", - "integrity": "sha512-MoSTKlIG1v4vmLJiDC0kvQQkobEvejf7lc0/vrX+VPNOolo+2amTXpSSbHbLugNHA05fsMTzd0uebfY0tu7axw==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/merklesum/-/merklesum-0.35.0.tgz", + "integrity": "sha512-9GnnySDARFPDrFmIzEgo4YYI94hE/V0NORh0osPDzyeZw4ymPN8oVEOFfzQWL0Yonf38my/PWiTc2P4FM+KARg==", "requires": { - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0" } }, "@fuel-ts/mnemonic": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/mnemonic/-/mnemonic-0.24.2.tgz", - "integrity": "sha512-GW5H5vDM3xsOddLPzO/lfrQW8DjpywC2IMuVBErNm9K0QqZcQCKL1q1tSGyYFcb6Oi/piJJXqCYcnztJhLKuTw==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/mnemonic/-/mnemonic-0.35.0.tgz", + "integrity": "sha512-o5fVKHzwUeWC+Tdu7Vdw5ySI6Z1rYLsdUNgeAsKWTPKPz8Y+RGZ+t5kiWo+dNU10FJNy/dMDXS7vEaamOKv4Xg==", "requires": { "@ethersproject/basex": "^5.7.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/pbkdf2": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/wordlists": "0.24.2" + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/wordlists": "0.35.0" } }, "@fuel-ts/predicate": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/predicate/-/predicate-0.24.2.tgz", - "integrity": "sha512-cXCK7E2S40Spr9Lv6LNmu5h92f6dKFOJ8LJnEPzShuV72dah5yxUm8E8bDA71cq7JoYnAcjVpwsdBaCR0Wgp1Q==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/predicate/-/predicate-0.35.0.tgz", + "integrity": "sha512-6gTxwjWzEjPry8VXE+j3aEK9nUze1uWSP3inEVY+OvwmHJaEAfydgQCvdjGQyzMQyIsbpOAOFK+tdTDZs0zLjA==", + "requires": { + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/merkle": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" + } + }, + "@fuel-ts/program": { + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/program/-/program-0.35.0.tgz", + "integrity": "sha512-nxuNfneAJT7n2i1kCYnqYx1PkQxc1wtB9VhWk7PP6Ne/6E39paN2leoqxtIkio0Vli9qzbjKqx1VJG0fiuyLsQ==", "requires": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/contract": "0.24.2", - "@fuel-ts/interfaces": "0.24.2" + "@ethersproject/logger": "^5.7.0", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" } }, "@fuel-ts/providers": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/providers/-/providers-0.24.2.tgz", - "integrity": "sha512-RsixDCofjuzSiv63V/Qvq0XZCOhSPwaT1Wal3JDO4qMJIxU3cShzpA4DLZ4bc/4f4r2Js0aGskXG9/NKG1munQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/providers/-/providers-0.35.0.tgz", + "integrity": "sha512-CK2h4FMybxJqsb/7LsoV0Nsxwcij4LmKslphnp7kNEREv5ysdOiYVnb9wJaaHvT1YI/vut2wsHqbfPdisu7Y5w==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/networks": "^5.7.1", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/transactions": "0.24.2", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/transactions": "0.35.0", "graphql": "^16.6.0", "graphql-request": "^5.0.0", "graphql-tag": "^2.12.6", @@ -20008,79 +19854,72 @@ } }, "@fuel-ts/script": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/script/-/script-0.24.2.tgz", - "integrity": "sha512-RoMy0C9xKou9OrHt6H9HlGZ/mq1EDpmJKL9/QvcUyMlizlnE86Sx/C8QNEIL2ZYY/Etv01NT+Nzd2YE3BCsFGQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/script/-/script-0.35.0.tgz", + "integrity": "sha512-Jd9nvKGjdlGj3pLDph0mdswDCyuzniQDDNvAQUFqJgH+gNir3nLgfTwKiZHf06gvXbKluuWyswIA4W/Kdwcy0A==", "requires": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/transactions": "0.24.2", - "@fuel-ts/wallet": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/abi-typegen": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/program": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/wallet": "0.35.0" } }, "@fuel-ts/signer": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/signer/-/signer-0.24.2.tgz", - "integrity": "sha512-Xg5XJnFsqBJ3wB7dd2B0CKLhLTkCeSpG7hEPkOTVTBa+5yre62CUgx+bWzQOXomxNFGP7bm6ej2p6aI38Umfug==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/signer/-/signer-0.35.0.tgz", + "integrity": "sha512-ES7wHlvQCDJoTJ6ggwn+IoIDrKwAAX4csiNWlzb6WL4JlpduQEMcrKUcPu7Jy6uhoQ7cQm2gtz2JsrDukwrQvA==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/hasher": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/hasher": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", "elliptic": "^6.5.4" } }, "@fuel-ts/sparsemerkle": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/sparsemerkle/-/sparsemerkle-0.24.2.tgz", - "integrity": "sha512-kzNCm7vyXWbhcMwx3D0WUX6Db/6n79QjsnCCoQ9NpAIb2vWNizIfNEfQVNaSzwQKmKmfRsx/tVnvB2k3ijDjsA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/sparsemerkle/-/sparsemerkle-0.35.0.tgz", + "integrity": "sha512-dMsgfLsid5LSYbMX8bIEC/L1k3aNxXlhiugeJ3iFOWjA3UHEiKGjLr/PX0l5l6ktUOsbE3TN70WRdAMxP1JLUQ==", "requires": { - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2" + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0" } }, "@fuel-ts/testcases": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/testcases/-/testcases-0.24.2.tgz", - "integrity": "sha512-w1KyLg+1HGFTkkwlN58Jdt96/+XR5d1op522186xNDl3j3hRLSXNVq3tK46oPihrIkad0YMi8ZQP6RddmHjZtg==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/testcases/-/testcases-0.35.0.tgz", + "integrity": "sha512-KH7wG5Fy1ZUt6K+WEpumUGrsnZ19e5HSvXaytKnETJQ7sGl2YKp6DPPWVN+0vVbFVLyKxXlBOW4/B6yIFZ/ldw==" }, "@fuel-ts/transactions": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/transactions/-/transactions-0.24.2.tgz", - "integrity": "sha512-mpxK8GTq+wrCNcB532VAevSaisxuwgqKxPo6tjEz6QG7GMOQe3hQULP81Hg6y3ygFsNpe1s4alD217GnusLNxg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/transactions/-/transactions-0.35.0.tgz", + "integrity": "sha512-DRSu1dAdi7oPoNtz19AWap5U0t70AfYdjsTUwvwygs66ud8RCi5ezpWXxt0jUVk1UpPw5byIc7s06B/U50iD1Q==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/sha2": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/math": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/math": "0.35.0" } }, "@fuel-ts/versions": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/versions/-/versions-0.24.2.tgz", - "integrity": "sha512-a3wYc1SiGrJj1ldft9d7KhEJHk1KVn3bdXjjHB5TW9JfLn/iTkmqYHp1AuPCBltTSEpIxukPLE4r7UEMsKVKRg==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/versions/-/versions-0.35.0.tgz", + "integrity": "sha512-ygjnFAOldjZg4iRSlNowxVuoUH4d1JEU6NcsTc095OOP8D4YJB1NQP1i0KKDFDGs2qRYjOApA5S2p0+KRDduYw==", "requires": { - "@types/cli-table": "^0.3.1", - "@types/yargs": "^17.0.13", "chalk": "4", "cli-table": "^0.3.11", "semver": "^7.3.8" }, "dependencies": { - "@types/yargs": { - "version": "17.0.17", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.17.tgz", - "integrity": "sha512-72bWxFKTK6uwWJAVT+3rF6Jo6RTojiJ27FQo8Rf60AL+VZbzoVPnMFhKsUnbjR8A3BTCYQ7Mv3hnl8T0A+CX9g==", - "requires": { - "@types/yargs-parser": "*" - } - }, "ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -20127,46 +19966,46 @@ } }, "@fuel-ts/wallet": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/wallet/-/wallet-0.24.2.tgz", - "integrity": "sha512-BFX9NXmXywo5/iMJa1nWCvbJ2838QL1kJyLYBIoxeszuLljNclzs6lK6GrF5unSZVio9DNENHZK96GOTk9AfoA==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/wallet/-/wallet-0.35.0.tgz", + "integrity": "sha512-rdFWz95u59aM3Fy+JCN/u/WG8jOT/MG/pETCJEP72GHAmFlpD6zE5lJJvHXUzuSGE2AIkGVkRalJ80TIUhfprg==", "requires": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/hasher": "0.24.2", - "@fuel-ts/hdwallet": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/signer": "0.24.2", - "@fuel-ts/transactions": "0.24.2" + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/hasher": "0.35.0", + "@fuel-ts/hdwallet": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/signer": "0.35.0", + "@fuel-ts/transactions": "0.35.0" } }, "@fuel-ts/wallet-manager": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/wallet-manager/-/wallet-manager-0.24.2.tgz", - "integrity": "sha512-jnYw4XpbmC03v5GBuKvQfBNGqBEDLOGeGNS3id7nSfzQ9e1gCfsYeIRzWJO2HT1voCIAytsouOLZ59W4JewvwA==", - "requires": { - "@fuel-ts/address": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/wallet": "0.24.2", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/wallet-manager/-/wallet-manager-0.35.0.tgz", + "integrity": "sha512-z7cW98Ul6UncMhoggLo/Rr9tJEhmLotk5Y8jgJcfCB4zus5BIx0tMJujBb/2q2A7O0ZKlbcF2Emj6R8/1HJAHg==", + "requires": { + "@fuel-ts/address": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/wallet": "0.35.0", "events": "^3.3.0" } }, "@fuel-ts/wordlists": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/@fuel-ts/wordlists/-/wordlists-0.24.2.tgz", - "integrity": "sha512-kRoqKcCeLbXwQIBNFqqzCjeMQxV0FtLIaznI4urAbAqm/a9YaevdekEjPwb6BGruZlQ9mb3aktrR1Rom1JWo9w==" + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/@fuel-ts/wordlists/-/wordlists-0.35.0.tgz", + "integrity": "sha512-MuyozQd/hFAb6OEA6zvYtU8kHKTeyBMCscvlz6Sma7b/EqFzXX2puwSuKu9U7qijdKv7cZHDECIAQPPMAWs8fg==" }, "@graphql-typed-document-node/core": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.1.tgz", - "integrity": "sha512-NQ17ii0rK1b34VZonlmT2QMJFI70m0TRwbknO/ihlbatXyaktDhN/98vBiUU6kNBPljqGqyIrl2T4nY2RpFANg==", + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@graphql-typed-document-node/core/-/core-3.1.2.tgz", + "integrity": "sha512-9anpBMM9mEgZN4wr2v8wHJI2/u5TnnggewRN6OlvXTTnuVyoY19X6rOv9XTqKRw6dcGKwZsBi8n0kDE2I5i4VA==", "requires": {} }, "@humanwhocodes/config-array": { @@ -21224,11 +21063,6 @@ "@types/node": "*" } }, - "@types/cli-table": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@types/cli-table/-/cli-table-0.3.1.tgz", - "integrity": "sha512-m3+6WWfSSl6zqoXy8uQQifbgqV7Gt6fsyWnHLgUWVtJQk75+OfUB+edSZ52YDj7leSiZtX7w1/E4w2x/Hb0orA==" - }, "@types/connect": { "version": "3.4.35", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.35.tgz", @@ -21942,12 +21776,6 @@ "@babel/runtime-corejs3": "^7.10.2" } }, - "array-back": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-3.1.0.tgz", - "integrity": "sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q==", - "dev": true - }, "array-flatten": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", @@ -22654,44 +22482,6 @@ "delayed-stream": "~1.0.0" } }, - "command-line-args": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-5.2.1.tgz", - "integrity": "sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg==", - "dev": true, - "requires": { - "array-back": "^3.1.0", - "find-replace": "^3.0.0", - "lodash.camelcase": "^4.3.0", - "typical": "^4.0.0" - } - }, - "command-line-usage": { - "version": "6.1.3", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.3.tgz", - "integrity": "sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw==", - "dev": true, - "requires": { - "array-back": "^4.0.2", - "chalk": "^2.4.2", - "table-layout": "^1.0.2", - "typical": "^5.2.0" - }, - "dependencies": { - "array-back": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", - "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", - "dev": true - }, - "typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true - } - } - }, "commander": { "version": "8.3.0", "resolved": "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz", @@ -23174,12 +22964,6 @@ } } }, - "deep-extend": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", - "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", - "dev": true - }, "deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -24387,15 +24171,6 @@ "pkg-dir": "^4.1.0" } }, - "find-replace": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-3.0.0.tgz", - "integrity": "sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ==", - "dev": true, - "requires": { - "array-back": "^3.0.1" - } - }, "find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -24586,93 +24361,38 @@ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "optional": true }, - "fuelchain": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/fuelchain/-/fuelchain-0.24.2.tgz", - "integrity": "sha512-WXTpkLZ9yItjfN1P9bG1obddXQrrX9zmkUS99ODsrJuwgfOYebFHOqdIydeizeOhzdoIqLW1d7jr3c1QsbcuPw==", - "dev": true, - "requires": { - "@types/prettier": "^2.7.1", - "debug": "^4.3.4", - "fs-extra": "^10.1.0", - "glob": "8.0.3", - "js-sha3": "^0.8.0", - "lodash": "^4.17.21", - "mkdirp": "^1.0.4", - "prettier": "^2.7.1", - "ts-command-line-args": "^2.3.1", - "ts-essentials": "^9.3.0" - }, - "dependencies": { - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - } - }, - "minimatch": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.1.tgz", - "integrity": "sha512-362NP+zlprccbEt/SkxKfRMHnNY85V74mVnpUpNyr3F35covl09Kec7/sEFLt3RA4oXmewtoaanoIf67SE5Y5g==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - }, - "mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true - } - } - }, "fuels": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/fuels/-/fuels-0.24.2.tgz", - "integrity": "sha512-A+5DGJeWutVTOyDWqHPLRmOOCQ4t5pWzh0ad/9AwAOWP0QIuPxlBF5CFJF2XZOg5xMb7O6tnpTlrVBisn31+AQ==", + "version": "0.35.0", + "resolved": "https://registry.npmjs.org/fuels/-/fuels-0.35.0.tgz", + "integrity": "sha512-a0YTD+AJ7WeQHaj1cRW3M6YnumC0tLfd8Ay/KJ0FLAmr77BqVfh3cKDy6459Yjpeitc60K8+nAk0G36rIn6Ezw==", "requires": { "@ethersproject/bytes": "^5.7.0", - "@fuel-ts/abi-coder": "0.24.2", - "@fuel-ts/address": "0.24.2", - "@fuel-ts/constants": "0.24.2", - "@fuel-ts/contract": "0.24.2", - "@fuel-ts/hasher": "0.24.2", - "@fuel-ts/hdwallet": "0.24.2", - "@fuel-ts/interfaces": "0.24.2", - "@fuel-ts/keystore": "0.24.2", - "@fuel-ts/math": "0.24.2", - "@fuel-ts/merkle": "0.24.2", - "@fuel-ts/merkle-shared": "0.24.2", - "@fuel-ts/merklesum": "0.24.2", - "@fuel-ts/mnemonic": "0.24.2", - "@fuel-ts/predicate": "0.24.2", - "@fuel-ts/providers": "0.24.2", - "@fuel-ts/script": "0.24.2", - "@fuel-ts/signer": "0.24.2", - "@fuel-ts/sparsemerkle": "0.24.2", - "@fuel-ts/testcases": "0.24.2", - "@fuel-ts/transactions": "0.24.2", - "@fuel-ts/versions": "0.24.2", - "@fuel-ts/wallet": "0.24.2", - "@fuel-ts/wallet-manager": "0.24.2", - "@fuel-ts/wordlists": "0.24.2", + "@fuel-ts/abi-coder": "0.35.0", + "@fuel-ts/abi-typegen": "0.35.0", + "@fuel-ts/address": "0.35.0", + "@fuel-ts/constants": "0.35.0", + "@fuel-ts/contract": "0.35.0", + "@fuel-ts/hasher": "0.35.0", + "@fuel-ts/hdwallet": "0.35.0", + "@fuel-ts/interfaces": "0.35.0", + "@fuel-ts/keystore": "0.35.0", + "@fuel-ts/math": "0.35.0", + "@fuel-ts/merkle": "0.35.0", + "@fuel-ts/merkle-shared": "0.35.0", + "@fuel-ts/merklesum": "0.35.0", + "@fuel-ts/mnemonic": "0.35.0", + "@fuel-ts/predicate": "0.35.0", + "@fuel-ts/program": "0.35.0", + "@fuel-ts/providers": "0.35.0", + "@fuel-ts/script": "0.35.0", + "@fuel-ts/signer": "0.35.0", + "@fuel-ts/sparsemerkle": "0.35.0", + "@fuel-ts/testcases": "0.35.0", + "@fuel-ts/transactions": "0.35.0", + "@fuel-ts/versions": "0.35.0", + "@fuel-ts/wallet": "0.35.0", + "@fuel-ts/wallet-manager": "0.35.0", + "@fuel-ts/wordlists": "0.35.0", "commander": "^9.4.1" }, "dependencies": { @@ -24844,9 +24564,9 @@ "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==" }, "graphql-request": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-5.0.0.tgz", - "integrity": "sha512-SpVEnIo2J5k2+Zf76cUkdvIRaq5FMZvGQYnA4lUWYbc99m+fHh4CZYRRO/Ff4tCLQ613fzCm3SiDT64ubW5Gyw==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/graphql-request/-/graphql-request-5.2.0.tgz", + "integrity": "sha512-pLhKIvnMyBERL0dtFI3medKqWOz/RhHdcgbZ+hMMIb32mEPa5MJSzS4AuXxfI4sRAu6JVVk5tvXuGfCWl9JYWQ==", "requires": { "@graphql-typed-document-node/core": "^3.1.1", "cross-fetch": "^3.1.5", @@ -24875,6 +24595,25 @@ "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==" }, + "handlebars": { + "version": "4.7.7", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", + "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", + "requires": { + "minimist": "^1.2.5", + "neo-async": "^2.6.0", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4", + "wordwrap": "^1.0.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + } + } + }, "harmony-reflect": { "version": "1.6.2", "resolved": "https://registry.npmjs.org/harmony-reflect/-/harmony-reflect-1.6.2.tgz", @@ -27156,12 +26895,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", - "dev": true - }, "lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -27192,6 +26925,11 @@ "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==" }, + "lodash.upperfirst": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", + "integrity": "sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==" + }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -28559,12 +28297,6 @@ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==" }, - "prettier": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.1.tgz", - "integrity": "sha512-lqGoSJBQNJidqCHE80vqZJHWHRFoNYsSpP9AjFhlhi9ODCJA541svILes/+/1GM3VaL/abZi7cpFzOpdR9UPKg==", - "dev": true - }, "pretty-bytes": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", @@ -28965,12 +28697,6 @@ "strip-indent": "^3.0.0" } }, - "reduce-flatten": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", - "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", - "dev": true - }, "regenerate": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", @@ -29600,12 +29326,6 @@ "safe-buffer": "~5.2.0" } }, - "string-format": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string-format/-/string-format-2.0.0.tgz", - "integrity": "sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA==", - "dev": true - }, "string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", @@ -29851,32 +29571,6 @@ "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" }, - "table-layout": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.2.tgz", - "integrity": "sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A==", - "dev": true, - "requires": { - "array-back": "^4.0.1", - "deep-extend": "~0.6.0", - "typical": "^5.2.0", - "wordwrapjs": "^4.0.0" - }, - "dependencies": { - "array-back": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.2.tgz", - "integrity": "sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg==", - "dev": true - }, - "typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true - } - } - }, "tailwindcss": { "version": "3.2.4", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.2.4.tgz", @@ -30060,76 +29754,6 @@ "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==" }, - "ts-command-line-args": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/ts-command-line-args/-/ts-command-line-args-2.3.1.tgz", - "integrity": "sha512-FR3y7pLl/fuUNSmnPhfLArGqRrpojQgIEEOVzYx9DhTmfIN7C9RWSfpkJEF4J+Gk7aVx5pak8I7vWZsaN4N84g==", - "dev": true, - "requires": { - "chalk": "^4.1.0", - "command-line-args": "^5.1.1", - "command-line-usage": "^6.1.0", - "string-format": "^2.0.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, - "ts-essentials": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/ts-essentials/-/ts-essentials-9.3.0.tgz", - "integrity": "sha512-XeiCboEyBG8UqXZtXl59bWEi4ZgOqRsogFDI6WDGIF1LmzbYiAkIwjkXN6zZWWl4re/lsOqMlYfe8KA0XiiEPw==", - "dev": true, - "requires": {} - }, "tsconfig-paths": { "version": "3.14.1", "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", @@ -30203,17 +29827,6 @@ "mime-types": "~2.1.24" } }, - "typechain-target-fuels": { - "version": "0.24.2", - "resolved": "https://registry.npmjs.org/typechain-target-fuels/-/typechain-target-fuels-0.24.2.tgz", - "integrity": "sha512-QnxcvFil+zcTjr/vCnlTiu/hiKDFBlrJ+NU0tssuhX9IRxqgEGeiHwSJIlkx9HpkfY9+H6zY1KLLL0Y50RX9gA==", - "dev": true, - "requires": { - "fuelchain": "0.24.2", - "ts-essentials": "^9.3.0", - "typescript": "^4.8.4" - } - }, "typedarray-to-buffer": { "version": "3.1.5", "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", @@ -30227,11 +29840,11 @@ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.4.tgz", "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==" }, - "typical": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-4.0.0.tgz", - "integrity": "sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw==", - "dev": true + "uglify-js": { + "version": "3.17.4", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", + "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", + "optional": true }, "unbox-primitive": { "version": "1.0.2", @@ -30731,23 +30344,10 @@ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" }, - "wordwrapjs": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.1.tgz", - "integrity": "sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA==", - "dev": true, - "requires": { - "reduce-flatten": "^2.0.0", - "typical": "^5.2.0" - }, - "dependencies": { - "typical": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", - "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==", - "dev": true - } - } + "wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==" }, "workbox-background-sync": { "version": "6.5.4", diff --git a/beta2-quickstart-master/frontend/package.json b/quickstart-example/frontend/package.json similarity index 88% rename from beta2-quickstart-master/frontend/package.json rename to quickstart-example/frontend/package.json index 135337d..01af471 100644 --- a/beta2-quickstart-master/frontend/package.json +++ b/quickstart-example/frontend/package.json @@ -10,7 +10,7 @@ "@types/node": "^16.18.8", "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", - "fuels": "^0.24.2", + "fuels": "^0.35.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", @@ -40,9 +40,5 @@ "last 1 firefox version", "last 1 safari version" ] - }, - "devDependencies": { - "fuelchain": "^0.24.2", - "typechain-target-fuels": "^0.24.2" } } diff --git a/beta2-quickstart-master/frontend/public/favicon.ico b/quickstart-example/frontend/public/favicon.ico similarity index 100% rename from beta2-quickstart-master/frontend/public/favicon.ico rename to quickstart-example/frontend/public/favicon.ico diff --git a/beta2-quickstart-master/frontend/public/index.html b/quickstart-example/frontend/public/index.html similarity index 100% rename from beta2-quickstart-master/frontend/public/index.html rename to quickstart-example/frontend/public/index.html diff --git a/beta2-quickstart-master/frontend/public/logo192.png b/quickstart-example/frontend/public/logo192.png similarity index 100% rename from beta2-quickstart-master/frontend/public/logo192.png rename to quickstart-example/frontend/public/logo192.png diff --git a/beta2-quickstart-master/frontend/public/logo512.png b/quickstart-example/frontend/public/logo512.png similarity index 100% rename from beta2-quickstart-master/frontend/public/logo512.png rename to quickstart-example/frontend/public/logo512.png diff --git a/beta2-quickstart-master/frontend/public/manifest.json b/quickstart-example/frontend/public/manifest.json similarity index 100% rename from beta2-quickstart-master/frontend/public/manifest.json rename to quickstart-example/frontend/public/manifest.json diff --git a/beta2-quickstart-master/frontend/public/robots.txt b/quickstart-example/frontend/public/robots.txt similarity index 100% rename from beta2-quickstart-master/frontend/public/robots.txt rename to quickstart-example/frontend/public/robots.txt diff --git a/beta2-quickstart-master/frontend/src/App.css b/quickstart-example/frontend/src/App.css similarity index 100% rename from beta2-quickstart-master/frontend/src/App.css rename to quickstart-example/frontend/src/App.css diff --git a/beta2-quickstart-master/frontend/src/App.test.tsx b/quickstart-example/frontend/src/App.test.tsx similarity index 100% rename from beta2-quickstart-master/frontend/src/App.test.tsx rename to quickstart-example/frontend/src/App.test.tsx diff --git a/beta2-quickstart-master/frontend/src/App.tsx b/quickstart-example/frontend/src/App.tsx similarity index 89% rename from beta2-quickstart-master/frontend/src/App.tsx rename to quickstart-example/frontend/src/App.tsx index 46b33ca..560df6e 100644 --- a/beta2-quickstart-master/frontend/src/App.tsx +++ b/quickstart-example/frontend/src/App.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from "react"; +import { useEffect, useState } from "react"; import { Wallet } from "fuels"; import "./App.css"; // Import the contract factory -- you can find the name in index.ts. @@ -7,17 +7,17 @@ import { CounterContractAbi__factory } from "./contracts"; // The address of the contract deployed the Fuel testnet const CONTRACT_ID = - "0x3edb96c23766b8504caaff042994efa18460e7ba27f60191394a6bcf5be8d7d8"; + "0x2c38161e42ce14abdaa7950c04b13aa340eb67cf196c94b971d5f0175417f4f4"; //the private key from createWallet.js const WALLET_SECRET = - "0xc4a69e0cc4ce1e0b45d25899b3cedced332d193c8a5c706187ffd50aa7591ce6"; + "0x07960a5124cd6e52b595aed727d640aed2e32cc587a34c09f1b48615378df752"; // Create a Wallet from given secretKey in this case // The one we configured at the chainConfig.json const wallet = Wallet.fromPrivateKey( WALLET_SECRET, - "https://node-beta-2.fuel.network/graphql" + "https://beta-3.fuel.network/graphql" ); // Connects out Contract instance to the deployed contract diff --git a/beta2-quickstart-master/frontend/src/contracts/CounterContractAbi.d.ts b/quickstart-example/frontend/src/contracts/CounterContractAbi.d.ts similarity index 59% rename from beta2-quickstart-master/frontend/src/contracts/CounterContractAbi.d.ts rename to quickstart-example/frontend/src/contracts/CounterContractAbi.d.ts index 5ab1b42..bb8e8b1 100644 --- a/beta2-quickstart-master/frontend/src/contracts/CounterContractAbi.d.ts +++ b/quickstart-example/frontend/src/contracts/CounterContractAbi.d.ts @@ -1,17 +1,24 @@ /* Autogenerated file. Do not edit manually. */ + /* tslint:disable */ /* eslint-disable */ +/* + Fuels version: 0.35.0 + Forc version: 0.35.3 + Fuel-Core version: 0.17.3 +*/ + import type { - Interface, - FunctionFragment, - DecodedValue, - Contract, - BytesLike, BigNumberish, - InvokeFunction, BN, -} from "fuels"; + BytesLike, + Contract, + DecodedValue, + FunctionFragment, + Interface, + InvokeFunction, +} from 'fuels'; interface CounterContractAbiInterface extends Interface { functions: { @@ -19,24 +26,17 @@ interface CounterContractAbiInterface extends Interface { increment: FunctionFragment; }; - encodeFunctionData(functionFragment: "count", values?: undefined): Uint8Array; - encodeFunctionData( - functionFragment: "increment", - values?: undefined - ): Uint8Array; + encodeFunctionData(functionFragment: 'count', values: []): Uint8Array; + encodeFunctionData(functionFragment: 'increment', values: []): Uint8Array; - decodeFunctionData(functionFragment: "count", data: BytesLike): DecodedValue; - decodeFunctionData( - functionFragment: "increment", - data: BytesLike - ): DecodedValue; + decodeFunctionData(functionFragment: 'count', data: BytesLike): DecodedValue; + decodeFunctionData(functionFragment: 'increment', data: BytesLike): DecodedValue; } export class CounterContractAbi extends Contract { interface: CounterContractAbiInterface; functions: { count: InvokeFunction<[], BN>; - increment: InvokeFunction<[], void>; }; } diff --git a/beta2-quickstart-master/frontend/src/contracts/common.d.ts b/quickstart-example/frontend/src/contracts/common.d.ts similarity index 100% rename from beta2-quickstart-master/frontend/src/contracts/common.d.ts rename to quickstart-example/frontend/src/contracts/common.d.ts diff --git a/quickstart-example/frontend/src/contracts/factories/CounterContractAbi__factory.ts b/quickstart-example/frontend/src/contracts/factories/CounterContractAbi__factory.ts new file mode 100644 index 0000000..a52a610 --- /dev/null +++ b/quickstart-example/frontend/src/contracts/factories/CounterContractAbi__factory.ts @@ -0,0 +1,84 @@ +/* Autogenerated file. Do not edit manually. */ + +/* tslint:disable */ +/* eslint-disable */ + +/* + Fuels version: 0.35.0 + Forc version: 0.35.3 + Fuel-Core version: 0.17.3 +*/ + +import { Interface, Contract } from "fuels"; +import type { Provider, Account, AbstractAddress } from "fuels"; +import type { CounterContractAbi, CounterContractAbiInterface } from "../CounterContractAbi"; + +const _abi = { + "types": [ + { + "typeId": 0, + "type": "()", + "components": [], + "typeParameters": null + }, + { + "typeId": 1, + "type": "u64", + "components": null, + "typeParameters": null + } + ], + "functions": [ + { + "inputs": [], + "name": "count", + "output": { + "name": "", + "type": 1, + "typeArguments": null + }, + "attributes": [ + { + "name": "storage", + "arguments": [ + "read" + ] + } + ] + }, + { + "inputs": [], + "name": "increment", + "output": { + "name": "", + "type": 0, + "typeArguments": null + }, + "attributes": [ + { + "name": "storage", + "arguments": [ + "read", + "write" + ] + } + ] + } + ], + "loggedTypes": [], + "messagesTypes": [], + "configurables": [] +} + +export class CounterContractAbi__factory { + static readonly abi = _abi + static createInterface(): CounterContractAbiInterface { + return new Interface(_abi) as unknown as CounterContractAbiInterface + } + static connect( + id: string | AbstractAddress, + accountOrProvider: Account | Provider + ): CounterContractAbi { + return new Contract(id, _abi, accountOrProvider) as unknown as CounterContractAbi + } +} diff --git a/quickstart-example/frontend/src/contracts/index.ts b/quickstart-example/frontend/src/contracts/index.ts new file mode 100644 index 0000000..ce987c4 --- /dev/null +++ b/quickstart-example/frontend/src/contracts/index.ts @@ -0,0 +1,14 @@ +/* Autogenerated file. Do not edit manually. */ + +/* tslint:disable */ +/* eslint-disable */ + +/* + Fuels version: 0.35.0 + Forc version: 0.35.3 + Fuel-Core version: 0.17.3 +*/ + +export type { CounterContractAbi } from './CounterContractAbi'; + +export { CounterContractAbi__factory } from './factories/CounterContractAbi__factory'; diff --git a/beta2-quickstart-master/frontend/src/index.css b/quickstart-example/frontend/src/index.css similarity index 100% rename from beta2-quickstart-master/frontend/src/index.css rename to quickstart-example/frontend/src/index.css diff --git a/beta2-quickstart-master/frontend/src/index.tsx b/quickstart-example/frontend/src/index.tsx similarity index 100% rename from beta2-quickstart-master/frontend/src/index.tsx rename to quickstart-example/frontend/src/index.tsx diff --git a/beta2-quickstart-master/frontend/src/logo.svg b/quickstart-example/frontend/src/logo.svg similarity index 100% rename from beta2-quickstart-master/frontend/src/logo.svg rename to quickstart-example/frontend/src/logo.svg diff --git a/beta2-quickstart-master/frontend/src/react-app-env.d.ts b/quickstart-example/frontend/src/react-app-env.d.ts similarity index 100% rename from beta2-quickstart-master/frontend/src/react-app-env.d.ts rename to quickstart-example/frontend/src/react-app-env.d.ts diff --git a/beta2-quickstart-master/frontend/src/reportWebVitals.ts b/quickstart-example/frontend/src/reportWebVitals.ts similarity index 100% rename from beta2-quickstart-master/frontend/src/reportWebVitals.ts rename to quickstart-example/frontend/src/reportWebVitals.ts diff --git a/beta2-quickstart-master/frontend/src/setupTests.ts b/quickstart-example/frontend/src/setupTests.ts similarity index 100% rename from beta2-quickstart-master/frontend/src/setupTests.ts rename to quickstart-example/frontend/src/setupTests.ts diff --git a/beta2-quickstart-master/frontend/tsconfig.json b/quickstart-example/frontend/tsconfig.json similarity index 100% rename from beta2-quickstart-master/frontend/tsconfig.json rename to quickstart-example/frontend/tsconfig.json diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 71d8e40..01cc920 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -37,8 +37,9 @@ - [For Developers](./for-developers/for-developer.md) - [Example Smart Contracts](./for-developers/example-contracts.md) - [Networks](./networks/networks.md) - - [Beta-1 Testnet](./networks/beta-1.md) + - [Beta-3 Testnet](./networks/beta-3.md) - [Beta-2 Testnet](./networks/beta-2.md) + - [Beta-1 Testnet](./networks/beta-1.md) - [Testnet Node](./for-developers/testnet-node.md) - [Running a Local Node](./for-developers/running-a-local-node.md) - [Sway Language](./for-developers/sway.md) diff --git a/src/networks/beta-2.md b/src/networks/beta-2.md index 5b58006..5a65118 100644 --- a/src/networks/beta-2.md +++ b/src/networks/beta-2.md @@ -1,6 +1,6 @@ # The `beta-2` testnet -The `beta-2` network is launched with a bridge to Ethereum's Goerli test network. With this network, developers are able to build and test cross-chain dapps, laying the foundations for projects building on Fuel to tap into Ethereum's massive liquidity and existing user base. Read more about `beta-2` [here.](./beta-2.md) +The `beta-2` network is launched with a bridge to Ethereum's Goerli test network. With this network, developers are able to build and test cross-chain dapps, laying the foundations for projects building on Fuel to tap into Ethereum's massive liquidity and existing user base. Ethereum contracts (Goerli): diff --git a/src/networks/beta-3.md b/src/networks/beta-3.md new file mode 100644 index 0000000..ef236dc --- /dev/null +++ b/src/networks/beta-3.md @@ -0,0 +1,65 @@ +# The `beta-3` testnet + +The `beta-3` network is the latest Fuel testnet. It expands on the features of `beta-2`, introducing P2P networking and the ability to run synchronizing full nodes. + +Ethereum contracts (Goerli): + +"FuelMessagePortal": `0xE6B0E27F85abaCfC5149642c30F4BE9a878Aa4e9` + +"FuelChainConsensus": `0x4b4b74b2E5CD9775793779619C3547b7863EbEca` + +"FuelERC20Gateway": `0x8083634a1A5092D3234657092e5CF74655191B8D` + +The ERC-20 Gateway contract on Georli Ethereum is at `0x8083634a1A5092D3234657092e5CF74655191B8D`. + +Goerli block explorer: [https://goerli.etherscan.io/](https://goerli.etherscan.io/) + +🚰 Faucet - Use the faucet to get test ETH to deploy contracts with or to interact with contracts. Available here: [https://faucet-beta-3.fuel.network/](https://faucet-beta-3.fuel.network/). + +📃 GraphQL endpoint - The Fuel Core node uses GraphQL instead of JSON RPC. A playground for the public GraphQL endpoint for beta-3 is available at [https://beta-3.fuel.network/playground](https://beta-3.fuel.network/playground). + +🔍 Block explorer - A block explorer (still heavily in development) is available at [https://fuellabs.github.io/block-explorer-v2/](https://fuellabs.github.io/block-explorer-v2/). Be sure to select `beta-3` from the dropdown on the top right. + +Join the [Fuel Labs Discord](https://discord.com/invite/fuelnetwork) and head to the 🧪︱testnet channel to get support from our team. + +## SDK Versioning + +Version 0.35.0 is the recommended version of the TS SDK on `beta-3`. + +Version 0.38.0 is the recommended version for the Rusk SDK on `beta-3`. + +## Toolchain Configuration + +To configure the optimal toolchain for `beta-3`, ensure you have [fuelup](https://fuellabs.github.io/fuelup/latest) installed, then run the following command: + +```shell +fuelup self update +``` + +Then install the beta-3 toolchain with + +```shell +fuelup toolchain install beta-3 +``` + +This installs the following components and versions: + +- forc 0.35.3 +- forc-explore 0.28.1 +- forc-index 0.3.0 +- forc-wallet 0.2.0 +- fuel-core 0.17.3 +- fuel-indexer 0.3.0 + +To set the `beta-3` toolchain as your default, run + +```console +$ fuelup default beta-3 +default toolchain set to 'beta-3-aarch64-apple-darwin' +``` + +## Predicate + +Messages intended for contracts use a pre-defined predicate as the message recipient. This predicate allows anyone to relay the message to the target contract and only the target contract. Once the contract receives the message it can see who originated it along with any special message payload and processes it accordingly. Since anyone can relay the message using this predicate it opens up possibilities for automated message processing as a service. + +The predicate root is `0x4df15e4a7c602404e353b7766db23a0d067960c201eb2d7a695a166548c4d80a`. diff --git a/src/networks/networks.md b/src/networks/networks.md index dbdbfbf..3406d0e 100644 --- a/src/networks/networks.md +++ b/src/networks/networks.md @@ -2,10 +2,14 @@ On this page, you'll find information on the different testnet networks. -## `beta-1` testnet +## `beta-3` testnet -The beta-1 network is the first public Fuel testnet, shared by all developers and users that interact with it. Developers may deploy contracts to it at will—no permission or whitelisting required—and users may interact with deployed contracts as well. Read more about `beta-1` [here.](./beta-1.md) +The `beta-3` network is the latest Fuel testnet. It expands on the features of `beta-2`, introducing P2P networking and the ability to run synchronizing full nodes. Read more about `beta-3` [here.](./beta-3.md) ## `beta-2` testnet -The `beta-2` network is launched with a bridge to Ethereum's Goerli test network. With this network, developers are able to build and test cross-chain dapps, laying the foundations for projects building on Fuel to tap into Ethereum's massive liquidity and existing user base. Read more about `beta-2` [here.](./beta-2.md) +The `beta-2` network is the second Fuel testnet, launched with a bridge to Ethereum's Goerli test network. With this network, developers are able to build and test cross-chain dapps, laying the foundations for projects building on Fuel to tap into Ethereum's massive liquidity and existing user base. Read more about `beta-2` [here.](./beta-2.md) + +## `beta-1` testnet + +The beta-1 network is the first public Fuel testnet, shared by all developers and users that interact with it. Developers may deploy contracts to it at will—no permission or whitelisting required—and users may interact with deployed contracts as well. Read more about `beta-1` [here.](./beta-1.md) diff --git a/src/quickstart/frontend.md b/src/quickstart/frontend.md index de58736..3da4109 100644 --- a/src/quickstart/frontend.md +++ b/src/quickstart/frontend.md @@ -37,7 +37,7 @@ Move into the `frontend` folder, then run: ```console $ cd frontend -$ npm install fuels@0.29.1 --save +$ npm install fuels@0.35.0 --save added 114 packages, and audited 115 packages in 29s ``` @@ -72,8 +72,8 @@ In the root of the frontend project create a file named `createWallet.js` and ad File: `./frontend/createWallet.js` -```javascript -{{#include ../../beta2-quickstart-master/frontend/createWallet.js}} +```js +{{#include ../../quickstart-example/frontend/createWallet.js}} ``` In a terminal, run the following command: @@ -88,7 +88,7 @@ private key 0x719fb4da652f2bd4ad25ce04f4c2e491926605b40e5475a80551be68d57e0fcb Save the private key, you will need this later to set it as a string value for a variable `WALLET_SECRET` in your `App.tsx` file. More on that below. -First, take the address of your wallet and use it to get some coins from [the testnet faucet](https://faucet-beta-2.fuel.network/). +First, take the address of your wallet and use it to get some coins from [the testnet faucet](https://faucet-beta-3.fuel.network/). Now you're ready to build and ship ⛽ @@ -103,7 +103,7 @@ Change the file `fuel-project/frontend/src/App.tsx` to: File: `./frontend/src/App.tsx` ```ts -{{#include ../../beta2-quickstart-master/frontend/src/App.tsx}} +{{#include ../../quickstart-example/frontend/src/App.tsx}} ``` ### Run your project @@ -129,16 +129,16 @@ To create a production build, use npm run build. ### You just built a fullstack dapp on Fuel! ⛽ -[Here is the repo for this project](https://github.com/FuelLabs/beta2-quickstart). If you run into any problems, a good first step is to compare your code to this repo and resolve any differences. +[Here is the repo for this project](https://github.com/FuelLabs/quickstart). If you run into any problems, a good first step is to compare your code to this repo and resolve any differences. -Tweet us [@fuellabs\_](https://twitter.com/fuellabs_) letting us know you just built a dapp on Fuel, you might get invited to a private group of builders, be invited to the next Fuel dinner, get alpha on the project, or something 👀. +Tweet us [@fuel_network](https://twitter.com/fuel_network) letting us know you just built a dapp on Fuel, you might get invited to a private group of builders, be invited to the next Fuel dinner, get alpha on the project, or something 👀. ### Updating The Contract If you make changes to your contract, here are the steps you should take to get your frontend and contract back in sync: - In your contract directory, run `forc build` -- In your contract directory, redeploy the contract by running this command and following the same steps as above to sign the transaction with your wallet: `forc deploy --url node-beta-2.fuel.network/graphql --gas-price 1` +- In your contract directory, redeploy the contract by running this command and following the same steps as above to sign the transaction with your wallet: `forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt` - In your frontend directory, re-run this command: `npx fuels typegen -i ../counter-contract/out/debug/*-abi.json -o ./src/contracts` - In your `fuel-project/frontend` directory, update the contract ID in your `App.tsx` file diff --git a/src/quickstart/smart-contract.md b/src/quickstart/smart-contract.md index a15a8de..c9c1978 100644 --- a/src/quickstart/smart-contract.md +++ b/src/quickstart/smart-contract.md @@ -10,19 +10,19 @@ Make sure you have the latest version of `fuelup` by running the following comma ```console $ fuelup self update -Fetching binary from https://github.com/FuelLabs/fuelup/releases/download/v0.14.0/fuelup-0.14.0-aarch64-apple-darwin.tar.gz +Fetching binary from https://github.com/FuelLabs/fuelup/releases/download/v0.18.0/fuelup-0.18.0-aarch64-apple-darwin.tar.gz Downloading component fuelup without verifying checksum Unpacking and moving fuelup to /var/folders/tp/0l8zdx9j4s9_n609ykwxl0qw0000gn/T/.tmpiNJQHt Moving /var/folders/tp/0l8zdx9j4s9_n609ykwxl0qw0000gn/T/.tmpiNJQHt/fuelup to /Users/.fuelup/bin/fuelup ``` -Then run `fuelup toolchain install beta-2` to install the `beta-2` toolchain. +Then run `fuelup toolchain install beta-3` to install the `beta-3` toolchain. -Finally, set the `beta-2` toolchain as your default distribution with the following command: +Finally, set the `beta-3` toolchain as your default distribution with the following command: ```console -$ fuelup default beta-2 -default toolchain set to 'beta-2-aarch64-apple-darwin' +$ fuelup default beta-3 +default toolchain set to 'beta-3-aarch64-apple-darwin' ``` You can check your current toolchain anytime by running `fuelup show`. @@ -49,11 +49,11 @@ To compile, use `forc build`, and to run tests use `forc test` Read the Docs: - Sway Book: https://fuellabs.github.io/sway/latest - Rust SDK Book: https://fuellabs.github.io/fuels-rs/latest -- TypeScript SDK: https://github.com/FuelLabs/fuels-ts +- TypeScript SDK: https://fuellabs.github.io/fuels-ts/ Join the Community: - Follow us @SwayLang: https://twitter.com/SwayLang -- Ask questions in dev-chat on Discord: https://discord.com/invite/xfpK4Pe +- Ask questions on Discourse: https://forum.fuel.network/ Report Bugs: - Sway Issues: https://github.com/FuelLabs/sway/issues/new @@ -76,13 +76,13 @@ Open your project in a code editor and delete the boilerplate code in `src/main. Every Sway file must start with a declaration of what type of program the file contains; here, we've declared that this file is a contract. ```sway -{{#include ../../beta2-quickstart-master/counter-contract/src/main.sw:contract}} +{{#include ../../quickstart-example/counter-contract/src/main.sw:contract}} ``` Next, we'll define a storage value. In our case, we have a single counter that we'll call `counter` of type 64-bit unsigned integer and initialize it to 0. ```sway -{{#include ../../beta2-quickstart-master/counter-contract/src/main.sw:storage}} +{{#include ../../quickstart-example/counter-contract/src/main.sw:storage}} ``` ### ABI @@ -92,7 +92,7 @@ An ABI defines an interface, and there is no function body in the ABI. A contrac For simplicity, we will define the ABI directly in the contract file. ```sway -{{#include ../../beta2-quickstart-master/counter-contract/src/main.sw:abi}} +{{#include ../../quickstart-example/counter-contract/src/main.sw:abi}} ``` ### Implement ABI @@ -100,7 +100,7 @@ For simplicity, we will define the ABI directly in the contract file. Below your ABI definition, you will write the implementation of the functions defined in your ABI. ```sway -{{#include ../../beta2-quickstart-master/counter-contract/src/main.sw:counter-contract}} +{{#include ../../quickstart-example/counter-contract/src/main.sw:counter-contract}} ``` > **Note**: `storage.counter` is an implicit return and is equivalent to `return storage.counter;`. @@ -110,7 +110,7 @@ Here's what your code should look like so far: File: `./counter-contract/src/main.sw` ```sway -{{#include ../../beta2-quickstart-master/counter-contract/src/main.sw:all}} +{{#include ../../quickstart-example/counter-contract/src/main.sw:all}} ``` ### Build the Contract @@ -207,7 +207,7 @@ At the bottom of `test/harness.rs`, define the body of `can_get_contract_id()`. File: `tests/harness.rs` ```sway -{{#include ../../beta2-quickstart-master/counter-contract/tests/harness.rs:contract-test}} +{{#include ../../quickstart-example/counter-contract/tests/harness.rs:contract-test}} ``` Run `cargo test` in the terminal. If all goes well, the output should look as follows: @@ -236,13 +236,13 @@ With this, you'll get a fuel address that looks something like this: `fuel1efz7l ### Get Testnet Coins -With your account address in hand, head to the [testnet faucet](https://faucet-beta-2.fuel.network/) to get some coins sent to your wallet. +With your account address in hand, head to the [testnet faucet](https://faucet-beta-3.fuel.network/) to get some coins sent to your wallet. ### Deploy To Testnet Now that you have a wallet, you can deploy with `forc deploy` and passing in the testnet endpoint like this: -`forc deploy --url node-beta-2.fuel.network/graphql --gas-price 1` +`forc deploy --node-url beta-3.fuel.network/graphql --gas-price 1 --random-salt` > **Note**: We set the gas price to 1. Without this flag, the gas price is 0 by default and the transaction will fail. @@ -251,7 +251,7 @@ The terminal will ask for the address of the wallet you want to sign this transa The terminal will output your `Contract id` like this: ```console -Contract id: 0xe5dc89f7b8c62e40927a6b17f144583bf6571d2468ab1e2554d2731f4c9fc428 +Contract id: 0xd09b469b0c31c05222b553021aa23c3b6a535db5092c22b84690dc88ca17deaa ``` Be sure to save this as you will need it to build a frontend with the Typescript SDK later in this tutorial. @@ -283,9 +283,9 @@ Finally, you will get back a `TransactionId` to confirm your contract was deploy ### Congrats, you have completed your first smart contract on Fuel ⛽ -[Here is the repo for this project](https://github.com/FuelLabs/beta2-quickstart). If you run into any problems, a good first step is to compare your code to this repo and resolve any differences. +[Here is the repo for this project](https://github.com/FuelLabs/quickstart). If you run into any problems, a good first step is to compare your code to this repo and resolve any differences. -Tweet us [@fuellabs\_](https://twitter.com/fuellabs_) letting us know you just built a dapp on Fuel, you might get invited to a private group of builders, be invited to the next Fuel dinner, get alpha on the project, or something 👀. +Tweet us [@fuel_network](https://twitter.com/fuel_network) letting us know you just built a dapp on Fuel, you might get invited to a private group of builders, be invited to the next Fuel dinner, get alpha on the project, or something 👀. ## Need Help?