-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Daospace support plugin marketplace (#116)
* feat: add dao extpoint * feat: add DAOExtensionPoint and test * feat: update DAOExt * feat: add test for extpoint registry * feat: test extpoint register and publish version * feat: update dao_extension_point * feat: update dao_plugin_marketplace * feat: add test case for plugin marketplace * feat: update dao extension * feat: support star plugin * feat: test star * feat: support unstar plugin * feat: add labels for plugin * feat: add update method for plugin * feat: add plugin events * feat: support labels for ExtPoint * feat: star and unstar extpoint * feat: test extension point owner NFT transfer * feat: add events for operation * feat: registry init for StdlibUpgradeScripts * feat: integration Plugin Placemarket to DAOSpace * feat: config do_upgrade_from_v12_to_v12_1 for inner plugins * feat: fix integration-tests fail * feat: remove DAOPluginMarketplace and DAOExtensionPoint script * feat: format code * feat: remove Star user * feat: limit version count max 100 * feat: fix int test fail * feat: fix all check about MoveAbort * feat: limit plugin version max 5 * feat: limit Max version count for extension point as 99 * feat: remove plugin version from InstalledPluginInfo * feat: limit update plugin and publish plugin version in PluginT module * feat: add version tag repeat check * feat: mark MoveAbort for repeat tag * feat: remove unused check for plugin init * feat: change created_at and updated_at from now_milliseconds to now_seconds * feat: limit input string length * feat: update NFT image with IPFS address * feat: remove SalaryGovPlugin from daospaceplugin
- Loading branch information
Showing
67 changed files
with
3,912 additions
and
134 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
Binary file modified
BIN
+221 Bytes
(140%)
build/StarcoinFramework/bytecode_modules/GenesisSignerCapability.mv
Binary file not shown.
Binary file modified
BIN
+438 Bytes
(150%)
build/StarcoinFramework/bytecode_modules/InstallPluginProposalPlugin.mv
Binary file not shown.
Binary file modified
BIN
+389 Bytes
(140%)
build/StarcoinFramework/bytecode_modules/MemberProposalPlugin.mv
Binary file not shown.
Binary file modified
BIN
+291 Bytes
(110%)
build/StarcoinFramework/bytecode_modules/StdlibUpgradeScripts.mv
Binary file not shown.
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
Binary file modified
BIN
+0 Bytes
(100%)
build/StarcoinFramework/source_maps/GenesisSignerCapability.mvsm
Binary file not shown.
Binary file modified
BIN
+1.2 KB
(140%)
build/StarcoinFramework/source_maps/InstallPluginProposalPlugin.mvsm
Binary file not shown.
Binary file modified
BIN
+1.2 KB
(120%)
build/StarcoinFramework/source_maps/MemberProposalPlugin.mvsm
Binary file not shown.
Binary file modified
BIN
+420 Bytes
(110%)
build/StarcoinFramework/source_maps/StdlibUpgradeScripts.mvsm
Binary file not shown.
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,28 @@ | ||
processed 6 tasks | ||
|
||
task 3 'run'. lines 7-15: | ||
{ | ||
"gas_used": 177755, | ||
"status": "Executed" | ||
} | ||
|
||
task 4 'view'. lines 17-17: | ||
store key 0x00000000000000000000000000000001::DAOExtensionPoint::Registry { | ||
next_id: 1 | ||
} | ||
|
||
task 5 'run'. lines 19-27: | ||
{ | ||
"gas_used": 13211, | ||
"status": { | ||
"MoveAbort": { | ||
"location": { | ||
"Module": { | ||
"address": "0x00000000000000000000000000000001", | ||
"name": "DAOExtensionPoint" | ||
} | ||
}, | ||
"abort_code": "25606" | ||
} | ||
} | ||
} |
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,29 @@ | ||
//# init -n dev | ||
|
||
//# faucet --addr Genesis | ||
|
||
//# faucet --addr bob --amount 2000000000 | ||
|
||
//# run --signers Genesis | ||
script { | ||
use StarcoinFramework::DAOExtensionPoint; | ||
|
||
fun main(_sender: signer) { | ||
DAOExtensionPoint::initialize(); | ||
} | ||
} | ||
// check: EXECUTED | ||
|
||
//# view --address Genesis --resource 0x1::DAOExtensionPoint::Registry | ||
|
||
//# run --signers Genesis | ||
script { | ||
use StarcoinFramework::DAOExtensionPoint; | ||
|
||
fun main(_sender: signer) { | ||
DAOExtensionPoint::initialize(); | ||
} | ||
} | ||
// check: MoveAbort | ||
|
||
|
Oops, something went wrong.