aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/db_js.go
blob: 62cdcd20eef4ed6538f9e321e8aa6d03a3a7f1fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package api

const Db_JS = `
web3._extend({
    property: 'db',
    methods:
    [
        new web3._extend.Method({
            name: 'getString',
            call: 'db_getString',
            params: 2,
            inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString],
            outputFormatter: web3._extend.formatters.formatOutputString
        }),
        new web3._extend.Method({
            name: 'putString',
            call: 'db_putString',
            params: 3,
            inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString],
            outputFormatter: web3._extend.formatters.formatOutputBool
        }),
        new web3._extend.Method({
            name: 'getHex',
            call: 'db_getHex',
            params: 2,
            inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString],
            outputFormatter: web3._extend.formatters.formatOutputString
        }),
        new web3._extend.Method({
            name: 'putHex',
            call: 'db_putHex',
            params: 3,
            inputFormatter: [web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString, web3._extend.formatters.formatInputString],
            outputFormatter: web3._extend.formatters.formatOutputBool
        }),
    ],
    properties:
    [
    ]
});
`