Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing Asset Evolution Feature in Laos #125

Merged
merged 38 commits into from
Oct 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
a2fc3de
ownership chain has pallet evolution
asiniscalchi Oct 26, 2023
72e554e
using evolution precompiled
asiniscalchi Oct 26, 2023
d8da80f
fmt
asiniscalchi Oct 26, 2023
94d6a2e
add test
asiniscalchi Oct 26, 2023
13e32c5
evm evolution precomoile moved to ownership
asiniscalchi Oct 26, 2023
33936ed
moved evolution pallet to ownership chain
asiniscalchi Oct 26, 2023
d5a98c3
Merge branch 'main' into feature/move_evo_logic_into_caladan
asiniscalchi Oct 26, 2023
4e8ce8a
add evolve_with_external_uri fn and first test
magecnion Oct 26, 2023
679fdc6
fix clippy
asiniscalchi Oct 26, 2023
379d090
Merge branch 'feature/move_evo_logic_into_caladan' of github.com:free…
asiniscalchi Oct 26, 2023
1c26f4d
finish pallet implementation
magecnion Oct 26, 2023
0ab8c7a
Merge branch 'feature/move_evo_logic_into_caladan' of github.com:free…
magecnion Oct 26, 2023
ad07e91
WIP add evolve to precompiles
magecnion Oct 26, 2023
5008470
add MetadataUpdate test
magecnion Oct 27, 2023
20fd0e2
clean
magecnion Oct 27, 2023
6c1fe76
Merge branch 'main' of github.com:freeverseio/laos into feature/evolv…
magecnion Oct 27, 2023
0b95bb7
fix signature fn LaosEvolution.sol file
magecnion Oct 27, 2023
98cbece
add token uri to evolve event
magecnion Oct 27, 2023
6025a7f
fix events log
magecnion Oct 27, 2023
74bcb4c
typos in solidity LaosEvolution.sol
magecnion Oct 27, 2023
f74df46
fix typo in solidity contracts
magecnion Oct 27, 2023
976dd40
typos in solidity LaosEvolution.sol
magecnion Oct 27, 2023
72aa439
fix function selectors
magecnion Oct 27, 2023
21f9b12
EvolvedWithExternalTokenURI => MetadataUpdate
magecnion Oct 27, 2023
7d25016
make token_id as indexed
magecnion Oct 30, 2023
d700736
Merge branch 'main' of github.com:freeverseio/laos into feature/evolv…
magecnion Oct 30, 2023
6d8abaf
fix signature
magecnion Oct 30, 2023
dd01c43
fix signature
magecnion Oct 30, 2023
2600c11
fix signature
magecnion Oct 30, 2023
8980eb3
add topic to event
magecnion Oct 30, 2023
be9f922
include return type
magecnion Oct 30, 2023
a0c31ea
improve test readbility
magecnion Oct 30, 2023
898ccb3
change requested: unify solidity interface events
magecnion Oct 30, 2023
20883ff
change requested: use Bytes()
magecnion Oct 30, 2023
f1d4ca5
Merge branch 'main' into feature/evolve_assets
asiniscalchi Oct 31, 2023
aad8493
Merge branch 'main' of github.com:freeverseio/laos into feature/evolv…
magecnion Oct 31, 2023
ca6c3db
fix test
magecnion Oct 31, 2023
6322841
Merge branch 'feature/evolve_assets' of github.com:freeverseio/laos i…
magecnion Oct 31, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ interface LaosEvolution {
);

/// @notice Emitted when a token metadata is updated
/// @param tokenId the resulting id of the newly minted token
/// @param tokenId the id for which the metadata has changed
magecnion marked this conversation as resolved.
Show resolved Hide resolved
/// @param collectionId the id of the collection
/// @param tokenURI the URI of the newly evolved token
/// @param tokenURI the new URI of the token
event MetadataUpdate(
magecnion marked this conversation as resolved.
Show resolved Hide resolved
uint256 tokenId,
magecnion marked this conversation as resolved.
Show resolved Hide resolved
uint64 collectionId,
Expand Down Expand Up @@ -69,7 +69,7 @@ interface LaosEvolution {
string calldata tokenURI
) external returns (uint256);

/// @notice Evolve an existing token
/// @notice Changes the tokenURI of an existing token
/// @dev Call this function to evolve an existing token, the caller must be the owner of the collection
/// @param collectionId the id of the collection
/// @param tokenId the id of the token
Expand Down