difftreelog
fix PR
in: master
9 files changed
pallets/nonfungible/src/erc.rsdiffbeforeafterboth55pub enum ERC721TokenEvent {55pub enum ERC721TokenEvent {56 /// The token has been changed.56 /// The token has been changed.57 TokenChanged {57 TokenChanged {58 /// Collection ID.58 /// Token ID.59 #[indexed]59 #[indexed]60 collection_id: Address,61 /// Token ID.62 token_id: U256,60 token_id: U256,63 },61 },64}62}pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth191920/// @dev inlined interface20/// @dev inlined interface21contract ERC721TokenEvent {21contract ERC721TokenEvent {22 event TokenChanged(address indexed collectionId, uint256 tokenId);22 event TokenChanged(uint256 indexed tokenId);23}23}242425/// @title A contract that allows to set and delete token properties and change token property permissions.25/// @title A contract that allows to set and delete token properties and change token property permissions.pallets/refungible/src/erc.rsdiffbeforeafterboth64pub enum ERC721TokenEvent {64pub enum ERC721TokenEvent {65 /// The token has been changed.65 /// The token has been changed.66 TokenChanged {66 TokenChanged {67 /// Collection ID.67 /// Token ID.68 #[indexed]68 #[indexed]69 collection_id: Address,70 /// Token ID.71 token_id: U256,69 token_id: U256,72 },70 },73}71}pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth191920/// @dev inlined interface20/// @dev inlined interface21contract ERC721TokenEvent {21contract ERC721TokenEvent {22 event TokenChanged(address indexed collectionId, uint256 tokenId);22 event TokenChanged(uint256 indexed tokenId);23}23}242425/// @title A contract that allows to set and delete token properties and change token property permissions.25/// @title A contract that allows to set and delete token properties and change token property permissions.tests/src/eth/abi/nonFungible.jsondiffbeforeafterboth52 {52 {53 "anonymous": false,53 "anonymous": false,54 "inputs": [54 "inputs": [55 {56 "indexed": true,57 "internalType": "address",58 "name": "collectionId",59 "type": "address"60 },61 {55 {62 "indexed": false,56 "indexed": true,63 "internalType": "uint256",57 "internalType": "uint256",64 "name": "tokenId",58 "name": "tokenId",65 "type": "uint256"59 "type": "uint256"tests/src/eth/abi/reFungible.jsondiffbeforeafterboth52 {52 {53 "anonymous": false,53 "anonymous": false,54 "inputs": [54 "inputs": [55 {56 "indexed": true,57 "internalType": "address",58 "name": "collectionId",59 "type": "address"60 },61 {55 {62 "indexed": false,56 "indexed": true,63 "internalType": "uint256",57 "internalType": "uint256",64 "name": "tokenId",58 "name": "tokenId",65 "type": "uint256"59 "type": "uint256"tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth141415/// @dev inlined interface15/// @dev inlined interface16interface ERC721TokenEvent {16interface ERC721TokenEvent {17 event TokenChanged(address indexed collectionId, uint256 tokenId);17 event TokenChanged(uint256 indexed tokenId);18}18}191920/// @title A contract that allows to set and delete token properties and change token property permissions.20/// @title A contract that allows to set and delete token properties and change token property permissions.tests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth141415/// @dev inlined interface15/// @dev inlined interface16interface ERC721TokenEvent {16interface ERC721TokenEvent {17 event TokenChanged(address indexed collectionId, uint256 tokenId);17 event TokenChanged(uint256 indexed tokenId);18}18}191920/// @title A contract that allows to set and delete token properties and change token property permissions.20/// @title A contract that allows to set and delete token properties and change token property permissions.tests/src/eth/events.test.tsdiffbeforeafterboth393 expect(result.events.TokenChanged).to.be.like({393 expect(result.events.TokenChanged).to.be.like({394 event: 'TokenChanged',394 event: 'TokenChanged',395 returnValues: {395 returnValues: {396 collectionId: collectionAddress,397 tokenId: tokenId,396 tokenId: tokenId,398 },397 },399 });398 });406 expect(result.events.TokenChanged).to.be.like({405 expect(result.events.TokenChanged).to.be.like({407 event: 'TokenChanged',406 event: 'TokenChanged',408 returnValues: {407 returnValues: {409 collectionId: collectionAddress,410 tokenId: tokenId,408 tokenId: tokenId,411 },409 },412 });410 });