{
  "tcID":"INT-SOL-098",
  "tcName":"ERC721.safeTransferFromWithoutData.toERC721Receiver.owner.toZero",
  "deploy":{
    "ERC721Mock":{
      "file":"contracts/mocks/ERC721Mock.sol",
      "constructorParams":[]
    },
    "ERC721ReceiverMock":{
      "file":"contracts/mocks/ERC721ReceiverMock.sol",
      "constructorParams":["0x150b7a02", false]
    }
  },
  "test":[
    {
      "tx":{
        "from":"env.sender",
        "type":"LEGACY",
        "to":"randomMinter",
        "value":"1000000000000000000",
        "gas":100000,
        "data":""
      },
      "expected":{
        "status":true
      }
    },
    {
      "tx":{
        "from":"env.sender",
        "type":"LEGACY",
        "to":"randomOwner",
        "value":"1000000000000000000",
        "gas":100000,
        "data":""
      },
      "expected":{
        "status":true
      }
    },
    {
      "send":{
        "from":"randomMinter",
        "to":"ERC721Mock",
        "gas":100000,
        "method":"mint",
        "params":["randomOwner", "1"]
      },
      "expected":{
        "status":true
      }
    },
    {
      "send":{
        "from":"randomMinter",
        "to":"ERC721Mock",
        "gas":100000,
        "method":"mint",
        "params":["randomOwner", "2"]
      },
      "expected":{
        "status":true
      }
    },
    {
      "send":{
        "from":"randomOwner",
        "to":"ERC721Mock",
        "gas":100000,
        "method":"approve",
        "params":["randomApproved", "1"]
      },
      "expected":{
        "status":true
      }
    },
    {
      "send":{
        "from":"randomOwner",
        "to":"ERC721Mock",
        "gas":100000,
        "method":"setApprovalForAll",
        "params":["randomOperator", true]
      },
      "expected":{
        "status":true
      }
    },
    {
      "send":{
        "from":"randomOwner",
        "to":"ERC721Mock",
        "gas":1000000,
        "method":"safeTransferFrom(address,address,uint256)",
        "params":["randomOwner", "ERC721ReceiverMock", "1"]
      },
      "expected":{
        "status":true,
        "rawEvents":{
          "0": {
            "data":{ 
              "encodeParameters": [
                ["address", "address", "uint256", "bytes", "uint256"], 
                ["randomOwner", "randomOwner", "1", "0x", "0xde39a" ]
              ]
            },
            "topics": [ "0x28fa6e16458f9c24aa59ddd4085264573006dbe30304837873c7deafc702b038" ]
          }
        }
      }
    }
  ]
}

