@ledgerhq/coin-hedera
Version:
Ledger Hedera Coin integration
31 lines • 1.13 kB
JavaScript
// TODO: remove once migration to new API is complete
import { ERC20_TRANSFER_EVENT_TOPIC } from "../../constants";
export 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: [
ERC20_TRANSFER_EVENT_TOPIC,
"0x0000000000000000000000000000000000000001",
"0x0000000000000000000000000000000000000002",
],
transactionHash: "0x0000000000000000000000000000000000000003",
transactionIndex: 2,
...overrides,
};
};
//# sourceMappingURL=thirdweb.fixture.js.map