import * as main from "../contracts/main"; import {Address, Cell, toNano, TupleSlice, WalletContract} from "ton"; import { hex as jettonWalletCodeCell } from "../build/jetton-wallet.compiled.json"; import { hex as minterCode } from "../build/minter.compiled.json"; import { sendInternalMessageWithWallet } from "../test/helpers"; import {minterParams} from "./minter.deploy"; // return the init Cell of the contract storage (according to load_data() contract method) export function initData() { let ownerAddress = Address.parse("EQD7zbEMaWC2yMgSJXmIF7HbLr1yuBo2GnZF_CJNkUiGSe32"); let minterAddress = main.getMinterAddress(minterParams(), Cell.fromBoc(minterCode)[0]); return main.walletData({ balance: 0, ownerAddress, jettonMasterAddress: minterAddress, jettonWalletCode: Cell.fromBoc(jettonWalletCodeCell)[0], }); } export function initMessage() { return null; } // optional end-to-end sanity test for the actual on-chain contract to see it is actually working on-chain export async function postDeployTest(walletContract: WalletContract, secretKey: Buffer, contractAddress: Address) { }