@pendulum-chain/type-definitions
Advanced tools
Comparing version 0.3.7 to 0.3.8
@@ -176,2 +176,22 @@ { | ||
"section": "oracle" | ||
}, | ||
"getExchangeRate": { | ||
"description": "Get the exchange rate of the given currencyId to USD", | ||
"params": [ | ||
{ | ||
"name": "currencyId", | ||
"type": "SpacewalkPrimitivesCurrencyId" | ||
}, | ||
{ | ||
"name": "at", | ||
"type": "BlockHash", | ||
"isHistoric": true, | ||
"isOptional": true | ||
} | ||
], | ||
"type": "UnsignedFixedPoint", | ||
"isSubscription": false, | ||
"jsonrpc": "oracle_getExchangeRate", | ||
"method": "getExchangeRate", | ||
"section": "oracle" | ||
} | ||
@@ -178,0 +198,0 @@ }, |
@@ -8,2 +8,3 @@ { | ||
}, | ||
"UnsignedFixedPoint": "u128", | ||
"SpacewalkPrimitivesCurrencyId": { | ||
@@ -10,0 +11,0 @@ "_enum": { |
@@ -179,2 +179,22 @@ { | ||
"section": "oracle" | ||
}, | ||
"getExchangeRate": { | ||
"description": "Get the exchange rate of the given currencyId to USD", | ||
"params": [ | ||
{ | ||
"name": "currencyId", | ||
"type": "SpacewalkPrimitivesCurrencyId" | ||
}, | ||
{ | ||
"name": "at", | ||
"type": "BlockHash", | ||
"isHistoric": true, | ||
"isOptional": true | ||
} | ||
], | ||
"type": "UnsignedFixedPoint", | ||
"isSubscription": false, | ||
"jsonrpc": "oracle_getExchangeRate", | ||
"method": "getExchangeRate", | ||
"section": "oracle" | ||
} | ||
@@ -475,2 +495,3 @@ }, | ||
}, | ||
"UnsignedFixedPoint": "u128", | ||
"SpacewalkPrimitivesCurrencyId": { | ||
@@ -687,2 +708,22 @@ "_enum": { | ||
"section": "oracle" | ||
}, | ||
"getExchangeRate": { | ||
"description": "Get the exchange rate of the given currencyId to USD", | ||
"params": [ | ||
{ | ||
"name": "currencyId", | ||
"type": "SpacewalkPrimitivesCurrencyId" | ||
}, | ||
{ | ||
"name": "at", | ||
"type": "BlockHash", | ||
"isHistoric": true, | ||
"isOptional": true | ||
} | ||
], | ||
"type": "UnsignedFixedPoint", | ||
"isSubscription": false, | ||
"jsonrpc": "oracle_getExchangeRate", | ||
"method": "getExchangeRate", | ||
"section": "oracle" | ||
} | ||
@@ -983,2 +1024,3 @@ }, | ||
}, | ||
"UnsignedFixedPoint": "u128", | ||
"SpacewalkPrimitivesCurrencyId": { | ||
@@ -985,0 +1027,0 @@ "_enum": { |
@@ -33,2 +33,17 @@ declare const _default: { | ||
}; | ||
getExchangeRate: { | ||
description: string; | ||
params: ({ | ||
name: string; | ||
type: string; | ||
isHistoric?: undefined; | ||
isOptional?: undefined; | ||
} | { | ||
name: string; | ||
type: string; | ||
isHistoric: boolean; | ||
isOptional: boolean; | ||
})[]; | ||
type: string; | ||
}; | ||
}; | ||
@@ -39,2 +54,3 @@ types: { | ||
}; | ||
UnsignedFixedPoint: string; | ||
}; | ||
@@ -41,0 +57,0 @@ typesAlias: {}; |
@@ -40,2 +40,15 @@ "use strict"; | ||
type: 'BalanceWrapper' | ||
}, | ||
getExchangeRate: { | ||
description: 'Get the exchange rate of the given currencyId to USD', | ||
params: [{ | ||
name: 'currencyId', | ||
type: 'SpacewalkPrimitivesCurrencyId' | ||
}, { | ||
name: 'at', | ||
type: 'BlockHash', | ||
isHistoric: true, | ||
isOptional: true | ||
}], | ||
type: 'UnsignedFixedPoint' | ||
} | ||
@@ -46,3 +59,4 @@ }, | ||
amount: 'String' | ||
} | ||
}, | ||
UnsignedFixedPoint: 'u128' | ||
}, | ||
@@ -49,0 +63,0 @@ typesAlias: {} |
{ | ||
"name": "@pendulum-chain/type-definitions", | ||
"version": "0.3.7", | ||
"version": "0.3.8", | ||
"description": "Polkadot.js type definitions for pendulum Network", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
109226
2605
1