@wormhole-foundation/sdk-evm
Version:
SDK for EVM chains, used in conjunction with @wormhole-foundation/sdk
25 lines • 669 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addValue = exports.addChainId = exports.addFrom = exports._platform = exports.unusedArbiterFee = exports.unusedNonce = void 0;
exports.unusedNonce = 0;
exports.unusedArbiterFee = 0n;
/**
* Runtime value for the EVM Platform
* */
exports._platform = 'Evm';
const addFrom = (txReq, from) => ({
...txReq,
from,
});
exports.addFrom = addFrom;
const addChainId = (txReq, chainId) => ({
...txReq,
chainId,
});
exports.addChainId = addChainId;
const addValue = (txReq, value) => ({
...txReq,
value,
});
exports.addValue = addValue;
//# sourceMappingURL=types.js.map