Skip to content

Instantly share code, notes, and snippets.

View adsc-cloudtec's full-sized avatar

adsc-cloudtec

View GitHub Profile
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "373e551348d1dd607c1e8dcb085c7011",
"packages": [
{
"name": "aferrandini/urlizer",
{
"name": "sulu/sulu-standard",
"license": "MIT",
"type": "project",
"description": "The sulu content management framework",
"autoload": {
"psr-0": {
"": "src/"
},
"classmap": [
$qb = $repository
->createQueryBuilder('f')
->select('f')
->join('f.address', 'a')
->join('a.locality', 'l')
->join('l.canton', 'c')
->leftJoin('f.facilities', 'fa', Join::WITH, 'fa.deleted <> 1')
->leftJoin('f.users', 'u', Join::WITH, 'u.deleted <> 1')
->leftJoin('u.roles', 'r', Join::WITH, 'r.id = :role')
->join('f.events', 'e')
module.exports = {
bitcoin: {
messagePrefix: '\x18Bitcoin Signed Message:\n',
bech32: 'bc',
bip32: {
public: 0x0488b21e,
private: 0x0488ade4
},
pubKeyHash: 0x00,
scriptHash: 0x05,
// TODO: Use token model
let token = {};
token.hash = tx.hash;
let valid = true;
tx.outputs.forEach(function(output) {
// Try to understand output as appId
token.appIds = [];
template.appIds.forEach(function(appId) {
if (appId.address === output.addresses[0]) {
this.tokens = [];
// Load wallet list from local storage
let wallets = JSON.parse(localStorage.getItem('wallets'));
let counter = 0;
wallets.forEach(function(wallet) {
// TODO: Get transport from config
let transport = new Transport(wallet.network);
this.tokens = [];
// Load wallet list from local storage
let wallets = JSON.parse(localStorage.getItem('wallets'));
let transport = new Transport(wallets[2].network);
let viewTokens = this.tokens;
transport.findTokens(this.tokenTemplates[1], function(tokens) {
console.log('tokens: ' + JSON.stringify(tokens));
viewTokens = tokens;