UNPKG

rchain-toolkit

Version:

Node JS utils and methods to interact with rchain's rnode api and proto interfaces

17 lines (16 loc) 570 B
"use strict"; exports.__esModule = true; exports.getDeployData = void 0; var getDeployData = function (timestamp, term, phloPrice, phloLimit, validAfterBlockNumber) { if (phloPrice === void 0) { phloPrice = 1; } if (phloLimit === void 0) { phloLimit = 10000000; } if (validAfterBlockNumber === void 0) { validAfterBlockNumber = 0; } return { timestamp: timestamp, term: term, phloLimit: phloLimit, phloPrice: phloPrice, validAfterBlockNumber: validAfterBlockNumber }; }; exports.getDeployData = getDeployData;