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

2 years ago
import * as main from "../contracts/main";
import {Address, beginCell, Cell, toNano, TupleSlice, WalletContract} from "ton";
2 years ago
import { sendInternalMessageWithWallet } from "../test/helpers";
import { hex as walletCode } from "../build/jetton-wallet.compiled.json";
import {encodeOffChainContent} from "../contracts/main";
2 years ago
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],
};
2 years ago
}
export function initMessage() {
return null;
2 years ago
}
// return the init Cell of the contract storage (according to load_data() contract method)
export function initData() {
return main.minterData(minterParams());
}