-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: change action.mol and enable co-build check in Cluster
- Loading branch information
liyukun
committed
Jan 6, 2024
1 parent
9308e77
commit d064145
Showing
12 changed files
with
1,559 additions
and
786 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
// define modules | ||
mod entry; | ||
mod hash; | ||
mod schema; | ||
|
||
#[cfg(test)] | ||
extern crate alloc; | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,56 @@ | ||
array Byte32 [byte; 32]; | ||
vector Bytes <byte>; | ||
|
||
table Script { | ||
code_hash: Byte32, | ||
hash_type: byte, | ||
args: Bytes, | ||
} | ||
|
||
union Address { | ||
Script, | ||
} | ||
|
||
/* Actions for Spore */ | ||
|
||
table Mint { | ||
nft_id: Byte32, | ||
to: Address, | ||
data_hash: Byte32, | ||
} | ||
|
||
table Transfer { | ||
nft_id: Byte32, | ||
from: Address, | ||
to: Address, | ||
} | ||
|
||
table Burn { | ||
nft_id: Byte32, | ||
from: Address, | ||
} | ||
|
||
/* Actions for Cluster */ | ||
|
||
table ClusterCreate { | ||
cluster_id: Byte32, | ||
to: Address, | ||
data_hash: Byte32, | ||
} | ||
|
||
table ClusterTransfer { | ||
cluster_id: Byte32, | ||
from: Address, | ||
to: Address, | ||
} | ||
|
||
/* Action in ScriptInfo */ | ||
|
||
union SporeAction { | ||
Mint, | ||
Transfer, | ||
Burn, | ||
|
||
ClusterCreate, | ||
ClusterTransfer, | ||
} |
Oops, something went wrong.