0xBootleggers / bufficorn

Bufficorn Ventures Custom DAO App
https://bufficorn.vercel.app
MIT License
0 stars 1 forks source link

Limit Tribute Tokens on Become Partner Form #47

Closed earth2travis closed 1 year ago

earth2travis commented 1 year ago

https://bison-narwhal.vercel.app/#/molochv3/0x64/0x8577c1a3caedd9a6bfa431176a9b94474cdffd9c/new-proposal?formLego=BECOME_PARTNER

Replace Token Address field:

Image

With select similar to:

Image

Limit tribute tokens DAI, USDC, SPORK

skuhlmann commented 1 year ago

@earth2travis Can you grab these token addresses on polygon?

and select 3 for us to use on gnosis chain?

earth2travis commented 1 year ago

@skuhlmann

Polygon

Gnosis Chain

skuhlmann commented 1 year ago

@earth2travis

pr here: https://github.com/0xBootleggers/bufficorn/pull/53

we will configure the token list in the targetDao.ts file like this:

export const TARGET_DAO: {
  [key: string]: {
    ADDRESS: string;
    SAFE_ADDRESS: string;
    CHAIN_ID: ValidNetwork;
    TRIBUTE_TOKENS: OptionType[];
  };
} = {
  "0x8577c1a3caedd9a6bfa431176a9b94474cdffd9c": {
    ADDRESS: "0x8577c1a3caedd9a6bfa431176a9b94474cdffd9c",
    SAFE_ADDRESS: "0xaaa9ffe13a324676a0ff899cf21f09f56e166c6b",
    CHAIN_ID: "0x64",
    TRIBUTE_TOKENS: [
      {
        name: "WXDAI",
        value: "0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d",
      },
      {
        name: "USDC",
        value: "0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83",
      },
      {
        name: "SPICE",
        value: "0x65e1738344EB68c7e2f4279aD9E1f7c253A09911",
      },
    ],
  },
};
earth2travis commented 1 year ago

@skuhlmann tested all three tokens all the way to execution

Image