difftreelog
chore generate stubs & fix docs
in: master
13 files changed
pallets/common/src/eth.rsdiffbeforeafterboth164 /// Is it possible to send tokens from this collection between users.172 /// Is it possible to send tokens from this collection between users.165 TransferEnabled,173 TransferEnabled,166}174}175/// Ethereum representation of `NestingPermissions` (see [`up_data_structs::NestingPermissions`]) fields as an enumeration.167#[derive(Default, Debug, Clone, Copy, AbiCoder)]176#[derive(Default, Debug, Clone, Copy, AbiCoder)]168#[repr(u8)]177#[repr(u8)]169pub enum CollectionPermissions {178pub enum CollectionPermissions {179 /// Owner of token can nest tokens under it.170 #[default]180 #[default]171 CollectionAdmin,172 TokenOwner,181 TokenOwner,182183 /// Admin of token collection can nest tokens under token.184 CollectionAdmin,173}185}174186175/// Ethereum representation of TokenPermissions (see [`up_data_structs::PropertyPermission`]) fields as an enumeration.187/// Ethereum representation of TokenPermissions (see [`up_data_structs::PropertyPermission`]) fields as an enumeration.pallets/fungible/src/stubs/UniqueFungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth173 /// Return `false` if a limit not set.173 /// Return `false` if a limit not set.174 /// @dev EVM selector for this function is: 0xf63bc572,174 /// @dev EVM selector for this function is: 0xf63bc572,175 /// or in textual repr: collectionLimits()175 /// or in textual repr: collectionLimits()176 function collectionLimits() public view returns (Tuple20[] memory) {176 function collectionLimits() public view returns (Tuple23[] memory) {177 require(false, stub_error);177 require(false, stub_error);178 dummy;178 dummy;179 return new Tuple20[](0);179 return new Tuple23[](0);180 }180 }181181182 /// Set limits for the collection.182 /// Set limits for the collection.284 /// Returns nesting for a collection284 /// Returns nesting for a collection285 /// @dev EVM selector for this function is: 0x22d25bfe,285 /// @dev EVM selector for this function is: 0x22d25bfe,286 /// or in textual repr: collectionNestingRestrictedCollectionIds()286 /// or in textual repr: collectionNestingRestrictedCollectionIds()287<<<<<<< HEAD288 function collectionNestingRestrictedCollectionIds() public view returns (Tuple26 memory) {287 function collectionNestingRestrictedCollectionIds() public view returns (Tuple29 memory) {289 require(false, stub_error);288 require(false, stub_error);290 dummy;289 dummy;291 return Tuple26(false, new uint256[](0));290 return Tuple29(false, new uint256[](0));292=======293 function collectionNestingRestrictedCollectionIds() public view returns (Tuple24 memory) {294 require(false, stub_error);295 dummy;296 return Tuple24(false, new uint256[](0));297>>>>>>> 09f69700... chore: generate stubs298 }291 }299292300 /// Returns permissions for a collection293 /// Returns permissions for a collection301 /// @dev EVM selector for this function is: 0x5b2eaf4b,294 /// @dev EVM selector for this function is: 0x5b2eaf4b,302 /// or in textual repr: collectionNestingPermissions()295 /// or in textual repr: collectionNestingPermissions()303<<<<<<< HEAD304 function collectionNestingPermissions() public view returns (Tuple29[] memory) {296 function collectionNestingPermissions() public view returns (Tuple32[] memory) {305 require(false, stub_error);297 require(false, stub_error);306 dummy;298 dummy;307 return new Tuple29[](0);299 return new Tuple32[](0);308=======309 function collectionNestingPermissions() public view returns (Tuple27[] memory) {310 require(false, stub_error);311 dummy;312 return new Tuple27[](0);313>>>>>>> 09f69700... chore: generate stubs314 }300 }315301316 /// Set the collection access method.302 /// Set the collection access method.490}476}491477492/// @dev anonymous struct478/// @dev anonymous struct493<<<<<<< HEAD494struct Tuple29 {479struct Tuple32 {495=======496struct Tuple27 {497>>>>>>> 09f69700... chore: generate stubs498 CollectionPermissions field_0;480 CollectionPermissions field_0;499 bool field_1;481 bool field_1;500}482}501483502/// @dev anonymous struct484/// @dev anonymous struct503<<<<<<< HEAD504struct Tuple26 {485struct Tuple29 {505=======506struct Tuple24 {507>>>>>>> 09f69700... chore: generate stubs508 bool field_0;486 bool field_0;509 uint256[] field_1;487 uint256[] field_1;510}488}532}510}533511534/// @dev anonymous struct512/// @dev anonymous struct535struct Tuple20 {513struct Tuple23 {536 CollectionLimits field_0;514 CollectionLimits field_0;537 bool field_1;515 bool field_1;538 uint256 field_2;516 uint256 field_2;pallets/nonfungible/src/stubs/UniqueNFT.rawdiffbeforeafterbothbinary blob — no preview
pallets/nonfungible/src/stubs/UniqueNFT.soldiffbeforeafterboth42 /// @param permissions Permissions for keys.42 /// @param permissions Permissions for keys.43 /// @dev EVM selector for this function is: 0xbd92983a,43 /// @dev EVM selector for this function is: 0xbd92983a,44 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])44 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])45<<<<<<< HEAD46 function setTokenPropertyPermissions(Tuple59[] memory permissions) public {45 function setTokenPropertyPermissions(Tuple61[] memory permissions) public {47=======48 function setTokenPropertyPermissions(Tuple56[] memory permissions) public {49>>>>>>> 9e929f90... chore: generate stubs & types50 require(false, stub_error);46 require(false, stub_error);51 permissions;47 permissions;52 dummy = 0;48 dummy = 0;55 /// @notice Get permissions for token properties.51 /// @notice Get permissions for token properties.56 /// @dev EVM selector for this function is: 0xf23d7790,52 /// @dev EVM selector for this function is: 0xf23d7790,57 /// or in textual repr: tokenPropertyPermissions()53 /// or in textual repr: tokenPropertyPermissions()58<<<<<<< HEAD59 function tokenPropertyPermissions() public view returns (Tuple59[] memory) {54 function tokenPropertyPermissions() public view returns (Tuple61[] memory) {60 require(false, stub_error);55 require(false, stub_error);61 dummy;56 dummy;62 return new Tuple59[](0);57 return new Tuple61[](0);63=======64 function tokenPropertyPermissions() public view returns (Tuple56[] memory) {65 require(false, stub_error);66 dummy;67 return new Tuple56[](0);68>>>>>>> 9e929f90... chore: generate stubs & types69 }58 }705971 // /// @notice Set token property value.60 // /// @notice Set token property value.155}144}156145157/// @dev anonymous struct146/// @dev anonymous struct158<<<<<<< HEAD159struct Tuple59 {147struct Tuple61 {160 string field_0;148 string field_0;161 Tuple57[] field_1;149 Tuple59[] field_1;162}150}163151164/// @dev anonymous struct152/// @dev anonymous struct165struct Tuple57 {153struct Tuple59 {166=======167struct Tuple56 {168 string field_0;169 Tuple54[] field_1;170}171172/// @dev anonymous struct173struct Tuple54 {174>>>>>>> 9e929f90... chore: generate stubs & types175 EthTokenPermissions field_0;154 EthTokenPermissions field_0;176 bool field_1;155 bool field_1;177}156}332 /// Return `false` if a limit not set.311 /// Return `false` if a limit not set.333 /// @dev EVM selector for this function is: 0xf63bc572,312 /// @dev EVM selector for this function is: 0xf63bc572,334 /// or in textual repr: collectionLimits()313 /// or in textual repr: collectionLimits()335 function collectionLimits() public view returns (Tuple33[] memory) {314 function collectionLimits() public view returns (Tuple35[] memory) {336 require(false, stub_error);315 require(false, stub_error);337 dummy;316 dummy;338 return new Tuple33[](0);317 return new Tuple35[](0);339 }318 }340319341 /// Set limits for the collection.320 /// Set limits for the collection.443 /// Returns nesting for a collection422 /// Returns nesting for a collection444 /// @dev EVM selector for this function is: 0x22d25bfe,423 /// @dev EVM selector for this function is: 0x22d25bfe,445 /// or in textual repr: collectionNestingRestrictedCollectionIds()424 /// or in textual repr: collectionNestingRestrictedCollectionIds()446<<<<<<< HEAD447 function collectionNestingRestrictedCollectionIds() public view returns (Tuple39 memory) {425 function collectionNestingRestrictedCollectionIds() public view returns (Tuple41 memory) {448 require(false, stub_error);426 require(false, stub_error);449 dummy;427 dummy;450 return Tuple39(false, new uint256[](0));428 return Tuple41(false, new uint256[](0));451=======452 function collectionNestingRestrictedCollectionIds() public view returns (Tuple36 memory) {453 require(false, stub_error);454 dummy;455 return Tuple36(false, new uint256[](0));456>>>>>>> 09f69700... chore: generate stubs457 }429 }458430459 /// Returns permissions for a collection431 /// Returns permissions for a collection460 /// @dev EVM selector for this function is: 0x5b2eaf4b,432 /// @dev EVM selector for this function is: 0x5b2eaf4b,461 /// or in textual repr: collectionNestingPermissions()433 /// or in textual repr: collectionNestingPermissions()462<<<<<<< HEAD463 function collectionNestingPermissions() public view returns (Tuple42[] memory) {434 function collectionNestingPermissions() public view returns (Tuple44[] memory) {464 require(false, stub_error);435 require(false, stub_error);465 dummy;436 dummy;466 return new Tuple42[](0);437 return new Tuple44[](0);467=======468 function collectionNestingPermissions() public view returns (Tuple39[] memory) {469 require(false, stub_error);470 dummy;471 return new Tuple39[](0);472>>>>>>> 09f69700... chore: generate stubs473 }438 }474439475 /// Set the collection access method.440 /// Set the collection access method.649}614}650615651/// @dev anonymous struct616/// @dev anonymous struct652<<<<<<< HEAD653struct Tuple42 {617struct Tuple44 {654=======655struct Tuple39 {656>>>>>>> 09f69700... chore: generate stubs657 CollectionPermissions field_0;618 CollectionPermissions field_0;658 bool field_1;619 bool field_1;659}620}660621661/// @dev anonymous struct622/// @dev anonymous struct662<<<<<<< HEAD663struct Tuple39 {623struct Tuple41 {664=======665struct Tuple36 {666>>>>>>> 09f69700... chore: generate stubs667 bool field_0;624 bool field_0;668 uint256[] field_1;625 uint256[] field_1;669}626}670627671<<<<<<< HEAD672/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.628/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.673enum CollectionLimits {629enum CollectionLimits {674 /// @dev How many tokens can a user have on one account.630 /// @dev How many tokens can a user have on one account.692}648}693649694/// @dev anonymous struct650/// @dev anonymous struct695struct Tuple33 {651struct Tuple35 {696 CollectionLimits field_0;652 CollectionLimits field_0;697 bool field_1;653 bool field_1;698 uint256 field_2;654 uint256 field_2;699}700701/// @dev anonymous struct702struct Tuple32 {703 address field_0;704 uint256 field_1;705}655}706656707=======708>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet709=======710>>>>>>> 09f69700... chore: generate stubs711/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension657/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension712/// @dev See https://eips.ethereum.org/EIPS/eip-721658/// @dev See https://eips.ethereum.org/EIPS/eip-721713/// @dev the ERC-165 identifier for this interface is 0x5b5e139f659/// @dev the ERC-165 identifier for this interface is 0x5b5e139fpallets/refungible/src/stubs/UniqueRefungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/refungible/src/stubs/UniqueRefungible.soldiffbeforeafterboth42 /// @param permissions Permissions for keys.42 /// @param permissions Permissions for keys.43 /// @dev EVM selector for this function is: 0xbd92983a,43 /// @dev EVM selector for this function is: 0xbd92983a,44 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])44 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])45<<<<<<< HEAD46 function setTokenPropertyPermissions(Tuple58[] memory permissions) public {45 function setTokenPropertyPermissions(Tuple60[] memory permissions) public {47=======48 function setTokenPropertyPermissions(Tuple55[] memory permissions) public {49>>>>>>> 9e929f90... chore: generate stubs & types50 require(false, stub_error);46 require(false, stub_error);51 permissions;47 permissions;52 dummy = 0;48 dummy = 0;55 /// @notice Get permissions for token properties.51 /// @notice Get permissions for token properties.56 /// @dev EVM selector for this function is: 0xf23d7790,52 /// @dev EVM selector for this function is: 0xf23d7790,57 /// or in textual repr: tokenPropertyPermissions()53 /// or in textual repr: tokenPropertyPermissions()58<<<<<<< HEAD59 function tokenPropertyPermissions() public view returns (Tuple58[] memory) {54 function tokenPropertyPermissions() public view returns (Tuple60[] memory) {60 require(false, stub_error);55 require(false, stub_error);61 dummy;56 dummy;62 return new Tuple58[](0);57 return new Tuple60[](0);63=======64 function tokenPropertyPermissions() public view returns (Tuple55[] memory) {65 require(false, stub_error);66 dummy;67 return new Tuple55[](0);68>>>>>>> 9e929f90... chore: generate stubs & types69 }58 }705971 // /// @notice Set token property value.60 // /// @notice Set token property value.155}144}156145157/// @dev anonymous struct146/// @dev anonymous struct158<<<<<<< HEAD159struct Tuple58 {147struct Tuple60 {160 string field_0;148 string field_0;161 Tuple56[] field_1;149 Tuple58[] field_1;162}150}163151164/// @dev anonymous struct152/// @dev anonymous struct165struct Tuple56 {153struct Tuple58 {166=======167struct Tuple55 {168 string field_0;169 Tuple53[] field_1;170}171172/// @dev anonymous struct173struct Tuple53 {174>>>>>>> 9e929f90... chore: generate stubs & types175 EthTokenPermissions field_0;154 EthTokenPermissions field_0;176 bool field_1;155 bool field_1;177}156}332 /// Return `false` if a limit not set.311 /// Return `false` if a limit not set.333 /// @dev EVM selector for this function is: 0xf63bc572,312 /// @dev EVM selector for this function is: 0xf63bc572,334 /// or in textual repr: collectionLimits()313 /// or in textual repr: collectionLimits()335 function collectionLimits() public view returns (Tuple32[] memory) {314 function collectionLimits() public view returns (Tuple34[] memory) {336 require(false, stub_error);315 require(false, stub_error);337 dummy;316 dummy;338 return new Tuple32[](0);317 return new Tuple34[](0);339 }318 }340319341 /// Set limits for the collection.320 /// Set limits for the collection.443 /// Returns nesting for a collection422 /// Returns nesting for a collection444 /// @dev EVM selector for this function is: 0x22d25bfe,423 /// @dev EVM selector for this function is: 0x22d25bfe,445 /// or in textual repr: collectionNestingRestrictedCollectionIds()424 /// or in textual repr: collectionNestingRestrictedCollectionIds()446<<<<<<< HEAD447 function collectionNestingRestrictedCollectionIds() public view returns (Tuple38 memory) {425 function collectionNestingRestrictedCollectionIds() public view returns (Tuple40 memory) {448 require(false, stub_error);426 require(false, stub_error);449 dummy;427 dummy;450 return Tuple38(false, new uint256[](0));428 return Tuple40(false, new uint256[](0));451=======452 function collectionNestingRestrictedCollectionIds() public view returns (Tuple35 memory) {453 require(false, stub_error);454 dummy;455 return Tuple35(false, new uint256[](0));456>>>>>>> 09f69700... chore: generate stubs457 }429 }458430459 /// Returns permissions for a collection431 /// Returns permissions for a collection460 /// @dev EVM selector for this function is: 0x5b2eaf4b,432 /// @dev EVM selector for this function is: 0x5b2eaf4b,461 /// or in textual repr: collectionNestingPermissions()433 /// or in textual repr: collectionNestingPermissions()462<<<<<<< HEAD463 function collectionNestingPermissions() public view returns (Tuple41[] memory) {434 function collectionNestingPermissions() public view returns (Tuple43[] memory) {464 require(false, stub_error);435 require(false, stub_error);465 dummy;436 dummy;466 return new Tuple41[](0);437 return new Tuple43[](0);467=======468 function collectionNestingPermissions() public view returns (Tuple38[] memory) {469 require(false, stub_error);470 dummy;471 return new Tuple38[](0);472>>>>>>> 09f69700... chore: generate stubs473 }438 }474439475 /// Set the collection access method.440 /// Set the collection access method.649}614}650615651/// @dev anonymous struct616/// @dev anonymous struct652<<<<<<< HEAD653struct Tuple41 {617struct Tuple43 {654=======655struct Tuple38 {656>>>>>>> 09f69700... chore: generate stubs657 CollectionPermissions field_0;618 CollectionPermissions field_0;658 bool field_1;619 bool field_1;659}620}660621661/// @dev anonymous struct622/// @dev anonymous struct662<<<<<<< HEAD663struct Tuple38 {623struct Tuple40 {664=======665struct Tuple35 {666>>>>>>> 09f69700... chore: generate stubs667 bool field_0;624 bool field_0;668 uint256[] field_1;625 uint256[] field_1;669}626}670627671<<<<<<< HEAD672/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.628/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.673enum CollectionLimits {629enum CollectionLimits {674 /// @dev How many tokens can a user have on one account.630 /// @dev How many tokens can a user have on one account.692}648}693649694/// @dev anonymous struct650/// @dev anonymous struct695struct Tuple32 {651struct Tuple34 {696 CollectionLimits field_0;652 CollectionLimits field_0;697 bool field_1;653 bool field_1;698 uint256 field_2;654 uint256 field_2;699}700701/// @dev anonymous struct702struct Tuple31 {703 address field_0;704 uint256 field_1;705}655}706656707=======708>>>>>>> 09f69700... chore: generate stubs709/// @dev the ERC-165 identifier for this interface is 0x5b5e139f657/// @dev the ERC-165 identifier for this interface is 0x5b5e139f710contract ERC721Metadata is Dummy, ERC165 {658contract ERC721Metadata is Dummy, ERC165 {711 // /// @notice A descriptive name for a collection of NFTs in this contract659 // /// @notice A descriptive name for a collection of NFTs in this contracttests/src/eth/abi/fungible.jsondiffbeforeafterboth220 { "internalType": "bool", "name": "field_1", "type": "bool" },220 { "internalType": "bool", "name": "field_1", "type": "bool" },221 { "internalType": "uint256", "name": "field_2", "type": "uint256" }221 { "internalType": "uint256", "name": "field_2", "type": "uint256" }222 ],222 ],223 "internalType": "struct Tuple20[]",223 "internalType": "struct Tuple23[]",224 "name": "",224 "name": "",225 "type": "tuple[]"225 "type": "tuple[]"226 }226 }241 },241 },242 { "internalType": "bool", "name": "field_1", "type": "bool" }242 { "internalType": "bool", "name": "field_1", "type": "bool" }243 ],243 ],244<<<<<<< HEAD244 "internalType": "struct Tuple32[]",245 "internalType": "struct Tuple29[]",246=======247 "internalType": "struct Tuple27[]",248>>>>>>> 09f69700... chore: generate stubs249 "name": "",245 "name": "",250 "type": "tuple[]"246 "type": "tuple[]"251 }247 }266 "type": "uint256[]"262 "type": "uint256[]"267 }263 }268 ],264 ],269<<<<<<< HEAD265 "internalType": "struct Tuple29",270 "internalType": "struct Tuple26",271=======272 "internalType": "struct Tuple24",273>>>>>>> 09f69700... chore: generate stubs274 "name": "",266 "name": "",275 "type": "tuple"267 "type": "tuple"276 }268 }tests/src/eth/abi/nonFungible.jsondiffbeforeafterboth250 { "internalType": "bool", "name": "field_1", "type": "bool" },250 { "internalType": "bool", "name": "field_1", "type": "bool" },251 { "internalType": "uint256", "name": "field_2", "type": "uint256" }251 { "internalType": "uint256", "name": "field_2", "type": "uint256" }252 ],252 ],253 "internalType": "struct Tuple33[]",253 "internalType": "struct Tuple35[]",254 "name": "",254 "name": "",255 "type": "tuple[]"255 "type": "tuple[]"256 }256 }271 },271 },272 { "internalType": "bool", "name": "field_1", "type": "bool" }272 { "internalType": "bool", "name": "field_1", "type": "bool" }273 ],273 ],274<<<<<<< HEAD274 "internalType": "struct Tuple44[]",275 "internalType": "struct Tuple42[]",276=======277 "internalType": "struct Tuple39[]",278>>>>>>> 09f69700... chore: generate stubs279 "name": "",275 "name": "",280 "type": "tuple[]"276 "type": "tuple[]"281 }277 }296 "type": "uint256[]"292 "type": "uint256[]"297 }293 }298 ],294 ],299<<<<<<< HEAD295 "internalType": "struct Tuple41",300 "internalType": "struct Tuple39",301=======302 "internalType": "struct Tuple36",303>>>>>>> 09f69700... chore: generate stubs304 "name": "",296 "name": "",305 "type": "tuple"297 "type": "tuple"306 }298 }770 },762 },771 { "internalType": "bool", "name": "field_1", "type": "bool" }763 { "internalType": "bool", "name": "field_1", "type": "bool" }772 ],764 ],773<<<<<<< HEAD765 "internalType": "struct Tuple59[]",774 "internalType": "struct Tuple57[]",775=======776 "internalType": "struct Tuple54[]",777>>>>>>> 9e929f90... chore: generate stubs & types778 "name": "field_1",766 "name": "field_1",779 "type": "tuple[]"767 "type": "tuple[]"780 }768 }781 ],769 ],782<<<<<<< HEAD770 "internalType": "struct Tuple61[]",783 "internalType": "struct Tuple59[]",784=======785 "internalType": "struct Tuple56[]",786>>>>>>> 9e929f90... chore: generate stubs & types787 "name": "permissions",771 "name": "permissions",788 "type": "tuple[]"772 "type": "tuple[]"789 }773 }844 },828 },845 { "internalType": "bool", "name": "field_1", "type": "bool" }829 { "internalType": "bool", "name": "field_1", "type": "bool" }846 ],830 ],847<<<<<<< HEAD831 "internalType": "struct Tuple59[]",848 "internalType": "struct Tuple57[]",849=======850 "internalType": "struct Tuple54[]",851>>>>>>> 9e929f90... chore: generate stubs & types852 "name": "field_1",832 "name": "field_1",853 "type": "tuple[]"833 "type": "tuple[]"854 }834 }855 ],835 ],856<<<<<<< HEAD836 "internalType": "struct Tuple61[]",857 "internalType": "struct Tuple59[]",858=======859 "internalType": "struct Tuple56[]",860>>>>>>> 9e929f90... chore: generate stubs & types861 "name": "",837 "name": "",862 "type": "tuple[]"838 "type": "tuple[]"863 }839 }tests/src/eth/abi/reFungible.jsondiffbeforeafterboth232 { "internalType": "bool", "name": "field_1", "type": "bool" },232 { "internalType": "bool", "name": "field_1", "type": "bool" },233 { "internalType": "uint256", "name": "field_2", "type": "uint256" }233 { "internalType": "uint256", "name": "field_2", "type": "uint256" }234 ],234 ],235 "internalType": "struct Tuple32[]",235 "internalType": "struct Tuple34[]",236 "name": "",236 "name": "",237 "type": "tuple[]"237 "type": "tuple[]"238 }238 }253 },253 },254 { "internalType": "bool", "name": "field_1", "type": "bool" }254 { "internalType": "bool", "name": "field_1", "type": "bool" }255 ],255 ],256<<<<<<< HEAD256 "internalType": "struct Tuple43[]",257 "internalType": "struct Tuple41[]",258=======259 "internalType": "struct Tuple38[]",260>>>>>>> 09f69700... chore: generate stubs261 "name": "",257 "name": "",262 "type": "tuple[]"258 "type": "tuple[]"263 }259 }278 "type": "uint256[]"274 "type": "uint256[]"279 }275 }280 ],276 ],281<<<<<<< HEAD277 "internalType": "struct Tuple40",282 "internalType": "struct Tuple38",283=======284 "internalType": "struct Tuple35",285>>>>>>> 09f69700... chore: generate stubs286 "name": "",278 "name": "",287 "type": "tuple"279 "type": "tuple"288 }280 }752 },744 },753 { "internalType": "bool", "name": "field_1", "type": "bool" }745 { "internalType": "bool", "name": "field_1", "type": "bool" }754 ],746 ],755<<<<<<< HEAD747 "internalType": "struct Tuple58[]",756 "internalType": "struct Tuple56[]",757=======758 "internalType": "struct Tuple53[]",759>>>>>>> 9e929f90... chore: generate stubs & types760 "name": "field_1",748 "name": "field_1",761 "type": "tuple[]"749 "type": "tuple[]"762 }750 }763 ],751 ],764<<<<<<< HEAD752 "internalType": "struct Tuple60[]",765 "internalType": "struct Tuple58[]",766=======767 "internalType": "struct Tuple55[]",768>>>>>>> 9e929f90... chore: generate stubs & types769 "name": "permissions",753 "name": "permissions",770 "type": "tuple[]"754 "type": "tuple[]"771 }755 }835 },819 },836 { "internalType": "bool", "name": "field_1", "type": "bool" }820 { "internalType": "bool", "name": "field_1", "type": "bool" }837 ],821 ],838<<<<<<< HEAD822 "internalType": "struct Tuple58[]",839 "internalType": "struct Tuple56[]",840=======841 "internalType": "struct Tuple53[]",842>>>>>>> 9e929f90... chore: generate stubs & types843 "name": "field_1",823 "name": "field_1",844 "type": "tuple[]"824 "type": "tuple[]"845 }825 }846 ],826 ],847<<<<<<< HEAD827 "internalType": "struct Tuple60[]",848 "internalType": "struct Tuple58[]",849=======850 "internalType": "struct Tuple55[]",851>>>>>>> 9e929f90... chore: generate stubs & types852 "name": "",828 "name": "",853 "type": "tuple[]"829 "type": "tuple[]"854 }830 }tests/src/eth/api/UniqueFungible.soldiffbeforeafterboth119 /// Return `false` if a limit not set.119 /// Return `false` if a limit not set.120 /// @dev EVM selector for this function is: 0xf63bc572,120 /// @dev EVM selector for this function is: 0xf63bc572,121 /// or in textual repr: collectionLimits()121 /// or in textual repr: collectionLimits()122 function collectionLimits() external view returns (Tuple19[] memory);122 function collectionLimits() external view returns (Tuple21[] memory);123123124 /// Set limits for the collection.124 /// Set limits for the collection.125 /// @dev Throws error if limit not found.125 /// @dev Throws error if limit not found.191 /// Returns nesting for a collection191 /// Returns nesting for a collection192 /// @dev EVM selector for this function is: 0x22d25bfe,192 /// @dev EVM selector for this function is: 0x22d25bfe,193 /// or in textual repr: collectionNestingRestrictedCollectionIds()193 /// or in textual repr: collectionNestingRestrictedCollectionIds()194<<<<<<< HEAD195 function collectionNestingRestrictedCollectionIds() external view returns (Tuple24 memory);194 function collectionNestingRestrictedCollectionIds() external view returns (Tuple26 memory);196=======197 function collectionNestingRestrictedCollectionIds() external view returns (Tuple22 memory);198>>>>>>> 09f69700... chore: generate stubs199195200 /// Returns permissions for a collection196 /// Returns permissions for a collection201 /// @dev EVM selector for this function is: 0x5b2eaf4b,197 /// @dev EVM selector for this function is: 0x5b2eaf4b,202 /// or in textual repr: collectionNestingPermissions()198 /// or in textual repr: collectionNestingPermissions()203<<<<<<< HEAD204 function collectionNestingPermissions() external view returns (Tuple27[] memory);199 function collectionNestingPermissions() external view returns (Tuple29[] memory);205=======206 function collectionNestingPermissions() external view returns (Tuple25[] memory);207>>>>>>> 09f69700... chore: generate stubs208200209 /// Set the collection access method.201 /// Set the collection access method.210 /// @param mode Access mode202 /// @param mode Access mode319}311}320312321/// @dev anonymous struct313/// @dev anonymous struct322<<<<<<< HEAD323struct Tuple27 {314struct Tuple29 {324=======325struct Tuple25 {326>>>>>>> 09f69700... chore: generate stubs327 CollectionPermissions field_0;315 CollectionPermissions field_0;328 bool field_1;316 bool field_1;329}317}334}322}335323336/// @dev anonymous struct324/// @dev anonymous struct337<<<<<<< HEAD338struct Tuple24 {325struct Tuple26 {339=======340struct Tuple22 {341>>>>>>> 09f69700... chore: generate stubs342 bool field_0;326 bool field_0;343 uint256[] field_1;327 uint256[] field_1;344}328}366}350}367351368/// @dev anonymous struct352/// @dev anonymous struct369struct Tuple19 {353struct Tuple21 {370 CollectionLimits field_0;354 CollectionLimits field_0;371 bool field_1;355 bool field_1;372 uint256 field_2;356 uint256 field_2;tests/src/eth/api/UniqueNFT.soldiffbeforeafterboth30 /// @param permissions Permissions for keys.30 /// @param permissions Permissions for keys.31 /// @dev EVM selector for this function is: 0xbd92983a,31 /// @dev EVM selector for this function is: 0xbd92983a,32 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])32 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])33<<<<<<< HEAD34 function setTokenPropertyPermissions(Tuple52[] memory permissions) external;33 function setTokenPropertyPermissions(Tuple53[] memory permissions) external;35=======36 function setTokenPropertyPermissions(Tuple49[] memory permissions) external;37>>>>>>> 9e929f90... chore: generate stubs & types383439 /// @notice Get permissions for token properties.35 /// @notice Get permissions for token properties.40 /// @dev EVM selector for this function is: 0xf23d7790,36 /// @dev EVM selector for this function is: 0xf23d7790,41 /// or in textual repr: tokenPropertyPermissions()37 /// or in textual repr: tokenPropertyPermissions()42<<<<<<< HEAD43 function tokenPropertyPermissions() external view returns (Tuple52[] memory);38 function tokenPropertyPermissions() external view returns (Tuple53[] memory);44=======45 function tokenPropertyPermissions() external view returns (Tuple49[] memory);46>>>>>>> 9e929f90... chore: generate stubs & types473948 // /// @notice Set token property value.40 // /// @notice Set token property value.49 // /// @dev Throws error if `msg.sender` has no permission to edit the property.41 // /// @dev Throws error if `msg.sender` has no permission to edit the property.105}97}10698107/// @dev anonymous struct99/// @dev anonymous struct108<<<<<<< HEAD109struct Tuple52 {100struct Tuple53 {110 string field_0;101 string field_0;111 Tuple50[] field_1;102 Tuple51[] field_1;112}103}113104114/// @dev anonymous struct105/// @dev anonymous struct115struct Tuple50 {106struct Tuple51 {116=======117struct Tuple49 {118 string field_0;119 Tuple47[] field_1;120}121122/// @dev anonymous struct123struct Tuple47 {124>>>>>>> 9e929f90... chore: generate stubs & types125 EthTokenPermissions field_0;107 EthTokenPermissions field_0;126 bool field_1;108 bool field_1;127}109}233 /// Return `false` if a limit not set.215 /// Return `false` if a limit not set.234 /// @dev EVM selector for this function is: 0xf63bc572,216 /// @dev EVM selector for this function is: 0xf63bc572,235 /// or in textual repr: collectionLimits()217 /// or in textual repr: collectionLimits()236 function collectionLimits() external view returns (Tuple30[] memory);218 function collectionLimits() external view returns (Tuple31[] memory);237219238 /// Set limits for the collection.220 /// Set limits for the collection.239 /// @dev Throws error if limit not found.221 /// @dev Throws error if limit not found.305 /// Returns nesting for a collection287 /// Returns nesting for a collection306 /// @dev EVM selector for this function is: 0x22d25bfe,288 /// @dev EVM selector for this function is: 0x22d25bfe,307 /// or in textual repr: collectionNestingRestrictedCollectionIds()289 /// or in textual repr: collectionNestingRestrictedCollectionIds()308<<<<<<< HEAD309 function collectionNestingRestrictedCollectionIds() external view returns (Tuple35 memory);290 function collectionNestingRestrictedCollectionIds() external view returns (Tuple36 memory);310=======311 function collectionNestingRestrictedCollectionIds() external view returns (Tuple32 memory);312>>>>>>> 09f69700... chore: generate stubs313291314 /// Returns permissions for a collection292 /// Returns permissions for a collection315 /// @dev EVM selector for this function is: 0x5b2eaf4b,293 /// @dev EVM selector for this function is: 0x5b2eaf4b,316 /// or in textual repr: collectionNestingPermissions()294 /// or in textual repr: collectionNestingPermissions()317<<<<<<< HEAD318 function collectionNestingPermissions() external view returns (Tuple38[] memory);295 function collectionNestingPermissions() external view returns (Tuple39[] memory);319=======320 function collectionNestingPermissions() external view returns (Tuple35[] memory);321>>>>>>> 09f69700... chore: generate stubs322296323 /// Set the collection access method.297 /// Set the collection access method.324 /// @param mode Access mode298 /// @param mode Access mode433}407}434408435/// @dev anonymous struct409/// @dev anonymous struct436<<<<<<< HEAD437struct Tuple38 {410struct Tuple39 {438=======439struct Tuple35 {440>>>>>>> 09f69700... chore: generate stubs441 CollectionPermissions field_0;411 CollectionPermissions field_0;442 bool field_1;412 bool field_1;443}413}448}418}449419450/// @dev anonymous struct420/// @dev anonymous struct451<<<<<<< HEAD452struct Tuple35 {421struct Tuple36 {453=======454struct Tuple32 {455>>>>>>> 09f69700... chore: generate stubs456 bool field_0;422 bool field_0;457 uint256[] field_1;423 uint256[] field_1;458}424}459425460<<<<<<< HEAD461/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.426/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.462enum CollectionLimits {427enum CollectionLimits {463 /// @dev How many tokens can a user have on one account.428 /// @dev How many tokens can a user have on one account.481}446}482447483/// @dev anonymous struct448/// @dev anonymous struct484struct Tuple30 {449struct Tuple31 {485 CollectionLimits field_0;450 CollectionLimits field_0;486 bool field_1;451 bool field_1;487 uint256 field_2;452 uint256 field_2;488}489490/// @dev anonymous struct491struct Tuple27 {492 address field_0;493 uint256 field_1;494}453}495454496=======497>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet498=======499>>>>>>> 09f69700... chore: generate stubs500/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension455/// @title ERC-721 Non-Fungible Token Standard, optional metadata extension501/// @dev See https://eips.ethereum.org/EIPS/eip-721456/// @dev See https://eips.ethereum.org/EIPS/eip-721502/// @dev the ERC-165 identifier for this interface is 0x5b5e139f457/// @dev the ERC-165 identifier for this interface is 0x5b5e139ftests/src/eth/api/UniqueRefungible.soldiffbeforeafterboth30 /// @param permissions Permissions for keys.30 /// @param permissions Permissions for keys.31 /// @dev EVM selector for this function is: 0xbd92983a,31 /// @dev EVM selector for this function is: 0xbd92983a,32 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])32 /// or in textual repr: setTokenPropertyPermissions((string,(uint8,bool)[])[])33<<<<<<< HEAD34 function setTokenPropertyPermissions(Tuple51[] memory permissions) external;33 function setTokenPropertyPermissions(Tuple52[] memory permissions) external;35=======36 function setTokenPropertyPermissions(Tuple48[] memory permissions) external;37>>>>>>> 9e929f90... chore: generate stubs & types383439 /// @notice Get permissions for token properties.35 /// @notice Get permissions for token properties.40 /// @dev EVM selector for this function is: 0xf23d7790,36 /// @dev EVM selector for this function is: 0xf23d7790,41 /// or in textual repr: tokenPropertyPermissions()37 /// or in textual repr: tokenPropertyPermissions()42<<<<<<< HEAD43 function tokenPropertyPermissions() external view returns (Tuple51[] memory);38 function tokenPropertyPermissions() external view returns (Tuple52[] memory);44=======45 function tokenPropertyPermissions() external view returns (Tuple48[] memory);46>>>>>>> 9e929f90... chore: generate stubs & types473948 // /// @notice Set token property value.40 // /// @notice Set token property value.49 // /// @dev Throws error if `msg.sender` has no permission to edit the property.41 // /// @dev Throws error if `msg.sender` has no permission to edit the property.105}97}10698107/// @dev anonymous struct99/// @dev anonymous struct108<<<<<<< HEAD109struct Tuple51 {100struct Tuple52 {110 string field_0;101 string field_0;111 Tuple49[] field_1;102 Tuple50[] field_1;112}103}113104114/// @dev anonymous struct105/// @dev anonymous struct115struct Tuple49 {106struct Tuple50 {116=======117struct Tuple48 {118 string field_0;119 Tuple46[] field_1;120}121122/// @dev anonymous struct123struct Tuple46 {124>>>>>>> 9e929f90... chore: generate stubs & types125 EthTokenPermissions field_0;107 EthTokenPermissions field_0;126 bool field_1;108 bool field_1;127}109}233 /// Return `false` if a limit not set.215 /// Return `false` if a limit not set.234 /// @dev EVM selector for this function is: 0xf63bc572,216 /// @dev EVM selector for this function is: 0xf63bc572,235 /// or in textual repr: collectionLimits()217 /// or in textual repr: collectionLimits()236 function collectionLimits() external view returns (Tuple29[] memory);218 function collectionLimits() external view returns (Tuple30[] memory);237219238 /// Set limits for the collection.220 /// Set limits for the collection.239 /// @dev Throws error if limit not found.221 /// @dev Throws error if limit not found.305 /// Returns nesting for a collection287 /// Returns nesting for a collection306 /// @dev EVM selector for this function is: 0x22d25bfe,288 /// @dev EVM selector for this function is: 0x22d25bfe,307 /// or in textual repr: collectionNestingRestrictedCollectionIds()289 /// or in textual repr: collectionNestingRestrictedCollectionIds()308<<<<<<< HEAD309 function collectionNestingRestrictedCollectionIds() external view returns (Tuple34 memory);290 function collectionNestingRestrictedCollectionIds() external view returns (Tuple35 memory);310=======311 function collectionNestingRestrictedCollectionIds() external view returns (Tuple31 memory);312>>>>>>> 09f69700... chore: generate stubs313291314 /// Returns permissions for a collection292 /// Returns permissions for a collection315 /// @dev EVM selector for this function is: 0x5b2eaf4b,293 /// @dev EVM selector for this function is: 0x5b2eaf4b,316 /// or in textual repr: collectionNestingPermissions()294 /// or in textual repr: collectionNestingPermissions()317<<<<<<< HEAD318 function collectionNestingPermissions() external view returns (Tuple37[] memory);295 function collectionNestingPermissions() external view returns (Tuple38[] memory);319=======320 function collectionNestingPermissions() external view returns (Tuple34[] memory);321>>>>>>> 09f69700... chore: generate stubs322296323 /// Set the collection access method.297 /// Set the collection access method.324 /// @param mode Access mode298 /// @param mode Access mode433}407}434408435/// @dev anonymous struct409/// @dev anonymous struct436<<<<<<< HEAD437struct Tuple37 {410struct Tuple38 {438=======439struct Tuple34 {440>>>>>>> 09f69700... chore: generate stubs441 CollectionPermissions field_0;411 CollectionPermissions field_0;442 bool field_1;412 bool field_1;443}413}448}418}449419450/// @dev anonymous struct420/// @dev anonymous struct451<<<<<<< HEAD452struct Tuple34 {421struct Tuple35 {453=======454struct Tuple31 {455>>>>>>> 09f69700... chore: generate stubs456 bool field_0;422 bool field_0;457 uint256[] field_1;423 uint256[] field_1;458}424}459425460<<<<<<< HEAD461/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.426/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.462enum CollectionLimits {427enum CollectionLimits {463 /// @dev How many tokens can a user have on one account.428 /// @dev How many tokens can a user have on one account.481}446}482447483/// @dev anonymous struct448/// @dev anonymous struct484struct Tuple29 {449struct Tuple30 {485 CollectionLimits field_0;450 CollectionLimits field_0;486 bool field_1;451 bool field_1;487 uint256 field_2;452 uint256 field_2;488}489490/// @dev anonymous struct491struct Tuple26 {492 address field_0;493 uint256 field_1;494}453}495454496=======497>>>>>>> 0bf15e6f... fixed tests&tuple instead of struct, refactored `refungible` pallet498=======499>>>>>>> 09f69700... chore: generate stubs500/// @dev the ERC-165 identifier for this interface is 0x5b5e139f455/// @dev the ERC-165 identifier for this interface is 0x5b5e139f501interface ERC721Metadata is Dummy, ERC165 {456interface ERC721Metadata is Dummy, ERC165 {502 // /// @notice A descriptive name for a collection of NFTs in this contract457 // /// @notice A descriptive name for a collection of NFTs in this contract