-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
supports all token types on the frontend and deployment
- Loading branch information
1 parent
ff5d21b
commit d30751d
Showing
22 changed files
with
393 additions
and
1,768 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
Submodule reputation
updated
1263 files
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,2 +1,2 @@ | ||
@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts | ||
@atxdao/contracts/reputation=lib/reputation/src | ||
@atxdao/contracts/reputation=lib/reputation/contracts |
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,25 @@ | ||
//SPDX-License-Identifier: MIT | ||
pragma solidity ^0.8.19; | ||
|
||
import {console} from "forge-std/console.sol"; | ||
|
||
import {ScaffoldETHDeploy} from "./DeployHelpers.s.sol"; | ||
import {ReputationTokensStandalone} from "@atxdao/contracts/reputation/ReputationTokensStandalone.sol"; | ||
import {TokensPropertiesStorage} from "@atxdao/contracts/reputation/storage/TokensPropertiesStorage.sol"; | ||
import {IReputationTokensInternal} from "@atxdao/contracts/reputation/interfaces/IReputationTokensInternal.sol"; | ||
import {Hats} from "../contracts/Hats/Hats.sol"; | ||
|
||
import {DeployDemoScript} from "./DeployDemo.s.sol"; | ||
|
||
contract DeployScript is ScaffoldETHDeploy { | ||
error InvalidPrivateKey(string); | ||
|
||
address controller = 0x62286D694F89a1B12c0214bfcD567bb6c2951491; //replace with burner or other address from wallet! | ||
|
||
function run() external { | ||
DeployDemoScript deployer = new DeployDemoScript(); | ||
deployer.run(); | ||
|
||
exportDeployments(); | ||
} | ||
} |
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
13 changes: 13 additions & 0 deletions
13
packages/nextjs/app/rep-tokens-demo/_components/configs/values/IsRedeemableCardConfig.ts
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,13 @@ | ||
import { ValueCardConfigProps } from "~~/components/rep-tokens/types/Types"; | ||
|
||
export const isRedeemableConfigProps = { | ||
isRendering: true, | ||
classes: { | ||
card: "w-64 rounded-lg bg-indigo-300 ", | ||
value: "text-1xl text-center object-center mx-auto font-bold break-all text-black", | ||
}, | ||
isPrettyLoading: { | ||
classes: "text-black text-center", | ||
message: "Loading Is Tradeable...", | ||
}, | ||
} as ValueCardConfigProps; |
2 changes: 1 addition & 1 deletion
2
...s/configs/values/IsTradeableCardConfig.ts → ...s/configs/values/IsSoulboundCardConfig.ts
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.