Skip to content

Instantly share code, notes, and snippets.

View toniqhz's full-sized avatar
😇

Tuan Nguyen toniqhz

😇
  • Kyber.network, MoonKnight Labs, Spiderum.com, VNPT Software - VSC, Felizz Pte Ltd
  • Ha Noi, Vietnam
View GitHub Profile
<question id="0">
<id>0</id>
<string>Vật nào ở bên cạnh vật có hình nón ?</string>
<answeer>9</answeer>
<audio>/static/k5/q1/audio.mp3</audio>
<data>
<background>/static/k5/q1/bg.png</background>
<photo position="1">/static/k5/q1/1.png</photo>
<photo position="2">/static/k5/q1/5.png</photo>
<photo position="3">/static/k5/q1/2.png</photo>
import { Component, OnInit, OnDestroy, ElementRef, Renderer } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';
import { Location } from '@angular/common';
import { FormBuilder, FormGroup } from '@angular/forms';
// import { isBrowser } from 'angular2-universal';
import { PLATFORM_ID, Inject } from '@angular/core';
import { isPlatformBrowser, isPlatformServer } from '@angular/common';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/debounceTime';
import * as _ from 'underscore';
0xe86e95e15d94b5ab8e8fd9e56052220872fe099f
This file has been truncated, but you can view the full file.
{
"data": [
{
"Version": 0,
"Valid": true,
"Error": "",
"Timestamp": "1517566198555",
"ReturnTime": "1517566198915",
"Data": {
"EOS": {
{
"data": [
{
"Version": 0,
"Valid": true,
"Error": "",
"Timestamp": "1517567161226",
"ReturnTime": "1517567161522",
"Data": {
"EOS": {
0xf1838fe4000000000000000000000000d2d21fdef0d054d2864ce328cc56d1238d6b239e000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000005e00000000000000000000000000000000000000000000000000000000000000b40000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000d26114cd6ee289accf82350c8d8487fedb8a0c07000000000000000000000000dd974d5c2e2928dea5f71b9825b8b646686bd20000000000000000000000000086fa049857e0209aa7d9e616f7eb3b3b78ecfdb0000000000000000000000000744d70fdbe2ba4cf95131626614a1763df805b9e000000000000000000000000bf2179859fc6d5bee9bf9158632dc51678a4100e000000000000000000000000595832f8fc6bf59c85c527fec3740a1b7a3612690000000000000000000000000f5d2fb29fb7d3cfee444a200298f468908cc9420000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef0000000000000000000000008f8221afbb33998d8584a2b05749ba73c37a938a000000000000000000000000c5bbae50781be1669306b9e001eff57a2957b09d000000000000000000000000255aa6df07540cb5d3d297f0d0d4d8
data: {"ABT":{"token":{"id":"ABT","name":"","address":"0xb98d4c97425d9908e66e53a6fdf673acca0be986","decimals":18,"active":true,"internal":true,"minimal_record_resolution":"100000000000000","max_total_imbalance":"6043192343824681664512","max_per_block_imbalance":"5461044951947117854720"},"exchanges":null,"pwis_equation":null,"target_qty":{"set_target":{"total_target":0,"reserve_target":0,"rebalance_threshold":0,"transfer_threshold":0}},"rebalance_quadratic":{"rebalance_quadratic":{"a":0,"b":0,"c":0}}},"ADX":{"token":{"id":"ADX","name":"","address":"0x4470BB87d77b963A013DB939BE332f927f2b992e","decimals":4,"active":false,"internal":true,"minimal_record_resolution":"10","max_total_imbalance":"1925452883","max_per_block_imbalance":"1925452883"},"exchanges":null,"pwis_equation":null,"target_qty":{"set_target":{"total_target":0,"reserve_target":0,"rebalance_threshold":0,"transfer_threshold":0}},"rebalance_quadratic":{"rebalance_quadratic":{"a":0,"b":0,"c":0}}},"AE":{"token":{"id":"AE","name":"","address":"0x5ca9a71b
---------------------------------------
set
curl -X "POST" "http://localhost:8000/setting/set-token-listing" \
-H 'Content-Type: application/x-www-form-urlencoded'\
--data-urlencode "data={
\"OMG\": {
\"token\": {
\"id\": \"OMG\",
\"name\": \"OmisexGO\",
{
"OMG": {
"token": {
"id": "OMG",
"name": "OmisexGO",
"decimals": 18,
"address": "0xd26114cd6EE289AccF82350c8d8487fedB8A0C07",
"internal": true,
"active": true
},