-
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
7 changed files
with
218 additions
and
35 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 1fe0a24abef81231c54c0886157c65ef738d5ed6 | ||
// sequence-waas-intents v0.1.0 cf2bdd4237ab27bbf05383773801eca35d867b7e | ||
// -- | ||
// 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 = "1fe0a24abef81231c54c0886157c65ef738d5ed6" | ||
export const WebRPCSchemaHash = "cf2bdd4237ab27bbf05383773801eca35d867b7e" | ||
|
||
// | ||
// Types | ||
|
@@ -35,7 +35,8 @@ export enum IntentName { | |
federateAccount = 'federateAccount', | ||
removeAccount = 'removeAccount', | ||
listAccounts = 'listAccounts', | ||
getIdToken = 'getIdToken' | ||
getIdToken = 'getIdToken', | ||
adoptChildWallet = 'adoptChildWallet' | ||
} | ||
|
||
export enum TransactionType { | ||
|
@@ -63,7 +64,8 @@ export enum IntentResponseCode { | |
accountList = 'accountList', | ||
accountFederated = 'accountFederated', | ||
accountRemoved = 'accountRemoved', | ||
idToken = 'idToken' | ||
idToken = 'idToken', | ||
childwalletAdopted = 'childwalletAdopted' | ||
} | ||
|
||
export enum FeeTokenType { | ||
|
@@ -188,6 +190,18 @@ export interface IntentDataRemoveAccount { | |
accountId: string | ||
} | ||
|
||
export interface IntentDataAdoptChildWallet { | ||
network: string | ||
wallet: string | ||
adopter: string | ||
adopterProof: AdopterProof | ||
} | ||
|
||
export interface AdopterProof { | ||
message: string | ||
signature: string | ||
} | ||
|
||
export interface IntentDataGetIdToken { | ||
sessionId: string | ||
wallet: string | ||
|
@@ -350,6 +364,9 @@ export interface IntentResponseIdToken { | |
expiresIn: number | ||
} | ||
|
||
export interface IntentResponseChildWalletAdopted { | ||
} | ||
|
||
export interface Account { | ||
id: string | ||
type: IdentityType | ||
|
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
Oops, something went wrong.