2021-05-10 20:56:20 +02:00
|
|
|
<!doctype html>
|
|
|
|
<html class="no-js" lang="">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
|
|
<title>CICADA</title>
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
|
|
|
<link rel="icon" type="image/x-icon" href="../images/favicon.ico">
|
|
|
|
<link rel="stylesheet" href="../styles/style.css">
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="navbar navbar-default navbar-fixed-top visible-xs">
|
|
|
|
<a href="../" class="navbar-brand">CICADA</a>
|
|
|
|
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="xs-menu menu" id="mobile-menu">
|
|
|
|
<div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="container-fluid main">
|
|
|
|
<div class="row main">
|
|
|
|
<div class="hidden-xs menu">
|
|
|
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
|
|
</div>
|
|
|
|
<!-- START CONTENT -->
|
|
|
|
<div class="content miscellaneous-variables">
|
|
|
|
<div class="content-data">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li>Miscellaneous</li>
|
|
|
|
<li>Variables</li>
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h3 id="index">Index</h3>
|
|
|
|
<table class="table table-sm table-bordered index-table">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<ul class="index-list">
|
|
|
|
<li>
|
|
|
|
<a href="#abi" title="src/app/_eth/accountIndex.ts"><b>abi</b> (src/.../accountIndex.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#abi" title="src/app/_eth/token-registry.ts"><b>abi</b> (src/.../token-registry.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#accountTypes" title="src/app/_helpers/mock-backend.ts"><b>accountTypes</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#actions" title="src/app/_helpers/mock-backend.ts"><b>actions</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#areaNames" title="src/app/_helpers/mock-backend.ts"><b>areaNames</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#areaTypes" title="src/app/_helpers/mock-backend.ts"><b>areaTypes</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#categories" title="src/app/_helpers/mock-backend.ts"><b>categories</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#defaultAccount" title="src/app/_models/account.ts"><b>defaultAccount</b> (src/.../account.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#environment" title="src/environments/environment.dev.ts"><b>environment</b> (src/.../environment.dev.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#environment" title="src/environments/environment.prod.ts"><b>environment</b> (src/.../environment.prod.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#environment" title="src/environments/environment.ts"><b>environment</b> (src/.../environment.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#genders" title="src/app/_helpers/mock-backend.ts"><b>genders</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#keyring" title="src/app/_pgp/pgp-key-store.ts"><b>keyring</b> (src/.../pgp-key-store.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#MockBackendProvider" title="src/app/_helpers/mock-backend.ts"><b>MockBackendProvider</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#objCsv" title="src/app/_helpers/read-csv.ts"><b>objCsv</b> (src/.../read-csv.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#openpgp" title="src/app/_pgp/pgp-signer.ts"><b>openpgp</b> (src/.../pgp-signer.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#tokens" title="src/app/_helpers/mock-backend.ts"><b>tokens</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#transactionTypes" title="src/app/_helpers/mock-backend.ts"><b>transactionTypes</b> (src/.../mock-backend.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#vCard" title="src/app/_services/transaction.service.ts"><b>vCard</b> (src/.../transaction.service.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#vCard" title="src/app/_services/user.service.ts"><b>vCard</b> (src/.../user.service.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#web3" title="src/app/_eth/accountIndex.ts"><b>web3</b> (src/.../accountIndex.ts)</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#web3" title="src/app/_eth/token-registry.ts"><b>web3</b> (src/.../token-registry.ts)</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<h3>src/app/_eth/accountIndex.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="abi"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
abi</b>
|
|
|
|
<a href="#abi"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>Array<any></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>require('@src/assets/js/block-sync/data/AccountRegistry.json')</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 11:05:04 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>Fetch the account registry contract's ABI. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="web3"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
web3</b>
|
|
|
|
<a href="#web3"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>Web3</code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>new Web3(environment.web3Provider)</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 11:05:04 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>Establish a connection to the blockchain network. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_eth/token-registry.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="abi"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
abi</b>
|
|
|
|
<a href="#abi"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>Array<any></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>require('@src/assets/js/block-sync/data/TokenUniqueSymbolIndex.json')</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 11:05:04 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>Fetch the token registry contract's ABI. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="web3"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
web3</b>
|
|
|
|
<a href="#web3"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>Web3</code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>new Web3(environment.web3Provider)</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 11:05:04 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>Establish a connection to the blockchain network. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_helpers/mock-backend.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="accountTypes"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
accountTypes</b>
|
|
|
|
<a href="#accountTypes"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>['user', 'cashier', 'vendor', 'tokenagent', 'group']</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of the curated account types. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="actions"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
actions</b>
|
|
|
|
<a href="#actions"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="../interfaces/Action.html" target="_self" >Array<Action></a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>[
|
|
|
|
{ id: 1, user: 'Tom', role: 'enroller', action: 'Disburse RSV 100', approval: false },
|
|
|
|
{ id: 2, user: 'Christine', role: 'admin', action: 'Change user phone number', approval: true },
|
|
|
|
{ id: 3, user: 'Will', role: 'superadmin', action: 'Reclaim RSV 1000', approval: true },
|
|
|
|
{ id: 4, user: 'Vivian', role: 'enroller', action: 'Complete user profile', approval: true },
|
|
|
|
{ id: 5, user: 'Jack', role: 'enroller', action: 'Reclaim RSV 200', approval: false },
|
|
|
|
{ id: 6, user: 'Patience', role: 'enroller', action: 'Change user information', approval: false }
|
|
|
|
]</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of actions made by the admin staff. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="areaNames"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
areaNames</b>
|
|
|
|
<a href="#areaNames"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="../interfaces/AreaName.html" target="_self" >Array<AreaName></a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>[
|
|
|
|
{
|
|
|
|
name: 'Mukuru Nairobi',
|
|
|
|
locations: ['kayaba', 'kayba', 'kambi', 'mukuru', 'masai', 'hazina', 'south', 'tetra', 'tetrapak', 'ruben', 'rueben', 'kingston',
|
|
|
|
'korokocho', 'kingstone', 'kamongo', 'lungalunga', 'sinai', 'sigei', 'lungu', 'lunga lunga', 'owino road', 'seigei']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Kinango Kwale',
|
|
|
|
locations: ['amani', 'bofu', 'chibuga', 'chikomani', 'chilongoni', 'chigojoni', 'chinguluni', 'chigato', 'chigale', 'chikole',
|
|
|
|
'chilongoni', 'chilumani', 'chigojoni', 'chikomani', 'chizini', 'chikomeni', 'chidzuvini', 'chidzivuni', 'chikuyu', 'chizingo',
|
|
|
|
'doti', 'dzugwe', 'dzivani', 'dzovuni', 'hanje', 'kasemeni', 'katundani', 'kibandaogo', 'kibandaongo', 'kwale', 'kinango',
|
|
|
|
'kidzuvini', 'kalalani', 'kafuduni', 'kaloleni', 'kilibole', 'lutsangani', 'peku', 'gona', 'guro', 'gandini', 'mkanyeni', 'myenzeni',
|
|
|
|
'miyenzeni', 'miatsiani', 'mienzeni', 'mnyenzeni', 'minyenzeni', 'miyani', 'mioleni', 'makuluni', 'mariakani', 'makobeni', 'madewani',
|
|
|
|
'mwangaraba', 'mwashanga', 'miloeni', 'mabesheni', 'mazeras', 'mazera', 'mlola', 'muugano', 'mulunguni', 'mabesheni', 'miatsani',
|
|
|
|
'miatsiani', 'mwache', 'mwangani', 'mwehavikonje', 'miguneni', 'nzora', 'nzovuni', 'vikinduni', 'vikolani', 'vitangani', 'viogato',
|
|
|
|
'vyogato', 'vistangani', 'yapha', 'yava', 'yowani', 'ziwani', 'majengo', 'matuga', 'vigungani', 'vidziweni', 'vinyunduni', 'ukunda',
|
|
|
|
'kokotoni', 'mikindani']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Misc Nairobi',
|
|
|
|
locations: ['nairobi', 'west', 'lindi', 'kibera', 'kibira', 'kibra', 'makina', 'soweto', 'olympic', 'kangemi', 'ruiru', 'congo',
|
|
|
|
'kawangware', 'kwangware', 'donholm', 'dagoreti', 'dandora', 'kabete', 'sinai', 'donhom', 'donholm', 'huruma', 'kitengela',
|
|
|
|
'makadara', ',mlolongo', 'kenyatta', 'mlolongo', 'tassia', 'tasia', 'gatina', '56', 'industrial', 'kariobangi', 'kasarani', 'kayole',
|
|
|
|
'mathare', 'pipe', 'juja', 'uchumi', 'jogoo', 'umoja', 'thika', 'kikuyu', 'stadium', 'buru buru', 'ngong', 'starehe', 'mwiki',
|
|
|
|
'fuata', 'kware', 'kabiro', 'embakassi', 'embakasi', 'kmoja', 'east', 'githurai', 'landi', 'langata', 'limuru', 'mathere',
|
|
|
|
'dagoretti', 'kirembe', 'muugano', 'mwiki', 'toi market']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Misc Mombasa',
|
|
|
|
locations: ['mombasa', 'likoni', 'bangla', 'bangladesh', 'kizingo', 'old town', 'makupa', 'mvita', 'ngombeni', 'ngómbeni', 'ombeni',
|
|
|
|
'magongo', 'miritini', 'changamwe', 'jomvu', 'ohuru', 'tudor', 'diani']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Kisauni',
|
|
|
|
locations: ['bamburi', 'kisauni', 'mworoni', 'nyali', 'shanzu', 'bombolulu', 'mtopanga', 'mjambere', 'majaoni', 'manyani', 'magogoni',
|
|
|
|
'junda', 'mwakirunge', 'mshomoroni']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Kilifi',
|
|
|
|
locations: ['kilfi', 'kilifi', 'mtwapa', 'takaungu', 'makongeni', 'mnarani', 'mnarani', 'office', 'g.e', 'ge', 'raibai', 'ribe']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Kakuma',
|
|
|
|
locations: ['kakuma']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Kitui',
|
|
|
|
locations: ['kitui', 'mwingi']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Nyanza',
|
|
|
|
locations: ['busia', 'nyalgunga', 'mbita', 'siaya', 'kisumu', 'nyalenda', 'hawinga', 'rangala', 'uyoma', 'mumias', 'homabay', 'homaboy',
|
|
|
|
'migori', 'kusumu']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Misc Rural Counties',
|
|
|
|
locations: ['makueni', 'meru', 'kisii', 'bomet', 'machakos', 'bungoma', 'eldoret', 'kakamega', 'kericho', 'kajiado', 'nandi', 'nyeri',
|
|
|
|
'wote', 'kiambu', 'mwea', 'nakuru', 'narok']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'other',
|
|
|
|
locations: ['other', 'none', 'unknown']
|
|
|
|
}
|
|
|
|
]</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of curated area names. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="areaTypes"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
areaTypes</b>
|
|
|
|
<a href="#areaTypes"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="../interfaces/AreaType.html" target="_self" >Array<AreaType></a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>[
|
|
|
|
{
|
|
|
|
name: 'urban',
|
|
|
|
area: ['urban', 'nairobi', 'mombasa']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'rural',
|
|
|
|
area: ['rural', 'kakuma', 'kwale', 'kinango', 'kitui', 'nyanza']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'periurban',
|
|
|
|
area: ['kilifi', 'periurban']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'other',
|
|
|
|
area: ['other']
|
|
|
|
}
|
|
|
|
]</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of curated area types. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="categories"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
categories</b>
|
|
|
|
<a href="#categories"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="../interfaces/Category.html" target="_self" >Array<Category></a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>[
|
|
|
|
{
|
|
|
|
name: 'system',
|
|
|
|
products: ['system', 'office main', 'office main phone']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'education',
|
|
|
|
products: ['book', 'coach', 'teacher', 'sch', 'school', 'pry', 'education', 'student', 'mwalimu', 'maalim', 'consultant', 'consult',
|
|
|
|
'college', 'university', 'lecturer', 'primary', 'secondary', 'daycare', 'babycare', 'baby care', 'elim', 'eimu', 'nursery',
|
|
|
|
'red cross', 'volunteer', 'instructor', 'journalist', 'lesson', 'academy', 'headmistress', 'headteacher', 'cyber', 'researcher',
|
|
|
|
'professor', 'demo', 'expert', 'tution', 'tuition', 'children', 'headmaster', 'educator', 'Marital counsellor', 'counsellor',
|
|
|
|
'trainer', 'vijana', 'youth', 'intern', 'redcross', 'KRCS', 'danish', 'science', 'data', 'facilitator', 'vitabu', 'kitabu']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'faith',
|
|
|
|
products: ['pastor', 'imam', 'madrasa', 'religous', 'religious', 'ustadh', 'ustadhi', 'Marital counsellor', 'counsellor', 'church',
|
|
|
|
'kanisa', 'mksiti', 'donor']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'government',
|
|
|
|
products: ['elder', 'chief', 'police', 'government', 'country', 'county', 'soldier', 'village admin', 'ward', 'leader', 'kra',
|
|
|
|
'mailman', 'immagration', 'immigration']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'environment',
|
|
|
|
products: ['conservation', 'toilet', 'choo', 'garbage', 'fagio', 'waste', 'tree', 'taka', 'scrap', 'cleaning', 'gardener', 'rubbish',
|
|
|
|
'usafi', 'mazingira', 'miti', 'trash', 'cleaner', 'plastic', 'collection', 'seedling', 'seedlings', 'recycling']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'farming',
|
|
|
|
products: ['farm', 'farmer', 'farming', 'mkulima', 'kulima', 'ukulima', 'wakulima', 'jembe', 'shamba']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'labour',
|
|
|
|
products: ['artist', 'agent', 'guard', 'askari', 'accountant', 'baker', 'beadwork', 'beauty', 'business', 'barber', 'casual',
|
|
|
|
'electrian', 'caretaker', 'car wash', 'capenter', 'construction', 'chef', 'catering', 'cobler', 'cobbler', 'carwash', 'dhobi',
|
|
|
|
'landlord', 'design', 'carpenter', 'fundi', 'hawking', 'hawker', 'househelp', 'hsehelp', 'house help', 'help', 'housegirl', 'kushona',
|
|
|
|
'juakali', 'jualikali', 'juacali', 'jua kali', 'shepherd', 'makuti', 'kujenga', 'kinyozi', 'kazi', 'knitting', 'kufua', 'fua',
|
|
|
|
'hustler', 'biashara', 'labour', 'labor', 'laundry', 'repair', 'hair', 'posho', 'mill', 'mtambo', 'uvuvi', 'engineer', 'manager',
|
|
|
|
'tailor', 'nguo', 'mason', 'mtumba', 'garage', 'mechanic', 'mjenzi', 'mfugaji', 'painter', 'receptionist', 'printing', 'programming',
|
|
|
|
'plumb', 'charging', 'salon', 'mpishi', 'msusi', 'mgema', 'footballer', 'photocopy', 'peddler', 'staff', 'sales', 'service', 'saloon',
|
|
|
|
'seremala', 'security', 'insurance', 'secretary', 'shoe', 'shepard', 'shephard', 'tout', 'tv', 'mvuvi', 'mawe', 'majani', 'maembe',
|
|
|
|
'freelance', 'mjengo', 'electronics', 'photographer', 'programmer', 'electrician', 'washing', 'bricks', 'welder', 'welding',
|
|
|
|
'working', 'worker', 'watchman', 'waiter', 'waitress', 'viatu', 'yoga', 'guitarist', 'house', 'artisan', 'musician', 'trade',
|
|
|
|
'makonge', 'ujenzi', 'vendor', 'watchlady', 'marketing', 'beautician', 'photo', 'metal work', 'supplier', 'law firm', 'brewer']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'food',
|
|
|
|
products: ['avocado', 'bhajia', 'bajia', 'mbonga', 'bofu', 'beans', 'biscuits', 'biringanya', 'banana', 'bananas', 'crisps', 'chakula',
|
|
|
|
'coconut', 'chapati', 'cereal', 'chipo', 'chapo', 'chai', 'chips', 'cassava', 'cake', 'cereals', 'cook', 'corn', 'coffee', 'chicken',
|
|
|
|
'dagaa', 'donut', 'dough', 'groundnuts', 'hotel', 'holel', 'hoteli', 'butcher', 'butchery', 'fruit', 'food', 'fruits', 'fish',
|
|
|
|
'githeri', 'grocery', 'grocer', 'pojo', 'papa', 'goats', 'mabenda', 'mbenda', 'poultry', 'soda', 'peanuts', 'potatoes', 'samosa',
|
|
|
|
'soko', 'samaki', 'tomato', 'tomatoes', 'mchele', 'matunda', 'mango', 'melon', 'mellon', 'nyanya', 'nyama', 'omena', 'umena', 'ndizi',
|
|
|
|
'njugu', 'kamba kamba', 'khaimati', 'kaimati', 'kunde', 'kuku', 'kahawa', 'keki', 'muguka', 'miraa', 'milk', 'choma', 'maziwa',
|
|
|
|
'mboga', 'mbog', 'busaa', 'chumvi', 'cabbages', 'mabuyu', 'machungwa', 'mbuzi', 'mnazi', 'mchicha', 'ngombe', 'ngano', 'nazi',
|
|
|
|
'oranges', 'peanuts', 'mkate', 'bread', 'mikate', 'vitungu', 'sausages', 'maize', 'mbata', 'mchuzi', 'mchuuzi', 'mandazi', 'mbaazi',
|
|
|
|
'mahindi', 'maandazi', 'mogoka', 'meat', 'mhogo', 'mihogo', 'muhogo', 'maharagwe', 'miwa', 'mahamri', 'mitumba', 'simsim', 'porridge',
|
|
|
|
'pilau', 'vegetable', 'egg', 'mayai', 'mifugo', 'unga', 'good', 'sima', 'sweet', 'sweats', 'sambusa', 'snacks', 'sugar', 'suger',
|
|
|
|
'ugoro', 'sukari', 'soup', 'spinach', 'smokie', 'smokies', 'sukuma', 'tea', 'uji', 'ugali', 'uchuzi', 'uchuuzi', 'viazi', 'yoghurt',
|
|
|
|
'yogurt', 'wine', 'marondo', 'maandzi', 'matoke', 'omeno', 'onions', 'nzugu', 'korosho', 'barafu', 'juice']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'water',
|
|
|
|
products: ['maji', 'water']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'health',
|
|
|
|
products: ['agrovet', 'dispensary', 'barakoa', 'chemist', 'Chemicals', 'chv', 'doctor', 'daktari', 'dawa', 'hospital', 'herbalist',
|
|
|
|
'mganga', 'sabuni', 'soap', 'nurse', 'heath', 'community health worker', 'clinic', 'clinical', 'mask', 'medicine', 'lab technician',
|
|
|
|
'pharmacy', 'cosmetics', 'veterinary', 'vet', 'sickly', 'emergency response', 'emergency']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'savings',
|
|
|
|
products: ['chama', 'group', 'savings', 'loan', 'silc', 'vsla', 'credit', 'finance']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'shop',
|
|
|
|
products: ['bag', 'bead', 'belt', 'bedding', 'jik', 'bed', 'cement', 'botique', 'boutique', 'lines', 'kibanda', 'kiosk', 'spareparts',
|
|
|
|
'candy', 'cloth', 'electricals', 'mutumba', 'cafe', 'leso', 'lesso', 'duka', 'spare parts', 'socks', 'malimali', 'mitungi',
|
|
|
|
'mali mali', 'hardware', 'detergent', 'detergents', 'dera', 'retail', 'kamba', 'pombe', 'pampers', 'pool', 'phone', 'simu', 'mangwe',
|
|
|
|
'mikeka', 'movie', 'shop', 'acces', 'mchanga', 'uto', 'airtime', 'matress', 'mattress', 'mattresses', 'mpsea', 'mpesa', 'shirt',
|
|
|
|
'wholesaler', 'perfume', 'playstation', 'tissue', 'vikapu', 'uniform', 'flowers', 'vitenge', 'utencils', 'utensils', 'station',
|
|
|
|
'jewel', 'pool table', 'club', 'pub', 'bar', 'furniture', 'm-pesa', 'vyombo']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'transport',
|
|
|
|
products: ['kebeba', 'beba', 'bebabeba', 'bike', 'bicycle', 'matatu', 'boda', 'bodaboda', 'cart', 'carrier', 'tour', 'travel', 'driver',
|
|
|
|
'dereva', 'tout', 'conductor', 'kubeba', 'tuktuk', 'taxi', 'piki', 'pikipiki', 'manamba', 'trasportion', 'mkokoteni', 'mover',
|
|
|
|
'motorist', 'motorbike', 'transport', 'transpoter', 'gari', 'magari', 'makanga', 'car']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'fuel/energy',
|
|
|
|
products: ['timber', 'timberyard', 'biogas', 'charcol', 'charcoal', 'kuni', 'mbao', 'fuel', 'makaa', 'mafuta', 'moto', 'solar', 'stima',
|
|
|
|
'fire', 'firewood', 'wood', 'oil', 'taa', 'gas', 'paraffin', 'parrafin', 'parafin', 'petrol', 'petro', 'kerosine', 'kerosene',
|
|
|
|
'diesel']
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'other',
|
|
|
|
products: ['other', 'none', 'unknown', 'none']
|
|
|
|
}
|
|
|
|
]</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of the user's business categories </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="genders"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
genders</b>
|
|
|
|
<a href="#genders"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>['male', 'female', 'other']</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of curated genders </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="MockBackendProvider"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
MockBackendProvider</b>
|
|
|
|
<a href="#MockBackendProvider"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>{
|
|
|
|
provide: HTTP_INTERCEPTORS,
|
|
|
|
useClass: MockBackendInterceptor,
|
|
|
|
multi: true
|
|
|
|
}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>Exports the MockBackendInterceptor as an Angular provider.</p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="tokens"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
tokens</b>
|
|
|
|
<a href="#tokens"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="../interfaces/Token.html" target="_self" >Array<Token></a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>[
|
|
|
|
{
|
|
|
|
name: 'Giftable Reserve', symbol: 'GRZ', address: '0xa686005CE37Dce7738436256982C3903f2E4ea8E', supply: '1000000001000000000000000000',
|
|
|
|
decimals: '18', reserves: {}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Demo Token', symbol: 'DEMO', address: '0xc80D6aFF8194114c52AEcD84c9f15fd5c8abb187', supply: '99999999999999998976',
|
|
|
|
decimals: '18', reserves: {'0xa686005CE37Dce7738436256982C3903f2E4ea8E': {weight: '1000000', balance: '99999999999999998976'}},
|
|
|
|
reserveRatio: '1000000', owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'Foo Token', symbol: 'FOO', address: '0x9ceD86089f7aBB5A97B40eb0E7521e7aa308d354', supply: '1000000000000000001014',
|
|
|
|
decimals: '18', reserves: {'0xa686005CE37Dce7738436256982C3903f2E4ea8E': {weight: '1000000', balance: '1000000000000000001014'}},
|
|
|
|
reserveRatio: '1000000', owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'testb', symbol: 'tstb', address: '0xC63cFA91A3BFf41cE31Ff436f67D3ACBC977DB95', supply: '99000', decimals: '18',
|
|
|
|
reserves: {'0xa686005CE37Dce7738436256982C3903f2E4ea8E': {weight: '1000000', balance: '99000'}}, reserveRatio: '1000000',
|
|
|
|
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'testa', symbol: 'tsta', address: '0x8fA4101ef19D0a078239d035659e92b278bD083C', supply: '9981', decimals: '18',
|
|
|
|
reserves: {'0xa686005CE37Dce7738436256982C3903f2E4ea8E': {weight: '1000000', balance: '9981'}}, reserveRatio: '1000000',
|
|
|
|
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: 'testc', symbol: 'tstc', address: '0x4A6fA6bc3BfE4C9661bC692D9798425350C9e3D4', supply: '100990', decimals: '18',
|
|
|
|
reserves: {'0xa686005CE37Dce7738436256982C3903f2E4ea8E': {weight: '1000000', balance: '100990'}}, reserveRatio: '1000000',
|
|
|
|
owner: '0x3Da99AAD2D9CA01D131eFc3B17444b832B31Ff4a'
|
|
|
|
}
|
|
|
|
]</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of the tokens in the system. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="transactionTypes"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
transactionTypes</b>
|
|
|
|
<a href="#transactionTypes"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>Array<string></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>['transactions', 'conversions', 'disbursements', 'rewards', 'reclamation']</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>A mock of curated transaction types. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_models/account.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="defaultAccount"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
defaultAccount</b>
|
|
|
|
<a href="#defaultAccount"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="../interfaces/AccountDetails.html" target="_self" >AccountDetails</a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>{
|
|
|
|
date_registered: Date.now(),
|
|
|
|
gender: 'other',
|
|
|
|
identities: {
|
|
|
|
evm: {
|
|
|
|
'bloxberg:8996': [''],
|
|
|
|
'oldchain:1': [''],
|
|
|
|
},
|
|
|
|
latitude: 0,
|
|
|
|
longitude: 0,
|
|
|
|
},
|
|
|
|
location: {
|
|
|
|
area_name: 'Kilifi',
|
|
|
|
},
|
|
|
|
products: [],
|
|
|
|
vcard: {
|
|
|
|
email: [{
|
|
|
|
value: '',
|
|
|
|
}],
|
|
|
|
fn: [{
|
|
|
|
value: 'Sarafu Contract',
|
|
|
|
}],
|
|
|
|
n: [{
|
|
|
|
value: ['Sarafu', 'Contract'],
|
|
|
|
}],
|
|
|
|
tel: [{
|
|
|
|
meta: {
|
|
|
|
TYP: [],
|
|
|
|
},
|
|
|
|
value: '',
|
|
|
|
}],
|
|
|
|
version: [{
|
|
|
|
value: '3.0',
|
|
|
|
}],
|
|
|
|
},
|
|
|
|
}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/environments/environment.dev.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="environment"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
environment</b>
|
|
|
|
<a href="#environment"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>{
|
|
|
|
production: false,
|
|
|
|
bloxbergChainId: 8996,
|
|
|
|
logLevel: NgxLoggerLevel.ERROR,
|
|
|
|
serverLogLevel: NgxLoggerLevel.OFF,
|
|
|
|
loggingUrl: '',
|
|
|
|
cicMetaUrl: 'https://meta.dev.grassrootseconomics.net',
|
|
|
|
publicKeysUrl: 'https://dev.grassrootseconomics.net/.well-known/publickeys/',
|
|
|
|
cicCacheUrl: 'https://cache.dev.grassrootseconomics.net',
|
|
|
|
web3Provider: 'wss://bloxberg-ws.dev.grassrootseconomics.net',
|
|
|
|
cicUssdUrl: 'https://ussd.dev.grassrootseconomics.net',
|
|
|
|
registryAddress: '0xea6225212005e86a4490018ded4bf37f3e772161',
|
|
|
|
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C'
|
|
|
|
}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/environments/environment.prod.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="environment"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
environment</b>
|
|
|
|
<a href="#environment"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>{
|
|
|
|
production: true,
|
|
|
|
bloxbergChainId: 8996,
|
|
|
|
logLevel: NgxLoggerLevel.ERROR,
|
|
|
|
serverLogLevel: NgxLoggerLevel.OFF,
|
|
|
|
loggingUrl: '',
|
|
|
|
cicMetaUrl: 'https://meta.dev.grassrootseconomics.net',
|
|
|
|
publicKeysUrl: 'https://dev.grassrootseconomics.net/.well-known/publickeys/',
|
|
|
|
cicCacheUrl: 'https://cache.dev.grassrootseconomics.net',
|
|
|
|
web3Provider: 'wss://bloxberg-ws.dev.grassrootseconomics.net',
|
|
|
|
cicUssdUrl: 'https://ussd.dev.grassrootseconomics.net',
|
|
|
|
registryAddress: '0xAf1B487491073C2d49136Db3FD87E293302CF839',
|
|
|
|
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C'
|
|
|
|
}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/environments/environment.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="environment"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
environment</b>
|
|
|
|
<a href="#environment"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/object" target="_blank" >object</a></code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>{
|
|
|
|
production: false,
|
|
|
|
bloxbergChainId: 8996,
|
|
|
|
logLevel: NgxLoggerLevel.ERROR,
|
|
|
|
serverLogLevel: NgxLoggerLevel.OFF,
|
|
|
|
loggingUrl: 'http://localhost:8000',
|
|
|
|
cicMetaUrl: 'https://meta.dev.grassrootseconomics.net',
|
|
|
|
publicKeysUrl: 'http://localhost:8000/keys.asc',
|
|
|
|
cicCacheUrl: 'https://cache.dev.grassrootseconomics.net',
|
|
|
|
web3Provider: 'ws://localhost:63546',
|
|
|
|
cicUssdUrl: 'https://ussd.dev.grassrootseconomics.net',
|
|
|
|
registryAddress: '0x6Ca3cB14aA6F761712E1C18646AfBA4d5Ae249E8',
|
|
|
|
trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C'
|
|
|
|
}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_pgp/pgp-key-store.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="keyring"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
keyring</b>
|
|
|
|
<a href="#keyring"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>new openpgp.Keyring()</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_helpers/read-csv.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="objCsv"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
objCsv</b>
|
|
|
|
<a href="#objCsv"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Type : </i> <code>literal type</code>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>{
|
|
|
|
size: 0,
|
|
|
|
dataFile: []
|
|
|
|
}</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
2021-05-11 13:34:23 +02:00
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<div class="io-description"><p>An object defining the properties of the data read. </p>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2021-05-10 20:56:20 +02:00
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_pgp/pgp-signer.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="openpgp"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
openpgp</b>
|
|
|
|
<a href="#openpgp"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>require('openpgp')</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_services/transaction.service.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="vCard"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
vCard</b>
|
|
|
|
<a href="#vCard"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>require('vcard-parser')</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
<h3>src/app/_services/user.service.ts</h3>
|
|
|
|
<section>
|
|
|
|
<h3></h3> <table class="table table-sm table-bordered">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<a name="vCard"></a>
|
|
|
|
<span class="name">
|
|
|
|
<b>
|
|
|
|
vCard</b>
|
|
|
|
<a href="#vCard"><span class="icon ion-ios-link"></span></a>
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="col-md-4">
|
|
|
|
<i>Default value : </i><code>require('vcard-parser')</code>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div><div class="search-results">
|
|
|
|
<div class="has-results">
|
|
|
|
<h1 class="search-results-title"><span class='search-results-count'></span> result-matching "<span class='search-query'></span>"</h1>
|
|
|
|
<ul class="search-results-list"></ul>
|
|
|
|
</div>
|
|
|
|
<div class="no-results">
|
|
|
|
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- END CONTENT -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
var COMPODOC_CURRENT_PAGE_DEPTH = 1;
|
|
|
|
var COMPODOC_CURRENT_PAGE_CONTEXT = 'miscellaneous-variables';
|
|
|
|
var COMPODOC_CURRENT_PAGE_URL = 'variables.html';
|
|
|
|
var MAX_SEARCH_RESULTS = 15;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script src="../js/libs/custom-elements.min.js"></script>
|
|
|
|
<script src="../js/libs/lit-html.js"></script>
|
|
|
|
<!-- Required to polyfill modern browsers as code is ES5 for IE... -->
|
|
|
|
<script src="../js/libs/custom-elements-es5-adapter.js" charset="utf-8" defer></script>
|
|
|
|
<script src="../js/menu-wc.js" defer></script>
|
|
|
|
|
|
|
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
|
|
|
|
|
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
|
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
|
|
<script src="../js/libs/promise.min.js"></script>
|
|
|
|
<script src="../js/libs/zepto.min.js"></script>
|
|
|
|
|
|
|
|
<script src="../js/compodoc.js"></script>
|
|
|
|
|
|
|
|
<script src="../js/tabs.js"></script>
|
|
|
|
<script src="../js/menu.js"></script>
|
|
|
|
<script src="../js/libs/clipboard.min.js"></script>
|
|
|
|
<script src="../js/libs/prism.js"></script>
|
|
|
|
<script src="../js/sourceCode.js"></script>
|
|
|
|
<script src="../js/search/search.js"></script>
|
|
|
|
<script src="../js/search/lunr.min.js"></script>
|
|
|
|
<script src="../js/search/search-lunr.js"></script>
|
|
|
|
<script src="../js/search/search_index.js"></script>
|
|
|
|
<script src="../js/lazy-load-graphs.js"></script>
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|