Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Frontend website interface at [delegate.xyz](https://delegate.xyz). Full docs at
|Polygon|[0x00000000000000447e69651d841bd8d104bed493](https://polygonscan.com/address/0x00000000000000447e69651d841bd8d104bed493)|
|Polygon zkEVM|[0x00000000000000447e69651d841bd8d104bed493](https://zkevm.polygonscan.com/address/0x00000000000000447e69651d841bd8d104bed493)|
|Plume|[0x00000000000000447e69651d841bd8d104bed493](https://phoenix-explorer.plumenetwork.xyz/address/0x00000000000000447e69651d841bD8D104Bed493)|
|Robinhood|[0x00000000000000447e69651d841bd8d104bed493](https://robinhoodchain.blockscout.com/address/0x00000000000000447e69651d841bD8D104Bed493)|
|Ronin|[0x00000000000000447e69651d841bd8d104bed493](https://app.roninchain.com/address/0x00000000000000447e69651d841bd8d104bed493)|
|Sanko|[0x00000000000000447e69651d841bd8d104bed493](https://explorer.sanko.xyz/address/0x00000000000000447e69651d841bd8d104bed493)|
|Scroll|[0x00000000000000447e69651d841bd8d104bed493](https://scrollscan.com/address/0x00000000000000447e69651d841bd8d104bed493)|
Expand Down
8 changes: 2 additions & 6 deletions test/RegistryUnitTests.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,7 @@ contract RegistryUnitTests is Test {
else assertEq(registry.checkDelegateForERC20(delegate, vault, contract_, fRights), 0);
}

function testCheckDelegateForERC1155(address vault, bytes32 rights, bool enable, address delegate, address contract_, uint256 tokenId, uint256 amount, bytes32 fRights)
public
{
function testCheckDelegateForERC1155(address vault, bytes32 rights, bool enable, address delegate, address contract_, uint256 tokenId, uint256 amount, bytes32 fRights) public {
vm.assume(vault > address(1));
registry = new Registry();
assertEq(registry.checkDelegateForERC1155(delegate, vault, contract_, tokenId, rights), 0);
Expand Down Expand Up @@ -671,9 +669,7 @@ contract RegistryUnitTests is Test {
assertEq(keccak256(abi.encode(incomingDelegations)), keccak256(abi.encode(outgoingDelegations)));
}

function testGetValidDelegationHashesFromHashes(address from, bytes32 rights, address to, uint256 amount, uint256 tokenId, address contract_, bool[5] calldata enables)
public
{
function testGetValidDelegationHashesFromHashes(address from, bytes32 rights, address to, uint256 amount, uint256 tokenId, address contract_, bool[5] calldata enables) public {
vm.assume(amount > 0);
bytes32[] memory delegationHashes = new bytes32[](5);
vm.startPrank(from);
Expand Down
Loading