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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | 1x 11x 1x 1x 1x | import { APExtMetadataResponse, Cip6ExtMetadataResponse } from '../../../src';
import { Cardano } from '@cardano-sdk/core';
export const mainExtMetadataMock = () => ({
description: 'pool desc',
homepage: 'https://teststakepool.com',
name: 'testnet-stake-pool',
ticker: 'TESTNET'
});
export const adaPoolsExtMetadataMock: APExtMetadataResponse = {
info: {
about: {
company: 'IOHK',
me: 'Cardano',
server: 'Raspberry Pi Hosted at my Home'
},
company: {
addr: 'Street, Number',
city: 'London',
company_id: '123456789',
country: 'England',
name: 'Company Name',
vat_id: 'GB123456789'
},
location: 'London, England',
social: {
discord_handle: '',
facebook_handle: '',
github_handle: '',
telegram_handle: 'adapools_ops',
twitch_handle: '',
twitter_handle: 'adapools_org',
youtube_handle: ''
},
url_png_icon_64x64: 'http(s) url to pool icon; png format; not animated; max 40kb',
url_png_logo: 'http(s) url to pool logo; png format; not animated; max 50kb'
}
};
export const cip6ExtMetadataMock: Cip6ExtMetadataResponse = {
pool: {
contact: {
email: 'help@pooldomain.org',
facebook: 'demopool',
feed: 'https://demopool.com/xml/poolrss.xml',
github: 'demopool',
primary: 'email',
telegram: 'demopool',
twitter: 'demopool'
},
country: 'DE',
id: '4a2e3b7f4a78ff1452b91329a7673c77c98ca96dece7b55c37869502',
itn: {
owner: 'ed25519_pk1...',
witness: 'ed25519_sig1...'
},
media_assets: {
color_bg: '#RRGGBB',
color_fg: '#RRGGBB',
icon_png_64x64: 'https://mydemopool.com/icon.png',
logo_png: 'https://mydemopool.com/logo.png',
logo_svg: 'https://mydemopool.com/logo.svg'
},
status: Cardano.ExtendedPoolStatus.Active
},
serial: 2_020_072_001
};
export const stakePoolMetadata: Cardano.StakePoolMetadata = {
description: 'Stakepool - Your reliable & trustworthy stakepool',
extended: 'http://localhost/extendedMetadata',
homepage: 'https://www.home-page.com',
name: 'Stakepool #1',
ticker: 'STKP'
};
|