UNPKG
@yubing744/rooch-sdk
Version:
latest (0.1.0)
0.1.0
Rooch SDK
github.com/rooch-network/rooch
rooch-network/rooch
@yubing744/rooch-sdk
/
src
/
auth
/
interface.ts
14 lines
(10 loc)
•
257 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) RoochNetwork
// SPDX-License-Identifier: Apache-2.0
import
{
Bytes
}
from
'../types'
export
interface
IAuthorization
{
scheme
:
number
payload
:
Bytes
}
export
interface
IAuthorizer
{
auth
(
callData
:
Bytes
):
Promise
<
IAuthorization
> }