UNPKG

vasku

Version:

TVM-Solidity contract development framework

25 lines (24 loc) 681 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GiverV3 = void 0; const GiverV3_1 = require("../../contract/samples/GiverV3"); class GiverV3 { _contract; constructor(keys, options = {}) { this._contract = new GiverV3_1.GiverV3({ keys }, options); } get contract() { return this._contract; } async send(options) { return await this._contract.call.sendTransaction({ dest: options.to, value: options.value, bounce: false }); } async deploy(value) { return await this._contract._deploy(value, {}, false); } } exports.GiverV3 = GiverV3;