2014-04-07 14:36:57 -03:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
|
|
var imports = require('soop').imports();
|
|
|
|
|
|
|
|
|
|
function Storage() {
|
|
|
|
|
}
|
|
|
|
|
|
2014-04-14 15:31:10 -03:00
|
|
|
// get value by key
|
2014-04-15 10:22:50 -03:00
|
|
|
Storage.prototype.get = function(walletId,k) {
|
2014-04-07 14:36:57 -03:00
|
|
|
};
|
|
|
|
|
|
2014-04-14 15:31:10 -03:00
|
|
|
// set value for key
|
2014-04-17 18:04:56 -03:00
|
|
|
Storage.prototype.set = function(walletId, k, v) {
|
2014-04-07 14:36:57 -03:00
|
|
|
};
|
2014-04-14 15:31:10 -03:00
|
|
|
|
|
|
|
|
// remove value for key
|
2014-04-15 10:22:50 -03:00
|
|
|
Storage.prototype.remove = function(walletId, k) {
|
2014-04-08 18:35:43 -03:00
|
|
|
};
|
|
|
|
|
|
2014-04-16 21:02:53 -03:00
|
|
|
Storage.prototype.getWalletIds = function() {
|
|
|
|
|
};
|
|
|
|
|
|
2014-04-17 18:04:56 -03:00
|
|
|
// obj contains keys to be set
|
|
|
|
|
Storage.prototype.setFromObj = function(walletId, obj) {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Storage.prototype.setFromEncryptedObj = function(walletId, obj) {
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
// wallet export - hex of encrypted wallet object
|
|
|
|
|
Storage.prototype.getEncryptedObj = function(walletId) {
|
|
|
|
|
};
|
|
|
|
|
|
2014-04-14 15:31:10 -03:00
|
|
|
// remove all values
|
2014-04-08 18:35:43 -03:00
|
|
|
Storage.prototype.clearAll = function() {
|
|
|
|
|
};
|
2014-04-07 14:36:57 -03:00
|
|
|
|
|
|
|
|
module.exports = require('soop')(Storage);
|