UNPKG
@xcapit/shelter-sdk
Version:
latest (1.2.0)
1.2.0
1.1.0
1.0.0
SDK for Shelter smart contracts on Stellar
github.com/xcapit/shelter
xcapit/shelter
@xcapit/shelter-sdk
/
src
/
pass
/
fake
/
fake-pass.ts
11 lines
(8 loc)
•
292 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
type
{
Pass
}
from
"../pass.interface"
;
import
type
{
AssembledTransaction
}
from
"@stellar/stellar-sdk/contract"
;
export
class
FakePass
implements
Pass
{
constructor
(
) { }
async
applyTo
(
tx
:
AssembledTransaction
<
null
>):
Promise
<
AssembledTransaction
<
null
>> {
return
tx; } }