-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge remote-tracking branch 'origin/main' into mmackz/lens-co…
…llect
- Loading branch information
Showing
40 changed files
with
1,592 additions
and
1,029 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rabbitholegg/questdk-plugin-fabric": patch | ||
--- | ||
|
||
export functions required for inbox integration |
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,5 @@ | ||
--- | ||
"@rabbitholegg/questdk-plugin-foundation": patch | ||
--- | ||
|
||
disable dutch auction type mints (foundation) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@rabbitholegg/questdk-plugin-okutrade": patch | ||
--- | ||
|
||
pin okutrade sdk |
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,5 @@ | ||
--- | ||
"@rabbitholegg/questdk-plugin-zora": patch | ||
--- | ||
|
||
enable state override for balance |
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,6 @@ | ||
--- | ||
"@rabbitholegg/questdk-plugin-moshicam": patch | ||
"@rabbitholegg/questdk-plugin-registry": patch | ||
--- | ||
|
||
Add moshicam plugin |
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 @@ | ||
--- | ||
"@rabbitholegg/questdk-plugin-foundation": patch | ||
"@rabbitholegg/questdk-plugin-thirdweb": patch | ||
"@rabbitholegg/questdk-plugin-utils": patch | ||
--- | ||
|
||
extract mint amount functions to utils |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,28 @@ | ||
import { type IActionPlugin } from '@rabbitholegg/questdk' | ||
import type { | ||
ActionParams, | ||
IActionPlugin, | ||
MintActionParams, | ||
} from '@rabbitholegg/questdk-plugin-utils' | ||
|
||
import { | ||
getFees, | ||
getProjectFees, | ||
getMintIntent, | ||
getSupportedChainIds, | ||
getSupportedTokenAddresses, | ||
mint, | ||
simulateMint, | ||
} from './Fabric.js' | ||
|
||
export const Fabric: IActionPlugin = { | ||
pluginId: 'fabric', | ||
getSupportedTokenAddresses, | ||
getSupportedChainIds, | ||
mint, | ||
getProjectFees: async (params: ActionParams) => | ||
getProjectFees(params as unknown as MintActionParams), | ||
getFees: async (params: ActionParams) => | ||
getFees(params as unknown as MintActionParams), | ||
getMintIntent, | ||
simulateMint, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @rabbitholegg/questdk-plugin-moshicam | ||
|
||
## 1.0.0-alpha.1 | ||
|
||
### Patch Changes | ||
|
||
- [#454](https://github.com/rabbitholegg/questdk-plugins/pull/454) [`27af0264`](https://github.com/rabbitholegg/questdk-plugins/commit/27af02649d8338a25f4ce1b76786d4b487094f60) Thanks [@jarrel-b](https://github.com/jarrel-b)! - Add moshicam plugin |
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,12 @@ | ||
# Moshicam Plugin | ||
|
||
## Overview | ||
[Moshicam](https://moshi.cam) is a photo-sharing app where users can mint their photos with a customizable borders from well-known artists and web3 brands. The proceeds of each mint are sent directly to the creator of the border and to the creator of the pic. | ||
|
||
## Implementation Details | ||
User contracts are deployed as a proxy to a central beacon ERC1155 contract. Other users can collect existing NFTs from each of these contracts. | ||
- [Beacon contract](https://basescan.org/address/0x168dbc5ea60d03eba4d8083f7a95a4bcb8137700) | ||
- [Implementation contract](https://basescan.org/address/0x56d4808987696279bC78FF3F5349bB5280687164) | ||
|
||
### Sample Transactions | ||
- [Collect from user Moshi contract](https://basescan.org/tx/0x619762bdbded2725b58d62a164e52aa7a340e5ca64e37a6b8aeea4b63e9ff877) |
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,35 @@ | ||
{ | ||
"name": "@rabbitholegg/questdk-plugin-moshicam", | ||
"version": "1.0.0-alpha.1", | ||
"exports": { | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js", | ||
"types": "./dist/types/index.d.ts" | ||
}, | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"description": "Plugin for moshicam", | ||
"types": "./dist/types/index.d.ts", | ||
"typings": "./dist/types/index.d.ts", | ||
"scripts": { | ||
"build": "vite build && tsc --project tsconfig.build.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./dist/types", | ||
"bench": "vitest bench", | ||
"bench:ci": "CI=true vitest bench", | ||
"clean": "rimraf dist", | ||
"format": "rome format . --write", | ||
"lint": "eslint .", | ||
"lint:fix": "eslint . --fix", | ||
"test": "vitest dev", | ||
"test:cov": "vitest dev --coverage", | ||
"test:ci": "CI=true vitest --coverage", | ||
"test:ui": "vitest dev --ui" | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"license": "ISC", | ||
"devDependencies": {}, | ||
"dependencies": { | ||
"@rabbitholegg/questdk-plugin-utils": "workspace:*", | ||
"@rabbitholegg/questdk": "workspace:*" | ||
} | ||
} |
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,10 @@ | ||
project: | ||
name: Moshicam | ||
iconOption: | ||
appLink: https://moshi.cam/metadata/favicon-64x64.png | ||
|
||
tasks: | ||
- name: Mint on Moshicam | ||
link: https://moshi.cam/ | ||
iconOption: https://moshi.cam/metadata/favicon-64x64.png | ||
actionPluginId: mint |
Oops, something went wrong.