-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The Merge - Merge Develop to Master (#577)
* fix navigation on small devices * Proposals UI update (#556) * initial commit * new banner finished * updated filter ui * remove config tab * Revert "Proposals UI update (#556)" (#575) This reverts commit 96cfaae. Co-authored-by: Manank Patni <[email protected]> * The Merge (#536) * token deployment flow * clean & validations added * new design implemented * initial merge - lite creator added * Fetch lite homebase apps Signed-off-by: Manank Patni <[email protected]> * Remove unused data params from types and Token class Signed-off-by: Manank Patni <[email protected]> * imports upgrade * lite explorer components merged & formatted * lite explorer connected & working * merge with develop, banner removed & fixed paddings * Update App.tsx * Update App.tsx * Symbol optional * Fix lite env variables Signed-off-by: Manank Patni <[email protected]> * REfarctor lite queries Signed-off-by: Manank Patni <[email protected]> * Create Lite DAO with Full DAO Signed-off-by: Manank Patni <[email protected]> * Add deployment of lite dao Signed-off-by: Manank Patni <[email protected]> * Fix lint Signed-off-by: Manank Patni <[email protected]> * external link required & clean up (#573) * filter search fixed for mainnet (#572) * Fix voting system (#545) * initial commit * validation added * delete console.log * filters working again * removed unsed import * Add proposal form and proposal list to Full DAO (#553) Signed-off-by: Manank Patni <[email protected]> * Fix propsal creation not working for Lite only DAO Signed-off-by: Manank Patni <[email protected]> * Fix lite proposal modal Signed-off-by: Manank Patni <[email protected]> * Fix redirection and user polls posted Signed-off-by: Manank Patni <[email protected]> * Remove console.log Signed-off-by: Manank Patni <[email protected]> * Lite merge fixes Signed-off-by: Manank Patni <[email protected]> * Fix error message and revert unstake all pending Signed-off-by: Manank Patni <[email protected]> --------- Signed-off-by: Manank Patni <[email protected]> Co-authored-by: fabiolalombardim <[email protected]> Co-authored-by: fabiolalombardim <[email protected]> --------- Signed-off-by: Manank Patni <[email protected]> Co-authored-by: fabiolalombardim <[email protected]> Co-authored-by: fabiolalombardim <[email protected]> Co-authored-by: Andrei Taranu <[email protected]>
- Loading branch information
1 parent
c406d51
commit ad0e2dd
Showing
165 changed files
with
52,200 additions
and
1,166 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export interface Choice { | ||
_id?: string | ||
name: string | ||
pollID: string | ||
walletAddresses: WalletAddress[] | ||
selected?: boolean | ||
} | ||
|
||
export interface WalletAddress { | ||
address: string | ||
balanceAtReferenceBlock: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
export interface Community { | ||
_id: string | ||
name: string | ||
description: string | ||
linkToTerms: string | ||
members: string[] | ||
tokenAddress: string | ||
polls: string[] | ||
tokenType?: string | ||
symbol: string | ||
tokenID: string | ||
picUri: string | ||
requiredTokenOwnership: boolean | ||
allowPublicAccess: boolean | ||
decimals?: string | ||
network: string | ||
} | ||
|
||
export interface CommunityToken { | ||
_id?: string | ||
daoID: string | ||
tokenID: number | ||
symbol: string | ||
tokenAddress: string | ||
decimals: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
export enum ProposalStatus { | ||
ACTIVE = "active", | ||
CLOSED = "closed" | ||
} | ||
export interface Poll { | ||
_id?: string | ||
daoID: string | undefined | ||
description: string | ||
name: string | ||
referenceBlock?: string | ||
startTime: string | ||
endTime: string | ||
totalSupplyAtReferenceBlock?: any | ||
choices: string[] | ||
externalLink: "" | ||
author: string | ||
isActive?: ProposalStatus | ||
timeFormatted?: string | ||
tokenSymbol?: string | ||
tokenAddress?: string | ||
tokenDecimals?: string | ||
votes?: number | ||
votingStrategy: number | ||
endTimeMinutes?: number | null | ||
endTimeHours?: number | null | ||
endTimeDays?: number | null | ||
} | ||
|
||
export interface Vote { | ||
address: string | ||
balanceAtReferenceBlock: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
export interface Proposal { | ||
id?: string | ||
title: string | ||
description: string | ||
externalLink: string | ||
choices: string[] | ||
startTime: number | ||
endTime: number | ||
daoID: string | ||
} | ||
|
||
interface Choice { | ||
index: number | ||
description: 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Grid, styled } from "@material-ui/core" | ||
|
||
export const GridContainer = styled(Grid)(({ theme }) => ({ | ||
minHeight: 145, | ||
borderRadius: 8, | ||
cursor: "pointer", | ||
padding: "32px 46px", | ||
background: theme.palette.primary.main, | ||
[theme.breakpoints.down("sm")]: { | ||
padding: "35px 25px" | ||
} | ||
})) |
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
Oops, something went wrong.