-
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
5 changed files
with
157 additions
and
6 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 e8e022f41dd9c03ff373c616d8f484fbefdfe7d9 | ||
// sequence-waas-intents v0.1.0 f671856a3104a7a8f1ab8957e5542b7f08a20fb8 | ||
// -- | ||
// Code generated by [email protected] with typescript generator. DO NOT EDIT. | ||
// | ||
|
@@ -12,13 +12,19 @@ export const WebRPCVersion = "v1" | |
export const WebRPCSchemaVersion = "v0.1.0" | ||
|
||
// Schema hash generated from your RIDL schema | ||
export const WebRPCSchemaHash = "e8e022f41dd9c03ff373c616d8f484fbefdfe7d9" | ||
export const WebRPCSchemaHash = "f671856a3104a7a8f1ab8957e5542b7f08a20fb8" | ||
|
||
// | ||
// Types | ||
// | ||
|
||
|
||
export enum FeeTokenType { | ||
UNKNOWN = 'UNKNOWN', | ||
ERC20_TOKEN = 'ERC20_TOKEN', | ||
ERC1155_TOKEN = 'ERC1155_TOKEN' | ||
} | ||
|
||
export interface Intent { | ||
version: string | ||
name: string | ||
|
@@ -71,11 +77,19 @@ export interface IntentDataSignMessage { | |
message: string | ||
} | ||
|
||
export interface IntentDataFeeOptions { | ||
network: string | ||
wallet: string | ||
identifier: string | ||
transactions: Array<any> | ||
} | ||
|
||
export interface IntentDataSendTransaction { | ||
network: string | ||
wallet: string | ||
identifier: string | ||
transactions: Array<any> | ||
transactionsFeeQuote?: string | ||
} | ||
|
||
export interface TransactionRaw { | ||
|
@@ -164,6 +178,29 @@ export interface IntentResponseSignedMessage { | |
message: string | ||
} | ||
|
||
export interface FeeOption { | ||
token: FeeToken | ||
to: string | ||
value: string | ||
gasLimit: number | ||
} | ||
|
||
export interface FeeToken { | ||
chainId: number | ||
name: string | ||
symbol: string | ||
type: FeeTokenType | ||
decimals?: number | ||
logoURL: string | ||
contractAddress?: string | ||
tokenID?: string | ||
} | ||
|
||
export interface IntentResponseFeeOptions { | ||
feeOptions: Array<FeeOption> | ||
feeQuote?: string | ||
} | ||
|
||
export interface IntentResponseTransactionReceipt { | ||
request: any | ||
txHash: 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