difftreelog
chore generate stubs
in: master
11 files changed
pallets/fungible/src/stubs/UniqueFungible.rawdiffbeforeafterbothbinary blob — no preview
pallets/fungible/src/stubs/UniqueFungible.soldiffbeforeafterboth487 uint256[] field_1;487 uint256[] field_1;488}488}489489490/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.490enum CollectionLimits {491enum CollectionLimits {492 /// @dev How many tokens can a user have on one account.491 AccountTokenOwnership,493 AccountTokenOwnership,494 /// @dev How many bytes of data are available for sponsorship.492 SponsoredDataSize,495 SponsoredDataSize,496 /// @dev In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]493 SponsoredDataRateLimit,497 SponsoredDataRateLimit,498 /// @dev How many tokens can be mined into this collection.494 TokenLimit,499 TokenLimit,500 /// @dev Timeouts for transfer sponsoring.495 SponsorTransferTimeout,501 SponsorTransferTimeout,502 /// @dev Timeout for sponsoring an approval in passed blocks.496 SponsorApproveTimeout,503 SponsorApproveTimeout,504 /// @dev Whether the collection owner of the collection can send tokens (which belong to other users).497 OwnerCanTransfer,505 OwnerCanTransfer,506 /// @dev Can the collection owner burn other people's tokens.498 OwnerCanDestroy,507 OwnerCanDestroy,508 /// @dev Is it possible to send tokens from this collection between users.499 TransferEnabled509 TransferEnabled500}510}501511pallets/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 function setTokenPropertyPermissions(Tuple48[] memory permissions) public {45 function setTokenPropertyPermissions(Tuple59[] memory permissions) public {46 require(false, stub_error);46 require(false, stub_error);47 permissions;47 permissions;48 dummy = 0;48 dummy = 0;49 }49 }505051 /// @notice Get permissions for token properties.51 /// @dev EVM selector for this function is: 0xf23d7790,52 /// @dev EVM selector for this function is: 0xf23d7790,52 /// or in textual repr: tokenPropertyPermissions()53 /// or in textual repr: tokenPropertyPermissions()53 function tokenPropertyPermissions() public view returns (Tuple48[] memory) {54 function tokenPropertyPermissions() public view returns (Tuple59[] memory) {54 require(false, stub_error);55 require(false, stub_error);55 dummy;56 dummy;56 return new Tuple48[](0);57 return new Tuple59[](0);57 }58 }585959 // /// @notice Set token property value.60 // /// @notice Set token property value.132 bytes value;133 bytes value;133}134}134135136/// @dev Ethereum representation of TokenPermissions (see [`up_data_structs::PropertyPermission`]) fields as an enumeration.135enum EthTokenPermissions {137enum EthTokenPermissions {138 /// @dev Permission to change the property and property permission. See [`up_data_structs::PropertyPermission::mutable`]136 Mutable,139 Mutable,140 /// @dev Change permission for the collection administrator. See [`up_data_structs::PropertyPermission::token_owner`]137 TokenOwner,141 TokenOwner,142 /// @dev Permission to change the property for the owner of the token. See [`up_data_structs::PropertyPermission::collection_admin`]138 CollectionAdmin143 CollectionAdmin139}144}140145141/// @dev anonymous struct146/// @dev anonymous struct142struct Tuple48 {147struct Tuple59 {143 string field_0;148 string field_0;144 Tuple46[] field_1;149 Tuple57[] field_1;145}150}146151147/// @dev anonymous struct152/// @dev anonymous struct148struct Tuple46 {153struct Tuple57 {149 EthTokenPermissions field_0;154 EthTokenPermissions field_0;150 bool field_1;155 bool field_1;151}156}620 uint256[] field_1;625 uint256[] field_1;621}626}622627628/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.623enum CollectionLimits {629enum CollectionLimits {630 /// @dev How many tokens can a user have on one account.624 AccountTokenOwnership,631 AccountTokenOwnership,632 /// @dev How many bytes of data are available for sponsorship.625 SponsoredDataSize,633 SponsoredDataSize,634 /// @dev In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]626 SponsoredDataRateLimit,635 SponsoredDataRateLimit,636 /// @dev How many tokens can be mined into this collection.627 TokenLimit,637 TokenLimit,638 /// @dev Timeouts for transfer sponsoring.628 SponsorTransferTimeout,639 SponsorTransferTimeout,640 /// @dev Timeout for sponsoring an approval in passed blocks.629 SponsorApproveTimeout,641 SponsorApproveTimeout,642 /// @dev Whether the collection owner of the collection can send tokens (which belong to other users).630 OwnerCanTransfer,643 OwnerCanTransfer,644 /// @dev Can the collection owner burn other people's tokens.631 OwnerCanDestroy,645 OwnerCanDestroy,646 /// @dev Is it possible to send tokens from this collection between users.632 TransferEnabled647 TransferEnabled633}648}634649pallets/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 function setTokenPropertyPermissions(Tuple53[] memory permissions) public {45 function setTokenPropertyPermissions(Tuple58[] memory permissions) public {46 require(false, stub_error);46 require(false, stub_error);47 permissions;47 permissions;48 dummy = 0;48 dummy = 0;51 /// @notice Get permissions for token properties.51 /// @notice Get permissions for token properties.52 /// @dev EVM selector for this function is: 0xf23d7790,52 /// @dev EVM selector for this function is: 0xf23d7790,53 /// or in textual repr: tokenPropertyPermissions()53 /// or in textual repr: tokenPropertyPermissions()54 function tokenPropertyPermissions() public view returns (Tuple53[] memory) {54 function tokenPropertyPermissions() public view returns (Tuple58[] memory) {55 require(false, stub_error);55 require(false, stub_error);56 dummy;56 dummy;57 return new Tuple53[](0);57 return new Tuple58[](0);58 }58 }595960 // /// @notice Set token property value.60 // /// @notice Set token property value.133 bytes value;133 bytes value;134}134}135135136/// @dev Ethereum representation of TokenPermissions (see [`up_data_structs::PropertyPermission`]) fields as an enumeration.136enum EthTokenPermissions {137enum EthTokenPermissions {138 /// @dev Permission to change the property and property permission. See [`up_data_structs::PropertyPermission::mutable`]137 Mutable,139 Mutable,140 /// @dev Change permission for the collection administrator. See [`up_data_structs::PropertyPermission::token_owner`]138 TokenOwner,141 TokenOwner,142 /// @dev Permission to change the property for the owner of the token. See [`up_data_structs::PropertyPermission::collection_admin`]139 CollectionAdmin143 CollectionAdmin140}144}141145142/// @dev anonymous struct146/// @dev anonymous struct143struct Tuple53 {147struct Tuple58 {144 string field_0;148 string field_0;145 Tuple51[] field_1;149 Tuple56[] field_1;146}150}147151148/// @dev anonymous struct152/// @dev anonymous struct149struct Tuple51 {153struct Tuple56 {150 EthTokenPermissions field_0;154 EthTokenPermissions field_0;151 bool field_1;155 bool field_1;152}156}621 uint256[] field_1;625 uint256[] field_1;622}626}623627628/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.624enum CollectionLimits {629enum CollectionLimits {630 /// @dev How many tokens can a user have on one account.625 AccountTokenOwnership,631 AccountTokenOwnership,632 /// @dev How many bytes of data are available for sponsorship.626 SponsoredDataSize,633 SponsoredDataSize,634 /// @dev In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]627 SponsoredDataRateLimit,635 SponsoredDataRateLimit,636 /// @dev How many tokens can be mined into this collection.628 TokenLimit,637 TokenLimit,638 /// @dev Timeouts for transfer sponsoring.629 SponsorTransferTimeout,639 SponsorTransferTimeout,640 /// @dev Timeout for sponsoring an approval in passed blocks.630 SponsorApproveTimeout,641 SponsorApproveTimeout,642 /// @dev Whether the collection owner of the collection can send tokens (which belong to other users).631 OwnerCanTransfer,643 OwnerCanTransfer,644 /// @dev Can the collection owner burn other people's tokens.632 OwnerCanDestroy,645 OwnerCanDestroy,646 /// @dev Is it possible to send tokens from this collection between users.633 TransferEnabled647 TransferEnabled634}648}635649tests/src/eth/abi/nonFungible.jsondiffbeforeafterboth736 },736 },737 { "internalType": "bool", "name": "field_1", "type": "bool" }737 { "internalType": "bool", "name": "field_1", "type": "bool" }738 ],738 ],739 "internalType": "struct Tuple46[]",739 "internalType": "struct Tuple57[]",740 "name": "field_1",740 "name": "field_1",741 "type": "tuple[]"741 "type": "tuple[]"742 }742 }743 ],743 ],744 "internalType": "struct Tuple48[]",744 "internalType": "struct Tuple59[]",745 "name": "permissions",745 "name": "permissions",746 "type": "tuple[]"746 "type": "tuple[]"747 }747 }802 },802 },803 { "internalType": "bool", "name": "field_1", "type": "bool" }803 { "internalType": "bool", "name": "field_1", "type": "bool" }804 ],804 ],805 "internalType": "struct Tuple46[]",805 "internalType": "struct Tuple57[]",806 "name": "field_1",806 "name": "field_1",807 "type": "tuple[]"807 "type": "tuple[]"808 }808 }809 ],809 ],810 "internalType": "struct Tuple48[]",810 "internalType": "struct Tuple59[]",811 "name": "",811 "name": "",812 "type": "tuple[]"812 "type": "tuple[]"813 }813 }tests/src/eth/abi/reFungible.jsondiffbeforeafterboth718 },718 },719 { "internalType": "bool", "name": "field_1", "type": "bool" }719 { "internalType": "bool", "name": "field_1", "type": "bool" }720 ],720 ],721 "internalType": "struct Tuple51[]",721 "internalType": "struct Tuple56[]",722 "name": "field_1",722 "name": "field_1",723 "type": "tuple[]"723 "type": "tuple[]"724 }724 }725 ],725 ],726 "internalType": "struct Tuple53[]",726 "internalType": "struct Tuple58[]",727 "name": "permissions",727 "name": "permissions",728 "type": "tuple[]"728 "type": "tuple[]"729 }729 }793 },793 },794 { "internalType": "bool", "name": "field_1", "type": "bool" }794 { "internalType": "bool", "name": "field_1", "type": "bool" }795 ],795 ],796 "internalType": "struct Tuple51[]",796 "internalType": "struct Tuple56[]",797 "name": "field_1",797 "name": "field_1",798 "type": "tuple[]"798 "type": "tuple[]"799 }799 }800 ],800 ],801 "internalType": "struct Tuple53[]",801 "internalType": "struct Tuple58[]",802 "name": "",802 "name": "",803 "type": "tuple[]"803 "type": "tuple[]"804 }804 }tests/src/eth/api/UniqueFungible.soldiffbeforeafterboth327 uint256[] field_1;327 uint256[] field_1;328}328}329329330/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.330enum CollectionLimits {331enum CollectionLimits {332 /// @dev How many tokens can a user have on one account.331 AccountTokenOwnership,333 AccountTokenOwnership,334 /// @dev How many bytes of data are available for sponsorship.332 SponsoredDataSize,335 SponsoredDataSize,336 /// @dev In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]333 SponsoredDataRateLimit,337 SponsoredDataRateLimit,338 /// @dev How many tokens can be mined into this collection.334 TokenLimit,339 TokenLimit,340 /// @dev Timeouts for transfer sponsoring.335 SponsorTransferTimeout,341 SponsorTransferTimeout,342 /// @dev Timeout for sponsoring an approval in passed blocks.336 SponsorApproveTimeout,343 SponsorApproveTimeout,344 /// @dev Whether the collection owner of the collection can send tokens (which belong to other users).337 OwnerCanTransfer,345 OwnerCanTransfer,346 /// @dev Can the collection owner burn other people's tokens.338 OwnerCanDestroy,347 OwnerCanDestroy,348 /// @dev Is it possible to send tokens from this collection between users.339 TransferEnabled349 TransferEnabled340}350}341351tests/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 function setTokenPropertyPermissions(Tuple43[] memory permissions) external;33 function setTokenPropertyPermissions(Tuple52[] memory permissions) external;343435 /// @notice Get permissions for token properties.35 /// @dev EVM selector for this function is: 0xf23d7790,36 /// @dev EVM selector for this function is: 0xf23d7790,36 /// or in textual repr: tokenPropertyPermissions()37 /// or in textual repr: tokenPropertyPermissions()37 function tokenPropertyPermissions() external view returns (Tuple43[] memory);38 function tokenPropertyPermissions() external view returns (Tuple52[] memory);383939 // /// @notice Set token property value.40 // /// @notice Set token property value.40 // /// @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.85 bytes value;86 bytes value;86}87}878889/// @dev Ethereum representation of TokenPermissions (see [`up_data_structs::PropertyPermission`]) fields as an enumeration.88enum EthTokenPermissions {90enum EthTokenPermissions {91 /// @dev Permission to change the property and property permission. See [`up_data_structs::PropertyPermission::mutable`]89 Mutable,92 Mutable,93 /// @dev Change permission for the collection administrator. See [`up_data_structs::PropertyPermission::token_owner`]90 TokenOwner,94 TokenOwner,95 /// @dev Permission to change the property for the owner of the token. See [`up_data_structs::PropertyPermission::collection_admin`]91 CollectionAdmin96 CollectionAdmin92}97}939894/// @dev anonymous struct99/// @dev anonymous struct95struct Tuple43 {100struct Tuple52 {96 string field_0;101 string field_0;97 Tuple41[] field_1;102 Tuple50[] field_1;98}103}99104100/// @dev anonymous struct105/// @dev anonymous struct101struct Tuple41 {106struct Tuple50 {102 EthTokenPermissions field_0;107 EthTokenPermissions field_0;103 bool field_1;108 bool field_1;104}109}418 uint256[] field_1;423 uint256[] field_1;419}424}420425426/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.421enum CollectionLimits {427enum CollectionLimits {428 /// @dev How many tokens can a user have on one account.422 AccountTokenOwnership,429 AccountTokenOwnership,430 /// @dev How many bytes of data are available for sponsorship.423 SponsoredDataSize,431 SponsoredDataSize,432 /// @dev In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]424 SponsoredDataRateLimit,433 SponsoredDataRateLimit,434 /// @dev How many tokens can be mined into this collection.425 TokenLimit,435 TokenLimit,436 /// @dev Timeouts for transfer sponsoring.426 SponsorTransferTimeout,437 SponsorTransferTimeout,438 /// @dev Timeout for sponsoring an approval in passed blocks.427 SponsorApproveTimeout,439 SponsorApproveTimeout,440 /// @dev Whether the collection owner of the collection can send tokens (which belong to other users).428 OwnerCanTransfer,441 OwnerCanTransfer,442 /// @dev Can the collection owner burn other people's tokens.429 OwnerCanDestroy,443 OwnerCanDestroy,444 /// @dev Is it possible to send tokens from this collection between users.430 TransferEnabled445 TransferEnabled431}446}432447tests/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 function setTokenPropertyPermissions(Tuple47[] memory permissions) external;33 function setTokenPropertyPermissions(Tuple51[] memory permissions) external;343435 /// @notice Get permissions for token properties.35 /// @notice Get permissions for token properties.36 /// @dev EVM selector for this function is: 0xf23d7790,36 /// @dev EVM selector for this function is: 0xf23d7790,37 /// or in textual repr: tokenPropertyPermissions()37 /// or in textual repr: tokenPropertyPermissions()38 function tokenPropertyPermissions() external view returns (Tuple47[] memory);38 function tokenPropertyPermissions() external view returns (Tuple51[] memory);393940 // /// @notice Set token property value.40 // /// @notice Set token property value.41 // /// @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.86 bytes value;86 bytes value;87}87}888889/// @dev Ethereum representation of TokenPermissions (see [`up_data_structs::PropertyPermission`]) fields as an enumeration.89enum EthTokenPermissions {90enum EthTokenPermissions {91 /// @dev Permission to change the property and property permission. See [`up_data_structs::PropertyPermission::mutable`]90 Mutable,92 Mutable,93 /// @dev Change permission for the collection administrator. See [`up_data_structs::PropertyPermission::token_owner`]91 TokenOwner,94 TokenOwner,95 /// @dev Permission to change the property for the owner of the token. See [`up_data_structs::PropertyPermission::collection_admin`]92 CollectionAdmin96 CollectionAdmin93}97}949895/// @dev anonymous struct99/// @dev anonymous struct96struct Tuple47 {100struct Tuple51 {97 string field_0;101 string field_0;98 Tuple45[] field_1;102 Tuple49[] field_1;99}103}100104101/// @dev anonymous struct105/// @dev anonymous struct102struct Tuple45 {106struct Tuple49 {103 EthTokenPermissions field_0;107 EthTokenPermissions field_0;104 bool field_1;108 bool field_1;105}109}419 uint256[] field_1;423 uint256[] field_1;420}424}421425426/// @dev [`CollectionLimits`](up_data_structs::CollectionLimits) representation for EVM.422enum CollectionLimits {427enum CollectionLimits {428 /// @dev How many tokens can a user have on one account.423 AccountTokenOwnership,429 AccountTokenOwnership,430 /// @dev How many bytes of data are available for sponsorship.424 SponsoredDataSize,431 SponsoredDataSize,432 /// @dev In any case, chain default: [`SponsoringRateLimit::SponsoringDisabled`]425 SponsoredDataRateLimit,433 SponsoredDataRateLimit,434 /// @dev How many tokens can be mined into this collection.426 TokenLimit,435 TokenLimit,436 /// @dev Timeouts for transfer sponsoring.427 SponsorTransferTimeout,437 SponsorTransferTimeout,438 /// @dev Timeout for sponsoring an approval in passed blocks.428 SponsorApproveTimeout,439 SponsorApproveTimeout,440 /// @dev Whether the collection owner of the collection can send tokens (which belong to other users).429 OwnerCanTransfer,441 OwnerCanTransfer,442 /// @dev Can the collection owner burn other people's tokens.430 OwnerCanDestroy,443 OwnerCanDestroy,444 /// @dev Is it possible to send tokens from this collection between users.431 TransferEnabled445 TransferEnabled432}446}433447