You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
809 B

import * as main from "../contracts/main";
import {Address, beginCell, Cell, toNano, TupleSlice, WalletContract} from "ton";
import { sendInternalMessageWithWallet } from "../test/helpers";
import { hex as walletCode } from "../build/jetton-wallet.compiled.json";
import {encodeOffChainContent} from "../contracts/main";
export function minterParams() {
return {
adminAddress: Address.parse("EQD7zbEMaWC2yMgSJXmIF7HbLr1yuBo2GnZF_CJNkUiGSe32"),
supply: 0,
content: encodeOffChainContent("https://files.ennucore.com/bton.json"),
wallet_code: Cell.fromBoc(walletCode)[0],
};
}
export function initMessage() {
return null;
}
// return the init Cell of the contract storage (according to load_data() contract method)
export function initData() {
return main.minterData(minterParams());
}