-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from State-Channel-4/feat/nico/sync-contract
Feat/nico/sync contract
- Loading branch information
Showing
8 changed files
with
80 additions
and
59 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,30 @@ | ||
// These types are generated from the typechain package. Try importing them from there | ||
|
||
export interface TagToSync { | ||
name: string, | ||
createdBy: string, | ||
contentIds: string[], | ||
} | ||
|
||
export interface LikeToSync { | ||
export interface LikeToSync { | ||
url: string, | ||
liked: boolean, | ||
nonce: number, | ||
submittedBy: string, | ||
} | ||
|
||
export interface UserToSync { | ||
walletAddress: string, | ||
export interface UserToSync { | ||
userAddress: string, | ||
numberOfLikes: number, | ||
submittedUrls: number[], | ||
registeredAt: number, | ||
numberofLikesInPeriod: number, | ||
} | ||
|
||
export interface UrlToSync { | ||
title: string, | ||
url: string, | ||
submittedBy: string, | ||
likes: number, | ||
tagIds: string[], | ||
} |