UNPKG

@yoroi/swap

Version:
55 lines (54 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.api = void 0; var _types = require("@yoroi/types"); const api = exports.api = { results: { tokens: [{ id: 'lovelace', name: 'Cardano', ticker: 'ADA', decimals: 6, logo: null, description: null, website: null, policyId: '', fingerprint: null, group: 'ADA', kind: 'ft', image: null, icon: null, symbol: 'ADA', metadatas: {}, isPrimaryToken: true }], orders: [], limitOptions: { defaultProtocol: _types.Swap.Protocol.Minswap_v2, wantedPrice: 1, options: [] }, estimate: { data: [] }, create: { txCbor: 'test-cbor' }, cancel: { txCbor: 'test-cancel-cbor' } }, inputs: { cancel: { order: { txHash: 'test-tx-hash', outputIndex: 0, aggregator: _types.Swap.Aggregator.Minswap, protocol: _types.Swap.Protocol.Minswap_v2 } } } }; //# sourceMappingURL=api.mocks.js.map