UNPKG

@ledgerhq/coin-hedera

Version:
35 lines 1.31 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getMockedThirdwebTransaction = void 0; // TODO: remove once migration to new API is complete const constants_1 = require("../../constants"); const getMockedThirdwebTransaction = (overrides) => { return { address: "0x0000000000000000000000000000000000000002", blockHash: "0x0000000000000000000000000000000000000002", blockNumber: 1, blockTimestamp: 1234123, chainId: "295", data: "0x0000000000000000000000000000000000000002", decoded: { name: "test", params: { from: "0x0000000000000000000000000000000000000001", to: "0x0000000000000000000000000000000000000002", value: "10000", }, signature: "abc", }, logIndex: 1, topics: [ constants_1.ERC20_TRANSFER_EVENT_TOPIC, "0x0000000000000000000000000000000000000001", "0x0000000000000000000000000000000000000002", ], transactionHash: "0x0000000000000000000000000000000000000003", transactionIndex: 2, ...overrides, }; }; exports.getMockedThirdwebTransaction = getMockedThirdwebTransaction; //# sourceMappingURL=thirdweb.fixture.js.map