Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crosschain #23

Merged
merged 10 commits into from
Nov 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions docs/guides/cross-chain.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
sidebar_position: 3.1
---

# Cross-chain treasuries

Enterprise DAOs can manage treasuries across Cosmos chains directly from the Enterprise app. Cross-chain treasuries are DAO treasury addresses available on supported chains that can be controlled from your dao.

Currently, Enterprise DAO is supported on the following chains:
- [Terra](https://www.terra.money/)
- [Migaloo](https://docs.migaloo.zone/)

## Deploy a cross-chain treasury

You can deploy your treasury cross-chain by initiating a governance proposal in your DAO.

1. Upgrade your DAO (only applicable to existing DAOs) to the latest version. Submit an “Upgrade” proposal, and [pass it through the normal governance process](./governance.mdx) by having your members vote on it.

2. Now you can submit a cross-chain treasury proposal. Click on “New Proposal” on the DAO’s **Proposals** page.

<img className="readme-img-md" src="/img/screens/treasury1.png" />

3. On the new proposal page, select the **Deploy cross-chain treasury** proposal type and click **Next**.

<img className="readme-img-md" src="/img/screens/treasury2.png" />


4. Fill in the proposal details and select which chain you’d like your cross-chain treasury to be deployed to. Click **Create** to submit the proposal and sign the transaction in your Station wallet.

<img className="readme-img-md" src="/img/screens/treasury3.png" />

5. [Pass the proposals through the normal governance process](./governance.mdx) by having your members vote on it. After successfully passing, you can return to the proposal page to execute the proposal.

6. Your cross-chain treasury is now deployed. You should be able to see the address for your new cross-chain treasury on the DAO home page.

## Manage cross-chain treasuries

You can [Create proposals](./governance.mdx) to spend your cross-chain assets, stake them, or deploy them into cross-chain apps.

To spend your cross-chain treasury, create a treasury spend proposal. On the proposal creation page, select a chain to spend the treasury from that chain.

## Create a DAO using an IBC denom

You can create a DAO using an existing IBC denom by entering the denom address during DAO creation.

Follow the [token DAO creation guide](./token.mdx), and when the app asks if you have an existing token, click **Yes, find my Token**, and then select **Native**. Enter the address of your IBC denom and continue the creation process.

<img className="readme-img-md" src="/img/screens/native.png" />
4 changes: 2 additions & 2 deletions docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ sidebar_position: 1
import CardSection from '/src/components/Cards/CardSection';
import homeCards from '/src/components/Cards/card-data/home-cards';

# Enterprise Docs
# Enterprise DAO Docs

Welcome to the official documentation for Enterprise, a no-code tool for organizing, creating, and maintaining [Decentralized Autonomous Organizations (DAOs)](./concepts/about.mdx) on the Terra blockchain. With Enterprise, you can create [multisig wallets](./concepts/about.mdx#multisig-daos), organize communities around [NFTs](./concepts/about.mdx#nft-community-daos) and [tokens](./concepts/about.mdx#community-token-daos), and manage the [governance of DAOs](./concepts/governance.mdx) all in a single interface.
Welcome to the official documentation for Enterprise DAO, a no-code tool for organizing, creating, and maintaining [cross-chain DAOs](./concepts/about.mdx). With Enterprise, you can create [multisig wallets](./concepts/about.mdx#multisig-daos), organize communities around [NFTs](./concepts/about.mdx#nft-community-daos) and [tokens](./concepts/about.mdx#community-token-daos), and manage the [governance of DAOs](./concepts/governance.mdx) all in a single interface.

<CardSection cards={homeCards} />

Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module.exports = async function config() {
const katex = (await import("rehype-katex")).default;
return {
title: "Enterprise Docs",
tagline: "The official docs for Enterprise",
tagline: "The official docs for Enterprise DAO.",
url: "https://docs.enterprise.money",
baseUrl: "/",
onBrokenLinks: "throw",
Expand Down Expand Up @@ -102,7 +102,7 @@ module.exports = async function config() {
},
items: [
{
href: "https://enterprise.money/", //front-end URL
href: "https://dao.enterprise.money/", //front-end URL
position: "right",
label: "Enterprise App",
className: "header-terra-link",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/styles/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
}



// CodeHike styling
.ch-scrollycoding-step-content {
border-radius: 5px;
Expand Down
4 changes: 4 additions & 0 deletions src/styles/navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,10 @@
}
}

.navbar {
background-color: #0F0F0F !important;
}

.header-github-link {
background: $dark-navbar-button;
border: 1px solid $dark-border;
Expand Down
18 changes: 9 additions & 9 deletions src/styles/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
--ifm-color-primary: #dbdbdb !important;
--ifm-color-content-secondary: #8d8d8d !important;
/* Main container background color */
--ifm-background-color: #1e1e1e !important;
--ifm-background-color: #0F0F0F !important;
/* Hyperlink color */
--ifm-link-color: #b4d6ff !important;
--ifm-link-color: #1D7C4D !important;
/* Heading color */
--ifm-heading-color: #e9e9e9 !important;
/* Color for active page name on track above heading */
--ifm-breadcrumb-color-active: #8d8d8d;
/* Footer background color */
--ifm-footer-background-color: #1e1e1e !important;
--ifm-footer-background-color: #0F0F0F !important;
/* Footer text color */
--ifm-footer-color: #8d8d8d !important;
--docsearch-highlight-color: #459cf4 !important;
Expand Down Expand Up @@ -63,17 +63,17 @@ $next-page-arrow: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox=

$dark-primary: #dfe2e1;
$dark-secondary: #8d8d8d;
$dark-bg: #252526;
$menu-cards-bg: #1c1c1c;
$dark-bg: #0F0F0F;
$menu-cards-bg: #0F0F0F;
$dark-hover-shadow: #96969640;
$dark-border: #343536;
$dark-border-hover: #e1eef9;
$dark-hyperlink-color: #b4d6ff;
$dark-navbar-button-color: #fb4e57;
$dark-hyperlink-color: #1D7C4D;
$dark-navbar-button-color: #1D7C4D;
$navbar-white: #e3e3e3;
$dark-navbar-button: #252526;
$dark-navbar-button: #0F0F0F;
$dark-navbar-button-text: #e2e0df;
$dark-navbar-button-hover: #000000;
$dark-navbar-button-hover: #0F0F0F;
$dark-doc-search: #4d4d4d;
$dark-code-hike-hover: #8d8d8d14;
$dark-code-hike-selected: #8d8d8d28;
Expand Down
2 changes: 1 addition & 1 deletion src/theme/Link/link-data/hyperlinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { HyperlinkProps } from '../Hyperlink';

const hyperlinks: HyperlinkProps[] = [
{
href: 'https://enterprise.money/',
href: 'https://dao.enterprise.money/',
innerHTML: 'Enterprise App',
},
{
Expand Down
2 changes: 1 addition & 1 deletion static/img/ArrowDarkBlue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion static/img/ArrowLightBlue.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions static/img/enterprise.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/screens/native.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/screens/treasury1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/screens/treasury2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/screens/treasury3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading