Skip to content

Commit

Permalink
Removed sg721 mint stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Oct 12, 2023
1 parent e481c98 commit 0bad96e
Show file tree
Hide file tree
Showing 19 changed files with 201 additions and 609 deletions.
4 changes: 3 additions & 1 deletion packages/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@
"only_passed": "Only passed proposals"
},
"emoji": {
"artistPalette": "Artist palette",
"baby": "Baby",
"babyAngel": "Baby Angel",
"ballotBox": "Ballot box",
Expand Down Expand Up @@ -291,6 +292,7 @@
"cannotCreateCompensationCycleAlreadyActive": "You cannot create a new compensation cycle while one is already active.",
"cannotStakeMoreThanYouHave": "You can't stake or unstake more tokens than you have.",
"cannotTxZeroTokens": "You can't stake, unstake, or claim zero tokens.",
"cannotUseCreateNftCollectionOnStargaze": "You cannot create a new NFT Collection via this action on Stargaze. Use the embedded browser with Stargaze Studio instead.",
"cantSpendMoreThanTreasury": "Can't spend more tokens than are in the treasury ({{amount}} ${{tokenSymbol}}).",
"chainNotConnected": "Chain not connected.",
"checkInternetOrTryAgain": "Check your internet connection, refresh the page, or try again later.",
Expand Down Expand Up @@ -981,7 +983,7 @@
"stakedNftsExplanation": "These have been staked by DAO members to earn voting power.",
"stakes": "Stakes",
"stakingAddress": "Staking Contract",
"stargazeCreateCollectionFirst": "On Stargaze, you must first create the NFT Collection via a DAO proposal, and then you can mint the NFTs. Click below to replace this with the Create NFT Action.",
"stargazeCreateCollectionFirst": "On Stargaze, you must first create the NFT Collection via a DAO proposal, and then you can mint NFTs.",
"startedAt": "Started at",
"startsAt": "Starts at",
"startsIn": "Starts in",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
InputLabel,
SelectInput,
} from '@dao-dao/stateless'
import { ActionComponent } from '@dao-dao/types/actions'
import { ActionComponent, ActionContextType } from '@dao-dao/types/actions'
import {
getChainAddressForActionOptions,
getChainForChainId,
Expand Down Expand Up @@ -97,14 +97,16 @@ export const ValidatorActionsComponent: ActionComponent = ({

return (
<>
<ChainPickerInput
className="mb-4"
disabled={!isCreating}
fieldName={fieldNamePrefix + 'chainId'}
onChange={(chainId) =>
updateChainValues(chainId, validatorActionTypeUrl)
}
/>
{options.context.type === ActionContextType.Dao && (
<ChainPickerInput
className="mb-4"
disabled={!isCreating}
fieldName={fieldNamePrefix + 'chainId'}
onChange={(chainId) =>
updateChainValues(chainId, validatorActionTypeUrl)
}
/>
)}

<SelectInput
disabled={!isCreating}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,6 @@ guide](https://github.com/DA0-DA0/dao-dao-ui/wiki/Bulk-importing-actions).
{
"chainId": "<CHAIN ID>",
"name": "<NAME>",
"symbol": "<SYMBOL>",
"collectionInfo": {
"type": <"base" | "vending">,
"description": "<DESCRIPTION>",
"explicitContent": true | false,
"externalLink": <"LINK" | undefined>,
"image": "<IMAGE">,
"royalties": "<ROYALTY IN PERCENT>",
"startTradingDate": "<MM/DD/YY HH:mm>"
}
"symbol": "<SYMBOL>"
}
```

`collectionInfo` is only relevant when `chainId` is `stargaze-1` (Stargaze
mainnet) or `elgafar-1` (Stargaze testnet). All other chains only need `name`
and `symbol`.
Loading

0 comments on commit 0bad96e

Please sign in to comment.