@oak-network/types
Advanced tools
Comparing version
declare const _default: { | ||
rpc: { | ||
getTimeAutomationFees: { | ||
description: string; | ||
params: { | ||
name: string; | ||
type: string; | ||
}[]; | ||
type: string; | ||
}; | ||
calculateOptimalAutostaking: { | ||
@@ -37,5 +29,2 @@ description: string; | ||
types: { | ||
AutomationAction: { | ||
_enum: string[]; | ||
}; | ||
AutostakingResult: { | ||
@@ -53,10 +42,2 @@ period: string; | ||
methods: { | ||
get_time_automation_fees: { | ||
description: string; | ||
params: { | ||
name: string; | ||
type: string; | ||
}[]; | ||
type: string; | ||
}; | ||
calculate_optimal_autostaking: { | ||
@@ -63,0 +44,0 @@ description: string; |
@@ -5,10 +5,2 @@ "use strict"; | ||
rpc: { | ||
getTimeAutomationFees: { | ||
description: 'Retrieve automation fees', | ||
params: [ | ||
{ name: 'action', type: 'AutomationAction' }, | ||
{ name: 'executions', type: 'u32' }, | ||
], | ||
type: 'Balance', | ||
}, | ||
calculateOptimalAutostaking: { | ||
@@ -38,9 +30,2 @@ description: 'Calculate the optimal period to restake', | ||
types: { | ||
AutomationAction: { | ||
_enum: [ | ||
'NativeTransfer', | ||
'XCMP', | ||
'AutoCompoundDelegatedStake' | ||
], | ||
}, | ||
AutostakingResult: { | ||
@@ -59,10 +44,2 @@ period: 'i32', | ||
methods: { | ||
get_time_automation_fees: { | ||
description: 'Retrieve automation fees', | ||
params: [ | ||
{ name: 'action', type: 'AutomationAction' }, | ||
{ name: 'executions', type: 'u32' }, | ||
], | ||
type: 'Balance', | ||
}, | ||
calculate_optimal_autostaking: { | ||
@@ -69,0 +46,0 @@ description: 'Calculate the optimal period to restake', |
@@ -1,14 +0,6 @@ | ||
export * from './automationTime'; | ||
export * from './xcmpHandler'; | ||
export * from './automationTime.js'; | ||
export * from './xcmpHandler.js'; | ||
export declare const definitions: { | ||
automationTime: { | ||
rpc: { | ||
getTimeAutomationFees: { | ||
description: string; | ||
params: { | ||
name: string; | ||
type: string; | ||
}[]; | ||
type: string; | ||
}; | ||
calculateOptimalAutostaking: { | ||
@@ -40,5 +32,2 @@ description: string; | ||
types: { | ||
AutomationAction: { | ||
_enum: string[]; | ||
}; | ||
AutostakingResult: { | ||
@@ -56,10 +45,2 @@ period: string; | ||
methods: { | ||
get_time_automation_fees: { | ||
description: string; | ||
params: { | ||
name: string; | ||
type: string; | ||
}[]; | ||
type: string; | ||
}; | ||
calculate_optimal_autostaking: { | ||
@@ -66,0 +47,0 @@ description: string; |
12
index.js
@@ -22,6 +22,6 @@ "use strict"; | ||
const utils_1 = require("@open-web3/orml-type-definitions/utils"); | ||
const automationTime_1 = __importDefault(require("./automationTime")); | ||
const xcmpHandler_1 = __importDefault(require("./xcmpHandler")); | ||
__exportStar(require("./automationTime"), exports); | ||
__exportStar(require("./xcmpHandler"), exports); | ||
const automationTime_js_1 = __importDefault(require("./automationTime.js")); | ||
const xcmpHandler_js_1 = __importDefault(require("./xcmpHandler.js")); | ||
__exportStar(require("./automationTime.js"), exports); | ||
__exportStar(require("./xcmpHandler.js"), exports); | ||
const extractFromDefs = (defs, keyItem) => { | ||
@@ -38,4 +38,4 @@ const items = {}; | ||
exports.definitions = { | ||
automationTime: automationTime_1.default, | ||
xcmpHandler: xcmpHandler_1.default | ||
automationTime: automationTime_js_1.default, | ||
xcmpHandler: xcmpHandler_js_1.default | ||
}; | ||
@@ -42,0 +42,0 @@ exports.types = (0, utils_1.typesFromDefs)(exports.definitions); |
{ | ||
"name": "@oak-network/types", | ||
"version": "2.0.7", | ||
"version": "2.1.0", | ||
"main": "./index.js", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14559
-14.31%365
-14.32%