Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 1x 1x 1x 1x 2x 1x | "use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.mockPair = void 0;
const principal_1 = require("@dfinity/principal");
const mockPair = ({ blockTimestampLast, creator, id, kLast, lptoken, price0CumulativeLast, price1CumulativeLast, reserve0, reserve1, token0, token1, totalSupply, } = {}) => {
return {
id: id || 'token0:token1',
price0CumulativeLast: price0CumulativeLast || BigInt('169791302182046275273065174512383941'),
creator: creator ||
principal_1.Principal.fromText('4qehi-lqyo6-afz4c-hwqwo-lubfi-4evgk-5vrn5-rldx2-lheha-xs7a4-gae'),
reserve0: reserve0 || BigInt('378214020982958035'),
reserve1: reserve1 || BigInt('2599045918344'),
lptoken: lptoken || 'aanaa-xaaaa-aaaah-aaeiq-cai:utozz-siaaa-aaaam-qaaxq-cai',
totalSupply: totalSupply || BigInt('963930372035355'),
token0: token0 || 'aanaa-xaaaa-aaaah-aaeiq-cai',
token1: token1 || 'utozz-siaaa-aaaam-qaaxq-cai',
price1CumulativeLast: price1CumulativeLast ||
BigInt('3595528899597139115174922580717493355824760828'),
kLast: kLast || BigInt('0'),
blockTimestampLast: blockTimestampLast || BigInt('1643382877493031694'),
};
};
exports.mockPair = mockPair;
//# sourceMappingURL=pair.js.map |