This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_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", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "sulu/sulu-standard", | |
"license": "MIT", | |
"type": "project", | |
"description": "The sulu content management framework", | |
"autoload": { | |
"psr-0": { | |
"": "src/" | |
}, | |
"classmap": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
bitcoin: { | |
messagePrefix: '\x18Bitcoin Signed Message:\n', | |
bech32: 'bc', | |
bip32: { | |
public: 0x0488b21e, | |
private: 0x0488ade4 | |
}, | |
pubKeyHash: 0x00, | |
scriptHash: 0x05, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
OlderNewer