2018-02-06 19:20:37 +01:00
|
|
|
module.exports = {
|
2018-07-03 00:49:33 +02:00
|
|
|
'confirm sig requests': {
|
2018-02-06 19:20:37 +01:00
|
|
|
signMessage: (msgData, cb) => {
|
|
|
|
const stateUpdate = {
|
|
|
|
unapprovedMsgs: {},
|
|
|
|
unapprovedMsgCount: 0,
|
|
|
|
}
|
|
|
|
return cb(null, stateUpdate)
|
|
|
|
},
|
|
|
|
signPersonalMessage: (msgData, cb) => {
|
|
|
|
const stateUpdate = {
|
|
|
|
unapprovedPersonalMsgs: {},
|
2018-07-11 18:07:26 +02:00
|
|
|
unapprovedPersonalMsgCount: 0,
|
2018-02-06 19:20:37 +01:00
|
|
|
}
|
|
|
|
return cb(null, stateUpdate)
|
|
|
|
},
|
|
|
|
signTypedMessage: (msgData, cb) => {
|
|
|
|
const stateUpdate = {
|
|
|
|
unapprovedTypedMessages: {},
|
|
|
|
unapprovedTypedMessagesCount: 0,
|
|
|
|
}
|
|
|
|
return cb(null, stateUpdate)
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
|