-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add collection for assets that free from fees
- Loading branch information
Showing
6 changed files
with
2,567 additions
and
1,081 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
src/api/tax-free-asset/content-types/tax-free-asset/schema.json
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,34 @@ | ||
{ | ||
"kind": "collectionType", | ||
"collectionName": "tax_free_assets", | ||
"info": { | ||
"singularName": "tax-free-asset", | ||
"pluralName": "tax-free-assets", | ||
"displayName": "Tax Free Assets", | ||
"description": "" | ||
}, | ||
"options": { | ||
"draftAndPublish": false | ||
}, | ||
"pluginOptions": {}, | ||
"attributes": { | ||
"chainId": { | ||
"type": "enumeration", | ||
"enum": [ | ||
"MAINNET", | ||
"GNOSIS_CHAIN", | ||
"ARBITRUM_ONE", | ||
"BASE", | ||
"SEPOLIA" | ||
], | ||
"required": true | ||
}, | ||
"description": { | ||
"type": "string" | ||
}, | ||
"tokenIds": { | ||
"type": "string", | ||
"required": true | ||
} | ||
} | ||
} |
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,7 @@ | ||
/** | ||
* tax-free-asset controller | ||
*/ | ||
|
||
import { factories } from '@strapi/strapi' | ||
|
||
export default factories.createCoreController('api::tax-free-asset.tax-free-asset'); |
Oops, something went wrong.