-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
68 additions
and
79 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* eslint-disable */ | ||
// sequence-waas-intents v0.1.0 b0dc5c3bceb25d04f130e1807829bd8110a0a3e4 | ||
// sequence-waas-intents v0.1.0 cee7350afc8c71efb922f9b8c6a79991997f5d7a | ||
// -- | ||
// Code generated by [email protected] with typescript generator. DO NOT EDIT. | ||
// | ||
|
@@ -12,7 +12,7 @@ export const WebRPCVersion = "v1" | |
export const WebRPCSchemaVersion = "v0.1.0" | ||
|
||
// Schema hash generated from your RIDL schema | ||
export const WebRPCSchemaHash = "b0dc5c3bceb25d04f130e1807829bd8110a0a3e4" | ||
export const WebRPCSchemaHash = "cee7350afc8c71efb922f9b8c6a79991997f5d7a" | ||
|
||
// | ||
// Types | ||
|
@@ -27,20 +27,16 @@ export interface Signature { | |
export interface Intent { | ||
version: string | ||
name: string | ||
expires: number | ||
issued: number | ||
expiresAt: number | ||
issuedAt: number | ||
data: any | ||
signatures: Array<Signature> | ||
} | ||
|
||
export interface SessionPacketProof { | ||
email?: string | ||
idToken?: string | ||
} | ||
|
||
export interface IntentDataOpenSession { | ||
sessionId: string | ||
proof: SessionPacketProof | ||
email?: string | ||
idToken?: string | ||
} | ||
|
||
export interface IntentDataCloseSession { | ||
|
@@ -70,7 +66,7 @@ export interface IntentDataSign { | |
message: string | ||
} | ||
|
||
export interface IntentDataTransaction { | ||
export interface IntentDataSendTransaction { | ||
network: string | ||
identifier: string | ||
transactions: Array<any> | ||
|
@@ -85,14 +81,14 @@ export interface TransactionRaw { | |
|
||
export interface TransactionERC20 { | ||
type: string | ||
token: string | ||
tokenAddress: string | ||
to: string | ||
value: string | ||
} | ||
|
||
export interface TransactionERC721 { | ||
type: string | ||
token: string | ||
tokenAddress: string | ||
to: string | ||
id: string | ||
safe?: boolean | ||
|
@@ -106,7 +102,7 @@ export interface TransactionERC1155Value { | |
|
||
export interface TransactionERC1155 { | ||
type: string | ||
token: string | ||
tokenAddress: string | ||
to: string | ||
vals: Array<TransactionERC1155Value> | ||
data?: string | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters