PageSourceSearch

https://cryptobarons.io/Content/CryptoBarons/apps/angular/factory/…?appVersionDynamic=1.2%20(1.2-6)

js cryptobarons.io collected 2026-10-04 20:24:36 UTC 2,437 bytes, 79 lines download raw bytes

1app.factory('getThunderFactory',[ '$http', 'API_URL', '$interval', '$state', '$cookieStore', '$location', function( $http, API_URL, $interval, $cookieStore, $state, $location) {
2
3    return {
4
5        FetchExRates: function(){
6            var url = API_URL + 'Darkwallet/FetchExchangeRates/';
7            return $http({
8                method: 'get',
9                url: url,
10                headers: {
11                    'Content-Type': 'application/x-www-form-urlencoded',
12                    // 'X-CSRF-TOKEN': $("#token").val()
13                }
14            });
15        },
16
17
18        FetchUserAssets : function(userId){
19            var url = API_URL + 'Asset/GetAllUserAssets?UserId=' + userId;
20
21            return $http({
22                method: 'get',
23                url: url,
24                headers: {
25                    'Content-Type': 'application/x-www-form-urlencoded'
26                },
27            });
28        },
29
30        FetchTransactionHistory : function(address){
31            var url = API_URL + "Transactions/GetUserTransactions?Address=" + address;
32
33            return $http({
34                method: 'get',
35                url: url,
36                headers: {
37                    'Content-Type': 'application/x-www-form-urlencoded'
38                },
39            })
40        },
41
42
43        //New
44        FetchAssetTypes : function(){
45            var url = API_URL + "AssetType/GetAllAsDictionary";
46            return $http({
47                method: 'get',
48                url: url,
49                headers: {
50                    'Content-Type' : 'application/x-www-form-urlencoded'
51                }
52            })
53        },
54
55        FetchLeaderBoard : function(){
56            var url = API_URL + "Leaderboard/GetLeaderboard?NumberToTake=100";
57            return $http({
58                method: 'get',
59                url: url,
60                headers: {
61                    'Content-Type' : 'application/x-www-form-urlencoded'
62                }
63            })
64        },
65
66        FetchUserReferals : function(userId){
67            var url = API_URL+ "Referals/GetUserReferals?ThunderId="+userId;
68            return $http({
69                method: 'get',
70                url: url,
71                headers: {
72                    'Content-Type' : 'application/x-www-form-urlencoded'
73                }
74            })
75        },
76
77
78    }
79}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.